@szum-tech/design-system 2.7.0 → 3.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 (126) hide show
  1. package/dist/chunk-2Y2ZCPNV.cjs +61 -0
  2. package/dist/chunk-3376ZTRC.cjs +2 -0
  3. package/dist/{chunk-S5BN23O7.cjs → chunk-3KMXFN6M.cjs} +14 -20
  4. package/dist/chunk-5AA4IE2T.cjs +27 -0
  5. package/dist/chunk-5F2Y65JH.js +32 -0
  6. package/dist/chunk-6BSR3O2J.js +53 -0
  7. package/dist/chunk-BYXBJQAS.js +1 -0
  8. package/dist/{chunk-XIPREW2R.js → chunk-DP7UEOTA.js} +173 -176
  9. package/dist/chunk-HCHVDUI6.cjs +34 -0
  10. package/dist/chunk-HD7ZDQWW.js +173 -0
  11. package/dist/chunk-I3RSTJP6.js +20 -0
  12. package/dist/chunk-I7AV5IQO.cjs +33 -0
  13. package/dist/chunk-N4O2GO6V.cjs +204 -0
  14. package/dist/chunk-NGVFYKAT.js +29 -0
  15. package/dist/chunk-NU5UQPBX.cjs +25 -0
  16. package/dist/chunk-OQCNPNPS.js +23 -0
  17. package/dist/chunk-S3ANEJJ7.cjs +22 -0
  18. package/dist/chunk-U4AWAABZ.js +4901 -0
  19. package/dist/chunk-UGSNASZM.js +25 -0
  20. package/dist/{chunk-EIXSMEDP.cjs → chunk-UIOBJSKZ.cjs} +1 -3
  21. package/dist/{chunk-I5P2HH5Z.js → chunk-WJSS32MY.js} +13 -19
  22. package/dist/{chunk-GEACYHTU.js → chunk-XJIUGEPN.js} +1 -3
  23. package/dist/chunk-Y6EVJSAH.cjs +4928 -0
  24. package/dist/{chunk-D3MOZUNH.cjs → chunk-ZV4467OW.cjs} +176 -185
  25. package/dist/components/alert-dialog/index.cjs +1 -0
  26. package/dist/components/alert-dialog/index.js +1 -0
  27. package/dist/components/avatar/index.cjs +5 -4
  28. package/dist/components/avatar/index.d.cts +5 -19
  29. package/dist/components/avatar/index.d.ts +5 -19
  30. package/dist/components/avatar/index.js +2 -1
  31. package/dist/components/badge/index.cjs +1 -0
  32. package/dist/components/badge/index.js +1 -0
  33. package/dist/components/button/index.cjs +23 -3
  34. package/dist/components/button/index.d.cts +8 -15
  35. package/dist/components/button/index.d.ts +8 -15
  36. package/dist/components/button/index.js +22 -2
  37. package/dist/components/card/index.cjs +12 -7
  38. package/dist/components/card/index.d.cts +8 -5
  39. package/dist/components/card/index.d.ts +8 -5
  40. package/dist/components/card/index.js +2 -1
  41. package/dist/components/checkbox/index.cjs +12 -0
  42. package/dist/components/checkbox/index.d.cts +8 -0
  43. package/dist/components/checkbox/index.d.ts +8 -0
  44. package/dist/components/checkbox/index.js +3 -0
  45. package/dist/components/dialog/index.cjs +1 -0
  46. package/dist/components/dialog/index.d.cts +1 -1
  47. package/dist/components/dialog/index.d.ts +1 -1
  48. package/dist/components/dialog/index.js +1 -0
  49. package/dist/components/field/index.cjs +50 -0
  50. package/dist/components/field/index.d.cts +50 -0
  51. package/dist/components/field/index.d.ts +50 -0
  52. package/dist/components/field/index.js +5 -0
  53. package/dist/components/header/index.cjs +1 -0
  54. package/dist/components/header/index.js +1 -0
  55. package/dist/components/index.cjs +157 -125
  56. package/dist/components/index.d.cts +7 -8
  57. package/dist/components/index.d.ts +7 -8
  58. package/dist/components/index.js +14 -14
  59. package/dist/components/input/index.cjs +3 -2
  60. package/dist/components/input/index.d.cts +2 -4
  61. package/dist/components/input/index.d.ts +2 -4
  62. package/dist/components/input/index.js +2 -1
  63. package/dist/components/item/index.cjs +13 -12
  64. package/dist/components/item/index.d.cts +7 -7
  65. package/dist/components/item/index.d.ts +7 -7
  66. package/dist/components/item/index.js +3 -2
  67. package/dist/components/label/index.cjs +3 -2
  68. package/dist/components/label/index.js +2 -1
  69. package/dist/components/select/index.cjs +20 -3
  70. package/dist/components/select/index.d.cts +20 -6
  71. package/dist/components/select/index.d.ts +20 -6
  72. package/dist/components/select/index.js +2 -1
  73. package/dist/components/separator/index.cjs +3 -2
  74. package/dist/components/separator/index.js +2 -1
  75. package/dist/components/sheet/index.cjs +1 -0
  76. package/dist/components/sheet/index.d.cts +1 -1
  77. package/dist/components/sheet/index.d.ts +1 -1
  78. package/dist/components/sheet/index.js +1 -0
  79. package/dist/components/spinner/index.cjs +1 -0
  80. package/dist/components/spinner/index.js +1 -0
  81. package/dist/components/stepper/index.cjs +33 -33
  82. package/dist/components/stepper/index.js +14 -14
  83. package/dist/components/textarea/index.cjs +4 -2
  84. package/dist/components/textarea/index.d.cts +2 -2
  85. package/dist/components/textarea/index.d.ts +2 -2
  86. package/dist/components/textarea/index.js +3 -1
  87. package/dist/components/tooltip/index.cjs +1 -0
  88. package/dist/components/tooltip/index.js +1 -0
  89. package/dist/contexts/index.cjs +1 -0
  90. package/dist/contexts/index.js +1 -0
  91. package/dist/hooks/index.cjs +1 -0
  92. package/dist/hooks/index.js +1 -0
  93. package/dist/icons/index.cjs +89 -18
  94. package/dist/icons/index.js +88 -1
  95. package/dist/utils/index.cjs +1 -0
  96. package/dist/utils/index.js +1 -0
  97. package/package.json +8 -9
  98. package/tailwind/global.css +12 -8
  99. package/tailwind/palette.css +149 -204
  100. package/tailwind/typography.css +33 -57
  101. package/dist/chunk-36YD6ICC.js +0 -70
  102. package/dist/chunk-4NO6IM75.cjs +0 -40
  103. package/dist/chunk-5BTQ6BQA.js +0 -24
  104. package/dist/chunk-5PBHBOXI.js +0 -30
  105. package/dist/chunk-EU7G37IS.js +0 -36
  106. package/dist/chunk-FPFRA5Q6.cjs +0 -31
  107. package/dist/chunk-FVSO3RHT.cjs +0 -17
  108. package/dist/chunk-G6VXQ7DJ.cjs +0 -63
  109. package/dist/chunk-IAI7BIAG.js +0 -31
  110. package/dist/chunk-K4TRAPRN.cjs +0 -341
  111. package/dist/chunk-MI3CQBHC.js +0 -60
  112. package/dist/chunk-OIWEXHFE.cjs +0 -33
  113. package/dist/chunk-P4J2TTH7.cjs +0 -32
  114. package/dist/chunk-UKWZ5BHD.cjs +0 -93
  115. package/dist/chunk-VZKTT6CG.js +0 -15
  116. package/dist/chunk-XTO7CMIM.js +0 -88
  117. package/dist/chunk-YJFJLF7Y.js +0 -319
  118. package/dist/chunk-ZZ3EBGSD.cjs +0 -72
  119. package/dist/components/form/index.cjs +0 -55
  120. package/dist/components/form/index.d.cts +0 -32
  121. package/dist/components/form/index.d.ts +0 -32
  122. package/dist/components/form/index.js +0 -22
  123. package/dist/components/helper-text/index.cjs +0 -10
  124. package/dist/components/helper-text/index.d.cts +0 -18
  125. package/dist/components/helper-text/index.d.ts +0 -18
  126. package/dist/components/helper-text/index.js +0 -1
@@ -1,22 +1,93 @@
1
1
  'use strict';
2
2
 
3
- var chunkUKWZ5BHD_cjs = require('../chunk-UKWZ5BHD.cjs');
3
+ require('../chunk-3376ZTRC.cjs');
4
+ var jsxRuntime = require('react/jsx-runtime');
4
5
 
6
+ function GoogleLogoIcon(props) {
7
+ return /* @__PURE__ */ jsxRuntime.jsxs(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ viewBox: "0 0 24 24",
12
+ strokeWidth: "2",
13
+ stroke: "currentColor",
14
+ fill: "none",
15
+ strokeLinecap: "round",
16
+ strokeLinejoin: "round",
17
+ ...props,
18
+ children: [
19
+ /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
20
+ /* @__PURE__ */ jsxRuntime.jsx(
21
+ "path",
22
+ {
23
+ d: "M12 2a9.96 9.96 0 0 1 6.29 2.226a1 1 0 0 1 .04 1.52l-1.51 1.362a1 1 0 0 1 -1.265 .06a6 6 0 1 0 2.103 6.836l.001 -.004h-3.66a1 1 0 0 1 -.992 -.883l-.007 -.117v-2a1 1 0 0 1 1 -1h6.945a1 1 0 0 1 .994 .89c.04 .367 .061 .737 .061 1.11c0 5.523 -4.477 10 -10 10s-10 -4.477 -10 -10s4.477 -10 10 -10z",
24
+ strokeWidth: "0",
25
+ fill: "currentColor"
26
+ }
27
+ )
28
+ ]
29
+ }
30
+ );
31
+ }
32
+ function LoadingIcon(props) {
33
+ return /* @__PURE__ */ jsxRuntime.jsx(
34
+ "svg",
35
+ {
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
38
+ fill: "currentColor",
39
+ version: "1.1",
40
+ viewBox: "0 0 26.349 26.35",
41
+ xmlSpace: "preserve",
42
+ ...props,
43
+ children: /* @__PURE__ */ jsxRuntime.jsx("g", { children: /* @__PURE__ */ jsxRuntime.jsxs("g", { children: [
44
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "13.792", cy: "3.082", r: "3.082" }),
45
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "13.792", cy: "24.501", r: "1.849" }),
46
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6.219", cy: "6.218", r: "2.774" }),
47
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "21.365", cy: "21.363", r: "1.541" }),
48
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "3.082", cy: "13.792", r: "2.465" }),
49
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "24.501", cy: "13.791", r: "1.232" }),
50
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z" }),
51
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "21.364", cy: "6.218", r: "0.924" })
52
+ ] }) })
53
+ }
54
+ );
55
+ }
56
+ function Auth0LogoIcon(props) {
57
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
58
+ /* @__PURE__ */ jsxRuntime.jsx("title", {}),
59
+ /* @__PURE__ */ jsxRuntime.jsx(
60
+ "path",
61
+ {
62
+ d: "M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.552c3.755-2.81 5.182-7.688 3.815-12.015l-6.16 4.58 2.343 7.45-6.157-4.597-6.158 4.58 2.358-7.433-6.188-4.55 7.63-.045L12.008 0l2.356 7.404 7.615.044z",
63
+ fill: "currentColor"
64
+ }
65
+ )
66
+ ] });
67
+ }
68
+ function XLogoIcon(props) {
69
+ return /* @__PURE__ */ jsxRuntime.jsx(
70
+ "svg",
71
+ {
72
+ xmlns: "http://www.w3.org/2000/svg",
73
+ version: "1.1",
74
+ id: "Layer_1",
75
+ width: "24px",
76
+ height: "24px",
77
+ viewBox: "0 0 24 24",
78
+ ...props,
79
+ children: /* @__PURE__ */ jsxRuntime.jsx(
80
+ "path",
81
+ {
82
+ d: "M14.095479,10.316482L22.286354,1h-1.940718l-7.115352,8.087682L7.551414,1H1l8.589488,12.231093L1,23h1.940717 l7.509372-8.542861L16.448587,23H23L14.095479,10.316482z M11.436522,13.338465l-0.871624-1.218704l-6.924311-9.68815h2.981339 l5.58978,7.82155l0.867949,1.218704l7.26506,10.166271h-2.981339L11.436522,13.338465z",
83
+ fill: "currentColor"
84
+ }
85
+ )
86
+ }
87
+ );
88
+ }
5
89
 
6
-
7
- Object.defineProperty(exports, "Auth0LogoIcon", {
8
- enumerable: true,
9
- get: function () { return chunkUKWZ5BHD_cjs.Auth0LogoIcon; }
10
- });
11
- Object.defineProperty(exports, "GoogleLogoIcon", {
12
- enumerable: true,
13
- get: function () { return chunkUKWZ5BHD_cjs.GoogleLogoIcon; }
14
- });
15
- Object.defineProperty(exports, "LoadingIcon", {
16
- enumerable: true,
17
- get: function () { return chunkUKWZ5BHD_cjs.LoadingIcon; }
18
- });
19
- Object.defineProperty(exports, "XLogoIcon", {
20
- enumerable: true,
21
- get: function () { return chunkUKWZ5BHD_cjs.XLogoIcon; }
22
- });
90
+ exports.Auth0LogoIcon = Auth0LogoIcon;
91
+ exports.GoogleLogoIcon = GoogleLogoIcon;
92
+ exports.LoadingIcon = LoadingIcon;
93
+ exports.XLogoIcon = XLogoIcon;
@@ -1 +1,88 @@
1
- export { Auth0LogoIcon, GoogleLogoIcon, LoadingIcon, XLogoIcon } from '../chunk-XTO7CMIM.js';
1
+ import '../chunk-BYXBJQAS.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+
4
+ function GoogleLogoIcon(props) {
5
+ return /* @__PURE__ */ jsxs(
6
+ "svg",
7
+ {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ viewBox: "0 0 24 24",
10
+ strokeWidth: "2",
11
+ stroke: "currentColor",
12
+ fill: "none",
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round",
15
+ ...props,
16
+ children: [
17
+ /* @__PURE__ */ jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
18
+ /* @__PURE__ */ jsx(
19
+ "path",
20
+ {
21
+ d: "M12 2a9.96 9.96 0 0 1 6.29 2.226a1 1 0 0 1 .04 1.52l-1.51 1.362a1 1 0 0 1 -1.265 .06a6 6 0 1 0 2.103 6.836l.001 -.004h-3.66a1 1 0 0 1 -.992 -.883l-.007 -.117v-2a1 1 0 0 1 1 -1h6.945a1 1 0 0 1 .994 .89c.04 .367 .061 .737 .061 1.11c0 5.523 -4.477 10 -10 10s-10 -4.477 -10 -10s4.477 -10 10 -10z",
22
+ strokeWidth: "0",
23
+ fill: "currentColor"
24
+ }
25
+ )
26
+ ]
27
+ }
28
+ );
29
+ }
30
+ function LoadingIcon(props) {
31
+ return /* @__PURE__ */ jsx(
32
+ "svg",
33
+ {
34
+ xmlns: "http://www.w3.org/2000/svg",
35
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
36
+ fill: "currentColor",
37
+ version: "1.1",
38
+ viewBox: "0 0 26.349 26.35",
39
+ xmlSpace: "preserve",
40
+ ...props,
41
+ children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsxs("g", { children: [
42
+ /* @__PURE__ */ jsx("circle", { cx: "13.792", cy: "3.082", r: "3.082" }),
43
+ /* @__PURE__ */ jsx("circle", { cx: "13.792", cy: "24.501", r: "1.849" }),
44
+ /* @__PURE__ */ jsx("circle", { cx: "6.219", cy: "6.218", r: "2.774" }),
45
+ /* @__PURE__ */ jsx("circle", { cx: "21.365", cy: "21.363", r: "1.541" }),
46
+ /* @__PURE__ */ jsx("circle", { cx: "3.082", cy: "13.792", r: "2.465" }),
47
+ /* @__PURE__ */ jsx("circle", { cx: "24.501", cy: "13.791", r: "1.232" }),
48
+ /* @__PURE__ */ jsx("path", { d: "M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z" }),
49
+ /* @__PURE__ */ jsx("circle", { cx: "21.364", cy: "6.218", r: "0.924" })
50
+ ] }) })
51
+ }
52
+ );
53
+ }
54
+ function Auth0LogoIcon(props) {
55
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
56
+ /* @__PURE__ */ jsx("title", {}),
57
+ /* @__PURE__ */ jsx(
58
+ "path",
59
+ {
60
+ d: "M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.552c3.755-2.81 5.182-7.688 3.815-12.015l-6.16 4.58 2.343 7.45-6.157-4.597-6.158 4.58 2.358-7.433-6.188-4.55 7.63-.045L12.008 0l2.356 7.404 7.615.044z",
61
+ fill: "currentColor"
62
+ }
63
+ )
64
+ ] });
65
+ }
66
+ function XLogoIcon(props) {
67
+ return /* @__PURE__ */ jsx(
68
+ "svg",
69
+ {
70
+ xmlns: "http://www.w3.org/2000/svg",
71
+ version: "1.1",
72
+ id: "Layer_1",
73
+ width: "24px",
74
+ height: "24px",
75
+ viewBox: "0 0 24 24",
76
+ ...props,
77
+ children: /* @__PURE__ */ jsx(
78
+ "path",
79
+ {
80
+ d: "M14.095479,10.316482L22.286354,1h-1.940718l-7.115352,8.087682L7.551414,1H1l8.589488,12.231093L1,23h1.940717 l7.509372-8.542861L16.448587,23H23L14.095479,10.316482z M11.436522,13.338465l-0.871624-1.218704l-6.924311-9.68815h2.981339 l5.58978,7.82155l0.867949,1.218704l7.26506,10.166271h-2.981339L11.436522,13.338465z",
81
+ fill: "currentColor"
82
+ }
83
+ )
84
+ }
85
+ );
86
+ }
87
+
88
+ export { Auth0LogoIcon, GoogleLogoIcon, LoadingIcon, XLogoIcon };
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkH2BWO3SI_cjs = require('../chunk-H2BWO3SI.cjs');
4
+ require('../chunk-3376ZTRC.cjs');
4
5
 
5
6
 
6
7
 
@@ -1 +1,2 @@
1
1
  export { cn } from '../chunk-ZD2QRAOX.js';
2
+ import '../chunk-BYXBJQAS.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@szum-tech/design-system",
3
- "version": "2.7.0",
3
+ "version": "3.1.0",
4
4
  "description": "Szum-Tech design system with tailwindcss support",
5
5
  "keywords": [
6
6
  "szum-tech",
@@ -122,7 +122,7 @@
122
122
  "dependencies": {
123
123
  "class-variance-authority": "^0.7.1",
124
124
  "clsx": "^2.1.1",
125
- "lucide-react": "^0.545.0",
125
+ "lucide-react": "^0.548.0",
126
126
  "radix-ui": "^1.4.2",
127
127
  "tailwind-merge": "^3.3.1",
128
128
  "tailwindcss-animate": "^1.0.7"
@@ -146,9 +146,10 @@
146
146
  "@types/react": "^19.1.9",
147
147
  "@types/react-dom": "^19.1.7",
148
148
  "@vitejs/plugin-react": "^5.0.4",
149
- "@vitest/browser": "^3.2.4",
150
- "@vitest/coverage-v8": "^3.2.4",
151
- "@vitest/ui": "^3.1.4",
149
+ "@vitest/browser": "^4.0.3",
150
+ "@vitest/browser-playwright": "^4.0.3",
151
+ "@vitest/coverage-v8": "^4.0.3",
152
+ "@vitest/ui": "^4.0.3",
152
153
  "cpy-cli": "^6.0.0",
153
154
  "eslint": "^9.32.0",
154
155
  "happy-dom": "^20.0.2",
@@ -158,8 +159,7 @@
158
159
  "react-docgen": "^8.0.0",
159
160
  "react-docgen-typescript": "^2.4.0",
160
161
  "react-dom": "^19.1.0",
161
- "react-hook-form": "^7.61.1",
162
- "semantic-release": "^24.2.7",
162
+ "semantic-release": "^25.0.1",
163
163
  "serve": "^14.2.4",
164
164
  "storybook": "^9.0.18",
165
165
  "storybook-addon-tag-badges": "^2.0.1",
@@ -168,13 +168,12 @@
168
168
  "typescript": "^5.8.3",
169
169
  "vite": "^7.0.6",
170
170
  "vite-tsconfig-paths": "^5.1.4",
171
- "vitest": "^3.2.4",
171
+ "vitest": "^4.0.3",
172
172
  "zod": "^4.0.14"
173
173
  },
174
174
  "peerDependencies": {
175
175
  "react": ">=19.0.0",
176
176
  "react-dom": ">=19.0.0",
177
- "react-hook-form": "^7.56.4",
178
177
  "tailwindcss": ">=4"
179
178
  },
180
179
  "engines": {
@@ -8,16 +8,20 @@
8
8
  @plugin "tailwindcss-animate";
9
9
 
10
10
  @layer base {
11
- body {
12
- @apply bg-app-background font-poppins text-gray-100 antialiased;
11
+ button:not(:disabled),
12
+ [role="button"]:not(:disabled) {
13
+ cursor: pointer;
13
14
  }
14
- }
15
15
 
16
- @utility container {
17
- margin-inline: auto;
18
- padding-inline: 0.5rem;
16
+ body {
17
+ @apply bg-background font-poppins text-foreground antialiased;
18
+ }
19
19
 
20
- @media (width >= 40rem) {
21
- padding-inline: 1rem;
20
+ @utility container {
21
+ @apply mx-auto max-w-7xl px-8 sm:px-16;
22
+ }
23
+ @utility container-* {
24
+ max-width: --value(--container-*);
25
+ @apply mx-auto;
22
26
  }
23
27
  }