Releases: chakra-ui/chakra-ui
@chakra-ui/[email protected]
Minor Changes
-
86ca96a
Thanks @segunadebayo! - - System: Add
unstyledprop support to compound component children to opt-out of recipe
styles per component.<Accordion.Root defaultValue={["a"]}> <Accordion.Item value="a"> {/* Opt-out of recipe styles */} <Accordion.ItemTrigger unstyled bg="red.500" /> <Accordion.ItemContent> <Accordion.ItemBody /> </Accordion.ItemContent> </Accordion.Item> </Accordion.Root>
- Group: Add support changing group gap globally via
--group-gapCSS
variable
- Group: Add support changing group gap globally via
Patch Changes
-
dd3af62
Thanks @segunadebayo! - - Tree View- Fixed issue where tree view doesn't scroll into view when content overflows
- Fix issue where the
filtermethod completely deletes the children key from
the node when there are no matching children - File Upload
- Add support for programmatically controlling the accepted files via
acceptedFilesanddefaultAcceptedFiles - Export
FileError,FileMimeType, andFileRejectiontypes and fix
validation issues
- Add support for programmatically controlling the accepted files via
-
dc02076
Thanks @segunadebayo! - Fix HTML semantic
structure forBreadcrumb.Ellipsiscomponent by changing the underlying
element from<span>to<li>.// Before: <span> inside <ol> (invalid HTML) <Breadcrumb.List> <Breadcrumb.Ellipsis /> {/* rendered as <span> */} </Breadcrumb.List> // After: <li> inside <ol> (valid HTML) <Breadcrumb.List> <Breadcrumb.Ellipsis /> {/* now renders as <li> */} </Breadcrumb.List>
-
4da48e3
Thanks @segunadebayo! - - Tabs: Export
missing types- Hooks: Export entrypoint for better tree-shaking
@chakra-ui/react/hooks - Theme: Expose smaller bits of the theme in the entrypoint for better
tree-shaking@chakra-ui/react/theme. We now exposerecipes,
slotRecipes,breakpoints,keyframes,textStyles,layerStyles,
animationStyles,globalCss,cssVarsPrefix,cssVarsRoot,
semanticTokens,tokensas dedicated modules. - Dialog: Use
dvhanddvwunits instead ofvhandvwto
dynamically adjust to viewport size changes. - Native Select: Ensure height is consistent with input and select across
sizes.
- Hooks: Export entrypoint for better tree-shaking
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
Minor Changes
- #10111
32967aa
Thanks @segunadebayo! - Add new TreeView
component that is used to represent hierarchical data in a tree structure.
Patch Changes
- #10126
ca40993
Thanks @isBatak! - - Clipboard: Fix issue
whereclipboardAnatomywas not exported from@chakra-ui/react/anatomy- Combobox
- Expose
reasontoonOpenChangeandonInputValueChangecallbacks - Expose
api.clearHighlightedValuefunction to clear highlighted value
- Expose
- Toast: Fix issue where toast
titleordescriptioncould not accept
React element - Progress: Improve
valueAsStringformatting - Select
- Select highlighted item only if it exists in the collection
- Expose
api.clearHighlightedValuefunction to clear highlighted value
- ClientOnly: Support
childrenas a function
- Combobox
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
Patch Changes
-
8ddeb0b
Thanks @segunadebayo! - - Popover:
Fixed issue whereonOpenChangecould be called twice when controlled- Combobox
- Fixed issue where
onInputValueChangecould be called twice when
selecting an item - Fixed issue where combobox with
allowCustomValue: trueused within in a
form requires two enter keypress to submit
- Fixed issue where
- Progress
- Fix issue where setting orientation to
verticaldon't work - Fix issue where setting
defaultValuetonulldoesn't show
indeterminate state
- Fix issue where setting orientation to
- Toast: Fix issue where app crashes when
toaster.promiseis called
without loading option. Theloadingoption is now required. A warning will
be logged if it is not provided - Combobox, Select, Listbox: Fix issue where rehydrating
defaultValueor
valueafter fetching items doesn't update thevalueAsString
- Combobox
-
#10119
6cf8cc6
Thanks @isBatak! - - improveDrawerrecipe to
better support conditional variants.- add
Drawerconditional variants example to the docs and storybook.
- add
-
#10101
2b4fa6d
Thanks @isBatak! - - Select: Export missing
SelectRootComponent type export -
d7914ad
Thanks @segunadebayo! - Fix inconsistent
handling ofnullandundefinedfor skipping breakpoints using array syntax
@chakra-ui/[email protected]
@chakra-ui/[email protected]