@universal-material/web 3.0.79 → 3.0.80

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.
@@ -336,12 +336,12 @@
336
336
  },
337
337
  {
338
338
  "kind": "javascript-module",
339
- "path": "src/button/button-base.styles.ts",
339
+ "path": "src/app-bar/top-app-bar.styles.ts",
340
340
  "declarations": [
341
341
  {
342
342
  "kind": "variable",
343
343
  "name": "styles",
344
- "default": "css `\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n`"
344
+ "default": "css `\n :host {\n display: block;\n background-color: var(--u-top-app-bar-bg-color, var(--u-color-body, var(--u-color-surface, rgb(254, 247, 255))));\n color: var(--u-top-app-bar-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n transition: background-color 100ms, inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n\n :host([container-scrolled]) {\n background-color: var(--u-top-app-bar-elevated-bg-color, var(--u-color-surface-container, rgb(243, 237, 247)));\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 slot[name=leading-icon],\n slot[name=trailing-icon] {\n display: inline-flex;\n align-items: center;\n gap: var(--u-top-app-bar-icons-gap, 8px);\n }\n\n slot[name=leading-icon]::slotted(u-icon-button) {\n color: inherit;\n }\n\n :host([position=absolute]) .content {\n position: absolute;\n }\n\n :host([position=fixed]) .content {\n position: fixed;\n inset-inline: 0;\n inset-block-start: 0;\n inset-inline-start: var(--u-app-bar-offset, 0);\n }\n\n :host([position=absolute]),\n :host([position=fixed]) {\n padding-top: var(--_content-height);\n }\n :host([position=absolute]) .content,\n :host([position=fixed]) .content {\n z-index: var(--u-fixed-app-bar-z-index, 1010);\n }\n\n .content {\n display: flex;\n align-items: center;\n background-color: inherit;\n transition: inherit;\n min-height: var(--u-top-app-bar-min-height, 56px);\n }\n @media (min-width: 840px) {\n .content {\n min-height: var(--u-top-app-bar-extended-min-height, 64px);\n }\n }\n\n .headline {\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-top-app-bar-headline-line-height, var(--u-title-l-line-height, 1.75rem));\n font-size: var(--u-top-app-bar-headline-font-size, var(--u-title-l-font-size, 1.375rem));\n letter-spacing: var(--u-top-app-bar-headline-letter-spacing, var(--u-title-l-letter-spacing, 0rem));\n font-weight: var(--u-top-app-bar-headline-font-weight, var(--u-title-l-font-weight, var(--u-font-weight-regular, 400)));\n margin-inline: var(--u-headline-margin, 16px);\n }\n\n .leading-icon {\n margin-inline: var(--u-leading-icon-margin, 8px);\n }\n .leading-icon + .headline {\n margin-inline-start: 0;\n }\n\n .trailing-icon {\n padding-inline: var(--u-trailing-icon-margin, 8px);\n margin-inline-start: auto;\n }\n`"
345
345
  }
346
346
  ],
347
347
  "exports": [
@@ -350,386 +350,247 @@
350
350
  "name": "styles",
351
351
  "declaration": {
352
352
  "name": "styles",
353
- "module": "src/button/button-base.styles.ts"
353
+ "module": "src/app-bar/top-app-bar.styles.ts"
354
354
  }
355
355
  }
356
356
  ]
357
357
  },
358
358
  {
359
359
  "kind": "javascript-module",
360
- "path": "src/button/button-base.ts",
360
+ "path": "src/app-bar/top-app-bar.ts",
361
361
  "declarations": [
362
362
  {
363
363
  "kind": "class",
364
364
  "description": "",
365
- "name": "UmButtonBase",
365
+ "name": "UmTopAppBar",
366
366
  "members": [
367
367
  {
368
368
  "kind": "field",
369
- "name": "formAssociated",
369
+ "name": "hasLeadingIcon",
370
370
  "type": {
371
371
  "text": "boolean"
372
372
  },
373
- "static": true,
374
- "default": "true"
373
+ "default": "false",
374
+ "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
375
+ "attribute": "has-leading-icon",
376
+ "reflects": true
375
377
  },
376
378
  {
377
379
  "kind": "field",
378
- "name": "type",
380
+ "name": "hasTrailingIcon",
379
381
  "type": {
380
- "text": "string"
382
+ "text": "boolean"
381
383
  },
382
- "default": "'submit'",
383
- "attribute": "type"
384
+ "default": "false",
385
+ "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
386
+ "attribute": "has-trailing-icon",
387
+ "reflects": true
384
388
  },
385
389
  {
386
390
  "kind": "field",
387
- "name": "value",
391
+ "name": "position",
388
392
  "type": {
389
- "text": "string"
393
+ "text": "'fixed' | 'absolute' | 'static'"
390
394
  },
391
- "default": "''",
392
- "attribute": "value",
395
+ "default": "'fixed'",
396
+ "attribute": "position",
393
397
  "reflects": true
394
398
  },
395
399
  {
396
400
  "kind": "field",
397
- "name": "form",
398
- "type": {
399
- "text": "HTMLFormElement | null"
400
- }
401
- },
402
- {
403
- "kind": "field",
404
- "name": "#elementInternals",
405
- "privacy": "private",
401
+ "name": "scrollContainer",
406
402
  "type": {
407
- "text": "ElementInternals"
408
- }
409
- },
410
- {
411
- "kind": "method",
412
- "name": "handleClick",
413
- "privacy": "protected",
414
- "return": {
415
- "type": {
416
- "text": "void"
417
- }
403
+ "text": "'none' | 'window' | string | undefined"
418
404
  },
419
- "parameters": [
420
- {
421
- "name": "_",
422
- "type": {
423
- "text": "UIEvent"
424
- }
425
- }
426
- ],
427
- "inheritedFrom": {
428
- "name": "UmButtonWrapper",
429
- "module": "src/shared/button-wrapper.ts"
430
- }
405
+ "attribute": "scrollContainer",
406
+ "reflects": true
431
407
  },
432
408
  {
433
409
  "kind": "field",
434
- "name": "disabled",
410
+ "name": "containerScrolled",
435
411
  "type": {
436
412
  "text": "boolean"
437
413
  },
438
414
  "default": "false",
439
- "description": "Whether the button is disabled or not.",
440
- "attribute": "disabled",
441
- "reflects": true,
442
- "inheritedFrom": {
443
- "name": "UmButtonWrapper",
444
- "module": "src/shared/button-wrapper.ts"
445
- }
446
- },
447
- {
448
- "kind": "field",
449
- "name": "renderRipple",
450
- "type": {
451
- "text": "boolean"
452
- },
453
- "default": "true",
454
- "inheritedFrom": {
455
- "name": "UmButtonWrapper",
456
- "module": "src/shared/button-wrapper.ts"
457
- }
458
- },
459
- {
460
- "kind": "field",
461
- "name": "href",
462
- "type": {
463
- "text": "string | undefined"
464
- },
465
- "description": "The URL that the link button points to.",
466
- "attribute": "href",
467
- "inheritedFrom": {
468
- "name": "UmButtonWrapper",
469
- "module": "src/shared/button-wrapper.ts"
470
- }
415
+ "attribute": "container-scrolled",
416
+ "reflects": true
471
417
  },
472
418
  {
473
419
  "kind": "field",
474
- "name": "target",
420
+ "name": "assignedLeadingIcons",
475
421
  "type": {
476
- "text": "string | undefined"
422
+ "text": "HTMLElement[]"
477
423
  },
478
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
479
- "attribute": "target",
480
- "inheritedFrom": {
481
- "name": "UmButtonWrapper",
482
- "module": "src/shared/button-wrapper.ts"
483
- }
424
+ "privacy": "private"
484
425
  },
485
426
  {
486
427
  "kind": "field",
487
- "name": "name",
428
+ "name": "assignedTrailingIcons",
488
429
  "type": {
489
- "text": "string | undefined"
430
+ "text": "HTMLElement[]"
490
431
  },
491
- "attribute": "name",
492
- "inheritedFrom": {
493
- "name": "UmButtonWrapper",
494
- "module": "src/shared/button-wrapper.ts"
495
- }
432
+ "privacy": "private"
496
433
  },
497
434
  {
498
435
  "kind": "field",
499
- "name": "buttonElement",
436
+ "name": "content",
500
437
  "type": {
501
438
  "text": "HTMLElement"
502
- },
503
- "inheritedFrom": {
504
- "name": "UmButtonWrapper",
505
- "module": "src/shared/button-wrapper.ts"
506
439
  }
507
440
  },
508
441
  {
509
442
  "kind": "field",
510
- "name": "ripple",
443
+ "name": "contentSizeObserver",
511
444
  "type": {
512
- "text": "UmRipple"
445
+ "text": "ResizeObserver | null"
513
446
  },
514
447
  "privacy": "private",
515
- "inheritedFrom": {
516
- "name": "UmButtonWrapper",
517
- "module": "src/shared/button-wrapper.ts"
518
- }
519
- },
520
- {
521
- "kind": "field",
522
- "name": "innerRole",
523
- "type": {
524
- "text": "string | null"
525
- },
526
- "privacy": "protected",
527
- "default": "null",
528
- "inheritedFrom": {
529
- "name": "UmButtonWrapper",
530
- "module": "src/shared/button-wrapper.ts"
531
- }
448
+ "default": "null"
532
449
  },
533
450
  {
534
451
  "kind": "field",
535
- "name": "pathname",
452
+ "name": "scrollContainerElement",
536
453
  "type": {
537
- "text": "string"
454
+ "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
538
455
  },
539
- "inheritedFrom": {
540
- "name": "UmButtonWrapper",
541
- "module": "src/shared/button-wrapper.ts"
542
- }
543
- },
544
- {
545
- "kind": "method",
546
- "name": "renderButton",
547
456
  "privacy": "private",
548
- "inheritedFrom": {
549
- "name": "UmButtonWrapper",
550
- "module": "src/shared/button-wrapper.ts"
551
- }
457
+ "default": "null"
552
458
  },
553
459
  {
554
460
  "kind": "method",
555
- "name": "renderLink",
461
+ "name": "getScrollContainer",
556
462
  "privacy": "private",
557
- "inheritedFrom": {
558
- "name": "UmButtonWrapper",
559
- "module": "src/shared/button-wrapper.ts"
560
- }
561
- },
562
- {
563
- "kind": "method",
564
- "name": "renderContent",
565
- "privacy": "protected",
566
463
  "return": {
567
464
  "type": {
568
- "text": "HTMLTemplateResult"
465
+ "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
569
466
  }
570
467
  },
571
- "inheritedFrom": {
572
- "name": "UmButtonWrapper",
573
- "module": "src/shared/button-wrapper.ts"
574
- }
468
+ "parameters": [
469
+ {
470
+ "name": "idOrElement",
471
+ "type": {
472
+ "text": "string | HTMLElement | undefined"
473
+ }
474
+ }
475
+ ]
575
476
  },
576
477
  {
577
478
  "kind": "method",
578
- "name": "focus",
579
- "inheritedFrom": {
580
- "name": "UmButtonWrapper",
581
- "module": "src/shared/button-wrapper.ts"
582
- }
479
+ "name": "handleLeadingIconSlotChange",
480
+ "privacy": "private"
583
481
  },
584
482
  {
585
483
  "kind": "method",
586
- "name": "blur",
587
- "inheritedFrom": {
588
- "name": "UmButtonWrapper",
589
- "module": "src/shared/button-wrapper.ts"
590
- }
484
+ "name": "handleTrailingIconSlotChange",
485
+ "privacy": "private"
591
486
  },
592
487
  {
593
- "kind": "method",
594
- "name": "getAriaLabel",
595
- "privacy": "protected",
596
- "return": {
597
- "type": {
598
- "text": "string | null"
599
- }
600
- },
601
- "inheritedFrom": {
602
- "name": "UmButtonWrapper",
603
- "module": "src/shared/button-wrapper.ts"
604
- }
488
+ "kind": "field",
489
+ "name": "onContainerScroll"
605
490
  },
606
491
  {
607
492
  "kind": "method",
608
- "name": "innerFocusHandler",
493
+ "name": "getScrollTop",
609
494
  "privacy": "private",
495
+ "static": true,
610
496
  "return": {
611
497
  "type": {
612
- "text": "void"
613
- }
614
- },
615
- "inheritedFrom": {
616
- "name": "UmButtonWrapper",
617
- "module": "src/shared/button-wrapper.ts"
618
- }
619
- },
620
- {
621
- "kind": "method",
622
- "name": "#innerClickHandler",
623
- "return": {
624
- "type": {
625
- "text": "void"
498
+ "text": "number | null"
626
499
  }
627
500
  },
628
501
  "parameters": [
629
502
  {
630
- "name": "event",
503
+ "name": "container",
631
504
  "type": {
632
- "text": "MouseEvent"
505
+ "text": "HTMLElement & Window"
633
506
  }
634
507
  }
635
- ],
636
- "inheritedFrom": {
637
- "name": "UmButtonWrapper",
638
- "module": "src/shared/button-wrapper.ts"
639
- }
640
- }
641
- ],
642
- "attributes": [
643
- {
644
- "name": "type",
645
- "type": {
646
- "text": "string"
647
- },
648
- "default": "'submit'",
649
- "fieldName": "type"
508
+ ]
650
509
  },
651
510
  {
652
- "name": "value",
511
+ "kind": "method",
512
+ "name": "setContentHeightProperty",
513
+ "privacy": "private"
514
+ }
515
+ ],
516
+ "attributes": [
517
+ {
518
+ "name": "has-leading-icon",
653
519
  "type": {
654
- "text": "string"
520
+ "text": "boolean"
655
521
  },
656
- "default": "''",
657
- "fieldName": "value"
522
+ "default": "false",
523
+ "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
524
+ "fieldName": "hasLeadingIcon"
658
525
  },
659
526
  {
660
- "name": "disabled",
527
+ "name": "has-trailing-icon",
661
528
  "type": {
662
529
  "text": "boolean"
663
530
  },
664
531
  "default": "false",
665
- "description": "Whether the button is disabled or not.",
666
- "fieldName": "disabled",
667
- "inheritedFrom": {
668
- "name": "UmButtonWrapper",
669
- "module": "src/shared/button-wrapper.ts"
670
- }
532
+ "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
533
+ "fieldName": "hasTrailingIcon"
671
534
  },
672
535
  {
673
- "name": "href",
536
+ "name": "position",
674
537
  "type": {
675
- "text": "string | undefined"
538
+ "text": "'fixed' | 'absolute' | 'static'"
676
539
  },
677
- "description": "The URL that the link button points to.",
678
- "fieldName": "href",
679
- "inheritedFrom": {
680
- "name": "UmButtonWrapper",
681
- "module": "src/shared/button-wrapper.ts"
682
- }
540
+ "default": "'fixed'",
541
+ "fieldName": "position"
683
542
  },
684
543
  {
685
- "name": "target",
544
+ "name": "scrollContainer",
686
545
  "type": {
687
- "text": "string | undefined"
546
+ "text": "'none' | 'window' | string | undefined"
688
547
  },
689
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
690
- "fieldName": "target",
691
- "inheritedFrom": {
692
- "name": "UmButtonWrapper",
693
- "module": "src/shared/button-wrapper.ts"
694
- }
548
+ "fieldName": "scrollContainer"
695
549
  },
696
550
  {
697
- "name": "name",
551
+ "name": "container-scrolled",
698
552
  "type": {
699
- "text": "string | undefined"
553
+ "text": "boolean"
700
554
  },
701
- "fieldName": "name",
702
- "inheritedFrom": {
703
- "name": "UmButtonWrapper",
704
- "module": "src/shared/button-wrapper.ts"
705
- }
555
+ "default": "false",
556
+ "fieldName": "containerScrolled"
706
557
  }
707
558
  ],
708
559
  "superclass": {
709
- "name": "UmButtonWrapper",
710
- "module": "/src/shared/button-wrapper.js"
711
- }
560
+ "name": "LitElement",
561
+ "package": "lit"
562
+ },
563
+ "tagName": "u-top-app-bar",
564
+ "customElement": true
712
565
  }
713
566
  ],
714
567
  "exports": [
715
568
  {
716
569
  "kind": "js",
717
- "name": "UmButtonBase",
570
+ "name": "UmTopAppBar",
718
571
  "declaration": {
719
- "name": "UmButtonBase",
720
- "module": "src/button/button-base.ts"
572
+ "name": "UmTopAppBar",
573
+ "module": "src/app-bar/top-app-bar.ts"
574
+ }
575
+ },
576
+ {
577
+ "kind": "custom-element-definition",
578
+ "name": "u-top-app-bar",
579
+ "declaration": {
580
+ "name": "UmTopAppBar",
581
+ "module": "src/app-bar/top-app-bar.ts"
721
582
  }
722
583
  }
723
584
  ]
724
585
  },
725
586
  {
726
587
  "kind": "javascript-module",
727
- "path": "src/button/button-set.styles.ts",
588
+ "path": "src/card/card-content.styles.ts",
728
589
  "declarations": [
729
590
  {
730
591
  "kind": "variable",
731
592
  "name": "styles",
732
- "default": "css `\n :host([stack][alignment=start]) {\n align-items: flex-start;\n }\n\n :host([stack][alignment=center]) {\n align-items: center;\n }\n\n :host([stack][alignment=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`"
593
+ "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`"
733
594
  }
734
595
  ],
735
596
  "exports": [
@@ -738,106 +599,167 @@
738
599
  "name": "styles",
739
600
  "declaration": {
740
601
  "name": "styles",
741
- "module": "src/button/button-set.styles.ts"
602
+ "module": "src/card/card-content.styles.ts"
742
603
  }
743
604
  }
744
605
  ]
745
606
  },
746
607
  {
747
608
  "kind": "javascript-module",
748
- "path": "src/button/button-set.ts",
609
+ "path": "src/card/card-content.ts",
749
610
  "declarations": [
750
611
  {
751
612
  "kind": "class",
752
613
  "description": "",
753
- "name": "UmButtonSet",
614
+ "name": "UmCardContent",
754
615
  "members": [
755
616
  {
756
617
  "kind": "field",
757
- "name": "stack",
618
+ "name": "hasContent",
758
619
  "type": {
759
620
  "text": "boolean"
760
621
  },
761
622
  "default": "false",
762
- "description": "Whether to render the buttons stacked or not",
763
- "attribute": "stack",
623
+ "attribute": "has-content",
764
624
  "reflects": true
765
625
  },
766
626
  {
767
- "kind": "field",
768
- "name": "alignment",
627
+ "kind": "method",
628
+ "name": "handleSlotChange",
629
+ "privacy": "private",
630
+ "parameters": [
631
+ {
632
+ "name": "e",
633
+ "type": {
634
+ "text": "Event"
635
+ }
636
+ }
637
+ ]
638
+ }
639
+ ],
640
+ "attributes": [
641
+ {
642
+ "name": "has-content",
769
643
  "type": {
770
- "text": "'start' | 'center' | 'end'"
644
+ "text": "boolean"
771
645
  },
772
- "default": "'end'",
773
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
774
- "attribute": "alignment",
775
- "reflects": true,
776
- "inheritedFrom": {
777
- "name": "UmSetBase",
778
- "module": "src/shared/sets/set-base.ts"
779
- }
646
+ "default": "false",
647
+ "fieldName": "hasContent"
780
648
  }
781
649
  ],
782
- "attributes": [
650
+ "superclass": {
651
+ "name": "LitElement",
652
+ "package": "lit"
653
+ },
654
+ "tagName": "u-card-content",
655
+ "customElement": true
656
+ }
657
+ ],
658
+ "exports": [
659
+ {
660
+ "kind": "js",
661
+ "name": "UmCardContent",
662
+ "declaration": {
663
+ "name": "UmCardContent",
664
+ "module": "src/card/card-content.ts"
665
+ }
666
+ },
667
+ {
668
+ "kind": "custom-element-definition",
669
+ "name": "u-card-content",
670
+ "declaration": {
671
+ "name": "UmCardContent",
672
+ "module": "src/card/card-content.ts"
673
+ }
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ "kind": "javascript-module",
679
+ "path": "src/card/card-media.styles.ts",
680
+ "declarations": [
681
+ {
682
+ "kind": "variable",
683
+ "name": "styles",
684
+ "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`"
685
+ }
686
+ ],
687
+ "exports": [
688
+ {
689
+ "kind": "js",
690
+ "name": "styles",
691
+ "declaration": {
692
+ "name": "styles",
693
+ "module": "src/card/card-media.styles.ts"
694
+ }
695
+ }
696
+ ]
697
+ },
698
+ {
699
+ "kind": "javascript-module",
700
+ "path": "src/card/card-media.ts",
701
+ "declarations": [
702
+ {
703
+ "kind": "class",
704
+ "description": "",
705
+ "name": "UmCardMedia",
706
+ "members": [
783
707
  {
784
- "name": "stack",
708
+ "kind": "field",
709
+ "name": "wide",
785
710
  "type": {
786
711
  "text": "boolean"
787
712
  },
788
713
  "default": "false",
789
- "description": "Whether to render the buttons stacked or not",
790
- "fieldName": "stack"
791
- },
714
+ "attribute": "wide",
715
+ "reflects": true
716
+ }
717
+ ],
718
+ "attributes": [
792
719
  {
793
- "name": "alignment",
720
+ "name": "wide",
794
721
  "type": {
795
- "text": "'start' | 'center' | 'end'"
722
+ "text": "boolean"
796
723
  },
797
- "default": "'start'",
798
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
799
- "fieldName": "alignment",
800
- "inheritedFrom": {
801
- "name": "UmSetBase",
802
- "module": "src/shared/sets/set-base.ts"
803
- }
724
+ "default": "false",
725
+ "fieldName": "wide"
804
726
  }
805
727
  ],
806
728
  "superclass": {
807
- "name": "UmSetBase",
808
- "module": "/src/shared/sets/set-base.js"
729
+ "name": "LitElement",
730
+ "package": "lit"
809
731
  },
810
- "tagName": "u-button-set",
732
+ "tagName": "u-card-media",
811
733
  "customElement": true
812
734
  }
813
735
  ],
814
736
  "exports": [
815
737
  {
816
738
  "kind": "js",
817
- "name": "UmButtonSet",
739
+ "name": "UmCardMedia",
818
740
  "declaration": {
819
- "name": "UmButtonSet",
820
- "module": "src/button/button-set.ts"
741
+ "name": "UmCardMedia",
742
+ "module": "src/card/card-media.ts"
821
743
  }
822
744
  },
823
745
  {
824
746
  "kind": "custom-element-definition",
825
- "name": "u-button-set",
747
+ "name": "u-card-media",
826
748
  "declaration": {
827
- "name": "UmButtonSet",
828
- "module": "src/button/button-set.ts"
749
+ "name": "UmCardMedia",
750
+ "module": "src/card/card-media.ts"
829
751
  }
830
752
  }
831
753
  ]
832
754
  },
833
755
  {
834
756
  "kind": "javascript-module",
835
- "path": "src/button/button.styles.ts",
757
+ "path": "src/card/card.styles.ts",
836
758
  "declarations": [
837
759
  {
838
760
  "kind": "variable",
839
761
  "name": "styles",
840
- "default": "css `\n :host {\n --u-common-button-line-height: var(--u-label-large-line-height, 1.25rem);\n --u-common-button-font-size: var(--u-label-large-font-size, 0.875rem);\n --u-common-button-font-weight: var(--u-font-weight-medium, 500);\n --_common-button-height: var(--u-common-button-height, 2.5rem);\n --_common-button-padding: var(--u-common-button-padding, 24px);\n --_common-button-icon-size: var(--u-common-button-icon-size, 1.125rem);\n --_common-button-icon-padding: var(--u-common-button-icon-padding, 16px);\n --_common-button-icon-margin: var(--u-common-button-icon-margin, 8px);\n border-radius: var(--u-common-button-shape-corner, var(--u-shape-corner-full, 9999px));\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 height: var(--u-common-button-height, 40px);\n font-size: var(--u-common-button-font-size);\n font-weight: var(--u-common-button-font-weight);\n padding-inline: var(--_common-button-padding);\n box-sizing: border-box;\n }\n\n :host([variant=filled]),\n :host([variant=filled][color=primary]) {\n background-color: var(--u-filled-button-primary-container-color, var(--_color-primary));\n color: var(--u-filled-button-primary-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=secondary]) {\n background-color: var(--u-filled-button-secondary-container-color, var(--u-color-secondary, rgb(98, 91, 113)));\n color: var(--u-filled-button-secondary-text-color, var(--u-color-on-secondary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=tertiary]) {\n background-color: var(--u-filled-button-tertiary-container-color, var(--u-color-tertiary, rgb(125, 82, 96)));\n color: var(--u-filled-button-tertiary-text-color, var(--u-color-on-tertiary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=error]) {\n background-color: var(--u-filled-button-error-container-color, var(--u-color-error, rgb(179, 38, 30)));\n color: var(--u-filled-button-error-text-color, var(--u-color-on-error, rgb(255, 255, 255)));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-tonal-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-elevated-button-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:hover:not(:focus-within):not(:active)),\n :host([variant=tonal]:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-filled-button-hover-elevation-level, 1);\n }\n }\n :host([variant=text]) {\n color: var(--u-text-button-text-color, var(--_color-primary));\n }\n\n :host([variant=outlined]) {\n color: var(--u-outlined-button-text-color, var(--u-text-button-text-color, var(--_color-primary)));\n border: 1px solid var(--u-outlined-button-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n }\n\n :host([variant=elevated]) {\n --u-elevation-level: var(--u-elevated-button-elevation-level, 1);\n color: var(--u-elevated-button-text-color, var(--_color-primary));\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-button-disabled-border-opacity, 0.12))) !important;\n }\n\n @media (hover: hover) {\n :host([variant=elevated]:hover) {\n --u-elevation-level: var(--u-elevated-button-hover-elevation-level, 2);\n }\n }\n :host([has-icon]) {\n padding-inline: var(--_common-button-icon-padding) var(--_common-button-padding);\n }\n\n :host([has-icon][trailing-icon]) {\n padding-inline: var(--_common-button-padding) var(--_common-button-icon-padding);\n }\n\n :host(:not([has-icon])) .icon {\n display: none;\n }\n\n .icon {\n font-size: var(--_common-button-icon-size);\n padding-inline-end: var(--_common-button-icon-margin);\n margin-inline-end: auto;\n }\n\n :host([trailing-icon]) .icon {\n padding-inline: var(--_common-button-icon-margin) 0;\n margin-inline: auto 0;\n }\n`"
762
+ "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 --u-current-bg-color: var(--u-card-elevated-bg-color, var(var(--u-color-surface-container-low, rgb(247, 242, 250))));\n background-color: var(--u-current-bg-color);\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 --u-current-bg-color: var(--u-card-filled-bg-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n background-color: var(--u-current-bg-color);\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`"
841
763
  }
842
764
  ],
843
765
  "exports": [
@@ -846,89 +768,100 @@
846
768
  "name": "styles",
847
769
  "declaration": {
848
770
  "name": "styles",
849
- "module": "src/button/button.styles.ts"
771
+ "module": "src/card/card.styles.ts"
850
772
  }
851
773
  }
852
774
  ]
853
775
  },
854
776
  {
855
777
  "kind": "javascript-module",
856
- "path": "src/button/button.ts",
778
+ "path": "src/card/card.ts",
857
779
  "declarations": [
858
780
  {
859
781
  "kind": "class",
860
782
  "description": "",
861
- "name": "UmButton",
783
+ "name": "UmCard",
862
784
  "members": [
863
785
  {
864
786
  "kind": "field",
865
787
  "name": "variant",
866
788
  "type": {
867
- "text": "UmButtonVariant"
789
+ "text": "UmCardVariant"
868
790
  },
869
791
  "default": "'filled'",
870
- "description": "The Button variant to render",
792
+ "description": "The Card variant to render.",
871
793
  "attribute": "variant",
872
794
  "reflects": true
873
- },
795
+ }
796
+ ],
797
+ "attributes": [
874
798
  {
875
- "kind": "field",
876
- "name": "color",
877
- "type": {
878
- "text": "UmButtonColor"
879
- },
880
- "description": "The Button color\n\n1",
881
- "attribute": "color",
882
- "reflects": true
883
- },
884
- {
885
- "kind": "field",
886
- "name": "trailingIcon",
887
- "type": {
888
- "text": "boolean"
889
- },
890
- "default": "false",
891
- "attribute": "trailing-icon",
892
- "reflects": true
893
- },
894
- {
895
- "kind": "field",
896
- "name": "hasIcon",
897
- "type": {
898
- "text": "boolean"
899
- },
900
- "default": "false",
901
- "description": "Whether the button has icon or not\n\n_Note:_ Readonly",
902
- "attribute": "has-icon",
903
- "reflects": true
904
- },
905
- {
906
- "kind": "field",
907
- "name": "assignedIcons",
799
+ "name": "variant",
908
800
  "type": {
909
- "text": "HTMLElement[]"
910
- },
911
- "privacy": "private"
912
- },
913
- {
914
- "kind": "method",
915
- "name": "renderContent",
916
- "privacy": "protected",
917
- "return": {
918
- "type": {
919
- "text": "HTMLTemplateResult"
920
- }
801
+ "text": "UmCardVariant"
921
802
  },
922
- "inheritedFrom": {
923
- "name": "UmButtonWrapper",
924
- "module": "src/shared/button-wrapper.ts"
925
- }
926
- },
927
- {
928
- "kind": "method",
929
- "name": "handleSlotChange",
930
- "privacy": "private"
931
- },
803
+ "default": "'filled'",
804
+ "description": "The Card variant to render.",
805
+ "fieldName": "variant"
806
+ }
807
+ ],
808
+ "superclass": {
809
+ "name": "LitElement",
810
+ "package": "lit"
811
+ },
812
+ "tagName": "u-card",
813
+ "customElement": true
814
+ }
815
+ ],
816
+ "exports": [
817
+ {
818
+ "kind": "js",
819
+ "name": "UmCard",
820
+ "declaration": {
821
+ "name": "UmCard",
822
+ "module": "src/card/card.ts"
823
+ }
824
+ },
825
+ {
826
+ "kind": "custom-element-definition",
827
+ "name": "u-card",
828
+ "declaration": {
829
+ "name": "UmCard",
830
+ "module": "src/card/card.ts"
831
+ }
832
+ }
833
+ ]
834
+ },
835
+ {
836
+ "kind": "javascript-module",
837
+ "path": "src/button/button-base.styles.ts",
838
+ "declarations": [
839
+ {
840
+ "kind": "variable",
841
+ "name": "styles",
842
+ "default": "css `\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n`"
843
+ }
844
+ ],
845
+ "exports": [
846
+ {
847
+ "kind": "js",
848
+ "name": "styles",
849
+ "declaration": {
850
+ "name": "styles",
851
+ "module": "src/button/button-base.styles.ts"
852
+ }
853
+ }
854
+ ]
855
+ },
856
+ {
857
+ "kind": "javascript-module",
858
+ "path": "src/button/button-base.ts",
859
+ "declarations": [
860
+ {
861
+ "kind": "class",
862
+ "description": "",
863
+ "name": "UmButtonBase",
864
+ "members": [
932
865
  {
933
866
  "kind": "field",
934
867
  "name": "formAssociated",
@@ -936,11 +869,7 @@
936
869
  "text": "boolean"
937
870
  },
938
871
  "static": true,
939
- "default": "true",
940
- "inheritedFrom": {
941
- "name": "UmButtonBase",
942
- "module": "src/button/button-base.ts"
943
- }
872
+ "default": "true"
944
873
  },
945
874
  {
946
875
  "kind": "field",
@@ -949,11 +878,7 @@
949
878
  "text": "string"
950
879
  },
951
880
  "default": "'submit'",
952
- "attribute": "type",
953
- "inheritedFrom": {
954
- "name": "UmButtonBase",
955
- "module": "src/button/button-base.ts"
956
- }
881
+ "attribute": "type"
957
882
  },
958
883
  {
959
884
  "kind": "field",
@@ -963,21 +888,13 @@
963
888
  },
964
889
  "default": "''",
965
890
  "attribute": "value",
966
- "reflects": true,
967
- "inheritedFrom": {
968
- "name": "UmButtonBase",
969
- "module": "src/button/button-base.ts"
970
- }
891
+ "reflects": true
971
892
  },
972
893
  {
973
894
  "kind": "field",
974
895
  "name": "form",
975
896
  "type": {
976
897
  "text": "HTMLFormElement | null"
977
- },
978
- "inheritedFrom": {
979
- "name": "UmButtonBase",
980
- "module": "src/button/button-base.ts"
981
898
  }
982
899
  },
983
900
  {
@@ -986,10 +903,6 @@
986
903
  "privacy": "private",
987
904
  "type": {
988
905
  "text": "ElementInternals"
989
- },
990
- "inheritedFrom": {
991
- "name": "UmButtonBase",
992
- "module": "src/button/button-base.ts"
993
906
  }
994
907
  },
995
908
  {
@@ -1144,6 +1057,20 @@
1144
1057
  "module": "src/shared/button-wrapper.ts"
1145
1058
  }
1146
1059
  },
1060
+ {
1061
+ "kind": "method",
1062
+ "name": "renderContent",
1063
+ "privacy": "protected",
1064
+ "return": {
1065
+ "type": {
1066
+ "text": "HTMLTemplateResult"
1067
+ }
1068
+ },
1069
+ "inheritedFrom": {
1070
+ "name": "UmButtonWrapper",
1071
+ "module": "src/shared/button-wrapper.ts"
1072
+ }
1073
+ },
1147
1074
  {
1148
1075
  "kind": "method",
1149
1076
  "name": "focus",
@@ -1211,51 +1138,13 @@
1211
1138
  }
1212
1139
  ],
1213
1140
  "attributes": [
1214
- {
1215
- "name": "variant",
1216
- "type": {
1217
- "text": "UmButtonVariant"
1218
- },
1219
- "default": "'filled'",
1220
- "description": "The Button variant to render",
1221
- "fieldName": "variant"
1222
- },
1223
- {
1224
- "name": "color",
1225
- "type": {
1226
- "text": "UmButtonColor"
1227
- },
1228
- "description": "The Button color\n\n1",
1229
- "fieldName": "color"
1230
- },
1231
- {
1232
- "name": "trailing-icon",
1233
- "type": {
1234
- "text": "boolean"
1235
- },
1236
- "default": "false",
1237
- "fieldName": "trailingIcon"
1238
- },
1239
- {
1240
- "name": "has-icon",
1241
- "type": {
1242
- "text": "boolean"
1243
- },
1244
- "default": "false",
1245
- "description": "Whether the button has icon or not\n\n_Note:_ Readonly",
1246
- "fieldName": "hasIcon"
1247
- },
1248
1141
  {
1249
1142
  "name": "type",
1250
1143
  "type": {
1251
1144
  "text": "string"
1252
1145
  },
1253
1146
  "default": "'submit'",
1254
- "fieldName": "type",
1255
- "inheritedFrom": {
1256
- "name": "UmButtonBase",
1257
- "module": "src/button/button-base.ts"
1258
- }
1147
+ "fieldName": "type"
1259
1148
  },
1260
1149
  {
1261
1150
  "name": "value",
@@ -1263,11 +1152,7 @@
1263
1152
  "text": "string"
1264
1153
  },
1265
1154
  "default": "''",
1266
- "fieldName": "value",
1267
- "inheritedFrom": {
1268
- "name": "UmButtonBase",
1269
- "module": "src/button/button-base.ts"
1270
- }
1155
+ "fieldName": "value"
1271
1156
  },
1272
1157
  {
1273
1158
  "name": "disabled",
@@ -1319,40 +1204,30 @@
1319
1204
  }
1320
1205
  ],
1321
1206
  "superclass": {
1322
- "name": "UmButtonBase",
1323
- "module": "/src/button/button-base.js"
1324
- },
1325
- "tagName": "u-button",
1326
- "customElement": true
1207
+ "name": "UmButtonWrapper",
1208
+ "module": "/src/shared/button-wrapper.js"
1209
+ }
1327
1210
  }
1328
1211
  ],
1329
1212
  "exports": [
1330
1213
  {
1331
1214
  "kind": "js",
1332
- "name": "UmButton",
1333
- "declaration": {
1334
- "name": "UmButton",
1335
- "module": "src/button/button.ts"
1336
- }
1337
- },
1338
- {
1339
- "kind": "custom-element-definition",
1340
- "name": "u-button",
1215
+ "name": "UmButtonBase",
1341
1216
  "declaration": {
1342
- "name": "UmButton",
1343
- "module": "src/button/button.ts"
1217
+ "name": "UmButtonBase",
1218
+ "module": "src/button/button-base.ts"
1344
1219
  }
1345
1220
  }
1346
1221
  ]
1347
1222
  },
1348
1223
  {
1349
1224
  "kind": "javascript-module",
1350
- "path": "src/button/fab.styles.ts",
1225
+ "path": "src/button/button-set.styles.ts",
1351
1226
  "declarations": [
1352
1227
  {
1353
1228
  "kind": "variable",
1354
1229
  "name": "styles",
1355
- "default": "css `\n :host {\n aspect-ratio: 1;\n --u-elevation-level: var(--u-fab-button-elevation-level, 3);\n }\n\n :host([lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n :host(:hover:not(:focus-within):not(:active)[lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 2);\n }\n }\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n }\n :host([size=small]) {\n width: var(--u-fab-button-small-size, 40px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([size=large]) {\n width: var(--u-fab-button-medium-size, 96px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-extra-large, 28px));\n }\n\n :host([extended]),\n :host([size=medium]) {\n width: var(--u-fab-button-medium-size, 56px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-large, 16px));\n }\n\n :host([size=large]) .icon {\n font-size: var(--u-fab-button-icon-size, 2rem);\n }\n\n :host([extended]) .icon,\n :host([size=small]) .icon,\n :host([size=medium]) .icon {\n font-size: var(--u-fab-button-icon-size, 1.5rem);\n }\n\n :host([extended]) {\n width: auto;\n height: var(--u-extended-fab-button-height, 56px);\n aspect-ratio: auto;\n min-width: var(--u-extended-fab-button-min-width, 80px);\n padding-inline: var(--u-extended-fab-button-padding, 16px 24px);\n }\n\n :host([extended]) .icon {\n margin-inline-end: var(--u-extended-fab-button-icon-margin, 12px);\n }\n\n :host([color=primary]) {\n background-color: var(--u-fab-button-primary-bg-color, var(--u-color-primary-container, rgb(234, 221, 255)));\n color: var(--u-fab-button-primary-text-color, var(--u-color-on-primary-container, rgb(33, 0, 93)));\n }\n\n :host([color=secondary]) {\n background-color: var(--u-fab-button-secondary-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-fab-button-secondary-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([color=tertiary]) {\n background-color: var(--u-fab-button-tertiary-bg-color, var(--u-color-tertiary-container, rgb(255, 216, 228)));\n color: var(--u-fab-button-tertiary-text-color, var(--u-color-on-tertiary-container, rgb(49, 17, 29)));\n }\n\n :host([color=branded]),\n :host([color=surface]) {\n background-color: var(--u-fab-button-surface-bg-color, var(--u-color-surface-container-high, rgb(236, 230, 240)));\n color: var(--u-fab-button-surface-text-color, var(--_color-primary));\n }\n\n :host([color=branded][lowered]),\n :host([color=surface][lowered]) {\n background-color: var(--u-fab-button-surface-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n }\n`"
1230
+ "default": "css `\n :host([stack][alignment=start]) {\n align-items: flex-start;\n }\n\n :host([stack][alignment=center]) {\n align-items: center;\n }\n\n :host([stack][alignment=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`"
1356
1231
  }
1357
1232
  ],
1358
1233
  "exports": [
@@ -1361,73 +1236,178 @@
1361
1236
  "name": "styles",
1362
1237
  "declaration": {
1363
1238
  "name": "styles",
1364
- "module": "src/button/fab.styles.ts"
1239
+ "module": "src/button/button-set.styles.ts"
1365
1240
  }
1366
1241
  }
1367
1242
  ]
1368
1243
  },
1369
1244
  {
1370
1245
  "kind": "javascript-module",
1371
- "path": "src/button/fab.ts",
1246
+ "path": "src/button/button-set.ts",
1372
1247
  "declarations": [
1373
1248
  {
1374
1249
  "kind": "class",
1375
1250
  "description": "",
1376
- "name": "UmFab",
1251
+ "name": "UmButtonSet",
1377
1252
  "members": [
1378
1253
  {
1379
1254
  "kind": "field",
1380
- "name": "color",
1255
+ "name": "stack",
1381
1256
  "type": {
1382
- "text": "UmFabColor"
1257
+ "text": "boolean"
1383
1258
  },
1384
- "default": "'primary'",
1385
- "description": "The FAB color variant to render.",
1386
- "attribute": "color",
1259
+ "default": "false",
1260
+ "description": "Whether to render the buttons stacked or not",
1261
+ "attribute": "stack",
1387
1262
  "reflects": true
1388
1263
  },
1389
1264
  {
1390
1265
  "kind": "field",
1391
- "name": "size",
1266
+ "name": "alignment",
1392
1267
  "type": {
1393
- "text": "UmFabSize"
1268
+ "text": "'start' | 'center' | 'end'"
1394
1269
  },
1395
- "default": "'medium'",
1396
- "description": "The size of the FAB.",
1397
- "attribute": "size",
1398
- "reflects": true
1399
- },
1400
- {
1401
- "kind": "field",
1402
- "name": "label",
1270
+ "default": "'end'",
1271
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
1272
+ "attribute": "alignment",
1273
+ "reflects": true,
1274
+ "inheritedFrom": {
1275
+ "name": "UmSetBase",
1276
+ "module": "src/shared/sets/set-base.ts"
1277
+ }
1278
+ }
1279
+ ],
1280
+ "attributes": [
1281
+ {
1282
+ "name": "stack",
1403
1283
  "type": {
1404
- "text": "string | null"
1284
+ "text": "boolean"
1405
1285
  },
1406
- "default": "null",
1407
- "description": "The text to display the FAB.",
1408
- "attribute": "label",
1286
+ "default": "false",
1287
+ "description": "Whether to render the buttons stacked or not",
1288
+ "fieldName": "stack"
1289
+ },
1290
+ {
1291
+ "name": "alignment",
1292
+ "type": {
1293
+ "text": "'start' | 'center' | 'end'"
1294
+ },
1295
+ "default": "'start'",
1296
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
1297
+ "fieldName": "alignment",
1298
+ "inheritedFrom": {
1299
+ "name": "UmSetBase",
1300
+ "module": "src/shared/sets/set-base.ts"
1301
+ }
1302
+ }
1303
+ ],
1304
+ "superclass": {
1305
+ "name": "UmSetBase",
1306
+ "module": "/src/shared/sets/set-base.js"
1307
+ },
1308
+ "tagName": "u-button-set",
1309
+ "customElement": true
1310
+ }
1311
+ ],
1312
+ "exports": [
1313
+ {
1314
+ "kind": "js",
1315
+ "name": "UmButtonSet",
1316
+ "declaration": {
1317
+ "name": "UmButtonSet",
1318
+ "module": "src/button/button-set.ts"
1319
+ }
1320
+ },
1321
+ {
1322
+ "kind": "custom-element-definition",
1323
+ "name": "u-button-set",
1324
+ "declaration": {
1325
+ "name": "UmButtonSet",
1326
+ "module": "src/button/button-set.ts"
1327
+ }
1328
+ }
1329
+ ]
1330
+ },
1331
+ {
1332
+ "kind": "javascript-module",
1333
+ "path": "src/button/button.styles.ts",
1334
+ "declarations": [
1335
+ {
1336
+ "kind": "variable",
1337
+ "name": "styles",
1338
+ "default": "css `\n :host {\n --u-common-button-line-height: var(--u-label-large-line-height, 1.25rem);\n --u-common-button-font-size: var(--u-label-large-font-size, 0.875rem);\n --u-common-button-font-weight: var(--u-font-weight-medium, 500);\n --_common-button-height: var(--u-common-button-height, 2.5rem);\n --_common-button-padding: var(--u-common-button-padding, 24px);\n --_common-button-icon-size: var(--u-common-button-icon-size, 1.125rem);\n --_common-button-icon-padding: var(--u-common-button-icon-padding, 16px);\n --_common-button-icon-margin: var(--u-common-button-icon-margin, 8px);\n border-radius: var(--u-common-button-shape-corner, var(--u-shape-corner-full, 9999px));\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 height: var(--u-common-button-height, 40px);\n font-size: var(--u-common-button-font-size);\n font-weight: var(--u-common-button-font-weight);\n padding-inline: var(--_common-button-padding);\n box-sizing: border-box;\n }\n\n :host([variant=filled]),\n :host([variant=filled][color=primary]) {\n background-color: var(--u-filled-button-primary-container-color, var(--_color-primary));\n color: var(--u-filled-button-primary-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=secondary]) {\n background-color: var(--u-filled-button-secondary-container-color, var(--u-color-secondary, rgb(98, 91, 113)));\n color: var(--u-filled-button-secondary-text-color, var(--u-color-on-secondary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=tertiary]) {\n background-color: var(--u-filled-button-tertiary-container-color, var(--u-color-tertiary, rgb(125, 82, 96)));\n color: var(--u-filled-button-tertiary-text-color, var(--u-color-on-tertiary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=error]) {\n background-color: var(--u-filled-button-error-container-color, var(--u-color-error, rgb(179, 38, 30)));\n color: var(--u-filled-button-error-text-color, var(--u-color-on-error, rgb(255, 255, 255)));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-tonal-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-elevated-button-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:hover:not(:focus-within):not(:active)),\n :host([variant=tonal]:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-filled-button-hover-elevation-level, 1);\n }\n }\n :host([variant=text]) {\n color: var(--u-text-button-text-color, var(--_color-primary));\n }\n\n :host([variant=outlined]) {\n color: var(--u-outlined-button-text-color, var(--u-text-button-text-color, var(--_color-primary)));\n border: 1px solid var(--u-outlined-button-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n }\n\n :host([variant=elevated]) {\n --u-elevation-level: var(--u-elevated-button-elevation-level, 1);\n color: var(--u-elevated-button-text-color, var(--_color-primary));\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-button-disabled-border-opacity, 0.12))) !important;\n }\n\n @media (hover: hover) {\n :host([variant=elevated]:hover) {\n --u-elevation-level: var(--u-elevated-button-hover-elevation-level, 2);\n }\n }\n :host([has-icon]) {\n padding-inline: var(--_common-button-icon-padding) var(--_common-button-padding);\n }\n\n :host([has-icon][trailing-icon]) {\n padding-inline: var(--_common-button-padding) var(--_common-button-icon-padding);\n }\n\n :host(:not([has-icon])) .icon {\n display: none;\n }\n\n .icon {\n font-size: var(--_common-button-icon-size);\n padding-inline-end: var(--_common-button-icon-margin);\n margin-inline-end: auto;\n }\n\n :host([trailing-icon]) .icon {\n padding-inline: var(--_common-button-icon-margin) 0;\n margin-inline: auto 0;\n }\n`"
1339
+ }
1340
+ ],
1341
+ "exports": [
1342
+ {
1343
+ "kind": "js",
1344
+ "name": "styles",
1345
+ "declaration": {
1346
+ "name": "styles",
1347
+ "module": "src/button/button.styles.ts"
1348
+ }
1349
+ }
1350
+ ]
1351
+ },
1352
+ {
1353
+ "kind": "javascript-module",
1354
+ "path": "src/button/button.ts",
1355
+ "declarations": [
1356
+ {
1357
+ "kind": "class",
1358
+ "description": "",
1359
+ "name": "UmButton",
1360
+ "members": [
1361
+ {
1362
+ "kind": "field",
1363
+ "name": "variant",
1364
+ "type": {
1365
+ "text": "UmButtonVariant"
1366
+ },
1367
+ "default": "'filled'",
1368
+ "description": "The Button variant to render",
1369
+ "attribute": "variant",
1409
1370
  "reflects": true
1410
1371
  },
1411
1372
  {
1412
1373
  "kind": "field",
1413
- "name": "lowered",
1374
+ "name": "color",
1375
+ "type": {
1376
+ "text": "UmButtonColor"
1377
+ },
1378
+ "description": "The Button color\n\n1",
1379
+ "attribute": "color",
1380
+ "reflects": true
1381
+ },
1382
+ {
1383
+ "kind": "field",
1384
+ "name": "trailingIcon",
1414
1385
  "type": {
1415
1386
  "text": "boolean"
1416
1387
  },
1417
1388
  "default": "false",
1418
- "description": "Lowers the FAB's elevation.",
1419
- "attribute": "lowered",
1389
+ "attribute": "trailing-icon",
1420
1390
  "reflects": true
1421
1391
  },
1422
1392
  {
1423
1393
  "kind": "field",
1424
- "name": "extended",
1394
+ "name": "hasIcon",
1425
1395
  "type": {
1426
1396
  "text": "boolean"
1427
1397
  },
1428
- "attribute": "extended",
1398
+ "default": "false",
1399
+ "description": "Whether the button has icon or not\n\n_Note:_ Readonly",
1400
+ "attribute": "has-icon",
1429
1401
  "reflects": true
1430
1402
  },
1403
+ {
1404
+ "kind": "field",
1405
+ "name": "assignedIcons",
1406
+ "type": {
1407
+ "text": "HTMLElement[]"
1408
+ },
1409
+ "privacy": "private"
1410
+ },
1431
1411
  {
1432
1412
  "kind": "method",
1433
1413
  "name": "renderContent",
@@ -1442,6 +1422,11 @@
1442
1422
  "module": "src/shared/button-wrapper.ts"
1443
1423
  }
1444
1424
  },
1425
+ {
1426
+ "kind": "method",
1427
+ "name": "handleSlotChange",
1428
+ "privacy": "private"
1429
+ },
1445
1430
  {
1446
1431
  "kind": "field",
1447
1432
  "name": "formAssociated",
@@ -1725,47 +1710,38 @@
1725
1710
  ],
1726
1711
  "attributes": [
1727
1712
  {
1728
- "name": "color",
1729
- "type": {
1730
- "text": "UmFabColor"
1731
- },
1732
- "default": "'primary'",
1733
- "description": "The FAB color variant to render.",
1734
- "fieldName": "color"
1735
- },
1736
- {
1737
- "name": "size",
1713
+ "name": "variant",
1738
1714
  "type": {
1739
- "text": "UmFabSize"
1715
+ "text": "UmButtonVariant"
1740
1716
  },
1741
- "default": "'medium'",
1742
- "description": "The size of the FAB.",
1743
- "fieldName": "size"
1717
+ "default": "'filled'",
1718
+ "description": "The Button variant to render",
1719
+ "fieldName": "variant"
1744
1720
  },
1745
1721
  {
1746
- "name": "label",
1722
+ "name": "color",
1747
1723
  "type": {
1748
- "text": "string | null"
1724
+ "text": "UmButtonColor"
1749
1725
  },
1750
- "default": "null",
1751
- "description": "The text to display the FAB.",
1752
- "fieldName": "label"
1726
+ "description": "The Button color\n\n1",
1727
+ "fieldName": "color"
1753
1728
  },
1754
1729
  {
1755
- "name": "lowered",
1730
+ "name": "trailing-icon",
1756
1731
  "type": {
1757
1732
  "text": "boolean"
1758
1733
  },
1759
1734
  "default": "false",
1760
- "description": "Lowers the FAB's elevation.",
1761
- "fieldName": "lowered"
1735
+ "fieldName": "trailingIcon"
1762
1736
  },
1763
1737
  {
1764
- "name": "extended",
1738
+ "name": "has-icon",
1765
1739
  "type": {
1766
1740
  "text": "boolean"
1767
1741
  },
1768
- "fieldName": "extended"
1742
+ "default": "false",
1743
+ "description": "Whether the button has icon or not\n\n_Note:_ Readonly",
1744
+ "fieldName": "hasIcon"
1769
1745
  },
1770
1746
  {
1771
1747
  "name": "type",
@@ -1844,37 +1820,37 @@
1844
1820
  "name": "UmButtonBase",
1845
1821
  "module": "/src/button/button-base.js"
1846
1822
  },
1847
- "tagName": "u-fab",
1823
+ "tagName": "u-button",
1848
1824
  "customElement": true
1849
1825
  }
1850
1826
  ],
1851
1827
  "exports": [
1852
1828
  {
1853
1829
  "kind": "js",
1854
- "name": "UmFab",
1830
+ "name": "UmButton",
1855
1831
  "declaration": {
1856
- "name": "UmFab",
1857
- "module": "src/button/fab.ts"
1832
+ "name": "UmButton",
1833
+ "module": "src/button/button.ts"
1858
1834
  }
1859
1835
  },
1860
1836
  {
1861
1837
  "kind": "custom-element-definition",
1862
- "name": "u-fab",
1838
+ "name": "u-button",
1863
1839
  "declaration": {
1864
- "name": "UmFab",
1865
- "module": "src/button/fab.ts"
1840
+ "name": "UmButton",
1841
+ "module": "src/button/button.ts"
1866
1842
  }
1867
1843
  }
1868
1844
  ]
1869
1845
  },
1870
1846
  {
1871
1847
  "kind": "javascript-module",
1872
- "path": "src/button/icon-button.styles.ts",
1848
+ "path": "src/button/fab.styles.ts",
1873
1849
  "declarations": [
1874
1850
  {
1875
1851
  "kind": "variable",
1876
1852
  "name": "styles",
1877
- "default": "css `\n :host {\n --_icon-button-size: var(--u-icon-button-size, 2.5rem);\n --_color-surface-container-highest: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n width: var(--_icon-button-size);\n height: var(--_icon-button-size);\n border-radius: var(--u-icon-button-shape-corner, 9999px);\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 }\n\n .icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: var(--u-icon-button-icon-size, 1.5rem);\n }\n .icon.icon-selected {\n display: none;\n }\n\n :host([selected][has-selection-icon]) .icon:not(.icon-selected) {\n display: none;\n }\n :host([selected][has-selection-icon]) .icon.icon-selected {\n display: inline-block;\n }\n\n :host([variant=filled]) {\n background-color: var(--u-filled-icon-button-unselected-bg-color, var(--_color-surface-container-highest));\n color: var(--u-filled-icon-button-unselected-text-color, var(--_color-primary));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-total-icon-button-unselected-bg-color, var(--_color-surface-container-highest));\n color: var(--u-tonal-icon-button-unselected-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([selected][variant=filled]),\n :host([variant=filled]:not([has-selection-icon])) {\n background-color: var(--u-filled-icon-button-bg-color, var(--_color-primary));\n color: var(--u-filled-icon-button-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([selected][variant=tonal]),\n :host([variant=tonal]:not([has-selection-icon])) {\n background-color: var(--u-tonal-icon-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-icon-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=standard]),\n :host([variant=outlined]) {\n color: var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([variant=outlined]) {\n border: 1px solid var(--u-color-outline, rgb(121, 116, 126));\n color: var(--u-outlined-icon-button-color, var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79))));\n }\n\n :host([selected][variant=outlined]) {\n border: none;\n background-color: var(--u-outlined-icon-button-selected-bg-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n color: var(--u-outlined-icon-button-selected-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n }\n\n :host([selected][variant=standard]) {\n color: var(--u-standard-icon-button-selected-text-color, var(--_color-primary));\n background-color: var(--u-standard-icon-button-selected-bg-color, transparent);\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-icon-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-icon-button-disabled-border-opacity, 0.12))) !important;\n }\n`"
1853
+ "default": "css `\n :host {\n aspect-ratio: 1;\n --u-elevation-level: var(--u-fab-button-elevation-level, 3);\n }\n\n :host([lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n :host(:hover:not(:focus-within):not(:active)[lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 2);\n }\n }\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n }\n :host([size=small]) {\n width: var(--u-fab-button-small-size, 40px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([size=large]) {\n width: var(--u-fab-button-medium-size, 96px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-extra-large, 28px));\n }\n\n :host([extended]),\n :host([size=medium]) {\n width: var(--u-fab-button-medium-size, 56px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-large, 16px));\n }\n\n :host([size=large]) .icon {\n font-size: var(--u-fab-button-icon-size, 2rem);\n }\n\n :host([extended]) .icon,\n :host([size=small]) .icon,\n :host([size=medium]) .icon {\n font-size: var(--u-fab-button-icon-size, 1.5rem);\n }\n\n :host([extended]) {\n width: auto;\n height: var(--u-extended-fab-button-height, 56px);\n aspect-ratio: auto;\n min-width: var(--u-extended-fab-button-min-width, 80px);\n padding-inline: var(--u-extended-fab-button-padding, 16px 24px);\n }\n\n :host([extended]) .icon {\n margin-inline-end: var(--u-extended-fab-button-icon-margin, 12px);\n }\n\n :host([color=primary]) {\n background-color: var(--u-fab-button-primary-bg-color, var(--u-color-primary-container, rgb(234, 221, 255)));\n color: var(--u-fab-button-primary-text-color, var(--u-color-on-primary-container, rgb(33, 0, 93)));\n }\n\n :host([color=secondary]) {\n background-color: var(--u-fab-button-secondary-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-fab-button-secondary-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([color=tertiary]) {\n background-color: var(--u-fab-button-tertiary-bg-color, var(--u-color-tertiary-container, rgb(255, 216, 228)));\n color: var(--u-fab-button-tertiary-text-color, var(--u-color-on-tertiary-container, rgb(49, 17, 29)));\n }\n\n :host([color=branded]),\n :host([color=surface]) {\n background-color: var(--u-fab-button-surface-bg-color, var(--u-color-surface-container-high, rgb(236, 230, 240)));\n color: var(--u-fab-button-surface-text-color, var(--_color-primary));\n }\n\n :host([color=branded][lowered]),\n :host([color=surface][lowered]) {\n background-color: var(--u-fab-button-surface-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n }\n`"
1878
1854
  }
1879
1855
  ],
1880
1856
  "exports": [
@@ -1883,78 +1859,72 @@
1883
1859
  "name": "styles",
1884
1860
  "declaration": {
1885
1861
  "name": "styles",
1886
- "module": "src/button/icon-button.styles.ts"
1862
+ "module": "src/button/fab.styles.ts"
1887
1863
  }
1888
1864
  }
1889
1865
  ]
1890
1866
  },
1891
1867
  {
1892
1868
  "kind": "javascript-module",
1893
- "path": "src/button/icon-button.ts",
1869
+ "path": "src/button/fab.ts",
1894
1870
  "declarations": [
1895
1871
  {
1896
1872
  "kind": "class",
1897
1873
  "description": "",
1898
- "name": "UmIconButton",
1874
+ "name": "UmFab",
1899
1875
  "members": [
1900
1876
  {
1901
1877
  "kind": "field",
1902
- "name": "variant",
1878
+ "name": "color",
1903
1879
  "type": {
1904
- "text": "UmIconButtonVariant"
1880
+ "text": "UmFabColor"
1905
1881
  },
1906
- "default": "'standard'",
1907
- "attribute": "variant",
1882
+ "default": "'primary'",
1883
+ "description": "The FAB color variant to render.",
1884
+ "attribute": "color",
1908
1885
  "reflects": true
1909
1886
  },
1910
1887
  {
1911
1888
  "kind": "field",
1912
- "name": "toggle",
1889
+ "name": "size",
1913
1890
  "type": {
1914
- "text": "boolean"
1891
+ "text": "UmFabSize"
1915
1892
  },
1916
- "default": "false",
1917
- "description": "When true, the button will toggle between selected and unselected\nstates",
1918
- "attribute": "toggle"
1893
+ "default": "'medium'",
1894
+ "description": "The size of the FAB.",
1895
+ "attribute": "size",
1896
+ "reflects": true
1919
1897
  },
1920
1898
  {
1921
1899
  "kind": "field",
1922
- "name": "hasSelectionIcon",
1900
+ "name": "label",
1923
1901
  "type": {
1924
- "text": "boolean"
1902
+ "text": "string | null"
1925
1903
  },
1926
- "default": "false",
1927
- "attribute": "has-selection-icon",
1904
+ "default": "null",
1905
+ "description": "The text to display the FAB.",
1906
+ "attribute": "label",
1928
1907
  "reflects": true
1929
1908
  },
1930
1909
  {
1931
1910
  "kind": "field",
1932
- "name": "selected",
1911
+ "name": "lowered",
1933
1912
  "type": {
1934
1913
  "text": "boolean"
1935
1914
  },
1936
1915
  "default": "false",
1937
- "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.",
1938
- "attribute": "selected",
1916
+ "description": "Lowers the FAB's elevation.",
1917
+ "attribute": "lowered",
1939
1918
  "reflects": true
1940
1919
  },
1941
1920
  {
1942
1921
  "kind": "field",
1943
- "name": "ariaLabelSelected",
1944
- "type": {
1945
- "text": "string"
1946
- },
1947
- "default": "''",
1948
- "description": "The `aria-label` of the button when the button is toggleable and selected.",
1949
- "attribute": "aria-label-selected"
1950
- },
1951
- {
1952
- "kind": "field",
1953
- "name": "selectedIcons",
1922
+ "name": "extended",
1954
1923
  "type": {
1955
- "text": "HTMLElement[]"
1924
+ "text": "boolean"
1956
1925
  },
1957
- "privacy": "private"
1926
+ "attribute": "extended",
1927
+ "reflects": true
1958
1928
  },
1959
1929
  {
1960
1930
  "kind": "method",
@@ -1970,47 +1940,6 @@
1970
1940
  "module": "src/shared/button-wrapper.ts"
1971
1941
  }
1972
1942
  },
1973
- {
1974
- "kind": "method",
1975
- "name": "handleClick",
1976
- "privacy": "protected",
1977
- "return": {
1978
- "type": {
1979
- "text": "void"
1980
- }
1981
- },
1982
- "parameters": [
1983
- {
1984
- "name": "event",
1985
- "type": {
1986
- "text": "UIEvent"
1987
- }
1988
- }
1989
- ],
1990
- "inheritedFrom": {
1991
- "name": "UmButtonWrapper",
1992
- "module": "src/shared/button-wrapper.ts"
1993
- }
1994
- },
1995
- {
1996
- "kind": "method",
1997
- "name": "getAriaLabel",
1998
- "privacy": "protected",
1999
- "return": {
2000
- "type": {
2001
- "text": "string | null"
2002
- }
2003
- },
2004
- "inheritedFrom": {
2005
- "name": "UmButtonWrapper",
2006
- "module": "src/shared/button-wrapper.ts"
2007
- }
2008
- },
2009
- {
2010
- "kind": "method",
2011
- "name": "handleSlotChange",
2012
- "privacy": "private"
2013
- },
2014
1943
  {
2015
1944
  "kind": "field",
2016
1945
  "name": "formAssociated",
@@ -2074,6 +2003,28 @@
2074
2003
  "module": "src/button/button-base.ts"
2075
2004
  }
2076
2005
  },
2006
+ {
2007
+ "kind": "method",
2008
+ "name": "handleClick",
2009
+ "privacy": "protected",
2010
+ "return": {
2011
+ "type": {
2012
+ "text": "void"
2013
+ }
2014
+ },
2015
+ "parameters": [
2016
+ {
2017
+ "name": "_",
2018
+ "type": {
2019
+ "text": "UIEvent"
2020
+ }
2021
+ }
2022
+ ],
2023
+ "inheritedFrom": {
2024
+ "name": "UmButtonWrapper",
2025
+ "module": "src/shared/button-wrapper.ts"
2026
+ }
2027
+ },
2077
2028
  {
2078
2029
  "kind": "field",
2079
2030
  "name": "disabled",
@@ -2220,6 +2171,20 @@
2220
2171
  "module": "src/shared/button-wrapper.ts"
2221
2172
  }
2222
2173
  },
2174
+ {
2175
+ "kind": "method",
2176
+ "name": "getAriaLabel",
2177
+ "privacy": "protected",
2178
+ "return": {
2179
+ "type": {
2180
+ "text": "string | null"
2181
+ }
2182
+ },
2183
+ "inheritedFrom": {
2184
+ "name": "UmButtonWrapper",
2185
+ "module": "src/shared/button-wrapper.ts"
2186
+ }
2187
+ },
2223
2188
  {
2224
2189
  "kind": "method",
2225
2190
  "name": "innerFocusHandler",
@@ -2256,57 +2221,49 @@
2256
2221
  }
2257
2222
  }
2258
2223
  ],
2259
- "events": [
2260
- {
2261
- "name": "change",
2262
- "type": {
2263
- "text": "Event"
2264
- }
2265
- }
2266
- ],
2267
2224
  "attributes": [
2268
2225
  {
2269
- "name": "variant",
2226
+ "name": "color",
2270
2227
  "type": {
2271
- "text": "UmIconButtonVariant"
2228
+ "text": "UmFabColor"
2272
2229
  },
2273
- "default": "'standard'",
2274
- "fieldName": "variant"
2230
+ "default": "'primary'",
2231
+ "description": "The FAB color variant to render.",
2232
+ "fieldName": "color"
2275
2233
  },
2276
2234
  {
2277
- "name": "toggle",
2235
+ "name": "size",
2278
2236
  "type": {
2279
- "text": "boolean"
2237
+ "text": "UmFabSize"
2280
2238
  },
2281
- "default": "false",
2282
- "description": "When true, the button will toggle between selected and unselected\nstates",
2283
- "fieldName": "toggle"
2239
+ "default": "'medium'",
2240
+ "description": "The size of the FAB.",
2241
+ "fieldName": "size"
2284
2242
  },
2285
2243
  {
2286
- "name": "has-selection-icon",
2244
+ "name": "label",
2287
2245
  "type": {
2288
- "text": "boolean"
2246
+ "text": "string | null"
2289
2247
  },
2290
- "default": "false",
2291
- "fieldName": "hasSelectionIcon"
2248
+ "default": "null",
2249
+ "description": "The text to display the FAB.",
2250
+ "fieldName": "label"
2292
2251
  },
2293
2252
  {
2294
- "name": "selected",
2253
+ "name": "lowered",
2295
2254
  "type": {
2296
2255
  "text": "boolean"
2297
2256
  },
2298
2257
  "default": "false",
2299
- "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.",
2300
- "fieldName": "selected"
2258
+ "description": "Lowers the FAB's elevation.",
2259
+ "fieldName": "lowered"
2301
2260
  },
2302
2261
  {
2303
- "name": "aria-label-selected",
2262
+ "name": "extended",
2304
2263
  "type": {
2305
- "text": "string"
2264
+ "text": "boolean"
2306
2265
  },
2307
- "default": "''",
2308
- "description": "The `aria-label` of the button when the button is toggleable and selected.",
2309
- "fieldName": "ariaLabelSelected"
2266
+ "fieldName": "extended"
2310
2267
  },
2311
2268
  {
2312
2269
  "name": "type",
@@ -2385,37 +2342,37 @@
2385
2342
  "name": "UmButtonBase",
2386
2343
  "module": "/src/button/button-base.js"
2387
2344
  },
2388
- "tagName": "u-icon-button",
2345
+ "tagName": "u-fab",
2389
2346
  "customElement": true
2390
2347
  }
2391
2348
  ],
2392
2349
  "exports": [
2393
2350
  {
2394
2351
  "kind": "js",
2395
- "name": "UmIconButton",
2352
+ "name": "UmFab",
2396
2353
  "declaration": {
2397
- "name": "UmIconButton",
2398
- "module": "src/button/icon-button.ts"
2354
+ "name": "UmFab",
2355
+ "module": "src/button/fab.ts"
2399
2356
  }
2400
2357
  },
2401
2358
  {
2402
2359
  "kind": "custom-element-definition",
2403
- "name": "u-icon-button",
2360
+ "name": "u-fab",
2404
2361
  "declaration": {
2405
- "name": "UmIconButton",
2406
- "module": "src/button/icon-button.ts"
2362
+ "name": "UmFab",
2363
+ "module": "src/button/fab.ts"
2407
2364
  }
2408
2365
  }
2409
2366
  ]
2410
2367
  },
2411
2368
  {
2412
2369
  "kind": "javascript-module",
2413
- "path": "src/app-bar/top-app-bar.styles.ts",
2370
+ "path": "src/button/icon-button.styles.ts",
2414
2371
  "declarations": [
2415
2372
  {
2416
2373
  "kind": "variable",
2417
2374
  "name": "styles",
2418
- "default": "css `\n :host {\n display: block;\n background-color: var(--u-top-app-bar-bg-color, var(--u-color-body, var(--u-color-surface, rgb(254, 247, 255))));\n color: var(--u-top-app-bar-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n transition: background-color 100ms, inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n\n :host([container-scrolled]) {\n background-color: var(--u-top-app-bar-elevated-bg-color, var(--u-color-surface-container, rgb(243, 237, 247)));\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 slot[name=leading-icon],\n slot[name=trailing-icon] {\n display: inline-flex;\n align-items: center;\n gap: var(--u-top-app-bar-icons-gap, 8px);\n }\n\n slot[name=leading-icon]::slotted(u-icon-button) {\n color: inherit;\n }\n\n :host([position=absolute]) .content {\n position: absolute;\n }\n\n :host([position=fixed]) .content {\n position: fixed;\n inset-inline: 0;\n inset-block-start: 0;\n inset-inline-start: var(--u-app-bar-offset, 0);\n }\n\n :host([position=absolute]),\n :host([position=fixed]) {\n padding-top: var(--_content-height);\n }\n :host([position=absolute]) .content,\n :host([position=fixed]) .content {\n z-index: var(--u-fixed-app-bar-z-index, 1010);\n }\n\n .content {\n display: flex;\n align-items: center;\n background-color: inherit;\n transition: inherit;\n min-height: var(--u-top-app-bar-min-height, 56px);\n }\n @media (min-width: 840px) {\n .content {\n min-height: var(--u-top-app-bar-extended-min-height, 64px);\n }\n }\n\n .headline {\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-top-app-bar-headline-line-height, var(--u-title-l-line-height, 1.75rem));\n font-size: var(--u-top-app-bar-headline-font-size, var(--u-title-l-font-size, 1.375rem));\n letter-spacing: var(--u-top-app-bar-headline-letter-spacing, var(--u-title-l-letter-spacing, 0rem));\n font-weight: var(--u-top-app-bar-headline-font-weight, var(--u-title-l-font-weight, var(--u-font-weight-regular, 400)));\n margin-inline: var(--u-headline-margin, 16px);\n }\n\n .leading-icon {\n margin-inline: var(--u-leading-icon-margin, 8px);\n }\n .leading-icon + .headline {\n margin-inline-start: 0;\n }\n\n .trailing-icon {\n padding-inline: var(--u-trailing-icon-margin, 8px);\n margin-inline-start: auto;\n }\n`"
2375
+ "default": "css `\n :host {\n --_icon-button-size: var(--u-icon-button-size, 2.5rem);\n --_color-surface-container-highest: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n width: var(--_icon-button-size);\n height: var(--_icon-button-size);\n border-radius: var(--u-icon-button-shape-corner, 9999px);\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 }\n\n .icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: var(--u-icon-button-icon-size, 1.5rem);\n }\n .icon.icon-selected {\n display: none;\n }\n\n :host([selected][has-selection-icon]) .icon:not(.icon-selected) {\n display: none;\n }\n :host([selected][has-selection-icon]) .icon.icon-selected {\n display: inline-block;\n }\n\n :host([variant=filled]) {\n background-color: var(--u-filled-icon-button-unselected-bg-color, var(--_color-surface-container-highest));\n color: var(--u-filled-icon-button-unselected-text-color, var(--_color-primary));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-total-icon-button-unselected-bg-color, var(--_color-surface-container-highest));\n color: var(--u-tonal-icon-button-unselected-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([selected][variant=filled]),\n :host([variant=filled]:not([has-selection-icon])) {\n background-color: var(--u-filled-icon-button-bg-color, var(--_color-primary));\n color: var(--u-filled-icon-button-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([selected][variant=tonal]),\n :host([variant=tonal]:not([has-selection-icon])) {\n background-color: var(--u-tonal-icon-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-icon-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=standard]),\n :host([variant=outlined]) {\n color: var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([variant=outlined]) {\n border: 1px solid var(--u-color-outline, rgb(121, 116, 126));\n color: var(--u-outlined-icon-button-color, var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79))));\n }\n\n :host([selected][variant=outlined]) {\n border: none;\n background-color: var(--u-outlined-icon-button-selected-bg-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n color: var(--u-outlined-icon-button-selected-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n }\n\n :host([selected][variant=standard]) {\n color: var(--u-standard-icon-button-selected-text-color, var(--_color-primary));\n background-color: var(--u-standard-icon-button-selected-bg-color, transparent);\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-icon-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-icon-button-disabled-border-opacity, 0.12))) !important;\n }\n`"
2419
2376
  }
2420
2377
  ],
2421
2378
  "exports": [
@@ -2424,484 +2381,527 @@
2424
2381
  "name": "styles",
2425
2382
  "declaration": {
2426
2383
  "name": "styles",
2427
- "module": "src/app-bar/top-app-bar.styles.ts"
2384
+ "module": "src/button/icon-button.styles.ts"
2428
2385
  }
2429
2386
  }
2430
2387
  ]
2431
2388
  },
2432
2389
  {
2433
2390
  "kind": "javascript-module",
2434
- "path": "src/app-bar/top-app-bar.ts",
2391
+ "path": "src/button/icon-button.ts",
2435
2392
  "declarations": [
2436
2393
  {
2437
2394
  "kind": "class",
2438
2395
  "description": "",
2439
- "name": "UmTopAppBar",
2396
+ "name": "UmIconButton",
2440
2397
  "members": [
2441
2398
  {
2442
2399
  "kind": "field",
2443
- "name": "hasLeadingIcon",
2400
+ "name": "variant",
2444
2401
  "type": {
2445
- "text": "boolean"
2402
+ "text": "UmIconButtonVariant"
2446
2403
  },
2447
- "default": "false",
2448
- "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
2449
- "attribute": "has-leading-icon",
2404
+ "default": "'standard'",
2405
+ "attribute": "variant",
2450
2406
  "reflects": true
2451
2407
  },
2452
2408
  {
2453
2409
  "kind": "field",
2454
- "name": "hasTrailingIcon",
2410
+ "name": "toggle",
2455
2411
  "type": {
2456
2412
  "text": "boolean"
2457
2413
  },
2458
2414
  "default": "false",
2459
- "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
2460
- "attribute": "has-trailing-icon",
2461
- "reflects": true
2462
- },
2463
- {
2464
- "kind": "field",
2465
- "name": "position",
2466
- "type": {
2467
- "text": "'fixed' | 'absolute' | 'static'"
2468
- },
2469
- "default": "'fixed'",
2470
- "attribute": "position",
2471
- "reflects": true
2415
+ "description": "When true, the button will toggle between selected and unselected\nstates",
2416
+ "attribute": "toggle"
2472
2417
  },
2473
2418
  {
2474
2419
  "kind": "field",
2475
- "name": "scrollContainer",
2420
+ "name": "hasSelectionIcon",
2476
2421
  "type": {
2477
- "text": "'none' | 'window' | string | undefined"
2422
+ "text": "boolean"
2478
2423
  },
2479
- "attribute": "scrollContainer",
2424
+ "default": "false",
2425
+ "attribute": "has-selection-icon",
2480
2426
  "reflects": true
2481
2427
  },
2482
2428
  {
2483
2429
  "kind": "field",
2484
- "name": "containerScrolled",
2430
+ "name": "selected",
2485
2431
  "type": {
2486
2432
  "text": "boolean"
2487
2433
  },
2488
2434
  "default": "false",
2489
- "attribute": "container-scrolled",
2435
+ "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.",
2436
+ "attribute": "selected",
2490
2437
  "reflects": true
2491
2438
  },
2492
2439
  {
2493
2440
  "kind": "field",
2494
- "name": "assignedLeadingIcons",
2441
+ "name": "ariaLabelSelected",
2495
2442
  "type": {
2496
- "text": "HTMLElement[]"
2443
+ "text": "string"
2497
2444
  },
2498
- "privacy": "private"
2445
+ "default": "''",
2446
+ "description": "The `aria-label` of the button when the button is toggleable and selected.",
2447
+ "attribute": "aria-label-selected"
2499
2448
  },
2500
2449
  {
2501
2450
  "kind": "field",
2502
- "name": "assignedTrailingIcons",
2451
+ "name": "selectedIcons",
2503
2452
  "type": {
2504
2453
  "text": "HTMLElement[]"
2505
2454
  },
2506
2455
  "privacy": "private"
2507
2456
  },
2508
2457
  {
2509
- "kind": "field",
2510
- "name": "content",
2511
- "type": {
2512
- "text": "HTMLElement"
2513
- }
2514
- },
2515
- {
2516
- "kind": "field",
2517
- "name": "contentSizeObserver",
2518
- "type": {
2519
- "text": "ResizeObserver | null"
2520
- },
2521
- "privacy": "private",
2522
- "default": "null"
2523
- },
2524
- {
2525
- "kind": "field",
2526
- "name": "scrollContainerElement",
2527
- "type": {
2528
- "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
2458
+ "kind": "method",
2459
+ "name": "renderContent",
2460
+ "privacy": "protected",
2461
+ "return": {
2462
+ "type": {
2463
+ "text": "HTMLTemplateResult"
2464
+ }
2529
2465
  },
2530
- "privacy": "private",
2531
- "default": "null"
2466
+ "inheritedFrom": {
2467
+ "name": "UmButtonWrapper",
2468
+ "module": "src/shared/button-wrapper.ts"
2469
+ }
2532
2470
  },
2533
2471
  {
2534
2472
  "kind": "method",
2535
- "name": "getScrollContainer",
2536
- "privacy": "private",
2473
+ "name": "handleClick",
2474
+ "privacy": "protected",
2537
2475
  "return": {
2538
2476
  "type": {
2539
- "text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
2477
+ "text": "void"
2540
2478
  }
2541
2479
  },
2542
2480
  "parameters": [
2543
2481
  {
2544
- "name": "idOrElement",
2482
+ "name": "event",
2545
2483
  "type": {
2546
- "text": "string | HTMLElement | undefined"
2484
+ "text": "UIEvent"
2547
2485
  }
2548
2486
  }
2549
- ]
2550
- },
2551
- {
2552
- "kind": "method",
2553
- "name": "handleLeadingIconSlotChange",
2554
- "privacy": "private"
2487
+ ],
2488
+ "inheritedFrom": {
2489
+ "name": "UmButtonWrapper",
2490
+ "module": "src/shared/button-wrapper.ts"
2491
+ }
2555
2492
  },
2556
2493
  {
2557
2494
  "kind": "method",
2558
- "name": "handleTrailingIconSlotChange",
2559
- "privacy": "private"
2560
- },
2561
- {
2562
- "kind": "field",
2563
- "name": "onContainerScroll"
2564
- },
2565
- {
2566
- "kind": "method",
2567
- "name": "getScrollTop",
2568
- "privacy": "private",
2569
- "static": true,
2495
+ "name": "getAriaLabel",
2496
+ "privacy": "protected",
2570
2497
  "return": {
2571
2498
  "type": {
2572
- "text": "number | null"
2499
+ "text": "string | null"
2573
2500
  }
2574
2501
  },
2575
- "parameters": [
2576
- {
2577
- "name": "container",
2578
- "type": {
2579
- "text": "HTMLElement & Window"
2580
- }
2581
- }
2582
- ]
2502
+ "inheritedFrom": {
2503
+ "name": "UmButtonWrapper",
2504
+ "module": "src/shared/button-wrapper.ts"
2505
+ }
2583
2506
  },
2584
2507
  {
2585
2508
  "kind": "method",
2586
- "name": "setContentHeightProperty",
2509
+ "name": "handleSlotChange",
2587
2510
  "privacy": "private"
2588
- }
2589
- ],
2590
- "attributes": [
2511
+ },
2591
2512
  {
2592
- "name": "has-leading-icon",
2513
+ "kind": "field",
2514
+ "name": "formAssociated",
2593
2515
  "type": {
2594
2516
  "text": "boolean"
2595
2517
  },
2596
- "default": "false",
2597
- "description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
2598
- "fieldName": "hasLeadingIcon"
2518
+ "static": true,
2519
+ "default": "true",
2520
+ "inheritedFrom": {
2521
+ "name": "UmButtonBase",
2522
+ "module": "src/button/button-base.ts"
2523
+ }
2599
2524
  },
2600
2525
  {
2601
- "name": "has-trailing-icon",
2526
+ "kind": "field",
2527
+ "name": "type",
2602
2528
  "type": {
2603
- "text": "boolean"
2529
+ "text": "string"
2604
2530
  },
2605
- "default": "false",
2606
- "description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
2607
- "fieldName": "hasTrailingIcon"
2531
+ "default": "'submit'",
2532
+ "attribute": "type",
2533
+ "inheritedFrom": {
2534
+ "name": "UmButtonBase",
2535
+ "module": "src/button/button-base.ts"
2536
+ }
2608
2537
  },
2609
2538
  {
2610
- "name": "position",
2539
+ "kind": "field",
2540
+ "name": "value",
2611
2541
  "type": {
2612
- "text": "'fixed' | 'absolute' | 'static'"
2542
+ "text": "string"
2613
2543
  },
2614
- "default": "'fixed'",
2615
- "fieldName": "position"
2544
+ "default": "''",
2545
+ "attribute": "value",
2546
+ "reflects": true,
2547
+ "inheritedFrom": {
2548
+ "name": "UmButtonBase",
2549
+ "module": "src/button/button-base.ts"
2550
+ }
2616
2551
  },
2617
2552
  {
2618
- "name": "scrollContainer",
2553
+ "kind": "field",
2554
+ "name": "form",
2619
2555
  "type": {
2620
- "text": "'none' | 'window' | string | undefined"
2556
+ "text": "HTMLFormElement | null"
2621
2557
  },
2622
- "fieldName": "scrollContainer"
2558
+ "inheritedFrom": {
2559
+ "name": "UmButtonBase",
2560
+ "module": "src/button/button-base.ts"
2561
+ }
2623
2562
  },
2624
2563
  {
2625
- "name": "container-scrolled",
2564
+ "kind": "field",
2565
+ "name": "#elementInternals",
2566
+ "privacy": "private",
2567
+ "type": {
2568
+ "text": "ElementInternals"
2569
+ },
2570
+ "inheritedFrom": {
2571
+ "name": "UmButtonBase",
2572
+ "module": "src/button/button-base.ts"
2573
+ }
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "disabled",
2626
2578
  "type": {
2627
2579
  "text": "boolean"
2628
2580
  },
2629
2581
  "default": "false",
2630
- "fieldName": "containerScrolled"
2631
- }
2632
- ],
2633
- "superclass": {
2634
- "name": "LitElement",
2635
- "package": "lit"
2636
- },
2637
- "tagName": "u-top-app-bar",
2638
- "customElement": true
2639
- }
2640
- ],
2641
- "exports": [
2642
- {
2643
- "kind": "js",
2644
- "name": "UmTopAppBar",
2645
- "declaration": {
2646
- "name": "UmTopAppBar",
2647
- "module": "src/app-bar/top-app-bar.ts"
2648
- }
2649
- },
2650
- {
2651
- "kind": "custom-element-definition",
2652
- "name": "u-top-app-bar",
2653
- "declaration": {
2654
- "name": "UmTopAppBar",
2655
- "module": "src/app-bar/top-app-bar.ts"
2656
- }
2657
- }
2658
- ]
2659
- },
2660
- {
2661
- "kind": "javascript-module",
2662
- "path": "src/card/card-content.styles.ts",
2663
- "declarations": [
2664
- {
2665
- "kind": "variable",
2666
- "name": "styles",
2667
- "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`"
2668
- }
2669
- ],
2670
- "exports": [
2671
- {
2672
- "kind": "js",
2673
- "name": "styles",
2674
- "declaration": {
2675
- "name": "styles",
2676
- "module": "src/card/card-content.styles.ts"
2677
- }
2678
- }
2679
- ]
2680
- },
2681
- {
2682
- "kind": "javascript-module",
2683
- "path": "src/card/card-content.ts",
2684
- "declarations": [
2685
- {
2686
- "kind": "class",
2687
- "description": "",
2688
- "name": "UmCardContent",
2689
- "members": [
2582
+ "description": "Whether the button is disabled or not.",
2583
+ "attribute": "disabled",
2584
+ "reflects": true,
2585
+ "inheritedFrom": {
2586
+ "name": "UmButtonWrapper",
2587
+ "module": "src/shared/button-wrapper.ts"
2588
+ }
2589
+ },
2690
2590
  {
2691
2591
  "kind": "field",
2692
- "name": "hasContent",
2592
+ "name": "renderRipple",
2693
2593
  "type": {
2694
2594
  "text": "boolean"
2695
2595
  },
2696
- "default": "false",
2697
- "attribute": "has-content",
2698
- "reflects": true
2596
+ "default": "true",
2597
+ "inheritedFrom": {
2598
+ "name": "UmButtonWrapper",
2599
+ "module": "src/shared/button-wrapper.ts"
2600
+ }
2601
+ },
2602
+ {
2603
+ "kind": "field",
2604
+ "name": "href",
2605
+ "type": {
2606
+ "text": "string | undefined"
2607
+ },
2608
+ "description": "The URL that the link button points to.",
2609
+ "attribute": "href",
2610
+ "inheritedFrom": {
2611
+ "name": "UmButtonWrapper",
2612
+ "module": "src/shared/button-wrapper.ts"
2613
+ }
2614
+ },
2615
+ {
2616
+ "kind": "field",
2617
+ "name": "target",
2618
+ "type": {
2619
+ "text": "string | undefined"
2620
+ },
2621
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
2622
+ "attribute": "target",
2623
+ "inheritedFrom": {
2624
+ "name": "UmButtonWrapper",
2625
+ "module": "src/shared/button-wrapper.ts"
2626
+ }
2627
+ },
2628
+ {
2629
+ "kind": "field",
2630
+ "name": "name",
2631
+ "type": {
2632
+ "text": "string | undefined"
2633
+ },
2634
+ "attribute": "name",
2635
+ "inheritedFrom": {
2636
+ "name": "UmButtonWrapper",
2637
+ "module": "src/shared/button-wrapper.ts"
2638
+ }
2639
+ },
2640
+ {
2641
+ "kind": "field",
2642
+ "name": "buttonElement",
2643
+ "type": {
2644
+ "text": "HTMLElement"
2645
+ },
2646
+ "inheritedFrom": {
2647
+ "name": "UmButtonWrapper",
2648
+ "module": "src/shared/button-wrapper.ts"
2649
+ }
2650
+ },
2651
+ {
2652
+ "kind": "field",
2653
+ "name": "ripple",
2654
+ "type": {
2655
+ "text": "UmRipple"
2656
+ },
2657
+ "privacy": "private",
2658
+ "inheritedFrom": {
2659
+ "name": "UmButtonWrapper",
2660
+ "module": "src/shared/button-wrapper.ts"
2661
+ }
2662
+ },
2663
+ {
2664
+ "kind": "field",
2665
+ "name": "innerRole",
2666
+ "type": {
2667
+ "text": "string | null"
2668
+ },
2669
+ "privacy": "protected",
2670
+ "default": "null",
2671
+ "inheritedFrom": {
2672
+ "name": "UmButtonWrapper",
2673
+ "module": "src/shared/button-wrapper.ts"
2674
+ }
2675
+ },
2676
+ {
2677
+ "kind": "field",
2678
+ "name": "pathname",
2679
+ "type": {
2680
+ "text": "string"
2681
+ },
2682
+ "inheritedFrom": {
2683
+ "name": "UmButtonWrapper",
2684
+ "module": "src/shared/button-wrapper.ts"
2685
+ }
2699
2686
  },
2700
2687
  {
2701
2688
  "kind": "method",
2702
- "name": "handleSlotChange",
2689
+ "name": "renderButton",
2703
2690
  "privacy": "private",
2691
+ "inheritedFrom": {
2692
+ "name": "UmButtonWrapper",
2693
+ "module": "src/shared/button-wrapper.ts"
2694
+ }
2695
+ },
2696
+ {
2697
+ "kind": "method",
2698
+ "name": "renderLink",
2699
+ "privacy": "private",
2700
+ "inheritedFrom": {
2701
+ "name": "UmButtonWrapper",
2702
+ "module": "src/shared/button-wrapper.ts"
2703
+ }
2704
+ },
2705
+ {
2706
+ "kind": "method",
2707
+ "name": "focus",
2708
+ "inheritedFrom": {
2709
+ "name": "UmButtonWrapper",
2710
+ "module": "src/shared/button-wrapper.ts"
2711
+ }
2712
+ },
2713
+ {
2714
+ "kind": "method",
2715
+ "name": "blur",
2716
+ "inheritedFrom": {
2717
+ "name": "UmButtonWrapper",
2718
+ "module": "src/shared/button-wrapper.ts"
2719
+ }
2720
+ },
2721
+ {
2722
+ "kind": "method",
2723
+ "name": "innerFocusHandler",
2724
+ "privacy": "private",
2725
+ "return": {
2726
+ "type": {
2727
+ "text": "void"
2728
+ }
2729
+ },
2730
+ "inheritedFrom": {
2731
+ "name": "UmButtonWrapper",
2732
+ "module": "src/shared/button-wrapper.ts"
2733
+ }
2734
+ },
2735
+ {
2736
+ "kind": "method",
2737
+ "name": "#innerClickHandler",
2738
+ "return": {
2739
+ "type": {
2740
+ "text": "void"
2741
+ }
2742
+ },
2704
2743
  "parameters": [
2705
2744
  {
2706
- "name": "e",
2745
+ "name": "event",
2707
2746
  "type": {
2708
- "text": "Event"
2747
+ "text": "MouseEvent"
2709
2748
  }
2710
2749
  }
2711
- ]
2750
+ ],
2751
+ "inheritedFrom": {
2752
+ "name": "UmButtonWrapper",
2753
+ "module": "src/shared/button-wrapper.ts"
2754
+ }
2755
+ }
2756
+ ],
2757
+ "events": [
2758
+ {
2759
+ "name": "change",
2760
+ "type": {
2761
+ "text": "Event"
2762
+ }
2712
2763
  }
2713
2764
  ],
2714
2765
  "attributes": [
2715
2766
  {
2716
- "name": "has-content",
2767
+ "name": "variant",
2768
+ "type": {
2769
+ "text": "UmIconButtonVariant"
2770
+ },
2771
+ "default": "'standard'",
2772
+ "fieldName": "variant"
2773
+ },
2774
+ {
2775
+ "name": "toggle",
2776
+ "type": {
2777
+ "text": "boolean"
2778
+ },
2779
+ "default": "false",
2780
+ "description": "When true, the button will toggle between selected and unselected\nstates",
2781
+ "fieldName": "toggle"
2782
+ },
2783
+ {
2784
+ "name": "has-selection-icon",
2717
2785
  "type": {
2718
2786
  "text": "boolean"
2719
2787
  },
2720
2788
  "default": "false",
2721
- "fieldName": "hasContent"
2722
- }
2723
- ],
2724
- "superclass": {
2725
- "name": "LitElement",
2726
- "package": "lit"
2727
- },
2728
- "tagName": "u-card-content",
2729
- "customElement": true
2730
- }
2731
- ],
2732
- "exports": [
2733
- {
2734
- "kind": "js",
2735
- "name": "UmCardContent",
2736
- "declaration": {
2737
- "name": "UmCardContent",
2738
- "module": "src/card/card-content.ts"
2739
- }
2740
- },
2741
- {
2742
- "kind": "custom-element-definition",
2743
- "name": "u-card-content",
2744
- "declaration": {
2745
- "name": "UmCardContent",
2746
- "module": "src/card/card-content.ts"
2747
- }
2748
- }
2749
- ]
2750
- },
2751
- {
2752
- "kind": "javascript-module",
2753
- "path": "src/card/card-media.styles.ts",
2754
- "declarations": [
2755
- {
2756
- "kind": "variable",
2757
- "name": "styles",
2758
- "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`"
2759
- }
2760
- ],
2761
- "exports": [
2762
- {
2763
- "kind": "js",
2764
- "name": "styles",
2765
- "declaration": {
2766
- "name": "styles",
2767
- "module": "src/card/card-media.styles.ts"
2768
- }
2769
- }
2770
- ]
2771
- },
2772
- {
2773
- "kind": "javascript-module",
2774
- "path": "src/card/card-media.ts",
2775
- "declarations": [
2776
- {
2777
- "kind": "class",
2778
- "description": "",
2779
- "name": "UmCardMedia",
2780
- "members": [
2789
+ "fieldName": "hasSelectionIcon"
2790
+ },
2781
2791
  {
2782
- "kind": "field",
2783
- "name": "wide",
2792
+ "name": "selected",
2784
2793
  "type": {
2785
2794
  "text": "boolean"
2786
2795
  },
2787
2796
  "default": "false",
2788
- "attribute": "wide",
2789
- "reflects": true
2790
- }
2791
- ],
2792
- "attributes": [
2797
+ "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.",
2798
+ "fieldName": "selected"
2799
+ },
2793
2800
  {
2794
- "name": "wide",
2801
+ "name": "aria-label-selected",
2802
+ "type": {
2803
+ "text": "string"
2804
+ },
2805
+ "default": "''",
2806
+ "description": "The `aria-label` of the button when the button is toggleable and selected.",
2807
+ "fieldName": "ariaLabelSelected"
2808
+ },
2809
+ {
2810
+ "name": "type",
2811
+ "type": {
2812
+ "text": "string"
2813
+ },
2814
+ "default": "'submit'",
2815
+ "fieldName": "type",
2816
+ "inheritedFrom": {
2817
+ "name": "UmButtonBase",
2818
+ "module": "src/button/button-base.ts"
2819
+ }
2820
+ },
2821
+ {
2822
+ "name": "value",
2823
+ "type": {
2824
+ "text": "string"
2825
+ },
2826
+ "default": "''",
2827
+ "fieldName": "value",
2828
+ "inheritedFrom": {
2829
+ "name": "UmButtonBase",
2830
+ "module": "src/button/button-base.ts"
2831
+ }
2832
+ },
2833
+ {
2834
+ "name": "disabled",
2795
2835
  "type": {
2796
2836
  "text": "boolean"
2797
2837
  },
2798
2838
  "default": "false",
2799
- "fieldName": "wide"
2800
- }
2801
- ],
2802
- "superclass": {
2803
- "name": "LitElement",
2804
- "package": "lit"
2805
- },
2806
- "tagName": "u-card-media",
2807
- "customElement": true
2808
- }
2809
- ],
2810
- "exports": [
2811
- {
2812
- "kind": "js",
2813
- "name": "UmCardMedia",
2814
- "declaration": {
2815
- "name": "UmCardMedia",
2816
- "module": "src/card/card-media.ts"
2817
- }
2818
- },
2819
- {
2820
- "kind": "custom-element-definition",
2821
- "name": "u-card-media",
2822
- "declaration": {
2823
- "name": "UmCardMedia",
2824
- "module": "src/card/card-media.ts"
2825
- }
2826
- }
2827
- ]
2828
- },
2829
- {
2830
- "kind": "javascript-module",
2831
- "path": "src/card/card.styles.ts",
2832
- "declarations": [
2833
- {
2834
- "kind": "variable",
2835
- "name": "styles",
2836
- "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 --u-current-bg-color: var(--u-card-elevated-bg-color, var(var(--u-color-surface-container-low, rgb(247, 242, 250))));\n background-color: var(--u-current-bg-color);\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 --u-current-bg-color: var(--u-card-filled-bg-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n background-color: var(--u-current-bg-color);\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`"
2837
- }
2838
- ],
2839
- "exports": [
2840
- {
2841
- "kind": "js",
2842
- "name": "styles",
2843
- "declaration": {
2844
- "name": "styles",
2845
- "module": "src/card/card.styles.ts"
2846
- }
2847
- }
2848
- ]
2849
- },
2850
- {
2851
- "kind": "javascript-module",
2852
- "path": "src/card/card.ts",
2853
- "declarations": [
2854
- {
2855
- "kind": "class",
2856
- "description": "",
2857
- "name": "UmCard",
2858
- "members": [
2839
+ "description": "Whether the button is disabled or not.",
2840
+ "fieldName": "disabled",
2841
+ "inheritedFrom": {
2842
+ "name": "UmButtonWrapper",
2843
+ "module": "src/shared/button-wrapper.ts"
2844
+ }
2845
+ },
2859
2846
  {
2860
- "kind": "field",
2861
- "name": "variant",
2847
+ "name": "href",
2862
2848
  "type": {
2863
- "text": "UmCardVariant"
2849
+ "text": "string | undefined"
2864
2850
  },
2865
- "default": "'filled'",
2866
- "description": "The Card variant to render.",
2867
- "attribute": "variant",
2868
- "reflects": true
2869
- }
2870
- ],
2871
- "attributes": [
2851
+ "description": "The URL that the link button points to.",
2852
+ "fieldName": "href",
2853
+ "inheritedFrom": {
2854
+ "name": "UmButtonWrapper",
2855
+ "module": "src/shared/button-wrapper.ts"
2856
+ }
2857
+ },
2872
2858
  {
2873
- "name": "variant",
2859
+ "name": "target",
2874
2860
  "type": {
2875
- "text": "UmCardVariant"
2861
+ "text": "string | undefined"
2876
2862
  },
2877
- "default": "'filled'",
2878
- "description": "The Card variant to render.",
2879
- "fieldName": "variant"
2863
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
2864
+ "fieldName": "target",
2865
+ "inheritedFrom": {
2866
+ "name": "UmButtonWrapper",
2867
+ "module": "src/shared/button-wrapper.ts"
2868
+ }
2869
+ },
2870
+ {
2871
+ "name": "name",
2872
+ "type": {
2873
+ "text": "string | undefined"
2874
+ },
2875
+ "fieldName": "name",
2876
+ "inheritedFrom": {
2877
+ "name": "UmButtonWrapper",
2878
+ "module": "src/shared/button-wrapper.ts"
2879
+ }
2880
2880
  }
2881
2881
  ],
2882
2882
  "superclass": {
2883
- "name": "LitElement",
2884
- "package": "lit"
2883
+ "name": "UmButtonBase",
2884
+ "module": "/src/button/button-base.js"
2885
2885
  },
2886
- "tagName": "u-card",
2886
+ "tagName": "u-icon-button",
2887
2887
  "customElement": true
2888
2888
  }
2889
2889
  ],
2890
2890
  "exports": [
2891
2891
  {
2892
2892
  "kind": "js",
2893
- "name": "UmCard",
2893
+ "name": "UmIconButton",
2894
2894
  "declaration": {
2895
- "name": "UmCard",
2896
- "module": "src/card/card.ts"
2895
+ "name": "UmIconButton",
2896
+ "module": "src/button/icon-button.ts"
2897
2897
  }
2898
2898
  },
2899
2899
  {
2900
2900
  "kind": "custom-element-definition",
2901
- "name": "u-card",
2901
+ "name": "u-icon-button",
2902
2902
  "declaration": {
2903
- "name": "UmCard",
2904
- "module": "src/card/card.ts"
2903
+ "name": "UmIconButton",
2904
+ "module": "src/button/icon-button.ts"
2905
2905
  }
2906
2906
  }
2907
2907
  ]
@@ -13614,6 +13614,15 @@
13614
13614
  "name": "value",
13615
13615
  "attribute": "value"
13616
13616
  },
13617
+ {
13618
+ "kind": "field",
13619
+ "name": "type",
13620
+ "type": {
13621
+ "text": "string"
13622
+ },
13623
+ "default": "'text'",
13624
+ "attribute": "type"
13625
+ },
13617
13626
  {
13618
13627
  "kind": "field",
13619
13628
  "name": "prefixText",
@@ -14088,6 +14097,14 @@
14088
14097
  "name": "value",
14089
14098
  "fieldName": "value"
14090
14099
  },
14100
+ {
14101
+ "name": "type",
14102
+ "type": {
14103
+ "text": "string"
14104
+ },
14105
+ "default": "'text'",
14106
+ "fieldName": "type"
14107
+ },
14091
14108
  {
14092
14109
  "name": "prefix-text",
14093
14110
  "type": {