@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/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@zscloud/design",
3
- "version": "0.2.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": "catalog:",
31
- "@radix-ui/react-checkbox": "catalog:",
32
- "@radix-ui/react-context-menu": "catalog:",
33
- "@radix-ui/react-dialog": "catalog:",
34
- "@radix-ui/react-dropdown-menu": "catalog:",
35
- "@radix-ui/react-label": "catalog:",
36
- "@radix-ui/react-popover": "catalog:",
37
- "@radix-ui/react-progress": "catalog:",
38
- "@radix-ui/react-radio-group": "catalog:",
39
- "@radix-ui/react-select": "catalog:",
40
- "@radix-ui/react-slider": "catalog:",
41
- "@radix-ui/react-slot": "catalog:",
42
- "@radix-ui/react-switch": "catalog:",
43
- "@radix-ui/react-tabs": "catalog:",
44
- "@radix-ui/react-toast": "catalog:",
45
- "@radix-ui/react-tooltip": "catalog:",
46
- "@tanstack/react-table": "catalog:",
47
- "@uiw/codemirror-extensions-langs": "catalog:",
48
- "@uiw/react-codemirror": "catalog:",
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": "catalog:",
47
+ "class-variance-authority": "0.7.0",
51
48
  "clsx": "2.1.1",
52
49
  "github-markdown-css": "5.7.0",
53
- "immer": "catalog:",
54
- "lodash-es": "catalog:",
55
- "prismjs": "catalog:",
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": "catalog:",
58
- "react-hook-form": "catalog:",
59
- "react-intl": "catalog:",
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": "catalog:",
62
- "react-router": "catalog:",
63
- "recharts": "catalog:",
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": "catalog:",
70
- "zod": "catalog:",
71
- "zustand": "catalog:"
66
+ "uuid": "9.0.1",
67
+ "zod": "4.3.5",
68
+ "zustand": "4.5.5"
72
69
  },
73
70
  "devDependencies": {
74
- "@types/react": "catalog:",
75
- "@types/react-dom": "catalog:",
76
- "@vitejs/plugin-react-swc": "catalog:",
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": "catalog:",
84
- "vite-plugin-dts": "catalog:"
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
+ }