@universal-material/web 3.0.61 → 3.0.62

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.
@@ -2656,255 +2656,6 @@
2656
2656
  }
2657
2657
  ]
2658
2658
  },
2659
- {
2660
- "kind": "javascript-module",
2661
- "path": "src/card/card-content.styles.ts",
2662
- "declarations": [
2663
- {
2664
- "kind": "variable",
2665
- "name": "styles",
2666
- "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`"
2667
- }
2668
- ],
2669
- "exports": [
2670
- {
2671
- "kind": "js",
2672
- "name": "styles",
2673
- "declaration": {
2674
- "name": "styles",
2675
- "module": "src/card/card-content.styles.ts"
2676
- }
2677
- }
2678
- ]
2679
- },
2680
- {
2681
- "kind": "javascript-module",
2682
- "path": "src/card/card-content.ts",
2683
- "declarations": [
2684
- {
2685
- "kind": "class",
2686
- "description": "",
2687
- "name": "UmCardContent",
2688
- "members": [
2689
- {
2690
- "kind": "field",
2691
- "name": "hasContent",
2692
- "type": {
2693
- "text": "boolean"
2694
- },
2695
- "default": "false",
2696
- "attribute": "has-content",
2697
- "reflects": true
2698
- },
2699
- {
2700
- "kind": "method",
2701
- "name": "handleSlotChange",
2702
- "privacy": "private",
2703
- "parameters": [
2704
- {
2705
- "name": "e",
2706
- "type": {
2707
- "text": "Event"
2708
- }
2709
- }
2710
- ]
2711
- }
2712
- ],
2713
- "attributes": [
2714
- {
2715
- "name": "has-content",
2716
- "type": {
2717
- "text": "boolean"
2718
- },
2719
- "default": "false",
2720
- "fieldName": "hasContent"
2721
- }
2722
- ],
2723
- "superclass": {
2724
- "name": "LitElement",
2725
- "package": "lit"
2726
- },
2727
- "tagName": "u-card-content",
2728
- "customElement": true
2729
- }
2730
- ],
2731
- "exports": [
2732
- {
2733
- "kind": "js",
2734
- "name": "UmCardContent",
2735
- "declaration": {
2736
- "name": "UmCardContent",
2737
- "module": "src/card/card-content.ts"
2738
- }
2739
- },
2740
- {
2741
- "kind": "custom-element-definition",
2742
- "name": "u-card-content",
2743
- "declaration": {
2744
- "name": "UmCardContent",
2745
- "module": "src/card/card-content.ts"
2746
- }
2747
- }
2748
- ]
2749
- },
2750
- {
2751
- "kind": "javascript-module",
2752
- "path": "src/card/card-media.styles.ts",
2753
- "declarations": [
2754
- {
2755
- "kind": "variable",
2756
- "name": "styles",
2757
- "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`"
2758
- }
2759
- ],
2760
- "exports": [
2761
- {
2762
- "kind": "js",
2763
- "name": "styles",
2764
- "declaration": {
2765
- "name": "styles",
2766
- "module": "src/card/card-media.styles.ts"
2767
- }
2768
- }
2769
- ]
2770
- },
2771
- {
2772
- "kind": "javascript-module",
2773
- "path": "src/card/card-media.ts",
2774
- "declarations": [
2775
- {
2776
- "kind": "class",
2777
- "description": "",
2778
- "name": "UmCardMedia",
2779
- "members": [
2780
- {
2781
- "kind": "field",
2782
- "name": "wide",
2783
- "type": {
2784
- "text": "boolean"
2785
- },
2786
- "default": "false",
2787
- "attribute": "wide",
2788
- "reflects": true
2789
- }
2790
- ],
2791
- "attributes": [
2792
- {
2793
- "name": "wide",
2794
- "type": {
2795
- "text": "boolean"
2796
- },
2797
- "default": "false",
2798
- "fieldName": "wide"
2799
- }
2800
- ],
2801
- "superclass": {
2802
- "name": "LitElement",
2803
- "package": "lit"
2804
- },
2805
- "tagName": "u-card-media",
2806
- "customElement": true
2807
- }
2808
- ],
2809
- "exports": [
2810
- {
2811
- "kind": "js",
2812
- "name": "UmCardMedia",
2813
- "declaration": {
2814
- "name": "UmCardMedia",
2815
- "module": "src/card/card-media.ts"
2816
- }
2817
- },
2818
- {
2819
- "kind": "custom-element-definition",
2820
- "name": "u-card-media",
2821
- "declaration": {
2822
- "name": "UmCardMedia",
2823
- "module": "src/card/card-media.ts"
2824
- }
2825
- }
2826
- ]
2827
- },
2828
- {
2829
- "kind": "javascript-module",
2830
- "path": "src/card/card.styles.ts",
2831
- "declarations": [
2832
- {
2833
- "kind": "variable",
2834
- "name": "styles",
2835
- "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`"
2836
- }
2837
- ],
2838
- "exports": [
2839
- {
2840
- "kind": "js",
2841
- "name": "styles",
2842
- "declaration": {
2843
- "name": "styles",
2844
- "module": "src/card/card.styles.ts"
2845
- }
2846
- }
2847
- ]
2848
- },
2849
- {
2850
- "kind": "javascript-module",
2851
- "path": "src/card/card.ts",
2852
- "declarations": [
2853
- {
2854
- "kind": "class",
2855
- "description": "",
2856
- "name": "UmCard",
2857
- "members": [
2858
- {
2859
- "kind": "field",
2860
- "name": "variant",
2861
- "type": {
2862
- "text": "UmCardVariant"
2863
- },
2864
- "default": "'filled'",
2865
- "description": "The Card variant to render.",
2866
- "attribute": "variant",
2867
- "reflects": true
2868
- }
2869
- ],
2870
- "attributes": [
2871
- {
2872
- "name": "variant",
2873
- "type": {
2874
- "text": "UmCardVariant"
2875
- },
2876
- "default": "'filled'",
2877
- "description": "The Card variant to render.",
2878
- "fieldName": "variant"
2879
- }
2880
- ],
2881
- "superclass": {
2882
- "name": "LitElement",
2883
- "package": "lit"
2884
- },
2885
- "tagName": "u-card",
2886
- "customElement": true
2887
- }
2888
- ],
2889
- "exports": [
2890
- {
2891
- "kind": "js",
2892
- "name": "UmCard",
2893
- "declaration": {
2894
- "name": "UmCard",
2895
- "module": "src/card/card.ts"
2896
- }
2897
- },
2898
- {
2899
- "kind": "custom-element-definition",
2900
- "name": "u-card",
2901
- "declaration": {
2902
- "name": "UmCard",
2903
- "module": "src/card/card.ts"
2904
- }
2905
- }
2906
- ]
2907
- },
2908
2659
  {
2909
2660
  "kind": "javascript-module",
2910
2661
  "path": "src/checkbox/checkbox-list-item.ts",
@@ -3614,12 +3365,12 @@
3614
3365
  },
3615
3366
  {
3616
3367
  "kind": "javascript-module",
3617
- "path": "src/chip/chip-set.styles.ts",
3368
+ "path": "src/card/card-content.styles.ts",
3618
3369
  "declarations": [
3619
3370
  {
3620
3371
  "kind": "variable",
3621
3372
  "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`"
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`"
3623
3374
  }
3624
3375
  ],
3625
3376
  "exports": [
@@ -3628,14 +3379,263 @@
3628
3379
  "name": "styles",
3629
3380
  "declaration": {
3630
3381
  "name": "styles",
3631
- "module": "src/chip/chip-set.styles.ts"
3382
+ "module": "src/card/card-content.styles.ts"
3632
3383
  }
3633
3384
  }
3634
3385
  ]
3635
3386
  },
3636
3387
  {
3637
3388
  "kind": "javascript-module",
3638
- "path": "src/chip/chip-set.ts",
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"
3632
+ }
3633
+ }
3634
+ ]
3635
+ },
3636
+ {
3637
+ "kind": "javascript-module",
3638
+ "path": "src/chip/chip-set.ts",
3639
3639
  "declarations": [
3640
3640
  {
3641
3641
  "kind": "class",
@@ -8816,246 +8816,7 @@
8816
8816
  },
8817
8817
  {
8818
8818
  "kind": "javascript-module",
8819
- "path": "src/ripple/ripple.styles.ts",
8820
- "declarations": [
8821
- {
8822
- "kind": "variable",
8823
- "name": "styles",
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`"
8825
- }
8826
- ],
8827
- "exports": [
8828
- {
8829
- "kind": "js",
8830
- "name": "styles",
8831
- "declaration": {
8832
- "name": "styles",
8833
- "module": "src/ripple/ripple.styles.ts"
8834
- }
8835
- }
8836
- ]
8837
- },
8838
- {
8839
- "kind": "javascript-module",
8840
- "path": "src/ripple/ripple.ts",
8841
- "declarations": [
8842
- {
8843
- "kind": "class",
8844
- "description": "",
8845
- "name": "UmRipple",
8846
- "members": [
8847
- {
8848
- "kind": "field",
8849
- "name": "isTouching",
8850
- "type": {
8851
- "text": "boolean"
8852
- },
8853
- "privacy": "private",
8854
- "default": "false"
8855
- },
8856
- {
8857
- "kind": "field",
8858
- "name": "disabled",
8859
- "type": {
8860
- "text": "boolean"
8861
- },
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"
8874
- },
8875
- {
8876
- "kind": "method",
8877
- "name": "attachEvents",
8878
- "privacy": "private",
8879
- "return": {
8880
- "type": {
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"
8902
- }
8903
- },
8904
- "parameters": [
8905
- {
8906
- "name": "e",
8907
- "type": {
8908
- "text": "MouseEvent"
8909
- }
8910
- }
8911
- ]
8912
- },
8913
- {
8914
- "kind": "method",
8915
- "name": "handleTouchStart",
8916
- "privacy": "private",
8917
- "return": {
8918
- "type": {
8919
- "text": "void"
8920
- }
8921
- },
8922
- "parameters": [
8923
- {
8924
- "name": "e",
8925
- "type": {
8926
- "text": "TouchEvent"
8927
- }
8928
- }
8929
- ]
8930
- },
8931
- {
8932
- "kind": "method",
8933
- "name": "canCreateRipple",
8934
- "privacy": "private",
8935
- "return": {
8936
- "type": {
8937
- "text": "boolean"
8938
- }
8939
- }
8940
- },
8941
- {
8942
- "kind": "method",
8943
- "name": "createRipple",
8944
- "return": {
8945
- "type": {
8946
- "text": "(() => void) | null"
8947
- }
8948
- },
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
- ]
8972
- },
8973
- {
8974
- "kind": "method",
8975
- "name": "createDismissEvent",
8976
- "privacy": "private",
8977
- "return": {
8978
- "type": {
8979
- "text": "() => void"
8980
- }
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
- ]
8996
- },
8997
- {
8998
- "kind": "method",
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
- }
9014
- }
9015
- ]
9016
- }
9017
- ],
9018
- "attributes": [
9019
- {
9020
- "name": "disabled",
9021
- "type": {
9022
- "text": "boolean"
9023
- },
9024
- "default": "false",
9025
- "description": "Disables the ripple.",
9026
- "fieldName": "disabled"
9027
- }
9028
- ],
9029
- "superclass": {
9030
- "name": "LitElement",
9031
- "package": "lit"
9032
- },
9033
- "tagName": "u-ripple",
9034
- "customElement": true
9035
- }
9036
- ],
9037
- "exports": [
9038
- {
9039
- "kind": "js",
9040
- "name": "UmRipple",
9041
- "declaration": {
9042
- "name": "UmRipple",
9043
- "module": "src/ripple/ripple.ts"
9044
- }
9045
- },
9046
- {
9047
- "kind": "custom-element-definition",
9048
- "name": "u-ripple",
9049
- "declaration": {
9050
- "name": "UmRipple",
9051
- "module": "src/ripple/ripple.ts"
9052
- }
9053
- }
9054
- ]
9055
- },
9056
- {
9057
- "kind": "javascript-module",
9058
- "path": "src/radio/radio-list-item.ts",
8819
+ "path": "src/radio/radio-list-item.ts",
9059
8820
  "declarations": [
9060
8821
  {
9061
8822
  "kind": "class",
@@ -9772,12 +9533,12 @@
9772
9533
  },
9773
9534
  {
9774
9535
  "kind": "javascript-module",
9775
- "path": "src/shared/base.styles.ts",
9536
+ "path": "src/ripple/ripple.styles.ts",
9776
9537
  "declarations": [
9777
9538
  {
9778
9539
  "kind": "variable",
9779
9540
  "name": "styles",
9780
- "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`"
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`"
9781
9542
  }
9782
9543
  ],
9783
9544
  "exports": [
@@ -9786,20 +9547,29 @@
9786
9547
  "name": "styles",
9787
9548
  "declaration": {
9788
9549
  "name": "styles",
9789
- "module": "src/shared/base.styles.ts"
9550
+ "module": "src/ripple/ripple.styles.ts"
9790
9551
  }
9791
9552
  }
9792
9553
  ]
9793
9554
  },
9794
9555
  {
9795
9556
  "kind": "javascript-module",
9796
- "path": "src/shared/button-wrapper.ts",
9557
+ "path": "src/ripple/ripple.ts",
9797
9558
  "declarations": [
9798
9559
  {
9799
9560
  "kind": "class",
9800
9561
  "description": "",
9801
- "name": "UmButtonWrapper",
9562
+ "name": "UmRipple",
9802
9563
  "members": [
9564
+ {
9565
+ "kind": "field",
9566
+ "name": "isTouching",
9567
+ "type": {
9568
+ "text": "boolean"
9569
+ },
9570
+ "privacy": "private",
9571
+ "default": "false"
9572
+ },
9803
9573
  {
9804
9574
  "kind": "field",
9805
9575
  "name": "disabled",
@@ -9807,7 +9577,237 @@
9807
9577
  "text": "boolean"
9808
9578
  },
9809
9579
  "default": "false",
9810
- "description": "Whether the button is disabled or not.",
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
+ {
9774
+ "kind": "javascript-module",
9775
+ "path": "src/shared/base.styles.ts",
9776
+ "declarations": [
9777
+ {
9778
+ "kind": "variable",
9779
+ "name": "styles",
9780
+ "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`"
9781
+ }
9782
+ ],
9783
+ "exports": [
9784
+ {
9785
+ "kind": "js",
9786
+ "name": "styles",
9787
+ "declaration": {
9788
+ "name": "styles",
9789
+ "module": "src/shared/base.styles.ts"
9790
+ }
9791
+ }
9792
+ ]
9793
+ },
9794
+ {
9795
+ "kind": "javascript-module",
9796
+ "path": "src/shared/button-wrapper.ts",
9797
+ "declarations": [
9798
+ {
9799
+ "kind": "class",
9800
+ "description": "",
9801
+ "name": "UmButtonWrapper",
9802
+ "members": [
9803
+ {
9804
+ "kind": "field",
9805
+ "name": "disabled",
9806
+ "type": {
9807
+ "text": "boolean"
9808
+ },
9809
+ "default": "false",
9810
+ "description": "Whether the button is disabled or not.",
9811
9811
  "attribute": "disabled",
9812
9812
  "reflects": true
9813
9813
  },
@@ -10150,278 +10150,7 @@
10150
10150
  },
10151
10151
  {
10152
10152
  "kind": "javascript-module",
10153
- "path": "src/snackbar/snackbar.styles.ts",
10154
- "declarations": [
10155
- {
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": [
10181
- {
10182
- "kind": "field",
10183
- "name": "label",
10184
- "type": {
10185
- "text": "string"
10186
- },
10187
- "default": "''",
10188
- "attribute": "label",
10189
- "reflects": true
10190
- },
10191
- {
10192
- "kind": "field",
10193
- "name": "buttonLabel",
10194
- "type": {
10195
- "text": "string"
10196
- },
10197
- "default": "''",
10198
- "attribute": "buttonLabel",
10199
- "reflects": true
10200
- },
10201
- {
10202
- "kind": "field",
10203
- "name": "showClose",
10204
- "type": {
10205
- "text": "boolean"
10206
- },
10207
- "default": "false",
10208
- "attribute": "show-close",
10209
- "reflects": true
10210
- },
10211
- {
10212
- "kind": "field",
10213
- "name": "dismissed",
10214
- "type": {
10215
- "text": "boolean"
10216
- },
10217
- "default": "false",
10218
- "attribute": "dismissed",
10219
- "reflects": true
10220
- },
10221
- {
10222
- "kind": "field",
10223
- "name": "duration",
10224
- "type": {
10225
- "text": "SnackbarDuration"
10226
- },
10227
- "privacy": "private"
10228
- },
10229
- {
10230
- "kind": "field",
10231
- "name": "snackbar",
10232
- "type": {
10233
- "text": "HTMLElement"
10234
- },
10235
- "privacy": "private"
10236
- },
10237
- {
10238
- "kind": "method",
10239
- "name": "renderButton",
10240
- "privacy": "private"
10241
- },
10242
- {
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
- }
10254
- }
10255
- },
10256
- {
10257
- "kind": "field",
10258
- "name": "_queue",
10259
- "type": {
10260
- "text": "UmSnackbar[]"
10261
- },
10262
- "privacy": "private",
10263
- "static": true,
10264
- "default": "[]"
10265
- },
10266
- {
10267
- "kind": "field",
10268
- "name": "_consuming",
10269
- "type": {
10270
- "text": "boolean"
10271
- },
10272
- "privacy": "private",
10273
- "static": true
10274
- },
10275
- {
10276
- "kind": "method",
10277
- "name": "show",
10278
- "static": true,
10279
- "return": {
10280
- "type": {
10281
- "text": "UmSnackbar"
10282
- }
10283
- },
10284
- "parameters": [
10285
- {
10286
- "name": "label",
10287
- "type": {
10288
- "text": "string"
10289
- }
10290
- }
10291
- ]
10292
- },
10293
- {
10294
- "kind": "method",
10295
- "name": "show",
10296
- "static": true,
10297
- "return": {
10298
- "type": {
10299
- "text": "UmSnackbar"
10300
- }
10301
- },
10302
- "parameters": [
10303
- {
10304
- "name": "config",
10305
- "type": {
10306
- "text": "SnackbarConfig"
10307
- }
10308
- }
10309
- ]
10310
- },
10311
- {
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
- ]
10328
- },
10329
- {
10330
- "kind": "method",
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
- "parameters": [
10352
- {
10353
- "name": "config",
10354
- "type": {
10355
- "text": "SnackbarConfig"
10356
- }
10357
- }
10358
- ]
10359
- }
10360
- ],
10361
- "attributes": [
10362
- {
10363
- "name": "label",
10364
- "type": {
10365
- "text": "string"
10366
- },
10367
- "default": "''",
10368
- "fieldName": "label"
10369
- },
10370
- {
10371
- "name": "buttonLabel",
10372
- "type": {
10373
- "text": "string"
10374
- },
10375
- "default": "''",
10376
- "fieldName": "buttonLabel"
10377
- },
10378
- {
10379
- "name": "show-close",
10380
- "type": {
10381
- "text": "boolean"
10382
- },
10383
- "default": "false",
10384
- "fieldName": "showClose"
10385
- },
10386
- {
10387
- "name": "dismissed",
10388
- "type": {
10389
- "text": "boolean"
10390
- },
10391
- "default": "false",
10392
- "fieldName": "dismissed"
10393
- }
10394
- ],
10395
- "superclass": {
10396
- "name": "LitElement",
10397
- "package": "lit"
10398
- },
10399
- "tagName": "u-snackbar",
10400
- "customElement": true
10401
- }
10402
- ],
10403
- "exports": [
10404
- {
10405
- "kind": "js",
10406
- "name": "UmSnackbar",
10407
- "declaration": {
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"
10418
- }
10419
- }
10420
- ]
10421
- },
10422
- {
10423
- "kind": "javascript-module",
10424
- "path": "src/switch/switch-list-item.ts",
10153
+ "path": "src/switch/switch-list-item.ts",
10425
10154
  "declarations": [
10426
10155
  {
10427
10156
  "kind": "class",
@@ -10881,137 +10610,408 @@
10881
10610
  }
10882
10611
  },
10883
10612
  {
10884
- "kind": "field",
10885
- "name": "value",
10886
- "type": {
10887
- "text": "string"
10613
+ "kind": "field",
10614
+ "name": "value",
10615
+ "type": {
10616
+ "text": "string"
10617
+ },
10618
+ "default": "'on'",
10619
+ "description": "The element value to use in form submission when checked.",
10620
+ "attribute": "value",
10621
+ "inheritedFrom": {
10622
+ "name": "UmSelectionControl",
10623
+ "module": "src/shared/selection-control/selection-control.ts"
10624
+ }
10625
+ },
10626
+ {
10627
+ "kind": "field",
10628
+ "name": "checked",
10629
+ "attribute": "checked",
10630
+ "inheritedFrom": {
10631
+ "name": "UmSelectionControl",
10632
+ "module": "src/shared/selection-control/selection-control.ts"
10633
+ }
10634
+ },
10635
+ {
10636
+ "kind": "method",
10637
+ "name": "#handleClick",
10638
+ "parameters": [
10639
+ {
10640
+ "name": "e",
10641
+ "type": {
10642
+ "text": "Event"
10643
+ }
10644
+ }
10645
+ ],
10646
+ "inheritedFrom": {
10647
+ "name": "UmSelectionControl",
10648
+ "module": "src/shared/selection-control/selection-control.ts"
10649
+ }
10650
+ }
10651
+ ],
10652
+ "superclass": {
10653
+ "name": "UmSelectionControl",
10654
+ "module": "/src/shared/selection-control/selection-control.js"
10655
+ },
10656
+ "tagName": "u-switch",
10657
+ "customElement": true,
10658
+ "attributes": [
10659
+ {
10660
+ "name": "name",
10661
+ "type": {
10662
+ "text": "string | undefined"
10663
+ },
10664
+ "default": "''",
10665
+ "fieldName": "name",
10666
+ "inheritedFrom": {
10667
+ "name": "UmSelectionControl",
10668
+ "module": "src/shared/selection-control/selection-control.ts"
10669
+ }
10670
+ },
10671
+ {
10672
+ "name": "disabled",
10673
+ "type": {
10674
+ "text": "boolean"
10675
+ },
10676
+ "default": "false",
10677
+ "fieldName": "disabled",
10678
+ "inheritedFrom": {
10679
+ "name": "UmSelectionControl",
10680
+ "module": "src/shared/selection-control/selection-control.ts"
10681
+ }
10682
+ },
10683
+ {
10684
+ "name": "value",
10685
+ "type": {
10686
+ "text": "string"
10687
+ },
10688
+ "default": "'on'",
10689
+ "description": "The element value to use in form submission when checked.",
10690
+ "fieldName": "value",
10691
+ "inheritedFrom": {
10692
+ "name": "UmSelectionControl",
10693
+ "module": "src/shared/selection-control/selection-control.ts"
10694
+ }
10695
+ },
10696
+ {
10697
+ "name": "checked",
10698
+ "fieldName": "checked",
10699
+ "inheritedFrom": {
10700
+ "name": "UmSelectionControl",
10701
+ "module": "src/shared/selection-control/selection-control.ts"
10702
+ }
10703
+ }
10704
+ ],
10705
+ "events": [
10706
+ {
10707
+ "name": "input",
10708
+ "type": {
10709
+ "text": "InputEvent"
10710
+ },
10711
+ "inheritedFrom": {
10712
+ "name": "UmSelectionControl",
10713
+ "module": "src/shared/selection-control/selection-control.ts"
10714
+ }
10715
+ },
10716
+ {
10717
+ "name": "change",
10718
+ "type": {
10719
+ "text": "Event"
10720
+ },
10721
+ "inheritedFrom": {
10722
+ "name": "UmSelectionControl",
10723
+ "module": "src/shared/selection-control/selection-control.ts"
10724
+ }
10725
+ }
10726
+ ]
10727
+ }
10728
+ ],
10729
+ "exports": [
10730
+ {
10731
+ "kind": "js",
10732
+ "name": "UmSwitch",
10733
+ "declaration": {
10734
+ "name": "UmSwitch",
10735
+ "module": "src/switch/switch.ts"
10736
+ }
10737
+ },
10738
+ {
10739
+ "kind": "custom-element-definition",
10740
+ "name": "u-switch",
10741
+ "declaration": {
10742
+ "name": "UmSwitch",
10743
+ "module": "src/switch/switch.ts"
10744
+ }
10745
+ }
10746
+ ]
10747
+ },
10748
+ {
10749
+ "kind": "javascript-module",
10750
+ "path": "src/snackbar/snackbar.styles.ts",
10751
+ "declarations": [
10752
+ {
10753
+ "kind": "variable",
10754
+ "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`"
10756
+ }
10757
+ ],
10758
+ "exports": [
10759
+ {
10760
+ "kind": "js",
10761
+ "name": "styles",
10762
+ "declaration": {
10763
+ "name": "styles",
10764
+ "module": "src/snackbar/snackbar.styles.ts"
10765
+ }
10766
+ }
10767
+ ]
10768
+ },
10769
+ {
10770
+ "kind": "javascript-module",
10771
+ "path": "src/snackbar/snackbar.ts",
10772
+ "declarations": [
10773
+ {
10774
+ "kind": "class",
10775
+ "description": "",
10776
+ "name": "UmSnackbar",
10777
+ "members": [
10778
+ {
10779
+ "kind": "field",
10780
+ "name": "label",
10781
+ "type": {
10782
+ "text": "string"
10783
+ },
10784
+ "default": "''",
10785
+ "attribute": "label",
10786
+ "reflects": true
10787
+ },
10788
+ {
10789
+ "kind": "field",
10790
+ "name": "buttonLabel",
10791
+ "type": {
10792
+ "text": "string"
10793
+ },
10794
+ "default": "''",
10795
+ "attribute": "buttonLabel",
10796
+ "reflects": true
10797
+ },
10798
+ {
10799
+ "kind": "field",
10800
+ "name": "showClose",
10801
+ "type": {
10802
+ "text": "boolean"
10803
+ },
10804
+ "default": "false",
10805
+ "attribute": "show-close",
10806
+ "reflects": true
10807
+ },
10808
+ {
10809
+ "kind": "field",
10810
+ "name": "dismissed",
10811
+ "type": {
10812
+ "text": "boolean"
10813
+ },
10814
+ "default": "false",
10815
+ "attribute": "dismissed",
10816
+ "reflects": true
10817
+ },
10818
+ {
10819
+ "kind": "field",
10820
+ "name": "duration",
10821
+ "type": {
10822
+ "text": "SnackbarDuration"
10823
+ },
10824
+ "privacy": "private"
10825
+ },
10826
+ {
10827
+ "kind": "field",
10828
+ "name": "snackbar",
10829
+ "type": {
10830
+ "text": "HTMLElement"
10831
+ },
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
+ }
10851
+ }
10852
+ },
10853
+ {
10854
+ "kind": "field",
10855
+ "name": "_queue",
10856
+ "type": {
10857
+ "text": "UmSnackbar[]"
10858
+ },
10859
+ "privacy": "private",
10860
+ "static": true,
10861
+ "default": "[]"
10862
+ },
10863
+ {
10864
+ "kind": "field",
10865
+ "name": "_consuming",
10866
+ "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
+ }
10880
+ },
10881
+ "parameters": [
10882
+ {
10883
+ "name": "label",
10884
+ "type": {
10885
+ "text": "string"
10886
+ }
10887
+ }
10888
+ ]
10889
+ },
10890
+ {
10891
+ "kind": "method",
10892
+ "name": "show",
10893
+ "static": true,
10894
+ "return": {
10895
+ "type": {
10896
+ "text": "UmSnackbar"
10897
+ }
10898
+ },
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
+ }
10888
10916
  },
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
- }
10917
+ "parameters": [
10918
+ {
10919
+ "name": "configOrLabel",
10920
+ "type": {
10921
+ "text": "SnackbarConfig | string"
10922
+ }
10923
+ }
10924
+ ]
10896
10925
  },
10897
10926
  {
10898
- "kind": "field",
10899
- "name": "checked",
10900
- "attribute": "checked",
10901
- "inheritedFrom": {
10902
- "name": "UmSelectionControl",
10903
- "module": "src/shared/selection-control/selection-control.ts"
10904
- }
10927
+ "kind": "method",
10928
+ "name": "consumeQueue",
10929
+ "privacy": "private",
10930
+ "static": true
10905
10931
  },
10906
10932
  {
10907
10933
  "kind": "method",
10908
- "name": "#handleClick",
10934
+ "name": "showNext",
10935
+ "privacy": "private",
10936
+ "static": true
10937
+ },
10938
+ {
10939
+ "kind": "method",
10940
+ "name": "createSnackbar",
10941
+ "privacy": "private",
10942
+ "static": true,
10943
+ "return": {
10944
+ "type": {
10945
+ "text": "UmSnackbar"
10946
+ }
10947
+ },
10909
10948
  "parameters": [
10910
10949
  {
10911
- "name": "e",
10950
+ "name": "config",
10912
10951
  "type": {
10913
- "text": "Event"
10952
+ "text": "SnackbarConfig"
10914
10953
  }
10915
10954
  }
10916
- ],
10917
- "inheritedFrom": {
10918
- "name": "UmSelectionControl",
10919
- "module": "src/shared/selection-control/selection-control.ts"
10920
- }
10955
+ ]
10921
10956
  }
10922
10957
  ],
10923
- "superclass": {
10924
- "name": "UmSelectionControl",
10925
- "module": "/src/shared/selection-control/selection-control.js"
10926
- },
10927
- "tagName": "u-switch",
10928
- "customElement": true,
10929
10958
  "attributes": [
10930
10959
  {
10931
- "name": "name",
10960
+ "name": "label",
10932
10961
  "type": {
10933
- "text": "string | undefined"
10962
+ "text": "string"
10934
10963
  },
10935
10964
  "default": "''",
10936
- "fieldName": "name",
10937
- "inheritedFrom": {
10938
- "name": "UmSelectionControl",
10939
- "module": "src/shared/selection-control/selection-control.ts"
10940
- }
10941
- },
10942
- {
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
- }
10965
+ "fieldName": "label"
10953
10966
  },
10954
10967
  {
10955
- "name": "value",
10968
+ "name": "buttonLabel",
10956
10969
  "type": {
10957
10970
  "text": "string"
10958
10971
  },
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
- }
10972
+ "default": "''",
10973
+ "fieldName": "buttonLabel"
10966
10974
  },
10967
10975
  {
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",
10976
+ "name": "show-close",
10979
10977
  "type": {
10980
- "text": "InputEvent"
10978
+ "text": "boolean"
10981
10979
  },
10982
- "inheritedFrom": {
10983
- "name": "UmSelectionControl",
10984
- "module": "src/shared/selection-control/selection-control.ts"
10985
- }
10980
+ "default": "false",
10981
+ "fieldName": "showClose"
10986
10982
  },
10987
10983
  {
10988
- "name": "change",
10984
+ "name": "dismissed",
10989
10985
  "type": {
10990
- "text": "Event"
10986
+ "text": "boolean"
10991
10987
  },
10992
- "inheritedFrom": {
10993
- "name": "UmSelectionControl",
10994
- "module": "src/shared/selection-control/selection-control.ts"
10995
- }
10988
+ "default": "false",
10989
+ "fieldName": "dismissed"
10996
10990
  }
10997
- ]
10991
+ ],
10992
+ "superclass": {
10993
+ "name": "LitElement",
10994
+ "package": "lit"
10995
+ },
10996
+ "tagName": "u-snackbar",
10997
+ "customElement": true
10998
10998
  }
10999
10999
  ],
11000
11000
  "exports": [
11001
11001
  {
11002
11002
  "kind": "js",
11003
- "name": "UmSwitch",
11003
+ "name": "UmSnackbar",
11004
11004
  "declaration": {
11005
- "name": "UmSwitch",
11006
- "module": "src/switch/switch.ts"
11005
+ "name": "UmSnackbar",
11006
+ "module": "src/snackbar/snackbar.ts"
11007
11007
  }
11008
11008
  },
11009
11009
  {
11010
11010
  "kind": "custom-element-definition",
11011
- "name": "u-switch",
11011
+ "name": "u-snackbar",
11012
11012
  "declaration": {
11013
- "name": "UmSwitch",
11014
- "module": "src/switch/switch.ts"
11013
+ "name": "UmSnackbar",
11014
+ "module": "src/snackbar/snackbar.ts"
11015
11015
  }
11016
11016
  }
11017
11017
  ]
@@ -12884,56 +12884,6 @@
12884
12884
  }
12885
12885
  ]
12886
12886
  },
12887
- {
12888
- "kind": "javascript-module",
12889
- "path": "src/shared/sets/set-base.ts",
12890
- "declarations": [
12891
- {
12892
- "kind": "class",
12893
- "description": "",
12894
- "name": "UmSetBase",
12895
- "members": [
12896
- {
12897
- "kind": "field",
12898
- "name": "alignment",
12899
- "type": {
12900
- "text": "'start' | 'center' | 'end'"
12901
- },
12902
- "default": "'start'",
12903
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
12904
- "attribute": "alignment",
12905
- "reflects": true
12906
- }
12907
- ],
12908
- "attributes": [
12909
- {
12910
- "name": "alignment",
12911
- "type": {
12912
- "text": "'start' | 'center' | 'end'"
12913
- },
12914
- "default": "'start'",
12915
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
12916
- "fieldName": "alignment"
12917
- }
12918
- ],
12919
- "superclass": {
12920
- "name": "LitElement",
12921
- "package": "lit"
12922
- },
12923
- "customElement": true
12924
- }
12925
- ],
12926
- "exports": [
12927
- {
12928
- "kind": "js",
12929
- "name": "UmSetBase",
12930
- "declaration": {
12931
- "name": "UmSetBase",
12932
- "module": "src/shared/sets/set-base.ts"
12933
- }
12934
- }
12935
- ]
12936
- },
12937
12887
  {
12938
12888
  "kind": "javascript-module",
12939
12889
  "path": "src/shared/selection-control/selection-control-list-item.ts",
@@ -13732,6 +13682,56 @@
13732
13682
  }
13733
13683
  }
13734
13684
  ]
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
  }