github chakra-ui/zag @zag-js/color-picker@1.44.0

Patch Changes

  • #3307
    d00485b Thanks
    @dylanpulver! - Fix aria-disabled on the color area thumb and channel slider thumb
    so assistive technology reports both role="slider" elements as disabled when disabled is set. The channel slider
    thumb emitted aria-disabled="", which browsers map to the false default, and the area thumb omitted the attribute
    entirely.

  • 06be915 Thanks
    @segunadebayo! - Fix api.setOpen ignoring a second call made in the same tick.
    setOpen(true) immediately followed by setOpen(false) left the component open instead of closed, and only worked if
    you awaited a microtask between the two calls.

    The last call in a tick now wins, and calling setOpen repeatedly with the same value still invokes onOpenChange
    once. Drawer's api.setSnapPoint had the same problem and behaves the same way now.

  • Updated dependencies [2668edc,
    de9aeaa,
    06be915]:

    • @zag-js/dom-query@1.44.0
    • @zag-js/dismissable@1.44.0
    • @zag-js/core@1.44.0
    • @zag-js/popper@1.44.0
    • @zag-js/anatomy@1.44.0
    • @zag-js/types@1.44.0
    • @zag-js/color-utils@1.44.0
    • @zag-js/utils@1.44.0

Don't miss a new zag release

NewReleases is sending notifications on new releases.