@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/chip.css
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.chip {
|
|
3
|
-
|
|
3
|
+
@apply inline-flex items-center justify-center gap-2 rounded-full border px-2 font-medium text-nowrap;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.chip--sm {
|
|
7
|
-
|
|
7
|
+
@apply h-4 text-sm;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.chip--md {
|
|
11
|
-
|
|
11
|
+
@apply h-6;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.chip--lg {
|
|
15
|
-
|
|
15
|
+
@apply h-8;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.chip--primary {
|
|
19
|
-
|
|
19
|
+
@apply bg-primary text-primary-foreground;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.chip--secondary {
|
|
23
|
-
|
|
23
|
+
@apply bg-secondary text-secondary-foreground;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.chip--outline {
|
|
27
|
-
|
|
27
|
+
@apply bg-transparent;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.chip--danger {
|
|
31
|
-
|
|
31
|
+
@apply bg-danger text-danger-foreground;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.chip--ghost {
|
|
35
|
-
|
|
35
|
+
@apply border-none bg-transparent;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.chip--success {
|
|
39
|
-
|
|
39
|
+
@apply bg-success text-success-foreground;
|
|
40
40
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
.collapsible {
|
|
2
|
-
|
|
2
|
+
@apply bg-surface text-surface-foreground w-full rounded-md border;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.collapsible__trigger {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
@apply flex w-full items-center justify-between px-4 py-3 font-medium;
|
|
7
|
+
@apply hover-safe:bg-secondary/10 transition-all;
|
|
8
|
+
@apply ring-offset-surface focus-visible:ring-ring outline-none focus-visible:ring-2 focus-visible:ring-offset-2;
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
&[data-disabled] {
|
|
11
|
+
@apply status-disabled;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
& .collapsible__trigger-icon {
|
|
15
|
+
@apply text-muted-foreground transition-transform duration-200;
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
&[data-state="open"] .collapsible__trigger-icon {
|
|
19
|
+
@apply rotate-180;
|
|
20
|
+
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.collapsible__panel {
|
|
24
|
-
|
|
24
|
+
height: var(--collapsible-panel-height);
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
@apply overflow-hidden text-sm;
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
@apply transition-[height] motion-reduce:transition-none;
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
@starting-style {
|
|
31
|
+
@apply h-0;
|
|
32
|
+
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.collapsible__content {
|
|
36
|
-
|
|
36
|
+
@apply px-3 py-2;
|
|
37
37
|
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
.combobox__input {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
@apply bg-input text-input-foreground hover-safe:bg-input/80 rounded border shadow;
|
|
3
|
+
@apply h-10 w-fit px-3 py-2;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
&::placeholder {
|
|
6
|
+
@apply text-muted-foreground;
|
|
7
|
+
}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
&:focus-visible {
|
|
10
|
+
@apply status-focused;
|
|
11
|
+
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.combobox__positioner {
|
|
15
|
-
|
|
15
|
+
@apply outline-0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.combobox__popup {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
width: var(--anchor-width);
|
|
20
|
+
max-width: var(--available-width);
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
@apply bg-surface text-surface-foreground rounded border shadow;
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
@apply px-3 py-2;
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
@apply transition-[scale,opacity] motion-reduce:transition-none;
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
&[data-starting-style],
|
|
29
|
+
&[data-ending-style] {
|
|
30
|
+
@apply scale-95 opacity-0;
|
|
31
|
+
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.combobox__list {
|
|
35
|
-
|
|
35
|
+
@apply max-h-56 scroll-p-2 overflow-y-auto overscroll-contain;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.combobox__item {
|
|
39
|
-
|
|
39
|
+
@apply cursor-pointer;
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
@apply flex items-center gap-2;
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
@apply hover-safe:bg-primary hover-safe:text-primary-foreground;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
@apply rounded px-2 py-1;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.combobox__separator {
|
|
49
|
-
|
|
49
|
+
@apply bg-border my-2 h-px;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.autocomplete__empty {
|
|
53
|
-
|
|
53
|
+
@apply text-muted-foreground px-2 py-1 text-sm;
|
|
54
54
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
.context-menu__trigger {
|
|
2
|
-
|
|
2
|
+
@apply select-none;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.context-menu__positioner {
|
|
6
|
-
|
|
6
|
+
@apply outline-0;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.context-menu__popup {
|
|
10
|
-
|
|
10
|
+
transform-origin: var(--transform-origin);
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
@apply bg-surface text-surface-foreground rounded border p-3 shadow;
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
@apply transition-[transform,scale,opacity] motion-reduce:transition-none;
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
&[data-starting-style],
|
|
17
|
+
&[data-ending-style] {
|
|
18
|
+
@apply scale-90 opacity-0;
|
|
19
|
+
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.context-menu__item {
|
|
23
|
-
|
|
23
|
+
@apply cursor-pointer;
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
@apply flex items-center gap-2;
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
@apply hover-safe:bg-primary hover-safe:text-primary-foreground;
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
@apply rounded px-2 py-1;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.context-menu__separator {
|
|
33
|
-
|
|
33
|
+
@apply bg-border my-2 h-px;
|
|
34
34
|
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
|
|
3
3
|
.dialog__backdrop {
|
|
4
|
-
|
|
4
|
+
@apply fixed inset-0 bg-black/50 opacity-20 backdrop-blur-sm;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
@apply transition-opacity motion-reduce:transition-none;
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
&[data-starting-style],
|
|
9
|
+
&[data-ending-style] {
|
|
10
|
+
@apply opacity-0;
|
|
11
|
+
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.dialog__popup {
|
|
15
|
-
|
|
15
|
+
@apply bg-surface text-surface-foreground rounded border p-6 shadow;
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
@apply w-96 max-w-[calc(100vw-1rem)];
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
@apply fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2;
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
@apply transition-[scale,opacity] motion-reduce:transition-none;
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
&[data-starting-style],
|
|
24
|
+
&[data-ending-style] {
|
|
25
|
+
@apply scale-95 opacity-0;
|
|
26
|
+
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.dialog__title {
|
|
30
|
-
|
|
30
|
+
@apply text-lg font-semibold;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.dialog__description {
|
|
34
|
-
|
|
34
|
+
@apply text-muted-foreground text-sm;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.dialog__close {
|
|
38
|
-
|
|
38
|
+
@apply cursor-pointer;
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
@apply absolute top-0 right-0 m-2;
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
svg {
|
|
43
|
+
@apply text-muted-foreground size-5;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
@apply transition-colors motion-reduce:transition-none;
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
&:hover {
|
|
48
|
+
@apply text-foreground;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
51
|
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
.drawer__backdrop {
|
|
2
|
-
|
|
2
|
+
@apply fixed inset-0 bg-black/50 opacity-50;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
@apply transition-opacity motion-reduce:transition-none;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
&[data-starting-style],
|
|
7
|
+
&[data-ending-style] {
|
|
8
|
+
@apply opacity-0;
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.drawer__popup {
|
|
13
|
-
|
|
13
|
+
@apply fixed z-50 p-3;
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
@apply bg-surface text-surface-foreground shadow;
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
@apply transition-[translate] motion-reduce:transition-none;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.drawer__title {
|
|
21
|
-
|
|
21
|
+
@apply text-lg font-medium;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.drawer__description {
|
|
25
|
-
|
|
25
|
+
@apply text-muted-foreground text-sm;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.drawer__close {
|
|
29
|
-
|
|
29
|
+
@apply cursor-pointer;
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
@apply absolute end-0 top-0 m-3 rounded-full;
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
@apply text-muted-foreground;
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
@apply transition-colors motion-reduce:transition-none;
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
&:hover {
|
|
38
|
+
@apply bg-secondary/10;
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
&:focus {
|
|
42
|
+
@apply outline-none;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -48,37 +48,37 @@
|
|
|
48
48
|
*/
|
|
49
49
|
|
|
50
50
|
.drawer--right.drawer__popup {
|
|
51
|
-
|
|
51
|
+
@apply end-0 top-0 h-full w-96 max-w-[calc(100vw-2rem)] rounded-l;
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
&[data-starting-style],
|
|
54
|
+
&[data-ending-style] {
|
|
55
|
+
@apply translate-x-full;
|
|
56
|
+
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.drawer--left.drawer__popup {
|
|
60
|
-
|
|
60
|
+
@apply start-0 top-0 h-full w-96 max-w-[calc(100vw-2rem)] rounded-r;
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
&[data-starting-style],
|
|
63
|
+
&[data-ending-style] {
|
|
64
|
+
@apply -translate-x-full;
|
|
65
|
+
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.drawer--top.drawer__popup {
|
|
69
|
-
|
|
69
|
+
@apply start-0 top-0 h-96 w-full rounded-b;
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
&[data-starting-style],
|
|
72
|
+
&[data-ending-style] {
|
|
73
|
+
@apply -translate-y-full;
|
|
74
|
+
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.drawer--bottom.drawer__popup {
|
|
78
|
-
|
|
78
|
+
@apply start-0 bottom-0 h-96 w-full rounded-t;
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
&[data-starting-style],
|
|
81
|
+
&[data-ending-style] {
|
|
82
|
+
@apply translate-y-full;
|
|
83
|
+
}
|
|
84
84
|
}
|
package/src/components/field.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.field {
|
|
3
|
-
|
|
3
|
+
@apply flex flex-col gap-1;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.field__description {
|
|
7
|
-
|
|
7
|
+
@apply text-sm text-gray-500;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.field__error {
|
|
11
|
-
|
|
11
|
+
@apply text-sm text-red-600;
|
|
12
12
|
}
|
package/src/components/form.css
CHANGED
package/src/components/input.css
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
.input,
|
|
2
2
|
.textarea {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
@apply bg-input text-input-foreground rounded border;
|
|
4
|
+
@apply w-full px-3 py-2;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
@apply transition-[brightness] motion-reduce:transition-none;
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
&::placeholder {
|
|
9
|
+
@apply text-muted-foreground;
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
&[data-focused] {
|
|
13
|
+
@apply status-focused;
|
|
14
|
+
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
&:disabled {
|
|
17
|
+
@apply status-disabled;
|
|
18
|
+
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
&[data-invalid] {
|
|
21
|
+
@apply border-danger;
|
|
22
|
+
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.input--sm {
|
|
26
|
-
|
|
26
|
+
@apply h-8 text-sm;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.input--md {
|
|
30
|
-
|
|
30
|
+
@apply h-10;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.input--lg {
|
|
34
|
-
|
|
34
|
+
@apply h-12;
|
|
35
35
|
}
|
package/src/components/label.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.label {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
@apply inline-flex items-center gap-2;
|
|
4
|
+
@apply text-foreground leading-none font-medium;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
[data-required="true"] .label {
|
|
8
|
-
|
|
8
|
+
@apply after:text-danger after:ml-0.5 after:content-['*'];
|
|
9
9
|
}
|
package/src/components/link.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/** Base Styling */
|
|
2
2
|
.link {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
@apply text-muted-foreground hover-safe:text-primary;
|
|
4
|
+
@apply inline-flex items-center gap-1;
|
|
5
|
+
@apply transition-colors motion-reduce:transition-none;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
&svg {
|
|
8
|
+
@apply size-4;
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.link--underline {
|
|
13
|
-
|
|
13
|
+
@apply underline;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.link--no-underline {
|
|
17
|
-
|
|
17
|
+
@apply no-underline;
|
|
18
18
|
}
|
package/src/components/list.css
CHANGED
package/src/components/menu.css
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
.menu__positioner {
|
|
2
|
-
|
|
2
|
+
@apply outline-0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.menu__popup {
|
|
6
|
-
|
|
6
|
+
@apply rounded p-3;
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
@apply bg-overlay text-overlay-foreground shadow;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
@apply transition-[transform,scale] 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
|
}
|
|
17
17
|
|
|
18
18
|
.menu__arrow {
|
|
19
|
-
|
|
19
|
+
@apply text-overlay flex size-6;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
&[data-side="top"] {
|
|
22
|
+
@apply -bottom-3 rotate-180;
|
|
23
|
+
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
&[data-side="right"] {
|
|
26
|
+
@apply -start-3 rotate-90;
|
|
27
|
+
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
&[data-side="bottom"] {
|
|
30
|
+
@apply -top-3;
|
|
31
|
+
}
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
&[data-side="left"] {
|
|
34
|
+
@apply -end-3 -rotate-90;
|
|
35
|
+
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.menu__item {
|
|
39
|
-
|
|
39
|
+
@apply relative flex cursor-pointer items-center rounded px-3 py-2 text-sm leading-none select-none;
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
&:focus {
|
|
42
|
+
@apply bg-secondary text-secondary-foreground outline-none;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.autocomplete__separator {
|
|
47
|
-
|
|
47
|
+
@apply bg-border my-2 h-px;
|
|
48
48
|
}
|