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