@nextui-org/theme 0.0.0-dev-v2-20240416002725 → 0.0.0-dev-v2-20240416003301
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-5EJVI4V3.mjs → chunk-4JHPF6RU.mjs} +21 -5
- package/dist/components/index.js +21 -5
- package/dist/components/index.mjs +1 -1
- package/dist/components/select.js +21 -5
- package/dist/components/select.mjs +1 -1
- package/dist/index.js +21 -5
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ var select = tv({
|
|
|
14
14
|
"absolute",
|
|
15
15
|
"z-10",
|
|
16
16
|
"origin-top-left",
|
|
17
|
+
"rtl:origin-top-right",
|
|
17
18
|
"subpixel-antialiased",
|
|
18
19
|
"text-small",
|
|
19
20
|
"text-foreground-500",
|
|
@@ -22,9 +23,9 @@ var select = tv({
|
|
|
22
23
|
mainWrapper: "w-full flex flex-col",
|
|
23
24
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
24
25
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
|
|
25
|
-
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
26
|
-
spinner: "absolute right-3",
|
|
27
|
-
value: ["text-foreground-500", "font-normal", "w-full", "text-left"],
|
|
26
|
+
selectorIcon: "absolute right-3 rtl:left-3 rtl:right-[unset] w-unit-4 h-unit-4",
|
|
27
|
+
spinner: "absolute right-3 rtl:left-3 rtl:right-[unset]",
|
|
28
|
+
value: ["text-foreground-500", "font-normal", "w-full", "text-left", "rtl:text-right"],
|
|
28
29
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
29
30
|
listbox: "",
|
|
30
31
|
popoverContent: "w-full p-1 overflow-hidden",
|
|
@@ -133,7 +134,7 @@ var select = tv({
|
|
|
133
134
|
},
|
|
134
135
|
"outside-left": {
|
|
135
136
|
base: "flex-row items-center flex-nowrap items-start",
|
|
136
|
-
label: "relative pr-2 text-foreground"
|
|
137
|
+
label: "relative pr-2 rtl:pl-2 rtl:pr-[unset] text-foreground"
|
|
137
138
|
},
|
|
138
139
|
inside: {
|
|
139
140
|
label: "text-tiny cursor-pointer",
|
|
@@ -184,6 +185,7 @@ var select = tv({
|
|
|
184
185
|
label: [
|
|
185
186
|
"will-change-auto",
|
|
186
187
|
"origin-top-left",
|
|
188
|
+
"rtl:origin-top-right",
|
|
187
189
|
"!duration-200",
|
|
188
190
|
"!ease-out",
|
|
189
191
|
"transition-[transform,color,left,opacity]",
|
|
@@ -533,7 +535,15 @@ var select = tv({
|
|
|
533
535
|
isMultiline: false,
|
|
534
536
|
class: {
|
|
535
537
|
base: "group relative justify-end",
|
|
536
|
-
label: [
|
|
538
|
+
label: [
|
|
539
|
+
"pb-0",
|
|
540
|
+
"z-20",
|
|
541
|
+
"top-1/2",
|
|
542
|
+
"-translate-y-1/2",
|
|
543
|
+
"group-data-[filled=true]:left-0",
|
|
544
|
+
"rtl:group-data-[filled=true]:right-0",
|
|
545
|
+
"rtl:group-data-[filled=true]:left-[unset]"
|
|
546
|
+
]
|
|
537
547
|
}
|
|
538
548
|
},
|
|
539
549
|
{
|
|
@@ -654,6 +664,8 @@ var select = tv({
|
|
|
654
664
|
class: {
|
|
655
665
|
label: [
|
|
656
666
|
"left-2",
|
|
667
|
+
"rtl:right-2",
|
|
668
|
+
"rtl:left-[unset]",
|
|
657
669
|
"text-tiny",
|
|
658
670
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
659
671
|
],
|
|
@@ -667,6 +679,8 @@ var select = tv({
|
|
|
667
679
|
class: {
|
|
668
680
|
label: [
|
|
669
681
|
"left-3",
|
|
682
|
+
"rtl:right-3",
|
|
683
|
+
"rtl:left-[unset]",
|
|
670
684
|
"text-small",
|
|
671
685
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
672
686
|
],
|
|
@@ -680,6 +694,8 @@ var select = tv({
|
|
|
680
694
|
class: {
|
|
681
695
|
label: [
|
|
682
696
|
"left-3",
|
|
697
|
+
"rtl:right-3",
|
|
698
|
+
"rtl:left-[unset]",
|
|
683
699
|
"text-medium",
|
|
684
700
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
685
701
|
],
|
package/dist/components/index.js
CHANGED
|
@@ -6130,6 +6130,7 @@ var select = tv({
|
|
|
6130
6130
|
"absolute",
|
|
6131
6131
|
"z-10",
|
|
6132
6132
|
"origin-top-left",
|
|
6133
|
+
"rtl:origin-top-right",
|
|
6133
6134
|
"subpixel-antialiased",
|
|
6134
6135
|
"text-small",
|
|
6135
6136
|
"text-foreground-500",
|
|
@@ -6138,9 +6139,9 @@ var select = tv({
|
|
|
6138
6139
|
mainWrapper: "w-full flex flex-col",
|
|
6139
6140
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
6140
6141
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
|
|
6141
|
-
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
6142
|
-
spinner: "absolute right-3",
|
|
6143
|
-
value: ["text-foreground-500", "font-normal", "w-full", "text-left"],
|
|
6142
|
+
selectorIcon: "absolute right-3 rtl:left-3 rtl:right-[unset] w-unit-4 h-unit-4",
|
|
6143
|
+
spinner: "absolute right-3 rtl:left-3 rtl:right-[unset]",
|
|
6144
|
+
value: ["text-foreground-500", "font-normal", "w-full", "text-left", "rtl:text-right"],
|
|
6144
6145
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
6145
6146
|
listbox: "",
|
|
6146
6147
|
popoverContent: "w-full p-1 overflow-hidden",
|
|
@@ -6249,7 +6250,7 @@ var select = tv({
|
|
|
6249
6250
|
},
|
|
6250
6251
|
"outside-left": {
|
|
6251
6252
|
base: "flex-row items-center flex-nowrap items-start",
|
|
6252
|
-
label: "relative pr-2 text-foreground"
|
|
6253
|
+
label: "relative pr-2 rtl:pl-2 rtl:pr-[unset] text-foreground"
|
|
6253
6254
|
},
|
|
6254
6255
|
inside: {
|
|
6255
6256
|
label: "text-tiny cursor-pointer",
|
|
@@ -6300,6 +6301,7 @@ var select = tv({
|
|
|
6300
6301
|
label: [
|
|
6301
6302
|
"will-change-auto",
|
|
6302
6303
|
"origin-top-left",
|
|
6304
|
+
"rtl:origin-top-right",
|
|
6303
6305
|
"!duration-200",
|
|
6304
6306
|
"!ease-out",
|
|
6305
6307
|
"transition-[transform,color,left,opacity]",
|
|
@@ -6649,7 +6651,15 @@ var select = tv({
|
|
|
6649
6651
|
isMultiline: false,
|
|
6650
6652
|
class: {
|
|
6651
6653
|
base: "group relative justify-end",
|
|
6652
|
-
label: [
|
|
6654
|
+
label: [
|
|
6655
|
+
"pb-0",
|
|
6656
|
+
"z-20",
|
|
6657
|
+
"top-1/2",
|
|
6658
|
+
"-translate-y-1/2",
|
|
6659
|
+
"group-data-[filled=true]:left-0",
|
|
6660
|
+
"rtl:group-data-[filled=true]:right-0",
|
|
6661
|
+
"rtl:group-data-[filled=true]:left-[unset]"
|
|
6662
|
+
]
|
|
6653
6663
|
}
|
|
6654
6664
|
},
|
|
6655
6665
|
{
|
|
@@ -6770,6 +6780,8 @@ var select = tv({
|
|
|
6770
6780
|
class: {
|
|
6771
6781
|
label: [
|
|
6772
6782
|
"left-2",
|
|
6783
|
+
"rtl:right-2",
|
|
6784
|
+
"rtl:left-[unset]",
|
|
6773
6785
|
"text-tiny",
|
|
6774
6786
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
6775
6787
|
],
|
|
@@ -6783,6 +6795,8 @@ var select = tv({
|
|
|
6783
6795
|
class: {
|
|
6784
6796
|
label: [
|
|
6785
6797
|
"left-3",
|
|
6798
|
+
"rtl:right-3",
|
|
6799
|
+
"rtl:left-[unset]",
|
|
6786
6800
|
"text-small",
|
|
6787
6801
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
6788
6802
|
],
|
|
@@ -6796,6 +6810,8 @@ var select = tv({
|
|
|
6796
6810
|
class: {
|
|
6797
6811
|
label: [
|
|
6798
6812
|
"left-3",
|
|
6813
|
+
"rtl:right-3",
|
|
6814
|
+
"rtl:left-[unset]",
|
|
6799
6815
|
"text-medium",
|
|
6800
6816
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
6801
6817
|
],
|
|
@@ -134,6 +134,7 @@ var select = tv({
|
|
|
134
134
|
"absolute",
|
|
135
135
|
"z-10",
|
|
136
136
|
"origin-top-left",
|
|
137
|
+
"rtl:origin-top-right",
|
|
137
138
|
"subpixel-antialiased",
|
|
138
139
|
"text-small",
|
|
139
140
|
"text-foreground-500",
|
|
@@ -142,9 +143,9 @@ var select = tv({
|
|
|
142
143
|
mainWrapper: "w-full flex flex-col",
|
|
143
144
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
144
145
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
|
|
145
|
-
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
146
|
-
spinner: "absolute right-3",
|
|
147
|
-
value: ["text-foreground-500", "font-normal", "w-full", "text-left"],
|
|
146
|
+
selectorIcon: "absolute right-3 rtl:left-3 rtl:right-[unset] w-unit-4 h-unit-4",
|
|
147
|
+
spinner: "absolute right-3 rtl:left-3 rtl:right-[unset]",
|
|
148
|
+
value: ["text-foreground-500", "font-normal", "w-full", "text-left", "rtl:text-right"],
|
|
148
149
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
149
150
|
listbox: "",
|
|
150
151
|
popoverContent: "w-full p-1 overflow-hidden",
|
|
@@ -253,7 +254,7 @@ var select = tv({
|
|
|
253
254
|
},
|
|
254
255
|
"outside-left": {
|
|
255
256
|
base: "flex-row items-center flex-nowrap items-start",
|
|
256
|
-
label: "relative pr-2 text-foreground"
|
|
257
|
+
label: "relative pr-2 rtl:pl-2 rtl:pr-[unset] text-foreground"
|
|
257
258
|
},
|
|
258
259
|
inside: {
|
|
259
260
|
label: "text-tiny cursor-pointer",
|
|
@@ -304,6 +305,7 @@ var select = tv({
|
|
|
304
305
|
label: [
|
|
305
306
|
"will-change-auto",
|
|
306
307
|
"origin-top-left",
|
|
308
|
+
"rtl:origin-top-right",
|
|
307
309
|
"!duration-200",
|
|
308
310
|
"!ease-out",
|
|
309
311
|
"transition-[transform,color,left,opacity]",
|
|
@@ -653,7 +655,15 @@ var select = tv({
|
|
|
653
655
|
isMultiline: false,
|
|
654
656
|
class: {
|
|
655
657
|
base: "group relative justify-end",
|
|
656
|
-
label: [
|
|
658
|
+
label: [
|
|
659
|
+
"pb-0",
|
|
660
|
+
"z-20",
|
|
661
|
+
"top-1/2",
|
|
662
|
+
"-translate-y-1/2",
|
|
663
|
+
"group-data-[filled=true]:left-0",
|
|
664
|
+
"rtl:group-data-[filled=true]:right-0",
|
|
665
|
+
"rtl:group-data-[filled=true]:left-[unset]"
|
|
666
|
+
]
|
|
657
667
|
}
|
|
658
668
|
},
|
|
659
669
|
{
|
|
@@ -774,6 +784,8 @@ var select = tv({
|
|
|
774
784
|
class: {
|
|
775
785
|
label: [
|
|
776
786
|
"left-2",
|
|
787
|
+
"rtl:right-2",
|
|
788
|
+
"rtl:left-[unset]",
|
|
777
789
|
"text-tiny",
|
|
778
790
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
779
791
|
],
|
|
@@ -787,6 +799,8 @@ var select = tv({
|
|
|
787
799
|
class: {
|
|
788
800
|
label: [
|
|
789
801
|
"left-3",
|
|
802
|
+
"rtl:right-3",
|
|
803
|
+
"rtl:left-[unset]",
|
|
790
804
|
"text-small",
|
|
791
805
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
792
806
|
],
|
|
@@ -800,6 +814,8 @@ var select = tv({
|
|
|
800
814
|
class: {
|
|
801
815
|
label: [
|
|
802
816
|
"left-3",
|
|
817
|
+
"rtl:right-3",
|
|
818
|
+
"rtl:left-[unset]",
|
|
803
819
|
"text-medium",
|
|
804
820
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
805
821
|
],
|
package/dist/index.js
CHANGED
|
@@ -6163,6 +6163,7 @@ var select = tv({
|
|
|
6163
6163
|
"absolute",
|
|
6164
6164
|
"z-10",
|
|
6165
6165
|
"origin-top-left",
|
|
6166
|
+
"rtl:origin-top-right",
|
|
6166
6167
|
"subpixel-antialiased",
|
|
6167
6168
|
"text-small",
|
|
6168
6169
|
"text-foreground-500",
|
|
@@ -6171,9 +6172,9 @@ var select = tv({
|
|
|
6171
6172
|
mainWrapper: "w-full flex flex-col",
|
|
6172
6173
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
6173
6174
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] min-h-unit-4 items-center gap-1.5 box-border",
|
|
6174
|
-
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
6175
|
-
spinner: "absolute right-3",
|
|
6176
|
-
value: ["text-foreground-500", "font-normal", "w-full", "text-left"],
|
|
6175
|
+
selectorIcon: "absolute right-3 rtl:left-3 rtl:right-[unset] w-unit-4 h-unit-4",
|
|
6176
|
+
spinner: "absolute right-3 rtl:left-3 rtl:right-[unset]",
|
|
6177
|
+
value: ["text-foreground-500", "font-normal", "w-full", "text-left", "rtl:text-right"],
|
|
6177
6178
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
6178
6179
|
listbox: "",
|
|
6179
6180
|
popoverContent: "w-full p-1 overflow-hidden",
|
|
@@ -6282,7 +6283,7 @@ var select = tv({
|
|
|
6282
6283
|
},
|
|
6283
6284
|
"outside-left": {
|
|
6284
6285
|
base: "flex-row items-center flex-nowrap items-start",
|
|
6285
|
-
label: "relative pr-2 text-foreground"
|
|
6286
|
+
label: "relative pr-2 rtl:pl-2 rtl:pr-[unset] text-foreground"
|
|
6286
6287
|
},
|
|
6287
6288
|
inside: {
|
|
6288
6289
|
label: "text-tiny cursor-pointer",
|
|
@@ -6333,6 +6334,7 @@ var select = tv({
|
|
|
6333
6334
|
label: [
|
|
6334
6335
|
"will-change-auto",
|
|
6335
6336
|
"origin-top-left",
|
|
6337
|
+
"rtl:origin-top-right",
|
|
6336
6338
|
"!duration-200",
|
|
6337
6339
|
"!ease-out",
|
|
6338
6340
|
"transition-[transform,color,left,opacity]",
|
|
@@ -6682,7 +6684,15 @@ var select = tv({
|
|
|
6682
6684
|
isMultiline: false,
|
|
6683
6685
|
class: {
|
|
6684
6686
|
base: "group relative justify-end",
|
|
6685
|
-
label: [
|
|
6687
|
+
label: [
|
|
6688
|
+
"pb-0",
|
|
6689
|
+
"z-20",
|
|
6690
|
+
"top-1/2",
|
|
6691
|
+
"-translate-y-1/2",
|
|
6692
|
+
"group-data-[filled=true]:left-0",
|
|
6693
|
+
"rtl:group-data-[filled=true]:right-0",
|
|
6694
|
+
"rtl:group-data-[filled=true]:left-[unset]"
|
|
6695
|
+
]
|
|
6686
6696
|
}
|
|
6687
6697
|
},
|
|
6688
6698
|
{
|
|
@@ -6803,6 +6813,8 @@ var select = tv({
|
|
|
6803
6813
|
class: {
|
|
6804
6814
|
label: [
|
|
6805
6815
|
"left-2",
|
|
6816
|
+
"rtl:right-2",
|
|
6817
|
+
"rtl:left-[unset]",
|
|
6806
6818
|
"text-tiny",
|
|
6807
6819
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
6808
6820
|
],
|
|
@@ -6816,6 +6828,8 @@ var select = tv({
|
|
|
6816
6828
|
class: {
|
|
6817
6829
|
label: [
|
|
6818
6830
|
"left-3",
|
|
6831
|
+
"rtl:right-3",
|
|
6832
|
+
"rtl:left-[unset]",
|
|
6819
6833
|
"text-small",
|
|
6820
6834
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
6821
6835
|
],
|
|
@@ -6829,6 +6843,8 @@ var select = tv({
|
|
|
6829
6843
|
class: {
|
|
6830
6844
|
label: [
|
|
6831
6845
|
"left-3",
|
|
6846
|
+
"rtl:right-3",
|
|
6847
|
+
"rtl:left-[unset]",
|
|
6832
6848
|
"text-medium",
|
|
6833
6849
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
6834
6850
|
],
|
package/dist/index.mjs
CHANGED