@fea-ui/styles 0.0.2 → 0.0.4
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 +22 -20
- package/src/components/accordion.css +25 -25
- package/src/components/alert-dialog.css +25 -25
- package/src/components/alert.css +14 -14
- package/src/components/autocomplete.css +24 -24
- package/src/components/avatar.css +6 -6
- package/src/components/button-group.css +8 -8
- package/src/components/button.css +33 -33
- package/src/components/card.css +8 -8
- package/src/components/checkbox-group.css +1 -1
- package/src/components/checkbox.css +19 -19
- package/src/components/chip.css +10 -10
- package/src/components/collapsible.css +20 -20
- package/src/components/combobox.css +25 -25
- package/src/components/container.css +1 -1
- package/src/components/context-menu.css +14 -14
- package/src/components/dialog.css +25 -25
- package/src/components/drawer.css +41 -41
- package/src/components/field.css +3 -3
- package/src/components/fieldset.css +3 -3
- package/src/components/form.css +1 -1
- package/src/components/input.css +18 -18
- package/src/components/label.css +3 -3
- package/src/components/link.css +8 -8
- package/src/components/list.css +1 -1
- package/src/components/menu.css +26 -26
- package/src/components/meter.css +18 -18
- package/src/components/navbar.css +11 -11
- package/src/components/navigation-menu.css +22 -22
- package/src/components/number-field.css +23 -23
- package/src/components/popover.css +27 -27
- package/src/components/preview-card.css +8 -8
- package/src/components/progress.css +18 -18
- package/src/components/radio.css +18 -18
- package/src/components/scroll-area.css +1 -1
- package/src/components/select.css +36 -36
- package/src/components/separator.css +3 -3
- package/src/components/sidebar.css +28 -28
- package/src/components/slider.css +11 -11
- package/src/components/spinner.css +8 -8
- package/src/components/switch.css +19 -19
- package/src/components/table.css +10 -10
- package/src/components/tabs.css +26 -26
- package/src/components/text.css +1 -1
- package/src/components/toggle-button.css +4 -4
- package/src/components/tooltip.css +26 -26
- package/src/styles.css +96 -96
package/src/components/meter.css
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.meter {
|
|
3
|
-
|
|
3
|
+
@apply grid grid-cols-2 items-center gap-1;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.meter__label {
|
|
7
|
-
|
|
7
|
+
@apply font-medium;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.meter__value {
|
|
11
|
-
|
|
11
|
+
@apply col-start-2 m-0 text-right text-sm leading-5;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.meter__track {
|
|
15
|
-
|
|
15
|
+
@apply col-span-2 block w-48 overflow-hidden rounded shadow-inner;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.meter__indicator {
|
|
19
|
-
|
|
19
|
+
@apply block rounded;
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
@apply transition-[width] motion-reduce:transition-none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/** Variants */
|
|
25
25
|
.meter--primary .meter__track {
|
|
26
|
-
|
|
26
|
+
@apply bg-primary/10;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.meter--primary .meter__indicator {
|
|
30
|
-
|
|
30
|
+
@apply bg-primary;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.meter--secondary .meter__track {
|
|
34
|
-
|
|
34
|
+
@apply bg-secondary/10;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.meter--secondary .meter__indicator {
|
|
38
|
-
|
|
38
|
+
@apply bg-secondary;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.meter--success .meter__track {
|
|
42
|
-
|
|
42
|
+
@apply bg-success/10;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.meter--success .meter__indicator {
|
|
46
|
-
|
|
46
|
+
@apply bg-success;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.meter--danger .meter__track {
|
|
50
|
-
|
|
50
|
+
@apply bg-danger/10;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.meter--danger .meter__indicator {
|
|
54
|
-
|
|
54
|
+
@apply bg-danger;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/** Sizes */
|
|
58
58
|
.meter--sm .meter__track {
|
|
59
|
-
|
|
59
|
+
@apply h-2;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.meter--sm .meter__label {
|
|
63
|
-
|
|
63
|
+
@apply text-sm;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.meter--md .meter__track {
|
|
67
|
-
|
|
67
|
+
@apply h-3;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.meter--lg .meter__track {
|
|
71
|
-
|
|
71
|
+
@apply h-4;
|
|
72
72
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.navbar {
|
|
3
|
-
|
|
3
|
+
@apply bg-surface/50 border-border relative z-50 flex h-(--navbar-height) w-full items-center justify-between border-b px-4 py-2;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.navbar__container {
|
|
7
|
-
|
|
7
|
+
@apply mx-auto flex w-full max-w-7xl items-center justify-between;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.navbar__content {
|
|
11
|
-
|
|
11
|
+
@apply flex items-center gap-2;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.navbar__toggle {
|
|
15
|
-
|
|
15
|
+
@apply md:hidden;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
svg {
|
|
18
|
+
@apply me-2 size-5;
|
|
19
|
+
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.navbar__list {
|
|
23
|
-
|
|
23
|
+
@apply flex items-center gap-4;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.navbar__list-item {
|
|
27
|
-
|
|
27
|
+
@apply list-none;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.navbar__menu {
|
|
31
|
-
|
|
31
|
+
@apply flex flex-col gap-1;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.navbar__menu-item {
|
|
35
|
-
|
|
35
|
+
@apply w-full list-none px-4 py-2;
|
|
36
36
|
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
.navigation-menu {
|
|
2
|
-
|
|
2
|
+
@apply min-w-max;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.navigation-menu__list {
|
|
6
|
-
|
|
6
|
+
@apply flex items-center gap-4;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.navigation-menu__trigger {
|
|
10
|
-
|
|
10
|
+
@apply cursor-pointer;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
@apply text-muted-foreground hover-safe:text-primary;
|
|
13
|
+
@apply flex items-center justify-center gap-1;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.navigation-menu__icon {
|
|
17
|
-
|
|
17
|
+
@apply transition-transform motion-reduce:transition-none;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
&[data-popup-open] {
|
|
20
|
+
@apply rotate-180;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
& svg {
|
|
24
|
+
@apply size-4;
|
|
25
|
+
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.navigation-menu__popup {
|
|
29
|
-
|
|
29
|
+
@apply bg-surface text-surface-foreground rounded border p-6 shadow;
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
@apply w-fit max-w-[calc(100vw-1rem)];
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
@apply transition-[scale,opacity] motion-reduce:transition-none;
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
&[data-starting-style],
|
|
36
|
+
&[data-ending-style] {
|
|
37
|
+
@apply scale-95 opacity-0;
|
|
38
|
+
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.navigation-menu__arrow {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
|
43
|
+
@apply bg-surface;
|
|
44
|
+
@apply relative -top-3 z-50 size-4;
|
|
45
45
|
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
.number-field {
|
|
2
|
-
|
|
2
|
+
@apply flex flex-col items-start gap-1;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.number-field__scrub-area {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
cursor: ew-resize;
|
|
7
|
+
@apply font-bold select-none;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.number-field__scrub-area-cursor {
|
|
11
|
-
|
|
11
|
+
filter: drop-shadow(0 1px 1px var(--color-primary));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.number-field__group {
|
|
15
|
-
|
|
15
|
+
@apply flex;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.number-field__input {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
@apply bg-input text-input-foreground hover-safe:bg-input/80 border-y shadow;
|
|
20
|
+
@apply h-10 w-fit px-3 py-2;
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
&:focus-visible {
|
|
23
|
+
@apply status-focused;
|
|
24
|
+
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.number-field__increment,
|
|
28
28
|
.number-field__decrement {
|
|
29
|
-
|
|
29
|
+
@apply cursor-pointer;
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
@apply bg-secondary text-secondary-foreground hover-safe:bg-secondary/80 border shadow;
|
|
32
|
+
@apply flex items-center justify-center;
|
|
33
|
+
@apply size-10 p-2;
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
&:first-of-type {
|
|
36
|
+
@apply rounded-l;
|
|
37
|
+
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
&:last-of-type {
|
|
40
|
+
@apply rounded-r;
|
|
41
|
+
}
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
&:focus-visible {
|
|
44
|
+
@apply status-focused;
|
|
45
|
+
}
|
|
46
46
|
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
.popover__positioner {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
width: var(--positioner-width);
|
|
3
|
+
max-width: var(--available-width);
|
|
4
|
+
height: var(--positioner-height);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.popover__popup {
|
|
8
|
-
|
|
8
|
+
@apply relative rounded px-3 py-2;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
@apply bg-overlay text-overlay-foreground shadow;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
@apply transition-[transform,scale] motion-reduce:transition-none;
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&[data-starting-style],
|
|
15
|
+
&[data-ending-style] {
|
|
16
|
+
@apply scale-90 opacity-0;
|
|
17
|
+
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.popover__arrow {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
|
22
|
+
@apply bg-overlay border-border absolute z-50 size-4;
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
&[data-side="top"] {
|
|
25
|
+
@apply -bottom-2 rotate-180;
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
&[data-side="right"] {
|
|
29
|
+
@apply -start-3 rotate-90;
|
|
30
|
+
}
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
&[data-side="bottom"] {
|
|
33
|
+
@apply -top-2;
|
|
34
|
+
}
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
&[data-side="left"] {
|
|
37
|
+
@apply -end-3 -rotate-90;
|
|
38
|
+
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.popover__title {
|
|
42
|
-
|
|
42
|
+
@apply font-medium;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.popover__description {
|
|
46
|
-
|
|
46
|
+
@apply text-muted-foreground text-sm;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.popover__close {
|
|
50
|
-
|
|
50
|
+
@apply absolute end-0 top-0 m-1;
|
|
51
51
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.preview-card__positioner {
|
|
2
|
-
|
|
2
|
+
@apply outline-0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.preview-card__popup {
|
|
6
|
-
|
|
6
|
+
@apply bg-surface text-surface-foreground rounded border shadow;
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
@apply px-3 py-2;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
@apply transition-[transform,scale,opacity] motion-reduce:transition-none;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
&[data-starting-style],
|
|
13
|
+
&[data-ending-style] {
|
|
14
|
+
@apply scale-90 opacity-0;
|
|
15
|
+
}
|
|
16
16
|
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.progress {
|
|
3
|
-
|
|
3
|
+
@apply grid grid-cols-2 items-center gap-1;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.progress__label {
|
|
7
|
-
|
|
7
|
+
@apply font-medium;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.progress__value {
|
|
11
|
-
|
|
11
|
+
@apply col-start-2 m-0 text-right text-sm leading-5;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.progress__track {
|
|
15
|
-
|
|
15
|
+
@apply col-span-2 block w-48 overflow-hidden rounded shadow-inner;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.progress__indicator {
|
|
19
|
-
|
|
19
|
+
@apply block rounded;
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
@apply transition-[width] motion-reduce:transition-none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/** Variants */
|
|
25
25
|
.progress--primary .progress__track {
|
|
26
|
-
|
|
26
|
+
@apply bg-primary/10;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.progress--primary .progress__indicator {
|
|
30
|
-
|
|
30
|
+
@apply bg-primary;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.progress--secondary .progress__track {
|
|
34
|
-
|
|
34
|
+
@apply bg-secondary/10;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.progress--secondary .progress__indicator {
|
|
38
|
-
|
|
38
|
+
@apply bg-secondary;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.progress--success .progress__track {
|
|
42
|
-
|
|
42
|
+
@apply bg-success/10;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.progress--success .progress__indicator {
|
|
46
|
-
|
|
46
|
+
@apply bg-success;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.progress--danger .progress__track {
|
|
50
|
-
|
|
50
|
+
@apply bg-danger/10;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.progress--danger .progress__indicator {
|
|
54
|
-
|
|
54
|
+
@apply bg-danger;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/** Sizes */
|
|
58
58
|
.progress--sm .progress__track {
|
|
59
|
-
|
|
59
|
+
@apply h-2;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.progress--sm .progress__label {
|
|
63
|
-
|
|
63
|
+
@apply text-sm;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.progress--md .progress__track {
|
|
67
|
-
|
|
67
|
+
@apply h-3;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.progress--lg .progress__track {
|
|
71
|
-
|
|
71
|
+
@apply h-4;
|
|
72
72
|
}
|
package/src/components/radio.css
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
.radio__group {
|
|
2
|
-
|
|
2
|
+
@apply flex flex-col gap-4;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.radio {
|
|
6
|
-
|
|
6
|
+
@apply flex size-5 items-center justify-center rounded-full;
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
&[data-unchecked] {
|
|
9
|
+
@apply border-border bg-secondary;
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
&[data-checked] {
|
|
13
|
+
@apply border-primary bg-primary;
|
|
14
|
+
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
&:focus-visible {
|
|
17
|
+
@apply status-focused;
|
|
18
|
+
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.radio__indicator {
|
|
22
|
-
|
|
22
|
+
@apply flex items-center justify-center;
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
&[data-unchecked] {
|
|
25
|
+
@apply hidden;
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
&::before {
|
|
29
|
+
@apply bg-background block size-2 rounded-full content-[''];
|
|
30
|
+
}
|
|
31
31
|
}
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
.select__trigger {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
@apply cursor-pointer;
|
|
3
|
+
@apply bg-input text-input-foreground hover-safe:bg-input/80;
|
|
4
|
+
@apply border-border rounded border;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
@apply flex items-center justify-between gap-2;
|
|
7
|
+
@apply h-10 w-fit min-w-56 px-3 py-2;
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
&:focus-visible {
|
|
10
|
+
@apply status-focused;
|
|
11
|
+
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.select__icon {
|
|
15
|
-
|
|
15
|
+
@apply flex;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
& svg {
|
|
18
|
+
@apply text-muted-foreground size-4;
|
|
19
|
+
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.select__positioner {
|
|
23
|
-
|
|
23
|
+
@apply z-10 outline-none select-none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.select__popup {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
min-width: var(--anchor-width);
|
|
28
|
+
transform-origin: var(--transform-origin);
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
@apply bg-surface text-surface-foreground border-border rounded shadow;
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
@apply fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 px-3 py-3;
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
@apply transition-[scale,opacity] motion-reduce:transition-none;
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
&[data-starting-style],
|
|
37
|
+
&[data-ending-style] {
|
|
38
|
+
@apply scale-95 opacity-0;
|
|
39
|
+
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.select__list {
|
|
43
|
-
|
|
43
|
+
@apply max-h-56 scroll-pb-6 overflow-y-auto;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.select__item {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
@apply flex items-center gap-2 outline-0;
|
|
48
|
+
@apply cursor-pointer select-none;
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
@apply rounded px-2 py-1;
|
|
51
|
+
@apply hover-safe:bg-primary hover-safe:text-primary-foreground;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.select__item-indicator {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
& svg {
|
|
56
|
+
@apply block size-4;
|
|
57
|
+
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.select__value {
|
|
61
|
-
|
|
61
|
+
@apply flex-1 overflow-hidden text-left text-ellipsis whitespace-nowrap;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.select__group {
|
|
65
|
-
|
|
65
|
+
@apply overflow-hidden;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.select__group-label {
|
|
69
|
-
|
|
69
|
+
@apply text-muted-foreground px-2 py-1 text-sm font-medium;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.autocomplete__separator {
|
|
73
|
-
|
|
73
|
+
@apply bg-border my-2 h-px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.select__backdrop {
|
|
77
|
-
|
|
77
|
+
@apply fixed inset-0 z-0;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.select__arrow {
|
|
81
|
-
|
|
81
|
+
@apply hidden;
|
|
82
82
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.separator {
|
|
3
|
-
|
|
3
|
+
@apply border;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.separator--horizontal {
|
|
7
|
-
|
|
7
|
+
@apply my-2 h-px w-full;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.separator--vertical {
|
|
11
|
-
|
|
11
|
+
@apply mx-2 h-full w-px;
|
|
12
12
|
}
|