Skip to content

v67.0.0

Compare
Choose a tag to compare
@cozy-bot cozy-bot released this 10 May 10:08
· 1459 commits to master since this release

67.0.0 (2022-05-10)

Features

  • Set default size of IconButton to large (c7d405a)

BREAKING CHANGES

IconButton's default props has been changed from medium to large. To keep the old behavior, you can use a codemods transform-iconButton.js to automatically handle this breaking change by setting IconButton size to medium. See the codemods documentation. Using linter js auto-correction can be a good idea after that.

Here a common example (don't forget to change src value): jscodeshift -t $(yarn global dir)/node_modules/@cozy/codemods/src/transforms/transform-iconButton.js src --parser babel --extensions js,jsx && yarn lint:js --fix