@orion-ds/react 5.5.4 → 5.6.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 (37) hide show
  1. package/README.md +2 -2
  2. package/dist/blocks.css +1 -0
  3. package/dist/components/Box/Box.cjs +1 -0
  4. package/dist/components/Box/Box.d.ts +5 -0
  5. package/dist/components/Box/Box.d.ts.map +1 -0
  6. package/dist/components/Box/Box.mjs +87 -0
  7. package/dist/components/Box/Box.module.css +1 -0
  8. package/dist/components/Box/Box.module.css.cjs +1 -0
  9. package/dist/components/Box/Box.module.css.mjs +16 -0
  10. package/dist/components/Box/Box.types.d.ts +99 -0
  11. package/dist/components/Box/Box.types.d.ts.map +1 -0
  12. package/dist/components/Box/index.d.ts +9 -0
  13. package/dist/components/Box/index.d.ts.map +1 -0
  14. package/dist/components/Button/Button.module.css +1 -1
  15. package/dist/components/Button/Button.module.css.cjs +1 -1
  16. package/dist/components/Button/Button.module.css.mjs +18 -18
  17. package/dist/components/ThemeController/ThemeController.d.ts.map +1 -1
  18. package/dist/components/ThemeController/ThemeController.mjs +6 -1
  19. package/dist/index.cjs +1 -1
  20. package/dist/index.d.ts +2 -0
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.mjs +186 -184
  23. package/dist/integrations/tailwind/index.cjs +1 -0
  24. package/dist/integrations/tailwind/index.d.ts +13 -0
  25. package/dist/integrations/tailwind/index.d.ts.map +1 -0
  26. package/dist/integrations/tailwind/index.mjs +111 -0
  27. package/dist/integrations/tailwind/v4.css +118 -0
  28. package/dist/integrations/tailwind.cjs +1 -0
  29. package/dist/integrations/tailwind.d.ts +3 -0
  30. package/dist/integrations/tailwind.mjs +111 -0
  31. package/dist/styles.css +11 -1
  32. package/dist/tokens/brands.d.ts.map +1 -1
  33. package/dist/tokens/types.d.ts +87 -87
  34. package/dist/tokens/types.d.ts.map +1 -1
  35. package/dist/tokens/utils.d.ts.map +1 -1
  36. package/dist/tokens/utils.mjs +3 -1
  37. package/package.json +11 -2
@@ -14,7 +14,9 @@ function d(t, e) {
14
14
  let n = s[t].semantic;
15
15
  for (const o of r)
16
16
  if (n = n[o], n === void 0)
17
- throw new Error(`Semantic token path "${e}" not found in ${t} theme`);
17
+ throw new Error(
18
+ `Semantic token path "${e}" not found in ${t} theme`
19
+ );
18
20
  if (typeof n == "string" && n.startsWith("{") && n.endsWith("}")) {
19
21
  const o = n.slice(1, -1);
20
22
  return c(o);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-ds/react",
3
- "version": "5.5.4",
3
+ "version": "5.6.0",
4
4
  "type": "module",
5
5
  "description": "Orion Design System - React component library with 40+ AI-ready components and 9 templates",
6
6
  "author": "Orion Design System Team",
@@ -63,7 +63,13 @@
63
63
  "import": "./dist/dnd.mjs",
64
64
  "require": "./dist/dnd.cjs"
65
65
  },
66
- "./blocks.css": "./dist/blocks.css"
66
+ "./blocks.css": "./dist/blocks.css",
67
+ "./integrations/tailwind": {
68
+ "types": "./dist/integrations/tailwind/index.d.ts",
69
+ "import": "./dist/integrations/tailwind/index.mjs",
70
+ "require": "./dist/integrations/tailwind/index.cjs"
71
+ },
72
+ "./integrations/tailwind/v4.css": "./dist/integrations/tailwind/v4.css"
67
73
  },
68
74
  "files": [
69
75
  "dist",
@@ -211,11 +217,14 @@
211
217
  "@vitejs/plugin-react": "^5.1.2",
212
218
  "@vitest/coverage-v8": "^4.0.18",
213
219
  "@vitest/ui": "^4.0.18",
220
+ "date-fns": "^4.0.0",
214
221
  "jsdom": "^27.4.0",
215
222
  "react": "^19.2.4",
216
223
  "react-dom": "^19.2.4",
224
+ "recharts": "^3.0.0",
217
225
  "rollup-plugin-preserve-directives": "^0.4.0",
218
226
  "storybook": "^8.6.17",
227
+ "tailwindcss": "^3.0.0",
219
228
  "typescript": "^5.9.3",
220
229
  "vite": "^7.3.1",
221
230
  "vite-plugin-dts": "^3.7.0",