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

latest releases: @zag-js/dnd@2.0.0-next.0, @zag-js/dismissable@2.0.0-next.0, @zag-js/popper@2.0.0-next.0...
pre-release8 hours ago

Major Changes

  • #3061
    bd8e235 Thanks
    @github-actions! - Breaking: editable now defaults to false.

    Inline editing of existing tags (via double-click or pressing Enter on a highlighted tag) is now opt-in. Tags are
    add/remove only by default.

      tagsInput.machine({
        id: "tags",
    +   editable: true, // add this to preserve inline rename
      })

    Why

    • Simpler default — most usages only need add/remove, not inline rename
    • Less surprise — double-click to edit is a power-user feature that should be opted into
    • Matches peers — aligns with how other tag input libraries behave out of the box

Patch Changes

  • Updated dependencies [5820feb]:
    • @zag-js/anatomy@2.0.0-next.0
    • @zag-js/types@2.0.0-next.0
    • @zag-js/dom-query@2.0.0-next.0
    • @zag-js/core@2.0.0-next.0
    • @zag-js/auto-resize@2.0.0-next.0
    • @zag-js/interact-outside@2.0.0-next.0
    • @zag-js/utils@2.0.0-next.0
    • @zag-js/live-region@2.0.0-next.0

Don't miss a new zag release

NewReleases is sending notifications on new releases.