@optimum-intelligence/opti-ui 0.8.0 → 0.9.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/CHANGELOG.md +97 -0
- package/README.md +3 -3
- package/dist/components/app-shell/AppShell.d.ts +6 -1
- package/dist/components/app-shell/AppShell.js +99 -94
- package/dist/components/app-shell/AppShell.js.map +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +6 -1
- package/dist/components/breadcrumbs/Breadcrumbs.js +42 -40
- package/dist/components/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/calendar/Calendar.js +29 -17
- package/dist/components/calendar/Calendar.js.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +1 -1
- package/dist/components/combobox/Combobox.js +38 -29
- package/dist/components/combobox/Combobox.js.map +1 -1
- package/dist/components/command-palette/CommandPalette.d.ts +13 -4
- package/dist/components/command-palette/CommandPalette.js +91 -89
- package/dist/components/command-palette/CommandPalette.js.map +1 -1
- package/dist/components/data-table/DataTable.d.ts +38 -13
- package/dist/components/data-table/DataTable.js +421 -266
- package/dist/components/data-table/DataTable.js.map +1 -1
- package/dist/components/data-table/DataTableContent.d.ts +7 -1
- package/dist/components/data-table/DataTableContent.js +246 -210
- package/dist/components/data-table/DataTableContent.js.map +1 -1
- package/dist/components/data-table/DataTableFilters.d.ts +4 -3
- package/dist/components/data-table/DataTableFilters.js +311 -194
- package/dist/components/data-table/DataTableFilters.js.map +1 -1
- package/dist/components/data-table/DataTableRow.js +76 -72
- package/dist/components/data-table/DataTableRow.js.map +1 -1
- package/dist/components/data-table/layout.d.ts +5 -0
- package/dist/components/data-table/layout.js +23 -1
- package/dist/components/data-table/layout.js.map +1 -1
- package/dist/components/data-table/types.d.ts +57 -3
- package/dist/components/data-table/useDataTable.d.ts +1 -1
- package/dist/components/data-table/useDataTable.js +396 -351
- package/dist/components/data-table/useDataTable.js.map +1 -1
- package/dist/components/dialog/ConfirmDialog.d.ts +6 -1
- package/dist/components/dialog/ConfirmDialog.js +88 -85
- package/dist/components/dialog/ConfirmDialog.js.map +1 -1
- package/dist/components/progress/Progress.d.ts +2 -1
- package/dist/components/progress/Progress.js.map +1 -1
- package/dist/components/stat-card/StatCard.d.ts +7 -2
- package/dist/components/stat-card/StatCard.js +1 -1
- package/dist/components/stat-card/StatCard.js.map +1 -1
- package/dist/components/table/Table.d.ts +5 -1
- package/dist/components/table/Table.js +2 -1
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components.json +124 -18
- package/dist/fonts/JetBrainsMono-OFL.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-ext.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin.woff2 +0 -0
- package/dist/fonts.css +22 -1
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +12 -1
- package/dist/icons/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/labels/Labels.d.ts +9 -1
- package/dist/labels/Labels.js +4 -0
- package/dist/labels/Labels.js.map +1 -1
- package/dist/labels/hu.d.ts +17 -0
- package/dist/labels/hu.js +124 -0
- package/dist/labels/hu.js.map +1 -0
- package/dist/llms-full.txt +60 -17
- package/dist/llms.txt +2 -1
- package/dist/opti-ui.css +303 -70
- package/dist/utils/scroll-fade.d.ts +5 -1
- package/dist/utils/scroll-fade.js +11 -1
- package/dist/utils/scroll-fade.js.map +1 -1
- package/package.json +1 -1
package/dist/opti-ui.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:root {
|
|
5
5
|
--oui-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
6
6
|
--oui-font-heading: 'Montserrat', 'Poppins', system-ui, sans-serif;
|
|
7
|
-
--oui-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
7
|
+
--oui-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
8
8
|
--oui-font-size-2xs: 0.6875rem;
|
|
9
9
|
--oui-font-size-xs: 0.75rem;
|
|
10
10
|
--oui-font-size-sm: 0.8125rem;
|
|
@@ -26,18 +26,19 @@
|
|
|
26
26
|
--oui-color-on-tone: #ffffff;
|
|
27
27
|
--oui-color-blue: #2f6fd0;
|
|
28
28
|
--oui-color-blue-text: #1f4f99;
|
|
29
|
-
--oui-color-cyan: #
|
|
29
|
+
--oui-color-cyan: #007f9d;
|
|
30
30
|
--oui-color-cyan-text: #126278;
|
|
31
|
-
--oui-color-green: #
|
|
31
|
+
--oui-color-green: #38852a;
|
|
32
32
|
--oui-color-green-text: #2a6320;
|
|
33
33
|
--oui-color-yellow: #c99a12;
|
|
34
34
|
--oui-color-yellow-text: #7a5a06;
|
|
35
35
|
--oui-color-purple: #7b4fc4;
|
|
36
36
|
--oui-color-purple-text: #573591;
|
|
37
|
-
--oui-color-pink: #
|
|
37
|
+
--oui-color-pink: #c04599;
|
|
38
38
|
--oui-color-pink-text: #8c2f6f;
|
|
39
39
|
--oui-map-route-weight: 4;
|
|
40
40
|
--oui-map-dim-opacity: 0.35;
|
|
41
|
+
--oui-radius-micro: 2px;
|
|
41
42
|
--oui-radius-xs: 4px;
|
|
42
43
|
--oui-radius-sm: 8px;
|
|
43
44
|
--oui-radius-control: 10px;
|
|
@@ -86,15 +87,15 @@
|
|
|
86
87
|
--oui-color-on-tone: #ffffff;
|
|
87
88
|
--oui-color-blue: #2f6fd0;
|
|
88
89
|
--oui-color-blue-text: #1f4f99;
|
|
89
|
-
--oui-color-cyan: #
|
|
90
|
+
--oui-color-cyan: #007f9d;
|
|
90
91
|
--oui-color-cyan-text: #126278;
|
|
91
|
-
--oui-color-green: #
|
|
92
|
+
--oui-color-green: #38852a;
|
|
92
93
|
--oui-color-green-text: #2a6320;
|
|
93
94
|
--oui-color-yellow: #c99a12;
|
|
94
95
|
--oui-color-yellow-text: #7a5a06;
|
|
95
96
|
--oui-color-purple: #7b4fc4;
|
|
96
97
|
--oui-color-purple-text: #573591;
|
|
97
|
-
--oui-color-pink: #
|
|
98
|
+
--oui-color-pink: #c04599;
|
|
98
99
|
--oui-color-pink-text: #8c2f6f;
|
|
99
100
|
}
|
|
100
101
|
:root,
|
|
@@ -104,15 +105,17 @@
|
|
|
104
105
|
--oui-color-primary: var(--oui-color-brand);
|
|
105
106
|
--oui-color-primary-hover: color-mix(in oklab, var(--oui-color-primary) 84%, white);
|
|
106
107
|
--oui-color-on-primary: #ffffff;
|
|
108
|
+
--oui-color-hover-shade: black;
|
|
107
109
|
--oui-color-accent-hover: color-mix(in oklab, var(--oui-color-accent) 88%, black);
|
|
108
110
|
--oui-color-accent-subtle: color-mix(in srgb, var(--oui-color-accent) 12%, transparent);
|
|
109
111
|
--oui-color-accent-muted: color-mix(in srgb, var(--oui-color-accent) 18%, transparent);
|
|
110
112
|
--oui-color-accent-strong: color-mix(in srgb, var(--oui-color-accent) 28%, transparent);
|
|
111
113
|
--oui-color-accent-text: color-mix(in oklab, var(--oui-color-accent) 70%, var(--oui-color-brand));
|
|
114
|
+
--oui-color-accent-fill: var(--oui-color-accent);
|
|
112
115
|
--oui-color-text: #222222;
|
|
113
116
|
--oui-color-text-strong: var(--oui-color-brand);
|
|
114
117
|
--oui-color-text-muted: color-mix(in srgb, var(--oui-color-brand) 72%, white);
|
|
115
|
-
--oui-color-text-subtle: color-mix(in srgb, var(--oui-color-text-muted)
|
|
118
|
+
--oui-color-text-subtle: color-mix(in srgb, var(--oui-color-text-muted) 92%, transparent);
|
|
116
119
|
--oui-color-bg: color-mix(in srgb, var(--oui-color-accent) 6%, white);
|
|
117
120
|
--oui-color-surface: #ffffff;
|
|
118
121
|
--oui-color-surface-muted: color-mix(in srgb, var(--oui-color-accent) 4%, white);
|
|
@@ -157,10 +160,11 @@
|
|
|
157
160
|
--oui-color-chart-5: var(--oui-color-cyan);
|
|
158
161
|
--oui-color-chart-6: var(--oui-color-purple);
|
|
159
162
|
--oui-color-chart-7: var(--oui-color-yellow);
|
|
160
|
-
--oui-color-chart-8: var(--oui-color-accent);
|
|
163
|
+
--oui-color-chart-8: var(--oui-color-accent-fill);
|
|
161
164
|
--oui-map-casing-color: var(--oui-color-surface);
|
|
162
165
|
--oui-map-cluster-color: var(--oui-color-primary);
|
|
163
166
|
--oui-map-cluster-text-color: var(--oui-color-on-primary);
|
|
167
|
+
--oui-color-thumb: #ffffff;
|
|
164
168
|
--oui-color-inverse: var(--oui-color-brand);
|
|
165
169
|
--oui-color-on-inverse: #ffffff;
|
|
166
170
|
--oui-color-on-inverse-muted: rgba(255, 255, 255, 0.72);
|
|
@@ -180,6 +184,7 @@
|
|
|
180
184
|
--oui-shadow-dialog:
|
|
181
185
|
0 4px 12px color-mix(in srgb, var(--oui-color-brand) 8%, transparent),
|
|
182
186
|
0 28px 64px -12px color-mix(in srgb, var(--oui-color-brand) 28%, transparent);
|
|
187
|
+
--oui-shadow-thumb: 0 1px 3px color-mix(in srgb, var(--oui-color-brand) 22%, transparent);
|
|
183
188
|
--oui-focus-ring-color: color-mix(in srgb, var(--oui-color-accent) 32%, transparent);
|
|
184
189
|
--oui-focus-ring: 0 0 0 3px var(--oui-focus-ring-color);
|
|
185
190
|
--oui-focus-outline-color: var(--oui-color-border-focus);
|
|
@@ -193,6 +198,7 @@
|
|
|
193
198
|
--oui-color-primary-hover: color-mix(in oklab, var(--oui-color-accent) 16%, white);
|
|
194
199
|
--oui-color-on-primary: color-mix(in oklab, var(--oui-color-brand) 75%, black);
|
|
195
200
|
--oui-color-accent-text: color-mix(in oklab, var(--oui-color-accent) 35%, white);
|
|
201
|
+
--oui-color-accent-fill: color-mix(in oklab, var(--oui-color-accent) 70%, var(--oui-color-accent-text));
|
|
196
202
|
--oui-color-text: color-mix(in oklab, var(--oui-color-accent) 6%, #ececf0);
|
|
197
203
|
--oui-color-text-strong: #ffffff;
|
|
198
204
|
--oui-color-text-muted: color-mix(in oklab, var(--oui-color-accent) 25%, #a6a1ae);
|
|
@@ -203,6 +209,8 @@
|
|
|
203
209
|
--oui-color-border: color-mix(in oklab, var(--oui-color-accent) 20%, #28232f);
|
|
204
210
|
--oui-color-border-control: color-mix(in srgb, var(--oui-color-accent-text) 50%, transparent);
|
|
205
211
|
--oui-color-border-control-hover: color-mix(in srgb, var(--oui-color-accent-text) 80%, transparent);
|
|
212
|
+
--oui-color-border-hover: color-mix(in srgb, var(--oui-color-accent-text) 45%, transparent);
|
|
213
|
+
--oui-color-border-focus: var(--oui-color-accent-text);
|
|
206
214
|
--oui-color-success: #3cbf9b;
|
|
207
215
|
--oui-color-success-text: #7ee0c3;
|
|
208
216
|
--oui-color-warning: #f08a4b;
|
|
@@ -228,7 +236,10 @@
|
|
|
228
236
|
--oui-shadow-raised: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 24px -4px rgba(0, 0, 0, 0.4);
|
|
229
237
|
--oui-shadow-overlay: 0 14px 32px -6px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
230
238
|
--oui-shadow-dialog: 0 28px 64px -12px rgba(0, 0, 0, 0.7);
|
|
239
|
+
--oui-shadow-thumb: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
240
|
+
--oui-focus-ring-color: color-mix(in srgb, var(--oui-color-accent-text) 35%, transparent);
|
|
231
241
|
--oui-focus-outline-color: var(--oui-color-accent-text);
|
|
242
|
+
--oui-color-hover-shade: white;
|
|
232
243
|
}
|
|
233
244
|
@media (prefers-color-scheme: dark) {
|
|
234
245
|
[data-oui-theme=system],
|
|
@@ -238,6 +249,7 @@
|
|
|
238
249
|
--oui-color-primary-hover: color-mix(in oklab, var(--oui-color-accent) 16%, white);
|
|
239
250
|
--oui-color-on-primary: color-mix(in oklab, var(--oui-color-brand) 75%, black);
|
|
240
251
|
--oui-color-accent-text: color-mix(in oklab, var(--oui-color-accent) 35%, white);
|
|
252
|
+
--oui-color-accent-fill: color-mix(in oklab, var(--oui-color-accent) 70%, var(--oui-color-accent-text));
|
|
241
253
|
--oui-color-text: color-mix(in oklab, var(--oui-color-accent) 6%, #ececf0);
|
|
242
254
|
--oui-color-text-strong: #ffffff;
|
|
243
255
|
--oui-color-text-muted: color-mix(in oklab, var(--oui-color-accent) 25%, #a6a1ae);
|
|
@@ -248,6 +260,8 @@
|
|
|
248
260
|
--oui-color-border: color-mix(in oklab, var(--oui-color-accent) 20%, #28232f);
|
|
249
261
|
--oui-color-border-control: color-mix(in srgb, var(--oui-color-accent-text) 50%, transparent);
|
|
250
262
|
--oui-color-border-control-hover: color-mix(in srgb, var(--oui-color-accent-text) 80%, transparent);
|
|
263
|
+
--oui-color-border-hover: color-mix(in srgb, var(--oui-color-accent-text) 45%, transparent);
|
|
264
|
+
--oui-color-border-focus: var(--oui-color-accent-text);
|
|
251
265
|
--oui-color-success: #3cbf9b;
|
|
252
266
|
--oui-color-success-text: #7ee0c3;
|
|
253
267
|
--oui-color-warning: #f08a4b;
|
|
@@ -273,7 +287,10 @@
|
|
|
273
287
|
--oui-shadow-raised: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 24px -4px rgba(0, 0, 0, 0.4);
|
|
274
288
|
--oui-shadow-overlay: 0 14px 32px -6px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
275
289
|
--oui-shadow-dialog: 0 28px 64px -12px rgba(0, 0, 0, 0.7);
|
|
290
|
+
--oui-shadow-thumb: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
291
|
+
--oui-focus-ring-color: color-mix(in srgb, var(--oui-color-accent-text) 35%, transparent);
|
|
276
292
|
--oui-focus-outline-color: var(--oui-color-accent-text);
|
|
293
|
+
--oui-color-hover-shade: white;
|
|
277
294
|
}
|
|
278
295
|
}
|
|
279
296
|
}
|
|
@@ -1188,8 +1205,8 @@
|
|
|
1188
1205
|
overflow: hidden;
|
|
1189
1206
|
border-radius: 50%;
|
|
1190
1207
|
background: var(--oui-color-text-muted);
|
|
1191
|
-
color:
|
|
1192
|
-
font-size:
|
|
1208
|
+
color: var(--oui-color-on-tone);
|
|
1209
|
+
font-size: max(0.625rem, var(--oui-avatar-size, var(--_size)) * 0.36);
|
|
1193
1210
|
font-weight: var(--oui-font-weight-bold);
|
|
1194
1211
|
line-height: 1;
|
|
1195
1212
|
vertical-align: middle;
|
|
@@ -1485,7 +1502,6 @@
|
|
|
1485
1502
|
}
|
|
1486
1503
|
.oui-button[data-disabled]:not([data-loading]) {
|
|
1487
1504
|
cursor: not-allowed;
|
|
1488
|
-
opacity: var(--oui-control-disabled-opacity);
|
|
1489
1505
|
}
|
|
1490
1506
|
@media (prefers-reduced-motion: reduce) {
|
|
1491
1507
|
.oui-button {
|
|
@@ -1540,8 +1556,8 @@
|
|
|
1540
1556
|
}
|
|
1541
1557
|
.oui-button[data-variant=danger] {
|
|
1542
1558
|
--_bg: var(--oui-color-danger);
|
|
1543
|
-
--_bg-hover: color-mix(in oklab, var(--oui-color-danger) 86%,
|
|
1544
|
-
--_fg:
|
|
1559
|
+
--_bg-hover: color-mix(in oklab, var(--oui-color-danger) 86%, var(--oui-color-hover-shade));
|
|
1560
|
+
--_fg: var(--oui-color-on-tone);
|
|
1545
1561
|
}
|
|
1546
1562
|
.oui-button[data-tone] {
|
|
1547
1563
|
--_tone-fg: var(--oui-color-on-tone);
|
|
@@ -1611,14 +1627,9 @@
|
|
|
1611
1627
|
}
|
|
1612
1628
|
.oui-button[data-tone]:is([data-variant=primary], [data-variant=accent], [data-variant=danger]) {
|
|
1613
1629
|
--_bg: var(--_tone);
|
|
1614
|
-
--_bg-hover: color-mix(in oklab, var(--_tone) 86%,
|
|
1630
|
+
--_bg-hover: color-mix(in oklab, var(--_tone) 86%, var(--oui-color-hover-shade));
|
|
1615
1631
|
--_fg: var(--_tone-fg);
|
|
1616
1632
|
}
|
|
1617
|
-
.oui-button[data-disabled]:not([data-loading]):is([data-variant=primary], [data-variant=accent], [data-variant=danger]) {
|
|
1618
|
-
--_bg: color-mix(in srgb, var(--oui-color-text) 10%, transparent);
|
|
1619
|
-
--_fg: color-mix(in srgb, var(--oui-color-text) 45%, transparent);
|
|
1620
|
-
opacity: 1;
|
|
1621
|
-
}
|
|
1622
1633
|
.oui-button[data-tone][data-variant=secondary] {
|
|
1623
1634
|
--_bg-hover: var(--_tone-subtle);
|
|
1624
1635
|
--_fg: var(--_tone-text);
|
|
@@ -1639,6 +1650,15 @@
|
|
|
1639
1650
|
color: var(--_tone-text);
|
|
1640
1651
|
}
|
|
1641
1652
|
}
|
|
1653
|
+
.oui-button[data-disabled]:not([data-loading]) {
|
|
1654
|
+
--_fg: color-mix(in srgb, var(--oui-color-text) 45%, transparent);
|
|
1655
|
+
}
|
|
1656
|
+
.oui-button[data-disabled]:not([data-loading]):is([data-variant=primary], [data-variant=accent], [data-variant=danger], [data-variant=soft]) {
|
|
1657
|
+
--_bg: color-mix(in srgb, var(--oui-color-text) 10%, transparent);
|
|
1658
|
+
}
|
|
1659
|
+
.oui-button[data-disabled]:not([data-loading])[data-variant=secondary] {
|
|
1660
|
+
--_border: var(--oui-color-border);
|
|
1661
|
+
}
|
|
1642
1662
|
.oui-button__spinner {
|
|
1643
1663
|
width: 1.1em;
|
|
1644
1664
|
height: 1.1em;
|
|
@@ -2037,6 +2057,22 @@
|
|
|
2037
2057
|
outline: var(--oui-focus-outline);
|
|
2038
2058
|
outline-offset: var(--oui-focus-outline-offset);
|
|
2039
2059
|
}
|
|
2060
|
+
@media (pointer: coarse) {
|
|
2061
|
+
.oui-checkbox,
|
|
2062
|
+
.oui-radio {
|
|
2063
|
+
position: relative;
|
|
2064
|
+
}
|
|
2065
|
+
.oui-checkbox::before,
|
|
2066
|
+
.oui-radio::before {
|
|
2067
|
+
content: "";
|
|
2068
|
+
position: absolute;
|
|
2069
|
+
top: 50%;
|
|
2070
|
+
left: 50%;
|
|
2071
|
+
width: max(100%, 2.5rem);
|
|
2072
|
+
height: max(100%, 2.5rem);
|
|
2073
|
+
translate: -50% -50%;
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2040
2076
|
.oui-checkbox[data-size=sm],
|
|
2041
2077
|
.oui-radio[data-size=sm] {
|
|
2042
2078
|
--_box: var(--oui-checkbox-size, 1rem);
|
|
@@ -2123,7 +2159,7 @@
|
|
|
2123
2159
|
}
|
|
2124
2160
|
}
|
|
2125
2161
|
.oui-switch[data-checked] {
|
|
2126
|
-
background: var(--oui-color-accent);
|
|
2162
|
+
background: var(--oui-color-accent-fill);
|
|
2127
2163
|
}
|
|
2128
2164
|
.oui-switch[data-disabled] {
|
|
2129
2165
|
cursor: not-allowed;
|
|
@@ -2134,8 +2170,8 @@
|
|
|
2134
2170
|
width: var(--_thumb);
|
|
2135
2171
|
height: var(--_thumb);
|
|
2136
2172
|
border-radius: 50%;
|
|
2137
|
-
background:
|
|
2138
|
-
box-shadow:
|
|
2173
|
+
background: var(--oui-color-thumb);
|
|
2174
|
+
box-shadow: var(--oui-shadow-thumb);
|
|
2139
2175
|
transition: translate var(--oui-duration-normal) var(--oui-ease-out);
|
|
2140
2176
|
}
|
|
2141
2177
|
.oui-switch__thumb[data-checked] {
|
|
@@ -2255,7 +2291,7 @@
|
|
|
2255
2291
|
.oui-combobox__group:focus-within {
|
|
2256
2292
|
border-color: var(--oui-color-border-focus);
|
|
2257
2293
|
box-shadow: var(--oui-focus-ring);
|
|
2258
|
-
outline:
|
|
2294
|
+
outline: 2px solid transparent;
|
|
2259
2295
|
}
|
|
2260
2296
|
.oui-combobox__group[data-size=sm] {
|
|
2261
2297
|
--_height: var(--oui-control-height-sm);
|
|
@@ -2367,6 +2403,7 @@
|
|
|
2367
2403
|
}
|
|
2368
2404
|
.oui-combobox__chip:focus-within, .oui-combobox__chip[data-highlighted] {
|
|
2369
2405
|
background: var(--oui-color-accent-strong);
|
|
2406
|
+
outline: 2px solid transparent;
|
|
2370
2407
|
}
|
|
2371
2408
|
.oui-combobox__chip[data-overflow] {
|
|
2372
2409
|
flex-shrink: 0;
|
|
@@ -2400,6 +2437,20 @@
|
|
|
2400
2437
|
outline: var(--oui-focus-outline);
|
|
2401
2438
|
outline-offset: -2px;
|
|
2402
2439
|
}
|
|
2440
|
+
@media (pointer: coarse) {
|
|
2441
|
+
.oui-combobox__chip-remove {
|
|
2442
|
+
position: relative;
|
|
2443
|
+
}
|
|
2444
|
+
.oui-combobox__chip-remove::before {
|
|
2445
|
+
content: "";
|
|
2446
|
+
position: absolute;
|
|
2447
|
+
top: 50%;
|
|
2448
|
+
left: 50%;
|
|
2449
|
+
width: max(100%, 2.5rem);
|
|
2450
|
+
height: max(100%, 2.5rem);
|
|
2451
|
+
translate: -50% -50%;
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2403
2454
|
.oui-combobox__chip-remove:hover {
|
|
2404
2455
|
background: var(--oui-color-accent-strong);
|
|
2405
2456
|
}
|
|
@@ -2478,6 +2529,13 @@
|
|
|
2478
2529
|
background: var(--oui-color-accent-subtle);
|
|
2479
2530
|
color: var(--oui-color-text-strong);
|
|
2480
2531
|
}
|
|
2532
|
+
@media (forced-colors: active) {
|
|
2533
|
+
.oui-combobox__item[data-highlighted] {
|
|
2534
|
+
forced-color-adjust: none;
|
|
2535
|
+
background: Highlight;
|
|
2536
|
+
color: HighlightText;
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2481
2539
|
.oui-combobox__item[data-disabled] {
|
|
2482
2540
|
opacity: var(--oui-control-disabled-opacity);
|
|
2483
2541
|
pointer-events: none;
|
|
@@ -2620,6 +2678,13 @@
|
|
|
2620
2678
|
background: var(--oui-color-accent-subtle);
|
|
2621
2679
|
color: var(--oui-color-text-strong);
|
|
2622
2680
|
}
|
|
2681
|
+
@media (forced-colors: active) {
|
|
2682
|
+
.oui-command__item[data-highlighted] {
|
|
2683
|
+
forced-color-adjust: none;
|
|
2684
|
+
background: Highlight;
|
|
2685
|
+
color: HighlightText;
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2623
2688
|
.oui-command__item[data-disabled] {
|
|
2624
2689
|
opacity: var(--oui-control-disabled-opacity);
|
|
2625
2690
|
pointer-events: none;
|
|
@@ -2696,6 +2761,11 @@
|
|
|
2696
2761
|
font-size: var(--oui-font-size-xs);
|
|
2697
2762
|
}
|
|
2698
2763
|
}
|
|
2764
|
+
@property --_row-tint {
|
|
2765
|
+
syntax: "<color>";
|
|
2766
|
+
inherits: true;
|
|
2767
|
+
initial-value: transparent;
|
|
2768
|
+
}
|
|
2699
2769
|
@layer oui.components {
|
|
2700
2770
|
.oui-data-table {
|
|
2701
2771
|
box-sizing: border-box;
|
|
@@ -2740,6 +2810,9 @@
|
|
|
2740
2810
|
gap: var(--oui-space-4) var(--oui-space-6);
|
|
2741
2811
|
min-width: 0;
|
|
2742
2812
|
}
|
|
2813
|
+
.oui-data-table__controls > .oui-data-table__filters:not([data-stacked]) {
|
|
2814
|
+
display: contents;
|
|
2815
|
+
}
|
|
2743
2816
|
.oui-data-table__toolbar[data-layout=narrow] {
|
|
2744
2817
|
flex-wrap: nowrap;
|
|
2745
2818
|
gap: var(--oui-space-4);
|
|
@@ -2752,6 +2825,71 @@
|
|
|
2752
2825
|
.oui-data-table__toolbar[data-layout=narrow] > :first-child:not(.oui-input-group) {
|
|
2753
2826
|
margin-left: auto;
|
|
2754
2827
|
}
|
|
2828
|
+
.oui-data-table .oui-table__row[data-selecting] > .oui-table__head {
|
|
2829
|
+
--_row-tint: color-mix(in srgb, var(--oui-color-accent) 8%, transparent);
|
|
2830
|
+
background: linear-gradient(var(--_row-tint), var(--_row-tint)), var(--oui-color-surface);
|
|
2831
|
+
}
|
|
2832
|
+
.oui-data-table .oui-table__head.oui-data-table__selection-head {
|
|
2833
|
+
box-sizing: border-box;
|
|
2834
|
+
padding-block: 0;
|
|
2835
|
+
color: var(--oui-color-text);
|
|
2836
|
+
font-size: var(--oui-font-size-sm);
|
|
2837
|
+
font-weight: var(--oui-font-weight-regular);
|
|
2838
|
+
letter-spacing: normal;
|
|
2839
|
+
text-transform: none;
|
|
2840
|
+
}
|
|
2841
|
+
.oui-data-table__selection-bar {
|
|
2842
|
+
position: sticky;
|
|
2843
|
+
left: var(--oui-space-4);
|
|
2844
|
+
display: flex;
|
|
2845
|
+
align-items: center;
|
|
2846
|
+
gap: var(--oui-space-4);
|
|
2847
|
+
width: fit-content;
|
|
2848
|
+
max-width: 100%;
|
|
2849
|
+
}
|
|
2850
|
+
.oui-data-table__selection-bar .oui-button {
|
|
2851
|
+
--oui-button-height: 1.5rem;
|
|
2852
|
+
--oui-button-padding-x: 0.65rem;
|
|
2853
|
+
--oui-button-font-size: var(--oui-font-size-xs);
|
|
2854
|
+
}
|
|
2855
|
+
@media (pointer: coarse) {
|
|
2856
|
+
.oui-data-table__selection-bar .oui-button {
|
|
2857
|
+
position: relative;
|
|
2858
|
+
}
|
|
2859
|
+
.oui-data-table__selection-bar .oui-button::before {
|
|
2860
|
+
content: "";
|
|
2861
|
+
position: absolute;
|
|
2862
|
+
top: 50%;
|
|
2863
|
+
left: 50%;
|
|
2864
|
+
width: max(100%, 2.5rem);
|
|
2865
|
+
height: max(100%, 2.5rem);
|
|
2866
|
+
translate: -50% -50%;
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
.oui-data-table__selection-bar .oui-icon-button {
|
|
2870
|
+
--oui-button-padding-x: 0;
|
|
2871
|
+
}
|
|
2872
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-data-table__selection-bar {
|
|
2873
|
+
left: calc(var(--_check-width) + var(--oui-space-4));
|
|
2874
|
+
}
|
|
2875
|
+
.oui-data-table__selection-count {
|
|
2876
|
+
color: var(--oui-color-text-strong);
|
|
2877
|
+
font-size: var(--oui-font-size-sm);
|
|
2878
|
+
font-weight: var(--oui-font-weight-semibold);
|
|
2879
|
+
font-variant-numeric: tabular-nums;
|
|
2880
|
+
white-space: nowrap;
|
|
2881
|
+
}
|
|
2882
|
+
.oui-data-table__selection-actions {
|
|
2883
|
+
display: flex;
|
|
2884
|
+
align-items: center;
|
|
2885
|
+
gap: var(--oui-space-3);
|
|
2886
|
+
}
|
|
2887
|
+
:is(.oui-data-table__filter-button, .oui-data-table__sheet-trigger) > .oui-data-table__filter-badge {
|
|
2888
|
+
position: absolute;
|
|
2889
|
+
top: -0.45rem;
|
|
2890
|
+
right: -0.45rem;
|
|
2891
|
+
box-shadow: 0 0 0 2px var(--oui-color-surface);
|
|
2892
|
+
}
|
|
2755
2893
|
.oui-data-table__sheet-trigger[data-active],
|
|
2756
2894
|
.oui-data-table__filter-button[data-active] {
|
|
2757
2895
|
--_border: var(--oui-color-accent);
|
|
@@ -2770,9 +2908,6 @@
|
|
|
2770
2908
|
font-variant-numeric: tabular-nums;
|
|
2771
2909
|
line-height: 1;
|
|
2772
2910
|
}
|
|
2773
|
-
.oui-data-table__filter-badge[data-empty] {
|
|
2774
|
-
visibility: hidden;
|
|
2775
|
-
}
|
|
2776
2911
|
.oui-data-table__clear[data-hidden] {
|
|
2777
2912
|
visibility: hidden;
|
|
2778
2913
|
}
|
|
@@ -2851,15 +2986,14 @@
|
|
|
2851
2986
|
.oui-data-table__filters[data-stacked] .oui-data-table__filter-field > .oui-data-table__filter {
|
|
2852
2987
|
width: 100%;
|
|
2853
2988
|
}
|
|
2854
|
-
.oui-data-table__filters[data-stacked] .oui-select__trigger.oui-data-table__filter {
|
|
2855
|
-
|
|
2989
|
+
.oui-data-table__filters:not([data-stacked]) > .oui-select__trigger.oui-data-table__filter {
|
|
2990
|
+
width: var(--_filter-width, var(--oui-data-table-filter-width, 12rem));
|
|
2856
2991
|
}
|
|
2857
|
-
.oui-data-table__filters[data-stacked] .oui-
|
|
2858
|
-
|
|
2992
|
+
.oui-data-table__filters:not([data-stacked]) > .oui-date-picker.oui-data-table__filter > .oui-date-picker__trigger {
|
|
2993
|
+
width: var(--_filter-width, auto);
|
|
2859
2994
|
}
|
|
2860
2995
|
.oui-data-table__filters:not([data-stacked]) > :is(.oui-select__trigger, .oui-date-picker).oui-data-table__filter {
|
|
2861
2996
|
flex: none;
|
|
2862
|
-
width: var(--oui-data-table-filter-width, 12rem);
|
|
2863
2997
|
}
|
|
2864
2998
|
.oui-data-table__filters:not([data-stacked]) > :is(.oui-select__trigger, .oui-date-picker).oui-data-table__filter .oui-data-table__filter-label {
|
|
2865
2999
|
flex: none;
|
|
@@ -2871,6 +3005,21 @@
|
|
|
2871
3005
|
text-overflow: ellipsis;
|
|
2872
3006
|
white-space: nowrap;
|
|
2873
3007
|
}
|
|
3008
|
+
.oui-select__trigger.oui-data-table__filter {
|
|
3009
|
+
justify-content: flex-start;
|
|
3010
|
+
}
|
|
3011
|
+
.oui-select__trigger.oui-data-table__filter .oui-select__icon {
|
|
3012
|
+
margin-left: auto;
|
|
3013
|
+
}
|
|
3014
|
+
.oui-data-table__range {
|
|
3015
|
+
display: inline-grid;
|
|
3016
|
+
}
|
|
3017
|
+
.oui-data-table__range > * {
|
|
3018
|
+
grid-area: 1/1;
|
|
3019
|
+
}
|
|
3020
|
+
.oui-data-table__range-sizer {
|
|
3021
|
+
visibility: hidden;
|
|
3022
|
+
}
|
|
2874
3023
|
.oui-data-table__filter-field {
|
|
2875
3024
|
display: grid;
|
|
2876
3025
|
gap: var(--oui-space-3);
|
|
@@ -3007,7 +3156,8 @@
|
|
|
3007
3156
|
--_check-width: 2.25rem;
|
|
3008
3157
|
}
|
|
3009
3158
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__row {
|
|
3010
|
-
--
|
|
3159
|
+
--_row-tint: transparent;
|
|
3160
|
+
transition: background-color var(--oui-duration-fast) var(--oui-ease), --_row-tint var(--oui-duration-fast) var(--oui-ease);
|
|
3011
3161
|
}
|
|
3012
3162
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__row > :first-child,
|
|
3013
3163
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__row > .oui-data-table__check + * {
|
|
@@ -3015,7 +3165,7 @@
|
|
|
3015
3165
|
left: 0;
|
|
3016
3166
|
z-index: 1;
|
|
3017
3167
|
background-color: var(--oui-color-surface);
|
|
3018
|
-
background-image: linear-gradient(var(--
|
|
3168
|
+
background-image: linear-gradient(var(--_row-tint), var(--_row-tint));
|
|
3019
3169
|
}
|
|
3020
3170
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__row > .oui-data-table__check + * {
|
|
3021
3171
|
left: var(--_check-width);
|
|
@@ -3023,23 +3173,32 @@
|
|
|
3023
3173
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__header .oui-table__row > :is(:first-child, .oui-data-table__check + *) {
|
|
3024
3174
|
z-index: 2;
|
|
3025
3175
|
}
|
|
3176
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-table__header .oui-table__row > .oui-data-table__selection-head {
|
|
3177
|
+
left: auto;
|
|
3178
|
+
z-index: 1;
|
|
3179
|
+
}
|
|
3026
3180
|
.oui-data-table .oui-table[data-sticky-column][data-striped] .oui-table__body .oui-table__row:nth-child(even) {
|
|
3027
|
-
--
|
|
3181
|
+
--_row-tint: var(--oui-color-surface-muted);
|
|
3028
3182
|
}
|
|
3029
3183
|
.oui-data-table .oui-table[data-sticky-column][data-hoverable] .oui-table__body .oui-table__row:hover {
|
|
3030
|
-
--
|
|
3184
|
+
--_row-tint: var(--oui-color-surface-hover);
|
|
3031
3185
|
}
|
|
3032
|
-
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-tone]:not([data-selected]
|
|
3033
|
-
--
|
|
3186
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-tone-style~=fill]:not([data-selected]) {
|
|
3187
|
+
--_row-tint: var(--_tone-subtle);
|
|
3188
|
+
}
|
|
3189
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-tone-style~=fill]:not([data-selected]):hover {
|
|
3190
|
+
--_row-tint: var(--_tone-hover);
|
|
3034
3191
|
}
|
|
3035
|
-
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-clickable]:hover,
|
|
3036
3192
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__row:is([data-selected], [data-editing]) {
|
|
3037
|
-
--
|
|
3193
|
+
--_row-tint: var(--oui-color-accent-subtle);
|
|
3194
|
+
}
|
|
3195
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-clickable][data-clickable]:hover:not([data-selected], [data-editing], [data-tone-style~=fill]) {
|
|
3196
|
+
--_row-tint: var(--oui-color-accent-subtle);
|
|
3038
3197
|
}
|
|
3039
3198
|
.oui-data-table .oui-table-wrap:has(> .oui-table[data-sticky-column])[data-fade-start] {
|
|
3040
3199
|
mask-image: none;
|
|
3041
3200
|
}
|
|
3042
|
-
.oui-data-table .oui-table-wrap:has(> .oui-table[data-sticky-column])[data-fade-start] .oui-table__row > :is(:first-child:not(.oui-data-table__check), .oui-data-table__check + *)::after {
|
|
3201
|
+
.oui-data-table .oui-table-wrap:has(> .oui-table[data-sticky-column])[data-fade-start] .oui-table__row > :is(:first-child:not(.oui-data-table__check), .oui-data-table__check + *):not(.oui-data-table__selection-head)::after {
|
|
3043
3202
|
content: "";
|
|
3044
3203
|
position: absolute;
|
|
3045
3204
|
top: 0;
|
|
@@ -3053,10 +3212,9 @@
|
|
|
3053
3212
|
mask-image: linear-gradient(to left, transparent, #000 var(--_fade));
|
|
3054
3213
|
}
|
|
3055
3214
|
.oui-data-table .oui-table__row[data-tone] {
|
|
3215
|
+
--_tone: var(--oui-color-accent);
|
|
3056
3216
|
--_tone-subtle: var(--oui-color-accent-subtle);
|
|
3057
|
-
|
|
3058
|
-
.oui-data-table .oui-table__row[data-tone]:not([data-selected], :hover) {
|
|
3059
|
-
background: var(--_tone-subtle);
|
|
3217
|
+
--_tone-hover: color-mix(in oklab, var(--_tone-subtle), var(--_tone) 12%);
|
|
3060
3218
|
}
|
|
3061
3219
|
.oui-data-table .oui-table__row[data-tone][data-tone=info] {
|
|
3062
3220
|
--_tone: var(--oui-color-info);
|
|
@@ -3121,6 +3279,15 @@
|
|
|
3121
3279
|
--_tone-subtle: var(--oui-color-pink-subtle);
|
|
3122
3280
|
--_tone-border: var(--oui-color-pink-border);
|
|
3123
3281
|
}
|
|
3282
|
+
.oui-data-table .oui-table__row[data-tone][data-tone-style~=fill]:not([data-selected]) {
|
|
3283
|
+
background: var(--_tone-subtle);
|
|
3284
|
+
}
|
|
3285
|
+
.oui-data-table .oui-table__row[data-tone][data-tone-style~=fill]:not([data-selected]):hover {
|
|
3286
|
+
background: var(--_tone-hover);
|
|
3287
|
+
}
|
|
3288
|
+
.oui-data-table .oui-table__row[data-tone][data-tone-style~=bar] > :first-child {
|
|
3289
|
+
box-shadow: inset 3px 0 0 var(--_tone);
|
|
3290
|
+
}
|
|
3124
3291
|
.oui-data-table .oui-data-table__row-actions {
|
|
3125
3292
|
width: 1%;
|
|
3126
3293
|
padding-block: 0;
|
|
@@ -3264,7 +3431,7 @@
|
|
|
3264
3431
|
.oui-date-picker__trigger:focus-visible, .oui-date-picker__trigger[data-popup-open] {
|
|
3265
3432
|
border-color: var(--oui-color-border-focus);
|
|
3266
3433
|
box-shadow: var(--oui-focus-ring);
|
|
3267
|
-
outline:
|
|
3434
|
+
outline: 2px solid transparent;
|
|
3268
3435
|
}
|
|
3269
3436
|
.oui-date-picker__trigger[data-placeholder] .oui-date-picker__value {
|
|
3270
3437
|
color: var(--oui-color-text-subtle);
|
|
@@ -3365,6 +3532,13 @@
|
|
|
3365
3532
|
background: var(--oui-color-accent-subtle);
|
|
3366
3533
|
color: var(--oui-color-text-strong);
|
|
3367
3534
|
}
|
|
3535
|
+
@media (forced-colors: active) {
|
|
3536
|
+
.oui-date-range-picker__preset[data-highlighted] {
|
|
3537
|
+
forced-color-adjust: none;
|
|
3538
|
+
background: Highlight;
|
|
3539
|
+
color: HighlightText;
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3368
3542
|
.oui-date-range-picker__preset[data-disabled] {
|
|
3369
3543
|
opacity: var(--oui-control-disabled-opacity);
|
|
3370
3544
|
pointer-events: none;
|
|
@@ -3966,7 +4140,7 @@
|
|
|
3966
4140
|
.oui-dropzone:has(.oui-dropzone__input:focus-visible) {
|
|
3967
4141
|
border-color: var(--oui-color-border-focus);
|
|
3968
4142
|
box-shadow: var(--oui-focus-ring);
|
|
3969
|
-
outline:
|
|
4143
|
+
outline: 2px solid transparent;
|
|
3970
4144
|
}
|
|
3971
4145
|
.oui-dropzone[data-dragging] {
|
|
3972
4146
|
border-color: var(--oui-color-accent);
|
|
@@ -4137,7 +4311,7 @@
|
|
|
4137
4311
|
.oui-input:focus, .oui-input[data-focused] {
|
|
4138
4312
|
border-color: var(--oui-color-border-focus);
|
|
4139
4313
|
box-shadow: var(--oui-focus-ring);
|
|
4140
|
-
outline:
|
|
4314
|
+
outline: 2px solid transparent;
|
|
4141
4315
|
}
|
|
4142
4316
|
.oui-input[data-invalid]:focus {
|
|
4143
4317
|
border-color: var(--oui-color-danger);
|
|
@@ -4215,7 +4389,7 @@
|
|
|
4215
4389
|
.oui-input-group:focus-within {
|
|
4216
4390
|
border-color: var(--oui-color-border-focus);
|
|
4217
4391
|
box-shadow: var(--oui-focus-ring);
|
|
4218
|
-
outline:
|
|
4392
|
+
outline: 2px solid transparent;
|
|
4219
4393
|
}
|
|
4220
4394
|
.oui-input-group:has([data-invalid]) {
|
|
4221
4395
|
border-color: var(--oui-color-danger);
|
|
@@ -4495,6 +4669,7 @@
|
|
|
4495
4669
|
background: var(--_pin-color);
|
|
4496
4670
|
box-shadow: var(--oui-shadow-raised);
|
|
4497
4671
|
color: var(--oui-color-on-tone);
|
|
4672
|
+
color: oklch(from var(--_pin-color) clamp(0.19, (0.6 - l) * 1000, 1) 0 0);
|
|
4498
4673
|
font-size: var(--oui-font-size-xs);
|
|
4499
4674
|
font-weight: var(--oui-font-weight-bold);
|
|
4500
4675
|
font-variant-numeric: tabular-nums;
|
|
@@ -4610,7 +4785,7 @@
|
|
|
4610
4785
|
.oui-map-legend[data-size=sm] .oui-map-legend__swatch {
|
|
4611
4786
|
width: 0.5rem;
|
|
4612
4787
|
height: 0.5rem;
|
|
4613
|
-
border-radius:
|
|
4788
|
+
border-radius: var(--oui-radius-micro);
|
|
4614
4789
|
}
|
|
4615
4790
|
.oui-map-legend[data-size=sm] .oui-map-legend__count {
|
|
4616
4791
|
font-size: var(--oui-font-size-2xs);
|
|
@@ -4709,7 +4884,7 @@
|
|
|
4709
4884
|
flex-shrink: 0;
|
|
4710
4885
|
width: 0.75rem;
|
|
4711
4886
|
height: 0.75rem;
|
|
4712
|
-
border-radius:
|
|
4887
|
+
border-radius: var(--oui-radius-micro);
|
|
4713
4888
|
background: var(--_swatch);
|
|
4714
4889
|
}
|
|
4715
4890
|
.oui-map-legend__label {
|
|
@@ -4826,6 +5001,13 @@
|
|
|
4826
5001
|
background: var(--oui-color-accent-subtle);
|
|
4827
5002
|
color: var(--oui-color-text-strong);
|
|
4828
5003
|
}
|
|
5004
|
+
@media (forced-colors: active) {
|
|
5005
|
+
.oui-menu__item[data-highlighted] {
|
|
5006
|
+
forced-color-adjust: none;
|
|
5007
|
+
background: Highlight;
|
|
5008
|
+
color: HighlightText;
|
|
5009
|
+
}
|
|
5010
|
+
}
|
|
4829
5011
|
.oui-menu__item[data-disabled] {
|
|
4830
5012
|
opacity: var(--oui-control-disabled-opacity);
|
|
4831
5013
|
pointer-events: none;
|
|
@@ -4948,7 +5130,7 @@
|
|
|
4948
5130
|
.oui-number-field__group:focus-within {
|
|
4949
5131
|
border-color: var(--oui-color-border-focus);
|
|
4950
5132
|
box-shadow: var(--oui-focus-ring);
|
|
4951
|
-
outline:
|
|
5133
|
+
outline: 2px solid transparent;
|
|
4952
5134
|
}
|
|
4953
5135
|
.oui-number-field__group[data-size=sm] {
|
|
4954
5136
|
--_height: var(--oui-control-height-sm);
|
|
@@ -5271,7 +5453,7 @@
|
|
|
5271
5453
|
font-family: var(--oui-font-body);
|
|
5272
5454
|
-webkit-font-smoothing: antialiased;
|
|
5273
5455
|
-moz-osx-font-smoothing: grayscale;
|
|
5274
|
-
--_tone: var(--oui-color-accent);
|
|
5456
|
+
--_tone: var(--oui-color-accent-fill);
|
|
5275
5457
|
--_height: 0.5rem;
|
|
5276
5458
|
display: grid;
|
|
5277
5459
|
gap: 0.45rem;
|
|
@@ -5319,6 +5501,11 @@
|
|
|
5319
5501
|
border-radius: var(--oui-radius-pill);
|
|
5320
5502
|
background: color-mix(in srgb, var(--_tone) 16%, transparent);
|
|
5321
5503
|
}
|
|
5504
|
+
@media (forced-colors: active) {
|
|
5505
|
+
.oui-progress__track {
|
|
5506
|
+
border: 1px solid CanvasText;
|
|
5507
|
+
}
|
|
5508
|
+
}
|
|
5322
5509
|
.oui-progress__indicator {
|
|
5323
5510
|
display: block;
|
|
5324
5511
|
height: 100%;
|
|
@@ -5326,15 +5513,19 @@
|
|
|
5326
5513
|
background: var(--_tone);
|
|
5327
5514
|
transition: width var(--oui-duration-slow) var(--oui-ease-out);
|
|
5328
5515
|
}
|
|
5516
|
+
@media (forced-colors: active) {
|
|
5517
|
+
.oui-progress__indicator {
|
|
5518
|
+
forced-color-adjust: none;
|
|
5519
|
+
background: CanvasText;
|
|
5520
|
+
}
|
|
5521
|
+
}
|
|
5329
5522
|
.oui-progress__indicator[data-indeterminate] {
|
|
5330
5523
|
width: 35% !important;
|
|
5331
5524
|
animation: oui-indeterminate 1.3s ease-in-out infinite;
|
|
5332
5525
|
}
|
|
5333
5526
|
@media (prefers-reduced-motion: reduce) {
|
|
5334
5527
|
.oui-progress__indicator[data-indeterminate] {
|
|
5335
|
-
|
|
5336
|
-
animation-duration: 0.01ms !important;
|
|
5337
|
-
animation-iteration-count: 1 !important;
|
|
5528
|
+
animation-duration: 4s;
|
|
5338
5529
|
}
|
|
5339
5530
|
}
|
|
5340
5531
|
@keyframes oui-indeterminate {
|
|
@@ -5429,7 +5620,7 @@
|
|
|
5429
5620
|
.oui-select__trigger:focus-visible {
|
|
5430
5621
|
border-color: var(--oui-color-border-focus);
|
|
5431
5622
|
box-shadow: var(--oui-focus-ring);
|
|
5432
|
-
outline:
|
|
5623
|
+
outline: 2px solid transparent;
|
|
5433
5624
|
}
|
|
5434
5625
|
.oui-select__trigger[data-popup-open] {
|
|
5435
5626
|
border-color: var(--oui-color-accent);
|
|
@@ -5553,6 +5744,13 @@
|
|
|
5553
5744
|
background: var(--oui-color-accent-subtle);
|
|
5554
5745
|
color: var(--oui-color-text-strong);
|
|
5555
5746
|
}
|
|
5747
|
+
@media (forced-colors: active) {
|
|
5748
|
+
.oui-select__item[data-highlighted] {
|
|
5749
|
+
forced-color-adjust: none;
|
|
5750
|
+
background: Highlight;
|
|
5751
|
+
color: HighlightText;
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
5556
5754
|
.oui-select__item[data-disabled] {
|
|
5557
5755
|
opacity: var(--oui-control-disabled-opacity);
|
|
5558
5756
|
pointer-events: none;
|
|
@@ -5684,18 +5882,29 @@
|
|
|
5684
5882
|
border-radius: var(--oui-radius-pill);
|
|
5685
5883
|
background: var(--oui-color-accent-muted);
|
|
5686
5884
|
}
|
|
5885
|
+
@media (forced-colors: active) {
|
|
5886
|
+
.oui-slider__track {
|
|
5887
|
+
border: 1px solid CanvasText;
|
|
5888
|
+
}
|
|
5889
|
+
}
|
|
5687
5890
|
.oui-slider__indicator {
|
|
5688
5891
|
border-radius: inherit;
|
|
5689
|
-
background: var(--oui-color-accent);
|
|
5892
|
+
background: var(--oui-color-accent-fill);
|
|
5893
|
+
}
|
|
5894
|
+
@media (forced-colors: active) {
|
|
5895
|
+
.oui-slider__indicator {
|
|
5896
|
+
forced-color-adjust: none;
|
|
5897
|
+
background: CanvasText;
|
|
5898
|
+
}
|
|
5690
5899
|
}
|
|
5691
5900
|
.oui-slider__thumb {
|
|
5692
5901
|
--_size: var(--oui-slider-thumb-size, 1.15rem);
|
|
5693
5902
|
width: var(--_size);
|
|
5694
5903
|
height: var(--_size);
|
|
5695
|
-
border: 3px solid var(--oui-color-accent);
|
|
5904
|
+
border: 3px solid var(--oui-color-accent-fill);
|
|
5696
5905
|
border-radius: 50%;
|
|
5697
5906
|
background: var(--oui-color-surface);
|
|
5698
|
-
box-shadow:
|
|
5907
|
+
box-shadow: var(--oui-shadow-thumb);
|
|
5699
5908
|
cursor: grab;
|
|
5700
5909
|
transition: transform var(--oui-duration-fast) var(--oui-ease);
|
|
5701
5910
|
}
|
|
@@ -5730,9 +5939,14 @@
|
|
|
5730
5939
|
}
|
|
5731
5940
|
@media (prefers-reduced-motion: reduce) {
|
|
5732
5941
|
.oui-spinner {
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5942
|
+
animation-duration: 3s;
|
|
5943
|
+
}
|
|
5944
|
+
}
|
|
5945
|
+
@media (forced-colors: active) {
|
|
5946
|
+
.oui-spinner {
|
|
5947
|
+
forced-color-adjust: none;
|
|
5948
|
+
border-color: GrayText;
|
|
5949
|
+
border-top-color: CanvasText;
|
|
5736
5950
|
}
|
|
5737
5951
|
}
|
|
5738
5952
|
@keyframes oui-spin {
|
|
@@ -5880,11 +6094,11 @@
|
|
|
5880
6094
|
width: 0.9rem;
|
|
5881
6095
|
height: 0.9rem;
|
|
5882
6096
|
}
|
|
5883
|
-
.oui-stat__delta[data-tone=
|
|
6097
|
+
.oui-stat__delta[data-tone=success] {
|
|
5884
6098
|
background: var(--oui-color-success-subtle);
|
|
5885
6099
|
color: var(--oui-color-success-text);
|
|
5886
6100
|
}
|
|
5887
|
-
.oui-stat__delta[data-tone=
|
|
6101
|
+
.oui-stat__delta[data-tone=danger] {
|
|
5888
6102
|
background: var(--oui-color-danger-subtle);
|
|
5889
6103
|
color: var(--oui-color-danger-text);
|
|
5890
6104
|
}
|
|
@@ -5963,7 +6177,7 @@
|
|
|
5963
6177
|
min-width: 1rem;
|
|
5964
6178
|
height: 2px;
|
|
5965
6179
|
margin-right: var(--oui-stepper-gap, var(--_gap));
|
|
5966
|
-
border-radius:
|
|
6180
|
+
border-radius: var(--oui-radius-micro);
|
|
5967
6181
|
}
|
|
5968
6182
|
[data-orientation=vertical] > .oui-stepper__step {
|
|
5969
6183
|
align-items: flex-start;
|
|
@@ -5978,7 +6192,7 @@
|
|
|
5978
6192
|
bottom: 0.25rem;
|
|
5979
6193
|
left: calc(var(--oui-stepper-marker-size, var(--_marker)) / 2 - 1px);
|
|
5980
6194
|
width: 2px;
|
|
5981
|
-
border-radius:
|
|
6195
|
+
border-radius: var(--oui-radius-micro);
|
|
5982
6196
|
}
|
|
5983
6197
|
.oui-stepper__marker {
|
|
5984
6198
|
display: inline-flex;
|
|
@@ -6016,7 +6230,7 @@
|
|
|
6016
6230
|
[data-status=error] > .oui-stepper__marker {
|
|
6017
6231
|
border-color: var(--oui-color-danger);
|
|
6018
6232
|
background: var(--oui-color-danger);
|
|
6019
|
-
color:
|
|
6233
|
+
color: var(--oui-color-on-tone);
|
|
6020
6234
|
}
|
|
6021
6235
|
.oui-stepper__text {
|
|
6022
6236
|
display: grid;
|
|
@@ -6065,7 +6279,7 @@
|
|
|
6065
6279
|
width: 100%;
|
|
6066
6280
|
height: 4px;
|
|
6067
6281
|
border: 0;
|
|
6068
|
-
border-radius:
|
|
6282
|
+
border-radius: var(--oui-radius-micro);
|
|
6069
6283
|
background: var(--_line);
|
|
6070
6284
|
box-shadow: none;
|
|
6071
6285
|
font-size: 0;
|
|
@@ -6133,6 +6347,10 @@
|
|
|
6133
6347
|
.oui-table-wrap[data-fade-start][data-fade-end] {
|
|
6134
6348
|
mask-image: linear-gradient(to right, transparent, #000 var(--_fade), #000 calc(100% - var(--_fade)), transparent);
|
|
6135
6349
|
}
|
|
6350
|
+
.oui-table-wrap:focus-visible {
|
|
6351
|
+
outline: var(--oui-focus-outline);
|
|
6352
|
+
outline-offset: -2px;
|
|
6353
|
+
}
|
|
6136
6354
|
.oui-table {
|
|
6137
6355
|
box-sizing: border-box;
|
|
6138
6356
|
margin: 0;
|
|
@@ -6290,6 +6508,7 @@
|
|
|
6290
6508
|
overflow-x: auto;
|
|
6291
6509
|
overscroll-behavior-x: contain;
|
|
6292
6510
|
scrollbar-width: none;
|
|
6511
|
+
scroll-padding-inline: 1.5rem;
|
|
6293
6512
|
--_fade: 1.5rem;
|
|
6294
6513
|
}
|
|
6295
6514
|
.oui-tabs__list[data-fade-start] {
|
|
@@ -6385,7 +6604,7 @@
|
|
|
6385
6604
|
left: var(--active-tab-left);
|
|
6386
6605
|
width: var(--active-tab-width);
|
|
6387
6606
|
height: 2px;
|
|
6388
|
-
border-radius:
|
|
6607
|
+
border-radius: var(--oui-radius-micro) var(--oui-radius-micro) 0 0;
|
|
6389
6608
|
background: var(--oui-color-accent);
|
|
6390
6609
|
}
|
|
6391
6610
|
.oui-tabs__list[data-variant=underline][data-orientation=vertical] {
|
|
@@ -6403,7 +6622,7 @@
|
|
|
6403
6622
|
left: auto;
|
|
6404
6623
|
width: 2px;
|
|
6405
6624
|
height: var(--active-tab-height);
|
|
6406
|
-
border-radius:
|
|
6625
|
+
border-radius: var(--oui-radius-micro) 0 0 var(--oui-radius-micro);
|
|
6407
6626
|
}
|
|
6408
6627
|
.oui-tabs__list[data-variant=segmented] {
|
|
6409
6628
|
display: inline-flex;
|
|
@@ -6587,6 +6806,20 @@
|
|
|
6587
6806
|
outline: var(--oui-focus-outline);
|
|
6588
6807
|
outline-offset: -2px;
|
|
6589
6808
|
}
|
|
6809
|
+
@media (pointer: coarse) {
|
|
6810
|
+
.oui-tag__remove {
|
|
6811
|
+
position: relative;
|
|
6812
|
+
}
|
|
6813
|
+
.oui-tag__remove::before {
|
|
6814
|
+
content: "";
|
|
6815
|
+
position: absolute;
|
|
6816
|
+
top: 50%;
|
|
6817
|
+
left: 50%;
|
|
6818
|
+
width: max(100%, 2.5rem);
|
|
6819
|
+
height: max(100%, 2.5rem);
|
|
6820
|
+
translate: -50% -50%;
|
|
6821
|
+
}
|
|
6822
|
+
}
|
|
6590
6823
|
.oui-tag__remove:hover:not(:disabled) {
|
|
6591
6824
|
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
6592
6825
|
}
|