@nextui-org/theme 2.1.12 → 2.1.14
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-RNXUUR27.mjs → chunk-5IBYC42H.mjs} +45 -20
- package/dist/{chunk-6XG3Y4GM.mjs → chunk-5QVKTCUZ.mjs} +28 -26
- package/dist/{chunk-WHT6K6RC.mjs → chunk-5Y7664AG.mjs} +5 -5
- package/dist/{chunk-TLWI2J7W.mjs → chunk-YUUGIQ6E.mjs} +50 -31
- 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 +100 -56
- package/dist/components/index.mjs +3 -3
- package/dist/components/input.d.ts +17 -10
- package/dist/components/input.js +45 -20
- package/dist/components/input.mjs +1 -1
- package/dist/components/select.d.ts +21 -28
- package/dist/components/select.js +50 -31
- package/dist/components/select.mjs +1 -1
- package/dist/index.js +128 -82
- package/dist/index.mjs +4 -4
- package/dist/plugin.js +28 -26
- package/dist/plugin.mjs +1 -1
- package/package.json +1 -1
package/dist/components/input.js
CHANGED
|
@@ -129,7 +129,7 @@ var groupDataFocusVisibleClasses = [
|
|
|
129
129
|
// src/components/input.ts
|
|
130
130
|
var input = tv({
|
|
131
131
|
slots: {
|
|
132
|
-
base:
|
|
132
|
+
base: "group flex flex-col",
|
|
133
133
|
label: [
|
|
134
134
|
"absolute",
|
|
135
135
|
"z-10",
|
|
@@ -165,7 +165,7 @@ var input = tv({
|
|
|
165
165
|
"rounded-full",
|
|
166
166
|
...dataFocusVisibleClasses
|
|
167
167
|
],
|
|
168
|
-
helperWrapper: "
|
|
168
|
+
helperWrapper: "p-1 flex relative flex-col gap-1.5",
|
|
169
169
|
description: "text-tiny text-foreground-400",
|
|
170
170
|
errorMessage: "text-tiny text-danger"
|
|
171
171
|
},
|
|
@@ -184,14 +184,15 @@ var input = tv({
|
|
|
184
184
|
"border-medium",
|
|
185
185
|
"border-default-200",
|
|
186
186
|
"data-[hover=true]:border-default-400"
|
|
187
|
-
]
|
|
187
|
+
],
|
|
188
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
188
189
|
},
|
|
189
190
|
bordered: {
|
|
190
191
|
inputWrapper: [
|
|
191
192
|
"border-medium",
|
|
192
193
|
"border-default-200",
|
|
193
194
|
"data-[hover=true]:border-default-400",
|
|
194
|
-
"group-data-[focus=true]:border-foreground"
|
|
195
|
+
"group-data-[focus=true]:border-default-foreground"
|
|
195
196
|
]
|
|
196
197
|
},
|
|
197
198
|
underlined: {
|
|
@@ -209,7 +210,7 @@ var input = tv({
|
|
|
209
210
|
"after:content-['']",
|
|
210
211
|
"after:w-0",
|
|
211
212
|
"after:origin-center",
|
|
212
|
-
"after:bg-foreground",
|
|
213
|
+
"after:bg-default-foreground",
|
|
213
214
|
"after:absolute",
|
|
214
215
|
"after:left-1/2",
|
|
215
216
|
"after:-translate-x-1/2",
|
|
@@ -217,7 +218,8 @@ var input = tv({
|
|
|
217
218
|
"after:h-[2px]",
|
|
218
219
|
"group-data-[focus=true]:after:w-full"
|
|
219
220
|
],
|
|
220
|
-
innerWrapper: "pb-1"
|
|
221
|
+
innerWrapper: "pb-1",
|
|
222
|
+
label: "group-data-[filled-within=true]:text-foreground"
|
|
221
223
|
}
|
|
222
224
|
},
|
|
223
225
|
color: {
|
|
@@ -232,7 +234,7 @@ var input = tv({
|
|
|
232
234
|
sm: {
|
|
233
235
|
label: "text-tiny",
|
|
234
236
|
inputWrapper: "h-unit-8 min-h-unit-8 px-2 rounded-small",
|
|
235
|
-
input: "text-
|
|
237
|
+
input: "text-small",
|
|
236
238
|
clearButton: "text-medium"
|
|
237
239
|
},
|
|
238
240
|
md: {
|
|
@@ -265,7 +267,6 @@ var input = tv({
|
|
|
265
267
|
},
|
|
266
268
|
labelPlacement: {
|
|
267
269
|
outside: {
|
|
268
|
-
label: "text-foreground pb-1.5",
|
|
269
270
|
mainWrapper: "flex flex-col"
|
|
270
271
|
},
|
|
271
272
|
"outside-left": {
|
|
@@ -301,7 +302,7 @@ var input = tv({
|
|
|
301
302
|
isInvalid: {
|
|
302
303
|
true: {
|
|
303
304
|
label: "!text-danger",
|
|
304
|
-
input: "placeholder:text-danger text-danger"
|
|
305
|
+
input: "!placeholder:text-danger !text-danger"
|
|
305
306
|
}
|
|
306
307
|
},
|
|
307
308
|
isRequired: {
|
|
@@ -346,6 +347,13 @@ var input = tv({
|
|
|
346
347
|
disableAnimation: false
|
|
347
348
|
},
|
|
348
349
|
compoundVariants: [
|
|
350
|
+
{
|
|
351
|
+
variant: "flat",
|
|
352
|
+
color: "default",
|
|
353
|
+
class: {
|
|
354
|
+
input: "group-data-[has-value=true]:text-default-foreground"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
349
357
|
{
|
|
350
358
|
variant: "flat",
|
|
351
359
|
color: "primary",
|
|
@@ -467,6 +475,13 @@ var input = tv({
|
|
|
467
475
|
inputWrapper: "data-[hover=true]:border-danger focus-within:border-danger"
|
|
468
476
|
}
|
|
469
477
|
},
|
|
478
|
+
{
|
|
479
|
+
variant: "underlined",
|
|
480
|
+
color: "default",
|
|
481
|
+
class: {
|
|
482
|
+
input: "group-data-[has-value=true]:text-foreground"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
470
485
|
{
|
|
471
486
|
variant: "underlined",
|
|
472
487
|
color: "primary",
|
|
@@ -547,6 +562,20 @@ var input = tv({
|
|
|
547
562
|
label: "text-danger"
|
|
548
563
|
}
|
|
549
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
|
+
},
|
|
550
579
|
{
|
|
551
580
|
radius: "full",
|
|
552
581
|
size: ["sm"],
|
|
@@ -590,13 +619,6 @@ var input = tv({
|
|
|
590
619
|
]
|
|
591
620
|
}
|
|
592
621
|
},
|
|
593
|
-
{
|
|
594
|
-
labelPlacement: "inside",
|
|
595
|
-
color: "default",
|
|
596
|
-
class: {
|
|
597
|
-
label: "group-data-[filled-within=true]:text-foreground-600"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
622
|
{
|
|
601
623
|
isInvalid: true,
|
|
602
624
|
variant: "flat",
|
|
@@ -672,11 +694,9 @@ var input = tv({
|
|
|
672
694
|
label: [
|
|
673
695
|
"pb-0",
|
|
674
696
|
"z-20",
|
|
675
|
-
"opacity-60",
|
|
676
697
|
"top-1/2",
|
|
677
698
|
"-translate-y-1/2",
|
|
678
|
-
"group-data-[filled-within=true]:left-0"
|
|
679
|
-
"group-data-[filled-within=true]:opacity-100"
|
|
699
|
+
"group-data-[filled-within=true]:left-0"
|
|
680
700
|
]
|
|
681
701
|
}
|
|
682
702
|
},
|
|
@@ -689,7 +709,6 @@ var input = tv({
|
|
|
689
709
|
{
|
|
690
710
|
labelPlacement: ["inside"],
|
|
691
711
|
variant: "flat",
|
|
692
|
-
size: ["md", "lg"],
|
|
693
712
|
class: {
|
|
694
713
|
innerWrapper: "pb-0.5"
|
|
695
714
|
}
|
|
@@ -887,6 +906,12 @@ var input = tv({
|
|
|
887
906
|
class: {
|
|
888
907
|
input: "transition-height !duration-100 motion-reduce:transition-none"
|
|
889
908
|
}
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
labelPlacement: ["inside", "outside"],
|
|
912
|
+
class: {
|
|
913
|
+
label: ["pe-2", "max-w-full", "text-ellipsis", "overflow-hidden"]
|
|
914
|
+
}
|
|
890
915
|
}
|
|
891
916
|
]
|
|
892
917
|
});
|
|
@@ -9,18 +9,18 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
9
9
|
};
|
|
10
10
|
faded: {
|
|
11
11
|
trigger: string[];
|
|
12
|
+
value: string;
|
|
12
13
|
};
|
|
13
14
|
bordered: {
|
|
14
15
|
trigger: string[];
|
|
15
16
|
};
|
|
16
17
|
underlined: {
|
|
17
18
|
trigger: string[];
|
|
19
|
+
label: string;
|
|
18
20
|
};
|
|
19
21
|
};
|
|
20
22
|
color: {
|
|
21
|
-
default: {
|
|
22
|
-
value: string[];
|
|
23
|
-
};
|
|
23
|
+
default: {};
|
|
24
24
|
primary: {};
|
|
25
25
|
secondary: {};
|
|
26
26
|
success: {};
|
|
@@ -62,7 +62,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
62
62
|
labelPlacement: {
|
|
63
63
|
outside: {
|
|
64
64
|
base: string;
|
|
65
|
-
label: string;
|
|
66
65
|
};
|
|
67
66
|
"outside-left": {
|
|
68
67
|
base: string;
|
|
@@ -146,18 +145,18 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
146
145
|
};
|
|
147
146
|
faded: {
|
|
148
147
|
trigger: string[];
|
|
148
|
+
value: string;
|
|
149
149
|
};
|
|
150
150
|
bordered: {
|
|
151
151
|
trigger: string[];
|
|
152
152
|
};
|
|
153
153
|
underlined: {
|
|
154
154
|
trigger: string[];
|
|
155
|
+
label: string;
|
|
155
156
|
};
|
|
156
157
|
};
|
|
157
158
|
color: {
|
|
158
|
-
default: {
|
|
159
|
-
value: string[];
|
|
160
|
-
};
|
|
159
|
+
default: {};
|
|
161
160
|
primary: {};
|
|
162
161
|
secondary: {};
|
|
163
162
|
success: {};
|
|
@@ -199,7 +198,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
199
198
|
labelPlacement: {
|
|
200
199
|
outside: {
|
|
201
200
|
base: string;
|
|
202
|
-
label: string;
|
|
203
201
|
};
|
|
204
202
|
"outside-left": {
|
|
205
203
|
base: string;
|
|
@@ -268,18 +266,18 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
268
266
|
};
|
|
269
267
|
faded: {
|
|
270
268
|
trigger: string[];
|
|
269
|
+
value: string;
|
|
271
270
|
};
|
|
272
271
|
bordered: {
|
|
273
272
|
trigger: string[];
|
|
274
273
|
};
|
|
275
274
|
underlined: {
|
|
276
275
|
trigger: string[];
|
|
276
|
+
label: string;
|
|
277
277
|
};
|
|
278
278
|
};
|
|
279
279
|
color: {
|
|
280
|
-
default: {
|
|
281
|
-
value: string[];
|
|
282
|
-
};
|
|
280
|
+
default: {};
|
|
283
281
|
primary: {};
|
|
284
282
|
secondary: {};
|
|
285
283
|
success: {};
|
|
@@ -321,7 +319,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
321
319
|
labelPlacement: {
|
|
322
320
|
outside: {
|
|
323
321
|
base: string;
|
|
324
|
-
label: string;
|
|
325
322
|
};
|
|
326
323
|
"outside-left": {
|
|
327
324
|
base: string;
|
|
@@ -390,18 +387,18 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
390
387
|
};
|
|
391
388
|
faded: {
|
|
392
389
|
trigger: string[];
|
|
390
|
+
value: string;
|
|
393
391
|
};
|
|
394
392
|
bordered: {
|
|
395
393
|
trigger: string[];
|
|
396
394
|
};
|
|
397
395
|
underlined: {
|
|
398
396
|
trigger: string[];
|
|
397
|
+
label: string;
|
|
399
398
|
};
|
|
400
399
|
};
|
|
401
400
|
color: {
|
|
402
|
-
default: {
|
|
403
|
-
value: string[];
|
|
404
|
-
};
|
|
401
|
+
default: {};
|
|
405
402
|
primary: {};
|
|
406
403
|
secondary: {};
|
|
407
404
|
success: {};
|
|
@@ -443,7 +440,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
443
440
|
labelPlacement: {
|
|
444
441
|
outside: {
|
|
445
442
|
base: string;
|
|
446
|
-
label: string;
|
|
447
443
|
};
|
|
448
444
|
"outside-left": {
|
|
449
445
|
base: string;
|
|
@@ -527,18 +523,18 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
527
523
|
};
|
|
528
524
|
faded: {
|
|
529
525
|
trigger: string[];
|
|
526
|
+
value: string;
|
|
530
527
|
};
|
|
531
528
|
bordered: {
|
|
532
529
|
trigger: string[];
|
|
533
530
|
};
|
|
534
531
|
underlined: {
|
|
535
532
|
trigger: string[];
|
|
533
|
+
label: string;
|
|
536
534
|
};
|
|
537
535
|
};
|
|
538
536
|
color: {
|
|
539
|
-
default: {
|
|
540
|
-
value: string[];
|
|
541
|
-
};
|
|
537
|
+
default: {};
|
|
542
538
|
primary: {};
|
|
543
539
|
secondary: {};
|
|
544
540
|
success: {};
|
|
@@ -580,7 +576,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
580
576
|
labelPlacement: {
|
|
581
577
|
outside: {
|
|
582
578
|
base: string;
|
|
583
|
-
label: string;
|
|
584
579
|
};
|
|
585
580
|
"outside-left": {
|
|
586
581
|
base: string;
|
|
@@ -664,18 +659,18 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
664
659
|
};
|
|
665
660
|
faded: {
|
|
666
661
|
trigger: string[];
|
|
662
|
+
value: string;
|
|
667
663
|
};
|
|
668
664
|
bordered: {
|
|
669
665
|
trigger: string[];
|
|
670
666
|
};
|
|
671
667
|
underlined: {
|
|
672
668
|
trigger: string[];
|
|
669
|
+
label: string;
|
|
673
670
|
};
|
|
674
671
|
};
|
|
675
672
|
color: {
|
|
676
|
-
default: {
|
|
677
|
-
value: string[];
|
|
678
|
-
};
|
|
673
|
+
default: {};
|
|
679
674
|
primary: {};
|
|
680
675
|
secondary: {};
|
|
681
676
|
success: {};
|
|
@@ -717,7 +712,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
717
712
|
labelPlacement: {
|
|
718
713
|
outside: {
|
|
719
714
|
base: string;
|
|
720
|
-
label: string;
|
|
721
715
|
};
|
|
722
716
|
"outside-left": {
|
|
723
717
|
base: string;
|
|
@@ -786,18 +780,18 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
786
780
|
};
|
|
787
781
|
faded: {
|
|
788
782
|
trigger: string[];
|
|
783
|
+
value: string;
|
|
789
784
|
};
|
|
790
785
|
bordered: {
|
|
791
786
|
trigger: string[];
|
|
792
787
|
};
|
|
793
788
|
underlined: {
|
|
794
789
|
trigger: string[];
|
|
790
|
+
label: string;
|
|
795
791
|
};
|
|
796
792
|
};
|
|
797
793
|
color: {
|
|
798
|
-
default: {
|
|
799
|
-
value: string[];
|
|
800
|
-
};
|
|
794
|
+
default: {};
|
|
801
795
|
primary: {};
|
|
802
796
|
secondary: {};
|
|
803
797
|
success: {};
|
|
@@ -839,7 +833,6 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
839
833
|
labelPlacement: {
|
|
840
834
|
outside: {
|
|
841
835
|
base: string;
|
|
842
|
-
label: string;
|
|
843
836
|
};
|
|
844
837
|
"outside-left": {
|
|
845
838
|
base: string;
|
|
@@ -121,7 +121,7 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
121
121
|
// src/components/select.ts
|
|
122
122
|
var select = tv({
|
|
123
123
|
slots: {
|
|
124
|
-
base: ["group inline-flex flex-col relative w-full"
|
|
124
|
+
base: ["group inline-flex flex-col relative w-full"],
|
|
125
125
|
label: [
|
|
126
126
|
"block",
|
|
127
127
|
"absolute",
|
|
@@ -137,11 +137,11 @@ var select = tv({
|
|
|
137
137
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
|
|
138
138
|
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
139
139
|
spinner: "absolute right-3",
|
|
140
|
-
value: ["font-normal", "w-full", "text-left"],
|
|
140
|
+
value: ["text-foreground-500", "font-normal", "w-full", "text-left"],
|
|
141
141
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
142
142
|
listbox: "",
|
|
143
143
|
popoverContent: "w-full p-1 overflow-hidden",
|
|
144
|
-
helperWrapper: "
|
|
144
|
+
helperWrapper: "p-1 flex relative flex-col gap-1.5",
|
|
145
145
|
description: "text-tiny text-foreground-400",
|
|
146
146
|
errorMessage: "text-tiny text-danger"
|
|
147
147
|
},
|
|
@@ -160,15 +160,17 @@ var select = tv({
|
|
|
160
160
|
"border-medium",
|
|
161
161
|
"border-default-200",
|
|
162
162
|
"data-[hover=true]:border-default-400"
|
|
163
|
-
]
|
|
163
|
+
],
|
|
164
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
164
165
|
},
|
|
165
166
|
bordered: {
|
|
166
167
|
trigger: [
|
|
167
168
|
"border-medium",
|
|
168
169
|
"border-default-200",
|
|
169
170
|
"data-[hover=true]:border-default-400",
|
|
170
|
-
"data-[open=true]:border-foreground",
|
|
171
|
-
"data-[focus=true]:border-foreground"
|
|
171
|
+
"data-[open=true]:border-default-foreground",
|
|
172
|
+
"data-[focus=true]:border-default-foreground",
|
|
173
|
+
"data-[focus=true]:border-default-foreground"
|
|
172
174
|
]
|
|
173
175
|
},
|
|
174
176
|
underlined: {
|
|
@@ -186,7 +188,7 @@ var select = tv({
|
|
|
186
188
|
"after:content-['']",
|
|
187
189
|
"after:w-0",
|
|
188
190
|
"after:origin-center",
|
|
189
|
-
"after:bg-foreground",
|
|
191
|
+
"after:bg-default-foreground",
|
|
190
192
|
"after:absolute",
|
|
191
193
|
"after:left-1/2",
|
|
192
194
|
"after:-translate-x-1/2",
|
|
@@ -194,13 +196,12 @@ var select = tv({
|
|
|
194
196
|
"after:h-[2px]",
|
|
195
197
|
"data-[open=true]:after:w-full",
|
|
196
198
|
"data-[focus=true]:after:w-full"
|
|
197
|
-
]
|
|
199
|
+
],
|
|
200
|
+
label: "group-data-[filled=true]:text-foreground"
|
|
198
201
|
}
|
|
199
202
|
},
|
|
200
203
|
color: {
|
|
201
|
-
default: {
|
|
202
|
-
value: ["text-foreground-500", "group-data-[has-value=true]:text-foreground"]
|
|
203
|
-
},
|
|
204
|
+
default: {},
|
|
204
205
|
primary: {},
|
|
205
206
|
secondary: {},
|
|
206
207
|
success: {},
|
|
@@ -211,7 +212,7 @@ var select = tv({
|
|
|
211
212
|
sm: {
|
|
212
213
|
label: "text-tiny",
|
|
213
214
|
trigger: "h-unit-8 min-h-unit-8 px-2 rounded-small",
|
|
214
|
-
value: "text-
|
|
215
|
+
value: "text-small"
|
|
215
216
|
},
|
|
216
217
|
md: {
|
|
217
218
|
trigger: "h-unit-10 min-h-unit-10 rounded-medium",
|
|
@@ -241,12 +242,11 @@ var select = tv({
|
|
|
241
242
|
},
|
|
242
243
|
labelPlacement: {
|
|
243
244
|
outside: {
|
|
244
|
-
base: "flex flex-col"
|
|
245
|
-
label: "text-foreground pb-1.5"
|
|
245
|
+
base: "flex flex-col"
|
|
246
246
|
},
|
|
247
247
|
"outside-left": {
|
|
248
248
|
base: "flex-row items-center flex-nowrap items-start",
|
|
249
|
-
label: "relative text-foreground
|
|
249
|
+
label: "relative pr-2 text-foreground"
|
|
250
250
|
},
|
|
251
251
|
inside: {
|
|
252
252
|
label: "text-tiny cursor-pointer",
|
|
@@ -324,6 +324,13 @@ var select = tv({
|
|
|
324
324
|
disableSelectorIconRotation: false
|
|
325
325
|
},
|
|
326
326
|
compoundVariants: [
|
|
327
|
+
{
|
|
328
|
+
variant: "flat",
|
|
329
|
+
color: "default",
|
|
330
|
+
class: {
|
|
331
|
+
value: "group-data-[has-value=true]:text-default-foreground"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
327
334
|
{
|
|
328
335
|
variant: "flat",
|
|
329
336
|
color: "primary",
|
|
@@ -437,6 +444,13 @@ var select = tv({
|
|
|
437
444
|
label: "text-danger"
|
|
438
445
|
}
|
|
439
446
|
},
|
|
447
|
+
{
|
|
448
|
+
variant: "underlined",
|
|
449
|
+
color: "default",
|
|
450
|
+
class: {
|
|
451
|
+
value: "group-data-[has-value=true]:text-foreground"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
440
454
|
{
|
|
441
455
|
variant: "underlined",
|
|
442
456
|
color: "primary",
|
|
@@ -517,6 +531,20 @@ var select = tv({
|
|
|
517
531
|
label: "text-danger"
|
|
518
532
|
}
|
|
519
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
|
+
},
|
|
520
548
|
{
|
|
521
549
|
radius: "full",
|
|
522
550
|
size: ["sm"],
|
|
@@ -560,13 +588,6 @@ var select = tv({
|
|
|
560
588
|
]
|
|
561
589
|
}
|
|
562
590
|
},
|
|
563
|
-
{
|
|
564
|
-
labelPlacement: "inside",
|
|
565
|
-
color: "default",
|
|
566
|
-
class: {
|
|
567
|
-
label: "group-data-[filled=true]:text-foreground-600"
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
591
|
{
|
|
571
592
|
isInvalid: true,
|
|
572
593
|
variant: "flat",
|
|
@@ -625,15 +646,7 @@ var select = tv({
|
|
|
625
646
|
isMultiline: false,
|
|
626
647
|
class: {
|
|
627
648
|
base: "group relative justify-end",
|
|
628
|
-
label: [
|
|
629
|
-
"pb-0",
|
|
630
|
-
"z-20",
|
|
631
|
-
"opacity-60",
|
|
632
|
-
"top-1/2",
|
|
633
|
-
"-translate-y-1/2",
|
|
634
|
-
"group-data-[filled=true]:opacity-100",
|
|
635
|
-
"group-data-[filled=true]:left-0"
|
|
636
|
-
]
|
|
649
|
+
label: ["pb-0", "z-20", "top-1/2", "-translate-y-1/2", "group-data-[filled=true]:left-0"]
|
|
637
650
|
}
|
|
638
651
|
},
|
|
639
652
|
{
|
|
@@ -785,6 +798,12 @@ var select = tv({
|
|
|
785
798
|
],
|
|
786
799
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
787
800
|
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
labelPlacement: ["inside", "outside"],
|
|
804
|
+
class: {
|
|
805
|
+
label: ["pe-2", "max-w-full", "text-ellipsis", "overflow-hidden"]
|
|
806
|
+
}
|
|
788
807
|
}
|
|
789
808
|
]
|
|
790
809
|
});
|