@zag-js/clipboard 0.74.1 → 0.75.0
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -17,7 +17,7 @@ interface PublicContext extends CommonProperties {
|
|
|
17
17
|
/**
|
|
18
18
|
* The ids of the elements in the clipboard. Useful for composition.
|
|
19
19
|
*/
|
|
20
|
-
ids?: ElementIds;
|
|
20
|
+
ids?: ElementIds | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* The value to be copied to the clipboard
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ interface PublicContext extends CommonProperties {
|
|
|
25
25
|
/**
|
|
26
26
|
* The function to be called when the value is copied to the clipboard
|
|
27
27
|
*/
|
|
28
|
-
onStatusChange?: (details: CopyStatusDetails) => void;
|
|
28
|
+
onStatusChange?: ((details: CopyStatusDetails) => void) | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* The timeout for the copy operation
|
|
31
31
|
* @default 3000
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface PublicContext extends CommonProperties {
|
|
|
17
17
|
/**
|
|
18
18
|
* The ids of the elements in the clipboard. Useful for composition.
|
|
19
19
|
*/
|
|
20
|
-
ids?: ElementIds;
|
|
20
|
+
ids?: ElementIds | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* The value to be copied to the clipboard
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ interface PublicContext extends CommonProperties {
|
|
|
25
25
|
/**
|
|
26
26
|
* The function to be called when the value is copied to the clipboard
|
|
27
27
|
*/
|
|
28
|
-
onStatusChange?: (details: CopyStatusDetails) => void;
|
|
28
|
+
onStatusChange?: ((details: CopyStatusDetails) => void) | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* The timeout for the copy operation
|
|
31
31
|
* @default 3000
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/clipboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.75.0",
|
|
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.
|
|
31
|
-
"@zag-js/core": "0.
|
|
32
|
-
"@zag-js/dom-query": "0.
|
|
33
|
-
"@zag-js/utils": "0.
|
|
34
|
-
"@zag-js/types": "0.
|
|
30
|
+
"@zag-js/anatomy": "0.75.0",
|
|
31
|
+
"@zag-js/core": "0.75.0",
|
|
32
|
+
"@zag-js/dom-query": "0.75.0",
|
|
33
|
+
"@zag-js/utils": "0.75.0",
|
|
34
|
+
"@zag-js/types": "0.75.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|