@universal-material/web 3.0.40 → 3.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chip-field/chip-field.d.ts +1 -0
- package/chip-field/chip-field.d.ts.map +1 -1
- package/chip-field/chip-field.js +10 -6
- package/chip-field/chip-field.js.map +1 -1
- package/custom-elements.json +1326 -1309
- package/package.json +1 -1
- package/typeahead/typeahead.d.ts +2 -2
- package/typeahead/typeahead.d.ts.map +1 -1
- package/typeahead/typeahead.js +11 -11
- package/typeahead/typeahead.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -529,381 +529,390 @@
|
|
|
529
529
|
},
|
|
530
530
|
{
|
|
531
531
|
"kind": "javascript-module",
|
|
532
|
-
"path": "src/
|
|
532
|
+
"path": "src/button/button-base.ts",
|
|
533
533
|
"declarations": [
|
|
534
534
|
{
|
|
535
535
|
"kind": "class",
|
|
536
536
|
"description": "",
|
|
537
|
-
"name": "
|
|
538
|
-
"mixins": [
|
|
539
|
-
{
|
|
540
|
-
"name": "mixinSelectionControlListItem",
|
|
541
|
-
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
542
|
-
}
|
|
543
|
-
],
|
|
544
|
-
"superclass": {
|
|
545
|
-
"name": "UmCheckbox",
|
|
546
|
-
"module": "/src/checkbox/checkbox.js"
|
|
547
|
-
},
|
|
548
|
-
"tagName": "u-checkbox-list-item",
|
|
549
|
-
"customElement": true,
|
|
537
|
+
"name": "UmButtonBase",
|
|
550
538
|
"members": [
|
|
551
539
|
{
|
|
552
540
|
"kind": "field",
|
|
553
|
-
"name": "
|
|
541
|
+
"name": "formAssociated",
|
|
554
542
|
"type": {
|
|
555
|
-
"text": "
|
|
543
|
+
"text": "boolean"
|
|
556
544
|
},
|
|
557
545
|
"static": true,
|
|
558
|
-
"default": "
|
|
559
|
-
"inheritedFrom": {
|
|
560
|
-
"name": "mixinSelectionControlListItem",
|
|
561
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"kind": "method",
|
|
566
|
-
"name": "render",
|
|
567
|
-
"return": {
|
|
568
|
-
"type": {
|
|
569
|
-
"text": "HTMLTemplateResult"
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
"inheritedFrom": {
|
|
573
|
-
"name": "mixinSelectionControlListItem",
|
|
574
|
-
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
575
|
-
}
|
|
546
|
+
"default": "true"
|
|
576
547
|
},
|
|
577
548
|
{
|
|
578
549
|
"kind": "field",
|
|
579
|
-
"name": "
|
|
580
|
-
"privacy": "private",
|
|
550
|
+
"name": "type",
|
|
581
551
|
"type": {
|
|
582
|
-
"text": "
|
|
552
|
+
"text": "string"
|
|
583
553
|
},
|
|
584
|
-
"default": "
|
|
585
|
-
"
|
|
586
|
-
"name": "UmCheckbox",
|
|
587
|
-
"module": "src/checkbox/checkbox.ts"
|
|
588
|
-
}
|
|
554
|
+
"default": "'submit'",
|
|
555
|
+
"attribute": "type"
|
|
589
556
|
},
|
|
590
557
|
{
|
|
591
558
|
"kind": "field",
|
|
592
|
-
"name": "
|
|
559
|
+
"name": "value",
|
|
593
560
|
"type": {
|
|
594
|
-
"text": "
|
|
561
|
+
"text": "string"
|
|
595
562
|
},
|
|
596
|
-
"default": "
|
|
597
|
-
"attribute": "
|
|
598
|
-
"reflects": true
|
|
599
|
-
"inheritedFrom": {
|
|
600
|
-
"name": "UmCheckbox",
|
|
601
|
-
"module": "src/checkbox/checkbox.ts"
|
|
602
|
-
}
|
|
563
|
+
"default": "''",
|
|
564
|
+
"attribute": "value",
|
|
565
|
+
"reflects": true
|
|
603
566
|
},
|
|
604
567
|
{
|
|
605
568
|
"kind": "field",
|
|
606
|
-
"name": "
|
|
569
|
+
"name": "form",
|
|
607
570
|
"type": {
|
|
608
|
-
"text": "
|
|
571
|
+
"text": "HTMLFormElement | null"
|
|
609
572
|
},
|
|
610
|
-
"
|
|
611
|
-
"
|
|
612
|
-
"name": "UmCheckbox",
|
|
613
|
-
"module": "src/checkbox/checkbox.ts"
|
|
614
|
-
}
|
|
573
|
+
"description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
|
|
574
|
+
"attribute": "form"
|
|
615
575
|
},
|
|
616
576
|
{
|
|
617
577
|
"kind": "field",
|
|
618
|
-
"name": "
|
|
619
|
-
"
|
|
578
|
+
"name": "#elementInternals",
|
|
579
|
+
"privacy": "private",
|
|
620
580
|
"type": {
|
|
621
|
-
"text": "
|
|
622
|
-
},
|
|
623
|
-
"inheritedFrom": {
|
|
624
|
-
"name": "UmSelectionControl",
|
|
625
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
581
|
+
"text": "ElementInternals"
|
|
626
582
|
}
|
|
627
583
|
},
|
|
628
584
|
{
|
|
629
585
|
"kind": "method",
|
|
630
|
-
"name": "
|
|
586
|
+
"name": "handleClick",
|
|
631
587
|
"privacy": "protected",
|
|
632
588
|
"return": {
|
|
633
589
|
"type": {
|
|
634
|
-
"text": "
|
|
590
|
+
"text": "void"
|
|
635
591
|
}
|
|
636
592
|
},
|
|
593
|
+
"parameters": [
|
|
594
|
+
{
|
|
595
|
+
"name": "_",
|
|
596
|
+
"type": {
|
|
597
|
+
"text": "UIEvent"
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
],
|
|
637
601
|
"inheritedFrom": {
|
|
638
|
-
"name": "
|
|
639
|
-
"module": "src/shared/
|
|
602
|
+
"name": "UmButtonWrapper",
|
|
603
|
+
"module": "src/shared/button-wrapper.ts"
|
|
640
604
|
}
|
|
641
605
|
},
|
|
642
606
|
{
|
|
643
607
|
"kind": "field",
|
|
644
|
-
"name": "
|
|
608
|
+
"name": "disabled",
|
|
645
609
|
"type": {
|
|
646
610
|
"text": "boolean"
|
|
647
611
|
},
|
|
648
|
-
"
|
|
649
|
-
"
|
|
612
|
+
"default": "false",
|
|
613
|
+
"description": "Whether the button is disabled or not.",
|
|
614
|
+
"attribute": "disabled",
|
|
615
|
+
"reflects": true,
|
|
650
616
|
"inheritedFrom": {
|
|
651
|
-
"name": "
|
|
652
|
-
"module": "src/shared/
|
|
617
|
+
"name": "UmButtonWrapper",
|
|
618
|
+
"module": "src/shared/button-wrapper.ts"
|
|
653
619
|
}
|
|
654
620
|
},
|
|
655
621
|
{
|
|
656
622
|
"kind": "field",
|
|
657
|
-
"name": "
|
|
623
|
+
"name": "renderRipple",
|
|
658
624
|
"type": {
|
|
659
|
-
"text": "
|
|
625
|
+
"text": "boolean"
|
|
660
626
|
},
|
|
661
|
-
"
|
|
627
|
+
"default": "true",
|
|
662
628
|
"inheritedFrom": {
|
|
663
|
-
"name": "
|
|
664
|
-
"module": "src/shared/
|
|
629
|
+
"name": "UmButtonWrapper",
|
|
630
|
+
"module": "src/shared/button-wrapper.ts"
|
|
665
631
|
}
|
|
666
632
|
},
|
|
667
633
|
{
|
|
668
634
|
"kind": "field",
|
|
669
|
-
"name": "
|
|
635
|
+
"name": "href",
|
|
670
636
|
"type": {
|
|
671
637
|
"text": "string | undefined"
|
|
672
638
|
},
|
|
673
|
-
"
|
|
674
|
-
"attribute": "
|
|
675
|
-
"inheritedFrom": {
|
|
676
|
-
"name": "UmSelectionControl",
|
|
677
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
678
|
-
}
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"kind": "field",
|
|
682
|
-
"name": "disabled",
|
|
683
|
-
"type": {
|
|
684
|
-
"text": "boolean"
|
|
685
|
-
},
|
|
686
|
-
"default": "false",
|
|
687
|
-
"attribute": "disabled",
|
|
688
|
-
"reflects": true,
|
|
639
|
+
"description": "The URL that the link button points to.",
|
|
640
|
+
"attribute": "href",
|
|
689
641
|
"inheritedFrom": {
|
|
690
|
-
"name": "
|
|
691
|
-
"module": "src/shared/
|
|
642
|
+
"name": "UmButtonWrapper",
|
|
643
|
+
"module": "src/shared/button-wrapper.ts"
|
|
692
644
|
}
|
|
693
645
|
},
|
|
694
646
|
{
|
|
695
647
|
"kind": "field",
|
|
696
|
-
"name": "
|
|
648
|
+
"name": "target",
|
|
697
649
|
"type": {
|
|
698
|
-
"text": "
|
|
650
|
+
"text": "string | undefined"
|
|
699
651
|
},
|
|
652
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
653
|
+
"attribute": "target",
|
|
700
654
|
"inheritedFrom": {
|
|
701
|
-
"name": "
|
|
702
|
-
"module": "src/shared/
|
|
655
|
+
"name": "UmButtonWrapper",
|
|
656
|
+
"module": "src/shared/button-wrapper.ts"
|
|
703
657
|
}
|
|
704
658
|
},
|
|
705
659
|
{
|
|
706
660
|
"kind": "field",
|
|
707
|
-
"name": "
|
|
661
|
+
"name": "name",
|
|
708
662
|
"type": {
|
|
709
|
-
"text": "
|
|
663
|
+
"text": "string | undefined"
|
|
710
664
|
},
|
|
665
|
+
"attribute": "name",
|
|
711
666
|
"inheritedFrom": {
|
|
712
|
-
"name": "
|
|
713
|
-
"module": "src/shared/
|
|
667
|
+
"name": "UmButtonWrapper",
|
|
668
|
+
"module": "src/shared/button-wrapper.ts"
|
|
714
669
|
}
|
|
715
670
|
},
|
|
716
671
|
{
|
|
717
672
|
"kind": "field",
|
|
718
|
-
"name": "
|
|
719
|
-
"privacy": "private",
|
|
673
|
+
"name": "buttonElement",
|
|
720
674
|
"type": {
|
|
721
|
-
"text": "
|
|
675
|
+
"text": "HTMLElement"
|
|
722
676
|
},
|
|
723
|
-
"
|
|
677
|
+
"privacy": "protected",
|
|
724
678
|
"inheritedFrom": {
|
|
725
|
-
"name": "
|
|
726
|
-
"module": "src/shared/
|
|
679
|
+
"name": "UmButtonWrapper",
|
|
680
|
+
"module": "src/shared/button-wrapper.ts"
|
|
727
681
|
}
|
|
728
682
|
},
|
|
729
683
|
{
|
|
730
684
|
"kind": "field",
|
|
731
|
-
"name": "
|
|
685
|
+
"name": "ripple",
|
|
732
686
|
"type": {
|
|
733
|
-
"text": "
|
|
687
|
+
"text": "UmRipple"
|
|
734
688
|
},
|
|
735
|
-
"privacy": "
|
|
736
|
-
"default": "'checkbox'",
|
|
689
|
+
"privacy": "private",
|
|
737
690
|
"inheritedFrom": {
|
|
738
|
-
"name": "
|
|
739
|
-
"module": "src/shared/
|
|
691
|
+
"name": "UmButtonWrapper",
|
|
692
|
+
"module": "src/shared/button-wrapper.ts"
|
|
740
693
|
}
|
|
741
694
|
},
|
|
742
695
|
{
|
|
743
696
|
"kind": "field",
|
|
744
|
-
"name": "
|
|
697
|
+
"name": "innerRole",
|
|
745
698
|
"type": {
|
|
746
|
-
"text": "
|
|
699
|
+
"text": "string | null"
|
|
747
700
|
},
|
|
748
701
|
"privacy": "protected",
|
|
749
|
-
"default": "
|
|
702
|
+
"default": "null",
|
|
750
703
|
"inheritedFrom": {
|
|
751
|
-
"name": "
|
|
752
|
-
"module": "src/shared/
|
|
704
|
+
"name": "UmButtonWrapper",
|
|
705
|
+
"module": "src/shared/button-wrapper.ts"
|
|
753
706
|
}
|
|
754
707
|
},
|
|
755
708
|
{
|
|
756
709
|
"kind": "field",
|
|
757
|
-
"name": "
|
|
710
|
+
"name": "pathname",
|
|
758
711
|
"type": {
|
|
759
712
|
"text": "string"
|
|
760
713
|
},
|
|
761
|
-
"default": "'on'",
|
|
762
|
-
"description": "The element value to use in form submission when checked.",
|
|
763
|
-
"attribute": "value",
|
|
764
714
|
"inheritedFrom": {
|
|
765
|
-
"name": "
|
|
766
|
-
"module": "src/shared/
|
|
715
|
+
"name": "UmButtonWrapper",
|
|
716
|
+
"module": "src/shared/button-wrapper.ts"
|
|
767
717
|
}
|
|
768
718
|
},
|
|
769
719
|
{
|
|
770
720
|
"kind": "method",
|
|
771
|
-
"name": "
|
|
772
|
-
"
|
|
773
|
-
{
|
|
774
|
-
"name": "e",
|
|
775
|
-
"type": {
|
|
776
|
-
"text": "Event"
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
],
|
|
721
|
+
"name": "renderButton",
|
|
722
|
+
"privacy": "private",
|
|
780
723
|
"inheritedFrom": {
|
|
781
|
-
"name": "
|
|
782
|
-
"module": "src/shared/
|
|
724
|
+
"name": "UmButtonWrapper",
|
|
725
|
+
"module": "src/shared/button-wrapper.ts"
|
|
783
726
|
}
|
|
784
|
-
}
|
|
785
|
-
],
|
|
786
|
-
"attributes": [
|
|
727
|
+
},
|
|
787
728
|
{
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
|
|
791
|
-
},
|
|
792
|
-
"default": "false",
|
|
793
|
-
"fieldName": "hideStateLayer",
|
|
729
|
+
"kind": "method",
|
|
730
|
+
"name": "renderLink",
|
|
731
|
+
"privacy": "private",
|
|
794
732
|
"inheritedFrom": {
|
|
795
|
-
"name": "
|
|
796
|
-
"module": "src/
|
|
733
|
+
"name": "UmButtonWrapper",
|
|
734
|
+
"module": "src/shared/button-wrapper.ts"
|
|
797
735
|
}
|
|
798
736
|
},
|
|
799
737
|
{
|
|
800
|
-
"
|
|
801
|
-
"
|
|
802
|
-
|
|
738
|
+
"kind": "method",
|
|
739
|
+
"name": "renderContent",
|
|
740
|
+
"privacy": "protected",
|
|
741
|
+
"return": {
|
|
742
|
+
"type": {
|
|
743
|
+
"text": "HTMLTemplateResult"
|
|
744
|
+
}
|
|
803
745
|
},
|
|
804
|
-
"fieldName": "indeterminate",
|
|
805
746
|
"inheritedFrom": {
|
|
806
|
-
"name": "
|
|
807
|
-
"module": "src/
|
|
747
|
+
"name": "UmButtonWrapper",
|
|
748
|
+
"module": "src/shared/button-wrapper.ts"
|
|
808
749
|
}
|
|
809
750
|
},
|
|
810
751
|
{
|
|
811
|
-
"
|
|
812
|
-
"
|
|
813
|
-
|
|
752
|
+
"kind": "method",
|
|
753
|
+
"name": "focus",
|
|
754
|
+
"inheritedFrom": {
|
|
755
|
+
"name": "UmButtonWrapper",
|
|
756
|
+
"module": "src/shared/button-wrapper.ts"
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"kind": "method",
|
|
761
|
+
"name": "blur",
|
|
762
|
+
"inheritedFrom": {
|
|
763
|
+
"name": "UmButtonWrapper",
|
|
764
|
+
"module": "src/shared/button-wrapper.ts"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"kind": "method",
|
|
769
|
+
"name": "getAriaLabel",
|
|
770
|
+
"privacy": "protected",
|
|
771
|
+
"return": {
|
|
772
|
+
"type": {
|
|
773
|
+
"text": "string | null"
|
|
774
|
+
}
|
|
814
775
|
},
|
|
815
|
-
"default": "''",
|
|
816
|
-
"fieldName": "name",
|
|
817
776
|
"inheritedFrom": {
|
|
818
|
-
"name": "
|
|
819
|
-
"module": "src/shared/
|
|
777
|
+
"name": "UmButtonWrapper",
|
|
778
|
+
"module": "src/shared/button-wrapper.ts"
|
|
820
779
|
}
|
|
821
780
|
},
|
|
822
781
|
{
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
|
|
782
|
+
"kind": "method",
|
|
783
|
+
"name": "innerFocusHandler",
|
|
784
|
+
"privacy": "private",
|
|
785
|
+
"return": {
|
|
786
|
+
"type": {
|
|
787
|
+
"text": "void"
|
|
788
|
+
}
|
|
826
789
|
},
|
|
827
|
-
"default": "false",
|
|
828
|
-
"fieldName": "disabled",
|
|
829
790
|
"inheritedFrom": {
|
|
830
|
-
"name": "
|
|
831
|
-
"module": "src/shared/
|
|
791
|
+
"name": "UmButtonWrapper",
|
|
792
|
+
"module": "src/shared/button-wrapper.ts"
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"kind": "method",
|
|
797
|
+
"name": "#innerClickHandler",
|
|
798
|
+
"return": {
|
|
799
|
+
"type": {
|
|
800
|
+
"text": "void"
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
"parameters": [
|
|
804
|
+
{
|
|
805
|
+
"name": "event",
|
|
806
|
+
"type": {
|
|
807
|
+
"text": "MouseEvent"
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"inheritedFrom": {
|
|
812
|
+
"name": "UmButtonWrapper",
|
|
813
|
+
"module": "src/shared/button-wrapper.ts"
|
|
832
814
|
}
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
"attributes": [
|
|
818
|
+
{
|
|
819
|
+
"name": "type",
|
|
820
|
+
"type": {
|
|
821
|
+
"text": "string"
|
|
822
|
+
},
|
|
823
|
+
"default": "'submit'",
|
|
824
|
+
"fieldName": "type"
|
|
833
825
|
},
|
|
834
826
|
{
|
|
835
827
|
"name": "value",
|
|
836
828
|
"type": {
|
|
837
829
|
"text": "string"
|
|
838
830
|
},
|
|
839
|
-
"default": "'
|
|
840
|
-
"
|
|
841
|
-
|
|
831
|
+
"default": "''",
|
|
832
|
+
"fieldName": "value"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "form",
|
|
836
|
+
"type": {
|
|
837
|
+
"text": "HTMLFormElement | null"
|
|
838
|
+
},
|
|
839
|
+
"description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
|
|
840
|
+
"fieldName": "form"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "disabled",
|
|
844
|
+
"type": {
|
|
845
|
+
"text": "boolean"
|
|
846
|
+
},
|
|
847
|
+
"default": "false",
|
|
848
|
+
"description": "Whether the button is disabled or not.",
|
|
849
|
+
"fieldName": "disabled",
|
|
842
850
|
"inheritedFrom": {
|
|
843
|
-
"name": "
|
|
844
|
-
"module": "src/shared/
|
|
851
|
+
"name": "UmButtonWrapper",
|
|
852
|
+
"module": "src/shared/button-wrapper.ts"
|
|
845
853
|
}
|
|
846
854
|
},
|
|
847
855
|
{
|
|
848
|
-
"name": "
|
|
849
|
-
"
|
|
856
|
+
"name": "href",
|
|
857
|
+
"type": {
|
|
858
|
+
"text": "string | undefined"
|
|
859
|
+
},
|
|
860
|
+
"description": "The URL that the link button points to.",
|
|
861
|
+
"fieldName": "href",
|
|
850
862
|
"inheritedFrom": {
|
|
851
|
-
"name": "
|
|
852
|
-
"module": "src/shared/
|
|
863
|
+
"name": "UmButtonWrapper",
|
|
864
|
+
"module": "src/shared/button-wrapper.ts"
|
|
853
865
|
}
|
|
854
|
-
}
|
|
855
|
-
],
|
|
856
|
-
"events": [
|
|
866
|
+
},
|
|
857
867
|
{
|
|
858
|
-
"name": "
|
|
868
|
+
"name": "target",
|
|
859
869
|
"type": {
|
|
860
|
-
"text": "
|
|
870
|
+
"text": "string | undefined"
|
|
861
871
|
},
|
|
872
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
873
|
+
"fieldName": "target",
|
|
862
874
|
"inheritedFrom": {
|
|
863
|
-
"name": "
|
|
864
|
-
"module": "src/shared/
|
|
875
|
+
"name": "UmButtonWrapper",
|
|
876
|
+
"module": "src/shared/button-wrapper.ts"
|
|
865
877
|
}
|
|
866
878
|
},
|
|
867
879
|
{
|
|
868
|
-
"name": "
|
|
880
|
+
"name": "name",
|
|
869
881
|
"type": {
|
|
870
|
-
"text": "
|
|
882
|
+
"text": "string | undefined"
|
|
871
883
|
},
|
|
884
|
+
"fieldName": "name",
|
|
872
885
|
"inheritedFrom": {
|
|
873
|
-
"name": "
|
|
874
|
-
"module": "src/shared/
|
|
886
|
+
"name": "UmButtonWrapper",
|
|
887
|
+
"module": "src/shared/button-wrapper.ts"
|
|
875
888
|
}
|
|
876
889
|
}
|
|
877
|
-
]
|
|
890
|
+
],
|
|
891
|
+
"superclass": {
|
|
892
|
+
"name": "UmButtonWrapper",
|
|
893
|
+
"module": "/src/shared/button-wrapper.js"
|
|
894
|
+
}
|
|
878
895
|
}
|
|
879
896
|
],
|
|
880
897
|
"exports": [
|
|
881
898
|
{
|
|
882
899
|
"kind": "js",
|
|
883
|
-
"name": "
|
|
884
|
-
"declaration": {
|
|
885
|
-
"name": "UmCheckboxListItem",
|
|
886
|
-
"module": "src/checkbox/checkbox-list-item.ts"
|
|
887
|
-
}
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
"kind": "custom-element-definition",
|
|
891
|
-
"name": "u-checkbox-list-item",
|
|
900
|
+
"name": "UmButtonBase",
|
|
892
901
|
"declaration": {
|
|
893
|
-
"name": "
|
|
894
|
-
"module": "src/
|
|
902
|
+
"name": "UmButtonBase",
|
|
903
|
+
"module": "src/button/button-base.ts"
|
|
895
904
|
}
|
|
896
905
|
}
|
|
897
906
|
]
|
|
898
907
|
},
|
|
899
908
|
{
|
|
900
909
|
"kind": "javascript-module",
|
|
901
|
-
"path": "src/
|
|
910
|
+
"path": "src/button/button-set.styles.ts",
|
|
902
911
|
"declarations": [
|
|
903
912
|
{
|
|
904
913
|
"kind": "variable",
|
|
905
914
|
"name": "styles",
|
|
906
|
-
"default": "css `\n :host {\n
|
|
915
|
+
"default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host([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`"
|
|
907
916
|
}
|
|
908
917
|
],
|
|
909
918
|
"exports": [
|
|
@@ -912,462 +921,342 @@
|
|
|
912
921
|
"name": "styles",
|
|
913
922
|
"declaration": {
|
|
914
923
|
"name": "styles",
|
|
915
|
-
"module": "src/
|
|
924
|
+
"module": "src/button/button-set.styles.ts"
|
|
916
925
|
}
|
|
917
926
|
}
|
|
918
927
|
]
|
|
919
928
|
},
|
|
920
929
|
{
|
|
921
930
|
"kind": "javascript-module",
|
|
922
|
-
"path": "src/
|
|
931
|
+
"path": "src/button/button-set.ts",
|
|
923
932
|
"declarations": [
|
|
924
933
|
{
|
|
925
934
|
"kind": "class",
|
|
926
935
|
"description": "",
|
|
927
|
-
"name": "
|
|
936
|
+
"name": "UmButtonSet",
|
|
928
937
|
"members": [
|
|
929
938
|
{
|
|
930
939
|
"kind": "field",
|
|
931
|
-
"name": "
|
|
932
|
-
"privacy": "private",
|
|
933
|
-
"type": {
|
|
934
|
-
"text": "boolean"
|
|
935
|
-
},
|
|
936
|
-
"default": "false"
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
"kind": "field",
|
|
940
|
-
"name": "hideStateLayer",
|
|
940
|
+
"name": "stack",
|
|
941
941
|
"type": {
|
|
942
942
|
"text": "boolean"
|
|
943
943
|
},
|
|
944
944
|
"default": "false",
|
|
945
|
-
"
|
|
945
|
+
"description": "Whether to render the buttons stacked or not",
|
|
946
|
+
"attribute": "stack",
|
|
946
947
|
"reflects": true
|
|
947
948
|
},
|
|
948
949
|
{
|
|
949
950
|
"kind": "field",
|
|
950
|
-
"name": "
|
|
951
|
-
"type": {
|
|
952
|
-
"text": "boolean"
|
|
953
|
-
},
|
|
954
|
-
"attribute": "indeterminate"
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"kind": "field",
|
|
958
|
-
"name": "checked",
|
|
959
|
-
"attribute": "checked",
|
|
951
|
+
"name": "alignment",
|
|
960
952
|
"type": {
|
|
961
|
-
"text": "
|
|
962
|
-
},
|
|
963
|
-
"inheritedFrom": {
|
|
964
|
-
"name": "UmSelectionControl",
|
|
965
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
966
|
-
}
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"kind": "method",
|
|
970
|
-
"name": "renderIndicator",
|
|
971
|
-
"privacy": "protected",
|
|
972
|
-
"return": {
|
|
973
|
-
"type": {
|
|
974
|
-
"text": "HTMLTemplateResult"
|
|
975
|
-
}
|
|
953
|
+
"text": "'start' | 'center' | 'end'"
|
|
976
954
|
},
|
|
955
|
+
"default": "'end'",
|
|
956
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
957
|
+
"attribute": "alignment",
|
|
958
|
+
"reflects": true,
|
|
977
959
|
"inheritedFrom": {
|
|
978
|
-
"name": "
|
|
979
|
-
"module": "src/shared/
|
|
960
|
+
"name": "UmSetBase",
|
|
961
|
+
"module": "src/shared/sets/set-base.ts"
|
|
980
962
|
}
|
|
981
|
-
}
|
|
963
|
+
}
|
|
964
|
+
],
|
|
965
|
+
"attributes": [
|
|
982
966
|
{
|
|
983
|
-
"
|
|
984
|
-
"name": "formAssociated",
|
|
967
|
+
"name": "stack",
|
|
985
968
|
"type": {
|
|
986
969
|
"text": "boolean"
|
|
987
970
|
},
|
|
988
|
-
"
|
|
989
|
-
"
|
|
990
|
-
"
|
|
991
|
-
"name": "UmSelectionControl",
|
|
992
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
993
|
-
}
|
|
971
|
+
"default": "false",
|
|
972
|
+
"description": "Whether to render the buttons stacked or not",
|
|
973
|
+
"fieldName": "stack"
|
|
994
974
|
},
|
|
995
975
|
{
|
|
996
|
-
"
|
|
997
|
-
"name": "elementInternals",
|
|
976
|
+
"name": "alignment",
|
|
998
977
|
"type": {
|
|
999
|
-
"text": "
|
|
978
|
+
"text": "'start' | 'center' | 'end'"
|
|
1000
979
|
},
|
|
1001
|
-
"
|
|
980
|
+
"default": "'start'",
|
|
981
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
982
|
+
"fieldName": "alignment",
|
|
1002
983
|
"inheritedFrom": {
|
|
1003
|
-
"name": "
|
|
1004
|
-
"module": "src/shared/
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
"kind": "field",
|
|
1009
|
-
"name": "name",
|
|
1010
|
-
"type": {
|
|
1011
|
-
"text": "string | undefined"
|
|
1012
|
-
},
|
|
1013
|
-
"default": "''",
|
|
1014
|
-
"attribute": "name",
|
|
1015
|
-
"inheritedFrom": {
|
|
1016
|
-
"name": "UmSelectionControl",
|
|
1017
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
984
|
+
"name": "UmSetBase",
|
|
985
|
+
"module": "src/shared/sets/set-base.ts"
|
|
1018
986
|
}
|
|
987
|
+
}
|
|
988
|
+
],
|
|
989
|
+
"superclass": {
|
|
990
|
+
"name": "UmSetBase",
|
|
991
|
+
"module": "/src/shared/sets/set-base.js"
|
|
992
|
+
},
|
|
993
|
+
"tagName": "u-button-set",
|
|
994
|
+
"customElement": true
|
|
995
|
+
}
|
|
996
|
+
],
|
|
997
|
+
"exports": [
|
|
998
|
+
{
|
|
999
|
+
"kind": "js",
|
|
1000
|
+
"name": "UmButtonSet",
|
|
1001
|
+
"declaration": {
|
|
1002
|
+
"name": "UmButtonSet",
|
|
1003
|
+
"module": "src/button/button-set.ts"
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"kind": "custom-element-definition",
|
|
1008
|
+
"name": "u-button-set",
|
|
1009
|
+
"declaration": {
|
|
1010
|
+
"name": "UmButtonSet",
|
|
1011
|
+
"module": "src/button/button-set.ts"
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
]
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"kind": "javascript-module",
|
|
1018
|
+
"path": "src/button/button.styles.ts",
|
|
1019
|
+
"declarations": [
|
|
1020
|
+
{
|
|
1021
|
+
"kind": "variable",
|
|
1022
|
+
"name": "styles",
|
|
1023
|
+
"default": "css `\n :host,\n * {\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .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\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-background-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-background-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`"
|
|
1024
|
+
}
|
|
1025
|
+
],
|
|
1026
|
+
"exports": [
|
|
1027
|
+
{
|
|
1028
|
+
"kind": "js",
|
|
1029
|
+
"name": "styles",
|
|
1030
|
+
"declaration": {
|
|
1031
|
+
"name": "styles",
|
|
1032
|
+
"module": "src/button/button.styles.ts"
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
]
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"kind": "javascript-module",
|
|
1039
|
+
"path": "src/button/button.ts",
|
|
1040
|
+
"declarations": [
|
|
1041
|
+
{
|
|
1042
|
+
"kind": "class",
|
|
1043
|
+
"description": "",
|
|
1044
|
+
"name": "UmButton",
|
|
1045
|
+
"members": [
|
|
1046
|
+
{
|
|
1047
|
+
"kind": "field",
|
|
1048
|
+
"name": "variant",
|
|
1049
|
+
"type": {
|
|
1050
|
+
"text": "UmButtonVariant"
|
|
1051
|
+
},
|
|
1052
|
+
"default": "'filled'",
|
|
1053
|
+
"description": "The Button variant to render",
|
|
1054
|
+
"attribute": "variant",
|
|
1055
|
+
"reflects": true
|
|
1019
1056
|
},
|
|
1020
1057
|
{
|
|
1021
1058
|
"kind": "field",
|
|
1022
|
-
"name": "
|
|
1059
|
+
"name": "color",
|
|
1060
|
+
"type": {
|
|
1061
|
+
"text": "UmButtonColor"
|
|
1062
|
+
},
|
|
1063
|
+
"description": "The Button color\n\n_Note:_ Filled buttons only",
|
|
1064
|
+
"attribute": "color",
|
|
1065
|
+
"reflects": true
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"kind": "field",
|
|
1069
|
+
"name": "trailingIcon",
|
|
1023
1070
|
"type": {
|
|
1024
1071
|
"text": "boolean"
|
|
1025
1072
|
},
|
|
1026
1073
|
"default": "false",
|
|
1027
|
-
"attribute": "
|
|
1028
|
-
"reflects": true
|
|
1029
|
-
"inheritedFrom": {
|
|
1030
|
-
"name": "UmSelectionControl",
|
|
1031
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
1032
|
-
}
|
|
1074
|
+
"attribute": "trailing-icon",
|
|
1075
|
+
"reflects": true
|
|
1033
1076
|
},
|
|
1034
1077
|
{
|
|
1035
1078
|
"kind": "field",
|
|
1036
|
-
"name": "
|
|
1079
|
+
"name": "hasIcon",
|
|
1037
1080
|
"type": {
|
|
1038
|
-
"text": "
|
|
1081
|
+
"text": "boolean"
|
|
1082
|
+
},
|
|
1083
|
+
"default": "false",
|
|
1084
|
+
"description": "Whether the button has icon or not\n\n_Note:_ Readonly",
|
|
1085
|
+
"attribute": "has-icon",
|
|
1086
|
+
"reflects": true
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"kind": "field",
|
|
1090
|
+
"name": "assignedIcons",
|
|
1091
|
+
"type": {
|
|
1092
|
+
"text": "HTMLElement[]"
|
|
1093
|
+
},
|
|
1094
|
+
"privacy": "private"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"kind": "method",
|
|
1098
|
+
"name": "renderContent",
|
|
1099
|
+
"privacy": "protected",
|
|
1100
|
+
"return": {
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "HTMLTemplateResult"
|
|
1103
|
+
}
|
|
1039
1104
|
},
|
|
1040
1105
|
"inheritedFrom": {
|
|
1041
|
-
"name": "
|
|
1042
|
-
"module": "src/shared/
|
|
1106
|
+
"name": "UmButtonWrapper",
|
|
1107
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1043
1108
|
}
|
|
1044
1109
|
},
|
|
1110
|
+
{
|
|
1111
|
+
"kind": "method",
|
|
1112
|
+
"name": "handleSlotChange",
|
|
1113
|
+
"privacy": "private"
|
|
1114
|
+
},
|
|
1045
1115
|
{
|
|
1046
1116
|
"kind": "field",
|
|
1047
|
-
"name": "
|
|
1117
|
+
"name": "formAssociated",
|
|
1048
1118
|
"type": {
|
|
1049
|
-
"text": "
|
|
1119
|
+
"text": "boolean"
|
|
1050
1120
|
},
|
|
1121
|
+
"static": true,
|
|
1122
|
+
"default": "true",
|
|
1051
1123
|
"inheritedFrom": {
|
|
1052
|
-
"name": "
|
|
1053
|
-
"module": "src/
|
|
1124
|
+
"name": "UmButtonBase",
|
|
1125
|
+
"module": "src/button/button-base.ts"
|
|
1054
1126
|
}
|
|
1055
1127
|
},
|
|
1056
1128
|
{
|
|
1057
1129
|
"kind": "field",
|
|
1058
|
-
"name": "
|
|
1059
|
-
"privacy": "private",
|
|
1130
|
+
"name": "type",
|
|
1060
1131
|
"type": {
|
|
1061
|
-
"text": "
|
|
1132
|
+
"text": "string"
|
|
1062
1133
|
},
|
|
1063
|
-
"default": "
|
|
1134
|
+
"default": "'submit'",
|
|
1135
|
+
"attribute": "type",
|
|
1064
1136
|
"inheritedFrom": {
|
|
1065
|
-
"name": "
|
|
1066
|
-
"module": "src/
|
|
1137
|
+
"name": "UmButtonBase",
|
|
1138
|
+
"module": "src/button/button-base.ts"
|
|
1067
1139
|
}
|
|
1068
1140
|
},
|
|
1069
1141
|
{
|
|
1070
1142
|
"kind": "field",
|
|
1071
|
-
"name": "
|
|
1143
|
+
"name": "value",
|
|
1072
1144
|
"type": {
|
|
1073
|
-
"text": "
|
|
1145
|
+
"text": "string"
|
|
1074
1146
|
},
|
|
1075
|
-
"
|
|
1076
|
-
"
|
|
1147
|
+
"default": "''",
|
|
1148
|
+
"attribute": "value",
|
|
1149
|
+
"reflects": true,
|
|
1077
1150
|
"inheritedFrom": {
|
|
1078
|
-
"name": "
|
|
1079
|
-
"module": "src/
|
|
1151
|
+
"name": "UmButtonBase",
|
|
1152
|
+
"module": "src/button/button-base.ts"
|
|
1080
1153
|
}
|
|
1081
1154
|
},
|
|
1082
1155
|
{
|
|
1083
1156
|
"kind": "field",
|
|
1084
|
-
"name": "
|
|
1157
|
+
"name": "form",
|
|
1085
1158
|
"type": {
|
|
1086
|
-
"text": "
|
|
1159
|
+
"text": "HTMLFormElement | null"
|
|
1087
1160
|
},
|
|
1088
|
-
"
|
|
1089
|
-
"
|
|
1161
|
+
"description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
|
|
1162
|
+
"attribute": "form",
|
|
1090
1163
|
"inheritedFrom": {
|
|
1091
|
-
"name": "
|
|
1092
|
-
"module": "src/
|
|
1164
|
+
"name": "UmButtonBase",
|
|
1165
|
+
"module": "src/button/button-base.ts"
|
|
1093
1166
|
}
|
|
1094
1167
|
},
|
|
1095
1168
|
{
|
|
1096
1169
|
"kind": "field",
|
|
1097
|
-
"name": "
|
|
1170
|
+
"name": "#elementInternals",
|
|
1171
|
+
"privacy": "private",
|
|
1098
1172
|
"type": {
|
|
1099
|
-
"text": "
|
|
1173
|
+
"text": "ElementInternals"
|
|
1100
1174
|
},
|
|
1101
|
-
"default": "'on'",
|
|
1102
|
-
"description": "The element value to use in form submission when checked.",
|
|
1103
|
-
"attribute": "value",
|
|
1104
1175
|
"inheritedFrom": {
|
|
1105
|
-
"name": "
|
|
1106
|
-
"module": "src/
|
|
1176
|
+
"name": "UmButtonBase",
|
|
1177
|
+
"module": "src/button/button-base.ts"
|
|
1107
1178
|
}
|
|
1108
1179
|
},
|
|
1109
1180
|
{
|
|
1110
1181
|
"kind": "method",
|
|
1111
|
-
"name": "
|
|
1182
|
+
"name": "handleClick",
|
|
1183
|
+
"privacy": "protected",
|
|
1184
|
+
"return": {
|
|
1185
|
+
"type": {
|
|
1186
|
+
"text": "void"
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1112
1189
|
"parameters": [
|
|
1113
1190
|
{
|
|
1114
|
-
"name": "
|
|
1191
|
+
"name": "_",
|
|
1115
1192
|
"type": {
|
|
1116
|
-
"text": "
|
|
1193
|
+
"text": "UIEvent"
|
|
1117
1194
|
}
|
|
1118
1195
|
}
|
|
1119
1196
|
],
|
|
1120
1197
|
"inheritedFrom": {
|
|
1121
|
-
"name": "
|
|
1122
|
-
"module": "src/shared/
|
|
1198
|
+
"name": "UmButtonWrapper",
|
|
1199
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1123
1200
|
}
|
|
1124
|
-
}
|
|
1125
|
-
],
|
|
1126
|
-
"attributes": [
|
|
1201
|
+
},
|
|
1127
1202
|
{
|
|
1128
|
-
"
|
|
1203
|
+
"kind": "field",
|
|
1204
|
+
"name": "disabled",
|
|
1129
1205
|
"type": {
|
|
1130
1206
|
"text": "boolean"
|
|
1131
1207
|
},
|
|
1132
1208
|
"default": "false",
|
|
1133
|
-
"
|
|
1209
|
+
"description": "Whether the button is disabled or not.",
|
|
1210
|
+
"attribute": "disabled",
|
|
1211
|
+
"reflects": true,
|
|
1212
|
+
"inheritedFrom": {
|
|
1213
|
+
"name": "UmButtonWrapper",
|
|
1214
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1215
|
+
}
|
|
1134
1216
|
},
|
|
1135
1217
|
{
|
|
1136
|
-
"
|
|
1218
|
+
"kind": "field",
|
|
1219
|
+
"name": "renderRipple",
|
|
1137
1220
|
"type": {
|
|
1138
1221
|
"text": "boolean"
|
|
1139
1222
|
},
|
|
1140
|
-
"
|
|
1223
|
+
"default": "true",
|
|
1224
|
+
"inheritedFrom": {
|
|
1225
|
+
"name": "UmButtonWrapper",
|
|
1226
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1227
|
+
}
|
|
1141
1228
|
},
|
|
1142
1229
|
{
|
|
1143
|
-
"
|
|
1230
|
+
"kind": "field",
|
|
1231
|
+
"name": "href",
|
|
1144
1232
|
"type": {
|
|
1145
1233
|
"text": "string | undefined"
|
|
1146
1234
|
},
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
1235
|
+
"description": "The URL that the link button points to.",
|
|
1236
|
+
"attribute": "href",
|
|
1149
1237
|
"inheritedFrom": {
|
|
1150
|
-
"name": "
|
|
1151
|
-
"module": "src/shared/
|
|
1238
|
+
"name": "UmButtonWrapper",
|
|
1239
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1152
1240
|
}
|
|
1153
1241
|
},
|
|
1154
1242
|
{
|
|
1155
|
-
"
|
|
1243
|
+
"kind": "field",
|
|
1244
|
+
"name": "target",
|
|
1156
1245
|
"type": {
|
|
1157
|
-
"text": "
|
|
1246
|
+
"text": "string | undefined"
|
|
1158
1247
|
},
|
|
1159
|
-
"
|
|
1160
|
-
"
|
|
1248
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
1249
|
+
"attribute": "target",
|
|
1161
1250
|
"inheritedFrom": {
|
|
1162
|
-
"name": "
|
|
1163
|
-
"module": "src/shared/
|
|
1251
|
+
"name": "UmButtonWrapper",
|
|
1252
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1164
1253
|
}
|
|
1165
1254
|
},
|
|
1166
1255
|
{
|
|
1167
|
-
"
|
|
1256
|
+
"kind": "field",
|
|
1257
|
+
"name": "name",
|
|
1168
1258
|
"type": {
|
|
1169
|
-
"text": "string"
|
|
1170
|
-
},
|
|
1171
|
-
"default": "'on'",
|
|
1172
|
-
"description": "The element value to use in form submission when checked.",
|
|
1173
|
-
"fieldName": "value",
|
|
1174
|
-
"inheritedFrom": {
|
|
1175
|
-
"name": "UmSelectionControl",
|
|
1176
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
1177
|
-
}
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"name": "checked",
|
|
1181
|
-
"fieldName": "checked",
|
|
1182
|
-
"inheritedFrom": {
|
|
1183
|
-
"name": "UmSelectionControl",
|
|
1184
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
],
|
|
1188
|
-
"superclass": {
|
|
1189
|
-
"name": "UmSelectionControl",
|
|
1190
|
-
"module": "/src/shared/selection-control/selection-control.js"
|
|
1191
|
-
},
|
|
1192
|
-
"tagName": "u-checkbox",
|
|
1193
|
-
"customElement": true,
|
|
1194
|
-
"events": [
|
|
1195
|
-
{
|
|
1196
|
-
"name": "input",
|
|
1197
|
-
"type": {
|
|
1198
|
-
"text": "InputEvent"
|
|
1199
|
-
},
|
|
1200
|
-
"inheritedFrom": {
|
|
1201
|
-
"name": "UmSelectionControl",
|
|
1202
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
"name": "change",
|
|
1207
|
-
"type": {
|
|
1208
|
-
"text": "Event"
|
|
1209
|
-
},
|
|
1210
|
-
"inheritedFrom": {
|
|
1211
|
-
"name": "UmSelectionControl",
|
|
1212
|
-
"module": "src/shared/selection-control/selection-control.ts"
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
]
|
|
1216
|
-
}
|
|
1217
|
-
],
|
|
1218
|
-
"exports": [
|
|
1219
|
-
{
|
|
1220
|
-
"kind": "js",
|
|
1221
|
-
"name": "UmCheckbox",
|
|
1222
|
-
"declaration": {
|
|
1223
|
-
"name": "UmCheckbox",
|
|
1224
|
-
"module": "src/checkbox/checkbox.ts"
|
|
1225
|
-
}
|
|
1226
|
-
},
|
|
1227
|
-
{
|
|
1228
|
-
"kind": "custom-element-definition",
|
|
1229
|
-
"name": "u-checkbox",
|
|
1230
|
-
"declaration": {
|
|
1231
|
-
"name": "UmCheckbox",
|
|
1232
|
-
"module": "src/checkbox/checkbox.ts"
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
]
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"kind": "javascript-module",
|
|
1239
|
-
"path": "src/button/button-base.ts",
|
|
1240
|
-
"declarations": [
|
|
1241
|
-
{
|
|
1242
|
-
"kind": "class",
|
|
1243
|
-
"description": "",
|
|
1244
|
-
"name": "UmButtonBase",
|
|
1245
|
-
"members": [
|
|
1246
|
-
{
|
|
1247
|
-
"kind": "field",
|
|
1248
|
-
"name": "formAssociated",
|
|
1249
|
-
"type": {
|
|
1250
|
-
"text": "boolean"
|
|
1251
|
-
},
|
|
1252
|
-
"static": true,
|
|
1253
|
-
"default": "true"
|
|
1254
|
-
},
|
|
1255
|
-
{
|
|
1256
|
-
"kind": "field",
|
|
1257
|
-
"name": "type",
|
|
1258
|
-
"type": {
|
|
1259
|
-
"text": "string"
|
|
1260
|
-
},
|
|
1261
|
-
"default": "'submit'",
|
|
1262
|
-
"attribute": "type"
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
"kind": "field",
|
|
1266
|
-
"name": "value",
|
|
1267
|
-
"type": {
|
|
1268
|
-
"text": "string"
|
|
1269
|
-
},
|
|
1270
|
-
"default": "''",
|
|
1271
|
-
"attribute": "value",
|
|
1272
|
-
"reflects": true
|
|
1273
|
-
},
|
|
1274
|
-
{
|
|
1275
|
-
"kind": "field",
|
|
1276
|
-
"name": "form",
|
|
1277
|
-
"type": {
|
|
1278
|
-
"text": "HTMLFormElement | null"
|
|
1279
|
-
},
|
|
1280
|
-
"description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
|
|
1281
|
-
"attribute": "form"
|
|
1282
|
-
},
|
|
1283
|
-
{
|
|
1284
|
-
"kind": "field",
|
|
1285
|
-
"name": "#elementInternals",
|
|
1286
|
-
"privacy": "private",
|
|
1287
|
-
"type": {
|
|
1288
|
-
"text": "ElementInternals"
|
|
1289
|
-
}
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
"kind": "method",
|
|
1293
|
-
"name": "handleClick",
|
|
1294
|
-
"privacy": "protected",
|
|
1295
|
-
"return": {
|
|
1296
|
-
"type": {
|
|
1297
|
-
"text": "void"
|
|
1298
|
-
}
|
|
1299
|
-
},
|
|
1300
|
-
"parameters": [
|
|
1301
|
-
{
|
|
1302
|
-
"name": "_",
|
|
1303
|
-
"type": {
|
|
1304
|
-
"text": "UIEvent"
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
],
|
|
1308
|
-
"inheritedFrom": {
|
|
1309
|
-
"name": "UmButtonWrapper",
|
|
1310
|
-
"module": "src/shared/button-wrapper.ts"
|
|
1311
|
-
}
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
"kind": "field",
|
|
1315
|
-
"name": "disabled",
|
|
1316
|
-
"type": {
|
|
1317
|
-
"text": "boolean"
|
|
1318
|
-
},
|
|
1319
|
-
"default": "false",
|
|
1320
|
-
"description": "Whether the button is disabled or not.",
|
|
1321
|
-
"attribute": "disabled",
|
|
1322
|
-
"reflects": true,
|
|
1323
|
-
"inheritedFrom": {
|
|
1324
|
-
"name": "UmButtonWrapper",
|
|
1325
|
-
"module": "src/shared/button-wrapper.ts"
|
|
1326
|
-
}
|
|
1327
|
-
},
|
|
1328
|
-
{
|
|
1329
|
-
"kind": "field",
|
|
1330
|
-
"name": "renderRipple",
|
|
1331
|
-
"type": {
|
|
1332
|
-
"text": "boolean"
|
|
1333
|
-
},
|
|
1334
|
-
"default": "true",
|
|
1335
|
-
"inheritedFrom": {
|
|
1336
|
-
"name": "UmButtonWrapper",
|
|
1337
|
-
"module": "src/shared/button-wrapper.ts"
|
|
1338
|
-
}
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"kind": "field",
|
|
1342
|
-
"name": "href",
|
|
1343
|
-
"type": {
|
|
1344
|
-
"text": "string | undefined"
|
|
1345
|
-
},
|
|
1346
|
-
"description": "The URL that the link button points to.",
|
|
1347
|
-
"attribute": "href",
|
|
1348
|
-
"inheritedFrom": {
|
|
1349
|
-
"name": "UmButtonWrapper",
|
|
1350
|
-
"module": "src/shared/button-wrapper.ts"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"kind": "field",
|
|
1355
|
-
"name": "target",
|
|
1356
|
-
"type": {
|
|
1357
|
-
"text": "string | undefined"
|
|
1358
|
-
},
|
|
1359
|
-
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
1360
|
-
"attribute": "target",
|
|
1361
|
-
"inheritedFrom": {
|
|
1362
|
-
"name": "UmButtonWrapper",
|
|
1363
|
-
"module": "src/shared/button-wrapper.ts"
|
|
1364
|
-
}
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"kind": "field",
|
|
1368
|
-
"name": "name",
|
|
1369
|
-
"type": {
|
|
1370
|
-
"text": "string | undefined"
|
|
1259
|
+
"text": "string | undefined"
|
|
1371
1260
|
},
|
|
1372
1261
|
"attribute": "name",
|
|
1373
1262
|
"inheritedFrom": {
|
|
@@ -1441,20 +1330,6 @@
|
|
|
1441
1330
|
"module": "src/shared/button-wrapper.ts"
|
|
1442
1331
|
}
|
|
1443
1332
|
},
|
|
1444
|
-
{
|
|
1445
|
-
"kind": "method",
|
|
1446
|
-
"name": "renderContent",
|
|
1447
|
-
"privacy": "protected",
|
|
1448
|
-
"return": {
|
|
1449
|
-
"type": {
|
|
1450
|
-
"text": "HTMLTemplateResult"
|
|
1451
|
-
}
|
|
1452
|
-
},
|
|
1453
|
-
"inheritedFrom": {
|
|
1454
|
-
"name": "UmButtonWrapper",
|
|
1455
|
-
"module": "src/shared/button-wrapper.ts"
|
|
1456
|
-
}
|
|
1457
|
-
},
|
|
1458
1333
|
{
|
|
1459
1334
|
"kind": "method",
|
|
1460
1335
|
"name": "focus",
|
|
@@ -1523,211 +1398,159 @@
|
|
|
1523
1398
|
],
|
|
1524
1399
|
"attributes": [
|
|
1525
1400
|
{
|
|
1526
|
-
"name": "
|
|
1401
|
+
"name": "variant",
|
|
1527
1402
|
"type": {
|
|
1528
|
-
"text": "
|
|
1403
|
+
"text": "UmButtonVariant"
|
|
1529
1404
|
},
|
|
1530
|
-
"default": "'
|
|
1531
|
-
"
|
|
1405
|
+
"default": "'filled'",
|
|
1406
|
+
"description": "The Button variant to render",
|
|
1407
|
+
"fieldName": "variant"
|
|
1532
1408
|
},
|
|
1533
1409
|
{
|
|
1534
|
-
"name": "
|
|
1410
|
+
"name": "color",
|
|
1535
1411
|
"type": {
|
|
1536
|
-
"text": "
|
|
1412
|
+
"text": "UmButtonColor"
|
|
1537
1413
|
},
|
|
1538
|
-
"
|
|
1539
|
-
"fieldName": "
|
|
1414
|
+
"description": "The Button color\n\n_Note:_ Filled buttons only",
|
|
1415
|
+
"fieldName": "color"
|
|
1540
1416
|
},
|
|
1541
1417
|
{
|
|
1542
|
-
"name": "
|
|
1418
|
+
"name": "trailing-icon",
|
|
1543
1419
|
"type": {
|
|
1544
|
-
"text": "
|
|
1420
|
+
"text": "boolean"
|
|
1545
1421
|
},
|
|
1546
|
-
"
|
|
1547
|
-
"fieldName": "
|
|
1422
|
+
"default": "false",
|
|
1423
|
+
"fieldName": "trailingIcon"
|
|
1548
1424
|
},
|
|
1549
1425
|
{
|
|
1550
|
-
"name": "
|
|
1426
|
+
"name": "has-icon",
|
|
1551
1427
|
"type": {
|
|
1552
1428
|
"text": "boolean"
|
|
1553
1429
|
},
|
|
1554
1430
|
"default": "false",
|
|
1555
|
-
"description": "Whether the button
|
|
1556
|
-
"fieldName": "
|
|
1557
|
-
"inheritedFrom": {
|
|
1558
|
-
"name": "UmButtonWrapper",
|
|
1559
|
-
"module": "src/shared/button-wrapper.ts"
|
|
1560
|
-
}
|
|
1431
|
+
"description": "Whether the button has icon or not\n\n_Note:_ Readonly",
|
|
1432
|
+
"fieldName": "hasIcon"
|
|
1561
1433
|
},
|
|
1562
1434
|
{
|
|
1563
|
-
"name": "
|
|
1435
|
+
"name": "type",
|
|
1564
1436
|
"type": {
|
|
1565
|
-
"text": "string
|
|
1437
|
+
"text": "string"
|
|
1566
1438
|
},
|
|
1567
|
-
"
|
|
1568
|
-
"fieldName": "
|
|
1439
|
+
"default": "'submit'",
|
|
1440
|
+
"fieldName": "type",
|
|
1569
1441
|
"inheritedFrom": {
|
|
1570
|
-
"name": "
|
|
1571
|
-
"module": "src/
|
|
1442
|
+
"name": "UmButtonBase",
|
|
1443
|
+
"module": "src/button/button-base.ts"
|
|
1572
1444
|
}
|
|
1573
1445
|
},
|
|
1574
1446
|
{
|
|
1575
|
-
"name": "
|
|
1447
|
+
"name": "value",
|
|
1576
1448
|
"type": {
|
|
1577
|
-
"text": "string
|
|
1449
|
+
"text": "string"
|
|
1578
1450
|
},
|
|
1579
|
-
"
|
|
1580
|
-
"fieldName": "
|
|
1451
|
+
"default": "''",
|
|
1452
|
+
"fieldName": "value",
|
|
1581
1453
|
"inheritedFrom": {
|
|
1582
|
-
"name": "
|
|
1583
|
-
"module": "src/
|
|
1454
|
+
"name": "UmButtonBase",
|
|
1455
|
+
"module": "src/button/button-base.ts"
|
|
1584
1456
|
}
|
|
1585
1457
|
},
|
|
1586
1458
|
{
|
|
1587
|
-
"name": "
|
|
1459
|
+
"name": "form",
|
|
1588
1460
|
"type": {
|
|
1589
|
-
"text": "
|
|
1461
|
+
"text": "HTMLFormElement | null"
|
|
1590
1462
|
},
|
|
1591
|
-
"
|
|
1463
|
+
"description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
|
|
1464
|
+
"fieldName": "form",
|
|
1592
1465
|
"inheritedFrom": {
|
|
1593
|
-
"name": "
|
|
1594
|
-
"module": "src/
|
|
1466
|
+
"name": "UmButtonBase",
|
|
1467
|
+
"module": "src/button/button-base.ts"
|
|
1595
1468
|
}
|
|
1596
|
-
}
|
|
1597
|
-
],
|
|
1598
|
-
"superclass": {
|
|
1599
|
-
"name": "UmButtonWrapper",
|
|
1600
|
-
"module": "/src/shared/button-wrapper.js"
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
],
|
|
1604
|
-
"exports": [
|
|
1605
|
-
{
|
|
1606
|
-
"kind": "js",
|
|
1607
|
-
"name": "UmButtonBase",
|
|
1608
|
-
"declaration": {
|
|
1609
|
-
"name": "UmButtonBase",
|
|
1610
|
-
"module": "src/button/button-base.ts"
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
]
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
"kind": "javascript-module",
|
|
1617
|
-
"path": "src/button/button-set.styles.ts",
|
|
1618
|
-
"declarations": [
|
|
1619
|
-
{
|
|
1620
|
-
"kind": "variable",
|
|
1621
|
-
"name": "styles",
|
|
1622
|
-
"default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host([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`"
|
|
1623
|
-
}
|
|
1624
|
-
],
|
|
1625
|
-
"exports": [
|
|
1626
|
-
{
|
|
1627
|
-
"kind": "js",
|
|
1628
|
-
"name": "styles",
|
|
1629
|
-
"declaration": {
|
|
1630
|
-
"name": "styles",
|
|
1631
|
-
"module": "src/button/button-set.styles.ts"
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
]
|
|
1635
|
-
},
|
|
1636
|
-
{
|
|
1637
|
-
"kind": "javascript-module",
|
|
1638
|
-
"path": "src/button/button-set.ts",
|
|
1639
|
-
"declarations": [
|
|
1640
|
-
{
|
|
1641
|
-
"kind": "class",
|
|
1642
|
-
"description": "",
|
|
1643
|
-
"name": "UmButtonSet",
|
|
1644
|
-
"members": [
|
|
1469
|
+
},
|
|
1645
1470
|
{
|
|
1646
|
-
"
|
|
1647
|
-
"name": "stack",
|
|
1471
|
+
"name": "disabled",
|
|
1648
1472
|
"type": {
|
|
1649
1473
|
"text": "boolean"
|
|
1650
1474
|
},
|
|
1651
1475
|
"default": "false",
|
|
1652
|
-
"description": "Whether
|
|
1653
|
-
"
|
|
1654
|
-
"
|
|
1476
|
+
"description": "Whether the button is disabled or not.",
|
|
1477
|
+
"fieldName": "disabled",
|
|
1478
|
+
"inheritedFrom": {
|
|
1479
|
+
"name": "UmButtonWrapper",
|
|
1480
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1481
|
+
}
|
|
1655
1482
|
},
|
|
1656
1483
|
{
|
|
1657
|
-
"
|
|
1658
|
-
"name": "alignment",
|
|
1484
|
+
"name": "href",
|
|
1659
1485
|
"type": {
|
|
1660
|
-
"text": "
|
|
1486
|
+
"text": "string | undefined"
|
|
1661
1487
|
},
|
|
1662
|
-
"
|
|
1663
|
-
"
|
|
1664
|
-
"attribute": "alignment",
|
|
1665
|
-
"reflects": true,
|
|
1488
|
+
"description": "The URL that the link button points to.",
|
|
1489
|
+
"fieldName": "href",
|
|
1666
1490
|
"inheritedFrom": {
|
|
1667
|
-
"name": "
|
|
1668
|
-
"module": "src/shared/
|
|
1491
|
+
"name": "UmButtonWrapper",
|
|
1492
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1669
1493
|
}
|
|
1670
|
-
}
|
|
1671
|
-
],
|
|
1672
|
-
"attributes": [
|
|
1494
|
+
},
|
|
1673
1495
|
{
|
|
1674
|
-
"name": "
|
|
1496
|
+
"name": "target",
|
|
1675
1497
|
"type": {
|
|
1676
|
-
"text": "
|
|
1498
|
+
"text": "string | undefined"
|
|
1677
1499
|
},
|
|
1678
|
-
"
|
|
1679
|
-
"
|
|
1680
|
-
"
|
|
1500
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
1501
|
+
"fieldName": "target",
|
|
1502
|
+
"inheritedFrom": {
|
|
1503
|
+
"name": "UmButtonWrapper",
|
|
1504
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1505
|
+
}
|
|
1681
1506
|
},
|
|
1682
1507
|
{
|
|
1683
|
-
"name": "
|
|
1508
|
+
"name": "name",
|
|
1684
1509
|
"type": {
|
|
1685
|
-
"text": "
|
|
1510
|
+
"text": "string | undefined"
|
|
1686
1511
|
},
|
|
1687
|
-
"
|
|
1688
|
-
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
1689
|
-
"fieldName": "alignment",
|
|
1512
|
+
"fieldName": "name",
|
|
1690
1513
|
"inheritedFrom": {
|
|
1691
|
-
"name": "
|
|
1692
|
-
"module": "src/shared/
|
|
1514
|
+
"name": "UmButtonWrapper",
|
|
1515
|
+
"module": "src/shared/button-wrapper.ts"
|
|
1693
1516
|
}
|
|
1694
1517
|
}
|
|
1695
1518
|
],
|
|
1696
1519
|
"superclass": {
|
|
1697
|
-
"name": "
|
|
1698
|
-
"module": "/src/
|
|
1520
|
+
"name": "UmButtonBase",
|
|
1521
|
+
"module": "/src/button/button-base.js"
|
|
1699
1522
|
},
|
|
1700
|
-
"tagName": "u-button
|
|
1523
|
+
"tagName": "u-button",
|
|
1701
1524
|
"customElement": true
|
|
1702
1525
|
}
|
|
1703
1526
|
],
|
|
1704
1527
|
"exports": [
|
|
1705
1528
|
{
|
|
1706
1529
|
"kind": "js",
|
|
1707
|
-
"name": "
|
|
1530
|
+
"name": "UmButton",
|
|
1708
1531
|
"declaration": {
|
|
1709
|
-
"name": "
|
|
1710
|
-
"module": "src/button/button
|
|
1532
|
+
"name": "UmButton",
|
|
1533
|
+
"module": "src/button/button.ts"
|
|
1711
1534
|
}
|
|
1712
1535
|
},
|
|
1713
1536
|
{
|
|
1714
1537
|
"kind": "custom-element-definition",
|
|
1715
|
-
"name": "u-button
|
|
1538
|
+
"name": "u-button",
|
|
1716
1539
|
"declaration": {
|
|
1717
|
-
"name": "
|
|
1718
|
-
"module": "src/button/button
|
|
1540
|
+
"name": "UmButton",
|
|
1541
|
+
"module": "src/button/button.ts"
|
|
1719
1542
|
}
|
|
1720
1543
|
}
|
|
1721
1544
|
]
|
|
1722
1545
|
},
|
|
1723
1546
|
{
|
|
1724
1547
|
"kind": "javascript-module",
|
|
1725
|
-
"path": "src/button/
|
|
1548
|
+
"path": "src/button/fab.styles.ts",
|
|
1726
1549
|
"declarations": [
|
|
1727
1550
|
{
|
|
1728
1551
|
"kind": "variable",
|
|
1729
1552
|
"name": "styles",
|
|
1730
|
-
"default": "css `\n :host,\n * {\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .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\n :host {\n --u-
|
|
1553
|
+
"default": "css `\n :host,\n * {\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .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\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-background-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-background-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-background-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-background-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-background-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n }\n`"
|
|
1731
1554
|
}
|
|
1732
1555
|
],
|
|
1733
1556
|
"exports": [
|
|
@@ -1736,69 +1559,72 @@
|
|
|
1736
1559
|
"name": "styles",
|
|
1737
1560
|
"declaration": {
|
|
1738
1561
|
"name": "styles",
|
|
1739
|
-
"module": "src/button/
|
|
1562
|
+
"module": "src/button/fab.styles.ts"
|
|
1740
1563
|
}
|
|
1741
1564
|
}
|
|
1742
1565
|
]
|
|
1743
1566
|
},
|
|
1744
1567
|
{
|
|
1745
1568
|
"kind": "javascript-module",
|
|
1746
|
-
"path": "src/button/
|
|
1569
|
+
"path": "src/button/fab.ts",
|
|
1747
1570
|
"declarations": [
|
|
1748
1571
|
{
|
|
1749
1572
|
"kind": "class",
|
|
1750
1573
|
"description": "",
|
|
1751
|
-
"name": "
|
|
1574
|
+
"name": "UmFab",
|
|
1752
1575
|
"members": [
|
|
1753
1576
|
{
|
|
1754
1577
|
"kind": "field",
|
|
1755
|
-
"name": "
|
|
1578
|
+
"name": "color",
|
|
1756
1579
|
"type": {
|
|
1757
|
-
"text": "
|
|
1580
|
+
"text": "UmFabColor"
|
|
1758
1581
|
},
|
|
1759
|
-
"default": "'
|
|
1760
|
-
"description": "The
|
|
1761
|
-
"attribute": "
|
|
1582
|
+
"default": "'primary'",
|
|
1583
|
+
"description": "The FAB color variant to render.",
|
|
1584
|
+
"attribute": "color",
|
|
1762
1585
|
"reflects": true
|
|
1763
1586
|
},
|
|
1764
1587
|
{
|
|
1765
1588
|
"kind": "field",
|
|
1766
|
-
"name": "
|
|
1589
|
+
"name": "size",
|
|
1767
1590
|
"type": {
|
|
1768
|
-
"text": "
|
|
1591
|
+
"text": "UmFabSize"
|
|
1769
1592
|
},
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1593
|
+
"default": "'medium'",
|
|
1594
|
+
"description": "The size of the FAB.",
|
|
1595
|
+
"attribute": "size",
|
|
1772
1596
|
"reflects": true
|
|
1773
1597
|
},
|
|
1774
1598
|
{
|
|
1775
1599
|
"kind": "field",
|
|
1776
|
-
"name": "
|
|
1600
|
+
"name": "label",
|
|
1777
1601
|
"type": {
|
|
1778
|
-
"text": "
|
|
1602
|
+
"text": "string | null"
|
|
1779
1603
|
},
|
|
1780
|
-
"default": "
|
|
1781
|
-
"
|
|
1604
|
+
"default": "null",
|
|
1605
|
+
"description": "The text to display the FAB.",
|
|
1606
|
+
"attribute": "label",
|
|
1782
1607
|
"reflects": true
|
|
1783
1608
|
},
|
|
1784
1609
|
{
|
|
1785
1610
|
"kind": "field",
|
|
1786
|
-
"name": "
|
|
1611
|
+
"name": "lowered",
|
|
1787
1612
|
"type": {
|
|
1788
1613
|
"text": "boolean"
|
|
1789
1614
|
},
|
|
1790
1615
|
"default": "false",
|
|
1791
|
-
"description": "
|
|
1792
|
-
"attribute": "
|
|
1616
|
+
"description": "Lowers the FAB's elevation.",
|
|
1617
|
+
"attribute": "lowered",
|
|
1793
1618
|
"reflects": true
|
|
1794
1619
|
},
|
|
1795
1620
|
{
|
|
1796
1621
|
"kind": "field",
|
|
1797
|
-
"name": "
|
|
1622
|
+
"name": "extended",
|
|
1798
1623
|
"type": {
|
|
1799
|
-
"text": "
|
|
1624
|
+
"text": "boolean"
|
|
1800
1625
|
},
|
|
1801
|
-
"
|
|
1626
|
+
"attribute": "extended",
|
|
1627
|
+
"reflects": true
|
|
1802
1628
|
},
|
|
1803
1629
|
{
|
|
1804
1630
|
"kind": "method",
|
|
@@ -1814,11 +1640,6 @@
|
|
|
1814
1640
|
"module": "src/shared/button-wrapper.ts"
|
|
1815
1641
|
}
|
|
1816
1642
|
},
|
|
1817
|
-
{
|
|
1818
|
-
"kind": "method",
|
|
1819
|
-
"name": "handleSlotChange",
|
|
1820
|
-
"privacy": "private"
|
|
1821
|
-
},
|
|
1822
1643
|
{
|
|
1823
1644
|
"kind": "field",
|
|
1824
1645
|
"name": "formAssociated",
|
|
@@ -2105,38 +1926,47 @@
|
|
|
2105
1926
|
],
|
|
2106
1927
|
"attributes": [
|
|
2107
1928
|
{
|
|
2108
|
-
"name": "
|
|
1929
|
+
"name": "color",
|
|
2109
1930
|
"type": {
|
|
2110
|
-
"text": "
|
|
1931
|
+
"text": "UmFabColor"
|
|
2111
1932
|
},
|
|
2112
|
-
"default": "'
|
|
2113
|
-
"description": "The
|
|
2114
|
-
"fieldName": "
|
|
1933
|
+
"default": "'primary'",
|
|
1934
|
+
"description": "The FAB color variant to render.",
|
|
1935
|
+
"fieldName": "color"
|
|
2115
1936
|
},
|
|
2116
1937
|
{
|
|
2117
|
-
"name": "
|
|
1938
|
+
"name": "size",
|
|
2118
1939
|
"type": {
|
|
2119
|
-
"text": "
|
|
1940
|
+
"text": "UmFabSize"
|
|
2120
1941
|
},
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
1942
|
+
"default": "'medium'",
|
|
1943
|
+
"description": "The size of the FAB.",
|
|
1944
|
+
"fieldName": "size"
|
|
2123
1945
|
},
|
|
2124
1946
|
{
|
|
2125
|
-
"name": "
|
|
1947
|
+
"name": "label",
|
|
1948
|
+
"type": {
|
|
1949
|
+
"text": "string | null"
|
|
1950
|
+
},
|
|
1951
|
+
"default": "null",
|
|
1952
|
+
"description": "The text to display the FAB.",
|
|
1953
|
+
"fieldName": "label"
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "lowered",
|
|
2126
1957
|
"type": {
|
|
2127
1958
|
"text": "boolean"
|
|
2128
1959
|
},
|
|
2129
1960
|
"default": "false",
|
|
2130
|
-
"
|
|
1961
|
+
"description": "Lowers the FAB's elevation.",
|
|
1962
|
+
"fieldName": "lowered"
|
|
2131
1963
|
},
|
|
2132
1964
|
{
|
|
2133
|
-
"name": "
|
|
1965
|
+
"name": "extended",
|
|
2134
1966
|
"type": {
|
|
2135
1967
|
"text": "boolean"
|
|
2136
1968
|
},
|
|
2137
|
-
"
|
|
2138
|
-
"description": "Whether the button has icon or not\n\n_Note:_ Readonly",
|
|
2139
|
-
"fieldName": "hasIcon"
|
|
1969
|
+
"fieldName": "extended"
|
|
2140
1970
|
},
|
|
2141
1971
|
{
|
|
2142
1972
|
"name": "type",
|
|
@@ -2227,37 +2057,37 @@
|
|
|
2227
2057
|
"name": "UmButtonBase",
|
|
2228
2058
|
"module": "/src/button/button-base.js"
|
|
2229
2059
|
},
|
|
2230
|
-
"tagName": "u-
|
|
2060
|
+
"tagName": "u-fab",
|
|
2231
2061
|
"customElement": true
|
|
2232
2062
|
}
|
|
2233
2063
|
],
|
|
2234
2064
|
"exports": [
|
|
2235
2065
|
{
|
|
2236
2066
|
"kind": "js",
|
|
2237
|
-
"name": "
|
|
2067
|
+
"name": "UmFab",
|
|
2238
2068
|
"declaration": {
|
|
2239
|
-
"name": "
|
|
2240
|
-
"module": "src/button/
|
|
2069
|
+
"name": "UmFab",
|
|
2070
|
+
"module": "src/button/fab.ts"
|
|
2241
2071
|
}
|
|
2242
2072
|
},
|
|
2243
2073
|
{
|
|
2244
2074
|
"kind": "custom-element-definition",
|
|
2245
|
-
"name": "u-
|
|
2075
|
+
"name": "u-fab",
|
|
2246
2076
|
"declaration": {
|
|
2247
|
-
"name": "
|
|
2248
|
-
"module": "src/button/
|
|
2077
|
+
"name": "UmFab",
|
|
2078
|
+
"module": "src/button/fab.ts"
|
|
2249
2079
|
}
|
|
2250
2080
|
}
|
|
2251
2081
|
]
|
|
2252
2082
|
},
|
|
2253
2083
|
{
|
|
2254
2084
|
"kind": "javascript-module",
|
|
2255
|
-
"path": "src/button/
|
|
2085
|
+
"path": "src/button/icon-button.styles.ts",
|
|
2256
2086
|
"declarations": [
|
|
2257
2087
|
{
|
|
2258
2088
|
"kind": "variable",
|
|
2259
2089
|
"name": "styles",
|
|
2260
|
-
"default": "css `\n :host,\n * {\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .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\n :host {\n
|
|
2090
|
+
"default": "css `\n :host,\n * {\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .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\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-background-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-background-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-background-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-background-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-background-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-background-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`"
|
|
2261
2091
|
}
|
|
2262
2092
|
],
|
|
2263
2093
|
"exports": [
|
|
@@ -2266,72 +2096,78 @@
|
|
|
2266
2096
|
"name": "styles",
|
|
2267
2097
|
"declaration": {
|
|
2268
2098
|
"name": "styles",
|
|
2269
|
-
"module": "src/button/
|
|
2099
|
+
"module": "src/button/icon-button.styles.ts"
|
|
2270
2100
|
}
|
|
2271
2101
|
}
|
|
2272
2102
|
]
|
|
2273
2103
|
},
|
|
2274
2104
|
{
|
|
2275
2105
|
"kind": "javascript-module",
|
|
2276
|
-
"path": "src/button/
|
|
2106
|
+
"path": "src/button/icon-button.ts",
|
|
2277
2107
|
"declarations": [
|
|
2278
2108
|
{
|
|
2279
2109
|
"kind": "class",
|
|
2280
2110
|
"description": "",
|
|
2281
|
-
"name": "
|
|
2111
|
+
"name": "UmIconButton",
|
|
2282
2112
|
"members": [
|
|
2283
2113
|
{
|
|
2284
2114
|
"kind": "field",
|
|
2285
|
-
"name": "
|
|
2115
|
+
"name": "variant",
|
|
2286
2116
|
"type": {
|
|
2287
|
-
"text": "
|
|
2117
|
+
"text": "UmIconButtonVariant"
|
|
2288
2118
|
},
|
|
2289
|
-
"default": "'
|
|
2290
|
-
"
|
|
2291
|
-
"attribute": "color",
|
|
2119
|
+
"default": "'standard'",
|
|
2120
|
+
"attribute": "variant",
|
|
2292
2121
|
"reflects": true
|
|
2293
2122
|
},
|
|
2294
2123
|
{
|
|
2295
2124
|
"kind": "field",
|
|
2296
|
-
"name": "
|
|
2125
|
+
"name": "toggle",
|
|
2297
2126
|
"type": {
|
|
2298
|
-
"text": "
|
|
2127
|
+
"text": "boolean"
|
|
2299
2128
|
},
|
|
2300
|
-
"default": "
|
|
2301
|
-
"description": "
|
|
2302
|
-
"attribute": "
|
|
2303
|
-
"reflects": true
|
|
2129
|
+
"default": "false",
|
|
2130
|
+
"description": "When true, the button will toggle between selected and unselected\nstates",
|
|
2131
|
+
"attribute": "toggle"
|
|
2304
2132
|
},
|
|
2305
2133
|
{
|
|
2306
2134
|
"kind": "field",
|
|
2307
|
-
"name": "
|
|
2135
|
+
"name": "hasSelectionIcon",
|
|
2308
2136
|
"type": {
|
|
2309
|
-
"text": "
|
|
2137
|
+
"text": "boolean"
|
|
2310
2138
|
},
|
|
2311
|
-
"default": "
|
|
2312
|
-
"
|
|
2313
|
-
"attribute": "label",
|
|
2139
|
+
"default": "false",
|
|
2140
|
+
"attribute": "has-selection-icon",
|
|
2314
2141
|
"reflects": true
|
|
2315
2142
|
},
|
|
2316
2143
|
{
|
|
2317
2144
|
"kind": "field",
|
|
2318
|
-
"name": "
|
|
2145
|
+
"name": "selected",
|
|
2319
2146
|
"type": {
|
|
2320
2147
|
"text": "boolean"
|
|
2321
2148
|
},
|
|
2322
2149
|
"default": "false",
|
|
2323
|
-
"description": "
|
|
2324
|
-
"attribute": "
|
|
2150
|
+
"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.",
|
|
2151
|
+
"attribute": "selected",
|
|
2325
2152
|
"reflects": true
|
|
2326
2153
|
},
|
|
2327
2154
|
{
|
|
2328
2155
|
"kind": "field",
|
|
2329
|
-
"name": "
|
|
2156
|
+
"name": "ariaLabelSelected",
|
|
2330
2157
|
"type": {
|
|
2331
|
-
"text": "
|
|
2158
|
+
"text": "string"
|
|
2332
2159
|
},
|
|
2333
|
-
"
|
|
2334
|
-
"
|
|
2160
|
+
"default": "''",
|
|
2161
|
+
"description": "The `aria-label` of the button when the button is toggleable and selected.",
|
|
2162
|
+
"attribute": "aria-label-selected"
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"kind": "field",
|
|
2166
|
+
"name": "selectedIcons",
|
|
2167
|
+
"type": {
|
|
2168
|
+
"text": "HTMLElement[]"
|
|
2169
|
+
},
|
|
2170
|
+
"privacy": "private"
|
|
2335
2171
|
},
|
|
2336
2172
|
{
|
|
2337
2173
|
"kind": "method",
|
|
@@ -2347,6 +2183,47 @@
|
|
|
2347
2183
|
"module": "src/shared/button-wrapper.ts"
|
|
2348
2184
|
}
|
|
2349
2185
|
},
|
|
2186
|
+
{
|
|
2187
|
+
"kind": "method",
|
|
2188
|
+
"name": "handleClick",
|
|
2189
|
+
"privacy": "protected",
|
|
2190
|
+
"return": {
|
|
2191
|
+
"type": {
|
|
2192
|
+
"text": "void"
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
"parameters": [
|
|
2196
|
+
{
|
|
2197
|
+
"name": "event",
|
|
2198
|
+
"type": {
|
|
2199
|
+
"text": "UIEvent"
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
],
|
|
2203
|
+
"inheritedFrom": {
|
|
2204
|
+
"name": "UmButtonWrapper",
|
|
2205
|
+
"module": "src/shared/button-wrapper.ts"
|
|
2206
|
+
}
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"kind": "method",
|
|
2210
|
+
"name": "getAriaLabel",
|
|
2211
|
+
"privacy": "protected",
|
|
2212
|
+
"return": {
|
|
2213
|
+
"type": {
|
|
2214
|
+
"text": "string | null"
|
|
2215
|
+
}
|
|
2216
|
+
},
|
|
2217
|
+
"inheritedFrom": {
|
|
2218
|
+
"name": "UmButtonWrapper",
|
|
2219
|
+
"module": "src/shared/button-wrapper.ts"
|
|
2220
|
+
}
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"kind": "method",
|
|
2224
|
+
"name": "handleSlotChange",
|
|
2225
|
+
"privacy": "private"
|
|
2226
|
+
},
|
|
2350
2227
|
{
|
|
2351
2228
|
"kind": "field",
|
|
2352
2229
|
"name": "formAssociated",
|
|
@@ -2412,28 +2289,6 @@
|
|
|
2412
2289
|
"module": "src/button/button-base.ts"
|
|
2413
2290
|
}
|
|
2414
2291
|
},
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "method",
|
|
2417
|
-
"name": "handleClick",
|
|
2418
|
-
"privacy": "protected",
|
|
2419
|
-
"return": {
|
|
2420
|
-
"type": {
|
|
2421
|
-
"text": "void"
|
|
2422
|
-
}
|
|
2423
|
-
},
|
|
2424
|
-
"parameters": [
|
|
2425
|
-
{
|
|
2426
|
-
"name": "_",
|
|
2427
|
-
"type": {
|
|
2428
|
-
"text": "UIEvent"
|
|
2429
|
-
}
|
|
2430
|
-
}
|
|
2431
|
-
],
|
|
2432
|
-
"inheritedFrom": {
|
|
2433
|
-
"name": "UmButtonWrapper",
|
|
2434
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2435
|
-
}
|
|
2436
|
-
},
|
|
2437
2292
|
{
|
|
2438
2293
|
"kind": "field",
|
|
2439
2294
|
"name": "disabled",
|
|
@@ -2581,20 +2436,6 @@
|
|
|
2581
2436
|
"module": "src/shared/button-wrapper.ts"
|
|
2582
2437
|
}
|
|
2583
2438
|
},
|
|
2584
|
-
{
|
|
2585
|
-
"kind": "method",
|
|
2586
|
-
"name": "getAriaLabel",
|
|
2587
|
-
"privacy": "protected",
|
|
2588
|
-
"return": {
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "string | null"
|
|
2591
|
-
}
|
|
2592
|
-
},
|
|
2593
|
-
"inheritedFrom": {
|
|
2594
|
-
"name": "UmButtonWrapper",
|
|
2595
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2596
|
-
}
|
|
2597
|
-
},
|
|
2598
2439
|
{
|
|
2599
2440
|
"kind": "method",
|
|
2600
2441
|
"name": "innerFocusHandler",
|
|
@@ -2631,49 +2472,57 @@
|
|
|
2631
2472
|
}
|
|
2632
2473
|
}
|
|
2633
2474
|
],
|
|
2475
|
+
"events": [
|
|
2476
|
+
{
|
|
2477
|
+
"name": "change",
|
|
2478
|
+
"type": {
|
|
2479
|
+
"text": "Event"
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
],
|
|
2634
2483
|
"attributes": [
|
|
2635
2484
|
{
|
|
2636
|
-
"name": "
|
|
2485
|
+
"name": "variant",
|
|
2637
2486
|
"type": {
|
|
2638
|
-
"text": "
|
|
2487
|
+
"text": "UmIconButtonVariant"
|
|
2639
2488
|
},
|
|
2640
|
-
"default": "'
|
|
2641
|
-
"
|
|
2642
|
-
"fieldName": "color"
|
|
2489
|
+
"default": "'standard'",
|
|
2490
|
+
"fieldName": "variant"
|
|
2643
2491
|
},
|
|
2644
2492
|
{
|
|
2645
|
-
"name": "
|
|
2493
|
+
"name": "toggle",
|
|
2646
2494
|
"type": {
|
|
2647
|
-
"text": "
|
|
2495
|
+
"text": "boolean"
|
|
2648
2496
|
},
|
|
2649
|
-
"default": "
|
|
2650
|
-
"description": "
|
|
2651
|
-
"fieldName": "
|
|
2497
|
+
"default": "false",
|
|
2498
|
+
"description": "When true, the button will toggle between selected and unselected\nstates",
|
|
2499
|
+
"fieldName": "toggle"
|
|
2652
2500
|
},
|
|
2653
2501
|
{
|
|
2654
|
-
"name": "
|
|
2502
|
+
"name": "has-selection-icon",
|
|
2655
2503
|
"type": {
|
|
2656
|
-
"text": "
|
|
2504
|
+
"text": "boolean"
|
|
2657
2505
|
},
|
|
2658
|
-
"default": "
|
|
2659
|
-
"
|
|
2660
|
-
"fieldName": "label"
|
|
2506
|
+
"default": "false",
|
|
2507
|
+
"fieldName": "hasSelectionIcon"
|
|
2661
2508
|
},
|
|
2662
2509
|
{
|
|
2663
|
-
"name": "
|
|
2510
|
+
"name": "selected",
|
|
2664
2511
|
"type": {
|
|
2665
2512
|
"text": "boolean"
|
|
2666
2513
|
},
|
|
2667
2514
|
"default": "false",
|
|
2668
|
-
"description": "
|
|
2669
|
-
"fieldName": "
|
|
2515
|
+
"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.",
|
|
2516
|
+
"fieldName": "selected"
|
|
2670
2517
|
},
|
|
2671
2518
|
{
|
|
2672
|
-
"name": "
|
|
2519
|
+
"name": "aria-label-selected",
|
|
2673
2520
|
"type": {
|
|
2674
|
-
"text": "
|
|
2521
|
+
"text": "string"
|
|
2675
2522
|
},
|
|
2676
|
-
"
|
|
2523
|
+
"default": "''",
|
|
2524
|
+
"description": "The `aria-label` of the button when the button is toggleable and selected.",
|
|
2525
|
+
"fieldName": "ariaLabelSelected"
|
|
2677
2526
|
},
|
|
2678
2527
|
{
|
|
2679
2528
|
"name": "type",
|
|
@@ -2764,37 +2613,37 @@
|
|
|
2764
2613
|
"name": "UmButtonBase",
|
|
2765
2614
|
"module": "/src/button/button-base.js"
|
|
2766
2615
|
},
|
|
2767
|
-
"tagName": "u-
|
|
2616
|
+
"tagName": "u-icon-button",
|
|
2768
2617
|
"customElement": true
|
|
2769
2618
|
}
|
|
2770
2619
|
],
|
|
2771
2620
|
"exports": [
|
|
2772
2621
|
{
|
|
2773
2622
|
"kind": "js",
|
|
2774
|
-
"name": "
|
|
2623
|
+
"name": "UmIconButton",
|
|
2775
2624
|
"declaration": {
|
|
2776
|
-
"name": "
|
|
2777
|
-
"module": "src/button/
|
|
2625
|
+
"name": "UmIconButton",
|
|
2626
|
+
"module": "src/button/icon-button.ts"
|
|
2778
2627
|
}
|
|
2779
2628
|
},
|
|
2780
2629
|
{
|
|
2781
2630
|
"kind": "custom-element-definition",
|
|
2782
|
-
"name": "u-
|
|
2631
|
+
"name": "u-icon-button",
|
|
2783
2632
|
"declaration": {
|
|
2784
|
-
"name": "
|
|
2785
|
-
"module": "src/button/
|
|
2633
|
+
"name": "UmIconButton",
|
|
2634
|
+
"module": "src/button/icon-button.ts"
|
|
2786
2635
|
}
|
|
2787
2636
|
}
|
|
2788
2637
|
]
|
|
2789
2638
|
},
|
|
2790
2639
|
{
|
|
2791
2640
|
"kind": "javascript-module",
|
|
2792
|
-
"path": "src/
|
|
2641
|
+
"path": "src/card/card-content.styles.ts",
|
|
2793
2642
|
"declarations": [
|
|
2794
2643
|
{
|
|
2795
2644
|
"kind": "variable",
|
|
2796
2645
|
"name": "styles",
|
|
2797
|
-
"default": "css `\n :host
|
|
2646
|
+
"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`"
|
|
2798
2647
|
}
|
|
2799
2648
|
],
|
|
2800
2649
|
"exports": [
|
|
@@ -2803,468 +2652,529 @@
|
|
|
2803
2652
|
"name": "styles",
|
|
2804
2653
|
"declaration": {
|
|
2805
2654
|
"name": "styles",
|
|
2806
|
-
"module": "src/
|
|
2655
|
+
"module": "src/card/card-content.styles.ts"
|
|
2807
2656
|
}
|
|
2808
2657
|
}
|
|
2809
2658
|
]
|
|
2810
2659
|
},
|
|
2811
2660
|
{
|
|
2812
2661
|
"kind": "javascript-module",
|
|
2813
|
-
"path": "src/
|
|
2662
|
+
"path": "src/card/card-content.ts",
|
|
2814
2663
|
"declarations": [
|
|
2815
2664
|
{
|
|
2816
2665
|
"kind": "class",
|
|
2817
2666
|
"description": "",
|
|
2818
|
-
"name": "
|
|
2667
|
+
"name": "UmCardContent",
|
|
2819
2668
|
"members": [
|
|
2820
2669
|
{
|
|
2821
2670
|
"kind": "field",
|
|
2822
|
-
"name": "
|
|
2823
|
-
"type": {
|
|
2824
|
-
"text": "UmIconButtonVariant"
|
|
2825
|
-
},
|
|
2826
|
-
"default": "'standard'",
|
|
2827
|
-
"attribute": "variant",
|
|
2828
|
-
"reflects": true
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"kind": "field",
|
|
2832
|
-
"name": "toggle",
|
|
2671
|
+
"name": "hasContent",
|
|
2833
2672
|
"type": {
|
|
2834
2673
|
"text": "boolean"
|
|
2835
2674
|
},
|
|
2836
2675
|
"default": "false",
|
|
2837
|
-
"
|
|
2838
|
-
"
|
|
2676
|
+
"attribute": "has-content",
|
|
2677
|
+
"reflects": true
|
|
2839
2678
|
},
|
|
2840
2679
|
{
|
|
2841
|
-
"kind": "
|
|
2842
|
-
"name": "
|
|
2680
|
+
"kind": "method",
|
|
2681
|
+
"name": "handleSlotChange",
|
|
2682
|
+
"privacy": "private",
|
|
2683
|
+
"parameters": [
|
|
2684
|
+
{
|
|
2685
|
+
"name": "e",
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "Event"
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
]
|
|
2691
|
+
}
|
|
2692
|
+
],
|
|
2693
|
+
"attributes": [
|
|
2694
|
+
{
|
|
2695
|
+
"name": "has-content",
|
|
2843
2696
|
"type": {
|
|
2844
2697
|
"text": "boolean"
|
|
2845
2698
|
},
|
|
2846
2699
|
"default": "false",
|
|
2847
|
-
"
|
|
2848
|
-
|
|
2849
|
-
|
|
2700
|
+
"fieldName": "hasContent"
|
|
2701
|
+
}
|
|
2702
|
+
],
|
|
2703
|
+
"superclass": {
|
|
2704
|
+
"name": "LitElement",
|
|
2705
|
+
"package": "lit"
|
|
2706
|
+
},
|
|
2707
|
+
"tagName": "u-card-content",
|
|
2708
|
+
"customElement": true
|
|
2709
|
+
}
|
|
2710
|
+
],
|
|
2711
|
+
"exports": [
|
|
2712
|
+
{
|
|
2713
|
+
"kind": "js",
|
|
2714
|
+
"name": "UmCardContent",
|
|
2715
|
+
"declaration": {
|
|
2716
|
+
"name": "UmCardContent",
|
|
2717
|
+
"module": "src/card/card-content.ts"
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"kind": "custom-element-definition",
|
|
2722
|
+
"name": "u-card-content",
|
|
2723
|
+
"declaration": {
|
|
2724
|
+
"name": "UmCardContent",
|
|
2725
|
+
"module": "src/card/card-content.ts"
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
]
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"kind": "javascript-module",
|
|
2732
|
+
"path": "src/card/card-media.styles.ts",
|
|
2733
|
+
"declarations": [
|
|
2734
|
+
{
|
|
2735
|
+
"kind": "variable",
|
|
2736
|
+
"name": "styles",
|
|
2737
|
+
"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`"
|
|
2738
|
+
}
|
|
2739
|
+
],
|
|
2740
|
+
"exports": [
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "js",
|
|
2743
|
+
"name": "styles",
|
|
2744
|
+
"declaration": {
|
|
2745
|
+
"name": "styles",
|
|
2746
|
+
"module": "src/card/card-media.styles.ts"
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
]
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"kind": "javascript-module",
|
|
2753
|
+
"path": "src/card/card-media.ts",
|
|
2754
|
+
"declarations": [
|
|
2755
|
+
{
|
|
2756
|
+
"kind": "class",
|
|
2757
|
+
"description": "",
|
|
2758
|
+
"name": "UmCardMedia",
|
|
2759
|
+
"members": [
|
|
2850
2760
|
{
|
|
2851
2761
|
"kind": "field",
|
|
2852
|
-
"name": "
|
|
2762
|
+
"name": "wide",
|
|
2853
2763
|
"type": {
|
|
2854
2764
|
"text": "boolean"
|
|
2855
2765
|
},
|
|
2856
2766
|
"default": "false",
|
|
2857
|
-
"
|
|
2858
|
-
"attribute": "selected",
|
|
2767
|
+
"attribute": "wide",
|
|
2859
2768
|
"reflects": true
|
|
2860
|
-
}
|
|
2769
|
+
}
|
|
2770
|
+
],
|
|
2771
|
+
"attributes": [
|
|
2861
2772
|
{
|
|
2862
|
-
"
|
|
2863
|
-
"name": "ariaLabelSelected",
|
|
2773
|
+
"name": "wide",
|
|
2864
2774
|
"type": {
|
|
2865
|
-
"text": "
|
|
2775
|
+
"text": "boolean"
|
|
2866
2776
|
},
|
|
2867
|
-
"default": "
|
|
2868
|
-
"
|
|
2869
|
-
|
|
2870
|
-
|
|
2777
|
+
"default": "false",
|
|
2778
|
+
"fieldName": "wide"
|
|
2779
|
+
}
|
|
2780
|
+
],
|
|
2781
|
+
"superclass": {
|
|
2782
|
+
"name": "LitElement",
|
|
2783
|
+
"package": "lit"
|
|
2784
|
+
},
|
|
2785
|
+
"tagName": "u-card-media",
|
|
2786
|
+
"customElement": true
|
|
2787
|
+
}
|
|
2788
|
+
],
|
|
2789
|
+
"exports": [
|
|
2790
|
+
{
|
|
2791
|
+
"kind": "js",
|
|
2792
|
+
"name": "UmCardMedia",
|
|
2793
|
+
"declaration": {
|
|
2794
|
+
"name": "UmCardMedia",
|
|
2795
|
+
"module": "src/card/card-media.ts"
|
|
2796
|
+
}
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
"kind": "custom-element-definition",
|
|
2800
|
+
"name": "u-card-media",
|
|
2801
|
+
"declaration": {
|
|
2802
|
+
"name": "UmCardMedia",
|
|
2803
|
+
"module": "src/card/card-media.ts"
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
]
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"kind": "javascript-module",
|
|
2810
|
+
"path": "src/card/card.styles.ts",
|
|
2811
|
+
"declarations": [
|
|
2812
|
+
{
|
|
2813
|
+
"kind": "variable",
|
|
2814
|
+
"name": "styles",
|
|
2815
|
+
"default": "css `\n :host {\n display: block;\n position: relative;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-color-surface-container-low, rgb(247, 242, 250));\n }\n :host([variant=elevated]) u-elevation {\n --u-elevation-level: var(--u-elevated-card-elevation-level, 1);\n }\n\n :host([variant=filled]) {\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n\n :host([variant=outlined]) {\n border: var(--u-outlined-card-outline-width, 1px) solid var(--u-outlined-card-outline-color, var(--u-color-outline-variant, rgb(202, 196, 208)));\n }\n\n u-card-content,\n slot {\n border-radius: inherit;\n }\n`"
|
|
2816
|
+
}
|
|
2817
|
+
],
|
|
2818
|
+
"exports": [
|
|
2819
|
+
{
|
|
2820
|
+
"kind": "js",
|
|
2821
|
+
"name": "styles",
|
|
2822
|
+
"declaration": {
|
|
2823
|
+
"name": "styles",
|
|
2824
|
+
"module": "src/card/card.styles.ts"
|
|
2825
|
+
}
|
|
2826
|
+
}
|
|
2827
|
+
]
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
"kind": "javascript-module",
|
|
2831
|
+
"path": "src/card/card.ts",
|
|
2832
|
+
"declarations": [
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "class",
|
|
2835
|
+
"description": "",
|
|
2836
|
+
"name": "UmCard",
|
|
2837
|
+
"members": [
|
|
2871
2838
|
{
|
|
2872
2839
|
"kind": "field",
|
|
2873
|
-
"name": "
|
|
2840
|
+
"name": "variant",
|
|
2874
2841
|
"type": {
|
|
2875
|
-
"text": "
|
|
2876
|
-
},
|
|
2877
|
-
"privacy": "private"
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "method",
|
|
2881
|
-
"name": "renderContent",
|
|
2882
|
-
"privacy": "protected",
|
|
2883
|
-
"return": {
|
|
2884
|
-
"type": {
|
|
2885
|
-
"text": "HTMLTemplateResult"
|
|
2886
|
-
}
|
|
2887
|
-
},
|
|
2888
|
-
"inheritedFrom": {
|
|
2889
|
-
"name": "UmButtonWrapper",
|
|
2890
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2891
|
-
}
|
|
2892
|
-
},
|
|
2893
|
-
{
|
|
2894
|
-
"kind": "method",
|
|
2895
|
-
"name": "handleClick",
|
|
2896
|
-
"privacy": "protected",
|
|
2897
|
-
"return": {
|
|
2898
|
-
"type": {
|
|
2899
|
-
"text": "void"
|
|
2900
|
-
}
|
|
2901
|
-
},
|
|
2902
|
-
"parameters": [
|
|
2903
|
-
{
|
|
2904
|
-
"name": "event",
|
|
2905
|
-
"type": {
|
|
2906
|
-
"text": "UIEvent"
|
|
2907
|
-
}
|
|
2908
|
-
}
|
|
2909
|
-
],
|
|
2910
|
-
"inheritedFrom": {
|
|
2911
|
-
"name": "UmButtonWrapper",
|
|
2912
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2913
|
-
}
|
|
2914
|
-
},
|
|
2915
|
-
{
|
|
2916
|
-
"kind": "method",
|
|
2917
|
-
"name": "getAriaLabel",
|
|
2918
|
-
"privacy": "protected",
|
|
2919
|
-
"return": {
|
|
2920
|
-
"type": {
|
|
2921
|
-
"text": "string | null"
|
|
2922
|
-
}
|
|
2842
|
+
"text": "UmCardVariant"
|
|
2923
2843
|
},
|
|
2924
|
-
"
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
}
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
"name": "handleSlotChange",
|
|
2932
|
-
"privacy": "private"
|
|
2933
|
-
},
|
|
2844
|
+
"default": "'filled'",
|
|
2845
|
+
"description": "The Card variant to render.",
|
|
2846
|
+
"attribute": "variant",
|
|
2847
|
+
"reflects": true
|
|
2848
|
+
}
|
|
2849
|
+
],
|
|
2850
|
+
"attributes": [
|
|
2934
2851
|
{
|
|
2935
|
-
"
|
|
2936
|
-
"name": "formAssociated",
|
|
2852
|
+
"name": "variant",
|
|
2937
2853
|
"type": {
|
|
2938
|
-
"text": "
|
|
2854
|
+
"text": "UmCardVariant"
|
|
2939
2855
|
},
|
|
2940
|
-
"
|
|
2941
|
-
"
|
|
2942
|
-
"
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2856
|
+
"default": "'filled'",
|
|
2857
|
+
"description": "The Card variant to render.",
|
|
2858
|
+
"fieldName": "variant"
|
|
2859
|
+
}
|
|
2860
|
+
],
|
|
2861
|
+
"superclass": {
|
|
2862
|
+
"name": "LitElement",
|
|
2863
|
+
"package": "lit"
|
|
2864
|
+
},
|
|
2865
|
+
"tagName": "u-card",
|
|
2866
|
+
"customElement": true
|
|
2867
|
+
}
|
|
2868
|
+
],
|
|
2869
|
+
"exports": [
|
|
2870
|
+
{
|
|
2871
|
+
"kind": "js",
|
|
2872
|
+
"name": "UmCard",
|
|
2873
|
+
"declaration": {
|
|
2874
|
+
"name": "UmCard",
|
|
2875
|
+
"module": "src/card/card.ts"
|
|
2876
|
+
}
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"kind": "custom-element-definition",
|
|
2880
|
+
"name": "u-card",
|
|
2881
|
+
"declaration": {
|
|
2882
|
+
"name": "UmCard",
|
|
2883
|
+
"module": "src/card/card.ts"
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
]
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
"kind": "javascript-module",
|
|
2890
|
+
"path": "src/checkbox/checkbox-list-item.ts",
|
|
2891
|
+
"declarations": [
|
|
2892
|
+
{
|
|
2893
|
+
"kind": "class",
|
|
2894
|
+
"description": "",
|
|
2895
|
+
"name": "UmCheckboxListItem",
|
|
2896
|
+
"mixins": [
|
|
2947
2897
|
{
|
|
2948
|
-
"
|
|
2949
|
-
"
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
},
|
|
2898
|
+
"name": "mixinSelectionControlListItem",
|
|
2899
|
+
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
2900
|
+
}
|
|
2901
|
+
],
|
|
2902
|
+
"superclass": {
|
|
2903
|
+
"name": "UmCheckbox",
|
|
2904
|
+
"module": "/src/checkbox/checkbox.js"
|
|
2905
|
+
},
|
|
2906
|
+
"tagName": "u-checkbox-list-item",
|
|
2907
|
+
"customElement": true,
|
|
2908
|
+
"members": [
|
|
2960
2909
|
{
|
|
2961
2910
|
"kind": "field",
|
|
2962
|
-
"name": "
|
|
2911
|
+
"name": "styles",
|
|
2963
2912
|
"type": {
|
|
2964
|
-
"text": "
|
|
2913
|
+
"text": "array"
|
|
2965
2914
|
},
|
|
2966
|
-
"
|
|
2967
|
-
"
|
|
2968
|
-
"reflects": true,
|
|
2915
|
+
"static": true,
|
|
2916
|
+
"default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
|
|
2969
2917
|
"inheritedFrom": {
|
|
2970
|
-
"name": "
|
|
2971
|
-
"module": "src/
|
|
2918
|
+
"name": "mixinSelectionControlListItem",
|
|
2919
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
2972
2920
|
}
|
|
2973
2921
|
},
|
|
2974
2922
|
{
|
|
2975
|
-
"kind": "
|
|
2976
|
-
"name": "
|
|
2977
|
-
"
|
|
2978
|
-
"
|
|
2923
|
+
"kind": "method",
|
|
2924
|
+
"name": "render",
|
|
2925
|
+
"return": {
|
|
2926
|
+
"type": {
|
|
2927
|
+
"text": "HTMLTemplateResult"
|
|
2928
|
+
}
|
|
2979
2929
|
},
|
|
2980
|
-
"description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
|
|
2981
|
-
"attribute": "form",
|
|
2982
2930
|
"inheritedFrom": {
|
|
2983
|
-
"name": "
|
|
2984
|
-
"module": "src/
|
|
2931
|
+
"name": "mixinSelectionControlListItem",
|
|
2932
|
+
"module": "src/shared/selection-control/selection-control-list-item.ts"
|
|
2985
2933
|
}
|
|
2986
2934
|
},
|
|
2987
2935
|
{
|
|
2988
2936
|
"kind": "field",
|
|
2989
|
-
"name": "#
|
|
2937
|
+
"name": "#indeterminate",
|
|
2990
2938
|
"privacy": "private",
|
|
2991
2939
|
"type": {
|
|
2992
|
-
"text": "
|
|
2940
|
+
"text": "boolean"
|
|
2993
2941
|
},
|
|
2942
|
+
"default": "false",
|
|
2994
2943
|
"inheritedFrom": {
|
|
2995
|
-
"name": "
|
|
2996
|
-
"module": "src/
|
|
2944
|
+
"name": "UmCheckbox",
|
|
2945
|
+
"module": "src/checkbox/checkbox.ts"
|
|
2997
2946
|
}
|
|
2998
2947
|
},
|
|
2999
2948
|
{
|
|
3000
2949
|
"kind": "field",
|
|
3001
|
-
"name": "
|
|
2950
|
+
"name": "hideStateLayer",
|
|
3002
2951
|
"type": {
|
|
3003
2952
|
"text": "boolean"
|
|
3004
2953
|
},
|
|
3005
2954
|
"default": "false",
|
|
3006
|
-
"
|
|
3007
|
-
"attribute": "disabled",
|
|
2955
|
+
"attribute": "hide-state-layer",
|
|
3008
2956
|
"reflects": true,
|
|
3009
2957
|
"inheritedFrom": {
|
|
3010
|
-
"name": "
|
|
3011
|
-
"module": "src/
|
|
2958
|
+
"name": "UmCheckbox",
|
|
2959
|
+
"module": "src/checkbox/checkbox.ts"
|
|
3012
2960
|
}
|
|
3013
2961
|
},
|
|
3014
2962
|
{
|
|
3015
2963
|
"kind": "field",
|
|
3016
|
-
"name": "
|
|
2964
|
+
"name": "indeterminate",
|
|
3017
2965
|
"type": {
|
|
3018
2966
|
"text": "boolean"
|
|
3019
2967
|
},
|
|
3020
|
-
"
|
|
2968
|
+
"attribute": "indeterminate",
|
|
3021
2969
|
"inheritedFrom": {
|
|
3022
|
-
"name": "
|
|
3023
|
-
"module": "src/
|
|
2970
|
+
"name": "UmCheckbox",
|
|
2971
|
+
"module": "src/checkbox/checkbox.ts"
|
|
3024
2972
|
}
|
|
3025
2973
|
},
|
|
3026
2974
|
{
|
|
3027
2975
|
"kind": "field",
|
|
3028
|
-
"name": "
|
|
2976
|
+
"name": "checked",
|
|
2977
|
+
"attribute": "checked",
|
|
3029
2978
|
"type": {
|
|
3030
|
-
"text": "
|
|
2979
|
+
"text": "boolean"
|
|
3031
2980
|
},
|
|
3032
|
-
"description": "The URL that the link button points to.",
|
|
3033
|
-
"attribute": "href",
|
|
3034
2981
|
"inheritedFrom": {
|
|
3035
|
-
"name": "
|
|
3036
|
-
"module": "src/shared/
|
|
2982
|
+
"name": "UmSelectionControl",
|
|
2983
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3037
2984
|
}
|
|
3038
2985
|
},
|
|
3039
2986
|
{
|
|
3040
|
-
"kind": "
|
|
3041
|
-
"name": "
|
|
3042
|
-
"
|
|
3043
|
-
|
|
2987
|
+
"kind": "method",
|
|
2988
|
+
"name": "renderIndicator",
|
|
2989
|
+
"privacy": "protected",
|
|
2990
|
+
"return": {
|
|
2991
|
+
"type": {
|
|
2992
|
+
"text": "HTMLTemplateResult"
|
|
2993
|
+
}
|
|
3044
2994
|
},
|
|
3045
|
-
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
3046
|
-
"attribute": "target",
|
|
3047
2995
|
"inheritedFrom": {
|
|
3048
|
-
"name": "
|
|
3049
|
-
"module": "src/shared/
|
|
2996
|
+
"name": "UmSelectionControl",
|
|
2997
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3050
2998
|
}
|
|
3051
2999
|
},
|
|
3052
3000
|
{
|
|
3053
3001
|
"kind": "field",
|
|
3054
|
-
"name": "
|
|
3002
|
+
"name": "formAssociated",
|
|
3055
3003
|
"type": {
|
|
3056
|
-
"text": "
|
|
3004
|
+
"text": "boolean"
|
|
3057
3005
|
},
|
|
3058
|
-
"
|
|
3006
|
+
"static": true,
|
|
3007
|
+
"default": "true",
|
|
3059
3008
|
"inheritedFrom": {
|
|
3060
|
-
"name": "
|
|
3061
|
-
"module": "src/shared/
|
|
3009
|
+
"name": "UmSelectionControl",
|
|
3010
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3062
3011
|
}
|
|
3063
3012
|
},
|
|
3064
3013
|
{
|
|
3065
3014
|
"kind": "field",
|
|
3066
|
-
"name": "
|
|
3015
|
+
"name": "elementInternals",
|
|
3067
3016
|
"type": {
|
|
3068
|
-
"text": "
|
|
3017
|
+
"text": "ElementInternals"
|
|
3069
3018
|
},
|
|
3070
3019
|
"privacy": "protected",
|
|
3071
3020
|
"inheritedFrom": {
|
|
3072
|
-
"name": "
|
|
3073
|
-
"module": "src/shared/
|
|
3021
|
+
"name": "UmSelectionControl",
|
|
3022
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3074
3023
|
}
|
|
3075
3024
|
},
|
|
3076
3025
|
{
|
|
3077
3026
|
"kind": "field",
|
|
3078
|
-
"name": "
|
|
3027
|
+
"name": "name",
|
|
3079
3028
|
"type": {
|
|
3080
|
-
"text": "
|
|
3029
|
+
"text": "string | undefined"
|
|
3081
3030
|
},
|
|
3082
|
-
"
|
|
3031
|
+
"default": "''",
|
|
3032
|
+
"attribute": "name",
|
|
3083
3033
|
"inheritedFrom": {
|
|
3084
|
-
"name": "
|
|
3085
|
-
"module": "src/shared/
|
|
3034
|
+
"name": "UmSelectionControl",
|
|
3035
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3086
3036
|
}
|
|
3087
3037
|
},
|
|
3088
3038
|
{
|
|
3089
3039
|
"kind": "field",
|
|
3090
|
-
"name": "
|
|
3040
|
+
"name": "disabled",
|
|
3091
3041
|
"type": {
|
|
3092
|
-
"text": "
|
|
3042
|
+
"text": "boolean"
|
|
3093
3043
|
},
|
|
3094
|
-
"
|
|
3095
|
-
"
|
|
3044
|
+
"default": "false",
|
|
3045
|
+
"attribute": "disabled",
|
|
3046
|
+
"reflects": true,
|
|
3096
3047
|
"inheritedFrom": {
|
|
3097
|
-
"name": "
|
|
3098
|
-
"module": "src/shared/
|
|
3048
|
+
"name": "UmSelectionControl",
|
|
3049
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3099
3050
|
}
|
|
3100
3051
|
},
|
|
3101
3052
|
{
|
|
3102
3053
|
"kind": "field",
|
|
3103
|
-
"name": "
|
|
3054
|
+
"name": "input",
|
|
3104
3055
|
"type": {
|
|
3105
|
-
"text": "
|
|
3056
|
+
"text": "HTMLInputElement"
|
|
3106
3057
|
},
|
|
3107
3058
|
"inheritedFrom": {
|
|
3108
|
-
"name": "
|
|
3109
|
-
"module": "src/shared/
|
|
3059
|
+
"name": "UmSelectionControl",
|
|
3060
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3110
3061
|
}
|
|
3111
3062
|
},
|
|
3112
3063
|
{
|
|
3113
|
-
"kind": "
|
|
3114
|
-
"name": "
|
|
3115
|
-
"
|
|
3064
|
+
"kind": "field",
|
|
3065
|
+
"name": "form",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "HTMLFormElement | null"
|
|
3068
|
+
},
|
|
3116
3069
|
"inheritedFrom": {
|
|
3117
|
-
"name": "
|
|
3118
|
-
"module": "src/shared/
|
|
3070
|
+
"name": "UmSelectionControl",
|
|
3071
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3119
3072
|
}
|
|
3120
3073
|
},
|
|
3121
3074
|
{
|
|
3122
|
-
"kind": "
|
|
3123
|
-
"name": "
|
|
3075
|
+
"kind": "field",
|
|
3076
|
+
"name": "#checked",
|
|
3124
3077
|
"privacy": "private",
|
|
3078
|
+
"type": {
|
|
3079
|
+
"text": "boolean"
|
|
3080
|
+
},
|
|
3081
|
+
"default": "false",
|
|
3125
3082
|
"inheritedFrom": {
|
|
3126
|
-
"name": "
|
|
3127
|
-
"module": "src/shared/
|
|
3083
|
+
"name": "UmSelectionControl",
|
|
3084
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3128
3085
|
}
|
|
3129
3086
|
},
|
|
3130
3087
|
{
|
|
3131
|
-
"kind": "
|
|
3132
|
-
"name": "
|
|
3088
|
+
"kind": "field",
|
|
3089
|
+
"name": "inputType",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "'checkbox' | 'radio'"
|
|
3092
|
+
},
|
|
3093
|
+
"privacy": "protected",
|
|
3094
|
+
"default": "'checkbox'",
|
|
3133
3095
|
"inheritedFrom": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/shared/
|
|
3096
|
+
"name": "UmSelectionControl",
|
|
3097
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3136
3098
|
}
|
|
3137
3099
|
},
|
|
3138
3100
|
{
|
|
3139
|
-
"kind": "
|
|
3140
|
-
"name": "
|
|
3101
|
+
"kind": "field",
|
|
3102
|
+
"name": "renderRipple",
|
|
3103
|
+
"type": {
|
|
3104
|
+
"text": "boolean"
|
|
3105
|
+
},
|
|
3106
|
+
"privacy": "protected",
|
|
3107
|
+
"default": "true",
|
|
3141
3108
|
"inheritedFrom": {
|
|
3142
|
-
"name": "
|
|
3143
|
-
"module": "src/shared/
|
|
3109
|
+
"name": "UmSelectionControl",
|
|
3110
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3144
3111
|
}
|
|
3145
3112
|
},
|
|
3146
3113
|
{
|
|
3147
|
-
"kind": "
|
|
3148
|
-
"name": "
|
|
3149
|
-
"
|
|
3150
|
-
|
|
3151
|
-
"type": {
|
|
3152
|
-
"text": "void"
|
|
3153
|
-
}
|
|
3114
|
+
"kind": "field",
|
|
3115
|
+
"name": "value",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "string"
|
|
3154
3118
|
},
|
|
3119
|
+
"default": "'on'",
|
|
3120
|
+
"description": "The element value to use in form submission when checked.",
|
|
3121
|
+
"attribute": "value",
|
|
3155
3122
|
"inheritedFrom": {
|
|
3156
|
-
"name": "
|
|
3157
|
-
"module": "src/shared/
|
|
3123
|
+
"name": "UmSelectionControl",
|
|
3124
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3158
3125
|
}
|
|
3159
3126
|
},
|
|
3160
3127
|
{
|
|
3161
3128
|
"kind": "method",
|
|
3162
|
-
"name": "#
|
|
3163
|
-
"return": {
|
|
3164
|
-
"type": {
|
|
3165
|
-
"text": "void"
|
|
3166
|
-
}
|
|
3167
|
-
},
|
|
3129
|
+
"name": "#handleClick",
|
|
3168
3130
|
"parameters": [
|
|
3169
3131
|
{
|
|
3170
|
-
"name": "
|
|
3132
|
+
"name": "e",
|
|
3171
3133
|
"type": {
|
|
3172
|
-
"text": "
|
|
3134
|
+
"text": "Event"
|
|
3173
3135
|
}
|
|
3174
3136
|
}
|
|
3175
3137
|
],
|
|
3176
3138
|
"inheritedFrom": {
|
|
3177
|
-
"name": "
|
|
3178
|
-
"module": "src/shared/
|
|
3179
|
-
}
|
|
3180
|
-
}
|
|
3181
|
-
],
|
|
3182
|
-
"events": [
|
|
3183
|
-
{
|
|
3184
|
-
"name": "change",
|
|
3185
|
-
"type": {
|
|
3186
|
-
"text": "Event"
|
|
3139
|
+
"name": "UmSelectionControl",
|
|
3140
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3187
3141
|
}
|
|
3188
3142
|
}
|
|
3189
3143
|
],
|
|
3190
3144
|
"attributes": [
|
|
3191
3145
|
{
|
|
3192
|
-
"name": "
|
|
3193
|
-
"type": {
|
|
3194
|
-
"text": "UmIconButtonVariant"
|
|
3195
|
-
},
|
|
3196
|
-
"default": "'standard'",
|
|
3197
|
-
"fieldName": "variant"
|
|
3198
|
-
},
|
|
3199
|
-
{
|
|
3200
|
-
"name": "toggle",
|
|
3201
|
-
"type": {
|
|
3202
|
-
"text": "boolean"
|
|
3203
|
-
},
|
|
3204
|
-
"default": "false",
|
|
3205
|
-
"description": "When true, the button will toggle between selected and unselected\nstates",
|
|
3206
|
-
"fieldName": "toggle"
|
|
3207
|
-
},
|
|
3208
|
-
{
|
|
3209
|
-
"name": "has-selection-icon",
|
|
3210
|
-
"type": {
|
|
3211
|
-
"text": "boolean"
|
|
3212
|
-
},
|
|
3213
|
-
"default": "false",
|
|
3214
|
-
"fieldName": "hasSelectionIcon"
|
|
3215
|
-
},
|
|
3216
|
-
{
|
|
3217
|
-
"name": "selected",
|
|
3146
|
+
"name": "hide-state-layer",
|
|
3218
3147
|
"type": {
|
|
3219
3148
|
"text": "boolean"
|
|
3220
3149
|
},
|
|
3221
3150
|
"default": "false",
|
|
3222
|
-
"
|
|
3223
|
-
"fieldName": "selected"
|
|
3224
|
-
},
|
|
3225
|
-
{
|
|
3226
|
-
"name": "aria-label-selected",
|
|
3227
|
-
"type": {
|
|
3228
|
-
"text": "string"
|
|
3229
|
-
},
|
|
3230
|
-
"default": "''",
|
|
3231
|
-
"description": "The `aria-label` of the button when the button is toggleable and selected.",
|
|
3232
|
-
"fieldName": "ariaLabelSelected"
|
|
3233
|
-
},
|
|
3234
|
-
{
|
|
3235
|
-
"name": "type",
|
|
3236
|
-
"type": {
|
|
3237
|
-
"text": "string"
|
|
3238
|
-
},
|
|
3239
|
-
"default": "'submit'",
|
|
3240
|
-
"fieldName": "type",
|
|
3151
|
+
"fieldName": "hideStateLayer",
|
|
3241
3152
|
"inheritedFrom": {
|
|
3242
|
-
"name": "
|
|
3243
|
-
"module": "src/
|
|
3153
|
+
"name": "UmCheckbox",
|
|
3154
|
+
"module": "src/checkbox/checkbox.ts"
|
|
3244
3155
|
}
|
|
3245
3156
|
},
|
|
3246
3157
|
{
|
|
3247
|
-
"name": "
|
|
3158
|
+
"name": "indeterminate",
|
|
3248
3159
|
"type": {
|
|
3249
|
-
"text": "
|
|
3160
|
+
"text": "boolean"
|
|
3250
3161
|
},
|
|
3251
|
-
"
|
|
3252
|
-
"fieldName": "value",
|
|
3162
|
+
"fieldName": "indeterminate",
|
|
3253
3163
|
"inheritedFrom": {
|
|
3254
|
-
"name": "
|
|
3255
|
-
"module": "src/
|
|
3164
|
+
"name": "UmCheckbox",
|
|
3165
|
+
"module": "src/checkbox/checkbox.ts"
|
|
3256
3166
|
}
|
|
3257
3167
|
},
|
|
3258
3168
|
{
|
|
3259
|
-
"name": "
|
|
3169
|
+
"name": "name",
|
|
3260
3170
|
"type": {
|
|
3261
|
-
"text": "
|
|
3171
|
+
"text": "string | undefined"
|
|
3262
3172
|
},
|
|
3263
|
-
"
|
|
3264
|
-
"fieldName": "
|
|
3173
|
+
"default": "''",
|
|
3174
|
+
"fieldName": "name",
|
|
3265
3175
|
"inheritedFrom": {
|
|
3266
|
-
"name": "
|
|
3267
|
-
"module": "src/
|
|
3176
|
+
"name": "UmSelectionControl",
|
|
3177
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3268
3178
|
}
|
|
3269
3179
|
},
|
|
3270
3180
|
{
|
|
@@ -3273,84 +3183,85 @@
|
|
|
3273
3183
|
"text": "boolean"
|
|
3274
3184
|
},
|
|
3275
3185
|
"default": "false",
|
|
3276
|
-
"description": "Whether the button is disabled or not.",
|
|
3277
3186
|
"fieldName": "disabled",
|
|
3278
3187
|
"inheritedFrom": {
|
|
3279
|
-
"name": "
|
|
3280
|
-
"module": "src/shared/
|
|
3188
|
+
"name": "UmSelectionControl",
|
|
3189
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3281
3190
|
}
|
|
3282
3191
|
},
|
|
3283
3192
|
{
|
|
3284
|
-
"name": "
|
|
3193
|
+
"name": "value",
|
|
3285
3194
|
"type": {
|
|
3286
|
-
"text": "string
|
|
3195
|
+
"text": "string"
|
|
3287
3196
|
},
|
|
3288
|
-
"
|
|
3289
|
-
"
|
|
3197
|
+
"default": "'on'",
|
|
3198
|
+
"description": "The element value to use in form submission when checked.",
|
|
3199
|
+
"fieldName": "value",
|
|
3290
3200
|
"inheritedFrom": {
|
|
3291
|
-
"name": "
|
|
3292
|
-
"module": "src/shared/
|
|
3201
|
+
"name": "UmSelectionControl",
|
|
3202
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3293
3203
|
}
|
|
3294
3204
|
},
|
|
3295
3205
|
{
|
|
3296
|
-
"name": "
|
|
3206
|
+
"name": "checked",
|
|
3207
|
+
"fieldName": "checked",
|
|
3208
|
+
"inheritedFrom": {
|
|
3209
|
+
"name": "UmSelectionControl",
|
|
3210
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
],
|
|
3214
|
+
"events": [
|
|
3215
|
+
{
|
|
3216
|
+
"name": "input",
|
|
3297
3217
|
"type": {
|
|
3298
|
-
"text": "
|
|
3218
|
+
"text": "InputEvent"
|
|
3299
3219
|
},
|
|
3300
|
-
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
3301
|
-
"fieldName": "target",
|
|
3302
3220
|
"inheritedFrom": {
|
|
3303
|
-
"name": "
|
|
3304
|
-
"module": "src/shared/
|
|
3221
|
+
"name": "UmSelectionControl",
|
|
3222
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3305
3223
|
}
|
|
3306
3224
|
},
|
|
3307
3225
|
{
|
|
3308
|
-
"name": "
|
|
3226
|
+
"name": "change",
|
|
3309
3227
|
"type": {
|
|
3310
|
-
"text": "
|
|
3228
|
+
"text": "Event"
|
|
3311
3229
|
},
|
|
3312
|
-
"fieldName": "name",
|
|
3313
3230
|
"inheritedFrom": {
|
|
3314
|
-
"name": "
|
|
3315
|
-
"module": "src/shared/
|
|
3231
|
+
"name": "UmSelectionControl",
|
|
3232
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3316
3233
|
}
|
|
3317
3234
|
}
|
|
3318
|
-
]
|
|
3319
|
-
"superclass": {
|
|
3320
|
-
"name": "UmButtonBase",
|
|
3321
|
-
"module": "/src/button/button-base.js"
|
|
3322
|
-
},
|
|
3323
|
-
"tagName": "u-icon-button",
|
|
3324
|
-
"customElement": true
|
|
3235
|
+
]
|
|
3325
3236
|
}
|
|
3326
3237
|
],
|
|
3327
3238
|
"exports": [
|
|
3328
3239
|
{
|
|
3329
3240
|
"kind": "js",
|
|
3330
|
-
"name": "
|
|
3241
|
+
"name": "UmCheckboxListItem",
|
|
3331
3242
|
"declaration": {
|
|
3332
|
-
"name": "
|
|
3333
|
-
"module": "src/
|
|
3243
|
+
"name": "UmCheckboxListItem",
|
|
3244
|
+
"module": "src/checkbox/checkbox-list-item.ts"
|
|
3334
3245
|
}
|
|
3335
3246
|
},
|
|
3336
3247
|
{
|
|
3337
3248
|
"kind": "custom-element-definition",
|
|
3338
|
-
"name": "u-
|
|
3249
|
+
"name": "u-checkbox-list-item",
|
|
3339
3250
|
"declaration": {
|
|
3340
|
-
"name": "
|
|
3341
|
-
"module": "src/
|
|
3251
|
+
"name": "UmCheckboxListItem",
|
|
3252
|
+
"module": "src/checkbox/checkbox-list-item.ts"
|
|
3342
3253
|
}
|
|
3343
3254
|
}
|
|
3344
3255
|
]
|
|
3345
3256
|
},
|
|
3346
3257
|
{
|
|
3347
3258
|
"kind": "javascript-module",
|
|
3348
|
-
"path": "src/
|
|
3259
|
+
"path": "src/checkbox/checkbox.styles.ts",
|
|
3349
3260
|
"declarations": [
|
|
3350
3261
|
{
|
|
3351
3262
|
"kind": "variable",
|
|
3352
3263
|
"name": "styles",
|
|
3353
|
-
"default": "css `\n :host {\n display: block;\n }\n\n :host(:
|
|
3264
|
+
"default": "css `\n :host {\n --_state-layer-padding: var(--u-checkbox-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-checkbox-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-checkbox-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_indicator-size: var(--u-checkbox-size, 1.125rem);\n --_width: var(--u-checkbox-size, 3rem);\n --_height: var(--_width);\n }\n\n .border {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n box-shadow: 0 0 0 var(--u-checkbox-indicator-border-width, 0.125rem) var(--_indicator-color) inset;\n border-radius: var(--u-checkbox-indicator-shaper-coner, 2px);\n transition: box-shadow 175ms 175ms;\n }\n\n .indicator {\n position: absolute;\n display: flex;\n justify-content: center;\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n overflow: hidden;\n clip: rect(0, 0, var(--_indicator-size), 0);\n transition: clip 275ms;\n }\n .indicator::before {\n position: relative;\n top: 25%;\n box-sizing: border-box;\n display: block;\n width: 0.75rem;\n height: 0.35rem;\n content: \"\";\n border: var(--u-checkbox-indicator-border-width, 0.125rem) solid var(--u-color-on-primary, rgb(255, 255, 255));\n border-top-style: none;\n border-right-style: none;\n transform: rotate(-45deg);\n transition: border 175ms, transform 175ms;\n }\n\n input.indeterminate ~ .indicator-container .border,\n input:checked ~ .indicator-container .border {\n box-shadow: 0 0 0 calc(var(--_indicator-size) / 2) var(--_indicator-color) inset;\n transition: box-shadow 175ms;\n }\n input.indeterminate ~ .indicator-container .indicator,\n input:checked ~ .indicator-container .indicator {\n clip: rect(0, var(--_indicator-size), var(--_indicator-size), 0);\n transition: clip 175ms 175ms;\n }\n\n input.indeterminate ~ .indicator-container {\n --_indicator-color: var(--u-checkbox-indicator-indeterminate-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n input.indeterminate ~ .indicator-container .indicator::before {\n border-left-style: none;\n transform: rotate(0);\n width: 0.6rem;\n }\n`"
|
|
3354
3265
|
}
|
|
3355
3266
|
],
|
|
3356
3267
|
"exports": [
|
|
@@ -3359,34 +3270,203 @@
|
|
|
3359
3270
|
"name": "styles",
|
|
3360
3271
|
"declaration": {
|
|
3361
3272
|
"name": "styles",
|
|
3362
|
-
"module": "src/
|
|
3273
|
+
"module": "src/checkbox/checkbox.styles.ts"
|
|
3363
3274
|
}
|
|
3364
3275
|
}
|
|
3365
3276
|
]
|
|
3366
3277
|
},
|
|
3367
3278
|
{
|
|
3368
3279
|
"kind": "javascript-module",
|
|
3369
|
-
"path": "src/
|
|
3280
|
+
"path": "src/checkbox/checkbox.ts",
|
|
3370
3281
|
"declarations": [
|
|
3371
3282
|
{
|
|
3372
3283
|
"kind": "class",
|
|
3373
3284
|
"description": "",
|
|
3374
|
-
"name": "
|
|
3285
|
+
"name": "UmCheckbox",
|
|
3375
3286
|
"members": [
|
|
3376
3287
|
{
|
|
3377
3288
|
"kind": "field",
|
|
3378
|
-
"name": "
|
|
3289
|
+
"name": "#indeterminate",
|
|
3290
|
+
"privacy": "private",
|
|
3291
|
+
"type": {
|
|
3292
|
+
"text": "boolean"
|
|
3293
|
+
},
|
|
3294
|
+
"default": "false"
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"kind": "field",
|
|
3298
|
+
"name": "hideStateLayer",
|
|
3299
|
+
"type": {
|
|
3300
|
+
"text": "boolean"
|
|
3301
|
+
},
|
|
3302
|
+
"default": "false",
|
|
3303
|
+
"attribute": "hide-state-layer",
|
|
3304
|
+
"reflects": true
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"kind": "field",
|
|
3308
|
+
"name": "indeterminate",
|
|
3309
|
+
"type": {
|
|
3310
|
+
"text": "boolean"
|
|
3311
|
+
},
|
|
3312
|
+
"attribute": "indeterminate"
|
|
3313
|
+
},
|
|
3314
|
+
{
|
|
3315
|
+
"kind": "field",
|
|
3316
|
+
"name": "checked",
|
|
3317
|
+
"attribute": "checked",
|
|
3318
|
+
"type": {
|
|
3319
|
+
"text": "boolean"
|
|
3320
|
+
},
|
|
3321
|
+
"inheritedFrom": {
|
|
3322
|
+
"name": "UmSelectionControl",
|
|
3323
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3324
|
+
}
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"kind": "method",
|
|
3328
|
+
"name": "renderIndicator",
|
|
3329
|
+
"privacy": "protected",
|
|
3330
|
+
"return": {
|
|
3331
|
+
"type": {
|
|
3332
|
+
"text": "HTMLTemplateResult"
|
|
3333
|
+
}
|
|
3334
|
+
},
|
|
3335
|
+
"inheritedFrom": {
|
|
3336
|
+
"name": "UmSelectionControl",
|
|
3337
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3338
|
+
}
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
"kind": "field",
|
|
3342
|
+
"name": "formAssociated",
|
|
3343
|
+
"type": {
|
|
3344
|
+
"text": "boolean"
|
|
3345
|
+
},
|
|
3346
|
+
"static": true,
|
|
3347
|
+
"default": "true",
|
|
3348
|
+
"inheritedFrom": {
|
|
3349
|
+
"name": "UmSelectionControl",
|
|
3350
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"kind": "field",
|
|
3355
|
+
"name": "elementInternals",
|
|
3356
|
+
"type": {
|
|
3357
|
+
"text": "ElementInternals"
|
|
3358
|
+
},
|
|
3359
|
+
"privacy": "protected",
|
|
3360
|
+
"inheritedFrom": {
|
|
3361
|
+
"name": "UmSelectionControl",
|
|
3362
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3363
|
+
}
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"kind": "field",
|
|
3367
|
+
"name": "name",
|
|
3368
|
+
"type": {
|
|
3369
|
+
"text": "string | undefined"
|
|
3370
|
+
},
|
|
3371
|
+
"default": "''",
|
|
3372
|
+
"attribute": "name",
|
|
3373
|
+
"inheritedFrom": {
|
|
3374
|
+
"name": "UmSelectionControl",
|
|
3375
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "field",
|
|
3380
|
+
"name": "disabled",
|
|
3381
|
+
"type": {
|
|
3382
|
+
"text": "boolean"
|
|
3383
|
+
},
|
|
3384
|
+
"default": "false",
|
|
3385
|
+
"attribute": "disabled",
|
|
3386
|
+
"reflects": true,
|
|
3387
|
+
"inheritedFrom": {
|
|
3388
|
+
"name": "UmSelectionControl",
|
|
3389
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"kind": "field",
|
|
3394
|
+
"name": "input",
|
|
3395
|
+
"type": {
|
|
3396
|
+
"text": "HTMLInputElement"
|
|
3397
|
+
},
|
|
3398
|
+
"inheritedFrom": {
|
|
3399
|
+
"name": "UmSelectionControl",
|
|
3400
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3401
|
+
}
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"kind": "field",
|
|
3405
|
+
"name": "form",
|
|
3406
|
+
"type": {
|
|
3407
|
+
"text": "HTMLFormElement | null"
|
|
3408
|
+
},
|
|
3409
|
+
"inheritedFrom": {
|
|
3410
|
+
"name": "UmSelectionControl",
|
|
3411
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3412
|
+
}
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"kind": "field",
|
|
3416
|
+
"name": "#checked",
|
|
3417
|
+
"privacy": "private",
|
|
3418
|
+
"type": {
|
|
3419
|
+
"text": "boolean"
|
|
3420
|
+
},
|
|
3421
|
+
"default": "false",
|
|
3422
|
+
"inheritedFrom": {
|
|
3423
|
+
"name": "UmSelectionControl",
|
|
3424
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"kind": "field",
|
|
3429
|
+
"name": "inputType",
|
|
3430
|
+
"type": {
|
|
3431
|
+
"text": "'checkbox' | 'radio'"
|
|
3432
|
+
},
|
|
3433
|
+
"privacy": "protected",
|
|
3434
|
+
"default": "'checkbox'",
|
|
3435
|
+
"inheritedFrom": {
|
|
3436
|
+
"name": "UmSelectionControl",
|
|
3437
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3438
|
+
}
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
"kind": "field",
|
|
3442
|
+
"name": "renderRipple",
|
|
3379
3443
|
"type": {
|
|
3380
3444
|
"text": "boolean"
|
|
3381
3445
|
},
|
|
3382
|
-
"
|
|
3383
|
-
"
|
|
3384
|
-
"
|
|
3446
|
+
"privacy": "protected",
|
|
3447
|
+
"default": "true",
|
|
3448
|
+
"inheritedFrom": {
|
|
3449
|
+
"name": "UmSelectionControl",
|
|
3450
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3451
|
+
}
|
|
3452
|
+
},
|
|
3453
|
+
{
|
|
3454
|
+
"kind": "field",
|
|
3455
|
+
"name": "value",
|
|
3456
|
+
"type": {
|
|
3457
|
+
"text": "string"
|
|
3458
|
+
},
|
|
3459
|
+
"default": "'on'",
|
|
3460
|
+
"description": "The element value to use in form submission when checked.",
|
|
3461
|
+
"attribute": "value",
|
|
3462
|
+
"inheritedFrom": {
|
|
3463
|
+
"name": "UmSelectionControl",
|
|
3464
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3465
|
+
}
|
|
3385
3466
|
},
|
|
3386
3467
|
{
|
|
3387
3468
|
"kind": "method",
|
|
3388
|
-
"name": "
|
|
3389
|
-
"privacy": "private",
|
|
3469
|
+
"name": "#handleClick",
|
|
3390
3470
|
"parameters": [
|
|
3391
3471
|
{
|
|
3392
3472
|
"name": "e",
|
|
@@ -3394,200 +3474,120 @@
|
|
|
3394
3474
|
"text": "Event"
|
|
3395
3475
|
}
|
|
3396
3476
|
}
|
|
3397
|
-
]
|
|
3477
|
+
],
|
|
3478
|
+
"inheritedFrom": {
|
|
3479
|
+
"name": "UmSelectionControl",
|
|
3480
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3481
|
+
}
|
|
3398
3482
|
}
|
|
3399
3483
|
],
|
|
3400
3484
|
"attributes": [
|
|
3401
3485
|
{
|
|
3402
|
-
"name": "
|
|
3486
|
+
"name": "hide-state-layer",
|
|
3403
3487
|
"type": {
|
|
3404
3488
|
"text": "boolean"
|
|
3405
3489
|
},
|
|
3406
3490
|
"default": "false",
|
|
3407
|
-
"fieldName": "
|
|
3408
|
-
}
|
|
3409
|
-
],
|
|
3410
|
-
"superclass": {
|
|
3411
|
-
"name": "LitElement",
|
|
3412
|
-
"package": "lit"
|
|
3413
|
-
},
|
|
3414
|
-
"tagName": "u-card-content",
|
|
3415
|
-
"customElement": true
|
|
3416
|
-
}
|
|
3417
|
-
],
|
|
3418
|
-
"exports": [
|
|
3419
|
-
{
|
|
3420
|
-
"kind": "js",
|
|
3421
|
-
"name": "UmCardContent",
|
|
3422
|
-
"declaration": {
|
|
3423
|
-
"name": "UmCardContent",
|
|
3424
|
-
"module": "src/card/card-content.ts"
|
|
3425
|
-
}
|
|
3426
|
-
},
|
|
3427
|
-
{
|
|
3428
|
-
"kind": "custom-element-definition",
|
|
3429
|
-
"name": "u-card-content",
|
|
3430
|
-
"declaration": {
|
|
3431
|
-
"name": "UmCardContent",
|
|
3432
|
-
"module": "src/card/card-content.ts"
|
|
3433
|
-
}
|
|
3434
|
-
}
|
|
3435
|
-
]
|
|
3436
|
-
},
|
|
3437
|
-
{
|
|
3438
|
-
"kind": "javascript-module",
|
|
3439
|
-
"path": "src/card/card-media.styles.ts",
|
|
3440
|
-
"declarations": [
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "variable",
|
|
3443
|
-
"name": "styles",
|
|
3444
|
-
"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`"
|
|
3445
|
-
}
|
|
3446
|
-
],
|
|
3447
|
-
"exports": [
|
|
3448
|
-
{
|
|
3449
|
-
"kind": "js",
|
|
3450
|
-
"name": "styles",
|
|
3451
|
-
"declaration": {
|
|
3452
|
-
"name": "styles",
|
|
3453
|
-
"module": "src/card/card-media.styles.ts"
|
|
3454
|
-
}
|
|
3455
|
-
}
|
|
3456
|
-
]
|
|
3457
|
-
},
|
|
3458
|
-
{
|
|
3459
|
-
"kind": "javascript-module",
|
|
3460
|
-
"path": "src/card/card-media.ts",
|
|
3461
|
-
"declarations": [
|
|
3462
|
-
{
|
|
3463
|
-
"kind": "class",
|
|
3464
|
-
"description": "",
|
|
3465
|
-
"name": "UmCardMedia",
|
|
3466
|
-
"members": [
|
|
3491
|
+
"fieldName": "hideStateLayer"
|
|
3492
|
+
},
|
|
3467
3493
|
{
|
|
3468
|
-
"
|
|
3469
|
-
"name": "wide",
|
|
3494
|
+
"name": "indeterminate",
|
|
3470
3495
|
"type": {
|
|
3471
3496
|
"text": "boolean"
|
|
3472
3497
|
},
|
|
3473
|
-
"
|
|
3474
|
-
|
|
3475
|
-
"reflects": true
|
|
3476
|
-
}
|
|
3477
|
-
],
|
|
3478
|
-
"attributes": [
|
|
3498
|
+
"fieldName": "indeterminate"
|
|
3499
|
+
},
|
|
3479
3500
|
{
|
|
3480
|
-
"name": "
|
|
3501
|
+
"name": "name",
|
|
3502
|
+
"type": {
|
|
3503
|
+
"text": "string | undefined"
|
|
3504
|
+
},
|
|
3505
|
+
"default": "''",
|
|
3506
|
+
"fieldName": "name",
|
|
3507
|
+
"inheritedFrom": {
|
|
3508
|
+
"name": "UmSelectionControl",
|
|
3509
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3510
|
+
}
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
"name": "disabled",
|
|
3481
3514
|
"type": {
|
|
3482
3515
|
"text": "boolean"
|
|
3483
3516
|
},
|
|
3484
3517
|
"default": "false",
|
|
3485
|
-
"fieldName": "
|
|
3518
|
+
"fieldName": "disabled",
|
|
3519
|
+
"inheritedFrom": {
|
|
3520
|
+
"name": "UmSelectionControl",
|
|
3521
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3522
|
+
}
|
|
3523
|
+
},
|
|
3524
|
+
{
|
|
3525
|
+
"name": "value",
|
|
3526
|
+
"type": {
|
|
3527
|
+
"text": "string"
|
|
3528
|
+
},
|
|
3529
|
+
"default": "'on'",
|
|
3530
|
+
"description": "The element value to use in form submission when checked.",
|
|
3531
|
+
"fieldName": "value",
|
|
3532
|
+
"inheritedFrom": {
|
|
3533
|
+
"name": "UmSelectionControl",
|
|
3534
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"name": "checked",
|
|
3539
|
+
"fieldName": "checked",
|
|
3540
|
+
"inheritedFrom": {
|
|
3541
|
+
"name": "UmSelectionControl",
|
|
3542
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3543
|
+
}
|
|
3486
3544
|
}
|
|
3487
3545
|
],
|
|
3488
3546
|
"superclass": {
|
|
3489
|
-
"name": "
|
|
3490
|
-
"
|
|
3547
|
+
"name": "UmSelectionControl",
|
|
3548
|
+
"module": "/src/shared/selection-control/selection-control.js"
|
|
3491
3549
|
},
|
|
3492
|
-
"tagName": "u-
|
|
3493
|
-
"customElement": true
|
|
3494
|
-
|
|
3495
|
-
],
|
|
3496
|
-
"exports": [
|
|
3497
|
-
{
|
|
3498
|
-
"kind": "js",
|
|
3499
|
-
"name": "UmCardMedia",
|
|
3500
|
-
"declaration": {
|
|
3501
|
-
"name": "UmCardMedia",
|
|
3502
|
-
"module": "src/card/card-media.ts"
|
|
3503
|
-
}
|
|
3504
|
-
},
|
|
3505
|
-
{
|
|
3506
|
-
"kind": "custom-element-definition",
|
|
3507
|
-
"name": "u-card-media",
|
|
3508
|
-
"declaration": {
|
|
3509
|
-
"name": "UmCardMedia",
|
|
3510
|
-
"module": "src/card/card-media.ts"
|
|
3511
|
-
}
|
|
3512
|
-
}
|
|
3513
|
-
]
|
|
3514
|
-
},
|
|
3515
|
-
{
|
|
3516
|
-
"kind": "javascript-module",
|
|
3517
|
-
"path": "src/card/card.styles.ts",
|
|
3518
|
-
"declarations": [
|
|
3519
|
-
{
|
|
3520
|
-
"kind": "variable",
|
|
3521
|
-
"name": "styles",
|
|
3522
|
-
"default": "css `\n :host {\n display: block;\n position: relative;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-color-surface-container-low, rgb(247, 242, 250));\n }\n :host([variant=elevated]) u-elevation {\n --u-elevation-level: var(--u-elevated-card-elevation-level, 1);\n }\n\n :host([variant=filled]) {\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n\n :host([variant=outlined]) {\n border: var(--u-outlined-card-outline-width, 1px) solid var(--u-outlined-card-outline-color, var(--u-color-outline-variant, rgb(202, 196, 208)));\n }\n\n u-card-content,\n slot {\n border-radius: inherit;\n }\n`"
|
|
3523
|
-
}
|
|
3524
|
-
],
|
|
3525
|
-
"exports": [
|
|
3526
|
-
{
|
|
3527
|
-
"kind": "js",
|
|
3528
|
-
"name": "styles",
|
|
3529
|
-
"declaration": {
|
|
3530
|
-
"name": "styles",
|
|
3531
|
-
"module": "src/card/card.styles.ts"
|
|
3532
|
-
}
|
|
3533
|
-
}
|
|
3534
|
-
]
|
|
3535
|
-
},
|
|
3536
|
-
{
|
|
3537
|
-
"kind": "javascript-module",
|
|
3538
|
-
"path": "src/card/card.ts",
|
|
3539
|
-
"declarations": [
|
|
3540
|
-
{
|
|
3541
|
-
"kind": "class",
|
|
3542
|
-
"description": "",
|
|
3543
|
-
"name": "UmCard",
|
|
3544
|
-
"members": [
|
|
3550
|
+
"tagName": "u-checkbox",
|
|
3551
|
+
"customElement": true,
|
|
3552
|
+
"events": [
|
|
3545
3553
|
{
|
|
3546
|
-
"
|
|
3547
|
-
"name": "variant",
|
|
3554
|
+
"name": "input",
|
|
3548
3555
|
"type": {
|
|
3549
|
-
"text": "
|
|
3556
|
+
"text": "InputEvent"
|
|
3550
3557
|
},
|
|
3551
|
-
"
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
}
|
|
3556
|
-
],
|
|
3557
|
-
"attributes": [
|
|
3558
|
+
"inheritedFrom": {
|
|
3559
|
+
"name": "UmSelectionControl",
|
|
3560
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3561
|
+
}
|
|
3562
|
+
},
|
|
3558
3563
|
{
|
|
3559
|
-
"name": "
|
|
3564
|
+
"name": "change",
|
|
3560
3565
|
"type": {
|
|
3561
|
-
"text": "
|
|
3566
|
+
"text": "Event"
|
|
3562
3567
|
},
|
|
3563
|
-
"
|
|
3564
|
-
|
|
3565
|
-
|
|
3568
|
+
"inheritedFrom": {
|
|
3569
|
+
"name": "UmSelectionControl",
|
|
3570
|
+
"module": "src/shared/selection-control/selection-control.ts"
|
|
3571
|
+
}
|
|
3566
3572
|
}
|
|
3567
|
-
]
|
|
3568
|
-
"superclass": {
|
|
3569
|
-
"name": "LitElement",
|
|
3570
|
-
"package": "lit"
|
|
3571
|
-
},
|
|
3572
|
-
"tagName": "u-card",
|
|
3573
|
-
"customElement": true
|
|
3573
|
+
]
|
|
3574
3574
|
}
|
|
3575
3575
|
],
|
|
3576
3576
|
"exports": [
|
|
3577
3577
|
{
|
|
3578
3578
|
"kind": "js",
|
|
3579
|
-
"name": "
|
|
3579
|
+
"name": "UmCheckbox",
|
|
3580
3580
|
"declaration": {
|
|
3581
|
-
"name": "
|
|
3582
|
-
"module": "src/
|
|
3581
|
+
"name": "UmCheckbox",
|
|
3582
|
+
"module": "src/checkbox/checkbox.ts"
|
|
3583
3583
|
}
|
|
3584
3584
|
},
|
|
3585
3585
|
{
|
|
3586
3586
|
"kind": "custom-element-definition",
|
|
3587
|
-
"name": "u-
|
|
3587
|
+
"name": "u-checkbox",
|
|
3588
3588
|
"declaration": {
|
|
3589
|
-
"name": "
|
|
3590
|
-
"module": "src/
|
|
3589
|
+
"name": "UmCheckbox",
|
|
3590
|
+
"module": "src/checkbox/checkbox.ts"
|
|
3591
3591
|
}
|
|
3592
3592
|
}
|
|
3593
3593
|
]
|
|
@@ -4320,6 +4320,15 @@
|
|
|
4320
4320
|
},
|
|
4321
4321
|
"attribute": "name"
|
|
4322
4322
|
},
|
|
4323
|
+
{
|
|
4324
|
+
"kind": "field",
|
|
4325
|
+
"name": "manual",
|
|
4326
|
+
"type": {
|
|
4327
|
+
"text": "boolean"
|
|
4328
|
+
},
|
|
4329
|
+
"default": "false",
|
|
4330
|
+
"attribute": "manual"
|
|
4331
|
+
},
|
|
4323
4332
|
{
|
|
4324
4333
|
"kind": "field",
|
|
4325
4334
|
"name": "formatter",
|
|
@@ -4424,7 +4433,7 @@
|
|
|
4424
4433
|
},
|
|
4425
4434
|
{
|
|
4426
4435
|
"kind": "method",
|
|
4427
|
-
"name": "#
|
|
4436
|
+
"name": "#updated"
|
|
4428
4437
|
},
|
|
4429
4438
|
{
|
|
4430
4439
|
"kind": "method",
|
|
@@ -4603,6 +4612,14 @@
|
|
|
4603
4612
|
},
|
|
4604
4613
|
"fieldName": "name"
|
|
4605
4614
|
},
|
|
4615
|
+
{
|
|
4616
|
+
"name": "manual",
|
|
4617
|
+
"type": {
|
|
4618
|
+
"text": "boolean"
|
|
4619
|
+
},
|
|
4620
|
+
"default": "false",
|
|
4621
|
+
"fieldName": "manual"
|
|
4622
|
+
},
|
|
4606
4623
|
{
|
|
4607
4624
|
"name": "formatter",
|
|
4608
4625
|
"type": {
|
|
@@ -10006,7 +10023,7 @@
|
|
|
10006
10023
|
},
|
|
10007
10024
|
{
|
|
10008
10025
|
"kind": "field",
|
|
10009
|
-
"name": "#
|
|
10026
|
+
"name": "#targetId",
|
|
10010
10027
|
"privacy": "private",
|
|
10011
10028
|
"type": {
|
|
10012
10029
|
"text": "string | undefined"
|
|
@@ -10162,11 +10179,11 @@
|
|
|
10162
10179
|
},
|
|
10163
10180
|
{
|
|
10164
10181
|
"kind": "field",
|
|
10165
|
-
"name": "
|
|
10182
|
+
"name": "targetId",
|
|
10166
10183
|
"type": {
|
|
10167
10184
|
"text": "string | undefined"
|
|
10168
10185
|
},
|
|
10169
|
-
"attribute": "
|
|
10186
|
+
"attribute": "target-id",
|
|
10170
10187
|
"reflects": true
|
|
10171
10188
|
},
|
|
10172
10189
|
{
|
|
@@ -10326,11 +10343,11 @@
|
|
|
10326
10343
|
"fieldName": "editable"
|
|
10327
10344
|
},
|
|
10328
10345
|
{
|
|
10329
|
-
"name": "
|
|
10346
|
+
"name": "target-id",
|
|
10330
10347
|
"type": {
|
|
10331
10348
|
"text": "string | undefined"
|
|
10332
10349
|
},
|
|
10333
|
-
"fieldName": "
|
|
10350
|
+
"fieldName": "targetId"
|
|
10334
10351
|
}
|
|
10335
10352
|
],
|
|
10336
10353
|
"superclass": {
|