title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 2.3.3 |
Explore the changelog for Chakra UI version 2.3.3. Learn about the latest features, bug fixes, and improvements. |
September 19, 2022 |
2.3.3 |
- Allow control of
framer-motion
elements via themotionProps
prop.
-
Added missing component/function docs and relative docsite links.
Ensures that all Components, functions, and hooks that have detailed pages on the Chakra site have corresponding TS Docs and links back to the docsite via IDE intellisense.
Includes adding or fixing links within these docs to related WAI-ARIA patterns.
- Remove redundant ARIA roles
- Refactor popover to reduce bundle size
- Fixed issue where disabled tooltip triggers require an extra wrapper (via
shouldWrapChildren
). This was fixed by switching from mouse events to pointer events
- Add optional
nonce
back to ColorModeScript
-
Fixed an issue where
Highlight
showedkey
warnings -
Prevent
Stack
from crashing when there's a lot of child elementsNB: This does not help improve loading and refresh performance otherwise, libraries like
react-virtualized
should be used to handle large lists.
- Fixed issue where backspace did not focus prev input
-
Revert #6335 to fix issue where lots of responsive styles makes app slower
-
Update disabled selector to use state selector
:disabled
, instead of[disabled]
attribute selector. This is useful when an editable element is wrapped within<fieldset disabled>
-
Improve style resolution when components are wrapped within forced color mode elements (
DarkMode
,LightMode
).We now dynamically attach the
data-theme
attribute to chakra elements when in forced color mode.<DarkMode> <chakra.div bg="gray.800" padding="40px"> {/* Forced: Badge will now have `data-theme='dark' attached` */} <Badge>Total</Badge> </chakra.div> </DarkMode>
- Remove redundant ARIA roles
- Use
forwardRef
withTagCloseButton
- Fix incorrect Select
xs
sizing
- Fixed issue with stale values in callbacks
- Fix issue where focus on pointerdown doesn't work on safari
- Update disabled selector to use state selector
:disabled
, instead of[disabled]
attribute selector. This is useful when an editable element is wrapped within<fieldset disabled>