title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 2.2.7 |
Explore the changelog for Chakra UI version 2.2.7. Learn about the latest features, bug fixes, and improvements. |
August 13, 2022 |
2.2.7 |
- Moved hooks in their own packages
- General package refactoring & restructuring
- Refactored components to reduce bundle size
- Fixed regression where
localStorageManager
was not exported
- Omit rendered env span when the environment prop is passed.
- Added
id
andhidden
attributes to the rendered env span
- Deprecated
useDimensions
in favor of theuseSize
hook
- Removed
ChakraProvider.defaultProps
and move logic inside the component.
-
Improve style computation performance by looping over styles once. Previously, we had two steps in the logic (expand responsive and convert to css object). This can be quite expensive with large css objects (or style props).
We now process both steps in a single pass.
-
Fixed regression where
ThemeTypings
created by chakra-cli could not be used -
Escape symbols in css variable to make it work
- Improved contrast of
FormHelperText
to satisfy accessibility check - Fixed issue where disabled input with flushed or unstyled variant isn't perceivable
- Fixed regression where
StyleFunctionProps
type was not exported
- Added pure annotation to utils package
- Added pure annotation to
isBrowser
to tree-shake when bundling
- Fixed regression where
ThemeTypings
created by chakra-cli could not be used
- Fixed issue with nullish operator in storybook