@zag-js/clipboard 0.77.0 → 0.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -109,6 +109,7 @@ function connect(state, send, normalize) {
|
|
|
109
109
|
getTriggerProps() {
|
|
110
110
|
return normalize.button({
|
|
111
111
|
...parts.trigger.attrs,
|
|
112
|
+
type: "button",
|
|
112
113
|
"aria-label": copied ? "Copied to clipboard" : "Copy to clipboard",
|
|
113
114
|
"data-copied": domQuery.dataAttr(copied),
|
|
114
115
|
onClick() {
|
package/dist/index.mjs
CHANGED
|
@@ -107,6 +107,7 @@ function connect(state, send, normalize) {
|
|
|
107
107
|
getTriggerProps() {
|
|
108
108
|
return normalize.button({
|
|
109
109
|
...parts.trigger.attrs,
|
|
110
|
+
type: "button",
|
|
110
111
|
"aria-label": copied ? "Copied to clipboard" : "Copy to clipboard",
|
|
111
112
|
"data-copied": dataAttr(copied),
|
|
112
113
|
onClick() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/clipboard",
|
|
3
|
-
"version": "0.77.
|
|
3
|
+
"version": "0.77.1",
|
|
4
4
|
"description": "Core logic for the clipboard widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/anatomy": "0.77.
|
|
31
|
-
"@zag-js/core": "0.77.
|
|
32
|
-
"@zag-js/dom-query": "0.77.
|
|
33
|
-
"@zag-js/utils": "0.77.
|
|
34
|
-
"@zag-js/types": "0.77.
|
|
30
|
+
"@zag-js/anatomy": "0.77.1",
|
|
31
|
+
"@zag-js/core": "0.77.1",
|
|
32
|
+
"@zag-js/dom-query": "0.77.1",
|
|
33
|
+
"@zag-js/utils": "0.77.1",
|
|
34
|
+
"@zag-js/types": "0.77.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|