@zag-js/clipboard 1.18.3 → 1.18.5
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 +8 -8
- package/dist/index.d.ts +8 -8
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -71,17 +71,17 @@ interface ClipboardApi<T extends PropTypes = PropTypes> {
|
|
|
71
71
|
/**
|
|
72
72
|
* Set the value to be copied to the clipboard
|
|
73
73
|
*/
|
|
74
|
-
setValue(value: string)
|
|
74
|
+
setValue: (value: string) => void;
|
|
75
75
|
/**
|
|
76
76
|
* Copy the value to the clipboard
|
|
77
77
|
*/
|
|
78
|
-
copy
|
|
79
|
-
getRootProps()
|
|
80
|
-
getLabelProps()
|
|
81
|
-
getControlProps()
|
|
82
|
-
getTriggerProps()
|
|
83
|
-
getInputProps()
|
|
84
|
-
getIndicatorProps(props: IndicatorProps)
|
|
78
|
+
copy: VoidFunction;
|
|
79
|
+
getRootProps: () => T["element"];
|
|
80
|
+
getLabelProps: () => T["label"];
|
|
81
|
+
getControlProps: () => T["element"];
|
|
82
|
+
getTriggerProps: () => T["button"];
|
|
83
|
+
getInputProps: () => T["input"];
|
|
84
|
+
getIndicatorProps: (props: IndicatorProps) => T["element"];
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
declare function connect<T extends PropTypes>(service: ClipboardService, normalize: NormalizeProps<T>): ClipboardApi<T>;
|
package/dist/index.d.ts
CHANGED
|
@@ -71,17 +71,17 @@ interface ClipboardApi<T extends PropTypes = PropTypes> {
|
|
|
71
71
|
/**
|
|
72
72
|
* Set the value to be copied to the clipboard
|
|
73
73
|
*/
|
|
74
|
-
setValue(value: string)
|
|
74
|
+
setValue: (value: string) => void;
|
|
75
75
|
/**
|
|
76
76
|
* Copy the value to the clipboard
|
|
77
77
|
*/
|
|
78
|
-
copy
|
|
79
|
-
getRootProps()
|
|
80
|
-
getLabelProps()
|
|
81
|
-
getControlProps()
|
|
82
|
-
getTriggerProps()
|
|
83
|
-
getInputProps()
|
|
84
|
-
getIndicatorProps(props: IndicatorProps)
|
|
78
|
+
copy: VoidFunction;
|
|
79
|
+
getRootProps: () => T["element"];
|
|
80
|
+
getLabelProps: () => T["label"];
|
|
81
|
+
getControlProps: () => T["element"];
|
|
82
|
+
getTriggerProps: () => T["button"];
|
|
83
|
+
getInputProps: () => T["input"];
|
|
84
|
+
getIndicatorProps: (props: IndicatorProps) => T["element"];
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
declare function connect<T extends PropTypes>(service: ClipboardService, normalize: NormalizeProps<T>): ClipboardApi<T>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/clipboard",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.5",
|
|
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": "1.18.
|
|
31
|
-
"@zag-js/core": "1.18.
|
|
32
|
-
"@zag-js/dom-query": "1.18.
|
|
33
|
-
"@zag-js/utils": "1.18.
|
|
34
|
-
"@zag-js/types": "1.18.
|
|
30
|
+
"@zag-js/anatomy": "1.18.5",
|
|
31
|
+
"@zag-js/core": "1.18.5",
|
|
32
|
+
"@zag-js/dom-query": "1.18.5",
|
|
33
|
+
"@zag-js/utils": "1.18.5",
|
|
34
|
+
"@zag-js/types": "1.18.5"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|