@spartan-ng/cli 0.0.1-alpha.714 → 0.0.1-alpha.716
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/package.json +1 -1
- package/src/generators/healthcheck/generator.js +7 -2
- package/src/generators/healthcheck/generator.js.map +1 -1
- package/src/generators/healthcheck/healthchecks/version.js +19 -8
- package/src/generators/healthcheck/healthchecks/version.js.map +1 -1
- package/src/generators/healthcheck/utils/runner.js +9 -1
- package/src/generators/healthcheck/utils/runner.js.map +1 -1
- package/src/generators/migrate-helm-libraries/generator.js +0 -4
- package/src/generators/migrate-helm-libraries/generator.js.map +1 -1
- package/src/generators/migrate-hlm/generator.js +2 -1
- package/src/generators/migrate-hlm/generator.js.map +1 -1
- package/src/generators/migrate-module-imports/import-map.js +1 -1
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-fallback.ts.template +1 -1
- package/src/generators/ui/libs/avatar/files/lib/hlm-avatar-image.ts.template +1 -1
- package/src/generators/ui/libs/breadcrumb/files/index.ts.template +0 -5
- package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-multi.ts.template +1 -0
- package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-range.ts.template +1 -0
- package/src/generators/ui/libs/calendar/files/lib/hlm-calendar.ts.template +1 -0
- package/src/generators/ui/libs/command/files/lib/hlm-command-dialog.ts.template +2 -2
- package/src/generators/ui/libs/command/files/lib/hlm-command-empty.ts.template +1 -1
- package/src/generators/ui/libs/command/files/lib/hlm-command-group-label.ts.template +1 -1
- package/src/generators/ui/libs/command/files/lib/hlm-command-group.ts.template +1 -1
- package/src/generators/ui/libs/command/files/lib/hlm-command-input.ts.template +7 -6
- package/src/generators/ui/libs/command/files/lib/hlm-command-item.ts.template +1 -1
- package/src/generators/ui/libs/command/files/lib/hlm-command-list.ts.template +1 -1
- package/src/generators/ui/libs/command/files/lib/hlm-command-separator.ts.template +1 -1
- package/src/generators/ui/libs/command/files/lib/hlm-command-shortcut.ts.template +1 -1
- package/src/generators/ui/libs/command/files/lib/hlm-command.ts.template +1 -1
- package/src/generators/ui/libs/context-menu/files/lib/hlm-context-menu-trigger.ts.template +3 -0
- package/src/generators/ui/libs/dropdown-menu/files/index.ts.template +3 -0
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-checkbox-indicator.ts.template +3 -2
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-checkbox.ts.template +30 -10
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-group.ts.template +1 -3
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-item-sub-indicator.ts.template +2 -2
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-item.ts.template +1 -1
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-label.ts.template +4 -4
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-radio-indicator.ts.template +5 -4
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-radio.ts.template +24 -9
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-separator.ts.template +2 -4
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-shortcut.ts.template +2 -4
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-sub-trigger.ts.template +44 -0
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-sub.ts.template +1 -4
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-trigger.ts.template +1 -3
- package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu.ts.template +1 -1
- package/src/generators/ui/libs/input/files/lib/hlm-input.ts.template +1 -0
- package/src/generators/ui/libs/menubar/files/lib/hlm-menubar-trigger.ts.template +1 -1
- package/src/generators/ui/libs/menubar/files/lib/hlm-menubar.ts.template +1 -1
- package/src/generators/ui/libs/native-select/files/lib/hlm-native-select-opt-group.ts.template +7 -2
- package/src/generators/ui/libs/native-select/files/lib/hlm-native-select-option.ts.template +7 -2
- package/src/generators/ui/libs/popover/files/lib/hlm-popover-content.ts.template +1 -0
- package/src/generators/ui/libs/popover/files/lib/hlm-popover.ts.template +1 -0
- package/src/generators/ui/libs/progress/files/lib/hlm-progress-indicator.ts.template +5 -1
- package/src/generators/ui/libs/progress/files/lib/hlm-progress.ts.template +1 -0
- package/src/generators/ui/libs/switch/files/lib/hlm-switch-thumb.ts.template +1 -0
- package/src/generators/ui/libs/switch/files/lib/hlm-switch.ts.template +1 -0
- package/src/generators/ui/primitive-deps.js +1 -0
- package/src/generators/ui/primitive-deps.js.map +1 -1
- package/src/generators/ui/primitives.d.ts +1 -1
- package/src/generators/ui/style-luma.css +13 -128
- package/src/generators/ui/style-lyra.css +11 -126
- package/src/generators/ui/style-maia.css +12 -127
- package/src/generators/ui/style-mira.css +11 -126
- package/src/generators/ui/style-nova.css +13 -128
- package/src/generators/ui/style-vega.css +14 -129
- package/src/generators/ui/supported-ui-libraries.json +42 -42
- package/src/utils/config.js +6 -6
- package/src/utils/config.js.map +1 -1
- package/src/utils/version-utils.js +2 -2
- package/src/utils/version-utils.js.map +1 -1
- package/src/generators/healthcheck/utils/prompt.d.ts +0 -1
- package/src/generators/healthcheck/utils/prompt.js +0 -23
- package/src/generators/healthcheck/utils/prompt.js.map +0 -1
|
@@ -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
|
|
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 **:[
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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;
|
|
@@ -810,54 +748,6 @@
|
|
|
810
748
|
@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
749
|
}
|
|
812
750
|
|
|
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
751
|
/* MARK: Navigation Menu */
|
|
862
752
|
.spartan-navigation-menu {
|
|
863
753
|
@apply max-w-max;
|
|
@@ -912,11 +802,6 @@
|
|
|
912
802
|
@apply text-muted-foreground end-1.5 top-1/2 -translate-y-1.5 text-[calc(var(--spacing)*3.5)] group-data-[size=sm]/native-select:-translate-y-1.25 group-data-[size=sm]/native-select:text-[calc(var(--spacing)*3)];
|
|
913
803
|
}
|
|
914
804
|
|
|
915
|
-
.spartan-native-select [data-slot='native-select-option'],
|
|
916
|
-
.spartan-native-select [data-slot='native-select-optgroup'] {
|
|
917
|
-
@apply bg-[color:Canvas] text-[color:CanvasText];
|
|
918
|
-
}
|
|
919
|
-
|
|
920
805
|
/* MARK: Pagination */
|
|
921
806
|
.spartan-pagination-content {
|
|
922
807
|
@apply gap-0.5;
|
|
@@ -973,7 +858,7 @@
|
|
|
973
858
|
}
|
|
974
859
|
|
|
975
860
|
.spartan-progress-value {
|
|
976
|
-
@apply text-muted-foreground
|
|
861
|
+
@apply text-muted-foreground ms-auto text-xs/relaxed tabular-nums;
|
|
977
862
|
}
|
|
978
863
|
|
|
979
864
|
/* MARK: Radio Group */
|
|
@@ -388,11 +388,7 @@
|
|
|
388
388
|
|
|
389
389
|
/* MARK: Command */
|
|
390
390
|
.spartan-command {
|
|
391
|
-
@apply bg-popover text-popover-foreground rounded-xl
|
|
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
|
|
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 **:[
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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-
|
|
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 */
|
|
@@ -810,54 +748,6 @@
|
|
|
810
748
|
@apply hover:bg-muted aria-expanded:bg-muted rounded-sm px-1.5 py-[2px] text-sm font-medium;
|
|
811
749
|
}
|
|
812
750
|
|
|
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
751
|
/* MARK: Navigation Menu */
|
|
862
752
|
.spartan-navigation-menu {
|
|
863
753
|
@apply max-w-max;
|
|
@@ -912,11 +802,6 @@
|
|
|
912
802
|
@apply text-muted-foreground end-2.5 top-1/2 -translate-y-1/2 text-[calc(var(--spacing)*4)];
|
|
913
803
|
}
|
|
914
804
|
|
|
915
|
-
.spartan-native-select [data-slot='native-select-option'],
|
|
916
|
-
.spartan-native-select [data-slot='native-select-optgroup'] {
|
|
917
|
-
@apply bg-[color:Canvas] text-[color:CanvasText];
|
|
918
|
-
}
|
|
919
|
-
|
|
920
805
|
/* MARK: Pagination */
|
|
921
806
|
.spartan-pagination-content {
|
|
922
807
|
@apply gap-0.5;
|
|
@@ -973,7 +858,7 @@
|
|
|
973
858
|
}
|
|
974
859
|
|
|
975
860
|
.spartan-progress-value {
|
|
976
|
-
@apply text-muted-foreground
|
|
861
|
+
@apply text-muted-foreground ms-auto text-sm tabular-nums;
|
|
977
862
|
}
|
|
978
863
|
|
|
979
864
|
/* MARK: Radio Group */
|