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

Minor Changes

  • #3342
    d6089c3 Thanks
    @github-actions! - - Add api.highlightedValue with the highlighted tag's
    value.

    • Add values to the onValueInvalid details with the tags that failed validate.

    • Fix onHighlightChange reporting the tag's DOM id instead of its value.

    • Fix pasting with addOnPaste skipping the checks a typed tag goes through. Each pasted tag is validated, empty
      segments are skipped, and the paste stops at max unless allowOverflow is set.

    • Keep the pasted text in the input when none of its tags can be added.

    • Fix a disabled <fieldset> not disabling the tags input.

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 [cb8e73d,
    a80b307]:
    • @zag-js/interact-outside@2.0.0-next.4
    • @zag-js/dom-query@2.0.0-next.4
    • @zag-js/core@2.0.0-next.4
    • @zag-js/auto-resize@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
    • @zag-js/live-region@2.0.0-next.4

Don't miss a new zag release

NewReleases is sending notifications on new releases.