github chakra-ui/zag @zag-js/toc@1.46.0

Minor Changes

  • #3403
    803909e Thanks
    @segunadebayo! - - Added a nav part (getNavProps()) so the root can wrap the
    page content without sharing the nav's id or label.

    • Moved aria-labelledby from getRootProps() to getNavProps().
    <div {...api.getRootProps()}>
      <nav {...api.getNavProps()}>...</nav>
    </div>

Patch Changes

  • Updated dependencies []:
    • @zag-js/anatomy@1.46.0
    • @zag-js/core@1.46.0
    • @zag-js/types@1.46.0
    • @zag-js/utils@1.46.0
    • @zag-js/dom-query@1.46.0

Don't miss a new zag release

NewReleases is sending notifications on new releases.