@chaos_team/chaos-ui 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.
Files changed (49) hide show
  1. package/CHANGELOG.md +286 -0
  2. package/LICENSE +21 -0
  3. package/README.md +295 -0
  4. package/THIRD_PARTY_NOTICES.md +22 -0
  5. package/dist/business.cjs +26 -0
  6. package/dist/business.d.cts +10311 -0
  7. package/dist/business.d.ts +10311 -0
  8. package/dist/business.js +26 -0
  9. package/dist/format-BUpOzeCo.d.cts +8 -0
  10. package/dist/format-BUpOzeCo.d.ts +8 -0
  11. package/dist/hooks.cjs +8 -0
  12. package/dist/hooks.d.cts +1148 -0
  13. package/dist/hooks.d.ts +1148 -0
  14. package/dist/hooks.js +8 -0
  15. package/dist/index.cjs +6 -0
  16. package/dist/index.d.cts +5616 -0
  17. package/dist/index.d.ts +5616 -0
  18. package/dist/index.js +6 -0
  19. package/dist/lib.cjs +42 -0
  20. package/dist/lib.d.cts +804 -0
  21. package/dist/lib.d.ts +804 -0
  22. package/dist/lib.js +42 -0
  23. package/dist/message-KJli9tvf.d.cts +71 -0
  24. package/dist/message-KJli9tvf.d.ts +71 -0
  25. package/dist/message-provider-BI-P3CNq.d.cts +11 -0
  26. package/dist/message-provider-BI-P3CNq.d.ts +11 -0
  27. package/dist/next.cjs +6 -0
  28. package/dist/next.d.cts +103 -0
  29. package/dist/next.d.ts +103 -0
  30. package/dist/next.js +6 -0
  31. package/dist/theme-toggle-JL_jZE-w.d.cts +81 -0
  32. package/dist/theme-toggle-JL_jZE-w.d.ts +81 -0
  33. package/dist/time-picker-H1AaecnE.d.cts +452 -0
  34. package/dist/time-picker-H1AaecnE.d.ts +452 -0
  35. package/dist/ui/icons.cjs +6 -0
  36. package/dist/ui/icons.d.cts +3 -0
  37. package/dist/ui/icons.d.ts +3 -0
  38. package/dist/ui/icons.js +6 -0
  39. package/dist/ui-icons.cjs +6 -0
  40. package/dist/ui-icons.d.cts +205 -0
  41. package/dist/ui-icons.d.ts +205 -0
  42. package/dist/ui-icons.js +6 -0
  43. package/dist/ui.cjs +6 -0
  44. package/dist/ui.d.cts +39 -0
  45. package/dist/ui.d.ts +39 -0
  46. package/dist/ui.js +6 -0
  47. package/package.json +265 -0
  48. package/styles.css +1300 -0
  49. package/styles.css.d.ts +11 -0
package/package.json ADDED
@@ -0,0 +1,265 @@
1
+ {
2
+ "name": "@chaos_team/chaos-ui",
3
+ "version": "1.0.5",
4
+ "type": "module",
5
+ "description": "Chaos UI — 企业级 React 组件库 / Enterprise-grade React component library for ERP & business systems",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "react",
9
+ "ui",
10
+ "design-system",
11
+ "components",
12
+ "tailwind",
13
+ "radix",
14
+ "base-ui",
15
+ "enterprise",
16
+ "erp",
17
+ "component-library",
18
+ "storybook"
19
+ ],
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/chao2hang/chaos-ui.git"
23
+ },
24
+ "bugs": {
25
+ "url": "https://github.com/chao2hang/chaos-ui/issues"
26
+ },
27
+ "homepage": "https://github.com/chao2hang/chaos-ui#readme",
28
+ "author": "Chaos UI Team",
29
+ "main": "./dist/index.cjs",
30
+ "module": "./dist/index.js",
31
+ "types": "./dist/index.d.ts",
32
+ "files": [
33
+ "dist",
34
+ "styles.css",
35
+ "styles.css.d.ts",
36
+ "README.md",
37
+ "LICENSE",
38
+ "CHANGELOG.md",
39
+ "THIRD_PARTY_NOTICES.md"
40
+ ],
41
+ "sideEffects": [
42
+ "./styles.css",
43
+ "*.css"
44
+ ],
45
+ "exports": {
46
+ ".": {
47
+ "types": "./dist/index.d.ts",
48
+ "import": "./dist/index.js",
49
+ "require": "./dist/index.cjs"
50
+ },
51
+ "./ui": {
52
+ "types": "./dist/ui.d.ts",
53
+ "import": "./dist/ui.js",
54
+ "require": "./dist/ui.cjs"
55
+ },
56
+ "./ui/icons": {
57
+ "types": "./dist/ui/icons.d.ts",
58
+ "import": "./dist/ui/icons.js",
59
+ "require": "./dist/ui/icons.cjs"
60
+ },
61
+ "./ui-icons": {
62
+ "types": "./dist/ui-icons.d.ts",
63
+ "import": "./dist/ui-icons.js",
64
+ "require": "./dist/ui-icons.cjs"
65
+ },
66
+ "./business": {
67
+ "types": "./dist/business.d.ts",
68
+ "import": "./dist/business.js",
69
+ "require": "./dist/business.cjs"
70
+ },
71
+ "./hooks": {
72
+ "types": "./dist/hooks.d.ts",
73
+ "import": "./dist/hooks.js",
74
+ "require": "./dist/hooks.cjs"
75
+ },
76
+ "./lib": {
77
+ "types": "./dist/lib.d.ts",
78
+ "import": "./dist/lib.js",
79
+ "require": "./dist/lib.cjs"
80
+ },
81
+ "./next": {
82
+ "types": "./dist/next.d.ts",
83
+ "import": "./dist/next.js",
84
+ "require": "./dist/next.cjs"
85
+ },
86
+ "./styles.css": {
87
+ "types": "./styles.css.d.ts",
88
+ "default": "./styles.css"
89
+ },
90
+ "./package.json": "./package.json"
91
+ },
92
+ "publishConfig": {
93
+ "registry": "https://registry.npmjs.org",
94
+ "access": "public"
95
+ },
96
+ "engines": {
97
+ "node": ">=22.0.0",
98
+ "pnpm": ">=9.0.0"
99
+ },
100
+ "dependencies": {
101
+ "@base-ui/react": "1.5.0",
102
+ "@radix-ui/react-slot": "1.2.5",
103
+ "class-variance-authority": "0.7.1",
104
+ "clsx": "2.1.1",
105
+ "cmdk": "1.1.1",
106
+ "qrcode": "^1.5.4",
107
+ "react-dropzone": "^15.0.0",
108
+ "tailwind-merge": "3.6.0",
109
+ "vaul": "1.1.2"
110
+ },
111
+ "peerDependencies": {
112
+ "@codemirror/lang-css": "^6.3.1",
113
+ "@codemirror/lang-html": "^6.4.11",
114
+ "@codemirror/lang-javascript": "^6.2.5",
115
+ "@codemirror/lang-json": "^6.0.2",
116
+ "@codemirror/lang-sql": "^6.10.0",
117
+ "@codemirror/theme-one-dark": "^6.1.3",
118
+ "@dnd-kit/core": "^6.3.1",
119
+ "@dnd-kit/sortable": "^10.0.0",
120
+ "@dnd-kit/utilities": "^3.2.2",
121
+ "@hookform/resolvers": "^5.4.0",
122
+ "@tanstack/react-query": "^5.101.2",
123
+ "@tanstack/react-table": "^8.21.3",
124
+ "@tanstack/react-virtual": "^3.14.2",
125
+ "@tiptap/extension-image": "^2.10.0",
126
+ "@tiptap/extension-link": "^2.10.0",
127
+ "@tiptap/extension-placeholder": "^2.10.0",
128
+ "@tiptap/react": "^2.10.0",
129
+ "@tiptap/starter-kit": "^2.10.0",
130
+ "@uiw/react-codemirror": "^4.25.10",
131
+ "@xyflow/react": "^12.3.0",
132
+ "axios": "^1.17.0",
133
+ "cronstrue": "^2.50.0",
134
+ "i18next": "^26.3.1",
135
+ "lucide-react": "^1.17.0",
136
+ "next": ">=16.0.0 <17.0.0",
137
+ "next-themes": "^0.4.0",
138
+ "react": "^19.0.0",
139
+ "react-colorful": "^5.7.0",
140
+ "react-day-picker": "^10.0.1",
141
+ "react-dom": "^19.0.0",
142
+ "react-hook-form": "^7.78.0",
143
+ "react-i18next": "^17.0.8",
144
+ "react-pdf": "^9.1.0",
145
+ "recharts": "^3.8.1",
146
+ "sonner": "^2.0.7",
147
+ "zod": "^3.23.0 || ^4.0.0"
148
+ },
149
+ "peerDependenciesMeta": {
150
+ "@hookform/resolvers": {
151
+ "optional": true
152
+ },
153
+ "next": {
154
+ "optional": true
155
+ },
156
+ "next-themes": {
157
+ "optional": true
158
+ },
159
+ "@uiw/react-codemirror": {
160
+ "optional": true
161
+ },
162
+ "@tanstack/react-query": {
163
+ "optional": true
164
+ },
165
+ "zod": {
166
+ "optional": true
167
+ }
168
+ },
169
+ "devDependencies": {
170
+ "@axe-core/cli": "^4.10.1",
171
+ "@axe-core/playwright": "^4.12.1",
172
+ "@changesets/cli": "^2.31.0",
173
+ "@chaos/eslint-plugin": "file:./eslint-plugin-chaos",
174
+ "@chromatic-com/storybook": "^5.2.1",
175
+ "@codemirror/lang-css": "^6.3.1",
176
+ "@codemirror/lang-html": "^6.4.11",
177
+ "@codemirror/lang-javascript": "^6.2.5",
178
+ "@codemirror/lang-json": "^6.0.2",
179
+ "@codemirror/lang-sql": "^6.10.0",
180
+ "@codemirror/state": "^6.7.0",
181
+ "@codemirror/theme-one-dark": "^6.1.3",
182
+ "@commitlint/cli": "^19.8.1",
183
+ "@commitlint/config-conventional": "^19.8.1",
184
+ "@hookform/resolvers": "5.4.0",
185
+ "@size-limit/file": "^12.1.0",
186
+ "@storybook/addon-a11y": "^10.4.3",
187
+ "@storybook/addon-docs": "^10.4.3",
188
+ "@storybook/addon-mcp": "^0.6.0",
189
+ "@storybook/addon-vitest": "^10.4.3",
190
+ "@storybook/nextjs-vite": "^10.4.3",
191
+ "@storybook/react": "^10.4.6",
192
+ "@tailwindcss/postcss": "4.3.0",
193
+ "@tanstack/react-query": "^5.101.2",
194
+ "@testing-library/jest-dom": "^6.9.1",
195
+ "@testing-library/react": "^16.3.2",
196
+ "@testing-library/user-event": "^14.6.1",
197
+ "@types/node": "25.9.2",
198
+ "@types/qrcode": "^1.5.6",
199
+ "@types/react": "19.2.17",
200
+ "@types/react-dom": "19.2.3",
201
+ "@uiw/react-codemirror": "^4.25.10",
202
+ "@vitest/coverage-v8": "^4.1.9",
203
+ "concurrently": "^10.0.3",
204
+ "depcheck": "^1.4.7",
205
+ "dependency-cruiser": "^16.0.0",
206
+ "eslint": "9.39.4",
207
+ "eslint-config-next": "16.2.9",
208
+ "eslint-plugin-jsx-a11y": "^6.10.0",
209
+ "eslint-plugin-storybook": "^10.4.3",
210
+ "husky": "^9.0.0",
211
+ "jsdom": "^25.0.1",
212
+ "knip": "^5.60.0",
213
+ "lint-staged": "^15.0.0",
214
+ "next": "16.2.9",
215
+ "next-themes": "0.4.6",
216
+ "playwright": "^1.60.0",
217
+ "prettier": "^3.0.0",
218
+ "prettier-plugin-tailwindcss": "^0.6.14",
219
+ "react": "19.2.7",
220
+ "react-dom": "19.2.7",
221
+ "size-limit": "^12.1.0",
222
+ "storybook": "^10.4.3",
223
+ "stylelint": "^16.0.0",
224
+ "stylelint-config-standard": "^36.0.0",
225
+ "tailwindcss": "4.3.0",
226
+ "tsup": "^8.5.1",
227
+ "turbo": "^2.5.0",
228
+ "typescript": "5.9.3",
229
+ "vite": "^8.0.16",
230
+ "vitest": "^4.1.8",
231
+ "zod": "4.4.3"
232
+ },
233
+ "scripts": {
234
+ "dev": "concurrently -n proxy,next -c cyan,green --kill-others --kill-others-on-fail \"node apps/docs/proxy-server.mjs\" \"pnpm --filter chaos-ui-docs dev:next\"",
235
+ "dev:sb": "storybook dev -p 6006",
236
+ "dev:app": "next dev",
237
+ "build": "pnpm --filter chaos-ui-docs build",
238
+ "build:pkg": "tsup",
239
+ "start": "pnpm --filter chaos-ui-docs start",
240
+ "lint": "eslint",
241
+ "lint:css": "stylelint \"**/*.css\" --allow-empty-input",
242
+ "lint:css:fix": "stylelint \"**/*.css\" --allow-empty-input --fix",
243
+ "lint:deps": "depcruise --config .dependency-cruiser.cjs components/ hooks/ lib/ app/",
244
+ "typecheck": "tsc --noEmit",
245
+ "check": "pnpm run typecheck && pnpm run lint && pnpm run lint:css && pnpm run lint:deps && pnpm run check:no-bom",
246
+ "check:no-bom": "node scripts/check-no-bom.mjs",
247
+ "smoke": "node scripts/smoke-test.mjs",
248
+ "size": "size-limit",
249
+ "pack:dry": "pnpm pack --dry-run",
250
+ "format": "prettier --write \"**/*.{ts,tsx,css,md,mdx,json,yml}\"",
251
+ "format:check": "prettier --check \"**/*.{ts,tsx,css,md,mdx,json,yml}\"",
252
+ "storybook": "storybook dev -p 6006",
253
+ "build-storybook": "storybook build",
254
+ "test-storybook": "vitest --project=storybook",
255
+ "test": "vitest run",
256
+ "test:coverage": "vitest run --coverage",
257
+ "test:a11y": "playwright test",
258
+ "test:a11y:install": "playwright install chromium",
259
+ "audit": "pnpm audit --prod --registry=https://registry.npmjs.org",
260
+ "audit:fix": "pnpm audit --fix --prod --registry=https://registry.npmjs.org",
261
+ "changeset": "changeset",
262
+ "version": "changeset version",
263
+ "release:changeset": "changeset publish"
264
+ }
265
+ }