@optimum-intelligence/opti-ui 0.8.0 → 0.8.1
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 +58 -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/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 +34 -12
- package/dist/components/data-table/DataTable.js +401 -250
- 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 +1 -1
- package/dist/components/data-table/DataTableFilters.js +24 -23
- package/dist/components/data-table/DataTableFilters.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 +22 -0
- package/dist/components/data-table/useDataTable.d.ts +1 -1
- package/dist/components/data-table/useDataTable.js +367 -335
- package/dist/components/data-table/useDataTable.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.json +102 -15
- 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 +52 -13
- package/dist/llms.txt +2 -1
- package/dist/opti-ui.css +171 -40
- package/package.json +1 -1
package/dist/opti-ui.css
CHANGED
|
@@ -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] {
|
|
@@ -2400,6 +2436,20 @@
|
|
|
2400
2436
|
outline: var(--oui-focus-outline);
|
|
2401
2437
|
outline-offset: -2px;
|
|
2402
2438
|
}
|
|
2439
|
+
@media (pointer: coarse) {
|
|
2440
|
+
.oui-combobox__chip-remove {
|
|
2441
|
+
position: relative;
|
|
2442
|
+
}
|
|
2443
|
+
.oui-combobox__chip-remove::before {
|
|
2444
|
+
content: "";
|
|
2445
|
+
position: absolute;
|
|
2446
|
+
top: 50%;
|
|
2447
|
+
left: 50%;
|
|
2448
|
+
width: max(100%, 2.5rem);
|
|
2449
|
+
height: max(100%, 2.5rem);
|
|
2450
|
+
translate: -50% -50%;
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2403
2453
|
.oui-combobox__chip-remove:hover {
|
|
2404
2454
|
background: var(--oui-color-accent-strong);
|
|
2405
2455
|
}
|
|
@@ -2752,6 +2802,71 @@
|
|
|
2752
2802
|
.oui-data-table__toolbar[data-layout=narrow] > :first-child:not(.oui-input-group) {
|
|
2753
2803
|
margin-left: auto;
|
|
2754
2804
|
}
|
|
2805
|
+
.oui-data-table .oui-table__row[data-selecting] > .oui-table__head {
|
|
2806
|
+
--_tint: color-mix(in srgb, var(--oui-color-accent) 8%, transparent);
|
|
2807
|
+
background: linear-gradient(var(--_tint), var(--_tint)), var(--oui-color-surface);
|
|
2808
|
+
}
|
|
2809
|
+
.oui-data-table .oui-table__head.oui-data-table__selection-head {
|
|
2810
|
+
box-sizing: border-box;
|
|
2811
|
+
padding-block: 0;
|
|
2812
|
+
color: var(--oui-color-text);
|
|
2813
|
+
font-size: var(--oui-font-size-sm);
|
|
2814
|
+
font-weight: var(--oui-font-weight-regular);
|
|
2815
|
+
letter-spacing: normal;
|
|
2816
|
+
text-transform: none;
|
|
2817
|
+
}
|
|
2818
|
+
.oui-data-table__selection-bar {
|
|
2819
|
+
position: sticky;
|
|
2820
|
+
left: var(--oui-space-4);
|
|
2821
|
+
display: flex;
|
|
2822
|
+
align-items: center;
|
|
2823
|
+
gap: var(--oui-space-4);
|
|
2824
|
+
width: fit-content;
|
|
2825
|
+
max-width: 100%;
|
|
2826
|
+
}
|
|
2827
|
+
.oui-data-table__selection-bar .oui-button {
|
|
2828
|
+
--oui-button-height: 1.5rem;
|
|
2829
|
+
--oui-button-padding-x: 0.65rem;
|
|
2830
|
+
--oui-button-font-size: var(--oui-font-size-xs);
|
|
2831
|
+
}
|
|
2832
|
+
@media (pointer: coarse) {
|
|
2833
|
+
.oui-data-table__selection-bar .oui-button {
|
|
2834
|
+
position: relative;
|
|
2835
|
+
}
|
|
2836
|
+
.oui-data-table__selection-bar .oui-button::before {
|
|
2837
|
+
content: "";
|
|
2838
|
+
position: absolute;
|
|
2839
|
+
top: 50%;
|
|
2840
|
+
left: 50%;
|
|
2841
|
+
width: max(100%, 2.5rem);
|
|
2842
|
+
height: max(100%, 2.5rem);
|
|
2843
|
+
translate: -50% -50%;
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
.oui-data-table__selection-bar .oui-icon-button {
|
|
2847
|
+
--oui-button-padding-x: 0;
|
|
2848
|
+
}
|
|
2849
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-data-table__selection-bar {
|
|
2850
|
+
left: calc(var(--_check-width) + var(--oui-space-4));
|
|
2851
|
+
}
|
|
2852
|
+
.oui-data-table__selection-count {
|
|
2853
|
+
color: var(--oui-color-text-strong);
|
|
2854
|
+
font-size: var(--oui-font-size-sm);
|
|
2855
|
+
font-weight: var(--oui-font-weight-semibold);
|
|
2856
|
+
font-variant-numeric: tabular-nums;
|
|
2857
|
+
white-space: nowrap;
|
|
2858
|
+
}
|
|
2859
|
+
.oui-data-table__selection-actions {
|
|
2860
|
+
display: flex;
|
|
2861
|
+
align-items: center;
|
|
2862
|
+
gap: var(--oui-space-3);
|
|
2863
|
+
}
|
|
2864
|
+
:is(.oui-data-table__filter-button, .oui-data-table__sheet-trigger) > .oui-data-table__filter-badge {
|
|
2865
|
+
position: absolute;
|
|
2866
|
+
top: -0.45rem;
|
|
2867
|
+
right: -0.45rem;
|
|
2868
|
+
box-shadow: 0 0 0 2px var(--oui-color-surface);
|
|
2869
|
+
}
|
|
2755
2870
|
.oui-data-table__sheet-trigger[data-active],
|
|
2756
2871
|
.oui-data-table__filter-button[data-active] {
|
|
2757
2872
|
--_border: var(--oui-color-accent);
|
|
@@ -2770,9 +2885,6 @@
|
|
|
2770
2885
|
font-variant-numeric: tabular-nums;
|
|
2771
2886
|
line-height: 1;
|
|
2772
2887
|
}
|
|
2773
|
-
.oui-data-table__filter-badge[data-empty] {
|
|
2774
|
-
visibility: hidden;
|
|
2775
|
-
}
|
|
2776
2888
|
.oui-data-table__clear[data-hidden] {
|
|
2777
2889
|
visibility: hidden;
|
|
2778
2890
|
}
|
|
@@ -3023,6 +3135,10 @@
|
|
|
3023
3135
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__header .oui-table__row > :is(:first-child, .oui-data-table__check + *) {
|
|
3024
3136
|
z-index: 2;
|
|
3025
3137
|
}
|
|
3138
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-table__header .oui-table__row > .oui-data-table__selection-head {
|
|
3139
|
+
left: auto;
|
|
3140
|
+
z-index: 1;
|
|
3141
|
+
}
|
|
3026
3142
|
.oui-data-table .oui-table[data-sticky-column][data-striped] .oui-table__body .oui-table__row:nth-child(even) {
|
|
3027
3143
|
--_tint: var(--oui-color-surface-muted);
|
|
3028
3144
|
}
|
|
@@ -3039,7 +3155,7 @@
|
|
|
3039
3155
|
.oui-data-table .oui-table-wrap:has(> .oui-table[data-sticky-column])[data-fade-start] {
|
|
3040
3156
|
mask-image: none;
|
|
3041
3157
|
}
|
|
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 {
|
|
3158
|
+
.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
3159
|
content: "";
|
|
3044
3160
|
position: absolute;
|
|
3045
3161
|
top: 0;
|
|
@@ -4495,6 +4611,7 @@
|
|
|
4495
4611
|
background: var(--_pin-color);
|
|
4496
4612
|
box-shadow: var(--oui-shadow-raised);
|
|
4497
4613
|
color: var(--oui-color-on-tone);
|
|
4614
|
+
color: oklch(from var(--_pin-color) clamp(0.19, (0.6 - l) * 1000, 1) 0 0);
|
|
4498
4615
|
font-size: var(--oui-font-size-xs);
|
|
4499
4616
|
font-weight: var(--oui-font-weight-bold);
|
|
4500
4617
|
font-variant-numeric: tabular-nums;
|
|
@@ -4610,7 +4727,7 @@
|
|
|
4610
4727
|
.oui-map-legend[data-size=sm] .oui-map-legend__swatch {
|
|
4611
4728
|
width: 0.5rem;
|
|
4612
4729
|
height: 0.5rem;
|
|
4613
|
-
border-radius:
|
|
4730
|
+
border-radius: var(--oui-radius-micro);
|
|
4614
4731
|
}
|
|
4615
4732
|
.oui-map-legend[data-size=sm] .oui-map-legend__count {
|
|
4616
4733
|
font-size: var(--oui-font-size-2xs);
|
|
@@ -4709,7 +4826,7 @@
|
|
|
4709
4826
|
flex-shrink: 0;
|
|
4710
4827
|
width: 0.75rem;
|
|
4711
4828
|
height: 0.75rem;
|
|
4712
|
-
border-radius:
|
|
4829
|
+
border-radius: var(--oui-radius-micro);
|
|
4713
4830
|
background: var(--_swatch);
|
|
4714
4831
|
}
|
|
4715
4832
|
.oui-map-legend__label {
|
|
@@ -5271,7 +5388,7 @@
|
|
|
5271
5388
|
font-family: var(--oui-font-body);
|
|
5272
5389
|
-webkit-font-smoothing: antialiased;
|
|
5273
5390
|
-moz-osx-font-smoothing: grayscale;
|
|
5274
|
-
--_tone: var(--oui-color-accent);
|
|
5391
|
+
--_tone: var(--oui-color-accent-fill);
|
|
5275
5392
|
--_height: 0.5rem;
|
|
5276
5393
|
display: grid;
|
|
5277
5394
|
gap: 0.45rem;
|
|
@@ -5686,16 +5803,16 @@
|
|
|
5686
5803
|
}
|
|
5687
5804
|
.oui-slider__indicator {
|
|
5688
5805
|
border-radius: inherit;
|
|
5689
|
-
background: var(--oui-color-accent);
|
|
5806
|
+
background: var(--oui-color-accent-fill);
|
|
5690
5807
|
}
|
|
5691
5808
|
.oui-slider__thumb {
|
|
5692
5809
|
--_size: var(--oui-slider-thumb-size, 1.15rem);
|
|
5693
5810
|
width: var(--_size);
|
|
5694
5811
|
height: var(--_size);
|
|
5695
|
-
border: 3px solid var(--oui-color-accent);
|
|
5812
|
+
border: 3px solid var(--oui-color-accent-fill);
|
|
5696
5813
|
border-radius: 50%;
|
|
5697
5814
|
background: var(--oui-color-surface);
|
|
5698
|
-
box-shadow:
|
|
5815
|
+
box-shadow: var(--oui-shadow-thumb);
|
|
5699
5816
|
cursor: grab;
|
|
5700
5817
|
transition: transform var(--oui-duration-fast) var(--oui-ease);
|
|
5701
5818
|
}
|
|
@@ -5880,11 +5997,11 @@
|
|
|
5880
5997
|
width: 0.9rem;
|
|
5881
5998
|
height: 0.9rem;
|
|
5882
5999
|
}
|
|
5883
|
-
.oui-stat__delta[data-tone=
|
|
6000
|
+
.oui-stat__delta[data-tone=success] {
|
|
5884
6001
|
background: var(--oui-color-success-subtle);
|
|
5885
6002
|
color: var(--oui-color-success-text);
|
|
5886
6003
|
}
|
|
5887
|
-
.oui-stat__delta[data-tone=
|
|
6004
|
+
.oui-stat__delta[data-tone=danger] {
|
|
5888
6005
|
background: var(--oui-color-danger-subtle);
|
|
5889
6006
|
color: var(--oui-color-danger-text);
|
|
5890
6007
|
}
|
|
@@ -5963,7 +6080,7 @@
|
|
|
5963
6080
|
min-width: 1rem;
|
|
5964
6081
|
height: 2px;
|
|
5965
6082
|
margin-right: var(--oui-stepper-gap, var(--_gap));
|
|
5966
|
-
border-radius:
|
|
6083
|
+
border-radius: var(--oui-radius-micro);
|
|
5967
6084
|
}
|
|
5968
6085
|
[data-orientation=vertical] > .oui-stepper__step {
|
|
5969
6086
|
align-items: flex-start;
|
|
@@ -5978,7 +6095,7 @@
|
|
|
5978
6095
|
bottom: 0.25rem;
|
|
5979
6096
|
left: calc(var(--oui-stepper-marker-size, var(--_marker)) / 2 - 1px);
|
|
5980
6097
|
width: 2px;
|
|
5981
|
-
border-radius:
|
|
6098
|
+
border-radius: var(--oui-radius-micro);
|
|
5982
6099
|
}
|
|
5983
6100
|
.oui-stepper__marker {
|
|
5984
6101
|
display: inline-flex;
|
|
@@ -6016,7 +6133,7 @@
|
|
|
6016
6133
|
[data-status=error] > .oui-stepper__marker {
|
|
6017
6134
|
border-color: var(--oui-color-danger);
|
|
6018
6135
|
background: var(--oui-color-danger);
|
|
6019
|
-
color:
|
|
6136
|
+
color: var(--oui-color-on-tone);
|
|
6020
6137
|
}
|
|
6021
6138
|
.oui-stepper__text {
|
|
6022
6139
|
display: grid;
|
|
@@ -6065,7 +6182,7 @@
|
|
|
6065
6182
|
width: 100%;
|
|
6066
6183
|
height: 4px;
|
|
6067
6184
|
border: 0;
|
|
6068
|
-
border-radius:
|
|
6185
|
+
border-radius: var(--oui-radius-micro);
|
|
6069
6186
|
background: var(--_line);
|
|
6070
6187
|
box-shadow: none;
|
|
6071
6188
|
font-size: 0;
|
|
@@ -6385,7 +6502,7 @@
|
|
|
6385
6502
|
left: var(--active-tab-left);
|
|
6386
6503
|
width: var(--active-tab-width);
|
|
6387
6504
|
height: 2px;
|
|
6388
|
-
border-radius:
|
|
6505
|
+
border-radius: var(--oui-radius-micro) var(--oui-radius-micro) 0 0;
|
|
6389
6506
|
background: var(--oui-color-accent);
|
|
6390
6507
|
}
|
|
6391
6508
|
.oui-tabs__list[data-variant=underline][data-orientation=vertical] {
|
|
@@ -6403,7 +6520,7 @@
|
|
|
6403
6520
|
left: auto;
|
|
6404
6521
|
width: 2px;
|
|
6405
6522
|
height: var(--active-tab-height);
|
|
6406
|
-
border-radius:
|
|
6523
|
+
border-radius: var(--oui-radius-micro) 0 0 var(--oui-radius-micro);
|
|
6407
6524
|
}
|
|
6408
6525
|
.oui-tabs__list[data-variant=segmented] {
|
|
6409
6526
|
display: inline-flex;
|
|
@@ -6587,6 +6704,20 @@
|
|
|
6587
6704
|
outline: var(--oui-focus-outline);
|
|
6588
6705
|
outline-offset: -2px;
|
|
6589
6706
|
}
|
|
6707
|
+
@media (pointer: coarse) {
|
|
6708
|
+
.oui-tag__remove {
|
|
6709
|
+
position: relative;
|
|
6710
|
+
}
|
|
6711
|
+
.oui-tag__remove::before {
|
|
6712
|
+
content: "";
|
|
6713
|
+
position: absolute;
|
|
6714
|
+
top: 50%;
|
|
6715
|
+
left: 50%;
|
|
6716
|
+
width: max(100%, 2.5rem);
|
|
6717
|
+
height: max(100%, 2.5rem);
|
|
6718
|
+
translate: -50% -50%;
|
|
6719
|
+
}
|
|
6720
|
+
}
|
|
6590
6721
|
.oui-tag__remove:hover:not(:disabled) {
|
|
6591
6722
|
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
6592
6723
|
}
|
package/package.json
CHANGED