@spartan-ng/cli 0.0.1-alpha.715 → 0.0.1-alpha.717

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 (77) hide show
  1. package/package.json +1 -1
  2. package/src/generators/migrate-module-imports/import-map.js +1 -1
  3. package/src/generators/ui/libs/alert-dialog/files/lib/hlm-alert-dialog-cancel.ts.template +1 -4
  4. package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-search.ts.template +3 -15
  5. package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete.ts.template +3 -15
  6. package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-fallback.ts.template +1 -1
  7. package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-image.ts.template +1 -1
  8. package/src/generators/ui/libs/breadcrumb/files/index.ts.template +0 -5
  9. package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-multi.ts.template +1 -0
  10. package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-range.ts.template +1 -0
  11. package/src/generators/ui/libs/calendar/files/lib/hlm-calendar.ts.template +1 -0
  12. package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-multiple.ts.template +3 -15
  13. package/src/generators/ui/libs/combobox/files/lib/hlm-combobox.ts.template +3 -15
  14. package/src/generators/ui/libs/command/files/lib/hlm-command-dialog.ts.template +2 -2
  15. package/src/generators/ui/libs/command/files/lib/hlm-command-empty.ts.template +1 -1
  16. package/src/generators/ui/libs/command/files/lib/hlm-command-group-label.ts.template +1 -1
  17. package/src/generators/ui/libs/command/files/lib/hlm-command-group.ts.template +1 -1
  18. package/src/generators/ui/libs/command/files/lib/hlm-command-input.ts.template +7 -6
  19. package/src/generators/ui/libs/command/files/lib/hlm-command-item.ts.template +1 -1
  20. package/src/generators/ui/libs/command/files/lib/hlm-command-list.ts.template +1 -1
  21. package/src/generators/ui/libs/command/files/lib/hlm-command-separator.ts.template +1 -1
  22. package/src/generators/ui/libs/command/files/lib/hlm-command-shortcut.ts.template +1 -1
  23. package/src/generators/ui/libs/command/files/lib/hlm-command.ts.template +1 -1
  24. package/src/generators/ui/libs/context-menu/files/lib/hlm-context-menu-trigger.ts.template +3 -0
  25. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-anchor.ts.template +5 -12
  26. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-multi.ts.template +2 -2
  27. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker.ts.template +2 -3
  28. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-range-picker.ts.template +2 -2
  29. package/src/generators/ui/libs/dialog/files/lib/hlm-dialog-close.ts.template +1 -1
  30. package/src/generators/ui/libs/dialog/files/lib/hlm-dialog-content.ts.template +8 -1
  31. package/src/generators/ui/libs/drawer/files/lib/hlm-drawer-close.ts.template +1 -1
  32. package/src/generators/ui/libs/dropdown-menu/files/index.ts.template +3 -0
  33. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-checkbox-indicator.ts.template +3 -2
  34. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-checkbox.ts.template +30 -10
  35. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-group.ts.template +1 -3
  36. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-item-sub-indicator.ts.template +2 -2
  37. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-item.ts.template +1 -1
  38. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-label.ts.template +4 -4
  39. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-radio-indicator.ts.template +5 -4
  40. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-radio.ts.template +24 -9
  41. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-separator.ts.template +2 -4
  42. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-shortcut.ts.template +2 -4
  43. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-sub-trigger.ts.template +44 -0
  44. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-sub.ts.template +1 -4
  45. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-trigger.ts.template +1 -3
  46. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu.ts.template +1 -1
  47. package/src/generators/ui/libs/input/files/lib/hlm-input.ts.template +1 -0
  48. package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-content.ts.template +10 -3
  49. package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-item.ts.template +4 -1
  50. package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-link.ts.template +4 -4
  51. package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-list.ts.template +4 -1
  52. package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu-trigger.ts.template +15 -4
  53. package/src/generators/ui/libs/navigation-menu/files/lib/hlm-navigation-menu.ts.template +6 -1
  54. package/src/generators/ui/libs/popover/files/index.ts.template +15 -1
  55. package/src/generators/ui/libs/popover/files/lib/hlm-popover-content.ts.template +1 -0
  56. package/src/generators/ui/libs/popover/files/lib/hlm-popover-description.ts.template +12 -0
  57. package/src/generators/ui/libs/popover/files/lib/hlm-popover-header.ts.template +12 -0
  58. package/src/generators/ui/libs/popover/files/lib/hlm-popover-title.ts.template +12 -0
  59. package/src/generators/ui/libs/popover/files/lib/hlm-popover-trigger.ts.template +1 -3
  60. package/src/generators/ui/libs/popover/files/lib/hlm-popover.ts.template +2 -11
  61. package/src/generators/ui/libs/progress/files/lib/hlm-progress-indicator.ts.template +5 -1
  62. package/src/generators/ui/libs/progress/files/lib/hlm-progress.ts.template +1 -0
  63. package/src/generators/ui/libs/select/files/lib/hlm-select-multiple.ts.template +3 -15
  64. package/src/generators/ui/libs/select/files/lib/hlm-select.ts.template +3 -15
  65. package/src/generators/ui/libs/sheet/files/lib/hlm-sheet-close.ts.template +1 -1
  66. package/src/generators/ui/libs/switch/files/lib/hlm-switch-thumb.ts.template +1 -0
  67. package/src/generators/ui/libs/switch/files/lib/hlm-switch.ts.template +1 -0
  68. package/src/generators/ui/primitive-deps.js +1 -0
  69. package/src/generators/ui/primitive-deps.js.map +1 -1
  70. package/src/generators/ui/primitives.d.ts +1 -1
  71. package/src/generators/ui/style-luma.css +15 -165
  72. package/src/generators/ui/style-lyra.css +13 -163
  73. package/src/generators/ui/style-maia.css +14 -164
  74. package/src/generators/ui/style-mira.css +13 -163
  75. package/src/generators/ui/style-nova.css +15 -165
  76. package/src/generators/ui/style-vega.css +16 -166
  77. package/src/generators/ui/supported-ui-libraries.json +46 -43
@@ -391,10 +391,6 @@
391
391
  @apply bg-popover text-popover-foreground rounded-xl p-1;
392
392
  }
393
393
 
394
- .spartan-command-dialog {
395
- @apply rounded-xl! p-0;
396
- }
397
-
398
394
  .spartan-command-input-wrapper {
399
395
  @apply p-1 pb-0;
400
396
  }
@@ -404,7 +400,7 @@
404
400
  }
405
401
 
406
402
  .spartan-command-input-icon {
407
- @apply size-3.5 shrink-0 opacity-50;
403
+ @apply shrink-0 text-[calc(var(--spacing)*3.5)] opacity-50;
408
404
  }
409
405
 
410
406
  .spartan-command-input {
@@ -420,7 +416,7 @@
420
416
  }
421
417
 
422
418
  .spartan-command-group {
423
- @apply text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2.5 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium;
419
+ @apply text-foreground **:data-[slot=command-group-label]:text-muted-foreground overflow-hidden p-1 **:data-[slot=command-group-label]:px-2.5 **:data-[slot=command-group-label]:py-1.5 **:data-[slot=command-group-label]:text-xs **:data-[slot=command-group-label]:font-medium;
424
420
  }
425
421
 
426
422
  .spartan-command-separator {
@@ -428,61 +424,15 @@
428
424
  }
429
425
 
430
426
  .spartan-command-item {
431
- @apply data-selected:bg-muted data-selected:text-foreground data-selected:*:[ng-icon]:text-foreground relative flex min-h-7 cursor-default items-center gap-2 rounded-md px-2.5 py-1.5 text-xs/relaxed outline-hidden select-none in-data-[slot=dialog-content]:rounded-md [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
427
+ @apply data-selected:bg-muted data-selected:text-foreground relative flex min-h-7 cursor-default items-center gap-2 rounded-md px-2.5 py-1.5 text-xs/relaxed outline-hidden select-none in-data-[slot=dialog-content]:rounded-md [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
432
428
  }
433
429
 
434
430
  .spartan-command-shortcut {
435
- @apply text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest;
431
+ @apply text-muted-foreground group-data-[selected]/command-item:text-foreground ms-auto text-[0.625rem] tracking-widest;
436
432
  }
437
433
 
438
434
  /* MARK: Context Menu */
439
- .spartan-context-menu-content {
440
- @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100;
441
- }
442
-
443
- .spartan-context-menu-content-logical {
444
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
445
- }
446
-
447
- .spartan-context-menu-item {
448
- @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
449
- }
450
-
451
- .spartan-context-menu-checkbox-item {
452
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-2 pe-8 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
453
- }
454
-
455
- .spartan-context-menu-radio-item {
456
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-2 pe-8 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
457
- }
458
-
459
- .spartan-context-menu-item-indicator {
460
- @apply pointer-events-none absolute end-2 flex items-center justify-center;
461
- }
462
-
463
- .spartan-context-menu-label {
464
- @apply text-muted-foreground px-2 py-1.5 text-xs data-inset:ps-7.5;
465
- }
466
-
467
- .spartan-context-menu-separator {
468
- @apply bg-border/50 -mx-1 my-1 h-px;
469
- }
470
-
471
- .spartan-context-menu-shortcut {
472
- @apply text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest;
473
- }
474
-
475
- .spartan-context-menu-sub-trigger {
476
- @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
477
- }
478
-
479
- .spartan-context-menu-sub-content {
480
- @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100;
481
- }
482
-
483
- .spartan-context-menu-subcontent {
484
- @apply shadow-lg;
485
- }
435
+ /* uses dropdown menu styles */
486
436
 
487
437
  /* MARK: Date Picker */
488
438
  .spartan-date-picker-trigger {
@@ -553,24 +503,20 @@
553
503
  @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100;
554
504
  }
555
505
 
556
- .spartan-dropdown-menu-content-logical {
557
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
558
- }
559
-
560
506
  .spartan-dropdown-menu-item {
561
- @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
507
+ @apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:hover:bg-destructive/10 data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:hover:bg-destructive/20 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:hover:text-destructive data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive not-data-[variant=destructive]:hover:**:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
562
508
  }
563
509
 
564
510
  .spartan-dropdown-menu-checkbox-item {
565
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-2 pe-8 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
511
+ @apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground hover:**:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-2 pe-8 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
566
512
  }
567
513
 
568
514
  .spartan-dropdown-menu-radio-item {
569
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-2 pe-8 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
515
+ @apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground hover:**:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-2 pe-8 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
570
516
  }
571
517
 
572
518
  .spartan-dropdown-menu-item-indicator {
573
- @apply absolute end-2 flex items-center justify-center;
519
+ @apply absolute end-2 flex items-center justify-center [&_ng-icon]:text-[calc(var(--spacing)*3.5)];
574
520
  }
575
521
 
576
522
  .spartan-dropdown-menu-label {
@@ -582,21 +528,13 @@
582
528
  }
583
529
 
584
530
  .spartan-dropdown-menu-shortcut {
585
- @apply text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest;
586
- }
587
-
588
- .spartan-dropdown-menu-sub-trigger {
589
- @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
531
+ @apply text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-[0.625rem] tracking-widest;
590
532
  }
591
533
 
592
534
  .spartan-dropdown-menu-sub-content {
593
535
  @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100;
594
536
  }
595
537
 
596
- .spartan-dropdown-menu-subcontent {
597
- @apply shadow-lg;
598
- }
599
-
600
538
  /* MARK: Empty */
601
539
  .spartan-empty {
602
540
  @apply gap-4 rounded-xl border-dashed p-6;
@@ -680,10 +618,6 @@
680
618
  @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-72 rounded-lg p-2.5 text-xs/relaxed shadow-md ring-1 duration-100;
681
619
  }
682
620
 
683
- .spartan-hover-card-content-logical {
684
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
685
- }
686
-
687
621
  /* MARK: Input */
688
622
  .spartan-input {
689
623
  @apply bg-input/20 dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/30 data-[matches-spartan-invalid=true]:ring-destructive/20 dark:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive dark:data-[matches-spartan-invalid=true]:border-destructive/50 h-7 rounded-md border px-2 py-0.5 text-sm transition-colors file:h-6 file:text-xs/relaxed file:font-medium focus-visible:ring-2 data-[matches-spartan-invalid=true]:ring-2 md:text-xs/relaxed;
@@ -810,54 +744,6 @@
810
744
  @apply hover:bg-muted aria-expanded:bg-muted rounded-[calc(var(--radius-md)-2px)] px-2 py-[calc(--spacing(0.85))] text-xs/relaxed font-medium;
811
745
  }
812
746
 
813
- .spartan-menubar-content {
814
- @apply bg-popover text-popover-foreground data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100;
815
- }
816
-
817
- .spartan-menubar-content-logical {
818
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
819
- }
820
-
821
- .spartan-menubar-item {
822
- @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive! not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed data-disabled:opacity-50 data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
823
- }
824
-
825
- .spartan-menubar-checkbox-item {
826
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-7.5 pe-2 text-xs data-inset:ps-7.5;
827
- }
828
-
829
- .spartan-menubar-checkbox-item-indicator {
830
- @apply start-2 size-4 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
831
- }
832
-
833
- .spartan-menubar-radio-item {
834
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 ps-7.5 pe-2 text-xs data-disabled:opacity-50 data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
835
- }
836
-
837
- .spartan-menubar-radio-item-indicator {
838
- @apply start-2 size-4 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
839
- }
840
-
841
- .spartan-menubar-label {
842
- @apply text-muted-foreground px-2 py-1.5 text-xs data-inset:ps-7.5;
843
- }
844
-
845
- .spartan-menubar-separator {
846
- @apply bg-border/50 -mx-1 my-1 h-px;
847
- }
848
-
849
- .spartan-menubar-shortcut {
850
- @apply text-muted-foreground group-focus/menubar-item:text-accent-foreground text-[0.625rem] tracking-widest;
851
- }
852
-
853
- .spartan-menubar-sub-trigger {
854
- @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs data-inset:ps-7.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
855
- }
856
-
857
- .spartan-menubar-sub-content {
858
- @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100;
859
- }
860
-
861
747
  /* MARK: Navigation Menu */
862
748
  .spartan-navigation-menu {
863
749
  @apply max-w-max;
@@ -868,37 +754,17 @@
868
754
  }
869
755
 
870
756
  .spartan-navigation-menu-trigger {
871
- @apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/30 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted rounded-md px-2.5 py-1.5 text-xs/relaxed font-medium transition-all focus-visible:ring-2 focus-visible:outline-1 disabled:opacity-50;
757
+ @apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/30 rounded-md px-2.5 py-1.5 text-xs/relaxed font-medium transition-all focus-visible:ring-2 focus-visible:outline-1 disabled:opacity-50;
872
758
  }
873
759
 
874
760
  .spartan-navigation-menu-trigger-icon {
875
- @apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180;
876
- }
877
-
878
- .spartan-navigation-menu-content {
879
- @apply data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-1.5 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300;
880
- }
881
-
882
- .spartan-navigation-menu-viewport {
883
- @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-95 data-open:zoom-in-90 ring-foreground/10 rounded-xl shadow-md ring-1 duration-100;
761
+ @apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180;
884
762
  }
885
763
 
886
764
  .spartan-navigation-menu-link {
887
765
  @apply data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/30 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-lg p-2 text-xs/relaxed transition-all outline-none focus-visible:ring-2 focus-visible:outline-1 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
888
766
  }
889
767
 
890
- .spartan-navigation-menu-indicator {
891
- @apply data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in;
892
- }
893
-
894
- .spartan-navigation-menu-indicator-arrow {
895
- @apply bg-border rounded-tl-sm shadow-md;
896
- }
897
-
898
- .spartan-navigation-menu-positioner {
899
- @apply transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0;
900
- }
901
-
902
768
  .spartan-navigation-menu-popup {
903
769
  @apply bg-popover text-popover-foreground ring-foreground/10 rounded-xl shadow ring-1 transition-all ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0;
904
770
  }
@@ -934,10 +800,6 @@
934
800
  @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-4 rounded-lg p-2.5 text-xs shadow-md ring-1 duration-100;
935
801
  }
936
802
 
937
- .spartan-popover-content-logical {
938
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
939
- }
940
-
941
803
  .spartan-popover-header {
942
804
  @apply flex flex-col gap-1 text-xs;
943
805
  }
@@ -968,7 +830,7 @@
968
830
  }
969
831
 
970
832
  .spartan-progress-value {
971
- @apply text-muted-foreground ml-auto text-xs/relaxed tabular-nums;
833
+ @apply text-muted-foreground ms-auto text-xs/relaxed tabular-nums;
972
834
  }
973
835
 
974
836
  /* MARK: Radio Group */
@@ -1336,18 +1198,6 @@
1336
1198
  @apply data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-md px-3 py-1.5 text-xs **:data-[slot=kbd]:rounded-md;
1337
1199
  }
1338
1200
 
1339
- .spartan-tooltip-content-logical {
1340
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
1341
- }
1342
-
1343
- .spartan-tooltip-arrow {
1344
- @apply size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px];
1345
- }
1346
-
1347
- .spartan-tooltip-arrow-logical {
1348
- @apply data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2;
1349
- }
1350
-
1351
1201
  /* MARK: Input Group */
1352
1202
  .spartan-input-group {
1353
1203
  @apply border-input bg-input/20 dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/30 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 h-7 rounded-md border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-md has-data-[align=block-start]:rounded-md has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-2 has-[textarea]:rounded-md has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5;
@@ -388,11 +388,7 @@
388
388
 
389
389
  /* MARK: Command */
390
390
  .spartan-command {
391
- @apply bg-popover text-popover-foreground rounded-xl! p-1;
392
- }
393
-
394
- .spartan-command-dialog {
395
- @apply rounded-xl!;
391
+ @apply bg-popover text-popover-foreground rounded-xl p-1;
396
392
  }
397
393
 
398
394
  .spartan-command-input-wrapper {
@@ -404,7 +400,7 @@
404
400
  }
405
401
 
406
402
  .spartan-command-input-icon {
407
- @apply size-4 shrink-0 opacity-50;
403
+ @apply shrink-0 text-[calc(var(--spacing)*4)] opacity-50;
408
404
  }
409
405
 
410
406
  .spartan-command-input {
@@ -420,7 +416,7 @@
420
416
  }
421
417
 
422
418
  .spartan-command-group {
423
- @apply text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium;
419
+ @apply text-foreground **:data-[slot=command-group-label]:text-muted-foreground overflow-hidden p-1 **:data-[slot=command-group-label]:px-2 **:data-[slot=command-group-label]:py-1.5 **:data-[slot=command-group-label]:text-xs **:data-[slot=command-group-label]:font-medium;
424
420
  }
425
421
 
426
422
  .spartan-command-separator {
@@ -428,61 +424,15 @@
428
424
  }
429
425
 
430
426
  .spartan-command-item {
431
- @apply data-selected:bg-muted data-selected:text-foreground data-selected:*:[ng-icon]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
427
+ @apply data-selected:bg-muted data-selected:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
432
428
  }
433
429
 
434
430
  .spartan-command-shortcut {
435
- @apply text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-xs tracking-widest;
431
+ @apply text-muted-foreground group-data-[selected]/command-item:text-foreground ms-auto text-xs tracking-widest;
436
432
  }
437
433
 
438
434
  /* MARK: Context Menu */
439
- .spartan-context-menu-content {
440
- @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-36 rounded-lg p-1 shadow-md ring-1 duration-100;
441
- }
442
-
443
- .spartan-context-menu-content-logical {
444
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
445
- }
446
-
447
- .spartan-context-menu-item {
448
- @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive focus:*:[ng-icon]:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
449
- }
450
-
451
- .spartan-context-menu-checkbox-item {
452
- @apply focus:bg-accent focus:text-accent-foreground gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
453
- }
454
-
455
- .spartan-context-menu-radio-item {
456
- @apply focus:bg-accent focus:text-accent-foreground gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
457
- }
458
-
459
- .spartan-context-menu-item-indicator {
460
- @apply absolute end-2;
461
- }
462
-
463
- .spartan-context-menu-label {
464
- @apply text-muted-foreground px-1.5 py-1 text-xs font-medium data-inset:ps-7;
465
- }
466
-
467
- .spartan-context-menu-separator {
468
- @apply bg-border -mx-1 my-1 h-px;
469
- }
470
-
471
- .spartan-context-menu-shortcut {
472
- @apply text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-xs tracking-widest;
473
- }
474
-
475
- .spartan-context-menu-sub-trigger {
476
- @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
477
- }
478
-
479
- .spartan-context-menu-sub-content {
480
- @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 bg-popover text-popover-foreground min-w-32 rounded-lg border p-1 shadow-lg duration-100;
481
- }
482
-
483
- .spartan-context-menu-subcontent {
484
- @apply shadow-lg;
485
- }
435
+ /* uses dropdown menu styles */
486
436
 
487
437
  /* MARK: Date Picker */
488
438
  .spartan-date-picker-trigger {
@@ -553,24 +503,20 @@
553
503
  @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100;
554
504
  }
555
505
 
556
- .spartan-dropdown-menu-content-logical {
557
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
558
- }
559
-
560
506
  .spartan-dropdown-menu-item {
561
- @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
507
+ @apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:hover:bg-destructive/10 data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:hover:bg-destructive/20 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:hover:text-destructive data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive not-data-[variant=destructive]:hover:**:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
562
508
  }
563
509
 
564
510
  .spartan-dropdown-menu-checkbox-item {
565
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
511
+ @apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground hover:**:text-accent-foreground focus:**:text-accent-foreground gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
566
512
  }
567
513
 
568
514
  .spartan-dropdown-menu-radio-item {
569
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
515
+ @apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground hover:**:text-accent-foreground focus:**:text-accent-foreground gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
570
516
  }
571
517
 
572
518
  .spartan-dropdown-menu-item-indicator {
573
- @apply absolute end-2 flex items-center justify-center;
519
+ @apply absolute end-2 flex items-center justify-center [&_ng-icon]:text-[calc(var(--spacing)*4)];
574
520
  }
575
521
 
576
522
  .spartan-dropdown-menu-label {
@@ -582,19 +528,11 @@
582
528
  }
583
529
 
584
530
  .spartan-dropdown-menu-shortcut {
585
- @apply text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest;
586
- }
587
-
588
- .spartan-dropdown-menu-sub-trigger {
589
- @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
531
+ @apply text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest;
590
532
  }
591
533
 
592
534
  .spartan-dropdown-menu-sub-content {
593
- @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-[96px] rounded-lg p-1 shadow-lg ring-1 duration-100;
594
- }
595
-
596
- .spartan-dropdown-menu-subcontent {
597
- @apply shadow-lg;
535
+ @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-24 rounded-lg p-1 shadow-lg ring-1 duration-100;
598
536
  }
599
537
 
600
538
  /* MARK: Empty */
@@ -680,10 +618,6 @@
680
618
  @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100;
681
619
  }
682
620
 
683
- .spartan-hover-card-content-logical {
684
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
685
- }
686
-
687
621
  /* MARK: Input */
688
622
  .spartan-input {
689
623
  @apply dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 data-[matches-spartan-invalid=true]:ring-destructive/20 dark:data-[matches-spartan-invalid=true]:ring-destructive/40 data-[matches-spartan-invalid=true]:border-destructive dark:data-[matches-spartan-invalid=true]:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 h-8 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:ring-3 data-[matches-spartan-invalid=true]:ring-3 md:text-sm;
@@ -810,54 +744,6 @@
810
744
  @apply hover:bg-muted aria-expanded:bg-muted rounded-sm px-1.5 py-[2px] text-sm font-medium;
811
745
  }
812
746
 
813
- .spartan-menubar-content {
814
- @apply bg-popover text-popover-foreground data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-36 rounded-lg p-1 shadow-md ring-1 duration-100;
815
- }
816
-
817
- .spartan-menubar-content-logical {
818
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
819
- }
820
-
821
- .spartan-menubar-item {
822
- @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[ng-icon]:text-destructive! not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-disabled:opacity-50 data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
823
- }
824
-
825
- .spartan-menubar-checkbox-item {
826
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-1.5 rounded-md py-1 ps-7 pe-1.5 text-sm data-inset:ps-7;
827
- }
828
-
829
- .spartan-menubar-checkbox-item-indicator {
830
- @apply start-1.5 size-4 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
831
- }
832
-
833
- .spartan-menubar-radio-item {
834
- @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-1.5 rounded-md py-1 ps-7 pe-1.5 text-sm data-disabled:opacity-50 data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
835
- }
836
-
837
- .spartan-menubar-radio-item-indicator {
838
- @apply start-1.5 size-4 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
839
- }
840
-
841
- .spartan-menubar-label {
842
- @apply px-1.5 py-1 text-sm font-medium data-inset:ps-7;
843
- }
844
-
845
- .spartan-menubar-separator {
846
- @apply bg-border;
847
- }
848
-
849
- .spartan-menubar-shortcut {
850
- @apply text-muted-foreground group-focus/menubar-item:text-accent-foreground text-xs tracking-widest;
851
- }
852
-
853
- .spartan-menubar-sub-trigger {
854
- @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
855
- }
856
-
857
- .spartan-menubar-sub-content {
858
- @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg p-1 shadow-lg ring-1 duration-100;
859
- }
860
-
861
747
  /* MARK: Navigation Menu */
862
748
  .spartan-navigation-menu {
863
749
  @apply max-w-max;
@@ -868,7 +754,7 @@
868
754
  }
869
755
 
870
756
  .spartan-navigation-menu-trigger {
871
- @apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all focus-visible:ring-3 focus-visible:outline-1 disabled:opacity-50;
757
+ @apply bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50 rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all focus-visible:ring-3 focus-visible:outline-1 disabled:opacity-50;
872
758
  }
873
759
 
874
760
  .spartan-navigation-menu-link {
@@ -876,27 +762,7 @@
876
762
  }
877
763
 
878
764
  .spartan-navigation-menu-trigger-icon {
879
- @apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180;
880
- }
881
-
882
- .spartan-navigation-menu-content {
883
- @apply data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300;
884
- }
885
-
886
- .spartan-navigation-menu-viewport {
887
- @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-95 data-open:zoom-in-90 ring-foreground/10 rounded-lg shadow ring-1 duration-100;
888
- }
889
-
890
- .spartan-navigation-menu-indicator {
891
- @apply data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in;
892
- }
893
-
894
- .spartan-navigation-menu-indicator-arrow {
895
- @apply bg-border rounded-tl-sm shadow-md;
896
- }
897
-
898
- .spartan-navigation-menu-positioner {
899
- @apply transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0;
765
+ @apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180;
900
766
  }
901
767
 
902
768
  .spartan-navigation-menu-popup {
@@ -934,10 +800,6 @@
934
800
  @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100;
935
801
  }
936
802
 
937
- .spartan-popover-content-logical {
938
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
939
- }
940
-
941
803
  .spartan-popover-header {
942
804
  @apply flex flex-col gap-0.5 text-sm;
943
805
  }
@@ -968,7 +830,7 @@
968
830
  }
969
831
 
970
832
  .spartan-progress-value {
971
- @apply text-muted-foreground ml-auto text-sm tabular-nums;
833
+ @apply text-muted-foreground ms-auto text-sm tabular-nums;
972
834
  }
973
835
 
974
836
  /* MARK: Radio Group */
@@ -1336,18 +1198,6 @@
1336
1198
  @apply data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-md px-3 py-1.5 text-xs;
1337
1199
  }
1338
1200
 
1339
- .spartan-tooltip-content-logical {
1340
- @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
1341
- }
1342
-
1343
- .spartan-tooltip-arrow {
1344
- @apply size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px];
1345
- }
1346
-
1347
- .spartan-tooltip-arrow-logical {
1348
- @apply data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2;
1349
- }
1350
-
1351
1201
  /* MARK: Input Group */
1352
1202
  .spartan-input-group {
1353
1203
  @apply border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5;