@threadlabs/looma 0.23.10 → 0.23.12
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/components/ui-badge/ui-badge.html +13 -2
- package/components/ui-combobox/ui-combobox.html +6 -0
- package/components/ui-combobox/ui-combobox.js +17 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-badge.css +15 -1
- package/vanilla/UiCombobox.d.ts +2 -0
- package/vanilla/UiCombobox.js +1 -1
- package/vue/UiBadge.vue +13 -2
- package/vue/UiCombobox.d.ts +18 -0
- package/vue/UiCombobox.vue +39 -0
- package/vue/chunks/UiBadge.js +2 -2
- package/vue/chunks/UiCombobox.js +46 -1
- package/vue/components.css +98 -87
package/vue/components.css
CHANGED
|
@@ -349,7 +349,7 @@ svg[data-v-47b12d9e] {
|
|
|
349
349
|
syntax: "*";
|
|
350
350
|
inherits: false;
|
|
351
351
|
}
|
|
352
|
-
[data-component~="ui-badge"][data-v-
|
|
352
|
+
[data-component~="ui-badge"][data-v-18b6e16a] {
|
|
353
353
|
--_badge-surface: color-mix(in srgb, var(--ui-surface-subtle) 80%, var(--ui-surface-default));
|
|
354
354
|
--_badge-text: var(--ui-text-secondary);
|
|
355
355
|
/* Sit between the soft fill and its stronger theme ink. */
|
|
@@ -375,7 +375,9 @@ svg[data-v-47b12d9e] {
|
|
|
375
375
|
display: inline-flex;
|
|
376
376
|
align-items: center;
|
|
377
377
|
justify-content: center;
|
|
378
|
-
|
|
378
|
+
box-sizing: border-box;
|
|
379
|
+
min-inline-size: 0;
|
|
380
|
+
max-inline-size: 100%;
|
|
379
381
|
padding: var(--ui-badge-padding-block, var(--ui-space-0-5))
|
|
380
382
|
var(--ui-badge-padding-inline, var(--ui-space-2));
|
|
381
383
|
border: var(--ui-border-width) solid
|
|
@@ -390,11 +392,20 @@ svg[data-v-47b12d9e] {
|
|
|
390
392
|
white-space: nowrap;
|
|
391
393
|
}
|
|
392
394
|
|
|
395
|
+
/* A constrained badge keeps its surface intact and ellipsizes only its label. The full
|
|
396
|
+
text stays in the DOM for accessible names and consumers' selected values. */
|
|
397
|
+
.label[data-v-18b6e16a] {
|
|
398
|
+
display: block;
|
|
399
|
+
min-inline-size: 0;
|
|
400
|
+
overflow: hidden;
|
|
401
|
+
text-overflow: ellipsis;
|
|
402
|
+
}
|
|
403
|
+
|
|
393
404
|
/* Centre the glyphs, not the line box: a label without descenders otherwise reads high.
|
|
394
405
|
* Trimming applies to block containers; an inline-block is one and, like the inline-flex it
|
|
395
406
|
* replaces, still sizes to its label rather than filling its container. */
|
|
396
407
|
@supports (text-box-trim: trim-both) {
|
|
397
|
-
[data-component~="ui-badge"][data-v-
|
|
408
|
+
[data-component~="ui-badge"][data-v-18b6e16a] {
|
|
398
409
|
display: inline-block;
|
|
399
410
|
min-block-size: var(--ui-badge-min-block-size, 1.5rem);
|
|
400
411
|
text-align: center;
|
|
@@ -403,7 +414,7 @@ svg[data-v-47b12d9e] {
|
|
|
403
414
|
text-box-edge: cap alphabetic;
|
|
404
415
|
}
|
|
405
416
|
}
|
|
406
|
-
[data-component~="ui-badge"][data-ui-badge-state~="size=xs"][data-v-
|
|
417
|
+
[data-component~="ui-badge"][data-ui-badge-state~="size=xs"][data-v-18b6e16a] {
|
|
407
418
|
box-sizing: border-box;
|
|
408
419
|
min-inline-size: 1rem;
|
|
409
420
|
min-block-size: var(--ui-badge-min-block-size, 1rem);
|
|
@@ -411,52 +422,52 @@ svg[data-v-47b12d9e] {
|
|
|
411
422
|
font-size: var(--ui-badge-font-size, var(--ui-font-size-2xs));
|
|
412
423
|
line-height: var(--ui-badge-line-height, 1);
|
|
413
424
|
}
|
|
414
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=accent"][data-v-
|
|
425
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=accent"][data-v-18b6e16a] {
|
|
415
426
|
--_badge-surface: var(--ui-accent-strong-surface, var(--ui-accent-solid));
|
|
416
427
|
--_badge-border: var(--ui-accent-strong-surface, var(--ui-accent-solid));
|
|
417
428
|
--_badge-text: var(--ui-accent-on-strong, var(--ui-text-on-accent));
|
|
418
429
|
}
|
|
419
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=danger"][data-v-
|
|
430
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=danger"][data-v-18b6e16a] {
|
|
420
431
|
--_badge-surface: var(--ui-danger-strong-surface, var(--ui-danger-solid));
|
|
421
432
|
--_badge-border: var(--ui-danger-strong-surface, var(--ui-danger-solid));
|
|
422
433
|
--_badge-text: var(--ui-danger-on-strong, var(--ui-text-on-accent));
|
|
423
434
|
}
|
|
424
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=success"][data-v-
|
|
435
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=success"][data-v-18b6e16a] {
|
|
425
436
|
--_badge-surface: var(--ui-success-strong-surface, var(--ui-success-solid));
|
|
426
437
|
--_badge-border: var(--ui-success-strong-surface, var(--ui-success-solid));
|
|
427
438
|
--_badge-text: var(--ui-success-on-strong, var(--ui-text-on-accent));
|
|
428
439
|
}
|
|
429
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=warning"][data-v-
|
|
440
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=warning"][data-v-18b6e16a] {
|
|
430
441
|
--_badge-surface: var(--ui-warning-strong-surface, var(--ui-warning-solid));
|
|
431
442
|
--_badge-border: var(--ui-warning-strong-surface, var(--ui-warning-solid));
|
|
432
443
|
--_badge-text: var(--ui-warning-on-strong, var(--ui-text-on-accent));
|
|
433
444
|
}
|
|
434
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=info"][data-v-
|
|
445
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=info"][data-v-18b6e16a] {
|
|
435
446
|
--_badge-surface: var(--ui-info-strong-surface, var(--ui-info-solid));
|
|
436
447
|
--_badge-border: var(--ui-info-strong-surface, var(--ui-info-solid));
|
|
437
448
|
--_badge-text: var(--ui-info-on-strong, var(--ui-text-on-accent));
|
|
438
449
|
}
|
|
439
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=accent"][data-v-
|
|
450
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=accent"][data-v-18b6e16a] {
|
|
440
451
|
--_badge-surface: color-mix(in srgb, var(--ui-accent-solid) 19%, var(--ui-surface-default));
|
|
441
452
|
--_badge-border: color-mix(in srgb, var(--ui-accent-solid) 25%, var(--ui-surface-default));
|
|
442
453
|
--_badge-text: var(--ui-accent-subtle-text, var(--ui-accent-solid));
|
|
443
454
|
}
|
|
444
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=danger"][data-v-
|
|
455
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=danger"][data-v-18b6e16a] {
|
|
445
456
|
--_badge-surface: color-mix(in srgb, var(--ui-danger-solid) 19%, var(--ui-surface-default));
|
|
446
457
|
--_badge-border: color-mix(in srgb, var(--ui-danger-solid) 25%, var(--ui-surface-default));
|
|
447
458
|
--_badge-text: var(--ui-danger-subtle-text, var(--ui-danger-solid));
|
|
448
459
|
}
|
|
449
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=success"][data-v-
|
|
460
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=success"][data-v-18b6e16a] {
|
|
450
461
|
--_badge-surface: color-mix(in srgb, var(--ui-success-solid) 19%, var(--ui-surface-default));
|
|
451
462
|
--_badge-border: color-mix(in srgb, var(--ui-success-solid) 25%, var(--ui-surface-default));
|
|
452
463
|
--_badge-text: var(--ui-success-subtle-text, var(--ui-success-solid));
|
|
453
464
|
}
|
|
454
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=warning"][data-v-
|
|
465
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=warning"][data-v-18b6e16a] {
|
|
455
466
|
--_badge-surface: color-mix(in srgb, var(--ui-warning-solid) 19%, var(--ui-surface-default));
|
|
456
467
|
--_badge-border: color-mix(in srgb, var(--ui-warning-solid) 25%, var(--ui-surface-default));
|
|
457
468
|
--_badge-text: var(--ui-warning-subtle-text, var(--ui-warning-solid));
|
|
458
469
|
}
|
|
459
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=info"][data-v-
|
|
470
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=info"][data-v-18b6e16a] {
|
|
460
471
|
--_badge-surface: color-mix(in srgb, var(--ui-info-solid) 19%, var(--ui-surface-default));
|
|
461
472
|
--_badge-border: color-mix(in srgb, var(--ui-info-solid) 25%, var(--ui-surface-default));
|
|
462
473
|
--_badge-text: var(--ui-info-subtle-text, var(--ui-info-solid));
|
|
@@ -464,12 +475,12 @@ svg[data-v-47b12d9e] {
|
|
|
464
475
|
|
|
465
476
|
/* A solid colour fills with the ink. Its text is the page surface, mixed at 0% only so that it too is
|
|
466
477
|
invalid while the hook is unset. */
|
|
467
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=solid"][data-v-
|
|
478
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=solid"][data-v-18b6e16a] {
|
|
468
479
|
--_badge-color-surface: var(--_badge-color-ink);
|
|
469
480
|
--_badge-color-border: var(--_badge-color-ink);
|
|
470
481
|
--_badge-color-text: color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default));
|
|
471
482
|
}
|
|
472
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-v-
|
|
483
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-v-18b6e16a] {
|
|
473
484
|
--_badge-surface: var(--ui-surface-default);
|
|
474
485
|
--_badge-border: var(--ui-border-strong);
|
|
475
486
|
--_badge-text: var(--ui-text-secondary);
|
|
@@ -477,29 +488,29 @@ svg[data-v-47b12d9e] {
|
|
|
477
488
|
--_badge-color-surface: initial;
|
|
478
489
|
--_badge-color-border: var(--_badge-color-ink);
|
|
479
490
|
}
|
|
480
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=accent"][data-v-
|
|
491
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=accent"][data-v-18b6e16a] {
|
|
481
492
|
--_badge-border: var(--ui-accent-solid);
|
|
482
493
|
--_badge-text: var(--ui-accent-subtle-text, var(--ui-accent-solid));
|
|
483
494
|
}
|
|
484
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=danger"][data-v-
|
|
495
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=danger"][data-v-18b6e16a] {
|
|
485
496
|
--_badge-border: var(--ui-danger-solid);
|
|
486
497
|
--_badge-text: var(--ui-danger-subtle-text, var(--ui-danger-solid));
|
|
487
498
|
}
|
|
488
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=success"][data-v-
|
|
499
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=success"][data-v-18b6e16a] {
|
|
489
500
|
--_badge-border: var(--ui-success-solid);
|
|
490
501
|
--_badge-text: var(--ui-success-subtle-text, var(--ui-success-solid));
|
|
491
502
|
}
|
|
492
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=warning"][data-v-
|
|
503
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=warning"][data-v-18b6e16a] {
|
|
493
504
|
--_badge-border: var(--ui-warning-solid);
|
|
494
505
|
--_badge-text: var(--ui-warning-subtle-text, var(--ui-warning-solid));
|
|
495
506
|
}
|
|
496
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=info"][data-v-
|
|
507
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=info"][data-v-18b6e16a] {
|
|
497
508
|
--_badge-border: var(--ui-info-solid);
|
|
498
509
|
--_badge-text: var(--ui-info-subtle-text, var(--ui-info-solid));
|
|
499
510
|
}
|
|
500
511
|
|
|
501
512
|
/* An icon mark keeps the existing tone recipe and follows the global spacing and radius. */
|
|
502
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"][data-v-
|
|
513
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"][data-v-18b6e16a] {
|
|
503
514
|
--_badge-square-size: var(--ui-badge-square-size, calc(var(--ui-space-4) * 2));
|
|
504
515
|
display: inline-flex;
|
|
505
516
|
box-sizing: border-box;
|
|
@@ -512,17 +523,17 @@ svg[data-v-47b12d9e] {
|
|
|
512
523
|
border-radius: var(--ui-radius-md);
|
|
513
524
|
text-box-trim: none;
|
|
514
525
|
}
|
|
515
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"][data-ui-badge-state~="size=xs"][data-v-
|
|
526
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"][data-ui-badge-state~="size=xs"][data-v-18b6e16a] {
|
|
516
527
|
--_badge-square-size: var(--ui-badge-square-size, calc(var(--ui-space-3) * 2));
|
|
517
528
|
}
|
|
518
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"] .label[data-v-
|
|
529
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"] .label[data-v-18b6e16a] {
|
|
519
530
|
display: inline-flex;
|
|
520
531
|
align-items: center;
|
|
521
532
|
justify-content: center;
|
|
522
533
|
}
|
|
523
534
|
|
|
524
535
|
/* A dot uses the badge's tone recipe; only its silhouette and visible label change. */
|
|
525
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-
|
|
536
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-18b6e16a] {
|
|
526
537
|
position: relative;
|
|
527
538
|
box-sizing: border-box;
|
|
528
539
|
flex: none;
|
|
@@ -534,7 +545,7 @@ svg[data-v-47b12d9e] {
|
|
|
534
545
|
border-radius: var(--ui-radius-round);
|
|
535
546
|
text-box-trim: none;
|
|
536
547
|
}
|
|
537
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"] .label[data-v-
|
|
548
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"] .label[data-v-18b6e16a] {
|
|
538
549
|
position: absolute;
|
|
539
550
|
inline-size: 1px;
|
|
540
551
|
block-size: 1px;
|
|
@@ -545,7 +556,7 @@ svg[data-v-47b12d9e] {
|
|
|
545
556
|
|
|
546
557
|
/* The clipped point needs an inset surface over an outer border-colour shape: a native border
|
|
547
558
|
has no diagonal edge to follow. Keep this edge for every tag variant. */
|
|
548
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
559
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-18b6e16a] {
|
|
549
560
|
--_badge-point: var(--ui-badge-point, var(--ui-space-2));
|
|
550
561
|
|
|
551
562
|
position: relative;
|
|
@@ -562,7 +573,7 @@ svg[data-v-47b12d9e] {
|
|
|
562
573
|
0 100%
|
|
563
574
|
);
|
|
564
575
|
}
|
|
565
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
576
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-18b6e16a]::before {
|
|
566
577
|
content: "";
|
|
567
578
|
position: absolute;
|
|
568
579
|
inset: 0;
|
|
@@ -577,34 +588,34 @@ svg[data-v-47b12d9e] {
|
|
|
577
588
|
);
|
|
578
589
|
pointer-events: none;
|
|
579
590
|
}
|
|
580
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
591
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-18b6e16a]:dir(rtl) {
|
|
581
592
|
padding-inline-end: var(--ui-badge-padding-inline, var(--ui-space-2));
|
|
582
593
|
padding-inline-start: calc(
|
|
583
594
|
var(--ui-badge-padding-inline, var(--ui-space-2)) + var(--_badge-point)
|
|
584
595
|
);
|
|
585
596
|
clip-path: polygon(var(--_badge-point) 0, 100% 0, 100% 100%, var(--_badge-point) 100%, 0 50%);
|
|
586
597
|
}
|
|
587
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
598
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-18b6e16a]:dir(rtl)::before {
|
|
588
599
|
clip-path: polygon(var(--_badge-point) 0, 100% 0, 100% 100%, var(--_badge-point) 100%, 0 50%);
|
|
589
600
|
}
|
|
590
601
|
@media (forced-colors: active) {
|
|
591
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-
|
|
602
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-18b6e16a] {
|
|
592
603
|
forced-color-adjust: none;
|
|
593
604
|
border-color: CanvasText;
|
|
594
605
|
background: CanvasText;
|
|
595
606
|
}
|
|
596
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
607
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-18b6e16a] {
|
|
597
608
|
forced-color-adjust: none;
|
|
598
609
|
background: CanvasText;
|
|
599
610
|
color: CanvasText;
|
|
600
611
|
}
|
|
601
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
612
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-18b6e16a]::before {
|
|
602
613
|
background: Canvas;
|
|
603
614
|
}
|
|
604
615
|
}
|
|
605
616
|
|
|
606
617
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
607
|
-
[data-component~="ui-badge"][hidden][data-v-
|
|
618
|
+
[data-component~="ui-badge"][hidden][data-v-18b6e16a] {
|
|
608
619
|
display: none;
|
|
609
620
|
}
|
|
610
621
|
|
|
@@ -1800,7 +1811,7 @@ input[data-v-cb5d05aa]:focus-visible {
|
|
|
1800
1811
|
syntax: "*";
|
|
1801
1812
|
inherits: false;
|
|
1802
1813
|
}
|
|
1803
|
-
[data-component~="ui-combobox"][data-v-
|
|
1814
|
+
[data-component~="ui-combobox"][data-v-8e9a00eb] {
|
|
1804
1815
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
1805
1816
|
--_ui-combobox-label-text: var(--ui-combobox-label-text);
|
|
1806
1817
|
--_ui-combobox-label-font-size: var(--ui-combobox-label-font-size);
|
|
@@ -1825,20 +1836,20 @@ input[data-v-cb5d05aa]:focus-visible {
|
|
|
1825
1836
|
color: var(--ui-text-primary);
|
|
1826
1837
|
font: inherit;
|
|
1827
1838
|
}
|
|
1828
|
-
label[data-v-
|
|
1839
|
+
label[data-v-8e9a00eb] {
|
|
1829
1840
|
color: var(--_ui-combobox-label-text, var(--ui-text-primary));
|
|
1830
1841
|
font-size: var(--_ui-combobox-label-font-size, var(--ui-font-size-sm));
|
|
1831
1842
|
font-weight: 500;
|
|
1832
1843
|
}
|
|
1833
1844
|
/* The field and anything that annotates it sit on one row; the help button is beside the box,
|
|
1834
1845
|
not inside it, because a control's box holds its value. */
|
|
1835
|
-
.control[data-v-
|
|
1846
|
+
.control[data-v-8e9a00eb] {
|
|
1836
1847
|
display: flex;
|
|
1837
1848
|
align-items: center;
|
|
1838
1849
|
gap: var(--ui-space-2);
|
|
1839
1850
|
min-inline-size: 0;
|
|
1840
1851
|
}
|
|
1841
|
-
.field[data-v-
|
|
1852
|
+
.field[data-v-8e9a00eb] {
|
|
1842
1853
|
flex: 1 1 auto;
|
|
1843
1854
|
display: flex;
|
|
1844
1855
|
min-inline-size: 0;
|
|
@@ -1850,19 +1861,19 @@ label[data-v-a593ab08] {
|
|
|
1850
1861
|
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1851
1862
|
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1852
1863
|
}
|
|
1853
|
-
.field[data-v-
|
|
1864
|
+
.field[data-v-8e9a00eb]:focus-within {
|
|
1854
1865
|
border-color: var(--ui-control-focus, var(--ui-accent-solid));
|
|
1855
1866
|
box-shadow:
|
|
1856
1867
|
var(--ui-control-inset),
|
|
1857
1868
|
var(--ui-control-focus-halo-shadow);
|
|
1858
1869
|
}
|
|
1859
|
-
.entry[data-v-
|
|
1870
|
+
.entry[data-v-8e9a00eb] {
|
|
1860
1871
|
display: flex;
|
|
1861
1872
|
flex: 1 1 auto;
|
|
1862
1873
|
min-inline-size: 0;
|
|
1863
1874
|
}
|
|
1864
1875
|
/* A ghost icon button: the affordance is the mark, not a box around it. */
|
|
1865
|
-
.help[data-v-
|
|
1876
|
+
.help[data-v-8e9a00eb] {
|
|
1866
1877
|
flex: none;
|
|
1867
1878
|
display: inline-flex;
|
|
1868
1879
|
align-items: center;
|
|
@@ -1879,28 +1890,28 @@ label[data-v-a593ab08] {
|
|
|
1879
1890
|
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1880
1891
|
color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1881
1892
|
}
|
|
1882
|
-
.help[data-v-
|
|
1883
|
-
.help[aria-expanded="true"][data-v-
|
|
1893
|
+
.help[data-v-8e9a00eb]:hover:enabled,
|
|
1894
|
+
.help[aria-expanded="true"][data-v-8e9a00eb] {
|
|
1884
1895
|
background: color-mix(in srgb, currentColor 8%, transparent);
|
|
1885
1896
|
color: var(--ui-text-primary);
|
|
1886
1897
|
}
|
|
1887
|
-
.help[data-v-
|
|
1898
|
+
.help[data-v-8e9a00eb]:focus-visible {
|
|
1888
1899
|
outline: none;
|
|
1889
1900
|
box-shadow: var(--ui-focus-halo);
|
|
1890
1901
|
}
|
|
1891
|
-
.help[data-v-
|
|
1902
|
+
.help[data-v-8e9a00eb]:disabled {
|
|
1892
1903
|
color: var(--ui-disabled-text);
|
|
1893
1904
|
cursor: not-allowed;
|
|
1894
1905
|
}
|
|
1895
|
-
.help-icon[data-v-
|
|
1906
|
+
.help-icon[data-v-8e9a00eb] {
|
|
1896
1907
|
inline-size: var(--ui-icon-size-sm);
|
|
1897
1908
|
block-size: var(--ui-icon-size-sm);
|
|
1898
1909
|
}
|
|
1899
|
-
input[data-v-
|
|
1910
|
+
input[data-v-8e9a00eb]::selection {
|
|
1900
1911
|
background: color-mix(in srgb, var(--ui-accent-solid) 20%, transparent);
|
|
1901
1912
|
color: inherit;
|
|
1902
1913
|
}
|
|
1903
|
-
input[data-v-
|
|
1914
|
+
input[data-v-8e9a00eb] {
|
|
1904
1915
|
appearance: none;
|
|
1905
1916
|
width: 100%;
|
|
1906
1917
|
min-inline-size: 0;
|
|
@@ -1916,20 +1927,20 @@ input[data-v-a593ab08] {
|
|
|
1916
1927
|
margin: 0;
|
|
1917
1928
|
outline: none;
|
|
1918
1929
|
}
|
|
1919
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"][data-v-
|
|
1930
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"][data-v-8e9a00eb] {
|
|
1920
1931
|
--_row: var(--ui-control-size-sm);
|
|
1921
1932
|
}
|
|
1922
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"] input[data-v-
|
|
1933
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"] input[data-v-8e9a00eb] {
|
|
1923
1934
|
min-block-size: calc(var(--_row) - 2px);
|
|
1924
1935
|
padding: var(--ui-space-1) var(--ui-space-2);
|
|
1925
1936
|
font-size: var(--ui-font-size-sm);
|
|
1926
1937
|
}
|
|
1927
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="size=lg"] input[data-v-
|
|
1938
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="size=lg"] input[data-v-8e9a00eb] {
|
|
1928
1939
|
min-block-size: calc(var(--ui-control-size-lg) - 2px);
|
|
1929
1940
|
padding: var(--ui-space-3) var(--ui-space-4);
|
|
1930
1941
|
font-size: var(--ui-font-size-md);
|
|
1931
1942
|
}
|
|
1932
|
-
button[data-v-
|
|
1943
|
+
button[data-v-8e9a00eb] {
|
|
1933
1944
|
appearance: none;
|
|
1934
1945
|
display: inline-grid;
|
|
1935
1946
|
place-items: center;
|
|
@@ -1944,36 +1955,36 @@ button[data-v-a593ab08] {
|
|
|
1944
1955
|
padding: 0 var(--ui-space-1);
|
|
1945
1956
|
cursor: pointer;
|
|
1946
1957
|
}
|
|
1947
|
-
.affordance-icon[data-v-
|
|
1958
|
+
.affordance-icon[data-v-8e9a00eb] {
|
|
1948
1959
|
display: block;
|
|
1949
1960
|
inline-size: var(--ui-icon-size-sm);
|
|
1950
1961
|
block-size: var(--ui-icon-size-sm);
|
|
1951
1962
|
}
|
|
1952
|
-
button[data-v-
|
|
1963
|
+
button[data-v-8e9a00eb]:hover:enabled {
|
|
1953
1964
|
background: var(--ui-surface-muted);
|
|
1954
1965
|
color: var(--ui-text-primary);
|
|
1955
1966
|
}
|
|
1956
|
-
button[data-v-
|
|
1967
|
+
button[data-v-8e9a00eb]:focus-visible {
|
|
1957
1968
|
outline: none;
|
|
1958
1969
|
background: var(--ui-surface-muted);
|
|
1959
1970
|
box-shadow: inset 0 0 0 var(--ui-focus-width)
|
|
1960
1971
|
color-mix(in srgb, var(--ui-focus-ring) 45%, transparent);
|
|
1961
1972
|
}
|
|
1962
|
-
input[data-v-
|
|
1973
|
+
input[data-v-8e9a00eb]:disabled, button[data-v-8e9a00eb]:disabled {
|
|
1963
1974
|
color: var(--ui-disabled-text);
|
|
1964
1975
|
cursor: not-allowed;
|
|
1965
1976
|
}
|
|
1966
|
-
.field[data-v-
|
|
1977
|
+
.field[data-v-8e9a00eb]:has(input:disabled) {
|
|
1967
1978
|
background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
1968
1979
|
}
|
|
1969
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="validationStatus=error"] .field[data-v-
|
|
1970
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="invalid"] .field[data-v-
|
|
1980
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="validationStatus=error"] .field[data-v-8e9a00eb],
|
|
1981
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="invalid"] .field[data-v-8e9a00eb] {
|
|
1971
1982
|
border-color: var(
|
|
1972
1983
|
--_ui-combobox-invalid-border,
|
|
1973
1984
|
var(--ui-field-danger, var(--ui-danger-solid, var(--ui-accent-active)))
|
|
1974
1985
|
);
|
|
1975
1986
|
}
|
|
1976
|
-
.popup[data-v-
|
|
1987
|
+
.popup[data-v-8e9a00eb] {
|
|
1977
1988
|
box-sizing: border-box;
|
|
1978
1989
|
min-inline-size: 12rem;
|
|
1979
1990
|
max-inline-size: calc(100vw - 1rem);
|
|
@@ -1994,46 +2005,46 @@ input[data-v-a593ab08]:disabled, button[data-v-a593ab08]:disabled {
|
|
|
1994
2005
|
var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
|
|
1995
2006
|
);
|
|
1996
2007
|
}
|
|
1997
|
-
[hidden][data-v-
|
|
2008
|
+
[hidden][data-v-8e9a00eb] {
|
|
1998
2009
|
display: none;
|
|
1999
2010
|
}
|
|
2000
|
-
.option[aria-disabled="true"] .primary[data-v-
|
|
2001
|
-
.option[aria-disabled="true"] .secondary[data-v-
|
|
2011
|
+
.option[aria-disabled="true"] .primary[data-v-8e9a00eb],
|
|
2012
|
+
.option[aria-disabled="true"] .secondary[data-v-8e9a00eb] {
|
|
2002
2013
|
color: var(--ui-disabled-text);
|
|
2003
2014
|
}
|
|
2004
|
-
.primary[data-v-
|
|
2015
|
+
.primary[data-v-8e9a00eb] {
|
|
2005
2016
|
display: block;
|
|
2006
2017
|
color: var(--_ui-combobox-option-text, inherit);
|
|
2007
2018
|
font-weight: 500;
|
|
2008
2019
|
}
|
|
2009
2020
|
/* A row with a tag or a description: the label and its tag on one line, the description under them. */
|
|
2010
|
-
.detail[data-v-
|
|
2021
|
+
.detail[data-v-8e9a00eb] {
|
|
2011
2022
|
display: grid;
|
|
2012
2023
|
gap: var(--ui-space-0-5);
|
|
2013
2024
|
min-inline-size: 0;
|
|
2014
2025
|
}
|
|
2015
|
-
.line[data-v-
|
|
2026
|
+
.line[data-v-8e9a00eb] {
|
|
2016
2027
|
display: flex;
|
|
2017
2028
|
flex-wrap: wrap;
|
|
2018
2029
|
align-items: center;
|
|
2019
2030
|
gap: var(--ui-space-2);
|
|
2020
2031
|
}
|
|
2021
|
-
.description[data-v-
|
|
2032
|
+
.description[data-v-8e9a00eb] {
|
|
2022
2033
|
color: var(--ui-text-muted);
|
|
2023
2034
|
font-size: var(--ui-font-size-sm);
|
|
2024
2035
|
line-height: var(--ui-line-height-md);
|
|
2025
2036
|
}
|
|
2026
|
-
.message[data-v-
|
|
2037
|
+
.message[data-v-8e9a00eb], .group[data-v-8e9a00eb] {
|
|
2027
2038
|
color: var(--_ui-combobox-message-text, var(--ui-text-secondary));
|
|
2028
2039
|
font-weight: 400;
|
|
2029
2040
|
font-size: var(--ui-font-size-sm);
|
|
2030
2041
|
line-height: var(--ui-line-height-md);
|
|
2031
2042
|
overflow-wrap: anywhere;
|
|
2032
2043
|
}
|
|
2033
|
-
.group[data-v-
|
|
2044
|
+
.group[data-v-8e9a00eb], .popup .message[data-v-8e9a00eb] {
|
|
2034
2045
|
padding: var(--ui-space-2) var(--ui-space-3);
|
|
2035
2046
|
}
|
|
2036
|
-
.sr-only[data-v-
|
|
2047
|
+
.sr-only[data-v-8e9a00eb] {
|
|
2037
2048
|
position: absolute;
|
|
2038
2049
|
inline-size: 1px;
|
|
2039
2050
|
block-size: 1px;
|
|
@@ -2042,45 +2053,45 @@ input[data-v-a593ab08]:disabled, button[data-v-a593ab08]:disabled {
|
|
|
2042
2053
|
white-space: nowrap;
|
|
2043
2054
|
}
|
|
2044
2055
|
@media (pointer: coarse) {
|
|
2045
|
-
button[data-v-
|
|
2056
|
+
button[data-v-8e9a00eb] {
|
|
2046
2057
|
min-inline-size: 2.75rem;
|
|
2047
2058
|
min-block-size: 2.75rem;
|
|
2048
2059
|
}
|
|
2049
2060
|
/* Under touch a small field is still a touch-sized target, as a small button is, and keeps
|
|
2050
2061
|
body-size text: below 16px, iOS zooms the page into the focused field. */
|
|
2051
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"][data-v-
|
|
2062
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"][data-v-8e9a00eb] {
|
|
2052
2063
|
--_row: var(--ui-control-min-block-size);
|
|
2053
2064
|
}
|
|
2054
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"] input[data-v-
|
|
2065
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"] input[data-v-8e9a00eb] {
|
|
2055
2066
|
font-size: inherit;
|
|
2056
2067
|
}
|
|
2057
2068
|
}
|
|
2058
2069
|
@media (forced-colors: active) {
|
|
2059
|
-
.field[data-v-
|
|
2070
|
+
.field[data-v-8e9a00eb], .popup[data-v-8e9a00eb] {
|
|
2060
2071
|
border-color: CanvasText;
|
|
2061
2072
|
}
|
|
2062
|
-
.option.active[data-v-
|
|
2073
|
+
.option.active[data-v-8e9a00eb] {
|
|
2063
2074
|
outline-color: Highlight;
|
|
2064
2075
|
}
|
|
2065
2076
|
}
|
|
2066
2077
|
|
|
2067
2078
|
/* Multiple mode keeps one control height. Chips and the input scroll within the entry,
|
|
2068
2079
|
while the clear and disclosure controls remain fixed at the end of the field. */
|
|
2069
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] .field[data-v-
|
|
2080
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] .field[data-v-8e9a00eb] {
|
|
2070
2081
|
align-items: center;
|
|
2071
2082
|
min-block-size: var(--_ui-combobox-item-min-block-size, 2.5rem);
|
|
2072
2083
|
padding: var(--ui-space-1);
|
|
2073
2084
|
}
|
|
2074
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] .entry[data-v-
|
|
2085
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] .entry[data-v-8e9a00eb] {
|
|
2075
2086
|
align-items: center;
|
|
2076
2087
|
gap: var(--ui-space-1);
|
|
2077
2088
|
overflow-x: auto;
|
|
2078
2089
|
scrollbar-width: none;
|
|
2079
2090
|
}
|
|
2080
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] .entry[data-v-
|
|
2091
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] .entry[data-v-8e9a00eb]::-webkit-scrollbar {
|
|
2081
2092
|
display: none;
|
|
2082
2093
|
}
|
|
2083
|
-
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] input[data-v-
|
|
2094
|
+
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"] input[data-v-8e9a00eb] {
|
|
2084
2095
|
flex: 1 0 var(--_ui-combobox-item-input-min-inline-size, 5rem);
|
|
2085
2096
|
width: auto;
|
|
2086
2097
|
min-block-size: 1.75rem;
|
|
@@ -2088,27 +2099,27 @@ button[data-v-a593ab08] {
|
|
|
2088
2099
|
}
|
|
2089
2100
|
/* Size variants keep their control height as selections are added. */
|
|
2090
2101
|
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"][data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"]
|
|
2091
|
-
.field[data-v-
|
|
2102
|
+
.field[data-v-8e9a00eb] {
|
|
2092
2103
|
min-block-size: 0;
|
|
2093
2104
|
padding: var(--ui-space-0-5);
|
|
2094
2105
|
}
|
|
2095
2106
|
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"][data-component~="ui-combobox"][data-ui-combobox-state~="size=sm"]
|
|
2096
|
-
input[data-v-
|
|
2107
|
+
input[data-v-8e9a00eb] {
|
|
2097
2108
|
min-block-size: calc(var(--_row) - 2 * var(--ui-border-width) - 2 * var(--ui-space-0-5));
|
|
2098
2109
|
padding: 0 var(--ui-space-1);
|
|
2099
2110
|
}
|
|
2100
2111
|
/* A large multiple field starts at the large control height, as sm starts at the small one. */
|
|
2101
2112
|
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"][data-component~="ui-combobox"][data-ui-combobox-state~="size=lg"]
|
|
2102
|
-
.field[data-v-
|
|
2113
|
+
.field[data-v-8e9a00eb] {
|
|
2103
2114
|
min-block-size: 0;
|
|
2104
2115
|
}
|
|
2105
2116
|
[data-component~="ui-combobox"][data-ui-combobox-state~="multiple"][data-component~="ui-combobox"][data-ui-combobox-state~="size=lg"]
|
|
2106
|
-
input[data-v-
|
|
2117
|
+
input[data-v-8e9a00eb] {
|
|
2107
2118
|
min-block-size: calc(
|
|
2108
2119
|
var(--ui-control-size-lg) - 2 * var(--ui-border-width) - 2 * var(--ui-space-1)
|
|
2109
2120
|
);
|
|
2110
2121
|
}
|
|
2111
|
-
.item[data-v-
|
|
2122
|
+
.item[data-v-8e9a00eb] {
|
|
2112
2123
|
appearance: none;
|
|
2113
2124
|
display: inline-flex;
|
|
2114
2125
|
flex: none;
|
|
@@ -2123,16 +2134,16 @@ button[data-v-a593ab08] {
|
|
|
2123
2134
|
font: inherit;
|
|
2124
2135
|
cursor: default;
|
|
2125
2136
|
}
|
|
2126
|
-
.item[data-v-
|
|
2137
|
+
.item[data-v-8e9a00eb]:focus-visible {
|
|
2127
2138
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
2128
2139
|
outline-offset: var(--ui-border-width);
|
|
2129
2140
|
}
|
|
2130
|
-
.item[data-v-
|
|
2141
|
+
.item[data-v-8e9a00eb]:disabled {
|
|
2131
2142
|
color: var(--ui-disabled-text);
|
|
2132
2143
|
}
|
|
2133
2144
|
|
|
2134
2145
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2135
|
-
[data-component~="ui-combobox"][hidden][data-v-
|
|
2146
|
+
[data-component~="ui-combobox"][hidden][data-v-8e9a00eb] {
|
|
2136
2147
|
display: none;
|
|
2137
2148
|
}
|
|
2138
2149
|
|