@szum-tech/design-system 2.1.0 → 2.2.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 (90) hide show
  1. package/dist/{chunk-5ENMEB5L.cjs → chunk-25X5IOB3.cjs} +6 -6
  2. package/dist/{chunk-LI7IHIOM.cjs → chunk-3DSBDIFJ.cjs} +6 -5
  3. package/dist/chunk-3PV6NLP5.js +31 -0
  4. package/dist/{chunk-KPB3CBHE.cjs → chunk-4NO6IM75.cjs} +2 -2
  5. package/dist/{chunk-5EN2HNFU.js → chunk-5MJPZUTO.js} +7 -19
  6. package/dist/{chunk-WTVBTZ3P.js → chunk-5PBHBOXI.js} +2 -1
  7. package/dist/{chunk-TD2KDWNP.js → chunk-5U55UIDY.js} +9 -15
  8. package/dist/chunk-6L3QPLRR.cjs +33 -0
  9. package/dist/{chunk-463KEXY6.cjs → chunk-6VVDXGYO.cjs} +16 -18
  10. package/dist/{chunk-VQMM75HD.cjs → chunk-6YLG3PWU.cjs} +9 -15
  11. package/dist/{chunk-IFBQNWVG.js → chunk-75T7KAAY.js} +7 -7
  12. package/dist/{chunk-AO4TMCYJ.js → chunk-CLBOIGDQ.js} +2 -2
  13. package/dist/{chunk-PB3EGVTV.cjs → chunk-CN3NQLTK.cjs} +5 -5
  14. package/dist/{chunk-HFHADY43.js → chunk-EU7G37IS.js} +2 -2
  15. package/dist/{chunk-XGA2F5GG.cjs → chunk-FPK72OV4.cjs} +7 -7
  16. package/dist/{chunk-LND2W67K.cjs → chunk-FVSO3RHT.cjs} +2 -2
  17. package/dist/{chunk-4YZSPNLW.cjs → chunk-GR37JJQK.cjs} +3 -2
  18. package/dist/chunk-H2BWO3SI.cjs +1 -0
  19. package/dist/{chunk-HXC3EALP.js → chunk-HJJPEVIH.js} +3 -2
  20. package/dist/chunk-INJBKPIE.js +1 -0
  21. package/dist/{chunk-J56UDYA3.js → chunk-IV5F734M.js} +16 -18
  22. package/dist/{chunk-YXTTED5V.cjs → chunk-P4J2TTH7.cjs} +2 -1
  23. package/dist/{chunk-RF5YR553.cjs → chunk-Q2IKZZ3U.cjs} +1 -1
  24. package/dist/{chunk-QRSQCHBO.cjs → chunk-QQ7CBNSR.cjs} +14 -10
  25. package/dist/{chunk-J264N6AZ.js → chunk-RXYZURP4.js} +1 -1
  26. package/dist/{chunk-V4POHGAW.cjs → chunk-TMXVL5CV.cjs} +7 -19
  27. package/dist/chunk-TSN5DAKH.cjs +1 -0
  28. package/dist/{chunk-YHU2OW52.js → chunk-UW6GOD7J.js} +2 -1
  29. package/dist/{chunk-XPM62WMM.js → chunk-V5OVQTDR.js} +6 -5
  30. package/dist/{chunk-US32J7DK.js → chunk-VZKTT6CG.js} +2 -2
  31. package/dist/{chunk-HIWVHD4V.js → chunk-WIOOP3VE.js} +14 -10
  32. package/dist/{chunk-C5YRMEKV.js → chunk-XDTI4DFM.js} +6 -6
  33. package/dist/{chunk-VFRIU5CV.cjs → chunk-YWG7TML6.cjs} +2 -1
  34. package/dist/chunk-ZD2QRAOX.js +1 -0
  35. package/dist/components/alert-dialog/index.cjs +10 -10
  36. package/dist/components/alert-dialog/index.d.cts +5 -5
  37. package/dist/components/alert-dialog/index.d.ts +5 -5
  38. package/dist/components/alert-dialog/index.js +1 -1
  39. package/dist/components/avatar/index.cjs +4 -4
  40. package/dist/components/avatar/index.d.cts +2 -2
  41. package/dist/components/avatar/index.d.ts +2 -2
  42. package/dist/components/avatar/index.js +1 -1
  43. package/dist/components/button/index.cjs +2 -2
  44. package/dist/components/button/index.d.cts +2 -2
  45. package/dist/components/button/index.d.ts +2 -2
  46. package/dist/components/button/index.js +1 -1
  47. package/dist/components/card/index.cjs +8 -7
  48. package/dist/components/card/index.js +2 -1
  49. package/dist/components/dialog/index.cjs +10 -9
  50. package/dist/components/dialog/index.d.cts +2 -2
  51. package/dist/components/dialog/index.d.ts +2 -2
  52. package/dist/components/dialog/index.js +2 -1
  53. package/dist/components/form/index.cjs +23 -23
  54. package/dist/components/form/index.d.cts +1 -1
  55. package/dist/components/form/index.d.ts +1 -1
  56. package/dist/components/form/index.js +16 -16
  57. package/dist/components/header/index.cjs +2 -2
  58. package/dist/components/header/index.js +1 -1
  59. package/dist/components/helper-text/index.cjs +2 -2
  60. package/dist/components/helper-text/index.d.cts +2 -2
  61. package/dist/components/helper-text/index.d.ts +2 -2
  62. package/dist/components/helper-text/index.js +1 -1
  63. package/dist/components/index.cjs +70 -68
  64. package/dist/components/index.d.cts +1 -1
  65. package/dist/components/index.d.ts +1 -1
  66. package/dist/components/index.js +18 -16
  67. package/dist/components/input/index.cjs +2 -2
  68. package/dist/components/input/index.js +1 -1
  69. package/dist/components/label/index.cjs +3 -2
  70. package/dist/components/label/index.js +2 -1
  71. package/dist/components/select/index.cjs +4 -3
  72. package/dist/components/select/index.d.cts +1 -1
  73. package/dist/components/select/index.d.ts +1 -1
  74. package/dist/components/select/index.js +2 -1
  75. package/dist/components/separator/index.cjs +2 -2
  76. package/dist/components/separator/index.js +1 -1
  77. package/dist/components/sheet/index.cjs +10 -9
  78. package/dist/components/sheet/index.d.cts +2 -2
  79. package/dist/components/sheet/index.d.ts +2 -2
  80. package/dist/components/sheet/index.js +2 -1
  81. package/dist/components/textarea/index.cjs +2 -2
  82. package/dist/components/textarea/index.js +1 -1
  83. package/dist/components/tooltip/index.cjs +3 -3
  84. package/dist/components/tooltip/index.d.cts +2 -4
  85. package/dist/components/tooltip/index.d.ts +2 -4
  86. package/dist/components/tooltip/index.js +1 -1
  87. package/package.json +40 -38
  88. package/tailwind/palette.css +131 -113
  89. package/dist/chunk-N7DXGCBJ.cjs +0 -30
  90. package/dist/chunk-UZBZFCWX.js +0 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@szum-tech/design-system",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Szum-Tech design system with tailwindcss support",
5
5
  "keywords": [
6
6
  "szum-tech",
@@ -79,11 +79,12 @@
79
79
  "tailwind/**"
80
80
  ],
81
81
  "scripts": {
82
- "build": "tsup && cpy 'src/tailwind/*.css' './tailwind' --flat",
82
+ "build": "tsup && cpy 'src/tailwind/*.css' './tailwind' --flat && npm run post-build",
83
83
  "lint": "eslint .",
84
84
  "lint:ci": "eslint . -o eslint-results.sarif -f @microsoft/eslint-formatter-sarif",
85
85
  "lint:fix": "eslint . --fix",
86
86
  "lint:inspect": "npx @eslint/config-inspector@latest",
87
+ "post-build": "node src/scripts/post-build.js",
87
88
  "prettier:check": "prettier --check .",
88
89
  "prettier:write": "prettier --write .",
89
90
  "storybook:build": "storybook build --docs",
@@ -102,59 +103,60 @@
102
103
  "@radix-ui/react-icons": "^1.3.2",
103
104
  "class-variance-authority": "^0.7.1",
104
105
  "clsx": "^2.1.1",
105
- "radix-ui": "^1.1.3",
106
- "tailwind-merge": "^3.0.2",
106
+ "radix-ui": "^1.4.2",
107
+ "tailwind-merge": "^3.3.0",
107
108
  "tailwindcss-animate": "^1.0.7"
108
109
  },
109
110
  "devDependencies": {
110
- "@hookform/resolvers": "^4.1.3",
111
- "@storybook/addon-essentials": "^8.6.9",
112
- "@storybook/addon-links": "^8.6.9",
113
- "@storybook/experimental-addon-test": "^8.6.9",
114
- "@storybook/react": "^8.6.9",
115
- "@storybook/react-vite": "^8.6.9",
116
- "@storybook/theming": "^8.6.9",
111
+ "@hookform/resolvers": "^5.0.1",
112
+ "@storybook/addon-essentials": "^8.6.14",
113
+ "@storybook/addon-links": "^8.6.14",
114
+ "@storybook/experimental-addon-test": "^8.6.14",
115
+ "@storybook/react": "^8.6.14",
116
+ "@storybook/react-vite": "^8.6.14",
117
+ "@storybook/theming": "^8.6.14",
117
118
  "@szum-tech/eslint-config": "^2.1.6",
118
119
  "@szum-tech/prettier-config": "^1.6.1",
119
120
  "@szum-tech/semantic-release-config": "^2.3.0",
120
- "@tailwindcss/postcss": "^4.0.16",
121
+ "@tailwindcss/vite": "^4.1.8",
121
122
  "@testing-library/dom": "^10.4.0",
122
123
  "@testing-library/jest-dom": "^6.6.3",
123
- "@testing-library/react": "^16.2.0",
124
+ "@testing-library/react": "^16.3.0",
124
125
  "@testing-library/user-event": "^14.6.1",
125
- "@types/node": "^22.13.13",
126
- "@types/react": "^19.0.12",
127
- "@types/react-dom": "^19.0.4",
128
- "@vitejs/plugin-react": "^4.3.4",
129
- "@vitest/browser": "^3.0.9",
130
- "@vitest/coverage-v8": "^3.0.9",
131
- "@vitest/ui": "^3.0.9",
126
+ "@types/node": "^22.15.24",
127
+ "@types/react": "^19.1.6",
128
+ "@types/react-dom": "^19.1.5",
129
+ "@vitejs/plugin-react": "^4.5.0",
130
+ "@vitest/browser": "^3.1.4",
131
+ "@vitest/coverage-v8": "^3.1.4",
132
+ "@vitest/ui": "^3.1.4",
132
133
  "cpy-cli": "^5.0.0",
133
- "eslint": "^9.23.0",
134
- "playwright": "^1.51.1",
135
- "postcss": "^8.5.3",
134
+ "eslint": "^9.27.0",
135
+ "playwright": "^1.52.0",
136
136
  "prettier": "^3.5.3",
137
- "react": "^19.0.0",
137
+ "react": "^19.1.0",
138
+ "react-docgen": "^8.0.0",
138
139
  "react-docgen-typescript": "^2.2.2",
139
- "react-dom": "^19.0.0",
140
- "react-hook-form": "^7.54.2",
141
- "semantic-release": "^24.2.3",
140
+ "react-dom": "^19.1.0",
141
+ "react-hook-form": "^7.56.4",
142
+ "semantic-release": "^24.2.5",
142
143
  "serve": "^14.2.4",
143
- "storybook": "^8.6.9",
144
+ "storybook": "^8.6.14",
145
+ "storybook-addon-tag-badges": "^1.4.0",
144
146
  "storybook-dark-mode": "^4.0.2",
145
- "tailwindcss": "^4.0.16",
146
- "tsup": "^8.4.0",
147
- "typescript": "^5.8.2",
148
- "vite": "^6.2.3",
147
+ "tailwindcss": "^4.1.8",
148
+ "tsup": "^8.5.0",
149
+ "typescript": "^5.8.3",
150
+ "vite": "^6.3.5",
149
151
  "vite-tsconfig-paths": "^5.1.4",
150
- "vitest": "^3.0.9",
151
- "zod": "^3.24.2"
152
+ "vitest": "^3.1.4",
153
+ "zod": "^3.25.34"
152
154
  },
153
155
  "peerDependencies": {
154
- "react": "^19.0.0",
155
- "react-dom": "^19.0.0",
156
- "react-hook-form": "^7.54.2",
157
- "tailwindcss": "^4.0.5"
156
+ "react": ">=19.0.0",
157
+ "react-dom": ">=19.0.0",
158
+ "react-hook-form": "^7.56.4",
159
+ "tailwindcss": ">=4"
158
160
  },
159
161
  "engines": {
160
162
  "node": ">=22"
@@ -1,142 +1,160 @@
1
1
  @import "tailwindcss";
2
2
 
3
3
  :root {
4
- --primary-50: oklch(95.73% 0.02198498114506639 243.79915086817226); /* #E5F3FF */
5
- --primary-100: oklch(91.38% 0.0439 247.26); /* #CCE6FF */
6
- --primary-200: oklch(83.22% 0.0884 246.95); /* #99CEFF */
7
- --primary-300: oklch(75.33% 0.1328 248.56); /* #66B5FF */
8
- --primary-400: oklch(68.2% 0.1734 251.11); /* #339CFF */
9
- --primary-500: oklch(62.57% 0.2051 254.88); /* #0085FF */
10
- --primary-600: oklch(52.86% 0.1735 254.92); /* #0069CC */
11
- --primary-700: oklch(43.14% 0.1379 254.14); /* #004F99 */
12
- --primary-800: oklch(32.84% 0.0998 252.57); /* #003566 */
13
- --primary-900: oklch(21.38% 0.0594 249.31); /* #001A33 */
14
- --primary-950: oklch(15.2% 0.0354 241.02); /* #000D19 */
15
-
16
- --success-50: oklch(97.18% 0.04338729015824696 154.61363915595354); /* E0FFE9 */
17
- --success-100: oklch(94.33% 0.0924 152.85); /* BDFFCF */
18
- --success-200: oklch(90.47% 0.1695 150.94); /* 80FFA4 */
19
- --success-300: oklch(87.87% 0.2365 147.88); /* 3DFF74 */
20
- --success-400: oklch(85.61% 0.26946325605075166 144.9675704087331); /* 00FA47 */
21
- --success-500: oklch(68.58% 0.2149 145.12); /* #00BA34 */
22
- --success-600: oklch(57.96% 0.1799 145.44); /* 00942A */
23
- --success-700: oklch(47.43% 0.1454 145.88); /* 007020 */
24
- --success-800: oklch(36.59% 0.1098 146.63); /* 004D16 */
25
- --success-900: oklch(22.73% 0.06371361837285802 149.2787164641814); /* 00240A */
26
- --success-950: oklch(16.77% 0.0429 153.2); /* 001406 */
27
-
28
- --warning-50: oklch(96.98% 0.022598457691297022 71.79153141618141); /* FFF3E5 */
29
- --warning-100: oklch(94.05% 0.0442 70.53); /* FFE7CC */
30
- --warning-200: oklch(88.39% 0.088 69.59); /* FFCF99 */
31
- --warning-300: oklch(82.71% 0.13206468616568753 67.62395222599771); /* FFB561 */
32
- --warning-400: oklch(78.02% 0.1633 63.2); /* FF9D2E */
33
- --warning-500: oklch(73.3% 0.1772 57.08); /* #F98600 */
34
- --warning-600: oklch(61.95% 0.1496 57.16); /* C76A00 */
35
- --warning-700: oklch(50.07% 0.1192 58.48); /* 944F00 */
36
- --warning-800: oklch(38.6% 0.0904 60.02); /* 663600 */
37
- --warning-900: oklch(24.93% 0.0555 65.91); /* 331B00 */
38
- --warning-950: oklch(17.46% 0.0363 78.04); /* 190E00 */
39
-
40
- --error-50: oklch(94.78% 0.023 17.56); /* FDE8E8 */
41
- --error-100: oklch(90.5% 0.0426 17.97); /* FBD5D5 */
42
- --error-200: oklch(81.49% 0.0874 19.13); /* F6ACAC */
43
- --error-300: oklch(73.07% 0.1375 20.98); /* F28282 */
44
- --error-400: oklch(65.25% 0.189 23.98); /* ED5454 */
45
- --error-500: oklch(60.48% 0.2225 27.1); /* #E92C2C */
46
- --error-600: oklch(52.8% 0.2067 28.23); /* C71515 */
47
- --error-700: oklch(43.4% 0.1679 28); /* 981010 */
48
- --error-800: oklch(32.86% 0.1233 27.44); /* 660B0B */
49
- --error-900: oklch(21.08% 0.0738 26.29); /* 330505 */
50
- --error-950: oklch(13.73% 0.0443 25.17); /* 170202 */
51
-
52
- --gray-100: oklch(22.64% 0 0); /* #1C1C1C */
53
- --gray-200: oklch(45.77% 0.0013 17.21); /* #585757 */
54
- --gray-300: oklch(67.31% 0 0); /* #969696 */
55
- --gray-350: oklch(81.09% 0 0); /* #C1C1C1 */
56
- --gray-400: oklch(94.01% 0 0); /* #EBEBEB */
4
+ --primary-50: oklch(97.51% 0.013 244.25);
5
+ --primary-100: oklch(94.77% 0.026 246.34);
6
+ --primary-200: oklch(88.95% 0.057 246.86);
7
+ --primary-300: oklch(81.61% 0.097 247.33);
8
+ --primary-400: oklch(73.22% 0.145 248.98);
9
+ --primary-500: oklch(62.57% 0.205 254.88); /* 0085FF */
10
+ --primary-600: oklch(57.8% 0.19 254.97);
11
+ --primary-700: oklch(52.05% 0.169 254.68);
12
+ --primary-800: oklch(47.19% 0.151 254.19);
13
+ --primary-900: oklch(36.91% 0.115 253.45);
14
+ --primary-950: oklch(27.44% 0.08 251.27);
15
+
16
+ --success-50: oklch(97.63% 0.036 155.45);
17
+ --success-100: oklch(94.33% 0.093 152.85);
18
+ --success-200: oklch(88.01% 0.232 148.18);
19
+ --success-300: oklch(81.7% 0.257 144.95);
20
+ --success-400: oklch(76.15% 0.239 145.1);
21
+ --success-500: oklch(68.58% 0.215 145.12); /* 00BA34 */
22
+ --success-600: oklch(63.61% 0.198 145.34);
23
+ --success-700: oklch(57.96% 0.18 145.44);
24
+ --success-800: oklch(50.41% 0.155 145.77);
25
+ --success-900: oklch(39.76% 0.12 146.39);
26
+ --success-950: oklch(33.03% 0.098 147.09);
27
+
28
+ --warning-50: oklch(98.24% 0.013 71.33);
29
+ --warning-100: oklch(95.76% 0.031 70.53);
30
+ --warning-200: oklch(91.19% 0.066 69.81);
31
+ --warning-300: oklch(85.71% 0.109 68.61);
32
+ --warning-400: oklch(80.28% 0.149 65.89);
33
+ --warning-500: oklch(73.3% 0.177 57.08); /* F98600 */
34
+ --warning-600: oklch(67.68% 0.164 57.12);
35
+ --warning-700: oklch(61.95% 0.15 57.16);
36
+ --warning-800: oklch(53.64% 0.128 58.05);
37
+ --warning-900: oklch(41.27% 0.097 60.16);
38
+ --warning-950: oklch(34.71% 0.081 61.03);
39
+
40
+ --error-50: oklch(97.93% 0.009 17.3);
41
+ --error-100: oklch(94.78% 0.023 17.56);
42
+ --error-200: oklch(88.5% 0.052 18.18);
43
+ --error-300: oklch(81.49% 0.087 19.13);
44
+ --error-400: oklch(72.38% 0.143 21.21);
45
+ --error-500: oklch(60.48% 0.223 27.1); /* E92C2C */
46
+ --error-600: oklch(55.31% 0.217 28.3);
47
+ --error-700: oklch(51.8% 0.203 28.25);
48
+ --error-800: oklch(45.44% 0.176 28.07);
49
+ --error-900: oklch(35.65% 0.136 27.68);
50
+ --error-950: oklch(28.66% 0.105 27.06);
51
+
52
+ --gray-50: oklch(16.84% 0 none);
53
+ --gray-100: oklch(22.64% 0 none);
54
+ --gray-200: oklch(33.29% 0 none);
55
+ --gray-300: oklch(42.76% 0 none);
56
+ --gray-400: oklch(52.08% 0 none);
57
+ --gray-500: oklch(60.66% 0 none);
58
+ --gray-600: oklch(68.3% 0 none);
59
+ --gray-700: oklch(76.68% 0 none);
60
+ --gray-800: oklch(84.52% 0 none);
61
+ --gray-900: oklch(92.49% 0 none);
62
+ --gray-950: oklch(96.12% 0 none);
57
63
 
58
64
  --foreground: oklch(100% 0 0); /* #ffffff */
59
65
  --background: oklch(97.61% 0 0); /* #f7f7f7 */
60
66
 
61
- --background-color-primary: oklch(62.57% 0.2051 254.88 / 10%);
62
- --background-color-success: oklch(68.58% 0.2149 145.12 / 10%);
63
- --background-color-warning: oklch(73.3% 0.1772 57.08 / 10%);
64
- --background-color-error: oklch(60.48% 0.2225 27.1 / 10%);
67
+ --background-color-primary: oklch(62.57% 0.205 254.88 / 10%);
68
+ --background-color-success: oklch(68.58% 0.215 145.12 / 10%);
69
+ --background-color-warning: oklch(73.3% 0.177 57.08 / 10%);
70
+ --background-color-error: oklch(60.48% 0.223 27.1 / 10%);
65
71
  }
66
72
 
67
73
  .dark {
68
- --primary-50: oklch(95.73% 0.02198498114506639 243.79915086817226); /* E5F3FF */
69
- --primary-100: oklch(92.32% 0.0394 245.9); /* D1E9FF */
70
- --primary-200: oklch(84.85% 0.0796 246.55); /* A3D3FF */
71
- --primary-300: oklch(77.52% 0.1202 248.28); /* 75BCFF */
72
- --primary-400: oklch(70.34% 0.1614 249.91); /* 42A4FF */
73
- --primary-500: oklch(64.88% 0.19228955336976544 252.9711428714203); /* #168FFF */
74
- --primary-600: oklch(55.7% 0.18325191914583647 254.97167914788002); /* 0071DB */
75
- --primary-700: oklch(46.13% 0.1481 254.28); /* 0057A8 */
76
- --primary-800: oklch(34.89% 0.10776395496917965 253.05088491869964); /* 003A70 */
77
- --primary-900: oklch(22.66% 0.0631 249.41); /* 001D38 */
78
- --primary-950: oklch(15.2% 0.0354 241.02); /* 000D19 */
79
-
80
- --success-50: oklch(96.87% 0.0346 153.26); /* E4FCEA */
81
- --success-100: oklch(94.27% 0.0624 153.52); /* CDF9D9 */
82
- --success-200: oklch(89.38% 0.124 152.45); /* 9AF4B4 */
83
- --success-300: oklch(85.13% 0.1781 150.26); /* 68EE8E */
84
- --success-400: oklch(81.67% 0.2245 147.6); /* 31E865 */
85
- --success-500: oklch(73.48% 0.2174 146.32); /* #17CB49 */
86
- --success-600: oklch(61.63% 0.1801 146.58); /* 12A03A */
87
- --success-700: oklch(51.25% 0.1477 146.84); /* 0E7C2D */
88
- --success-800: oklch(38.43% 0.107 147.47); /* 09521E */
89
- --success-900: oklch(24.8% 0.0627 148.91); /* 05290F */
90
- --success-950: oklch(16.24% 0.0347 154.22); /* 021207 */
91
-
92
- --warning-50: oklch(97.72% 0.017474396671282696 73.0799708110899); /* FFF6EB */
93
- --warning-100: oklch(95.44% 0.0361 74.07); /* FFEDD6 */
94
- --warning-200: oklch(90.87% 0.0715 72.19); /* FFDAAD */
95
- --warning-300: oklch(86.27% 0.1089 71.27); /* FFC680 */
96
- --warning-400: oklch(82.23% 0.1388 68.81); /* FFB357 */
74
+ --primary-50: oklch(95.73% 0.022 243.8);
75
+ --primary-100: oklch(92.32% 0.039 245.9);
76
+ --primary-200: oklch(84.85% 0.08 246.55);
77
+ --primary-300: oklch(77.52% 0.12 248.28);
78
+ --primary-400: oklch(70.34% 0.161 249.91);
79
+ --primary-500: oklch(64.88% 0.192 252.97); /* #168FFF */
80
+ --primary-600: oklch(55.7% 0.183 254.97);
81
+ --primary-700: oklch(46.13% 0.148 254.28);
82
+ --primary-800: oklch(34.89% 0.108 253.05);
83
+ --primary-900: oklch(22.66% 0.063 249.41);
84
+ --primary-950: oklch(15.2% 0.035 241.02);
85
+
86
+ --success-50: oklch(96.87% 0.035 153.26);
87
+ --success-100: oklch(94.27% 0.062 153.52);
88
+ --success-200: oklch(89.38% 0.124 152.45);
89
+ --success-300: oklch(85.13% 0.178 150.26);
90
+ --success-400: oklch(81.67% 0.225 147.6);
91
+ --success-500: oklch(73.48% 0.217 146.32); /* #17CB49 */
92
+ --success-600: oklch(61.63% 0.18 146.58);
93
+ --success-700: oklch(51.25% 0.148 146.84);
94
+ --success-800: oklch(38.43% 0.107 147.47);
95
+ --success-900: oklch(24.8% 0.063 148.91);
96
+ --success-950: oklch(16.24% 0.035 154.22);
97
+
98
+ --warning-50: oklch(97.72% 0.017 73.08);
99
+ --warning-100: oklch(95.44% 0.036 74.07);
100
+ --warning-200: oklch(90.87% 0.071 72.19);
101
+ --warning-300: oklch(86.27% 0.109 71.27);
102
+ --warning-400: oklch(82.23% 0.139 68.81);
97
103
  --warning-500: oklch(78.35% 0.163 64.42); /* #FF9F2D */
98
- --warning-600: oklch(71.78% 0.17078985053614934 58.571544805805225); /* F08400 */
99
- --warning-700: oklch(57.81% 0.1365 59.27); /* B36200 */
100
- --warning-800: oklch(44.08% 0.10216800578227302 61.2245085553738); /* 7A4300 */
101
- --warning-900: oklch(28.11% 0.062 67.17); /* 3D2200 */
102
- --warning-950: oklch(19.24% 0.0407 73.97); /* 1F1100 */
103
-
104
- --error-50: oklch(95.52% 0.0207 17.52); /* FEEBEB */
105
- --error-100: oklch(91.33% 0.0414 17.93); /* FDD8D8 */
106
- --error-200: oklch(83.13% 0.0881 19.1); /* FCB1B1 */
107
- --error-300: oklch(76.23% 0.1311 20.58); /* FA8E8E */
108
- --error-400: oklch(69.7% 0.1796 22.93); /* F96767 */
109
- --error-500: oklch(64.72% 0.2183 25.77); /* #F74141 */
110
- --error-600: oklch(60.2% 0.2439 28.95); /* F00A0A */
111
- --error-700: oklch(48.81% 0.1965 28.81); /* B50808 */
112
- --error-800: oklch(35.63% 0.1418 28.57); /* 750505 */
113
- --error-900: oklch(22.44% 0.0876 28.18); /* 3B0202 */
114
- --error-950: oklch(14.85% 0.0558 27.47); /* 1D0101 */
115
-
116
- --gray-100: oklch(93.7% 0 0); /* #eaeaea */
117
- --gray-200: oklch(80.78% 0 0); /* #c0c0c0 */
118
- --gray-300: oklch(58.29% 0 0); /* #7b7b7b */
119
- --gray-350: oklch(44.95% 0 0); /* #555555 */
120
- --gray-400: oklch(30.12% 0 0); /* #2e2e2e */
104
+ --warning-600: oklch(71.78% 0.171 58.57);
105
+ --warning-700: oklch(57.81% 0.137 59.27);
106
+ --warning-800: oklch(44.08% 0.102 61.22);
107
+ --warning-900: oklch(28.11% 0.062 67.17);
108
+ --warning-950: oklch(19.24% 0.041 73.97);
109
+
110
+ --error-50: oklch(95.52% 0.021 17.52);
111
+ --error-100: oklch(91.33% 0.041 17.93);
112
+ --error-200: oklch(83.13% 0.088 19.1);
113
+ --error-300: oklch(76.23% 0.131 20.58);
114
+ --error-400: oklch(69.7% 0.18 22.93);
115
+ --error-500: oklch(64.72% 0.218 25.77); /* #F74141 */
116
+ --error-600: oklch(60.2% 0.244 28.95);
117
+ --error-700: oklch(48.81% 0.197 28.81);
118
+ --error-800: oklch(35.63% 0.142 28.57);
119
+ --error-900: oklch(22.44% 0.088 28.18);
120
+ --error-950: oklch(14.85% 0.056 27.47);
121
+
122
+ --gray-50: oklch(97.02% 0 none);
123
+ --gray-100: oklch(93.7% 0 none); /* #eaeaea */
124
+ --gray-200: oklch(86.07% 0 none);
125
+ --gray-300: oklch(77.31% 0 none);
126
+ --gray-400: oklch(69.27% 0 none);
127
+ --gray-500: oklch(60.66% 0 none);
128
+ --gray-600: oklch(52.08% 0 none);
129
+ --gray-700: oklch(42.76% 0 none);
130
+ --gray-800: oklch(32.11% 0 none);
131
+ --gray-900: oklch(21.78% 0 none);
132
+ --gray-950: oklch(15.91% 0 none);
121
133
 
122
134
  --foreground: oklch(17.76% 0 0); /* #111111 */
123
135
  --background: oklch(22.64% 0 0); /* #1C1C1C */
124
136
 
125
- --background-color-primary: oklch(64.88% 0.19228955336976544 252.9711428714203 / 10%);
126
- --background-color-success: oklch(73.48% 0.2174 146.32 / 10%);
137
+ --background-color-primary: oklch(64.88% 0.192 252.97 / 10%);
138
+ --background-color-success: oklch(73.48% 0.217 146.32 / 10%);
127
139
  --background-color-warning: oklch(78.35% 0.163 64.42 / 10%);
128
- --background-color-error: oklch(64.72% 0.2183 25.77 / 10%);
140
+ --background-color-error: oklch(64.72% 0.218 25.77 / 10%);
129
141
  }
130
142
 
131
143
  @theme inline {
132
144
  --color-white: oklch(100% 0 0); /* #ffffff */
133
145
  --color-black: oklch(22.64% 0 0); /* #1c1c1c */
134
146
 
147
+ --color-gray-50: var(--gray-50);
135
148
  --color-gray-100: var(--gray-100);
136
149
  --color-gray-200: var(--gray-200);
137
150
  --color-gray-300: var(--gray-300);
138
- --color-gray-350: var(--gray-350);
139
151
  --color-gray-400: var(--gray-400);
152
+ --color-gray-500: var(--gray-500);
153
+ --color-gray-600: var(--gray-600);
154
+ --color-gray-700: var(--gray-700);
155
+ --color-gray-800: var(--gray-800);
156
+ --color-gray-900: var(--gray-900);
157
+ --color-gray-950: var(--gray-950);
140
158
 
141
159
  --color-primary-50: var(--primary-50);
142
160
  --color-primary-100: var(--primary-100);
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- var classVarianceAuthority = require('class-variance-authority');
4
- var jsxRuntime = require('react/jsx-runtime');
5
-
6
- var textareaCva = classVarianceAuthority.cva(
7
- [
8
- "bg-app-primary font-poppins text-body-2 h-28 min-h-10 w-full appearance-none border px-3 py-2 outline-0 transition-colors duration-300 ease-in-out placeholder:select-none placeholder:text-gray-200",
9
- "focus:border-primary-400",
10
- "active:border-primary-400",
11
- "disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"
12
- ],
13
- {
14
- variants: {
15
- invalid: {
16
- true: ["text-error-500 border-error-500", "hover:border-error-400", "focus:text-gray-100"],
17
- false: ["border-gray-350 text-gray-100", "hover:border-primary-500"]
18
- }
19
- },
20
- defaultVariants: {
21
- invalid: false
22
- }
23
- }
24
- );
25
- function Textarea({ invalid = false, ...props }) {
26
- const textareaStyles = textareaCva({ invalid });
27
- return /* @__PURE__ */ jsxRuntime.jsx("textarea", { "aria-invalid": invalid || void 0, className: textareaStyles, ...props });
28
- }
29
-
30
- exports.Textarea = Textarea;
@@ -1,28 +0,0 @@
1
- import { cva } from 'class-variance-authority';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- var textareaCva = cva(
5
- [
6
- "bg-app-primary font-poppins text-body-2 h-28 min-h-10 w-full appearance-none border px-3 py-2 outline-0 transition-colors duration-300 ease-in-out placeholder:select-none placeholder:text-gray-200",
7
- "focus:border-primary-400",
8
- "active:border-primary-400",
9
- "disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"
10
- ],
11
- {
12
- variants: {
13
- invalid: {
14
- true: ["text-error-500 border-error-500", "hover:border-error-400", "focus:text-gray-100"],
15
- false: ["border-gray-350 text-gray-100", "hover:border-primary-500"]
16
- }
17
- },
18
- defaultVariants: {
19
- invalid: false
20
- }
21
- }
22
- );
23
- function Textarea({ invalid = false, ...props }) {
24
- const textareaStyles = textareaCva({ invalid });
25
- return /* @__PURE__ */ jsx("textarea", { "aria-invalid": invalid || void 0, className: textareaStyles, ...props });
26
- }
27
-
28
- export { Textarea };