Skip to content

Releases: chakra-ui/ark

@ark-ui/[email protected]

24 Aug 21:00

Choose a tag to compare

Added

  • Composables: Add useAsyncList and useCollator composables for managing asynchronous list operations and
    locale-aware string comparison
  • Toast: Export type definitions ToastActionOptions, ToastPlacement, ToastPromiseOptions, ToastStatus,
    ToastStatusChangeDetails, and ToastType

Changed

  • Fieldset
    • Update Legend component to render as div instead of legend element for improved styling flexibility
    • Add aria-labelledby attribute to fieldset root for better accessibility by linking to legend

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/max constraints.
    • Expose disabled on api.getMonths() and api.getYears() results to indicate options out of range for current
      constraints.
  • Listbox

    • Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
      currently highlighted.
    • Add getElement to scrollToIndexFn details
    • Track collection changes and clear highlightedValue if the item is no longer in the collection.
  • ScrollArea

    • Avoid detecting hover state from portalled descendants.
    • Add data-dragging attribute to scroll area parts.
  • Select: Add getElement to scrollToIndexFn details

  • Combobox: Add getElement to scrollToIndexFn details

@ark-ui/[email protected]

24 Aug 21:00

Choose a tag to compare

Added

  • Functions: Add useAsyncList and useCollator functions for managing asynchronous list operations and
    locale-aware string comparison
  • Toast: Export type definitions ToastActionOptions, ToastPlacement, ToastPromiseOptions, ToastStatus,
    ToastStatusChangeDetails, and ToastType

Changed

  • Fieldset
    • Update Legend component to render as div instead of legend element for improved styling flexibility
    • Add aria-labelledby attribute to fieldset root for better accessibility by linking to legend

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/max constraints.
    • Expose disabled on api.getMonths() and api.getYears() results to indicate options out of range for current
      constraints.
  • Listbox

    • Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
      currently highlighted.
    • Add getElement to scrollToIndexFn details
    • Track collection changes and clear highlightedValue if the item is no longer in the collection.
  • ScrollArea

    • Avoid detecting hover state from portalled descendants.
    • Add data-dragging attribute to scroll area parts.
  • Select: Add getElement to scrollToIndexFn details

  • Combobox: Add getElement to scrollToIndexFn details

@ark-ui/[email protected]

24 Aug 20:59

Choose a tag to compare

Added

  • Hooks: Add useAsyncList and useCollator hooks for managing asynchronous list operations and locale-aware
    string comparison
  • Toast: Export type definitions ToastActionOptions, ToastPlacement, ToastPromiseOptions, ToastStatus,
    ToastStatusChangeDetails, and ToastType

Changed

  • Fieldset:
    • Update Legend component to render as div instead of legend element for improved styling flexibility
    • Add aria-labelledby attribute to fieldset root for better accessibility by linking to legend

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/max constraints.
    • Expose disabled on api.getMonths() and api.getYears() results to indicate options out of range for current
      constraints.
  • Listbox

    • Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
      currently highlighted.
    • Add getElement to scrollToIndexFn details
    • Track collection changes and clear highlightedValue if the item is no longer in the collection.
  • ScrollArea

    • Avoid detecting hover state from portalled descendants.
    • Add data-dragging attribute to scroll area parts.
  • Select: Add getElement to scrollToIndexFn details

  • Combobox: Add getElement to scrollToIndexFn details

@ark-ui/[email protected]

24 Aug 20:58

Choose a tag to compare

Added

  • Hooks: Add useAsyncList and useCollator hooks for managing asynchronous list operations and locale-aware
    string comparison
  • Toast: Export type definitions ToastActionOptions, ToastPlacement, ToastPromiseOptions, ToastStatus,
    ToastStatusChangeDetails, and ToastType

Changed

  • Fieldset
    • Update Legend component to render as div instead of legend element for improved styling flexibility
    • Add aria-labelledby attribute to fieldset root for better accessibility by linking to legend

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/max constraints.
    • Expose disabled on api.getMonths() and api.getYears() results to indicate options out of range for current
      constraints.
  • Listbox

    • Fix issue where first enabled item should be highlighted by default when listbox receives focus and no item is
      currently highlighted.
    • Add getElement to scrollToIndexFn details
    • Track collection changes and clear highlightedValue if the item is no longer in the collection.
  • Scroll Area

    • Avoid detecting hover state from portalled descendants.
    • Add data-dragging attribute to scroll area parts.
  • Select: Add getElement to scrollToIndexFn details

  • Combobox: Add getElement to scrollToIndexFn details

  • Tabs: Fix inconsistent keyboard navigation where TabPanel intermittently receives focus before focusable elements

@ark-ui/[email protected]

20 Aug 14:15

Choose a tag to compare

Added

  • Highlight Word: Add exactMatch option that enables whole-word matching using regex word boundaries.

Fixed

  • Menu: Fix context menu repositioning logic

  • Scroll Area: Add data-hover to scroll area

@ark-ui/[email protected]

20 Aug 14:15

Choose a tag to compare

Added

  • Highlight Word: Add exactMatch option that enables whole-word matching using regex word boundaries.

Fixed

  • Menu: Fix context menu repositioning logic

  • Scroll Area: Add data-hover to scroll area

@ark-ui/[email protected]

20 Aug 14:14

Choose a tag to compare

Added

  • Highlight Word: Add exactMatch option that enables whole-word matching using regex word boundaries.

Fixed

  • Menu: Fix context menu repositioning logic

  • Scroll Area: Add data-hover to scroll area

@ark-ui/[email protected]

20 Aug 14:13

Choose a tag to compare

Added

  • Highlight Word: Add exactMatch option that enables whole-word matching using regex word boundaries.

Fixed

  • Menu: Fix context menu repositioning logic

  • Scroll Area: Add data-hover to scroll area

@ark-ui/[email protected]

18 Aug 15:10

Choose a tag to compare

Added

  • ScrollArea [NEW]: Add support for new scroll area component.

Fixed

  • ListCollection

    • Avoid recomputing groups on every call to at() and indexOf()
    • Fixed bug in find() method (was checking != null instead of !== -1)
  • GridCollection: Avoid recomputing rows on every call to getRows()

  • Menu

    • Add data-state attribute for context menu trigger
    • Fix context menu positioning bug where reopening at the same coordinates fails to reposition

@ark-ui/[email protected]

18 Aug 15:10

Choose a tag to compare

Added

  • ScrollArea [NEW]: Add support for new scroll area component.

Fixed

  • ListCollection

    • Avoid recomputing groups on every call to at() and indexOf()
    • Fixed bug in find() method (was checking != null instead of !== -1)
  • GridCollection: Avoid recomputing rows on every call to getRows()

  • Menu

    • Add data-state attribute for context menu trigger
    • Fix context menu positioning bug where reopening at the same coordinates fails to reposition