Major Changes
-
#5879
c390af485
Thanks @TimKolberger! - Bump all packages
to next major for Chakra UI version 2. -
#5989
ed692c0ae
Thanks @TimKolberger! - Omitsrc
directory from being published to npm -
#5828
1a47fd27e
Thanks @segunadebayo! - ### Remove
deprecationsAffected components or packages:
Button, Icon Button, Input, NumberInput, Radio, Checkbox, Select
- Removed the
isFullWidth
deprecation. Usewidth=full
orwidth=100%
Checkbox
- Removed
defaultIsChecked
. UsedefaultChecked
Color mode
- Removed references to
--chakra-ui-color-mode
. Usedata-theme
property
instead
Hooks
- Removed
useEventCallback
hook
Input / NumberInput
- Removed the
isFullWidth
deprecation. Usewidth=full
orwidth=100%
Grid
- Removed the
area
prop fromGrid
component. Should be passed to the
GridItem
instead.
Styled system
- Removed the
d
style prop. Usedisplay
instead. - Removed the
isTruncated
style prop. UsenoOfLines={1}
instead.
Theme
- Removed deprecated types.
- Removed the
-
#5882
41b3119f5
Thanks @TimKolberger! - Bump peer
dependency to React and ReactDOM to >=18