@shuriken-ui/tailwind 4.0.0-alpha.1 → 4.0.0-alpha.11

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 (63) hide show
  1. package/README.md +20 -74
  2. package/lib/css/focus.css +4 -0
  3. package/{src → lib}/css/mark.css +0 -3
  4. package/{src → lib}/css/mask.css +0 -3
  5. package/{src → lib}/css/slimscroll.css +8 -8
  6. package/lib/index.css +18 -0
  7. package/lib/theme.css +126 -0
  8. package/package.json +14 -53
  9. package/LICENSE.md +0 -21
  10. package/src/css/accordion.css +0 -175
  11. package/src/css/autocomplete.css +0 -511
  12. package/src/css/avatar-group.css +0 -138
  13. package/src/css/avatar.css +0 -738
  14. package/src/css/breadcrumb.css +0 -63
  15. package/src/css/button-action.css +0 -108
  16. package/src/css/button-close.css +0 -117
  17. package/src/css/button-group.css +0 -236
  18. package/src/css/button-icon.css +0 -97
  19. package/src/css/button.css +0 -565
  20. package/src/css/card.css +0 -69
  21. package/src/css/checkbox.css +0 -99
  22. package/src/css/dropdown-divider.css +0 -6
  23. package/src/css/dropdown-item.css +0 -62
  24. package/src/css/dropdown.css +0 -102
  25. package/src/css/focus.css +0 -12
  26. package/src/css/fullscreen-dropfile.css +0 -63
  27. package/src/css/heading.css +0 -78
  28. package/src/css/icon-box.css +0 -305
  29. package/src/css/input-file-regular.css +0 -255
  30. package/src/css/input-file.css +0 -224
  31. package/src/css/input-help-text.css +0 -7
  32. package/src/css/input-number.css +0 -469
  33. package/src/css/input.css +0 -402
  34. package/src/css/kbd.css +0 -94
  35. package/src/css/label.css +0 -6
  36. package/src/css/link.css +0 -8
  37. package/src/css/list.css +0 -23
  38. package/src/css/listbox.css +0 -511
  39. package/src/css/message-text.css +0 -72
  40. package/src/css/message.css +0 -245
  41. package/src/css/modal.css +0 -51
  42. package/src/css/pagination.css +0 -93
  43. package/src/css/paragraph.css +0 -78
  44. package/src/css/placeholder-page.css +0 -44
  45. package/src/css/placeload.css +0 -13
  46. package/src/css/progress-circle.css +0 -18
  47. package/src/css/progress.css +0 -90
  48. package/src/css/prose.css +0 -22
  49. package/src/css/radio.css +0 -73
  50. package/src/css/select.css +0 -404
  51. package/src/css/snack.css +0 -101
  52. package/src/css/switch-ball.css +0 -94
  53. package/src/css/switch-thin.css +0 -76
  54. package/src/css/tab-slider.css +0 -190
  55. package/src/css/tabs.css +0 -175
  56. package/src/css/tag.css +0 -312
  57. package/src/css/text.css +0 -78
  58. package/src/css/textarea.css +0 -228
  59. package/src/css/theme-switch.css +0 -65
  60. package/src/css/theme-toggle.css +0 -62
  61. package/src/css/toast.css +0 -132
  62. package/src/css/tooltip.css +0 -99
  63. package/src/index.css +0 -57
@@ -1,738 +0,0 @@
1
- /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
- /* @utility nui-avatar */
3
-
4
- @utility nui-avatar {
5
- @apply relative inline-flex shrink-0 items-center justify-center outline-none;
6
-
7
- &.nui-avatar-mask:not(.nui-avatar-rounded):not(.nui-avatar-rounded-md):not(.nui-avatar-rounded-lg):not(.nui-avatar-rounded-full) {
8
- @apply nui-mask;
9
- }
10
- }
11
- @utility nui-avatar-inner {
12
- @apply flex items-center justify-center overflow-hidden text-center;
13
- @apply h-full w-full;
14
- @apply transition-all duration-300;
15
- }
16
- @utility nui-avatar-badge {
17
- @apply absolute z-10 block overflow-hidden rounded-full;
18
- @apply bg-white dark:bg-muted-800;
19
-
20
- .nui-badge-img {
21
- @apply relative scale-90 object-cover;
22
- @apply h-full w-full rounded-full;
23
- }
24
- }
25
- @utility nui-avatar-img {
26
- @apply object-cover;
27
- @apply h-full max-h-full w-full max-w-full;
28
- @apply shadow-sm;
29
- }
30
- @utility nui-avatar-text {
31
- @apply font-sans font-medium text-center uppercase;
32
- }
33
- @utility nui-avatar-dot {
34
- @apply absolute block;
35
- @apply border border-white dark:border-muted-800 rounded-full;
36
-
37
- &.nui-dot-primary {
38
- @apply bg-primary-500;
39
- }
40
-
41
- &.nui-dot-info {
42
- @apply bg-info-500;
43
- }
44
-
45
- &.nui-dot-success {
46
- @apply bg-success-500;
47
- }
48
-
49
- &.nui-dot-warning {
50
- @apply bg-warning-500;
51
- }
52
-
53
- &.nui-dot-danger {
54
- @apply bg-danger-500;
55
- }
56
-
57
- &.nui-dot-yellow {
58
- @apply bg-yellow-400;
59
- }
60
-
61
- &.nui-dot-pink {
62
- @apply bg-pink-500;
63
- }
64
-
65
- &.nui-dot-indigo {
66
- @apply bg-indigo-500;
67
- }
68
- }
69
- @utility nui-avatar-ring {
70
- &.nui-avatar-rounded-full {
71
- @apply ring-2;
72
- @apply ring-offset-2 ring-offset-white dark:ring-offset-muted-800;
73
- }
74
-
75
- &.nui-ring-primary {
76
- @apply bg-primary-500;
77
- }
78
-
79
- &.nui-ring-info {
80
- @apply bg-info-500;
81
- }
82
-
83
- &.nui-ring-success {
84
- @apply bg-success-500;
85
- }
86
-
87
- &.nui-ring-warning {
88
- @apply bg-warning-500;
89
- }
90
-
91
- &.nui-ring-danger {
92
- @apply bg-danger-500;
93
- }
94
-
95
- &.nui-ring-yellow {
96
- @apply bg-yellow-400;
97
- }
98
-
99
- &.nui-ring-pink {
100
- @apply bg-pink-500;
101
- }
102
-
103
- &.nui-ring-indigo {
104
- @apply bg-indigo-500;
105
- }
106
- }
107
- @utility nui-avatar-xxs {
108
- @apply h-6 w-6;
109
-
110
- .nui-avatar-badge {
111
- @apply h-3 w-3 -bottom-1 -end-1;
112
- }
113
-
114
- .nui-avatar-dot {
115
- @apply h-1.5 w-1.5;
116
- }
117
-
118
- .nui-avatar-text {
119
- @apply text-xs;
120
- }
121
-
122
- &.nui-avatar-rounded-none {
123
- @apply rounded-none;
124
-
125
- .nui-avatar-inner {
126
- @apply rounded-none;
127
- }
128
-
129
- .nui-avatar-dot {
130
- @apply end-0 top-0;
131
- }
132
- }
133
-
134
- &.nui-avatar-rounded-sm {
135
- @apply rounded-sm;
136
-
137
- .nui-avatar-inner {
138
- @apply rounded-sm;
139
- }
140
-
141
- .nui-avatar-dot {
142
- @apply end-0 top-0;
143
- }
144
- }
145
-
146
- &.nui-avatar-rounded-md {
147
- @apply rounded;
148
-
149
- .nui-avatar-inner {
150
- @apply rounded;
151
- }
152
-
153
- .nui-avatar-dot {
154
- @apply end-0 top-0;
155
- }
156
- }
157
-
158
- &.nui-avatar-rounded-lg {
159
- @apply rounded-md;
160
-
161
- .nui-avatar-inner {
162
- @apply rounded-md;
163
- }
164
-
165
- .nui-avatar-dot {
166
- @apply end-0 top-0;
167
- }
168
- }
169
-
170
- &.nui-avatar-rounded-full {
171
- .nui-avatar-dot {
172
- @apply end-0 top-0;
173
- }
174
- }
175
- }
176
- @utility nui-avatar-xs {
177
- @apply h-8 w-8;
178
-
179
- .nui-avatar-badge {
180
- @apply h-4 w-4 -bottom-1 -end-1;
181
- }
182
-
183
- .nui-avatar-dot {
184
- @apply h-2 w-2;
185
- }
186
-
187
- .nui-avatar-text {
188
- @apply text-sm;
189
- }
190
-
191
- &.nui-avatar-rounded-none {
192
- @apply rounded-none;
193
-
194
- .nui-avatar-inner {
195
- @apply rounded-none;
196
- }
197
-
198
- .nui-avatar-dot {
199
- @apply end-0 top-0;
200
- }
201
- }
202
-
203
- &.nui-avatar-rounded-sm {
204
- @apply rounded-sm;
205
-
206
- .nui-avatar-inner {
207
- @apply rounded-sm;
208
- }
209
-
210
- .nui-avatar-dot {
211
- @apply end-0 top-0;
212
- }
213
- }
214
-
215
- &.nui-avatar-rounded-md {
216
- @apply rounded;
217
-
218
- .nui-avatar-inner {
219
- @apply rounded;
220
- }
221
-
222
- .nui-avatar-dot {
223
- @apply end-0 top-0;
224
- }
225
- }
226
-
227
- &.nui-avatar-rounded-lg {
228
- @apply rounded-lg;
229
-
230
- .nui-avatar-inner {
231
- @apply rounded-lg;
232
- }
233
-
234
- .nui-avatar-dot {
235
- @apply end-0 top-0;
236
- }
237
- }
238
-
239
- &.nui-avatar-rounded-full {
240
- .nui-avatar-dot {
241
- @apply end-0 top-0;
242
- }
243
- }
244
- }
245
- @utility nui-avatar-sm {
246
- @apply h-10 w-10;
247
-
248
- .nui-avatar-badge {
249
- @apply h-5 w-5 -bottom-1 -end-1;
250
- }
251
-
252
- .nui-avatar-dot {
253
- @apply h-2 w-2;
254
- }
255
-
256
- .nui-avatar-text {
257
- @apply text-sm;
258
- }
259
-
260
- &.nui-avatar-rounded-none {
261
- @apply rounded-none;
262
-
263
- .nui-avatar-inner {
264
- @apply rounded-none;
265
- }
266
-
267
- .nui-avatar-dot {
268
- @apply end-0 top-0;
269
- }
270
- }
271
-
272
- &.nui-avatar-rounded-sm {
273
- @apply rounded-md;
274
-
275
- .nui-avatar-inner {
276
- @apply rounded-md;
277
- }
278
-
279
- .nui-avatar-dot {
280
- @apply end-0 top-0;
281
- }
282
- }
283
-
284
- &.nui-avatar-rounded-md {
285
- @apply rounded-lg;
286
-
287
- .nui-avatar-inner {
288
- @apply rounded-lg;
289
- }
290
-
291
- .nui-avatar-dot {
292
- @apply end-0 top-0;
293
- }
294
- }
295
-
296
- &.nui-avatar-rounded-lg {
297
- @apply rounded-xl;
298
-
299
- .nui-avatar-inner {
300
- @apply rounded-xl;
301
- }
302
-
303
- .nui-avatar-dot {
304
- @apply end-0 top-0;
305
- }
306
- }
307
-
308
- &.nui-avatar-rounded-full {
309
- .nui-avatar-dot {
310
- @apply end-0.5 top-0.5;
311
- }
312
- }
313
- }
314
- @utility nui-avatar-md {
315
- @apply h-12 w-12;
316
-
317
- .nui-avatar-badge {
318
- @apply h-5 w-5 -bottom-1 -end-1;
319
- }
320
-
321
- .nui-avatar-dot {
322
- @apply h-3 w-3;
323
- }
324
-
325
- .nui-avatar-text {
326
- @apply text-sm;
327
- }
328
-
329
- &.nui-avatar-rounded-none {
330
- @apply rounded-none;
331
-
332
- .nui-avatar-inner {
333
- @apply rounded-none;
334
- }
335
-
336
- .nui-avatar-dot {
337
- @apply end-0 top-0;
338
- }
339
- }
340
-
341
- &.nui-avatar-rounded-sm {
342
- @apply rounded-lg;
343
-
344
- .nui-avatar-inner {
345
- @apply rounded-lg;
346
- }
347
-
348
- .nui-avatar-dot {
349
- @apply end-0 top-0;
350
- }
351
- }
352
-
353
- &.nui-avatar-rounded-md {
354
- @apply rounded-xl;
355
-
356
- .nui-avatar-inner {
357
- @apply rounded-xl;
358
- }
359
-
360
- .nui-avatar-dot {
361
- @apply end-0 top-0;
362
- }
363
- }
364
-
365
- &.nui-avatar-rounded-lg {
366
- @apply rounded-2xl;
367
-
368
- .nui-avatar-inner {
369
- @apply rounded-2xl;
370
- }
371
-
372
- .nui-avatar-dot {
373
- @apply end-0 top-0;
374
- }
375
- }
376
-
377
- &.nui-avatar-rounded-full {
378
- .nui-avatar-dot {
379
- @apply end-0.5 top-0.5;
380
- }
381
- }
382
- }
383
- @utility nui-avatar-lg {
384
- @apply h-16 w-16;
385
-
386
- .nui-avatar-badge {
387
- @apply h-6 w-6 -bottom-1 -end-1;
388
- }
389
-
390
- .nui-avatar-dot {
391
- @apply h-3 w-3;
392
- }
393
-
394
- .nui-avatar-text {
395
- @apply text-sm;
396
- }
397
-
398
- &.nui-avatar-rounded-none {
399
- @apply rounded-none;
400
-
401
- .nui-avatar-inner {
402
- @apply rounded-none;
403
- }
404
-
405
- .nui-avatar-dot {
406
- @apply end-0 top-0;
407
- }
408
- }
409
-
410
- &.nui-avatar-rounded-sm {
411
- @apply rounded-lg;
412
-
413
- .nui-avatar-inner {
414
- @apply rounded-lg;
415
- }
416
-
417
- .nui-avatar-dot {
418
- @apply end-0 top-0;
419
- }
420
- }
421
-
422
- &.nui-avatar-rounded-md {
423
- @apply rounded-xl;
424
-
425
- .nui-avatar-inner {
426
- @apply rounded-xl;
427
- }
428
-
429
- .nui-avatar-dot {
430
- @apply end-0 top-0;
431
- }
432
- }
433
-
434
- &.nui-avatar-rounded-lg {
435
- @apply rounded-2xl;
436
-
437
- .nui-avatar-inner {
438
- @apply rounded-2xl;
439
- }
440
-
441
- .nui-avatar-dot {
442
- @apply end-0 top-0;
443
- }
444
- }
445
-
446
- &.nui-avatar-rounded-full {
447
- .nui-avatar-dot {
448
- @apply end-1 top-1;
449
- }
450
- }
451
- }
452
- @utility nui-avatar-xl {
453
- @apply h-20 w-20;
454
-
455
- .nui-avatar-badge {
456
- @apply h-8 w-8 -bottom-1 -end-1;
457
- }
458
-
459
- .nui-avatar-dot {
460
- @apply h-4 w-4;
461
- }
462
-
463
- .nui-avatar-text {
464
- @apply text-base;
465
- }
466
-
467
- &.nui-avatar-rounded-none {
468
- @apply rounded-none;
469
-
470
- .nui-avatar-inner {
471
- @apply rounded-none;
472
- }
473
-
474
- .nui-avatar-dot {
475
- @apply end-0 top-0;
476
- }
477
- }
478
-
479
- &.nui-avatar-rounded-sm {
480
- @apply rounded-xl;
481
-
482
- .nui-avatar-inner {
483
- @apply rounded-xl;
484
- }
485
-
486
- .nui-avatar-dot {
487
- @apply end-0 top-0;
488
- }
489
- }
490
-
491
- &.nui-avatar-rounded-md {
492
- @apply rounded-2xl;
493
-
494
- .nui-avatar-inner {
495
- @apply rounded-2xl;
496
- }
497
-
498
- .nui-avatar-dot {
499
- @apply end-0 top-0;
500
- }
501
- }
502
-
503
- &.nui-avatar-rounded-lg {
504
- @apply rounded-3xl;
505
-
506
- .nui-avatar-inner {
507
- @apply rounded-3xl;
508
- }
509
-
510
- .nui-avatar-dot {
511
- @apply end-0 top-0;
512
- }
513
- }
514
-
515
- &.nui-avatar-rounded-full {
516
- .nui-avatar-dot {
517
- @apply end-1 top-1;
518
- }
519
- }
520
- }
521
- @utility nui-avatar-2xl {
522
- @apply h-24 w-24;
523
-
524
- .nui-avatar-badge {
525
- @apply h-10 w-10 -bottom-1.5 -end-1.5;
526
- }
527
-
528
- .nui-avatar-dot {
529
- @apply h-4 w-4;
530
- }
531
-
532
- .nui-avatar-text {
533
- @apply text-xl;
534
- }
535
-
536
- &.nui-avatar-rounded-none {
537
- @apply rounded-none;
538
-
539
- .nui-avatar-inner {
540
- @apply rounded-none;
541
- }
542
-
543
- .nui-avatar-dot {
544
- @apply end-0 top-0;
545
- }
546
- }
547
-
548
- &.nui-avatar-rounded-sm {
549
- @apply rounded-xl;
550
-
551
- .nui-avatar-inner {
552
- @apply rounded-xl;
553
- }
554
-
555
- .nui-avatar-dot {
556
- @apply end-0 top-0;
557
- }
558
- }
559
-
560
- &.nui-avatar-rounded-md {
561
- @apply rounded-2xl;
562
-
563
- .nui-avatar-inner {
564
- @apply rounded-2xl;
565
- }
566
-
567
- .nui-avatar-dot {
568
- @apply end-0 top-0;
569
- }
570
- }
571
-
572
- &.nui-avatar-rounded-lg {
573
- @apply rounded-3xl;
574
-
575
- .nui-avatar-inner {
576
- @apply rounded-3xl;
577
- }
578
-
579
- .nui-avatar-dot {
580
- @apply end-0 top-0;
581
- }
582
- }
583
-
584
- &.nui-avatar-rounded-full {
585
- .nui-avatar-dot {
586
- @apply end-1.5 top-1.5;
587
- }
588
- }
589
- }
590
- @utility nui-avatar-3xl {
591
- @apply h-28 w-28;
592
-
593
- .nui-avatar-badge {
594
- @apply h-10 w-10 -bottom-1.5 -end-1.5;
595
- }
596
-
597
- .nui-avatar-dot {
598
- @apply h-4 w-4;
599
- }
600
-
601
- .nui-avatar-text {
602
- @apply text-2xl;
603
- }
604
-
605
- &.nui-avatar-rounded-none {
606
- @apply rounded-none;
607
-
608
- .nui-avatar-inner {
609
- @apply rounded-none;
610
- }
611
-
612
- .nui-avatar-dot {
613
- @apply end-0 top-0;
614
- }
615
- }
616
-
617
- &.nui-avatar-rounded-sm {
618
- @apply rounded-xl;
619
-
620
- .nui-avatar-inner {
621
- @apply rounded-xl;
622
- }
623
-
624
- .nui-avatar-dot {
625
- @apply end-0 top-0;
626
- }
627
- }
628
-
629
- &.nui-avatar-rounded-md {
630
- @apply rounded-2xl;
631
-
632
- .nui-avatar-inner {
633
- @apply rounded-2xl;
634
- }
635
-
636
- .nui-avatar-dot {
637
- @apply end-0 top-0;
638
- }
639
- }
640
-
641
- &.nui-avatar-rounded-lg {
642
- @apply rounded-3xl;
643
-
644
- .nui-avatar-inner {
645
- @apply rounded-3xl;
646
- }
647
-
648
- .nui-avatar-dot {
649
- @apply end-0 top-0;
650
- }
651
- }
652
-
653
- &.nui-avatar-rounded-full {
654
- .nui-avatar-dot {
655
- @apply end-2 top-2;
656
- }
657
- }
658
- }
659
- @utility nui-avatar-4xl {
660
- @apply h-32 w-32;
661
-
662
- .nui-avatar-badge {
663
- @apply h-12 w-12 -bottom-2 -end-2;
664
- }
665
-
666
- .nui-avatar-dot {
667
- @apply h-4 w-4;
668
- }
669
-
670
- .nui-avatar-text {
671
- @apply text-3xl;
672
- }
673
-
674
- &.nui-avatar-rounded-none {
675
- @apply rounded-none;
676
-
677
- .nui-avatar-inner {
678
- @apply rounded-none;
679
- }
680
-
681
- .nui-avatar-dot {
682
- @apply end-0 top-0;
683
- }
684
- }
685
-
686
- &.nui-avatar-rounded-sm {
687
- @apply rounded-xl;
688
-
689
- .nui-avatar-inner {
690
- @apply rounded-xl;
691
- }
692
-
693
- .nui-avatar-dot {
694
- @apply end-0 top-0;
695
- }
696
- }
697
-
698
- &.nui-avatar-rounded-md {
699
- @apply rounded-2xl;
700
-
701
- .nui-avatar-inner {
702
- @apply rounded-2xl;
703
- }
704
-
705
- .nui-avatar-dot {
706
- @apply end-0 top-0;
707
- }
708
- }
709
-
710
- &.nui-avatar-rounded-lg {
711
- @apply rounded-3xl;
712
-
713
- .nui-avatar-inner {
714
- @apply rounded-3xl;
715
- }
716
-
717
- .nui-avatar-dot {
718
- @apply end-0 top-0;
719
- }
720
- }
721
-
722
- &.nui-avatar-rounded-full {
723
- .nui-avatar-dot {
724
- @apply end-2.5 top-2.5;
725
- }
726
- }
727
- }
728
- @utility nui-avatar-rounded-full {
729
- @apply rounded-full;
730
-
731
- .nui-avatar-inner {
732
- @apply rounded-full;
733
- }
734
-
735
- .nui-avatar-badge {
736
- @apply -bottom-0 -end-0;
737
- }
738
- }