@nextui-org/theme 2.1.17 → 2.1.18
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-G2RPAV6S.mjs → chunk-NVOA7VPK.mjs} +19 -0
- package/dist/{chunk-FXXH62BP.mjs → chunk-WODEC7EF.mjs} +3 -3
- package/dist/components/chip.js +19 -0
- package/dist/components/chip.mjs +1 -1
- package/dist/components/index.js +22 -3
- package/dist/components/index.mjs +2 -2
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/toggle.js +3 -3
- package/dist/components/toggle.mjs +1 -1
- package/dist/index.js +22 -3
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
|
@@ -14,6 +14,7 @@ var chip = tv({
|
|
|
14
14
|
base: [
|
|
15
15
|
"relative",
|
|
16
16
|
"max-w-fit",
|
|
17
|
+
"min-w-min",
|
|
17
18
|
"inline-flex",
|
|
18
19
|
"items-center",
|
|
19
20
|
"justify-between",
|
|
@@ -396,6 +397,8 @@ var chip = tv({
|
|
|
396
397
|
},
|
|
397
398
|
{
|
|
398
399
|
isOneChar: true,
|
|
400
|
+
hasStartContent: false,
|
|
401
|
+
hasEndContent: false,
|
|
399
402
|
size: "sm",
|
|
400
403
|
class: {
|
|
401
404
|
base: "w-5 h-5 min-w-unit-5 min-h-5"
|
|
@@ -403,6 +406,8 @@ var chip = tv({
|
|
|
403
406
|
},
|
|
404
407
|
{
|
|
405
408
|
isOneChar: true,
|
|
409
|
+
hasStartContent: false,
|
|
410
|
+
hasEndContent: false,
|
|
406
411
|
size: "md",
|
|
407
412
|
class: {
|
|
408
413
|
base: "w-6 h-6 min-w-unit-6 min-h-6"
|
|
@@ -410,6 +415,8 @@ var chip = tv({
|
|
|
410
415
|
},
|
|
411
416
|
{
|
|
412
417
|
isOneChar: true,
|
|
418
|
+
hasStartContent: false,
|
|
419
|
+
hasEndContent: false,
|
|
413
420
|
size: "lg",
|
|
414
421
|
class: {
|
|
415
422
|
base: "w-7 h-7 min-w-unit-7 min-h-7"
|
|
@@ -418,6 +425,8 @@ var chip = tv({
|
|
|
418
425
|
{
|
|
419
426
|
isOneChar: true,
|
|
420
427
|
isCloseable: false,
|
|
428
|
+
hasStartContent: false,
|
|
429
|
+
hasEndContent: false,
|
|
421
430
|
class: {
|
|
422
431
|
base: "px-0 justify-center",
|
|
423
432
|
content: "px-0 flex-none"
|
|
@@ -426,10 +435,20 @@ var chip = tv({
|
|
|
426
435
|
{
|
|
427
436
|
isOneChar: true,
|
|
428
437
|
isCloseable: true,
|
|
438
|
+
hasStartContent: false,
|
|
439
|
+
hasEndContent: false,
|
|
429
440
|
class: {
|
|
430
441
|
base: "w-auto"
|
|
431
442
|
}
|
|
432
443
|
},
|
|
444
|
+
{
|
|
445
|
+
isOneChar: true,
|
|
446
|
+
variant: "dot",
|
|
447
|
+
class: {
|
|
448
|
+
base: "w-auto h-7 px-1 items-center",
|
|
449
|
+
content: "px-2"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
433
452
|
{
|
|
434
453
|
hasStartContent: true,
|
|
435
454
|
size: "sm",
|
|
@@ -80,7 +80,7 @@ var toggle = tv({
|
|
|
80
80
|
wrapper: "w-10 h-6 mr-2",
|
|
81
81
|
thumb: [
|
|
82
82
|
"w-4 h-4 text-tiny",
|
|
83
|
-
"group-data-[selected=true]:ml-4"
|
|
83
|
+
"group-data-[selected=true]:ml-4 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-4"
|
|
84
84
|
],
|
|
85
85
|
endContent: "text-tiny",
|
|
86
86
|
startContent: "text-tiny",
|
|
@@ -90,7 +90,7 @@ var toggle = tv({
|
|
|
90
90
|
wrapper: "w-12 h-7 mr-2",
|
|
91
91
|
thumb: [
|
|
92
92
|
"w-5 h-5 text-small",
|
|
93
|
-
"group-data-[selected=true]:ml-5"
|
|
93
|
+
"group-data-[selected=true]:ml-5 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-5"
|
|
94
94
|
],
|
|
95
95
|
endContent: "text-small",
|
|
96
96
|
startContent: "text-small",
|
|
@@ -100,7 +100,7 @@ var toggle = tv({
|
|
|
100
100
|
wrapper: "w-14 h-8 mr-2",
|
|
101
101
|
thumb: [
|
|
102
102
|
"w-6 h-6 text-medium",
|
|
103
|
-
"group-data-[selected=true]:ml-6"
|
|
103
|
+
"group-data-[selected=true]:ml-6 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-6"
|
|
104
104
|
],
|
|
105
105
|
endContent: "text-medium",
|
|
106
106
|
startContent: "text-medium",
|
package/dist/components/chip.js
CHANGED
|
@@ -205,6 +205,7 @@ var chip = tv({
|
|
|
205
205
|
base: [
|
|
206
206
|
"relative",
|
|
207
207
|
"max-w-fit",
|
|
208
|
+
"min-w-min",
|
|
208
209
|
"inline-flex",
|
|
209
210
|
"items-center",
|
|
210
211
|
"justify-between",
|
|
@@ -587,6 +588,8 @@ var chip = tv({
|
|
|
587
588
|
},
|
|
588
589
|
{
|
|
589
590
|
isOneChar: true,
|
|
591
|
+
hasStartContent: false,
|
|
592
|
+
hasEndContent: false,
|
|
590
593
|
size: "sm",
|
|
591
594
|
class: {
|
|
592
595
|
base: "w-5 h-5 min-w-unit-5 min-h-5"
|
|
@@ -594,6 +597,8 @@ var chip = tv({
|
|
|
594
597
|
},
|
|
595
598
|
{
|
|
596
599
|
isOneChar: true,
|
|
600
|
+
hasStartContent: false,
|
|
601
|
+
hasEndContent: false,
|
|
597
602
|
size: "md",
|
|
598
603
|
class: {
|
|
599
604
|
base: "w-6 h-6 min-w-unit-6 min-h-6"
|
|
@@ -601,6 +606,8 @@ var chip = tv({
|
|
|
601
606
|
},
|
|
602
607
|
{
|
|
603
608
|
isOneChar: true,
|
|
609
|
+
hasStartContent: false,
|
|
610
|
+
hasEndContent: false,
|
|
604
611
|
size: "lg",
|
|
605
612
|
class: {
|
|
606
613
|
base: "w-7 h-7 min-w-unit-7 min-h-7"
|
|
@@ -609,6 +616,8 @@ var chip = tv({
|
|
|
609
616
|
{
|
|
610
617
|
isOneChar: true,
|
|
611
618
|
isCloseable: false,
|
|
619
|
+
hasStartContent: false,
|
|
620
|
+
hasEndContent: false,
|
|
612
621
|
class: {
|
|
613
622
|
base: "px-0 justify-center",
|
|
614
623
|
content: "px-0 flex-none"
|
|
@@ -617,10 +626,20 @@ var chip = tv({
|
|
|
617
626
|
{
|
|
618
627
|
isOneChar: true,
|
|
619
628
|
isCloseable: true,
|
|
629
|
+
hasStartContent: false,
|
|
630
|
+
hasEndContent: false,
|
|
620
631
|
class: {
|
|
621
632
|
base: "w-auto"
|
|
622
633
|
}
|
|
623
634
|
},
|
|
635
|
+
{
|
|
636
|
+
isOneChar: true,
|
|
637
|
+
variant: "dot",
|
|
638
|
+
class: {
|
|
639
|
+
base: "w-auto h-7 px-1 items-center",
|
|
640
|
+
content: "px-2"
|
|
641
|
+
}
|
|
642
|
+
},
|
|
624
643
|
{
|
|
625
644
|
hasStartContent: true,
|
|
626
645
|
size: "sm",
|
package/dist/components/chip.mjs
CHANGED
package/dist/components/index.js
CHANGED
|
@@ -1725,6 +1725,7 @@ var chip = tv({
|
|
|
1725
1725
|
base: [
|
|
1726
1726
|
"relative",
|
|
1727
1727
|
"max-w-fit",
|
|
1728
|
+
"min-w-min",
|
|
1728
1729
|
"inline-flex",
|
|
1729
1730
|
"items-center",
|
|
1730
1731
|
"justify-between",
|
|
@@ -2107,6 +2108,8 @@ var chip = tv({
|
|
|
2107
2108
|
},
|
|
2108
2109
|
{
|
|
2109
2110
|
isOneChar: true,
|
|
2111
|
+
hasStartContent: false,
|
|
2112
|
+
hasEndContent: false,
|
|
2110
2113
|
size: "sm",
|
|
2111
2114
|
class: {
|
|
2112
2115
|
base: "w-5 h-5 min-w-unit-5 min-h-5"
|
|
@@ -2114,6 +2117,8 @@ var chip = tv({
|
|
|
2114
2117
|
},
|
|
2115
2118
|
{
|
|
2116
2119
|
isOneChar: true,
|
|
2120
|
+
hasStartContent: false,
|
|
2121
|
+
hasEndContent: false,
|
|
2117
2122
|
size: "md",
|
|
2118
2123
|
class: {
|
|
2119
2124
|
base: "w-6 h-6 min-w-unit-6 min-h-6"
|
|
@@ -2121,6 +2126,8 @@ var chip = tv({
|
|
|
2121
2126
|
},
|
|
2122
2127
|
{
|
|
2123
2128
|
isOneChar: true,
|
|
2129
|
+
hasStartContent: false,
|
|
2130
|
+
hasEndContent: false,
|
|
2124
2131
|
size: "lg",
|
|
2125
2132
|
class: {
|
|
2126
2133
|
base: "w-7 h-7 min-w-unit-7 min-h-7"
|
|
@@ -2129,6 +2136,8 @@ var chip = tv({
|
|
|
2129
2136
|
{
|
|
2130
2137
|
isOneChar: true,
|
|
2131
2138
|
isCloseable: false,
|
|
2139
|
+
hasStartContent: false,
|
|
2140
|
+
hasEndContent: false,
|
|
2132
2141
|
class: {
|
|
2133
2142
|
base: "px-0 justify-center",
|
|
2134
2143
|
content: "px-0 flex-none"
|
|
@@ -2137,10 +2146,20 @@ var chip = tv({
|
|
|
2137
2146
|
{
|
|
2138
2147
|
isOneChar: true,
|
|
2139
2148
|
isCloseable: true,
|
|
2149
|
+
hasStartContent: false,
|
|
2150
|
+
hasEndContent: false,
|
|
2140
2151
|
class: {
|
|
2141
2152
|
base: "w-auto"
|
|
2142
2153
|
}
|
|
2143
2154
|
},
|
|
2155
|
+
{
|
|
2156
|
+
isOneChar: true,
|
|
2157
|
+
variant: "dot",
|
|
2158
|
+
class: {
|
|
2159
|
+
base: "w-auto h-7 px-1 items-center",
|
|
2160
|
+
content: "px-2"
|
|
2161
|
+
}
|
|
2162
|
+
},
|
|
2144
2163
|
{
|
|
2145
2164
|
hasStartContent: true,
|
|
2146
2165
|
size: "sm",
|
|
@@ -3366,7 +3385,7 @@ var toggle = tv({
|
|
|
3366
3385
|
wrapper: "w-10 h-6 mr-2",
|
|
3367
3386
|
thumb: [
|
|
3368
3387
|
"w-4 h-4 text-tiny",
|
|
3369
|
-
"group-data-[selected=true]:ml-4"
|
|
3388
|
+
"group-data-[selected=true]:ml-4 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-4"
|
|
3370
3389
|
],
|
|
3371
3390
|
endContent: "text-tiny",
|
|
3372
3391
|
startContent: "text-tiny",
|
|
@@ -3376,7 +3395,7 @@ var toggle = tv({
|
|
|
3376
3395
|
wrapper: "w-12 h-7 mr-2",
|
|
3377
3396
|
thumb: [
|
|
3378
3397
|
"w-5 h-5 text-small",
|
|
3379
|
-
"group-data-[selected=true]:ml-5"
|
|
3398
|
+
"group-data-[selected=true]:ml-5 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-5"
|
|
3380
3399
|
],
|
|
3381
3400
|
endContent: "text-small",
|
|
3382
3401
|
startContent: "text-small",
|
|
@@ -3386,7 +3405,7 @@ var toggle = tv({
|
|
|
3386
3405
|
wrapper: "w-14 h-8 mr-2",
|
|
3387
3406
|
thumb: [
|
|
3388
3407
|
"w-6 h-6 text-medium",
|
|
3389
|
-
"group-data-[selected=true]:ml-6"
|
|
3408
|
+
"group-data-[selected=true]:ml-6 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-6"
|
|
3390
3409
|
],
|
|
3391
3410
|
endContent: "text-medium",
|
|
3392
3411
|
startContent: "text-medium",
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "../chunk-777XXWYS.mjs";
|
|
20
20
|
import {
|
|
21
21
|
toggle
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-WODEC7EF.mjs";
|
|
23
23
|
import {
|
|
24
24
|
user
|
|
25
25
|
} from "../chunk-2SNOAR5H.mjs";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "../chunk-QYW2VWAB.mjs";
|
|
80
80
|
import {
|
|
81
81
|
chip
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-NVOA7VPK.mjs";
|
|
83
83
|
import {
|
|
84
84
|
circularProgress
|
|
85
85
|
} from "../chunk-XPLXQDB3.mjs";
|
|
@@ -5,7 +5,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
5
5
|
/**
|
|
6
6
|
* Spinner wrapper **Tailwind Variants** component
|
|
7
7
|
*
|
|
8
|
-
* const {base,
|
|
8
|
+
* const {base, circle1, circle2, label } = spinner({...})
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* <div className={base())}>
|
|
@@ -201,7 +201,7 @@ var toggle = tv({
|
|
|
201
201
|
wrapper: "w-10 h-6 mr-2",
|
|
202
202
|
thumb: [
|
|
203
203
|
"w-4 h-4 text-tiny",
|
|
204
|
-
"group-data-[selected=true]:ml-4"
|
|
204
|
+
"group-data-[selected=true]:ml-4 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-4"
|
|
205
205
|
],
|
|
206
206
|
endContent: "text-tiny",
|
|
207
207
|
startContent: "text-tiny",
|
|
@@ -211,7 +211,7 @@ var toggle = tv({
|
|
|
211
211
|
wrapper: "w-12 h-7 mr-2",
|
|
212
212
|
thumb: [
|
|
213
213
|
"w-5 h-5 text-small",
|
|
214
|
-
"group-data-[selected=true]:ml-5"
|
|
214
|
+
"group-data-[selected=true]:ml-5 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-5"
|
|
215
215
|
],
|
|
216
216
|
endContent: "text-small",
|
|
217
217
|
startContent: "text-small",
|
|
@@ -221,7 +221,7 @@ var toggle = tv({
|
|
|
221
221
|
wrapper: "w-14 h-8 mr-2",
|
|
222
222
|
thumb: [
|
|
223
223
|
"w-6 h-6 text-medium",
|
|
224
|
-
"group-data-[selected=true]:ml-6"
|
|
224
|
+
"group-data-[selected=true]:ml-6 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-6"
|
|
225
225
|
],
|
|
226
226
|
endContent: "text-medium",
|
|
227
227
|
startContent: "text-medium",
|
package/dist/index.js
CHANGED
|
@@ -1758,6 +1758,7 @@ var chip = tv({
|
|
|
1758
1758
|
base: [
|
|
1759
1759
|
"relative",
|
|
1760
1760
|
"max-w-fit",
|
|
1761
|
+
"min-w-min",
|
|
1761
1762
|
"inline-flex",
|
|
1762
1763
|
"items-center",
|
|
1763
1764
|
"justify-between",
|
|
@@ -2140,6 +2141,8 @@ var chip = tv({
|
|
|
2140
2141
|
},
|
|
2141
2142
|
{
|
|
2142
2143
|
isOneChar: true,
|
|
2144
|
+
hasStartContent: false,
|
|
2145
|
+
hasEndContent: false,
|
|
2143
2146
|
size: "sm",
|
|
2144
2147
|
class: {
|
|
2145
2148
|
base: "w-5 h-5 min-w-unit-5 min-h-5"
|
|
@@ -2147,6 +2150,8 @@ var chip = tv({
|
|
|
2147
2150
|
},
|
|
2148
2151
|
{
|
|
2149
2152
|
isOneChar: true,
|
|
2153
|
+
hasStartContent: false,
|
|
2154
|
+
hasEndContent: false,
|
|
2150
2155
|
size: "md",
|
|
2151
2156
|
class: {
|
|
2152
2157
|
base: "w-6 h-6 min-w-unit-6 min-h-6"
|
|
@@ -2154,6 +2159,8 @@ var chip = tv({
|
|
|
2154
2159
|
},
|
|
2155
2160
|
{
|
|
2156
2161
|
isOneChar: true,
|
|
2162
|
+
hasStartContent: false,
|
|
2163
|
+
hasEndContent: false,
|
|
2157
2164
|
size: "lg",
|
|
2158
2165
|
class: {
|
|
2159
2166
|
base: "w-7 h-7 min-w-unit-7 min-h-7"
|
|
@@ -2162,6 +2169,8 @@ var chip = tv({
|
|
|
2162
2169
|
{
|
|
2163
2170
|
isOneChar: true,
|
|
2164
2171
|
isCloseable: false,
|
|
2172
|
+
hasStartContent: false,
|
|
2173
|
+
hasEndContent: false,
|
|
2165
2174
|
class: {
|
|
2166
2175
|
base: "px-0 justify-center",
|
|
2167
2176
|
content: "px-0 flex-none"
|
|
@@ -2170,10 +2179,20 @@ var chip = tv({
|
|
|
2170
2179
|
{
|
|
2171
2180
|
isOneChar: true,
|
|
2172
2181
|
isCloseable: true,
|
|
2182
|
+
hasStartContent: false,
|
|
2183
|
+
hasEndContent: false,
|
|
2173
2184
|
class: {
|
|
2174
2185
|
base: "w-auto"
|
|
2175
2186
|
}
|
|
2176
2187
|
},
|
|
2188
|
+
{
|
|
2189
|
+
isOneChar: true,
|
|
2190
|
+
variant: "dot",
|
|
2191
|
+
class: {
|
|
2192
|
+
base: "w-auto h-7 px-1 items-center",
|
|
2193
|
+
content: "px-2"
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2177
2196
|
{
|
|
2178
2197
|
hasStartContent: true,
|
|
2179
2198
|
size: "sm",
|
|
@@ -3399,7 +3418,7 @@ var toggle = tv({
|
|
|
3399
3418
|
wrapper: "w-10 h-6 mr-2",
|
|
3400
3419
|
thumb: [
|
|
3401
3420
|
"w-4 h-4 text-tiny",
|
|
3402
|
-
"group-data-[selected=true]:ml-4"
|
|
3421
|
+
"group-data-[selected=true]:ml-4 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-4"
|
|
3403
3422
|
],
|
|
3404
3423
|
endContent: "text-tiny",
|
|
3405
3424
|
startContent: "text-tiny",
|
|
@@ -3409,7 +3428,7 @@ var toggle = tv({
|
|
|
3409
3428
|
wrapper: "w-12 h-7 mr-2",
|
|
3410
3429
|
thumb: [
|
|
3411
3430
|
"w-5 h-5 text-small",
|
|
3412
|
-
"group-data-[selected=true]:ml-5"
|
|
3431
|
+
"group-data-[selected=true]:ml-5 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-5"
|
|
3413
3432
|
],
|
|
3414
3433
|
endContent: "text-small",
|
|
3415
3434
|
startContent: "text-small",
|
|
@@ -3419,7 +3438,7 @@ var toggle = tv({
|
|
|
3419
3438
|
wrapper: "w-14 h-8 mr-2",
|
|
3420
3439
|
thumb: [
|
|
3421
3440
|
"w-6 h-6 text-medium",
|
|
3422
|
-
"group-data-[selected=true]:ml-6"
|
|
3441
|
+
"group-data-[selected=true]:ml-6 rtl:group-data-[selected=true]:ml-0 rtl:group-data-[selected=true]:mr-6"
|
|
3423
3442
|
],
|
|
3424
3443
|
endContent: "text-medium",
|
|
3425
3444
|
startContent: "text-medium",
|
package/dist/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-777XXWYS.mjs";
|
|
20
20
|
import {
|
|
21
21
|
toggle
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WODEC7EF.mjs";
|
|
23
23
|
import {
|
|
24
24
|
user
|
|
25
25
|
} from "./chunk-2SNOAR5H.mjs";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-QYW2VWAB.mjs";
|
|
80
80
|
import {
|
|
81
81
|
chip
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-NVOA7VPK.mjs";
|
|
83
83
|
import {
|
|
84
84
|
circularProgress
|
|
85
85
|
} from "./chunk-XPLXQDB3.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextui-org/theme",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.18",
|
|
4
4
|
"description": "The default theme for NextUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"scripts": {
|
|
94
94
|
"build": "tsup src --dts",
|
|
95
95
|
"build:fast": "tsup src",
|
|
96
|
-
"dev": "
|
|
96
|
+
"dev": "pnpm build:fast --watch",
|
|
97
97
|
"clean": "rimraf dist .turbo",
|
|
98
98
|
"typecheck": "tsc --noEmit"
|
|
99
99
|
}
|