@zscloud/design 0.3.0 → 0.3.2

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