@deepnoid/ui 0.1.0 → 0.1.1
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/.turbo/turbo-build.log +168 -168
- package/dist/{chunk-VWMXZUR2.mjs → chunk-2TJDQIKB.mjs} +1 -1
- package/dist/{chunk-IE2BRM7Z.mjs → chunk-2ZT6V4QR.mjs} +0 -9
- package/dist/{chunk-PKVQXVCS.mjs → chunk-56VCX2QR.mjs} +1 -1
- package/dist/{chunk-UAMIPCUD.mjs → chunk-AMA53H3C.mjs} +2 -2
- package/dist/{chunk-MW6Y3FSE.mjs → chunk-AYWI2CRE.mjs} +2 -2
- package/dist/{chunk-XAA5KY6A.mjs → chunk-CF6O6TCF.mjs} +1 -1
- package/dist/chunk-DUOYMLZL.mjs +283 -0
- package/dist/{chunk-QNA2GDTN.mjs → chunk-GLBASISV.mjs} +1 -1
- package/dist/{chunk-QJHZJRSQ.mjs → chunk-HKXUNG3H.mjs} +1 -1
- package/dist/{chunk-XTGRSVYO.mjs → chunk-J5WJD6XZ.mjs} +1 -1
- package/dist/chunk-M2IRRTFM.mjs +79 -0
- package/dist/{chunk-Q5WACGVP.mjs → chunk-N4F3R6HG.mjs} +1 -1
- package/dist/{chunk-WQBOPCH6.mjs → chunk-ON5SGXHZ.mjs} +1 -1
- package/dist/chunk-OQS4LGZK.mjs +27 -0
- package/dist/{chunk-KCYJYS66.mjs → chunk-RCU5MLBU.mjs} +1 -1
- package/dist/chunk-RT5NKQX4.mjs +285 -0
- package/dist/{chunk-X2MQCISM.mjs → chunk-S65S7QZ5.mjs} +1 -1
- package/dist/chunk-SPX2BHO2.mjs +314 -0
- package/dist/{chunk-3AMZ55Y6.mjs → chunk-SSEQSF5F.mjs} +3 -3
- package/dist/{chunk-RRL6KBU4.mjs → chunk-U2YKMXVG.mjs} +1 -1
- package/dist/{chunk-VBFXKJTI.mjs → chunk-VRGHUYRU.mjs} +2 -2
- package/dist/{chunk-5S4XGPBB.mjs → chunk-VVOOYDJS.mjs} +1 -1
- package/dist/{chunk-FYJZ7Q5L.mjs → chunk-XIHAABHB.mjs} +1 -1
- package/dist/{chunk-CATOSBI7.mjs → chunk-YCMZELLD.mjs} +2 -2
- package/dist/{chunk-2HSK6XGZ.mjs → chunk-YZNQ2QGK.mjs} +1 -1
- package/dist/{chunk-P5WT7WJO.mjs → chunk-ZEZ6ZA3N.mjs} +1 -1
- package/dist/components/avatar/avatar.js +0 -9
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +0 -9
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/backdrop/backdrop.js +0 -9
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +0 -9
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +0 -9
- package/dist/components/breadcrumb/breadcrumb.mjs +2 -2
- package/dist/components/breadcrumb/index.js +0 -9
- package/dist/components/breadcrumb/index.mjs +2 -2
- package/dist/components/button/button-group.js +0 -9
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.js +0 -9
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/index.js +0 -9
- package/dist/components/button/index.mjs +3 -3
- package/dist/components/checkbox/checkbox.js +0 -9
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +0 -9
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.js +0 -9
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.js +0 -9
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.js +0 -9
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.js +0 -9
- package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
- package/dist/components/dateTimePicker/index.js +0 -9
- package/dist/components/dateTimePicker/index.mjs +7 -7
- package/dist/components/dateTimePicker/timePicker.js +0 -9
- package/dist/components/dateTimePicker/timePicker.mjs +5 -5
- package/dist/components/input/index.d.mts +1 -1
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/index.js +429 -379
- package/dist/components/input/index.mjs +3 -2
- package/dist/components/input/input.d.mts +96 -81
- package/dist/components/input/input.d.ts +96 -81
- package/dist/components/input/input.js +429 -379
- package/dist/components/input/input.mjs +3 -2
- package/dist/components/list/index.js +0 -9
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/list.js +0 -9
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +0 -9
- package/dist/components/list/listItem.mjs +3 -3
- package/dist/components/modal/index.js +0 -9
- package/dist/components/modal/index.mjs +4 -4
- package/dist/components/modal/modal.js +0 -9
- package/dist/components/modal/modal.mjs +4 -4
- package/dist/components/pagination/index.d.mts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.js +320 -292
- package/dist/components/pagination/index.mjs +5 -4
- package/dist/components/pagination/pagination.d.mts +39 -95
- package/dist/components/pagination/pagination.d.ts +39 -95
- package/dist/components/pagination/pagination.js +322 -296
- package/dist/components/pagination/pagination.mjs +7 -8
- package/dist/components/radio/index.js +0 -9
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.js +0 -9
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.js +0 -9
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/option.js +0 -9
- package/dist/components/select/option.mjs +2 -2
- package/dist/components/select/select.js +0 -9
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/table/index.js +1193 -775
- package/dist/components/table/index.mjs +10 -5
- package/dist/components/table/table-body.d.mts +10 -16
- package/dist/components/table/table-body.d.ts +10 -16
- package/dist/components/table/table-body.js +54 -3792
- package/dist/components/table/table-body.mjs +3 -6
- package/dist/components/table/table-head.d.mts +4 -6
- package/dist/components/table/table-head.d.ts +4 -6
- package/dist/components/table/table-head.js +6 -44
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.d.mts +91 -231
- package/dist/components/table/table.d.ts +91 -231
- package/dist/components/table/table.js +1193 -775
- package/dist/components/table/table.mjs +10 -5
- package/dist/components/tabs/index.js +0 -9
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +0 -9
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.js +0 -9
- package/dist/components/toast/index.mjs +3 -3
- package/dist/components/toast/toast.js +0 -9
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.js +0 -9
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.js +0 -9
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +0 -9
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/index.js +822 -958
- package/dist/index.mjs +46 -46
- package/dist/utils/tailwind-variants.js +0 -9
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5IQKKLZY.mjs +0 -139
- package/dist/chunk-PFYYYUJW.mjs +0 -56
- package/dist/chunk-RQ76IOYC.mjs +0 -300
- package/dist/chunk-SK2A72R2.mjs +0 -263
- package/dist/chunk-YGOEKSNZ.mjs +0 -345
|
@@ -108,252 +108,6 @@ __export(input_exports, {
|
|
|
108
108
|
module.exports = __toCommonJS(input_exports);
|
|
109
109
|
var import_react = __toESM(require("react"));
|
|
110
110
|
|
|
111
|
-
// src/utils/tailwind-variants.ts
|
|
112
|
-
var import_tailwind_variants = require("tailwind-variants");
|
|
113
|
-
|
|
114
|
-
// ../tailwind-config/src/plugin.ts
|
|
115
|
-
var import_plugin = __toESM(require_plugin());
|
|
116
|
-
|
|
117
|
-
// ../tailwind-config/src/typography/font.ts
|
|
118
|
-
var fontSize = {
|
|
119
|
-
h1: [
|
|
120
|
-
"40px",
|
|
121
|
-
{
|
|
122
|
-
letterSpacing: "-2%",
|
|
123
|
-
fontWeight: "700"
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
h2: [
|
|
127
|
-
"34px",
|
|
128
|
-
{
|
|
129
|
-
letterSpacing: "-2%",
|
|
130
|
-
fontWeight: "700"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
h3: [
|
|
134
|
-
"28px",
|
|
135
|
-
{
|
|
136
|
-
letterSpacing: "-2%",
|
|
137
|
-
fontWeight: "700"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
h4: [
|
|
141
|
-
"24px",
|
|
142
|
-
{
|
|
143
|
-
letterSpacing: "-2%",
|
|
144
|
-
fontWeight: "700"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
h5: [
|
|
148
|
-
"20px",
|
|
149
|
-
{
|
|
150
|
-
letterSpacing: "-2%",
|
|
151
|
-
fontWeight: "600"
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
sm: [
|
|
155
|
-
"12px",
|
|
156
|
-
{
|
|
157
|
-
lineHeight: "18px",
|
|
158
|
-
letterSpacing: "-2%",
|
|
159
|
-
fontWeight: "400"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
md: [
|
|
163
|
-
"14px",
|
|
164
|
-
{
|
|
165
|
-
lineHeight: "21px",
|
|
166
|
-
letterSpacing: "-2%",
|
|
167
|
-
fontWeight: "400"
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
lg: [
|
|
171
|
-
"16px",
|
|
172
|
-
{
|
|
173
|
-
lineHeight: "24px",
|
|
174
|
-
letterSpacing: "-2%",
|
|
175
|
-
fontWeight: "400"
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
xl: [
|
|
179
|
-
"18px",
|
|
180
|
-
{
|
|
181
|
-
lineHeight: "27px",
|
|
182
|
-
letterSpacing: "-2%",
|
|
183
|
-
fontWeight: "400"
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
// ../tailwind-config/src/animation/slide.ts
|
|
189
|
-
var sliceAnimation = {
|
|
190
|
-
slideInFromTop: "slideInFromTop 0.5s ease-out",
|
|
191
|
-
slideInFromBottom: "slideInFromBottom 0.5s ease-out",
|
|
192
|
-
slideInFromLeft: "slideInFromLeft 0.5s ease-out",
|
|
193
|
-
slideInFromRight: "slideInFromRight 0.5s ease-out",
|
|
194
|
-
slideOutToTop: "slideOutToTop 0.5s ease-in",
|
|
195
|
-
slideOutToBottom: "slideOutToBottom 0.5s ease-in",
|
|
196
|
-
slideOutToLeft: "slideOutToLeft 0.5s ease-in",
|
|
197
|
-
slideOutToRight: "slideOutToRight 0.5s ease-in"
|
|
198
|
-
};
|
|
199
|
-
var sliceKeyframe = {
|
|
200
|
-
slideInFromTop: {
|
|
201
|
-
"0%": {
|
|
202
|
-
transform: "translateY(-10px)",
|
|
203
|
-
opacity: "0"
|
|
204
|
-
},
|
|
205
|
-
"100%": {
|
|
206
|
-
transform: "translateY(0)",
|
|
207
|
-
opacity: "1"
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
slideInFromBottom: {
|
|
211
|
-
"0%": {
|
|
212
|
-
transform: "translateY(10px)",
|
|
213
|
-
opacity: "0"
|
|
214
|
-
},
|
|
215
|
-
"100%": {
|
|
216
|
-
transform: "translateY(0)",
|
|
217
|
-
opacity: "1"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
slideInFromLeft: {
|
|
221
|
-
"0%": {
|
|
222
|
-
transform: "translateX(-10px)",
|
|
223
|
-
opacity: "0"
|
|
224
|
-
},
|
|
225
|
-
"100%": {
|
|
226
|
-
transform: "translateX(0)",
|
|
227
|
-
opacity: "1"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
slideInFromRight: {
|
|
231
|
-
"0%": {
|
|
232
|
-
transform: "translateX(10px)",
|
|
233
|
-
opacity: "0"
|
|
234
|
-
},
|
|
235
|
-
"100%": {
|
|
236
|
-
transform: "translateX(0)",
|
|
237
|
-
opacity: "1"
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
slideOutToTop: {
|
|
241
|
-
"0%": {
|
|
242
|
-
transform: "translateY(0)",
|
|
243
|
-
opacity: "1"
|
|
244
|
-
},
|
|
245
|
-
"100%": {
|
|
246
|
-
transform: "translateY(-10px)",
|
|
247
|
-
opacity: "0"
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
slideOutToBottom: {
|
|
251
|
-
"0%": {
|
|
252
|
-
transform: "translateY(0)",
|
|
253
|
-
opacity: "1"
|
|
254
|
-
},
|
|
255
|
-
"100%": {
|
|
256
|
-
transform: "translateY(10px)",
|
|
257
|
-
opacity: "0"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
slideOutToLeft: {
|
|
261
|
-
"0%": {
|
|
262
|
-
transform: "translateX(0)",
|
|
263
|
-
opacity: "1"
|
|
264
|
-
},
|
|
265
|
-
"100%": {
|
|
266
|
-
transform: "translateX(-10px)",
|
|
267
|
-
opacity: "0"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
slideOutToRight: {
|
|
271
|
-
"0%": {
|
|
272
|
-
transform: "translateX(0)",
|
|
273
|
-
opacity: "1"
|
|
274
|
-
},
|
|
275
|
-
"100%": {
|
|
276
|
-
transform: "translateX(10px)",
|
|
277
|
-
opacity: "0"
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
|
|
282
|
-
// ../tailwind-config/src/animation/index.ts
|
|
283
|
-
var animation = { ...sliceAnimation };
|
|
284
|
-
var keyframes = { ...sliceKeyframe };
|
|
285
|
-
|
|
286
|
-
// ../tailwind-config/src/shadow/index.ts
|
|
287
|
-
var boxShadow = {
|
|
288
|
-
"border-1": "inner 0 0 0 1px inset",
|
|
289
|
-
"border-2": "inner 0 0 0 2px inset",
|
|
290
|
-
"border-3": "inner 0 0 0 3px inset",
|
|
291
|
-
"border-4": "inner 0 0 0 4px inset",
|
|
292
|
-
"border-5": "inner 0 0 0 5px inset",
|
|
293
|
-
"border-6": "inner 0 0 0 6px inset",
|
|
294
|
-
"border-7": "inner 0 0 0 7px inset",
|
|
295
|
-
"border-8": "inner 0 0 0 8px inset",
|
|
296
|
-
"border-9": "inner 0 0 0 9px inset",
|
|
297
|
-
"border-10": "inner 0 0 0 10px inset",
|
|
298
|
-
inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
|
|
299
|
-
drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
// ../tailwind-config/src/border/radius.ts
|
|
303
|
-
var borderRadius = {
|
|
304
|
-
sm: "4px",
|
|
305
|
-
md: "6px",
|
|
306
|
-
lg: "8px",
|
|
307
|
-
xl: "10px",
|
|
308
|
-
none: "0",
|
|
309
|
-
full: "9999px"
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
// ../tailwind-config/src/space/gap.ts
|
|
313
|
-
var gap = {
|
|
314
|
-
sm: "4px",
|
|
315
|
-
md: "6px",
|
|
316
|
-
lg: "8px",
|
|
317
|
-
xl: "10px"
|
|
318
|
-
};
|
|
319
|
-
|
|
320
|
-
// src/utils/tailwind-variants.ts
|
|
321
|
-
function typedKeys(obj) {
|
|
322
|
-
return Object.keys(obj);
|
|
323
|
-
}
|
|
324
|
-
var COMMON_SIZE = ["sm", "md", "lg", "xl"];
|
|
325
|
-
var tv = (0, import_tailwind_variants.createTV)({
|
|
326
|
-
twMergeConfig: {
|
|
327
|
-
classGroups: {
|
|
328
|
-
fontSize: [{ text: [...typedKeys(fontSize)] }],
|
|
329
|
-
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
330
|
-
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
331
|
-
padding: [{ p: [...COMMON_SIZE] }],
|
|
332
|
-
gap: [{ gap: [...typedKeys(gap)] }]
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
});
|
|
336
|
-
|
|
337
|
-
// src/utils/props.ts
|
|
338
|
-
var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
339
|
-
if (!variantKeys) {
|
|
340
|
-
return [props, {}];
|
|
341
|
-
}
|
|
342
|
-
const picked = variantKeys.reduce((acc, key) => {
|
|
343
|
-
if (key in props) {
|
|
344
|
-
return { ...acc, [key]: props[key] };
|
|
345
|
-
} else {
|
|
346
|
-
return acc;
|
|
347
|
-
}
|
|
348
|
-
}, {});
|
|
349
|
-
if (removeVariantProps) {
|
|
350
|
-
const omitted = Object.keys(props).filter((key) => !variantKeys.includes(key)).reduce((acc, key) => ({ ...acc, [key]: props[key] }), {});
|
|
351
|
-
return [omitted, picked];
|
|
352
|
-
} else {
|
|
353
|
-
return [props, picked];
|
|
354
|
-
}
|
|
355
|
-
};
|
|
356
|
-
|
|
357
111
|
// src/components/icon/template.tsx
|
|
358
112
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
359
113
|
var template = {
|
|
@@ -4026,46 +3780,290 @@ var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) =
|
|
|
4026
3780
|
};
|
|
4027
3781
|
var Icon_default = Icon;
|
|
4028
3782
|
|
|
4029
|
-
// src/
|
|
4030
|
-
var
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
3783
|
+
// src/utils/tailwind-variants.ts
|
|
3784
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
3785
|
+
|
|
3786
|
+
// ../tailwind-config/src/plugin.ts
|
|
3787
|
+
var import_plugin = __toESM(require_plugin());
|
|
3788
|
+
|
|
3789
|
+
// ../tailwind-config/src/typography/font.ts
|
|
3790
|
+
var fontSize = {
|
|
3791
|
+
h1: [
|
|
3792
|
+
"40px",
|
|
3793
|
+
{
|
|
3794
|
+
fontWeight: "700"
|
|
3795
|
+
}
|
|
3796
|
+
],
|
|
3797
|
+
h2: [
|
|
3798
|
+
"34px",
|
|
3799
|
+
{
|
|
3800
|
+
fontWeight: "700"
|
|
3801
|
+
}
|
|
3802
|
+
],
|
|
3803
|
+
h3: [
|
|
3804
|
+
"28px",
|
|
3805
|
+
{
|
|
3806
|
+
fontWeight: "700"
|
|
3807
|
+
}
|
|
3808
|
+
],
|
|
3809
|
+
h4: [
|
|
3810
|
+
"24px",
|
|
3811
|
+
{
|
|
3812
|
+
fontWeight: "700"
|
|
3813
|
+
}
|
|
3814
|
+
],
|
|
3815
|
+
h5: [
|
|
3816
|
+
"20px",
|
|
3817
|
+
{
|
|
3818
|
+
fontWeight: "600"
|
|
3819
|
+
}
|
|
3820
|
+
],
|
|
3821
|
+
sm: [
|
|
3822
|
+
"12px",
|
|
3823
|
+
{
|
|
3824
|
+
lineHeight: "18px",
|
|
3825
|
+
fontWeight: "400"
|
|
3826
|
+
}
|
|
3827
|
+
],
|
|
3828
|
+
md: [
|
|
3829
|
+
"14px",
|
|
3830
|
+
{
|
|
3831
|
+
lineHeight: "21px",
|
|
3832
|
+
fontWeight: "400"
|
|
3833
|
+
}
|
|
3834
|
+
],
|
|
3835
|
+
lg: [
|
|
3836
|
+
"16px",
|
|
3837
|
+
{
|
|
3838
|
+
lineHeight: "24px",
|
|
3839
|
+
fontWeight: "400"
|
|
3840
|
+
}
|
|
3841
|
+
],
|
|
3842
|
+
xl: [
|
|
3843
|
+
"18px",
|
|
3844
|
+
{
|
|
3845
|
+
lineHeight: "27px",
|
|
3846
|
+
fontWeight: "400"
|
|
3847
|
+
}
|
|
3848
|
+
]
|
|
3849
|
+
};
|
|
3850
|
+
|
|
3851
|
+
// ../tailwind-config/src/animation/slide.ts
|
|
3852
|
+
var sliceAnimation = {
|
|
3853
|
+
slideInFromTop: "slideInFromTop 0.5s ease-out",
|
|
3854
|
+
slideInFromBottom: "slideInFromBottom 0.5s ease-out",
|
|
3855
|
+
slideInFromLeft: "slideInFromLeft 0.5s ease-out",
|
|
3856
|
+
slideInFromRight: "slideInFromRight 0.5s ease-out",
|
|
3857
|
+
slideOutToTop: "slideOutToTop 0.5s ease-in",
|
|
3858
|
+
slideOutToBottom: "slideOutToBottom 0.5s ease-in",
|
|
3859
|
+
slideOutToLeft: "slideOutToLeft 0.5s ease-in",
|
|
3860
|
+
slideOutToRight: "slideOutToRight 0.5s ease-in"
|
|
3861
|
+
};
|
|
3862
|
+
var sliceKeyframe = {
|
|
3863
|
+
slideInFromTop: {
|
|
3864
|
+
"0%": {
|
|
3865
|
+
transform: "translateY(-10px)",
|
|
3866
|
+
opacity: "0"
|
|
3867
|
+
},
|
|
3868
|
+
"100%": {
|
|
3869
|
+
transform: "translateY(0)",
|
|
3870
|
+
opacity: "1"
|
|
3871
|
+
}
|
|
3872
|
+
},
|
|
3873
|
+
slideInFromBottom: {
|
|
3874
|
+
"0%": {
|
|
3875
|
+
transform: "translateY(10px)",
|
|
3876
|
+
opacity: "0"
|
|
3877
|
+
},
|
|
3878
|
+
"100%": {
|
|
3879
|
+
transform: "translateY(0)",
|
|
3880
|
+
opacity: "1"
|
|
3881
|
+
}
|
|
3882
|
+
},
|
|
3883
|
+
slideInFromLeft: {
|
|
3884
|
+
"0%": {
|
|
3885
|
+
transform: "translateX(-10px)",
|
|
3886
|
+
opacity: "0"
|
|
3887
|
+
},
|
|
3888
|
+
"100%": {
|
|
3889
|
+
transform: "translateX(0)",
|
|
3890
|
+
opacity: "1"
|
|
3891
|
+
}
|
|
3892
|
+
},
|
|
3893
|
+
slideInFromRight: {
|
|
3894
|
+
"0%": {
|
|
3895
|
+
transform: "translateX(10px)",
|
|
3896
|
+
opacity: "0"
|
|
3897
|
+
},
|
|
3898
|
+
"100%": {
|
|
3899
|
+
transform: "translateX(0)",
|
|
3900
|
+
opacity: "1"
|
|
3901
|
+
}
|
|
3902
|
+
},
|
|
3903
|
+
slideOutToTop: {
|
|
3904
|
+
"0%": {
|
|
3905
|
+
transform: "translateY(0)",
|
|
3906
|
+
opacity: "1"
|
|
3907
|
+
},
|
|
3908
|
+
"100%": {
|
|
3909
|
+
transform: "translateY(-10px)",
|
|
3910
|
+
opacity: "0"
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3913
|
+
slideOutToBottom: {
|
|
3914
|
+
"0%": {
|
|
3915
|
+
transform: "translateY(0)",
|
|
3916
|
+
opacity: "1"
|
|
3917
|
+
},
|
|
3918
|
+
"100%": {
|
|
3919
|
+
transform: "translateY(10px)",
|
|
3920
|
+
opacity: "0"
|
|
3921
|
+
}
|
|
3922
|
+
},
|
|
3923
|
+
slideOutToLeft: {
|
|
3924
|
+
"0%": {
|
|
3925
|
+
transform: "translateX(0)",
|
|
3926
|
+
opacity: "1"
|
|
3927
|
+
},
|
|
3928
|
+
"100%": {
|
|
3929
|
+
transform: "translateX(-10px)",
|
|
3930
|
+
opacity: "0"
|
|
3931
|
+
}
|
|
3932
|
+
},
|
|
3933
|
+
slideOutToRight: {
|
|
3934
|
+
"0%": {
|
|
3935
|
+
transform: "translateX(0)",
|
|
3936
|
+
opacity: "1"
|
|
3937
|
+
},
|
|
3938
|
+
"100%": {
|
|
3939
|
+
transform: "translateX(10px)",
|
|
3940
|
+
opacity: "0"
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
};
|
|
3944
|
+
|
|
3945
|
+
// ../tailwind-config/src/animation/index.ts
|
|
3946
|
+
var animation = { ...sliceAnimation };
|
|
3947
|
+
var keyframes = { ...sliceKeyframe };
|
|
3948
|
+
|
|
3949
|
+
// ../tailwind-config/src/shadow/index.ts
|
|
3950
|
+
var boxShadow = {
|
|
3951
|
+
"border-1": "inner 0 0 0 1px inset",
|
|
3952
|
+
"border-2": "inner 0 0 0 2px inset",
|
|
3953
|
+
"border-3": "inner 0 0 0 3px inset",
|
|
3954
|
+
"border-4": "inner 0 0 0 4px inset",
|
|
3955
|
+
"border-5": "inner 0 0 0 5px inset",
|
|
3956
|
+
"border-6": "inner 0 0 0 6px inset",
|
|
3957
|
+
"border-7": "inner 0 0 0 7px inset",
|
|
3958
|
+
"border-8": "inner 0 0 0 8px inset",
|
|
3959
|
+
"border-9": "inner 0 0 0 9px inset",
|
|
3960
|
+
"border-10": "inner 0 0 0 10px inset",
|
|
3961
|
+
inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
|
|
3962
|
+
drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
|
|
3963
|
+
};
|
|
3964
|
+
|
|
3965
|
+
// ../tailwind-config/src/border/radius.ts
|
|
3966
|
+
var borderRadius = {
|
|
3967
|
+
sm: "4px",
|
|
3968
|
+
md: "6px",
|
|
3969
|
+
lg: "8px",
|
|
3970
|
+
xl: "10px",
|
|
3971
|
+
none: "0",
|
|
3972
|
+
full: "9999px"
|
|
3973
|
+
};
|
|
3974
|
+
|
|
3975
|
+
// ../tailwind-config/src/space/gap.ts
|
|
3976
|
+
var gap = {
|
|
3977
|
+
sm: "4px",
|
|
3978
|
+
md: "6px",
|
|
3979
|
+
lg: "8px",
|
|
3980
|
+
xl: "10px"
|
|
3981
|
+
};
|
|
3982
|
+
|
|
3983
|
+
// src/utils/tailwind-variants.ts
|
|
3984
|
+
function typedKeys(obj) {
|
|
3985
|
+
return Object.keys(obj);
|
|
3986
|
+
}
|
|
3987
|
+
var COMMON_SIZE = ["sm", "md", "lg", "xl"];
|
|
3988
|
+
var tv = (0, import_tailwind_variants.createTV)({
|
|
3989
|
+
twMergeConfig: {
|
|
3990
|
+
classGroups: {
|
|
3991
|
+
fontSize: [{ text: [...typedKeys(fontSize)] }],
|
|
3992
|
+
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
3993
|
+
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
3994
|
+
padding: [{ p: [...COMMON_SIZE] }],
|
|
3995
|
+
gap: [{ gap: [...typedKeys(gap)] }]
|
|
3996
|
+
}
|
|
3997
|
+
}
|
|
3998
|
+
});
|
|
3999
|
+
|
|
4000
|
+
// src/utils/props.ts
|
|
4001
|
+
var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
4002
|
+
if (!variantKeys) {
|
|
4003
|
+
return [props, {}];
|
|
4004
|
+
}
|
|
4005
|
+
const picked = variantKeys.reduce((acc, key) => {
|
|
4006
|
+
if (key in props) {
|
|
4007
|
+
return { ...acc, [key]: props[key] };
|
|
4008
|
+
} else {
|
|
4009
|
+
return acc;
|
|
4010
|
+
}
|
|
4011
|
+
}, {});
|
|
4012
|
+
if (removeVariantProps) {
|
|
4013
|
+
const omitted = Object.keys(props).filter((key) => !variantKeys.includes(key)).reduce((acc, key) => ({ ...acc, [key]: props[key] }), {});
|
|
4014
|
+
return [omitted, picked];
|
|
4015
|
+
} else {
|
|
4016
|
+
return [props, picked];
|
|
4017
|
+
}
|
|
4018
|
+
};
|
|
4019
|
+
|
|
4020
|
+
// src/utils/clsx.ts
|
|
4021
|
+
function clsx(...args) {
|
|
4022
|
+
var i = 0, tmp, x, str = "";
|
|
4023
|
+
while (i < args.length) {
|
|
4024
|
+
if (tmp = args[i++]) {
|
|
4025
|
+
if (x = toVal(tmp)) {
|
|
4026
|
+
str && (str += " ");
|
|
4027
|
+
str += x;
|
|
4028
|
+
}
|
|
4029
|
+
}
|
|
4030
|
+
}
|
|
4031
|
+
return str;
|
|
4032
|
+
}
|
|
4033
|
+
function toVal(mix) {
|
|
4034
|
+
var k, y, str = "";
|
|
4035
|
+
if (typeof mix === "string" || typeof mix === "number") {
|
|
4036
|
+
str += mix;
|
|
4037
|
+
} else if (typeof mix === "object") {
|
|
4038
|
+
if (Array.isArray(mix)) {
|
|
4039
|
+
var len = mix.length;
|
|
4040
|
+
for (k = 0; k < len; k++) {
|
|
4041
|
+
if (mix[k]) {
|
|
4042
|
+
if (y = toVal(mix[k])) {
|
|
4043
|
+
str && (str += " ");
|
|
4044
|
+
str += y;
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4047
|
+
}
|
|
4048
|
+
} else {
|
|
4049
|
+
for (y in mix) {
|
|
4050
|
+
if (mix[y]) {
|
|
4051
|
+
str && (str += " ");
|
|
4052
|
+
str += y;
|
|
4053
|
+
}
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4056
|
+
}
|
|
4057
|
+
return str;
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
// src/components/input/input.tsx
|
|
4061
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
4062
|
+
var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
4063
|
+
const [props, variantProps] = mapPropsVariants(originalProps, inputStyle.variantKeys);
|
|
4064
|
+
const { classNames, label, helperText, errorText, startContent, endContent, ...inputProps } = props;
|
|
4065
|
+
const inputRef = (0, import_react.useRef)(null);
|
|
4066
|
+
const slots = (0, import_react.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
|
|
4069
4067
|
const getContentProps = (0, import_react.useCallback)(
|
|
4070
4068
|
() => ({
|
|
4071
4069
|
className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
|
|
@@ -4073,12 +4071,6 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4073
4071
|
}),
|
|
4074
4072
|
[slots, classNames, originalProps.size]
|
|
4075
4073
|
);
|
|
4076
|
-
const getErrorMessageProps = (0, import_react.useCallback)(
|
|
4077
|
-
() => ({
|
|
4078
|
-
className: slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })
|
|
4079
|
-
}),
|
|
4080
|
-
[slots, classNames]
|
|
4081
|
-
);
|
|
4082
4074
|
const renderStartContent = () => {
|
|
4083
4075
|
if (import_react.default.isValidElement(startContent)) {
|
|
4084
4076
|
const existingProps = startContent.props;
|
|
@@ -4112,7 +4104,7 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4112
4104
|
className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
|
|
4113
4105
|
};
|
|
4114
4106
|
return import_react.default.cloneElement(endContent, mergedProps);
|
|
4115
|
-
} else if (
|
|
4107
|
+
} else if (errorText) {
|
|
4116
4108
|
const iconProps = { ...getContentProps(), className: getContentProps().className };
|
|
4117
4109
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
|
|
4118
4110
|
} else {
|
|
@@ -4131,146 +4123,204 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4131
4123
|
return renderContentWithIcon();
|
|
4132
4124
|
}
|
|
4133
4125
|
};
|
|
4134
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4127
|
+
"div",
|
|
4128
|
+
{
|
|
4129
|
+
className: clsx(
|
|
4130
|
+
slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
4131
|
+
variantProps.direction === "vertical" ? slots.vertical({ class: classNames == null ? void 0 : classNames.vertical }) : slots.horizon({ class: classNames == null ? void 0 : classNames.horizon })
|
|
4132
|
+
),
|
|
4133
|
+
children: [
|
|
4134
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("label", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
4135
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.innerWrapper({ class: classNames == null ? void 0 : classNames.innerWrapper }), children: [
|
|
4136
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4137
|
+
"div",
|
|
4138
|
+
{
|
|
4139
|
+
className: clsx(
|
|
4140
|
+
slots.inputWrapper({ class: classNames == null ? void 0 : classNames.inputWrapper }),
|
|
4141
|
+
inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
|
|
4142
|
+
),
|
|
4143
|
+
children: [
|
|
4144
|
+
startContent && renderStartContent(),
|
|
4145
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("input", { ...inputProps, ref: ref || inputRef, className: slots.input({ class: classNames == null ? void 0 : classNames.input }), size: 0 }),
|
|
4146
|
+
renderEndContent()
|
|
4147
|
+
]
|
|
4148
|
+
}
|
|
4149
|
+
),
|
|
4150
|
+
helperText && !errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperText({ class: classNames == null ? void 0 : classNames.helperText }), children: helperText }),
|
|
4151
|
+
errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorText({ class: classNames == null ? void 0 : classNames.errorText })), children: errorText })
|
|
4152
|
+
] })
|
|
4153
|
+
]
|
|
4154
|
+
}
|
|
4155
|
+
);
|
|
4145
4156
|
});
|
|
4146
4157
|
Input.displayName = "Input";
|
|
4147
4158
|
var input_default = Input;
|
|
4148
4159
|
var inputStyle = tv({
|
|
4149
4160
|
slots: {
|
|
4150
|
-
base: ["group/input", "flex"
|
|
4151
|
-
|
|
4161
|
+
base: ["group/input", "flex"],
|
|
4162
|
+
vertical: ["flex-col"],
|
|
4163
|
+
horizon: ["flex-row", "gap-0"],
|
|
4164
|
+
label: ["flex", "items-center", "font-bold", "text-body-foreground", "w-[80px]"],
|
|
4152
4165
|
innerWrapper: ["flex", "flex-col"],
|
|
4153
|
-
inputWrapper: [
|
|
4166
|
+
inputWrapper: ["flex", "items-center", "transition", "duration-200", "group-has-[p.error]/input:bg-danger-soft"],
|
|
4167
|
+
input: [
|
|
4168
|
+
"w-full",
|
|
4169
|
+
"h-full",
|
|
4170
|
+
"bg-transparent",
|
|
4171
|
+
"text-neutral-main",
|
|
4172
|
+
"placeholder:text-neutral-main",
|
|
4173
|
+
"focus:outline-none",
|
|
4174
|
+
"focus:ring-0",
|
|
4175
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
4176
|
+
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
4177
|
+
"group-has-[:focus]/input:text-neutral-dark",
|
|
4178
|
+
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
4179
|
+
"group-has-[p.error]/input:text-danger-main",
|
|
4180
|
+
"group-has-[p.error]/input:placeholder:text-danger-main"
|
|
4181
|
+
],
|
|
4182
|
+
content: [
|
|
4154
4183
|
"flex",
|
|
4155
4184
|
"items-center",
|
|
4156
|
-
"
|
|
4157
|
-
"
|
|
4158
|
-
"group-has-[
|
|
4159
|
-
"group-has-[p]/input:
|
|
4185
|
+
"select-none",
|
|
4186
|
+
"text-neutral-main",
|
|
4187
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
4188
|
+
"group-has-[p.error]/input:text-danger-main"
|
|
4160
4189
|
],
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4190
|
+
helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
|
|
4191
|
+
errorText: ["text-danger-main"],
|
|
4192
|
+
readonly: ["pointer-events-none"]
|
|
4164
4193
|
},
|
|
4165
4194
|
variants: {
|
|
4166
4195
|
variant: {
|
|
4167
4196
|
solid: {
|
|
4168
|
-
inputWrapper: ["
|
|
4197
|
+
inputWrapper: ["!border-transparent", "bg-trans-soft", "group-has-[:focus]/input:text-body-foreground"],
|
|
4198
|
+
readonly: ["!bg-trans-light"]
|
|
4169
4199
|
},
|
|
4170
|
-
|
|
4200
|
+
outline: {
|
|
4171
4201
|
inputWrapper: [
|
|
4172
|
-
"
|
|
4173
|
-
"
|
|
4174
|
-
"
|
|
4175
|
-
"
|
|
4176
|
-
|
|
4177
|
-
]
|
|
4202
|
+
"border-neutral-light",
|
|
4203
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
4204
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
4205
|
+
"group-has-[p.error]/input:border-danger-main"
|
|
4206
|
+
],
|
|
4207
|
+
readonly: ["!bg-trans-soft"]
|
|
4178
4208
|
},
|
|
4179
|
-
|
|
4209
|
+
underline: {
|
|
4180
4210
|
inputWrapper: [
|
|
4181
4211
|
"bg-transparent",
|
|
4182
|
-
"border-b",
|
|
4183
|
-
"border-neutral-main",
|
|
4184
4212
|
"!rounded-none",
|
|
4185
|
-
"
|
|
4186
|
-
"
|
|
4187
|
-
|
|
4213
|
+
"!border-t-transparent",
|
|
4214
|
+
"!border-l-transparent",
|
|
4215
|
+
"!border-r-transparent",
|
|
4216
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
4217
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
4218
|
+
"group-has-[p.error]/input:border-danger-main"
|
|
4219
|
+
],
|
|
4220
|
+
readonly: ["!bg-trans-soft"]
|
|
4188
4221
|
}
|
|
4189
4222
|
},
|
|
4190
4223
|
color: {
|
|
4191
4224
|
primary: {
|
|
4192
|
-
|
|
4193
|
-
|
|
4225
|
+
content: [
|
|
4226
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
4227
|
+
"!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
|
|
4228
|
+
],
|
|
4229
|
+
helperText: [
|
|
4230
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
4231
|
+
"group-has-[:focus:hover]/input:text-primary-main",
|
|
4232
|
+
"group-has-[:focus]/input:hover:text-primary-main"
|
|
4233
|
+
]
|
|
4194
4234
|
},
|
|
4195
4235
|
secondary: {
|
|
4196
|
-
|
|
4197
|
-
|
|
4236
|
+
content: [
|
|
4237
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
4238
|
+
"!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
|
|
4239
|
+
],
|
|
4240
|
+
helperText: [
|
|
4241
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
4242
|
+
"group-has-[:focus:hover]/input:text-secondary-main",
|
|
4243
|
+
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
4244
|
+
]
|
|
4198
4245
|
}
|
|
4199
4246
|
},
|
|
4200
4247
|
size: {
|
|
4201
4248
|
sm: {
|
|
4202
|
-
base: ["text-sm", "gap-[
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4249
|
+
base: ["text-sm", "gap-[4px]"],
|
|
4250
|
+
label: ["text-sm"],
|
|
4251
|
+
innerWrapper: ["gap-[4px]"],
|
|
4252
|
+
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "border-sm"],
|
|
4253
|
+
helperText: ["text-sm"],
|
|
4254
|
+
errorText: ["text-sm"]
|
|
4206
4255
|
},
|
|
4207
4256
|
md: {
|
|
4208
|
-
base: ["text-md", "gap-[
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4257
|
+
base: ["text-md", "gap-[6px]"],
|
|
4258
|
+
label: ["text-md"],
|
|
4259
|
+
innerWrapper: ["gap-[6px]"],
|
|
4260
|
+
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "border-md"],
|
|
4261
|
+
helperText: ["text-sm"],
|
|
4262
|
+
errorText: ["text-sm"]
|
|
4212
4263
|
},
|
|
4213
4264
|
lg: {
|
|
4214
|
-
base: ["text-lg", "gap-[
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4265
|
+
base: ["text-lg", "gap-[8px]"],
|
|
4266
|
+
label: ["text-lg"],
|
|
4267
|
+
innerWrapper: ["gap-[8px]"],
|
|
4268
|
+
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "border-lg"],
|
|
4269
|
+
helperText: ["text-md"],
|
|
4270
|
+
errorText: ["text-md"]
|
|
4218
4271
|
},
|
|
4219
4272
|
xl: {
|
|
4220
4273
|
base: ["text-xl", "gap-[10px]"],
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4274
|
+
label: ["text-xl"],
|
|
4275
|
+
innerWrapper: ["gap-[10px]"],
|
|
4276
|
+
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "border-xl"],
|
|
4277
|
+
helperText: ["text-md"],
|
|
4278
|
+
errorText: ["text-md"]
|
|
4224
4279
|
}
|
|
4225
4280
|
},
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
inputWrapper: ["rounded-none"]
|
|
4230
|
-
},
|
|
4231
|
-
full: {
|
|
4232
|
-
inputWrapper: ["rounded-full"]
|
|
4233
|
-
}
|
|
4281
|
+
direction: {
|
|
4282
|
+
vertical: "",
|
|
4283
|
+
horizon: ""
|
|
4234
4284
|
},
|
|
4235
|
-
|
|
4285
|
+
full: {
|
|
4236
4286
|
true: {
|
|
4237
4287
|
base: ["w-full"],
|
|
4238
4288
|
innerWrapper: ["flex-1"],
|
|
4239
4289
|
inputWrapper: ["w-full"]
|
|
4240
4290
|
}
|
|
4241
4291
|
},
|
|
4242
|
-
|
|
4292
|
+
disabled: {
|
|
4243
4293
|
true: {
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4294
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
|
|
4295
|
+
input: [
|
|
4296
|
+
"text-neutral-light",
|
|
4297
|
+
"placeholder:text-neutral-light",
|
|
4298
|
+
"group-has-[p.error]/input:text-danger-light",
|
|
4299
|
+
"group-has-[p.error]/input:placeholder:text-danger-light"
|
|
4300
|
+
],
|
|
4301
|
+
content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
|
|
4302
|
+
helperText: ["!text-neutral-light"],
|
|
4303
|
+
errorText: ["!text-danger-light"]
|
|
4254
4304
|
}
|
|
4255
4305
|
}
|
|
4256
4306
|
},
|
|
4257
|
-
defaultVariants: {
|
|
4258
|
-
variant: "solid",
|
|
4259
|
-
color: "primary",
|
|
4260
|
-
size: "md",
|
|
4261
|
-
fullWidth: false,
|
|
4262
|
-
isDisabled: false,
|
|
4263
|
-
isRequired: false
|
|
4264
|
-
},
|
|
4265
4307
|
compoundVariants: [
|
|
4266
4308
|
{
|
|
4267
|
-
|
|
4268
|
-
|
|
4309
|
+
disabled: true,
|
|
4310
|
+
variant: ["outline", "underline"],
|
|
4269
4311
|
class: {
|
|
4270
|
-
|
|
4312
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
|
|
4271
4313
|
}
|
|
4272
4314
|
}
|
|
4273
|
-
]
|
|
4315
|
+
],
|
|
4316
|
+
defaultVariants: {
|
|
4317
|
+
variant: "solid",
|
|
4318
|
+
color: "primary",
|
|
4319
|
+
size: "md",
|
|
4320
|
+
direction: "vertical",
|
|
4321
|
+
disabled: false,
|
|
4322
|
+
readonly: false
|
|
4323
|
+
}
|
|
4274
4324
|
});
|
|
4275
4325
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4276
4326
|
0 && (module.exports = {
|