@threadlabs/looma 0.23.5 → 0.23.7
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/shared/icons.js +1 -0
- package/components/ui-badge/ui-badge.html +34 -3
- package/components/ui-icon/ui-icon.html +1 -0
- package/components/ui-list-item/ui-list-item.html +8 -0
- package/dist/index.js +1 -1
- package/editor/icons.d.ts +1 -0
- package/editor/index.js +2 -1
- package/package.json +1 -1
- package/styles/ui-badge.css +31 -0
- package/styles/ui-list-item.css +6 -0
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -0
- package/vanilla/UiListItem.js +2 -0
- package/vue/UiBadge.d.ts +3 -3
- package/vue/UiBadge.vue +38 -6
- package/vue/UiIcon.vue +4 -0
- package/vue/UiListItem.d.ts +9 -0
- package/vue/UiListItem.vue +25 -0
- package/vue/chunks/UiBadge.js +5 -4
- package/vue/chunks/UiIcon.js +8 -1
- package/vue/chunks/UiListItem.js +26 -4
- package/vue/components.css +91 -59
package/vue/components.css
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
syntax: "*";
|
|
93
93
|
inherits: false;
|
|
94
94
|
}
|
|
95
|
-
[data-component~="ui-icon"][data-v-
|
|
95
|
+
[data-component~="ui-icon"][data-v-47b12d9e] {
|
|
96
96
|
/* Hooks do not inherit, so the svg reads the stroke from the root. A Looma component that
|
|
97
97
|
sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
98
98
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
inline-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
103
103
|
block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
104
104
|
}
|
|
105
|
-
svg[data-v-
|
|
105
|
+
svg[data-v-47b12d9e] {
|
|
106
106
|
inline-size: 100%;
|
|
107
107
|
block-size: 100%;
|
|
108
108
|
stroke-width: var(--_ui-icon-stroke-width, 2);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
112
|
-
[data-component~="ui-icon"][hidden][data-v-
|
|
112
|
+
[data-component~="ui-icon"][hidden][data-v-47b12d9e] {
|
|
113
113
|
display: none;
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -301,6 +301,10 @@ svg[data-v-87aa3ce3] {
|
|
|
301
301
|
syntax: "*";
|
|
302
302
|
inherits: false;
|
|
303
303
|
}
|
|
304
|
+
@property --ui-badge-square-size {
|
|
305
|
+
syntax: "*";
|
|
306
|
+
inherits: false;
|
|
307
|
+
}
|
|
304
308
|
@property --ui-badge-dot-size {
|
|
305
309
|
syntax: "*";
|
|
306
310
|
inherits: false;
|
|
@@ -345,7 +349,7 @@ svg[data-v-87aa3ce3] {
|
|
|
345
349
|
syntax: "*";
|
|
346
350
|
inherits: false;
|
|
347
351
|
}
|
|
348
|
-
[data-component~="ui-badge"][data-v-
|
|
352
|
+
[data-component~="ui-badge"][data-v-470f6e28] {
|
|
349
353
|
--_badge-surface: color-mix(in srgb, var(--ui-surface-subtle) 80%, var(--ui-surface-default));
|
|
350
354
|
--_badge-text: var(--ui-text-secondary);
|
|
351
355
|
/* Sit between the soft fill and its stronger theme ink. */
|
|
@@ -390,7 +394,7 @@ svg[data-v-87aa3ce3] {
|
|
|
390
394
|
* Trimming applies to block containers; an inline-block is one and, like the inline-flex it
|
|
391
395
|
* replaces, still sizes to its label rather than filling its container. */
|
|
392
396
|
@supports (text-box-trim: trim-both) {
|
|
393
|
-
[data-component~="ui-badge"][data-v-
|
|
397
|
+
[data-component~="ui-badge"][data-v-470f6e28] {
|
|
394
398
|
display: inline-block;
|
|
395
399
|
min-block-size: var(--ui-badge-min-block-size, 1.5rem);
|
|
396
400
|
text-align: center;
|
|
@@ -399,7 +403,7 @@ svg[data-v-87aa3ce3] {
|
|
|
399
403
|
text-box-edge: cap alphabetic;
|
|
400
404
|
}
|
|
401
405
|
}
|
|
402
|
-
[data-component~="ui-badge"][data-ui-badge-state~="size=xs"][data-v-
|
|
406
|
+
[data-component~="ui-badge"][data-ui-badge-state~="size=xs"][data-v-470f6e28] {
|
|
403
407
|
box-sizing: border-box;
|
|
404
408
|
min-inline-size: 1rem;
|
|
405
409
|
min-block-size: var(--ui-badge-min-block-size, 1rem);
|
|
@@ -407,52 +411,52 @@ svg[data-v-87aa3ce3] {
|
|
|
407
411
|
font-size: var(--ui-badge-font-size, var(--ui-font-size-2xs));
|
|
408
412
|
line-height: var(--ui-badge-line-height, 1);
|
|
409
413
|
}
|
|
410
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=accent"][data-v-
|
|
414
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=accent"][data-v-470f6e28] {
|
|
411
415
|
--_badge-surface: var(--ui-accent-strong-surface, var(--ui-accent-solid));
|
|
412
416
|
--_badge-border: var(--ui-accent-strong-surface, var(--ui-accent-solid));
|
|
413
417
|
--_badge-text: var(--ui-accent-on-strong, var(--ui-text-on-accent));
|
|
414
418
|
}
|
|
415
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=danger"][data-v-
|
|
419
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=danger"][data-v-470f6e28] {
|
|
416
420
|
--_badge-surface: var(--ui-danger-strong-surface, var(--ui-danger-solid));
|
|
417
421
|
--_badge-border: var(--ui-danger-strong-surface, var(--ui-danger-solid));
|
|
418
422
|
--_badge-text: var(--ui-danger-on-strong, var(--ui-text-on-accent));
|
|
419
423
|
}
|
|
420
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=success"][data-v-
|
|
424
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=success"][data-v-470f6e28] {
|
|
421
425
|
--_badge-surface: var(--ui-success-strong-surface, var(--ui-success-solid));
|
|
422
426
|
--_badge-border: var(--ui-success-strong-surface, var(--ui-success-solid));
|
|
423
427
|
--_badge-text: var(--ui-success-on-strong, var(--ui-text-on-accent));
|
|
424
428
|
}
|
|
425
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=warning"][data-v-
|
|
429
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=warning"][data-v-470f6e28] {
|
|
426
430
|
--_badge-surface: var(--ui-warning-strong-surface, var(--ui-warning-solid));
|
|
427
431
|
--_badge-border: var(--ui-warning-strong-surface, var(--ui-warning-solid));
|
|
428
432
|
--_badge-text: var(--ui-warning-on-strong, var(--ui-text-on-accent));
|
|
429
433
|
}
|
|
430
|
-
[data-component~="ui-badge"][data-ui-badge-state~="tone=info"][data-v-
|
|
434
|
+
[data-component~="ui-badge"][data-ui-badge-state~="tone=info"][data-v-470f6e28] {
|
|
431
435
|
--_badge-surface: var(--ui-info-strong-surface, var(--ui-info-solid));
|
|
432
436
|
--_badge-border: var(--ui-info-strong-surface, var(--ui-info-solid));
|
|
433
437
|
--_badge-text: var(--ui-info-on-strong, var(--ui-text-on-accent));
|
|
434
438
|
}
|
|
435
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=accent"][data-v-
|
|
439
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=accent"][data-v-470f6e28] {
|
|
436
440
|
--_badge-surface: color-mix(in srgb, var(--ui-accent-solid) 19%, var(--ui-surface-default));
|
|
437
441
|
--_badge-border: color-mix(in srgb, var(--ui-accent-solid) 25%, var(--ui-surface-default));
|
|
438
442
|
--_badge-text: var(--ui-accent-subtle-text, var(--ui-accent-solid));
|
|
439
443
|
}
|
|
440
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=danger"][data-v-
|
|
444
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=danger"][data-v-470f6e28] {
|
|
441
445
|
--_badge-surface: color-mix(in srgb, var(--ui-danger-solid) 19%, var(--ui-surface-default));
|
|
442
446
|
--_badge-border: color-mix(in srgb, var(--ui-danger-solid) 25%, var(--ui-surface-default));
|
|
443
447
|
--_badge-text: var(--ui-danger-subtle-text, var(--ui-danger-solid));
|
|
444
448
|
}
|
|
445
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=success"][data-v-
|
|
449
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=success"][data-v-470f6e28] {
|
|
446
450
|
--_badge-surface: color-mix(in srgb, var(--ui-success-solid) 19%, var(--ui-surface-default));
|
|
447
451
|
--_badge-border: color-mix(in srgb, var(--ui-success-solid) 25%, var(--ui-surface-default));
|
|
448
452
|
--_badge-text: var(--ui-success-subtle-text, var(--ui-success-solid));
|
|
449
453
|
}
|
|
450
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=warning"][data-v-
|
|
454
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=warning"][data-v-470f6e28] {
|
|
451
455
|
--_badge-surface: color-mix(in srgb, var(--ui-warning-solid) 19%, var(--ui-surface-default));
|
|
452
456
|
--_badge-border: color-mix(in srgb, var(--ui-warning-solid) 25%, var(--ui-surface-default));
|
|
453
457
|
--_badge-text: var(--ui-warning-subtle-text, var(--ui-warning-solid));
|
|
454
458
|
}
|
|
455
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=info"][data-v-
|
|
459
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=subtle"][data-ui-badge-state~="tone=info"][data-v-470f6e28] {
|
|
456
460
|
--_badge-surface: color-mix(in srgb, var(--ui-info-solid) 19%, var(--ui-surface-default));
|
|
457
461
|
--_badge-border: color-mix(in srgb, var(--ui-info-solid) 25%, var(--ui-surface-default));
|
|
458
462
|
--_badge-text: var(--ui-info-subtle-text, var(--ui-info-solid));
|
|
@@ -460,12 +464,12 @@ svg[data-v-87aa3ce3] {
|
|
|
460
464
|
|
|
461
465
|
/* A solid colour fills with the ink. Its text is the page surface, mixed at 0% only so that it too is
|
|
462
466
|
invalid while the hook is unset. */
|
|
463
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=solid"][data-v-
|
|
467
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=solid"][data-v-470f6e28] {
|
|
464
468
|
--_badge-color-surface: var(--_badge-color-ink);
|
|
465
469
|
--_badge-color-border: var(--_badge-color-ink);
|
|
466
470
|
--_badge-color-text: color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default));
|
|
467
471
|
}
|
|
468
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-v-
|
|
472
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-v-470f6e28] {
|
|
469
473
|
--_badge-surface: var(--ui-surface-default);
|
|
470
474
|
--_badge-border: var(--ui-border-strong);
|
|
471
475
|
--_badge-text: var(--ui-text-secondary);
|
|
@@ -473,29 +477,52 @@ svg[data-v-87aa3ce3] {
|
|
|
473
477
|
--_badge-color-surface: initial;
|
|
474
478
|
--_badge-color-border: var(--_badge-color-ink);
|
|
475
479
|
}
|
|
476
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=accent"][data-v-
|
|
480
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=accent"][data-v-470f6e28] {
|
|
477
481
|
--_badge-border: var(--ui-accent-solid);
|
|
478
482
|
--_badge-text: var(--ui-accent-subtle-text, var(--ui-accent-solid));
|
|
479
483
|
}
|
|
480
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=danger"][data-v-
|
|
484
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=danger"][data-v-470f6e28] {
|
|
481
485
|
--_badge-border: var(--ui-danger-solid);
|
|
482
486
|
--_badge-text: var(--ui-danger-subtle-text, var(--ui-danger-solid));
|
|
483
487
|
}
|
|
484
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=success"][data-v-
|
|
488
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=success"][data-v-470f6e28] {
|
|
485
489
|
--_badge-border: var(--ui-success-solid);
|
|
486
490
|
--_badge-text: var(--ui-success-subtle-text, var(--ui-success-solid));
|
|
487
491
|
}
|
|
488
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=warning"][data-v-
|
|
492
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=warning"][data-v-470f6e28] {
|
|
489
493
|
--_badge-border: var(--ui-warning-solid);
|
|
490
494
|
--_badge-text: var(--ui-warning-subtle-text, var(--ui-warning-solid));
|
|
491
495
|
}
|
|
492
|
-
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=info"][data-v-
|
|
496
|
+
[data-component~="ui-badge"][data-ui-badge-state~="variant=outline"][data-ui-badge-state~="tone=info"][data-v-470f6e28] {
|
|
493
497
|
--_badge-border: var(--ui-info-solid);
|
|
494
498
|
--_badge-text: var(--ui-info-subtle-text, var(--ui-info-solid));
|
|
495
499
|
}
|
|
496
500
|
|
|
501
|
+
/* 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-470f6e28] {
|
|
503
|
+
--_badge-square-size: var(--ui-badge-square-size, calc(var(--ui-space-4) * 2));
|
|
504
|
+
display: inline-flex;
|
|
505
|
+
box-sizing: border-box;
|
|
506
|
+
flex: none;
|
|
507
|
+
inline-size: var(--_badge-square-size);
|
|
508
|
+
block-size: var(--_badge-square-size);
|
|
509
|
+
min-inline-size: var(--_badge-square-size);
|
|
510
|
+
min-block-size: var(--_badge-square-size);
|
|
511
|
+
padding: 0;
|
|
512
|
+
border-radius: var(--ui-radius-md);
|
|
513
|
+
text-box-trim: none;
|
|
514
|
+
}
|
|
515
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"][data-ui-badge-state~="size=xs"][data-v-470f6e28] {
|
|
516
|
+
--_badge-square-size: var(--ui-badge-square-size, calc(var(--ui-space-3) * 2));
|
|
517
|
+
}
|
|
518
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=square"] .label[data-v-470f6e28] {
|
|
519
|
+
display: inline-flex;
|
|
520
|
+
align-items: center;
|
|
521
|
+
justify-content: center;
|
|
522
|
+
}
|
|
523
|
+
|
|
497
524
|
/* A dot uses the badge's tone recipe; only its silhouette and visible label change. */
|
|
498
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-
|
|
525
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-470f6e28] {
|
|
499
526
|
position: relative;
|
|
500
527
|
box-sizing: border-box;
|
|
501
528
|
flex: none;
|
|
@@ -507,7 +534,7 @@ svg[data-v-87aa3ce3] {
|
|
|
507
534
|
border-radius: var(--ui-radius-round);
|
|
508
535
|
text-box-trim: none;
|
|
509
536
|
}
|
|
510
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"] .label[data-v-
|
|
537
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"] .label[data-v-470f6e28] {
|
|
511
538
|
position: absolute;
|
|
512
539
|
inline-size: 1px;
|
|
513
540
|
block-size: 1px;
|
|
@@ -518,7 +545,7 @@ svg[data-v-87aa3ce3] {
|
|
|
518
545
|
|
|
519
546
|
/* The clipped point needs an inset surface over an outer border-colour shape: a native border
|
|
520
547
|
has no diagonal edge to follow. Keep this edge for every tag variant. */
|
|
521
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
548
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-470f6e28] {
|
|
522
549
|
--_badge-point: var(--ui-badge-point, var(--ui-space-2));
|
|
523
550
|
|
|
524
551
|
position: relative;
|
|
@@ -535,7 +562,7 @@ svg[data-v-87aa3ce3] {
|
|
|
535
562
|
0 100%
|
|
536
563
|
);
|
|
537
564
|
}
|
|
538
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
565
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-470f6e28]::before {
|
|
539
566
|
content: "";
|
|
540
567
|
position: absolute;
|
|
541
568
|
inset: 0;
|
|
@@ -550,34 +577,34 @@ svg[data-v-87aa3ce3] {
|
|
|
550
577
|
);
|
|
551
578
|
pointer-events: none;
|
|
552
579
|
}
|
|
553
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
580
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-470f6e28]:dir(rtl) {
|
|
554
581
|
padding-inline-end: var(--ui-badge-padding-inline, var(--ui-space-2));
|
|
555
582
|
padding-inline-start: calc(
|
|
556
583
|
var(--ui-badge-padding-inline, var(--ui-space-2)) + var(--_badge-point)
|
|
557
584
|
);
|
|
558
585
|
clip-path: polygon(var(--_badge-point) 0, 100% 0, 100% 100%, var(--_badge-point) 100%, 0 50%);
|
|
559
586
|
}
|
|
560
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
587
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-470f6e28]:dir(rtl)::before {
|
|
561
588
|
clip-path: polygon(var(--_badge-point) 0, 100% 0, 100% 100%, var(--_badge-point) 100%, 0 50%);
|
|
562
589
|
}
|
|
563
590
|
@media (forced-colors: active) {
|
|
564
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-
|
|
591
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=dot"][data-v-470f6e28] {
|
|
565
592
|
forced-color-adjust: none;
|
|
566
593
|
border-color: CanvasText;
|
|
567
594
|
background: CanvasText;
|
|
568
595
|
}
|
|
569
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
596
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-470f6e28] {
|
|
570
597
|
forced-color-adjust: none;
|
|
571
598
|
background: CanvasText;
|
|
572
599
|
color: CanvasText;
|
|
573
600
|
}
|
|
574
|
-
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-
|
|
601
|
+
[data-component~="ui-badge"][data-ui-badge-state~="shape=tag"][data-v-470f6e28]::before {
|
|
575
602
|
background: Canvas;
|
|
576
603
|
}
|
|
577
604
|
}
|
|
578
605
|
|
|
579
606
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
580
|
-
[data-component~="ui-badge"][hidden][data-v-
|
|
607
|
+
[data-component~="ui-badge"][hidden][data-v-470f6e28] {
|
|
581
608
|
display: none;
|
|
582
609
|
}
|
|
583
610
|
|
|
@@ -5150,7 +5177,7 @@ svg[data-v-7bb0fe2e-s] {
|
|
|
5150
5177
|
padding follow it too, and the item takes the link's focus ring. The link stays a real link, so
|
|
5151
5178
|
a router, a modified click, and "open in new tab" all work. Trailing controls sit above it and
|
|
5152
5179
|
stay their own. */
|
|
5153
|
-
[data-component~="ui-list-item"][data-v-
|
|
5180
|
+
[data-component~="ui-list-item"][data-v-b8e3f0cd] {
|
|
5154
5181
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
5155
5182
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
5156
5183
|
|
|
@@ -5175,86 +5202,91 @@ svg[data-v-7bb0fe2e-s] {
|
|
|
5175
5202
|
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
5176
5203
|
border-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
5177
5204
|
}
|
|
5178
|
-
[data-component~="ui-list-item"][data-ui-list-item-state~="variant=card"][data-v-
|
|
5205
|
+
[data-component~="ui-list-item"][data-ui-list-item-state~="variant=card"][data-v-b8e3f0cd] {
|
|
5179
5206
|
padding-block: var(--ui-list-item-padding-block, var(--ui-space-3));
|
|
5180
5207
|
padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4));
|
|
5181
5208
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
5182
5209
|
border-radius: var(--ui-radius-lg);
|
|
5183
5210
|
background: var(--ui-surface-raised);
|
|
5184
5211
|
}
|
|
5185
|
-
[data-component~="ui-list-item"][data-v-
|
|
5212
|
+
[data-component~="ui-list-item"][data-v-b8e3f0cd]:has(.title a[href]:hover) {
|
|
5186
5213
|
background: var(--ui-surface-hover);
|
|
5187
5214
|
}
|
|
5188
|
-
[data-component~="ui-list-item"][data-ui-list-item-state~="variant=card"][data-v-
|
|
5215
|
+
[data-component~="ui-list-item"][data-ui-list-item-state~="variant=card"][data-v-b8e3f0cd]:has(.title
|
|
5189
5216
|
a[href]:hover) {
|
|
5190
5217
|
border-color: var(--ui-border-strong);
|
|
5191
5218
|
}
|
|
5192
|
-
[data-component~="ui-list-item"][data-ui-list-item-state~="highlighted"][data-v-
|
|
5219
|
+
[data-component~="ui-list-item"][data-ui-list-item-state~="highlighted"][data-v-b8e3f0cd] {
|
|
5193
5220
|
background: var(--ui-selection-surface);
|
|
5194
5221
|
}
|
|
5195
|
-
[data-component~="ui-list-item"][data-ui-list-item-state~="current"][data-v-
|
|
5222
|
+
[data-component~="ui-list-item"][data-ui-list-item-state~="current"][data-v-b8e3f0cd] {
|
|
5196
5223
|
background: var(--ui-selection-surface);
|
|
5197
5224
|
color: var(--ui-selection-text);
|
|
5198
5225
|
}
|
|
5199
|
-
[data-component~="ui-list-item"][data-v-
|
|
5226
|
+
[data-component~="ui-list-item"][data-v-b8e3f0cd]:has(.title a[href]:focus-visible) {
|
|
5200
5227
|
box-shadow: 0 0 0 var(--ui-focus-width) var(--ui-focus-ring);
|
|
5201
5228
|
}
|
|
5202
|
-
.leading[data-v-
|
|
5203
|
-
.trailing[data-v-
|
|
5229
|
+
.leading[data-v-b8e3f0cd],
|
|
5230
|
+
.trailing[data-v-b8e3f0cd] {
|
|
5204
5231
|
display: inline-flex;
|
|
5205
5232
|
flex: none;
|
|
5206
5233
|
align-items: center;
|
|
5207
5234
|
gap: var(--ui-space-2);
|
|
5208
5235
|
}
|
|
5209
|
-
.leading[data-v-
|
|
5236
|
+
.leading[data-v-b8e3f0cd] {
|
|
5210
5237
|
color: var(--ui-text-muted);
|
|
5211
5238
|
font-size: var(--_ui-list-item-icon-size, var(--ui-font-size-lg));
|
|
5212
5239
|
}
|
|
5213
|
-
[data-component~="ui-list-item"][data-ui-list-item-state~="current"] .leading[data-v-
|
|
5240
|
+
[data-component~="ui-list-item"][data-ui-list-item-state~="current"] .leading[data-v-b8e3f0cd] {
|
|
5214
5241
|
color: var(--ui-selection-text);
|
|
5215
5242
|
}
|
|
5216
5243
|
|
|
5217
5244
|
/* Trailing controls take their own clicks, above the title link's stretched hit area. */
|
|
5218
|
-
.trailing[data-v-
|
|
5245
|
+
.trailing[data-v-b8e3f0cd] {
|
|
5219
5246
|
position: relative;
|
|
5220
5247
|
z-index: 1;
|
|
5221
5248
|
color: var(--ui-text-muted);
|
|
5222
5249
|
font-size: var(--ui-font-size-sm);
|
|
5223
5250
|
}
|
|
5224
|
-
.content[data-v-
|
|
5251
|
+
.content[data-v-b8e3f0cd] {
|
|
5225
5252
|
display: flex;
|
|
5226
5253
|
flex: 1;
|
|
5227
5254
|
flex-direction: column;
|
|
5228
5255
|
gap: var(--ui-space-0-5, 2px);
|
|
5229
5256
|
min-inline-size: 0;
|
|
5230
5257
|
}
|
|
5231
|
-
.title[data-v-
|
|
5232
|
-
.description[data-v-
|
|
5258
|
+
.title[data-v-b8e3f0cd],
|
|
5259
|
+
.description[data-v-b8e3f0cd] {
|
|
5233
5260
|
display: block;
|
|
5234
5261
|
min-inline-size: 0;
|
|
5235
5262
|
overflow: hidden;
|
|
5236
5263
|
text-overflow: ellipsis;
|
|
5237
5264
|
white-space: nowrap;
|
|
5238
5265
|
}
|
|
5239
|
-
.title[data-v-
|
|
5266
|
+
[data-component~="ui-list-item"][data-ui-list-item-state~="wrap"] .title[data-v-b8e3f0cd],
|
|
5267
|
+
[data-component~="ui-list-item"][data-ui-list-item-state~="wrap"] .description[data-v-b8e3f0cd] {
|
|
5268
|
+
white-space: normal;
|
|
5269
|
+
overflow-wrap: anywhere;
|
|
5270
|
+
}
|
|
5271
|
+
.title[data-v-b8e3f0cd] {
|
|
5240
5272
|
font-size: var(--ui-font-size-md);
|
|
5241
5273
|
font-weight: var(--_ui-list-item-title-weight, var(--ui-font-medium));
|
|
5242
5274
|
line-height: var(--ui-line-height-tight);
|
|
5243
5275
|
}
|
|
5244
|
-
.description[data-v-
|
|
5276
|
+
.description[data-v-b8e3f0cd] {
|
|
5245
5277
|
color: var(--ui-text-muted);
|
|
5246
5278
|
font-size: var(--ui-font-size-sm);
|
|
5247
5279
|
line-height: var(--ui-line-height-tight);
|
|
5248
5280
|
}
|
|
5249
|
-
.title > a[data-v-
|
|
5281
|
+
.title > a[data-v-b8e3f0cd-s] {
|
|
5250
5282
|
color: inherit;
|
|
5251
5283
|
text-decoration: none;
|
|
5252
5284
|
}
|
|
5253
|
-
.title > a[data-v-
|
|
5285
|
+
.title > a[data-v-b8e3f0cd-s]:focus-visible {
|
|
5254
5286
|
outline: none;
|
|
5255
5287
|
box-shadow: none;
|
|
5256
5288
|
}
|
|
5257
|
-
.title > a[href][data-v-
|
|
5289
|
+
.title > a[href][data-v-b8e3f0cd-s]::after {
|
|
5258
5290
|
position: absolute;
|
|
5259
5291
|
inset: 0;
|
|
5260
5292
|
border-radius: inherit;
|
|
@@ -5262,24 +5294,24 @@ svg[data-v-7bb0fe2e-s] {
|
|
|
5262
5294
|
}
|
|
5263
5295
|
|
|
5264
5296
|
/* An unused region takes no space. */
|
|
5265
|
-
.leading[data-v-
|
|
5266
|
-
.description[data-v-
|
|
5267
|
-
.trailing[data-v-
|
|
5297
|
+
.leading[data-v-b8e3f0cd]:empty,
|
|
5298
|
+
.description[data-v-b8e3f0cd]:empty,
|
|
5299
|
+
.trailing[data-v-b8e3f0cd]:empty {
|
|
5268
5300
|
display: none;
|
|
5269
5301
|
}
|
|
5270
5302
|
@media (forced-colors: active) {
|
|
5271
|
-
[data-component~="ui-list-item"][data-v-
|
|
5303
|
+
[data-component~="ui-list-item"][data-v-b8e3f0cd]:has(a:focus-visible) {
|
|
5272
5304
|
outline: var(--ui-focus-width) solid Highlight;
|
|
5273
5305
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
5274
5306
|
}
|
|
5275
|
-
:is([data-component~="ui-list-item"][data-ui-list-item-state~="current"][data-v-
|
|
5307
|
+
:is([data-component~="ui-list-item"][data-ui-list-item-state~="current"][data-v-b8e3f0cd], [data-component~="ui-list-item"][data-ui-list-item-state~="highlighted"][data-v-b8e3f0cd]):not(:has(a:focus-visible)) {
|
|
5276
5308
|
outline: var(--ui-border-width) solid Highlight;
|
|
5277
5309
|
outline-offset: calc(-1 * var(--ui-border-width));
|
|
5278
5310
|
}
|
|
5279
5311
|
}
|
|
5280
5312
|
|
|
5281
5313
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
5282
|
-
[data-component~="ui-list-item"][hidden][data-v-
|
|
5314
|
+
[data-component~="ui-list-item"][hidden][data-v-b8e3f0cd] {
|
|
5283
5315
|
display: none;
|
|
5284
5316
|
}
|
|
5285
5317
|
|