title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 2.2.2 |
Explore the changelog for Chakra UI version 2.2.2. Learn about the latest features, bug fixes, and improvements. |
June 21, 2022 |
2.2.2 |
- Check if the
MediaQueryList
object supports theaddEventListener()
method, else fallback to the legacy.addListener()
method.
- Export
useDrawerContext
hook
- Extract and export
getToken
function fromuseToken
- Improve parameter types for
useToken
- Remove internal usage of
createBreakpoints
function
- Fixed issue where switch cannot be toggled when text is selectedd
- Added type constraints to
useDescendants
hook for improved TypeScript 4.8 support
- SimpleGrid: Fixed issue where
minChildWidth
doesn't work with size tokens
- Fixed issue where radio doesn't show focus when interacting with keyboard
- Added TS doc comments for
fadeDuration
prop
- Moved
@chakra-ui/system
to peer dependency
- Avoid rendering multiple tooltips so that they are not appeared after opening a modal
- Added
--no-format
option - Fixed issue where CLI crashed due to
lodash.throttle
dependency