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

Patch Changes

  • #3415
    127617b Thanks
    @segunadebayo! - Add api.modal to read whether the dialog or drawer is modal.
    Useful for skipping the backdrop in non-modal mode.

    {
      api.modal && <div {...api.getBackdropProps()} />
    }
  • Updated dependencies [44445ae,
    656f677]:

    • @zag-js/aria-hidden@1.46.0
    • @zag-js/dismissable@1.46.0
    • @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
    • @zag-js/focus-trap@1.46.0
    • @zag-js/remove-scroll@1.46.0

Don't miss a new zag release

NewReleases is sending notifications on new releases.