@spartan-ng/cli 0.0.1-alpha.703 → 0.0.1-alpha.705
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/README.md +118 -6
- package/package.json +2 -2
- package/src/generators/base/lib/styles/transform-style-map.js +8 -3
- package/src/generators/base/lib/styles/transform-style-map.js.map +1 -1
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-content.ts.template +1 -2
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-empty.ts.template +2 -7
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-group.ts.template +1 -3
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-input.ts.template +4 -0
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-item.ts.template +3 -9
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-label.ts.template +2 -4
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-list.ts.template +2 -7
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-search.ts.template +1 -3
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-separator.ts.template +2 -4
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-status.ts.template +2 -4
- package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete.ts.template +1 -3
- package/src/generators/ui/libs/button/files/lib/hlm-button.ts.template +1 -3
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-chip-input.ts.template +2 -4
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-chip-remove.ts.template +2 -4
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-chip.ts.template +2 -4
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-chips.ts.template +7 -10
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-content.ts.template +1 -3
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-empty.ts.template +2 -7
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-group.ts.template +1 -3
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-input.ts.template +2 -0
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-item.ts.template +3 -9
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-label.ts.template +2 -4
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-list.ts.template +2 -7
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-multiple.ts.template +1 -3
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-placeholder.ts.template +1 -1
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-separator.ts.template +2 -4
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-status.ts.template +2 -4
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-trigger.ts.template +2 -2
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-value.ts.template +1 -0
- package/src/generators/ui/libs/combobox/files/lib/hlm-combobox.ts.template +1 -3
- package/src/generators/ui/libs/select/files/lib/hlm-select-content.ts.template +1 -4
- package/src/generators/ui/libs/select/files/lib/hlm-select-group.ts.template +2 -4
- package/src/generators/ui/libs/select/files/lib/hlm-select-item.ts.template +3 -5
- package/src/generators/ui/libs/select/files/lib/hlm-select-label.ts.template +2 -4
- package/src/generators/ui/libs/select/files/lib/hlm-select-multiple.ts.template +1 -3
- package/src/generators/ui/libs/select/files/lib/hlm-select-placeholder.ts.template +1 -1
- package/src/generators/ui/libs/select/files/lib/hlm-select-scroll-down.ts.template +1 -4
- package/src/generators/ui/libs/select/files/lib/hlm-select-scroll-up.ts.template +1 -4
- package/src/generators/ui/libs/select/files/lib/hlm-select-separator.ts.template +2 -4
- package/src/generators/ui/libs/select/files/lib/hlm-select-trigger.ts.template +8 -4
- package/src/generators/ui/libs/select/files/lib/hlm-select-values-content.ts.template +1 -1
- package/src/generators/ui/libs/select/files/lib/hlm-select.ts.template +1 -3
- package/src/generators/ui/style-luma.css +66 -33
- package/src/generators/ui/style-lyra.css +67 -34
- package/src/generators/ui/style-maia.css +67 -34
- package/src/generators/ui/style-mira.css +67 -34
- package/src/generators/ui/style-nova.css +67 -34
- package/src/generators/ui/style-vega.css +67 -34
- package/src/generators/ui/supported-ui-libraries.json +40 -40
- package/src/index.d.ts +2 -0
- package/src/index.js +9 -0
- package/src/index.js.map +1 -1
- package/src/registry/schema.d.ts +33 -33
- package/src/utils/config.d.ts +6 -6
|
@@ -70,6 +70,39 @@
|
|
|
70
70
|
@apply text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/* MARK: Autocomplete */
|
|
74
|
+
.spartan-autocomplete-content {
|
|
75
|
+
@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 max-h-72 min-w-36 overflow-hidden rounded-none shadow-md ring-1 duration-100;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.spartan-autocomplete-label {
|
|
79
|
+
@apply text-muted-foreground px-2 py-2 text-xs;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.spartan-autocomplete-item {
|
|
83
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.spartan-autocomplete-item-indicator {
|
|
87
|
+
@apply absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*4)];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.spartan-autocomplete-empty {
|
|
91
|
+
@apply text-muted-foreground hidden w-full items-center justify-center py-2 text-center text-xs group-data-empty/autocomplete-content:flex;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.spartan-autocomplete-list {
|
|
95
|
+
@apply no-scrollbar max-h-[calc(--spacing(72)---spacing(9))] scroll-py-1 data-empty:p-0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.spartan-autocomplete-separator {
|
|
99
|
+
@apply bg-border -mx-1 h-px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.spartan-autocomplete-status {
|
|
103
|
+
@apply text-muted-foreground gap-2 py-2 text-xs;
|
|
104
|
+
}
|
|
105
|
+
|
|
73
106
|
/* MARK: Avatar */
|
|
74
107
|
.spartan-avatar {
|
|
75
108
|
@apply size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6;
|
|
@@ -273,11 +306,7 @@
|
|
|
273
306
|
|
|
274
307
|
/* MARK: Combobox */
|
|
275
308
|
.spartan-combobox-content {
|
|
276
|
-
@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
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.spartan-combobox-content-logical {
|
|
280
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
309
|
+
@apply bg-popover text-popover-foreground data-open:animate-in **:has-[[data-slot=input-group-control]:focus-visible]:border-input 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 **:data-[slot=input-group]:bg-input/30 **:data-[slot=input-group]:border-input/30 max-h-72 min-w-36 overflow-hidden rounded-none shadow-md ring-1 duration-100 **:has-[[data-slot=input-group-control]:focus-visible]:ring-0 **:data-[slot=input-group]:m-1 **:data-[slot=input-group]:mb-0 **:data-[slot=input-group]:h-8 **:data-[slot=input-group]:shadow-none;
|
|
281
310
|
}
|
|
282
311
|
|
|
283
312
|
.spartan-combobox-label {
|
|
@@ -285,23 +314,19 @@
|
|
|
285
314
|
}
|
|
286
315
|
|
|
287
316
|
.spartan-combobox-item {
|
|
288
|
-
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs
|
|
317
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs;
|
|
289
318
|
}
|
|
290
319
|
|
|
291
320
|
.spartan-combobox-item-indicator {
|
|
292
|
-
@apply pointer-events-none absolute end-2 flex
|
|
321
|
+
@apply pointer-events-none absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*4)];
|
|
293
322
|
}
|
|
294
323
|
|
|
295
324
|
.spartan-combobox-empty {
|
|
296
|
-
@apply text-muted-foreground hidden w-full justify-center py-2 text-center text-xs group-data-empty/combobox-content:flex;
|
|
325
|
+
@apply text-muted-foreground hidden w-full items-center justify-center py-2 text-center text-xs group-data-empty/combobox-content:flex;
|
|
297
326
|
}
|
|
298
327
|
|
|
299
328
|
.spartan-combobox-list {
|
|
300
|
-
@apply no-scrollbar max-h-[
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.spartan-combobox-item-text {
|
|
304
|
-
@apply flex flex-1 gap-2;
|
|
329
|
+
@apply no-scrollbar max-h-[calc(--spacing(72)---spacing(9))] scroll-py-1 overflow-y-auto data-empty:p-0;
|
|
305
330
|
}
|
|
306
331
|
|
|
307
332
|
.spartan-combobox-separator {
|
|
@@ -309,15 +334,15 @@
|
|
|
309
334
|
}
|
|
310
335
|
|
|
311
336
|
.spartan-combobox-trigger {
|
|
312
|
-
@apply
|
|
337
|
+
@apply data-placeholder:text-muted-foreground;
|
|
313
338
|
}
|
|
314
339
|
|
|
315
340
|
.spartan-combobox-trigger-icon {
|
|
316
|
-
@apply text-muted-foreground
|
|
341
|
+
@apply text-muted-foreground text-[calc(var(--spacing)*4)];
|
|
317
342
|
}
|
|
318
343
|
|
|
319
344
|
.spartan-combobox-chips {
|
|
320
|
-
@apply dark:bg-input/30 border-input focus-within:border-ring focus-within: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 flex min-h-8 flex-wrap items-center gap-1 rounded-none border bg-transparent bg-clip-padding px-2.5 py-1 text-xs transition-
|
|
345
|
+
@apply dark:bg-input/30 border-input focus-within:border-ring focus-within: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 flex min-h-8 flex-wrap items-center gap-1 rounded-none border bg-transparent bg-clip-padding px-2.5 py-1 text-xs shadow-xs transition-[color,box-shadow] focus-within:ring-1 has-data-[slot=combobox-chip]:px-1 data-[matches-spartan-invalid=true]:ring-1;
|
|
321
346
|
}
|
|
322
347
|
|
|
323
348
|
.spartan-combobox-chip {
|
|
@@ -325,7 +350,19 @@
|
|
|
325
350
|
}
|
|
326
351
|
|
|
327
352
|
.spartan-combobox-chip-remove {
|
|
328
|
-
@apply -
|
|
353
|
+
@apply -ms-1 opacity-50 hover:opacity-100;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.spartan-combobox-chip-input {
|
|
357
|
+
@apply placeholder:text-muted-foreground;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.spartan-combobox-placeholder {
|
|
361
|
+
@apply gap-2 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.spartan-combobox-status {
|
|
365
|
+
@apply text-muted-foreground gap-2 py-2 text-xs;
|
|
329
366
|
}
|
|
330
367
|
|
|
331
368
|
/* MARK: Command */
|
|
@@ -936,23 +973,15 @@
|
|
|
936
973
|
|
|
937
974
|
/* MARK: Select */
|
|
938
975
|
.spartan-select-trigger {
|
|
939
|
-
@apply border-input data-placeholder:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 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 gap-1.5 rounded-none border bg-transparent py-2 ps-2.5 pe-2 text-xs transition-colors
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
.spartan-select-value {
|
|
943
|
-
@apply flex flex-1 text-start;
|
|
976
|
+
@apply border-input data-placeholder:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 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 gap-1.5 rounded-none border bg-transparent py-2 ps-2.5 pe-2 text-xs transition-colors focus-visible:ring-1 data-[matches-spartan-invalid=true]:ring-1 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-none *:data-[slot=select-value]:gap-1.5;
|
|
944
977
|
}
|
|
945
978
|
|
|
946
979
|
.spartan-select-trigger-icon {
|
|
947
|
-
@apply text-muted-foreground
|
|
980
|
+
@apply text-muted-foreground text-[calc(var(--spacing)*4)];
|
|
948
981
|
}
|
|
949
982
|
|
|
950
983
|
.spartan-select-content {
|
|
951
|
-
@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-36 rounded-none shadow-md ring-1 duration-100;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
.spartan-select-content-logical {
|
|
955
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
984
|
+
@apply bg-popover no-scrollbar 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 max-h-72 min-w-36 flex-col rounded-none shadow-md ring-1 duration-100;
|
|
956
985
|
}
|
|
957
986
|
|
|
958
987
|
.spartan-select-label {
|
|
@@ -960,21 +989,17 @@
|
|
|
960
989
|
}
|
|
961
990
|
|
|
962
991
|
.spartan-select-item {
|
|
963
|
-
@apply
|
|
992
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-none py-2 ps-2 pe-8 text-xs *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2;
|
|
964
993
|
}
|
|
965
994
|
|
|
966
995
|
.spartan-select-item-indicator {
|
|
967
|
-
@apply
|
|
996
|
+
@apply absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*4)];
|
|
968
997
|
}
|
|
969
998
|
|
|
970
999
|
.spartan-select-group {
|
|
971
1000
|
@apply scroll-my-1;
|
|
972
1001
|
}
|
|
973
1002
|
|
|
974
|
-
.spartan-select-item-text {
|
|
975
|
-
@apply flex flex-1 gap-2;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
1003
|
.spartan-select-separator {
|
|
979
1004
|
@apply bg-border -mx-1 h-px;
|
|
980
1005
|
}
|
|
@@ -987,6 +1012,14 @@
|
|
|
987
1012
|
@apply bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
988
1013
|
}
|
|
989
1014
|
|
|
1015
|
+
.spartan-select-placeholder {
|
|
1016
|
+
@apply gap-2 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.spartan-select-values-content {
|
|
1020
|
+
@apply gap-2;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
990
1023
|
/* MARK: Separator */
|
|
991
1024
|
.spartan-separator {
|
|
992
1025
|
@apply bg-border shrink-0;
|
|
@@ -74,6 +74,39 @@
|
|
|
74
74
|
@apply absolute end-3 top-2.5;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/* MARK: Autocomplete */
|
|
78
|
+
.spartan-autocomplete-content {
|
|
79
|
+
@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 max-h-72 min-w-36 overflow-hidden rounded-2xl shadow-2xl ring-1 duration-100;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.spartan-autocomplete-label {
|
|
83
|
+
@apply text-muted-foreground px-3.5 py-2.5 text-xs;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.spartan-autocomplete-item {
|
|
87
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.spartan-autocomplete-item-indicator {
|
|
91
|
+
@apply absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*4)];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.spartan-autocomplete-empty {
|
|
95
|
+
@apply text-muted-foreground hidden w-full items-center justify-center py-2 text-center text-sm group-data-empty/autocomplete-content:flex;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.spartan-autocomplete-list {
|
|
99
|
+
@apply no-scrollbar max-h-[calc(--spacing(72)---spacing(9))] scroll-py-1 p-1 data-empty:p-0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.spartan-autocomplete-separator {
|
|
103
|
+
@apply bg-border/50 -mx-1 my-1 h-px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.spartan-autocomplete-status {
|
|
107
|
+
@apply text-muted-foreground gap-2 py-2 text-sm;
|
|
108
|
+
}
|
|
109
|
+
|
|
77
110
|
/* MARK: Avatar */
|
|
78
111
|
.spartan-avatar {
|
|
79
112
|
@apply size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6;
|
|
@@ -294,11 +327,7 @@
|
|
|
294
327
|
|
|
295
328
|
/* MARK: Combobox */
|
|
296
329
|
.spartan-combobox-content {
|
|
297
|
-
@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
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.spartan-combobox-content-logical {
|
|
301
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
330
|
+
@apply bg-popover text-popover-foreground data-open:animate-in **:has-[[data-slot=input-group-control]:focus-visible]:border-input 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 **:data-[slot=input-group]:bg-input/30 max-h-72 min-w-36 overflow-hidden rounded-2xl shadow-2xl ring-1 duration-100 **:has-[[data-slot=input-group-control]:focus-visible]:ring-0 **:data-[slot=input-group]:m-1 **:data-[slot=input-group]:mb-0 **:data-[slot=input-group]:h-9 **:data-[slot=input-group]:border-none **:data-[slot=input-group]:shadow-none;
|
|
302
331
|
}
|
|
303
332
|
|
|
304
333
|
.spartan-combobox-label {
|
|
@@ -306,23 +335,19 @@
|
|
|
306
335
|
}
|
|
307
336
|
|
|
308
337
|
.spartan-combobox-item {
|
|
309
|
-
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm
|
|
338
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm;
|
|
310
339
|
}
|
|
311
340
|
|
|
312
341
|
.spartan-combobox-item-indicator {
|
|
313
|
-
@apply pointer-events-none absolute end-2 flex
|
|
342
|
+
@apply pointer-events-none absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*4)];
|
|
314
343
|
}
|
|
315
344
|
|
|
316
345
|
.spartan-combobox-empty {
|
|
317
|
-
@apply text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex;
|
|
346
|
+
@apply text-muted-foreground hidden w-full items-center justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex;
|
|
318
347
|
}
|
|
319
348
|
|
|
320
349
|
.spartan-combobox-list {
|
|
321
|
-
@apply no-scrollbar max-h-[
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.spartan-combobox-item-text {
|
|
325
|
-
@apply flex flex-1 gap-2;
|
|
350
|
+
@apply no-scrollbar max-h-[calc(--spacing(72)---spacing(9))] scroll-py-1 overflow-y-auto p-1 data-empty:p-0;
|
|
326
351
|
}
|
|
327
352
|
|
|
328
353
|
.spartan-combobox-separator {
|
|
@@ -330,15 +355,15 @@
|
|
|
330
355
|
}
|
|
331
356
|
|
|
332
357
|
.spartan-combobox-trigger {
|
|
333
|
-
@apply
|
|
358
|
+
@apply data-placeholder:text-muted-foreground;
|
|
334
359
|
}
|
|
335
360
|
|
|
336
361
|
.spartan-combobox-trigger-icon {
|
|
337
|
-
@apply text-muted-foreground
|
|
362
|
+
@apply text-muted-foreground text-[calc(var(--spacing)*4)];
|
|
338
363
|
}
|
|
339
364
|
|
|
340
365
|
.spartan-combobox-chips {
|
|
341
|
-
@apply bg-input/30 border-input focus-within:border-ring focus-within: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 flex min-h-9 flex-wrap items-center gap-1.5 rounded-4xl border bg-clip-padding px-2.5 py-1.5 text-sm transition-
|
|
366
|
+
@apply bg-input/30 border-input focus-within:border-ring focus-within: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 flex min-h-9 flex-wrap items-center gap-1.5 rounded-4xl border bg-clip-padding px-2.5 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:ring-[3px] has-data-[slot=combobox-chip]:px-1.5 data-[matches-spartan-invalid=true]:ring-[3px];
|
|
342
367
|
}
|
|
343
368
|
|
|
344
369
|
.spartan-combobox-chip {
|
|
@@ -346,7 +371,19 @@
|
|
|
346
371
|
}
|
|
347
372
|
|
|
348
373
|
.spartan-combobox-chip-remove {
|
|
349
|
-
@apply -
|
|
374
|
+
@apply -ms-1 opacity-50 hover:opacity-100;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.spartan-combobox-chip-input {
|
|
378
|
+
@apply placeholder:text-muted-foreground;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.spartan-combobox-placeholder {
|
|
382
|
+
@apply gap-2 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.spartan-combobox-status {
|
|
386
|
+
@apply text-muted-foreground gap-2 py-2 text-sm;
|
|
350
387
|
}
|
|
351
388
|
|
|
352
389
|
/* MARK: Command */
|
|
@@ -961,23 +998,15 @@
|
|
|
961
998
|
|
|
962
999
|
/* MARK: Select */
|
|
963
1000
|
.spartan-select-trigger {
|
|
964
|
-
@apply border-input data-placeholder:text-muted-foreground bg-input/30 dark:hover:bg-input/50 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 gap-1.5 rounded-4xl border px-3 py-2 text-sm transition-colors focus-visible:ring-
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
.spartan-select-value {
|
|
968
|
-
@apply flex flex-1 text-start;
|
|
1001
|
+
@apply border-input data-placeholder:text-muted-foreground bg-input/30 dark:hover:bg-input/50 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 gap-1.5 rounded-4xl border px-3 py-2 text-sm transition-colors focus-visible:ring-3 data-[matches-spartan-invalid=true]:ring-3 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:gap-1.5;
|
|
969
1002
|
}
|
|
970
1003
|
|
|
971
1004
|
.spartan-select-trigger-icon {
|
|
972
|
-
@apply text-muted-foreground
|
|
1005
|
+
@apply text-muted-foreground text-[calc(var(--spacing)*4)];
|
|
973
1006
|
}
|
|
974
1007
|
|
|
975
1008
|
.spartan-select-content {
|
|
976
|
-
@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-36 rounded-2xl shadow-2xl ring-1 duration-100;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
.spartan-select-content-logical {
|
|
980
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
1009
|
+
@apply bg-popover no-scrollbar 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 max-h-72 min-w-36 flex-col rounded-2xl shadow-2xl ring-1 duration-100;
|
|
981
1010
|
}
|
|
982
1011
|
|
|
983
1012
|
.spartan-select-label {
|
|
@@ -985,21 +1014,17 @@
|
|
|
985
1014
|
}
|
|
986
1015
|
|
|
987
1016
|
.spartan-select-item {
|
|
988
|
-
@apply
|
|
1017
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2;
|
|
989
1018
|
}
|
|
990
1019
|
|
|
991
1020
|
.spartan-select-item-indicator {
|
|
992
|
-
@apply
|
|
1021
|
+
@apply absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*4)];
|
|
993
1022
|
}
|
|
994
1023
|
|
|
995
1024
|
.spartan-select-group {
|
|
996
1025
|
@apply scroll-my-1 p-1;
|
|
997
1026
|
}
|
|
998
1027
|
|
|
999
|
-
.spartan-select-item-text {
|
|
1000
|
-
@apply flex flex-1 gap-2;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
1028
|
.spartan-select-separator {
|
|
1004
1029
|
@apply bg-border/50 -mx-1 my-1 h-px;
|
|
1005
1030
|
}
|
|
@@ -1012,6 +1037,14 @@
|
|
|
1012
1037
|
@apply bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
1013
1038
|
}
|
|
1014
1039
|
|
|
1040
|
+
.spartan-select-placeholder {
|
|
1041
|
+
@apply gap-2 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*4)];
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.spartan-select-values-content {
|
|
1045
|
+
@apply gap-2;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1015
1048
|
/* MARK: Separator */
|
|
1016
1049
|
.spartan-separator {
|
|
1017
1050
|
@apply bg-border shrink-0;
|
|
@@ -74,6 +74,39 @@
|
|
|
74
74
|
@apply absolute end-2 top-1.5;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/* MARK: Autocomplete */
|
|
78
|
+
.spartan-autocomplete-content {
|
|
79
|
+
@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 dark:bg-popover max-h-72 min-w-32 overflow-hidden rounded-lg shadow-md ring-1 duration-100;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.spartan-autocomplete-label {
|
|
83
|
+
@apply text-muted-foreground px-2 py-1.5 text-xs;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.spartan-autocomplete-item {
|
|
87
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.spartan-autocomplete-item-indicator {
|
|
91
|
+
@apply absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*3.5)];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.spartan-autocomplete-empty {
|
|
95
|
+
@apply text-muted-foreground hidden w-full items-center justify-center py-2 text-center text-xs/relaxed group-data-empty/autocomplete-content:flex;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.spartan-autocomplete-list {
|
|
99
|
+
@apply no-scrollbar max-h-[calc(--spacing(72)---spacing(9))] scroll-py-1 p-1 data-empty:p-0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.spartan-autocomplete-separator {
|
|
103
|
+
@apply bg-border/50 -mx-1 my-1 h-px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.spartan-autocomplete-status {
|
|
107
|
+
@apply text-muted-foreground gap-2 py-2 text-xs/relaxed;
|
|
108
|
+
}
|
|
109
|
+
|
|
77
110
|
/* MARK: Avatar */
|
|
78
111
|
.spartan-avatar {
|
|
79
112
|
@apply size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6;
|
|
@@ -294,11 +327,7 @@
|
|
|
294
327
|
|
|
295
328
|
/* MARK: Combobox */
|
|
296
329
|
.spartan-combobox-content {
|
|
297
|
-
@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
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.spartan-combobox-content-logical {
|
|
301
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
330
|
+
@apply bg-popover text-popover-foreground data-open:animate-in **:has-[[data-slot=input-group-control]:focus-visible]:border-input 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 **:data-[slot=input-group]:bg-input/20 dark:bg-popover max-h-72 min-w-32 overflow-hidden rounded-lg shadow-md ring-1 duration-100 **:has-[[data-slot=input-group-control]:focus-visible]:ring-0 **:data-[slot=input-group]:m-1 **:data-[slot=input-group]:mb-0 **:data-[slot=input-group]:h-7 **:data-[slot=input-group]:border-none **:data-[slot=input-group]:shadow-none;
|
|
302
331
|
}
|
|
303
332
|
|
|
304
333
|
.spartan-combobox-label {
|
|
@@ -306,23 +335,19 @@
|
|
|
306
335
|
}
|
|
307
336
|
|
|
308
337
|
.spartan-combobox-item {
|
|
309
|
-
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed
|
|
338
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed;
|
|
310
339
|
}
|
|
311
340
|
|
|
312
341
|
.spartan-combobox-item-indicator {
|
|
313
|
-
@apply pointer-events-none absolute end-2 flex items-center justify-center;
|
|
342
|
+
@apply pointer-events-none absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*3.5)];
|
|
314
343
|
}
|
|
315
344
|
|
|
316
345
|
.spartan-combobox-empty {
|
|
317
|
-
@apply text-muted-foreground hidden w-full justify-center py-2 text-center text-xs/relaxed group-data-empty/combobox-content:flex;
|
|
346
|
+
@apply text-muted-foreground hidden w-full items-center justify-center py-2 text-center text-xs/relaxed group-data-empty/combobox-content:flex;
|
|
318
347
|
}
|
|
319
348
|
|
|
320
349
|
.spartan-combobox-list {
|
|
321
|
-
@apply no-scrollbar max-h-[
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.spartan-combobox-item-text {
|
|
325
|
-
@apply flex flex-1 gap-2;
|
|
350
|
+
@apply no-scrollbar max-h-[calc(--spacing(72)---spacing(9))] scroll-py-1 overflow-y-auto p-1 data-empty:p-0;
|
|
326
351
|
}
|
|
327
352
|
|
|
328
353
|
.spartan-combobox-separator {
|
|
@@ -330,15 +355,15 @@
|
|
|
330
355
|
}
|
|
331
356
|
|
|
332
357
|
.spartan-combobox-trigger {
|
|
333
|
-
@apply
|
|
358
|
+
@apply data-placeholder:text-muted-foreground;
|
|
334
359
|
}
|
|
335
360
|
|
|
336
361
|
.spartan-combobox-trigger-icon {
|
|
337
|
-
@apply text-muted-foreground
|
|
362
|
+
@apply text-muted-foreground text-[calc(var(--spacing)*3.5)];
|
|
338
363
|
}
|
|
339
364
|
|
|
340
365
|
.spartan-combobox-chips {
|
|
341
|
-
@apply bg-input/20 dark:bg-input/30 border-input focus-within:border-ring focus-within: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 flex min-h-7 flex-wrap items-center gap-1 rounded-md border bg-clip-padding px-2 py-0.5 text-xs/relaxed transition-
|
|
366
|
+
@apply bg-input/20 dark:bg-input/30 border-input focus-within:border-ring focus-within: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 flex min-h-7 flex-wrap items-center gap-1 rounded-md border bg-clip-padding px-2 py-0.5 text-xs/relaxed shadow-xs transition-[color,box-shadow] focus-within:ring-2 has-data-[slot=combobox-chip]:px-1 data-[matches-spartan-invalid=true]:ring-2;
|
|
342
367
|
}
|
|
343
368
|
|
|
344
369
|
.spartan-combobox-chip {
|
|
@@ -346,7 +371,19 @@
|
|
|
346
371
|
}
|
|
347
372
|
|
|
348
373
|
.spartan-combobox-chip-remove {
|
|
349
|
-
@apply -
|
|
374
|
+
@apply -ms-1 opacity-50 hover:opacity-100;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.spartan-combobox-chip-input {
|
|
378
|
+
@apply placeholder:text-muted-foreground;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.spartan-combobox-placeholder {
|
|
382
|
+
@apply gap-2 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.spartan-combobox-status {
|
|
386
|
+
@apply text-muted-foreground gap-2 py-2 text-xs/relaxed;
|
|
350
387
|
}
|
|
351
388
|
|
|
352
389
|
/* MARK: Command */
|
|
@@ -961,23 +998,15 @@
|
|
|
961
998
|
|
|
962
999
|
/* MARK: Select */
|
|
963
1000
|
.spartan-select-trigger {
|
|
964
|
-
@apply border-input data-placeholder:text-muted-foreground bg-input/20 dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
.spartan-select-value {
|
|
968
|
-
@apply flex flex-1 text-start;
|
|
1001
|
+
@apply border-input data-placeholder:text-muted-foreground bg-input/20 dark:bg-input/30 dark:hover:bg-input/50 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 gap-1.5 rounded-md border px-2 py-1.5 text-xs/relaxed transition-colors focus-visible:ring-2 data-[matches-spartan-invalid=true]:ring-2 data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:gap-1.5;
|
|
969
1002
|
}
|
|
970
1003
|
|
|
971
1004
|
.spartan-select-trigger-icon {
|
|
972
|
-
@apply text-muted-foreground
|
|
1005
|
+
@apply text-muted-foreground text-[calc(var(--spacing)*3.5)];
|
|
973
1006
|
}
|
|
974
1007
|
|
|
975
1008
|
.spartan-select-content {
|
|
976
|
-
@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-
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
.spartan-select-content-logical {
|
|
980
|
-
@apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
|
|
1009
|
+
@apply bg-popover no-scrollbar 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 max-h-72 min-w-36 flex-col rounded-lg shadow-md ring-1 duration-100;
|
|
981
1010
|
}
|
|
982
1011
|
|
|
983
1012
|
.spartan-select-label {
|
|
@@ -985,21 +1014,17 @@
|
|
|
985
1014
|
}
|
|
986
1015
|
|
|
987
1016
|
.spartan-select-item {
|
|
988
|
-
@apply
|
|
1017
|
+
@apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2;
|
|
989
1018
|
}
|
|
990
1019
|
|
|
991
1020
|
.spartan-select-item-indicator {
|
|
992
|
-
@apply
|
|
1021
|
+
@apply absolute end-2 flex items-center justify-center text-[calc(var(--spacing)*3.5)];
|
|
993
1022
|
}
|
|
994
1023
|
|
|
995
1024
|
.spartan-select-group {
|
|
996
1025
|
@apply scroll-my-1 p-1;
|
|
997
1026
|
}
|
|
998
1027
|
|
|
999
|
-
.spartan-select-item-text {
|
|
1000
|
-
@apply flex flex-1 gap-2;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
1028
|
.spartan-select-separator {
|
|
1004
1029
|
@apply bg-border/50 -mx-1 my-1 h-px;
|
|
1005
1030
|
}
|
|
@@ -1012,6 +1037,14 @@
|
|
|
1012
1037
|
@apply bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
|
|
1013
1038
|
}
|
|
1014
1039
|
|
|
1040
|
+
.spartan-select-placeholder {
|
|
1041
|
+
@apply gap-2 [&_ng-icon:not([class*='text-'])]:text-[calc(var(--spacing)*3.5)];
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.spartan-select-values-content {
|
|
1045
|
+
@apply gap-2;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1015
1048
|
/* MARK: Separator */
|
|
1016
1049
|
.spartan-separator {
|
|
1017
1050
|
@apply bg-border shrink-0;
|