@oddmash/ui 0.6.0 → 0.7.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/README.md +1 -1
- package/dist/chunk-7VBNUFSJ.js +109 -0
- package/dist/{chunk-WHFF7XSS.js → chunk-EYG4MUDZ.js} +34 -6
- package/dist/{chunk-ITEJEMEF.js → chunk-GDIRM6CK.js} +7 -2
- package/dist/{chunk-Z6HKBFCS.js → chunk-NPHIUQ3M.js} +84 -0
- package/dist/{chunk-FKO6T5XG.js → chunk-YTXTQWA7.js} +1 -1
- package/dist/index.js +5 -5
- package/dist/locale-picker.js +2 -2
- package/dist/select.js +1 -1
- package/dist/styles.css +445 -174
- package/dist/toast-provider.js +2 -2
- package/dist/toast.d.ts +2 -0
- package/dist/toast.js +1 -1
- package/dist/tokens.css +220 -0
- package/dist/tokens.d.ts +56 -0
- package/dist/tokens.js +1 -1
- package/package.json +1 -1
- package/tokens/primitive.json +358 -2
- package/tokens/semantic/dark.json +234 -0
- package/tokens/semantic/light.json +234 -0
- package/dist/chunk-LKCU6TJK.js +0 -53
package/dist/styles.css
CHANGED
|
@@ -51,10 +51,64 @@
|
|
|
51
51
|
--om-primitive-motion-fast: 0.12s;
|
|
52
52
|
--om-primitive-motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
53
53
|
--om-primitive-shadow-panel: 0px 4px 16px 0px rgb(0% 0% 0% / 0.12);
|
|
54
|
+
--om-primitive-dimension-px-440: 440px;
|
|
55
|
+
--om-primitive-dimension-px-3: 3px;
|
|
56
|
+
--om-primitive-dimension-px-480: 480px;
|
|
57
|
+
--om-primitive-dimension-px-240: 240px;
|
|
58
|
+
--om-primitive-dimension-rem-1: 1rem;
|
|
59
|
+
--om-primitive-dimension-rem-0-5: 0.5rem;
|
|
60
|
+
--om-primitive-dimension-rem-0-28: 0.28rem;
|
|
61
|
+
--om-primitive-dimension-rem-0-375: 0.375rem;
|
|
62
|
+
--om-primitive-dimension-rem-2-25: 2.25rem;
|
|
63
|
+
--om-primitive-dimension-rem-1-25: 1.25rem;
|
|
64
|
+
--om-primitive-dimension-rem-0-75: 0.75rem;
|
|
65
|
+
--om-primitive-dimension-rem-1-125: 1.125rem;
|
|
66
|
+
--om-primitive-dimension-rem-2-5: 2.5rem;
|
|
67
|
+
--om-primitive-dimension-rem-12: 12rem;
|
|
68
|
+
--om-primitive-dimension-rem-22: 22rem;
|
|
69
|
+
--om-primitive-dimension-px-0: 0px;
|
|
70
|
+
--om-primitive-dimension-px-20: 20px;
|
|
71
|
+
--om-primitive-dimension-px-28: 28px;
|
|
72
|
+
--om-primitive-dimension-px-5: 5px;
|
|
73
|
+
--om-primitive-dimension-px-360: 360px;
|
|
74
|
+
--om-primitive-dimension-rem-72: 72rem;
|
|
75
|
+
--om-primitive-dimension-px-48: 48px;
|
|
76
|
+
--om-primitive-dimension-rem-4: 4rem;
|
|
77
|
+
--om-primitive-dimension-px-44: 44px;
|
|
78
|
+
--om-primitive-duration-ms-160: 0.16s;
|
|
79
|
+
--om-primitive-duration-ms-750: 0.75s;
|
|
80
|
+
--om-primitive-duration-ms-240: 0.24s;
|
|
81
|
+
--om-primitive-duration-ms-180: 0.18s;
|
|
82
|
+
--om-primitive-duration-ms-900: 0.9s;
|
|
83
|
+
--om-primitive-duration-ms-220: 0.22s;
|
|
84
|
+
--om-primitive-duration-ms-140: 0.14s;
|
|
85
|
+
--om-primitive-duration-ms-1600: 1.6s;
|
|
86
|
+
--om-primitive-duration-ms-950: 0.95s;
|
|
87
|
+
--om-primitive-number-opacity-0-5: 0.5;
|
|
88
|
+
--om-primitive-number-layer-1000: 1000;
|
|
89
|
+
--om-primitive-number-layer-1001: 1001;
|
|
90
|
+
--om-primitive-number-weight-650: 650;
|
|
91
|
+
--om-primitive-number-layer-2: 2;
|
|
92
|
+
--om-primitive-number-layer-900: 900;
|
|
93
|
+
--om-primitive-number-weight-600: 600;
|
|
94
|
+
--om-primitive-number-opacity-0-65: 0.65;
|
|
95
|
+
--om-primitive-easing-curve-0-22-0-8-0-3-1: cubic-bezier(0.22, 0.8, 0.3, 1);
|
|
96
|
+
--om-primitive-easing-curve-0-4-0-0-2-1: cubic-bezier(0.4, 0, 0.2, 1);
|
|
97
|
+
--om-primitive-easing-curve-0-2-0-8-0-2-1: cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
98
|
+
--om-primitive-easing-curve-0-45-0-0-55-1: cubic-bezier(0.45, 0, 0.55, 1);
|
|
99
|
+
--om-primitive-breakpoint-compact: 48rem;
|
|
54
100
|
--om-semantic-border-style: solid;
|
|
55
101
|
--om-semantic-control-height: 36px;
|
|
56
102
|
--om-semantic-control-small: 28px;
|
|
57
103
|
--om-semantic-overlay: rgba(0, 0, 0, 0.5);
|
|
104
|
+
--om-primitive-dimension-px-2: var(--om-primitive-space-2);
|
|
105
|
+
--om-primitive-dimension-px-1: var(--om-primitive-border-width);
|
|
106
|
+
--om-primitive-dimension-px-32: var(--om-primitive-space-32);
|
|
107
|
+
--om-primitive-dimension-px-4: var(--om-primitive-space-4);
|
|
108
|
+
--om-primitive-dimension-px-16: var(--om-primitive-space-16);
|
|
109
|
+
--om-primitive-dimension-px-12: var(--om-primitive-space-12);
|
|
110
|
+
--om-primitive-dimension-px-8: var(--om-primitive-space-8);
|
|
111
|
+
--om-primitive-duration-ms-120: var(--om-primitive-motion-fast);
|
|
58
112
|
--om-semantic-color-bg: var(--om-primitive-color-paper);
|
|
59
113
|
--om-semantic-color-surface: var(--om-primitive-color-white);
|
|
60
114
|
--om-semantic-color-text: var(--om-primitive-color-ink);
|
|
@@ -94,7 +148,63 @@
|
|
|
94
148
|
--om-semantic-shadow: var(--om-primitive-shadow-panel);
|
|
95
149
|
--om-semantic-motion-duration: var(--om-primitive-motion-fast);
|
|
96
150
|
--om-semantic-motion-ease: var(--om-primitive-motion-ease);
|
|
151
|
+
--om-semantic-control-touch-target: var(--om-primitive-dimension-px-44);
|
|
152
|
+
--om-semantic-dimension-px-440: var(--om-primitive-dimension-px-440);
|
|
153
|
+
--om-semantic-dimension-px-3: var(--om-primitive-dimension-px-3);
|
|
154
|
+
--om-semantic-dimension-px-480: var(--om-primitive-dimension-px-480);
|
|
155
|
+
--om-semantic-dimension-px-240: var(--om-primitive-dimension-px-240);
|
|
156
|
+
--om-semantic-dimension-rem-1: var(--om-primitive-dimension-rem-1);
|
|
157
|
+
--om-semantic-dimension-rem-0-5: var(--om-primitive-dimension-rem-0-5);
|
|
158
|
+
--om-semantic-dimension-rem-0-28: var(--om-primitive-dimension-rem-0-28);
|
|
159
|
+
--om-semantic-dimension-rem-0-375: var(--om-primitive-dimension-rem-0-375);
|
|
160
|
+
--om-semantic-dimension-rem-2-25: var(--om-primitive-dimension-rem-2-25);
|
|
161
|
+
--om-semantic-dimension-rem-1-25: var(--om-primitive-dimension-rem-1-25);
|
|
162
|
+
--om-semantic-dimension-rem-0-75: var(--om-primitive-dimension-rem-0-75);
|
|
163
|
+
--om-semantic-dimension-rem-1-125: var(--om-primitive-dimension-rem-1-125);
|
|
164
|
+
--om-semantic-dimension-rem-2-5: var(--om-primitive-dimension-rem-2-5);
|
|
165
|
+
--om-semantic-dimension-rem-12: var(--om-primitive-dimension-rem-12);
|
|
166
|
+
--om-semantic-dimension-rem-22: var(--om-primitive-dimension-rem-22);
|
|
167
|
+
--om-semantic-dimension-px-0: var(--om-primitive-dimension-px-0);
|
|
168
|
+
--om-semantic-dimension-px-20: var(--om-primitive-dimension-px-20);
|
|
169
|
+
--om-semantic-dimension-px-28: var(--om-primitive-dimension-px-28);
|
|
170
|
+
--om-semantic-dimension-px-5: var(--om-primitive-dimension-px-5);
|
|
171
|
+
--om-semantic-dimension-px-360: var(--om-primitive-dimension-px-360);
|
|
172
|
+
--om-semantic-dimension-rem-72: var(--om-primitive-dimension-rem-72);
|
|
173
|
+
--om-semantic-dimension-px-48: var(--om-primitive-dimension-px-48);
|
|
174
|
+
--om-semantic-dimension-rem-4: var(--om-primitive-dimension-rem-4);
|
|
175
|
+
--om-semantic-dimension-px-44: var(--om-primitive-dimension-px-44);
|
|
176
|
+
--om-semantic-duration-ms-160: var(--om-primitive-duration-ms-160);
|
|
177
|
+
--om-semantic-duration-ms-750: var(--om-primitive-duration-ms-750);
|
|
178
|
+
--om-semantic-duration-ms-240: var(--om-primitive-duration-ms-240);
|
|
179
|
+
--om-semantic-duration-ms-180: var(--om-primitive-duration-ms-180);
|
|
180
|
+
--om-semantic-duration-ms-900: var(--om-primitive-duration-ms-900);
|
|
181
|
+
--om-semantic-duration-ms-220: var(--om-primitive-duration-ms-220);
|
|
182
|
+
--om-semantic-duration-ms-140: var(--om-primitive-duration-ms-140);
|
|
183
|
+
--om-semantic-duration-ms-1600: var(--om-primitive-duration-ms-1600);
|
|
184
|
+
--om-semantic-duration-ms-950: var(--om-primitive-duration-ms-950);
|
|
185
|
+
--om-semantic-number-opacity-0-5: var(--om-primitive-number-opacity-0-5);
|
|
186
|
+
--om-semantic-number-layer-1000: var(--om-primitive-number-layer-1000);
|
|
187
|
+
--om-semantic-number-layer-1001: var(--om-primitive-number-layer-1001);
|
|
188
|
+
--om-semantic-number-weight-650: var(--om-primitive-number-weight-650);
|
|
189
|
+
--om-semantic-number-layer-2: var(--om-primitive-number-layer-2);
|
|
190
|
+
--om-semantic-number-layer-900: var(--om-primitive-number-layer-900);
|
|
191
|
+
--om-semantic-number-weight-600: var(--om-primitive-number-weight-600);
|
|
192
|
+
--om-semantic-number-opacity-0-65: var(--om-primitive-number-opacity-0-65);
|
|
193
|
+
--om-semantic-easing-curve-0-22-0-8-0-3-1: var(--om-primitive-easing-curve-0-22-0-8-0-3-1);
|
|
194
|
+
--om-semantic-easing-curve-0-4-0-0-2-1: var(--om-primitive-easing-curve-0-4-0-0-2-1);
|
|
195
|
+
--om-semantic-easing-curve-0-2-0-8-0-2-1: var(--om-primitive-easing-curve-0-2-0-8-0-2-1);
|
|
196
|
+
--om-semantic-easing-curve-0-45-0-0-55-1: var(--om-primitive-easing-curve-0-45-0-0-55-1);
|
|
97
197
|
--om-semantic-border-default: var(--om-primitive-border-width) solid var(--om-semantic-color-border);
|
|
198
|
+
--om-semantic-dimension-px-2: var(--om-primitive-dimension-px-2);
|
|
199
|
+
--om-semantic-dimension-px-1: var(--om-primitive-dimension-px-1);
|
|
200
|
+
--om-semantic-dimension-px-32: var(--om-primitive-dimension-px-32);
|
|
201
|
+
--om-semantic-dimension-px-4: var(--om-primitive-dimension-px-4);
|
|
202
|
+
--om-semantic-dimension-px-16: var(--om-primitive-dimension-px-16);
|
|
203
|
+
--om-semantic-dimension-px-12: var(--om-primitive-dimension-px-12);
|
|
204
|
+
--om-semantic-dimension-px-8: var(--om-primitive-dimension-px-8);
|
|
205
|
+
--om-semantic-duration-ms-120: var(--om-primitive-duration-ms-120);
|
|
206
|
+
--om-semantic-focus-width: var(--om-primitive-dimension-px-2);
|
|
207
|
+
--om-semantic-focus-offset: var(--om-primitive-dimension-px-2);
|
|
98
208
|
}
|
|
99
209
|
|
|
100
210
|
[data-om-theme=dark] {
|
|
@@ -149,10 +259,64 @@
|
|
|
149
259
|
--om-primitive-motion-fast: 0.12s;
|
|
150
260
|
--om-primitive-motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
151
261
|
--om-primitive-shadow-panel: 0px 4px 16px 0px rgb(0% 0% 0% / 0.12);
|
|
262
|
+
--om-primitive-dimension-px-440: 440px;
|
|
263
|
+
--om-primitive-dimension-px-3: 3px;
|
|
264
|
+
--om-primitive-dimension-px-480: 480px;
|
|
265
|
+
--om-primitive-dimension-px-240: 240px;
|
|
266
|
+
--om-primitive-dimension-rem-1: 1rem;
|
|
267
|
+
--om-primitive-dimension-rem-0-5: 0.5rem;
|
|
268
|
+
--om-primitive-dimension-rem-0-28: 0.28rem;
|
|
269
|
+
--om-primitive-dimension-rem-0-375: 0.375rem;
|
|
270
|
+
--om-primitive-dimension-rem-2-25: 2.25rem;
|
|
271
|
+
--om-primitive-dimension-rem-1-25: 1.25rem;
|
|
272
|
+
--om-primitive-dimension-rem-0-75: 0.75rem;
|
|
273
|
+
--om-primitive-dimension-rem-1-125: 1.125rem;
|
|
274
|
+
--om-primitive-dimension-rem-2-5: 2.5rem;
|
|
275
|
+
--om-primitive-dimension-rem-12: 12rem;
|
|
276
|
+
--om-primitive-dimension-rem-22: 22rem;
|
|
277
|
+
--om-primitive-dimension-px-0: 0px;
|
|
278
|
+
--om-primitive-dimension-px-20: 20px;
|
|
279
|
+
--om-primitive-dimension-px-28: 28px;
|
|
280
|
+
--om-primitive-dimension-px-5: 5px;
|
|
281
|
+
--om-primitive-dimension-px-360: 360px;
|
|
282
|
+
--om-primitive-dimension-rem-72: 72rem;
|
|
283
|
+
--om-primitive-dimension-px-48: 48px;
|
|
284
|
+
--om-primitive-dimension-rem-4: 4rem;
|
|
285
|
+
--om-primitive-dimension-px-44: 44px;
|
|
286
|
+
--om-primitive-duration-ms-160: 0.16s;
|
|
287
|
+
--om-primitive-duration-ms-750: 0.75s;
|
|
288
|
+
--om-primitive-duration-ms-240: 0.24s;
|
|
289
|
+
--om-primitive-duration-ms-180: 0.18s;
|
|
290
|
+
--om-primitive-duration-ms-900: 0.9s;
|
|
291
|
+
--om-primitive-duration-ms-220: 0.22s;
|
|
292
|
+
--om-primitive-duration-ms-140: 0.14s;
|
|
293
|
+
--om-primitive-duration-ms-1600: 1.6s;
|
|
294
|
+
--om-primitive-duration-ms-950: 0.95s;
|
|
295
|
+
--om-primitive-number-opacity-0-5: 0.5;
|
|
296
|
+
--om-primitive-number-layer-1000: 1000;
|
|
297
|
+
--om-primitive-number-layer-1001: 1001;
|
|
298
|
+
--om-primitive-number-weight-650: 650;
|
|
299
|
+
--om-primitive-number-layer-2: 2;
|
|
300
|
+
--om-primitive-number-layer-900: 900;
|
|
301
|
+
--om-primitive-number-weight-600: 600;
|
|
302
|
+
--om-primitive-number-opacity-0-65: 0.65;
|
|
303
|
+
--om-primitive-easing-curve-0-22-0-8-0-3-1: cubic-bezier(0.22, 0.8, 0.3, 1);
|
|
304
|
+
--om-primitive-easing-curve-0-4-0-0-2-1: cubic-bezier(0.4, 0, 0.2, 1);
|
|
305
|
+
--om-primitive-easing-curve-0-2-0-8-0-2-1: cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
306
|
+
--om-primitive-easing-curve-0-45-0-0-55-1: cubic-bezier(0.45, 0, 0.55, 1);
|
|
307
|
+
--om-primitive-breakpoint-compact: 48rem;
|
|
152
308
|
--om-semantic-border-style: solid;
|
|
153
309
|
--om-semantic-control-height: 36px;
|
|
154
310
|
--om-semantic-control-small: 28px;
|
|
155
311
|
--om-semantic-overlay: rgba(0, 0, 0, 0.5);
|
|
312
|
+
--om-primitive-dimension-px-2: var(--om-primitive-space-2);
|
|
313
|
+
--om-primitive-dimension-px-1: var(--om-primitive-border-width);
|
|
314
|
+
--om-primitive-dimension-px-32: var(--om-primitive-space-32);
|
|
315
|
+
--om-primitive-dimension-px-4: var(--om-primitive-space-4);
|
|
316
|
+
--om-primitive-dimension-px-16: var(--om-primitive-space-16);
|
|
317
|
+
--om-primitive-dimension-px-12: var(--om-primitive-space-12);
|
|
318
|
+
--om-primitive-dimension-px-8: var(--om-primitive-space-8);
|
|
319
|
+
--om-primitive-duration-ms-120: var(--om-primitive-motion-fast);
|
|
156
320
|
--om-semantic-color-bg: var(--om-primitive-color-night);
|
|
157
321
|
--om-semantic-color-surface: var(--om-primitive-color-surface);
|
|
158
322
|
--om-semantic-color-text: var(--om-primitive-color-bright);
|
|
@@ -192,7 +356,63 @@
|
|
|
192
356
|
--om-semantic-shadow: var(--om-primitive-shadow-panel);
|
|
193
357
|
--om-semantic-motion-duration: var(--om-primitive-motion-fast);
|
|
194
358
|
--om-semantic-motion-ease: var(--om-primitive-motion-ease);
|
|
359
|
+
--om-semantic-control-touch-target: var(--om-primitive-dimension-px-44);
|
|
360
|
+
--om-semantic-dimension-px-440: var(--om-primitive-dimension-px-440);
|
|
361
|
+
--om-semantic-dimension-px-3: var(--om-primitive-dimension-px-3);
|
|
362
|
+
--om-semantic-dimension-px-480: var(--om-primitive-dimension-px-480);
|
|
363
|
+
--om-semantic-dimension-px-240: var(--om-primitive-dimension-px-240);
|
|
364
|
+
--om-semantic-dimension-rem-1: var(--om-primitive-dimension-rem-1);
|
|
365
|
+
--om-semantic-dimension-rem-0-5: var(--om-primitive-dimension-rem-0-5);
|
|
366
|
+
--om-semantic-dimension-rem-0-28: var(--om-primitive-dimension-rem-0-28);
|
|
367
|
+
--om-semantic-dimension-rem-0-375: var(--om-primitive-dimension-rem-0-375);
|
|
368
|
+
--om-semantic-dimension-rem-2-25: var(--om-primitive-dimension-rem-2-25);
|
|
369
|
+
--om-semantic-dimension-rem-1-25: var(--om-primitive-dimension-rem-1-25);
|
|
370
|
+
--om-semantic-dimension-rem-0-75: var(--om-primitive-dimension-rem-0-75);
|
|
371
|
+
--om-semantic-dimension-rem-1-125: var(--om-primitive-dimension-rem-1-125);
|
|
372
|
+
--om-semantic-dimension-rem-2-5: var(--om-primitive-dimension-rem-2-5);
|
|
373
|
+
--om-semantic-dimension-rem-12: var(--om-primitive-dimension-rem-12);
|
|
374
|
+
--om-semantic-dimension-rem-22: var(--om-primitive-dimension-rem-22);
|
|
375
|
+
--om-semantic-dimension-px-0: var(--om-primitive-dimension-px-0);
|
|
376
|
+
--om-semantic-dimension-px-20: var(--om-primitive-dimension-px-20);
|
|
377
|
+
--om-semantic-dimension-px-28: var(--om-primitive-dimension-px-28);
|
|
378
|
+
--om-semantic-dimension-px-5: var(--om-primitive-dimension-px-5);
|
|
379
|
+
--om-semantic-dimension-px-360: var(--om-primitive-dimension-px-360);
|
|
380
|
+
--om-semantic-dimension-rem-72: var(--om-primitive-dimension-rem-72);
|
|
381
|
+
--om-semantic-dimension-px-48: var(--om-primitive-dimension-px-48);
|
|
382
|
+
--om-semantic-dimension-rem-4: var(--om-primitive-dimension-rem-4);
|
|
383
|
+
--om-semantic-dimension-px-44: var(--om-primitive-dimension-px-44);
|
|
384
|
+
--om-semantic-duration-ms-160: var(--om-primitive-duration-ms-160);
|
|
385
|
+
--om-semantic-duration-ms-750: var(--om-primitive-duration-ms-750);
|
|
386
|
+
--om-semantic-duration-ms-240: var(--om-primitive-duration-ms-240);
|
|
387
|
+
--om-semantic-duration-ms-180: var(--om-primitive-duration-ms-180);
|
|
388
|
+
--om-semantic-duration-ms-900: var(--om-primitive-duration-ms-900);
|
|
389
|
+
--om-semantic-duration-ms-220: var(--om-primitive-duration-ms-220);
|
|
390
|
+
--om-semantic-duration-ms-140: var(--om-primitive-duration-ms-140);
|
|
391
|
+
--om-semantic-duration-ms-1600: var(--om-primitive-duration-ms-1600);
|
|
392
|
+
--om-semantic-duration-ms-950: var(--om-primitive-duration-ms-950);
|
|
393
|
+
--om-semantic-number-opacity-0-5: var(--om-primitive-number-opacity-0-5);
|
|
394
|
+
--om-semantic-number-layer-1000: var(--om-primitive-number-layer-1000);
|
|
395
|
+
--om-semantic-number-layer-1001: var(--om-primitive-number-layer-1001);
|
|
396
|
+
--om-semantic-number-weight-650: var(--om-primitive-number-weight-650);
|
|
397
|
+
--om-semantic-number-layer-2: var(--om-primitive-number-layer-2);
|
|
398
|
+
--om-semantic-number-layer-900: var(--om-primitive-number-layer-900);
|
|
399
|
+
--om-semantic-number-weight-600: var(--om-primitive-number-weight-600);
|
|
400
|
+
--om-semantic-number-opacity-0-65: var(--om-primitive-number-opacity-0-65);
|
|
401
|
+
--om-semantic-easing-curve-0-22-0-8-0-3-1: var(--om-primitive-easing-curve-0-22-0-8-0-3-1);
|
|
402
|
+
--om-semantic-easing-curve-0-4-0-0-2-1: var(--om-primitive-easing-curve-0-4-0-0-2-1);
|
|
403
|
+
--om-semantic-easing-curve-0-2-0-8-0-2-1: var(--om-primitive-easing-curve-0-2-0-8-0-2-1);
|
|
404
|
+
--om-semantic-easing-curve-0-45-0-0-55-1: var(--om-primitive-easing-curve-0-45-0-0-55-1);
|
|
195
405
|
--om-semantic-border-default: var(--om-primitive-border-width) solid var(--om-semantic-color-border);
|
|
406
|
+
--om-semantic-dimension-px-2: var(--om-primitive-dimension-px-2);
|
|
407
|
+
--om-semantic-dimension-px-1: var(--om-primitive-dimension-px-1);
|
|
408
|
+
--om-semantic-dimension-px-32: var(--om-primitive-dimension-px-32);
|
|
409
|
+
--om-semantic-dimension-px-4: var(--om-primitive-dimension-px-4);
|
|
410
|
+
--om-semantic-dimension-px-16: var(--om-primitive-dimension-px-16);
|
|
411
|
+
--om-semantic-dimension-px-12: var(--om-primitive-dimension-px-12);
|
|
412
|
+
--om-semantic-dimension-px-8: var(--om-primitive-dimension-px-8);
|
|
413
|
+
--om-semantic-duration-ms-120: var(--om-primitive-duration-ms-120);
|
|
414
|
+
--om-semantic-focus-width: var(--om-primitive-dimension-px-2);
|
|
415
|
+
--om-semantic-focus-offset: var(--om-primitive-dimension-px-2);
|
|
196
416
|
}
|
|
197
417
|
|
|
198
418
|
:is(.om-textarea,
|
|
@@ -223,7 +443,7 @@
|
|
|
223
443
|
border-color: var(--om-semantic-color-danger);
|
|
224
444
|
}
|
|
225
445
|
:is(.om-textarea, .om-select):disabled {
|
|
226
|
-
opacity: 0
|
|
446
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
227
447
|
}
|
|
228
448
|
|
|
229
449
|
.om-textarea {
|
|
@@ -239,6 +459,13 @@ select.om-select optgroup {
|
|
|
239
459
|
color: var(--om-semantic-color-text);
|
|
240
460
|
}
|
|
241
461
|
|
|
462
|
+
select.om-select {
|
|
463
|
+
cursor: pointer;
|
|
464
|
+
}
|
|
465
|
+
select.om-select:disabled {
|
|
466
|
+
cursor: not-allowed;
|
|
467
|
+
}
|
|
468
|
+
|
|
242
469
|
.om-progress {
|
|
243
470
|
accent-color: var(--om-semantic-color-action);
|
|
244
471
|
}
|
|
@@ -250,7 +477,7 @@ select.om-select optgroup {
|
|
|
250
477
|
}
|
|
251
478
|
:is(.om-checkbox, .om-radio, .om-switch):disabled {
|
|
252
479
|
cursor: not-allowed;
|
|
253
|
-
opacity: 0
|
|
480
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
254
481
|
}
|
|
255
482
|
|
|
256
483
|
:is(.om-checkbox, .om-radio) {
|
|
@@ -259,9 +486,9 @@ select.om-select optgroup {
|
|
|
259
486
|
display: inline-grid;
|
|
260
487
|
place-items: center;
|
|
261
488
|
flex: none;
|
|
262
|
-
inline-size:
|
|
263
|
-
block-size:
|
|
264
|
-
border:
|
|
489
|
+
inline-size: var(--om-semantic-dimension-rem-1);
|
|
490
|
+
block-size: var(--om-semantic-dimension-rem-1);
|
|
491
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
265
492
|
background: var(--om-semantic-color-bg);
|
|
266
493
|
color: var(--om-semantic-color-on-action);
|
|
267
494
|
}
|
|
@@ -277,11 +504,11 @@ select.om-select optgroup {
|
|
|
277
504
|
border-radius: var(--om-semantic-radius-sm);
|
|
278
505
|
}
|
|
279
506
|
.om-checkbox:checked::before {
|
|
280
|
-
inline-size: 0
|
|
281
|
-
block-size: 0
|
|
282
|
-
border-inline-start:
|
|
283
|
-
border-block-end:
|
|
284
|
-
transform: translateY(-
|
|
507
|
+
inline-size: var(--om-semantic-dimension-rem-0-5);
|
|
508
|
+
block-size: var(--om-semantic-dimension-rem-0-28);
|
|
509
|
+
border-inline-start: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
510
|
+
border-block-end: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
511
|
+
transform: translateY(calc(-1 * var(--om-semantic-dimension-px-1))) rotate(-45deg);
|
|
285
512
|
}
|
|
286
513
|
.om-checkbox:indeterminate {
|
|
287
514
|
background: var(--om-semantic-color-action);
|
|
@@ -289,8 +516,8 @@ select.om-select optgroup {
|
|
|
289
516
|
}
|
|
290
517
|
.om-checkbox:indeterminate::before {
|
|
291
518
|
content: "";
|
|
292
|
-
inline-size: 0
|
|
293
|
-
border-block-end:
|
|
519
|
+
inline-size: var(--om-semantic-dimension-rem-0-5);
|
|
520
|
+
border-block-end: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
294
521
|
border-inline-start: 0;
|
|
295
522
|
block-size: 0;
|
|
296
523
|
transform: none;
|
|
@@ -300,8 +527,8 @@ select.om-select optgroup {
|
|
|
300
527
|
border-radius: 50%;
|
|
301
528
|
}
|
|
302
529
|
.om-radio:checked::before {
|
|
303
|
-
inline-size: 0
|
|
304
|
-
block-size: 0
|
|
530
|
+
inline-size: var(--om-semantic-dimension-rem-0-375);
|
|
531
|
+
block-size: var(--om-semantic-dimension-rem-0-375);
|
|
305
532
|
border-radius: 50%;
|
|
306
533
|
background: currentColor;
|
|
307
534
|
}
|
|
@@ -311,27 +538,27 @@ select.om-select optgroup {
|
|
|
311
538
|
box-sizing: border-box;
|
|
312
539
|
display: inline-grid;
|
|
313
540
|
align-items: center;
|
|
314
|
-
width: 2
|
|
315
|
-
height: 1
|
|
316
|
-
padding:
|
|
317
|
-
border:
|
|
541
|
+
width: var(--om-semantic-dimension-rem-2-25);
|
|
542
|
+
height: var(--om-semantic-dimension-rem-1-25);
|
|
543
|
+
padding: var(--om-semantic-dimension-px-2);
|
|
544
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
318
545
|
border-radius: var(--om-semantic-radius-pill);
|
|
319
546
|
background: var(--om-semantic-color-bg);
|
|
320
547
|
}
|
|
321
548
|
.om-switch::before {
|
|
322
549
|
content: "";
|
|
323
|
-
width: 0
|
|
324
|
-
height: 0
|
|
550
|
+
width: var(--om-semantic-dimension-rem-0-75);
|
|
551
|
+
height: var(--om-semantic-dimension-rem-0-75);
|
|
325
552
|
border-radius: 50%;
|
|
326
553
|
background: var(--om-semantic-color-muted);
|
|
327
554
|
justify-self: start;
|
|
328
|
-
transition: transform
|
|
555
|
+
transition: transform var(--om-semantic-duration-ms-160) var(--om-semantic-motion-ease), background-color var(--om-semantic-duration-ms-160) ease-out;
|
|
329
556
|
}
|
|
330
557
|
.om-switch:checked {
|
|
331
558
|
background: var(--om-semantic-color-action);
|
|
332
559
|
}
|
|
333
560
|
.om-switch:checked::before {
|
|
334
|
-
transform: translateX(1
|
|
561
|
+
transform: translateX(var(--om-semantic-dimension-rem-1-125));
|
|
335
562
|
background: var(--om-semantic-color-on-action);
|
|
336
563
|
}
|
|
337
564
|
|
|
@@ -349,8 +576,8 @@ select.om-select optgroup {
|
|
|
349
576
|
|
|
350
577
|
.om-alert {
|
|
351
578
|
padding: var(--om-semantic-space-md);
|
|
352
|
-
border:
|
|
353
|
-
border-inline-start:
|
|
579
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
580
|
+
border-inline-start: var(--om-semantic-dimension-px-3) solid var(--om-semantic-color-text);
|
|
354
581
|
border-radius: var(--om-semantic-radius-sm);
|
|
355
582
|
background: var(--om-semantic-color-surface);
|
|
356
583
|
}
|
|
@@ -363,10 +590,10 @@ select.om-select optgroup {
|
|
|
363
590
|
display: inline-grid;
|
|
364
591
|
place-items: center;
|
|
365
592
|
flex: none;
|
|
366
|
-
width: 2
|
|
367
|
-
height: 2
|
|
593
|
+
width: var(--om-semantic-dimension-rem-2-5);
|
|
594
|
+
height: var(--om-semantic-dimension-rem-2-5);
|
|
368
595
|
overflow: hidden;
|
|
369
|
-
border:
|
|
596
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
370
597
|
border-radius: 50%;
|
|
371
598
|
background: var(--om-semantic-color-surface);
|
|
372
599
|
font-weight: var(--om-semantic-font-weight);
|
|
@@ -383,7 +610,7 @@ select.om-select optgroup {
|
|
|
383
610
|
width: 100%;
|
|
384
611
|
margin: var(--om-semantic-space-md) 0;
|
|
385
612
|
border: 0;
|
|
386
|
-
border-block-start:
|
|
613
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
387
614
|
}
|
|
388
615
|
|
|
389
616
|
.om-skeleton {
|
|
@@ -397,18 +624,18 @@ select.om-select optgroup {
|
|
|
397
624
|
.om-spinner {
|
|
398
625
|
display: inline-block;
|
|
399
626
|
box-sizing: border-box;
|
|
400
|
-
width: 1
|
|
401
|
-
height: 1
|
|
402
|
-
border:
|
|
627
|
+
width: var(--om-semantic-dimension-rem-1-125);
|
|
628
|
+
height: var(--om-semantic-dimension-rem-1-125);
|
|
629
|
+
border: var(--om-semantic-dimension-px-2) solid var(--om-semantic-color-border-subtle);
|
|
403
630
|
border-block-start-color: var(--om-semantic-color-text);
|
|
404
631
|
border-radius: 50%;
|
|
405
|
-
animation: om-spinner-turn
|
|
632
|
+
animation: om-spinner-turn var(--om-semantic-duration-ms-750) linear infinite;
|
|
406
633
|
}
|
|
407
634
|
|
|
408
635
|
.om-spinner-label {
|
|
409
636
|
position: absolute;
|
|
410
|
-
width:
|
|
411
|
-
height:
|
|
637
|
+
width: var(--om-semantic-dimension-px-1);
|
|
638
|
+
height: var(--om-semantic-dimension-px-1);
|
|
412
639
|
padding: 0;
|
|
413
640
|
overflow: hidden;
|
|
414
641
|
clip-path: inset(50%);
|
|
@@ -423,11 +650,11 @@ select.om-select optgroup {
|
|
|
423
650
|
.om-progress {
|
|
424
651
|
display: block;
|
|
425
652
|
width: 100%;
|
|
426
|
-
height: 0
|
|
653
|
+
height: var(--om-semantic-dimension-rem-0-75);
|
|
427
654
|
}
|
|
428
655
|
|
|
429
656
|
.om-accordion {
|
|
430
|
-
border-block-end:
|
|
657
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
431
658
|
}
|
|
432
659
|
.om-accordion > summary {
|
|
433
660
|
padding: var(--om-semantic-space-md) var(--om-semantic-space-xs);
|
|
@@ -466,7 +693,7 @@ select.om-select optgroup {
|
|
|
466
693
|
overflow-wrap: anywhere;
|
|
467
694
|
}
|
|
468
695
|
.om-table :is(th, td) {
|
|
469
|
-
border-block-end:
|
|
696
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
470
697
|
}
|
|
471
698
|
.om-table thead {
|
|
472
699
|
background: var(--om-semantic-color-surface);
|
|
@@ -487,7 +714,7 @@ select.om-select optgroup {
|
|
|
487
714
|
}
|
|
488
715
|
.om-breadcrumbs > ol > li + li {
|
|
489
716
|
padding-inline-start: var(--om-semantic-space-sm);
|
|
490
|
-
border-inline-start:
|
|
717
|
+
border-inline-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
491
718
|
}
|
|
492
719
|
|
|
493
720
|
.om-breadcrumbs a {
|
|
@@ -502,7 +729,7 @@ select.om-select optgroup {
|
|
|
502
729
|
min-width: var(--om-semantic-control-height);
|
|
503
730
|
min-height: var(--om-semantic-control-height);
|
|
504
731
|
padding-inline: var(--om-semantic-space-sm);
|
|
505
|
-
border:
|
|
732
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
506
733
|
border-radius: var(--om-semantic-radius-sm);
|
|
507
734
|
background: var(--om-semantic-color-surface);
|
|
508
735
|
color: inherit;
|
|
@@ -517,7 +744,7 @@ select.om-select optgroup {
|
|
|
517
744
|
|
|
518
745
|
.om-empty-state {
|
|
519
746
|
padding: var(--om-semantic-space-xl);
|
|
520
|
-
border:
|
|
747
|
+
border: var(--om-semantic-border-width) dashed var(--om-semantic-color-border);
|
|
521
748
|
border-radius: var(--om-semantic-radius-md);
|
|
522
749
|
text-align: center;
|
|
523
750
|
}
|
|
@@ -528,8 +755,8 @@ select.om-select optgroup {
|
|
|
528
755
|
.om-accordion > summary,
|
|
529
756
|
.om-breadcrumbs a,
|
|
530
757
|
.om-pagination > :is(a, button)):focus-visible {
|
|
531
|
-
outline:
|
|
532
|
-
outline-offset: -
|
|
758
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
759
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
533
760
|
}
|
|
534
761
|
|
|
535
762
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -549,7 +776,7 @@ select.om-select optgroup {
|
|
|
549
776
|
border-block-start-color: CanvasText;
|
|
550
777
|
}
|
|
551
778
|
.om-pagination > [aria-current=page] {
|
|
552
|
-
outline:
|
|
779
|
+
outline: var(--om-semantic-focus-width) solid Highlight;
|
|
553
780
|
}
|
|
554
781
|
}
|
|
555
782
|
.om-select-dropdown {
|
|
@@ -557,21 +784,33 @@ select.om-select optgroup {
|
|
|
557
784
|
min-inline-size: 0;
|
|
558
785
|
}
|
|
559
786
|
.om-select-dropdown > [role=listbox] {
|
|
787
|
+
--om-select-menu-height: var(--om-semantic-dimension-rem-12);
|
|
560
788
|
position: absolute;
|
|
561
|
-
z-index: 2;
|
|
562
|
-
inset: calc(100% +
|
|
563
|
-
max-block-size:
|
|
789
|
+
z-index: var(--om-semantic-number-layer-2);
|
|
790
|
+
inset: calc(100% + var(--om-semantic-dimension-px-4)) 0 auto;
|
|
791
|
+
max-block-size: var(--om-select-menu-height);
|
|
792
|
+
box-sizing: border-box;
|
|
564
793
|
margin: 0;
|
|
565
794
|
padding: var(--om-semantic-space-xs);
|
|
566
795
|
overflow: auto;
|
|
796
|
+
overscroll-behavior: contain;
|
|
567
797
|
list-style: none;
|
|
568
|
-
border:
|
|
798
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
569
799
|
border-radius: var(--om-semantic-radius-md);
|
|
570
800
|
background: var(--om-semantic-color-surface);
|
|
571
801
|
box-shadow: var(--om-semantic-shadow);
|
|
572
802
|
color: var(--om-semantic-color-text);
|
|
573
803
|
font: var(--om-semantic-font-size)/var(--om-semantic-font-line) var(--om-semantic-font-family);
|
|
574
804
|
}
|
|
805
|
+
.om-select-dropdown > [role=listbox][data-positioned] {
|
|
806
|
+
position: fixed;
|
|
807
|
+
inset: calc(var(--om-select-anchor-top) + var(--om-semantic-space-xs)) auto auto var(--om-select-anchor-left);
|
|
808
|
+
inline-size: var(--om-select-anchor-width);
|
|
809
|
+
max-block-size: max(0%, min(var(--om-select-menu-height), var(--om-select-available) - var(--om-semantic-space-xs)));
|
|
810
|
+
}
|
|
811
|
+
.om-select-dropdown > [role=listbox][data-positioned][data-placement=above] {
|
|
812
|
+
inset-block: auto calc(var(--om-select-anchor-bottom) + var(--om-semantic-space-xs));
|
|
813
|
+
}
|
|
575
814
|
.om-select-dropdown > [role=listbox] > [role=option] {
|
|
576
815
|
display: flex;
|
|
577
816
|
justify-content: space-between;
|
|
@@ -588,8 +827,8 @@ select.om-select optgroup {
|
|
|
588
827
|
flex: none;
|
|
589
828
|
inline-size: 0.6em;
|
|
590
829
|
block-size: 0.35em;
|
|
591
|
-
border-inline-start:
|
|
592
|
-
border-block-end:
|
|
830
|
+
border-inline-start: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
831
|
+
border-block-end: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
593
832
|
transform: rotate(-45deg);
|
|
594
833
|
visibility: hidden;
|
|
595
834
|
}
|
|
@@ -604,12 +843,15 @@ select.om-select optgroup {
|
|
|
604
843
|
visibility: visible;
|
|
605
844
|
}
|
|
606
845
|
.om-select-dropdown > [role=listbox] > [role=option]:hover:not([aria-disabled=true]) {
|
|
607
|
-
background: color-mix(in srgb, var(--om-semantic-color-text)
|
|
846
|
+
background: color-mix(in srgb, var(--om-semantic-color-text) 6%, var(--om-semantic-color-surface));
|
|
847
|
+
}
|
|
848
|
+
.om-select-dropdown > [role=listbox] > [role=option][aria-selected=true]:hover:not([aria-disabled=true]) {
|
|
849
|
+
background: color-mix(in srgb, var(--om-semantic-color-text) 14%, var(--om-semantic-color-surface));
|
|
608
850
|
}
|
|
609
|
-
.om-select-dropdown > [role=listbox] > [role=option][data-active] {
|
|
610
|
-
background: color-mix(in srgb, var(--om-semantic-color-
|
|
611
|
-
outline:
|
|
612
|
-
outline-offset: -
|
|
851
|
+
.om-select-dropdown > [role=listbox] > [role=option][data-keyboard-active] {
|
|
852
|
+
background: color-mix(in srgb, var(--om-semantic-color-focus) 12%, var(--om-semantic-color-surface));
|
|
853
|
+
outline: var(--om-semantic-border-width) solid var(--om-semantic-color-focus);
|
|
854
|
+
outline-offset: calc(-1 * var(--om-semantic-border-width));
|
|
613
855
|
}
|
|
614
856
|
|
|
615
857
|
@media (forced-colors: active) {
|
|
@@ -618,11 +860,11 @@ select.om-select optgroup {
|
|
|
618
860
|
background: Highlight;
|
|
619
861
|
color: HighlightText;
|
|
620
862
|
}
|
|
621
|
-
.om-select-dropdown > [role=listbox] > [role=option][data-active], .om-select-dropdown > [role=listbox] > [role=option]:hover:not([aria-disabled=true]) {
|
|
622
|
-
outline:
|
|
623
|
-
outline-offset: -
|
|
863
|
+
.om-select-dropdown > [role=listbox] > [role=option][data-keyboard-active], .om-select-dropdown > [role=listbox] > [role=option]:hover:not([aria-disabled=true]) {
|
|
864
|
+
outline: var(--om-semantic-dimension-px-1) solid Highlight;
|
|
865
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
624
866
|
}
|
|
625
|
-
.om-select-dropdown > [role=listbox] > [role=option][aria-selected=true][data-active], .om-select-dropdown > [role=listbox] > [role=option][aria-selected=true]:hover {
|
|
867
|
+
.om-select-dropdown > [role=listbox] > [role=option][aria-selected=true][data-keyboard-active], .om-select-dropdown > [role=listbox] > [role=option][aria-selected=true]:hover {
|
|
626
868
|
outline-color: HighlightText;
|
|
627
869
|
}
|
|
628
870
|
}
|
|
@@ -633,6 +875,10 @@ select.om-select optgroup {
|
|
|
633
875
|
gap: var(--om-semantic-space-sm);
|
|
634
876
|
text-align: start;
|
|
635
877
|
overflow-wrap: anywhere;
|
|
878
|
+
cursor: pointer;
|
|
879
|
+
}
|
|
880
|
+
.om-select-dropdown-trigger:disabled, .om-select-dropdown-trigger[aria-disabled=true] {
|
|
881
|
+
cursor: not-allowed;
|
|
636
882
|
}
|
|
637
883
|
.om-select-dropdown-trigger::after {
|
|
638
884
|
content: "";
|
|
@@ -640,24 +886,24 @@ select.om-select optgroup {
|
|
|
640
886
|
inline-size: 0.4em;
|
|
641
887
|
block-size: 0.4em;
|
|
642
888
|
margin-inline: 0.2em;
|
|
643
|
-
border-inline-end:
|
|
644
|
-
border-block-end:
|
|
889
|
+
border-inline-end: var(--om-semantic-border-width) solid currentColor;
|
|
890
|
+
border-block-end: var(--om-semantic-border-width) solid currentColor;
|
|
645
891
|
transform: rotate(45deg);
|
|
646
892
|
}
|
|
647
893
|
|
|
648
894
|
.om-toast-region {
|
|
649
895
|
position: fixed;
|
|
650
|
-
z-index: 900;
|
|
896
|
+
z-index: var(--om-semantic-number-layer-900);
|
|
651
897
|
inset: auto var(--om-semantic-space-lg) var(--om-semantic-space-lg) auto;
|
|
652
|
-
inline-size: min(
|
|
898
|
+
inline-size: min(var(--om-semantic-dimension-rem-22), 100% - 2 * var(--om-semantic-space-lg));
|
|
653
899
|
pointer-events: none;
|
|
654
900
|
}
|
|
655
901
|
|
|
656
902
|
.om-toast-viewport {
|
|
657
903
|
position: fixed;
|
|
658
|
-
z-index: 900;
|
|
904
|
+
z-index: var(--om-semantic-number-layer-900);
|
|
659
905
|
inset: auto var(--om-semantic-space-lg) var(--om-semantic-space-lg) auto;
|
|
660
|
-
inline-size: min(
|
|
906
|
+
inline-size: min(var(--om-semantic-dimension-rem-22), 100% - 2 * var(--om-semantic-space-lg));
|
|
661
907
|
max-block-size: calc(100dvh - 2 * var(--om-semantic-space-lg));
|
|
662
908
|
display: flex;
|
|
663
909
|
flex-direction: column;
|
|
@@ -678,15 +924,15 @@ select.om-select optgroup {
|
|
|
678
924
|
display: block;
|
|
679
925
|
overflow: visible;
|
|
680
926
|
block-size: var(--om-toast-stack-height, 0);
|
|
681
|
-
transition: block-size
|
|
927
|
+
transition: block-size var(--om-semantic-duration-ms-240) var(--om-semantic-easing-curve-0-22-0-8-0-3-1);
|
|
682
928
|
}
|
|
683
929
|
.om-toast-viewport[data-stack-ready=true]:not([data-stack-overflow=true]) > .om-toast-region {
|
|
684
930
|
position: absolute;
|
|
685
931
|
inset: auto 0 0;
|
|
686
932
|
z-index: var(--om-toast-layer, 0);
|
|
687
|
-
transform: translateY(calc(-1 * var(--om-toast-offset,
|
|
933
|
+
transform: translateY(calc(-1 * var(--om-toast-offset, var(--om-semantic-dimension-px-0)))) scale(var(--om-toast-scale, 1));
|
|
688
934
|
transform-origin: center bottom;
|
|
689
|
-
transition: transform
|
|
935
|
+
transition: transform var(--om-semantic-duration-ms-240) var(--om-semantic-easing-curve-0-22-0-8-0-3-1), opacity var(--om-semantic-duration-ms-180) ease-out;
|
|
690
936
|
}
|
|
691
937
|
.om-toast-viewport[data-stack-ready=true]:not([data-stack-overflow=true]) > .om-toast-region[data-stack-back=true][data-state=open] {
|
|
692
938
|
max-block-size: var(--om-toast-front-height);
|
|
@@ -710,7 +956,7 @@ select.om-select optgroup {
|
|
|
710
956
|
align-items: center;
|
|
711
957
|
gap: var(--om-semantic-space-sm);
|
|
712
958
|
padding: var(--om-semantic-space-md) var(--om-semantic-space-lg);
|
|
713
|
-
border:
|
|
959
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
714
960
|
border-radius: var(--om-semantic-radius-lg);
|
|
715
961
|
background: var(--om-semantic-color-surface);
|
|
716
962
|
color: var(--om-semantic-color-text);
|
|
@@ -723,8 +969,8 @@ select.om-select optgroup {
|
|
|
723
969
|
}
|
|
724
970
|
.om-toast .om-toast-icon {
|
|
725
971
|
flex: none;
|
|
726
|
-
inline-size:
|
|
727
|
-
block-size:
|
|
972
|
+
inline-size: var(--om-semantic-dimension-px-20);
|
|
973
|
+
block-size: var(--om-semantic-dimension-px-20);
|
|
728
974
|
display: grid;
|
|
729
975
|
place-items: center;
|
|
730
976
|
}
|
|
@@ -737,71 +983,90 @@ select.om-select optgroup {
|
|
|
737
983
|
min-inline-size: 0;
|
|
738
984
|
}
|
|
739
985
|
.om-toast > [role] > strong, .om-toast > .om-toast-exit-copy > strong {
|
|
740
|
-
font-weight: 600;
|
|
986
|
+
font-weight: var(--om-semantic-number-weight-600);
|
|
741
987
|
}
|
|
742
988
|
.om-toast > [role] > div, .om-toast > .om-toast-exit-copy > div {
|
|
743
989
|
color: var(--om-semantic-color-muted);
|
|
744
990
|
font-size: var(--om-semantic-font-small);
|
|
745
|
-
margin-block-start:
|
|
991
|
+
margin-block-start: var(--om-semantic-dimension-px-2);
|
|
746
992
|
}
|
|
747
993
|
.om-toast > button, .om-toast > .om-toast-close-placeholder {
|
|
748
994
|
box-sizing: border-box;
|
|
749
995
|
flex: none;
|
|
750
|
-
inline-size:
|
|
751
|
-
block-size:
|
|
996
|
+
inline-size: var(--om-semantic-dimension-px-28);
|
|
997
|
+
block-size: var(--om-semantic-dimension-px-28);
|
|
998
|
+
}
|
|
999
|
+
.om-toast > .om-toast-progress {
|
|
1000
|
+
position: absolute;
|
|
1001
|
+
inset-inline: var(--om-semantic-space-lg);
|
|
1002
|
+
inset-block-end: var(--om-semantic-space-xs);
|
|
1003
|
+
block-size: calc(2 * var(--om-semantic-border-width));
|
|
1004
|
+
border-radius: var(--om-semantic-radius-sm);
|
|
1005
|
+
background: var(--om-semantic-color-border);
|
|
1006
|
+
overflow: hidden;
|
|
1007
|
+
pointer-events: none;
|
|
1008
|
+
}
|
|
1009
|
+
.om-toast > .om-toast-progress > span {
|
|
1010
|
+
display: block;
|
|
1011
|
+
block-size: 100%;
|
|
1012
|
+
background: var(--om-semantic-color-muted);
|
|
1013
|
+
transform-origin: left center;
|
|
1014
|
+
}
|
|
1015
|
+
.om-toast > .om-toast-progress:dir(rtl) > span {
|
|
1016
|
+
transform-origin: right center;
|
|
752
1017
|
}
|
|
753
1018
|
.om-toast > button {
|
|
754
1019
|
display: grid;
|
|
755
1020
|
place-items: center;
|
|
756
|
-
margin-inline-end: -
|
|
1021
|
+
margin-inline-end: calc(-1 * var(--om-semantic-dimension-px-5));
|
|
757
1022
|
padding: 0;
|
|
758
|
-
border:
|
|
1023
|
+
border: var(--om-semantic-border-width) solid transparent;
|
|
759
1024
|
border-radius: var(--om-semantic-radius-sm);
|
|
760
1025
|
background: transparent;
|
|
761
1026
|
color: var(--om-semantic-color-muted);
|
|
762
1027
|
cursor: pointer;
|
|
763
|
-
transition: background-color
|
|
1028
|
+
transition: background-color var(--om-semantic-duration-ms-120) ease-out, color var(--om-semantic-duration-ms-120) ease-out;
|
|
764
1029
|
}
|
|
765
1030
|
.om-toast > button > svg {
|
|
766
|
-
inline-size:
|
|
767
|
-
block-size:
|
|
1031
|
+
inline-size: var(--om-semantic-dimension-px-16);
|
|
1032
|
+
block-size: var(--om-semantic-dimension-px-16);
|
|
768
1033
|
}
|
|
769
1034
|
.om-toast > button:hover {
|
|
770
1035
|
background: var(--om-semantic-color-bg);
|
|
771
1036
|
color: var(--om-semantic-color-text);
|
|
772
1037
|
}
|
|
773
1038
|
.om-toast > button:focus-visible {
|
|
774
|
-
outline:
|
|
775
|
-
outline-offset: -
|
|
1039
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1040
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
776
1041
|
}
|
|
777
1042
|
.om-toast[data-state=closing] {
|
|
778
1043
|
pointer-events: none;
|
|
779
1044
|
}
|
|
780
1045
|
.om-toast[data-state=closing] > [role] {
|
|
781
1046
|
position: absolute;
|
|
782
|
-
inline-size:
|
|
783
|
-
block-size:
|
|
1047
|
+
inline-size: var(--om-semantic-dimension-px-1);
|
|
1048
|
+
block-size: var(--om-semantic-dimension-px-1);
|
|
784
1049
|
overflow: hidden;
|
|
785
1050
|
clip-path: inset(50%);
|
|
786
1051
|
}
|
|
787
1052
|
.om-toast[data-state=closing] > .om-toast-close-placeholder {
|
|
788
|
-
margin-inline-end: -
|
|
1053
|
+
margin-inline-end: calc(-1 * var(--om-semantic-dimension-px-5));
|
|
789
1054
|
}
|
|
790
1055
|
|
|
791
1056
|
@media (prefers-reduced-motion: no-preference) {
|
|
792
1057
|
.om-toast[data-state=open] [data-icon=loading] {
|
|
793
|
-
animation: om-spinner-turn
|
|
1058
|
+
animation: om-spinner-turn var(--om-semantic-duration-ms-900) linear infinite;
|
|
794
1059
|
}
|
|
795
1060
|
.om-toast[data-state=open] {
|
|
796
|
-
animation: om-toast-in
|
|
1061
|
+
animation: om-toast-in var(--om-semantic-duration-ms-240) var(--om-semantic-easing-curve-0-22-0-8-0-3-1) both;
|
|
797
1062
|
}
|
|
798
1063
|
.om-toast[data-state=closing] {
|
|
799
|
-
animation: om-toast-out
|
|
1064
|
+
animation: om-toast-out var(--om-semantic-duration-ms-220) var(--om-semantic-easing-curve-0-4-0-0-2-1) both;
|
|
800
1065
|
}
|
|
801
1066
|
@keyframes om-toast-in {
|
|
802
1067
|
from {
|
|
803
1068
|
opacity: 0;
|
|
804
|
-
transform: translateY(
|
|
1069
|
+
transform: translateY(var(--om-semantic-dimension-px-12)) scale(0.97);
|
|
805
1070
|
}
|
|
806
1071
|
to {
|
|
807
1072
|
opacity: 1;
|
|
@@ -815,7 +1080,7 @@ select.om-select optgroup {
|
|
|
815
1080
|
}
|
|
816
1081
|
to {
|
|
817
1082
|
opacity: 0;
|
|
818
|
-
transform: translateY(
|
|
1083
|
+
transform: translateY(var(--om-semantic-dimension-px-8)) scale(0.97);
|
|
819
1084
|
}
|
|
820
1085
|
}
|
|
821
1086
|
}
|
|
@@ -832,9 +1097,15 @@ select.om-select optgroup {
|
|
|
832
1097
|
border-color: ButtonText;
|
|
833
1098
|
color: ButtonText;
|
|
834
1099
|
}
|
|
1100
|
+
.om-toast > .om-toast-progress {
|
|
1101
|
+
border: var(--om-semantic-border-width) solid CanvasText;
|
|
1102
|
+
}
|
|
1103
|
+
.om-toast > .om-toast-progress > span {
|
|
1104
|
+
background: Highlight;
|
|
1105
|
+
}
|
|
835
1106
|
}
|
|
836
1107
|
.om-dialog-content.om-alert-dialog {
|
|
837
|
-
width: min(
|
|
1108
|
+
width: min(var(--om-semantic-dimension-px-360), 100vw - var(--om-semantic-dimension-px-32));
|
|
838
1109
|
}
|
|
839
1110
|
|
|
840
1111
|
.om-alert-dialog h2 {
|
|
@@ -870,7 +1141,7 @@ select.om-select optgroup {
|
|
|
870
1141
|
}
|
|
871
1142
|
@keyframes om-enter {
|
|
872
1143
|
from {
|
|
873
|
-
translate: 0
|
|
1144
|
+
translate: 0 var(--om-semantic-dimension-px-5);
|
|
874
1145
|
}
|
|
875
1146
|
to {
|
|
876
1147
|
translate: 0 0;
|
|
@@ -878,7 +1149,7 @@ select.om-select optgroup {
|
|
|
878
1149
|
}
|
|
879
1150
|
}
|
|
880
1151
|
.om-switch:dir(rtl):checked::before {
|
|
881
|
-
transform: translateX(-1
|
|
1152
|
+
transform: translateX(calc(-1 * var(--om-semantic-dimension-rem-1-125)));
|
|
882
1153
|
}
|
|
883
1154
|
|
|
884
1155
|
:is(.om-checkbox, .om-radio, .om-switch):not(:disabled):hover {
|
|
@@ -896,7 +1167,7 @@ select.om-select optgroup {
|
|
|
896
1167
|
}
|
|
897
1168
|
|
|
898
1169
|
.om-pagination > button:disabled {
|
|
899
|
-
opacity: 0
|
|
1170
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
900
1171
|
cursor: not-allowed;
|
|
901
1172
|
}
|
|
902
1173
|
|
|
@@ -915,16 +1186,16 @@ select.om-select optgroup {
|
|
|
915
1186
|
}
|
|
916
1187
|
|
|
917
1188
|
.om-breadcrumbs button:focus-visible {
|
|
918
|
-
outline:
|
|
919
|
-
outline-offset: -
|
|
1189
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1190
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
920
1191
|
}
|
|
921
1192
|
|
|
922
1193
|
.om-breadcrumbs button[aria-current=page] {
|
|
923
|
-
font-weight: 600;
|
|
1194
|
+
font-weight: var(--om-semantic-number-weight-600);
|
|
924
1195
|
}
|
|
925
1196
|
|
|
926
1197
|
.om-breadcrumbs button:disabled {
|
|
927
|
-
opacity: 0
|
|
1198
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
928
1199
|
cursor: not-allowed;
|
|
929
1200
|
}
|
|
930
1201
|
|
|
@@ -940,14 +1211,14 @@ select.om-select optgroup {
|
|
|
940
1211
|
|
|
941
1212
|
@media (prefers-reduced-motion: no-preference) {
|
|
942
1213
|
:is(.om-checkbox, .om-radio, .om-switch, .om-pagination > :is(a, button), .om-breadcrumbs button, .om-accordion > summary) {
|
|
943
|
-
transition: background-color
|
|
1214
|
+
transition: background-color var(--om-semantic-duration-ms-140) var(--om-semantic-motion-ease), border-color var(--om-semantic-duration-ms-140) var(--om-semantic-motion-ease), color var(--om-semantic-duration-ms-140) var(--om-semantic-motion-ease);
|
|
944
1215
|
}
|
|
945
1216
|
.om-skeleton {
|
|
946
|
-
animation: om-skeleton-pulse
|
|
1217
|
+
animation: om-skeleton-pulse var(--om-semantic-duration-ms-1600) ease-in-out 2 alternate;
|
|
947
1218
|
}
|
|
948
1219
|
@keyframes om-skeleton-pulse {
|
|
949
1220
|
from {
|
|
950
|
-
opacity: 0
|
|
1221
|
+
opacity: var(--om-semantic-number-opacity-0-65);
|
|
951
1222
|
}
|
|
952
1223
|
to {
|
|
953
1224
|
opacity: 1;
|
|
@@ -964,7 +1235,7 @@ select.om-select optgroup {
|
|
|
964
1235
|
display: block;
|
|
965
1236
|
min-inline-size: 0;
|
|
966
1237
|
padding-block: var(--om-semantic-space-md);
|
|
967
|
-
border-block-start:
|
|
1238
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
968
1239
|
background-image: linear-gradient(var(--om-link-card-fill, color-mix(in srgb, currentColor 6%, transparent)), var(--om-link-card-fill, color-mix(in srgb, currentColor 6%, transparent)));
|
|
969
1240
|
background-position: 0% 50%;
|
|
970
1241
|
background-repeat: no-repeat;
|
|
@@ -983,12 +1254,12 @@ select.om-select optgroup {
|
|
|
983
1254
|
|
|
984
1255
|
.om-link-card:focus-visible {
|
|
985
1256
|
background-size: 100% 100%;
|
|
986
|
-
outline:
|
|
987
|
-
outline-offset:
|
|
1257
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1258
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
988
1259
|
}
|
|
989
1260
|
|
|
990
1261
|
.om-link-card:focus-visible .om-link-card-arrow {
|
|
991
|
-
transform: translateX(
|
|
1262
|
+
transform: translateX(var(--om-semantic-dimension-px-2));
|
|
992
1263
|
}
|
|
993
1264
|
|
|
994
1265
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -996,7 +1267,7 @@ select.om-select optgroup {
|
|
|
996
1267
|
background-size: 100% 100%;
|
|
997
1268
|
}
|
|
998
1269
|
.om-link-card:hover .om-link-card-arrow {
|
|
999
|
-
transform: translateX(
|
|
1270
|
+
transform: translateX(var(--om-semantic-dimension-px-2));
|
|
1000
1271
|
}
|
|
1001
1272
|
}
|
|
1002
1273
|
.om-code-block {
|
|
@@ -1019,7 +1290,7 @@ select.om-select optgroup {
|
|
|
1019
1290
|
gap: var(--om-semantic-space-sm);
|
|
1020
1291
|
min-inline-size: 0;
|
|
1021
1292
|
padding: var(--om-semantic-space-sm) var(--om-semantic-space-lg);
|
|
1022
|
-
border-block-end:
|
|
1293
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1023
1294
|
}
|
|
1024
1295
|
|
|
1025
1296
|
.om-code-block-caption {
|
|
@@ -1071,7 +1342,7 @@ select.om-select optgroup {
|
|
|
1071
1342
|
|
|
1072
1343
|
.om-code-block-copy:disabled {
|
|
1073
1344
|
cursor: not-allowed;
|
|
1074
|
-
opacity: 0
|
|
1345
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1075
1346
|
}
|
|
1076
1347
|
|
|
1077
1348
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1086,11 +1357,11 @@ select.om-select optgroup {
|
|
|
1086
1357
|
}
|
|
1087
1358
|
|
|
1088
1359
|
.om-site-header {
|
|
1089
|
-
border-block-end:
|
|
1360
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1090
1361
|
}
|
|
1091
1362
|
|
|
1092
1363
|
.om-site-footer {
|
|
1093
|
-
border-block-start:
|
|
1364
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1094
1365
|
}
|
|
1095
1366
|
|
|
1096
1367
|
.om-site-header-inner, .om-site-footer-inner {
|
|
@@ -1101,13 +1372,13 @@ select.om-select optgroup {
|
|
|
1101
1372
|
justify-content: space-between;
|
|
1102
1373
|
gap: var(--om-semantic-space-lg);
|
|
1103
1374
|
min-inline-size: 0;
|
|
1104
|
-
max-inline-size: var(--om-site-max-width,
|
|
1375
|
+
max-inline-size: var(--om-site-max-width, var(--om-semantic-dimension-rem-72));
|
|
1105
1376
|
margin-inline: auto;
|
|
1106
|
-
padding-inline: var(--om-site-gutter, clamp(
|
|
1377
|
+
padding-inline: var(--om-site-gutter, clamp(var(--om-semantic-dimension-px-16), 4vw, var(--om-semantic-dimension-px-48)));
|
|
1107
1378
|
}
|
|
1108
1379
|
|
|
1109
1380
|
.om-site-header-inner {
|
|
1110
|
-
min-block-size: var(--om-site-header-height,
|
|
1381
|
+
min-block-size: var(--om-site-header-height, var(--om-semantic-dimension-rem-4));
|
|
1111
1382
|
padding-block: var(--om-semantic-space-sm);
|
|
1112
1383
|
}
|
|
1113
1384
|
|
|
@@ -1126,7 +1397,7 @@ select.om-select optgroup {
|
|
|
1126
1397
|
.om-site-nav > a {
|
|
1127
1398
|
display: inline-flex;
|
|
1128
1399
|
align-items: center;
|
|
1129
|
-
min-block-size:
|
|
1400
|
+
min-block-size: var(--om-semantic-dimension-px-32);
|
|
1130
1401
|
color: inherit;
|
|
1131
1402
|
text-decoration: none;
|
|
1132
1403
|
overflow-wrap: anywhere;
|
|
@@ -1134,7 +1405,7 @@ select.om-select optgroup {
|
|
|
1134
1405
|
|
|
1135
1406
|
.om-site-nav > a:is(:hover, [aria-current=page]) {
|
|
1136
1407
|
text-decoration: underline;
|
|
1137
|
-
text-underline-offset:
|
|
1408
|
+
text-underline-offset: var(--om-semantic-dimension-px-3);
|
|
1138
1409
|
}
|
|
1139
1410
|
|
|
1140
1411
|
.om-prose {
|
|
@@ -1149,7 +1420,7 @@ select.om-select optgroup {
|
|
|
1149
1420
|
.om-prose :where(h1, h2, h3, h4, h5, h6) {
|
|
1150
1421
|
line-height: 1.25;
|
|
1151
1422
|
margin-block: 1.5em 0.6em;
|
|
1152
|
-
font-weight: 650;
|
|
1423
|
+
font-weight: var(--om-semantic-number-weight-650);
|
|
1153
1424
|
}
|
|
1154
1425
|
|
|
1155
1426
|
.om-prose :where(h1) {
|
|
@@ -1187,15 +1458,15 @@ select.om-select optgroup {
|
|
|
1187
1458
|
.om-prose :where(a) {
|
|
1188
1459
|
color: var(--om-prose-link, var(--om-semantic-color-accent));
|
|
1189
1460
|
text-decoration: underline;
|
|
1190
|
-
text-underline-offset:
|
|
1461
|
+
text-underline-offset: var(--om-semantic-dimension-px-3);
|
|
1191
1462
|
}
|
|
1192
1463
|
|
|
1193
1464
|
.om-prose :where(a:hover) {
|
|
1194
|
-
text-decoration-thickness:
|
|
1465
|
+
text-decoration-thickness: var(--om-semantic-dimension-px-2);
|
|
1195
1466
|
}
|
|
1196
1467
|
|
|
1197
1468
|
.om-prose :where(blockquote) {
|
|
1198
|
-
border-inline-start:
|
|
1469
|
+
border-inline-start: var(--om-semantic-dimension-px-3) solid var(--om-semantic-color-border);
|
|
1199
1470
|
margin-inline: 0;
|
|
1200
1471
|
padding-inline-start: var(--om-semantic-space-lg);
|
|
1201
1472
|
color: var(--om-semantic-color-muted);
|
|
@@ -1208,7 +1479,7 @@ select.om-select optgroup {
|
|
|
1208
1479
|
|
|
1209
1480
|
.om-prose :where(hr) {
|
|
1210
1481
|
border: 0;
|
|
1211
|
-
border-block-start:
|
|
1482
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1212
1483
|
margin-block: 2em;
|
|
1213
1484
|
}
|
|
1214
1485
|
|
|
@@ -1250,7 +1521,7 @@ select.om-select optgroup {
|
|
|
1250
1521
|
}
|
|
1251
1522
|
|
|
1252
1523
|
.om-prose :where(th, td) {
|
|
1253
|
-
border:
|
|
1524
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1254
1525
|
padding: var(--om-semantic-space-sm);
|
|
1255
1526
|
text-align: start;
|
|
1256
1527
|
vertical-align: top;
|
|
@@ -1285,8 +1556,8 @@ select.om-select optgroup {
|
|
|
1285
1556
|
.om-site-footer :where(a, button):focus-visible,
|
|
1286
1557
|
.om-site-nav :where(a, button):focus-visible,
|
|
1287
1558
|
.om-prose :where(a, button, pre, .om-prose-scroll):focus-visible {
|
|
1288
|
-
outline:
|
|
1289
|
-
outline-offset:
|
|
1559
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1560
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
1290
1561
|
}
|
|
1291
1562
|
|
|
1292
1563
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1347,21 +1618,21 @@ select.om-select optgroup {
|
|
|
1347
1618
|
display: inline-grid;
|
|
1348
1619
|
place-items: center;
|
|
1349
1620
|
flex-shrink: 0;
|
|
1350
|
-
inline-size: var(--om-platform-link-size,
|
|
1351
|
-
min-block-size: var(--om-platform-link-size,
|
|
1352
|
-
border:
|
|
1621
|
+
inline-size: var(--om-platform-link-size, var(--om-semantic-control-touch-target));
|
|
1622
|
+
min-block-size: var(--om-platform-link-size, var(--om-semantic-control-touch-target));
|
|
1623
|
+
border: var(--om-semantic-border-width) solid transparent;
|
|
1353
1624
|
border-radius: var(--om-semantic-radius-lg);
|
|
1354
1625
|
background: transparent;
|
|
1355
1626
|
color: var(--om-platform-link-muted, var(--om-semantic-color-muted));
|
|
1356
1627
|
text-decoration: none;
|
|
1357
|
-
transition: color
|
|
1628
|
+
transition: color var(--om-semantic-duration-ms-220) ease, border-color var(--om-semantic-duration-ms-220) ease, background-color var(--om-semantic-duration-ms-220) ease;
|
|
1358
1629
|
}
|
|
1359
1630
|
|
|
1360
1631
|
.om-platform-link > svg {
|
|
1361
1632
|
display: block;
|
|
1362
|
-
max-inline-size:
|
|
1633
|
+
max-inline-size: var(--om-semantic-dimension-px-28);
|
|
1363
1634
|
transform-origin: center;
|
|
1364
|
-
transition: transform
|
|
1635
|
+
transition: transform var(--om-semantic-duration-ms-220) var(--om-semantic-easing-curve-0-2-0-8-0-2-1);
|
|
1365
1636
|
}
|
|
1366
1637
|
|
|
1367
1638
|
.om-platform-link:focus-visible,
|
|
@@ -1372,8 +1643,8 @@ select.om-select optgroup {
|
|
|
1372
1643
|
}
|
|
1373
1644
|
|
|
1374
1645
|
.om-platform-link:focus-visible {
|
|
1375
|
-
outline:
|
|
1376
|
-
outline-offset:
|
|
1646
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1647
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
1377
1648
|
}
|
|
1378
1649
|
|
|
1379
1650
|
.om-platform-link[data-platform=npm] {
|
|
@@ -1391,7 +1662,7 @@ select.om-select optgroup {
|
|
|
1391
1662
|
background: var(--om-semantic-color-bg);
|
|
1392
1663
|
}
|
|
1393
1664
|
.om-platform-link:hover > svg {
|
|
1394
|
-
animation: om-platform-pulse var(--om-platform-link-pulse-duration,
|
|
1665
|
+
animation: om-platform-pulse var(--om-platform-link-pulse-duration, var(--om-semantic-duration-ms-950)) var(--om-semantic-easing-curve-0-45-0-0-55-1) 1;
|
|
1395
1666
|
}
|
|
1396
1667
|
.om-platform-link:active > svg {
|
|
1397
1668
|
animation: none;
|
|
@@ -1416,7 +1687,7 @@ select.om-select optgroup {
|
|
|
1416
1687
|
align-items: center;
|
|
1417
1688
|
min-inline-size: 1.6em;
|
|
1418
1689
|
padding-inline: var(--om-semantic-space-xs);
|
|
1419
|
-
border:
|
|
1690
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1420
1691
|
border-radius: var(--om-semantic-radius-sm);
|
|
1421
1692
|
background: var(--om-semantic-color-bg);
|
|
1422
1693
|
color: var(--om-semantic-color-muted);
|
|
@@ -1481,7 +1752,7 @@ select.om-select optgroup {
|
|
|
1481
1752
|
.om-docs-links,
|
|
1482
1753
|
.om-toc-links {
|
|
1483
1754
|
display: grid;
|
|
1484
|
-
gap:
|
|
1755
|
+
gap: var(--om-semantic-dimension-px-2);
|
|
1485
1756
|
list-style: none;
|
|
1486
1757
|
padding: 0;
|
|
1487
1758
|
margin: 0;
|
|
@@ -1493,9 +1764,9 @@ select.om-select optgroup {
|
|
|
1493
1764
|
.om-locale-options span {
|
|
1494
1765
|
box-sizing: border-box;
|
|
1495
1766
|
display: block;
|
|
1496
|
-
min-block-size:
|
|
1767
|
+
min-block-size: var(--om-semantic-dimension-px-32);
|
|
1497
1768
|
padding: var(--om-semantic-space-xs) var(--om-semantic-space-sm);
|
|
1498
|
-
border-inline-start:
|
|
1769
|
+
border-inline-start: var(--om-semantic-dimension-px-2) solid transparent;
|
|
1499
1770
|
border-radius: var(--om-semantic-radius-sm);
|
|
1500
1771
|
color: inherit;
|
|
1501
1772
|
text-decoration: none;
|
|
@@ -1592,8 +1863,8 @@ select.om-select optgroup {
|
|
|
1592
1863
|
|
|
1593
1864
|
:is(.om-docs-links, .om-toc-links, .om-locale-options) a:focus-visible,
|
|
1594
1865
|
.om-locale-fallback summary:focus-visible {
|
|
1595
|
-
outline:
|
|
1596
|
-
outline-offset:
|
|
1866
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1867
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
1597
1868
|
}
|
|
1598
1869
|
|
|
1599
1870
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1617,10 +1888,10 @@ select.om-select optgroup {
|
|
|
1617
1888
|
}
|
|
1618
1889
|
.om-clipboard-announcement {
|
|
1619
1890
|
position: absolute;
|
|
1620
|
-
inline-size:
|
|
1621
|
-
block-size:
|
|
1891
|
+
inline-size: var(--om-semantic-dimension-px-1);
|
|
1892
|
+
block-size: var(--om-semantic-dimension-px-1);
|
|
1622
1893
|
padding: 0;
|
|
1623
|
-
margin: -
|
|
1894
|
+
margin: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1624
1895
|
overflow: hidden;
|
|
1625
1896
|
clip-path: inset(50%);
|
|
1626
1897
|
white-space: nowrap;
|
|
@@ -1658,7 +1929,7 @@ select.om-select optgroup {
|
|
|
1658
1929
|
}
|
|
1659
1930
|
.om-button:disabled,
|
|
1660
1931
|
.om-tabs-trigger:disabled {
|
|
1661
|
-
opacity: 0
|
|
1932
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1662
1933
|
cursor: not-allowed;
|
|
1663
1934
|
}
|
|
1664
1935
|
|
|
@@ -1706,7 +1977,7 @@ select.om-select optgroup {
|
|
|
1706
1977
|
border-color: var(--om-semantic-color-danger);
|
|
1707
1978
|
}
|
|
1708
1979
|
.om-input:disabled {
|
|
1709
|
-
opacity: 0
|
|
1980
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1710
1981
|
cursor: not-allowed;
|
|
1711
1982
|
}
|
|
1712
1983
|
|
|
@@ -1722,8 +1993,8 @@ select.om-select optgroup {
|
|
|
1722
1993
|
display: inline-flex;
|
|
1723
1994
|
align-items: center;
|
|
1724
1995
|
gap: var(--om-semantic-space-xs);
|
|
1725
|
-
padding:
|
|
1726
|
-
border:
|
|
1996
|
+
padding: var(--om-semantic-dimension-px-2) var(--om-semantic-space-sm);
|
|
1997
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1727
1998
|
border-radius: var(--om-semantic-radius-sm);
|
|
1728
1999
|
background: var(--om-semantic-color-bg);
|
|
1729
2000
|
font-size: var(--om-semantic-font-small);
|
|
@@ -1771,17 +2042,17 @@ select.om-select optgroup {
|
|
|
1771
2042
|
.om-tabs-list {
|
|
1772
2043
|
display: flex;
|
|
1773
2044
|
gap: var(--om-semantic-space-lg);
|
|
1774
|
-
border-bottom:
|
|
2045
|
+
border-bottom: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1775
2046
|
}
|
|
1776
2047
|
|
|
1777
2048
|
.om-tabs-trigger {
|
|
1778
2049
|
border: 0;
|
|
1779
|
-
border-bottom:
|
|
2050
|
+
border-bottom: var(--om-semantic-dimension-px-2) solid transparent;
|
|
1780
2051
|
border-radius: 0;
|
|
1781
2052
|
background: transparent;
|
|
1782
2053
|
color: var(--om-semantic-color-muted);
|
|
1783
2054
|
padding-inline: var(--om-semantic-space-xs);
|
|
1784
|
-
margin-bottom: -
|
|
2055
|
+
margin-bottom: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1785
2056
|
}
|
|
1786
2057
|
|
|
1787
2058
|
.om-tabs-trigger:hover:not(:disabled) {
|
|
@@ -1796,14 +2067,14 @@ select.om-select optgroup {
|
|
|
1796
2067
|
.om-tabs-list[data-orientation=vertical] {
|
|
1797
2068
|
flex-direction: column;
|
|
1798
2069
|
border-bottom: 0;
|
|
1799
|
-
border-left:
|
|
2070
|
+
border-left: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1800
2071
|
gap: var(--om-semantic-space-xs);
|
|
1801
2072
|
}
|
|
1802
2073
|
|
|
1803
2074
|
.om-tabs-list[data-orientation=vertical] .om-tabs-trigger {
|
|
1804
2075
|
border-bottom: 0;
|
|
1805
|
-
border-left:
|
|
1806
|
-
margin-left: -
|
|
2076
|
+
border-left: var(--om-semantic-dimension-px-2) solid transparent;
|
|
2077
|
+
margin-left: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1807
2078
|
justify-content: flex-start;
|
|
1808
2079
|
}
|
|
1809
2080
|
|
|
@@ -1819,17 +2090,17 @@ select.om-select optgroup {
|
|
|
1819
2090
|
position: fixed;
|
|
1820
2091
|
inset: 0;
|
|
1821
2092
|
background: var(--om-semantic-overlay);
|
|
1822
|
-
z-index: 1000;
|
|
2093
|
+
z-index: var(--om-semantic-number-layer-1000);
|
|
1823
2094
|
}
|
|
1824
2095
|
|
|
1825
2096
|
.om-dialog-content {
|
|
1826
2097
|
position: fixed;
|
|
1827
|
-
z-index: 1001;
|
|
2098
|
+
z-index: var(--om-semantic-number-layer-1001);
|
|
1828
2099
|
top: 50%;
|
|
1829
2100
|
left: 50%;
|
|
1830
2101
|
transform: translate(-50%, -50%);
|
|
1831
|
-
width: min(
|
|
1832
|
-
max-height: calc(100dvh -
|
|
2102
|
+
width: min(var(--om-semantic-dimension-px-440), 100vw - var(--om-semantic-dimension-px-32));
|
|
2103
|
+
max-height: calc(100dvh - var(--om-semantic-dimension-px-32));
|
|
1833
2104
|
overflow: auto;
|
|
1834
2105
|
overscroll-behavior: contain;
|
|
1835
2106
|
padding: var(--om-semantic-space-xl);
|
|
@@ -1843,16 +2114,16 @@ select.om-select optgroup {
|
|
|
1843
2114
|
.om-tabs-trigger,
|
|
1844
2115
|
.om-tabs-content,
|
|
1845
2116
|
.om-dialog-content):focus-visible {
|
|
1846
|
-
outline:
|
|
1847
|
-
outline-offset: -
|
|
2117
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
2118
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1848
2119
|
}
|
|
1849
2120
|
|
|
1850
2121
|
:is(.om-input, .om-textarea, .om-select):focus-visible {
|
|
1851
|
-
outline:
|
|
1852
|
-
outline-offset: -
|
|
2122
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
2123
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1853
2124
|
}
|
|
1854
2125
|
:is(.om-input, .om-textarea, .om-select):focus-visible[aria-invalid=true], :is(.om-input, .om-textarea, .om-select):focus-visible:user-invalid {
|
|
1855
|
-
outline-offset: -
|
|
2126
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-3));
|
|
1856
2127
|
}
|
|
1857
2128
|
|
|
1858
2129
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1865,10 +2136,10 @@ select.om-select optgroup {
|
|
|
1865
2136
|
.om-button,
|
|
1866
2137
|
.om-input,
|
|
1867
2138
|
.om-tabs-trigger {
|
|
1868
|
-
border:
|
|
2139
|
+
border: var(--om-semantic-border-width) solid ButtonText;
|
|
1869
2140
|
}
|
|
1870
2141
|
.om-tabs-trigger[data-state=active] {
|
|
1871
|
-
outline:
|
|
2142
|
+
outline: var(--om-semantic-focus-width) solid Highlight;
|
|
1872
2143
|
}
|
|
1873
2144
|
}
|
|
1874
2145
|
@media (prefers-reduced-motion: no-preference) {
|
|
@@ -1915,13 +2186,13 @@ select.om-select optgroup {
|
|
|
1915
2186
|
block-size: var(--om-semantic-space-xs);
|
|
1916
2187
|
border-radius: var(--om-semantic-radius-pill);
|
|
1917
2188
|
background: var(--om-slider-track);
|
|
1918
|
-
box-shadow: inset 0 0 0
|
|
2189
|
+
box-shadow: inset 0 0 0 var(--om-semantic-dimension-px-1) var(--om-semantic-color-muted);
|
|
1919
2190
|
}
|
|
1920
2191
|
.om-slider::-moz-range-track {
|
|
1921
2192
|
block-size: var(--om-semantic-space-xs);
|
|
1922
2193
|
border-radius: var(--om-semantic-radius-pill);
|
|
1923
2194
|
background: var(--om-slider-track);
|
|
1924
|
-
box-shadow: inset 0 0 0
|
|
2195
|
+
box-shadow: inset 0 0 0 var(--om-semantic-dimension-px-1) var(--om-semantic-color-muted);
|
|
1925
2196
|
}
|
|
1926
2197
|
.om-slider::-webkit-slider-thumb {
|
|
1927
2198
|
appearance: none;
|
|
@@ -1930,7 +2201,7 @@ select.om-select optgroup {
|
|
|
1930
2201
|
block-size: var(--om-semantic-space-lg);
|
|
1931
2202
|
margin-block-start: calc((var(--om-semantic-space-xs) - var(--om-semantic-space-lg)) / 2);
|
|
1932
2203
|
background: var(--om-semantic-color-action);
|
|
1933
|
-
border:
|
|
2204
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-on-action);
|
|
1934
2205
|
border-radius: var(--om-semantic-radius-pill);
|
|
1935
2206
|
}
|
|
1936
2207
|
.om-slider::-moz-range-thumb {
|
|
@@ -1938,22 +2209,22 @@ select.om-select optgroup {
|
|
|
1938
2209
|
inline-size: var(--om-semantic-space-lg);
|
|
1939
2210
|
block-size: var(--om-semantic-space-lg);
|
|
1940
2211
|
background: var(--om-semantic-color-action);
|
|
1941
|
-
border:
|
|
2212
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-on-action);
|
|
1942
2213
|
border-radius: var(--om-semantic-radius-pill);
|
|
1943
2214
|
}
|
|
1944
2215
|
}
|
|
1945
2216
|
.om-slider:disabled {
|
|
1946
2217
|
cursor: not-allowed;
|
|
1947
|
-
opacity: 0
|
|
2218
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1948
2219
|
}
|
|
1949
2220
|
|
|
1950
2221
|
.om-slider:focus-visible {
|
|
1951
|
-
outline:
|
|
1952
|
-
outline-offset: -
|
|
2222
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
2223
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1953
2224
|
}
|
|
1954
2225
|
|
|
1955
2226
|
.om-command-palette {
|
|
1956
|
-
max-height: min(70vh,
|
|
2227
|
+
max-height: min(70vh, var(--om-semantic-dimension-px-480));
|
|
1957
2228
|
overflow: auto;
|
|
1958
2229
|
}
|
|
1959
2230
|
|
|
@@ -1965,7 +2236,7 @@ select.om-select optgroup {
|
|
|
1965
2236
|
display: grid;
|
|
1966
2237
|
gap: var(--om-semantic-space-xs);
|
|
1967
2238
|
margin-top: var(--om-semantic-space-sm);
|
|
1968
|
-
max-height:
|
|
2239
|
+
max-height: var(--om-semantic-dimension-px-240);
|
|
1969
2240
|
overflow: auto;
|
|
1970
2241
|
}
|
|
1971
2242
|
|
|
@@ -1981,7 +2252,7 @@ select.om-select optgroup {
|
|
|
1981
2252
|
}
|
|
1982
2253
|
|
|
1983
2254
|
.om-command-list [aria-disabled=true] {
|
|
1984
|
-
opacity: 0
|
|
2255
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1985
2256
|
cursor: not-allowed;
|
|
1986
2257
|
}
|
|
1987
2258
|
|
|
@@ -1995,7 +2266,7 @@ select.om-select optgroup {
|
|
|
1995
2266
|
padding: var(--om-semantic-space-xs) var(--om-semantic-space-sm);
|
|
1996
2267
|
color: var(--om-semantic-color-muted);
|
|
1997
2268
|
font-size: var(--om-semantic-font-small);
|
|
1998
|
-
font-weight: 650;
|
|
2269
|
+
font-weight: var(--om-semantic-number-weight-650);
|
|
1999
2270
|
overflow-wrap: anywhere;
|
|
2000
2271
|
}
|
|
2001
2272
|
|
|
@@ -2007,7 +2278,7 @@ select.om-select optgroup {
|
|
|
2007
2278
|
|
|
2008
2279
|
.om-command-description {
|
|
2009
2280
|
font-size: var(--om-semantic-font-small);
|
|
2010
|
-
margin-block-start:
|
|
2281
|
+
margin-block-start: var(--om-semantic-dimension-px-2);
|
|
2011
2282
|
}
|
|
2012
2283
|
|
|
2013
2284
|
.om-input:not(:disabled):not([aria-invalid=true]):not(:user-invalid):hover,
|
|
@@ -2018,6 +2289,6 @@ select.om-select optgroup {
|
|
|
2018
2289
|
|
|
2019
2290
|
@media (prefers-reduced-motion: no-preference) {
|
|
2020
2291
|
.om-button:active:not(:disabled) {
|
|
2021
|
-
transform: translateY(
|
|
2292
|
+
transform: translateY(var(--om-semantic-dimension-px-1));
|
|
2022
2293
|
}
|
|
2023
2294
|
}
|