@arcadeai/design-system 1.7.6 → 2.1.0

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 (39) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/assets/tokens.css +1 -1
  3. package/dist/assets/variables.css +1 -1
  4. package/dist/components/index.js +362 -369
  5. package/dist/components/ui/atoms/icons/imgflip.d.ts +3 -0
  6. package/dist/components/ui/atoms/icons/imgflip.js +35 -0
  7. package/dist/components/ui/atoms/icons/index.d.ts +1 -0
  8. package/dist/components/ui/atoms/icons/index.js +116 -114
  9. package/dist/components/ui/atoms/index.d.ts +0 -1
  10. package/dist/components/ui/atoms/index.js +344 -351
  11. package/dist/components/ui/atoms/resizable.js +1 -1
  12. package/dist/components/ui/atoms/switch.d.ts +5 -1
  13. package/dist/components/ui/atoms/switch.js +98 -73
  14. package/dist/components/ui/index.js +362 -369
  15. package/dist/components/ui/molecules/index.js +1 -1
  16. package/dist/components/ui/molecules/requirement-badges.js +5 -6
  17. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  18. package/dist/components/ui/molecules/toolkit-selection-summary.js +4 -5
  19. package/dist/components/ui/organisms/toolkit-picker/components/search-input.js +8 -9
  20. package/dist/components/ui/organisms/toolkit-picker/components/select-button.js +4 -5
  21. package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js +1 -1
  22. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.js +2 -2
  23. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.js +2 -2
  24. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.js +2 -2
  25. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.js +4 -5
  26. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.test.js +2 -2
  27. package/dist/components/ui/utils/memo.test.js +1 -1
  28. package/dist/integrations/rhf/index.d.ts +1 -0
  29. package/dist/integrations/rhf/index.js +11 -0
  30. package/dist/lib/arcade/arcade.test.js +1 -1
  31. package/dist/lib/utils.test.js +1 -1
  32. package/dist/{magic-string.es-QnVUNas7.js → magic-string.es-uPKorP4O.js} +7 -4
  33. package/dist/main.js +378 -385
  34. package/dist/metadata/toolkits.js +118 -102
  35. package/dist/{react-resizable-panels.browser-ZHjTH32c.js → react-resizable-panels.browser-DggUboAp.js} +2 -2
  36. package/dist/{react.esm-CAxz4dXo.js → react.esm-DUaR5u-J.js} +1 -1
  37. package/dist/{toolkit-card-CHiL03EY.js → toolkit-card-DgjPGtsJ.js} +3 -4
  38. package/dist/{vi.bdSIJ99Y-hyudrc3R.js → vi.bdSIJ99Y-Bs-viS39.js} +1 -1
  39. package/package.json +37 -33
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcadeai/design-system",
3
3
  "private": false,
4
- "version": "1.7.6",
4
+ "version": "2.1.0",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -10,6 +10,10 @@
10
10
  "types": "./dist/main.d.ts",
11
11
  "default": "./dist/main.js"
12
12
  },
13
+ "./rhf": {
14
+ "types": "./dist/integrations/rhf/index.d.ts",
15
+ "default": "./dist/integrations/rhf/index.js"
16
+ },
13
17
  "./index.css": "./dist/index.css",
14
18
  "./assets/*": "./dist/assets/*",
15
19
  "./*": {
@@ -37,15 +41,15 @@
37
41
  "dev:vite": "vite",
38
42
  "prebuild": "node ./scripts/generate-icon-components.js",
39
43
  "build": "tsc -b ./tsconfig.lib.json && vite build",
40
- "lint": "npx ultracite lint",
41
- "format": "npx ultracite format",
44
+ "lint": "pnpm dlx ultracite check",
45
+ "format": "pnpm dlx ultracite fix",
42
46
  "preview": "vite preview",
43
47
  "prepublishOnly": "pnpm run build",
44
48
  "build-storybook": "storybook build",
45
49
  "test:storybook": "vitest --project=storybook --coverage --run",
46
50
  "test:unit": "vitest --project=unit --coverage --run",
47
51
  "test": "vitest --coverage --run",
48
- "generate-metadata-json": "npx tsx ./scripts/generate-metadata-json.ts",
52
+ "generate-metadata-json": "pnpm dlx tsx ./scripts/generate-metadata-json.ts",
49
53
  "generate-icons": "node ./scripts/generate-icon-components.js"
50
54
  },
51
55
  "release": {
@@ -79,58 +83,58 @@
79
83
  },
80
84
  "peerDependencies": {
81
85
  "@hookform/resolvers": "^5.2.1",
82
- "lucide-react": "^0.539.0",
83
- "react": "^19.1.0",
84
- "react-dom": "^19.1.0",
86
+ "lucide-react": "^0.544.0",
87
+ "react": "^19.1.1",
88
+ "react-dom": "^19.1.1",
85
89
  "react-hook-form": "^7.62.0",
86
- "recharts": "^3.1.2",
87
- "tailwindcss": "^4.1.11"
90
+ "recharts": "^3.2.0",
91
+ "tailwindcss": "^4.1.13"
88
92
  },
89
93
  "devDependencies": {
90
- "@biomejs/biome": "2.2.0",
94
+ "@biomejs/biome": "2.2.4",
91
95
  "@commitlint/cli": "19.8.1",
92
96
  "@commitlint/config-conventional": "19.8.1",
93
97
  "@hookform/resolvers": "5.2.1",
94
98
  "@semantic-release/changelog": "6.0.3",
95
99
  "@semantic-release/git": "10.0.1",
96
- "@storybook/addon-a11y": "9.1.3",
97
- "@storybook/addon-docs": "9.1.3",
98
- "@storybook/addon-themes": "9.1.3",
99
- "@storybook/addon-vitest": "9.1.3",
100
- "@storybook/react-vite": "9.1.3",
100
+ "@storybook/addon-a11y": "9.1.5",
101
+ "@storybook/addon-docs": "9.1.5",
102
+ "@storybook/addon-themes": "9.1.5",
103
+ "@storybook/addon-vitest": "9.1.5",
104
+ "@storybook/react-vite": "9.1.5",
101
105
  "@testing-library/dom": "^10.4.1",
102
106
  "@testing-library/jest-dom": "6.8.0",
103
107
  "@testing-library/react": "^16.3.0",
104
108
  "@testing-library/user-event": "^14.6.1",
105
- "@types/node": "24.3.0",
106
- "@types/react": "19.1.10",
107
- "@types/react-dom": "19.1.7",
109
+ "@types/node": "24.3.1",
110
+ "@types/react": "19.1.12",
111
+ "@types/react-dom": "19.1.9",
108
112
  "@vitejs/plugin-react-swc": "4.0.1",
109
113
  "@vitest/browser": "3.2.4",
110
114
  "@vitest/coverage-v8": "3.2.4",
111
- "chromatic": "13.1.3",
115
+ "chromatic": "13.1.4",
112
116
  "glob": "11.0.3",
113
- "globals": "16.3.0",
117
+ "globals": "16.4.0",
114
118
  "happy-dom": "^18.0.1",
115
119
  "husky": "9.1.7",
116
- "lint-staged": "16.1.5",
117
- "lucide-react": "0.540.0",
120
+ "lint-staged": "16.1.6",
121
+ "lucide-react": "0.544.0",
118
122
  "playwright": "1.55.0",
119
123
  "react": "19.1.1",
120
124
  "react-dom": "19.1.1",
121
125
  "react-hook-form": "7.62.0",
122
- "recharts": "3.1.2",
123
- "semantic-release": "24.2.7",
124
- "storybook": "9.1.3",
126
+ "recharts": "3.2.0",
127
+ "semantic-release": "24.2.8",
128
+ "storybook": "9.1.5",
125
129
  "storybook-addon-test-codegen": "2.0.1",
126
- "tailwindcss": "4.1.12",
127
- "tw-animate-css": "1.3.7",
130
+ "tailwindcss": "4.1.13",
131
+ "tw-animate-css": "1.3.8",
128
132
  "typescript": "~5.9.2",
129
- "ultracite": "5.2.5",
130
- "vite": "7.1.3",
133
+ "ultracite": "5.3.4",
134
+ "vite": "7.1.5",
131
135
  "vite-plugin-dts": "4.5.4",
132
136
  "vitest": "3.2.4",
133
- "zod": "4.0.17"
137
+ "zod": "4.1.7"
134
138
  },
135
139
  "dependencies": {
136
140
  "@arcadeai/arcadejs": "^1.9.1",
@@ -155,11 +159,11 @@
155
159
  "@radix-ui/react-tabs": "1.1.13",
156
160
  "@radix-ui/react-toggle": "1.1.10",
157
161
  "@radix-ui/react-tooltip": "1.2.8",
158
- "@tailwindcss/vite": "4.1.12",
162
+ "@tailwindcss/vite": "4.1.13",
159
163
  "class-variance-authority": "0.7.1",
160
164
  "clsx": "2.1.1",
161
165
  "cmdk": "1.1.1",
162
- "react-resizable-panels": "3.0.4",
166
+ "react-resizable-panels": "3.0.5",
163
167
  "tailwind-merge": "3.3.1"
164
168
  },
165
169
  "engines": {
@@ -168,7 +172,7 @@
168
172
  "packageManager": "pnpm@10.14.0",
169
173
  "lint-staged": {
170
174
  "*.{js,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}": [
171
- "npx biome format"
175
+ "pnpm dlx biome fix"
172
176
  ]
173
177
  }
174
178
  }