@shuriken-ui/tailwind 4.0.0-alpha.4 → 4.0.0-alpha.6
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/README.md +55 -0
- package/lib/css/accordion.css +8 -9
- package/lib/css/autocomplete.css +143 -134
- package/lib/css/avatar-group.css +19 -20
- package/lib/css/avatar.css +16 -17
- package/lib/css/breadcrumb.css +10 -11
- package/lib/css/button-action.css +0 -1
- package/lib/css/button-close.css +0 -1
- package/lib/css/button-group.css +0 -1
- package/lib/css/button-icon.css +0 -1
- package/lib/css/button.css +0 -1
- package/lib/css/card.css +0 -1
- package/lib/css/checkbox.css +5 -6
- package/lib/css/dropdown-divider.css +0 -1
- package/lib/css/dropdown-item.css +14 -15
- package/lib/css/dropdown.css +21 -22
- package/lib/css/focus.css +0 -1
- package/lib/css/fullscreen-dropfile.css +0 -1
- package/lib/css/heading.css +11 -12
- package/lib/css/icon-box.css +67 -68
- package/lib/css/input-file-regular.css +68 -69
- package/lib/css/input-file.css +0 -1
- package/lib/css/input-help-text.css +0 -1
- package/lib/css/input-number.css +147 -137
- package/lib/css/input.css +144 -138
- package/lib/css/kbd.css +0 -1
- package/lib/css/label.css +0 -1
- package/lib/css/link.css +0 -1
- package/lib/css/list.css +0 -1
- package/lib/css/listbox.css +155 -138
- package/lib/css/mark.css +0 -1
- package/lib/css/mask.css +0 -1
- package/lib/css/message-text.css +24 -25
- package/lib/css/message.css +0 -1
- package/lib/css/modal.css +0 -1
- package/lib/css/pagination.css +4 -5
- package/lib/css/paragraph.css +11 -12
- package/lib/css/placeholder-page.css +0 -1
- package/lib/css/placeload.css +0 -1
- package/lib/css/progress-circle.css +0 -1
- package/lib/css/progress.css +0 -17
- package/lib/css/prose.css +0 -1
- package/lib/css/radio.css +0 -1
- package/lib/css/select.css +128 -125
- package/lib/css/slimscroll.css +4 -4
- package/lib/css/snack.css +3 -4
- package/lib/css/switch-ball.css +0 -1
- package/lib/css/switch-thin.css +0 -1
- package/lib/css/tab-slider.css +0 -1
- package/lib/css/tabs.css +0 -1
- package/lib/css/tag.css +0 -1
- package/lib/css/text.css +24 -25
- package/lib/css/textarea.css +52 -41
- package/lib/css/theme-switch.css +6 -7
- package/lib/css/theme-toggle.css +8 -9
- package/lib/css/toast.css +1 -2
- package/lib/css/tooltip.css +0 -1
- package/lib/index.css +4 -0
- package/lib/theme.css +4 -4
- package/package.json +2 -2
package/lib/css/listbox.css
CHANGED
@@ -1,100 +1,43 @@
|
|
1
|
-
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
1
|
/* @utility nui-listbox */
|
3
2
|
|
4
3
|
@utility nui-listbox {
|
5
4
|
@apply relative w-full;
|
6
5
|
|
7
|
-
.nui-listbox-label, .nui-label-float {
|
6
|
+
.nui-listbox-label, .nui-listbox-label-float {
|
8
7
|
@apply nui-label;
|
9
8
|
}
|
10
9
|
|
11
10
|
&:not(.nui-listbox-loading) {
|
12
|
-
.nui-listbox-button ~ .nui-label-float {
|
11
|
+
.nui-listbox-button ~ .nui-listbox-label-float {
|
13
12
|
@apply text-muted-300 dark:text-muted-600;
|
14
13
|
}
|
15
14
|
}
|
16
15
|
|
17
|
-
&:not(.nui-has-icon).nui-listbox-sm {
|
16
|
+
&:not(.nui-listbox-has-icon).nui-listbox-sm {
|
18
17
|
.nui-listbox-button {
|
19
18
|
@apply h-8 py-1 text-xs leading-4 px-2;
|
20
19
|
}
|
21
20
|
}
|
22
21
|
|
23
|
-
&:not(.nui-has-icon).nui-listbox-md {
|
22
|
+
&:not(.nui-listbox-has-icon).nui-listbox-md {
|
24
23
|
.nui-listbox-button {
|
25
24
|
@apply h-10 py-2 text-sm leading-5 px-3;
|
26
25
|
}
|
27
26
|
}
|
28
27
|
|
29
|
-
&:not(.nui-has-icon).nui-listbox-lg {
|
28
|
+
&:not(.nui-listbox-has-icon).nui-listbox-lg {
|
30
29
|
.nui-listbox-button {
|
31
30
|
@apply h-12 py-2 text-sm leading-5 px-4;
|
32
31
|
}
|
33
32
|
}
|
34
33
|
|
35
|
-
&:not(.nui-has-icon).nui-listbox-xl {
|
34
|
+
&:not(.nui-listbox-has-icon).nui-listbox-xl {
|
36
35
|
.nui-listbox-button {
|
37
36
|
@apply h-14 py-2 text-base leading-5 px-4;
|
38
37
|
}
|
39
38
|
}
|
40
|
-
|
41
|
-
&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-sm {
|
42
|
-
.nui-label-float {
|
43
|
-
@apply start-3 -ms-3 -mt-7 text-xs text-transparent;
|
44
|
-
}
|
45
|
-
|
46
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
47
|
-
@apply !-ms-3 !-mt-7 !text-primary-500;
|
48
|
-
}
|
49
|
-
|
50
|
-
.nui-listbox-button ~ .nui-label-float {
|
51
|
-
@apply ms-0 mt-0;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-md {
|
56
|
-
.nui-label-float {
|
57
|
-
@apply start-3 -ms-3 -mt-8 text-xs text-transparent;
|
58
|
-
}
|
59
|
-
|
60
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
61
|
-
@apply !-ms-3 !-mt-8 !text-xs !text-primary-500;
|
62
|
-
}
|
63
|
-
|
64
|
-
.nui-listbox-button ~ .nui-label-float {
|
65
|
-
@apply ms-0 mt-0 text-xs;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-lg {
|
70
|
-
.nui-label-float {
|
71
|
-
@apply start-3 -ms-3 -mt-9 text-xs text-transparent;
|
72
|
-
}
|
73
|
-
|
74
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
75
|
-
@apply !-ms-3 !-mt-9 !text-xs !text-primary-500;
|
76
|
-
}
|
77
|
-
|
78
|
-
.nui-listbox-button ~ .nui-label-float {
|
79
|
-
@apply ms-0 mt-0 text-[0.825rem];
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
&.nui-listbox-label-float:not(.nui-has-icon).nui-listbox-xl {
|
84
|
-
.nui-label-float {
|
85
|
-
@apply start-3 -ms-3 -mt-10 text-xs text-transparent;
|
86
|
-
}
|
87
|
-
|
88
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
89
|
-
@apply !-ms-3 !-mt-10 !text-xs !text-primary-500;
|
90
|
-
}
|
91
|
-
|
92
|
-
.nui-listbox-button ~ .nui-label-float {
|
93
|
-
@apply ms-0 mt-0 text-[0.825rem];
|
94
|
-
}
|
95
|
-
}
|
96
39
|
}
|
97
|
-
@utility nui-label-float {
|
40
|
+
@utility nui-listbox-label-float-label {
|
98
41
|
@apply pointer-events-none absolute inline-flex select-none items-center leading-none;
|
99
42
|
@apply text-primary-500 h-5;
|
100
43
|
@apply transition-all duration-300;
|
@@ -109,11 +52,11 @@
|
|
109
52
|
.nui-listbox-button-inner {
|
110
53
|
@apply flex w-full items-center;
|
111
54
|
|
112
|
-
.nui-icon-box {
|
55
|
+
.nui-listbox-icon-box {
|
113
56
|
@apply !h-6 !w-6;
|
114
57
|
@apply -ms-2 me-2;
|
115
58
|
|
116
|
-
.nui-icon-box-inner {
|
59
|
+
.nui-listbox-icon-box-inner {
|
117
60
|
@apply h-4 w-4;
|
118
61
|
}
|
119
62
|
}
|
@@ -142,7 +85,7 @@
|
|
142
85
|
}
|
143
86
|
}
|
144
87
|
@utility nui-listbox-options {
|
145
|
-
@apply nui-slimscroll
|
88
|
+
@apply nui-slimscroll z-10 max-h-60 w-full overflow-auto p-2;
|
146
89
|
@apply text-base sm:text-sm;
|
147
90
|
@apply focus:ring-primary-500/50 dark:focus:ring-primary-500/50 focus:outline-none focus:ring-1;
|
148
91
|
@apply shadow-lg shadow-muted-300/30 dark:shadow-muted-800/20;
|
@@ -151,10 +94,10 @@
|
|
151
94
|
@apply relative flex gap-2 cursor-pointer select-none items-center px-3 py-2;
|
152
95
|
@apply transition-colors duration-300;
|
153
96
|
|
154
|
-
.nui-icon-box {
|
97
|
+
.nui-listbox-icon-box {
|
155
98
|
@apply text-muted-200 dark:text-muted-400 -ms-2 me-1;
|
156
99
|
|
157
|
-
.nui-icon-box-inner {
|
100
|
+
.nui-listbox-icon-box-inner {
|
158
101
|
@apply h-5 w-5;
|
159
102
|
}
|
160
103
|
}
|
@@ -178,19 +121,20 @@
|
|
178
121
|
}
|
179
122
|
}
|
180
123
|
|
181
|
-
&:not(.nui-active), &:not(:hover) {
|
124
|
+
&:not(.nui-listbox-active), &:not(:hover) {
|
182
125
|
@apply text-muted-600 dark:text-muted-200;
|
183
126
|
}
|
184
127
|
|
185
|
-
&.nui-active, &:hover {
|
128
|
+
&.nui-listbox-active, &:hover {
|
186
129
|
@apply text-primary-600 dark:text-primary-600;
|
187
130
|
@apply bg-primary-500/10 dark:bg-primary-500/10;
|
188
131
|
}
|
189
132
|
}
|
190
|
-
@utility nui-listbox-placeload {
|
191
|
-
@apply absolute start-0 top-0 flex w-full items-center px-4;
|
133
|
+
@utility nui-listbox-placeload-wrapper {
|
134
|
+
@apply absolute start-0 top-0 flex w-full items-center px-4;
|
135
|
+
@apply h-10;
|
192
136
|
|
193
|
-
.nui-placeload {
|
137
|
+
.nui-listbox-placeload {
|
194
138
|
@apply h-3 w-full max-w-[75%] rounded;
|
195
139
|
}
|
196
140
|
}
|
@@ -199,7 +143,7 @@
|
|
199
143
|
@apply pb-1 text-xs;
|
200
144
|
}
|
201
145
|
|
202
|
-
.nui-label-float {
|
146
|
+
.nui-listbox-label-float-label {
|
203
147
|
@apply top-1.5;
|
204
148
|
}
|
205
149
|
|
@@ -211,7 +155,7 @@
|
|
211
155
|
}
|
212
156
|
}
|
213
157
|
|
214
|
-
.nui-listbox-placeload {
|
158
|
+
.nui-listbox-placeload-wrapper {
|
215
159
|
@apply h-8;
|
216
160
|
}
|
217
161
|
|
@@ -228,7 +172,7 @@
|
|
228
172
|
@apply pb-1 text-[0.825rem];
|
229
173
|
}
|
230
174
|
|
231
|
-
.nui-label-float {
|
175
|
+
.nui-listbox-label-float-label {
|
232
176
|
@apply top-2.5;
|
233
177
|
}
|
234
178
|
}
|
@@ -239,9 +183,6 @@
|
|
239
183
|
@apply h-[1.15rem] w-[1.15rem];
|
240
184
|
}
|
241
185
|
}
|
242
|
-
@utility nui-listbox-placeload {
|
243
|
-
@apply h-10;
|
244
|
-
}
|
245
186
|
@utility nui-listbox-chevron {
|
246
187
|
@apply h-10 w-10;
|
247
188
|
|
@@ -254,7 +195,7 @@
|
|
254
195
|
@apply pb-1 text-sm;
|
255
196
|
}
|
256
197
|
|
257
|
-
.nui-label-float {
|
198
|
+
.nui-listbox-label-float-label {
|
258
199
|
@apply top-3.5;
|
259
200
|
}
|
260
201
|
|
@@ -266,7 +207,7 @@
|
|
266
207
|
}
|
267
208
|
}
|
268
209
|
|
269
|
-
.nui-listbox-placeload {
|
210
|
+
.nui-listbox-placeload-wrapper {
|
270
211
|
@apply h-12;
|
271
212
|
}
|
272
213
|
|
@@ -283,7 +224,7 @@
|
|
283
224
|
@apply pb-1 text-sm;
|
284
225
|
}
|
285
226
|
|
286
|
-
.nui-label-float {
|
227
|
+
.nui-listbox-label-float-label {
|
287
228
|
@apply top-[1.1rem];
|
288
229
|
}
|
289
230
|
|
@@ -295,7 +236,7 @@
|
|
295
236
|
}
|
296
237
|
}
|
297
238
|
|
298
|
-
.nui-listbox-placeload {
|
239
|
+
.nui-listbox-placeload-wrapper {
|
299
240
|
@apply h-14;
|
300
241
|
}
|
301
242
|
|
@@ -415,7 +356,7 @@
|
|
415
356
|
@apply !text-transparent placeholder:!text-transparent dark:placeholder:!text-transparent pointer-events-none;
|
416
357
|
}
|
417
358
|
|
418
|
-
.nui-listbox-button ~ .nui-label-float {
|
359
|
+
.nui-listbox-button ~ .nui-listbox-label-float {
|
419
360
|
@apply text-transparent;
|
420
361
|
}
|
421
362
|
|
@@ -423,11 +364,6 @@
|
|
423
364
|
@apply opacity-0;
|
424
365
|
}
|
425
366
|
}
|
426
|
-
@utility nui-listbox-label-float {
|
427
|
-
.nui-listbox-button {
|
428
|
-
@apply placeholder:text-transparent dark:placeholder:text-transparent;
|
429
|
-
}
|
430
|
-
}
|
431
367
|
@utility nui-listbox-error {
|
432
368
|
.nui-listbox-button {
|
433
369
|
@apply !border-danger-500 dark:!border-danger-500;
|
@@ -437,75 +373,156 @@
|
|
437
373
|
@apply !text-danger-500 dark:!text-danger-500;
|
438
374
|
}
|
439
375
|
}
|
440
|
-
@utility nui-has-icon {
|
441
|
-
|
442
|
-
|
376
|
+
@utility nui-listbox-has-icon {
|
377
|
+
&.nui-listbox-sm {
|
378
|
+
.nui-listbox-button {
|
379
|
+
@apply h-8 py-1 text-xs leading-4 pe-3 ps-8;
|
380
|
+
}
|
443
381
|
}
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
382
|
+
&.nui-listbox-md {
|
383
|
+
.nui-listbox-button {
|
384
|
+
@apply h-10 py-2 text-sm leading-5 pe-4 ps-10;
|
385
|
+
}
|
448
386
|
}
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
387
|
+
&.nui-listbox-lg {
|
388
|
+
.nui-listbox-button {
|
389
|
+
@apply h-12 py-2 text-sm leading-5 pe-4 ps-11;
|
390
|
+
}
|
453
391
|
}
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
392
|
+
&.nui-listbox-xl {
|
393
|
+
.nui-listbox-button {
|
394
|
+
@apply h-14 py-2 text-base leading-5 pe-4 ps-12;
|
395
|
+
}
|
458
396
|
}
|
459
397
|
}
|
460
398
|
@utility nui-listbox-label-float {
|
461
|
-
.nui-
|
462
|
-
@apply
|
399
|
+
.nui-listbox-button {
|
400
|
+
@apply placeholder:text-transparent dark:placeholder:text-transparent;
|
463
401
|
}
|
464
402
|
|
465
|
-
|
466
|
-
|
467
|
-
|
403
|
+
&.nui-listbox-has-icon.nui-listbox-sm {
|
404
|
+
.nui-listbox-label-float-label {
|
405
|
+
@apply start-8 -ms-8 -mt-7 text-xs text-transparent;
|
406
|
+
}
|
407
|
+
|
408
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
409
|
+
.nui-listbox-button:focus ~ .nui-listbox-label-float-label,
|
410
|
+
.nui-listbox-label-float-active {
|
411
|
+
@apply !-ms-8 !-mt-7 !text-primary-500;
|
412
|
+
}
|
468
413
|
|
469
|
-
|
470
|
-
|
414
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
415
|
+
@apply ms-0 mt-0;
|
416
|
+
}
|
471
417
|
}
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
418
|
+
&.nui-listbox-has-icon.nui-listbox-md {
|
419
|
+
.nui-listbox-label-float-label {
|
420
|
+
@apply start-10 -ms-10 -mt-8 text-xs text-transparent;
|
421
|
+
}
|
422
|
+
|
423
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
424
|
+
.nui-listbox-button:focus ~ .nui-listbox-label-float-label,
|
425
|
+
.nui-listbox-label-float-active {
|
426
|
+
@apply !-ms-10 !-mt-8 !text-xs !text-primary-500;
|
427
|
+
}
|
428
|
+
|
429
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
430
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
431
|
+
}
|
476
432
|
}
|
433
|
+
&.nui-listbox-has-icon.nui-listbox-lg {
|
434
|
+
.nui-listbox-label-float-label {
|
435
|
+
@apply start-11 -ms-10 -mt-9 text-xs text-transparent;
|
436
|
+
}
|
477
437
|
|
478
|
-
|
479
|
-
|
480
|
-
|
438
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
439
|
+
.nui-listbox-button:focus ~ .nui-listbox-label-float-label,
|
440
|
+
.nui-listbox-label-float-active {
|
441
|
+
@apply !-ms-10 !-mt-9 !text-xs !text-primary-500;
|
442
|
+
}
|
481
443
|
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
}
|
486
|
-
@utility nui-listbox-label-float {
|
487
|
-
.nui-label-float {
|
488
|
-
@apply start-11 -ms-10 -mt-9 text-xs text-transparent;
|
444
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
445
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
446
|
+
}
|
489
447
|
}
|
448
|
+
&.nui-listbox-has-icon.nui-listbox-xl {
|
449
|
+
.nui-listbox-label-float-label {
|
450
|
+
@apply start-[3.25rem] -ms-[3.25rem] -mt-10 text-xs text-transparent;
|
451
|
+
}
|
452
|
+
|
453
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
454
|
+
.nui-listbox-button:focus ~ .nui-listbox-label-float-label,
|
455
|
+
.nui-listbox-label-float-active {
|
456
|
+
@apply !-ms-[3.25rem] !-mt-10 !text-xs !text-primary-500;
|
457
|
+
}
|
490
458
|
|
491
|
-
|
492
|
-
|
459
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
460
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
461
|
+
}
|
493
462
|
}
|
494
463
|
|
495
|
-
|
496
|
-
|
464
|
+
|
465
|
+
&:not(.nui-listbox-has-icon).nui-listbox-sm {
|
466
|
+
.nui-listbox-label-float-label {
|
467
|
+
@apply start-3 -ms-3 -mt-7 text-xs text-transparent;
|
468
|
+
}
|
469
|
+
|
470
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
471
|
+
.nui-listbox-button:focus ~ .nui-listbox-label-float-label,
|
472
|
+
.nui-listbox-label-float-active {
|
473
|
+
@apply !-ms-3 !-mt-7 !text-primary-500;
|
474
|
+
}
|
475
|
+
|
476
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
477
|
+
@apply ms-0 mt-0;
|
478
|
+
}
|
497
479
|
}
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
480
|
+
|
481
|
+
&:not(.nui-listbox-has-icon).nui-listbox-md {
|
482
|
+
.nui-listbox-label-float-label {
|
483
|
+
@apply start-3 -ms-3 -mt-8 text-xs text-transparent;
|
484
|
+
}
|
485
|
+
|
486
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
487
|
+
.nui-listbox-button:focus ~ .nui-listbox-label-float-label,
|
488
|
+
.nui-listbox-label-float-active {
|
489
|
+
@apply !-ms-3 !-mt-8 !text-xs !text-primary-500;
|
490
|
+
}
|
491
|
+
|
492
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
493
|
+
@apply ms-0 mt-0 text-xs;
|
494
|
+
}
|
502
495
|
}
|
503
496
|
|
504
|
-
.nui-listbox-
|
505
|
-
|
497
|
+
&:not(.nui-listbox-has-icon).nui-listbox-lg {
|
498
|
+
.nui-listbox-label-float-label {
|
499
|
+
@apply start-3 -ms-3 -mt-9 text-xs text-transparent;
|
500
|
+
}
|
501
|
+
|
502
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
503
|
+
.nui-listbox-button:focus ~ .nui-listbox-label-float-label,
|
504
|
+
.nui-listbox-label-float-active {
|
505
|
+
@apply !-ms-3 !-mt-9 !text-xs !text-primary-500;
|
506
|
+
}
|
507
|
+
|
508
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
509
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
510
|
+
}
|
506
511
|
}
|
507
512
|
|
508
|
-
.nui-listbox-
|
509
|
-
|
513
|
+
&:not(.nui-listbox-has-icon).nui-listbox-xl {
|
514
|
+
.nui-listbox-label-float-label {
|
515
|
+
@apply start-3 -ms-3 -mt-10 text-xs text-transparent;
|
516
|
+
}
|
517
|
+
|
518
|
+
.nui-listbox-button:focus-visible ~ .nui-listbox-label-float-label,
|
519
|
+
.nui-listbox-button:focus ~ .nui-label-float-label,
|
520
|
+
.nui-label-float-active {
|
521
|
+
@apply !-ms-3 !-mt-10 !text-xs !text-primary-500;
|
522
|
+
}
|
523
|
+
|
524
|
+
.nui-listbox-button ~ .nui-listbox-label-float-label {
|
525
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
526
|
+
}
|
510
527
|
}
|
511
528
|
}
|
package/lib/css/mark.css
CHANGED
package/lib/css/mask.css
CHANGED
package/lib/css/message-text.css
CHANGED
@@ -1,72 +1,71 @@
|
|
1
|
-
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
1
|
/* @utility nui-message-text */
|
3
2
|
|
4
3
|
@utility nui-message-text {
|
5
4
|
@apply relative p-5;
|
6
5
|
}
|
7
|
-
@utility nui-message-head {
|
6
|
+
@utility nui-message-text-head {
|
8
7
|
@apply flex items-center gap-2 mb-3;
|
9
8
|
}
|
10
|
-
@utility nui-message-dot {
|
9
|
+
@utility nui-message-text-dot {
|
11
10
|
@apply inline-block h-2 w-2 rounded-full;
|
12
11
|
}
|
13
|
-
@utility nui-message-close {
|
12
|
+
@utility nui-message-text-close {
|
14
13
|
@apply absolute top-2 end-2;
|
15
14
|
}
|
16
|
-
@utility nui-message-rounded-sm {
|
15
|
+
@utility nui-message-text-rounded-sm {
|
17
16
|
@apply rounded-md;
|
18
17
|
}
|
19
|
-
@utility nui-message-rounded-md {
|
18
|
+
@utility nui-message-text-rounded-md {
|
20
19
|
@apply rounded-lg;
|
21
20
|
}
|
22
|
-
@utility nui-message-rounded-lg {
|
21
|
+
@utility nui-message-text-rounded-lg {
|
23
22
|
@apply rounded-xl;
|
24
23
|
}
|
25
|
-
@utility nui-message-low-contrast {
|
24
|
+
@utility nui-message-text-low-contrast {
|
26
25
|
@apply bg-white dark:bg-muted-800;
|
27
26
|
@apply border border-muted-300 dark:border-muted-700;
|
28
27
|
}
|
29
|
-
@utility nui-message-high-contrast {
|
28
|
+
@utility nui-message-text-high-contrast {
|
30
29
|
@apply bg-white dark:bg-muted-950;
|
31
30
|
@apply border border-muted-300 dark:border-muted-800;
|
32
31
|
}
|
33
|
-
@utility nui-message-default {
|
34
|
-
.nui-message-dot {
|
32
|
+
@utility nui-message-text-default {
|
33
|
+
.nui-message-text-dot {
|
35
34
|
@apply bg-muted-300 dark:bg-muted-700;
|
36
35
|
}
|
37
36
|
}
|
38
|
-
@utility nui-message-primary {
|
39
|
-
.nui-message-dot {
|
37
|
+
@utility nui-message-text-primary {
|
38
|
+
.nui-message-text-dot {
|
40
39
|
@apply bg-primary-500 dark:bg-primary-500;
|
41
40
|
}
|
42
41
|
}
|
43
|
-
@utility nui-message-info {
|
44
|
-
.nui-message-dot {
|
42
|
+
@utility nui-message-text-info {
|
43
|
+
.nui-message-text-dot {
|
45
44
|
@apply bg-info-500 dark:bg-info-500;
|
46
45
|
}
|
47
46
|
}
|
48
|
-
@utility nui-message-success {
|
49
|
-
.nui-message-dot {
|
47
|
+
@utility nui-message-text-success {
|
48
|
+
.nui-message-text-dot {
|
50
49
|
@apply bg-success-500 dark:bg-success-500;
|
51
50
|
}
|
52
51
|
}
|
53
|
-
@utility nui-message-warning {
|
54
|
-
.nui-message-dot {
|
52
|
+
@utility nui-message-text-warning {
|
53
|
+
.nui-message-text-dot {
|
55
54
|
@apply bg-warning-500 dark:bg-warning-500;
|
56
55
|
}
|
57
56
|
}
|
58
|
-
@utility nui-message-danger {
|
59
|
-
.nui-message-dot {
|
57
|
+
@utility nui-message-text-danger {
|
58
|
+
.nui-message-text-dot {
|
60
59
|
@apply bg-danger-500 dark:bg-danger-500;
|
61
60
|
}
|
62
61
|
}
|
63
|
-
@utility nui-message-dark {
|
64
|
-
.nui-message-dot {
|
62
|
+
@utility nui-message-text-dark {
|
63
|
+
.nui-message-text-dot {
|
65
64
|
@apply bg-muted-900 dark:bg-muted-100;
|
66
65
|
}
|
67
66
|
}
|
68
|
-
@utility nui-message-black {
|
69
|
-
.nui-message-dot {
|
67
|
+
@utility nui-message-text-black {
|
68
|
+
.nui-message-text-dot {
|
70
69
|
@apply bg-black dark:bg-white;
|
71
70
|
}
|
72
71
|
}
|
package/lib/css/message.css
CHANGED
package/lib/css/modal.css
CHANGED
package/lib/css/pagination.css
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
1
|
/* @utility nui-pagination */
|
3
2
|
|
4
3
|
@utility nui-pagination {
|
@@ -52,7 +51,7 @@
|
|
52
51
|
@apply bg-muted-100 dark:bg-muted-700;
|
53
52
|
@apply border border-muted-200 dark:border-muted-600;
|
54
53
|
|
55
|
-
&:not(.nui-active) {
|
54
|
+
&:not(.nui-pagination-active) {
|
56
55
|
@apply text-muted-500 dark:text-muted-400;
|
57
56
|
@apply hover:text-muted-700 dark:hover:text-muted-400;
|
58
57
|
@apply bg-white dark:bg-muted-800;
|
@@ -61,7 +60,7 @@
|
|
61
60
|
}
|
62
61
|
}
|
63
62
|
@utility nui-pagination-primary {
|
64
|
-
.nui-pagination-link.nui-active {
|
63
|
+
.nui-pagination-link.nui-pagination-active {
|
65
64
|
@apply text-primary-invert dark:text-primary-invert;
|
66
65
|
@apply bg-primary-500 dark:bg-primary-500;
|
67
66
|
@apply border-primary-500 dark:border-primary-500;
|
@@ -69,7 +68,7 @@
|
|
69
68
|
}
|
70
69
|
}
|
71
70
|
@utility nui-pagination-dark {
|
72
|
-
.nui-pagination-link.nui-active {
|
71
|
+
.nui-pagination-link.nui-pagination-active {
|
73
72
|
@apply text-muted-100 dark:text-muted-900;
|
74
73
|
@apply bg-muted-900 dark:bg-muted-100;
|
75
74
|
@apply border-muted-900 dark:border-muted-100;
|
@@ -77,7 +76,7 @@
|
|
77
76
|
}
|
78
77
|
}
|
79
78
|
@utility nui-pagination-black {
|
80
|
-
.nui-pagination-link.nui-active {
|
79
|
+
.nui-pagination-link.nui-pagination-active {
|
81
80
|
@apply text-white dark:text-black;
|
82
81
|
@apply bg-black dark:bg-white;
|
83
82
|
@apply border-black dark:border-white;
|
package/lib/css/paragraph.css
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
1
|
/* @utility nui-paragraph */
|
3
2
|
|
4
3
|
@utility nui-paragraph {
|
@@ -43,36 +42,36 @@
|
|
43
42
|
@utility nui-paragraph-9xl {
|
44
43
|
@apply text-9xl;
|
45
44
|
}
|
46
|
-
@utility nui-weight-light {
|
45
|
+
@utility nui-paragraph-weight-light {
|
47
46
|
@apply font-light;
|
48
47
|
}
|
49
|
-
@utility nui-weight-normal {
|
48
|
+
@utility nui-paragraph-weight-normal {
|
50
49
|
@apply font-normal;
|
51
50
|
}
|
52
|
-
@utility nui-weight-medium {
|
51
|
+
@utility nui-paragraph-weight-medium {
|
53
52
|
@apply font-medium;
|
54
53
|
}
|
55
|
-
@utility nui-weight-semibold {
|
54
|
+
@utility nui-paragraph-weight-semibold {
|
56
55
|
@apply font-semibold;
|
57
56
|
}
|
58
|
-
@utility nui-weight-bold {
|
57
|
+
@utility nui-paragraph-weight-bold {
|
59
58
|
@apply font-bold;
|
60
59
|
}
|
61
|
-
@utility nui-weight-extrabold {
|
60
|
+
@utility nui-paragraph-weight-extrabold {
|
62
61
|
@apply font-extrabold;
|
63
62
|
}
|
64
|
-
@utility nui-lead-none {
|
63
|
+
@utility nui-paragraph-lead-none {
|
65
64
|
@apply leading-none;
|
66
65
|
}
|
67
|
-
@utility nui-lead-normal {
|
66
|
+
@utility nui-paragraph-lead-normal {
|
68
67
|
@apply leading-normal;
|
69
68
|
}
|
70
|
-
@utility nui-lead-tight {
|
69
|
+
@utility nui-paragraph-lead-tight {
|
71
70
|
@apply leading-tight;
|
72
71
|
}
|
73
|
-
@utility nui-lead-snug {
|
72
|
+
@utility nui-paragraph-lead-snug {
|
74
73
|
@apply leading-snug;
|
75
74
|
}
|
76
|
-
@utility nui-lead-loose {
|
75
|
+
@utility nui-paragraph-lead-loose {
|
77
76
|
@apply leading-loose;
|
78
77
|
}
|
package/lib/css/placeload.css
CHANGED