@deepnoid/ui 0.1.158 → 0.1.159
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 +146 -146
- package/dist/{chunk-IRJP6BF3.mjs → chunk-7QL54JRV.mjs} +1 -1
- package/dist/{chunk-7YMXOYES.mjs → chunk-OBOPDVVM.mjs} +1 -1
- package/dist/{chunk-HKHVSCER.mjs → chunk-OY5W6JCO.mjs} +1 -1
- package/dist/{chunk-SFGFRMWL.mjs → chunk-QR5CKZLL.mjs} +56 -61
- package/dist/{chunk-V64PCWVW.mjs → chunk-SFA2DEUD.mjs} +1 -1
- package/dist/components/fileUpload/fileUpload.js +56 -61
- package/dist/components/fileUpload/fileUpload.mjs +2 -2
- package/dist/components/fileUpload/index.js +56 -61
- package/dist/components/fileUpload/index.mjs +2 -2
- package/dist/components/input/index.js +56 -61
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.d.mts +6 -3
- package/dist/components/input/input.d.ts +6 -3
- package/dist/components/input/input.js +56 -61
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/pagination/index.js +56 -61
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +56 -61
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/picker/datePicker.js +56 -61
- package/dist/components/picker/datePicker.mjs +2 -2
- package/dist/components/picker/index.js +56 -61
- package/dist/components/picker/index.mjs +2 -2
- package/dist/components/table/index.js +56 -61
- package/dist/components/table/index.mjs +3 -3
- package/dist/components/table/table-body.js +56 -61
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.js +56 -61
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.js +56 -61
- package/dist/components/table/table.mjs +3 -3
- package/dist/index.js +56 -61
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
|
@@ -5245,7 +5245,7 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
5245
5245
|
),
|
|
5246
5246
|
size: originalProps.size
|
|
5247
5247
|
}),
|
|
5248
|
-
[slots, classNames, originalProps.size]
|
|
5248
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
5249
5249
|
);
|
|
5250
5250
|
const renderStartContent = () => {
|
|
5251
5251
|
if ((0, import_react.isValidElement)(startContent)) {
|
|
@@ -5368,31 +5368,22 @@ var inputStyle = tv(
|
|
|
5368
5368
|
"placeholder:text-neutral-main",
|
|
5369
5369
|
"outline-none",
|
|
5370
5370
|
"focus:ring-0",
|
|
5371
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5372
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5373
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
5374
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5375
|
-
"
|
|
5376
|
-
"
|
|
5377
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
5371
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5372
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
5373
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
5374
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
5375
|
+
"read-only:!text-body-foreground",
|
|
5376
|
+
"read-only:placeholder:!text-body-foreground"
|
|
5378
5377
|
],
|
|
5379
5378
|
content: [
|
|
5380
5379
|
"flex",
|
|
5381
5380
|
"items-center",
|
|
5382
5381
|
"select-none",
|
|
5383
5382
|
"text-neutral-main",
|
|
5384
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5385
|
-
"
|
|
5386
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5387
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5388
|
-
],
|
|
5389
|
-
helperMessage: [
|
|
5390
|
-
"text-neutral-main",
|
|
5391
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5392
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
5393
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5394
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5383
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5384
|
+
"read-only:!text-body-foreground"
|
|
5395
5385
|
],
|
|
5386
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
5396
5387
|
errorMessage: ["text-danger-main"],
|
|
5397
5388
|
readonlyWrapper: [
|
|
5398
5389
|
"pointer-events-none",
|
|
@@ -5401,7 +5392,7 @@ var inputStyle = tv(
|
|
|
5401
5392
|
"[&>input]:text-body-foreground",
|
|
5402
5393
|
"[&>input]:placeholder:text-body-foreground"
|
|
5403
5394
|
],
|
|
5404
|
-
readonly: []
|
|
5395
|
+
readonly: ["text-body-foreground"]
|
|
5405
5396
|
},
|
|
5406
5397
|
variants: {
|
|
5407
5398
|
variant: {
|
|
@@ -5412,8 +5403,8 @@ var inputStyle = tv(
|
|
|
5412
5403
|
outline: {
|
|
5413
5404
|
inputWrapper: [
|
|
5414
5405
|
"border-neutral-light",
|
|
5415
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5416
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5406
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5407
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5417
5408
|
"group-has-[p.error]/input:border-danger-main"
|
|
5418
5409
|
],
|
|
5419
5410
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5422,8 +5413,8 @@ var inputStyle = tv(
|
|
|
5422
5413
|
inputWrapper: [
|
|
5423
5414
|
"bg-transparent",
|
|
5424
5415
|
"rounded-none",
|
|
5425
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5426
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5416
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5417
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5427
5418
|
"group-has-[p.error]/input:border-danger-main"
|
|
5428
5419
|
],
|
|
5429
5420
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5431,22 +5422,13 @@ var inputStyle = tv(
|
|
|
5431
5422
|
},
|
|
5432
5423
|
color: {
|
|
5433
5424
|
primary: {
|
|
5434
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
5435
|
-
helperMessage: [
|
|
5436
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
5437
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
5438
|
-
],
|
|
5425
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
5426
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
5439
5427
|
readonly: ["text-primary-main"]
|
|
5440
5428
|
},
|
|
5441
5429
|
secondary: {
|
|
5442
|
-
content: [
|
|
5443
|
-
|
|
5444
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5445
|
-
],
|
|
5446
|
-
helperMessage: [
|
|
5447
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
5448
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5449
|
-
],
|
|
5430
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
5431
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
5450
5432
|
readonly: ["text-secondary-main"]
|
|
5451
5433
|
}
|
|
5452
5434
|
},
|
|
@@ -5497,14 +5479,9 @@ var inputStyle = tv(
|
|
|
5497
5479
|
},
|
|
5498
5480
|
disabled: {
|
|
5499
5481
|
true: {
|
|
5500
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
5501
|
-
input: [
|
|
5502
|
-
|
|
5503
|
-
"placeholder:!text-neutral-light",
|
|
5504
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5505
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5506
|
-
],
|
|
5507
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
5482
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
5483
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
5484
|
+
content: ["!text-neutral-light"],
|
|
5508
5485
|
helperMessage: ["!text-neutral-light"],
|
|
5509
5486
|
errorMessage: ["!text-danger-light"]
|
|
5510
5487
|
}
|
|
@@ -5512,11 +5489,9 @@ var inputStyle = tv(
|
|
|
5512
5489
|
readonly: {
|
|
5513
5490
|
true: {
|
|
5514
5491
|
readonlyWrapper: ["pointer-events-none"],
|
|
5515
|
-
input: [
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
],
|
|
5519
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
5492
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
5493
|
+
content: ["!text-body-foreground"],
|
|
5494
|
+
helperMessage: ["!text-body-foreground"]
|
|
5520
5495
|
}
|
|
5521
5496
|
}
|
|
5522
5497
|
},
|
|
@@ -5577,17 +5552,6 @@ var inputStyle = tv(
|
|
|
5577
5552
|
inputWrapper: ["border-b-xl"]
|
|
5578
5553
|
}
|
|
5579
5554
|
},
|
|
5580
|
-
{
|
|
5581
|
-
disabled: true,
|
|
5582
|
-
variant: ["outline", "underline"],
|
|
5583
|
-
class: {
|
|
5584
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
5585
|
-
content: [
|
|
5586
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5587
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5588
|
-
]
|
|
5589
|
-
}
|
|
5590
|
-
},
|
|
5591
5555
|
{
|
|
5592
5556
|
readonly: true,
|
|
5593
5557
|
color: "primary",
|
|
@@ -5603,6 +5567,37 @@ var inputStyle = tv(
|
|
|
5603
5567
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
5604
5568
|
content: ["!text-secondary-main"]
|
|
5605
5569
|
}
|
|
5570
|
+
},
|
|
5571
|
+
{
|
|
5572
|
+
disabled: true,
|
|
5573
|
+
class: {
|
|
5574
|
+
input: [
|
|
5575
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
5576
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5577
|
+
],
|
|
5578
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5579
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5580
|
+
errorMessage: ["!text-danger-light"]
|
|
5581
|
+
}
|
|
5582
|
+
},
|
|
5583
|
+
{
|
|
5584
|
+
disabled: true,
|
|
5585
|
+
variant: ["outline", "underline"],
|
|
5586
|
+
class: {
|
|
5587
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
5588
|
+
}
|
|
5589
|
+
},
|
|
5590
|
+
{
|
|
5591
|
+
disabled: false,
|
|
5592
|
+
class: {
|
|
5593
|
+
input: [
|
|
5594
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
5595
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
5596
|
+
],
|
|
5597
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5598
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5599
|
+
errorMessage: ["!text-danger-main"]
|
|
5600
|
+
}
|
|
5606
5601
|
}
|
|
5607
5602
|
],
|
|
5608
5603
|
defaultVariants: {
|
|
@@ -107,6 +107,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
107
107
|
readonlyWrapper: string[];
|
|
108
108
|
input: string[];
|
|
109
109
|
content: string[];
|
|
110
|
+
helperMessage: string[];
|
|
110
111
|
};
|
|
111
112
|
};
|
|
112
113
|
}, {
|
|
@@ -121,7 +122,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
121
122
|
helperMessage: string[];
|
|
122
123
|
errorMessage: string[];
|
|
123
124
|
readonlyWrapper: string[];
|
|
124
|
-
readonly:
|
|
125
|
+
readonly: string[];
|
|
125
126
|
}, undefined, {
|
|
126
127
|
variant: {
|
|
127
128
|
solid: {
|
|
@@ -208,6 +209,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
208
209
|
readonlyWrapper: string[];
|
|
209
210
|
input: string[];
|
|
210
211
|
content: string[];
|
|
212
|
+
helperMessage: string[];
|
|
211
213
|
};
|
|
212
214
|
};
|
|
213
215
|
}, {
|
|
@@ -222,7 +224,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
222
224
|
helperMessage: string[];
|
|
223
225
|
errorMessage: string[];
|
|
224
226
|
readonlyWrapper: string[];
|
|
225
|
-
readonly:
|
|
227
|
+
readonly: string[];
|
|
226
228
|
}, tailwind_variants.TVReturnType<{
|
|
227
229
|
variant: {
|
|
228
230
|
solid: {
|
|
@@ -309,6 +311,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
309
311
|
readonlyWrapper: string[];
|
|
310
312
|
input: string[];
|
|
311
313
|
content: string[];
|
|
314
|
+
helperMessage: string[];
|
|
312
315
|
};
|
|
313
316
|
};
|
|
314
317
|
}, {
|
|
@@ -323,7 +326,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
323
326
|
helperMessage: string[];
|
|
324
327
|
errorMessage: string[];
|
|
325
328
|
readonlyWrapper: string[];
|
|
326
|
-
readonly:
|
|
329
|
+
readonly: string[];
|
|
327
330
|
}, undefined, unknown, unknown, undefined>>;
|
|
328
331
|
type InputVariantProps = VariantProps<typeof inputStyle>;
|
|
329
332
|
type InputSlots = keyof ReturnType<typeof inputStyle>;
|
|
@@ -107,6 +107,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
107
107
|
readonlyWrapper: string[];
|
|
108
108
|
input: string[];
|
|
109
109
|
content: string[];
|
|
110
|
+
helperMessage: string[];
|
|
110
111
|
};
|
|
111
112
|
};
|
|
112
113
|
}, {
|
|
@@ -121,7 +122,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
121
122
|
helperMessage: string[];
|
|
122
123
|
errorMessage: string[];
|
|
123
124
|
readonlyWrapper: string[];
|
|
124
|
-
readonly:
|
|
125
|
+
readonly: string[];
|
|
125
126
|
}, undefined, {
|
|
126
127
|
variant: {
|
|
127
128
|
solid: {
|
|
@@ -208,6 +209,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
208
209
|
readonlyWrapper: string[];
|
|
209
210
|
input: string[];
|
|
210
211
|
content: string[];
|
|
212
|
+
helperMessage: string[];
|
|
211
213
|
};
|
|
212
214
|
};
|
|
213
215
|
}, {
|
|
@@ -222,7 +224,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
222
224
|
helperMessage: string[];
|
|
223
225
|
errorMessage: string[];
|
|
224
226
|
readonlyWrapper: string[];
|
|
225
|
-
readonly:
|
|
227
|
+
readonly: string[];
|
|
226
228
|
}, tailwind_variants.TVReturnType<{
|
|
227
229
|
variant: {
|
|
228
230
|
solid: {
|
|
@@ -309,6 +311,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
309
311
|
readonlyWrapper: string[];
|
|
310
312
|
input: string[];
|
|
311
313
|
content: string[];
|
|
314
|
+
helperMessage: string[];
|
|
312
315
|
};
|
|
313
316
|
};
|
|
314
317
|
}, {
|
|
@@ -323,7 +326,7 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
323
326
|
helperMessage: string[];
|
|
324
327
|
errorMessage: string[];
|
|
325
328
|
readonlyWrapper: string[];
|
|
326
|
-
readonly:
|
|
329
|
+
readonly: string[];
|
|
327
330
|
}, undefined, unknown, unknown, undefined>>;
|
|
328
331
|
type InputVariantProps = VariantProps<typeof inputStyle>;
|
|
329
332
|
type InputSlots = keyof ReturnType<typeof inputStyle>;
|
|
@@ -5244,7 +5244,7 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
5244
5244
|
),
|
|
5245
5245
|
size: originalProps.size
|
|
5246
5246
|
}),
|
|
5247
|
-
[slots, classNames, originalProps.size]
|
|
5247
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
5248
5248
|
);
|
|
5249
5249
|
const renderStartContent = () => {
|
|
5250
5250
|
if ((0, import_react.isValidElement)(startContent)) {
|
|
@@ -5367,31 +5367,22 @@ var inputStyle = tv(
|
|
|
5367
5367
|
"placeholder:text-neutral-main",
|
|
5368
5368
|
"outline-none",
|
|
5369
5369
|
"focus:ring-0",
|
|
5370
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5371
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5372
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
5373
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5374
|
-
"
|
|
5375
|
-
"
|
|
5376
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
5370
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5371
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
5372
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
5373
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
5374
|
+
"read-only:!text-body-foreground",
|
|
5375
|
+
"read-only:placeholder:!text-body-foreground"
|
|
5377
5376
|
],
|
|
5378
5377
|
content: [
|
|
5379
5378
|
"flex",
|
|
5380
5379
|
"items-center",
|
|
5381
5380
|
"select-none",
|
|
5382
5381
|
"text-neutral-main",
|
|
5383
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5384
|
-
"
|
|
5385
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5386
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5387
|
-
],
|
|
5388
|
-
helperMessage: [
|
|
5389
|
-
"text-neutral-main",
|
|
5390
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5391
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
5392
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5393
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5382
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5383
|
+
"read-only:!text-body-foreground"
|
|
5394
5384
|
],
|
|
5385
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
5395
5386
|
errorMessage: ["text-danger-main"],
|
|
5396
5387
|
readonlyWrapper: [
|
|
5397
5388
|
"pointer-events-none",
|
|
@@ -5400,7 +5391,7 @@ var inputStyle = tv(
|
|
|
5400
5391
|
"[&>input]:text-body-foreground",
|
|
5401
5392
|
"[&>input]:placeholder:text-body-foreground"
|
|
5402
5393
|
],
|
|
5403
|
-
readonly: []
|
|
5394
|
+
readonly: ["text-body-foreground"]
|
|
5404
5395
|
},
|
|
5405
5396
|
variants: {
|
|
5406
5397
|
variant: {
|
|
@@ -5411,8 +5402,8 @@ var inputStyle = tv(
|
|
|
5411
5402
|
outline: {
|
|
5412
5403
|
inputWrapper: [
|
|
5413
5404
|
"border-neutral-light",
|
|
5414
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5415
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5405
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5406
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5416
5407
|
"group-has-[p.error]/input:border-danger-main"
|
|
5417
5408
|
],
|
|
5418
5409
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5421,8 +5412,8 @@ var inputStyle = tv(
|
|
|
5421
5412
|
inputWrapper: [
|
|
5422
5413
|
"bg-transparent",
|
|
5423
5414
|
"rounded-none",
|
|
5424
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5425
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5415
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5416
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5426
5417
|
"group-has-[p.error]/input:border-danger-main"
|
|
5427
5418
|
],
|
|
5428
5419
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5430,22 +5421,13 @@ var inputStyle = tv(
|
|
|
5430
5421
|
},
|
|
5431
5422
|
color: {
|
|
5432
5423
|
primary: {
|
|
5433
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
5434
|
-
helperMessage: [
|
|
5435
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
5436
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
5437
|
-
],
|
|
5424
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
5425
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
5438
5426
|
readonly: ["text-primary-main"]
|
|
5439
5427
|
},
|
|
5440
5428
|
secondary: {
|
|
5441
|
-
content: [
|
|
5442
|
-
|
|
5443
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5444
|
-
],
|
|
5445
|
-
helperMessage: [
|
|
5446
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
5447
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5448
|
-
],
|
|
5429
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
5430
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
5449
5431
|
readonly: ["text-secondary-main"]
|
|
5450
5432
|
}
|
|
5451
5433
|
},
|
|
@@ -5496,14 +5478,9 @@ var inputStyle = tv(
|
|
|
5496
5478
|
},
|
|
5497
5479
|
disabled: {
|
|
5498
5480
|
true: {
|
|
5499
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
5500
|
-
input: [
|
|
5501
|
-
|
|
5502
|
-
"placeholder:!text-neutral-light",
|
|
5503
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5504
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5505
|
-
],
|
|
5506
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
5481
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
5482
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
5483
|
+
content: ["!text-neutral-light"],
|
|
5507
5484
|
helperMessage: ["!text-neutral-light"],
|
|
5508
5485
|
errorMessage: ["!text-danger-light"]
|
|
5509
5486
|
}
|
|
@@ -5511,11 +5488,9 @@ var inputStyle = tv(
|
|
|
5511
5488
|
readonly: {
|
|
5512
5489
|
true: {
|
|
5513
5490
|
readonlyWrapper: ["pointer-events-none"],
|
|
5514
|
-
input: [
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
],
|
|
5518
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
5491
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
5492
|
+
content: ["!text-body-foreground"],
|
|
5493
|
+
helperMessage: ["!text-body-foreground"]
|
|
5519
5494
|
}
|
|
5520
5495
|
}
|
|
5521
5496
|
},
|
|
@@ -5576,17 +5551,6 @@ var inputStyle = tv(
|
|
|
5576
5551
|
inputWrapper: ["border-b-xl"]
|
|
5577
5552
|
}
|
|
5578
5553
|
},
|
|
5579
|
-
{
|
|
5580
|
-
disabled: true,
|
|
5581
|
-
variant: ["outline", "underline"],
|
|
5582
|
-
class: {
|
|
5583
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
5584
|
-
content: [
|
|
5585
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5586
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5587
|
-
]
|
|
5588
|
-
}
|
|
5589
|
-
},
|
|
5590
5554
|
{
|
|
5591
5555
|
readonly: true,
|
|
5592
5556
|
color: "primary",
|
|
@@ -5602,6 +5566,37 @@ var inputStyle = tv(
|
|
|
5602
5566
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
5603
5567
|
content: ["!text-secondary-main"]
|
|
5604
5568
|
}
|
|
5569
|
+
},
|
|
5570
|
+
{
|
|
5571
|
+
disabled: true,
|
|
5572
|
+
class: {
|
|
5573
|
+
input: [
|
|
5574
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
5575
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5576
|
+
],
|
|
5577
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5578
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5579
|
+
errorMessage: ["!text-danger-light"]
|
|
5580
|
+
}
|
|
5581
|
+
},
|
|
5582
|
+
{
|
|
5583
|
+
disabled: true,
|
|
5584
|
+
variant: ["outline", "underline"],
|
|
5585
|
+
class: {
|
|
5586
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
5587
|
+
}
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
disabled: false,
|
|
5591
|
+
class: {
|
|
5592
|
+
input: [
|
|
5593
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
5594
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
5595
|
+
],
|
|
5596
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5597
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5598
|
+
errorMessage: ["!text-danger-main"]
|
|
5599
|
+
}
|
|
5605
5600
|
}
|
|
5606
5601
|
],
|
|
5607
5602
|
defaultVariants: {
|