Releases: chakra-ui/ark
Releases Β· chakra-ui/ark
@ark-ui/[email protected]
Added
- Date Picker: Added
ValueTextcomponent for displaying selected date value(s) with placeholder support and scoped
slot for custom formatting - Scroll Area: Added overflow CSS variables (
--scroll-area-overflow-{x,y}-{start,end}) for scroll fade effects - Slider: Added
thumbCollisionBehaviorprop (none,push,swap) - Steps: Added
isStepValid,isStepSkippable, andonStepInvalidfor validation support - Tags Input: Added
placeholderprop (shown only when no tags exist) - Tooltip: Added
data-instantattribute for instant animations
Fixed
- Auto Resize: Fixed change event not emitted after clearing controlled textarea
- Color Picker, Combobox, Date Picker, Dialog, Hover Card, Menu, Popover, Select, Tooltip, Tour: Fixed
exitCompleteevent not being exposed from root component - Date Picker: Fixed
visibleRangeTextto show correct format based on current view (year/month/day) - Dismissable: Fixed issue where closing a nested dialog/popover would incorrectly close its parent layers
- Menu: Fixed glitchy submenu behavior when hovering between trigger items quickly
- Checkbox: Fixed individual checkbox props being overridden by
CheckboxGroup - Factory: Fixed error when first child doesn't exist before merging props
- Scroll Area: Fixed
ScrollAreaRootProvidernot bindingrootPropscorrectly - Collection, Tree View: Fixed initial focus when first node/branch is disabled
- Color Picker: Fixed color not updating when selecting black shades in controlled mode
- Floating Panel: Fixed double-click on minimized title bar incorrectly maximizing
- Image Cropper: Fixed
reset()destroying cropper, prop changes not updating instantly, and panning bounds - Number Input: Fixed cursor positioning after clicking label or scrubbing
- Pagination: Fixed next trigger not disabled when
countis0 - Slider: Fixed thumb drag from edge in
thumbAlignment="contain"mode - Switch: Fixed
api.toggleChecked()not working - Toast: Fixed toasts created before state machine connects not showing
- Tour: Fixed janky scroll between steps
@ark-ui/[email protected]
Added
- Date Picker: Added
ValueTextcomponent for displaying selected date value(s) with placeholder support and
snippet for custom formatting - Scroll Area: Added overflow CSS variables (
--scroll-area-overflow-{x,y}-{start,end}) for scroll fade effects - Slider: Added
thumbCollisionBehaviorprop (none,push,swap) - Steps: Added
isStepValid,isStepSkippable, andonStepInvalidfor validation support - Tags Input: Added
placeholderprop (shown only when no tags exist) - Tooltip: Added
data-instantattribute for instant animations
Fixed
- Auto Resize: Fixed change event not emitted after clearing controlled textarea
- Date Picker: Fixed
visibleRangeTextto show correct format based on current view (year/month/day) - Dismissable: Fixed issue where closing a nested dialog/popover would incorrectly close its parent layers
- Menu: Fixed glitchy submenu behavior when hovering between trigger items quickly
- Checkbox: Fixed individual checkbox props being overridden by
CheckboxGroup - Factory: Fixed textarea hydration marker issue
- Collection, Tree View: Fixed initial focus when first node/branch is disabled
- Color Picker: Fixed color not updating when selecting black shades in controlled mode
- Floating Panel: Fixed double-click on minimized title bar incorrectly maximizing
- Image Cropper: Fixed
reset()destroying cropper, prop changes not updating instantly, and panning bounds - Number Input: Fixed cursor positioning after clicking label or scrubbing
- Pagination: Fixed next trigger not disabled when
countis0 - Slider: Fixed thumb drag from edge in
thumbAlignment="contain"mode - Switch: Fixed
api.toggleChecked()not working - Toast: Fixed toasts created before state machine connects not showing
- Tour: Fixed janky scroll between steps
@ark-ui/[email protected]
Added
- Date Picker: Added
ValueTextcomponent for displaying selected date value(s) with placeholder support and render
prop for custom formatting - Scroll Area: Added overflow CSS variables (
--scroll-area-overflow-{x,y}-{start,end}) for scroll fade effects - Slider: Added
thumbCollisionBehaviorprop (none,push,swap) - Steps: Added
isStepValid,isStepSkippable, andonStepInvalidfor validation support - Tags Input: Added
placeholderprop (shown only when no tags exist) - Tooltip: Added
data-instantattribute for instant animations
Fixed
- Auto Resize: Fixed change event not emitted after clearing controlled textarea
- Date Picker: Fixed
visibleRangeTextto show correct format based on current view (year/month/day) - Dismissable: Fixed issue where closing a nested dialog/popover would incorrectly close its parent layers
- Menu: Fixed glitchy submenu behavior when hovering between trigger items quickly
- SSR: Fixed Deno SSR crashes by replacing native HTML elements with
arkfactory components - Checkbox: Fixed individual checkbox props being overridden by
CheckboxGroup - Collection, Tree View: Fixed initial focus when first node/branch is disabled
- Color Picker: Fixed color not updating when selecting black shades in controlled mode
- Floating Panel: Fixed double-click on minimized title bar incorrectly maximizing
- Image Cropper: Fixed
reset()destroying cropper, prop changes not updating instantly, and panning bounds - Number Input: Fixed cursor positioning after clicking label or scrubbing
- Pagination: Fixed next trigger not disabled when
countis0 - Slider: Fixed thumb drag from edge in
thumbAlignment="contain"mode - Switch: Fixed
api.toggleChecked()not working - Toast: Fixed toasts created before state machine connects not showing
- Tour: Fixed janky scroll between steps
@ark-ui/[email protected]
Added
- Date Picker: Added
ValueTextcomponent for displaying selected date value(s) with placeholder support and render
prop for custom formatting - Scroll Area: Added overflow CSS variables (
--scroll-area-overflow-{x,y}-{start,end}) for scroll fade effects - Slider: Added
thumbCollisionBehaviorprop (none,push,swap) - Steps: Added
isStepValid,isStepSkippable, andonStepInvalidfor validation support - Tags Input: Added
placeholderprop (shown only when no tags exist) - Tooltip: Added
data-instantattribute for instant animations
Fixed
- Auto Resize: Fixed change event not emitted after clearing controlled textarea
- Date Picker: Fixed
visibleRangeTextto show correct format based on current view (year/month/day) - Dismissable: Fixed issue where closing a nested dialog/popover would incorrectly close its parent layers
- Menu: Fixed glitchy submenu behavior when hovering between trigger items quickly
- Checkbox: Fixed individual checkbox props being overridden by
CheckboxGroup - Collection, Tree View: Fixed initial focus when first node/branch is disabled
- Color Picker: Fixed color not updating when selecting black shades in controlled mode
- Floating Panel: Fixed double-click on minimized title bar incorrectly maximizing
- Image Cropper: Fixed
reset()destroying cropper, prop changes not updating instantly, and panning bounds - Number Input: Fixed cursor positioning after clicking label or scrubbing
- Pagination: Fixed next trigger not disabled when
countis0 - Slider: Fixed thumb drag from edge in
thumbAlignment="contain"mode - Switch: Fixed
api.toggleChecked()not working - Toast: Fixed toasts created before state machine connects not showing
- Tour: Fixed janky scroll between steps
@ark-ui/[email protected]
Added
- Date Picker: Added
requiredandinvalidprops - Number Input: Added
onValueCommitcallback that fires when the input loses focus or Enter is pressed - Pagination:
- Added
FirstTriggerandLastTriggercomponents for navigating to first/last page - Added
boundaryCountparameter for controlling boundary pages (start/end) - Implemented balanced pagination algorithm for consistent UI with max 7 elements
- Added
- Radio Group: Added
invalidandrequiredprops with correspondingdata-*andaria-*attributes - Tree View: Added
scrollToIndexFnprop to enable keyboard navigation in virtualized trees
Fixed
- Accordion, Menu: Fixed issue where querying elements by
aria-controlsattribute could fail when lazy mounting the content - Color Picker: Added
role="dialog"to content andaria-haspopup="dialog"to trigger when not inline for better accessibility - Date Picker: Fixed issue where date picker input does not update format when locale changes
- Floating Panel:
- Fixed
dirprop now properly delegated to all panel parts - Fixed double-click behavior improvements and to check
event.defaultPreventedfor custom behavior
- Fixed
- Listbox:
- Fixed issue where
data-highlightedwasn't applied to the first item when usingautoHighlightwith input filtering
- Fixed issue where
- Number Input:
- Fixed improved controlled usage sync
- Fixed issue where input element doesn't sync when
formatOptionschanges dynamically - Ensured cursor position is preserved when
Enterkey is pressed and formatting is triggered - Fixed cursor jumping to start when value is changed externally via props while user is typing
- Pagination: Fixed ellipsis showing when only 1 page gap
- Rating Group: Fixed issue where rating group becomes unfocusable via keyboard when value is 0
- Tooltip: Fixed tooltip not showing when scrolling with pointer over trigger
Changed
- Tree View:
getVisibleNodes()now returns{ node, indexPath }[]instead ofnode[]
@ark-ui/[email protected]
Added
- Date Picker: Added
requiredandinvalidprops - Number Input: Added
onValueCommitcallback that fires when the input loses focus or Enter is pressed - Pagination:
- Added
FirstTriggerandLastTriggercomponents for navigating to first/last page - Added
boundaryCountparameter for controlling boundary pages (start/end) - Implemented balanced pagination algorithm for consistent UI with max 7 elements
- Added
- Radio Group: Added
invalidandrequiredprops with correspondingdata-*andaria-*attributes - Tree View: Added
scrollToIndexFnprop to enable keyboard navigation in virtualized trees
Fixed
- Accordion, Menu: Fixed issue where querying elements by
aria-controlsattribute could fail when lazy mounting the content - Color Picker: Added
role="dialog"to content andaria-haspopup="dialog"to trigger when not inline for better accessibility - Date Picker: Fixed issue where date picker input does not update format when locale changes
- Floating Panel:
- Fixed
dirprop now properly delegated to all panel parts - Fixed double-click behavior improvements and to check
event.defaultPreventedfor custom behavior
- Fixed
- Listbox:
- Fixed issue where
data-highlightedwasn't applied to the first item when usingautoHighlightwith input filtering
- Fixed issue where
- Number Input:
- Fixed issue where input element doesn't sync when
formatOptionschanges dynamically - Ensured cursor position is preserved when
Enterkey is pressed and formatting is triggered - Fixed cursor jumping to start when value is changed externally via props while user is typing
- Fixed issue where input element doesn't sync when
- Pagination: Fixed ellipsis showing when only 1 page gap
- Rating Group: Fixed issue where rating group becomes unfocusable via keyboard when value is 0
- Tooltip: Fixed tooltip not showing when scrolling with pointer over trigger
- Collapsible, Presence, Tour: Fixed machines setting reactive state in unmount lifecycle
Changed
- Tree View:
getVisibleNodes()now returns{ node, indexPath }[]instead ofnode[]
@ark-ui/[email protected]
Added
- Date Picker: Added
requiredandinvalidprops - Number Input: Added
onValueCommitcallback that fires when the input loses focus or Enter is pressed - Pagination:
- Added
FirstTriggerandLastTriggercomponents for navigating to first/last page - Added
boundaryCountparameter for controlling boundary pages (start/end) - Implemented balanced pagination algorithm for consistent UI with max 7 elements
- Added
- Radio Group: Added
invalidandrequiredprops with correspondingdata-*andaria-*attributes - Tree View: Added
scrollToIndexFnprop to enable keyboard navigation in virtualized trees
Fixed
- Accordion, Menu: Fixed issue where querying elements by
aria-controlsattribute could fail when lazy mounting the content - Color Picker: Added
role="dialog"to content andaria-haspopup="dialog"to trigger when not inline for better accessibility - Date Picker: Fixed issue where date picker input does not update format when locale changes
- Floating Panel:
- Fixed
dirprop now properly delegated to all panel parts - Fixed double-click behavior improvements and to check
event.defaultPreventedfor custom behavior
- Fixed
- Listbox:
- Fixed issue where
data-highlightedwasn't applied to the first item when usingautoHighlightwith input filtering
- Fixed issue where
- Number Input:
- Fixed improved controlled usage sync
- Fixed issue where input element doesn't sync when
formatOptionschanges dynamically - Ensured cursor position is preserved when
Enterkey is pressed and formatting is triggered - Fixed cursor jumping to start when value is changed externally via props while user is typing
- Pagination: Fixed ellipsis showing when only 1 page gap
- Rating Group: Fixed issue where rating group becomes unfocusable via keyboard when value is 0
- Tooltip: Fixed tooltip not showing when scrolling with pointer over trigger
Changed
- Tree View:
getVisibleNodes()now returns{ node, indexPath }[]instead ofnode[]
@ark-ui/[email protected]
Added
- Date Picker: Added
requiredandinvalidprops - Number Input: Added
onValueCommitcallback that fires when the input loses focus or Enter is pressed - Pagination:
- Added
FirstTriggerandLastTriggercomponents for navigating to first/last page - Added
boundaryCountparameter for controlling boundary pages (start/end) - Implemented balanced pagination algorithm for consistent UI with max 7 elements
- Added
- Radio Group: Added
invalidandrequiredprops with correspondingdata-*andaria-*attributes - Tree View: Added
scrollToIndexFnprop to enable keyboard navigation in virtualized trees
Fixed
- Accordion, Menu: Fixed issue where querying elements by
aria-controlsattribute could fail when lazy mounting the content - Color Picker: Added
role="dialog"to content andaria-haspopup="dialog"to trigger when not inline for better accessibility - Date Picker: Fixed issue where date picker input does not update format when locale changes
- Floating Panel:
- Fixed
dirprop now properly delegated to all panel parts - Fixed double-click behavior improvements and to check
event.defaultPreventedfor custom behavior
- Fixed
- Listbox:
- Fixed issue in React where filtering items with an input would throw a
flushSync was called from inside a lifecycle methodwarning - Fixed issue where
data-highlightedwasn't applied to the first item when usingautoHighlightwith input filtering
- Fixed issue in React where filtering items with an input would throw a
- Number Input:
- Fixed improved controlled usage sync
- Fixed issue where input element doesn't sync when
formatOptionschanges dynamically - Ensured cursor position is preserved when
Enterkey is pressed and formatting is triggered - Fixed cursor jumping to start when value is changed externally via props while user is typing
- Pagination: Fixed ellipsis showing when only 1 page gap
- Rating Group: Fixed issue where rating group becomes unfocusable via keyboard when value is 0
- Tooltip: Fixed tooltip not showing when scrolling with pointer over trigger
Changed
- Tree View:
getVisibleNodes()now returns{ node, indexPath }[]instead ofnode[]
@ark-ui/[email protected]
Fixed
- Fieldset: Fixed
aria-describedbyresolution to correctly reference helper text and error text IDs, and correctedaria-labelledbyto use legend ID instead of label ID - Floating Panel:
- Fixed resize trigger issue with
naxis by explicitly settingtop: 0 - Fixed
draggableandresizableoptions not being respected when set tofalse
- Fixed resize trigger issue with
- Presence: Fixed regression where UNMOUNT transition might not be called consistently
@ark-ui/[email protected]
Fixed
- Floating Panel:
- Fixed resize trigger issue with
naxis by explicitly settingtop: 0 - Fixed
draggableandresizableoptions not being respected when set tofalse
- Fixed resize trigger issue with
- Presence: Fixed regression where UNMOUNT transition might not be called consistently