@shuriken-ui/tailwind 4.0.0-alpha.5 → 4.0.0-alpha.7
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/focus.css +2 -9
- package/lib/css/mark.css +0 -2
- package/lib/css/mask.css +0 -2
- package/lib/css/slimscroll.css +8 -5
- package/lib/index.css +8 -52
- package/lib/theme.css +40 -31
- package/package.json +2 -2
- package/lib/css/accordion.css +0 -175
- package/lib/css/autocomplete.css +0 -510
- package/lib/css/avatar-group.css +0 -137
- package/lib/css/avatar.css +0 -737
- package/lib/css/breadcrumb.css +0 -62
- package/lib/css/button-action.css +0 -107
- package/lib/css/button-close.css +0 -116
- package/lib/css/button-group.css +0 -235
- package/lib/css/button-icon.css +0 -96
- package/lib/css/button.css +0 -564
- package/lib/css/card.css +0 -68
- package/lib/css/checkbox.css +0 -98
- package/lib/css/dropdown-divider.css +0 -5
- package/lib/css/dropdown-item.css +0 -61
- package/lib/css/dropdown.css +0 -101
- package/lib/css/fullscreen-dropfile.css +0 -62
- package/lib/css/heading.css +0 -77
- package/lib/css/icon-box.css +0 -304
- package/lib/css/input-file-regular.css +0 -254
- package/lib/css/input-file.css +0 -223
- package/lib/css/input-help-text.css +0 -6
- package/lib/css/input-number.css +0 -468
- package/lib/css/input.css +0 -402
- package/lib/css/kbd.css +0 -93
- package/lib/css/label.css +0 -5
- package/lib/css/link.css +0 -7
- package/lib/css/list.css +0 -23
- package/lib/css/listbox.css +0 -510
- package/lib/css/message-text.css +0 -71
- package/lib/css/message.css +0 -243
- package/lib/css/modal.css +0 -50
- package/lib/css/pagination.css +0 -92
- package/lib/css/paragraph.css +0 -77
- package/lib/css/placeholder-page.css +0 -43
- package/lib/css/placeload.css +0 -11
- package/lib/css/progress-circle.css +0 -17
- package/lib/css/progress.css +0 -105
- package/lib/css/prose.css +0 -22
- package/lib/css/radio.css +0 -72
- package/lib/css/select.css +0 -403
- package/lib/css/snack.css +0 -100
- package/lib/css/switch-ball.css +0 -93
- package/lib/css/switch-thin.css +0 -75
- package/lib/css/tab-slider.css +0 -189
- package/lib/css/tabs.css +0 -173
- package/lib/css/tag.css +0 -311
- package/lib/css/text.css +0 -77
- package/lib/css/textarea.css +0 -227
- package/lib/css/theme-switch.css +0 -64
- package/lib/css/theme-toggle.css +0 -61
- package/lib/css/toast.css +0 -131
- package/lib/css/tooltip.css +0 -98
package/lib/css/listbox.css
DELETED
@@ -1,510 +0,0 @@
|
|
1
|
-
/* @utility nui-listbox */
|
2
|
-
|
3
|
-
@utility nui-listbox {
|
4
|
-
@apply relative w-full;
|
5
|
-
|
6
|
-
.nui-listbox-label, .nui-label-float {
|
7
|
-
@apply nui-label;
|
8
|
-
}
|
9
|
-
|
10
|
-
&:not(.nui-listbox-loading) {
|
11
|
-
.nui-listbox-button ~ .nui-label-float {
|
12
|
-
@apply text-muted-300 dark:text-muted-600;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
&:not(.nui-has-icon).nui-listbox-sm {
|
17
|
-
.nui-listbox-button {
|
18
|
-
@apply h-8 py-1 text-xs leading-4 px-2;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
&:not(.nui-has-icon).nui-listbox-md {
|
23
|
-
.nui-listbox-button {
|
24
|
-
@apply h-10 py-2 text-sm leading-5 px-3;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
&:not(.nui-has-icon).nui-listbox-lg {
|
29
|
-
.nui-listbox-button {
|
30
|
-
@apply h-12 py-2 text-sm leading-5 px-4;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
&:not(.nui-has-icon).nui-listbox-xl {
|
35
|
-
.nui-listbox-button {
|
36
|
-
@apply h-14 py-2 text-base leading-5 px-4;
|
37
|
-
}
|
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
|
-
}
|
96
|
-
@utility nui-label-float {
|
97
|
-
@apply pointer-events-none absolute inline-flex select-none items-center leading-none;
|
98
|
-
@apply text-primary-500 h-5;
|
99
|
-
@apply transition-all duration-300;
|
100
|
-
}
|
101
|
-
@utility nui-listbox-outer {
|
102
|
-
@apply relative;
|
103
|
-
}
|
104
|
-
@utility nui-listbox-button {
|
105
|
-
@apply nui-focus relative w-full flex items-center gap-2 pe-12 ps-4 border leading-5 disabled:cursor-not-allowed disabled:opacity-75;
|
106
|
-
@apply font-sans text-sm text-start;
|
107
|
-
|
108
|
-
.nui-listbox-button-inner {
|
109
|
-
@apply flex w-full items-center;
|
110
|
-
|
111
|
-
.nui-icon-box {
|
112
|
-
@apply !h-6 !w-6;
|
113
|
-
@apply -ms-2 me-2;
|
114
|
-
|
115
|
-
.nui-icon-box-inner {
|
116
|
-
@apply h-4 w-4;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
.nui-listbox-placeholder {
|
121
|
-
@apply text-muted-300 dark:text-muted-500 truncate text-start;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
&:focus-visible ~ .nui-listbox-chevron .nui-listbox-chevron-inner, &:focus ~ .nui-listbox-chevron .nui-listbox-chevron-inner {
|
126
|
-
@apply !rotate-180;
|
127
|
-
}
|
128
|
-
}
|
129
|
-
@utility nui-listbox-icon {
|
130
|
-
@apply text-muted-400 dark:text-muted-400;
|
131
|
-
@apply transition-colors duration-300;
|
132
|
-
@apply absolute start-0 top-0 z-10 flex items-center justify-center;
|
133
|
-
}
|
134
|
-
@utility nui-listbox-chevron {
|
135
|
-
@apply pointer-events-none absolute top-0 end-0 flex items-center justify-center border-s;
|
136
|
-
|
137
|
-
.nui-listbox-chevron-inner {
|
138
|
-
@apply transition-transform duration-300;
|
139
|
-
@apply h-4 w-4;
|
140
|
-
@apply text-muted-400 dark:text-muted-400;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
@utility nui-listbox-options {
|
144
|
-
@apply nui-slimscroll absolute z-10 mt-1 max-h-60 w-full overflow-auto p-2;
|
145
|
-
@apply text-base sm:text-sm;
|
146
|
-
@apply focus:ring-primary-500/50 dark:focus:ring-primary-500/50 focus:outline-none focus:ring-1;
|
147
|
-
@apply shadow-lg shadow-muted-300/30 dark:shadow-muted-800/20;
|
148
|
-
}
|
149
|
-
@utility nui-listbox-option {
|
150
|
-
@apply relative flex gap-2 cursor-pointer select-none items-center px-3 py-2;
|
151
|
-
@apply transition-colors duration-300;
|
152
|
-
|
153
|
-
.nui-icon-box {
|
154
|
-
@apply text-muted-200 dark:text-muted-400 -ms-2 me-1;
|
155
|
-
|
156
|
-
.nui-icon-box-inner {
|
157
|
-
@apply h-5 w-5;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
.nui-listbox-selected-icon {
|
162
|
-
@apply text-primary-600 dark:text-primary-600 ms-auto flex items-center;
|
163
|
-
}
|
164
|
-
|
165
|
-
.nui-listbox-selected-icon-inner {
|
166
|
-
@apply h-4 w-4;
|
167
|
-
}
|
168
|
-
|
169
|
-
.nui-listbox-option-inner {
|
170
|
-
.nui-listbox-heading {
|
171
|
-
@apply block truncate;
|
172
|
-
@apply text-muted-800 dark:text-muted-100;
|
173
|
-
}
|
174
|
-
|
175
|
-
.nui-listbox-text {
|
176
|
-
@apply text-muted-400 dark:text-muted-400;
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
&:not(.nui-active), &:not(:hover) {
|
181
|
-
@apply text-muted-600 dark:text-muted-200;
|
182
|
-
}
|
183
|
-
|
184
|
-
&.nui-active, &:hover {
|
185
|
-
@apply text-primary-600 dark:text-primary-600;
|
186
|
-
@apply bg-primary-500/10 dark:bg-primary-500/10;
|
187
|
-
}
|
188
|
-
}
|
189
|
-
@utility nui-listbox-placeload {
|
190
|
-
@apply absolute start-0 top-0 flex w-full items-center px-4;
|
191
|
-
|
192
|
-
.nui-placeload {
|
193
|
-
@apply h-3 w-full max-w-[75%] rounded;
|
194
|
-
}
|
195
|
-
}
|
196
|
-
@utility nui-listbox-sm {
|
197
|
-
.nui-listbox-label {
|
198
|
-
@apply pb-1 text-xs;
|
199
|
-
}
|
200
|
-
|
201
|
-
.nui-label-float {
|
202
|
-
@apply top-1.5;
|
203
|
-
}
|
204
|
-
|
205
|
-
.nui-listbox-icon {
|
206
|
-
@apply h-8 w-8;
|
207
|
-
|
208
|
-
.nui-listbox-icon-inner {
|
209
|
-
@apply h-4 w-4;
|
210
|
-
}
|
211
|
-
}
|
212
|
-
|
213
|
-
.nui-listbox-placeload {
|
214
|
-
@apply h-8;
|
215
|
-
}
|
216
|
-
|
217
|
-
.nui-listbox-chevron {
|
218
|
-
@apply h-8 w-8;
|
219
|
-
|
220
|
-
.nui-listbox-chevron-inner {
|
221
|
-
@apply h-3 w-3;
|
222
|
-
}
|
223
|
-
}
|
224
|
-
}
|
225
|
-
@utility nui-listbox-md {
|
226
|
-
.nui-listbox-label {
|
227
|
-
@apply pb-1 text-[0.825rem];
|
228
|
-
}
|
229
|
-
|
230
|
-
.nui-label-float {
|
231
|
-
@apply top-2.5;
|
232
|
-
}
|
233
|
-
}
|
234
|
-
@utility nui-listbox-icon {
|
235
|
-
@apply h-10 w-10;
|
236
|
-
|
237
|
-
.nui-listbox-icon-inner {
|
238
|
-
@apply h-[1.15rem] w-[1.15rem];
|
239
|
-
}
|
240
|
-
}
|
241
|
-
@utility nui-listbox-placeload {
|
242
|
-
@apply h-10;
|
243
|
-
}
|
244
|
-
@utility nui-listbox-chevron {
|
245
|
-
@apply h-10 w-10;
|
246
|
-
|
247
|
-
.nui-listbox-chevron-inner {
|
248
|
-
@apply h-4 w-4;
|
249
|
-
}
|
250
|
-
}
|
251
|
-
@utility nui-listbox-lg {
|
252
|
-
.nui-listbox-label {
|
253
|
-
@apply pb-1 text-sm;
|
254
|
-
}
|
255
|
-
|
256
|
-
.nui-label-float {
|
257
|
-
@apply top-3.5;
|
258
|
-
}
|
259
|
-
|
260
|
-
.nui-listbox-icon {
|
261
|
-
@apply h-12 w-12;
|
262
|
-
|
263
|
-
.nui-listbox-icon-inner {
|
264
|
-
@apply h-5 w-5;
|
265
|
-
}
|
266
|
-
}
|
267
|
-
|
268
|
-
.nui-listbox-placeload {
|
269
|
-
@apply h-12;
|
270
|
-
}
|
271
|
-
|
272
|
-
.nui-listbox-chevron {
|
273
|
-
@apply h-12 w-12;
|
274
|
-
|
275
|
-
.nui-listbox-chevron-inner {
|
276
|
-
@apply h-5 w-5;
|
277
|
-
}
|
278
|
-
}
|
279
|
-
}
|
280
|
-
@utility nui-listbox-xl {
|
281
|
-
.nui-listbox-label {
|
282
|
-
@apply pb-1 text-sm;
|
283
|
-
}
|
284
|
-
|
285
|
-
.nui-label-float {
|
286
|
-
@apply top-[1.1rem];
|
287
|
-
}
|
288
|
-
|
289
|
-
.nui-listbox-icon {
|
290
|
-
@apply h-14 w-14;
|
291
|
-
|
292
|
-
.nui-listbox-icon-inner {
|
293
|
-
@apply h-5 w-5;
|
294
|
-
}
|
295
|
-
}
|
296
|
-
|
297
|
-
.nui-listbox-placeload {
|
298
|
-
@apply h-14;
|
299
|
-
}
|
300
|
-
|
301
|
-
.nui-listbox-chevron {
|
302
|
-
@apply h-14 w-14;
|
303
|
-
|
304
|
-
.nui-listbox-chevron-inner {
|
305
|
-
@apply h-5 w-5;
|
306
|
-
}
|
307
|
-
}
|
308
|
-
}
|
309
|
-
@utility nui-listbox-rounded-sm {
|
310
|
-
.nui-listbox-button, .nui-listbox-options, .nui-listbox-option {
|
311
|
-
@apply rounded-md;
|
312
|
-
}
|
313
|
-
}
|
314
|
-
@utility nui-listbox-rounded-md {
|
315
|
-
.nui-listbox-button, .nui-listbox-options, .nui-listbox-option {
|
316
|
-
@apply rounded-lg;
|
317
|
-
}
|
318
|
-
}
|
319
|
-
@utility nui-listbox-rounded-lg {
|
320
|
-
.nui-listbox-button, .nui-listbox-options, .nui-listbox-option {
|
321
|
-
@apply rounded-xl;
|
322
|
-
}
|
323
|
-
}
|
324
|
-
@utility nui-listbox-rounded-full {
|
325
|
-
.nui-listbox-button {
|
326
|
-
@apply rounded-full;
|
327
|
-
}
|
328
|
-
|
329
|
-
.nui-listbox-option, .nui-listbox-options {
|
330
|
-
@apply rounded-xl;
|
331
|
-
}
|
332
|
-
}
|
333
|
-
@utility nui-listbox-default {
|
334
|
-
.nui-listbox-button {
|
335
|
-
@apply text-muted-600 dark:text-muted-200;
|
336
|
-
@apply bg-white dark:bg-muted-900;
|
337
|
-
@apply border border-muted-300 dark:border-muted-700;
|
338
|
-
@apply placeholder-muted-300 dark:placeholder-muted-500;
|
339
|
-
@apply focus:shadow-lg focus:shadow-muted-300/30 dark:focus:shadow-muted-800/20;
|
340
|
-
}
|
341
|
-
|
342
|
-
.nui-listbox-chevron {
|
343
|
-
@apply border-muted-200 dark:border-muted-700;
|
344
|
-
}
|
345
|
-
|
346
|
-
.nui-listbox-options {
|
347
|
-
@apply bg-white dark:bg-muted-700;
|
348
|
-
@apply border border-muted-200 dark:border-muted-600;
|
349
|
-
}
|
350
|
-
}
|
351
|
-
@utility nui-listbox-default-contrast {
|
352
|
-
.nui-listbox-button {
|
353
|
-
@apply text-muted-600 dark:text-muted-200;
|
354
|
-
@apply bg-white dark:bg-muted-950;
|
355
|
-
@apply border border-muted-300 dark:border-muted-800;
|
356
|
-
@apply placeholder-muted-300 dark:placeholder-muted-600;
|
357
|
-
@apply focus:shadow-lg focus:shadow-muted-300/30 dark:focus:shadow-muted-800/20;
|
358
|
-
}
|
359
|
-
|
360
|
-
.nui-listbox-chevron {
|
361
|
-
@apply border-muted-300 dark:border-muted-800;
|
362
|
-
}
|
363
|
-
|
364
|
-
.nui-listbox-options {
|
365
|
-
@apply bg-white dark:bg-muted-950;
|
366
|
-
@apply border border-muted-200 dark:border-muted-800;
|
367
|
-
}
|
368
|
-
}
|
369
|
-
@utility nui-listbox-muted {
|
370
|
-
.nui-listbox-button {
|
371
|
-
@apply text-muted-600 dark:text-muted-200;
|
372
|
-
@apply bg-muted-100 dark:bg-muted-900;
|
373
|
-
@apply border border-muted-200 dark:border-muted-700;
|
374
|
-
@apply placeholder-muted-300 dark:placeholder-muted-500;
|
375
|
-
@apply focus:shadow-lg focus:shadow-muted-300/30 dark:focus:shadow-muted-800/20;
|
376
|
-
}
|
377
|
-
|
378
|
-
.nui-listbox-chevron {
|
379
|
-
@apply border-muted-200 dark:border-muted-700;
|
380
|
-
}
|
381
|
-
|
382
|
-
.nui-listbox-options {
|
383
|
-
@apply bg-white dark:bg-muted-700;
|
384
|
-
@apply border border-muted-200 dark:border-muted-600;
|
385
|
-
}
|
386
|
-
}
|
387
|
-
@utility nui-listbox-muted-contrast {
|
388
|
-
.nui-listbox-button {
|
389
|
-
@apply text-muted-600 dark:text-muted-200;
|
390
|
-
@apply bg-muted-100 dark:bg-muted-950;
|
391
|
-
@apply border border-muted-200 dark:border-muted-800;
|
392
|
-
@apply placeholder-muted-300 dark:placeholder-muted-600;
|
393
|
-
@apply focus:shadow-lg focus:shadow-muted-300/30 dark:focus:shadow-muted-800/20;
|
394
|
-
}
|
395
|
-
|
396
|
-
.nui-listbox-chevron {
|
397
|
-
@apply border-muted-300 dark:border-muted-800;
|
398
|
-
}
|
399
|
-
|
400
|
-
.nui-listbox-options {
|
401
|
-
@apply bg-white dark:bg-muted-950;
|
402
|
-
@apply border border-muted-200 dark:border-muted-800;
|
403
|
-
}
|
404
|
-
}
|
405
|
-
@utility nui-listbox-focus {
|
406
|
-
.nui-listbox-button {
|
407
|
-
@apply transition-colors duration-300;
|
408
|
-
@apply focus:!border-primary-500 dark:focus:!border-primary-500;
|
409
|
-
@apply focus:hover:!border-primary-500 dark:focus:hover:!border-primary-500;
|
410
|
-
}
|
411
|
-
}
|
412
|
-
@utility nui-listbox-loading {
|
413
|
-
.nui-listbox-button {
|
414
|
-
@apply !text-transparent placeholder:!text-transparent dark:placeholder:!text-transparent pointer-events-none;
|
415
|
-
}
|
416
|
-
|
417
|
-
.nui-listbox-button ~ .nui-label-float {
|
418
|
-
@apply text-transparent;
|
419
|
-
}
|
420
|
-
|
421
|
-
.nui-listbox-icon {
|
422
|
-
@apply opacity-0;
|
423
|
-
}
|
424
|
-
}
|
425
|
-
@utility nui-listbox-label-float {
|
426
|
-
.nui-listbox-button {
|
427
|
-
@apply placeholder:text-transparent dark:placeholder:text-transparent;
|
428
|
-
}
|
429
|
-
}
|
430
|
-
@utility nui-listbox-error {
|
431
|
-
.nui-listbox-button {
|
432
|
-
@apply !border-danger-500 dark:!border-danger-500;
|
433
|
-
}
|
434
|
-
|
435
|
-
.nui-listbox-icon {
|
436
|
-
@apply !text-danger-500 dark:!text-danger-500;
|
437
|
-
}
|
438
|
-
}
|
439
|
-
@utility nui-has-icon {
|
440
|
-
.nui-listbox-button {
|
441
|
-
@apply h-8 py-1 text-xs leading-4 pe-3 ps-8;
|
442
|
-
}
|
443
|
-
}
|
444
|
-
@utility nui-has-icon {
|
445
|
-
.nui-listbox-button {
|
446
|
-
@apply h-10 py-2 text-sm leading-5 pe-4 ps-10;
|
447
|
-
}
|
448
|
-
}
|
449
|
-
@utility nui-has-icon {
|
450
|
-
.nui-listbox-button {
|
451
|
-
@apply h-12 py-2 text-sm leading-5 pe-4 ps-11;
|
452
|
-
}
|
453
|
-
}
|
454
|
-
@utility nui-has-icon {
|
455
|
-
.nui-listbox-button {
|
456
|
-
@apply h-14 py-2 text-base leading-5 pe-4 ps-12;
|
457
|
-
}
|
458
|
-
}
|
459
|
-
@utility nui-listbox-label-float {
|
460
|
-
.nui-label-float {
|
461
|
-
@apply start-8 -ms-8 -mt-7 text-xs text-transparent;
|
462
|
-
}
|
463
|
-
|
464
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
465
|
-
@apply !-ms-8 !-mt-7 !text-primary-500;
|
466
|
-
}
|
467
|
-
|
468
|
-
.nui-listbox-button ~ .nui-label-float {
|
469
|
-
@apply ms-0 mt-0;
|
470
|
-
}
|
471
|
-
}
|
472
|
-
@utility nui-listbox-label-float {
|
473
|
-
.nui-label-float {
|
474
|
-
@apply start-10 -ms-10 -mt-8 text-xs text-transparent;
|
475
|
-
}
|
476
|
-
|
477
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
478
|
-
@apply !-ms-10 !-mt-8 !text-xs !text-primary-500;
|
479
|
-
}
|
480
|
-
|
481
|
-
.nui-listbox-button ~ .nui-label-float {
|
482
|
-
@apply ms-0 mt-0 text-[0.825rem];
|
483
|
-
}
|
484
|
-
}
|
485
|
-
@utility nui-listbox-label-float {
|
486
|
-
.nui-label-float {
|
487
|
-
@apply start-11 -ms-10 -mt-9 text-xs text-transparent;
|
488
|
-
}
|
489
|
-
|
490
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
491
|
-
@apply !-ms-10 !-mt-9 !text-xs !text-primary-500;
|
492
|
-
}
|
493
|
-
|
494
|
-
.nui-listbox-button ~ .nui-label-float {
|
495
|
-
@apply ms-0 mt-0 text-[0.825rem];
|
496
|
-
}
|
497
|
-
}
|
498
|
-
@utility nui-listbox-label-float {
|
499
|
-
.nui-label-float {
|
500
|
-
@apply start-[3.25rem] -ms-[3.25rem] -mt-10 text-xs text-transparent;
|
501
|
-
}
|
502
|
-
|
503
|
-
.nui-listbox-button:focus-visible ~ .nui-label-float, .nui-listbox-button:focus ~ .nui-label-float, .nui-label-float-active {
|
504
|
-
@apply !-ms-[3.25rem] !-mt-10 !text-xs !text-primary-500;
|
505
|
-
}
|
506
|
-
|
507
|
-
.nui-listbox-button ~ .nui-label-float {
|
508
|
-
@apply ms-0 mt-0 text-[0.825rem];
|
509
|
-
}
|
510
|
-
}
|
package/lib/css/message-text.css
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
/* @utility nui-message-text */
|
2
|
-
|
3
|
-
@utility nui-message-text {
|
4
|
-
@apply relative p-5;
|
5
|
-
}
|
6
|
-
@utility nui-message-head {
|
7
|
-
@apply flex items-center gap-2 mb-3;
|
8
|
-
}
|
9
|
-
@utility nui-message-dot {
|
10
|
-
@apply inline-block h-2 w-2 rounded-full;
|
11
|
-
}
|
12
|
-
@utility nui-message-close {
|
13
|
-
@apply absolute top-2 end-2;
|
14
|
-
}
|
15
|
-
@utility nui-message-rounded-sm {
|
16
|
-
@apply rounded-md;
|
17
|
-
}
|
18
|
-
@utility nui-message-rounded-md {
|
19
|
-
@apply rounded-lg;
|
20
|
-
}
|
21
|
-
@utility nui-message-rounded-lg {
|
22
|
-
@apply rounded-xl;
|
23
|
-
}
|
24
|
-
@utility nui-message-low-contrast {
|
25
|
-
@apply bg-white dark:bg-muted-800;
|
26
|
-
@apply border border-muted-300 dark:border-muted-700;
|
27
|
-
}
|
28
|
-
@utility nui-message-high-contrast {
|
29
|
-
@apply bg-white dark:bg-muted-950;
|
30
|
-
@apply border border-muted-300 dark:border-muted-800;
|
31
|
-
}
|
32
|
-
@utility nui-message-default {
|
33
|
-
.nui-message-dot {
|
34
|
-
@apply bg-muted-300 dark:bg-muted-700;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
@utility nui-message-primary {
|
38
|
-
.nui-message-dot {
|
39
|
-
@apply bg-primary-500 dark:bg-primary-500;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
@utility nui-message-info {
|
43
|
-
.nui-message-dot {
|
44
|
-
@apply bg-info-500 dark:bg-info-500;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
@utility nui-message-success {
|
48
|
-
.nui-message-dot {
|
49
|
-
@apply bg-success-500 dark:bg-success-500;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
@utility nui-message-warning {
|
53
|
-
.nui-message-dot {
|
54
|
-
@apply bg-warning-500 dark:bg-warning-500;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
@utility nui-message-danger {
|
58
|
-
.nui-message-dot {
|
59
|
-
@apply bg-danger-500 dark:bg-danger-500;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
@utility nui-message-dark {
|
63
|
-
.nui-message-dot {
|
64
|
-
@apply bg-muted-900 dark:bg-muted-100;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
@utility nui-message-black {
|
68
|
-
.nui-message-dot {
|
69
|
-
@apply bg-black dark:bg-white;
|
70
|
-
}
|
71
|
-
}
|