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