Releases: chakra-ui/ark
@ark-ui/[email protected]
Fixed
- General: Fix issue where
mergePropsthrows whenpropsisundefinedornull
@ark-ui/[email protected]
Added
-
Combobox: Add
alwaysSubmitOnEnterprop to allow bypassing the default two-step behavior (Enter to close
combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
single-field autocomplete forms where Enter should submit the form directly. -
Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as
dialog,
popover,menu, orlistbox. This enables:data-nestedattribute on nested layers of the same typedata-has-nestedattribute on parent layers with nested children of the same type--nested-layer-countCSS variable indicating the number of nested layers of the same type
Changed
-
Hover Card: Change default delay values for hover card to improve accessibility.
openDelay: from700msto600ms
-
Tooltip: Change default delay values for tooltip to improve accessibility.
Learn moreopenDelay: from1000msto400mscloseDelay: from500msto150ms
Fixed
-
Editable: Allow text selection in editable preview when
autoResizeis enabledPreviously, when
autoResizewas set totrue, the preview element haduserSelect: "none"applied, preventing
users from selecting text. This has been fixed by removing theuserSelectstyle property. -
File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone
-
Menu:
- Fix issue where keyboard activation of menu items with
target="_blank"would open two tabs - Fix issue where hovering a partially visible item with pointer causes it to scroll into view
- Fix issue where keyboard activation of menu items with
-
Tabs: Fix issue where
idsforitemandcontentcould not be customized -
Toast: Allow creating a toast store without any arguments
@ark-ui/[email protected]
Fixed
- General: Fix issue where
mergePropsthrows whenpropsisundefinedornull
@ark-ui/[email protected]
Added
-
Combobox: Add
alwaysSubmitOnEnterprop to allow bypassing the default two-step behavior (Enter to close
combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
single-field autocomplete forms where Enter should submit the form directly. -
Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as
dialog,
popover,menu, orlistbox. This enables:data-nestedattribute on nested layers of the same typedata-has-nestedattribute on parent layers with nested children of the same type--nested-layer-countCSS variable indicating the number of nested layers of the same type
Changed
-
Hover Card: Change default delay values for hover card to improve accessibility.
openDelay: from700msto600ms
-
Tooltip: Change default delay values for tooltip to improve accessibility.
Learn moreopenDelay: from1000msto400mscloseDelay: from500msto150ms
Fixed
-
Editable: Allow text selection in editable preview when
autoResizeis enabledPreviously, when
autoResizewas set totrue, the preview element haduserSelect: "none"applied, preventing
users from selecting text. This has been fixed by removing theuserSelectstyle property. -
File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone
-
Svelte: Fix Svelte warning about state reference capturing initial value instead of current reactive state
-
Menu
- Fix issue where hovering a partially visible item with pointer causes it to scroll into view
- Fix issue where keyboard activation of menu items with
target="_blank"would open two tabs
-
Tabs: Fix issue where
idsforitemandcontentcould not be customized -
Toast: Allow creating a toast store without any arguments
@ark-ui/[email protected]
Fixed
- General: Fix issue where
mergePropsthrows whenpropsisundefinedornull
@ark-ui/[email protected]
Added
-
Combobox: Add
alwaysSubmitOnEnterprop to allow bypassing the default two-step behavior (Enter to close
combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
single-field autocomplete forms where Enter should submit the form directly. -
Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as
dialog,
popover,menu, orlistbox. This enables:data-nestedattribute on nested layers of the same typedata-has-nestedattribute on parent layers with nested children of the same type--nested-layer-countCSS variable indicating the number of nested layers of the same type
Changed
-
Hover Card: Change default delay values for hover card to improve accessibility.
openDelay: from700msto600ms
-
Tooltip: Change default delay values for tooltip to improve accessibility.
Learn moreopenDelay: from1000msto400mscloseDelay: from500msto150ms
Fixed
-
Editable: Allow text selection in editable preview when
autoResizeis enabledPreviously, when
autoResizewas set totrue, the preview element haduserSelect: "none"applied, preventing
users from selecting text. This has been fixed by removing theuserSelectstyle property. -
File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone
-
Menu:
- Fix issue where keyboard activation of menu items with
target="_blank"would open two tabs - Fix issue where hovering a partially visible item with pointer causes it to scroll into view
- Fix issue where keyboard activation of menu items with
-
Tabs: Fix issue where
idsforitemandcontentcould not be customized -
Toast: Allow creating a toast store without any arguments
@ark-ui/[email protected]
Fixed
- General: Fix issue where
mergePropsthrows whenpropsisundefinedornull
@ark-ui/[email protected]
Added
-
Combobox: Add
alwaysSubmitOnEnterprop to allow bypassing the default two-step behavior (Enter to close
combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
single-field autocomplete forms where Enter should submit the form directly. -
Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as
dialog,
popover,menu, orlistbox. This enables:data-nestedattribute on nested layers of the same typedata-has-nestedattribute on parent layers with nested children of the same type--nested-layer-countCSS variable indicating the number of nested layers of the same type
Changed
-
Hover Card: Change default delay values for hover card to improve accessibility.
openDelay: from700msto600ms
-
Tooltip: Change default delay values for tooltip to improve accessibility.
Learn moreopenDelay: from1000msto400mscloseDelay: from500msto150ms
Fixed
-
Editable: Allow text selection in editable preview when
autoResizeis enabledPreviously, when
autoResizewas set totrue, the preview element haduserSelect: "none"applied, preventing
users from selecting text. This has been fixed by removing theuserSelectstyle property. -
File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone
-
Menu:
- Fix issue where keyboard activation of menu items with
target="_blank"would open two tabs - Fix issue where hovering a partially visible item with pointer causes it to scroll into view
- Fix issue where keyboard activation of menu items with
-
Tabs: Fix issue where
idsforitemandcontentcould not be customized -
Toast: Allow creating a toast store without any arguments
@ark-ui/[email protected]
Added
- Field: Add
data-requiredattribute toField.Label - Select, Combobox, Listbox, TreeView: Export
RootComponentandRootProviderComponenttypes which are useful
when building compositions that wrap theRootandRootProvidercomponents and you still want type-safety for the
collection.
Fixed
- Menu: Fix
Menu.ItemTextnot working insideMenu.TriggerItem
@ark-ui/[email protected]
Added
- Field: Add
data-requiredattribute toField.Label - Select, Combobox, Listbox, TreeView: Export
RootComponentandRootProviderComponenttypes which are useful
when building compositions that wrap theRootandRootProvidercomponents and you still want type-safety for the
collection.
Fixed
- Menu: Fix
Menu.ItemTextnot working insideMenu.TriggerItem