@frame-ui-ng/components 0.1.0-beta.0 → 0.3.0-beta.0
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/accordion/src/styles/_vars.css +25 -25
- package/accordion/src/styles/accordion.css +105 -87
- package/alert/src/styles/_vars.css +28 -28
- package/badge/src/styles/_vars.css +19 -16
- package/badge/src/styles/badge.css +132 -125
- package/breadcrumb/src/styles/_vars.css +17 -16
- package/breadcrumb/src/styles/breadcrumb.css +110 -98
- package/button/src/styles/_vars.css +20 -20
- package/button/src/styles/button.css +66 -9
- package/button-group/src/styles/button-group.css +100 -69
- package/calendar/src/styles/_vars.css +29 -29
- package/calendar/src/styles/calendar.css +247 -226
- package/card/src/styles/_vars.css +17 -17
- package/checkbox/src/styles/_vars.css +22 -22
- package/collapsible/src/styles/collapsible.css +55 -42
- package/combobox/src/styles/_vars.css +61 -60
- package/combobox/src/styles/combobox.css +295 -285
- package/command/src/styles/_vars.css +47 -37
- package/command/src/styles/command.css +236 -171
- package/date-picker/src/styles/_vars.css +30 -29
- package/date-picker/src/styles/date-picker.css +203 -177
- package/dropdown-menu/src/styles/_vars.css +34 -34
- package/dropdown-menu/src/styles/dropdown-menu-item.css +87 -87
- package/fesm2022/frame-ui-ng-components-accordion.mjs +26 -11
- package/fesm2022/frame-ui-ng-components-accordion.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-badge.mjs +1 -0
- package/fesm2022/frame-ui-ng-components-badge.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-button.mjs +1 -1
- package/fesm2022/frame-ui-ng-components-button.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-calendar.mjs +369 -263
- package/fesm2022/frame-ui-ng-components-calendar.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-command.mjs +20 -2
- package/fesm2022/frame-ui-ng-components-command.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-date-picker.mjs +232 -226
- package/fesm2022/frame-ui-ng-components-date-picker.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs +45 -22
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-input.mjs +6 -3
- package/fesm2022/frame-ui-ng-components-input.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-select.mjs +6 -3
- package/fesm2022/frame-ui-ng-components-select.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-sidebar.mjs +47 -4
- package/fesm2022/frame-ui-ng-components-sidebar.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-toast.mjs +152 -142
- package/fesm2022/frame-ui-ng-components-toast.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-tooltip.mjs +263 -254
- package/fesm2022/frame-ui-ng-components-tooltip.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components.mjs +745 -531
- package/fesm2022/frame-ui-ng-components.mjs.map +1 -1
- package/input/src/styles/_vars.css +65 -65
- package/input/src/styles/input-group.css +164 -112
- package/input/src/styles/input.css +197 -163
- package/input-otp/src/styles/_vars.css +21 -21
- package/item/src/styles/_vars.css +34 -34
- package/menubar/src/styles/_vars.css +22 -22
- package/modal/src/styles/_vars.css +19 -18
- package/modal/src/styles/modal.css +202 -179
- package/navigation-menu/src/styles/_vars.css +45 -45
- package/package.json +12 -3
- package/pagination/src/styles/_vars.css +22 -22
- package/pagination/src/styles/pagination.css +158 -138
- package/progress/src/styles/_vars.css +15 -15
- package/radio-group/src/styles/_vars.css +29 -29
- package/radio-group/src/styles/radio-group.css +146 -137
- package/resizable/src/styles/_vars.css +20 -20
- package/select/src/styles/_vars.css +28 -28
- package/select/src/styles/select-trigger.css +109 -95
- package/separator/src/styles/_vars.css +9 -9
- package/sheet/src/styles/_vars.css +20 -18
- package/sheet/src/styles/sheet.css +220 -215
- package/sidebar/src/styles/sidebar.css +544 -531
- package/slider/src/styles/_vars.css +17 -17
- package/src/styles/blueprint.css +659 -0
- package/src/styles/components.css +47 -47
- package/styles/blueprint.css +659 -0
- package/styles/components.css +47 -47
- package/styles.css +49 -49
- package/switch/src/styles/_vars.css +34 -34
- package/switch/src/styles/switch.css +130 -131
- package/tabs/src/styles/_vars.css +23 -23
- package/textarea/src/styles/_vars.css +20 -20
- package/textarea/src/styles/textarea.css +62 -60
- package/toast/src/styles/_vars.css +48 -47
- package/toast/src/styles/toast.css +279 -314
- package/toggle/src/styles/_vars.css +24 -24
- package/tooltip/src/styles/_vars.css +21 -21
- package/tooltip/src/styles/tooltip.css +99 -103
- package/types/frame-ui-ng-components-accordion.d.ts +3 -1
- package/types/frame-ui-ng-components-badge.d.ts +2 -2
- package/types/frame-ui-ng-components-calendar.d.ts +14 -0
- package/types/frame-ui-ng-components-command.d.ts +7 -2
- package/types/frame-ui-ng-components-context-menu.d.ts +2 -2
- package/types/frame-ui-ng-components-date-picker.d.ts +3 -1
- package/types/frame-ui-ng-components-dropdown-menu.d.ts +3 -3
- package/types/frame-ui-ng-components-input.d.ts +6 -3
- package/types/frame-ui-ng-components-select.d.ts +6 -3
- package/types/frame-ui-ng-components-sidebar.d.ts +8 -1
- package/types/frame-ui-ng-components-tooltip.d.ts +43 -73
- package/types/frame-ui-ng-components.d.ts +91 -55
- package/virtual-scroll/src/styles/virtual-scroll.css +54 -54
|
@@ -1,37 +1,47 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--frame-command-bg: var(--frame-surface);
|
|
3
|
-
--frame-command-color: var(--frame-surface-foreground);
|
|
4
|
-
--frame-command-border: var(--frame-border);
|
|
5
|
-
--frame-command-radius:
|
|
6
|
-
--frame-command-shadow:
|
|
7
|
-
--frame-command-input-height:
|
|
8
|
-
--frame-command-input-padding-inline:
|
|
9
|
-
--frame-command-input-border: var(--frame-border);
|
|
10
|
-
--frame-command-input-color: var(--frame-foreground);
|
|
11
|
-
--frame-command-input-placeholder-color: var(--frame-muted-foreground);
|
|
12
|
-
--frame-command-list-max-height: 20rem;
|
|
13
|
-
--frame-command-list-padding: 0.
|
|
14
|
-
--frame-command-list-gap: 0.
|
|
15
|
-
--frame-command-empty-padding: 2.25rem 1rem;
|
|
16
|
-
--frame-command-empty-color: var(--frame-muted-foreground);
|
|
17
|
-
--frame-command-group-heading-padding: 0.
|
|
18
|
-
--frame-command-group-heading-color: var(--frame-muted-foreground);
|
|
19
|
-
--frame-command-group-heading-font-size: 0.75rem;
|
|
20
|
-
--frame-command-group-heading-font-weight: 650;
|
|
21
|
-
--frame-command-item-height: 2.
|
|
22
|
-
--frame-command-item-gap: 0.625rem;
|
|
23
|
-
--frame-command-item-padding: 0.
|
|
24
|
-
--frame-command-item-radius:
|
|
25
|
-
--frame-command-item-font-size: 0.875rem;
|
|
26
|
-
--frame-command-item-highlighted-bg: var(--frame-accent);
|
|
27
|
-
--frame-command-item-highlighted-color: var(--frame-accent-foreground);
|
|
28
|
-
--frame-command-item-disabled-opacity: 0.5;
|
|
29
|
-
--frame-command-item-icon-size: 1rem;
|
|
30
|
-
--frame-command-shortcut-color: var(--frame-muted-foreground);
|
|
31
|
-
--frame-command-shortcut-font-size: 0.75rem;
|
|
32
|
-
--frame-command-separator-bg: var(--frame-border);
|
|
33
|
-
--frame-command-separator-margin: 0.
|
|
34
|
-
--frame-command-
|
|
35
|
-
--frame-command-
|
|
36
|
-
--frame-command-
|
|
37
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--frame-command-bg: var(--frame-surface);
|
|
3
|
+
--frame-command-color: var(--frame-surface-foreground);
|
|
4
|
+
--frame-command-border: var(--frame-border);
|
|
5
|
+
--frame-command-radius: 0px;
|
|
6
|
+
--frame-command-shadow: none;
|
|
7
|
+
--frame-command-input-height: 2.875rem;
|
|
8
|
+
--frame-command-input-padding-inline: 0.875rem;
|
|
9
|
+
--frame-command-input-border: var(--frame-border);
|
|
10
|
+
--frame-command-input-color: var(--frame-foreground);
|
|
11
|
+
--frame-command-input-placeholder-color: var(--frame-muted-foreground);
|
|
12
|
+
--frame-command-list-max-height: 20rem;
|
|
13
|
+
--frame-command-list-padding: 0.625rem 0.75rem 0;
|
|
14
|
+
--frame-command-list-gap: 0.125rem;
|
|
15
|
+
--frame-command-empty-padding: 2.25rem 1rem;
|
|
16
|
+
--frame-command-empty-color: var(--frame-muted-foreground);
|
|
17
|
+
--frame-command-group-heading-padding: 0.375rem 0 0.3125rem;
|
|
18
|
+
--frame-command-group-heading-color: var(--frame-muted-foreground);
|
|
19
|
+
--frame-command-group-heading-font-size: 0.75rem;
|
|
20
|
+
--frame-command-group-heading-font-weight: 650;
|
|
21
|
+
--frame-command-item-height: 2.125rem;
|
|
22
|
+
--frame-command-item-gap: 0.625rem;
|
|
23
|
+
--frame-command-item-padding: 0.375rem;
|
|
24
|
+
--frame-command-item-radius: 0px;
|
|
25
|
+
--frame-command-item-font-size: 0.875rem;
|
|
26
|
+
--frame-command-item-highlighted-bg: var(--frame-accent);
|
|
27
|
+
--frame-command-item-highlighted-color: var(--frame-accent-foreground);
|
|
28
|
+
--frame-command-item-disabled-opacity: 0.5;
|
|
29
|
+
--frame-command-item-icon-size: 1rem;
|
|
30
|
+
--frame-command-shortcut-color: var(--frame-muted-foreground);
|
|
31
|
+
--frame-command-shortcut-font-size: 0.75rem;
|
|
32
|
+
--frame-command-separator-bg: var(--frame-border);
|
|
33
|
+
--frame-command-separator-margin: 0.5rem 0;
|
|
34
|
+
--frame-command-footer-border: var(--frame-frame-line-muted, var(--frame-border));
|
|
35
|
+
--frame-command-footer-color: var(--frame-muted-foreground);
|
|
36
|
+
--frame-command-footer-font-size: 0.8125rem;
|
|
37
|
+
--frame-command-footer-gap: 0.75rem;
|
|
38
|
+
--frame-command-footer-padding: 0.625rem 0 0;
|
|
39
|
+
--frame-command-footer-margin: 0.625rem 0 0;
|
|
40
|
+
--frame-command-footer-key-bg: var(--frame-muted);
|
|
41
|
+
--frame-command-footer-key-border: var(--frame-frame-line-muted, var(--frame-border));
|
|
42
|
+
--frame-command-footer-key-color: var(--frame-foreground);
|
|
43
|
+
--frame-command-footer-key-font-size: 0.75rem;
|
|
44
|
+
--frame-command-backdrop-bg: rgb(0 0 0 / 0.42);
|
|
45
|
+
--frame-command-backdrop-blur: 3px;
|
|
46
|
+
--frame-command-dialog-z-index: 1000;
|
|
47
|
+
}
|
|
@@ -1,171 +1,236 @@
|
|
|
1
|
-
@import './_vars.css';
|
|
2
|
-
|
|
3
|
-
[frCommand],
|
|
4
|
-
frame-command {
|
|
5
|
-
display: flex;
|
|
6
|
-
width: 100%;
|
|
7
|
-
min-width: 0;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
border: 1px solid var(--frame-command-border, var(--frame-border));
|
|
11
|
-
border-radius: var(--frame-command-radius, var(--frame-radius-lg));
|
|
12
|
-
background: var(--frame-command-bg, var(--frame-surface));
|
|
13
|
-
box-shadow: var(--frame-command-shadow, none);
|
|
14
|
-
color: var(--frame-command-color, var(--frame-surface-foreground));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
border
|
|
23
|
-
background: transparent;
|
|
24
|
-
color: var(--frame-command-input-color, var(--frame-foreground));
|
|
25
|
-
font: inherit;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
[frCommandInput]:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
[
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
[
|
|
76
|
-
display: flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
gap:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
background: var(--frame-command-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
1
|
+
@import './_vars.css';
|
|
2
|
+
|
|
3
|
+
[frCommand],
|
|
4
|
+
frame-command {
|
|
5
|
+
display: flex;
|
|
6
|
+
width: 100%;
|
|
7
|
+
min-width: 0;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
border: 1px solid var(--frame-command-border, var(--frame-border));
|
|
11
|
+
border-radius: var(--frame-command-radius, var(--frame-radius-lg));
|
|
12
|
+
background: var(--frame-command-bg, var(--frame-surface));
|
|
13
|
+
box-shadow: var(--frame-command-shadow, none);
|
|
14
|
+
color: var(--frame-command-color, var(--frame-surface-foreground));
|
|
15
|
+
padding: 0.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[frCommandInput] {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
inline-size: 100%;
|
|
21
|
+
min-block-size: var(--frame-command-input-height, 2.75rem);
|
|
22
|
+
border: 1px solid var(--frame-command-input-border, var(--frame-border));
|
|
23
|
+
background: transparent;
|
|
24
|
+
color: var(--frame-command-input-color, var(--frame-foreground));
|
|
25
|
+
font: inherit;
|
|
26
|
+
font-size: var(--frame-command-input-font-size, 0.875rem);
|
|
27
|
+
outline: none;
|
|
28
|
+
padding-inline: var(--frame-command-input-padding-inline, 0.875rem);
|
|
29
|
+
transition:
|
|
30
|
+
border-color 140ms ease,
|
|
31
|
+
box-shadow 140ms ease;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[frCommandInput]:focus-visible {
|
|
35
|
+
border-color: var(--frame-frame-accent, var(--frame-ring));
|
|
36
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--frame-frame-accent, var(--frame-ring)) 22%, transparent);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[frCommandInput]::placeholder {
|
|
40
|
+
color: var(--frame-command-input-placeholder-color, var(--frame-muted-foreground));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[frCommandInput]:disabled {
|
|
44
|
+
cursor: not-allowed;
|
|
45
|
+
opacity: 0.65;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[frCommandList] {
|
|
49
|
+
display: grid;
|
|
50
|
+
gap: var(--frame-command-list-gap, 0.25rem);
|
|
51
|
+
max-block-size: var(--frame-command-list-max-height, 20rem);
|
|
52
|
+
min-block-size: 0;
|
|
53
|
+
overflow: auto;
|
|
54
|
+
overscroll-behavior: contain;
|
|
55
|
+
padding: var(--frame-command-list-padding, 0.625rem 0 0);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[frCommandEmpty] {
|
|
59
|
+
color: var(--frame-command-empty-color, var(--frame-muted-foreground));
|
|
60
|
+
font-size: 0.875rem;
|
|
61
|
+
padding: var(--frame-command-empty-padding, 2.25rem 1rem);
|
|
62
|
+
text-align: center;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[frCommandGroup] {
|
|
66
|
+
display: grid;
|
|
67
|
+
gap: var(--frame-command-list-gap, 0.25rem);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[frCommandGroup][data-hidden],
|
|
71
|
+
[frCommandItem][data-hidden] {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[frCommandGroupHeading] {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: 0.5rem;
|
|
79
|
+
color: var(--frame-command-group-heading-color, var(--frame-muted-foreground));
|
|
80
|
+
font-family: var(--frame-font-mono, ui-monospace, SFMono-Regular, Consolas, monospace), sans-serif;
|
|
81
|
+
font-size: var(--frame-command-group-heading-font-size, 0.75rem);
|
|
82
|
+
font-weight: var(--frame-command-group-heading-font-weight, 650);
|
|
83
|
+
letter-spacing: 0;
|
|
84
|
+
padding: var(--frame-command-group-heading-padding, 0.5rem 0 0.375rem);
|
|
85
|
+
text-transform: uppercase;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[frCommandGroupHeading]::after {
|
|
89
|
+
display: block;
|
|
90
|
+
flex: 1 1 auto;
|
|
91
|
+
block-size: 1px;
|
|
92
|
+
background: var(--frame-frame-line-muted, var(--frame-border));
|
|
93
|
+
content: "";
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[frCommandItem] {
|
|
97
|
+
position: relative;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
gap: var(--frame-command-item-gap, 0.625rem);
|
|
101
|
+
inline-size: 100%;
|
|
102
|
+
min-block-size: var(--frame-command-item-height, 2.5rem);
|
|
103
|
+
border: 1px solid transparent;
|
|
104
|
+
border-radius: var(--frame-command-item-radius, var(--frame-radius-md));
|
|
105
|
+
background: transparent;
|
|
106
|
+
color: inherit;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
font: inherit;
|
|
109
|
+
font-size: var(--frame-command-item-font-size, 0.875rem);
|
|
110
|
+
line-height: 1.2;
|
|
111
|
+
padding: var(--frame-command-item-padding, 0.5rem 0.625rem);
|
|
112
|
+
text-align: start;
|
|
113
|
+
transition:
|
|
114
|
+
background-color 140ms ease,
|
|
115
|
+
border-color 140ms ease,
|
|
116
|
+
color 140ms ease,
|
|
117
|
+
transform 140ms ease,
|
|
118
|
+
box-shadow 140ms ease;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[frCommandItem][data-highlighted],
|
|
122
|
+
[frCommandItem]:where(:not(:disabled, [data-disabled])):hover {
|
|
123
|
+
background: var(--frame-command-item-highlighted-bg, var(--frame-accent));
|
|
124
|
+
border-color: var(--frame-frame-line-muted, var(--frame-border));
|
|
125
|
+
color: var(--frame-command-item-highlighted-color, var(--frame-accent-foreground));
|
|
126
|
+
transform: translate(-1px, -1px);
|
|
127
|
+
box-shadow: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[frCommandItem]:where(:disabled, [data-disabled]) {
|
|
131
|
+
cursor: not-allowed;
|
|
132
|
+
opacity: var(--frame-command-item-disabled-opacity, 0.5);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[frCommandItemIcon] {
|
|
136
|
+
display: inline-flex;
|
|
137
|
+
inline-size: var(--frame-command-item-icon-size, 1rem);
|
|
138
|
+
block-size: var(--frame-command-item-icon-size, 1rem);
|
|
139
|
+
flex: 0 0 auto;
|
|
140
|
+
align-items: center;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
[frCommandShortcut] {
|
|
145
|
+
margin-inline-start: auto;
|
|
146
|
+
border: 1px solid var(--frame-frame-line-muted, var(--frame-border));
|
|
147
|
+
background: var(--frame-muted);
|
|
148
|
+
color: var(--frame-command-shortcut-color, var(--frame-muted-foreground));
|
|
149
|
+
font-family: var(--frame-font-mono, ui-monospace, SFMono-Regular, Consolas, monospace);
|
|
150
|
+
font-size: var(--frame-command-shortcut-font-size, 0.75rem);
|
|
151
|
+
letter-spacing: 0;
|
|
152
|
+
line-height: 1;
|
|
153
|
+
padding: 0.1875rem 0.3125rem;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
[frCommandSeparator] {
|
|
157
|
+
block-size: 1px;
|
|
158
|
+
margin: var(--frame-command-separator-margin, 0.5rem 0);
|
|
159
|
+
background: var(--frame-command-separator-bg, var(--frame-border));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
[frCommandFooter] {
|
|
163
|
+
display: flex;
|
|
164
|
+
flex-wrap: wrap;
|
|
165
|
+
align-items: center;
|
|
166
|
+
justify-content: space-around;
|
|
167
|
+
gap: var(--frame-command-footer-gap, 0.75rem);
|
|
168
|
+
border-block-start: 1px solid var(--frame-command-footer-border, var(--frame-border));
|
|
169
|
+
color: var(--frame-command-footer-color, var(--frame-muted-foreground));
|
|
170
|
+
font-size: var(--frame-command-footer-font-size, 0.8125rem);
|
|
171
|
+
margin: var(--frame-command-footer-margin, 0.625rem 0 0);
|
|
172
|
+
padding: var(--frame-command-footer-padding, 0.625rem 0 0);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
[frCommandFooter] span {
|
|
176
|
+
display: inline-flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: 0.375rem;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
[frCommandFooter] kbd {
|
|
182
|
+
border: 1px solid var(--frame-command-footer-key-border, var(--frame-border));
|
|
183
|
+
background: var(--frame-command-footer-key-bg, var(--frame-muted));
|
|
184
|
+
color: var(--frame-command-footer-key-color, var(--frame-foreground));
|
|
185
|
+
font-family: var(--frame-font-mono, ui-monospace, SFMono-Regular, Consolas, monospace);
|
|
186
|
+
font-size: var(--frame-command-footer-key-font-size, 0.75rem);
|
|
187
|
+
line-height: 1;
|
|
188
|
+
padding: 0.1875rem 0.3125rem;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.cdk-overlay-backdrop.frame-command-dialog__backdrop {
|
|
192
|
+
backdrop-filter: blur(var(--frame-command-backdrop-blur, 3px));
|
|
193
|
+
background: var(--frame-command-backdrop-bg, rgb(0 0 0 / 0.42));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.cdk-global-overlay-wrapper:has(.frame-command-dialog__overlay-pane) {
|
|
197
|
+
z-index: var(--frame-command-dialog-z-index, 1000);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.frame-command-dialog__overlay-pane {
|
|
201
|
+
inline-size: min(calc(100vw - 2rem), 48rem);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.frame-command-dialog__overlay-pane .cdk-dialog-container {
|
|
205
|
+
display: contents;
|
|
206
|
+
outline: none;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.frame-command-dialog__overlay-pane .cdk-dialog-container > * {
|
|
210
|
+
display: block;
|
|
211
|
+
inline-size: 100%;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.frame-command-dialog__overlay-pane [frCommand],
|
|
215
|
+
.frame-command-dialog__overlay-pane frame-command {
|
|
216
|
+
animation: frame-command-dialog-enter 160ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@media (prefers-reduced-motion: reduce) {
|
|
220
|
+
.frame-command-dialog__overlay-pane [frCommand],
|
|
221
|
+
.frame-command-dialog__overlay-pane frame-command {
|
|
222
|
+
animation: none;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@keyframes frame-command-dialog-enter {
|
|
227
|
+
from {
|
|
228
|
+
opacity: 0;
|
|
229
|
+
transform: translateY(10px) scale(0.98);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
to {
|
|
233
|
+
opacity: 1;
|
|
234
|
+
transform: translateY(0) scale(1);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--frame-date-picker-trigger-height: 2.5rem;
|
|
3
|
-
--frame-date-picker-trigger-width: 17.5rem;
|
|
4
|
-
--frame-date-picker-trigger-padding: 0 0.75rem;
|
|
5
|
-
--frame-date-picker-trigger-gap: 0.5rem;
|
|
6
|
-
--frame-date-picker-trigger-radius: var(--frame-radius-md);
|
|
7
|
-
--frame-date-picker-trigger-bg: var(--frame-background);
|
|
8
|
-
--frame-date-picker-trigger-color: var(--frame-foreground);
|
|
9
|
-
--frame-date-picker-trigger-border: var(--frame-border);
|
|
10
|
-
--frame-date-picker-trigger-hover-border: color-mix(in srgb, var(--frame-ring) 42%, var(--frame-border));
|
|
11
|
-
--frame-date-picker-trigger-placeholder-color: var(--frame-muted-foreground);
|
|
12
|
-
--frame-date-picker-trigger-disabled-opacity: 0.5;
|
|
13
|
-
--frame-date-picker-trigger-invalid-border: var(--frame-destructive);
|
|
14
|
-
--frame-date-picker-trigger-focus-shadow:
|
|
15
|
-
--frame-date-picker-content-bg: var(--frame-surface);
|
|
16
|
-
--frame-date-picker-content-color: var(--frame-surface-foreground);
|
|
17
|
-
--frame-date-picker-content-border: var(--frame-border);
|
|
18
|
-
--frame-date-picker-content-radius: var(--frame-radius-lg);
|
|
19
|
-
--frame-date-picker-content-shadow: var(--frame-shadow-md);
|
|
20
|
-
--frame-date-picker-content-padding: 0.25rem;
|
|
21
|
-
--frame-date-picker-presets-border: var(--frame-border);
|
|
22
|
-
--frame-date-picker-preset-height: 2rem;
|
|
23
|
-
--frame-date-picker-preset-radius: var(--frame-radius-md);
|
|
24
|
-
--frame-date-picker-preset-hover-bg: var(--frame-muted);
|
|
25
|
-
--frame-date-picker-time-border: var(--frame-border);
|
|
26
|
-
--frame-date-picker-time-
|
|
27
|
-
--frame-date-picker-
|
|
28
|
-
--frame-date-picker-motion-
|
|
29
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--frame-date-picker-trigger-height: 2.5rem;
|
|
3
|
+
--frame-date-picker-trigger-width: 17.5rem;
|
|
4
|
+
--frame-date-picker-trigger-padding: 0 0.75rem;
|
|
5
|
+
--frame-date-picker-trigger-gap: 0.5rem;
|
|
6
|
+
--frame-date-picker-trigger-radius: var(--frame-radius-md);
|
|
7
|
+
--frame-date-picker-trigger-bg: var(--frame-background);
|
|
8
|
+
--frame-date-picker-trigger-color: var(--frame-foreground);
|
|
9
|
+
--frame-date-picker-trigger-border: var(--frame-border);
|
|
10
|
+
--frame-date-picker-trigger-hover-border: color-mix(in srgb, var(--frame-ring) 42%, var(--frame-border));
|
|
11
|
+
--frame-date-picker-trigger-placeholder-color: var(--frame-muted-foreground);
|
|
12
|
+
--frame-date-picker-trigger-disabled-opacity: 0.5;
|
|
13
|
+
--frame-date-picker-trigger-invalid-border: var(--frame-destructive);
|
|
14
|
+
--frame-date-picker-trigger-focus-shadow: none;
|
|
15
|
+
--frame-date-picker-content-bg: var(--frame-surface);
|
|
16
|
+
--frame-date-picker-content-color: var(--frame-surface-foreground);
|
|
17
|
+
--frame-date-picker-content-border: var(--frame-border);
|
|
18
|
+
--frame-date-picker-content-radius: var(--frame-radius-lg);
|
|
19
|
+
--frame-date-picker-content-shadow: var(--frame-shadow-md);
|
|
20
|
+
--frame-date-picker-content-padding: 0.25rem;
|
|
21
|
+
--frame-date-picker-presets-border: var(--frame-border);
|
|
22
|
+
--frame-date-picker-preset-height: 2rem;
|
|
23
|
+
--frame-date-picker-preset-radius: var(--frame-radius-md);
|
|
24
|
+
--frame-date-picker-preset-hover-bg: var(--frame-muted);
|
|
25
|
+
--frame-date-picker-time-border: var(--frame-border);
|
|
26
|
+
--frame-date-picker-time-input-radius: var(--frame-radius-md);
|
|
27
|
+
--frame-date-picker-time-padding: 0.75rem;
|
|
28
|
+
--frame-date-picker-motion-duration: 140ms;
|
|
29
|
+
--frame-date-picker-motion-easing: cubic-bezier(0.16, 1, 0.3, 1);
|
|
30
|
+
}
|