@momentum-design/components 0.120.33 → 0.120.35
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/dist/browser/index.js +188 -174
- package/dist/browser/index.js.map +4 -4
- package/dist/components/avatar/avatar.styles.js +1 -0
- package/dist/components/checkbox/checkbox.component.d.ts +6 -1
- package/dist/components/checkbox/checkbox.component.js +10 -5
- package/dist/components/checkbox/checkbox.constants.d.ts +5 -1
- package/dist/components/checkbox/checkbox.constants.js +6 -1
- package/dist/components/checkbox/checkbox.styles.js +4 -0
- package/dist/components/checkbox/checkbox.types.d.ts +5 -3
- package/dist/components/inputchip/inputchip.component.d.ts +6 -3
- package/dist/components/inputchip/inputchip.component.js +14 -7
- package/dist/components/inputchip/inputchip.styles.js +5 -0
- package/dist/custom-elements.json +885 -877
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/inputchip/index.d.ts +3 -0
- package/dist/react/inputchip/index.js +3 -0
- package/package.json +1 -1
|
@@ -477,6 +477,157 @@
|
|
|
477
477
|
}
|
|
478
478
|
]
|
|
479
479
|
},
|
|
480
|
+
{
|
|
481
|
+
"kind": "javascript-module",
|
|
482
|
+
"path": "components/accordiongroup/accordiongroup.component.js",
|
|
483
|
+
"declarations": [
|
|
484
|
+
{
|
|
485
|
+
"kind": "class",
|
|
486
|
+
"description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
|
|
487
|
+
"name": "AccordionGroup",
|
|
488
|
+
"cssProperties": [
|
|
489
|
+
{
|
|
490
|
+
"description": "The border color of the entire accordiongroup",
|
|
491
|
+
"name": "--mdc-accordiongroup-border-color"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"slots": [
|
|
495
|
+
{
|
|
496
|
+
"description": "The default slot can contain the `accordion` or `accordionbutton` components.",
|
|
497
|
+
"name": "default"
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"members": [
|
|
501
|
+
{
|
|
502
|
+
"kind": "field",
|
|
503
|
+
"name": "size",
|
|
504
|
+
"type": {
|
|
505
|
+
"text": "Size"
|
|
506
|
+
},
|
|
507
|
+
"description": "The size of the accordion item.",
|
|
508
|
+
"default": "'small'",
|
|
509
|
+
"attribute": "size",
|
|
510
|
+
"reflects": true
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"kind": "field",
|
|
514
|
+
"name": "variant",
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "Variant"
|
|
517
|
+
},
|
|
518
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
519
|
+
"default": "'stacked'",
|
|
520
|
+
"attribute": "variant",
|
|
521
|
+
"reflects": true
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"kind": "field",
|
|
525
|
+
"name": "allowMultiple",
|
|
526
|
+
"type": {
|
|
527
|
+
"text": "boolean"
|
|
528
|
+
},
|
|
529
|
+
"default": "false",
|
|
530
|
+
"description": "If true, multiple accordion items can be visible at the same time.",
|
|
531
|
+
"attribute": "allow-multiple",
|
|
532
|
+
"reflects": true
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"kind": "method",
|
|
536
|
+
"name": "handleAccordionExpanded",
|
|
537
|
+
"privacy": "private",
|
|
538
|
+
"return": {
|
|
539
|
+
"type": {
|
|
540
|
+
"text": "void"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"parameters": [
|
|
544
|
+
{
|
|
545
|
+
"name": "event",
|
|
546
|
+
"type": {
|
|
547
|
+
"text": "Event"
|
|
548
|
+
},
|
|
549
|
+
"description": "The event object from the 'shown' event."
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"kind": "method",
|
|
556
|
+
"name": "setChildrenAccordionAttributes",
|
|
557
|
+
"privacy": "private",
|
|
558
|
+
"return": {
|
|
559
|
+
"type": {
|
|
560
|
+
"text": "void"
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
"parameters": [
|
|
564
|
+
{
|
|
565
|
+
"name": "attributeName",
|
|
566
|
+
"type": {
|
|
567
|
+
"text": "string"
|
|
568
|
+
},
|
|
569
|
+
"description": "The name of the attribute to set."
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "attributeValue",
|
|
573
|
+
"type": {
|
|
574
|
+
"text": "string"
|
|
575
|
+
},
|
|
576
|
+
"description": "The value to set the attribute to."
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"description": "Sets the given attribute on all child accordion or accordionbutton components."
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"attributes": [
|
|
583
|
+
{
|
|
584
|
+
"name": "size",
|
|
585
|
+
"type": {
|
|
586
|
+
"text": "Size"
|
|
587
|
+
},
|
|
588
|
+
"description": "The size of the accordion item.",
|
|
589
|
+
"default": "'small'",
|
|
590
|
+
"fieldName": "size"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "variant",
|
|
594
|
+
"type": {
|
|
595
|
+
"text": "Variant"
|
|
596
|
+
},
|
|
597
|
+
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
598
|
+
"default": "'stacked'",
|
|
599
|
+
"fieldName": "variant"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "allow-multiple",
|
|
603
|
+
"type": {
|
|
604
|
+
"text": "boolean"
|
|
605
|
+
},
|
|
606
|
+
"default": "false",
|
|
607
|
+
"description": "If true, multiple accordion items can be visible at the same time.",
|
|
608
|
+
"fieldName": "allowMultiple"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"superclass": {
|
|
612
|
+
"name": "Component",
|
|
613
|
+
"module": "/src/models"
|
|
614
|
+
},
|
|
615
|
+
"tagName": "mdc-accordiongroup",
|
|
616
|
+
"jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
|
|
617
|
+
"customElement": true
|
|
618
|
+
}
|
|
619
|
+
],
|
|
620
|
+
"exports": [
|
|
621
|
+
{
|
|
622
|
+
"kind": "js",
|
|
623
|
+
"name": "default",
|
|
624
|
+
"declaration": {
|
|
625
|
+
"name": "AccordionGroup",
|
|
626
|
+
"module": "components/accordiongroup/accordiongroup.component.js"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
},
|
|
480
631
|
{
|
|
481
632
|
"kind": "javascript-module",
|
|
482
633
|
"path": "components/accordionbutton/accordionbutton.component.js",
|
|
@@ -819,258 +970,107 @@
|
|
|
819
970
|
},
|
|
820
971
|
{
|
|
821
972
|
"kind": "javascript-module",
|
|
822
|
-
"path": "components/
|
|
973
|
+
"path": "components/alertchip/alertchip.component.js",
|
|
823
974
|
"declarations": [
|
|
824
975
|
{
|
|
825
976
|
"kind": "class",
|
|
826
|
-
"description": "
|
|
827
|
-
"name": "
|
|
977
|
+
"description": "mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n\n- It supports a leading icon along with label.\n- It supports 5 variants of alerts - neutral, warning, error, success, and informational\n\nThis component is built by extending Buttonsimple.",
|
|
978
|
+
"name": "AlertChip",
|
|
828
979
|
"cssProperties": [
|
|
829
980
|
{
|
|
830
|
-
"description": "The
|
|
831
|
-
"name": "--mdc-
|
|
981
|
+
"description": "The color of the label text",
|
|
982
|
+
"name": "--mdc-chip-color"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"description": "The color of the icon",
|
|
986
|
+
"name": "--mdc-chip-icon-color"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"description": "The border color of the alertchip",
|
|
990
|
+
"name": "--mdc-chip-border-color"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"description": "The background color of the alertchip",
|
|
994
|
+
"name": "--mdc-chip-background-color"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"description": "Height for button size",
|
|
998
|
+
"name": "--mdc-button-height",
|
|
999
|
+
"inheritedFrom": {
|
|
1000
|
+
"name": "Buttonsimple",
|
|
1001
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"description": "Background color of the button",
|
|
1006
|
+
"name": "--mdc-button-background",
|
|
1007
|
+
"inheritedFrom": {
|
|
1008
|
+
"name": "Buttonsimple",
|
|
1009
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"description": "Borer color of the button",
|
|
1014
|
+
"name": "--mdc-button-border-color",
|
|
1015
|
+
"inheritedFrom": {
|
|
1016
|
+
"name": "Buttonsimple",
|
|
1017
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"description": "Text color of the button",
|
|
1022
|
+
"name": "--mdc-button-text-color",
|
|
1023
|
+
"inheritedFrom": {
|
|
1024
|
+
"name": "Buttonsimple",
|
|
1025
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1026
|
+
}
|
|
832
1027
|
}
|
|
833
1028
|
],
|
|
834
|
-
"
|
|
1029
|
+
"cssParts": [
|
|
835
1030
|
{
|
|
836
|
-
"description": "The
|
|
837
|
-
"name": "
|
|
1031
|
+
"description": "The alert icon",
|
|
1032
|
+
"name": "icon"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"description": "The text label of the alertchip",
|
|
1036
|
+
"name": "label"
|
|
838
1037
|
}
|
|
839
1038
|
],
|
|
840
1039
|
"members": [
|
|
841
1040
|
{
|
|
842
1041
|
"kind": "field",
|
|
843
|
-
"name": "
|
|
1042
|
+
"name": "variant",
|
|
844
1043
|
"type": {
|
|
845
|
-
"text": "
|
|
1044
|
+
"text": "VariantType"
|
|
846
1045
|
},
|
|
847
|
-
"description": "The
|
|
848
|
-
"default": "
|
|
849
|
-
"attribute": "
|
|
850
|
-
"reflects": true
|
|
1046
|
+
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
|
1047
|
+
"default": "neutral",
|
|
1048
|
+
"attribute": "variant"
|
|
851
1049
|
},
|
|
852
1050
|
{
|
|
853
1051
|
"kind": "field",
|
|
854
|
-
"name": "
|
|
1052
|
+
"name": "label",
|
|
855
1053
|
"type": {
|
|
856
|
-
"text": "
|
|
1054
|
+
"text": "string"
|
|
857
1055
|
},
|
|
858
|
-
"
|
|
859
|
-
"
|
|
860
|
-
"attribute": "
|
|
861
|
-
"reflects": true
|
|
1056
|
+
"default": "''",
|
|
1057
|
+
"description": "The visible label text of the alertchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
|
1058
|
+
"attribute": "label"
|
|
862
1059
|
},
|
|
863
1060
|
{
|
|
864
1061
|
"kind": "field",
|
|
865
|
-
"name": "
|
|
1062
|
+
"name": "autoFocusOnMount",
|
|
866
1063
|
"type": {
|
|
867
1064
|
"text": "boolean"
|
|
868
1065
|
},
|
|
869
1066
|
"default": "false",
|
|
870
|
-
"description": "
|
|
871
|
-
"attribute": "
|
|
872
|
-
"reflects": true
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
"privacy": "private",
|
|
878
|
-
"return": {
|
|
879
|
-
"type": {
|
|
880
|
-
"text": "void"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
"parameters": [
|
|
884
|
-
{
|
|
885
|
-
"name": "event",
|
|
886
|
-
"type": {
|
|
887
|
-
"text": "Event"
|
|
888
|
-
},
|
|
889
|
-
"description": "The event object from the 'shown' event."
|
|
890
|
-
}
|
|
891
|
-
],
|
|
892
|
-
"description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
"kind": "method",
|
|
896
|
-
"name": "setChildrenAccordionAttributes",
|
|
897
|
-
"privacy": "private",
|
|
898
|
-
"return": {
|
|
899
|
-
"type": {
|
|
900
|
-
"text": "void"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
"parameters": [
|
|
904
|
-
{
|
|
905
|
-
"name": "attributeName",
|
|
906
|
-
"type": {
|
|
907
|
-
"text": "string"
|
|
908
|
-
},
|
|
909
|
-
"description": "The name of the attribute to set."
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"name": "attributeValue",
|
|
913
|
-
"type": {
|
|
914
|
-
"text": "string"
|
|
915
|
-
},
|
|
916
|
-
"description": "The value to set the attribute to."
|
|
917
|
-
}
|
|
918
|
-
],
|
|
919
|
-
"description": "Sets the given attribute on all child accordion or accordionbutton components."
|
|
920
|
-
}
|
|
921
|
-
],
|
|
922
|
-
"attributes": [
|
|
923
|
-
{
|
|
924
|
-
"name": "size",
|
|
925
|
-
"type": {
|
|
926
|
-
"text": "Size"
|
|
927
|
-
},
|
|
928
|
-
"description": "The size of the accordion item.",
|
|
929
|
-
"default": "'small'",
|
|
930
|
-
"fieldName": "size"
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"name": "variant",
|
|
934
|
-
"type": {
|
|
935
|
-
"text": "Variant"
|
|
936
|
-
},
|
|
937
|
-
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
|
938
|
-
"default": "'stacked'",
|
|
939
|
-
"fieldName": "variant"
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
"name": "allow-multiple",
|
|
943
|
-
"type": {
|
|
944
|
-
"text": "boolean"
|
|
945
|
-
},
|
|
946
|
-
"default": "false",
|
|
947
|
-
"description": "If true, multiple accordion items can be visible at the same time.",
|
|
948
|
-
"fieldName": "allowMultiple"
|
|
949
|
-
}
|
|
950
|
-
],
|
|
951
|
-
"superclass": {
|
|
952
|
-
"name": "Component",
|
|
953
|
-
"module": "/src/models"
|
|
954
|
-
},
|
|
955
|
-
"tagName": "mdc-accordiongroup",
|
|
956
|
-
"jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
|
|
957
|
-
"customElement": true
|
|
958
|
-
}
|
|
959
|
-
],
|
|
960
|
-
"exports": [
|
|
961
|
-
{
|
|
962
|
-
"kind": "js",
|
|
963
|
-
"name": "default",
|
|
964
|
-
"declaration": {
|
|
965
|
-
"name": "AccordionGroup",
|
|
966
|
-
"module": "components/accordiongroup/accordiongroup.component.js"
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
]
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"kind": "javascript-module",
|
|
973
|
-
"path": "components/alertchip/alertchip.component.js",
|
|
974
|
-
"declarations": [
|
|
975
|
-
{
|
|
976
|
-
"kind": "class",
|
|
977
|
-
"description": "mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n\n- It supports a leading icon along with label.\n- It supports 5 variants of alerts - neutral, warning, error, success, and informational\n\nThis component is built by extending Buttonsimple.",
|
|
978
|
-
"name": "AlertChip",
|
|
979
|
-
"cssProperties": [
|
|
980
|
-
{
|
|
981
|
-
"description": "The color of the label text",
|
|
982
|
-
"name": "--mdc-chip-color"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"description": "The color of the icon",
|
|
986
|
-
"name": "--mdc-chip-icon-color"
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"description": "The border color of the alertchip",
|
|
990
|
-
"name": "--mdc-chip-border-color"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"description": "The background color of the alertchip",
|
|
994
|
-
"name": "--mdc-chip-background-color"
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"description": "Height for button size",
|
|
998
|
-
"name": "--mdc-button-height",
|
|
999
|
-
"inheritedFrom": {
|
|
1000
|
-
"name": "Buttonsimple",
|
|
1001
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1002
|
-
}
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"description": "Background color of the button",
|
|
1006
|
-
"name": "--mdc-button-background",
|
|
1007
|
-
"inheritedFrom": {
|
|
1008
|
-
"name": "Buttonsimple",
|
|
1009
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"description": "Borer color of the button",
|
|
1014
|
-
"name": "--mdc-button-border-color",
|
|
1015
|
-
"inheritedFrom": {
|
|
1016
|
-
"name": "Buttonsimple",
|
|
1017
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"description": "Text color of the button",
|
|
1022
|
-
"name": "--mdc-button-text-color",
|
|
1023
|
-
"inheritedFrom": {
|
|
1024
|
-
"name": "Buttonsimple",
|
|
1025
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
],
|
|
1029
|
-
"cssParts": [
|
|
1030
|
-
{
|
|
1031
|
-
"description": "The alert icon",
|
|
1032
|
-
"name": "icon"
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
"description": "The text label of the alertchip",
|
|
1036
|
-
"name": "label"
|
|
1037
|
-
}
|
|
1038
|
-
],
|
|
1039
|
-
"members": [
|
|
1040
|
-
{
|
|
1041
|
-
"kind": "field",
|
|
1042
|
-
"name": "variant",
|
|
1043
|
-
"type": {
|
|
1044
|
-
"text": "VariantType"
|
|
1045
|
-
},
|
|
1046
|
-
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
|
1047
|
-
"default": "neutral",
|
|
1048
|
-
"attribute": "variant"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
"kind": "field",
|
|
1052
|
-
"name": "label",
|
|
1053
|
-
"type": {
|
|
1054
|
-
"text": "string"
|
|
1055
|
-
},
|
|
1056
|
-
"default": "''",
|
|
1057
|
-
"description": "The visible label text of the alertchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
|
1058
|
-
"attribute": "label"
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"kind": "field",
|
|
1062
|
-
"name": "autoFocusOnMount",
|
|
1063
|
-
"type": {
|
|
1064
|
-
"text": "boolean"
|
|
1065
|
-
},
|
|
1066
|
-
"default": "false",
|
|
1067
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
1068
|
-
"attribute": "auto-focus-on-mount",
|
|
1069
|
-
"reflects": true,
|
|
1070
|
-
"inheritedFrom": {
|
|
1071
|
-
"name": "AutoFocusOnMountMixin",
|
|
1072
|
-
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
|
1073
|
-
}
|
|
1067
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
1068
|
+
"attribute": "auto-focus-on-mount",
|
|
1069
|
+
"reflects": true,
|
|
1070
|
+
"inheritedFrom": {
|
|
1071
|
+
"name": "AutoFocusOnMountMixin",
|
|
1072
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
|
1073
|
+
}
|
|
1074
1074
|
},
|
|
1075
1075
|
{
|
|
1076
1076
|
"kind": "field",
|
|
@@ -7214,48 +7214,16 @@
|
|
|
7214
7214
|
},
|
|
7215
7215
|
{
|
|
7216
7216
|
"kind": "javascript-module",
|
|
7217
|
-
"path": "components/
|
|
7217
|
+
"path": "components/card/card.component.js",
|
|
7218
7218
|
"declarations": [
|
|
7219
7219
|
{
|
|
7220
7220
|
"kind": "class",
|
|
7221
|
-
"description": "
|
|
7222
|
-
"name": "
|
|
7221
|
+
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
7222
|
+
"name": "Card",
|
|
7223
7223
|
"cssProperties": [
|
|
7224
7224
|
{
|
|
7225
7225
|
"description": "The width of the card",
|
|
7226
7226
|
"name": "--mdc-card-width"
|
|
7227
|
-
},
|
|
7228
|
-
{
|
|
7229
|
-
"description": "Height for button size",
|
|
7230
|
-
"name": "--mdc-button-height",
|
|
7231
|
-
"inheritedFrom": {
|
|
7232
|
-
"name": "Buttonsimple",
|
|
7233
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7234
|
-
}
|
|
7235
|
-
},
|
|
7236
|
-
{
|
|
7237
|
-
"description": "Background color of the button",
|
|
7238
|
-
"name": "--mdc-button-background",
|
|
7239
|
-
"inheritedFrom": {
|
|
7240
|
-
"name": "Buttonsimple",
|
|
7241
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7242
|
-
}
|
|
7243
|
-
},
|
|
7244
|
-
{
|
|
7245
|
-
"description": "Borer color of the button",
|
|
7246
|
-
"name": "--mdc-button-border-color",
|
|
7247
|
-
"inheritedFrom": {
|
|
7248
|
-
"name": "Buttonsimple",
|
|
7249
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7250
|
-
}
|
|
7251
|
-
},
|
|
7252
|
-
{
|
|
7253
|
-
"description": "Text color of the button",
|
|
7254
|
-
"name": "--mdc-button-text-color",
|
|
7255
|
-
"inheritedFrom": {
|
|
7256
|
-
"name": "Buttonsimple",
|
|
7257
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7258
|
-
}
|
|
7259
7227
|
}
|
|
7260
7228
|
],
|
|
7261
7229
|
"cssParts": [
|
|
@@ -7320,6 +7288,14 @@
|
|
|
7320
7288
|
{
|
|
7321
7289
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7322
7290
|
"name": "footer-button-primary"
|
|
7291
|
+
},
|
|
7292
|
+
{
|
|
7293
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7294
|
+
"name": "footer-button-secondary"
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
"description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
|
|
7298
|
+
"name": "footer"
|
|
7323
7299
|
}
|
|
7324
7300
|
],
|
|
7325
7301
|
"members": [
|
|
@@ -7514,928 +7490,815 @@
|
|
|
7514
7490
|
}
|
|
7515
7491
|
},
|
|
7516
7492
|
{
|
|
7517
|
-
"kind": "
|
|
7518
|
-
"name": "
|
|
7519
|
-
"
|
|
7520
|
-
|
|
7493
|
+
"kind": "method",
|
|
7494
|
+
"name": "renderFooter",
|
|
7495
|
+
"privacy": "protected",
|
|
7496
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
7497
|
+
"return": {
|
|
7498
|
+
"type": {
|
|
7499
|
+
"text": ""
|
|
7500
|
+
}
|
|
7521
7501
|
},
|
|
7522
|
-
"default": "false",
|
|
7523
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
7524
|
-
"attribute": "auto-focus-on-mount",
|
|
7525
|
-
"reflects": true,
|
|
7526
7502
|
"inheritedFrom": {
|
|
7527
|
-
"name": "
|
|
7528
|
-
"module": "
|
|
7503
|
+
"name": "FooterMixin",
|
|
7504
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
7529
7505
|
}
|
|
7506
|
+
}
|
|
7507
|
+
],
|
|
7508
|
+
"mixins": [
|
|
7509
|
+
{
|
|
7510
|
+
"name": "CardComponentMixin",
|
|
7511
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7530
7512
|
},
|
|
7531
7513
|
{
|
|
7532
|
-
"
|
|
7533
|
-
"
|
|
7514
|
+
"name": "FooterMixin",
|
|
7515
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
7516
|
+
}
|
|
7517
|
+
],
|
|
7518
|
+
"superclass": {
|
|
7519
|
+
"name": "Component",
|
|
7520
|
+
"module": "/src/models"
|
|
7521
|
+
},
|
|
7522
|
+
"tagName": "mdc-card",
|
|
7523
|
+
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
|
7524
|
+
"customElement": true,
|
|
7525
|
+
"attributes": [
|
|
7526
|
+
{
|
|
7527
|
+
"name": "card-title",
|
|
7534
7528
|
"type": {
|
|
7535
|
-
"text": "
|
|
7529
|
+
"text": "string"
|
|
7536
7530
|
},
|
|
7537
|
-
"default": "
|
|
7538
|
-
"description": "
|
|
7539
|
-
"
|
|
7540
|
-
"reflects": true,
|
|
7531
|
+
"default": "''",
|
|
7532
|
+
"description": "The title of the card - part of header section",
|
|
7533
|
+
"fieldName": "cardTitle",
|
|
7541
7534
|
"inheritedFrom": {
|
|
7542
|
-
"name": "
|
|
7543
|
-
"module": "
|
|
7535
|
+
"name": "CardComponentMixin",
|
|
7536
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7544
7537
|
}
|
|
7545
7538
|
},
|
|
7546
7539
|
{
|
|
7547
|
-
"
|
|
7548
|
-
"name": "disabled",
|
|
7540
|
+
"name": "subtitle",
|
|
7549
7541
|
"type": {
|
|
7550
|
-
"text": "
|
|
7542
|
+
"text": "string"
|
|
7551
7543
|
},
|
|
7552
|
-
"
|
|
7553
|
-
"
|
|
7554
|
-
"
|
|
7555
|
-
"reflects": true,
|
|
7544
|
+
"default": "''",
|
|
7545
|
+
"description": "The subtitle of the card - part of header section",
|
|
7546
|
+
"fieldName": "subtitle",
|
|
7556
7547
|
"inheritedFrom": {
|
|
7557
|
-
"name": "
|
|
7558
|
-
"module": "
|
|
7548
|
+
"name": "CardComponentMixin",
|
|
7549
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7559
7550
|
}
|
|
7560
7551
|
},
|
|
7561
7552
|
{
|
|
7562
|
-
"
|
|
7563
|
-
"name": "active",
|
|
7553
|
+
"name": "image-src",
|
|
7564
7554
|
"type": {
|
|
7565
|
-
"text": "
|
|
7555
|
+
"text": "string"
|
|
7566
7556
|
},
|
|
7567
|
-
"
|
|
7568
|
-
"
|
|
7569
|
-
"
|
|
7570
|
-
"reflects": true,
|
|
7557
|
+
"default": "''",
|
|
7558
|
+
"description": "The image source URL to render on the card",
|
|
7559
|
+
"fieldName": "imageSrc",
|
|
7571
7560
|
"inheritedFrom": {
|
|
7572
|
-
"name": "
|
|
7573
|
-
"module": "
|
|
7561
|
+
"name": "CardComponentMixin",
|
|
7562
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7574
7563
|
}
|
|
7575
7564
|
},
|
|
7576
7565
|
{
|
|
7577
|
-
"
|
|
7578
|
-
"name": "softDisabled",
|
|
7566
|
+
"name": "image-alt",
|
|
7579
7567
|
"type": {
|
|
7580
|
-
"text": "
|
|
7568
|
+
"text": "string"
|
|
7581
7569
|
},
|
|
7582
|
-
"
|
|
7583
|
-
"
|
|
7584
|
-
"
|
|
7585
|
-
"reflects": true,
|
|
7570
|
+
"default": "''",
|
|
7571
|
+
"description": "The image alt for accessibility support",
|
|
7572
|
+
"fieldName": "imageAlt",
|
|
7586
7573
|
"inheritedFrom": {
|
|
7587
|
-
"name": "
|
|
7588
|
-
"module": "
|
|
7574
|
+
"name": "CardComponentMixin",
|
|
7575
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7589
7576
|
}
|
|
7590
7577
|
},
|
|
7591
7578
|
{
|
|
7592
|
-
"
|
|
7593
|
-
"name": "size",
|
|
7579
|
+
"name": "variant",
|
|
7594
7580
|
"type": {
|
|
7595
|
-
"text": "
|
|
7581
|
+
"text": "CardVariant"
|
|
7596
7582
|
},
|
|
7597
|
-
"description": "
|
|
7598
|
-
"default": "
|
|
7599
|
-
"
|
|
7600
|
-
"reflects": true,
|
|
7583
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7584
|
+
"default": "'border'",
|
|
7585
|
+
"fieldName": "variant",
|
|
7601
7586
|
"inheritedFrom": {
|
|
7602
|
-
"name": "
|
|
7603
|
-
"module": "
|
|
7587
|
+
"name": "CardComponentMixin",
|
|
7588
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7604
7589
|
}
|
|
7605
7590
|
},
|
|
7606
7591
|
{
|
|
7607
|
-
"
|
|
7608
|
-
"name": "role",
|
|
7592
|
+
"name": "orientation",
|
|
7609
7593
|
"type": {
|
|
7610
|
-
"text": "
|
|
7594
|
+
"text": "CardOrientation"
|
|
7611
7595
|
},
|
|
7612
|
-
"description": "
|
|
7613
|
-
"default": "
|
|
7614
|
-
"
|
|
7615
|
-
"reflects": true,
|
|
7596
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7597
|
+
"default": "'vertical'",
|
|
7598
|
+
"fieldName": "orientation",
|
|
7616
7599
|
"inheritedFrom": {
|
|
7617
|
-
"name": "
|
|
7618
|
-
"module": "
|
|
7600
|
+
"name": "CardComponentMixin",
|
|
7601
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7619
7602
|
}
|
|
7620
7603
|
},
|
|
7621
7604
|
{
|
|
7622
|
-
"
|
|
7623
|
-
"name": "ariaStateKey",
|
|
7605
|
+
"name": "title-tag-name",
|
|
7624
7606
|
"type": {
|
|
7625
|
-
"text": "
|
|
7607
|
+
"text": "TagNameType"
|
|
7626
7608
|
},
|
|
7627
|
-
"description": "
|
|
7628
|
-
"default": "'
|
|
7629
|
-
"
|
|
7630
|
-
"reflects": true,
|
|
7609
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7610
|
+
"default": "'span'",
|
|
7611
|
+
"fieldName": "titleTagName",
|
|
7631
7612
|
"inheritedFrom": {
|
|
7632
|
-
"name": "
|
|
7633
|
-
"module": "
|
|
7613
|
+
"name": "CardComponentMixin",
|
|
7614
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7634
7615
|
}
|
|
7635
7616
|
},
|
|
7636
7617
|
{
|
|
7637
|
-
"
|
|
7638
|
-
"name": "type",
|
|
7618
|
+
"name": "subtitle-tag-name",
|
|
7639
7619
|
"type": {
|
|
7640
|
-
"text": "
|
|
7620
|
+
"text": "TagNameType"
|
|
7641
7621
|
},
|
|
7642
|
-
"description": "
|
|
7643
|
-
"default": "
|
|
7644
|
-
"
|
|
7645
|
-
"reflects": true,
|
|
7622
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7623
|
+
"default": "'span'",
|
|
7624
|
+
"fieldName": "subtitleTagName",
|
|
7646
7625
|
"inheritedFrom": {
|
|
7647
|
-
"name": "
|
|
7648
|
-
"module": "
|
|
7626
|
+
"name": "CardComponentMixin",
|
|
7627
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7649
7628
|
}
|
|
7650
7629
|
},
|
|
7651
7630
|
{
|
|
7652
|
-
"
|
|
7653
|
-
"name": "name",
|
|
7631
|
+
"name": "icon-name",
|
|
7654
7632
|
"type": {
|
|
7655
|
-
"text": "
|
|
7633
|
+
"text": "IconNames | undefined"
|
|
7656
7634
|
},
|
|
7657
|
-
"description": "
|
|
7658
|
-
"
|
|
7659
|
-
"
|
|
7635
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7636
|
+
"fieldName": "iconName",
|
|
7637
|
+
"inheritedFrom": {
|
|
7638
|
+
"name": "CardComponentMixin",
|
|
7639
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7640
|
+
}
|
|
7641
|
+
}
|
|
7642
|
+
]
|
|
7643
|
+
}
|
|
7644
|
+
],
|
|
7645
|
+
"exports": [
|
|
7646
|
+
{
|
|
7647
|
+
"kind": "js",
|
|
7648
|
+
"name": "default",
|
|
7649
|
+
"declaration": {
|
|
7650
|
+
"name": "Card",
|
|
7651
|
+
"module": "components/card/card.component.js"
|
|
7652
|
+
}
|
|
7653
|
+
}
|
|
7654
|
+
]
|
|
7655
|
+
},
|
|
7656
|
+
{
|
|
7657
|
+
"kind": "javascript-module",
|
|
7658
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
|
7659
|
+
"declarations": [
|
|
7660
|
+
{
|
|
7661
|
+
"kind": "class",
|
|
7662
|
+
"description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
|
|
7663
|
+
"name": "CardButton",
|
|
7664
|
+
"cssProperties": [
|
|
7665
|
+
{
|
|
7666
|
+
"description": "The width of the card",
|
|
7667
|
+
"name": "--mdc-card-width"
|
|
7668
|
+
},
|
|
7669
|
+
{
|
|
7670
|
+
"description": "Height for button size",
|
|
7671
|
+
"name": "--mdc-button-height",
|
|
7660
7672
|
"inheritedFrom": {
|
|
7661
7673
|
"name": "Buttonsimple",
|
|
7662
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
|
7674
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7663
7675
|
}
|
|
7664
7676
|
},
|
|
7665
7677
|
{
|
|
7666
|
-
"
|
|
7667
|
-
"name": "
|
|
7668
|
-
"type": {
|
|
7669
|
-
"text": "string | undefined"
|
|
7670
|
-
},
|
|
7671
|
-
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
7672
|
-
"attribute": "value",
|
|
7673
|
-
"reflects": true,
|
|
7678
|
+
"description": "Background color of the button",
|
|
7679
|
+
"name": "--mdc-button-background",
|
|
7674
7680
|
"inheritedFrom": {
|
|
7675
7681
|
"name": "Buttonsimple",
|
|
7676
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
|
7682
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7677
7683
|
}
|
|
7678
7684
|
},
|
|
7679
7685
|
{
|
|
7680
|
-
"
|
|
7681
|
-
"name": "
|
|
7682
|
-
"privacy": "protected",
|
|
7686
|
+
"description": "Borer color of the button",
|
|
7687
|
+
"name": "--mdc-button-border-color",
|
|
7683
7688
|
"inheritedFrom": {
|
|
7684
7689
|
"name": "Buttonsimple",
|
|
7685
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
|
7690
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7686
7691
|
}
|
|
7687
7692
|
},
|
|
7688
7693
|
{
|
|
7689
|
-
"
|
|
7690
|
-
"name": "
|
|
7691
|
-
"privacy": "protected",
|
|
7692
|
-
"parameters": [
|
|
7693
|
-
{
|
|
7694
|
-
"name": "element",
|
|
7695
|
-
"type": {
|
|
7696
|
-
"text": "HTMLElement"
|
|
7697
|
-
},
|
|
7698
|
-
"description": "The button element"
|
|
7699
|
-
},
|
|
7700
|
-
{
|
|
7701
|
-
"name": "active",
|
|
7702
|
-
"optional": true,
|
|
7703
|
-
"type": {
|
|
7704
|
-
"text": "boolean"
|
|
7705
|
-
},
|
|
7706
|
-
"description": "The active state of the element"
|
|
7707
|
-
}
|
|
7708
|
-
],
|
|
7709
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
7694
|
+
"description": "Text color of the button",
|
|
7695
|
+
"name": "--mdc-button-text-color",
|
|
7710
7696
|
"inheritedFrom": {
|
|
7711
7697
|
"name": "Buttonsimple",
|
|
7712
|
-
"module": "components/buttonsimple/buttonsimple.component.
|
|
7698
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7713
7699
|
}
|
|
7700
|
+
}
|
|
7701
|
+
],
|
|
7702
|
+
"cssParts": [
|
|
7703
|
+
{
|
|
7704
|
+
"description": "The header part of the card",
|
|
7705
|
+
"name": "header"
|
|
7714
7706
|
},
|
|
7715
7707
|
{
|
|
7716
|
-
"
|
|
7717
|
-
"name": "
|
|
7718
|
-
"privacy": "private",
|
|
7719
|
-
"parameters": [
|
|
7720
|
-
{
|
|
7721
|
-
"name": "element",
|
|
7722
|
-
"type": {
|
|
7723
|
-
"text": "HTMLElement"
|
|
7724
|
-
},
|
|
7725
|
-
"description": "The button element."
|
|
7726
|
-
},
|
|
7727
|
-
{
|
|
7728
|
-
"name": "softDisabled",
|
|
7729
|
-
"optional": true,
|
|
7730
|
-
"type": {
|
|
7731
|
-
"text": "boolean"
|
|
7732
|
-
},
|
|
7733
|
-
"description": "The soft-disabled state."
|
|
7734
|
-
}
|
|
7735
|
-
],
|
|
7736
|
-
"description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
|
|
7737
|
-
"inheritedFrom": {
|
|
7738
|
-
"name": "Buttonsimple",
|
|
7739
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7740
|
-
}
|
|
7708
|
+
"description": "The icon part of the card header",
|
|
7709
|
+
"name": "icon"
|
|
7741
7710
|
},
|
|
7742
7711
|
{
|
|
7743
|
-
"
|
|
7744
|
-
"name": "
|
|
7745
|
-
"privacy": "private",
|
|
7746
|
-
"parameters": [
|
|
7747
|
-
{
|
|
7748
|
-
"name": "element",
|
|
7749
|
-
"type": {
|
|
7750
|
-
"text": "HTMLElement"
|
|
7751
|
-
},
|
|
7752
|
-
"description": "The button element."
|
|
7753
|
-
},
|
|
7754
|
-
{
|
|
7755
|
-
"name": "disabled",
|
|
7756
|
-
"type": {
|
|
7757
|
-
"text": "boolean"
|
|
7758
|
-
},
|
|
7759
|
-
"description": "The disabled state."
|
|
7760
|
-
}
|
|
7761
|
-
],
|
|
7762
|
-
"description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
|
|
7763
|
-
"inheritedFrom": {
|
|
7764
|
-
"name": "Buttonsimple",
|
|
7765
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7766
|
-
}
|
|
7712
|
+
"description": "The body part of the card",
|
|
7713
|
+
"name": "body"
|
|
7767
7714
|
},
|
|
7768
7715
|
{
|
|
7769
|
-
"
|
|
7770
|
-
"name": "
|
|
7771
|
-
"privacy": "private",
|
|
7772
|
-
"inheritedFrom": {
|
|
7773
|
-
"name": "Buttonsimple",
|
|
7774
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7775
|
-
}
|
|
7716
|
+
"description": "The image part of the card",
|
|
7717
|
+
"name": "image"
|
|
7776
7718
|
},
|
|
7777
7719
|
{
|
|
7778
|
-
"
|
|
7779
|
-
"name": "
|
|
7780
|
-
"privacy": "private",
|
|
7781
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
7782
|
-
"inheritedFrom": {
|
|
7783
|
-
"name": "Buttonsimple",
|
|
7784
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7785
|
-
}
|
|
7720
|
+
"description": "The footer part of the card",
|
|
7721
|
+
"name": "footer"
|
|
7786
7722
|
},
|
|
7787
7723
|
{
|
|
7788
|
-
"
|
|
7789
|
-
"name": "
|
|
7790
|
-
"privacy": "private",
|
|
7791
|
-
"parameters": [
|
|
7792
|
-
{
|
|
7793
|
-
"name": "event",
|
|
7794
|
-
"type": {
|
|
7795
|
-
"text": "KeyboardEvent"
|
|
7796
|
-
},
|
|
7797
|
-
"description": "The keyboard event."
|
|
7798
|
-
}
|
|
7799
|
-
],
|
|
7800
|
-
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
|
7801
|
-
"inheritedFrom": {
|
|
7802
|
-
"name": "Buttonsimple",
|
|
7803
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7804
|
-
}
|
|
7724
|
+
"description": "The link part of the card footer",
|
|
7725
|
+
"name": "footer-link"
|
|
7805
7726
|
},
|
|
7806
7727
|
{
|
|
7807
|
-
"
|
|
7808
|
-
"name": "
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
"description": "
|
|
7820
|
-
"
|
|
7821
|
-
"name": "Buttonsimple",
|
|
7822
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7823
|
-
}
|
|
7728
|
+
"description": "The primary button part of the card footer",
|
|
7729
|
+
"name": "footer-button-primary"
|
|
7730
|
+
},
|
|
7731
|
+
{
|
|
7732
|
+
"description": "The secondary button part of the card footer",
|
|
7733
|
+
"name": "footer-button-secondary"
|
|
7734
|
+
},
|
|
7735
|
+
{
|
|
7736
|
+
"description": "The icon button part of the card header",
|
|
7737
|
+
"name": "icon-button"
|
|
7738
|
+
},
|
|
7739
|
+
{
|
|
7740
|
+
"description": "The text part of the card",
|
|
7741
|
+
"name": "text"
|
|
7824
7742
|
}
|
|
7825
7743
|
],
|
|
7826
|
-
"
|
|
7744
|
+
"slots": [
|
|
7827
7745
|
{
|
|
7828
|
-
"description": "
|
|
7829
|
-
"name": "
|
|
7830
|
-
"reactName": "onClick",
|
|
7831
|
-
"inheritedFrom": {
|
|
7832
|
-
"name": "Buttonsimple",
|
|
7833
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7834
|
-
}
|
|
7746
|
+
"description": "This slot is for passing the content before the body",
|
|
7747
|
+
"name": "before-body"
|
|
7835
7748
|
},
|
|
7836
7749
|
{
|
|
7837
|
-
"description": "
|
|
7838
|
-
"name": "
|
|
7839
|
-
"reactName": "onKeyDown",
|
|
7840
|
-
"inheritedFrom": {
|
|
7841
|
-
"name": "Buttonsimple",
|
|
7842
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7843
|
-
}
|
|
7750
|
+
"description": "This slot is for passing the text content for the card",
|
|
7751
|
+
"name": "body"
|
|
7844
7752
|
},
|
|
7845
7753
|
{
|
|
7846
|
-
"description": "
|
|
7847
|
-
"name": "
|
|
7848
|
-
"reactName": "onKeyUp",
|
|
7849
|
-
"inheritedFrom": {
|
|
7850
|
-
"name": "Buttonsimple",
|
|
7851
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7852
|
-
}
|
|
7754
|
+
"description": "This slot is for passing the content after the body",
|
|
7755
|
+
"name": "after-body"
|
|
7853
7756
|
},
|
|
7854
7757
|
{
|
|
7855
|
-
"description": "
|
|
7856
|
-
"name": "
|
|
7857
|
-
|
|
7858
|
-
"inheritedFrom": {
|
|
7859
|
-
"name": "Buttonsimple",
|
|
7860
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7861
|
-
}
|
|
7862
|
-
}
|
|
7863
|
-
],
|
|
7864
|
-
"mixins": [
|
|
7758
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
7759
|
+
"name": "footer-link"
|
|
7760
|
+
},
|
|
7865
7761
|
{
|
|
7866
|
-
"
|
|
7867
|
-
"
|
|
7762
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7763
|
+
"name": "footer-button-primary"
|
|
7868
7764
|
}
|
|
7869
7765
|
],
|
|
7870
|
-
"
|
|
7871
|
-
"name": "Buttonsimple",
|
|
7872
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
7873
|
-
},
|
|
7874
|
-
"tagName": "mdc-cardbutton",
|
|
7875
|
-
"jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
|
|
7876
|
-
"customElement": true,
|
|
7877
|
-
"attributes": [
|
|
7766
|
+
"members": [
|
|
7878
7767
|
{
|
|
7879
|
-
"
|
|
7768
|
+
"kind": "method",
|
|
7769
|
+
"name": "renderHeader",
|
|
7770
|
+
"privacy": "protected",
|
|
7771
|
+
"description": "Renders the header of the card if title is provided",
|
|
7772
|
+
"return": {
|
|
7773
|
+
"type": {
|
|
7774
|
+
"text": ""
|
|
7775
|
+
}
|
|
7776
|
+
}
|
|
7777
|
+
},
|
|
7778
|
+
{
|
|
7779
|
+
"kind": "field",
|
|
7780
|
+
"name": "cardTitle",
|
|
7880
7781
|
"type": {
|
|
7881
7782
|
"text": "string"
|
|
7882
7783
|
},
|
|
7883
7784
|
"default": "''",
|
|
7884
7785
|
"description": "The title of the card - part of header section",
|
|
7885
|
-
"
|
|
7786
|
+
"attribute": "card-title",
|
|
7787
|
+
"reflects": true,
|
|
7886
7788
|
"inheritedFrom": {
|
|
7887
7789
|
"name": "CardComponentMixin",
|
|
7888
|
-
"module": "
|
|
7790
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7889
7791
|
}
|
|
7890
7792
|
},
|
|
7891
7793
|
{
|
|
7794
|
+
"kind": "field",
|
|
7892
7795
|
"name": "subtitle",
|
|
7893
7796
|
"type": {
|
|
7894
7797
|
"text": "string"
|
|
7895
7798
|
},
|
|
7896
7799
|
"default": "''",
|
|
7897
7800
|
"description": "The subtitle of the card - part of header section",
|
|
7898
|
-
"
|
|
7801
|
+
"attribute": "subtitle",
|
|
7802
|
+
"reflects": true,
|
|
7899
7803
|
"inheritedFrom": {
|
|
7900
7804
|
"name": "CardComponentMixin",
|
|
7901
|
-
"module": "
|
|
7805
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7902
7806
|
}
|
|
7903
7807
|
},
|
|
7904
7808
|
{
|
|
7905
|
-
"
|
|
7809
|
+
"kind": "field",
|
|
7810
|
+
"name": "imageSrc",
|
|
7906
7811
|
"type": {
|
|
7907
7812
|
"text": "string"
|
|
7908
7813
|
},
|
|
7909
7814
|
"default": "''",
|
|
7910
7815
|
"description": "The image source URL to render on the card",
|
|
7911
|
-
"
|
|
7816
|
+
"attribute": "image-src",
|
|
7817
|
+
"reflects": true,
|
|
7912
7818
|
"inheritedFrom": {
|
|
7913
7819
|
"name": "CardComponentMixin",
|
|
7914
|
-
"module": "
|
|
7820
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7915
7821
|
}
|
|
7916
7822
|
},
|
|
7917
7823
|
{
|
|
7918
|
-
"
|
|
7824
|
+
"kind": "field",
|
|
7825
|
+
"name": "imageAlt",
|
|
7919
7826
|
"type": {
|
|
7920
7827
|
"text": "string"
|
|
7921
7828
|
},
|
|
7922
7829
|
"default": "''",
|
|
7923
7830
|
"description": "The image alt for accessibility support",
|
|
7924
|
-
"
|
|
7831
|
+
"attribute": "image-alt",
|
|
7832
|
+
"reflects": true,
|
|
7925
7833
|
"inheritedFrom": {
|
|
7926
7834
|
"name": "CardComponentMixin",
|
|
7927
|
-
"module": "
|
|
7835
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7928
7836
|
}
|
|
7929
7837
|
},
|
|
7930
7838
|
{
|
|
7839
|
+
"kind": "field",
|
|
7931
7840
|
"name": "variant",
|
|
7932
7841
|
"type": {
|
|
7933
7842
|
"text": "CardVariant"
|
|
7934
7843
|
},
|
|
7935
7844
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7936
7845
|
"default": "'border'",
|
|
7937
|
-
"
|
|
7846
|
+
"attribute": "variant",
|
|
7847
|
+
"reflects": true,
|
|
7938
7848
|
"inheritedFrom": {
|
|
7939
7849
|
"name": "CardComponentMixin",
|
|
7940
|
-
"module": "
|
|
7850
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7941
7851
|
}
|
|
7942
7852
|
},
|
|
7943
7853
|
{
|
|
7854
|
+
"kind": "field",
|
|
7944
7855
|
"name": "orientation",
|
|
7945
7856
|
"type": {
|
|
7946
7857
|
"text": "CardOrientation"
|
|
7947
7858
|
},
|
|
7948
7859
|
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7949
7860
|
"default": "'vertical'",
|
|
7950
|
-
"
|
|
7861
|
+
"attribute": "orientation",
|
|
7862
|
+
"reflects": true,
|
|
7951
7863
|
"inheritedFrom": {
|
|
7952
7864
|
"name": "CardComponentMixin",
|
|
7953
|
-
"module": "
|
|
7865
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7954
7866
|
}
|
|
7955
7867
|
},
|
|
7956
7868
|
{
|
|
7957
|
-
"
|
|
7869
|
+
"kind": "field",
|
|
7870
|
+
"name": "titleTagName",
|
|
7958
7871
|
"type": {
|
|
7959
7872
|
"text": "TagNameType"
|
|
7960
7873
|
},
|
|
7961
7874
|
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7962
7875
|
"default": "'span'",
|
|
7963
|
-
"
|
|
7876
|
+
"attribute": "title-tag-name",
|
|
7877
|
+
"reflects": true,
|
|
7964
7878
|
"inheritedFrom": {
|
|
7965
7879
|
"name": "CardComponentMixin",
|
|
7966
|
-
"module": "
|
|
7880
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7967
7881
|
}
|
|
7968
7882
|
},
|
|
7969
7883
|
{
|
|
7970
|
-
"
|
|
7884
|
+
"kind": "field",
|
|
7885
|
+
"name": "subtitleTagName",
|
|
7971
7886
|
"type": {
|
|
7972
7887
|
"text": "TagNameType"
|
|
7973
7888
|
},
|
|
7974
7889
|
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7975
7890
|
"default": "'span'",
|
|
7976
|
-
"
|
|
7891
|
+
"attribute": "subtitle-tag-name",
|
|
7892
|
+
"reflects": true,
|
|
7977
7893
|
"inheritedFrom": {
|
|
7978
7894
|
"name": "CardComponentMixin",
|
|
7979
|
-
"module": "
|
|
7895
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7980
7896
|
}
|
|
7981
7897
|
},
|
|
7982
7898
|
{
|
|
7983
|
-
"
|
|
7899
|
+
"kind": "field",
|
|
7900
|
+
"name": "iconName",
|
|
7984
7901
|
"type": {
|
|
7985
7902
|
"text": "IconNames | undefined"
|
|
7986
7903
|
},
|
|
7987
7904
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7988
|
-
"
|
|
7905
|
+
"attribute": "icon-name",
|
|
7906
|
+
"reflects": true,
|
|
7989
7907
|
"inheritedFrom": {
|
|
7990
7908
|
"name": "CardComponentMixin",
|
|
7991
|
-
"module": "
|
|
7909
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7992
7910
|
}
|
|
7993
7911
|
},
|
|
7994
7912
|
{
|
|
7995
|
-
"
|
|
7996
|
-
"
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
"
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
7913
|
+
"kind": "method",
|
|
7914
|
+
"name": "renderImage",
|
|
7915
|
+
"privacy": "protected",
|
|
7916
|
+
"description": "Renders the image on the card if image source is provided",
|
|
7917
|
+
"return": {
|
|
7918
|
+
"type": {
|
|
7919
|
+
"text": ""
|
|
7920
|
+
}
|
|
7921
|
+
},
|
|
7922
|
+
"inheritedFrom": {
|
|
7923
|
+
"name": "CardComponentMixin",
|
|
7924
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7925
|
+
}
|
|
7926
|
+
},
|
|
7927
|
+
{
|
|
7928
|
+
"kind": "method",
|
|
7929
|
+
"name": "renderIcon",
|
|
7930
|
+
"privacy": "protected",
|
|
7931
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
7932
|
+
"return": {
|
|
7933
|
+
"type": {
|
|
7934
|
+
"text": ""
|
|
7935
|
+
}
|
|
7936
|
+
},
|
|
7937
|
+
"inheritedFrom": {
|
|
7938
|
+
"name": "CardComponentMixin",
|
|
7939
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7940
|
+
}
|
|
7941
|
+
},
|
|
7942
|
+
{
|
|
7943
|
+
"kind": "method",
|
|
7944
|
+
"name": "renderTitle",
|
|
7945
|
+
"privacy": "protected",
|
|
7946
|
+
"description": "Renders the title and subtitle on the card",
|
|
7947
|
+
"return": {
|
|
7948
|
+
"type": {
|
|
7949
|
+
"text": ""
|
|
7950
|
+
}
|
|
7951
|
+
},
|
|
7952
|
+
"inheritedFrom": {
|
|
7953
|
+
"name": "CardComponentMixin",
|
|
7954
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7955
|
+
}
|
|
7956
|
+
},
|
|
7957
|
+
{
|
|
7958
|
+
"kind": "field",
|
|
7959
|
+
"name": "autoFocusOnMount",
|
|
7960
|
+
"type": {
|
|
7961
|
+
"text": "boolean"
|
|
7962
|
+
},
|
|
7963
|
+
"default": "false",
|
|
7964
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
7965
|
+
"attribute": "auto-focus-on-mount",
|
|
7966
|
+
"reflects": true,
|
|
7967
|
+
"inheritedFrom": {
|
|
7968
|
+
"name": "Buttonsimple",
|
|
7969
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8005
7970
|
}
|
|
8006
7971
|
},
|
|
8007
7972
|
{
|
|
7973
|
+
"kind": "field",
|
|
8008
7974
|
"name": "tabIndex",
|
|
8009
7975
|
"type": {
|
|
8010
7976
|
"text": "number"
|
|
8011
7977
|
},
|
|
8012
7978
|
"default": "0",
|
|
8013
7979
|
"description": "This property specifies the tab order of the element.",
|
|
8014
|
-
"
|
|
7980
|
+
"attribute": "tabIndex",
|
|
7981
|
+
"reflects": true,
|
|
8015
7982
|
"inheritedFrom": {
|
|
8016
7983
|
"name": "Buttonsimple",
|
|
8017
|
-
"module": "
|
|
7984
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8018
7985
|
}
|
|
8019
7986
|
},
|
|
8020
7987
|
{
|
|
7988
|
+
"kind": "field",
|
|
8021
7989
|
"name": "disabled",
|
|
8022
7990
|
"type": {
|
|
8023
7991
|
"text": "boolean | undefined"
|
|
8024
7992
|
},
|
|
8025
7993
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8026
7994
|
"default": "undefined",
|
|
8027
|
-
"
|
|
7995
|
+
"attribute": "disabled",
|
|
7996
|
+
"reflects": true,
|
|
8028
7997
|
"inheritedFrom": {
|
|
8029
7998
|
"name": "Buttonsimple",
|
|
8030
|
-
"module": "
|
|
7999
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8031
8000
|
}
|
|
8032
8001
|
},
|
|
8033
8002
|
{
|
|
8003
|
+
"kind": "field",
|
|
8034
8004
|
"name": "active",
|
|
8035
8005
|
"type": {
|
|
8036
8006
|
"text": "boolean | undefined"
|
|
8037
8007
|
},
|
|
8038
8008
|
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
|
8039
8009
|
"default": "undefined",
|
|
8040
|
-
"
|
|
8010
|
+
"attribute": "active",
|
|
8011
|
+
"reflects": true,
|
|
8041
8012
|
"inheritedFrom": {
|
|
8042
8013
|
"name": "Buttonsimple",
|
|
8043
|
-
"module": "
|
|
8014
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8044
8015
|
}
|
|
8045
8016
|
},
|
|
8046
8017
|
{
|
|
8047
|
-
"
|
|
8018
|
+
"kind": "field",
|
|
8019
|
+
"name": "softDisabled",
|
|
8048
8020
|
"type": {
|
|
8049
8021
|
"text": "boolean | undefined"
|
|
8050
8022
|
},
|
|
8051
8023
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
|
8052
8024
|
"default": "undefined",
|
|
8053
|
-
"
|
|
8025
|
+
"attribute": "soft-disabled",
|
|
8026
|
+
"reflects": true,
|
|
8054
8027
|
"inheritedFrom": {
|
|
8055
8028
|
"name": "Buttonsimple",
|
|
8056
|
-
"module": "
|
|
8029
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8057
8030
|
}
|
|
8058
8031
|
},
|
|
8059
8032
|
{
|
|
8033
|
+
"kind": "field",
|
|
8060
8034
|
"name": "size",
|
|
8061
8035
|
"type": {
|
|
8062
8036
|
"text": "ButtonSize"
|
|
8063
8037
|
},
|
|
8064
8038
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8065
8039
|
"default": "32",
|
|
8066
|
-
"
|
|
8040
|
+
"attribute": "size",
|
|
8041
|
+
"reflects": true,
|
|
8067
8042
|
"inheritedFrom": {
|
|
8068
8043
|
"name": "Buttonsimple",
|
|
8069
|
-
"module": "
|
|
8044
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8070
8045
|
}
|
|
8071
8046
|
},
|
|
8072
8047
|
{
|
|
8048
|
+
"kind": "field",
|
|
8073
8049
|
"name": "role",
|
|
8074
8050
|
"type": {
|
|
8075
8051
|
"text": "RoleType"
|
|
8076
8052
|
},
|
|
8077
8053
|
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
|
8078
8054
|
"default": "button",
|
|
8079
|
-
"
|
|
8055
|
+
"attribute": "role",
|
|
8056
|
+
"reflects": true,
|
|
8080
8057
|
"inheritedFrom": {
|
|
8081
8058
|
"name": "Buttonsimple",
|
|
8082
|
-
"module": "
|
|
8059
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8083
8060
|
}
|
|
8084
8061
|
},
|
|
8085
8062
|
{
|
|
8063
|
+
"kind": "field",
|
|
8086
8064
|
"name": "ariaStateKey",
|
|
8087
8065
|
"type": {
|
|
8088
8066
|
"text": "string | undefined"
|
|
8089
8067
|
},
|
|
8090
8068
|
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
|
8091
8069
|
"default": "'aria-pressed' (when)",
|
|
8092
|
-
"
|
|
8070
|
+
"attribute": "ariaStateKey",
|
|
8071
|
+
"reflects": true,
|
|
8093
8072
|
"inheritedFrom": {
|
|
8094
8073
|
"name": "Buttonsimple",
|
|
8095
|
-
"module": "
|
|
8074
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8096
8075
|
}
|
|
8097
8076
|
},
|
|
8098
8077
|
{
|
|
8078
|
+
"kind": "field",
|
|
8099
8079
|
"name": "type",
|
|
8100
8080
|
"type": {
|
|
8101
8081
|
"text": "ButtonType"
|
|
8102
8082
|
},
|
|
8103
8083
|
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
|
8104
8084
|
"default": "button",
|
|
8105
|
-
"
|
|
8085
|
+
"attribute": "type",
|
|
8086
|
+
"reflects": true,
|
|
8106
8087
|
"inheritedFrom": {
|
|
8107
8088
|
"name": "Buttonsimple",
|
|
8108
|
-
"module": "
|
|
8089
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8109
8090
|
}
|
|
8110
8091
|
},
|
|
8111
8092
|
{
|
|
8093
|
+
"kind": "field",
|
|
8112
8094
|
"name": "name",
|
|
8113
8095
|
"type": {
|
|
8114
8096
|
"text": "string | undefined"
|
|
8115
8097
|
},
|
|
8116
8098
|
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8117
|
-
"
|
|
8099
|
+
"attribute": "name",
|
|
8100
|
+
"reflects": true,
|
|
8118
8101
|
"inheritedFrom": {
|
|
8119
8102
|
"name": "Buttonsimple",
|
|
8120
|
-
"module": "
|
|
8103
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8121
8104
|
}
|
|
8122
8105
|
},
|
|
8123
8106
|
{
|
|
8107
|
+
"kind": "field",
|
|
8124
8108
|
"name": "value",
|
|
8125
8109
|
"type": {
|
|
8126
8110
|
"text": "string | undefined"
|
|
8127
8111
|
},
|
|
8128
8112
|
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8129
|
-
"
|
|
8113
|
+
"attribute": "value",
|
|
8114
|
+
"reflects": true,
|
|
8130
8115
|
"inheritedFrom": {
|
|
8131
8116
|
"name": "Buttonsimple",
|
|
8132
|
-
"module": "
|
|
8117
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8133
8118
|
}
|
|
8134
|
-
}
|
|
8135
|
-
]
|
|
8136
|
-
}
|
|
8137
|
-
],
|
|
8138
|
-
"exports": [
|
|
8139
|
-
{
|
|
8140
|
-
"kind": "js",
|
|
8141
|
-
"name": "default",
|
|
8142
|
-
"declaration": {
|
|
8143
|
-
"name": "CardButton",
|
|
8144
|
-
"module": "components/cardbutton/cardbutton.component.js"
|
|
8145
|
-
}
|
|
8146
|
-
}
|
|
8147
|
-
]
|
|
8148
|
-
},
|
|
8149
|
-
{
|
|
8150
|
-
"kind": "javascript-module",
|
|
8151
|
-
"path": "components/card/card.component.js",
|
|
8152
|
-
"declarations": [
|
|
8153
|
-
{
|
|
8154
|
-
"kind": "class",
|
|
8155
|
-
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
8156
|
-
"name": "Card",
|
|
8157
|
-
"cssProperties": [
|
|
8158
|
-
{
|
|
8159
|
-
"description": "The width of the card",
|
|
8160
|
-
"name": "--mdc-card-width"
|
|
8161
|
-
}
|
|
8162
|
-
],
|
|
8163
|
-
"cssParts": [
|
|
8164
|
-
{
|
|
8165
|
-
"description": "The header part of the card",
|
|
8166
|
-
"name": "header"
|
|
8167
|
-
},
|
|
8168
|
-
{
|
|
8169
|
-
"description": "The icon part of the card header",
|
|
8170
|
-
"name": "icon"
|
|
8171
|
-
},
|
|
8172
|
-
{
|
|
8173
|
-
"description": "The body part of the card",
|
|
8174
|
-
"name": "body"
|
|
8175
|
-
},
|
|
8176
|
-
{
|
|
8177
|
-
"description": "The image part of the card",
|
|
8178
|
-
"name": "image"
|
|
8179
|
-
},
|
|
8180
|
-
{
|
|
8181
|
-
"description": "The footer part of the card",
|
|
8182
|
-
"name": "footer"
|
|
8183
|
-
},
|
|
8184
|
-
{
|
|
8185
|
-
"description": "The link part of the card footer",
|
|
8186
|
-
"name": "footer-link"
|
|
8187
|
-
},
|
|
8188
|
-
{
|
|
8189
|
-
"description": "The primary button part of the card footer",
|
|
8190
|
-
"name": "footer-button-primary"
|
|
8191
|
-
},
|
|
8192
|
-
{
|
|
8193
|
-
"description": "The secondary button part of the card footer",
|
|
8194
|
-
"name": "footer-button-secondary"
|
|
8195
|
-
},
|
|
8196
|
-
{
|
|
8197
|
-
"description": "The icon button part of the card header",
|
|
8198
|
-
"name": "icon-button"
|
|
8199
|
-
},
|
|
8200
|
-
{
|
|
8201
|
-
"description": "The text part of the card",
|
|
8202
|
-
"name": "text"
|
|
8203
|
-
}
|
|
8204
|
-
],
|
|
8205
|
-
"slots": [
|
|
8206
|
-
{
|
|
8207
|
-
"description": "This slot is for passing the content before the body",
|
|
8208
|
-
"name": "before-body"
|
|
8209
|
-
},
|
|
8210
|
-
{
|
|
8211
|
-
"description": "This slot is for passing the text content for the card",
|
|
8212
|
-
"name": "body"
|
|
8213
8119
|
},
|
|
8214
|
-
{
|
|
8215
|
-
"description": "This slot is for passing the content after the body",
|
|
8216
|
-
"name": "after-body"
|
|
8217
|
-
},
|
|
8218
|
-
{
|
|
8219
|
-
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
8220
|
-
"name": "footer-link"
|
|
8221
|
-
},
|
|
8222
|
-
{
|
|
8223
|
-
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
8224
|
-
"name": "footer-button-primary"
|
|
8225
|
-
},
|
|
8226
|
-
{
|
|
8227
|
-
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
8228
|
-
"name": "footer-button-secondary"
|
|
8229
|
-
},
|
|
8230
|
-
{
|
|
8231
|
-
"description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
|
|
8232
|
-
"name": "footer"
|
|
8233
|
-
}
|
|
8234
|
-
],
|
|
8235
|
-
"members": [
|
|
8236
8120
|
{
|
|
8237
8121
|
"kind": "method",
|
|
8238
|
-
"name": "
|
|
8122
|
+
"name": "executeAction",
|
|
8239
8123
|
"privacy": "protected",
|
|
8240
|
-
"description": "Renders the header of the card if title is provided",
|
|
8241
|
-
"return": {
|
|
8242
|
-
"type": {
|
|
8243
|
-
"text": ""
|
|
8244
|
-
}
|
|
8245
|
-
}
|
|
8246
|
-
},
|
|
8247
|
-
{
|
|
8248
|
-
"kind": "field",
|
|
8249
|
-
"name": "cardTitle",
|
|
8250
|
-
"type": {
|
|
8251
|
-
"text": "string"
|
|
8252
|
-
},
|
|
8253
|
-
"default": "''",
|
|
8254
|
-
"description": "The title of the card - part of header section",
|
|
8255
|
-
"attribute": "card-title",
|
|
8256
|
-
"reflects": true,
|
|
8257
|
-
"inheritedFrom": {
|
|
8258
|
-
"name": "CardComponentMixin",
|
|
8259
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
8260
|
-
}
|
|
8261
|
-
},
|
|
8262
|
-
{
|
|
8263
|
-
"kind": "field",
|
|
8264
|
-
"name": "subtitle",
|
|
8265
|
-
"type": {
|
|
8266
|
-
"text": "string"
|
|
8267
|
-
},
|
|
8268
|
-
"default": "''",
|
|
8269
|
-
"description": "The subtitle of the card - part of header section",
|
|
8270
|
-
"attribute": "subtitle",
|
|
8271
|
-
"reflects": true,
|
|
8272
8124
|
"inheritedFrom": {
|
|
8273
|
-
"name": "
|
|
8274
|
-
"module": "
|
|
8125
|
+
"name": "Buttonsimple",
|
|
8126
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8275
8127
|
}
|
|
8276
8128
|
},
|
|
8277
8129
|
{
|
|
8278
|
-
"kind": "
|
|
8279
|
-
"name": "
|
|
8280
|
-
"
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8130
|
+
"kind": "method",
|
|
8131
|
+
"name": "setActive",
|
|
8132
|
+
"privacy": "protected",
|
|
8133
|
+
"parameters": [
|
|
8134
|
+
{
|
|
8135
|
+
"name": "element",
|
|
8136
|
+
"type": {
|
|
8137
|
+
"text": "HTMLElement"
|
|
8138
|
+
},
|
|
8139
|
+
"description": "The button element"
|
|
8140
|
+
},
|
|
8141
|
+
{
|
|
8142
|
+
"name": "active",
|
|
8143
|
+
"optional": true,
|
|
8144
|
+
"type": {
|
|
8145
|
+
"text": "boolean"
|
|
8146
|
+
},
|
|
8147
|
+
"description": "The active state of the element"
|
|
8148
|
+
}
|
|
8149
|
+
],
|
|
8150
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
8287
8151
|
"inheritedFrom": {
|
|
8288
|
-
"name": "
|
|
8289
|
-
"module": "
|
|
8152
|
+
"name": "Buttonsimple",
|
|
8153
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8290
8154
|
}
|
|
8291
8155
|
},
|
|
8292
8156
|
{
|
|
8293
|
-
"kind": "
|
|
8294
|
-
"name": "
|
|
8295
|
-
"
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8157
|
+
"kind": "method",
|
|
8158
|
+
"name": "setSoftDisabled",
|
|
8159
|
+
"privacy": "private",
|
|
8160
|
+
"parameters": [
|
|
8161
|
+
{
|
|
8162
|
+
"name": "element",
|
|
8163
|
+
"type": {
|
|
8164
|
+
"text": "HTMLElement"
|
|
8165
|
+
},
|
|
8166
|
+
"description": "The button element."
|
|
8167
|
+
},
|
|
8168
|
+
{
|
|
8169
|
+
"name": "softDisabled",
|
|
8170
|
+
"optional": true,
|
|
8171
|
+
"type": {
|
|
8172
|
+
"text": "boolean"
|
|
8173
|
+
},
|
|
8174
|
+
"description": "The soft-disabled state."
|
|
8175
|
+
}
|
|
8176
|
+
],
|
|
8177
|
+
"description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
|
|
8302
8178
|
"inheritedFrom": {
|
|
8303
|
-
"name": "
|
|
8304
|
-
"module": "
|
|
8179
|
+
"name": "Buttonsimple",
|
|
8180
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8305
8181
|
}
|
|
8306
8182
|
},
|
|
8307
8183
|
{
|
|
8308
|
-
"kind": "
|
|
8309
|
-
"name": "
|
|
8310
|
-
"
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8184
|
+
"kind": "method",
|
|
8185
|
+
"name": "setDisabled",
|
|
8186
|
+
"privacy": "private",
|
|
8187
|
+
"parameters": [
|
|
8188
|
+
{
|
|
8189
|
+
"name": "element",
|
|
8190
|
+
"type": {
|
|
8191
|
+
"text": "HTMLElement"
|
|
8192
|
+
},
|
|
8193
|
+
"description": "The button element."
|
|
8194
|
+
},
|
|
8195
|
+
{
|
|
8196
|
+
"name": "disabled",
|
|
8197
|
+
"type": {
|
|
8198
|
+
"text": "boolean"
|
|
8199
|
+
},
|
|
8200
|
+
"description": "The disabled state."
|
|
8201
|
+
}
|
|
8202
|
+
],
|
|
8203
|
+
"description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
|
|
8317
8204
|
"inheritedFrom": {
|
|
8318
|
-
"name": "
|
|
8319
|
-
"module": "
|
|
8205
|
+
"name": "Buttonsimple",
|
|
8206
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8320
8207
|
}
|
|
8321
8208
|
},
|
|
8322
8209
|
{
|
|
8323
|
-
"kind": "
|
|
8324
|
-
"name": "
|
|
8325
|
-
"
|
|
8326
|
-
"text": "CardOrientation"
|
|
8327
|
-
},
|
|
8328
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8329
|
-
"default": "'vertical'",
|
|
8330
|
-
"attribute": "orientation",
|
|
8331
|
-
"reflects": true,
|
|
8210
|
+
"kind": "method",
|
|
8211
|
+
"name": "triggerClickEvent",
|
|
8212
|
+
"privacy": "private",
|
|
8332
8213
|
"inheritedFrom": {
|
|
8333
|
-
"name": "
|
|
8334
|
-
"module": "
|
|
8214
|
+
"name": "Buttonsimple",
|
|
8215
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8335
8216
|
}
|
|
8336
8217
|
},
|
|
8337
8218
|
{
|
|
8338
|
-
"kind": "
|
|
8339
|
-
"name": "
|
|
8340
|
-
"
|
|
8341
|
-
|
|
8342
|
-
},
|
|
8343
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8344
|
-
"default": "'span'",
|
|
8345
|
-
"attribute": "title-tag-name",
|
|
8346
|
-
"reflects": true,
|
|
8219
|
+
"kind": "method",
|
|
8220
|
+
"name": "handleBlur",
|
|
8221
|
+
"privacy": "private",
|
|
8222
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
8347
8223
|
"inheritedFrom": {
|
|
8348
|
-
"name": "
|
|
8349
|
-
"module": "
|
|
8224
|
+
"name": "Buttonsimple",
|
|
8225
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8350
8226
|
}
|
|
8351
8227
|
},
|
|
8352
8228
|
{
|
|
8353
|
-
"kind": "
|
|
8354
|
-
"name": "
|
|
8355
|
-
"
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8229
|
+
"kind": "method",
|
|
8230
|
+
"name": "handleKeyDown",
|
|
8231
|
+
"privacy": "private",
|
|
8232
|
+
"parameters": [
|
|
8233
|
+
{
|
|
8234
|
+
"name": "event",
|
|
8235
|
+
"type": {
|
|
8236
|
+
"text": "KeyboardEvent"
|
|
8237
|
+
},
|
|
8238
|
+
"description": "The keyboard event."
|
|
8239
|
+
}
|
|
8240
|
+
],
|
|
8241
|
+
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
|
8362
8242
|
"inheritedFrom": {
|
|
8363
|
-
"name": "
|
|
8364
|
-
"module": "
|
|
8243
|
+
"name": "Buttonsimple",
|
|
8244
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8365
8245
|
}
|
|
8366
8246
|
},
|
|
8367
8247
|
{
|
|
8368
|
-
"kind": "
|
|
8369
|
-
"name": "
|
|
8370
|
-
"
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8248
|
+
"kind": "method",
|
|
8249
|
+
"name": "handleKeyUp",
|
|
8250
|
+
"privacy": "private",
|
|
8251
|
+
"parameters": [
|
|
8252
|
+
{
|
|
8253
|
+
"name": "event",
|
|
8254
|
+
"type": {
|
|
8255
|
+
"text": "KeyboardEvent"
|
|
8256
|
+
},
|
|
8257
|
+
"description": "The keyboard event."
|
|
8258
|
+
}
|
|
8259
|
+
],
|
|
8260
|
+
"description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
|
|
8376
8261
|
"inheritedFrom": {
|
|
8377
|
-
"name": "
|
|
8378
|
-
"module": "
|
|
8262
|
+
"name": "Buttonsimple",
|
|
8263
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8379
8264
|
}
|
|
8380
|
-
}
|
|
8265
|
+
}
|
|
8266
|
+
],
|
|
8267
|
+
"events": [
|
|
8381
8268
|
{
|
|
8382
|
-
"
|
|
8383
|
-
"name": "
|
|
8384
|
-
"
|
|
8385
|
-
"description": "Renders the image on the card if image source is provided",
|
|
8386
|
-
"return": {
|
|
8387
|
-
"type": {
|
|
8388
|
-
"text": ""
|
|
8389
|
-
}
|
|
8390
|
-
},
|
|
8269
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
8270
|
+
"name": "click",
|
|
8271
|
+
"reactName": "onClick",
|
|
8391
8272
|
"inheritedFrom": {
|
|
8392
|
-
"name": "
|
|
8393
|
-
"module": "
|
|
8273
|
+
"name": "Buttonsimple",
|
|
8274
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8394
8275
|
}
|
|
8395
8276
|
},
|
|
8396
|
-
{
|
|
8397
|
-
"
|
|
8398
|
-
"name": "
|
|
8399
|
-
"
|
|
8400
|
-
"description": "Renders the icon on the card if icon name is provided",
|
|
8401
|
-
"return": {
|
|
8402
|
-
"type": {
|
|
8403
|
-
"text": ""
|
|
8404
|
-
}
|
|
8405
|
-
},
|
|
8277
|
+
{
|
|
8278
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
|
|
8279
|
+
"name": "keydown",
|
|
8280
|
+
"reactName": "onKeyDown",
|
|
8406
8281
|
"inheritedFrom": {
|
|
8407
|
-
"name": "
|
|
8408
|
-
"module": "
|
|
8282
|
+
"name": "Buttonsimple",
|
|
8283
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8409
8284
|
}
|
|
8410
8285
|
},
|
|
8411
8286
|
{
|
|
8412
|
-
"
|
|
8413
|
-
"name": "
|
|
8414
|
-
"
|
|
8415
|
-
"description": "Renders the title and subtitle on the card",
|
|
8416
|
-
"return": {
|
|
8417
|
-
"type": {
|
|
8418
|
-
"text": ""
|
|
8419
|
-
}
|
|
8420
|
-
},
|
|
8287
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
|
|
8288
|
+
"name": "keyup",
|
|
8289
|
+
"reactName": "onKeyUp",
|
|
8421
8290
|
"inheritedFrom": {
|
|
8422
|
-
"name": "
|
|
8423
|
-
"module": "
|
|
8291
|
+
"name": "Buttonsimple",
|
|
8292
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8424
8293
|
}
|
|
8425
8294
|
},
|
|
8426
8295
|
{
|
|
8427
|
-
"
|
|
8428
|
-
"name": "
|
|
8429
|
-
"
|
|
8430
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
8431
|
-
"return": {
|
|
8432
|
-
"type": {
|
|
8433
|
-
"text": ""
|
|
8434
|
-
}
|
|
8435
|
-
},
|
|
8296
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8297
|
+
"name": "focus",
|
|
8298
|
+
"reactName": "onFocus",
|
|
8436
8299
|
"inheritedFrom": {
|
|
8437
|
-
"name": "
|
|
8438
|
-
"module": "
|
|
8300
|
+
"name": "Buttonsimple",
|
|
8301
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8439
8302
|
}
|
|
8440
8303
|
}
|
|
8441
8304
|
],
|
|
@@ -8443,18 +8306,14 @@
|
|
|
8443
8306
|
{
|
|
8444
8307
|
"name": "CardComponentMixin",
|
|
8445
8308
|
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8446
|
-
},
|
|
8447
|
-
{
|
|
8448
|
-
"name": "FooterMixin",
|
|
8449
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
8450
8309
|
}
|
|
8451
8310
|
],
|
|
8452
8311
|
"superclass": {
|
|
8453
|
-
"name": "
|
|
8454
|
-
"module": "/src/
|
|
8312
|
+
"name": "Buttonsimple",
|
|
8313
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
8455
8314
|
},
|
|
8456
|
-
"tagName": "mdc-
|
|
8457
|
-
"jsDoc": "/**\n *
|
|
8315
|
+
"tagName": "mdc-cardbutton",
|
|
8316
|
+
"jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
|
|
8458
8317
|
"customElement": true,
|
|
8459
8318
|
"attributes": [
|
|
8460
8319
|
{
|
|
@@ -8572,6 +8431,147 @@
|
|
|
8572
8431
|
"name": "CardComponentMixin",
|
|
8573
8432
|
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8574
8433
|
}
|
|
8434
|
+
},
|
|
8435
|
+
{
|
|
8436
|
+
"name": "auto-focus-on-mount",
|
|
8437
|
+
"type": {
|
|
8438
|
+
"text": "boolean"
|
|
8439
|
+
},
|
|
8440
|
+
"default": "false",
|
|
8441
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
8442
|
+
"fieldName": "autoFocusOnMount",
|
|
8443
|
+
"inheritedFrom": {
|
|
8444
|
+
"name": "Buttonsimple",
|
|
8445
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8446
|
+
}
|
|
8447
|
+
},
|
|
8448
|
+
{
|
|
8449
|
+
"name": "tabIndex",
|
|
8450
|
+
"type": {
|
|
8451
|
+
"text": "number"
|
|
8452
|
+
},
|
|
8453
|
+
"default": "0",
|
|
8454
|
+
"description": "This property specifies the tab order of the element.",
|
|
8455
|
+
"fieldName": "tabIndex",
|
|
8456
|
+
"inheritedFrom": {
|
|
8457
|
+
"name": "Buttonsimple",
|
|
8458
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8459
|
+
}
|
|
8460
|
+
},
|
|
8461
|
+
{
|
|
8462
|
+
"name": "disabled",
|
|
8463
|
+
"type": {
|
|
8464
|
+
"text": "boolean | undefined"
|
|
8465
|
+
},
|
|
8466
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8467
|
+
"default": "undefined",
|
|
8468
|
+
"fieldName": "disabled",
|
|
8469
|
+
"inheritedFrom": {
|
|
8470
|
+
"name": "Buttonsimple",
|
|
8471
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8472
|
+
}
|
|
8473
|
+
},
|
|
8474
|
+
{
|
|
8475
|
+
"name": "active",
|
|
8476
|
+
"type": {
|
|
8477
|
+
"text": "boolean | undefined"
|
|
8478
|
+
},
|
|
8479
|
+
"description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
|
|
8480
|
+
"default": "undefined",
|
|
8481
|
+
"fieldName": "active",
|
|
8482
|
+
"inheritedFrom": {
|
|
8483
|
+
"name": "Buttonsimple",
|
|
8484
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8485
|
+
}
|
|
8486
|
+
},
|
|
8487
|
+
{
|
|
8488
|
+
"name": "soft-disabled",
|
|
8489
|
+
"type": {
|
|
8490
|
+
"text": "boolean | undefined"
|
|
8491
|
+
},
|
|
8492
|
+
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
|
8493
|
+
"default": "undefined",
|
|
8494
|
+
"fieldName": "softDisabled",
|
|
8495
|
+
"inheritedFrom": {
|
|
8496
|
+
"name": "Buttonsimple",
|
|
8497
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8498
|
+
}
|
|
8499
|
+
},
|
|
8500
|
+
{
|
|
8501
|
+
"name": "size",
|
|
8502
|
+
"type": {
|
|
8503
|
+
"text": "ButtonSize"
|
|
8504
|
+
},
|
|
8505
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8506
|
+
"default": "32",
|
|
8507
|
+
"fieldName": "size",
|
|
8508
|
+
"inheritedFrom": {
|
|
8509
|
+
"name": "Buttonsimple",
|
|
8510
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8511
|
+
}
|
|
8512
|
+
},
|
|
8513
|
+
{
|
|
8514
|
+
"name": "role",
|
|
8515
|
+
"type": {
|
|
8516
|
+
"text": "RoleType"
|
|
8517
|
+
},
|
|
8518
|
+
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
|
8519
|
+
"default": "button",
|
|
8520
|
+
"fieldName": "role",
|
|
8521
|
+
"inheritedFrom": {
|
|
8522
|
+
"name": "Buttonsimple",
|
|
8523
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8524
|
+
}
|
|
8525
|
+
},
|
|
8526
|
+
{
|
|
8527
|
+
"name": "ariaStateKey",
|
|
8528
|
+
"type": {
|
|
8529
|
+
"text": "string | undefined"
|
|
8530
|
+
},
|
|
8531
|
+
"description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
|
|
8532
|
+
"default": "'aria-pressed' (when)",
|
|
8533
|
+
"fieldName": "ariaStateKey",
|
|
8534
|
+
"inheritedFrom": {
|
|
8535
|
+
"name": "Buttonsimple",
|
|
8536
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8537
|
+
}
|
|
8538
|
+
},
|
|
8539
|
+
{
|
|
8540
|
+
"name": "type",
|
|
8541
|
+
"type": {
|
|
8542
|
+
"text": "ButtonType"
|
|
8543
|
+
},
|
|
8544
|
+
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
|
8545
|
+
"default": "button",
|
|
8546
|
+
"fieldName": "type",
|
|
8547
|
+
"inheritedFrom": {
|
|
8548
|
+
"name": "Buttonsimple",
|
|
8549
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8550
|
+
}
|
|
8551
|
+
},
|
|
8552
|
+
{
|
|
8553
|
+
"name": "name",
|
|
8554
|
+
"type": {
|
|
8555
|
+
"text": "string | undefined"
|
|
8556
|
+
},
|
|
8557
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
|
|
8558
|
+
"fieldName": "name",
|
|
8559
|
+
"inheritedFrom": {
|
|
8560
|
+
"name": "Buttonsimple",
|
|
8561
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8562
|
+
}
|
|
8563
|
+
},
|
|
8564
|
+
{
|
|
8565
|
+
"name": "value",
|
|
8566
|
+
"type": {
|
|
8567
|
+
"text": "string | undefined"
|
|
8568
|
+
},
|
|
8569
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
|
|
8570
|
+
"fieldName": "value",
|
|
8571
|
+
"inheritedFrom": {
|
|
8572
|
+
"name": "Buttonsimple",
|
|
8573
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8574
|
+
}
|
|
8575
8575
|
}
|
|
8576
8576
|
]
|
|
8577
8577
|
}
|
|
@@ -8581,8 +8581,8 @@
|
|
|
8581
8581
|
"kind": "js",
|
|
8582
8582
|
"name": "default",
|
|
8583
8583
|
"declaration": {
|
|
8584
|
-
"name": "
|
|
8585
|
-
"module": "components/
|
|
8584
|
+
"name": "CardButton",
|
|
8585
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
|
8586
8586
|
}
|
|
8587
8587
|
}
|
|
8588
8588
|
]
|
|
@@ -10284,6 +10284,21 @@
|
|
|
10284
10284
|
"attribute": "autofocus",
|
|
10285
10285
|
"reflects": true
|
|
10286
10286
|
},
|
|
10287
|
+
{
|
|
10288
|
+
"kind": "field",
|
|
10289
|
+
"name": "helpTextType",
|
|
10290
|
+
"type": {
|
|
10291
|
+
"text": "ValidationType"
|
|
10292
|
+
},
|
|
10293
|
+
"description": "The type of help text/validation. It can be 'default' or 'error'.",
|
|
10294
|
+
"attribute": "help-text-type",
|
|
10295
|
+
"reflects": true,
|
|
10296
|
+
"default": "'default'",
|
|
10297
|
+
"inheritedFrom": {
|
|
10298
|
+
"name": "FormfieldWrapper",
|
|
10299
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
10300
|
+
}
|
|
10301
|
+
},
|
|
10287
10302
|
{
|
|
10288
10303
|
"kind": "method",
|
|
10289
10304
|
"name": "setFormValue",
|
|
@@ -10525,20 +10540,6 @@
|
|
|
10525
10540
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
10526
10541
|
}
|
|
10527
10542
|
},
|
|
10528
|
-
{
|
|
10529
|
-
"kind": "field",
|
|
10530
|
-
"name": "helpTextType",
|
|
10531
|
-
"type": {
|
|
10532
|
-
"text": "ValidationType"
|
|
10533
|
-
},
|
|
10534
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
|
10535
|
-
"attribute": "help-text-type",
|
|
10536
|
-
"reflects": true,
|
|
10537
|
-
"inheritedFrom": {
|
|
10538
|
-
"name": "FormfieldWrapper",
|
|
10539
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
10540
|
-
}
|
|
10541
|
-
},
|
|
10542
10543
|
{
|
|
10543
10544
|
"kind": "field",
|
|
10544
10545
|
"name": "helpText",
|
|
@@ -10760,6 +10761,19 @@
|
|
|
10760
10761
|
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
|
10761
10762
|
"fieldName": "autofocus"
|
|
10762
10763
|
},
|
|
10764
|
+
{
|
|
10765
|
+
"name": "help-text-type",
|
|
10766
|
+
"type": {
|
|
10767
|
+
"text": "ValidationType"
|
|
10768
|
+
},
|
|
10769
|
+
"description": "The type of help text/validation. It can be 'default' or 'error'.",
|
|
10770
|
+
"fieldName": "helpTextType",
|
|
10771
|
+
"default": "'default'",
|
|
10772
|
+
"inheritedFrom": {
|
|
10773
|
+
"name": "FormfieldWrapper",
|
|
10774
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
10775
|
+
}
|
|
10776
|
+
},
|
|
10763
10777
|
{
|
|
10764
10778
|
"name": "auto-focus-on-mount",
|
|
10765
10779
|
"type": {
|
|
@@ -10862,18 +10876,6 @@
|
|
|
10862
10876
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
10863
10877
|
}
|
|
10864
10878
|
},
|
|
10865
|
-
{
|
|
10866
|
-
"name": "help-text-type",
|
|
10867
|
-
"type": {
|
|
10868
|
-
"text": "ValidationType"
|
|
10869
|
-
},
|
|
10870
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
|
10871
|
-
"fieldName": "helpTextType",
|
|
10872
|
-
"inheritedFrom": {
|
|
10873
|
-
"name": "FormfieldWrapper",
|
|
10874
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
10875
|
-
}
|
|
10876
|
-
},
|
|
10877
10879
|
{
|
|
10878
10880
|
"name": "help-text",
|
|
10879
10881
|
"type": {
|
|
@@ -20172,7 +20174,7 @@
|
|
|
20172
20174
|
"declarations": [
|
|
20173
20175
|
{
|
|
20174
20176
|
"kind": "class",
|
|
20175
|
-
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
|
20177
|
+
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports a prefix slot for avatars (takes precedence over icon-name).\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
|
20176
20178
|
"name": "InputChip",
|
|
20177
20179
|
"cssProperties": [
|
|
20178
20180
|
{
|
|
@@ -20202,6 +20204,12 @@
|
|
|
20202
20204
|
"name": "close-icon"
|
|
20203
20205
|
}
|
|
20204
20206
|
],
|
|
20207
|
+
"slots": [
|
|
20208
|
+
{
|
|
20209
|
+
"description": "A slot for prefix content such as avatars.",
|
|
20210
|
+
"name": "prefix"
|
|
20211
|
+
}
|
|
20212
|
+
],
|
|
20205
20213
|
"members": [
|
|
20206
20214
|
{
|
|
20207
20215
|
"kind": "field",
|
|
@@ -20235,9 +20243,9 @@
|
|
|
20235
20243
|
},
|
|
20236
20244
|
{
|
|
20237
20245
|
"kind": "method",
|
|
20238
|
-
"name": "
|
|
20246
|
+
"name": "renderPrefix",
|
|
20239
20247
|
"privacy": "private",
|
|
20240
|
-
"description": "Renders the
|
|
20248
|
+
"description": "Renders the prefix content, supporting both icons and slot content.",
|
|
20241
20249
|
"return": {
|
|
20242
20250
|
"type": {
|
|
20243
20251
|
"text": ""
|
|
@@ -20364,7 +20372,7 @@
|
|
|
20364
20372
|
"module": "/src/models"
|
|
20365
20373
|
},
|
|
20366
20374
|
"tagName": "mdc-inputchip",
|
|
20367
|
-
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @csspart label - The label part of the chip.\n * @csspart icon - The icon part of the chip.\n * @csspart close-icon - The close icon part of the chip.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
|
20375
|
+
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports a prefix slot for avatars (takes precedence over icon-name).\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @slot prefix - A slot for prefix content such as avatars.\n *\n * @csspart label - The label part of the chip.\n * @csspart icon - The icon part of the chip.\n * @csspart close-icon - The close icon part of the chip.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
|
20368
20376
|
"customElement": true
|
|
20369
20377
|
}
|
|
20370
20378
|
],
|