@gridui/clipboard 1.0.3 → 1.0.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/styles.css +2 -2
- package/docs/catalog.json +44 -0
- package/package.json +8 -7
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.
|
|
1
|
+
/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
initial-value: solid;
|
|
128
128
|
}
|
|
129
129
|
@layer properties {
|
|
130
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim:
|
|
130
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
131
131
|
*, ::before, ::after, ::backdrop {
|
|
132
132
|
--tw-border-style: solid;
|
|
133
133
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"name": "@gridui/clipboard",
|
|
4
|
+
"version": "1.0.5",
|
|
5
|
+
"category": "core",
|
|
6
|
+
"description": "GridUI React clipboard",
|
|
7
|
+
"usage": "`CopyPath` displays an exact `value` and an explicit copy button. Callers supply its accessible `label`, `copyLabel`, `copiedLabel`, and `failedLabel`. Clipboard success is announced only after the write resolves; unavailable or denied clipboard access selects the visible path for manual copying and reports failure. `frame=\"integrated\"` omits outer borders so a parent grid owns its seams and uses the grid border color for the copy button's separator; standalone mode supplies a straight control border. Neither mode adds external padding or expands environment variables, usernames, or path placeholders.",
|
|
8
|
+
"documentation": [
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"exports": [
|
|
12
|
+
{
|
|
13
|
+
"name": "CopyButton",
|
|
14
|
+
"kind": "component",
|
|
15
|
+
"importPath": "@gridui/clipboard"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "CopyButtonProps",
|
|
19
|
+
"kind": "type",
|
|
20
|
+
"importPath": "@gridui/clipboard"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "CopyPath",
|
|
24
|
+
"kind": "component",
|
|
25
|
+
"importPath": "@gridui/clipboard"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "CopyPathProps",
|
|
29
|
+
"kind": "type",
|
|
30
|
+
"importPath": "@gridui/clipboard"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"styles": [
|
|
34
|
+
"@gridui/theme/styles.css",
|
|
35
|
+
"@gridui/button/styles.css",
|
|
36
|
+
"@gridui/overlay/styles.css",
|
|
37
|
+
"@gridui/input/styles.css",
|
|
38
|
+
"@gridui/clipboard/styles.css"
|
|
39
|
+
],
|
|
40
|
+
"examples": [
|
|
41
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/clipboard/stories/copy-button.stories.tsx",
|
|
42
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/clipboard/stories/copy-path.stories.tsx"
|
|
43
|
+
]
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridui/clipboard",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "GridUI React clipboard",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
|
-
"README.md"
|
|
9
|
+
"README.md",
|
|
10
|
+
"docs"
|
|
10
11
|
],
|
|
11
12
|
"sideEffects": [
|
|
12
13
|
"**/*.css"
|
|
@@ -26,16 +27,16 @@
|
|
|
26
27
|
"react-dom": "^19.2.0"
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@gridui/button": "^3.
|
|
30
|
-
"@gridui/input": "^1.1.
|
|
31
|
-
"@gridui/theme": "^2.
|
|
30
|
+
"@gridui/button": "^3.1.2",
|
|
31
|
+
"@gridui/input": "^1.1.6",
|
|
32
|
+
"@gridui/theme": "^2.5.3",
|
|
32
33
|
"class-variance-authority": "0.7.1",
|
|
33
|
-
"lucide-react": "1.
|
|
34
|
+
"lucide-react": "1.69.0"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@gridui-internal/configuration": "0.0.0-internal",
|
|
37
38
|
"@jest/globals": "30.5.2",
|
|
38
|
-
"@storybook/react-vite": "10.6.
|
|
39
|
+
"@storybook/react-vite": "10.6.6",
|
|
39
40
|
"@types/jest": "30.0.0",
|
|
40
41
|
"@types/node": "26.6.6",
|
|
41
42
|
"@types/react": "19.3.0",
|