Releases: chakra-ui/ark
@ark-ui/[email protected]
Added
- Composables: Add
useAsyncListanduseCollatorcomposables for managing asynchronous list operations and
locale-aware string comparison - Toast: Export type definitions
ToastActionOptions,ToastPlacement,ToastPromiseOptions,ToastStatus,
ToastStatusChangeDetails, andToastType
Changed
- Fieldset
- Update Legend component to render as
divinstead oflegendelement for improved styling flexibility - Add
aria-labelledbyattribute to fieldset root for better accessibility by linking to legend
- Update Legend component to render as
Fixed
-
Date Picker
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
area. - Fix issue where month and year select labels don't update correctly when using
min/maxconstraints. - Expose
disabledonapi.getMonths()andapi.getYears()results to indicate options out of range for current
constraints.
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
-
Listbox
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
currently highlighted. - Add
getElementtoscrollToIndexFndetails - Track collection changes and clear
highlightedValueif the item is no longer in the collection.
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
-
ScrollArea
- Avoid detecting hover state from portalled descendants.
- Add
data-draggingattribute to scroll area parts.
-
Select: Add
getElementtoscrollToIndexFndetails -
Combobox: Add
getElementtoscrollToIndexFndetails
@ark-ui/[email protected]
Added
- Functions: Add
useAsyncListanduseCollatorfunctions for managing asynchronous list operations and
locale-aware string comparison - Toast: Export type definitions
ToastActionOptions,ToastPlacement,ToastPromiseOptions,ToastStatus,
ToastStatusChangeDetails, andToastType
Changed
- Fieldset
- Update Legend component to render as
divinstead oflegendelement for improved styling flexibility - Add
aria-labelledbyattribute to fieldset root for better accessibility by linking to legend
- Update Legend component to render as
Fixed
-
Date Picker
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
area. - Fix issue where month and year select labels don't update correctly when using
min/maxconstraints. - Expose
disabledonapi.getMonths()andapi.getYears()results to indicate options out of range for current
constraints.
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
-
Listbox
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
currently highlighted. - Add
getElementtoscrollToIndexFndetails - Track collection changes and clear
highlightedValueif the item is no longer in the collection.
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
-
ScrollArea
- Avoid detecting hover state from portalled descendants.
- Add
data-draggingattribute to scroll area parts.
-
Select: Add
getElementtoscrollToIndexFndetails -
Combobox: Add
getElementtoscrollToIndexFndetails
@ark-ui/[email protected]
Added
- Hooks: Add
useAsyncListanduseCollatorhooks for managing asynchronous list operations and locale-aware
string comparison - Toast: Export type definitions
ToastActionOptions,ToastPlacement,ToastPromiseOptions,ToastStatus,
ToastStatusChangeDetails, andToastType
Changed
- Fieldset:
- Update Legend component to render as
divinstead oflegendelement for improved styling flexibility - Add
aria-labelledbyattribute to fieldset root for better accessibility by linking to legend
- Update Legend component to render as
Fixed
-
Date Picker
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
area. - Fix issue where month and year select labels don't update correctly when using
min/maxconstraints. - Expose
disabledonapi.getMonths()andapi.getYears()results to indicate options out of range for current
constraints.
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
-
Listbox
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
currently highlighted. - Add
getElementtoscrollToIndexFndetails - Track collection changes and clear
highlightedValueif the item is no longer in the collection.
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
-
ScrollArea
- Avoid detecting hover state from portalled descendants.
- Add
data-draggingattribute to scroll area parts.
-
Select: Add
getElementtoscrollToIndexFndetails -
Combobox: Add
getElementtoscrollToIndexFndetails
@ark-ui/[email protected]
Added
- Hooks: Add
useAsyncListanduseCollatorhooks for managing asynchronous list operations and locale-aware
string comparison - Toast: Export type definitions
ToastActionOptions,ToastPlacement,ToastPromiseOptions,ToastStatus,
ToastStatusChangeDetails, andToastType
Changed
- Fieldset
- Update Legend component to render as
divinstead oflegendelement for improved styling flexibility - Add
aria-labelledbyattribute to fieldset root for better accessibility by linking to legend
- Update Legend component to render as
Fixed
-
Date Picker
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
area. - Fix issue where month and year select labels don't update correctly when using
min/maxconstraints. - Expose
disabledonapi.getMonths()andapi.getYears()results to indicate options out of range for current
constraints.
- Clear hovered range state after completing range selection instead of waiting for pointer to leave the calendar
-
Listbox
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
currently highlighted. - Add
getElementtoscrollToIndexFndetails - Track collection changes and clear
highlightedValueif the item is no longer in the collection.
- Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
-
Scroll Area
- Avoid detecting hover state from portalled descendants.
- Add
data-draggingattribute to scroll area parts.
-
Select: Add
getElementtoscrollToIndexFndetails -
Combobox: Add
getElementtoscrollToIndexFndetails -
Tabs: Fix inconsistent keyboard navigation where TabPanel intermittently receives focus before focusable elements
@ark-ui/[email protected]
Added
- Highlight Word: Add
exactMatchoption that enables whole-word matching using regex word boundaries.
Fixed
-
Menu: Fix context menu repositioning logic
-
Scroll Area: Add
data-hoverto scroll area
@ark-ui/[email protected]
Added
- Highlight Word: Add
exactMatchoption that enables whole-word matching using regex word boundaries.
Fixed
-
Menu: Fix context menu repositioning logic
-
Scroll Area: Add
data-hoverto scroll area
@ark-ui/[email protected]
Added
- Highlight Word: Add
exactMatchoption that enables whole-word matching using regex word boundaries.
Fixed
-
Menu: Fix context menu repositioning logic
-
Scroll Area: Add
data-hoverto scroll area
@ark-ui/[email protected]
Added
- Highlight Word: Add
exactMatchoption that enables whole-word matching using regex word boundaries.
Fixed
-
Menu: Fix context menu repositioning logic
-
Scroll Area: Add
data-hoverto scroll area
@ark-ui/[email protected]
Added
- ScrollArea [NEW]: Add support for new scroll area component.
Fixed
-
ListCollection
- Avoid recomputing groups on every call to
at()andindexOf() - Fixed bug in
find()method (was checking!= nullinstead of!== -1)
- Avoid recomputing groups on every call to
-
GridCollection: Avoid recomputing rows on every call to
getRows() -
Menu
- Add
data-stateattribute for context menu trigger - Fix context menu positioning bug where reopening at the same coordinates fails to reposition
- Add
@ark-ui/[email protected]
Added
- ScrollArea [NEW]: Add support for new scroll area component.
Fixed
-
ListCollection
- Avoid recomputing groups on every call to
at()andindexOf() - Fixed bug in
find()method (was checking!= nullinstead of!== -1)
- Avoid recomputing groups on every call to
-
GridCollection: Avoid recomputing rows on every call to
getRows() -
Menu
- Add
data-stateattribute for context menu trigger - Fix context menu positioning bug where reopening at the same coordinates fails to reposition
- Add