Skip to content

@zag-js/clipboard@2.0.0-next.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Nov 21:08
· 0 commits to main since this release
824e7cd

Major Changes

  • #3342
    d6089c3 Thanks
    @github-actions! - - Fix copying again while copied not restarting the
    timeout.

    • Fix a failed copy showing as copied. onStatusChange reports { copied: false, error } instead.

    • Report { copied: false } from onStatusChange when the timeout ends.

    • Breaking: Remove the execCommand fallback. Copying needs the Clipboard API, which is only available on https
      pages and localhost.

Patch Changes

  • 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