github chakra-ui/zag @zag-js/toc@2.0.0-next.4

Major Changes

  • #3342
    d6089c3 Thanks
    @github-actions! - - Breaking: Default multiple to false, so only
    the topmost visible heading is active.

    - toc.machine({})
    + toc.machine({ multiple: true })
    • Fix the active heading ignoring rootMargin and threshold changes after mount.

    • Fix headings and scrollEl that mount after the TOC not being tracked.

Patch Changes

  • Updated dependencies [a80b307]:
    • @zag-js/dom-query@2.0.0-next.4
    • @zag-js/core@2.0.0-next.4
    • @zag-js/anatomy@2.0.0-next.4
    • @zag-js/types@2.0.0-next.4
    • @zag-js/utils@2.0.0-next.4

Don't miss a new zag release

NewReleases is sending notifications on new releases.