github chakra-ui/zag @zag-js/gridlist@2.0.0-next.0

latest releases: @zag-js/dnd@2.0.0-next.0, @zag-js/dismissable@2.0.0-next.0, @zag-js/popper@2.0.0-next.0...
pre-release7 hours ago

Minor Changes

  • #3061
    17cbe88 Thanks
    @github-actions! - Add @zag-js/gridlist — a framework-agnostic state
    machine for the WAI-ARIA grid pattern. Use this for interactive lists whose items contain buttons, links, or other
    focusable content where listbox's option role isn't valid.

    Features:

    • Single/multiple selection with toggle or replace behavior
    • Full keyboard navigation: arrows, Home/End, Page Up/Down, typeahead, Ctrl/Cmd+A
    • Item activation via onAction
    • Linkable items via href + onNavigate
    • Checkbox helper for toggle selection
    • Grouping via collection.group()
    • Virtualization via scrollToIndexFn
    • 2D layouts via GridCollection

    Parts: root, label, content, itemGroup, itemGroupLabel, item, cell, itemText, itemIndicator,
    checkbox, empty.

Patch Changes

  • Updated dependencies [5820feb]:
    • @zag-js/anatomy@2.0.0-next.0
    • @zag-js/types@2.0.0-next.0
    • @zag-js/dom-query@2.0.0-next.0
    • @zag-js/core@2.0.0-next.0
    • @zag-js/focus-visible@2.0.0-next.0
    • @zag-js/collection@2.0.0-next.0
    • @zag-js/utils@2.0.0-next.0

Don't miss a new zag release

NewReleases is sending notifications on new releases.