@nextui-org/theme 2.1.13 → 2.1.15
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-WHT6K6RC.mjs → chunk-5Y7664AG.mjs} +5 -5
- package/dist/{chunk-D4RGWEG7.mjs → chunk-CTFFC543.mjs} +44 -22
- package/dist/{chunk-DNEFEC5I.mjs → chunk-SMRPQEB3.mjs} +45 -27
- package/dist/components/autocomplete.d.ts +21 -21
- package/dist/components/autocomplete.js +5 -5
- package/dist/components/autocomplete.mjs +1 -1
- package/dist/components/index.js +94 -54
- package/dist/components/index.mjs +3 -3
- package/dist/components/input.d.ts +14 -77
- package/dist/components/input.js +44 -22
- package/dist/components/input.mjs +1 -1
- package/dist/components/select.d.ts +7 -70
- package/dist/components/select.js +45 -27
- package/dist/components/select.mjs +1 -1
- package/dist/index.js +94 -54
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/components/input.js
CHANGED
|
@@ -138,19 +138,15 @@ var input = tv({
|
|
|
138
138
|
"subpixel-antialiased",
|
|
139
139
|
"block",
|
|
140
140
|
"text-small",
|
|
141
|
-
"text-foreground-500"
|
|
142
|
-
"opacity-70",
|
|
143
|
-
"group-data-[filled-within=true]:opacity-100"
|
|
141
|
+
"text-foreground-500"
|
|
144
142
|
],
|
|
145
143
|
mainWrapper: "h-full",
|
|
146
144
|
inputWrapper: "relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",
|
|
147
145
|
innerWrapper: "inline-flex w-full items-center h-full box-border",
|
|
148
146
|
input: [
|
|
149
|
-
"opacity-70",
|
|
150
147
|
"w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none",
|
|
151
148
|
"data-[has-start-content=true]:ps-1.5",
|
|
152
|
-
"data-[has-end-content=true]:pe-1.5"
|
|
153
|
-
"group-data-[has-value=true]:opacity-100"
|
|
149
|
+
"data-[has-end-content=true]:pe-1.5"
|
|
154
150
|
],
|
|
155
151
|
clearButton: [
|
|
156
152
|
"p-2",
|
|
@@ -180,9 +176,7 @@ var input = tv({
|
|
|
180
176
|
"bg-default-100",
|
|
181
177
|
"data-[hover=true]:bg-default-200",
|
|
182
178
|
"group-data-[focus=true]:bg-default-100"
|
|
183
|
-
]
|
|
184
|
-
input: "placeholder:text-default-foreground",
|
|
185
|
-
label: "text-default-foreground"
|
|
179
|
+
]
|
|
186
180
|
},
|
|
187
181
|
faded: {
|
|
188
182
|
inputWrapper: [
|
|
@@ -191,8 +185,7 @@ var input = tv({
|
|
|
191
185
|
"border-default-200",
|
|
192
186
|
"data-[hover=true]:border-default-400"
|
|
193
187
|
],
|
|
194
|
-
|
|
195
|
-
label: "text-default-foreground"
|
|
188
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
196
189
|
},
|
|
197
190
|
bordered: {
|
|
198
191
|
inputWrapper: [
|
|
@@ -200,9 +193,7 @@ var input = tv({
|
|
|
200
193
|
"border-default-200",
|
|
201
194
|
"data-[hover=true]:border-default-400",
|
|
202
195
|
"group-data-[focus=true]:border-default-foreground"
|
|
203
|
-
]
|
|
204
|
-
input: "placeholder:text-foreground",
|
|
205
|
-
label: "text-foreground"
|
|
196
|
+
]
|
|
206
197
|
},
|
|
207
198
|
underlined: {
|
|
208
199
|
inputWrapper: [
|
|
@@ -228,14 +219,11 @@ var input = tv({
|
|
|
228
219
|
"group-data-[focus=true]:after:w-full"
|
|
229
220
|
],
|
|
230
221
|
innerWrapper: "pb-1",
|
|
231
|
-
|
|
232
|
-
label: "text-foreground"
|
|
222
|
+
label: "group-data-[filled-within=true]:text-foreground"
|
|
233
223
|
}
|
|
234
224
|
},
|
|
235
225
|
color: {
|
|
236
|
-
default: {
|
|
237
|
-
label: "group-data-[filled-within=true]:opacity-80"
|
|
238
|
-
},
|
|
226
|
+
default: {},
|
|
239
227
|
primary: {},
|
|
240
228
|
secondary: {},
|
|
241
229
|
success: {},
|
|
@@ -246,7 +234,7 @@ var input = tv({
|
|
|
246
234
|
sm: {
|
|
247
235
|
label: "text-tiny",
|
|
248
236
|
inputWrapper: "h-unit-8 min-h-unit-8 px-2 rounded-small",
|
|
249
|
-
input: "text-
|
|
237
|
+
input: "text-small",
|
|
250
238
|
clearButton: "text-medium"
|
|
251
239
|
},
|
|
252
240
|
md: {
|
|
@@ -279,7 +267,6 @@ var input = tv({
|
|
|
279
267
|
},
|
|
280
268
|
labelPlacement: {
|
|
281
269
|
outside: {
|
|
282
|
-
label: "text-foreground pb-1.5",
|
|
283
270
|
mainWrapper: "flex flex-col"
|
|
284
271
|
},
|
|
285
272
|
"outside-left": {
|
|
@@ -315,7 +302,7 @@ var input = tv({
|
|
|
315
302
|
isInvalid: {
|
|
316
303
|
true: {
|
|
317
304
|
label: "!text-danger",
|
|
318
|
-
input: "placeholder:text-danger text-danger"
|
|
305
|
+
input: "!placeholder:text-danger !text-danger"
|
|
319
306
|
}
|
|
320
307
|
},
|
|
321
308
|
isRequired: {
|
|
@@ -360,6 +347,13 @@ var input = tv({
|
|
|
360
347
|
disableAnimation: false
|
|
361
348
|
},
|
|
362
349
|
compoundVariants: [
|
|
350
|
+
{
|
|
351
|
+
variant: "flat",
|
|
352
|
+
color: "default",
|
|
353
|
+
class: {
|
|
354
|
+
input: "group-data-[has-value=true]:text-default-foreground"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
363
357
|
{
|
|
364
358
|
variant: "flat",
|
|
365
359
|
color: "primary",
|
|
@@ -481,6 +475,13 @@ var input = tv({
|
|
|
481
475
|
inputWrapper: "data-[hover=true]:border-danger focus-within:border-danger"
|
|
482
476
|
}
|
|
483
477
|
},
|
|
478
|
+
{
|
|
479
|
+
variant: "underlined",
|
|
480
|
+
color: "default",
|
|
481
|
+
class: {
|
|
482
|
+
input: "group-data-[has-value=true]:text-foreground"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
484
485
|
{
|
|
485
486
|
variant: "underlined",
|
|
486
487
|
color: "primary",
|
|
@@ -561,6 +562,20 @@ var input = tv({
|
|
|
561
562
|
label: "text-danger"
|
|
562
563
|
}
|
|
563
564
|
},
|
|
565
|
+
{
|
|
566
|
+
labelPlacement: "inside",
|
|
567
|
+
color: "default",
|
|
568
|
+
class: {
|
|
569
|
+
label: "group-data-[filled-within=true]:text-default-600"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
labelPlacement: "outside",
|
|
574
|
+
color: "default",
|
|
575
|
+
class: {
|
|
576
|
+
label: "group-data-[filled-within=true]:text-foreground"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
564
579
|
{
|
|
565
580
|
radius: "full",
|
|
566
581
|
size: ["sm"],
|
|
@@ -878,6 +893,13 @@ var input = tv({
|
|
|
878
893
|
label: "group-data-[has-helper=true]:pt-4"
|
|
879
894
|
}
|
|
880
895
|
},
|
|
896
|
+
{
|
|
897
|
+
labelPlacement: "outside",
|
|
898
|
+
isMultiline: true,
|
|
899
|
+
class: {
|
|
900
|
+
label: "pb-1.5"
|
|
901
|
+
}
|
|
902
|
+
},
|
|
881
903
|
{
|
|
882
904
|
labelPlacement: "inside",
|
|
883
905
|
isMultiline: true,
|
|
@@ -6,29 +6,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
6
6
|
variant: {
|
|
7
7
|
flat: {
|
|
8
8
|
trigger: string[];
|
|
9
|
-
label: string;
|
|
10
|
-
value: string;
|
|
11
9
|
};
|
|
12
10
|
faded: {
|
|
13
11
|
trigger: string[];
|
|
14
|
-
label: string;
|
|
15
12
|
value: string;
|
|
16
13
|
};
|
|
17
14
|
bordered: {
|
|
18
15
|
trigger: string[];
|
|
19
|
-
label: string;
|
|
20
|
-
value: string;
|
|
21
16
|
};
|
|
22
17
|
underlined: {
|
|
23
18
|
trigger: string[];
|
|
24
19
|
label: string;
|
|
25
|
-
value: string;
|
|
26
20
|
};
|
|
27
21
|
};
|
|
28
22
|
color: {
|
|
29
|
-
default: {
|
|
30
|
-
label: string;
|
|
31
|
-
};
|
|
23
|
+
default: {};
|
|
32
24
|
primary: {};
|
|
33
25
|
secondary: {};
|
|
34
26
|
success: {};
|
|
@@ -70,7 +62,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
70
62
|
labelPlacement: {
|
|
71
63
|
outside: {
|
|
72
64
|
base: string;
|
|
73
|
-
label: string;
|
|
74
65
|
};
|
|
75
66
|
"outside-left": {
|
|
76
67
|
base: string;
|
|
@@ -151,29 +142,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
151
142
|
variant: {
|
|
152
143
|
flat: {
|
|
153
144
|
trigger: string[];
|
|
154
|
-
label: string;
|
|
155
|
-
value: string;
|
|
156
145
|
};
|
|
157
146
|
faded: {
|
|
158
147
|
trigger: string[];
|
|
159
|
-
label: string;
|
|
160
148
|
value: string;
|
|
161
149
|
};
|
|
162
150
|
bordered: {
|
|
163
151
|
trigger: string[];
|
|
164
|
-
label: string;
|
|
165
|
-
value: string;
|
|
166
152
|
};
|
|
167
153
|
underlined: {
|
|
168
154
|
trigger: string[];
|
|
169
155
|
label: string;
|
|
170
|
-
value: string;
|
|
171
156
|
};
|
|
172
157
|
};
|
|
173
158
|
color: {
|
|
174
|
-
default: {
|
|
175
|
-
label: string;
|
|
176
|
-
};
|
|
159
|
+
default: {};
|
|
177
160
|
primary: {};
|
|
178
161
|
secondary: {};
|
|
179
162
|
success: {};
|
|
@@ -215,7 +198,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
215
198
|
labelPlacement: {
|
|
216
199
|
outside: {
|
|
217
200
|
base: string;
|
|
218
|
-
label: string;
|
|
219
201
|
};
|
|
220
202
|
"outside-left": {
|
|
221
203
|
base: string;
|
|
@@ -281,29 +263,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
281
263
|
variant: {
|
|
282
264
|
flat: {
|
|
283
265
|
trigger: string[];
|
|
284
|
-
label: string;
|
|
285
|
-
value: string;
|
|
286
266
|
};
|
|
287
267
|
faded: {
|
|
288
268
|
trigger: string[];
|
|
289
|
-
label: string;
|
|
290
269
|
value: string;
|
|
291
270
|
};
|
|
292
271
|
bordered: {
|
|
293
272
|
trigger: string[];
|
|
294
|
-
label: string;
|
|
295
|
-
value: string;
|
|
296
273
|
};
|
|
297
274
|
underlined: {
|
|
298
275
|
trigger: string[];
|
|
299
276
|
label: string;
|
|
300
|
-
value: string;
|
|
301
277
|
};
|
|
302
278
|
};
|
|
303
279
|
color: {
|
|
304
|
-
default: {
|
|
305
|
-
label: string;
|
|
306
|
-
};
|
|
280
|
+
default: {};
|
|
307
281
|
primary: {};
|
|
308
282
|
secondary: {};
|
|
309
283
|
success: {};
|
|
@@ -345,7 +319,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
345
319
|
labelPlacement: {
|
|
346
320
|
outside: {
|
|
347
321
|
base: string;
|
|
348
|
-
label: string;
|
|
349
322
|
};
|
|
350
323
|
"outside-left": {
|
|
351
324
|
base: string;
|
|
@@ -411,29 +384,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
411
384
|
variant: {
|
|
412
385
|
flat: {
|
|
413
386
|
trigger: string[];
|
|
414
|
-
label: string;
|
|
415
|
-
value: string;
|
|
416
387
|
};
|
|
417
388
|
faded: {
|
|
418
389
|
trigger: string[];
|
|
419
|
-
label: string;
|
|
420
390
|
value: string;
|
|
421
391
|
};
|
|
422
392
|
bordered: {
|
|
423
393
|
trigger: string[];
|
|
424
|
-
label: string;
|
|
425
|
-
value: string;
|
|
426
394
|
};
|
|
427
395
|
underlined: {
|
|
428
396
|
trigger: string[];
|
|
429
397
|
label: string;
|
|
430
|
-
value: string;
|
|
431
398
|
};
|
|
432
399
|
};
|
|
433
400
|
color: {
|
|
434
|
-
default: {
|
|
435
|
-
label: string;
|
|
436
|
-
};
|
|
401
|
+
default: {};
|
|
437
402
|
primary: {};
|
|
438
403
|
secondary: {};
|
|
439
404
|
success: {};
|
|
@@ -475,7 +440,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
475
440
|
labelPlacement: {
|
|
476
441
|
outside: {
|
|
477
442
|
base: string;
|
|
478
|
-
label: string;
|
|
479
443
|
};
|
|
480
444
|
"outside-left": {
|
|
481
445
|
base: string;
|
|
@@ -556,29 +520,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
556
520
|
variant: {
|
|
557
521
|
flat: {
|
|
558
522
|
trigger: string[];
|
|
559
|
-
label: string;
|
|
560
|
-
value: string;
|
|
561
523
|
};
|
|
562
524
|
faded: {
|
|
563
525
|
trigger: string[];
|
|
564
|
-
label: string;
|
|
565
526
|
value: string;
|
|
566
527
|
};
|
|
567
528
|
bordered: {
|
|
568
529
|
trigger: string[];
|
|
569
|
-
label: string;
|
|
570
|
-
value: string;
|
|
571
530
|
};
|
|
572
531
|
underlined: {
|
|
573
532
|
trigger: string[];
|
|
574
533
|
label: string;
|
|
575
|
-
value: string;
|
|
576
534
|
};
|
|
577
535
|
};
|
|
578
536
|
color: {
|
|
579
|
-
default: {
|
|
580
|
-
label: string;
|
|
581
|
-
};
|
|
537
|
+
default: {};
|
|
582
538
|
primary: {};
|
|
583
539
|
secondary: {};
|
|
584
540
|
success: {};
|
|
@@ -620,7 +576,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
620
576
|
labelPlacement: {
|
|
621
577
|
outside: {
|
|
622
578
|
base: string;
|
|
623
|
-
label: string;
|
|
624
579
|
};
|
|
625
580
|
"outside-left": {
|
|
626
581
|
base: string;
|
|
@@ -701,29 +656,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
701
656
|
variant: {
|
|
702
657
|
flat: {
|
|
703
658
|
trigger: string[];
|
|
704
|
-
label: string;
|
|
705
|
-
value: string;
|
|
706
659
|
};
|
|
707
660
|
faded: {
|
|
708
661
|
trigger: string[];
|
|
709
|
-
label: string;
|
|
710
662
|
value: string;
|
|
711
663
|
};
|
|
712
664
|
bordered: {
|
|
713
665
|
trigger: string[];
|
|
714
|
-
label: string;
|
|
715
|
-
value: string;
|
|
716
666
|
};
|
|
717
667
|
underlined: {
|
|
718
668
|
trigger: string[];
|
|
719
669
|
label: string;
|
|
720
|
-
value: string;
|
|
721
670
|
};
|
|
722
671
|
};
|
|
723
672
|
color: {
|
|
724
|
-
default: {
|
|
725
|
-
label: string;
|
|
726
|
-
};
|
|
673
|
+
default: {};
|
|
727
674
|
primary: {};
|
|
728
675
|
secondary: {};
|
|
729
676
|
success: {};
|
|
@@ -765,7 +712,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
765
712
|
labelPlacement: {
|
|
766
713
|
outside: {
|
|
767
714
|
base: string;
|
|
768
|
-
label: string;
|
|
769
715
|
};
|
|
770
716
|
"outside-left": {
|
|
771
717
|
base: string;
|
|
@@ -831,29 +777,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
831
777
|
variant: {
|
|
832
778
|
flat: {
|
|
833
779
|
trigger: string[];
|
|
834
|
-
label: string;
|
|
835
|
-
value: string;
|
|
836
780
|
};
|
|
837
781
|
faded: {
|
|
838
782
|
trigger: string[];
|
|
839
|
-
label: string;
|
|
840
783
|
value: string;
|
|
841
784
|
};
|
|
842
785
|
bordered: {
|
|
843
786
|
trigger: string[];
|
|
844
|
-
label: string;
|
|
845
|
-
value: string;
|
|
846
787
|
};
|
|
847
788
|
underlined: {
|
|
848
789
|
trigger: string[];
|
|
849
790
|
label: string;
|
|
850
|
-
value: string;
|
|
851
791
|
};
|
|
852
792
|
};
|
|
853
793
|
color: {
|
|
854
|
-
default: {
|
|
855
|
-
label: string;
|
|
856
|
-
};
|
|
794
|
+
default: {};
|
|
857
795
|
primary: {};
|
|
858
796
|
secondary: {};
|
|
859
797
|
success: {};
|
|
@@ -895,7 +833,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
895
833
|
labelPlacement: {
|
|
896
834
|
outside: {
|
|
897
835
|
base: string;
|
|
898
|
-
label: string;
|
|
899
836
|
};
|
|
900
837
|
"outside-left": {
|
|
901
838
|
base: string;
|
|
@@ -130,22 +130,14 @@ var select = tv({
|
|
|
130
130
|
"subpixel-antialiased",
|
|
131
131
|
"text-small",
|
|
132
132
|
"text-foreground-500",
|
|
133
|
-
"pointer-events-none"
|
|
134
|
-
"opacity-70",
|
|
135
|
-
"group-data-[filled=true]:opacity-100"
|
|
133
|
+
"pointer-events-none"
|
|
136
134
|
],
|
|
137
135
|
mainWrapper: "w-full flex flex-col",
|
|
138
136
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
139
137
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
|
|
140
138
|
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
141
139
|
spinner: "absolute right-3",
|
|
142
|
-
value: [
|
|
143
|
-
"font-normal",
|
|
144
|
-
"w-full",
|
|
145
|
-
"text-left",
|
|
146
|
-
"opacity-70",
|
|
147
|
-
"group-data-[has-value=true]:opacity-100"
|
|
148
|
-
],
|
|
140
|
+
value: ["text-foreground-500", "font-normal", "w-full", "text-left"],
|
|
149
141
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
150
142
|
listbox: "",
|
|
151
143
|
popoverContent: "w-full p-1 overflow-hidden",
|
|
@@ -160,9 +152,7 @@ var select = tv({
|
|
|
160
152
|
"bg-default-100",
|
|
161
153
|
"data-[hover=true]:bg-default-200",
|
|
162
154
|
"group-data-[focus=true]:bg-default-100"
|
|
163
|
-
]
|
|
164
|
-
label: "text-default-foreground",
|
|
165
|
-
value: "placeholder:text-default-foreground"
|
|
155
|
+
]
|
|
166
156
|
},
|
|
167
157
|
faded: {
|
|
168
158
|
trigger: [
|
|
@@ -171,8 +161,7 @@ var select = tv({
|
|
|
171
161
|
"border-default-200",
|
|
172
162
|
"data-[hover=true]:border-default-400"
|
|
173
163
|
],
|
|
174
|
-
|
|
175
|
-
value: "placeholder:text-default-foreground"
|
|
164
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
176
165
|
},
|
|
177
166
|
bordered: {
|
|
178
167
|
trigger: [
|
|
@@ -182,9 +171,7 @@ var select = tv({
|
|
|
182
171
|
"data-[open=true]:border-default-foreground",
|
|
183
172
|
"data-[focus=true]:border-default-foreground",
|
|
184
173
|
"data-[focus=true]:border-default-foreground"
|
|
185
|
-
]
|
|
186
|
-
label: "text-foreground",
|
|
187
|
-
value: "placeholder:text-foreground"
|
|
174
|
+
]
|
|
188
175
|
},
|
|
189
176
|
underlined: {
|
|
190
177
|
trigger: [
|
|
@@ -210,14 +197,11 @@ var select = tv({
|
|
|
210
197
|
"data-[open=true]:after:w-full",
|
|
211
198
|
"data-[focus=true]:after:w-full"
|
|
212
199
|
],
|
|
213
|
-
label: "text-foreground"
|
|
214
|
-
value: "placeholder:text-foreground"
|
|
200
|
+
label: "group-data-[filled=true]:text-foreground"
|
|
215
201
|
}
|
|
216
202
|
},
|
|
217
203
|
color: {
|
|
218
|
-
default: {
|
|
219
|
-
label: "group-data-[filled=true]:opacity-80"
|
|
220
|
-
},
|
|
204
|
+
default: {},
|
|
221
205
|
primary: {},
|
|
222
206
|
secondary: {},
|
|
223
207
|
success: {},
|
|
@@ -228,7 +212,7 @@ var select = tv({
|
|
|
228
212
|
sm: {
|
|
229
213
|
label: "text-tiny",
|
|
230
214
|
trigger: "h-unit-8 min-h-unit-8 px-2 rounded-small",
|
|
231
|
-
value: "text-
|
|
215
|
+
value: "text-small"
|
|
232
216
|
},
|
|
233
217
|
md: {
|
|
234
218
|
trigger: "h-unit-10 min-h-unit-10 rounded-medium",
|
|
@@ -258,12 +242,11 @@ var select = tv({
|
|
|
258
242
|
},
|
|
259
243
|
labelPlacement: {
|
|
260
244
|
outside: {
|
|
261
|
-
base: "flex flex-col"
|
|
262
|
-
label: "text-foreground pb-1.5"
|
|
245
|
+
base: "flex flex-col"
|
|
263
246
|
},
|
|
264
247
|
"outside-left": {
|
|
265
248
|
base: "flex-row items-center flex-nowrap items-start",
|
|
266
|
-
label: "relative text-foreground
|
|
249
|
+
label: "relative pr-2 text-foreground"
|
|
267
250
|
},
|
|
268
251
|
inside: {
|
|
269
252
|
label: "text-tiny cursor-pointer",
|
|
@@ -341,6 +324,13 @@ var select = tv({
|
|
|
341
324
|
disableSelectorIconRotation: false
|
|
342
325
|
},
|
|
343
326
|
compoundVariants: [
|
|
327
|
+
{
|
|
328
|
+
variant: "flat",
|
|
329
|
+
color: "default",
|
|
330
|
+
class: {
|
|
331
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
344
334
|
{
|
|
345
335
|
variant: "flat",
|
|
346
336
|
color: "primary",
|
|
@@ -454,6 +444,13 @@ var select = tv({
|
|
|
454
444
|
label: "text-danger"
|
|
455
445
|
}
|
|
456
446
|
},
|
|
447
|
+
{
|
|
448
|
+
variant: "underlined",
|
|
449
|
+
color: "default",
|
|
450
|
+
class: {
|
|
451
|
+
value: "group-data-[has-value=true]:text-foreground"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
457
454
|
{
|
|
458
455
|
variant: "underlined",
|
|
459
456
|
color: "primary",
|
|
@@ -534,6 +531,20 @@ var select = tv({
|
|
|
534
531
|
label: "text-danger"
|
|
535
532
|
}
|
|
536
533
|
},
|
|
534
|
+
{
|
|
535
|
+
labelPlacement: "inside",
|
|
536
|
+
color: "default",
|
|
537
|
+
class: {
|
|
538
|
+
label: "group-data-[filled=true]:text-default-600"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
labelPlacement: "outside",
|
|
543
|
+
color: "default",
|
|
544
|
+
class: {
|
|
545
|
+
label: "group-data-[filled=true]:text-foreground"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
537
548
|
{
|
|
538
549
|
radius: "full",
|
|
539
550
|
size: ["sm"],
|
|
@@ -788,6 +799,13 @@ var select = tv({
|
|
|
788
799
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
789
800
|
}
|
|
790
801
|
},
|
|
802
|
+
{
|
|
803
|
+
labelPlacement: "outside",
|
|
804
|
+
isMultiline: true,
|
|
805
|
+
class: {
|
|
806
|
+
label: "pb-1.5"
|
|
807
|
+
}
|
|
808
|
+
},
|
|
791
809
|
{
|
|
792
810
|
labelPlacement: ["inside", "outside"],
|
|
793
811
|
class: {
|