@zag-js/clipboard 1.43.2 → 1.43.3
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service, Machine } from '@zag-js/core';
|
|
2
|
-
import { RequiredBy, CommonProperties,
|
|
2
|
+
import { RequiredBy, CommonProperties, PropTypes } from '@zag-js/types';
|
|
3
3
|
|
|
4
4
|
interface CopyStatusDetails {
|
|
5
5
|
copied: boolean;
|
|
@@ -7,14 +7,14 @@ interface CopyStatusDetails {
|
|
|
7
7
|
interface ValueChangeDetails {
|
|
8
8
|
value: string;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
triggerLabel
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
root
|
|
15
|
-
input
|
|
16
|
-
label
|
|
17
|
-
}
|
|
10
|
+
interface IntlTranslations {
|
|
11
|
+
triggerLabel?: ((copied: boolean) => string) | undefined;
|
|
12
|
+
}
|
|
13
|
+
interface ElementIds {
|
|
14
|
+
root?: string | undefined;
|
|
15
|
+
input?: string | undefined;
|
|
16
|
+
label?: string | undefined;
|
|
17
|
+
}
|
|
18
18
|
interface ClipboardProps extends CommonProperties {
|
|
19
19
|
/**
|
|
20
20
|
* Specifies the localized strings that identifies the accessibility elements and their states
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service, Machine } from '@zag-js/core';
|
|
2
|
-
import { RequiredBy, CommonProperties,
|
|
2
|
+
import { RequiredBy, CommonProperties, PropTypes } from '@zag-js/types';
|
|
3
3
|
|
|
4
4
|
interface CopyStatusDetails {
|
|
5
5
|
copied: boolean;
|
|
@@ -7,14 +7,14 @@ interface CopyStatusDetails {
|
|
|
7
7
|
interface ValueChangeDetails {
|
|
8
8
|
value: string;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
triggerLabel
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
root
|
|
15
|
-
input
|
|
16
|
-
label
|
|
17
|
-
}
|
|
10
|
+
interface IntlTranslations {
|
|
11
|
+
triggerLabel?: ((copied: boolean) => string) | undefined;
|
|
12
|
+
}
|
|
13
|
+
interface ElementIds {
|
|
14
|
+
root?: string | undefined;
|
|
15
|
+
input?: string | undefined;
|
|
16
|
+
label?: string | undefined;
|
|
17
|
+
}
|
|
18
18
|
interface ClipboardProps extends CommonProperties {
|
|
19
19
|
/**
|
|
20
20
|
* Specifies the localized strings that identifies the accessibility elements and their states
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/clipboard",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.3",
|
|
4
4
|
"description": "Core logic for the clipboard widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@zag-js/anatomy": "1.43.
|
|
34
|
-
"@zag-js/core": "1.43.
|
|
35
|
-
"@zag-js/dom-query": "1.43.
|
|
36
|
-
"@zag-js/utils": "1.43.
|
|
37
|
-
"@zag-js/types": "1.43.
|
|
33
|
+
"@zag-js/anatomy": "1.43.3",
|
|
34
|
+
"@zag-js/core": "1.43.3",
|
|
35
|
+
"@zag-js/dom-query": "1.43.3",
|
|
36
|
+
"@zag-js/utils": "1.43.3",
|
|
37
|
+
"@zag-js/types": "1.43.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"clean-package": "2.2.0"
|