@ecopages/radiant-ui 0.1.0-beta.0 → 0.1.0-beta.2
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 +4 -2
- package/dist/components/ui/alert/alert.css +56 -23
- package/dist/components/ui/breadcrumb/breadcrumb.css +85 -36
- package/dist/components/ui/carousel/carousel.css +465 -166
- package/dist/components/ui/checkbox/checkbox.css +196 -49
- package/dist/components/ui/combobox/combobox.css +213 -60
- package/dist/components/ui/dialog/dialog.css +176 -49
- package/dist/components/ui/disclosure/disclosure.css +228 -100
- package/dist/components/ui/feed/feed.css +30 -10
- package/dist/components/ui/field/field.css +18 -22
- package/dist/components/ui/form/form.css +7 -8
- package/dist/components/ui/grid/grid.css +172 -43
- package/dist/components/ui/input/input.css +126 -30
- package/dist/components/ui/label/label.css +20 -6
- package/dist/components/ui/listbox/listbox.css +137 -19
- package/dist/components/ui/menu-button/index.js +1 -1
- package/dist/components/ui/menu-button/index.js.map +4 -4
- package/dist/components/ui/menu-button/menu-button.css +158 -38
- package/dist/components/ui/menu-button/menu-button.script.d.ts +7 -7
- package/dist/components/ui/menubar/index.js +1 -1
- package/dist/components/ui/menubar/index.js.map +2 -2
- package/dist/components/ui/menubar/menubar.css +207 -39
- package/dist/components/ui/meter/meter.css +50 -13
- package/dist/components/ui/navigation-menu/navigation-menu.css +281 -85
- package/dist/components/ui/radio-group/radio-group.css +179 -40
- package/dist/components/ui/shared/floating-position.d.ts +37 -0
- package/dist/components/ui/shared/floating-position.test.d.ts +1 -0
- package/dist/components/ui/shared/placement.d.ts +2 -0
- package/dist/components/ui/sidebar/sidebar.css +407 -189
- package/dist/components/ui/slider/slider.css +220 -47
- package/dist/components/ui/spinbutton/spinbutton.css +65 -15
- package/dist/components/ui/switch/switch.css +164 -43
- package/dist/components/ui/tabs/tabs.css +145 -24
- package/dist/components/ui/textarea/textarea.css +128 -31
- package/dist/components/ui/toast/toast.css +388 -255
- package/dist/components/ui/toolbar/toolbar.css +118 -11
- package/dist/components/ui/tooltip/index.js +1 -1
- package/dist/components/ui/tooltip/index.js.map +4 -4
- package/dist/components/ui/tooltip/tooltip.css +119 -21
- package/dist/components/ui/tooltip/tooltip.script.d.ts +6 -6
- package/dist/components/ui/tree/tree.css +180 -49
- package/dist/components/ui/treegrid/treegrid.css +190 -72
- package/dist/components/ui/window-splitter/window-splitter.css +144 -31
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/styles/components/button.css +299 -113
- package/dist/styles/radiant-ui-core.css +828 -7
- package/dist/styles/radiant-ui.css +1497 -8
- package/dist/styles/styles.css +5830 -36
- package/dist/styles/tailwind.css +1607 -27
- package/dist/styles/themes/aurora.css +637 -15
- package/dist/styles/themes/default-compact-soft.css +580 -15
- package/dist/styles/themes/default.css +641 -2
- package/dist/styles/themes/glacier.css +637 -15
- package/dist/styles/tokens/colors/aurora.css +1 -73
- package/dist/styles/tokens/colors/basalt.css +1 -36
- package/dist/styles/tokens/colors/glacier.css +1 -45
- package/dist/styles/tokens/colors/palettes.css +1 -3
- package/dist/styles/tokens/elevation/default.css +11 -19
- package/dist/styles/tokens/elevation/flat.css +11 -19
- package/dist/styles/tokens/motion/default.css +6 -17
- package/dist/styles/tokens/motion/snappy.css +6 -17
- package/dist/styles/tokens/presets/colors/index.css +446 -4
- package/dist/styles/tokens/radius/default.css +17 -31
- package/dist/styles/tokens/radius/edgy.css +17 -32
- package/dist/styles/tokens/radius/sharp.css +20 -2
- package/dist/styles/tokens/radius/soft.css +17 -31
- package/dist/styles/tokens/semantic.css +445 -79
- package/dist/styles/tokens/spacing/compact.css +16 -21
- package/dist/styles/tokens/spacing/default.css +16 -21
- package/dist/styles/tokens/spacing/scale-bridge.css +1 -17
- package/dist/styles/tokens/spacing/wide.css +16 -21
- package/dist/styles/tokens/system.css +21 -33
- package/dist/styles/tokens/typography/default.css +23 -33
- package/package.json +5 -6
|
@@ -1,102 +1,110 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties;
|
|
3
3
|
rui-sidebar {
|
|
4
|
-
|
|
4
|
+
display: contents;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
/* -------------------------------------------------------------------------- */
|
|
8
|
-
/* Provider */
|
|
9
|
-
/* -------------------------------------------------------------------------- */
|
|
10
|
-
|
|
11
6
|
.rui-sidebar-provider {
|
|
12
|
-
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 100svh;
|
|
10
|
+
width: 100%;
|
|
11
|
+
min-width: 0px;
|
|
12
|
+
flex: 1;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
background-color: var(--color-background, var(--background));
|
|
13
15
|
}
|
|
14
|
-
|
|
15
16
|
.rui-sidebar-provider[data-layout='full'] {
|
|
16
|
-
|
|
17
|
+
background-color: transparent;
|
|
17
18
|
}
|
|
18
|
-
|
|
19
19
|
.rui-sidebar-provider:has(> rui-sidebar[data-mobile='true'][data-state='expanded']) {
|
|
20
|
-
|
|
20
|
+
overflow: hidden;
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
/* -------------------------------------------------------------------------- */
|
|
24
|
-
/* Host */
|
|
25
|
-
/* -------------------------------------------------------------------------- */
|
|
26
|
-
|
|
27
22
|
.rui-sidebar {
|
|
28
|
-
|
|
23
|
+
position: relative;
|
|
24
|
+
display: flex;
|
|
25
|
+
height: 100%;
|
|
26
|
+
min-width: 0px;
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
align-self: stretch;
|
|
29
|
+
background-color: var(--color-surface, var(--surface));
|
|
30
|
+
color: var(--color-on-background, var(--on-background));
|
|
29
31
|
}
|
|
30
|
-
|
|
31
32
|
.rui-sidebar[data-side='right'] {
|
|
32
|
-
|
|
33
|
+
flex-direction: row-reverse;
|
|
33
34
|
}
|
|
34
|
-
|
|
35
35
|
.rui-sidebar[data-variant='inset'] {
|
|
36
|
-
|
|
36
|
+
border-radius: var(--radius-lg, var(--border-radius-lg));
|
|
37
|
+
border-style: var(--tw-border-style);
|
|
38
|
+
border-width: 1px;
|
|
39
|
+
border-color: var(--color-border, var(--border));
|
|
40
|
+
background-color: var(--color-background, var(--background));
|
|
37
41
|
}
|
|
38
|
-
|
|
39
42
|
.rui-sidebar[data-state='collapsed'] {
|
|
40
|
-
|
|
43
|
+
min-width: 0px;
|
|
41
44
|
}
|
|
42
|
-
|
|
43
|
-
/* -------------------------------------------------------------------------- */
|
|
44
|
-
/* Pane */
|
|
45
|
-
/* -------------------------------------------------------------------------- */
|
|
46
|
-
|
|
47
45
|
.rui-sidebar__pane {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
display: flex;
|
|
47
|
+
height: 100%;
|
|
48
|
+
min-height: 0px;
|
|
49
|
+
min-width: 0px;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
transition: width var(--duration-normal) var(--ease-out);
|
|
53
|
+
width: var(--rui-sidebar-pane-width, 256px);
|
|
54
|
+
flex: 0 0 auto;
|
|
52
55
|
}
|
|
53
|
-
|
|
54
56
|
.rui-sidebar[data-state='collapsed'][data-collapsible='full'] > .rui-sidebar__pane,
|
|
55
57
|
.rui-sidebar[data-state='collapsed'][data-collapsible='off'] > .rui-sidebar__pane {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
width: 0px;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
opacity: 0;
|
|
58
61
|
}
|
|
59
|
-
|
|
60
62
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] > .rui-sidebar__pane {
|
|
61
|
-
|
|
63
|
+
align-items: center;
|
|
62
64
|
}
|
|
63
|
-
|
|
64
|
-
/* -------------------------------------------------------------------------- */
|
|
65
|
-
/* Resize handle */
|
|
66
|
-
/* -------------------------------------------------------------------------- */
|
|
67
|
-
|
|
68
65
|
.rui-sidebar__handle {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
cursor: col-resize;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
background-color: var(--color-border, var(--border));
|
|
72
|
+
padding: 0px;
|
|
73
|
+
--tw-outline-style: none;
|
|
74
|
+
outline-style: none;
|
|
75
|
+
@media (forced-colors: active) {
|
|
76
|
+
outline: 2px solid transparent;
|
|
77
|
+
outline-offset: 2px;
|
|
78
|
+
}
|
|
79
|
+
width: 6px;
|
|
80
|
+
transition: background-color var(--duration-fast) var(--ease-standard);
|
|
72
81
|
}
|
|
73
|
-
|
|
74
82
|
.rui-sidebar[data-side='right'] > .rui-sidebar__handle {
|
|
75
|
-
|
|
83
|
+
cursor: col-resize;
|
|
76
84
|
}
|
|
77
|
-
|
|
78
85
|
.rui-sidebar__handle:hover,
|
|
79
86
|
.rui-sidebar__handle:focus-visible {
|
|
80
|
-
|
|
87
|
+
background-color: var(--color-primary, var(--primary));
|
|
81
88
|
}
|
|
82
|
-
|
|
83
89
|
.rui-sidebar__handle:focus-visible {
|
|
84
|
-
|
|
90
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
91
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
92
|
+
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
85
93
|
}
|
|
86
|
-
|
|
87
94
|
.rui-sidebar__handle-grip {
|
|
88
|
-
|
|
95
|
+
display: block;
|
|
96
|
+
height: var(--spacing-8, var(--space-8));
|
|
97
|
+
width: calc(var(--spacing, 0.25rem) * 0.5);
|
|
98
|
+
border-radius: var(--radius-full, var(--border-radius-full));
|
|
99
|
+
background-color: var(--color-on-surface, var(--on-surface));
|
|
100
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
101
|
+
background-color: color-mix(in oklab, var(--color-on-surface, var(--on-surface)) 30%, transparent);
|
|
102
|
+
}
|
|
89
103
|
}
|
|
90
|
-
|
|
91
104
|
.rui-sidebar__handle:hover .rui-sidebar__handle-grip,
|
|
92
105
|
.rui-sidebar__handle:focus-visible .rui-sidebar__handle-grip {
|
|
93
|
-
|
|
106
|
+
background-color: var(--color-on-primary, var(--on-primary));
|
|
94
107
|
}
|
|
95
|
-
|
|
96
|
-
/* -------------------------------------------------------------------------- */
|
|
97
|
-
/* Pane internals */
|
|
98
|
-
/* -------------------------------------------------------------------------- */
|
|
99
|
-
|
|
100
108
|
.rui-sidebar__header,
|
|
101
109
|
.rui-sidebar__content,
|
|
102
110
|
.rui-sidebar__footer,
|
|
@@ -109,123 +117,232 @@ rui-sidebar {
|
|
|
109
117
|
.rui-sidebar__group-label,
|
|
110
118
|
.rui-sidebar__group-action,
|
|
111
119
|
.rui-sidebar__group-header {
|
|
112
|
-
|
|
120
|
+
box-sizing: border-box;
|
|
113
121
|
}
|
|
114
|
-
|
|
115
122
|
.rui-sidebar__header {
|
|
116
|
-
|
|
123
|
+
display: flex;
|
|
124
|
+
height: calc(var(--spacing, 0.25rem) * 14);
|
|
125
|
+
flex-shrink: 0;
|
|
126
|
+
flex-direction: row;
|
|
127
|
+
align-items: center;
|
|
128
|
+
gap: var(--spacing-2, var(--space-2));
|
|
129
|
+
border-bottom-style: var(--tw-border-style);
|
|
130
|
+
border-bottom-width: 1px;
|
|
131
|
+
border-color: var(--color-border, var(--border));
|
|
132
|
+
padding-inline: var(--spacing-3, var(--space-3));
|
|
117
133
|
}
|
|
118
|
-
|
|
119
134
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__header {
|
|
120
|
-
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
gap: var(--spacing-1, var(--space-1));
|
|
138
|
+
padding-inline: var(--spacing-1, var(--space-1));
|
|
139
|
+
padding-block: var(--spacing-2, var(--space-2));
|
|
121
140
|
}
|
|
122
|
-
|
|
123
141
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__brand {
|
|
124
|
-
|
|
142
|
+
width: 100%;
|
|
143
|
+
flex: none;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
gap: 0px;
|
|
125
146
|
}
|
|
126
|
-
|
|
127
147
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__brand-text {
|
|
128
|
-
|
|
148
|
+
display: none;
|
|
129
149
|
}
|
|
130
|
-
|
|
131
150
|
.rui-sidebar__content {
|
|
132
|
-
|
|
151
|
+
display: flex;
|
|
152
|
+
min-height: 0px;
|
|
153
|
+
flex: 1;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
gap: var(--spacing-4, var(--space-4));
|
|
156
|
+
overflow-y: auto;
|
|
157
|
+
padding: var(--spacing-3, var(--space-3));
|
|
133
158
|
}
|
|
134
|
-
|
|
135
159
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__content {
|
|
136
|
-
|
|
160
|
+
gap: var(--spacing-2, var(--space-2));
|
|
161
|
+
overflow-x: hidden;
|
|
162
|
+
padding-inline: var(--spacing-1, var(--space-1));
|
|
137
163
|
}
|
|
138
|
-
|
|
139
164
|
.rui-sidebar__footer {
|
|
140
|
-
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-shrink: 0;
|
|
167
|
+
flex-direction: column;
|
|
168
|
+
gap: var(--spacing-2, var(--space-2));
|
|
169
|
+
border-top-style: var(--tw-border-style);
|
|
170
|
+
border-top-width: 1px;
|
|
171
|
+
border-color: var(--color-border, var(--border));
|
|
172
|
+
padding: var(--spacing-3, var(--space-3));
|
|
141
173
|
}
|
|
142
|
-
|
|
143
174
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__footer {
|
|
144
|
-
|
|
175
|
+
align-items: center;
|
|
176
|
+
gap: var(--spacing-1, var(--space-1));
|
|
177
|
+
padding-inline: var(--spacing-1, var(--space-1));
|
|
178
|
+
padding-block: var(--spacing-2, var(--space-2));
|
|
145
179
|
}
|
|
146
|
-
|
|
147
180
|
.rui-sidebar__separator {
|
|
148
|
-
|
|
181
|
+
margin-inline: var(--spacing-2, var(--space-2));
|
|
182
|
+
margin-block: var(--spacing-1, var(--space-1));
|
|
183
|
+
border-style: var(--tw-border-style);
|
|
184
|
+
border-width: 0px;
|
|
185
|
+
border-top-style: var(--tw-border-style);
|
|
186
|
+
border-top-width: 1px;
|
|
187
|
+
border-color: var(--color-border, var(--border));
|
|
149
188
|
}
|
|
150
|
-
|
|
151
189
|
.rui-sidebar__group {
|
|
152
|
-
|
|
190
|
+
display: flex;
|
|
191
|
+
flex-direction: column;
|
|
192
|
+
gap: var(--spacing-1, var(--space-1));
|
|
153
193
|
}
|
|
154
|
-
|
|
155
194
|
.rui-sidebar__group-header {
|
|
156
|
-
|
|
195
|
+
display: flex;
|
|
196
|
+
align-items: center;
|
|
197
|
+
justify-content: space-between;
|
|
198
|
+
gap: var(--spacing-1, var(--space-1));
|
|
157
199
|
}
|
|
158
|
-
|
|
159
200
|
.rui-sidebar__group-label {
|
|
160
|
-
|
|
201
|
+
margin: 0px;
|
|
202
|
+
padding-inline: var(--spacing-2, var(--space-2));
|
|
203
|
+
font-size: var(--text-xs, var(--text-xs));
|
|
204
|
+
line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
205
|
+
--tw-font-weight: var(--font-weight-semibold, var(--weight-semibold));
|
|
206
|
+
font-weight: var(--font-weight-semibold, var(--weight-semibold));
|
|
207
|
+
--tw-tracking: var(--tracking-wide, 0.025em);
|
|
208
|
+
letter-spacing: var(--tracking-wide, 0.025em);
|
|
209
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
210
|
+
text-transform: uppercase;
|
|
161
211
|
}
|
|
162
|
-
|
|
163
212
|
.rui-sidebar__group-action {
|
|
164
|
-
|
|
165
|
-
|
|
213
|
+
display: inline-flex;
|
|
214
|
+
width: var(--spacing-6, var(--space-6));
|
|
215
|
+
height: var(--spacing-6, var(--space-6));
|
|
216
|
+
flex-shrink: 0;
|
|
217
|
+
cursor: pointer;
|
|
218
|
+
align-items: center;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
border-radius: var(--radius-md, var(--border-radius-md));
|
|
221
|
+
border-style: var(--tw-border-style);
|
|
222
|
+
border-width: 0px;
|
|
223
|
+
background-color: transparent;
|
|
224
|
+
padding: 0px;
|
|
225
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
226
|
+
transition: background-color var(--duration-fast) var(--ease-standard);
|
|
166
227
|
}
|
|
167
|
-
|
|
168
228
|
.rui-sidebar__group-action:hover {
|
|
169
|
-
|
|
229
|
+
background-color: var(--color-primary, var(--primary));
|
|
230
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
231
|
+
background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 10%, transparent);
|
|
232
|
+
}
|
|
170
233
|
}
|
|
171
|
-
|
|
172
234
|
.rui-sidebar__group-action:focus-visible {
|
|
173
|
-
|
|
235
|
+
background-color: var(--color-primary, var(--primary));
|
|
236
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
237
|
+
background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 10%, transparent);
|
|
238
|
+
}
|
|
239
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
240
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
241
|
+
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
242
|
+
--tw-outline-style: none;
|
|
243
|
+
outline-style: none;
|
|
244
|
+
@media (forced-colors: active) {
|
|
245
|
+
outline: 2px solid transparent;
|
|
246
|
+
outline-offset: 2px;
|
|
247
|
+
}
|
|
248
|
+
--tw-ring-inset: inset;
|
|
174
249
|
}
|
|
175
|
-
|
|
176
250
|
.rui-sidebar__menu {
|
|
177
|
-
|
|
251
|
+
margin: 0px;
|
|
252
|
+
display: flex;
|
|
253
|
+
list-style-type: none;
|
|
254
|
+
flex-direction: column;
|
|
255
|
+
gap: calc(var(--spacing, 0.25rem) * 0.5);
|
|
256
|
+
padding: 0px;
|
|
178
257
|
}
|
|
179
|
-
|
|
180
258
|
.rui-sidebar__menu-item {
|
|
181
|
-
|
|
259
|
+
list-style-type: none;
|
|
182
260
|
}
|
|
183
|
-
|
|
184
261
|
.rui-sidebar__menu-button {
|
|
185
|
-
|
|
186
|
-
|
|
262
|
+
display: flex;
|
|
263
|
+
width: 100%;
|
|
264
|
+
min-width: 0px;
|
|
265
|
+
cursor: pointer;
|
|
266
|
+
align-items: center;
|
|
267
|
+
gap: var(--spacing-2, var(--space-2));
|
|
268
|
+
border-radius: var(--radius-md, var(--border-radius-md));
|
|
269
|
+
border-style: var(--tw-border-style);
|
|
270
|
+
border-width: 0px;
|
|
271
|
+
background-color: transparent;
|
|
272
|
+
padding-inline: var(--spacing-2, var(--space-2));
|
|
273
|
+
padding-block: calc(var(--spacing, 0.25rem) * 1.5);
|
|
274
|
+
text-align: left;
|
|
275
|
+
font-size: var(--text-sm, var(--text-sm));
|
|
276
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
277
|
+
color: var(--color-on-background, var(--on-background));
|
|
278
|
+
transition: background-color var(--duration-fast) var(--ease-standard);
|
|
187
279
|
}
|
|
188
|
-
|
|
189
280
|
.rui-sidebar__menu-button:hover {
|
|
190
|
-
|
|
281
|
+
background-color: var(--color-primary, var(--primary));
|
|
282
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
283
|
+
background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 10%, transparent);
|
|
284
|
+
}
|
|
191
285
|
}
|
|
192
|
-
|
|
193
286
|
.rui-sidebar__menu-button:focus-visible {
|
|
194
|
-
|
|
287
|
+
background-color: var(--color-primary, var(--primary));
|
|
288
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
289
|
+
background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 10%, transparent);
|
|
290
|
+
}
|
|
291
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
292
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
293
|
+
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
294
|
+
--tw-outline-style: none;
|
|
295
|
+
outline-style: none;
|
|
296
|
+
@media (forced-colors: active) {
|
|
297
|
+
outline: 2px solid transparent;
|
|
298
|
+
outline-offset: 2px;
|
|
299
|
+
}
|
|
300
|
+
--tw-ring-inset: inset;
|
|
195
301
|
}
|
|
196
|
-
|
|
197
302
|
.rui-sidebar__menu-button[aria-current='page'],
|
|
198
303
|
.rui-sidebar__menu-button--active {
|
|
199
|
-
|
|
304
|
+
background-color: var(--color-primary, var(--primary));
|
|
305
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
306
|
+
background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 15%, transparent);
|
|
307
|
+
}
|
|
308
|
+
--tw-font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
309
|
+
font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
310
|
+
color: var(--color-on-background, var(--on-background));
|
|
200
311
|
}
|
|
201
|
-
|
|
202
312
|
.rui-sidebar__menu-button[aria-disabled='true'],
|
|
203
313
|
.rui-sidebar__menu-button[disabled] {
|
|
204
|
-
|
|
314
|
+
pointer-events: none;
|
|
315
|
+
cursor: not-allowed;
|
|
316
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
317
|
+
opacity: var(--opacity-muted, var(--opacity-muted));
|
|
205
318
|
}
|
|
206
|
-
|
|
207
319
|
.rui-sidebar__menu-action {
|
|
208
|
-
|
|
320
|
+
color: var(--color-on-surface, var(--on-surface));
|
|
209
321
|
}
|
|
210
|
-
|
|
211
322
|
.rui-sidebar__menu-action:hover {
|
|
212
|
-
|
|
323
|
+
background-color: var(--color-primary, var(--primary));
|
|
324
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
325
|
+
background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 5%, transparent);
|
|
326
|
+
}
|
|
213
327
|
}
|
|
214
|
-
|
|
215
328
|
.rui-sidebar__menu-button > :first-child {
|
|
216
|
-
|
|
329
|
+
flex-shrink: 0;
|
|
217
330
|
}
|
|
218
|
-
|
|
219
331
|
.rui-sidebar__menu-button > :last-child {
|
|
220
|
-
|
|
332
|
+
min-width: 0px;
|
|
333
|
+
flex: 1;
|
|
334
|
+
overflow: hidden;
|
|
335
|
+
text-overflow: ellipsis;
|
|
336
|
+
white-space: nowrap;
|
|
221
337
|
}
|
|
222
|
-
|
|
223
|
-
/* When collapsed to icon mode, hide every menu label and decorative chrome. */
|
|
224
338
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__menu-button,
|
|
225
339
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__menu-action {
|
|
226
|
-
|
|
340
|
+
height: var(--spacing-8, var(--space-8));
|
|
341
|
+
width: var(--spacing-8, var(--space-8));
|
|
342
|
+
justify-content: center;
|
|
343
|
+
gap: 0px;
|
|
344
|
+
padding: 0px;
|
|
227
345
|
}
|
|
228
|
-
|
|
229
346
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__menu-button > :last-child,
|
|
230
347
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__menu-action > :last-child,
|
|
231
348
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed'] .rui-sidebar__group-label,
|
|
@@ -236,127 +353,228 @@ rui-sidebar {
|
|
|
236
353
|
.rui-sidebar[data-collapsible='icon'][data-state='collapsed']
|
|
237
354
|
.rui-sidebar__footer
|
|
238
355
|
> *:not(.rui-sidebar__menu):not(button):not(a) {
|
|
239
|
-
|
|
356
|
+
display: none;
|
|
240
357
|
}
|
|
241
|
-
|
|
242
358
|
.rui-sidebar__icon {
|
|
243
|
-
|
|
359
|
+
width: var(--spacing-4, var(--space-4));
|
|
360
|
+
height: var(--spacing-4, var(--space-4));
|
|
361
|
+
flex-shrink: 0;
|
|
244
362
|
}
|
|
245
|
-
|
|
246
|
-
/* -------------------------------------------------------------------------- */
|
|
247
|
-
/* Inset */
|
|
248
|
-
/* -------------------------------------------------------------------------- */
|
|
249
|
-
|
|
250
363
|
.rui-sidebar__inset {
|
|
251
|
-
|
|
364
|
+
display: flex;
|
|
365
|
+
min-height: 0px;
|
|
366
|
+
width: 100%;
|
|
367
|
+
min-width: 0px;
|
|
368
|
+
flex: 1;
|
|
369
|
+
flex-direction: column;
|
|
370
|
+
gap: 0px;
|
|
371
|
+
overflow: hidden;
|
|
372
|
+
background-color: var(--color-background, var(--background));
|
|
252
373
|
}
|
|
253
|
-
|
|
254
|
-
/* -------------------------------------------------------------------------- */
|
|
255
|
-
/* Trigger */
|
|
256
|
-
/* -------------------------------------------------------------------------- */
|
|
257
|
-
|
|
258
374
|
.rui-sidebar__trigger {
|
|
259
|
-
|
|
375
|
+
display: inline-flex;
|
|
376
|
+
width: calc(var(--spacing, 0.25rem) * 9);
|
|
377
|
+
height: calc(var(--spacing, 0.25rem) * 9);
|
|
378
|
+
flex-shrink: 0;
|
|
379
|
+
align-items: center;
|
|
380
|
+
justify-content: center;
|
|
381
|
+
padding: 0px;
|
|
260
382
|
}
|
|
261
|
-
|
|
262
383
|
.rui-sidebar__trigger-icon {
|
|
263
|
-
|
|
384
|
+
display: flex;
|
|
385
|
+
width: var(--spacing-4, var(--space-4));
|
|
386
|
+
height: var(--spacing-4, var(--space-4));
|
|
387
|
+
align-items: center;
|
|
388
|
+
justify-content: center;
|
|
264
389
|
}
|
|
265
|
-
|
|
266
390
|
.rui-sidebar__trigger-glyph {
|
|
267
|
-
|
|
391
|
+
width: var(--spacing-4, var(--space-4));
|
|
392
|
+
height: var(--spacing-4, var(--space-4));
|
|
393
|
+
flex-shrink: 0;
|
|
268
394
|
}
|
|
269
|
-
|
|
270
|
-
/* -------------------------------------------------------------------------- */
|
|
271
|
-
/* Alternate header (collapse) vs inset (open) triggers */
|
|
272
|
-
/* -------------------------------------------------------------------------- */
|
|
273
|
-
|
|
274
395
|
.rui-sidebar-provider:has(> rui-sidebar[data-collapsible='off']:not([data-mobile='true']))
|
|
275
396
|
rui-sidebar-trigger[data-placement='header'],
|
|
276
397
|
.rui-sidebar-provider:has(> rui-sidebar[data-collapsible='off']:not([data-mobile='true']))
|
|
277
398
|
rui-sidebar-trigger[data-placement='inset'] {
|
|
278
|
-
|
|
399
|
+
display: none;
|
|
279
400
|
}
|
|
280
|
-
|
|
281
401
|
.rui-sidebar-provider:has(> rui-sidebar[data-state='expanded']:not([data-mobile='true']))
|
|
282
402
|
rui-sidebar-trigger[data-placement='inset'] {
|
|
283
|
-
|
|
403
|
+
display: none;
|
|
284
404
|
}
|
|
285
|
-
|
|
286
405
|
.rui-sidebar-provider:has(> rui-sidebar[data-state='collapsed']:not([data-mobile='true']))
|
|
287
406
|
rui-sidebar-trigger[data-placement='header'] {
|
|
288
|
-
|
|
407
|
+
display: none;
|
|
289
408
|
}
|
|
290
|
-
|
|
291
409
|
.rui-sidebar-provider:has(> rui-sidebar[data-state='expanded'][data-mobile='true'])
|
|
292
410
|
rui-sidebar-trigger[data-placement='inset'] {
|
|
293
|
-
|
|
411
|
+
display: none;
|
|
294
412
|
}
|
|
295
|
-
|
|
296
413
|
.rui-sidebar-provider:has(> rui-sidebar[data-state='collapsed'][data-mobile='true'])
|
|
297
414
|
rui-sidebar-trigger[data-placement='header'] {
|
|
298
|
-
|
|
415
|
+
display: none;
|
|
299
416
|
}
|
|
300
|
-
|
|
301
|
-
/* -------------------------------------------------------------------------- */
|
|
302
|
-
/* Mobile drawer */
|
|
303
|
-
/* -------------------------------------------------------------------------- */
|
|
304
|
-
|
|
305
417
|
.rui-sidebar[data-mobile='true'] {
|
|
306
|
-
|
|
418
|
+
position: fixed;
|
|
419
|
+
inset: 0px;
|
|
420
|
+
z-index: var(--z-modal);
|
|
421
|
+
display: flex;
|
|
422
|
+
min-width: 0px;
|
|
423
|
+
background-color: transparent;
|
|
307
424
|
}
|
|
308
|
-
|
|
309
425
|
.rui-sidebar[data-mobile='true'][data-state='collapsed'] {
|
|
310
|
-
|
|
426
|
+
pointer-events: none;
|
|
311
427
|
}
|
|
312
|
-
|
|
313
428
|
.rui-sidebar[data-mobile='true'][data-state='expanded'] {
|
|
314
|
-
|
|
429
|
+
pointer-events: auto;
|
|
315
430
|
}
|
|
316
|
-
|
|
317
431
|
.rui-sidebar[data-mobile='true'] > .rui-sidebar__pane {
|
|
318
|
-
|
|
432
|
+
position: relative;
|
|
433
|
+
z-index: var(--z-modal);
|
|
434
|
+
height: 100%;
|
|
435
|
+
background-color: var(--color-surface, var(--surface));
|
|
436
|
+
color: var(--color-on-background, var(--on-background));
|
|
319
437
|
}
|
|
320
|
-
|
|
321
438
|
.rui-sidebar[data-mobile='true'][data-variant='inset'] > .rui-sidebar__pane {
|
|
322
|
-
|
|
439
|
+
background-color: var(--color-background, var(--background));
|
|
323
440
|
}
|
|
324
|
-
|
|
325
441
|
.rui-sidebar[data-mobile='true'][data-state='collapsed'] > .rui-sidebar__pane {
|
|
326
|
-
|
|
442
|
+
width: 0px;
|
|
443
|
+
overflow: hidden;
|
|
444
|
+
opacity: 0%;
|
|
327
445
|
}
|
|
328
|
-
|
|
329
446
|
.rui-sidebar[data-mobile='true'][data-state='expanded'] > .rui-sidebar__pane {
|
|
330
|
-
|
|
331
|
-
|
|
447
|
+
width: calc(var(--spacing, 0.25rem) * 72);
|
|
448
|
+
max-width: 85vw;
|
|
449
|
+
opacity: 100%;
|
|
450
|
+
box-shadow: var(--shadow-modal);
|
|
332
451
|
}
|
|
333
|
-
|
|
334
452
|
.rui-sidebar[data-mobile='true'][data-side='left'] > .rui-sidebar__pane {
|
|
335
|
-
|
|
453
|
+
margin-inline-end: auto;
|
|
336
454
|
}
|
|
337
|
-
|
|
338
455
|
.rui-sidebar[data-mobile='true'][data-side='right'] > .rui-sidebar__pane {
|
|
339
|
-
|
|
456
|
+
margin-inline-start: auto;
|
|
340
457
|
}
|
|
341
|
-
|
|
342
458
|
.rui-sidebar__scrim {
|
|
343
|
-
|
|
459
|
+
position: absolute;
|
|
460
|
+
inset: 0px;
|
|
461
|
+
z-index: var(--z-overlay);
|
|
462
|
+
cursor: pointer;
|
|
463
|
+
border-style: var(--tw-border-style);
|
|
464
|
+
border-width: 0px;
|
|
465
|
+
background-color: var(--color-overlay, var(--overlay));
|
|
466
|
+
padding: 0px;
|
|
344
467
|
}
|
|
345
|
-
|
|
346
468
|
.rui-sidebar[data-mobile='true'] > .rui-sidebar__handle {
|
|
347
|
-
|
|
469
|
+
display: none;
|
|
348
470
|
}
|
|
349
|
-
|
|
350
|
-
/* -------------------------------------------------------------------------- */
|
|
351
|
-
/* Reduced motion */
|
|
352
|
-
/* -------------------------------------------------------------------------- */
|
|
353
|
-
|
|
354
471
|
@media (prefers-reduced-motion: reduce) {
|
|
355
|
-
|
|
472
|
+
.rui-sidebar__pane,
|
|
356
473
|
.rui-sidebar__handle,
|
|
357
474
|
.rui-sidebar__handle-grip,
|
|
358
475
|
.rui-sidebar__group-action,
|
|
359
476
|
.rui-sidebar__menu-button {
|
|
360
|
-
|
|
361
|
-
|
|
477
|
+
transition: none;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
@property --tw-border-style {
|
|
481
|
+
syntax: "*";
|
|
482
|
+
inherits: false;
|
|
483
|
+
initial-value: solid;
|
|
484
|
+
}
|
|
485
|
+
@property --tw-shadow {
|
|
486
|
+
syntax: "*";
|
|
487
|
+
inherits: false;
|
|
488
|
+
initial-value: 0 0 #0000;
|
|
489
|
+
}
|
|
490
|
+
@property --tw-shadow-color {
|
|
491
|
+
syntax: "*";
|
|
492
|
+
inherits: false;
|
|
493
|
+
}
|
|
494
|
+
@property --tw-shadow-alpha {
|
|
495
|
+
syntax: "<percentage>";
|
|
496
|
+
inherits: false;
|
|
497
|
+
initial-value: 100%;
|
|
498
|
+
}
|
|
499
|
+
@property --tw-inset-shadow {
|
|
500
|
+
syntax: "*";
|
|
501
|
+
inherits: false;
|
|
502
|
+
initial-value: 0 0 #0000;
|
|
503
|
+
}
|
|
504
|
+
@property --tw-inset-shadow-color {
|
|
505
|
+
syntax: "*";
|
|
506
|
+
inherits: false;
|
|
507
|
+
}
|
|
508
|
+
@property --tw-inset-shadow-alpha {
|
|
509
|
+
syntax: "<percentage>";
|
|
510
|
+
inherits: false;
|
|
511
|
+
initial-value: 100%;
|
|
512
|
+
}
|
|
513
|
+
@property --tw-ring-color {
|
|
514
|
+
syntax: "*";
|
|
515
|
+
inherits: false;
|
|
516
|
+
}
|
|
517
|
+
@property --tw-ring-shadow {
|
|
518
|
+
syntax: "*";
|
|
519
|
+
inherits: false;
|
|
520
|
+
initial-value: 0 0 #0000;
|
|
521
|
+
}
|
|
522
|
+
@property --tw-inset-ring-color {
|
|
523
|
+
syntax: "*";
|
|
524
|
+
inherits: false;
|
|
525
|
+
}
|
|
526
|
+
@property --tw-inset-ring-shadow {
|
|
527
|
+
syntax: "*";
|
|
528
|
+
inherits: false;
|
|
529
|
+
initial-value: 0 0 #0000;
|
|
530
|
+
}
|
|
531
|
+
@property --tw-ring-inset {
|
|
532
|
+
syntax: "*";
|
|
533
|
+
inherits: false;
|
|
534
|
+
}
|
|
535
|
+
@property --tw-ring-offset-width {
|
|
536
|
+
syntax: "<length>";
|
|
537
|
+
inherits: false;
|
|
538
|
+
initial-value: 0px;
|
|
539
|
+
}
|
|
540
|
+
@property --tw-ring-offset-color {
|
|
541
|
+
syntax: "*";
|
|
542
|
+
inherits: false;
|
|
543
|
+
initial-value: #fff;
|
|
544
|
+
}
|
|
545
|
+
@property --tw-ring-offset-shadow {
|
|
546
|
+
syntax: "*";
|
|
547
|
+
inherits: false;
|
|
548
|
+
initial-value: 0 0 #0000;
|
|
549
|
+
}
|
|
550
|
+
@property --tw-font-weight {
|
|
551
|
+
syntax: "*";
|
|
552
|
+
inherits: false;
|
|
553
|
+
}
|
|
554
|
+
@property --tw-tracking {
|
|
555
|
+
syntax: "*";
|
|
556
|
+
inherits: false;
|
|
557
|
+
}
|
|
558
|
+
@layer properties {
|
|
559
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
560
|
+
*, ::before, ::after, ::backdrop {
|
|
561
|
+
--tw-border-style: solid;
|
|
562
|
+
--tw-shadow: 0 0 #0000;
|
|
563
|
+
--tw-shadow-color: initial;
|
|
564
|
+
--tw-shadow-alpha: 100%;
|
|
565
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
566
|
+
--tw-inset-shadow-color: initial;
|
|
567
|
+
--tw-inset-shadow-alpha: 100%;
|
|
568
|
+
--tw-ring-color: initial;
|
|
569
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
570
|
+
--tw-inset-ring-color: initial;
|
|
571
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
572
|
+
--tw-ring-inset: initial;
|
|
573
|
+
--tw-ring-offset-width: 0px;
|
|
574
|
+
--tw-ring-offset-color: #fff;
|
|
575
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
576
|
+
--tw-font-weight: initial;
|
|
577
|
+
--tw-tracking: initial;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
362
580
|
}
|