@zscloud/design 0.2.0 → 0.3.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/components/primitive/card.d.ts +4 -1
- package/dist/guidelines/Guidelines.md +28 -0
- package/dist/guidelines/components/button.md +73 -0
- package/dist/guidelines/components/date-picker.md +49 -0
- package/dist/guidelines/components/dialog.md +93 -0
- package/dist/guidelines/components/drawer.md +48 -0
- package/dist/guidelines/components/form.md +100 -0
- package/dist/guidelines/components/select.md +81 -0
- package/dist/guidelines/components/tabs.md +73 -0
- package/dist/guidelines/components/toast.md +60 -0
- package/dist/guidelines/components/tooltip.md +40 -0
- package/dist/guidelines/design-tokens/colors.md +74 -0
- package/dist/guidelines/design-tokens/shadows.md +28 -0
- package/dist/guidelines/design-tokens/spacing.md +46 -0
- package/dist/guidelines/design-tokens/typography.md +62 -0
- package/dist/guidelines/overview-components.md +195 -0
- package/dist/guidelines/overview-icons.md +62 -0
- package/dist/zscloud-design.es.js +30 -22
- package/package.json +50 -49
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zscloud/design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "A modern React component library built with Radix UI and Tailwind CSS V4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
8
|
-
"dist"
|
|
8
|
+
"dist",
|
|
9
|
+
"dist/guidelines"
|
|
9
10
|
],
|
|
10
11
|
"typings": "./dist/index.d.ts",
|
|
11
12
|
"module": "./dist/zscloud-design.es.js",
|
|
@@ -22,66 +23,62 @@
|
|
|
22
23
|
"sideEffects": [
|
|
23
24
|
"*.css"
|
|
24
25
|
],
|
|
25
|
-
"scripts": {
|
|
26
|
-
"build": "vite build && sh ./scripts/copy-assets.sh",
|
|
27
|
-
"build:design": "cd ../design && pnpm build"
|
|
28
|
-
},
|
|
29
26
|
"dependencies": {
|
|
30
|
-
"@hookform/resolvers": "
|
|
31
|
-
"@radix-ui/react-checkbox": "
|
|
32
|
-
"@radix-ui/react-context-menu": "
|
|
33
|
-
"@radix-ui/react-dialog": "
|
|
34
|
-
"@radix-ui/react-dropdown-menu": "
|
|
35
|
-
"@radix-ui/react-label": "
|
|
36
|
-
"@radix-ui/react-popover": "
|
|
37
|
-
"@radix-ui/react-progress": "
|
|
38
|
-
"@radix-ui/react-radio-group": "
|
|
39
|
-
"@radix-ui/react-select": "
|
|
40
|
-
"@radix-ui/react-slider": "
|
|
41
|
-
"@radix-ui/react-slot": "
|
|
42
|
-
"@radix-ui/react-switch": "
|
|
43
|
-
"@radix-ui/react-tabs": "
|
|
44
|
-
"@radix-ui/react-toast": "
|
|
45
|
-
"@radix-ui/react-tooltip": "
|
|
46
|
-
"@tanstack/react-table": "
|
|
47
|
-
"@uiw/codemirror-extensions-langs": "
|
|
48
|
-
"@uiw/react-codemirror": "
|
|
27
|
+
"@hookform/resolvers": "5.2.2",
|
|
28
|
+
"@radix-ui/react-checkbox": "1.3.3",
|
|
29
|
+
"@radix-ui/react-context-menu": "2.2.16",
|
|
30
|
+
"@radix-ui/react-dialog": "1.1.15",
|
|
31
|
+
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
32
|
+
"@radix-ui/react-label": "2.1.7",
|
|
33
|
+
"@radix-ui/react-popover": "1.1.15",
|
|
34
|
+
"@radix-ui/react-progress": "1.1.7",
|
|
35
|
+
"@radix-ui/react-radio-group": "1.3.8",
|
|
36
|
+
"@radix-ui/react-select": "2.2.6",
|
|
37
|
+
"@radix-ui/react-slider": "1.3.6",
|
|
38
|
+
"@radix-ui/react-slot": "1.2.3",
|
|
39
|
+
"@radix-ui/react-switch": "1.2.6",
|
|
40
|
+
"@radix-ui/react-tabs": "1.1.13",
|
|
41
|
+
"@radix-ui/react-toast": "1.2.15",
|
|
42
|
+
"@radix-ui/react-tooltip": "1.2.8",
|
|
43
|
+
"@tanstack/react-table": "8.20.5",
|
|
44
|
+
"@uiw/codemirror-extensions-langs": "4.23.3",
|
|
45
|
+
"@uiw/react-codemirror": "4.23.3",
|
|
49
46
|
"@uiw/react-json-view": "2.0.0-alpha.41",
|
|
50
|
-
"class-variance-authority": "
|
|
47
|
+
"class-variance-authority": "0.7.0",
|
|
51
48
|
"clsx": "2.1.1",
|
|
52
49
|
"github-markdown-css": "5.7.0",
|
|
53
|
-
"immer": "
|
|
54
|
-
"lodash-es": "
|
|
55
|
-
"prismjs": "
|
|
50
|
+
"immer": "10.1.1",
|
|
51
|
+
"lodash-es": "4.17.21",
|
|
52
|
+
"prismjs": "1.29.0",
|
|
56
53
|
"react-arborist": "^3.4.3",
|
|
57
|
-
"react-day-picker": "
|
|
58
|
-
"react-hook-form": "
|
|
59
|
-
"react-intl": "
|
|
54
|
+
"react-day-picker": "9.4.2",
|
|
55
|
+
"react-hook-form": "7.70.0",
|
|
56
|
+
"react-intl": "6.7.0",
|
|
60
57
|
"react-markdown": "^9.0.1",
|
|
61
|
-
"react-resizable-panels": "
|
|
62
|
-
"react-router": "
|
|
63
|
-
"recharts": "
|
|
58
|
+
"react-resizable-panels": "2.1.7",
|
|
59
|
+
"react-router": "7.12.0",
|
|
60
|
+
"recharts": "2.15.1",
|
|
64
61
|
"rehype-raw": "^7.0.0",
|
|
65
62
|
"remark-gfm": "4.0.0",
|
|
66
63
|
"spark-md5": "^3.0.2",
|
|
67
64
|
"tailwind-merge": "^2.2.2",
|
|
68
65
|
"tw-animate-css": "^1.4.0",
|
|
69
|
-
"uuid": "
|
|
70
|
-
"zod": "
|
|
71
|
-
"zustand": "
|
|
66
|
+
"uuid": "9.0.1",
|
|
67
|
+
"zod": "4.3.5",
|
|
68
|
+
"zustand": "4.5.5"
|
|
72
69
|
},
|
|
73
70
|
"devDependencies": {
|
|
74
|
-
"@types/react": "
|
|
75
|
-
"@types/react-dom": "
|
|
76
|
-
"@vitejs/plugin-react-swc": "
|
|
77
|
-
"@zstack/design": "workspace:*",
|
|
78
|
-
"@zstack/hooks": "workspace:*",
|
|
79
|
-
"@zstack/icon": "workspace:*",
|
|
80
|
-
"@zstack/utils": "workspace:*",
|
|
81
|
-
"@zstack/zephyr": "workspace:*",
|
|
71
|
+
"@types/react": "18.3.18",
|
|
72
|
+
"@types/react-dom": "18.3.5",
|
|
73
|
+
"@vitejs/plugin-react-swc": "4.2.2",
|
|
82
74
|
"rollup-preserve-directives": "^1.1.3",
|
|
83
|
-
"vite": "
|
|
84
|
-
"vite-plugin-dts": "
|
|
75
|
+
"vite": "8.0.0-beta.11",
|
|
76
|
+
"vite-plugin-dts": "4.5.4",
|
|
77
|
+
"@zstack/hooks": "2.3.0",
|
|
78
|
+
"@zstack/icon": "2.1.1",
|
|
79
|
+
"@zstack/utils": "2.2.0",
|
|
80
|
+
"@zstack/zephyr": "2.1.0",
|
|
81
|
+
"@zstack/design": "3.2.2"
|
|
85
82
|
},
|
|
86
83
|
"peerDependencies": {
|
|
87
84
|
"react": "^18.0.0",
|
|
@@ -112,5 +109,9 @@
|
|
|
112
109
|
"repository": {
|
|
113
110
|
"type": "git",
|
|
114
111
|
"url": "https://github.com/zstackio/zscloud-design.git"
|
|
112
|
+
},
|
|
113
|
+
"scripts": {
|
|
114
|
+
"build": "vite build && sh ./scripts/copy-assets.sh",
|
|
115
|
+
"build:design": "cd ../design && pnpm build"
|
|
115
116
|
}
|
|
116
|
-
}
|
|
117
|
+
}
|