@szum-tech/design-system 2.1.1 → 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.
- package/dist/{chunk-5ENMEB5L.cjs → chunk-25X5IOB3.cjs} +6 -6
- package/dist/{chunk-LI7IHIOM.cjs → chunk-3DSBDIFJ.cjs} +6 -6
- package/dist/chunk-3PV6NLP5.js +31 -0
- package/dist/{chunk-KPB3CBHE.cjs → chunk-4NO6IM75.cjs} +2 -2
- package/dist/{chunk-5EN2HNFU.js → chunk-5MJPZUTO.js} +7 -19
- package/dist/{chunk-WTVBTZ3P.js → chunk-5PBHBOXI.js} +1 -1
- package/dist/{chunk-TD2KDWNP.js → chunk-5U55UIDY.js} +9 -16
- package/dist/chunk-6L3QPLRR.cjs +33 -0
- package/dist/{chunk-463KEXY6.cjs → chunk-6VVDXGYO.cjs} +16 -19
- package/dist/{chunk-VQMM75HD.cjs → chunk-6YLG3PWU.cjs} +9 -16
- package/dist/{chunk-IFBQNWVG.js → chunk-75T7KAAY.js} +7 -7
- package/dist/{chunk-AO4TMCYJ.js → chunk-CLBOIGDQ.js} +2 -2
- package/dist/{chunk-PB3EGVTV.cjs → chunk-CN3NQLTK.cjs} +5 -5
- package/dist/{chunk-HFHADY43.js → chunk-EU7G37IS.js} +2 -2
- package/dist/{chunk-XGA2F5GG.cjs → chunk-FPK72OV4.cjs} +7 -7
- package/dist/{chunk-LND2W67K.cjs → chunk-FVSO3RHT.cjs} +2 -3
- package/dist/{chunk-4YZSPNLW.cjs → chunk-GR37JJQK.cjs} +3 -3
- package/dist/{chunk-HXC3EALP.js → chunk-HJJPEVIH.js} +3 -3
- package/dist/{chunk-J56UDYA3.js → chunk-IV5F734M.js} +16 -19
- package/dist/{chunk-YXTTED5V.cjs → chunk-P4J2TTH7.cjs} +1 -1
- package/dist/{chunk-RF5YR553.cjs → chunk-Q2IKZZ3U.cjs} +1 -1
- package/dist/{chunk-QRSQCHBO.cjs → chunk-QQ7CBNSR.cjs} +14 -11
- package/dist/{chunk-J264N6AZ.js → chunk-RXYZURP4.js} +1 -1
- package/dist/{chunk-V4POHGAW.cjs → chunk-TMXVL5CV.cjs} +7 -19
- package/dist/{chunk-YHU2OW52.js → chunk-UW6GOD7J.js} +1 -1
- package/dist/{chunk-XPM62WMM.js → chunk-V5OVQTDR.js} +6 -6
- package/dist/{chunk-US32J7DK.js → chunk-VZKTT6CG.js} +2 -3
- package/dist/{chunk-HIWVHD4V.js → chunk-WIOOP3VE.js} +14 -11
- package/dist/{chunk-C5YRMEKV.js → chunk-XDTI4DFM.js} +6 -6
- package/dist/{chunk-VFRIU5CV.cjs → chunk-YWG7TML6.cjs} +1 -1
- package/dist/components/alert-dialog/index.cjs +10 -10
- package/dist/components/alert-dialog/index.d.cts +5 -5
- package/dist/components/alert-dialog/index.d.ts +5 -5
- package/dist/components/alert-dialog/index.js +1 -1
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/avatar/index.d.cts +2 -2
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/button/index.cjs +2 -2
- package/dist/components/button/index.d.cts +2 -2
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/index.cjs +8 -7
- package/dist/components/card/index.js +2 -1
- package/dist/components/dialog/index.cjs +10 -9
- package/dist/components/dialog/index.d.cts +2 -2
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/index.js +2 -1
- package/dist/components/form/index.cjs +23 -23
- package/dist/components/form/index.js +16 -16
- package/dist/components/header/index.cjs +2 -2
- package/dist/components/header/index.js +1 -1
- package/dist/components/helper-text/index.cjs +2 -2
- package/dist/components/helper-text/index.d.cts +2 -2
- package/dist/components/helper-text/index.d.ts +2 -2
- package/dist/components/helper-text/index.js +1 -1
- package/dist/components/index.cjs +68 -68
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +16 -16
- package/dist/components/input/index.cjs +2 -2
- package/dist/components/input/index.js +1 -1
- package/dist/components/label/index.cjs +3 -2
- package/dist/components/label/index.js +2 -1
- package/dist/components/select/index.cjs +4 -3
- package/dist/components/select/index.d.cts +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.js +2 -1
- package/dist/components/separator/index.cjs +2 -2
- package/dist/components/separator/index.js +1 -1
- package/dist/components/sheet/index.cjs +10 -9
- package/dist/components/sheet/index.d.cts +2 -2
- package/dist/components/sheet/index.d.ts +2 -2
- package/dist/components/sheet/index.js +2 -1
- package/dist/components/textarea/index.cjs +2 -2
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/tooltip/index.cjs +3 -3
- package/dist/components/tooltip/index.d.cts +2 -4
- package/dist/components/tooltip/index.d.ts +2 -4
- package/dist/components/tooltip/index.js +1 -1
- package/package.json +15 -14
- package/tailwind/palette.css +131 -113
- package/dist/chunk-N7DXGCBJ.cjs +0 -31
- package/dist/chunk-UZBZFCWX.js +0 -29
package/tailwind/palette.css
CHANGED
|
@@ -1,142 +1,160 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
|
-
--primary-50: oklch(
|
|
5
|
-
--primary-100: oklch(
|
|
6
|
-
--primary-200: oklch(
|
|
7
|
-
--primary-300: oklch(
|
|
8
|
-
--primary-400: oklch(
|
|
9
|
-
--primary-500: oklch(62.57% 0.
|
|
10
|
-
--primary-600: oklch(
|
|
11
|
-
--primary-700: oklch(
|
|
12
|
-
--primary-800: oklch(
|
|
13
|
-
--primary-900: oklch(
|
|
14
|
-
--primary-950: oklch(
|
|
15
|
-
|
|
16
|
-
--success-50: oklch(97.
|
|
17
|
-
--success-100: oklch(94.33% 0.
|
|
18
|
-
--success-200: oklch(
|
|
19
|
-
--success-300: oklch(
|
|
20
|
-
--success-400: oklch(
|
|
21
|
-
--success-500: oklch(68.58% 0.
|
|
22
|
-
--success-600: oklch(
|
|
23
|
-
--success-700: oklch(
|
|
24
|
-
--success-800: oklch(
|
|
25
|
-
--success-900: oklch(
|
|
26
|
-
--success-950: oklch(
|
|
27
|
-
|
|
28
|
-
--warning-50: oklch(
|
|
29
|
-
--warning-100: oklch(
|
|
30
|
-
--warning-200: oklch(
|
|
31
|
-
--warning-300: oklch(
|
|
32
|
-
--warning-400: oklch(
|
|
33
|
-
--warning-500: oklch(73.3% 0.
|
|
34
|
-
--warning-600: oklch(
|
|
35
|
-
--warning-700: oklch(
|
|
36
|
-
--warning-800: oklch(
|
|
37
|
-
--warning-900: oklch(
|
|
38
|
-
--warning-950: oklch(
|
|
39
|
-
|
|
40
|
-
--error-50: oklch(
|
|
41
|
-
--error-100: oklch(
|
|
42
|
-
--error-200: oklch(
|
|
43
|
-
--error-300: oklch(
|
|
44
|
-
--error-400: oklch(
|
|
45
|
-
--error-500: oklch(60.48% 0.
|
|
46
|
-
--error-600: oklch(
|
|
47
|
-
--error-700: oklch(
|
|
48
|
-
--error-800: oklch(
|
|
49
|
-
--error-900: oklch(
|
|
50
|
-
--error-950: oklch(
|
|
51
|
-
|
|
52
|
-
--gray-
|
|
53
|
-
--gray-
|
|
54
|
-
--gray-
|
|
55
|
-
--gray-
|
|
56
|
-
--gray-400: oklch(
|
|
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.
|
|
62
|
-
--background-color-success: oklch(68.58% 0.
|
|
63
|
-
--background-color-warning: oklch(73.3% 0.
|
|
64
|
-
--background-color-error: oklch(60.48% 0.
|
|
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.
|
|
69
|
-
--primary-100: oklch(92.32% 0.
|
|
70
|
-
--primary-200: oklch(84.85% 0.
|
|
71
|
-
--primary-300: oklch(77.52% 0.
|
|
72
|
-
--primary-400: oklch(70.34% 0.
|
|
73
|
-
--primary-500: oklch(64.88% 0.
|
|
74
|
-
--primary-600: oklch(55.7% 0.
|
|
75
|
-
--primary-700: oklch(46.13% 0.
|
|
76
|
-
--primary-800: oklch(34.89% 0.
|
|
77
|
-
--primary-900: oklch(22.66% 0.
|
|
78
|
-
--primary-950: oklch(15.2% 0.
|
|
79
|
-
|
|
80
|
-
--success-50: oklch(96.87% 0.
|
|
81
|
-
--success-100: oklch(94.27% 0.
|
|
82
|
-
--success-200: oklch(89.38% 0.124 152.45);
|
|
83
|
-
--success-300: oklch(85.13% 0.
|
|
84
|
-
--success-400: oklch(81.67% 0.
|
|
85
|
-
--success-500: oklch(73.48% 0.
|
|
86
|
-
--success-600: oklch(61.63% 0.
|
|
87
|
-
--success-700: oklch(51.25% 0.
|
|
88
|
-
--success-800: oklch(38.43% 0.107 147.47);
|
|
89
|
-
--success-900: oklch(24.8% 0.
|
|
90
|
-
--success-950: oklch(16.24% 0.
|
|
91
|
-
|
|
92
|
-
--warning-50: oklch(97.72% 0.
|
|
93
|
-
--warning-100: oklch(95.44% 0.
|
|
94
|
-
--warning-200: oklch(90.87% 0.
|
|
95
|
-
--warning-300: oklch(86.27% 0.
|
|
96
|
-
--warning-400: oklch(82.23% 0.
|
|
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.
|
|
99
|
-
--warning-700: oklch(57.81% 0.
|
|
100
|
-
--warning-800: oklch(44.08% 0.
|
|
101
|
-
--warning-900: oklch(28.11% 0.062 67.17);
|
|
102
|
-
--warning-950: oklch(19.24% 0.
|
|
103
|
-
|
|
104
|
-
--error-50: oklch(95.52% 0.
|
|
105
|
-
--error-100: oklch(91.33% 0.
|
|
106
|
-
--error-200: oklch(83.13% 0.
|
|
107
|
-
--error-300: oklch(76.23% 0.
|
|
108
|
-
--error-400: oklch(69.7% 0.
|
|
109
|
-
--error-500: oklch(64.72% 0.
|
|
110
|
-
--error-600: oklch(60.2% 0.
|
|
111
|
-
--error-700: oklch(48.81% 0.
|
|
112
|
-
--error-800: oklch(35.63% 0.
|
|
113
|
-
--error-900: oklch(22.44% 0.
|
|
114
|
-
--error-950: oklch(14.85% 0.
|
|
115
|
-
|
|
116
|
-
--gray-
|
|
117
|
-
--gray-
|
|
118
|
-
--gray-
|
|
119
|
-
--gray-
|
|
120
|
-
--gray-400: oklch(
|
|
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.
|
|
126
|
-
--background-color-success: oklch(73.48% 0.
|
|
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.
|
|
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);
|
package/dist/chunk-N7DXGCBJ.cjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var classVarianceAuthority = require('class-variance-authority');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
|
|
6
|
-
// src/components/textarea/Textarea.styles.tsx
|
|
7
|
-
var textareaCva = classVarianceAuthority.cva(
|
|
8
|
-
[
|
|
9
|
-
"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",
|
|
10
|
-
"focus:border-primary-400",
|
|
11
|
-
"active:border-primary-400",
|
|
12
|
-
"disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"
|
|
13
|
-
],
|
|
14
|
-
{
|
|
15
|
-
variants: {
|
|
16
|
-
invalid: {
|
|
17
|
-
true: ["text-error-500 border-error-500", "hover:border-error-400", "focus:text-gray-100"],
|
|
18
|
-
false: ["border-gray-350 text-gray-100", "hover:border-primary-500"]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
defaultVariants: {
|
|
22
|
-
invalid: false
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
function Textarea({ invalid = false, ...props }) {
|
|
27
|
-
const textareaStyles = textareaCva({ invalid });
|
|
28
|
-
return /* @__PURE__ */ jsxRuntime.jsx("textarea", { "aria-invalid": invalid || void 0, className: textareaStyles, ...props });
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.Textarea = Textarea;
|
package/dist/chunk-UZBZFCWX.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { cva } from 'class-variance-authority';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
// src/components/textarea/Textarea.styles.tsx
|
|
5
|
-
var textareaCva = cva(
|
|
6
|
-
[
|
|
7
|
-
"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",
|
|
8
|
-
"focus:border-primary-400",
|
|
9
|
-
"active:border-primary-400",
|
|
10
|
-
"disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"
|
|
11
|
-
],
|
|
12
|
-
{
|
|
13
|
-
variants: {
|
|
14
|
-
invalid: {
|
|
15
|
-
true: ["text-error-500 border-error-500", "hover:border-error-400", "focus:text-gray-100"],
|
|
16
|
-
false: ["border-gray-350 text-gray-100", "hover:border-primary-500"]
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
defaultVariants: {
|
|
20
|
-
invalid: false
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
function Textarea({ invalid = false, ...props }) {
|
|
25
|
-
const textareaStyles = textareaCva({ invalid });
|
|
26
|
-
return /* @__PURE__ */ jsx("textarea", { "aria-invalid": invalid || void 0, className: textareaStyles, ...props });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { Textarea };
|