@shuriken-ui/tailwind 3.0.3 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/plugins/index.cjs +645 -30
- package/dist/plugins/index.mjs +645 -30
- package/dist/preset.d.cts +1 -1
- package/dist/preset.d.mts +1 -1
- package/dist/preset.d.ts +1 -1
- package/dist/shared/{tailwind.e5cd79f7.d.cts → tailwind.6e316a50.d.cts} +1320 -0
- package/dist/shared/{tailwind.e5cd79f7.d.mts → tailwind.6e316a50.d.mts} +1320 -0
- package/dist/shared/{tailwind.e5cd79f7.d.ts → tailwind.6e316a50.d.ts} +1320 -0
- package/package.json +1 -1
package/dist/plugins/index.cjs
CHANGED
@@ -687,6 +687,23 @@ const defaultConfig$R = {
|
|
687
687
|
clear: {
|
688
688
|
size: "12"
|
689
689
|
}
|
690
|
+
},
|
691
|
+
xl: {
|
692
|
+
font: {
|
693
|
+
size: "sm"
|
694
|
+
},
|
695
|
+
icon: {
|
696
|
+
size: {
|
697
|
+
inner: "5",
|
698
|
+
outer: "14"
|
699
|
+
}
|
700
|
+
},
|
701
|
+
placeload: {
|
702
|
+
size: "14"
|
703
|
+
},
|
704
|
+
clear: {
|
705
|
+
size: "14"
|
706
|
+
}
|
690
707
|
}
|
691
708
|
},
|
692
709
|
color: {
|
@@ -876,6 +893,11 @@ const defaultConfig$R = {
|
|
876
893
|
font: {
|
877
894
|
size: "sm"
|
878
895
|
}
|
896
|
+
},
|
897
|
+
xl: {
|
898
|
+
font: {
|
899
|
+
size: "base"
|
900
|
+
}
|
879
901
|
}
|
880
902
|
},
|
881
903
|
label: {
|
@@ -902,6 +924,15 @@ const defaultConfig$R = {
|
|
902
924
|
unfocus: "[0.825rem]"
|
903
925
|
}
|
904
926
|
}
|
927
|
+
},
|
928
|
+
xl: {
|
929
|
+
font: {
|
930
|
+
size: {
|
931
|
+
base: "xs",
|
932
|
+
focus: "xs",
|
933
|
+
unfocus: "[0.825rem]"
|
934
|
+
}
|
935
|
+
}
|
905
936
|
}
|
906
937
|
}
|
907
938
|
}
|
@@ -919,6 +950,11 @@ const defaultConfig$R = {
|
|
919
950
|
}
|
920
951
|
},
|
921
952
|
lg: {
|
953
|
+
font: {
|
954
|
+
size: "sm"
|
955
|
+
}
|
956
|
+
},
|
957
|
+
xl: {
|
922
958
|
font: {
|
923
959
|
size: "base"
|
924
960
|
}
|
@@ -948,6 +984,15 @@ const defaultConfig$R = {
|
|
948
984
|
unfocus: "[0.825rem]"
|
949
985
|
}
|
950
986
|
}
|
987
|
+
},
|
988
|
+
xl: {
|
989
|
+
font: {
|
990
|
+
size: {
|
991
|
+
base: "xs",
|
992
|
+
focus: "xs",
|
993
|
+
unfocus: "[0.825rem]"
|
994
|
+
}
|
995
|
+
}
|
951
996
|
}
|
952
997
|
}
|
953
998
|
}
|
@@ -1206,6 +1251,27 @@ const autocomplete = plugin__default(({ addComponents, theme }) => {
|
|
1206
1251
|
[`@apply h-${config2.size.lg.clear.size} w-${config2.size.lg.clear.size}`]: {}
|
1207
1252
|
}
|
1208
1253
|
},
|
1254
|
+
//Size:xl
|
1255
|
+
"&.nui-autocomplete-xl": {
|
1256
|
+
".nui-autocomplete-label": {
|
1257
|
+
[`@apply pb-1 text-${config2.size.xl.font.size}`]: {}
|
1258
|
+
},
|
1259
|
+
".nui-label-float": {
|
1260
|
+
"@apply top-[1.1rem]": {}
|
1261
|
+
},
|
1262
|
+
".nui-autocomplete-icon": {
|
1263
|
+
[`@apply h-${config2.size.xl.icon.size.outer} w-${config2.size.xl.icon.size.outer}`]: {},
|
1264
|
+
".nui-autocomplete-icon-inner": {
|
1265
|
+
[`@apply h-${config2.size.xl.icon.size.inner} w-${config2.size.xl.icon.size.inner}`]: {}
|
1266
|
+
}
|
1267
|
+
},
|
1268
|
+
".nui-autocomplete-placeload": {
|
1269
|
+
[`@apply h-${config2.size.xl.placeload.size}`]: {}
|
1270
|
+
},
|
1271
|
+
".nui-autocomplete-clear": {
|
1272
|
+
[`@apply h-${config2.size.xl.clear.size} w-${config2.size.xl.clear.size}`]: {}
|
1273
|
+
}
|
1274
|
+
},
|
1209
1275
|
//Color:default
|
1210
1276
|
"&.nui-autocomplete-default": {
|
1211
1277
|
".nui-autocomplete-input": {
|
@@ -1386,6 +1452,18 @@ const autocomplete = plugin__default(({ addComponents, theme }) => {
|
|
1386
1452
|
[`@apply h-12 py-2 text-${config2.icon.enabled.input.lg.font.size} leading-5 pe-4 ps-11`]: {}
|
1387
1453
|
}
|
1388
1454
|
},
|
1455
|
+
//Size:xl without icon
|
1456
|
+
"&:not(.nui-has-icon).nui-autocomplete-xl": {
|
1457
|
+
".nui-autocomplete-input": {
|
1458
|
+
[`@apply h-14 py-2 text-${config2.icon.disabled.input.xl.font.size} leading-5 px-4`]: {}
|
1459
|
+
}
|
1460
|
+
},
|
1461
|
+
//Size:xl with icon
|
1462
|
+
"&.nui-has-icon.nui-autocomplete-xl": {
|
1463
|
+
".nui-autocomplete-input": {
|
1464
|
+
[`@apply h-14 py-2 text-${config2.icon.enabled.input.xl.font.size} leading-5 pe-4 ps-12`]: {}
|
1465
|
+
}
|
1466
|
+
},
|
1389
1467
|
//Size:sm without icon and label float
|
1390
1468
|
"&.nui-autocomplete-label-float:not(.nui-has-icon).nui-autocomplete-sm": {
|
1391
1469
|
".nui-label-float": {
|
@@ -1437,7 +1515,7 @@ const autocomplete = plugin__default(({ addComponents, theme }) => {
|
|
1437
1515
|
//Size:lg without icon and label float
|
1438
1516
|
"&.nui-autocomplete-label-float:not(.nui-has-icon).nui-autocomplete-lg": {
|
1439
1517
|
".nui-label-float": {
|
1440
|
-
[`@apply start-3 -ms-3 -mt-
|
1518
|
+
[`@apply start-3 -ms-3 -mt-9 text-${config2.icon.disabled.label.float.lg.font.size.base}`]: {}
|
1441
1519
|
},
|
1442
1520
|
".nui-autocomplete-input:focus-visible ~ .nui-label-float": {
|
1443
1521
|
[`@apply !-ms-3 !-mt-9 !text-${config2.icon.disabled.label.float.lg.font.size.focus}`]: {}
|
@@ -1449,7 +1527,7 @@ const autocomplete = plugin__default(({ addComponents, theme }) => {
|
|
1449
1527
|
//Size:lg with icon and label float
|
1450
1528
|
"&.nui-autocomplete-label-float.nui-has-icon.nui-autocomplete-lg": {
|
1451
1529
|
".nui-label-float": {
|
1452
|
-
[`@apply start-11 -ms-10 -mt-
|
1530
|
+
[`@apply start-11 -ms-10 -mt-9 text-${config2.icon.enabled.label.float.lg.font.size.base}`]: {}
|
1453
1531
|
},
|
1454
1532
|
".nui-autocomplete-input:focus-visible ~ .nui-label-float": {
|
1455
1533
|
[`@apply !-ms-10 !-mt-9 !text-${config2.icon.enabled.label.float.lg.font.size.focus}`]: {}
|
@@ -1457,6 +1535,30 @@ const autocomplete = plugin__default(({ addComponents, theme }) => {
|
|
1457
1535
|
".nui-autocomplete-input:placeholder-shown ~ .nui-label-float": {
|
1458
1536
|
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.lg.font.size.unfocus}`]: {}
|
1459
1537
|
}
|
1538
|
+
},
|
1539
|
+
//Size:xl without icon and label float
|
1540
|
+
"&.nui-autocomplete-label-float:not(.nui-has-icon).nui-autocomplete-xl": {
|
1541
|
+
".nui-label-float": {
|
1542
|
+
[`@apply start-3 -ms-3 -mt-10 text-${config2.icon.disabled.label.float.xl.font.size.base}`]: {}
|
1543
|
+
},
|
1544
|
+
".nui-autocomplete-input:focus-visible ~ .nui-label-float": {
|
1545
|
+
[`@apply !-ms-3 !-mt-10 !text-${config2.icon.disabled.label.float.xl.font.size.focus}`]: {}
|
1546
|
+
},
|
1547
|
+
".nui-autocomplete-input:placeholder-shown ~ .nui-label-float": {
|
1548
|
+
[`@apply ms-0 mt-0 text-${config2.icon.disabled.label.float.xl.font.size.unfocus}`]: {}
|
1549
|
+
}
|
1550
|
+
},
|
1551
|
+
//Size:xl with icon and label float
|
1552
|
+
"&.nui-autocomplete-label-float.nui-has-icon.nui-autocomplete-xl": {
|
1553
|
+
".nui-label-float": {
|
1554
|
+
[`@apply start-[3.25rem] -ms-[3.25rem] -mt-10 text-${config2.icon.enabled.label.float.xl.font.size.base}`]: {}
|
1555
|
+
},
|
1556
|
+
".nui-autocomplete-input:focus-visible ~ .nui-label-float": {
|
1557
|
+
[`@apply !-ms-[3.25rem] !-mt-10 !text-${config2.icon.enabled.label.float.xl.font.size.focus}`]: {}
|
1558
|
+
},
|
1559
|
+
".nui-autocomplete-input:placeholder-shown ~ .nui-label-float": {
|
1560
|
+
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.xl.font.size.unfocus}`]: {}
|
1561
|
+
}
|
1460
1562
|
}
|
1461
1563
|
}
|
1462
1564
|
});
|
@@ -3557,6 +3659,10 @@ const defaultConfig$M = {
|
|
3557
3659
|
lg: {
|
3558
3660
|
outer: "12",
|
3559
3661
|
inner: "5"
|
3662
|
+
},
|
3663
|
+
xl: {
|
3664
|
+
outer: "14",
|
3665
|
+
inner: "6"
|
3560
3666
|
}
|
3561
3667
|
},
|
3562
3668
|
rounded: {
|
@@ -3854,6 +3960,14 @@ const buttonClose = plugin__default(({ addComponents, theme }) => {
|
|
3854
3960
|
[`@apply h-${config2.size.lg.inner} w-${config2.size.lg.inner} fill-current`]: {}
|
3855
3961
|
}
|
3856
3962
|
},
|
3963
|
+
//Size:xl
|
3964
|
+
"&.nui-button-xl": {
|
3965
|
+
[`@apply h-${config2.size.xl.outer} w-${config2.size.xl.outer}`]: {},
|
3966
|
+
//Icon
|
3967
|
+
".nui-button-icon": {
|
3968
|
+
[`@apply h-${config2.size.xl.inner} w-${config2.size.xl.inner} fill-current`]: {}
|
3969
|
+
}
|
3970
|
+
},
|
3857
3971
|
//Rounded:sm
|
3858
3972
|
"&.nui-button-rounded-sm": {
|
3859
3973
|
[`@apply ${config2.rounded.sm}`]: {}
|
@@ -4209,6 +4323,10 @@ const defaultConfig$K = {
|
|
4209
4323
|
lg: {
|
4210
4324
|
size: "12",
|
4211
4325
|
padding: "3"
|
4326
|
+
},
|
4327
|
+
xl: {
|
4328
|
+
size: "14",
|
4329
|
+
padding: "4"
|
4212
4330
|
}
|
4213
4331
|
},
|
4214
4332
|
color: {
|
@@ -4461,17 +4579,21 @@ const buttonIcon = plugin__default(({ addComponents, theme }) => {
|
|
4461
4579
|
//Transition
|
4462
4580
|
[`@apply transition-${config2.transition.property} duration-${config2.transition.duration}`]: {},
|
4463
4581
|
//Size:sm
|
4464
|
-
"&.nui-button-
|
4582
|
+
"&.nui-button-sm": {
|
4465
4583
|
[`@apply h-${config2.size.sm.size} w-${config2.size.sm.size} p-${config2.size.sm.padding}`]: {}
|
4466
4584
|
},
|
4467
4585
|
//Size:md
|
4468
|
-
"&.nui-button-
|
4586
|
+
"&.nui-button-md": {
|
4469
4587
|
[`@apply h-${config2.size.md.size} w-${config2.size.md.size} p-${config2.size.md.padding}`]: {}
|
4470
4588
|
},
|
4471
4589
|
//Size:lg
|
4472
|
-
"&.nui-button-
|
4590
|
+
"&.nui-button-lg": {
|
4473
4591
|
[`@apply h-${config2.size.lg.size} w-${config2.size.lg.size} p-${config2.size.lg.padding}`]: {}
|
4474
4592
|
},
|
4593
|
+
//Size:xl
|
4594
|
+
"&.nui-button-xl": {
|
4595
|
+
[`@apply h-${config2.size.xl.size} w-${config2.size.xl.size} p-${config2.size.xl.padding}`]: {}
|
4596
|
+
},
|
4475
4597
|
//Rounded:sm
|
4476
4598
|
"&.nui-button-rounded-sm": {
|
4477
4599
|
[`@apply ${config2.rounded.sm}`]: {}
|
@@ -8846,6 +8968,11 @@ const defaultConfig$z = {
|
|
8846
8968
|
font: {
|
8847
8969
|
size: "sm"
|
8848
8970
|
}
|
8971
|
+
},
|
8972
|
+
xl: {
|
8973
|
+
font: {
|
8974
|
+
size: "sm"
|
8975
|
+
}
|
8849
8976
|
}
|
8850
8977
|
},
|
8851
8978
|
enabled: {
|
@@ -8872,6 +8999,14 @@ const defaultConfig$z = {
|
|
8872
8999
|
icon: {
|
8873
9000
|
size: "5"
|
8874
9001
|
}
|
9002
|
+
},
|
9003
|
+
xl: {
|
9004
|
+
font: {
|
9005
|
+
size: "sm"
|
9006
|
+
},
|
9007
|
+
icon: {
|
9008
|
+
size: "6"
|
9009
|
+
}
|
8875
9010
|
}
|
8876
9011
|
}
|
8877
9012
|
}
|
@@ -9102,6 +9237,35 @@ const inputFileRegular = plugin__default(({ addComponents, theme }) => {
|
|
9102
9237
|
"@apply top-[1.2rem]": {}
|
9103
9238
|
}
|
9104
9239
|
},
|
9240
|
+
//Without icon && Size:xl
|
9241
|
+
"&.nui-input-xl:not(.nui-has-icon)": {
|
9242
|
+
[`@apply text-${config2.icon.disabled.xl.font.size} leading-5`]: {},
|
9243
|
+
".nui-input-file-inner": {
|
9244
|
+
"@apply h-14 gap-2": {}
|
9245
|
+
},
|
9246
|
+
".nui-input-file-addon": {
|
9247
|
+
"@apply h-14 px-5": {}
|
9248
|
+
},
|
9249
|
+
".nui-input-file-placeload": {
|
9250
|
+
"@apply top-[1.4rem]": {}
|
9251
|
+
}
|
9252
|
+
},
|
9253
|
+
//With icon && Size:xl
|
9254
|
+
"&.nui-input-xl.nui-has-icon": {
|
9255
|
+
[`@apply text-${config2.icon.enabled.xl.font.size} leading-5`]: {},
|
9256
|
+
".nui-input-file-inner": {
|
9257
|
+
"@apply h-14 pe-4": {}
|
9258
|
+
},
|
9259
|
+
".nui-input-file-addon": {
|
9260
|
+
"@apply h-14 px-5": {}
|
9261
|
+
},
|
9262
|
+
".nui-input-file-icon": {
|
9263
|
+
[`@apply w-${config2.icon.enabled.xl.icon.size} h-${config2.icon.enabled.xl.icon.size}`]: {}
|
9264
|
+
},
|
9265
|
+
".nui-input-file-placeload": {
|
9266
|
+
"@apply top-[1.4rem]": {}
|
9267
|
+
}
|
9268
|
+
},
|
9105
9269
|
//Input:hover
|
9106
9270
|
"&:hover": {
|
9107
9271
|
".nui-input-file-addon": {
|
@@ -9732,7 +9896,8 @@ const defaultConfig$x = {
|
|
9732
9896
|
padding: {
|
9733
9897
|
sm: "8",
|
9734
9898
|
md: "10",
|
9735
|
-
lg: "12"
|
9899
|
+
lg: "12",
|
9900
|
+
xl: "14"
|
9736
9901
|
},
|
9737
9902
|
transition: {
|
9738
9903
|
property: "colors",
|
@@ -9829,6 +9994,24 @@ const defaultConfig$x = {
|
|
9829
9994
|
placeload: {
|
9830
9995
|
size: "12"
|
9831
9996
|
}
|
9997
|
+
},
|
9998
|
+
xl: {
|
9999
|
+
label: {
|
10000
|
+
font: {
|
10001
|
+
size: "sm"
|
10002
|
+
}
|
10003
|
+
},
|
10004
|
+
icon: {
|
10005
|
+
outer: {
|
10006
|
+
size: "14"
|
10007
|
+
},
|
10008
|
+
inner: {
|
10009
|
+
size: "5"
|
10010
|
+
}
|
10011
|
+
},
|
10012
|
+
placeload: {
|
10013
|
+
size: "14"
|
10014
|
+
}
|
9832
10015
|
}
|
9833
10016
|
},
|
9834
10017
|
color: {
|
@@ -9946,6 +10129,11 @@ const defaultConfig$x = {
|
|
9946
10129
|
font: {
|
9947
10130
|
size: "sm"
|
9948
10131
|
}
|
10132
|
+
},
|
10133
|
+
xl: {
|
10134
|
+
font: {
|
10135
|
+
size: "base"
|
10136
|
+
}
|
9949
10137
|
}
|
9950
10138
|
},
|
9951
10139
|
label: {
|
@@ -9972,6 +10160,15 @@ const defaultConfig$x = {
|
|
9972
10160
|
unfocus: "[0.825rem]"
|
9973
10161
|
}
|
9974
10162
|
}
|
10163
|
+
},
|
10164
|
+
xl: {
|
10165
|
+
font: {
|
10166
|
+
size: {
|
10167
|
+
base: "xs",
|
10168
|
+
focus: "xs",
|
10169
|
+
unfocus: "[0.825rem]"
|
10170
|
+
}
|
10171
|
+
}
|
9975
10172
|
}
|
9976
10173
|
}
|
9977
10174
|
}
|
@@ -9989,6 +10186,11 @@ const defaultConfig$x = {
|
|
9989
10186
|
}
|
9990
10187
|
},
|
9991
10188
|
lg: {
|
10189
|
+
font: {
|
10190
|
+
size: "sm"
|
10191
|
+
}
|
10192
|
+
},
|
10193
|
+
xl: {
|
9992
10194
|
font: {
|
9993
10195
|
size: "base"
|
9994
10196
|
}
|
@@ -10018,6 +10220,15 @@ const defaultConfig$x = {
|
|
10018
10220
|
unfocus: "[0.825rem]"
|
10019
10221
|
}
|
10020
10222
|
}
|
10223
|
+
},
|
10224
|
+
xl: {
|
10225
|
+
font: {
|
10226
|
+
size: {
|
10227
|
+
base: "xs",
|
10228
|
+
focus: "xs",
|
10229
|
+
unfocus: "[0.825rem]"
|
10230
|
+
}
|
10231
|
+
}
|
10021
10232
|
}
|
10022
10233
|
}
|
10023
10234
|
}
|
@@ -10188,6 +10399,28 @@ const input = plugin__default(({ addComponents, theme }) => {
|
|
10188
10399
|
[`@apply h-${config2.size.lg.placeload.size}`]: {}
|
10189
10400
|
}
|
10190
10401
|
},
|
10402
|
+
//Size:xl
|
10403
|
+
"&.nui-input-xl": {
|
10404
|
+
//Input:label
|
10405
|
+
".nui-input-label": {
|
10406
|
+
[`@apply pb-1 text-${config2.size.xl.label.font.size}`]: {}
|
10407
|
+
},
|
10408
|
+
//Label:float
|
10409
|
+
".nui-label-float": {
|
10410
|
+
"@apply top-[1.1rem]": {}
|
10411
|
+
},
|
10412
|
+
//Input:icon && Input:action
|
10413
|
+
".nui-input-icon, .nui-input-action": {
|
10414
|
+
[`@apply h-${config2.size.xl.icon.outer.size} w-${config2.size.xl.icon.outer.size}`]: {},
|
10415
|
+
".nui-input-icon-inner, .nui-input-action-inner": {
|
10416
|
+
[`@apply h-${config2.size.xl.icon.inner.size} w-${config2.size.xl.icon.inner.size}`]: {}
|
10417
|
+
}
|
10418
|
+
},
|
10419
|
+
//Input:placeload
|
10420
|
+
".nui-input-placeload": {
|
10421
|
+
[`@apply h-${config2.size.xl.placeload.size}`]: {}
|
10422
|
+
}
|
10423
|
+
},
|
10191
10424
|
//Color:default
|
10192
10425
|
"&.nui-input-default": {
|
10193
10426
|
".nui-input": {
|
@@ -10328,6 +10561,18 @@ const input = plugin__default(({ addComponents, theme }) => {
|
|
10328
10561
|
[`@apply h-12 py-2 text-${config2.icon.enabled.input.lg.font.size} leading-5 pe-4 ps-11`]: {}
|
10329
10562
|
}
|
10330
10563
|
},
|
10564
|
+
//Without icon && Size:xl
|
10565
|
+
"&:not(.nui-has-icon).nui-input-xl": {
|
10566
|
+
".nui-input": {
|
10567
|
+
[`@apply h-14 py-2 text-${config2.icon.disabled.input.xl.font.size} leading-5 px-4`]: {}
|
10568
|
+
}
|
10569
|
+
},
|
10570
|
+
//With icon && Size:xl
|
10571
|
+
"&.nui-has-icon.nui-input-xl": {
|
10572
|
+
".nui-input": {
|
10573
|
+
[`@apply h-14 py-2 text-${config2.icon.enabled.input.xl.font.size} leading-5 pe-4 ps-[3.25rem]`]: {}
|
10574
|
+
}
|
10575
|
+
},
|
10331
10576
|
//With action && Size:sm
|
10332
10577
|
"&.nui-has-action.nui-input-sm": {
|
10333
10578
|
".nui-input": {
|
@@ -10346,6 +10591,12 @@ const input = plugin__default(({ addComponents, theme }) => {
|
|
10346
10591
|
[`@apply pe-${config2.input.action.padding.lg}`]: {}
|
10347
10592
|
}
|
10348
10593
|
},
|
10594
|
+
//With action && Size:xl
|
10595
|
+
"&.nui-has-action.nui-input-xl": {
|
10596
|
+
".nui-input": {
|
10597
|
+
[`@apply pe-${config2.input.action.padding.xl}`]: {}
|
10598
|
+
}
|
10599
|
+
},
|
10349
10600
|
//Without icon && Size:sm && Label:float
|
10350
10601
|
"&.nui-input-label-float:not(.nui-has-icon).nui-input-sm": {
|
10351
10602
|
".nui-label-float": {
|
@@ -10397,7 +10648,7 @@ const input = plugin__default(({ addComponents, theme }) => {
|
|
10397
10648
|
//Without icon && Size:lg && Label:float
|
10398
10649
|
"&.nui-input-label-float:not(.nui-has-icon).nui-input-lg": {
|
10399
10650
|
".nui-label-float": {
|
10400
|
-
[`@apply start-3 -ms-3 -mt-
|
10651
|
+
[`@apply start-3 -ms-3 -mt-9 text-${config2.icon.disabled.label.float.lg.font.size.base}`]: {}
|
10401
10652
|
},
|
10402
10653
|
".nui-input:focus-visible ~ .nui-label-float": {
|
10403
10654
|
[`@apply !-ms-3 !-mt-9 !text-${config2.icon.disabled.label.float.lg.font.size.focus}`]: {}
|
@@ -10409,7 +10660,7 @@ const input = plugin__default(({ addComponents, theme }) => {
|
|
10409
10660
|
//With icon && Size:lg && Label:float
|
10410
10661
|
"&.nui-input-label-float.nui-has-icon.nui-input-lg": {
|
10411
10662
|
".nui-label-float": {
|
10412
|
-
[`@apply start-11 -ms-
|
10663
|
+
[`@apply start-11 -ms-9 -mt-10 text-${config2.icon.enabled.label.float.lg.font.size.base}`]: {}
|
10413
10664
|
},
|
10414
10665
|
".nui-input:focus-visible ~ .nui-label-float": {
|
10415
10666
|
[`@apply !-ms-10 !-mt-9 !text-${config2.icon.enabled.label.float.lg.font.size.focus}`]: {}
|
@@ -10417,6 +10668,30 @@ const input = plugin__default(({ addComponents, theme }) => {
|
|
10417
10668
|
".nui-input:placeholder-shown ~ .nui-label-float": {
|
10418
10669
|
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.lg.font.size.unfocus}`]: {}
|
10419
10670
|
}
|
10671
|
+
},
|
10672
|
+
//Without icon && Size:xl && Label:float
|
10673
|
+
"&.nui-input-label-float:not(.nui-has-icon).nui-input-xl": {
|
10674
|
+
".nui-label-float": {
|
10675
|
+
[`@apply start-3 -ms-3 -mt-10 text-${config2.icon.disabled.label.float.xl.font.size.base}`]: {}
|
10676
|
+
},
|
10677
|
+
".nui-input:focus-visible ~ .nui-label-float": {
|
10678
|
+
[`@apply !-ms-3 !-mt-10 !text-${config2.icon.disabled.label.float.xl.font.size.focus}`]: {}
|
10679
|
+
},
|
10680
|
+
".nui-input:placeholder-shown ~ .nui-label-float": {
|
10681
|
+
[`@apply ms-0 mt-0 text-${config2.icon.disabled.label.float.xl.font.size.unfocus}`]: {}
|
10682
|
+
}
|
10683
|
+
},
|
10684
|
+
//With icon && Size:xl && Label:float
|
10685
|
+
"&.nui-input-label-float.nui-has-icon.nui-input-xl": {
|
10686
|
+
".nui-label-float": {
|
10687
|
+
[`@apply start-[3.25rem] ms-[-3.25rem] -mt-8 text-${config2.icon.enabled.label.float.xl.font.size.base}`]: {}
|
10688
|
+
},
|
10689
|
+
".nui-input:focus-visible ~ .nui-label-float": {
|
10690
|
+
[`@apply !ms-[-3.25rem] !-mt-10 !text-${config2.icon.enabled.label.float.xl.font.size.focus}`]: {}
|
10691
|
+
},
|
10692
|
+
".nui-input:placeholder-shown ~ .nui-label-float": {
|
10693
|
+
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.xl.font.size.unfocus}`]: {}
|
10694
|
+
}
|
10420
10695
|
}
|
10421
10696
|
}
|
10422
10697
|
});
|
@@ -10598,6 +10873,24 @@ const defaultConfig$w = {
|
|
10598
10873
|
placeload: {
|
10599
10874
|
size: "12"
|
10600
10875
|
}
|
10876
|
+
},
|
10877
|
+
xl: {
|
10878
|
+
label: {
|
10879
|
+
font: {
|
10880
|
+
size: "sm"
|
10881
|
+
}
|
10882
|
+
},
|
10883
|
+
icon: {
|
10884
|
+
outer: {
|
10885
|
+
size: "14"
|
10886
|
+
},
|
10887
|
+
inner: {
|
10888
|
+
size: "5"
|
10889
|
+
}
|
10890
|
+
},
|
10891
|
+
placeload: {
|
10892
|
+
size: "14"
|
10893
|
+
}
|
10601
10894
|
}
|
10602
10895
|
},
|
10603
10896
|
color: {
|
@@ -10715,6 +11008,11 @@ const defaultConfig$w = {
|
|
10715
11008
|
font: {
|
10716
11009
|
size: "sm"
|
10717
11010
|
}
|
11011
|
+
},
|
11012
|
+
xl: {
|
11013
|
+
font: {
|
11014
|
+
size: "base"
|
11015
|
+
}
|
10718
11016
|
}
|
10719
11017
|
},
|
10720
11018
|
label: {
|
@@ -10741,6 +11039,15 @@ const defaultConfig$w = {
|
|
10741
11039
|
unfocus: "[0.825rem]"
|
10742
11040
|
}
|
10743
11041
|
}
|
11042
|
+
},
|
11043
|
+
xl: {
|
11044
|
+
font: {
|
11045
|
+
size: {
|
11046
|
+
base: "xs",
|
11047
|
+
focus: "xs",
|
11048
|
+
unfocus: "[0.825rem]"
|
11049
|
+
}
|
11050
|
+
}
|
10744
11051
|
}
|
10745
11052
|
}
|
10746
11053
|
}
|
@@ -10758,6 +11065,11 @@ const defaultConfig$w = {
|
|
10758
11065
|
}
|
10759
11066
|
},
|
10760
11067
|
lg: {
|
11068
|
+
font: {
|
11069
|
+
size: "sm"
|
11070
|
+
}
|
11071
|
+
},
|
11072
|
+
xl: {
|
10761
11073
|
font: {
|
10762
11074
|
size: "base"
|
10763
11075
|
}
|
@@ -10787,6 +11099,15 @@ const defaultConfig$w = {
|
|
10787
11099
|
unfocus: "[0.825rem]"
|
10788
11100
|
}
|
10789
11101
|
}
|
11102
|
+
},
|
11103
|
+
xl: {
|
11104
|
+
font: {
|
11105
|
+
size: {
|
11106
|
+
base: "xs",
|
11107
|
+
focus: "xs",
|
11108
|
+
unfocus: "[0.825rem]"
|
11109
|
+
}
|
11110
|
+
}
|
10790
11111
|
}
|
10791
11112
|
}
|
10792
11113
|
}
|
@@ -11002,6 +11323,32 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
|
|
11002
11323
|
"@apply h-10 w-10": {}
|
11003
11324
|
}
|
11004
11325
|
},
|
11326
|
+
//Size:xl
|
11327
|
+
"&.nui-input-number-xl": {
|
11328
|
+
//Input:label
|
11329
|
+
".nui-input-number-label": {
|
11330
|
+
[`@apply pb-1 text-${config2.size.xl.label.font.size}`]: {}
|
11331
|
+
},
|
11332
|
+
//Label:float
|
11333
|
+
".nui-label-float": {
|
11334
|
+
"@apply top-[1.1rem]": {}
|
11335
|
+
},
|
11336
|
+
//Input:icon && Input:action
|
11337
|
+
".nui-input-number-icon, .nui-input-number-action": {
|
11338
|
+
[`@apply h-${config2.size.xl.icon.outer.size} w-${config2.size.xl.icon.outer.size}`]: {},
|
11339
|
+
".nui-input-number-icon-inner, .nui-input-number-action-inner": {
|
11340
|
+
[`@apply h-${config2.size.xl.icon.inner.size} w-${config2.size.xl.icon.inner.size}`]: {}
|
11341
|
+
}
|
11342
|
+
},
|
11343
|
+
//Input:placeload
|
11344
|
+
".nui-input-number-placeload": {
|
11345
|
+
[`@apply h-${config2.size.xl.placeload.size}`]: {}
|
11346
|
+
},
|
11347
|
+
//Input:buttons
|
11348
|
+
".nui-input-number-buttons button": {
|
11349
|
+
"@apply h-12 w-12": {}
|
11350
|
+
}
|
11351
|
+
},
|
11005
11352
|
//Color:default
|
11006
11353
|
"&.nui-input-number-default": {
|
11007
11354
|
".nui-input-number": {
|
@@ -11162,6 +11509,18 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
|
|
11162
11509
|
[`@apply h-12 py-2 text-${config2.icon.enabled.input.lg.font.size} leading-5 ps-11 pe-24`]: {}
|
11163
11510
|
}
|
11164
11511
|
},
|
11512
|
+
//Without icon && Size:xl
|
11513
|
+
"&:not(.nui-has-icon).nui-input-number-xl": {
|
11514
|
+
".nui-input-number": {
|
11515
|
+
[`@apply h-14 py-2 text-${config2.icon.disabled.input.xl.font.size} leading-5 ps-4 pe-24`]: {}
|
11516
|
+
}
|
11517
|
+
},
|
11518
|
+
//With icon && Size:xl
|
11519
|
+
"&.nui-has-icon.nui-input-number-xl": {
|
11520
|
+
".nui-input-number": {
|
11521
|
+
[`@apply h-14 py-2 text-${config2.icon.enabled.input.xl.font.size} leading-5 ps-[3.25rem] pe-24`]: {}
|
11522
|
+
}
|
11523
|
+
},
|
11165
11524
|
//With action && Size:sm
|
11166
11525
|
"&.nui-has-action.nui-input-number-sm": {
|
11167
11526
|
".nui-input-number": {
|
@@ -11231,7 +11590,7 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
|
|
11231
11590
|
//Without icon && Size:lg && Label:float
|
11232
11591
|
"&.nui-input-number-label-float:not(.nui-has-icon).nui-input-number-lg": {
|
11233
11592
|
".nui-label-float": {
|
11234
|
-
[`@apply start-3 -ms-3 -mt-
|
11593
|
+
[`@apply start-3 -ms-3 -mt-9 text-${config2.icon.disabled.label.float.lg.font.size.base}`]: {}
|
11235
11594
|
},
|
11236
11595
|
".nui-input-number:focus-visible ~ .nui-label-float": {
|
11237
11596
|
[`@apply !-ms-3 !-mt-9 !text-${config2.icon.disabled.label.float.lg.font.size.focus}`]: {}
|
@@ -11243,7 +11602,7 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
|
|
11243
11602
|
//With icon && Size:lg && Label:float
|
11244
11603
|
"&.nui-input-number-label-float.nui-has-icon.nui-input-number-lg": {
|
11245
11604
|
".nui-label-float": {
|
11246
|
-
[`@apply start-11 -ms-10 -mt-
|
11605
|
+
[`@apply start-11 -ms-10 -mt-9 text-${config2.icon.enabled.label.float.lg.font.size.base}`]: {}
|
11247
11606
|
},
|
11248
11607
|
".nui-input-number:focus-visible ~ .nui-label-float": {
|
11249
11608
|
[`@apply !-ms-10 !-mt-9 !text-${config2.icon.enabled.label.float.lg.font.size.focus}`]: {}
|
@@ -11251,6 +11610,30 @@ const inputNumber = plugin__default(({ addComponents, theme }) => {
|
|
11251
11610
|
".nui-input-number:placeholder-shown ~ .nui-label-float": {
|
11252
11611
|
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.lg.font.size.unfocus}`]: {}
|
11253
11612
|
}
|
11613
|
+
},
|
11614
|
+
//Without icon && Size:xl && Label:float
|
11615
|
+
"&.nui-input-number-label-float:not(.nui-has-icon).nui-input-number-xl": {
|
11616
|
+
".nui-label-float": {
|
11617
|
+
[`@apply start-3 -ms-3 -mt-10 text-${config2.icon.disabled.label.float.xl.font.size.base}`]: {}
|
11618
|
+
},
|
11619
|
+
".nui-input-number:focus-visible ~ .nui-label-float": {
|
11620
|
+
[`@apply !-ms-3 !-mt-10 !text-${config2.icon.disabled.label.float.xl.font.size.focus}`]: {}
|
11621
|
+
},
|
11622
|
+
".nui-input-number:placeholder-shown ~ .nui-label-float": {
|
11623
|
+
[`@apply ms-0 mt-0 text-${config2.icon.disabled.label.float.xl.font.size.unfocus}`]: {}
|
11624
|
+
}
|
11625
|
+
},
|
11626
|
+
//With icon && Size:xl && Label:float
|
11627
|
+
"&.nui-input-number-label-float.nui-has-icon.nui-input-number-xl": {
|
11628
|
+
".nui-label-float": {
|
11629
|
+
[`@apply start-[3.25rem] -ms-[3.25rem] -mt-10 text-${config2.icon.enabled.label.float.xl.font.size.base}`]: {}
|
11630
|
+
},
|
11631
|
+
".nui-input-number:focus-visible ~ .nui-label-float": {
|
11632
|
+
[`@apply !-ms-[3.25rem] !-mt-10 !text-${config2.icon.enabled.label.float.xl.font.size.focus}`]: {}
|
11633
|
+
},
|
11634
|
+
".nui-input-number:placeholder-shown ~ .nui-label-float": {
|
11635
|
+
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.xl.font.size.unfocus}`]: {}
|
11636
|
+
}
|
11254
11637
|
}
|
11255
11638
|
}
|
11256
11639
|
});
|
@@ -11924,7 +12307,29 @@ const defaultConfig$q = {
|
|
11924
12307
|
size: "12"
|
11925
12308
|
},
|
11926
12309
|
inner: {
|
11927
|
-
size: "
|
12310
|
+
size: "5"
|
12311
|
+
}
|
12312
|
+
}
|
12313
|
+
},
|
12314
|
+
xl: {
|
12315
|
+
font: {
|
12316
|
+
size: "sm"
|
12317
|
+
},
|
12318
|
+
icon: {
|
12319
|
+
size: {
|
12320
|
+
inner: "5",
|
12321
|
+
outer: "14"
|
12322
|
+
}
|
12323
|
+
},
|
12324
|
+
placeload: {
|
12325
|
+
size: "14"
|
12326
|
+
},
|
12327
|
+
chevron: {
|
12328
|
+
outer: {
|
12329
|
+
size: "14"
|
12330
|
+
},
|
12331
|
+
inner: {
|
12332
|
+
size: "5"
|
11928
12333
|
}
|
11929
12334
|
}
|
11930
12335
|
}
|
@@ -12140,6 +12545,11 @@ const defaultConfig$q = {
|
|
12140
12545
|
font: {
|
12141
12546
|
size: "sm"
|
12142
12547
|
}
|
12548
|
+
},
|
12549
|
+
xl: {
|
12550
|
+
font: {
|
12551
|
+
size: "base"
|
12552
|
+
}
|
12143
12553
|
}
|
12144
12554
|
},
|
12145
12555
|
label: {
|
@@ -12166,6 +12576,15 @@ const defaultConfig$q = {
|
|
12166
12576
|
unfocus: "[0.825rem]"
|
12167
12577
|
}
|
12168
12578
|
}
|
12579
|
+
},
|
12580
|
+
xl: {
|
12581
|
+
font: {
|
12582
|
+
size: {
|
12583
|
+
base: "xs",
|
12584
|
+
focus: "xs",
|
12585
|
+
unfocus: "[0.825rem]"
|
12586
|
+
}
|
12587
|
+
}
|
12169
12588
|
}
|
12170
12589
|
}
|
12171
12590
|
}
|
@@ -12183,6 +12602,11 @@ const defaultConfig$q = {
|
|
12183
12602
|
}
|
12184
12603
|
},
|
12185
12604
|
lg: {
|
12605
|
+
font: {
|
12606
|
+
size: "sm"
|
12607
|
+
}
|
12608
|
+
},
|
12609
|
+
xl: {
|
12186
12610
|
font: {
|
12187
12611
|
size: "base"
|
12188
12612
|
}
|
@@ -12212,6 +12636,15 @@ const defaultConfig$q = {
|
|
12212
12636
|
unfocus: "[0.825rem]"
|
12213
12637
|
}
|
12214
12638
|
}
|
12639
|
+
},
|
12640
|
+
xl: {
|
12641
|
+
font: {
|
12642
|
+
size: {
|
12643
|
+
base: "xs",
|
12644
|
+
focus: "xs",
|
12645
|
+
unfocus: "[0.825rem]"
|
12646
|
+
}
|
12647
|
+
}
|
12215
12648
|
}
|
12216
12649
|
}
|
12217
12650
|
}
|
@@ -12402,7 +12835,7 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12402
12835
|
},
|
12403
12836
|
//Label:float
|
12404
12837
|
".nui-label-float": {
|
12405
|
-
"@apply top-
|
12838
|
+
"@apply top-2.5": {}
|
12406
12839
|
}
|
12407
12840
|
},
|
12408
12841
|
//Listbox:icon
|
@@ -12431,7 +12864,7 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12431
12864
|
},
|
12432
12865
|
//Label:float
|
12433
12866
|
".nui-label-float": {
|
12434
|
-
"@apply top-
|
12867
|
+
"@apply top-3.5": {}
|
12435
12868
|
},
|
12436
12869
|
//Listbox:icon
|
12437
12870
|
".nui-listbox-icon": {
|
@@ -12453,6 +12886,35 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12453
12886
|
}
|
12454
12887
|
}
|
12455
12888
|
},
|
12889
|
+
//Size:xl
|
12890
|
+
"&.nui-listbox-xl": {
|
12891
|
+
".nui-listbox-label": {
|
12892
|
+
[`@apply pb-1 text-${config2.size.xl.font.size}`]: {}
|
12893
|
+
},
|
12894
|
+
//Label:float
|
12895
|
+
".nui-label-float": {
|
12896
|
+
"@apply top-[1.1rem]": {}
|
12897
|
+
},
|
12898
|
+
//Listbox:icon
|
12899
|
+
".nui-listbox-icon": {
|
12900
|
+
[`@apply h-${config2.size.xl.icon.size.outer} w-${config2.size.xl.icon.size.outer}`]: {},
|
12901
|
+
".nui-listbox-icon-inner": {
|
12902
|
+
[`@apply h-${config2.size.xl.icon.size.inner} w-${config2.size.xl.icon.size.inner}`]: {}
|
12903
|
+
}
|
12904
|
+
},
|
12905
|
+
//Listbox:placeload
|
12906
|
+
".nui-listbox-placeload": {
|
12907
|
+
[`@apply h-${config2.size.xl.placeload.size}`]: {}
|
12908
|
+
},
|
12909
|
+
//Listbox:chevron
|
12910
|
+
".nui-listbox-chevron": {
|
12911
|
+
[`@apply h-${config2.size.xl.chevron.outer.size} w-${config2.size.xl.chevron.outer.size}`]: {},
|
12912
|
+
//Chevron:inner
|
12913
|
+
".nui-listbox-chevron-inner": {
|
12914
|
+
[`@apply h-${config2.size.xl.chevron.inner.size} w-${config2.size.xl.chevron.inner.size}`]: {}
|
12915
|
+
}
|
12916
|
+
}
|
12917
|
+
},
|
12456
12918
|
//Rounded:sm
|
12457
12919
|
"&.nui-listbox-rounded-sm": {
|
12458
12920
|
".nui-listbox-button, .nui-listbox-options, .nui-listbox-option": {
|
@@ -12665,6 +13127,18 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12665
13127
|
[`@apply h-12 py-2 text-${config2.icon.enabled.input.lg.font.size} leading-5 pe-4 ps-11`]: {}
|
12666
13128
|
}
|
12667
13129
|
},
|
13130
|
+
//Without:icon && Size:xl
|
13131
|
+
"&:not(.nui-has-icon).nui-listbox-xl": {
|
13132
|
+
".nui-listbox-button": {
|
13133
|
+
[`@apply h-14 py-2 text-${config2.icon.disabled.input.xl.font.size} leading-5 px-4`]: {}
|
13134
|
+
}
|
13135
|
+
},
|
13136
|
+
//With:icon && Size:xl
|
13137
|
+
"&.nui-has-icon.nui-listbox-xl": {
|
13138
|
+
".nui-listbox-button": {
|
13139
|
+
[`@apply h-14 py-2 text-${config2.icon.enabled.input.xl.font.size} leading-5 pe-4 ps-12`]: {}
|
13140
|
+
}
|
13141
|
+
},
|
12668
13142
|
//Without:icon && Size:sm && Label:float
|
12669
13143
|
"&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-sm": {
|
12670
13144
|
".nui-label-float": {
|
@@ -12692,10 +13166,10 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12692
13166
|
//Without:icon && Size:md && Label:float
|
12693
13167
|
"&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-md": {
|
12694
13168
|
".nui-label-float": {
|
12695
|
-
[`@apply start-3 -ms-3 -mt-
|
13169
|
+
[`@apply start-3 -ms-3 -mt-8 text-${config2.icon.disabled.label.float.md.font.size.base} text-transparent`]: {}
|
12696
13170
|
},
|
12697
13171
|
".nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active": {
|
12698
|
-
[`@apply !-ms-3 !-mt-
|
13172
|
+
[`@apply !-ms-3 !-mt-8 !text-${config2.icon.disabled.label.float.md.font.size.focus} !text-${config2.label.float.font.color}`]: {}
|
12699
13173
|
},
|
12700
13174
|
".nui-listbox-button ~ .nui-label-float": {
|
12701
13175
|
[`@apply ms-0 mt-0 text-${config2.icon.disabled.label.float.md.font.size.base}`]: {}
|
@@ -12704,10 +13178,10 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12704
13178
|
//With:icon && Size:md && Label:float
|
12705
13179
|
"&.nui-listbox-label-float.nui-has-icon.nui-listbox-md": {
|
12706
13180
|
".nui-label-float": {
|
12707
|
-
[`@apply start-10 -ms-10 -mt-
|
13181
|
+
[`@apply start-10 -ms-10 -mt-8 text-${config2.icon.enabled.label.float.md.font.size.base} text-transparent`]: {}
|
12708
13182
|
},
|
12709
13183
|
".nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active": {
|
12710
|
-
[`@apply !-ms-10 !-mt-
|
13184
|
+
[`@apply !-ms-10 !-mt-8 !text-${config2.icon.enabled.label.float.md.font.size.focus} !text-${config2.label.float.font.color}`]: {}
|
12711
13185
|
},
|
12712
13186
|
".nui-listbox-button ~ .nui-label-float": {
|
12713
13187
|
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.md.font.size.unfocus}`]: {}
|
@@ -12716,10 +13190,10 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12716
13190
|
//Without:icon && Size:lg && Label:float
|
12717
13191
|
"&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-lg": {
|
12718
13192
|
".nui-label-float": {
|
12719
|
-
[`@apply start-3 -ms-3 -mt-
|
13193
|
+
[`@apply start-3 -ms-3 -mt-9 text-${config2.icon.disabled.label.float.lg.font.size.base} text-transparent`]: {}
|
12720
13194
|
},
|
12721
13195
|
".nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active": {
|
12722
|
-
[`@apply !-ms-3 !-mt-
|
13196
|
+
[`@apply !-ms-3 !-mt-9 !text-${config2.icon.disabled.label.float.lg.font.size.focus} !text-${config2.label.float.font.color}`]: {}
|
12723
13197
|
},
|
12724
13198
|
".nui-listbox-button ~ .nui-label-float": {
|
12725
13199
|
[`@apply ms-0 mt-0 text-${config2.icon.disabled.label.float.lg.font.size.unfocus}`]: {}
|
@@ -12728,14 +13202,38 @@ const listbox = plugin__default(({ addComponents, theme }) => {
|
|
12728
13202
|
//With:icon && Size:lg && Label:float
|
12729
13203
|
"&.nui-listbox-label-float.nui-has-icon.nui-listbox-lg": {
|
12730
13204
|
".nui-label-float": {
|
12731
|
-
[`@apply start-11 -ms-10 -mt-
|
13205
|
+
[`@apply start-11 -ms-10 -mt-9 text-${config2.icon.enabled.label.float.lg.font.size.base} text-transparent`]: {}
|
12732
13206
|
},
|
12733
13207
|
".nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active": {
|
12734
|
-
[`@apply !-ms-10 !-mt-
|
13208
|
+
[`@apply !-ms-10 !-mt-9 !text-${config2.icon.enabled.label.float.lg.font.size.focus} !text-${config2.label.float.font.color}`]: {}
|
12735
13209
|
},
|
12736
13210
|
".nui-listbox-button ~ .nui-label-float": {
|
12737
13211
|
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.lg.font.size.unfocus}`]: {}
|
12738
13212
|
}
|
13213
|
+
},
|
13214
|
+
//Without:icon && Size:xl && Label:float
|
13215
|
+
"&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-xl": {
|
13216
|
+
".nui-label-float": {
|
13217
|
+
[`@apply start-3 -ms-3 -mt-10 text-${config2.icon.disabled.label.float.xl.font.size.base} text-transparent`]: {}
|
13218
|
+
},
|
13219
|
+
".nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active": {
|
13220
|
+
[`@apply !-ms-3 !-mt-10 !text-${config2.icon.disabled.label.float.xl.font.size.focus} !text-${config2.label.float.font.color}`]: {}
|
13221
|
+
},
|
13222
|
+
".nui-listbox-button ~ .nui-label-float": {
|
13223
|
+
[`@apply ms-0 mt-0 text-${config2.icon.disabled.label.float.xl.font.size.unfocus}`]: {}
|
13224
|
+
}
|
13225
|
+
},
|
13226
|
+
//With:icon && Size:xl && Label:float
|
13227
|
+
"&.nui-listbox-label-float.nui-has-icon.nui-listbox-xl": {
|
13228
|
+
".nui-label-float": {
|
13229
|
+
[`@apply start-[3.25rem] -ms-[3.25rem] -mt-10 text-${config2.icon.enabled.label.float.xl.font.size.base} text-transparent`]: {}
|
13230
|
+
},
|
13231
|
+
".nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active": {
|
13232
|
+
[`@apply !-ms-[3.25rem] !-mt-10 !text-${config2.icon.enabled.label.float.xl.font.size.focus} !text-${config2.label.float.font.color}`]: {}
|
13233
|
+
},
|
13234
|
+
".nui-listbox-button ~ .nui-label-float": {
|
13235
|
+
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.xl.font.size.unfocus}`]: {}
|
13236
|
+
}
|
12739
13237
|
}
|
12740
13238
|
}
|
12741
13239
|
});
|
@@ -14142,7 +14640,7 @@ const defaultConfig$k = {
|
|
14142
14640
|
}
|
14143
14641
|
},
|
14144
14642
|
link: {
|
14145
|
-
padding: "
|
14643
|
+
padding: "4",
|
14146
14644
|
size: "10",
|
14147
14645
|
font: {
|
14148
14646
|
family: "sans",
|
@@ -14302,7 +14800,7 @@ const pagination = plugin__default(({ addComponents, theme }) => {
|
|
14302
14800
|
//Buttons:button
|
14303
14801
|
".nui-pagination-button": {
|
14304
14802
|
//Base
|
14305
|
-
"@apply flex h-10 w-full items-center justify-center md:w-10": {},
|
14803
|
+
"@apply nui-focus flex h-10 w-full items-center justify-center md:w-10": {},
|
14306
14804
|
//Font
|
14307
14805
|
[`@apply font-${config2.buttons.button.font.family} text-${config2.buttons.button.font.size}`]: {},
|
14308
14806
|
//Color
|
@@ -14326,9 +14824,9 @@ const pagination = plugin__default(({ addComponents, theme }) => {
|
|
14326
14824
|
//Pagination:link
|
14327
14825
|
".nui-pagination-link": {
|
14328
14826
|
//Base
|
14329
|
-
"@apply flex items-center justify-center mb-
|
14827
|
+
"@apply nui-focus flex items-center justify-center mb-0 inline-flex flex-wrap gap-2 md:gap-1": {},
|
14330
14828
|
//Size
|
14331
|
-
[`@apply h-${config2.link.size}
|
14829
|
+
[`@apply h-${config2.link.size} px-${config2.link.padding}`]: {},
|
14332
14830
|
//Font
|
14333
14831
|
[`@apply font-${config2.link.font.family} text-${config2.link.font.size}`]: {},
|
14334
14832
|
//Background
|
@@ -14391,7 +14889,7 @@ const pagination = plugin__default(({ addComponents, theme }) => {
|
|
14391
14889
|
//Pagination:ellipsis
|
14392
14890
|
".nui-pagination-ellipsis": {
|
14393
14891
|
//Base
|
14394
|
-
[`@apply flex h-${config2.ellipsis.size} w-${config2.ellipsis.size} items-center justify-center`]: {},
|
14892
|
+
[`@apply select-none flex h-${config2.ellipsis.size} w-${config2.ellipsis.size} items-center justify-center`]: {},
|
14395
14893
|
//Font
|
14396
14894
|
[`@apply font-${config2.ellipsis.font.family} text-${config2.ellipsis.font.size}`]: {},
|
14397
14895
|
//Color
|
@@ -15316,6 +15814,33 @@ const defaultConfig$c = {
|
|
15316
15814
|
placeload: {
|
15317
15815
|
size: "12"
|
15318
15816
|
}
|
15817
|
+
},
|
15818
|
+
xl: {
|
15819
|
+
padding: "14",
|
15820
|
+
chevron: {
|
15821
|
+
outer: {
|
15822
|
+
size: "14"
|
15823
|
+
},
|
15824
|
+
inner: {
|
15825
|
+
size: "5"
|
15826
|
+
}
|
15827
|
+
},
|
15828
|
+
label: {
|
15829
|
+
font: {
|
15830
|
+
size: "sm"
|
15831
|
+
}
|
15832
|
+
},
|
15833
|
+
icon: {
|
15834
|
+
outer: {
|
15835
|
+
size: "14"
|
15836
|
+
},
|
15837
|
+
inner: {
|
15838
|
+
size: "5"
|
15839
|
+
}
|
15840
|
+
},
|
15841
|
+
placeload: {
|
15842
|
+
size: "14"
|
15843
|
+
}
|
15319
15844
|
}
|
15320
15845
|
},
|
15321
15846
|
color: {
|
@@ -15456,6 +15981,11 @@ const defaultConfig$c = {
|
|
15456
15981
|
font: {
|
15457
15982
|
size: "sm"
|
15458
15983
|
}
|
15984
|
+
},
|
15985
|
+
xl: {
|
15986
|
+
font: {
|
15987
|
+
size: "base"
|
15988
|
+
}
|
15459
15989
|
}
|
15460
15990
|
},
|
15461
15991
|
label: {
|
@@ -15482,6 +16012,15 @@ const defaultConfig$c = {
|
|
15482
16012
|
unfocus: "[0.825rem]"
|
15483
16013
|
}
|
15484
16014
|
}
|
16015
|
+
},
|
16016
|
+
xl: {
|
16017
|
+
font: {
|
16018
|
+
size: {
|
16019
|
+
base: "xs",
|
16020
|
+
focus: "xs",
|
16021
|
+
unfocus: "[0.825rem]"
|
16022
|
+
}
|
16023
|
+
}
|
15485
16024
|
}
|
15486
16025
|
}
|
15487
16026
|
}
|
@@ -15499,6 +16038,11 @@ const defaultConfig$c = {
|
|
15499
16038
|
}
|
15500
16039
|
},
|
15501
16040
|
lg: {
|
16041
|
+
font: {
|
16042
|
+
size: "sm"
|
16043
|
+
}
|
16044
|
+
},
|
16045
|
+
xl: {
|
15502
16046
|
font: {
|
15503
16047
|
size: "base"
|
15504
16048
|
}
|
@@ -15528,6 +16072,15 @@ const defaultConfig$c = {
|
|
15528
16072
|
unfocus: "[0.825rem]"
|
15529
16073
|
}
|
15530
16074
|
}
|
16075
|
+
},
|
16076
|
+
xl: {
|
16077
|
+
font: {
|
16078
|
+
size: {
|
16079
|
+
base: "xs",
|
16080
|
+
focus: "xs",
|
16081
|
+
unfocus: "[0.825rem]"
|
16082
|
+
}
|
16083
|
+
}
|
15531
16084
|
}
|
15532
16085
|
}
|
15533
16086
|
}
|
@@ -15679,7 +16232,7 @@ const select = plugin__default(({ addComponents, theme }) => {
|
|
15679
16232
|
},
|
15680
16233
|
//Label:float
|
15681
16234
|
".nui-label-float": {
|
15682
|
-
"@apply top-
|
16235
|
+
"@apply top-2.5": {}
|
15683
16236
|
},
|
15684
16237
|
//Select:icon
|
15685
16238
|
".nui-select-icon, .nui-select-chevron": {
|
@@ -15705,7 +16258,7 @@ const select = plugin__default(({ addComponents, theme }) => {
|
|
15705
16258
|
},
|
15706
16259
|
//Label:float
|
15707
16260
|
".nui-label-float": {
|
15708
|
-
"@apply top-
|
16261
|
+
"@apply top-3.5": {}
|
15709
16262
|
},
|
15710
16263
|
//Select:icon
|
15711
16264
|
".nui-select-icon, .nui-select-chevron": {
|
@@ -15719,6 +16272,32 @@ const select = plugin__default(({ addComponents, theme }) => {
|
|
15719
16272
|
[`@apply h-${config2.size.lg.placeload.size}`]: {}
|
15720
16273
|
}
|
15721
16274
|
},
|
16275
|
+
//Size:xl
|
16276
|
+
"&.nui-select-xl": {
|
16277
|
+
//Select
|
16278
|
+
".nui-select": {
|
16279
|
+
[`@apply pe-${config2.size.xl.padding}`]: {}
|
16280
|
+
},
|
16281
|
+
//Select:label
|
16282
|
+
".nui-select-label": {
|
16283
|
+
[`@apply pb-1 text-${config2.size.xl.label.font.size}`]: {}
|
16284
|
+
},
|
16285
|
+
//Label:float
|
16286
|
+
".nui-label-float": {
|
16287
|
+
"@apply top-[1.1rem]": {}
|
16288
|
+
},
|
16289
|
+
//Select:icon
|
16290
|
+
".nui-select-icon, .nui-select-chevron": {
|
16291
|
+
[`@apply h-${config2.size.xl.icon.outer.size} w-${config2.size.xl.icon.outer.size}`]: {},
|
16292
|
+
".nui-select-icon-inner, .nui-select-chevron-inner": {
|
16293
|
+
[`@apply h-${config2.size.xl.icon.inner.size} w-${config2.size.xl.icon.inner.size}`]: {}
|
16294
|
+
}
|
16295
|
+
},
|
16296
|
+
//Select:placeload
|
16297
|
+
".nui-select-placeload": {
|
16298
|
+
[`@apply h-${config2.size.xl.placeload.size}`]: {}
|
16299
|
+
}
|
16300
|
+
},
|
15722
16301
|
//Color:default
|
15723
16302
|
"&.nui-select-default": {
|
15724
16303
|
".nui-select": {
|
@@ -15850,6 +16429,18 @@ const select = plugin__default(({ addComponents, theme }) => {
|
|
15850
16429
|
[`@apply h-12 py-2 text-${config2.icon.enabled.select.lg.font.size} leading-5 pe-9 ps-11`]: {}
|
15851
16430
|
}
|
15852
16431
|
},
|
16432
|
+
//Without:icon && Size:xl
|
16433
|
+
"&:not(.nui-has-icon).nui-select-xl": {
|
16434
|
+
".nui-select": {
|
16435
|
+
[`@apply h-14 py-2 text-${config2.icon.disabled.select.xl.font.size} leading-5 ps-4 pe-9`]: {}
|
16436
|
+
}
|
16437
|
+
},
|
16438
|
+
//With:icon && Size:xl
|
16439
|
+
"&.nui-has-icon.nui-select-xl": {
|
16440
|
+
".nui-select": {
|
16441
|
+
[`@apply h-14 py-2 text-${config2.icon.enabled.select.xl.font.size} leading-5 pe-9 ps-12`]: {}
|
16442
|
+
}
|
16443
|
+
},
|
15853
16444
|
//Without:icon && Size:sm && Label:float
|
15854
16445
|
"&.nui-select-label-float:not(.nui-has-icon).nui-select-sm": {
|
15855
16446
|
".nui-label-float": {
|
@@ -15901,7 +16492,7 @@ const select = plugin__default(({ addComponents, theme }) => {
|
|
15901
16492
|
//Without:icon && Size:lg && Label:float
|
15902
16493
|
"&.nui-select-label-float:not(.nui-has-icon).nui-select-lg": {
|
15903
16494
|
".nui-label-float": {
|
15904
|
-
[`@apply start-3 -ms-3 -mt-
|
16495
|
+
[`@apply start-3 -ms-3 -mt-9 text-${config2.icon.disabled.label.float.lg.font.size.base}`]: {}
|
15905
16496
|
},
|
15906
16497
|
".nui-select:focus-visible ~ .nui-label-float": {
|
15907
16498
|
[`@apply !-ms-3 !-mt-9 !text-${config2.icon.disabled.label.float.lg.font.size.focus}`]: {}
|
@@ -15913,7 +16504,7 @@ const select = plugin__default(({ addComponents, theme }) => {
|
|
15913
16504
|
//With:icon && Size:lg && Label:float
|
15914
16505
|
"&.nui-select-label-float.nui-has-icon.nui-select-lg": {
|
15915
16506
|
".nui-label-float": {
|
15916
|
-
[`@apply start-11 -ms-10 -mt-
|
16507
|
+
[`@apply start-11 -ms-10 -mt-9 text-${config2.icon.enabled.label.float.lg.font.size.base}`]: {}
|
15917
16508
|
},
|
15918
16509
|
".nui-select:focus-visible ~ .nui-label-float": {
|
15919
16510
|
[`@apply !-ms-10 !-mt-9 !text-${config2.icon.enabled.label.float.lg.font.size.focus}`]: {}
|
@@ -15921,6 +16512,30 @@ const select = plugin__default(({ addComponents, theme }) => {
|
|
15921
16512
|
".nui-select ~ .nui-label-float": {
|
15922
16513
|
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.lg.font.size.unfocus}`]: {}
|
15923
16514
|
}
|
16515
|
+
},
|
16516
|
+
//Without:icon && Size:xl && Label:float
|
16517
|
+
"&.nui-select-label-float:not(.nui-has-icon).nui-select-xl": {
|
16518
|
+
".nui-label-float": {
|
16519
|
+
[`@apply start-3 -ms-3 -mt-10 text-${config2.icon.disabled.label.float.xl.font.size.base}`]: {}
|
16520
|
+
},
|
16521
|
+
".nui-select:focus-visible ~ .nui-label-float": {
|
16522
|
+
[`@apply !-ms-3 !-mt-10 !text-${config2.icon.disabled.label.float.xl.font.size.focus}`]: {}
|
16523
|
+
},
|
16524
|
+
".nui-select ~ .nui-label-float": {
|
16525
|
+
[`@apply ms-0 mt-0 text-${config2.icon.disabled.label.float.xl.font.size.unfocus}`]: {}
|
16526
|
+
}
|
16527
|
+
},
|
16528
|
+
//With:icon && Size:xl && Label:float
|
16529
|
+
"&.nui-select-label-float.nui-has-icon.nui-select-xl": {
|
16530
|
+
".nui-label-float": {
|
16531
|
+
[`@apply start-[3.25rem] -ms-[3.25rem] -mt-10 text-${config2.icon.enabled.label.float.xl.font.size.base}`]: {}
|
16532
|
+
},
|
16533
|
+
".nui-select:focus-visible ~ .nui-label-float": {
|
16534
|
+
[`@apply !-ms-[3.25rem] !-mt-10 !text-${config2.icon.enabled.label.float.xl.font.size.focus}`]: {}
|
16535
|
+
},
|
16536
|
+
".nui-select ~ .nui-label-float": {
|
16537
|
+
[`@apply ms-0 mt-0 text-${config2.icon.enabled.label.float.xl.font.size.unfocus}`]: {}
|
16538
|
+
}
|
15924
16539
|
}
|
15925
16540
|
}
|
15926
16541
|
});
|