github chakra-ui/zag @zag-js/select@2.0.0-next.3

latest releases: @zag-js/tour@2.0.0-next.3, @zag-js/toast@2.0.0-next.3
pre-release3 hours ago

Patch Changes

  • #3308
    869293e Thanks
    @github-actions! - Fixed issue where translations was typed as
    always-defined on the machine service. prop("translations") now reflects that it may be undefined.

  • #3308
    76af82f Thanks
    @github-actions! - Fixed issues with screen reader announcements.

    • Fixed issue where the region was rebuilt on every announce(), so screen readers missed it — VoiceOver in
      particular.
    • Fixed issue where announcements were never cleared and stayed in the accessibility tree. Added a timeout option
      and a clear() method.
    • Fixed issue where combobox and select left a stale announcement in place when nothing was highlighted.
    • Added aria-atomic="true" and a separate region per level, so a polite announcer cannot inherit an assertive one.
  • #3308
    5a6c68f Thanks
    @github-actions! - Fixed issues with alignItemWithTrigger positioning.

    • Fixed issue where the popup was positioned far from its trigger on Solid, Vue and Svelte, because the re-render
      after alignment reapplied the popper's own coordinates.
    • Fixed issue where the popup grew to fill the space beneath the trigger rather than to its content, leaving an empty
      tail.
    • Fixed issue where a max-height on the content was ignored while the popup grew, letting it expand to the viewport.
    • Fixed issue where the popup scrolled past the end of the scroller.
    • Added --reference-width while aligned, so content can size itself to the trigger.
  • #3308
    c108f47 Thanks
    @github-actions! - Don't throw in announceHighlightedItem when
    translations is omitted, so highlighting an item no longer unmounts the select.

  • Updated dependencies [f832098,
    76af82f,
    f2f2900,
    5a6c68f]:

    • @zag-js/focus-visible@2.0.0-next.3
    • @zag-js/live-region@2.0.0-next.3
    • @zag-js/dismissable@2.0.0-next.3
    • @zag-js/popper@2.0.0-next.3
    • @zag-js/anatomy@2.0.0-next.3
    • @zag-js/core@2.0.0-next.3
    • @zag-js/types@2.0.0-next.3
    • @zag-js/collection@2.0.0-next.3
    • @zag-js/utils@2.0.0-next.3
    • @zag-js/dom-query@2.0.0-next.3

Don't miss a new zag release

NewReleases is sending notifications on new releases.