@universal-material/web 3.0.62 → 3.0.64

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.
@@ -551,6 +551,255 @@
551
551
  }
552
552
  ]
553
553
  },
554
+ {
555
+ "kind": "javascript-module",
556
+ "path": "src/card/card-content.styles.ts",
557
+ "declarations": [
558
+ {
559
+ "kind": "variable",
560
+ "name": "styles",
561
+ "default": "css `\n :host {\n display: block;\n }\n\n :host(:has(slot > *)) {\n display: none;\n }\n\n :host([has-content]) {\n padding: var(--u-card-padding, 16px);\n }\n\n slot {\n border-radius: inherit;\n }\n`"
562
+ }
563
+ ],
564
+ "exports": [
565
+ {
566
+ "kind": "js",
567
+ "name": "styles",
568
+ "declaration": {
569
+ "name": "styles",
570
+ "module": "src/card/card-content.styles.ts"
571
+ }
572
+ }
573
+ ]
574
+ },
575
+ {
576
+ "kind": "javascript-module",
577
+ "path": "src/card/card-content.ts",
578
+ "declarations": [
579
+ {
580
+ "kind": "class",
581
+ "description": "",
582
+ "name": "UmCardContent",
583
+ "members": [
584
+ {
585
+ "kind": "field",
586
+ "name": "hasContent",
587
+ "type": {
588
+ "text": "boolean"
589
+ },
590
+ "default": "false",
591
+ "attribute": "has-content",
592
+ "reflects": true
593
+ },
594
+ {
595
+ "kind": "method",
596
+ "name": "handleSlotChange",
597
+ "privacy": "private",
598
+ "parameters": [
599
+ {
600
+ "name": "e",
601
+ "type": {
602
+ "text": "Event"
603
+ }
604
+ }
605
+ ]
606
+ }
607
+ ],
608
+ "attributes": [
609
+ {
610
+ "name": "has-content",
611
+ "type": {
612
+ "text": "boolean"
613
+ },
614
+ "default": "false",
615
+ "fieldName": "hasContent"
616
+ }
617
+ ],
618
+ "superclass": {
619
+ "name": "LitElement",
620
+ "package": "lit"
621
+ },
622
+ "tagName": "u-card-content",
623
+ "customElement": true
624
+ }
625
+ ],
626
+ "exports": [
627
+ {
628
+ "kind": "js",
629
+ "name": "UmCardContent",
630
+ "declaration": {
631
+ "name": "UmCardContent",
632
+ "module": "src/card/card-content.ts"
633
+ }
634
+ },
635
+ {
636
+ "kind": "custom-element-definition",
637
+ "name": "u-card-content",
638
+ "declaration": {
639
+ "name": "UmCardContent",
640
+ "module": "src/card/card-content.ts"
641
+ }
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "kind": "javascript-module",
647
+ "path": "src/card/card-media.styles.ts",
648
+ "declarations": [
649
+ {
650
+ "kind": "variable",
651
+ "name": "styles",
652
+ "default": "css `\n :host {\n display: block;\n aspect-ratio: 1;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([wide]) {\n aspect-ratio: 16/9;\n }\n`"
653
+ }
654
+ ],
655
+ "exports": [
656
+ {
657
+ "kind": "js",
658
+ "name": "styles",
659
+ "declaration": {
660
+ "name": "styles",
661
+ "module": "src/card/card-media.styles.ts"
662
+ }
663
+ }
664
+ ]
665
+ },
666
+ {
667
+ "kind": "javascript-module",
668
+ "path": "src/card/card-media.ts",
669
+ "declarations": [
670
+ {
671
+ "kind": "class",
672
+ "description": "",
673
+ "name": "UmCardMedia",
674
+ "members": [
675
+ {
676
+ "kind": "field",
677
+ "name": "wide",
678
+ "type": {
679
+ "text": "boolean"
680
+ },
681
+ "default": "false",
682
+ "attribute": "wide",
683
+ "reflects": true
684
+ }
685
+ ],
686
+ "attributes": [
687
+ {
688
+ "name": "wide",
689
+ "type": {
690
+ "text": "boolean"
691
+ },
692
+ "default": "false",
693
+ "fieldName": "wide"
694
+ }
695
+ ],
696
+ "superclass": {
697
+ "name": "LitElement",
698
+ "package": "lit"
699
+ },
700
+ "tagName": "u-card-media",
701
+ "customElement": true
702
+ }
703
+ ],
704
+ "exports": [
705
+ {
706
+ "kind": "js",
707
+ "name": "UmCardMedia",
708
+ "declaration": {
709
+ "name": "UmCardMedia",
710
+ "module": "src/card/card-media.ts"
711
+ }
712
+ },
713
+ {
714
+ "kind": "custom-element-definition",
715
+ "name": "u-card-media",
716
+ "declaration": {
717
+ "name": "UmCardMedia",
718
+ "module": "src/card/card-media.ts"
719
+ }
720
+ }
721
+ ]
722
+ },
723
+ {
724
+ "kind": "javascript-module",
725
+ "path": "src/card/card.styles.ts",
726
+ "declarations": [
727
+ {
728
+ "kind": "variable",
729
+ "name": "styles",
730
+ "default": "css `\n :host {\n display: block;\n position: relative;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-color-surface-container-low, rgb(247, 242, 250));\n }\n :host([variant=elevated]) u-elevation {\n --u-elevation-level: var(--u-elevated-card-elevation-level, 1);\n }\n\n :host([variant=filled]) {\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n\n :host([variant=outlined]) {\n border: var(--u-outlined-card-outline-width, 1px) solid var(--u-outlined-card-outline-color, var(--u-color-outline-variant, rgb(202, 196, 208)));\n }\n\n u-card-content,\n slot {\n border-radius: inherit;\n }\n`"
731
+ }
732
+ ],
733
+ "exports": [
734
+ {
735
+ "kind": "js",
736
+ "name": "styles",
737
+ "declaration": {
738
+ "name": "styles",
739
+ "module": "src/card/card.styles.ts"
740
+ }
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "kind": "javascript-module",
746
+ "path": "src/card/card.ts",
747
+ "declarations": [
748
+ {
749
+ "kind": "class",
750
+ "description": "",
751
+ "name": "UmCard",
752
+ "members": [
753
+ {
754
+ "kind": "field",
755
+ "name": "variant",
756
+ "type": {
757
+ "text": "UmCardVariant"
758
+ },
759
+ "default": "'filled'",
760
+ "description": "The Card variant to render.",
761
+ "attribute": "variant",
762
+ "reflects": true
763
+ }
764
+ ],
765
+ "attributes": [
766
+ {
767
+ "name": "variant",
768
+ "type": {
769
+ "text": "UmCardVariant"
770
+ },
771
+ "default": "'filled'",
772
+ "description": "The Card variant to render.",
773
+ "fieldName": "variant"
774
+ }
775
+ ],
776
+ "superclass": {
777
+ "name": "LitElement",
778
+ "package": "lit"
779
+ },
780
+ "tagName": "u-card",
781
+ "customElement": true
782
+ }
783
+ ],
784
+ "exports": [
785
+ {
786
+ "kind": "js",
787
+ "name": "UmCard",
788
+ "declaration": {
789
+ "name": "UmCard",
790
+ "module": "src/card/card.ts"
791
+ }
792
+ },
793
+ {
794
+ "kind": "custom-element-definition",
795
+ "name": "u-card",
796
+ "declaration": {
797
+ "name": "UmCard",
798
+ "module": "src/card/card.ts"
799
+ }
800
+ }
801
+ ]
802
+ },
554
803
  {
555
804
  "kind": "javascript-module",
556
805
  "path": "src/button/button-base.ts",
@@ -3365,12 +3614,12 @@
3365
3614
  },
3366
3615
  {
3367
3616
  "kind": "javascript-module",
3368
- "path": "src/card/card-content.styles.ts",
3617
+ "path": "src/chip/chip-set.styles.ts",
3369
3618
  "declarations": [
3370
3619
  {
3371
3620
  "kind": "variable",
3372
3621
  "name": "styles",
3373
- "default": "css `\n :host {\n display: block;\n }\n\n :host(:has(slot > *)) {\n display: none;\n }\n\n :host([has-content]) {\n padding: var(--u-card-padding, 16px);\n }\n\n slot {\n border-radius: inherit;\n }\n`"
3622
+ "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host {\n flex-wrap: wrap;\n }\n`"
3374
3623
  }
3375
3624
  ],
3376
3625
  "exports": [
@@ -3379,256 +3628,7 @@
3379
3628
  "name": "styles",
3380
3629
  "declaration": {
3381
3630
  "name": "styles",
3382
- "module": "src/card/card-content.styles.ts"
3383
- }
3384
- }
3385
- ]
3386
- },
3387
- {
3388
- "kind": "javascript-module",
3389
- "path": "src/card/card-content.ts",
3390
- "declarations": [
3391
- {
3392
- "kind": "class",
3393
- "description": "",
3394
- "name": "UmCardContent",
3395
- "members": [
3396
- {
3397
- "kind": "field",
3398
- "name": "hasContent",
3399
- "type": {
3400
- "text": "boolean"
3401
- },
3402
- "default": "false",
3403
- "attribute": "has-content",
3404
- "reflects": true
3405
- },
3406
- {
3407
- "kind": "method",
3408
- "name": "handleSlotChange",
3409
- "privacy": "private",
3410
- "parameters": [
3411
- {
3412
- "name": "e",
3413
- "type": {
3414
- "text": "Event"
3415
- }
3416
- }
3417
- ]
3418
- }
3419
- ],
3420
- "attributes": [
3421
- {
3422
- "name": "has-content",
3423
- "type": {
3424
- "text": "boolean"
3425
- },
3426
- "default": "false",
3427
- "fieldName": "hasContent"
3428
- }
3429
- ],
3430
- "superclass": {
3431
- "name": "LitElement",
3432
- "package": "lit"
3433
- },
3434
- "tagName": "u-card-content",
3435
- "customElement": true
3436
- }
3437
- ],
3438
- "exports": [
3439
- {
3440
- "kind": "js",
3441
- "name": "UmCardContent",
3442
- "declaration": {
3443
- "name": "UmCardContent",
3444
- "module": "src/card/card-content.ts"
3445
- }
3446
- },
3447
- {
3448
- "kind": "custom-element-definition",
3449
- "name": "u-card-content",
3450
- "declaration": {
3451
- "name": "UmCardContent",
3452
- "module": "src/card/card-content.ts"
3453
- }
3454
- }
3455
- ]
3456
- },
3457
- {
3458
- "kind": "javascript-module",
3459
- "path": "src/card/card-media.styles.ts",
3460
- "declarations": [
3461
- {
3462
- "kind": "variable",
3463
- "name": "styles",
3464
- "default": "css `\n :host {\n display: block;\n aspect-ratio: 1;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([wide]) {\n aspect-ratio: 16/9;\n }\n`"
3465
- }
3466
- ],
3467
- "exports": [
3468
- {
3469
- "kind": "js",
3470
- "name": "styles",
3471
- "declaration": {
3472
- "name": "styles",
3473
- "module": "src/card/card-media.styles.ts"
3474
- }
3475
- }
3476
- ]
3477
- },
3478
- {
3479
- "kind": "javascript-module",
3480
- "path": "src/card/card-media.ts",
3481
- "declarations": [
3482
- {
3483
- "kind": "class",
3484
- "description": "",
3485
- "name": "UmCardMedia",
3486
- "members": [
3487
- {
3488
- "kind": "field",
3489
- "name": "wide",
3490
- "type": {
3491
- "text": "boolean"
3492
- },
3493
- "default": "false",
3494
- "attribute": "wide",
3495
- "reflects": true
3496
- }
3497
- ],
3498
- "attributes": [
3499
- {
3500
- "name": "wide",
3501
- "type": {
3502
- "text": "boolean"
3503
- },
3504
- "default": "false",
3505
- "fieldName": "wide"
3506
- }
3507
- ],
3508
- "superclass": {
3509
- "name": "LitElement",
3510
- "package": "lit"
3511
- },
3512
- "tagName": "u-card-media",
3513
- "customElement": true
3514
- }
3515
- ],
3516
- "exports": [
3517
- {
3518
- "kind": "js",
3519
- "name": "UmCardMedia",
3520
- "declaration": {
3521
- "name": "UmCardMedia",
3522
- "module": "src/card/card-media.ts"
3523
- }
3524
- },
3525
- {
3526
- "kind": "custom-element-definition",
3527
- "name": "u-card-media",
3528
- "declaration": {
3529
- "name": "UmCardMedia",
3530
- "module": "src/card/card-media.ts"
3531
- }
3532
- }
3533
- ]
3534
- },
3535
- {
3536
- "kind": "javascript-module",
3537
- "path": "src/card/card.styles.ts",
3538
- "declarations": [
3539
- {
3540
- "kind": "variable",
3541
- "name": "styles",
3542
- "default": "css `\n :host {\n display: block;\n position: relative;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-color-surface-container-low, rgb(247, 242, 250));\n }\n :host([variant=elevated]) u-elevation {\n --u-elevation-level: var(--u-elevated-card-elevation-level, 1);\n }\n\n :host([variant=filled]) {\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n\n :host([variant=outlined]) {\n border: var(--u-outlined-card-outline-width, 1px) solid var(--u-outlined-card-outline-color, var(--u-color-outline-variant, rgb(202, 196, 208)));\n }\n\n u-card-content,\n slot {\n border-radius: inherit;\n }\n`"
3543
- }
3544
- ],
3545
- "exports": [
3546
- {
3547
- "kind": "js",
3548
- "name": "styles",
3549
- "declaration": {
3550
- "name": "styles",
3551
- "module": "src/card/card.styles.ts"
3552
- }
3553
- }
3554
- ]
3555
- },
3556
- {
3557
- "kind": "javascript-module",
3558
- "path": "src/card/card.ts",
3559
- "declarations": [
3560
- {
3561
- "kind": "class",
3562
- "description": "",
3563
- "name": "UmCard",
3564
- "members": [
3565
- {
3566
- "kind": "field",
3567
- "name": "variant",
3568
- "type": {
3569
- "text": "UmCardVariant"
3570
- },
3571
- "default": "'filled'",
3572
- "description": "The Card variant to render.",
3573
- "attribute": "variant",
3574
- "reflects": true
3575
- }
3576
- ],
3577
- "attributes": [
3578
- {
3579
- "name": "variant",
3580
- "type": {
3581
- "text": "UmCardVariant"
3582
- },
3583
- "default": "'filled'",
3584
- "description": "The Card variant to render.",
3585
- "fieldName": "variant"
3586
- }
3587
- ],
3588
- "superclass": {
3589
- "name": "LitElement",
3590
- "package": "lit"
3591
- },
3592
- "tagName": "u-card",
3593
- "customElement": true
3594
- }
3595
- ],
3596
- "exports": [
3597
- {
3598
- "kind": "js",
3599
- "name": "UmCard",
3600
- "declaration": {
3601
- "name": "UmCard",
3602
- "module": "src/card/card.ts"
3603
- }
3604
- },
3605
- {
3606
- "kind": "custom-element-definition",
3607
- "name": "u-card",
3608
- "declaration": {
3609
- "name": "UmCard",
3610
- "module": "src/card/card.ts"
3611
- }
3612
- }
3613
- ]
3614
- },
3615
- {
3616
- "kind": "javascript-module",
3617
- "path": "src/chip/chip-set.styles.ts",
3618
- "declarations": [
3619
- {
3620
- "kind": "variable",
3621
- "name": "styles",
3622
- "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host {\n flex-wrap: wrap;\n }\n`"
3623
- }
3624
- ],
3625
- "exports": [
3626
- {
3627
- "kind": "js",
3628
- "name": "styles",
3629
- "declaration": {
3630
- "name": "styles",
3631
- "module": "src/chip/chip-set.styles.ts"
3631
+ "module": "src/chip/chip-set.styles.ts"
3632
3632
  }
3633
3633
  }
3634
3634
  ]
@@ -5975,7 +5975,7 @@
5975
5975
  {
5976
5976
  "kind": "variable",
5977
5977
  "name": "styles",
5978
- "default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n }\n\n .container {\n display: flex;\n align-items: center;\n position: relative;\n }\n .container::before, .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .container::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .container::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):not([invalid]):hover) .container.filled::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .container::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: var(--_icon-size);\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n margin-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n margin-inline-end: var(--_icon-padding);\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n flex: 1;\n padding-block: var(--_vertical-padding);\n padding-inline: var(--_field-control-inline-padding);\n min-height: var(--_field-min-height);\n transition: opacity 150ms;\n }\n\n .input {\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n flex: 1;\n }\n .input:focus {\n outline: 0;\n }\n .input input,\n .input ::slotted(*) {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_control-line-height);\n line-height: var(--_control-line-height);\n padding: 0;\n margin: 0;\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input,\n .input ::slotted(select),\n .input ::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text div:empty {\n display: none;\n }\n .supporting-text div,\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter div, .counter::slotted(*) {\n margin-inline-start: auto;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .container::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .container::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) .error-text,\n :host([invalid][has-error-text]) .error-text {\n display: contents;\n }\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) slot[name=supporting-text],\n :host([invalid][has-error-text]) slot[name=supporting-text] {\n display: none;\n }\n\n .container.filled {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n .container.filled::after {\n border-bottom-style: solid;\n }\n .container.filled:not(.no-label) .input-wrapper {\n padding-top: calc(var(--_vertical-padding) + var(--_label-line-height));\n padding-bottom: var(--_vertical-padding);\n }\n .container.filled .label {\n top: var(--_vertical-padding);\n }\n .container.filled .input ::slotted(:is(input, textarea, select, button)) {\n display: block;\n }\n .container.outlined::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n .container.outlined .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n .container.outlined:focus-within::after,\n :host(:not([empty])) .container.outlined::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n .container.outlined:focus-within .label,\n :host(:not([empty])) .container.outlined .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input-wrapper {\n opacity: 0;\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n\n .container.no-label::after {\n clip-path: none !important;\n }\n\n :host([disabled]) .container .filled {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-filled-field-background-disabled-opacity, 0.04)));\n }\n :host([disabled]) .container::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input ::slotted(*) {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n`"
5978
+ "default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n display: block;\n }\n\n .container {\n display: flex;\n align-items: center;\n position: relative;\n }\n .container::before, .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .container::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .container::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):not([invalid]):hover) .container.filled::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .container::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: var(--_icon-size);\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n margin-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n margin-inline-end: var(--_icon-padding);\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n flex: 1;\n padding-block: var(--_vertical-padding);\n padding-inline: var(--_field-control-inline-padding);\n min-height: var(--_field-min-height);\n transition: opacity 150ms;\n }\n\n .input {\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n flex: 1;\n }\n .input:focus {\n outline: 0;\n }\n .input input,\n .input ::slotted(*) {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n display: block;\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_control-line-height);\n line-height: var(--_control-line-height);\n padding: 0;\n margin: 0;\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input,\n .input ::slotted(select),\n .input ::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text div:empty {\n display: none;\n }\n .supporting-text div,\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter div, .counter::slotted(*) {\n margin-inline-start: auto;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .container::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .container::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) .error-text,\n :host([invalid][has-error-text]) .error-text {\n display: contents;\n }\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) slot[name=supporting-text],\n :host([invalid][has-error-text]) slot[name=supporting-text] {\n display: none;\n }\n\n .container.filled {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n .container.filled::after {\n border-bottom-style: solid;\n }\n .container.filled:not(.no-label) .input-wrapper {\n padding-top: calc(var(--_vertical-padding) + var(--_label-line-height));\n padding-bottom: var(--_vertical-padding);\n }\n .container.filled .label {\n top: var(--_vertical-padding);\n }\n .container.filled .input ::slotted(:is(input, textarea, select, button)) {\n display: block;\n }\n .container.outlined::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n .container.outlined .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n .container.outlined:focus-within::after,\n :host(:not([empty])) .container.outlined::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n .container.outlined:focus-within .label,\n :host(:not([empty])) .container.outlined .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input-wrapper {\n opacity: 0;\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n\n .container.no-label::after {\n clip-path: none !important;\n }\n\n :host([disabled]) .container .filled {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-filled-field-background-disabled-opacity, 0.04)));\n }\n :host([disabled]) .container::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input ::slotted(*) {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n`"
5979
5979
  }
5980
5980
  ],
5981
5981
  "exports": [
@@ -7898,12 +7898,12 @@
7898
7898
  },
7899
7899
  {
7900
7900
  "kind": "javascript-module",
7901
- "path": "src/navigation/drawer-item.styles.ts",
7901
+ "path": "src/progress/circular-progress.styles.ts",
7902
7902
  "declarations": [
7903
7903
  {
7904
7904
  "kind": "variable",
7905
7905
  "name": "styles",
7906
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n display: block;\n --_drawer-item-icon-size: var(--u-drawer-item-icon-size, 1.125rem);\n --_drawer-item-padding: var(--u-drawer-item-padding, 16px);\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-drawer-item-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-drawer-item-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-drawer-item-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-drawer-item-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n height: var(--u-drawer-item-height, 56px);\n padding-inline: var(--_drawer-item-padding);\n margin-inline: calc(var(--_drawer-item-padding) * -1);\n border-radius: var(--u-drawer-item-shape-corner, var(--u-shape-corner-full, 9999px));\n color: var(--u-drawer-item-label-inactive-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([active]) {\n color: var(--u-drawer-item-label-active-color, var(--_color-primary));\n }\n\n :host(:not([has-icon])) .icon,\n :host(:not([has-badge])) .badge {\n display: none;\n }\n\n .icon {\n font-size: var(--_drawer-item-icon-size);\n line-height: var(--_drawer-item-icon-size);\n margin-inline-end: var(--u-drawer-item-icon-margin, 16px);\n }\n\n .badge {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-inline-start: auto;\n padding-inline: var(--u-drawer-item-badge-padding, 12px 8px);\n }\n\n .content {\n justify-content: flex-start;\n }\n`"
7906
+ "default": "css `\n :host {\n position: relative;\n display: inline-block;\n width: var(--_size);\n height: var(--_size);\n margin-inline: auto;\n --_size: var(--u-circular-progress-size, 3rem);\n }\n\n .circular {\n width: 100%;\n height: 100%;\n transform: rotate(-90deg);\n transform-origin: center;\n }\n .circular.indeterminate {\n position: relative;\n animation: rotate 2s linear infinite;\n }\n .circular:not(.indeterminate) .path {\n transition: stroke-dashoffset 200ms linear;\n }\n\n .path {\n stroke-linecap: round;\n stroke: var(--u-circular-progress-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n position: absolute;\n inset: 0;\n }\n .track .path {\n stroke: var(--u-circular-progress-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n\n .indeterminate .path {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n animation: dash 1.5s ease-in-out infinite;\n }\n\n .on-going {\n transform: rotate(-80deg);\n }\n .on-going.track {\n transform: rotate(-100deg);\n }\n\n @keyframes rotate {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124;\n }\n }\n`"
7907
7907
  }
7908
7908
  ],
7909
7909
  "exports": [
@@ -7912,14 +7912,251 @@
7912
7912
  "name": "styles",
7913
7913
  "declaration": {
7914
7914
  "name": "styles",
7915
- "module": "src/navigation/drawer-item.styles.ts"
7915
+ "module": "src/progress/circular-progress.styles.ts"
7916
7916
  }
7917
7917
  }
7918
7918
  ]
7919
7919
  },
7920
7920
  {
7921
7921
  "kind": "javascript-module",
7922
- "path": "src/navigation/drawer-item.ts",
7922
+ "path": "src/progress/circular-progress.ts",
7923
+ "declarations": [
7924
+ {
7925
+ "kind": "class",
7926
+ "description": "",
7927
+ "name": "UmCircularProgress",
7928
+ "members": [
7929
+ {
7930
+ "kind": "field",
7931
+ "name": "value",
7932
+ "type": {
7933
+ "text": "number | undefined"
7934
+ },
7935
+ "attribute": "value"
7936
+ },
7937
+ {
7938
+ "kind": "field",
7939
+ "name": "max",
7940
+ "type": {
7941
+ "text": "number"
7942
+ },
7943
+ "default": "1",
7944
+ "attribute": "max"
7945
+ },
7946
+ {
7947
+ "kind": "method",
7948
+ "name": "#renderCircle",
7949
+ "return": {
7950
+ "type": {
7951
+ "text": "TemplateResult"
7952
+ }
7953
+ },
7954
+ "parameters": [
7955
+ {
7956
+ "name": "className",
7957
+ "type": {
7958
+ "text": "string"
7959
+ }
7960
+ }
7961
+ ]
7962
+ },
7963
+ {
7964
+ "kind": "method",
7965
+ "name": "#renderIndeterminate",
7966
+ "return": {
7967
+ "type": {
7968
+ "text": "TemplateResult"
7969
+ }
7970
+ }
7971
+ },
7972
+ {
7973
+ "kind": "method",
7974
+ "name": "#renderDeterminate",
7975
+ "return": {
7976
+ "type": {
7977
+ "text": "TemplateResult"
7978
+ }
7979
+ }
7980
+ }
7981
+ ],
7982
+ "attributes": [
7983
+ {
7984
+ "name": "value",
7985
+ "type": {
7986
+ "text": "number | undefined"
7987
+ },
7988
+ "fieldName": "value"
7989
+ },
7990
+ {
7991
+ "name": "max",
7992
+ "type": {
7993
+ "text": "number"
7994
+ },
7995
+ "default": "1",
7996
+ "fieldName": "max"
7997
+ }
7998
+ ],
7999
+ "superclass": {
8000
+ "name": "LitElement",
8001
+ "package": "lit"
8002
+ },
8003
+ "tagName": "u-circular-progress",
8004
+ "customElement": true
8005
+ }
8006
+ ],
8007
+ "exports": [
8008
+ {
8009
+ "kind": "js",
8010
+ "name": "UmCircularProgress",
8011
+ "declaration": {
8012
+ "name": "UmCircularProgress",
8013
+ "module": "src/progress/circular-progress.ts"
8014
+ }
8015
+ },
8016
+ {
8017
+ "kind": "custom-element-definition",
8018
+ "name": "u-circular-progress",
8019
+ "declaration": {
8020
+ "name": "UmCircularProgress",
8021
+ "module": "src/progress/circular-progress.ts"
8022
+ }
8023
+ }
8024
+ ]
8025
+ },
8026
+ {
8027
+ "kind": "javascript-module",
8028
+ "path": "src/progress/progress-bar.styles.ts",
8029
+ "declarations": [
8030
+ {
8031
+ "kind": "variable",
8032
+ "name": "styles",
8033
+ "default": "css `\n :host {\n --_border-radius: var(--u-progress-bar-border-radius, var(--u-shape-corner-full, 9999px));\n --_height: var(--u-progress-bar-height, 4px);\n }\n\n :host,\n .determinate,\n .indeterminate {\n overflow: hidden;\n border-radius: var(--_border-radius);\n }\n\n .determinate,\n .indeterminate {\n display: flex;\n gap: 4px;\n }\n\n .indeterminate {\n flex: 1;\n margin-inline: -8px;\n border-radius: var(--_border-radius);\n }\n\n .determinate {\n margin-inline-end: -4px;\n }\n .determinate .bar {\n transition: flex-basis 200ms linear;\n }\n\n .last {\n flex-shrink: 1;\n flex-basis: 100%;\n animation: last 2.1s infinite linear;\n }\n\n .slow {\n animation: slow 2.1s infinite linear;\n }\n\n .middle {\n animation: middle 2.1s infinite linear;\n }\n\n .fast {\n animation: fast 2.1s infinite linear;\n }\n\n .first {\n animation: first 2.1s infinite linear;\n }\n\n .bar {\n height: var(--_height);\n border-radius: var(--_border-radius);\n background: var(--u-progress-bar-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n background: var(--u-progress-bar-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n flex-shrink: 1;\n }\n\n @keyframes slow {\n 0% {\n flex-basis: 0;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 100%;\n }\n 30% {\n flex-basis: 0;\n }\n }\n @keyframes last {\n 0% {\n flex-basis: 100%;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 0;\n }\n 100% {\n flex-basis: 0;\n }\n }\n @keyframes middle {\n 10% {\n flex-basis: 0;\n }\n 20% {\n flex-basis: 100%;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 0;\n }\n }\n @keyframes fast {\n 0% {\n flex-basis: 0;\n }\n 25% {\n flex-basis: 0;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 100%;\n }\n 55% {\n flex-basis: 0;\n }\n }\n @keyframes first {\n 35% {\n flex-basis: 0;\n }\n 45% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n @keyframes fast-bar-pre {\n 0% {\n flex-basis: 0;\n }\n 60% {\n flex-basis: 0;\n }\n 90% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n`"
8034
+ }
8035
+ ],
8036
+ "exports": [
8037
+ {
8038
+ "kind": "js",
8039
+ "name": "styles",
8040
+ "declaration": {
8041
+ "name": "styles",
8042
+ "module": "src/progress/progress-bar.styles.ts"
8043
+ }
8044
+ }
8045
+ ]
8046
+ },
8047
+ {
8048
+ "kind": "javascript-module",
8049
+ "path": "src/progress/progress-bar.ts",
8050
+ "declarations": [
8051
+ {
8052
+ "kind": "class",
8053
+ "description": "",
8054
+ "name": "UmProgressBar",
8055
+ "members": [
8056
+ {
8057
+ "kind": "field",
8058
+ "name": "value",
8059
+ "type": {
8060
+ "text": "number | undefined"
8061
+ },
8062
+ "attribute": "value"
8063
+ },
8064
+ {
8065
+ "kind": "field",
8066
+ "name": "max",
8067
+ "type": {
8068
+ "text": "number"
8069
+ },
8070
+ "default": "1",
8071
+ "attribute": "max"
8072
+ },
8073
+ {
8074
+ "kind": "method",
8075
+ "name": "#renderIndeterminate",
8076
+ "return": {
8077
+ "type": {
8078
+ "text": "TemplateResult"
8079
+ }
8080
+ }
8081
+ },
8082
+ {
8083
+ "kind": "method",
8084
+ "name": "#renderDeterminate",
8085
+ "return": {
8086
+ "type": {
8087
+ "text": "TemplateResult"
8088
+ }
8089
+ }
8090
+ }
8091
+ ],
8092
+ "attributes": [
8093
+ {
8094
+ "name": "value",
8095
+ "type": {
8096
+ "text": "number | undefined"
8097
+ },
8098
+ "fieldName": "value"
8099
+ },
8100
+ {
8101
+ "name": "max",
8102
+ "type": {
8103
+ "text": "number"
8104
+ },
8105
+ "default": "1",
8106
+ "fieldName": "max"
8107
+ }
8108
+ ],
8109
+ "superclass": {
8110
+ "name": "LitElement",
8111
+ "package": "lit"
8112
+ },
8113
+ "tagName": "u-progress-bar",
8114
+ "customElement": true
8115
+ }
8116
+ ],
8117
+ "exports": [
8118
+ {
8119
+ "kind": "js",
8120
+ "name": "UmProgressBar",
8121
+ "declaration": {
8122
+ "name": "UmProgressBar",
8123
+ "module": "src/progress/progress-bar.ts"
8124
+ }
8125
+ },
8126
+ {
8127
+ "kind": "custom-element-definition",
8128
+ "name": "u-progress-bar",
8129
+ "declaration": {
8130
+ "name": "UmProgressBar",
8131
+ "module": "src/progress/progress-bar.ts"
8132
+ }
8133
+ }
8134
+ ]
8135
+ },
8136
+ {
8137
+ "kind": "javascript-module",
8138
+ "path": "src/navigation/drawer-item.styles.ts",
8139
+ "declarations": [
8140
+ {
8141
+ "kind": "variable",
8142
+ "name": "styles",
8143
+ "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n display: block;\n --_drawer-item-icon-size: var(--u-drawer-item-icon-size, 1.125rem);\n --_drawer-item-padding: var(--u-drawer-item-padding, 16px);\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-drawer-item-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-drawer-item-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-drawer-item-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-drawer-item-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n height: var(--u-drawer-item-height, 56px);\n padding-inline: var(--_drawer-item-padding);\n margin-inline: calc(var(--_drawer-item-padding) * -1);\n border-radius: var(--u-drawer-item-shape-corner, var(--u-shape-corner-full, 9999px));\n color: var(--u-drawer-item-label-inactive-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([active]) {\n color: var(--u-drawer-item-label-active-color, var(--_color-primary));\n }\n\n :host(:not([has-icon])) .icon,\n :host(:not([has-badge])) .badge {\n display: none;\n }\n\n .icon {\n font-size: var(--_drawer-item-icon-size);\n line-height: var(--_drawer-item-icon-size);\n margin-inline-end: var(--u-drawer-item-icon-margin, 16px);\n }\n\n .badge {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-inline-start: auto;\n padding-inline: var(--u-drawer-item-badge-padding, 12px 8px);\n }\n\n .content {\n justify-content: flex-start;\n }\n`"
8144
+ }
8145
+ ],
8146
+ "exports": [
8147
+ {
8148
+ "kind": "js",
8149
+ "name": "styles",
8150
+ "declaration": {
8151
+ "name": "styles",
8152
+ "module": "src/navigation/drawer-item.styles.ts"
8153
+ }
8154
+ }
8155
+ ]
8156
+ },
8157
+ {
8158
+ "kind": "javascript-module",
8159
+ "path": "src/navigation/drawer-item.ts",
7923
8160
  "declarations": [
7924
8161
  {
7925
8162
  "kind": "class",
@@ -8579,12 +8816,12 @@
8579
8816
  },
8580
8817
  {
8581
8818
  "kind": "javascript-module",
8582
- "path": "src/progress/circular-progress.styles.ts",
8819
+ "path": "src/ripple/ripple.styles.ts",
8583
8820
  "declarations": [
8584
8821
  {
8585
8822
  "kind": "variable",
8586
8823
  "name": "styles",
8587
- "default": "css `\n :host {\n position: relative;\n display: inline-block;\n width: var(--_size);\n height: var(--_size);\n margin-inline: auto;\n --_size: var(--u-circular-progress-size, 3rem);\n }\n\n .circular {\n width: 100%;\n height: 100%;\n transform: rotate(-90deg);\n transform-origin: center;\n }\n .circular.indeterminate {\n position: relative;\n animation: rotate 2s linear infinite;\n }\n .circular:not(.indeterminate) .path {\n transition: stroke-dashoffset 200ms linear;\n }\n\n .path {\n stroke-linecap: round;\n stroke: var(--u-circular-progress-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n position: absolute;\n inset: 0;\n }\n .track .path {\n stroke: var(--u-circular-progress-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n\n .indeterminate .path {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n animation: dash 1.5s ease-in-out infinite;\n }\n\n .on-going {\n transform: rotate(-80deg);\n }\n .on-going.track {\n transform: rotate(-100deg);\n }\n\n @keyframes rotate {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124;\n }\n }\n`"
8824
+ "default": "css `\n :host,\n .ripple-container::before {\n --_ripple-hover-color: var(--u-ripple-hover-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-pressed-color: var(--u-ripple-pressed-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-hover-opacity: var(--u-ripple-pressed-opacity, var(--u-state-hover-opacity, 0.08));\n --_ripple-pressed-opacity: var(--u-ripple-pressed-opacity, .2);\n display: block;\n inset: 0;\n isolation: isolate;\n }\n\n .ripple-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: inherit;\n }\n\n .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: 0;\n transition: opacity 200ms;\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: var(--_ripple-hover-opacity);\n }\n }\n :host,\n .ripple-container::before,\n .ripple {\n position: absolute;\n border-radius: inherit;\n }\n\n .ripple {\n top: 50%;\n left: 50%;\n background: var(--_ripple-pressed-color);\n border-radius: 50%;\n box-shadow: 0 0 64px 64px var(--_ripple-pressed-color);\n opacity: var(--_ripple-pressed-opacity);\n transform: scale3d(0, 0, 1);\n pointer-events: none;\n will-change: transform;\n }\n .ripple.show {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(750ms / var(--u-ripple-speed, 1));\n transform: scale3d(1, 1, 1);\n }\n .ripple.show-forced {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(200ms / var(--u-ripple-speed, 1)) 300ms;\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n .ripple.dismiss {\n opacity: 0;\n transform: scale3d(2, 2, 1);\n }\n\n ::slotted(*) {\n position: absolute !important;\n inset: 0;\n border-radius: inherit;\n }\n`"
8588
8825
  }
8589
8826
  ],
8590
8827
  "exports": [
@@ -8593,223 +8830,225 @@
8593
8830
  "name": "styles",
8594
8831
  "declaration": {
8595
8832
  "name": "styles",
8596
- "module": "src/progress/circular-progress.styles.ts"
8833
+ "module": "src/ripple/ripple.styles.ts"
8597
8834
  }
8598
8835
  }
8599
8836
  ]
8600
8837
  },
8601
8838
  {
8602
8839
  "kind": "javascript-module",
8603
- "path": "src/progress/circular-progress.ts",
8840
+ "path": "src/ripple/ripple.ts",
8604
8841
  "declarations": [
8605
8842
  {
8606
8843
  "kind": "class",
8607
8844
  "description": "",
8608
- "name": "UmCircularProgress",
8845
+ "name": "UmRipple",
8609
8846
  "members": [
8610
8847
  {
8611
8848
  "kind": "field",
8612
- "name": "value",
8849
+ "name": "isTouching",
8613
8850
  "type": {
8614
- "text": "number | undefined"
8851
+ "text": "boolean"
8615
8852
  },
8616
- "attribute": "value"
8853
+ "privacy": "private",
8854
+ "default": "false"
8617
8855
  },
8618
8856
  {
8619
8857
  "kind": "field",
8620
- "name": "max",
8858
+ "name": "disabled",
8621
8859
  "type": {
8622
- "text": "number"
8860
+ "text": "boolean"
8623
8861
  },
8624
- "default": "1",
8625
- "attribute": "max"
8862
+ "default": "false",
8863
+ "description": "Disables the ripple.",
8864
+ "attribute": "disabled",
8865
+ "reflects": true
8866
+ },
8867
+ {
8868
+ "kind": "field",
8869
+ "name": "rippleContainer",
8870
+ "type": {
8871
+ "text": "HTMLElement"
8872
+ },
8873
+ "privacy": "private"
8626
8874
  },
8627
8875
  {
8628
8876
  "kind": "method",
8629
- "name": "#renderCircle",
8877
+ "name": "attachEvents",
8878
+ "privacy": "private",
8630
8879
  "return": {
8631
8880
  "type": {
8632
- "text": "TemplateResult"
8881
+ "text": "void"
8882
+ }
8883
+ }
8884
+ },
8885
+ {
8886
+ "kind": "method",
8887
+ "name": "dettachEvents",
8888
+ "privacy": "private",
8889
+ "return": {
8890
+ "type": {
8891
+ "text": "void"
8892
+ }
8893
+ }
8894
+ },
8895
+ {
8896
+ "kind": "method",
8897
+ "name": "handleMouseDown",
8898
+ "privacy": "private",
8899
+ "return": {
8900
+ "type": {
8901
+ "text": "void"
8633
8902
  }
8634
8903
  },
8635
8904
  "parameters": [
8636
8905
  {
8637
- "name": "className",
8906
+ "name": "e",
8638
8907
  "type": {
8639
- "text": "string"
8908
+ "text": "MouseEvent"
8640
8909
  }
8641
8910
  }
8642
8911
  ]
8643
8912
  },
8644
8913
  {
8645
8914
  "kind": "method",
8646
- "name": "#renderIndeterminate",
8915
+ "name": "handleTouchStart",
8916
+ "privacy": "private",
8647
8917
  "return": {
8648
8918
  "type": {
8649
- "text": "TemplateResult"
8919
+ "text": "void"
8650
8920
  }
8651
- }
8921
+ },
8922
+ "parameters": [
8923
+ {
8924
+ "name": "e",
8925
+ "type": {
8926
+ "text": "TouchEvent"
8927
+ }
8928
+ }
8929
+ ]
8652
8930
  },
8653
8931
  {
8654
8932
  "kind": "method",
8655
- "name": "#renderDeterminate",
8933
+ "name": "canCreateRipple",
8934
+ "privacy": "private",
8656
8935
  "return": {
8657
8936
  "type": {
8658
- "text": "TemplateResult"
8937
+ "text": "boolean"
8659
8938
  }
8660
8939
  }
8661
- }
8662
- ],
8663
- "attributes": [
8664
- {
8665
- "name": "value",
8666
- "type": {
8667
- "text": "number | undefined"
8668
- },
8669
- "fieldName": "value"
8670
- },
8671
- {
8672
- "name": "max",
8673
- "type": {
8674
- "text": "number"
8675
- },
8676
- "default": "1",
8677
- "fieldName": "max"
8678
- }
8679
- ],
8680
- "superclass": {
8681
- "name": "LitElement",
8682
- "package": "lit"
8683
- },
8684
- "tagName": "u-circular-progress",
8685
- "customElement": true
8686
- }
8687
- ],
8688
- "exports": [
8689
- {
8690
- "kind": "js",
8691
- "name": "UmCircularProgress",
8692
- "declaration": {
8693
- "name": "UmCircularProgress",
8694
- "module": "src/progress/circular-progress.ts"
8695
- }
8696
- },
8697
- {
8698
- "kind": "custom-element-definition",
8699
- "name": "u-circular-progress",
8700
- "declaration": {
8701
- "name": "UmCircularProgress",
8702
- "module": "src/progress/circular-progress.ts"
8703
- }
8704
- }
8705
- ]
8706
- },
8707
- {
8708
- "kind": "javascript-module",
8709
- "path": "src/progress/progress-bar.styles.ts",
8710
- "declarations": [
8711
- {
8712
- "kind": "variable",
8713
- "name": "styles",
8714
- "default": "css `\n :host {\n --_border-radius: var(--u-progress-bar-border-radius, var(--u-shape-corner-full, 9999px));\n --_height: var(--u-progress-bar-height, 4px);\n }\n\n :host,\n .determinate,\n .indeterminate {\n overflow: hidden;\n border-radius: var(--_border-radius);\n }\n\n .determinate,\n .indeterminate {\n display: flex;\n gap: 4px;\n }\n\n .indeterminate {\n flex: 1;\n margin-inline: -8px;\n border-radius: var(--_border-radius);\n }\n\n .determinate {\n margin-inline-end: -4px;\n }\n .determinate .bar {\n transition: flex-basis 200ms linear;\n }\n\n .last {\n flex-shrink: 1;\n flex-basis: 100%;\n animation: last 2.1s infinite linear;\n }\n\n .slow {\n animation: slow 2.1s infinite linear;\n }\n\n .middle {\n animation: middle 2.1s infinite linear;\n }\n\n .fast {\n animation: fast 2.1s infinite linear;\n }\n\n .first {\n animation: first 2.1s infinite linear;\n }\n\n .bar {\n height: var(--_height);\n border-radius: var(--_border-radius);\n background: var(--u-progress-bar-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .track {\n background: var(--u-progress-bar-track-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n flex-shrink: 1;\n }\n\n @keyframes slow {\n 0% {\n flex-basis: 0;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 100%;\n }\n 30% {\n flex-basis: 0;\n }\n }\n @keyframes last {\n 0% {\n flex-basis: 100%;\n }\n 10% {\n flex-basis: 50%;\n }\n 20% {\n flex-basis: 0;\n }\n 100% {\n flex-basis: 0;\n }\n }\n @keyframes middle {\n 10% {\n flex-basis: 0;\n }\n 20% {\n flex-basis: 100%;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 0;\n }\n }\n @keyframes fast {\n 0% {\n flex-basis: 0;\n }\n 25% {\n flex-basis: 0;\n }\n 35% {\n flex-basis: 100%;\n }\n 45% {\n flex-basis: 100%;\n }\n 55% {\n flex-basis: 0;\n }\n }\n @keyframes first {\n 35% {\n flex-basis: 0;\n }\n 45% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n @keyframes fast-bar-pre {\n 0% {\n flex-basis: 0;\n }\n 60% {\n flex-basis: 0;\n }\n 90% {\n flex-basis: 100%;\n }\n 100% {\n flex-basis: 100%;\n }\n }\n`"
8715
- }
8716
- ],
8717
- "exports": [
8718
- {
8719
- "kind": "js",
8720
- "name": "styles",
8721
- "declaration": {
8722
- "name": "styles",
8723
- "module": "src/progress/progress-bar.styles.ts"
8724
- }
8725
- }
8726
- ]
8727
- },
8728
- {
8729
- "kind": "javascript-module",
8730
- "path": "src/progress/progress-bar.ts",
8731
- "declarations": [
8732
- {
8733
- "kind": "class",
8734
- "description": "",
8735
- "name": "UmProgressBar",
8736
- "members": [
8737
- {
8738
- "kind": "field",
8739
- "name": "value",
8740
- "type": {
8741
- "text": "number | undefined"
8742
- },
8743
- "attribute": "value"
8744
8940
  },
8745
8941
  {
8746
- "kind": "field",
8747
- "name": "max",
8748
- "type": {
8749
- "text": "number"
8942
+ "kind": "method",
8943
+ "name": "createRipple",
8944
+ "return": {
8945
+ "type": {
8946
+ "text": "(() => void) | null"
8947
+ }
8750
8948
  },
8751
- "default": "1",
8752
- "attribute": "max"
8949
+ "parameters": [
8950
+ {
8951
+ "name": "targetX",
8952
+ "default": "null",
8953
+ "type": {
8954
+ "text": "number | null"
8955
+ }
8956
+ },
8957
+ {
8958
+ "name": "targetY",
8959
+ "default": "null",
8960
+ "type": {
8961
+ "text": "number | null"
8962
+ }
8963
+ },
8964
+ {
8965
+ "name": "releaseEventName",
8966
+ "default": "null",
8967
+ "type": {
8968
+ "text": "string | null"
8969
+ }
8970
+ }
8971
+ ]
8753
8972
  },
8754
8973
  {
8755
8974
  "kind": "method",
8756
- "name": "#renderIndeterminate",
8975
+ "name": "createDismissEvent",
8976
+ "privacy": "private",
8757
8977
  "return": {
8758
8978
  "type": {
8759
- "text": "TemplateResult"
8979
+ "text": "() => void"
8760
8980
  }
8761
- }
8981
+ },
8982
+ "parameters": [
8983
+ {
8984
+ "name": "ripple",
8985
+ "type": {
8986
+ "text": "HTMLElement"
8987
+ }
8988
+ },
8989
+ {
8990
+ "name": "releaseEventName",
8991
+ "type": {
8992
+ "text": "string"
8993
+ }
8994
+ }
8995
+ ]
8762
8996
  },
8763
8997
  {
8764
8998
  "kind": "method",
8765
- "name": "#renderDeterminate",
8766
- "return": {
8767
- "type": {
8768
- "text": "TemplateResult"
8999
+ "name": "_setElementSquareSizeAndCenter",
9000
+ "privacy": "private",
9001
+ "static": true,
9002
+ "parameters": [
9003
+ {
9004
+ "name": "element",
9005
+ "type": {
9006
+ "text": "HTMLElement"
9007
+ }
9008
+ },
9009
+ {
9010
+ "name": "size",
9011
+ "type": {
9012
+ "text": "number"
9013
+ }
8769
9014
  }
8770
- }
9015
+ ]
8771
9016
  }
8772
9017
  ],
8773
9018
  "attributes": [
8774
9019
  {
8775
- "name": "value",
8776
- "type": {
8777
- "text": "number | undefined"
8778
- },
8779
- "fieldName": "value"
8780
- },
8781
- {
8782
- "name": "max",
9020
+ "name": "disabled",
8783
9021
  "type": {
8784
- "text": "number"
9022
+ "text": "boolean"
8785
9023
  },
8786
- "default": "1",
8787
- "fieldName": "max"
9024
+ "default": "false",
9025
+ "description": "Disables the ripple.",
9026
+ "fieldName": "disabled"
8788
9027
  }
8789
9028
  ],
8790
9029
  "superclass": {
8791
9030
  "name": "LitElement",
8792
9031
  "package": "lit"
8793
9032
  },
8794
- "tagName": "u-progress-bar",
9033
+ "tagName": "u-ripple",
8795
9034
  "customElement": true
8796
9035
  }
8797
9036
  ],
8798
9037
  "exports": [
8799
9038
  {
8800
9039
  "kind": "js",
8801
- "name": "UmProgressBar",
9040
+ "name": "UmRipple",
8802
9041
  "declaration": {
8803
- "name": "UmProgressBar",
8804
- "module": "src/progress/progress-bar.ts"
9042
+ "name": "UmRipple",
9043
+ "module": "src/ripple/ripple.ts"
8805
9044
  }
8806
9045
  },
8807
9046
  {
8808
9047
  "kind": "custom-element-definition",
8809
- "name": "u-progress-bar",
9048
+ "name": "u-ripple",
8810
9049
  "declaration": {
8811
- "name": "UmProgressBar",
8812
- "module": "src/progress/progress-bar.ts"
9050
+ "name": "UmRipple",
9051
+ "module": "src/ripple/ripple.ts"
8813
9052
  }
8814
9053
  }
8815
9054
  ]
@@ -9531,245 +9770,6 @@
9531
9770
  }
9532
9771
  ]
9533
9772
  },
9534
- {
9535
- "kind": "javascript-module",
9536
- "path": "src/ripple/ripple.styles.ts",
9537
- "declarations": [
9538
- {
9539
- "kind": "variable",
9540
- "name": "styles",
9541
- "default": "css `\n :host,\n .ripple-container::before {\n --_ripple-hover-color: var(--u-ripple-hover-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-pressed-color: var(--u-ripple-pressed-color, var(--u-ripple-color, var(--u-state-layer-color, currentColor)));\n --_ripple-hover-opacity: var(--u-ripple-pressed-opacity, var(--u-state-hover-opacity, 0.08));\n --_ripple-pressed-opacity: var(--u-ripple-pressed-opacity, .2);\n display: block;\n inset: 0;\n isolation: isolate;\n }\n\n .ripple-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: inherit;\n }\n\n .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: 0;\n transition: opacity 200ms;\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .ripple-container::before {\n content: \"\";\n background: var(--_ripple-hover-color);\n opacity: var(--_ripple-hover-opacity);\n }\n }\n :host,\n .ripple-container::before,\n .ripple {\n position: absolute;\n border-radius: inherit;\n }\n\n .ripple {\n top: 50%;\n left: 50%;\n background: var(--_ripple-pressed-color);\n border-radius: 50%;\n box-shadow: 0 0 64px 64px var(--_ripple-pressed-color);\n opacity: var(--_ripple-pressed-opacity);\n transform: scale3d(0, 0, 1);\n pointer-events: none;\n will-change: transform;\n }\n .ripple.show {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(750ms / var(--u-ripple-speed, 1));\n transform: scale3d(1, 1, 1);\n }\n .ripple.show-forced {\n transition: transform calc(var(--_ripple-transition-duration) / var(--u-ripple-speed, 1)) cubic-bezier(0.19, 1, 0.22, 1), opacity calc(200ms / var(--u-ripple-speed, 1)) 300ms;\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n .ripple.dismiss {\n opacity: 0;\n transform: scale3d(2, 2, 1);\n }\n\n ::slotted(*) {\n position: absolute !important;\n inset: 0;\n border-radius: inherit;\n }\n`"
9542
- }
9543
- ],
9544
- "exports": [
9545
- {
9546
- "kind": "js",
9547
- "name": "styles",
9548
- "declaration": {
9549
- "name": "styles",
9550
- "module": "src/ripple/ripple.styles.ts"
9551
- }
9552
- }
9553
- ]
9554
- },
9555
- {
9556
- "kind": "javascript-module",
9557
- "path": "src/ripple/ripple.ts",
9558
- "declarations": [
9559
- {
9560
- "kind": "class",
9561
- "description": "",
9562
- "name": "UmRipple",
9563
- "members": [
9564
- {
9565
- "kind": "field",
9566
- "name": "isTouching",
9567
- "type": {
9568
- "text": "boolean"
9569
- },
9570
- "privacy": "private",
9571
- "default": "false"
9572
- },
9573
- {
9574
- "kind": "field",
9575
- "name": "disabled",
9576
- "type": {
9577
- "text": "boolean"
9578
- },
9579
- "default": "false",
9580
- "description": "Disables the ripple.",
9581
- "attribute": "disabled",
9582
- "reflects": true
9583
- },
9584
- {
9585
- "kind": "field",
9586
- "name": "rippleContainer",
9587
- "type": {
9588
- "text": "HTMLElement"
9589
- },
9590
- "privacy": "private"
9591
- },
9592
- {
9593
- "kind": "method",
9594
- "name": "attachEvents",
9595
- "privacy": "private",
9596
- "return": {
9597
- "type": {
9598
- "text": "void"
9599
- }
9600
- }
9601
- },
9602
- {
9603
- "kind": "method",
9604
- "name": "dettachEvents",
9605
- "privacy": "private",
9606
- "return": {
9607
- "type": {
9608
- "text": "void"
9609
- }
9610
- }
9611
- },
9612
- {
9613
- "kind": "method",
9614
- "name": "handleMouseDown",
9615
- "privacy": "private",
9616
- "return": {
9617
- "type": {
9618
- "text": "void"
9619
- }
9620
- },
9621
- "parameters": [
9622
- {
9623
- "name": "e",
9624
- "type": {
9625
- "text": "MouseEvent"
9626
- }
9627
- }
9628
- ]
9629
- },
9630
- {
9631
- "kind": "method",
9632
- "name": "handleTouchStart",
9633
- "privacy": "private",
9634
- "return": {
9635
- "type": {
9636
- "text": "void"
9637
- }
9638
- },
9639
- "parameters": [
9640
- {
9641
- "name": "e",
9642
- "type": {
9643
- "text": "TouchEvent"
9644
- }
9645
- }
9646
- ]
9647
- },
9648
- {
9649
- "kind": "method",
9650
- "name": "canCreateRipple",
9651
- "privacy": "private",
9652
- "return": {
9653
- "type": {
9654
- "text": "boolean"
9655
- }
9656
- }
9657
- },
9658
- {
9659
- "kind": "method",
9660
- "name": "createRipple",
9661
- "return": {
9662
- "type": {
9663
- "text": "(() => void) | null"
9664
- }
9665
- },
9666
- "parameters": [
9667
- {
9668
- "name": "targetX",
9669
- "default": "null",
9670
- "type": {
9671
- "text": "number | null"
9672
- }
9673
- },
9674
- {
9675
- "name": "targetY",
9676
- "default": "null",
9677
- "type": {
9678
- "text": "number | null"
9679
- }
9680
- },
9681
- {
9682
- "name": "releaseEventName",
9683
- "default": "null",
9684
- "type": {
9685
- "text": "string | null"
9686
- }
9687
- }
9688
- ]
9689
- },
9690
- {
9691
- "kind": "method",
9692
- "name": "createDismissEvent",
9693
- "privacy": "private",
9694
- "return": {
9695
- "type": {
9696
- "text": "() => void"
9697
- }
9698
- },
9699
- "parameters": [
9700
- {
9701
- "name": "ripple",
9702
- "type": {
9703
- "text": "HTMLElement"
9704
- }
9705
- },
9706
- {
9707
- "name": "releaseEventName",
9708
- "type": {
9709
- "text": "string"
9710
- }
9711
- }
9712
- ]
9713
- },
9714
- {
9715
- "kind": "method",
9716
- "name": "_setElementSquareSizeAndCenter",
9717
- "privacy": "private",
9718
- "static": true,
9719
- "parameters": [
9720
- {
9721
- "name": "element",
9722
- "type": {
9723
- "text": "HTMLElement"
9724
- }
9725
- },
9726
- {
9727
- "name": "size",
9728
- "type": {
9729
- "text": "number"
9730
- }
9731
- }
9732
- ]
9733
- }
9734
- ],
9735
- "attributes": [
9736
- {
9737
- "name": "disabled",
9738
- "type": {
9739
- "text": "boolean"
9740
- },
9741
- "default": "false",
9742
- "description": "Disables the ripple.",
9743
- "fieldName": "disabled"
9744
- }
9745
- ],
9746
- "superclass": {
9747
- "name": "LitElement",
9748
- "package": "lit"
9749
- },
9750
- "tagName": "u-ripple",
9751
- "customElement": true
9752
- }
9753
- ],
9754
- "exports": [
9755
- {
9756
- "kind": "js",
9757
- "name": "UmRipple",
9758
- "declaration": {
9759
- "name": "UmRipple",
9760
- "module": "src/ripple/ripple.ts"
9761
- }
9762
- },
9763
- {
9764
- "kind": "custom-element-definition",
9765
- "name": "u-ripple",
9766
- "declaration": {
9767
- "name": "UmRipple",
9768
- "module": "src/ripple/ripple.ts"
9769
- }
9770
- }
9771
- ]
9772
- },
9773
9773
  {
9774
9774
  "kind": "javascript-module",
9775
9775
  "path": "src/shared/base.styles.ts",
@@ -10150,338 +10150,322 @@
10150
10150
  },
10151
10151
  {
10152
10152
  "kind": "javascript-module",
10153
- "path": "src/switch/switch-list-item.ts",
10153
+ "path": "src/snackbar/snackbar.styles.ts",
10154
10154
  "declarations": [
10155
10155
  {
10156
- "kind": "class",
10157
- "description": "",
10158
- "name": "UmSwitchListItem",
10159
- "mixins": [
10160
- {
10161
- "name": "mixinSelectionControlListItem",
10162
- "module": "/src/shared/selection-control/selection-control-list-item.js"
10163
- }
10164
- ],
10165
- "superclass": {
10166
- "name": "UmSwitch",
10167
- "module": "/src/switch/switch.js"
10168
- },
10169
- "tagName": "u-switch-list-item",
10170
- "customElement": true,
10171
- "members": [
10156
+ "kind": "variable",
10157
+ "name": "styles",
10158
+ "default": "css `\n :host {\n --u-elevation-level: var(--u-snackbar-elevation-level, 3);\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-medium, 16px));\n position: fixed;\n inset-inline: 0;\n inset-block-end: 0;\n padding: var(--_snackbar-margin);\n z-index: var(--u-snackbar-z-index, 1070);\n display: flex;\n justify-content: center;\n }\n\n .snackbar {\n display: flex;\n align-items: center;\n min-height: var(--u-snackbar-height, 48px);\n color: var(--u-snackbar-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n background-color: var(--u-snackbar-background-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n border-radius: var(--u-snackbar-shape, var(--u-shape-corner-extra-small, 4px));\n animation-name: snackbar-fade-in;\n animation-duration: 450ms;\n animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n animation-fill-mode: forwards;\n min-width: var(--u-snackbar-min-width, 100%);\n max-width: var(--u-snackbar-max-width, 100%);\n }\n .snackbar.dismiss {\n animation-name: snackbar-fade-out;\n }\n\n u-button {\n color: var(--u-color-inverse-primary, );\n margin-inline: var(--u-snackbar-text-button-margin, var(--u-spacing-small, 8px));\n }\n\n u-icon-button {\n color: var(--u-color-on-inverse-surface, rgb(245, 239, 247));\n margin-inline: var(--u-snackbar-close-button-margin, var(--u-spacing-extra-small, 4px));\n }\n\n .label {\n flex: 1;\n overflow: hidden;\n color: var(--u-on-inverse-surface-color);\n padding: var(--u-snackbar-text-margin, var(--u-spacing-medium, 16px));\n line-height: 18px;\n }\n\n @media (min-width: 840px) {\n :host {\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-large, 24px));\n }\n .snackbar {\n min-width: var(--u-snackbar-min-width, 288px);\n max-width: var(--u-snackbar-max-width, 568px);\n }\n }\n @keyframes snackbar-fade-in {\n 0% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n }\n @keyframes snackbar-fade-out {\n 0% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n 100% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n }\n`"
10159
+ }
10160
+ ],
10161
+ "exports": [
10162
+ {
10163
+ "kind": "js",
10164
+ "name": "styles",
10165
+ "declaration": {
10166
+ "name": "styles",
10167
+ "module": "src/snackbar/snackbar.styles.ts"
10168
+ }
10169
+ }
10170
+ ]
10171
+ },
10172
+ {
10173
+ "kind": "javascript-module",
10174
+ "path": "src/snackbar/snackbar.ts",
10175
+ "declarations": [
10176
+ {
10177
+ "kind": "class",
10178
+ "description": "",
10179
+ "name": "UmSnackbar",
10180
+ "members": [
10172
10181
  {
10173
10182
  "kind": "field",
10174
- "name": "styles",
10183
+ "name": "label",
10175
10184
  "type": {
10176
- "text": "array"
10185
+ "text": "string"
10177
10186
  },
10178
- "static": true,
10179
- "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
10180
- "inheritedFrom": {
10181
- "name": "mixinSelectionControlListItem",
10182
- "module": "src/shared/selection-control/selection-control-list-item.ts"
10183
- }
10187
+ "default": "''",
10188
+ "attribute": "label",
10189
+ "reflects": true
10184
10190
  },
10185
10191
  {
10186
- "kind": "method",
10187
- "name": "render",
10188
- "return": {
10189
- "type": {
10190
- "text": "HTMLTemplateResult"
10191
- }
10192
+ "kind": "field",
10193
+ "name": "buttonLabel",
10194
+ "type": {
10195
+ "text": "string"
10192
10196
  },
10193
- "inheritedFrom": {
10194
- "name": "mixinSelectionControlListItem",
10195
- "module": "src/shared/selection-control/selection-control-list-item.ts"
10196
- }
10197
+ "default": "''",
10198
+ "attribute": "buttonLabel",
10199
+ "reflects": true
10197
10200
  },
10198
10201
  {
10199
10202
  "kind": "field",
10200
- "name": "renderRipple",
10203
+ "name": "showClose",
10201
10204
  "type": {
10202
10205
  "text": "boolean"
10203
10206
  },
10204
- "privacy": "protected",
10205
10207
  "default": "false",
10206
- "inheritedFrom": {
10207
- "name": "UmSelectionControl",
10208
- "module": "src/shared/selection-control/selection-control.ts"
10209
- }
10210
- },
10211
- {
10212
- "kind": "method",
10213
- "name": "renderIndicator",
10214
- "privacy": "protected",
10215
- "return": {
10216
- "type": {
10217
- "text": "HTMLTemplateResult"
10218
- }
10219
- },
10220
- "inheritedFrom": {
10221
- "name": "UmSelectionControl",
10222
- "module": "src/shared/selection-control/selection-control.ts"
10223
- }
10208
+ "attribute": "show-close",
10209
+ "reflects": true
10224
10210
  },
10225
10211
  {
10226
10212
  "kind": "field",
10227
- "name": "formAssociated",
10213
+ "name": "dismissed",
10228
10214
  "type": {
10229
10215
  "text": "boolean"
10230
10216
  },
10231
- "static": true,
10232
- "default": "true",
10233
- "inheritedFrom": {
10234
- "name": "UmSelectionControl",
10235
- "module": "src/shared/selection-control/selection-control.ts"
10236
- }
10217
+ "default": "false",
10218
+ "attribute": "dismissed",
10219
+ "reflects": true
10237
10220
  },
10238
10221
  {
10239
10222
  "kind": "field",
10240
- "name": "elementInternals",
10223
+ "name": "duration",
10241
10224
  "type": {
10242
- "text": "ElementInternals"
10225
+ "text": "SnackbarDuration"
10243
10226
  },
10244
- "privacy": "protected",
10245
- "inheritedFrom": {
10246
- "name": "UmSelectionControl",
10247
- "module": "src/shared/selection-control/selection-control.ts"
10248
- }
10227
+ "privacy": "private"
10249
10228
  },
10250
10229
  {
10251
10230
  "kind": "field",
10252
- "name": "name",
10231
+ "name": "snackbar",
10253
10232
  "type": {
10254
- "text": "string | undefined"
10233
+ "text": "HTMLElement"
10255
10234
  },
10256
- "default": "''",
10257
- "attribute": "name",
10258
- "inheritedFrom": {
10259
- "name": "UmSelectionControl",
10260
- "module": "src/shared/selection-control/selection-control.ts"
10261
- }
10235
+ "privacy": "private"
10262
10236
  },
10263
10237
  {
10264
- "kind": "field",
10265
- "name": "disabled",
10266
- "type": {
10267
- "text": "boolean"
10268
- },
10269
- "default": "false",
10270
- "attribute": "disabled",
10271
- "reflects": true,
10272
- "inheritedFrom": {
10273
- "name": "UmSelectionControl",
10274
- "module": "src/shared/selection-control/selection-control.ts"
10275
- }
10238
+ "kind": "method",
10239
+ "name": "renderButton",
10240
+ "privacy": "private"
10276
10241
  },
10277
10242
  {
10278
- "kind": "field",
10279
- "name": "input",
10280
- "type": {
10281
- "text": "HTMLInputElement"
10282
- },
10283
- "inheritedFrom": {
10284
- "name": "UmSelectionControl",
10285
- "module": "src/shared/selection-control/selection-control.ts"
10243
+ "kind": "method",
10244
+ "name": "renderCloseButton",
10245
+ "privacy": "private"
10246
+ },
10247
+ {
10248
+ "kind": "method",
10249
+ "name": "dismiss",
10250
+ "return": {
10251
+ "type": {
10252
+ "text": "void"
10253
+ }
10286
10254
  }
10287
10255
  },
10288
10256
  {
10289
10257
  "kind": "field",
10290
- "name": "form",
10258
+ "name": "_queue",
10291
10259
  "type": {
10292
- "text": "HTMLFormElement | null"
10260
+ "text": "UmSnackbar[]"
10293
10261
  },
10294
- "inheritedFrom": {
10295
- "name": "UmSelectionControl",
10296
- "module": "src/shared/selection-control/selection-control.ts"
10297
- }
10262
+ "privacy": "private",
10263
+ "static": true,
10264
+ "default": "[]"
10298
10265
  },
10299
10266
  {
10300
10267
  "kind": "field",
10301
- "name": "#checked",
10302
- "privacy": "private",
10268
+ "name": "_consuming",
10303
10269
  "type": {
10304
10270
  "text": "boolean"
10305
10271
  },
10306
- "default": "false",
10307
- "inheritedFrom": {
10308
- "name": "UmSelectionControl",
10309
- "module": "src/shared/selection-control/selection-control.ts"
10310
- }
10272
+ "privacy": "private",
10273
+ "static": true
10311
10274
  },
10312
10275
  {
10313
- "kind": "field",
10314
- "name": "inputType",
10315
- "type": {
10316
- "text": "'checkbox' | 'radio'"
10276
+ "kind": "method",
10277
+ "name": "show",
10278
+ "static": true,
10279
+ "return": {
10280
+ "type": {
10281
+ "text": "UmSnackbar"
10282
+ }
10317
10283
  },
10318
- "privacy": "protected",
10319
- "default": "'checkbox'",
10320
- "inheritedFrom": {
10321
- "name": "UmSelectionControl",
10322
- "module": "src/shared/selection-control/selection-control.ts"
10323
- }
10284
+ "parameters": [
10285
+ {
10286
+ "name": "label",
10287
+ "type": {
10288
+ "text": "string"
10289
+ }
10290
+ }
10291
+ ]
10324
10292
  },
10325
10293
  {
10326
- "kind": "field",
10327
- "name": "value",
10328
- "type": {
10329
- "text": "string"
10294
+ "kind": "method",
10295
+ "name": "show",
10296
+ "static": true,
10297
+ "return": {
10298
+ "type": {
10299
+ "text": "UmSnackbar"
10300
+ }
10330
10301
  },
10331
- "default": "'on'",
10332
- "description": "The element value to use in form submission when checked.",
10333
- "attribute": "value",
10334
- "inheritedFrom": {
10335
- "name": "UmSelectionControl",
10336
- "module": "src/shared/selection-control/selection-control.ts"
10337
- }
10302
+ "parameters": [
10303
+ {
10304
+ "name": "config",
10305
+ "type": {
10306
+ "text": "SnackbarConfig"
10307
+ }
10308
+ }
10309
+ ]
10338
10310
  },
10339
10311
  {
10340
- "kind": "field",
10341
- "name": "checked",
10342
- "attribute": "checked",
10343
- "inheritedFrom": {
10344
- "name": "UmSelectionControl",
10345
- "module": "src/shared/selection-control/selection-control.ts"
10346
- }
10312
+ "kind": "method",
10313
+ "name": "show",
10314
+ "static": true,
10315
+ "return": {
10316
+ "type": {
10317
+ "text": "UmSnackbar"
10318
+ }
10319
+ },
10320
+ "parameters": [
10321
+ {
10322
+ "name": "configOrLabel",
10323
+ "type": {
10324
+ "text": "SnackbarConfig | string"
10325
+ }
10326
+ }
10327
+ ]
10347
10328
  },
10348
10329
  {
10349
10330
  "kind": "method",
10350
- "name": "#handleClick",
10331
+ "name": "consumeQueue",
10332
+ "privacy": "private",
10333
+ "static": true
10334
+ },
10335
+ {
10336
+ "kind": "method",
10337
+ "name": "showNext",
10338
+ "privacy": "private",
10339
+ "static": true
10340
+ },
10341
+ {
10342
+ "kind": "method",
10343
+ "name": "createSnackbar",
10344
+ "privacy": "private",
10345
+ "static": true,
10346
+ "return": {
10347
+ "type": {
10348
+ "text": "UmSnackbar"
10349
+ }
10350
+ },
10351
10351
  "parameters": [
10352
10352
  {
10353
- "name": "e",
10353
+ "name": "config",
10354
10354
  "type": {
10355
- "text": "Event"
10355
+ "text": "SnackbarConfig"
10356
10356
  }
10357
10357
  }
10358
- ],
10359
- "inheritedFrom": {
10360
- "name": "UmSelectionControl",
10361
- "module": "src/shared/selection-control/selection-control.ts"
10362
- }
10358
+ ]
10363
10359
  }
10364
10360
  ],
10365
10361
  "attributes": [
10366
10362
  {
10367
- "name": "name",
10363
+ "name": "label",
10368
10364
  "type": {
10369
- "text": "string | undefined"
10365
+ "text": "string"
10370
10366
  },
10371
10367
  "default": "''",
10372
- "fieldName": "name",
10373
- "inheritedFrom": {
10374
- "name": "UmSelectionControl",
10375
- "module": "src/shared/selection-control/selection-control.ts"
10376
- }
10377
- },
10378
- {
10379
- "name": "disabled",
10380
- "type": {
10381
- "text": "boolean"
10382
- },
10383
- "default": "false",
10384
- "fieldName": "disabled",
10385
- "inheritedFrom": {
10386
- "name": "UmSelectionControl",
10387
- "module": "src/shared/selection-control/selection-control.ts"
10388
- }
10368
+ "fieldName": "label"
10389
10369
  },
10390
10370
  {
10391
- "name": "value",
10371
+ "name": "buttonLabel",
10392
10372
  "type": {
10393
10373
  "text": "string"
10394
10374
  },
10395
- "default": "'on'",
10396
- "description": "The element value to use in form submission when checked.",
10397
- "fieldName": "value",
10398
- "inheritedFrom": {
10399
- "name": "UmSelectionControl",
10400
- "module": "src/shared/selection-control/selection-control.ts"
10401
- }
10375
+ "default": "''",
10376
+ "fieldName": "buttonLabel"
10402
10377
  },
10403
10378
  {
10404
- "name": "checked",
10405
- "fieldName": "checked",
10406
- "inheritedFrom": {
10407
- "name": "UmSelectionControl",
10408
- "module": "src/shared/selection-control/selection-control.ts"
10409
- }
10410
- }
10411
- ],
10412
- "events": [
10413
- {
10414
- "name": "input",
10379
+ "name": "show-close",
10415
10380
  "type": {
10416
- "text": "InputEvent"
10381
+ "text": "boolean"
10417
10382
  },
10418
- "inheritedFrom": {
10419
- "name": "UmSelectionControl",
10420
- "module": "src/shared/selection-control/selection-control.ts"
10421
- }
10383
+ "default": "false",
10384
+ "fieldName": "showClose"
10422
10385
  },
10423
10386
  {
10424
- "name": "change",
10387
+ "name": "dismissed",
10425
10388
  "type": {
10426
- "text": "Event"
10389
+ "text": "boolean"
10427
10390
  },
10428
- "inheritedFrom": {
10429
- "name": "UmSelectionControl",
10430
- "module": "src/shared/selection-control/selection-control.ts"
10431
- }
10391
+ "default": "false",
10392
+ "fieldName": "dismissed"
10432
10393
  }
10433
- ]
10434
- }
10435
- ],
10436
- "exports": [
10437
- {
10438
- "kind": "js",
10439
- "name": "UmSwitchListItem",
10440
- "declaration": {
10441
- "name": "UmSwitchListItem",
10442
- "module": "src/switch/switch-list-item.ts"
10443
- }
10444
- },
10445
- {
10446
- "kind": "custom-element-definition",
10447
- "name": "u-switch-list-item",
10448
- "declaration": {
10449
- "name": "UmSwitchListItem",
10450
- "module": "src/switch/switch-list-item.ts"
10451
- }
10452
- }
10453
- ]
10454
- },
10455
- {
10456
- "kind": "javascript-module",
10457
- "path": "src/switch/switch.styles.ts",
10458
- "declarations": [
10459
- {
10460
- "kind": "variable",
10461
- "name": "styles",
10462
- "default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-background-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-background-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
10394
+ ],
10395
+ "superclass": {
10396
+ "name": "LitElement",
10397
+ "package": "lit"
10398
+ },
10399
+ "tagName": "u-snackbar",
10400
+ "customElement": true
10463
10401
  }
10464
10402
  ],
10465
10403
  "exports": [
10466
10404
  {
10467
10405
  "kind": "js",
10468
- "name": "styles",
10406
+ "name": "UmSnackbar",
10469
10407
  "declaration": {
10470
- "name": "styles",
10471
- "module": "src/switch/switch.styles.ts"
10408
+ "name": "UmSnackbar",
10409
+ "module": "src/snackbar/snackbar.ts"
10410
+ }
10411
+ },
10412
+ {
10413
+ "kind": "custom-element-definition",
10414
+ "name": "u-snackbar",
10415
+ "declaration": {
10416
+ "name": "UmSnackbar",
10417
+ "module": "src/snackbar/snackbar.ts"
10472
10418
  }
10473
10419
  }
10474
10420
  ]
10475
10421
  },
10476
10422
  {
10477
10423
  "kind": "javascript-module",
10478
- "path": "src/switch/switch.ts",
10424
+ "path": "src/switch/switch-list-item.ts",
10479
10425
  "declarations": [
10480
10426
  {
10481
10427
  "kind": "class",
10482
10428
  "description": "",
10483
- "name": "UmSwitch",
10429
+ "name": "UmSwitchListItem",
10430
+ "mixins": [
10431
+ {
10432
+ "name": "mixinSelectionControlListItem",
10433
+ "module": "/src/shared/selection-control/selection-control-list-item.js"
10434
+ }
10435
+ ],
10436
+ "superclass": {
10437
+ "name": "UmSwitch",
10438
+ "module": "/src/switch/switch.js"
10439
+ },
10440
+ "tagName": "u-switch-list-item",
10441
+ "customElement": true,
10484
10442
  "members": [
10443
+ {
10444
+ "kind": "field",
10445
+ "name": "styles",
10446
+ "type": {
10447
+ "text": "array"
10448
+ },
10449
+ "static": true,
10450
+ "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
10451
+ "inheritedFrom": {
10452
+ "name": "mixinSelectionControlListItem",
10453
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
10454
+ }
10455
+ },
10456
+ {
10457
+ "kind": "method",
10458
+ "name": "render",
10459
+ "return": {
10460
+ "type": {
10461
+ "text": "HTMLTemplateResult"
10462
+ }
10463
+ },
10464
+ "inheritedFrom": {
10465
+ "name": "mixinSelectionControlListItem",
10466
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
10467
+ }
10468
+ },
10485
10469
  {
10486
10470
  "kind": "field",
10487
10471
  "name": "renderRipple",
@@ -10649,12 +10633,6 @@
10649
10633
  }
10650
10634
  }
10651
10635
  ],
10652
- "superclass": {
10653
- "name": "UmSelectionControl",
10654
- "module": "/src/shared/selection-control/selection-control.js"
10655
- },
10656
- "tagName": "u-switch",
10657
- "customElement": true,
10658
10636
  "attributes": [
10659
10637
  {
10660
10638
  "name": "name",
@@ -10729,30 +10707,30 @@
10729
10707
  "exports": [
10730
10708
  {
10731
10709
  "kind": "js",
10732
- "name": "UmSwitch",
10710
+ "name": "UmSwitchListItem",
10733
10711
  "declaration": {
10734
- "name": "UmSwitch",
10735
- "module": "src/switch/switch.ts"
10712
+ "name": "UmSwitchListItem",
10713
+ "module": "src/switch/switch-list-item.ts"
10736
10714
  }
10737
10715
  },
10738
10716
  {
10739
10717
  "kind": "custom-element-definition",
10740
- "name": "u-switch",
10718
+ "name": "u-switch-list-item",
10741
10719
  "declaration": {
10742
- "name": "UmSwitch",
10743
- "module": "src/switch/switch.ts"
10720
+ "name": "UmSwitchListItem",
10721
+ "module": "src/switch/switch-list-item.ts"
10744
10722
  }
10745
10723
  }
10746
10724
  ]
10747
10725
  },
10748
10726
  {
10749
10727
  "kind": "javascript-module",
10750
- "path": "src/snackbar/snackbar.styles.ts",
10728
+ "path": "src/switch/switch.styles.ts",
10751
10729
  "declarations": [
10752
10730
  {
10753
10731
  "kind": "variable",
10754
10732
  "name": "styles",
10755
- "default": "css `\n :host {\n --u-elevation-level: var(--u-snackbar-elevation-level, 3);\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-medium, 16px));\n position: fixed;\n inset-inline: 0;\n inset-block-end: 0;\n padding: var(--_snackbar-margin);\n z-index: var(--u-snackbar-z-index, 1070);\n display: flex;\n justify-content: center;\n }\n\n .snackbar {\n display: flex;\n align-items: center;\n min-height: var(--u-snackbar-height, 48px);\n color: var(--u-snackbar-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n background-color: var(--u-snackbar-background-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n border-radius: var(--u-snackbar-shape, var(--u-shape-corner-extra-small, 4px));\n animation-name: snackbar-fade-in;\n animation-duration: 450ms;\n animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n animation-fill-mode: forwards;\n min-width: var(--u-snackbar-min-width, 100%);\n max-width: var(--u-snackbar-max-width, 100%);\n }\n .snackbar.dismiss {\n animation-name: snackbar-fade-out;\n }\n\n u-button {\n color: var(--u-color-inverse-primary, );\n margin-inline: var(--u-snackbar-text-button-margin, var(--u-spacing-small, 8px));\n }\n\n u-icon-button {\n color: var(--u-color-on-inverse-surface, rgb(245, 239, 247));\n margin-inline: var(--u-snackbar-close-button-margin, var(--u-spacing-extra-small, 4px));\n }\n\n .label {\n flex: 1;\n overflow: hidden;\n color: var(--u-on-inverse-surface-color);\n padding: var(--u-snackbar-text-margin, var(--u-spacing-medium, 16px));\n line-height: 18px;\n }\n\n @media (min-width: 840px) {\n :host {\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-large, 24px));\n }\n .snackbar {\n min-width: var(--u-snackbar-min-width, 288px);\n max-width: var(--u-snackbar-max-width, 568px);\n }\n }\n @keyframes snackbar-fade-in {\n 0% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n }\n @keyframes snackbar-fade-out {\n 0% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n 100% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n }\n`"
10733
+ "default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-background-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-background-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
10756
10734
  }
10757
10735
  ],
10758
10736
  "exports": [
@@ -10761,257 +10739,279 @@
10761
10739
  "name": "styles",
10762
10740
  "declaration": {
10763
10741
  "name": "styles",
10764
- "module": "src/snackbar/snackbar.styles.ts"
10742
+ "module": "src/switch/switch.styles.ts"
10765
10743
  }
10766
10744
  }
10767
10745
  ]
10768
10746
  },
10769
10747
  {
10770
10748
  "kind": "javascript-module",
10771
- "path": "src/snackbar/snackbar.ts",
10749
+ "path": "src/switch/switch.ts",
10772
10750
  "declarations": [
10773
10751
  {
10774
10752
  "kind": "class",
10775
10753
  "description": "",
10776
- "name": "UmSnackbar",
10754
+ "name": "UmSwitch",
10777
10755
  "members": [
10778
10756
  {
10779
10757
  "kind": "field",
10780
- "name": "label",
10758
+ "name": "renderRipple",
10781
10759
  "type": {
10782
- "text": "string"
10760
+ "text": "boolean"
10783
10761
  },
10784
- "default": "''",
10785
- "attribute": "label",
10786
- "reflects": true
10762
+ "privacy": "protected",
10763
+ "default": "false",
10764
+ "inheritedFrom": {
10765
+ "name": "UmSelectionControl",
10766
+ "module": "src/shared/selection-control/selection-control.ts"
10767
+ }
10787
10768
  },
10788
10769
  {
10789
- "kind": "field",
10790
- "name": "buttonLabel",
10791
- "type": {
10792
- "text": "string"
10770
+ "kind": "method",
10771
+ "name": "renderIndicator",
10772
+ "privacy": "protected",
10773
+ "return": {
10774
+ "type": {
10775
+ "text": "HTMLTemplateResult"
10776
+ }
10793
10777
  },
10794
- "default": "''",
10795
- "attribute": "buttonLabel",
10796
- "reflects": true
10778
+ "inheritedFrom": {
10779
+ "name": "UmSelectionControl",
10780
+ "module": "src/shared/selection-control/selection-control.ts"
10781
+ }
10797
10782
  },
10798
10783
  {
10799
10784
  "kind": "field",
10800
- "name": "showClose",
10785
+ "name": "formAssociated",
10801
10786
  "type": {
10802
10787
  "text": "boolean"
10803
10788
  },
10804
- "default": "false",
10805
- "attribute": "show-close",
10806
- "reflects": true
10789
+ "static": true,
10790
+ "default": "true",
10791
+ "inheritedFrom": {
10792
+ "name": "UmSelectionControl",
10793
+ "module": "src/shared/selection-control/selection-control.ts"
10794
+ }
10807
10795
  },
10808
10796
  {
10809
10797
  "kind": "field",
10810
- "name": "dismissed",
10798
+ "name": "elementInternals",
10811
10799
  "type": {
10812
- "text": "boolean"
10800
+ "text": "ElementInternals"
10813
10801
  },
10814
- "default": "false",
10815
- "attribute": "dismissed",
10816
- "reflects": true
10802
+ "privacy": "protected",
10803
+ "inheritedFrom": {
10804
+ "name": "UmSelectionControl",
10805
+ "module": "src/shared/selection-control/selection-control.ts"
10806
+ }
10817
10807
  },
10818
10808
  {
10819
10809
  "kind": "field",
10820
- "name": "duration",
10810
+ "name": "name",
10821
10811
  "type": {
10822
- "text": "SnackbarDuration"
10812
+ "text": "string | undefined"
10823
10813
  },
10824
- "privacy": "private"
10814
+ "default": "''",
10815
+ "attribute": "name",
10816
+ "inheritedFrom": {
10817
+ "name": "UmSelectionControl",
10818
+ "module": "src/shared/selection-control/selection-control.ts"
10819
+ }
10825
10820
  },
10826
10821
  {
10827
10822
  "kind": "field",
10828
- "name": "snackbar",
10823
+ "name": "disabled",
10829
10824
  "type": {
10830
- "text": "HTMLElement"
10825
+ "text": "boolean"
10831
10826
  },
10832
- "privacy": "private"
10833
- },
10834
- {
10835
- "kind": "method",
10836
- "name": "renderButton",
10837
- "privacy": "private"
10838
- },
10839
- {
10840
- "kind": "method",
10841
- "name": "renderCloseButton",
10842
- "privacy": "private"
10843
- },
10844
- {
10845
- "kind": "method",
10846
- "name": "dismiss",
10847
- "return": {
10848
- "type": {
10849
- "text": "void"
10850
- }
10827
+ "default": "false",
10828
+ "attribute": "disabled",
10829
+ "reflects": true,
10830
+ "inheritedFrom": {
10831
+ "name": "UmSelectionControl",
10832
+ "module": "src/shared/selection-control/selection-control.ts"
10851
10833
  }
10852
10834
  },
10853
10835
  {
10854
10836
  "kind": "field",
10855
- "name": "_queue",
10837
+ "name": "input",
10856
10838
  "type": {
10857
- "text": "UmSnackbar[]"
10839
+ "text": "HTMLInputElement"
10858
10840
  },
10859
- "privacy": "private",
10860
- "static": true,
10861
- "default": "[]"
10841
+ "inheritedFrom": {
10842
+ "name": "UmSelectionControl",
10843
+ "module": "src/shared/selection-control/selection-control.ts"
10844
+ }
10862
10845
  },
10863
10846
  {
10864
10847
  "kind": "field",
10865
- "name": "_consuming",
10848
+ "name": "form",
10866
10849
  "type": {
10867
- "text": "boolean"
10868
- },
10869
- "privacy": "private",
10870
- "static": true
10871
- },
10872
- {
10873
- "kind": "method",
10874
- "name": "show",
10875
- "static": true,
10876
- "return": {
10877
- "type": {
10878
- "text": "UmSnackbar"
10879
- }
10850
+ "text": "HTMLFormElement | null"
10880
10851
  },
10881
- "parameters": [
10882
- {
10883
- "name": "label",
10884
- "type": {
10885
- "text": "string"
10886
- }
10887
- }
10888
- ]
10852
+ "inheritedFrom": {
10853
+ "name": "UmSelectionControl",
10854
+ "module": "src/shared/selection-control/selection-control.ts"
10855
+ }
10889
10856
  },
10890
10857
  {
10891
- "kind": "method",
10892
- "name": "show",
10893
- "static": true,
10894
- "return": {
10895
- "type": {
10896
- "text": "UmSnackbar"
10897
- }
10858
+ "kind": "field",
10859
+ "name": "#checked",
10860
+ "privacy": "private",
10861
+ "type": {
10862
+ "text": "boolean"
10898
10863
  },
10899
- "parameters": [
10900
- {
10901
- "name": "config",
10902
- "type": {
10903
- "text": "SnackbarConfig"
10904
- }
10905
- }
10906
- ]
10907
- },
10908
- {
10909
- "kind": "method",
10910
- "name": "show",
10911
- "static": true,
10912
- "return": {
10913
- "type": {
10914
- "text": "UmSnackbar"
10915
- }
10864
+ "default": "false",
10865
+ "inheritedFrom": {
10866
+ "name": "UmSelectionControl",
10867
+ "module": "src/shared/selection-control/selection-control.ts"
10868
+ }
10869
+ },
10870
+ {
10871
+ "kind": "field",
10872
+ "name": "inputType",
10873
+ "type": {
10874
+ "text": "'checkbox' | 'radio'"
10916
10875
  },
10917
- "parameters": [
10918
- {
10919
- "name": "configOrLabel",
10920
- "type": {
10921
- "text": "SnackbarConfig | string"
10922
- }
10923
- }
10924
- ]
10876
+ "privacy": "protected",
10877
+ "default": "'checkbox'",
10878
+ "inheritedFrom": {
10879
+ "name": "UmSelectionControl",
10880
+ "module": "src/shared/selection-control/selection-control.ts"
10881
+ }
10925
10882
  },
10926
10883
  {
10927
- "kind": "method",
10928
- "name": "consumeQueue",
10929
- "privacy": "private",
10930
- "static": true
10884
+ "kind": "field",
10885
+ "name": "value",
10886
+ "type": {
10887
+ "text": "string"
10888
+ },
10889
+ "default": "'on'",
10890
+ "description": "The element value to use in form submission when checked.",
10891
+ "attribute": "value",
10892
+ "inheritedFrom": {
10893
+ "name": "UmSelectionControl",
10894
+ "module": "src/shared/selection-control/selection-control.ts"
10895
+ }
10931
10896
  },
10932
10897
  {
10933
- "kind": "method",
10934
- "name": "showNext",
10935
- "privacy": "private",
10936
- "static": true
10898
+ "kind": "field",
10899
+ "name": "checked",
10900
+ "attribute": "checked",
10901
+ "inheritedFrom": {
10902
+ "name": "UmSelectionControl",
10903
+ "module": "src/shared/selection-control/selection-control.ts"
10904
+ }
10937
10905
  },
10938
10906
  {
10939
10907
  "kind": "method",
10940
- "name": "createSnackbar",
10941
- "privacy": "private",
10942
- "static": true,
10943
- "return": {
10944
- "type": {
10945
- "text": "UmSnackbar"
10946
- }
10947
- },
10908
+ "name": "#handleClick",
10948
10909
  "parameters": [
10949
10910
  {
10950
- "name": "config",
10911
+ "name": "e",
10951
10912
  "type": {
10952
- "text": "SnackbarConfig"
10913
+ "text": "Event"
10953
10914
  }
10954
10915
  }
10955
- ]
10916
+ ],
10917
+ "inheritedFrom": {
10918
+ "name": "UmSelectionControl",
10919
+ "module": "src/shared/selection-control/selection-control.ts"
10920
+ }
10956
10921
  }
10957
10922
  ],
10923
+ "superclass": {
10924
+ "name": "UmSelectionControl",
10925
+ "module": "/src/shared/selection-control/selection-control.js"
10926
+ },
10927
+ "tagName": "u-switch",
10928
+ "customElement": true,
10958
10929
  "attributes": [
10959
10930
  {
10960
- "name": "label",
10931
+ "name": "name",
10961
10932
  "type": {
10962
- "text": "string"
10933
+ "text": "string | undefined"
10963
10934
  },
10964
10935
  "default": "''",
10965
- "fieldName": "label"
10936
+ "fieldName": "name",
10937
+ "inheritedFrom": {
10938
+ "name": "UmSelectionControl",
10939
+ "module": "src/shared/selection-control/selection-control.ts"
10940
+ }
10966
10941
  },
10967
10942
  {
10968
- "name": "buttonLabel",
10943
+ "name": "disabled",
10944
+ "type": {
10945
+ "text": "boolean"
10946
+ },
10947
+ "default": "false",
10948
+ "fieldName": "disabled",
10949
+ "inheritedFrom": {
10950
+ "name": "UmSelectionControl",
10951
+ "module": "src/shared/selection-control/selection-control.ts"
10952
+ }
10953
+ },
10954
+ {
10955
+ "name": "value",
10969
10956
  "type": {
10970
10957
  "text": "string"
10971
10958
  },
10972
- "default": "''",
10973
- "fieldName": "buttonLabel"
10959
+ "default": "'on'",
10960
+ "description": "The element value to use in form submission when checked.",
10961
+ "fieldName": "value",
10962
+ "inheritedFrom": {
10963
+ "name": "UmSelectionControl",
10964
+ "module": "src/shared/selection-control/selection-control.ts"
10965
+ }
10974
10966
  },
10975
10967
  {
10976
- "name": "show-close",
10968
+ "name": "checked",
10969
+ "fieldName": "checked",
10970
+ "inheritedFrom": {
10971
+ "name": "UmSelectionControl",
10972
+ "module": "src/shared/selection-control/selection-control.ts"
10973
+ }
10974
+ }
10975
+ ],
10976
+ "events": [
10977
+ {
10978
+ "name": "input",
10977
10979
  "type": {
10978
- "text": "boolean"
10980
+ "text": "InputEvent"
10979
10981
  },
10980
- "default": "false",
10981
- "fieldName": "showClose"
10982
+ "inheritedFrom": {
10983
+ "name": "UmSelectionControl",
10984
+ "module": "src/shared/selection-control/selection-control.ts"
10985
+ }
10982
10986
  },
10983
10987
  {
10984
- "name": "dismissed",
10988
+ "name": "change",
10985
10989
  "type": {
10986
- "text": "boolean"
10990
+ "text": "Event"
10987
10991
  },
10988
- "default": "false",
10989
- "fieldName": "dismissed"
10992
+ "inheritedFrom": {
10993
+ "name": "UmSelectionControl",
10994
+ "module": "src/shared/selection-control/selection-control.ts"
10995
+ }
10990
10996
  }
10991
- ],
10992
- "superclass": {
10993
- "name": "LitElement",
10994
- "package": "lit"
10995
- },
10996
- "tagName": "u-snackbar",
10997
- "customElement": true
10997
+ ]
10998
10998
  }
10999
10999
  ],
11000
11000
  "exports": [
11001
11001
  {
11002
11002
  "kind": "js",
11003
- "name": "UmSnackbar",
11003
+ "name": "UmSwitch",
11004
11004
  "declaration": {
11005
- "name": "UmSnackbar",
11006
- "module": "src/snackbar/snackbar.ts"
11005
+ "name": "UmSwitch",
11006
+ "module": "src/switch/switch.ts"
11007
11007
  }
11008
11008
  },
11009
11009
  {
11010
11010
  "kind": "custom-element-definition",
11011
- "name": "u-snackbar",
11011
+ "name": "u-switch",
11012
11012
  "declaration": {
11013
- "name": "UmSnackbar",
11014
- "module": "src/snackbar/snackbar.ts"
11013
+ "name": "UmSwitch",
11014
+ "module": "src/switch/switch.ts"
11015
11015
  }
11016
11016
  }
11017
11017
  ]
@@ -13141,6 +13141,56 @@
13141
13141
  }
13142
13142
  ]
13143
13143
  },
13144
+ {
13145
+ "kind": "javascript-module",
13146
+ "path": "src/shared/sets/set-base.ts",
13147
+ "declarations": [
13148
+ {
13149
+ "kind": "class",
13150
+ "description": "",
13151
+ "name": "UmSetBase",
13152
+ "members": [
13153
+ {
13154
+ "kind": "field",
13155
+ "name": "alignment",
13156
+ "type": {
13157
+ "text": "'start' | 'center' | 'end'"
13158
+ },
13159
+ "default": "'start'",
13160
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
13161
+ "attribute": "alignment",
13162
+ "reflects": true
13163
+ }
13164
+ ],
13165
+ "attributes": [
13166
+ {
13167
+ "name": "alignment",
13168
+ "type": {
13169
+ "text": "'start' | 'center' | 'end'"
13170
+ },
13171
+ "default": "'start'",
13172
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
13173
+ "fieldName": "alignment"
13174
+ }
13175
+ ],
13176
+ "superclass": {
13177
+ "name": "LitElement",
13178
+ "package": "lit"
13179
+ },
13180
+ "customElement": true
13181
+ }
13182
+ ],
13183
+ "exports": [
13184
+ {
13185
+ "kind": "js",
13186
+ "name": "UmSetBase",
13187
+ "declaration": {
13188
+ "name": "UmSetBase",
13189
+ "module": "src/shared/sets/set-base.ts"
13190
+ }
13191
+ }
13192
+ ]
13193
+ },
13144
13194
  {
13145
13195
  "kind": "javascript-module",
13146
13196
  "path": "src/shared/text-field-base/text-field-base.styles.ts",
@@ -13682,56 +13732,6 @@
13682
13732
  }
13683
13733
  }
13684
13734
  ]
13685
- },
13686
- {
13687
- "kind": "javascript-module",
13688
- "path": "src/shared/sets/set-base.ts",
13689
- "declarations": [
13690
- {
13691
- "kind": "class",
13692
- "description": "",
13693
- "name": "UmSetBase",
13694
- "members": [
13695
- {
13696
- "kind": "field",
13697
- "name": "alignment",
13698
- "type": {
13699
- "text": "'start' | 'center' | 'end'"
13700
- },
13701
- "default": "'start'",
13702
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
13703
- "attribute": "alignment",
13704
- "reflects": true
13705
- }
13706
- ],
13707
- "attributes": [
13708
- {
13709
- "name": "alignment",
13710
- "type": {
13711
- "text": "'start' | 'center' | 'end'"
13712
- },
13713
- "default": "'start'",
13714
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
13715
- "fieldName": "alignment"
13716
- }
13717
- ],
13718
- "superclass": {
13719
- "name": "LitElement",
13720
- "package": "lit"
13721
- },
13722
- "customElement": true
13723
- }
13724
- ],
13725
- "exports": [
13726
- {
13727
- "kind": "js",
13728
- "name": "UmSetBase",
13729
- "declaration": {
13730
- "name": "UmSetBase",
13731
- "module": "src/shared/sets/set-base.ts"
13732
- }
13733
- }
13734
- ]
13735
13735
  }
13736
13736
  ]
13737
13737
  }