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

Major Changes

  • #3342
    3f83a21 Thanks
    @github-actions! - - Breaking: Report a menu's real close reason in the
    menu:close event, using the same names as the menu, such as escape-key or interact-outside. Moving to a sibling
    menu with the arrow keys is now sibling-open, like hovering to it.

    // before
    if (reason === "list-navigation" || reason === "escape") {
    }
    // after
    if (reason === "sibling-open" || reason === "escape-key") {
    }

Patch Changes

  • #3342
    730ea29 Thanks
    @github-actions! - - Fix focus, scroll and sync work scheduled for the next
    frame running after the component unmounts.
  • 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.