Skip to content

Releases: chakra-ui/zag

@zag-js/[email protected]

04 Dec 23:51
5557bf5

Choose a tag to compare

Patch Changes

@zag-js/[email protected]

04 Dec 23:53
5557bf5

Choose a tag to compare

@zag-js/[email protected]

04 Dec 23:54
5557bf5

Choose a tag to compare

@zag-js/[email protected]

04 Dec 23:53
5557bf5

Choose a tag to compare

Minor Changes

  • 57478b8 Thanks
    @segunadebayo! - - Added scrollToIndexFn prop to enable keyboard navigation in
    virtualized trees

    • [Breaking]: getVisibleNodes() now returns { node, indexPath }[] instead of node[]. Returning the index
      path perhaps the most useful use of this function, hence the change.

    Migration:

    // Before
    const nodes = api.getVisibleNodes()
    nodes.forEach((node) => console.log(node.id))
    
    // After
    const visibleNodes = api.getVisibleNodes()
    visibleNodes.forEach(({ node }) => console.log(node.id))

Patch Changes

@zag-js/[email protected]

04 Dec 23:52
5557bf5

Choose a tag to compare

Patch Changes

@zag-js/[email protected]

04 Dec 23:53
5557bf5

Choose a tag to compare

Patch Changes

@zag-js/[email protected]

04 Dec 23:54
5557bf5

Choose a tag to compare

Patch Changes

@zag-js/[email protected]

04 Dec 23:52
5557bf5

Choose a tag to compare

Patch Changes

@zag-js/[email protected]

04 Dec 23:52
5557bf5

Choose a tag to compare

Patch Changes

@zag-js/[email protected]

04 Dec 23:52
5557bf5

Choose a tag to compare

Patch Changes