@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
|
@@ -373,10 +373,6 @@
|
|
|
373
373
|
@apply bg-popover text-popover-foreground rounded-none;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
.spartan-command-dialog {
|
|
377
|
-
@apply rounded-none;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
376
|
.spartan-command-input-wrapper {
|
|
381
377
|
@apply border-b pb-0;
|
|
382
378
|
}
|
|
@@ -386,7 +382,7 @@
|
|
|
386
382
|
}
|
|
387
383
|
|
|
388
384
|
.spartan-command-input-icon {
|
|
389
|
-
@apply
|
|
385
|
+
@apply shrink-0 text-[calc(var(--spacing)*4)] opacity-50;
|
|
390
386
|
}
|
|
391
387
|
|
|
392
388
|
.spartan-command-input {
|
|
@@ -402,7 +398,7 @@
|
|
|
402
398
|
}
|
|
403
399
|
|
|
404
400
|
.spartan-command-group {
|
|
405
|
-
@apply text-foreground **:[
|
|
401
|
+
@apply text-foreground **:data-[slot=command-group-label]:text-muted-foreground overflow-hidden **:data-[slot=command-group-label]:px-2 **:data-[slot=command-group-label]:py-1.5 **:data-[slot=command-group-label]:text-xs;
|
|
406
402
|
}
|
|
407
403
|
|
|
408
404
|
.spartan-command-separator {
|
|
@@ -410,61 +406,15 @@
|
|
|
410
406
|
}
|
|
411
407
|
|
|
412
408
|
.spartan-command-item {
|
|
413
|
-
@apply data-selected:bg-muted data-selected:text-foreground data-selected:*:[ng-icon]:text-foreground relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none in-data-[slot=dialog-content]:rounded-none! [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
409
|
+
@apply data-selected:bg-muted data-selected:text-foreground data-selected:*:[&>ng-icon]:text-foreground relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none in-data-[slot=dialog-content]:rounded-none! [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
414
410
|
}
|
|
415
411
|
|
|
416
412
|
.spartan-command-shortcut {
|
|
417
|
-
@apply text-muted-foreground group-data-selected/command-item:text-foreground
|
|
413
|
+
@apply text-muted-foreground group-data-[selected]/command-item:text-foreground ms-auto text-xs tracking-widest;
|
|
418
414
|
}
|
|
419
415
|
|
|
420
416
|
/* MARK: Context Menu */
|
|
421
|
-
|
|
422
|
-
@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-none shadow-md ring-1 duration-100;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.spartan-context-menu-content-logical {
|
|
426
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.spartan-context-menu-item {
|
|
430
|
-
@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-2 rounded-none px-2 py-2 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.spartan-context-menu-checkbox-item {
|
|
434
|
-
@apply focus:bg-accent focus:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.spartan-context-menu-radio-item {
|
|
438
|
-
@apply focus:bg-accent focus:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.spartan-context-menu-item-indicator {
|
|
442
|
-
@apply absolute end-2;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.spartan-context-menu-label {
|
|
446
|
-
@apply text-muted-foreground px-2 py-2 text-xs data-inset:ps-7;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
.spartan-context-menu-separator {
|
|
450
|
-
@apply bg-border -mx-1 h-px;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.spartan-context-menu-shortcut {
|
|
454
|
-
@apply text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-xs tracking-widest;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
.spartan-context-menu-sub-trigger {
|
|
458
|
-
@apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.spartan-context-menu-sub-content {
|
|
462
|
-
@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-none border shadow-lg duration-100;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
.spartan-context-menu-subcontent {
|
|
466
|
-
@apply shadow-lg;
|
|
467
|
-
}
|
|
417
|
+
/* uses dropdown menu styles */
|
|
468
418
|
|
|
469
419
|
/* MARK: Date Picker */
|
|
470
420
|
.spartan-date-picker-trigger {
|
|
@@ -531,24 +481,20 @@
|
|
|
531
481
|
@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-none shadow-md ring-1 duration-100;
|
|
532
482
|
}
|
|
533
483
|
|
|
534
|
-
.spartan-dropdown-menu-content-logical {
|
|
535
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
484
|
.spartan-dropdown-menu-item {
|
|
539
|
-
@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-2 rounded-none px-2 py-2 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
485
|
+
@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-2 rounded-none px-2 py-2 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
540
486
|
}
|
|
541
487
|
|
|
542
488
|
.spartan-dropdown-menu-checkbox-item {
|
|
543
|
-
@apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
489
|
+
@apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground hover:**:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
544
490
|
}
|
|
545
491
|
|
|
546
492
|
.spartan-dropdown-menu-radio-item {
|
|
547
|
-
@apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
493
|
+
@apply hover:bg-accent focus:bg-accent hover:text-accent-foreground focus:text-accent-foreground hover:**:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
548
494
|
}
|
|
549
495
|
|
|
550
496
|
.spartan-dropdown-menu-item-indicator {
|
|
551
|
-
@apply absolute end-2 flex items-center justify-center;
|
|
497
|
+
@apply absolute end-2 flex items-center justify-center [&_ng-icon]:text-[calc(var(--spacing)*4)];
|
|
552
498
|
}
|
|
553
499
|
|
|
554
500
|
.spartan-dropdown-menu-label {
|
|
@@ -560,21 +506,13 @@
|
|
|
560
506
|
}
|
|
561
507
|
|
|
562
508
|
.spartan-dropdown-menu-shortcut {
|
|
563
|
-
@apply text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
.spartan-dropdown-menu-sub-trigger {
|
|
567
|
-
@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-2 rounded-none px-2 py-2 text-xs data-inset:ps-7 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
509
|
+
@apply text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest;
|
|
568
510
|
}
|
|
569
511
|
|
|
570
512
|
.spartan-dropdown-menu-sub-content {
|
|
571
513
|
@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-none shadow-lg ring-1 duration-100;
|
|
572
514
|
}
|
|
573
515
|
|
|
574
|
-
.spartan-dropdown-menu-subcontent {
|
|
575
|
-
@apply shadow-lg;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
516
|
/* MARK: Empty */
|
|
579
517
|
.spartan-empty {
|
|
580
518
|
@apply gap-4 rounded-none border-dashed p-6;
|
|
@@ -788,54 +726,6 @@
|
|
|
788
726
|
@apply hover:bg-muted aria-expanded:bg-muted rounded-none px-1.5 py-[calc(--spacing(0.8))] text-xs font-medium;
|
|
789
727
|
}
|
|
790
728
|
|
|
791
|
-
.spartan-menubar-content {
|
|
792
|
-
@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-none shadow-md ring-1 duration-100;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
.spartan-menubar-content-logical {
|
|
796
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.spartan-menubar-item {
|
|
800
|
-
@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-2 rounded-none px-2 py-2 text-xs data-disabled:opacity-50 data-inset:ps-8 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
.spartan-menubar-checkbox-item {
|
|
804
|
-
@apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 ps-8 pe-28 text-xs data-inset:ps-8;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
.spartan-menubar-checkbox-item-indicator {
|
|
808
|
-
@apply start-1.5 size-4 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
.spartan-menubar-radio-item {
|
|
812
|
-
@apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 ps-8 pe-2 text-xs data-disabled:opacity-50 data-inset:ps-8 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
.spartan-menubar-radio-item-indicator {
|
|
816
|
-
@apply start-1.5 size-4 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
.spartan-menubar-label {
|
|
820
|
-
@apply px-2 py-2 text-xs data-inset:ps-8;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
.spartan-menubar-separator {
|
|
824
|
-
@apply bg-border;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
.spartan-menubar-shortcut {
|
|
828
|
-
@apply text-muted-foreground group-focus/menubar-item:text-accent-foreground text-xs tracking-widest;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
.spartan-menubar-sub-trigger {
|
|
832
|
-
@apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-inset:ps-8 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
.spartan-menubar-sub-content {
|
|
836
|
-
@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-none shadow-lg ring-1 duration-100;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
729
|
/* MARK: Navigation Menu */
|
|
840
730
|
.spartan-navigation-menu {
|
|
841
731
|
@apply max-w-max;
|
|
@@ -890,11 +780,6 @@
|
|
|
890
780
|
@apply text-muted-foreground end-2.5 top-1/2 -translate-y-1/2 text-[calc(var(--spacing)*4)];
|
|
891
781
|
}
|
|
892
782
|
|
|
893
|
-
.spartan-native-select [data-slot='native-select-option'],
|
|
894
|
-
.spartan-native-select [data-slot='native-select-optgroup'] {
|
|
895
|
-
@apply bg-[color:Canvas] text-[color:CanvasText];
|
|
896
|
-
}
|
|
897
|
-
|
|
898
783
|
/* MARK: Pagination */
|
|
899
784
|
.spartan-pagination-content {
|
|
900
785
|
@apply gap-0.5;
|
|
@@ -951,7 +836,7 @@
|
|
|
951
836
|
}
|
|
952
837
|
|
|
953
838
|
.spartan-progress-value {
|
|
954
|
-
@apply text-muted-foreground
|
|
839
|
+
@apply text-muted-foreground ms-auto text-xs tabular-nums;
|
|
955
840
|
}
|
|
956
841
|
|
|
957
842
|
/* MARK: Radio Group */
|
|
@@ -391,10 +391,6 @@
|
|
|
391
391
|
@apply bg-popover text-popover-foreground rounded-4xl p-1;
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
.spartan-command-dialog {
|
|
395
|
-
@apply rounded-4xl! 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)*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-3 **:data-[slot=command-group-label]:py-2 **: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-lg px-3 py-2 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-2xl [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
427
|
+
@apply data-selected:bg-muted data-selected:text-foreground data-selected:*:[&>ng-icon]:text-foreground relative flex cursor-default items-center gap-2 rounded-lg px-3 py-2 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-2xl [&_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/5 bg-popover text-popover-foreground min-w-48 rounded-2xl p-1 shadow-2xl 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-2.5 rounded-xl px-3 py-2 text-sm data-inset:ps-9.5 [&_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-2 rounded-xl py-2 ps-3 pe-8 text-sm data-inset:ps-9.5 [&_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-2 rounded-sm py-1.5 ps-2 pe-8 text-sm data-inset:ps-9.5 [&_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-3 py-2.5 text-xs data-inset:ps-9.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-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 rounded-xl px-3 py-2 text-sm data-inset:ps-9.5 [&_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-md 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 {
|
|
@@ -550,27 +500,23 @@
|
|
|
550
500
|
|
|
551
501
|
/* MARK: Dropdown Menu */
|
|
552
502
|
.spartan-dropdown-menu-content {
|
|
553
|
-
@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/5 bg-popover text-popover-foreground min-w-48 rounded-2xl p-1 shadow-2xl ring-1 duration-100;
|
|
554
|
-
}
|
|
555
|
-
|
|
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;
|
|
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/5 bg-popover text-popover-foreground dark:ring-foreground/10 min-w-48 rounded-2xl p-1 shadow-2xl ring-1 duration-100;
|
|
558
504
|
}
|
|
559
505
|
|
|
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-2.5 rounded-xl px-3 py-2 text-sm data-inset:ps-9.5 [&_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-2.5 rounded-xl px-3 py-2 text-sm data-inset:ps-9.5 [&_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-2.5 rounded-xl py-2 ps-3 pe-8 text-sm data-inset:ps-9.5 [&_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-2.5 rounded-xl py-2 ps-3 pe-8 text-sm data-inset:ps-9.5 [&_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-2.5 rounded-xl py-2 ps-3 pe-8 text-sm data-inset:ps-9.5 [&_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-2.5 rounded-xl py-2 ps-3 pe-8 text-sm data-inset:ps-9.5 [&_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,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 gap-2 rounded-xl px-3 py-2 text-sm data-inset:ps-9.5 [&_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
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/5 bg-popover text-popover-foreground min-w-36 rounded-2xl p-1 shadow-2xl 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-lg border-dashed p-12;
|
|
@@ -810,54 +748,6 @@
|
|
|
810
748
|
@apply hover:bg-muted aria-expanded:bg-muted rounded-xl px-2.5 py-1 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/5 min-w-48 rounded-2xl p-1 shadow-2xl 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-2.5 rounded-xl px-3 py-2 text-sm data-disabled:opacity-50 data-inset:ps-9.5 [&_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-2.5 rounded-xl py-2 ps-9.5 pe-3 text-sm data-inset:ps-9.5;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
.spartan-menubar-checkbox-item-indicator {
|
|
830
|
-
@apply start-3 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-2.5 rounded-xl py-2 ps-9.5 pe-3 text-sm data-disabled:opacity-50 data-inset:ps-9.5 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
.spartan-menubar-radio-item-indicator {
|
|
838
|
-
@apply start-3 size-4 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
.spartan-menubar-label {
|
|
842
|
-
@apply text-muted-foreground px-3.5 py-2.5 text-xs data-inset:ps-9.5;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
.spartan-menubar-separator {
|
|
846
|
-
@apply bg-border/50;
|
|
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-2 rounded-xl px-3 py-2 text-sm data-inset:ps-9.5 [&_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/5 min-w-32 rounded-2xl p-1 shadow-2xl 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-3.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-1;
|
|
@@ -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 */
|