@momentum-design/components 0.122.13 → 0.122.15
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 +68 -50
- package/dist/browser/index.js.map +4 -4
- package/dist/components/alertchip/alertchip.component.d.ts +2 -1
- package/dist/components/alertchip/alertchip.component.js +3 -2
- package/dist/components/alertchip/alertchip.styles.js +4 -0
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/listitem/listitem.component.d.ts +9 -0
- package/dist/components/listitem/listitem.component.js +5 -1
- package/dist/components/listitem/listitem.styles.js +4 -0
- package/dist/components/staticchip/staticchip.component.js +1 -1
- package/dist/components/staticchip/staticchip.styles.js +10 -0
- package/dist/custom-elements.json +1436 -1265
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/package.json +1 -1
|
@@ -1093,6 +1093,19 @@
|
|
|
1093
1093
|
"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.",
|
|
1094
1094
|
"attribute": "label"
|
|
1095
1095
|
},
|
|
1096
|
+
{
|
|
1097
|
+
"kind": "field",
|
|
1098
|
+
"name": "iconName",
|
|
1099
|
+
"type": {
|
|
1100
|
+
"text": "IconNames | undefined"
|
|
1101
|
+
},
|
|
1102
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
1103
|
+
"attribute": "icon-name",
|
|
1104
|
+
"inheritedFrom": {
|
|
1105
|
+
"name": "IconNameMixin",
|
|
1106
|
+
"module": "utils/mixins/IconNameMixin.js"
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1096
1109
|
{
|
|
1097
1110
|
"kind": "field",
|
|
1098
1111
|
"name": "autoFocusOnMount",
|
|
@@ -1460,6 +1473,18 @@
|
|
|
1460
1473
|
"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.",
|
|
1461
1474
|
"fieldName": "label"
|
|
1462
1475
|
},
|
|
1476
|
+
{
|
|
1477
|
+
"name": "icon-name",
|
|
1478
|
+
"type": {
|
|
1479
|
+
"text": "IconNames | undefined"
|
|
1480
|
+
},
|
|
1481
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
1482
|
+
"fieldName": "iconName",
|
|
1483
|
+
"inheritedFrom": {
|
|
1484
|
+
"name": "IconNameMixin",
|
|
1485
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1463
1488
|
{
|
|
1464
1489
|
"name": "auto-focus-on-mount",
|
|
1465
1490
|
"type": {
|
|
@@ -1602,6 +1627,12 @@
|
|
|
1602
1627
|
}
|
|
1603
1628
|
}
|
|
1604
1629
|
],
|
|
1630
|
+
"mixins": [
|
|
1631
|
+
{
|
|
1632
|
+
"name": "IconNameMixin",
|
|
1633
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
|
1634
|
+
}
|
|
1635
|
+
],
|
|
1605
1636
|
"superclass": {
|
|
1606
1637
|
"name": "Buttonsimple",
|
|
1607
1638
|
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
@@ -7691,318 +7722,272 @@
|
|
|
7691
7722
|
},
|
|
7692
7723
|
{
|
|
7693
7724
|
"kind": "javascript-module",
|
|
7694
|
-
"path": "components/
|
|
7725
|
+
"path": "components/cardcheckbox/cardcheckbox.component.js",
|
|
7695
7726
|
"declarations": [
|
|
7696
7727
|
{
|
|
7697
7728
|
"kind": "class",
|
|
7698
|
-
"description": "
|
|
7699
|
-
"name": "
|
|
7729
|
+
"description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
|
|
7730
|
+
"name": "CardCheckbox",
|
|
7700
7731
|
"cssProperties": [
|
|
7701
7732
|
{
|
|
7702
7733
|
"description": "The width of the card",
|
|
7703
|
-
"name": "--mdc-card-width"
|
|
7704
|
-
},
|
|
7705
|
-
{
|
|
7706
|
-
"description": "Height for button size",
|
|
7707
|
-
"name": "--mdc-button-height",
|
|
7708
|
-
"inheritedFrom": {
|
|
7709
|
-
"name": "Buttonsimple",
|
|
7710
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7711
|
-
}
|
|
7712
|
-
},
|
|
7713
|
-
{
|
|
7714
|
-
"description": "Background color of the button",
|
|
7715
|
-
"name": "--mdc-button-background",
|
|
7716
|
-
"inheritedFrom": {
|
|
7717
|
-
"name": "Buttonsimple",
|
|
7718
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7719
|
-
}
|
|
7720
|
-
},
|
|
7721
|
-
{
|
|
7722
|
-
"description": "Borer color of the button",
|
|
7723
|
-
"name": "--mdc-button-border-color",
|
|
7724
|
-
"inheritedFrom": {
|
|
7725
|
-
"name": "Buttonsimple",
|
|
7726
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7727
|
-
}
|
|
7728
|
-
},
|
|
7729
|
-
{
|
|
7730
|
-
"description": "Text color of the button",
|
|
7731
|
-
"name": "--mdc-button-text-color",
|
|
7734
|
+
"name": "--mdc-card-width",
|
|
7732
7735
|
"inheritedFrom": {
|
|
7733
|
-
"name": "
|
|
7734
|
-
"module": "src/components/
|
|
7736
|
+
"name": "Card",
|
|
7737
|
+
"module": "src/components/card/card.component.ts"
|
|
7735
7738
|
}
|
|
7736
7739
|
}
|
|
7737
7740
|
],
|
|
7738
7741
|
"cssParts": [
|
|
7739
7742
|
{
|
|
7740
7743
|
"description": "The header part of the card",
|
|
7741
|
-
"name": "header"
|
|
7744
|
+
"name": "header",
|
|
7745
|
+
"inheritedFrom": {
|
|
7746
|
+
"name": "Card",
|
|
7747
|
+
"module": "src/components/card/card.component.ts"
|
|
7748
|
+
}
|
|
7742
7749
|
},
|
|
7743
7750
|
{
|
|
7744
7751
|
"description": "The icon part of the card header",
|
|
7745
|
-
"name": "icon"
|
|
7752
|
+
"name": "icon",
|
|
7753
|
+
"inheritedFrom": {
|
|
7754
|
+
"name": "Card",
|
|
7755
|
+
"module": "src/components/card/card.component.ts"
|
|
7756
|
+
}
|
|
7746
7757
|
},
|
|
7747
7758
|
{
|
|
7748
7759
|
"description": "The body part of the card",
|
|
7749
|
-
"name": "body"
|
|
7760
|
+
"name": "body",
|
|
7761
|
+
"inheritedFrom": {
|
|
7762
|
+
"name": "Card",
|
|
7763
|
+
"module": "src/components/card/card.component.ts"
|
|
7764
|
+
}
|
|
7750
7765
|
},
|
|
7751
7766
|
{
|
|
7752
7767
|
"description": "The image part of the card",
|
|
7753
|
-
"name": "image"
|
|
7768
|
+
"name": "image",
|
|
7769
|
+
"inheritedFrom": {
|
|
7770
|
+
"name": "Card",
|
|
7771
|
+
"module": "src/components/card/card.component.ts"
|
|
7772
|
+
}
|
|
7754
7773
|
},
|
|
7755
7774
|
{
|
|
7756
7775
|
"description": "The footer part of the card",
|
|
7757
|
-
"name": "footer"
|
|
7776
|
+
"name": "footer",
|
|
7777
|
+
"inheritedFrom": {
|
|
7778
|
+
"name": "Card",
|
|
7779
|
+
"module": "src/components/card/card.component.ts"
|
|
7780
|
+
}
|
|
7758
7781
|
},
|
|
7759
7782
|
{
|
|
7760
7783
|
"description": "The link part of the card footer",
|
|
7761
|
-
"name": "footer-link"
|
|
7784
|
+
"name": "footer-link",
|
|
7785
|
+
"inheritedFrom": {
|
|
7786
|
+
"name": "Card",
|
|
7787
|
+
"module": "src/components/card/card.component.ts"
|
|
7788
|
+
}
|
|
7762
7789
|
},
|
|
7763
7790
|
{
|
|
7764
7791
|
"description": "The primary button part of the card footer",
|
|
7765
|
-
"name": "footer-button-primary"
|
|
7792
|
+
"name": "footer-button-primary",
|
|
7793
|
+
"inheritedFrom": {
|
|
7794
|
+
"name": "Card",
|
|
7795
|
+
"module": "src/components/card/card.component.ts"
|
|
7796
|
+
}
|
|
7766
7797
|
},
|
|
7767
7798
|
{
|
|
7768
7799
|
"description": "The secondary button part of the card footer",
|
|
7769
|
-
"name": "footer-button-secondary"
|
|
7800
|
+
"name": "footer-button-secondary",
|
|
7801
|
+
"inheritedFrom": {
|
|
7802
|
+
"name": "Card",
|
|
7803
|
+
"module": "src/components/card/card.component.ts"
|
|
7804
|
+
}
|
|
7770
7805
|
},
|
|
7771
7806
|
{
|
|
7772
7807
|
"description": "The icon button part of the card header",
|
|
7773
|
-
"name": "icon-button"
|
|
7808
|
+
"name": "icon-button",
|
|
7809
|
+
"inheritedFrom": {
|
|
7810
|
+
"name": "Card",
|
|
7811
|
+
"module": "src/components/card/card.component.ts"
|
|
7812
|
+
}
|
|
7774
7813
|
},
|
|
7775
7814
|
{
|
|
7776
7815
|
"description": "The text part of the card",
|
|
7777
|
-
"name": "text"
|
|
7816
|
+
"name": "text",
|
|
7817
|
+
"inheritedFrom": {
|
|
7818
|
+
"name": "Card",
|
|
7819
|
+
"module": "src/components/card/card.component.ts"
|
|
7820
|
+
}
|
|
7821
|
+
},
|
|
7822
|
+
{
|
|
7823
|
+
"description": "The check part of the card",
|
|
7824
|
+
"name": "check"
|
|
7825
|
+
},
|
|
7826
|
+
{
|
|
7827
|
+
"description": "The check icon part of the card",
|
|
7828
|
+
"name": "check-icon"
|
|
7829
|
+
},
|
|
7830
|
+
{
|
|
7831
|
+
"description": "The check icon button part of the card",
|
|
7832
|
+
"name": "check-icon-button"
|
|
7778
7833
|
}
|
|
7779
7834
|
],
|
|
7780
7835
|
"slots": [
|
|
7781
7836
|
{
|
|
7782
7837
|
"description": "This slot is for passing the content before the body",
|
|
7783
|
-
"name": "before-body"
|
|
7838
|
+
"name": "before-body",
|
|
7839
|
+
"inheritedFrom": {
|
|
7840
|
+
"name": "Card",
|
|
7841
|
+
"module": "src/components/card/card.component.ts"
|
|
7842
|
+
}
|
|
7784
7843
|
},
|
|
7785
7844
|
{
|
|
7786
7845
|
"description": "This slot is for passing the text content for the card",
|
|
7787
|
-
"name": "body"
|
|
7846
|
+
"name": "body",
|
|
7847
|
+
"inheritedFrom": {
|
|
7848
|
+
"name": "Card",
|
|
7849
|
+
"module": "src/components/card/card.component.ts"
|
|
7850
|
+
}
|
|
7788
7851
|
},
|
|
7789
7852
|
{
|
|
7790
7853
|
"description": "This slot is for passing the content after the body",
|
|
7791
|
-
"name": "after-body"
|
|
7854
|
+
"name": "after-body",
|
|
7855
|
+
"inheritedFrom": {
|
|
7856
|
+
"name": "Card",
|
|
7857
|
+
"module": "src/components/card/card.component.ts"
|
|
7858
|
+
}
|
|
7792
7859
|
},
|
|
7793
7860
|
{
|
|
7794
7861
|
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
7795
|
-
"name": "footer-link"
|
|
7862
|
+
"name": "footer-link",
|
|
7863
|
+
"inheritedFrom": {
|
|
7864
|
+
"name": "Card",
|
|
7865
|
+
"module": "src/components/card/card.component.ts"
|
|
7866
|
+
}
|
|
7796
7867
|
},
|
|
7797
7868
|
{
|
|
7798
7869
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7799
|
-
"name": "footer-button-primary"
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
{
|
|
7804
|
-
"kind": "method",
|
|
7805
|
-
"name": "renderHeader",
|
|
7806
|
-
"privacy": "protected",
|
|
7807
|
-
"description": "Renders the header of the card if title is provided",
|
|
7808
|
-
"return": {
|
|
7809
|
-
"type": {
|
|
7810
|
-
"text": ""
|
|
7811
|
-
}
|
|
7870
|
+
"name": "footer-button-primary",
|
|
7871
|
+
"inheritedFrom": {
|
|
7872
|
+
"name": "Card",
|
|
7873
|
+
"module": "src/components/card/card.component.ts"
|
|
7812
7874
|
}
|
|
7813
7875
|
},
|
|
7814
7876
|
{
|
|
7815
|
-
"
|
|
7816
|
-
"name": "
|
|
7817
|
-
"type": {
|
|
7818
|
-
"text": "string"
|
|
7819
|
-
},
|
|
7820
|
-
"default": "''",
|
|
7821
|
-
"description": "The title of the card - part of header section",
|
|
7822
|
-
"attribute": "card-title",
|
|
7823
|
-
"reflects": true,
|
|
7877
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7878
|
+
"name": "footer-button-secondary",
|
|
7824
7879
|
"inheritedFrom": {
|
|
7825
|
-
"name": "
|
|
7826
|
-
"module": "
|
|
7880
|
+
"name": "Card",
|
|
7881
|
+
"module": "src/components/card/card.component.ts"
|
|
7827
7882
|
}
|
|
7828
7883
|
},
|
|
7829
7884
|
{
|
|
7830
|
-
"
|
|
7831
|
-
"name": "
|
|
7832
|
-
"type": {
|
|
7833
|
-
"text": "string"
|
|
7834
|
-
},
|
|
7835
|
-
"default": "''",
|
|
7836
|
-
"description": "The subtitle of the card - part of header section",
|
|
7837
|
-
"attribute": "subtitle",
|
|
7838
|
-
"reflects": true,
|
|
7885
|
+
"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.",
|
|
7886
|
+
"name": "footer",
|
|
7839
7887
|
"inheritedFrom": {
|
|
7840
|
-
"name": "
|
|
7841
|
-
"module": "
|
|
7888
|
+
"name": "Card",
|
|
7889
|
+
"module": "src/components/card/card.component.ts"
|
|
7842
7890
|
}
|
|
7843
|
-
}
|
|
7891
|
+
}
|
|
7892
|
+
],
|
|
7893
|
+
"members": [
|
|
7844
7894
|
{
|
|
7845
7895
|
"kind": "field",
|
|
7846
|
-
"name": "
|
|
7896
|
+
"name": "checked",
|
|
7847
7897
|
"type": {
|
|
7848
|
-
"text": "
|
|
7898
|
+
"text": "boolean"
|
|
7849
7899
|
},
|
|
7850
|
-
"default": "
|
|
7851
|
-
"description": "The
|
|
7852
|
-
"attribute": "
|
|
7853
|
-
"reflects": true
|
|
7854
|
-
"inheritedFrom": {
|
|
7855
|
-
"name": "CardComponentMixin",
|
|
7856
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7857
|
-
}
|
|
7900
|
+
"default": "false",
|
|
7901
|
+
"description": "The checked state of the card",
|
|
7902
|
+
"attribute": "checked",
|
|
7903
|
+
"reflects": true
|
|
7858
7904
|
},
|
|
7859
7905
|
{
|
|
7860
7906
|
"kind": "field",
|
|
7861
|
-
"name": "
|
|
7907
|
+
"name": "selectionType",
|
|
7862
7908
|
"type": {
|
|
7863
|
-
"text": "
|
|
7909
|
+
"text": "SelectionType"
|
|
7864
7910
|
},
|
|
7865
|
-
"
|
|
7866
|
-
"
|
|
7867
|
-
"attribute": "
|
|
7868
|
-
"reflects": true
|
|
7869
|
-
"inheritedFrom": {
|
|
7870
|
-
"name": "CardComponentMixin",
|
|
7871
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7872
|
-
}
|
|
7911
|
+
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
|
7912
|
+
"default": "'check'",
|
|
7913
|
+
"attribute": "selection-type",
|
|
7914
|
+
"reflects": true
|
|
7873
7915
|
},
|
|
7874
7916
|
{
|
|
7875
|
-
"kind": "
|
|
7876
|
-
"name": "
|
|
7877
|
-
"
|
|
7878
|
-
|
|
7879
|
-
},
|
|
7880
|
-
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7881
|
-
"default": "'border'",
|
|
7882
|
-
"attribute": "variant",
|
|
7883
|
-
"reflects": true,
|
|
7884
|
-
"inheritedFrom": {
|
|
7885
|
-
"name": "CardComponentMixin",
|
|
7886
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7887
|
-
}
|
|
7888
|
-
},
|
|
7889
|
-
{
|
|
7890
|
-
"kind": "field",
|
|
7891
|
-
"name": "orientation",
|
|
7892
|
-
"type": {
|
|
7893
|
-
"text": "CardOrientation"
|
|
7894
|
-
},
|
|
7895
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7896
|
-
"default": "'vertical'",
|
|
7897
|
-
"attribute": "orientation",
|
|
7898
|
-
"reflects": true,
|
|
7899
|
-
"inheritedFrom": {
|
|
7900
|
-
"name": "CardComponentMixin",
|
|
7901
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7902
|
-
}
|
|
7903
|
-
},
|
|
7904
|
-
{
|
|
7905
|
-
"kind": "field",
|
|
7906
|
-
"name": "titleTagName",
|
|
7907
|
-
"type": {
|
|
7908
|
-
"text": "TagNameType"
|
|
7909
|
-
},
|
|
7910
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7911
|
-
"default": "'span'",
|
|
7912
|
-
"attribute": "title-tag-name",
|
|
7913
|
-
"reflects": true,
|
|
7914
|
-
"inheritedFrom": {
|
|
7915
|
-
"name": "CardComponentMixin",
|
|
7916
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7917
|
-
}
|
|
7918
|
-
},
|
|
7919
|
-
{
|
|
7920
|
-
"kind": "field",
|
|
7921
|
-
"name": "subtitleTagName",
|
|
7922
|
-
"type": {
|
|
7923
|
-
"text": "TagNameType"
|
|
7924
|
-
},
|
|
7925
|
-
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7926
|
-
"default": "'span'",
|
|
7927
|
-
"attribute": "subtitle-tag-name",
|
|
7928
|
-
"reflects": true,
|
|
7929
|
-
"inheritedFrom": {
|
|
7930
|
-
"name": "CardComponentMixin",
|
|
7931
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7932
|
-
}
|
|
7917
|
+
"kind": "method",
|
|
7918
|
+
"name": "toggleChecked",
|
|
7919
|
+
"privacy": "private",
|
|
7920
|
+
"description": "Toggles the checked state"
|
|
7933
7921
|
},
|
|
7934
7922
|
{
|
|
7935
|
-
"kind": "
|
|
7936
|
-
"name": "
|
|
7937
|
-
"
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7923
|
+
"kind": "method",
|
|
7924
|
+
"name": "toggleOnEnter",
|
|
7925
|
+
"privacy": "private",
|
|
7926
|
+
"parameters": [
|
|
7927
|
+
{
|
|
7928
|
+
"name": "event",
|
|
7929
|
+
"type": {
|
|
7930
|
+
"text": "KeyboardEvent"
|
|
7931
|
+
},
|
|
7932
|
+
"description": "The keyboard event"
|
|
7933
|
+
}
|
|
7934
|
+
],
|
|
7935
|
+
"description": "Toggles the checked state when enter key is used"
|
|
7947
7936
|
},
|
|
7948
7937
|
{
|
|
7949
7938
|
"kind": "method",
|
|
7950
|
-
"name": "
|
|
7951
|
-
"privacy": "
|
|
7952
|
-
"
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
"
|
|
7939
|
+
"name": "toggleOnSpace",
|
|
7940
|
+
"privacy": "private",
|
|
7941
|
+
"parameters": [
|
|
7942
|
+
{
|
|
7943
|
+
"name": "event",
|
|
7944
|
+
"type": {
|
|
7945
|
+
"text": "KeyboardEvent"
|
|
7946
|
+
},
|
|
7947
|
+
"description": "The keyboard event"
|
|
7956
7948
|
}
|
|
7957
|
-
|
|
7958
|
-
"
|
|
7959
|
-
"name": "CardComponentMixin",
|
|
7960
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7961
|
-
}
|
|
7949
|
+
],
|
|
7950
|
+
"description": "Toggles the checked state when space key is used"
|
|
7962
7951
|
},
|
|
7963
7952
|
{
|
|
7964
7953
|
"kind": "method",
|
|
7965
|
-
"name": "
|
|
7966
|
-
"privacy": "
|
|
7967
|
-
"description": "Renders the icon
|
|
7954
|
+
"name": "renderSelection",
|
|
7955
|
+
"privacy": "private",
|
|
7956
|
+
"description": "Renders the selection icon or checkbox based on the selection type",
|
|
7968
7957
|
"return": {
|
|
7969
7958
|
"type": {
|
|
7970
7959
|
"text": ""
|
|
7971
7960
|
}
|
|
7972
|
-
},
|
|
7973
|
-
"inheritedFrom": {
|
|
7974
|
-
"name": "CardComponentMixin",
|
|
7975
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7976
7961
|
}
|
|
7977
7962
|
},
|
|
7978
7963
|
{
|
|
7979
7964
|
"kind": "method",
|
|
7980
|
-
"name": "
|
|
7965
|
+
"name": "renderHeader",
|
|
7981
7966
|
"privacy": "protected",
|
|
7982
|
-
"description": "Renders the
|
|
7967
|
+
"description": "Renders the header of the card",
|
|
7983
7968
|
"return": {
|
|
7984
7969
|
"type": {
|
|
7985
7970
|
"text": ""
|
|
7986
7971
|
}
|
|
7987
7972
|
},
|
|
7988
7973
|
"inheritedFrom": {
|
|
7989
|
-
"name": "
|
|
7990
|
-
"module": "
|
|
7974
|
+
"name": "Card",
|
|
7975
|
+
"module": "components/card/card.component.js"
|
|
7991
7976
|
}
|
|
7992
7977
|
},
|
|
7993
7978
|
{
|
|
7994
7979
|
"kind": "field",
|
|
7995
|
-
"name": "
|
|
7980
|
+
"name": "disabled",
|
|
7996
7981
|
"type": {
|
|
7997
|
-
"text": "boolean"
|
|
7982
|
+
"text": "boolean | undefined"
|
|
7998
7983
|
},
|
|
7999
|
-
"
|
|
8000
|
-
"
|
|
8001
|
-
"attribute": "
|
|
7984
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
7985
|
+
"default": "undefined",
|
|
7986
|
+
"attribute": "disabled",
|
|
8002
7987
|
"reflects": true,
|
|
8003
7988
|
"inheritedFrom": {
|
|
8004
|
-
"name": "
|
|
8005
|
-
"module": "
|
|
7989
|
+
"name": "DisabledMixin",
|
|
7990
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
8006
7991
|
}
|
|
8007
7992
|
},
|
|
8008
7993
|
{
|
|
@@ -8016,469 +8001,265 @@
|
|
|
8016
8001
|
"attribute": "tabIndex",
|
|
8017
8002
|
"reflects": true,
|
|
8018
8003
|
"inheritedFrom": {
|
|
8019
|
-
"name": "
|
|
8020
|
-
"module": "
|
|
8004
|
+
"name": "TabIndexMixin",
|
|
8005
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
8021
8006
|
}
|
|
8022
8007
|
},
|
|
8023
8008
|
{
|
|
8024
8009
|
"kind": "field",
|
|
8025
|
-
"name": "
|
|
8010
|
+
"name": "cardTitle",
|
|
8026
8011
|
"type": {
|
|
8027
|
-
"text": "
|
|
8012
|
+
"text": "string"
|
|
8028
8013
|
},
|
|
8029
|
-
"
|
|
8030
|
-
"
|
|
8031
|
-
"attribute": "
|
|
8014
|
+
"default": "''",
|
|
8015
|
+
"description": "The title of the card - part of header section",
|
|
8016
|
+
"attribute": "card-title",
|
|
8032
8017
|
"reflects": true,
|
|
8033
8018
|
"inheritedFrom": {
|
|
8034
|
-
"name": "
|
|
8035
|
-
"module": "components/
|
|
8019
|
+
"name": "Card",
|
|
8020
|
+
"module": "components/card/card.component.js"
|
|
8036
8021
|
}
|
|
8037
8022
|
},
|
|
8038
8023
|
{
|
|
8039
8024
|
"kind": "field",
|
|
8040
|
-
"name": "
|
|
8025
|
+
"name": "subtitle",
|
|
8041
8026
|
"type": {
|
|
8042
|
-
"text": "
|
|
8027
|
+
"text": "string"
|
|
8043
8028
|
},
|
|
8044
|
-
"
|
|
8045
|
-
"
|
|
8046
|
-
"attribute": "
|
|
8029
|
+
"default": "''",
|
|
8030
|
+
"description": "The subtitle of the card - part of header section",
|
|
8031
|
+
"attribute": "subtitle",
|
|
8047
8032
|
"reflects": true,
|
|
8048
8033
|
"inheritedFrom": {
|
|
8049
|
-
"name": "
|
|
8050
|
-
"module": "components/
|
|
8034
|
+
"name": "Card",
|
|
8035
|
+
"module": "components/card/card.component.js"
|
|
8051
8036
|
}
|
|
8052
8037
|
},
|
|
8053
8038
|
{
|
|
8054
8039
|
"kind": "field",
|
|
8055
|
-
"name": "
|
|
8040
|
+
"name": "imageSrc",
|
|
8056
8041
|
"type": {
|
|
8057
|
-
"text": "
|
|
8042
|
+
"text": "string"
|
|
8058
8043
|
},
|
|
8059
|
-
"
|
|
8060
|
-
"
|
|
8061
|
-
"attribute": "
|
|
8044
|
+
"default": "''",
|
|
8045
|
+
"description": "The image source URL to render on the card",
|
|
8046
|
+
"attribute": "image-src",
|
|
8062
8047
|
"reflects": true,
|
|
8063
8048
|
"inheritedFrom": {
|
|
8064
|
-
"name": "
|
|
8065
|
-
"module": "components/
|
|
8049
|
+
"name": "Card",
|
|
8050
|
+
"module": "components/card/card.component.js"
|
|
8066
8051
|
}
|
|
8067
8052
|
},
|
|
8068
8053
|
{
|
|
8069
8054
|
"kind": "field",
|
|
8070
|
-
"name": "
|
|
8055
|
+
"name": "imageAlt",
|
|
8071
8056
|
"type": {
|
|
8072
|
-
"text": "
|
|
8057
|
+
"text": "string"
|
|
8073
8058
|
},
|
|
8074
|
-
"
|
|
8075
|
-
"
|
|
8076
|
-
"attribute": "
|
|
8059
|
+
"default": "''",
|
|
8060
|
+
"description": "The image alt for accessibility support",
|
|
8061
|
+
"attribute": "image-alt",
|
|
8077
8062
|
"reflects": true,
|
|
8078
8063
|
"inheritedFrom": {
|
|
8079
|
-
"name": "
|
|
8080
|
-
"module": "components/
|
|
8064
|
+
"name": "Card",
|
|
8065
|
+
"module": "components/card/card.component.js"
|
|
8081
8066
|
}
|
|
8082
8067
|
},
|
|
8083
8068
|
{
|
|
8084
8069
|
"kind": "field",
|
|
8085
|
-
"name": "
|
|
8070
|
+
"name": "variant",
|
|
8086
8071
|
"type": {
|
|
8087
|
-
"text": "
|
|
8072
|
+
"text": "CardVariant"
|
|
8088
8073
|
},
|
|
8089
|
-
"description": "
|
|
8090
|
-
"default": "
|
|
8091
|
-
"attribute": "
|
|
8074
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8075
|
+
"default": "'border'",
|
|
8076
|
+
"attribute": "variant",
|
|
8092
8077
|
"reflects": true,
|
|
8093
8078
|
"inheritedFrom": {
|
|
8094
|
-
"name": "
|
|
8095
|
-
"module": "components/
|
|
8079
|
+
"name": "Card",
|
|
8080
|
+
"module": "components/card/card.component.js"
|
|
8096
8081
|
}
|
|
8097
8082
|
},
|
|
8098
8083
|
{
|
|
8099
8084
|
"kind": "field",
|
|
8100
|
-
"name": "
|
|
8085
|
+
"name": "orientation",
|
|
8101
8086
|
"type": {
|
|
8102
|
-
"text": "
|
|
8087
|
+
"text": "CardOrientation"
|
|
8103
8088
|
},
|
|
8104
|
-
"description": "
|
|
8105
|
-
"default": "'
|
|
8106
|
-
"attribute": "
|
|
8089
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8090
|
+
"default": "'vertical'",
|
|
8091
|
+
"attribute": "orientation",
|
|
8107
8092
|
"reflects": true,
|
|
8108
8093
|
"inheritedFrom": {
|
|
8109
|
-
"name": "
|
|
8110
|
-
"module": "components/
|
|
8094
|
+
"name": "Card",
|
|
8095
|
+
"module": "components/card/card.component.js"
|
|
8111
8096
|
}
|
|
8112
8097
|
},
|
|
8113
8098
|
{
|
|
8114
8099
|
"kind": "field",
|
|
8115
|
-
"name": "
|
|
8100
|
+
"name": "titleTagName",
|
|
8116
8101
|
"type": {
|
|
8117
|
-
"text": "
|
|
8102
|
+
"text": "TagNameType"
|
|
8118
8103
|
},
|
|
8119
|
-
"description": "
|
|
8120
|
-
"default": "
|
|
8121
|
-
"attribute": "
|
|
8104
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8105
|
+
"default": "'span'",
|
|
8106
|
+
"attribute": "title-tag-name",
|
|
8122
8107
|
"reflects": true,
|
|
8123
8108
|
"inheritedFrom": {
|
|
8124
|
-
"name": "
|
|
8125
|
-
"module": "components/
|
|
8109
|
+
"name": "Card",
|
|
8110
|
+
"module": "components/card/card.component.js"
|
|
8126
8111
|
}
|
|
8127
8112
|
},
|
|
8128
8113
|
{
|
|
8129
8114
|
"kind": "field",
|
|
8130
|
-
"name": "
|
|
8115
|
+
"name": "subtitleTagName",
|
|
8131
8116
|
"type": {
|
|
8132
|
-
"text": "
|
|
8117
|
+
"text": "TagNameType"
|
|
8133
8118
|
},
|
|
8134
|
-
"description": "The name
|
|
8135
|
-
"
|
|
8119
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8120
|
+
"default": "'span'",
|
|
8121
|
+
"attribute": "subtitle-tag-name",
|
|
8136
8122
|
"reflects": true,
|
|
8137
8123
|
"inheritedFrom": {
|
|
8138
|
-
"name": "
|
|
8139
|
-
"module": "components/
|
|
8124
|
+
"name": "Card",
|
|
8125
|
+
"module": "components/card/card.component.js"
|
|
8140
8126
|
}
|
|
8141
8127
|
},
|
|
8142
8128
|
{
|
|
8143
8129
|
"kind": "field",
|
|
8144
|
-
"name": "
|
|
8130
|
+
"name": "iconName",
|
|
8145
8131
|
"type": {
|
|
8146
|
-
"text": "
|
|
8132
|
+
"text": "IconNames | undefined"
|
|
8147
8133
|
},
|
|
8148
|
-
"description": "
|
|
8149
|
-
"attribute": "
|
|
8134
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8135
|
+
"attribute": "icon-name",
|
|
8150
8136
|
"reflects": true,
|
|
8151
8137
|
"inheritedFrom": {
|
|
8152
|
-
"name": "
|
|
8153
|
-
"module": "components/
|
|
8154
|
-
}
|
|
8155
|
-
},
|
|
8156
|
-
{
|
|
8157
|
-
"kind": "method",
|
|
8158
|
-
"name": "executeAction",
|
|
8159
|
-
"privacy": "protected",
|
|
8160
|
-
"inheritedFrom": {
|
|
8161
|
-
"name": "Buttonsimple",
|
|
8162
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8138
|
+
"name": "Card",
|
|
8139
|
+
"module": "components/card/card.component.js"
|
|
8163
8140
|
}
|
|
8164
8141
|
},
|
|
8165
8142
|
{
|
|
8166
8143
|
"kind": "method",
|
|
8167
|
-
"name": "
|
|
8144
|
+
"name": "renderImage",
|
|
8168
8145
|
"privacy": "protected",
|
|
8169
|
-
"
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
"
|
|
8173
|
-
"text": "HTMLElement"
|
|
8174
|
-
},
|
|
8175
|
-
"description": "The button element"
|
|
8176
|
-
},
|
|
8177
|
-
{
|
|
8178
|
-
"name": "active",
|
|
8179
|
-
"optional": true,
|
|
8180
|
-
"type": {
|
|
8181
|
-
"text": "boolean"
|
|
8182
|
-
},
|
|
8183
|
-
"description": "The active state of the element"
|
|
8184
|
-
}
|
|
8185
|
-
],
|
|
8186
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
8187
|
-
"inheritedFrom": {
|
|
8188
|
-
"name": "Buttonsimple",
|
|
8189
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8190
|
-
}
|
|
8191
|
-
},
|
|
8192
|
-
{
|
|
8193
|
-
"kind": "method",
|
|
8194
|
-
"name": "setSoftDisabled",
|
|
8195
|
-
"privacy": "private",
|
|
8196
|
-
"parameters": [
|
|
8197
|
-
{
|
|
8198
|
-
"name": "element",
|
|
8199
|
-
"type": {
|
|
8200
|
-
"text": "HTMLElement"
|
|
8201
|
-
},
|
|
8202
|
-
"description": "The button element."
|
|
8203
|
-
},
|
|
8204
|
-
{
|
|
8205
|
-
"name": "softDisabled",
|
|
8206
|
-
"optional": true,
|
|
8207
|
-
"type": {
|
|
8208
|
-
"text": "boolean"
|
|
8209
|
-
},
|
|
8210
|
-
"description": "The soft-disabled state."
|
|
8146
|
+
"description": "Renders the image on the card if image source is provided",
|
|
8147
|
+
"return": {
|
|
8148
|
+
"type": {
|
|
8149
|
+
"text": ""
|
|
8211
8150
|
}
|
|
8212
|
-
|
|
8213
|
-
"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.",
|
|
8151
|
+
},
|
|
8214
8152
|
"inheritedFrom": {
|
|
8215
|
-
"name": "
|
|
8216
|
-
"module": "components/
|
|
8153
|
+
"name": "Card",
|
|
8154
|
+
"module": "components/card/card.component.js"
|
|
8217
8155
|
}
|
|
8218
8156
|
},
|
|
8219
8157
|
{
|
|
8220
8158
|
"kind": "method",
|
|
8221
|
-
"name": "
|
|
8222
|
-
"privacy": "
|
|
8223
|
-
"
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
"
|
|
8227
|
-
"text": "HTMLElement"
|
|
8228
|
-
},
|
|
8229
|
-
"description": "The button element."
|
|
8230
|
-
},
|
|
8231
|
-
{
|
|
8232
|
-
"name": "disabled",
|
|
8233
|
-
"type": {
|
|
8234
|
-
"text": "boolean"
|
|
8235
|
-
},
|
|
8236
|
-
"description": "The disabled state."
|
|
8159
|
+
"name": "renderIcon",
|
|
8160
|
+
"privacy": "protected",
|
|
8161
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
8162
|
+
"return": {
|
|
8163
|
+
"type": {
|
|
8164
|
+
"text": ""
|
|
8237
8165
|
}
|
|
8238
|
-
|
|
8239
|
-
"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.",
|
|
8240
|
-
"inheritedFrom": {
|
|
8241
|
-
"name": "Buttonsimple",
|
|
8242
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8243
|
-
}
|
|
8244
|
-
},
|
|
8245
|
-
{
|
|
8246
|
-
"kind": "method",
|
|
8247
|
-
"name": "triggerClickEvent",
|
|
8248
|
-
"privacy": "private",
|
|
8249
|
-
"inheritedFrom": {
|
|
8250
|
-
"name": "Buttonsimple",
|
|
8251
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8252
|
-
}
|
|
8253
|
-
},
|
|
8254
|
-
{
|
|
8255
|
-
"kind": "method",
|
|
8256
|
-
"name": "handleBlur",
|
|
8257
|
-
"privacy": "private",
|
|
8258
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
8166
|
+
},
|
|
8259
8167
|
"inheritedFrom": {
|
|
8260
|
-
"name": "
|
|
8261
|
-
"module": "components/
|
|
8168
|
+
"name": "Card",
|
|
8169
|
+
"module": "components/card/card.component.js"
|
|
8262
8170
|
}
|
|
8263
8171
|
},
|
|
8264
8172
|
{
|
|
8265
8173
|
"kind": "method",
|
|
8266
|
-
"name": "
|
|
8267
|
-
"privacy": "
|
|
8268
|
-
"
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
"
|
|
8272
|
-
"text": "KeyboardEvent"
|
|
8273
|
-
},
|
|
8274
|
-
"description": "The keyboard event."
|
|
8174
|
+
"name": "renderTitle",
|
|
8175
|
+
"privacy": "protected",
|
|
8176
|
+
"description": "Renders the title and subtitle on the card",
|
|
8177
|
+
"return": {
|
|
8178
|
+
"type": {
|
|
8179
|
+
"text": ""
|
|
8275
8180
|
}
|
|
8276
|
-
|
|
8277
|
-
"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.",
|
|
8181
|
+
},
|
|
8278
8182
|
"inheritedFrom": {
|
|
8279
|
-
"name": "
|
|
8280
|
-
"module": "components/
|
|
8183
|
+
"name": "Card",
|
|
8184
|
+
"module": "components/card/card.component.js"
|
|
8281
8185
|
}
|
|
8282
8186
|
},
|
|
8283
8187
|
{
|
|
8284
8188
|
"kind": "method",
|
|
8285
|
-
"name": "
|
|
8286
|
-
"privacy": "
|
|
8287
|
-
"
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
"
|
|
8291
|
-
"text": "KeyboardEvent"
|
|
8292
|
-
},
|
|
8293
|
-
"description": "The keyboard event."
|
|
8189
|
+
"name": "renderFooter",
|
|
8190
|
+
"privacy": "protected",
|
|
8191
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
8192
|
+
"return": {
|
|
8193
|
+
"type": {
|
|
8194
|
+
"text": ""
|
|
8294
8195
|
}
|
|
8295
|
-
|
|
8296
|
-
"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.",
|
|
8196
|
+
},
|
|
8297
8197
|
"inheritedFrom": {
|
|
8298
|
-
"name": "
|
|
8299
|
-
"module": "components/
|
|
8198
|
+
"name": "Card",
|
|
8199
|
+
"module": "components/card/card.component.js"
|
|
8300
8200
|
}
|
|
8301
8201
|
}
|
|
8302
8202
|
],
|
|
8303
8203
|
"events": [
|
|
8304
8204
|
{
|
|
8305
|
-
"
|
|
8205
|
+
"name": "change",
|
|
8206
|
+
"type": {
|
|
8207
|
+
"text": "Event"
|
|
8208
|
+
},
|
|
8209
|
+
"description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
|
|
8210
|
+
"reactName": "onChange"
|
|
8211
|
+
},
|
|
8212
|
+
{
|
|
8213
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
|
|
8306
8214
|
"name": "click",
|
|
8307
|
-
"reactName": "onClick"
|
|
8308
|
-
"inheritedFrom": {
|
|
8309
|
-
"name": "Buttonsimple",
|
|
8310
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8311
|
-
}
|
|
8215
|
+
"reactName": "onClick"
|
|
8312
8216
|
},
|
|
8313
8217
|
{
|
|
8314
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It
|
|
8218
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
|
|
8315
8219
|
"name": "keydown",
|
|
8316
|
-
"reactName": "onKeyDown"
|
|
8317
|
-
"inheritedFrom": {
|
|
8318
|
-
"name": "Buttonsimple",
|
|
8319
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8320
|
-
}
|
|
8220
|
+
"reactName": "onKeyDown"
|
|
8321
8221
|
},
|
|
8322
8222
|
{
|
|
8323
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It
|
|
8223
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
|
|
8324
8224
|
"name": "keyup",
|
|
8325
|
-
"reactName": "onKeyUp"
|
|
8326
|
-
"inheritedFrom": {
|
|
8327
|
-
"name": "Buttonsimple",
|
|
8328
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8329
|
-
}
|
|
8225
|
+
"reactName": "onKeyUp"
|
|
8330
8226
|
},
|
|
8331
8227
|
{
|
|
8332
8228
|
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8333
8229
|
"name": "focus",
|
|
8334
|
-
"reactName": "onFocus"
|
|
8335
|
-
"inheritedFrom": {
|
|
8336
|
-
"name": "Buttonsimple",
|
|
8337
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8338
|
-
}
|
|
8339
|
-
}
|
|
8340
|
-
],
|
|
8341
|
-
"mixins": [
|
|
8342
|
-
{
|
|
8343
|
-
"name": "CardComponentMixin",
|
|
8344
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8230
|
+
"reactName": "onFocus"
|
|
8345
8231
|
}
|
|
8346
8232
|
],
|
|
8347
|
-
"superclass": {
|
|
8348
|
-
"name": "Buttonsimple",
|
|
8349
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
8350
|
-
},
|
|
8351
|
-
"tagName": "mdc-cardbutton",
|
|
8352
|
-
"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 */",
|
|
8353
|
-
"customElement": true,
|
|
8354
8233
|
"attributes": [
|
|
8355
8234
|
{
|
|
8356
|
-
"name": "
|
|
8357
|
-
"type": {
|
|
8358
|
-
"text": "string"
|
|
8359
|
-
},
|
|
8360
|
-
"default": "''",
|
|
8361
|
-
"description": "The title of the card - part of header section",
|
|
8362
|
-
"fieldName": "cardTitle",
|
|
8363
|
-
"inheritedFrom": {
|
|
8364
|
-
"name": "CardComponentMixin",
|
|
8365
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8366
|
-
}
|
|
8367
|
-
},
|
|
8368
|
-
{
|
|
8369
|
-
"name": "subtitle",
|
|
8370
|
-
"type": {
|
|
8371
|
-
"text": "string"
|
|
8372
|
-
},
|
|
8373
|
-
"default": "''",
|
|
8374
|
-
"description": "The subtitle of the card - part of header section",
|
|
8375
|
-
"fieldName": "subtitle",
|
|
8376
|
-
"inheritedFrom": {
|
|
8377
|
-
"name": "CardComponentMixin",
|
|
8378
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8379
|
-
}
|
|
8380
|
-
},
|
|
8381
|
-
{
|
|
8382
|
-
"name": "image-src",
|
|
8383
|
-
"type": {
|
|
8384
|
-
"text": "string"
|
|
8385
|
-
},
|
|
8386
|
-
"default": "''",
|
|
8387
|
-
"description": "The image source URL to render on the card",
|
|
8388
|
-
"fieldName": "imageSrc",
|
|
8389
|
-
"inheritedFrom": {
|
|
8390
|
-
"name": "CardComponentMixin",
|
|
8391
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8392
|
-
}
|
|
8393
|
-
},
|
|
8394
|
-
{
|
|
8395
|
-
"name": "image-alt",
|
|
8396
|
-
"type": {
|
|
8397
|
-
"text": "string"
|
|
8398
|
-
},
|
|
8399
|
-
"default": "''",
|
|
8400
|
-
"description": "The image alt for accessibility support",
|
|
8401
|
-
"fieldName": "imageAlt",
|
|
8402
|
-
"inheritedFrom": {
|
|
8403
|
-
"name": "CardComponentMixin",
|
|
8404
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8405
|
-
}
|
|
8406
|
-
},
|
|
8407
|
-
{
|
|
8408
|
-
"name": "variant",
|
|
8409
|
-
"type": {
|
|
8410
|
-
"text": "CardVariant"
|
|
8411
|
-
},
|
|
8412
|
-
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8413
|
-
"default": "'border'",
|
|
8414
|
-
"fieldName": "variant",
|
|
8415
|
-
"inheritedFrom": {
|
|
8416
|
-
"name": "CardComponentMixin",
|
|
8417
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8418
|
-
}
|
|
8419
|
-
},
|
|
8420
|
-
{
|
|
8421
|
-
"name": "orientation",
|
|
8422
|
-
"type": {
|
|
8423
|
-
"text": "CardOrientation"
|
|
8424
|
-
},
|
|
8425
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8426
|
-
"default": "'vertical'",
|
|
8427
|
-
"fieldName": "orientation",
|
|
8428
|
-
"inheritedFrom": {
|
|
8429
|
-
"name": "CardComponentMixin",
|
|
8430
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8431
|
-
}
|
|
8432
|
-
},
|
|
8433
|
-
{
|
|
8434
|
-
"name": "title-tag-name",
|
|
8435
|
-
"type": {
|
|
8436
|
-
"text": "TagNameType"
|
|
8437
|
-
},
|
|
8438
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8439
|
-
"default": "'span'",
|
|
8440
|
-
"fieldName": "titleTagName",
|
|
8441
|
-
"inheritedFrom": {
|
|
8442
|
-
"name": "CardComponentMixin",
|
|
8443
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8444
|
-
}
|
|
8445
|
-
},
|
|
8446
|
-
{
|
|
8447
|
-
"name": "subtitle-tag-name",
|
|
8235
|
+
"name": "checked",
|
|
8448
8236
|
"type": {
|
|
8449
|
-
"text": "
|
|
8237
|
+
"text": "boolean"
|
|
8450
8238
|
},
|
|
8451
|
-
"
|
|
8452
|
-
"
|
|
8453
|
-
"fieldName": "
|
|
8454
|
-
"inheritedFrom": {
|
|
8455
|
-
"name": "CardComponentMixin",
|
|
8456
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8457
|
-
}
|
|
8239
|
+
"default": "false",
|
|
8240
|
+
"description": "The checked state of the card",
|
|
8241
|
+
"fieldName": "checked"
|
|
8458
8242
|
},
|
|
8459
8243
|
{
|
|
8460
|
-
"name": "
|
|
8244
|
+
"name": "selection-type",
|
|
8461
8245
|
"type": {
|
|
8462
|
-
"text": "
|
|
8246
|
+
"text": "SelectionType"
|
|
8463
8247
|
},
|
|
8464
|
-
"description": "
|
|
8465
|
-
"
|
|
8466
|
-
"
|
|
8467
|
-
"name": "CardComponentMixin",
|
|
8468
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8469
|
-
}
|
|
8248
|
+
"description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
|
|
8249
|
+
"default": "'check'",
|
|
8250
|
+
"fieldName": "selectionType"
|
|
8470
8251
|
},
|
|
8471
8252
|
{
|
|
8472
|
-
"name": "
|
|
8253
|
+
"name": "disabled",
|
|
8473
8254
|
"type": {
|
|
8474
|
-
"text": "boolean"
|
|
8255
|
+
"text": "boolean | undefined"
|
|
8475
8256
|
},
|
|
8476
|
-
"
|
|
8477
|
-
"
|
|
8478
|
-
"fieldName": "
|
|
8257
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8258
|
+
"default": "undefined",
|
|
8259
|
+
"fieldName": "disabled",
|
|
8479
8260
|
"inheritedFrom": {
|
|
8480
|
-
"name": "
|
|
8481
|
-
"module": "src/
|
|
8261
|
+
"name": "DisabledMixin",
|
|
8262
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
8482
8263
|
}
|
|
8483
8264
|
},
|
|
8484
8265
|
{
|
|
@@ -8490,126 +8271,144 @@
|
|
|
8490
8271
|
"description": "This property specifies the tab order of the element.",
|
|
8491
8272
|
"fieldName": "tabIndex",
|
|
8492
8273
|
"inheritedFrom": {
|
|
8493
|
-
"name": "
|
|
8494
|
-
"module": "src/
|
|
8274
|
+
"name": "TabIndexMixin",
|
|
8275
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
8495
8276
|
}
|
|
8496
8277
|
},
|
|
8497
8278
|
{
|
|
8498
|
-
"name": "
|
|
8279
|
+
"name": "card-title",
|
|
8499
8280
|
"type": {
|
|
8500
|
-
"text": "
|
|
8281
|
+
"text": "string"
|
|
8501
8282
|
},
|
|
8502
|
-
"
|
|
8503
|
-
"
|
|
8504
|
-
"fieldName": "
|
|
8283
|
+
"default": "''",
|
|
8284
|
+
"description": "The title of the card - part of header section",
|
|
8285
|
+
"fieldName": "cardTitle",
|
|
8505
8286
|
"inheritedFrom": {
|
|
8506
|
-
"name": "
|
|
8507
|
-
"module": "src/components/
|
|
8287
|
+
"name": "Card",
|
|
8288
|
+
"module": "src/components/card/card.component.ts"
|
|
8508
8289
|
}
|
|
8509
8290
|
},
|
|
8510
8291
|
{
|
|
8511
|
-
"name": "
|
|
8292
|
+
"name": "subtitle",
|
|
8512
8293
|
"type": {
|
|
8513
|
-
"text": "
|
|
8294
|
+
"text": "string"
|
|
8514
8295
|
},
|
|
8515
|
-
"
|
|
8516
|
-
"
|
|
8517
|
-
"fieldName": "
|
|
8296
|
+
"default": "''",
|
|
8297
|
+
"description": "The subtitle of the card - part of header section",
|
|
8298
|
+
"fieldName": "subtitle",
|
|
8518
8299
|
"inheritedFrom": {
|
|
8519
|
-
"name": "
|
|
8520
|
-
"module": "src/components/
|
|
8300
|
+
"name": "Card",
|
|
8301
|
+
"module": "src/components/card/card.component.ts"
|
|
8521
8302
|
}
|
|
8522
8303
|
},
|
|
8523
8304
|
{
|
|
8524
|
-
"name": "
|
|
8305
|
+
"name": "image-src",
|
|
8525
8306
|
"type": {
|
|
8526
|
-
"text": "
|
|
8307
|
+
"text": "string"
|
|
8527
8308
|
},
|
|
8528
|
-
"
|
|
8529
|
-
"
|
|
8530
|
-
"fieldName": "
|
|
8309
|
+
"default": "''",
|
|
8310
|
+
"description": "The image source URL to render on the card",
|
|
8311
|
+
"fieldName": "imageSrc",
|
|
8531
8312
|
"inheritedFrom": {
|
|
8532
|
-
"name": "
|
|
8533
|
-
"module": "src/components/
|
|
8313
|
+
"name": "Card",
|
|
8314
|
+
"module": "src/components/card/card.component.ts"
|
|
8534
8315
|
}
|
|
8535
8316
|
},
|
|
8536
8317
|
{
|
|
8537
|
-
"name": "
|
|
8318
|
+
"name": "image-alt",
|
|
8538
8319
|
"type": {
|
|
8539
|
-
"text": "
|
|
8320
|
+
"text": "string"
|
|
8540
8321
|
},
|
|
8541
|
-
"
|
|
8542
|
-
"
|
|
8543
|
-
"fieldName": "
|
|
8322
|
+
"default": "''",
|
|
8323
|
+
"description": "The image alt for accessibility support",
|
|
8324
|
+
"fieldName": "imageAlt",
|
|
8544
8325
|
"inheritedFrom": {
|
|
8545
|
-
"name": "
|
|
8546
|
-
"module": "src/components/
|
|
8326
|
+
"name": "Card",
|
|
8327
|
+
"module": "src/components/card/card.component.ts"
|
|
8547
8328
|
}
|
|
8548
8329
|
},
|
|
8549
8330
|
{
|
|
8550
|
-
"name": "
|
|
8331
|
+
"name": "variant",
|
|
8551
8332
|
"type": {
|
|
8552
|
-
"text": "
|
|
8333
|
+
"text": "CardVariant"
|
|
8553
8334
|
},
|
|
8554
|
-
"description": "
|
|
8555
|
-
"default": "
|
|
8556
|
-
"fieldName": "
|
|
8335
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8336
|
+
"default": "'border'",
|
|
8337
|
+
"fieldName": "variant",
|
|
8557
8338
|
"inheritedFrom": {
|
|
8558
|
-
"name": "
|
|
8559
|
-
"module": "src/components/
|
|
8339
|
+
"name": "Card",
|
|
8340
|
+
"module": "src/components/card/card.component.ts"
|
|
8560
8341
|
}
|
|
8561
8342
|
},
|
|
8562
8343
|
{
|
|
8563
|
-
"name": "
|
|
8344
|
+
"name": "orientation",
|
|
8564
8345
|
"type": {
|
|
8565
|
-
"text": "
|
|
8346
|
+
"text": "CardOrientation"
|
|
8566
8347
|
},
|
|
8567
|
-
"description": "
|
|
8568
|
-
"default": "'
|
|
8569
|
-
"fieldName": "
|
|
8348
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8349
|
+
"default": "'vertical'",
|
|
8350
|
+
"fieldName": "orientation",
|
|
8570
8351
|
"inheritedFrom": {
|
|
8571
|
-
"name": "
|
|
8572
|
-
"module": "src/components/
|
|
8352
|
+
"name": "Card",
|
|
8353
|
+
"module": "src/components/card/card.component.ts"
|
|
8573
8354
|
}
|
|
8574
8355
|
},
|
|
8575
8356
|
{
|
|
8576
|
-
"name": "
|
|
8357
|
+
"name": "title-tag-name",
|
|
8577
8358
|
"type": {
|
|
8578
|
-
"text": "
|
|
8359
|
+
"text": "TagNameType"
|
|
8579
8360
|
},
|
|
8580
|
-
"description": "
|
|
8581
|
-
"default": "
|
|
8582
|
-
"fieldName": "
|
|
8361
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8362
|
+
"default": "'span'",
|
|
8363
|
+
"fieldName": "titleTagName",
|
|
8583
8364
|
"inheritedFrom": {
|
|
8584
|
-
"name": "
|
|
8585
|
-
"module": "src/components/
|
|
8365
|
+
"name": "Card",
|
|
8366
|
+
"module": "src/components/card/card.component.ts"
|
|
8586
8367
|
}
|
|
8587
8368
|
},
|
|
8588
8369
|
{
|
|
8589
|
-
"name": "name",
|
|
8370
|
+
"name": "subtitle-tag-name",
|
|
8590
8371
|
"type": {
|
|
8591
|
-
"text": "
|
|
8372
|
+
"text": "TagNameType"
|
|
8592
8373
|
},
|
|
8593
|
-
"description": "The name
|
|
8594
|
-
"
|
|
8374
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8375
|
+
"default": "'span'",
|
|
8376
|
+
"fieldName": "subtitleTagName",
|
|
8595
8377
|
"inheritedFrom": {
|
|
8596
|
-
"name": "
|
|
8597
|
-
"module": "src/components/
|
|
8378
|
+
"name": "Card",
|
|
8379
|
+
"module": "src/components/card/card.component.ts"
|
|
8598
8380
|
}
|
|
8599
8381
|
},
|
|
8600
8382
|
{
|
|
8601
|
-
"name": "
|
|
8383
|
+
"name": "icon-name",
|
|
8602
8384
|
"type": {
|
|
8603
|
-
"text": "
|
|
8385
|
+
"text": "IconNames | undefined"
|
|
8604
8386
|
},
|
|
8605
|
-
"description": "
|
|
8606
|
-
"fieldName": "
|
|
8387
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8388
|
+
"fieldName": "iconName",
|
|
8607
8389
|
"inheritedFrom": {
|
|
8608
|
-
"name": "
|
|
8609
|
-
"module": "src/components/
|
|
8390
|
+
"name": "Card",
|
|
8391
|
+
"module": "src/components/card/card.component.ts"
|
|
8610
8392
|
}
|
|
8611
8393
|
}
|
|
8612
|
-
]
|
|
8394
|
+
],
|
|
8395
|
+
"mixins": [
|
|
8396
|
+
{
|
|
8397
|
+
"name": "DisabledMixin",
|
|
8398
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
|
8399
|
+
},
|
|
8400
|
+
{
|
|
8401
|
+
"name": "TabIndexMixin",
|
|
8402
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
|
8403
|
+
}
|
|
8404
|
+
],
|
|
8405
|
+
"superclass": {
|
|
8406
|
+
"name": "Card",
|
|
8407
|
+
"module": "/src/components/card/card.component"
|
|
8408
|
+
},
|
|
8409
|
+
"tagName": "mdc-cardcheckbox",
|
|
8410
|
+
"jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\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 * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
|
|
8411
|
+
"customElement": true
|
|
8613
8412
|
}
|
|
8614
8413
|
],
|
|
8615
8414
|
"exports": [
|
|
@@ -8617,280 +8416,326 @@
|
|
|
8617
8416
|
"kind": "js",
|
|
8618
8417
|
"name": "default",
|
|
8619
8418
|
"declaration": {
|
|
8620
|
-
"name": "
|
|
8621
|
-
"module": "components/
|
|
8419
|
+
"name": "CardCheckbox",
|
|
8420
|
+
"module": "components/cardcheckbox/cardcheckbox.component.js"
|
|
8622
8421
|
}
|
|
8623
8422
|
}
|
|
8624
8423
|
]
|
|
8625
8424
|
},
|
|
8626
8425
|
{
|
|
8627
8426
|
"kind": "javascript-module",
|
|
8628
|
-
"path": "components/
|
|
8427
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
|
8629
8428
|
"declarations": [
|
|
8630
8429
|
{
|
|
8631
8430
|
"kind": "class",
|
|
8632
|
-
"description": "
|
|
8633
|
-
"name": "
|
|
8431
|
+
"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.",
|
|
8432
|
+
"name": "CardButton",
|
|
8634
8433
|
"cssProperties": [
|
|
8635
8434
|
{
|
|
8636
8435
|
"description": "The width of the card",
|
|
8637
|
-
"name": "--mdc-card-width"
|
|
8436
|
+
"name": "--mdc-card-width"
|
|
8437
|
+
},
|
|
8438
|
+
{
|
|
8439
|
+
"description": "Height for button size",
|
|
8440
|
+
"name": "--mdc-button-height",
|
|
8638
8441
|
"inheritedFrom": {
|
|
8639
|
-
"name": "
|
|
8640
|
-
"module": "src/components/
|
|
8442
|
+
"name": "Buttonsimple",
|
|
8443
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8641
8444
|
}
|
|
8642
|
-
}
|
|
8643
|
-
],
|
|
8644
|
-
"cssParts": [
|
|
8445
|
+
},
|
|
8645
8446
|
{
|
|
8646
|
-
"description": "
|
|
8647
|
-
"name": "
|
|
8447
|
+
"description": "Background color of the button",
|
|
8448
|
+
"name": "--mdc-button-background",
|
|
8648
8449
|
"inheritedFrom": {
|
|
8649
|
-
"name": "
|
|
8650
|
-
"module": "src/components/
|
|
8450
|
+
"name": "Buttonsimple",
|
|
8451
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8651
8452
|
}
|
|
8652
8453
|
},
|
|
8653
8454
|
{
|
|
8654
|
-
"description": "
|
|
8655
|
-
"name": "
|
|
8455
|
+
"description": "Borer color of the button",
|
|
8456
|
+
"name": "--mdc-button-border-color",
|
|
8656
8457
|
"inheritedFrom": {
|
|
8657
|
-
"name": "
|
|
8658
|
-
"module": "src/components/
|
|
8458
|
+
"name": "Buttonsimple",
|
|
8459
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8659
8460
|
}
|
|
8660
8461
|
},
|
|
8661
8462
|
{
|
|
8662
|
-
"description": "
|
|
8663
|
-
"name": "
|
|
8463
|
+
"description": "Text color of the button",
|
|
8464
|
+
"name": "--mdc-button-text-color",
|
|
8664
8465
|
"inheritedFrom": {
|
|
8665
|
-
"name": "
|
|
8666
|
-
"module": "src/components/
|
|
8466
|
+
"name": "Buttonsimple",
|
|
8467
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8667
8468
|
}
|
|
8469
|
+
}
|
|
8470
|
+
],
|
|
8471
|
+
"cssParts": [
|
|
8472
|
+
{
|
|
8473
|
+
"description": "The header part of the card",
|
|
8474
|
+
"name": "header"
|
|
8475
|
+
},
|
|
8476
|
+
{
|
|
8477
|
+
"description": "The icon part of the card header",
|
|
8478
|
+
"name": "icon"
|
|
8479
|
+
},
|
|
8480
|
+
{
|
|
8481
|
+
"description": "The body part of the card",
|
|
8482
|
+
"name": "body"
|
|
8668
8483
|
},
|
|
8669
8484
|
{
|
|
8670
8485
|
"description": "The image part of the card",
|
|
8671
|
-
"name": "image"
|
|
8672
|
-
"inheritedFrom": {
|
|
8673
|
-
"name": "Card",
|
|
8674
|
-
"module": "src/components/card/card.component.ts"
|
|
8675
|
-
}
|
|
8486
|
+
"name": "image"
|
|
8676
8487
|
},
|
|
8677
8488
|
{
|
|
8678
8489
|
"description": "The footer part of the card",
|
|
8679
|
-
"name": "footer"
|
|
8680
|
-
"inheritedFrom": {
|
|
8681
|
-
"name": "Card",
|
|
8682
|
-
"module": "src/components/card/card.component.ts"
|
|
8683
|
-
}
|
|
8490
|
+
"name": "footer"
|
|
8684
8491
|
},
|
|
8685
8492
|
{
|
|
8686
8493
|
"description": "The link part of the card footer",
|
|
8687
|
-
"name": "footer-link"
|
|
8688
|
-
"inheritedFrom": {
|
|
8689
|
-
"name": "Card",
|
|
8690
|
-
"module": "src/components/card/card.component.ts"
|
|
8691
|
-
}
|
|
8494
|
+
"name": "footer-link"
|
|
8692
8495
|
},
|
|
8693
8496
|
{
|
|
8694
8497
|
"description": "The primary button part of the card footer",
|
|
8695
|
-
"name": "footer-button-primary"
|
|
8696
|
-
"inheritedFrom": {
|
|
8697
|
-
"name": "Card",
|
|
8698
|
-
"module": "src/components/card/card.component.ts"
|
|
8699
|
-
}
|
|
8498
|
+
"name": "footer-button-primary"
|
|
8700
8499
|
},
|
|
8701
8500
|
{
|
|
8702
8501
|
"description": "The secondary button part of the card footer",
|
|
8703
|
-
"name": "footer-button-secondary"
|
|
8704
|
-
"inheritedFrom": {
|
|
8705
|
-
"name": "Card",
|
|
8706
|
-
"module": "src/components/card/card.component.ts"
|
|
8707
|
-
}
|
|
8502
|
+
"name": "footer-button-secondary"
|
|
8708
8503
|
},
|
|
8709
8504
|
{
|
|
8710
8505
|
"description": "The icon button part of the card header",
|
|
8711
|
-
"name": "icon-button"
|
|
8712
|
-
"inheritedFrom": {
|
|
8713
|
-
"name": "Card",
|
|
8714
|
-
"module": "src/components/card/card.component.ts"
|
|
8715
|
-
}
|
|
8506
|
+
"name": "icon-button"
|
|
8716
8507
|
},
|
|
8717
8508
|
{
|
|
8718
8509
|
"description": "The text part of the card",
|
|
8719
|
-
"name": "text"
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8510
|
+
"name": "text"
|
|
8511
|
+
}
|
|
8512
|
+
],
|
|
8513
|
+
"slots": [
|
|
8514
|
+
{
|
|
8515
|
+
"description": "This slot is for passing the content before the body",
|
|
8516
|
+
"name": "before-body"
|
|
8724
8517
|
},
|
|
8725
8518
|
{
|
|
8726
|
-
"description": "
|
|
8727
|
-
"name": "
|
|
8519
|
+
"description": "This slot is for passing the text content for the card",
|
|
8520
|
+
"name": "body"
|
|
8728
8521
|
},
|
|
8729
8522
|
{
|
|
8730
|
-
"description": "
|
|
8731
|
-
"name": "
|
|
8523
|
+
"description": "This slot is for passing the content after the body",
|
|
8524
|
+
"name": "after-body"
|
|
8732
8525
|
},
|
|
8733
8526
|
{
|
|
8734
|
-
"description": "
|
|
8735
|
-
"name": "
|
|
8527
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
8528
|
+
"name": "footer-link"
|
|
8529
|
+
},
|
|
8530
|
+
{
|
|
8531
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
8532
|
+
"name": "footer-button-primary"
|
|
8736
8533
|
}
|
|
8737
8534
|
],
|
|
8738
|
-
"
|
|
8535
|
+
"members": [
|
|
8739
8536
|
{
|
|
8740
|
-
"
|
|
8741
|
-
"name": "
|
|
8537
|
+
"kind": "method",
|
|
8538
|
+
"name": "renderHeader",
|
|
8539
|
+
"privacy": "protected",
|
|
8540
|
+
"description": "Renders the header of the card if title is provided",
|
|
8541
|
+
"return": {
|
|
8542
|
+
"type": {
|
|
8543
|
+
"text": ""
|
|
8544
|
+
}
|
|
8545
|
+
}
|
|
8546
|
+
},
|
|
8547
|
+
{
|
|
8548
|
+
"kind": "field",
|
|
8549
|
+
"name": "cardTitle",
|
|
8550
|
+
"type": {
|
|
8551
|
+
"text": "string"
|
|
8552
|
+
},
|
|
8553
|
+
"default": "''",
|
|
8554
|
+
"description": "The title of the card - part of header section",
|
|
8555
|
+
"attribute": "card-title",
|
|
8556
|
+
"reflects": true,
|
|
8742
8557
|
"inheritedFrom": {
|
|
8743
|
-
"name": "
|
|
8744
|
-
"module": "
|
|
8558
|
+
"name": "CardComponentMixin",
|
|
8559
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8745
8560
|
}
|
|
8746
8561
|
},
|
|
8747
8562
|
{
|
|
8748
|
-
"
|
|
8749
|
-
"name": "
|
|
8563
|
+
"kind": "field",
|
|
8564
|
+
"name": "subtitle",
|
|
8565
|
+
"type": {
|
|
8566
|
+
"text": "string"
|
|
8567
|
+
},
|
|
8568
|
+
"default": "''",
|
|
8569
|
+
"description": "The subtitle of the card - part of header section",
|
|
8570
|
+
"attribute": "subtitle",
|
|
8571
|
+
"reflects": true,
|
|
8750
8572
|
"inheritedFrom": {
|
|
8751
|
-
"name": "
|
|
8752
|
-
"module": "
|
|
8573
|
+
"name": "CardComponentMixin",
|
|
8574
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8753
8575
|
}
|
|
8754
8576
|
},
|
|
8755
8577
|
{
|
|
8756
|
-
"
|
|
8757
|
-
"name": "
|
|
8578
|
+
"kind": "field",
|
|
8579
|
+
"name": "imageSrc",
|
|
8580
|
+
"type": {
|
|
8581
|
+
"text": "string"
|
|
8582
|
+
},
|
|
8583
|
+
"default": "''",
|
|
8584
|
+
"description": "The image source URL to render on the card",
|
|
8585
|
+
"attribute": "image-src",
|
|
8586
|
+
"reflects": true,
|
|
8758
8587
|
"inheritedFrom": {
|
|
8759
|
-
"name": "
|
|
8760
|
-
"module": "
|
|
8588
|
+
"name": "CardComponentMixin",
|
|
8589
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8761
8590
|
}
|
|
8762
8591
|
},
|
|
8763
8592
|
{
|
|
8764
|
-
"
|
|
8765
|
-
"name": "
|
|
8593
|
+
"kind": "field",
|
|
8594
|
+
"name": "imageAlt",
|
|
8595
|
+
"type": {
|
|
8596
|
+
"text": "string"
|
|
8597
|
+
},
|
|
8598
|
+
"default": "''",
|
|
8599
|
+
"description": "The image alt for accessibility support",
|
|
8600
|
+
"attribute": "image-alt",
|
|
8601
|
+
"reflects": true,
|
|
8766
8602
|
"inheritedFrom": {
|
|
8767
|
-
"name": "
|
|
8768
|
-
"module": "
|
|
8603
|
+
"name": "CardComponentMixin",
|
|
8604
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8769
8605
|
}
|
|
8770
8606
|
},
|
|
8771
8607
|
{
|
|
8772
|
-
"
|
|
8773
|
-
"name": "
|
|
8608
|
+
"kind": "field",
|
|
8609
|
+
"name": "variant",
|
|
8610
|
+
"type": {
|
|
8611
|
+
"text": "CardVariant"
|
|
8612
|
+
},
|
|
8613
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8614
|
+
"default": "'border'",
|
|
8615
|
+
"attribute": "variant",
|
|
8616
|
+
"reflects": true,
|
|
8774
8617
|
"inheritedFrom": {
|
|
8775
|
-
"name": "
|
|
8776
|
-
"module": "
|
|
8618
|
+
"name": "CardComponentMixin",
|
|
8619
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8777
8620
|
}
|
|
8778
8621
|
},
|
|
8779
8622
|
{
|
|
8780
|
-
"
|
|
8781
|
-
"name": "
|
|
8623
|
+
"kind": "field",
|
|
8624
|
+
"name": "orientation",
|
|
8625
|
+
"type": {
|
|
8626
|
+
"text": "CardOrientation"
|
|
8627
|
+
},
|
|
8628
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8629
|
+
"default": "'vertical'",
|
|
8630
|
+
"attribute": "orientation",
|
|
8631
|
+
"reflects": true,
|
|
8782
8632
|
"inheritedFrom": {
|
|
8783
|
-
"name": "
|
|
8784
|
-
"module": "
|
|
8633
|
+
"name": "CardComponentMixin",
|
|
8634
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8785
8635
|
}
|
|
8786
8636
|
},
|
|
8787
8637
|
{
|
|
8788
|
-
"
|
|
8789
|
-
"name": "
|
|
8638
|
+
"kind": "field",
|
|
8639
|
+
"name": "titleTagName",
|
|
8640
|
+
"type": {
|
|
8641
|
+
"text": "TagNameType"
|
|
8642
|
+
},
|
|
8643
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8644
|
+
"default": "'span'",
|
|
8645
|
+
"attribute": "title-tag-name",
|
|
8646
|
+
"reflects": true,
|
|
8790
8647
|
"inheritedFrom": {
|
|
8791
|
-
"name": "
|
|
8792
|
-
"module": "
|
|
8648
|
+
"name": "CardComponentMixin",
|
|
8649
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8793
8650
|
}
|
|
8794
|
-
}
|
|
8795
|
-
],
|
|
8796
|
-
"members": [
|
|
8651
|
+
},
|
|
8797
8652
|
{
|
|
8798
8653
|
"kind": "field",
|
|
8799
|
-
"name": "
|
|
8654
|
+
"name": "subtitleTagName",
|
|
8800
8655
|
"type": {
|
|
8801
|
-
"text": "
|
|
8656
|
+
"text": "TagNameType"
|
|
8802
8657
|
},
|
|
8803
|
-
"
|
|
8804
|
-
"
|
|
8805
|
-
"attribute": "
|
|
8806
|
-
"reflects": true
|
|
8658
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8659
|
+
"default": "'span'",
|
|
8660
|
+
"attribute": "subtitle-tag-name",
|
|
8661
|
+
"reflects": true,
|
|
8662
|
+
"inheritedFrom": {
|
|
8663
|
+
"name": "CardComponentMixin",
|
|
8664
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8665
|
+
}
|
|
8807
8666
|
},
|
|
8808
8667
|
{
|
|
8809
8668
|
"kind": "field",
|
|
8810
|
-
"name": "
|
|
8669
|
+
"name": "iconName",
|
|
8811
8670
|
"type": {
|
|
8812
|
-
"text": "
|
|
8671
|
+
"text": "IconNames | undefined"
|
|
8813
8672
|
},
|
|
8814
|
-
"description": "
|
|
8815
|
-
"
|
|
8816
|
-
"
|
|
8817
|
-
"
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
"name": "toggleChecked",
|
|
8822
|
-
"privacy": "private",
|
|
8823
|
-
"description": "Toggles the checked state"
|
|
8824
|
-
},
|
|
8825
|
-
{
|
|
8826
|
-
"kind": "method",
|
|
8827
|
-
"name": "toggleOnEnter",
|
|
8828
|
-
"privacy": "private",
|
|
8829
|
-
"parameters": [
|
|
8830
|
-
{
|
|
8831
|
-
"name": "event",
|
|
8832
|
-
"type": {
|
|
8833
|
-
"text": "KeyboardEvent"
|
|
8834
|
-
},
|
|
8835
|
-
"description": "The keyboard event"
|
|
8836
|
-
}
|
|
8837
|
-
],
|
|
8838
|
-
"description": "Toggles the checked state when enter key is used"
|
|
8673
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8674
|
+
"attribute": "icon-name",
|
|
8675
|
+
"reflects": true,
|
|
8676
|
+
"inheritedFrom": {
|
|
8677
|
+
"name": "CardComponentMixin",
|
|
8678
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8679
|
+
}
|
|
8839
8680
|
},
|
|
8840
8681
|
{
|
|
8841
8682
|
"kind": "method",
|
|
8842
|
-
"name": "
|
|
8843
|
-
"privacy": "
|
|
8844
|
-
"
|
|
8845
|
-
|
|
8846
|
-
|
|
8847
|
-
"
|
|
8848
|
-
"text": "KeyboardEvent"
|
|
8849
|
-
},
|
|
8850
|
-
"description": "The keyboard event"
|
|
8683
|
+
"name": "renderImage",
|
|
8684
|
+
"privacy": "protected",
|
|
8685
|
+
"description": "Renders the image on the card if image source is provided",
|
|
8686
|
+
"return": {
|
|
8687
|
+
"type": {
|
|
8688
|
+
"text": ""
|
|
8851
8689
|
}
|
|
8852
|
-
|
|
8853
|
-
"
|
|
8690
|
+
},
|
|
8691
|
+
"inheritedFrom": {
|
|
8692
|
+
"name": "CardComponentMixin",
|
|
8693
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8694
|
+
}
|
|
8854
8695
|
},
|
|
8855
8696
|
{
|
|
8856
8697
|
"kind": "method",
|
|
8857
|
-
"name": "
|
|
8858
|
-
"privacy": "
|
|
8859
|
-
"description": "Renders the
|
|
8698
|
+
"name": "renderIcon",
|
|
8699
|
+
"privacy": "protected",
|
|
8700
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
8860
8701
|
"return": {
|
|
8861
8702
|
"type": {
|
|
8862
8703
|
"text": ""
|
|
8863
8704
|
}
|
|
8705
|
+
},
|
|
8706
|
+
"inheritedFrom": {
|
|
8707
|
+
"name": "CardComponentMixin",
|
|
8708
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8864
8709
|
}
|
|
8865
8710
|
},
|
|
8866
8711
|
{
|
|
8867
8712
|
"kind": "method",
|
|
8868
|
-
"name": "
|
|
8713
|
+
"name": "renderTitle",
|
|
8869
8714
|
"privacy": "protected",
|
|
8870
|
-
"description": "Renders the
|
|
8715
|
+
"description": "Renders the title and subtitle on the card",
|
|
8871
8716
|
"return": {
|
|
8872
8717
|
"type": {
|
|
8873
8718
|
"text": ""
|
|
8874
8719
|
}
|
|
8875
8720
|
},
|
|
8876
8721
|
"inheritedFrom": {
|
|
8877
|
-
"name": "
|
|
8878
|
-
"module": "
|
|
8722
|
+
"name": "CardComponentMixin",
|
|
8723
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8879
8724
|
}
|
|
8880
8725
|
},
|
|
8881
8726
|
{
|
|
8882
8727
|
"kind": "field",
|
|
8883
|
-
"name": "
|
|
8728
|
+
"name": "autoFocusOnMount",
|
|
8884
8729
|
"type": {
|
|
8885
|
-
"text": "boolean
|
|
8730
|
+
"text": "boolean"
|
|
8886
8731
|
},
|
|
8887
|
-
"
|
|
8888
|
-
"
|
|
8889
|
-
"attribute": "
|
|
8732
|
+
"default": "false",
|
|
8733
|
+
"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.",
|
|
8734
|
+
"attribute": "auto-focus-on-mount",
|
|
8890
8735
|
"reflects": true,
|
|
8891
8736
|
"inheritedFrom": {
|
|
8892
|
-
"name": "
|
|
8893
|
-
"module": "
|
|
8737
|
+
"name": "Buttonsimple",
|
|
8738
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8894
8739
|
}
|
|
8895
8740
|
},
|
|
8896
8741
|
{
|
|
@@ -8904,280 +8749,342 @@
|
|
|
8904
8749
|
"attribute": "tabIndex",
|
|
8905
8750
|
"reflects": true,
|
|
8906
8751
|
"inheritedFrom": {
|
|
8907
|
-
"name": "
|
|
8908
|
-
"module": "
|
|
8752
|
+
"name": "Buttonsimple",
|
|
8753
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8909
8754
|
}
|
|
8910
8755
|
},
|
|
8911
8756
|
{
|
|
8912
8757
|
"kind": "field",
|
|
8913
|
-
"name": "
|
|
8758
|
+
"name": "disabled",
|
|
8914
8759
|
"type": {
|
|
8915
|
-
"text": "
|
|
8760
|
+
"text": "boolean | undefined"
|
|
8916
8761
|
},
|
|
8917
|
-
"
|
|
8918
|
-
"
|
|
8919
|
-
"attribute": "
|
|
8762
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8763
|
+
"default": "undefined",
|
|
8764
|
+
"attribute": "disabled",
|
|
8920
8765
|
"reflects": true,
|
|
8921
8766
|
"inheritedFrom": {
|
|
8922
|
-
"name": "
|
|
8923
|
-
"module": "components/
|
|
8767
|
+
"name": "Buttonsimple",
|
|
8768
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8924
8769
|
}
|
|
8925
8770
|
},
|
|
8926
8771
|
{
|
|
8927
8772
|
"kind": "field",
|
|
8928
|
-
"name": "
|
|
8773
|
+
"name": "active",
|
|
8929
8774
|
"type": {
|
|
8930
|
-
"text": "
|
|
8775
|
+
"text": "boolean | undefined"
|
|
8931
8776
|
},
|
|
8932
|
-
"
|
|
8933
|
-
"
|
|
8934
|
-
"attribute": "
|
|
8777
|
+
"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.",
|
|
8778
|
+
"default": "undefined",
|
|
8779
|
+
"attribute": "active",
|
|
8935
8780
|
"reflects": true,
|
|
8936
8781
|
"inheritedFrom": {
|
|
8937
|
-
"name": "
|
|
8938
|
-
"module": "components/
|
|
8782
|
+
"name": "Buttonsimple",
|
|
8783
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8939
8784
|
}
|
|
8940
8785
|
},
|
|
8941
8786
|
{
|
|
8942
8787
|
"kind": "field",
|
|
8943
|
-
"name": "
|
|
8788
|
+
"name": "softDisabled",
|
|
8944
8789
|
"type": {
|
|
8945
|
-
"text": "
|
|
8790
|
+
"text": "boolean | undefined"
|
|
8946
8791
|
},
|
|
8947
|
-
"
|
|
8948
|
-
"
|
|
8949
|
-
"attribute": "
|
|
8792
|
+
"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.",
|
|
8793
|
+
"default": "undefined",
|
|
8794
|
+
"attribute": "soft-disabled",
|
|
8950
8795
|
"reflects": true,
|
|
8951
8796
|
"inheritedFrom": {
|
|
8952
|
-
"name": "
|
|
8953
|
-
"module": "components/
|
|
8797
|
+
"name": "Buttonsimple",
|
|
8798
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8954
8799
|
}
|
|
8955
8800
|
},
|
|
8956
8801
|
{
|
|
8957
8802
|
"kind": "field",
|
|
8958
|
-
"name": "
|
|
8803
|
+
"name": "size",
|
|
8959
8804
|
"type": {
|
|
8960
|
-
"text": "
|
|
8961
|
-
},
|
|
8962
|
-
"
|
|
8963
|
-
"
|
|
8964
|
-
"attribute": "
|
|
8805
|
+
"text": "ButtonSize"
|
|
8806
|
+
},
|
|
8807
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8808
|
+
"default": "32",
|
|
8809
|
+
"attribute": "size",
|
|
8965
8810
|
"reflects": true,
|
|
8966
8811
|
"inheritedFrom": {
|
|
8967
|
-
"name": "
|
|
8968
|
-
"module": "components/
|
|
8812
|
+
"name": "Buttonsimple",
|
|
8813
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8969
8814
|
}
|
|
8970
8815
|
},
|
|
8971
8816
|
{
|
|
8972
8817
|
"kind": "field",
|
|
8973
|
-
"name": "
|
|
8818
|
+
"name": "role",
|
|
8974
8819
|
"type": {
|
|
8975
|
-
"text": "
|
|
8820
|
+
"text": "RoleType"
|
|
8976
8821
|
},
|
|
8977
|
-
"description": "
|
|
8978
|
-
"default": "
|
|
8979
|
-
"attribute": "
|
|
8822
|
+
"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.",
|
|
8823
|
+
"default": "button",
|
|
8824
|
+
"attribute": "role",
|
|
8980
8825
|
"reflects": true,
|
|
8981
8826
|
"inheritedFrom": {
|
|
8982
|
-
"name": "
|
|
8983
|
-
"module": "components/
|
|
8827
|
+
"name": "Buttonsimple",
|
|
8828
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8984
8829
|
}
|
|
8985
8830
|
},
|
|
8986
8831
|
{
|
|
8987
8832
|
"kind": "field",
|
|
8988
|
-
"name": "
|
|
8833
|
+
"name": "ariaStateKey",
|
|
8989
8834
|
"type": {
|
|
8990
|
-
"text": "
|
|
8835
|
+
"text": "string | undefined"
|
|
8991
8836
|
},
|
|
8992
|
-
"description": "
|
|
8993
|
-
"default": "'
|
|
8994
|
-
"attribute": "
|
|
8837
|
+
"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`",
|
|
8838
|
+
"default": "'aria-pressed' (when)",
|
|
8839
|
+
"attribute": "ariaStateKey",
|
|
8995
8840
|
"reflects": true,
|
|
8996
8841
|
"inheritedFrom": {
|
|
8997
|
-
"name": "
|
|
8998
|
-
"module": "components/
|
|
8842
|
+
"name": "Buttonsimple",
|
|
8843
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8999
8844
|
}
|
|
9000
8845
|
},
|
|
9001
8846
|
{
|
|
9002
8847
|
"kind": "field",
|
|
9003
|
-
"name": "
|
|
8848
|
+
"name": "type",
|
|
9004
8849
|
"type": {
|
|
9005
|
-
"text": "
|
|
8850
|
+
"text": "ButtonType"
|
|
9006
8851
|
},
|
|
9007
|
-
"description": "
|
|
9008
|
-
"default": "
|
|
9009
|
-
"attribute": "
|
|
8852
|
+
"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.",
|
|
8853
|
+
"default": "button",
|
|
8854
|
+
"attribute": "type",
|
|
9010
8855
|
"reflects": true,
|
|
9011
8856
|
"inheritedFrom": {
|
|
9012
|
-
"name": "
|
|
9013
|
-
"module": "components/
|
|
8857
|
+
"name": "Buttonsimple",
|
|
8858
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9014
8859
|
}
|
|
9015
8860
|
},
|
|
9016
8861
|
{
|
|
9017
8862
|
"kind": "field",
|
|
9018
|
-
"name": "
|
|
8863
|
+
"name": "name",
|
|
9019
8864
|
"type": {
|
|
9020
|
-
"text": "
|
|
8865
|
+
"text": "string | undefined"
|
|
9021
8866
|
},
|
|
9022
|
-
"description": "The
|
|
9023
|
-
"
|
|
9024
|
-
"attribute": "subtitle-tag-name",
|
|
8867
|
+
"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.",
|
|
8868
|
+
"attribute": "name",
|
|
9025
8869
|
"reflects": true,
|
|
9026
8870
|
"inheritedFrom": {
|
|
9027
|
-
"name": "
|
|
9028
|
-
"module": "components/
|
|
8871
|
+
"name": "Buttonsimple",
|
|
8872
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9029
8873
|
}
|
|
9030
8874
|
},
|
|
9031
8875
|
{
|
|
9032
8876
|
"kind": "field",
|
|
9033
|
-
"name": "
|
|
8877
|
+
"name": "value",
|
|
9034
8878
|
"type": {
|
|
9035
|
-
"text": "
|
|
8879
|
+
"text": "string | undefined"
|
|
9036
8880
|
},
|
|
9037
|
-
"description": "
|
|
9038
|
-
"attribute": "
|
|
8881
|
+
"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.",
|
|
8882
|
+
"attribute": "value",
|
|
9039
8883
|
"reflects": true,
|
|
9040
8884
|
"inheritedFrom": {
|
|
9041
|
-
"name": "
|
|
9042
|
-
"module": "components/
|
|
8885
|
+
"name": "Buttonsimple",
|
|
8886
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9043
8887
|
}
|
|
9044
8888
|
},
|
|
9045
8889
|
{
|
|
9046
8890
|
"kind": "method",
|
|
9047
|
-
"name": "
|
|
8891
|
+
"name": "executeAction",
|
|
9048
8892
|
"privacy": "protected",
|
|
9049
|
-
"description": "Renders the image on the card if image source is provided",
|
|
9050
|
-
"return": {
|
|
9051
|
-
"type": {
|
|
9052
|
-
"text": ""
|
|
9053
|
-
}
|
|
9054
|
-
},
|
|
9055
8893
|
"inheritedFrom": {
|
|
9056
|
-
"name": "
|
|
9057
|
-
"module": "components/
|
|
8894
|
+
"name": "Buttonsimple",
|
|
8895
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9058
8896
|
}
|
|
9059
8897
|
},
|
|
9060
8898
|
{
|
|
9061
8899
|
"kind": "method",
|
|
9062
|
-
"name": "
|
|
8900
|
+
"name": "setActive",
|
|
9063
8901
|
"privacy": "protected",
|
|
9064
|
-
"
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
"
|
|
8902
|
+
"parameters": [
|
|
8903
|
+
{
|
|
8904
|
+
"name": "element",
|
|
8905
|
+
"type": {
|
|
8906
|
+
"text": "HTMLElement"
|
|
8907
|
+
},
|
|
8908
|
+
"description": "The button element"
|
|
8909
|
+
},
|
|
8910
|
+
{
|
|
8911
|
+
"name": "active",
|
|
8912
|
+
"optional": true,
|
|
8913
|
+
"type": {
|
|
8914
|
+
"text": "boolean"
|
|
8915
|
+
},
|
|
8916
|
+
"description": "The active state of the element"
|
|
9068
8917
|
}
|
|
9069
|
-
|
|
8918
|
+
],
|
|
8919
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
9070
8920
|
"inheritedFrom": {
|
|
9071
|
-
"name": "
|
|
9072
|
-
"module": "components/
|
|
8921
|
+
"name": "Buttonsimple",
|
|
8922
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9073
8923
|
}
|
|
9074
8924
|
},
|
|
9075
8925
|
{
|
|
9076
8926
|
"kind": "method",
|
|
9077
|
-
"name": "
|
|
9078
|
-
"privacy": "
|
|
9079
|
-
"
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
"
|
|
8927
|
+
"name": "setSoftDisabled",
|
|
8928
|
+
"privacy": "private",
|
|
8929
|
+
"parameters": [
|
|
8930
|
+
{
|
|
8931
|
+
"name": "element",
|
|
8932
|
+
"type": {
|
|
8933
|
+
"text": "HTMLElement"
|
|
8934
|
+
},
|
|
8935
|
+
"description": "The button element."
|
|
8936
|
+
},
|
|
8937
|
+
{
|
|
8938
|
+
"name": "softDisabled",
|
|
8939
|
+
"optional": true,
|
|
8940
|
+
"type": {
|
|
8941
|
+
"text": "boolean"
|
|
8942
|
+
},
|
|
8943
|
+
"description": "The soft-disabled state."
|
|
9083
8944
|
}
|
|
9084
|
-
|
|
8945
|
+
],
|
|
8946
|
+
"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.",
|
|
9085
8947
|
"inheritedFrom": {
|
|
9086
|
-
"name": "
|
|
9087
|
-
"module": "components/
|
|
8948
|
+
"name": "Buttonsimple",
|
|
8949
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9088
8950
|
}
|
|
9089
8951
|
},
|
|
9090
8952
|
{
|
|
9091
8953
|
"kind": "method",
|
|
9092
|
-
"name": "
|
|
9093
|
-
"privacy": "
|
|
9094
|
-
"
|
|
9095
|
-
|
|
9096
|
-
|
|
9097
|
-
"
|
|
8954
|
+
"name": "setDisabled",
|
|
8955
|
+
"privacy": "private",
|
|
8956
|
+
"parameters": [
|
|
8957
|
+
{
|
|
8958
|
+
"name": "element",
|
|
8959
|
+
"type": {
|
|
8960
|
+
"text": "HTMLElement"
|
|
8961
|
+
},
|
|
8962
|
+
"description": "The button element."
|
|
8963
|
+
},
|
|
8964
|
+
{
|
|
8965
|
+
"name": "disabled",
|
|
8966
|
+
"type": {
|
|
8967
|
+
"text": "boolean"
|
|
8968
|
+
},
|
|
8969
|
+
"description": "The disabled state."
|
|
9098
8970
|
}
|
|
9099
|
-
|
|
8971
|
+
],
|
|
8972
|
+
"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.",
|
|
9100
8973
|
"inheritedFrom": {
|
|
9101
|
-
"name": "
|
|
9102
|
-
"module": "components/
|
|
8974
|
+
"name": "Buttonsimple",
|
|
8975
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9103
8976
|
}
|
|
9104
|
-
}
|
|
9105
|
-
],
|
|
9106
|
-
"events": [
|
|
9107
|
-
{
|
|
9108
|
-
"name": "change",
|
|
9109
|
-
"type": {
|
|
9110
|
-
"text": "Event"
|
|
9111
|
-
},
|
|
9112
|
-
"description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
|
|
9113
|
-
"reactName": "onChange"
|
|
9114
8977
|
},
|
|
9115
8978
|
{
|
|
9116
|
-
"
|
|
9117
|
-
"name": "
|
|
9118
|
-
"
|
|
8979
|
+
"kind": "method",
|
|
8980
|
+
"name": "triggerClickEvent",
|
|
8981
|
+
"privacy": "private",
|
|
8982
|
+
"inheritedFrom": {
|
|
8983
|
+
"name": "Buttonsimple",
|
|
8984
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8985
|
+
}
|
|
9119
8986
|
},
|
|
9120
8987
|
{
|
|
9121
|
-
"
|
|
9122
|
-
"name": "
|
|
9123
|
-
"
|
|
8988
|
+
"kind": "method",
|
|
8989
|
+
"name": "handleBlur",
|
|
8990
|
+
"privacy": "private",
|
|
8991
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
8992
|
+
"inheritedFrom": {
|
|
8993
|
+
"name": "Buttonsimple",
|
|
8994
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8995
|
+
}
|
|
9124
8996
|
},
|
|
9125
8997
|
{
|
|
9126
|
-
"
|
|
9127
|
-
"name": "
|
|
9128
|
-
"
|
|
8998
|
+
"kind": "method",
|
|
8999
|
+
"name": "handleKeyDown",
|
|
9000
|
+
"privacy": "private",
|
|
9001
|
+
"parameters": [
|
|
9002
|
+
{
|
|
9003
|
+
"name": "event",
|
|
9004
|
+
"type": {
|
|
9005
|
+
"text": "KeyboardEvent"
|
|
9006
|
+
},
|
|
9007
|
+
"description": "The keyboard event."
|
|
9008
|
+
}
|
|
9009
|
+
],
|
|
9010
|
+
"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.",
|
|
9011
|
+
"inheritedFrom": {
|
|
9012
|
+
"name": "Buttonsimple",
|
|
9013
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9014
|
+
}
|
|
9129
9015
|
},
|
|
9130
9016
|
{
|
|
9131
|
-
"
|
|
9132
|
-
"name": "
|
|
9133
|
-
"
|
|
9017
|
+
"kind": "method",
|
|
9018
|
+
"name": "handleKeyUp",
|
|
9019
|
+
"privacy": "private",
|
|
9020
|
+
"parameters": [
|
|
9021
|
+
{
|
|
9022
|
+
"name": "event",
|
|
9023
|
+
"type": {
|
|
9024
|
+
"text": "KeyboardEvent"
|
|
9025
|
+
},
|
|
9026
|
+
"description": "The keyboard event."
|
|
9027
|
+
}
|
|
9028
|
+
],
|
|
9029
|
+
"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.",
|
|
9030
|
+
"inheritedFrom": {
|
|
9031
|
+
"name": "Buttonsimple",
|
|
9032
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9033
|
+
}
|
|
9134
9034
|
}
|
|
9135
9035
|
],
|
|
9136
|
-
"
|
|
9137
|
-
{
|
|
9138
|
-
"name": "checked",
|
|
9139
|
-
"type": {
|
|
9140
|
-
"text": "boolean"
|
|
9141
|
-
},
|
|
9142
|
-
"default": "false",
|
|
9143
|
-
"description": "The checked state of the card",
|
|
9144
|
-
"fieldName": "checked"
|
|
9145
|
-
},
|
|
9036
|
+
"events": [
|
|
9146
9037
|
{
|
|
9147
|
-
"
|
|
9148
|
-
"
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9038
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
9039
|
+
"name": "click",
|
|
9040
|
+
"reactName": "onClick",
|
|
9041
|
+
"inheritedFrom": {
|
|
9042
|
+
"name": "Buttonsimple",
|
|
9043
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9044
|
+
}
|
|
9154
9045
|
},
|
|
9155
9046
|
{
|
|
9156
|
-
"
|
|
9157
|
-
"
|
|
9158
|
-
|
|
9159
|
-
},
|
|
9160
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
9161
|
-
"default": "undefined",
|
|
9162
|
-
"fieldName": "disabled",
|
|
9047
|
+
"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.",
|
|
9048
|
+
"name": "keydown",
|
|
9049
|
+
"reactName": "onKeyDown",
|
|
9163
9050
|
"inheritedFrom": {
|
|
9164
|
-
"name": "
|
|
9165
|
-
"module": "src/
|
|
9051
|
+
"name": "Buttonsimple",
|
|
9052
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9166
9053
|
}
|
|
9167
9054
|
},
|
|
9168
9055
|
{
|
|
9169
|
-
"
|
|
9170
|
-
"
|
|
9171
|
-
|
|
9172
|
-
},
|
|
9173
|
-
"default": "0",
|
|
9174
|
-
"description": "This property specifies the tab order of the element.",
|
|
9175
|
-
"fieldName": "tabIndex",
|
|
9056
|
+
"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.",
|
|
9057
|
+
"name": "keyup",
|
|
9058
|
+
"reactName": "onKeyUp",
|
|
9176
9059
|
"inheritedFrom": {
|
|
9177
|
-
"name": "
|
|
9178
|
-
"module": "src/
|
|
9060
|
+
"name": "Buttonsimple",
|
|
9061
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9179
9062
|
}
|
|
9180
9063
|
},
|
|
9064
|
+
{
|
|
9065
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
9066
|
+
"name": "focus",
|
|
9067
|
+
"reactName": "onFocus",
|
|
9068
|
+
"inheritedFrom": {
|
|
9069
|
+
"name": "Buttonsimple",
|
|
9070
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9071
|
+
}
|
|
9072
|
+
}
|
|
9073
|
+
],
|
|
9074
|
+
"mixins": [
|
|
9075
|
+
{
|
|
9076
|
+
"name": "CardComponentMixin",
|
|
9077
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
9078
|
+
}
|
|
9079
|
+
],
|
|
9080
|
+
"superclass": {
|
|
9081
|
+
"name": "Buttonsimple",
|
|
9082
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
9083
|
+
},
|
|
9084
|
+
"tagName": "mdc-cardbutton",
|
|
9085
|
+
"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 */",
|
|
9086
|
+
"customElement": true,
|
|
9087
|
+
"attributes": [
|
|
9181
9088
|
{
|
|
9182
9089
|
"name": "card-title",
|
|
9183
9090
|
"type": {
|
|
@@ -9187,8 +9094,8 @@
|
|
|
9187
9094
|
"description": "The title of the card - part of header section",
|
|
9188
9095
|
"fieldName": "cardTitle",
|
|
9189
9096
|
"inheritedFrom": {
|
|
9190
|
-
"name": "
|
|
9191
|
-
"module": "src/
|
|
9097
|
+
"name": "CardComponentMixin",
|
|
9098
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9192
9099
|
}
|
|
9193
9100
|
},
|
|
9194
9101
|
{
|
|
@@ -9200,8 +9107,8 @@
|
|
|
9200
9107
|
"description": "The subtitle of the card - part of header section",
|
|
9201
9108
|
"fieldName": "subtitle",
|
|
9202
9109
|
"inheritedFrom": {
|
|
9203
|
-
"name": "
|
|
9204
|
-
"module": "src/
|
|
9110
|
+
"name": "CardComponentMixin",
|
|
9111
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9205
9112
|
}
|
|
9206
9113
|
},
|
|
9207
9114
|
{
|
|
@@ -9213,8 +9120,8 @@
|
|
|
9213
9120
|
"description": "The image source URL to render on the card",
|
|
9214
9121
|
"fieldName": "imageSrc",
|
|
9215
9122
|
"inheritedFrom": {
|
|
9216
|
-
"name": "
|
|
9217
|
-
"module": "src/
|
|
9123
|
+
"name": "CardComponentMixin",
|
|
9124
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9218
9125
|
}
|
|
9219
9126
|
},
|
|
9220
9127
|
{
|
|
@@ -9226,8 +9133,8 @@
|
|
|
9226
9133
|
"description": "The image alt for accessibility support",
|
|
9227
9134
|
"fieldName": "imageAlt",
|
|
9228
9135
|
"inheritedFrom": {
|
|
9229
|
-
"name": "
|
|
9230
|
-
"module": "src/
|
|
9136
|
+
"name": "CardComponentMixin",
|
|
9137
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9231
9138
|
}
|
|
9232
9139
|
},
|
|
9233
9140
|
{
|
|
@@ -9239,8 +9146,8 @@
|
|
|
9239
9146
|
"default": "'border'",
|
|
9240
9147
|
"fieldName": "variant",
|
|
9241
9148
|
"inheritedFrom": {
|
|
9242
|
-
"name": "
|
|
9243
|
-
"module": "src/
|
|
9149
|
+
"name": "CardComponentMixin",
|
|
9150
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9244
9151
|
}
|
|
9245
9152
|
},
|
|
9246
9153
|
{
|
|
@@ -9252,8 +9159,8 @@
|
|
|
9252
9159
|
"default": "'vertical'",
|
|
9253
9160
|
"fieldName": "orientation",
|
|
9254
9161
|
"inheritedFrom": {
|
|
9255
|
-
"name": "
|
|
9256
|
-
"module": "src/
|
|
9162
|
+
"name": "CardComponentMixin",
|
|
9163
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9257
9164
|
}
|
|
9258
9165
|
},
|
|
9259
9166
|
{
|
|
@@ -9265,8 +9172,8 @@
|
|
|
9265
9172
|
"default": "'span'",
|
|
9266
9173
|
"fieldName": "titleTagName",
|
|
9267
9174
|
"inheritedFrom": {
|
|
9268
|
-
"name": "
|
|
9269
|
-
"module": "src/
|
|
9175
|
+
"name": "CardComponentMixin",
|
|
9176
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9270
9177
|
}
|
|
9271
9178
|
},
|
|
9272
9179
|
{
|
|
@@ -9278,8 +9185,8 @@
|
|
|
9278
9185
|
"default": "'span'",
|
|
9279
9186
|
"fieldName": "subtitleTagName",
|
|
9280
9187
|
"inheritedFrom": {
|
|
9281
|
-
"name": "
|
|
9282
|
-
"module": "src/
|
|
9188
|
+
"name": "CardComponentMixin",
|
|
9189
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9283
9190
|
}
|
|
9284
9191
|
},
|
|
9285
9192
|
{
|
|
@@ -9290,28 +9197,152 @@
|
|
|
9290
9197
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
9291
9198
|
"fieldName": "iconName",
|
|
9292
9199
|
"inheritedFrom": {
|
|
9293
|
-
"name": "
|
|
9294
|
-
"module": "src/
|
|
9200
|
+
"name": "CardComponentMixin",
|
|
9201
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9295
9202
|
}
|
|
9296
|
-
}
|
|
9297
|
-
],
|
|
9298
|
-
"mixins": [
|
|
9203
|
+
},
|
|
9299
9204
|
{
|
|
9300
|
-
"name": "
|
|
9301
|
-
"
|
|
9205
|
+
"name": "auto-focus-on-mount",
|
|
9206
|
+
"type": {
|
|
9207
|
+
"text": "boolean"
|
|
9208
|
+
},
|
|
9209
|
+
"default": "false",
|
|
9210
|
+
"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.",
|
|
9211
|
+
"fieldName": "autoFocusOnMount",
|
|
9212
|
+
"inheritedFrom": {
|
|
9213
|
+
"name": "Buttonsimple",
|
|
9214
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9215
|
+
}
|
|
9302
9216
|
},
|
|
9303
9217
|
{
|
|
9304
|
-
"name": "
|
|
9305
|
-
"
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9218
|
+
"name": "tabIndex",
|
|
9219
|
+
"type": {
|
|
9220
|
+
"text": "number"
|
|
9221
|
+
},
|
|
9222
|
+
"default": "0",
|
|
9223
|
+
"description": "This property specifies the tab order of the element.",
|
|
9224
|
+
"fieldName": "tabIndex",
|
|
9225
|
+
"inheritedFrom": {
|
|
9226
|
+
"name": "Buttonsimple",
|
|
9227
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9228
|
+
}
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
"name": "disabled",
|
|
9232
|
+
"type": {
|
|
9233
|
+
"text": "boolean | undefined"
|
|
9234
|
+
},
|
|
9235
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
9236
|
+
"default": "undefined",
|
|
9237
|
+
"fieldName": "disabled",
|
|
9238
|
+
"inheritedFrom": {
|
|
9239
|
+
"name": "Buttonsimple",
|
|
9240
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9241
|
+
}
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
"name": "active",
|
|
9245
|
+
"type": {
|
|
9246
|
+
"text": "boolean | undefined"
|
|
9247
|
+
},
|
|
9248
|
+
"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.",
|
|
9249
|
+
"default": "undefined",
|
|
9250
|
+
"fieldName": "active",
|
|
9251
|
+
"inheritedFrom": {
|
|
9252
|
+
"name": "Buttonsimple",
|
|
9253
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9254
|
+
}
|
|
9255
|
+
},
|
|
9256
|
+
{
|
|
9257
|
+
"name": "soft-disabled",
|
|
9258
|
+
"type": {
|
|
9259
|
+
"text": "boolean | undefined"
|
|
9260
|
+
},
|
|
9261
|
+
"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.",
|
|
9262
|
+
"default": "undefined",
|
|
9263
|
+
"fieldName": "softDisabled",
|
|
9264
|
+
"inheritedFrom": {
|
|
9265
|
+
"name": "Buttonsimple",
|
|
9266
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9267
|
+
}
|
|
9268
|
+
},
|
|
9269
|
+
{
|
|
9270
|
+
"name": "size",
|
|
9271
|
+
"type": {
|
|
9272
|
+
"text": "ButtonSize"
|
|
9273
|
+
},
|
|
9274
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
9275
|
+
"default": "32",
|
|
9276
|
+
"fieldName": "size",
|
|
9277
|
+
"inheritedFrom": {
|
|
9278
|
+
"name": "Buttonsimple",
|
|
9279
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9280
|
+
}
|
|
9281
|
+
},
|
|
9282
|
+
{
|
|
9283
|
+
"name": "role",
|
|
9284
|
+
"type": {
|
|
9285
|
+
"text": "RoleType"
|
|
9286
|
+
},
|
|
9287
|
+
"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.",
|
|
9288
|
+
"default": "button",
|
|
9289
|
+
"fieldName": "role",
|
|
9290
|
+
"inheritedFrom": {
|
|
9291
|
+
"name": "Buttonsimple",
|
|
9292
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9293
|
+
}
|
|
9294
|
+
},
|
|
9295
|
+
{
|
|
9296
|
+
"name": "ariaStateKey",
|
|
9297
|
+
"type": {
|
|
9298
|
+
"text": "string | undefined"
|
|
9299
|
+
},
|
|
9300
|
+
"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`",
|
|
9301
|
+
"default": "'aria-pressed' (when)",
|
|
9302
|
+
"fieldName": "ariaStateKey",
|
|
9303
|
+
"inheritedFrom": {
|
|
9304
|
+
"name": "Buttonsimple",
|
|
9305
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9306
|
+
}
|
|
9307
|
+
},
|
|
9308
|
+
{
|
|
9309
|
+
"name": "type",
|
|
9310
|
+
"type": {
|
|
9311
|
+
"text": "ButtonType"
|
|
9312
|
+
},
|
|
9313
|
+
"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.",
|
|
9314
|
+
"default": "button",
|
|
9315
|
+
"fieldName": "type",
|
|
9316
|
+
"inheritedFrom": {
|
|
9317
|
+
"name": "Buttonsimple",
|
|
9318
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9319
|
+
}
|
|
9320
|
+
},
|
|
9321
|
+
{
|
|
9322
|
+
"name": "name",
|
|
9323
|
+
"type": {
|
|
9324
|
+
"text": "string | undefined"
|
|
9325
|
+
},
|
|
9326
|
+
"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.",
|
|
9327
|
+
"fieldName": "name",
|
|
9328
|
+
"inheritedFrom": {
|
|
9329
|
+
"name": "Buttonsimple",
|
|
9330
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9331
|
+
}
|
|
9332
|
+
},
|
|
9333
|
+
{
|
|
9334
|
+
"name": "value",
|
|
9335
|
+
"type": {
|
|
9336
|
+
"text": "string | undefined"
|
|
9337
|
+
},
|
|
9338
|
+
"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.",
|
|
9339
|
+
"fieldName": "value",
|
|
9340
|
+
"inheritedFrom": {
|
|
9341
|
+
"name": "Buttonsimple",
|
|
9342
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9343
|
+
}
|
|
9344
|
+
}
|
|
9345
|
+
]
|
|
9315
9346
|
}
|
|
9316
9347
|
],
|
|
9317
9348
|
"exports": [
|
|
@@ -9319,8 +9350,8 @@
|
|
|
9319
9350
|
"kind": "js",
|
|
9320
9351
|
"name": "default",
|
|
9321
9352
|
"declaration": {
|
|
9322
|
-
"name": "
|
|
9323
|
-
"module": "components/
|
|
9353
|
+
"name": "CardButton",
|
|
9354
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
|
9324
9355
|
}
|
|
9325
9356
|
}
|
|
9326
9357
|
]
|
|
@@ -16212,264 +16243,18 @@
|
|
|
16212
16243
|
{
|
|
16213
16244
|
"name": "FocusTrapMixin",
|
|
16214
16245
|
"module": "/src/utils/mixins/FocusTrapMixin"
|
|
16215
|
-
},
|
|
16216
|
-
{
|
|
16217
|
-
"name": "FooterMixin",
|
|
16218
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
16219
|
-
}
|
|
16220
|
-
],
|
|
16221
|
-
"superclass": {
|
|
16222
|
-
"name": "Component",
|
|
16223
|
-
"module": "/src/models"
|
|
16224
|
-
},
|
|
16225
|
-
"tagName": "mdc-dialog",
|
|
16226
|
-
"jsDoc": "/**\n * Dialog component is a modal dialog that can be used to display information or prompt the user for input.\n * It can be used to create custom dialogs where content for the body and footer actions is provided by the consumer.\n * The dialog is available in 5 sizes: small, medium, large, xlarge and fullscreen. It may also receive custom styling/sizing.\n * The dialog interrupts the user and will block interaction with the rest of the application until it is closed.\n *\n * The dialog can be controlled solely through the `visible` property, no trigger element is required.\n * If a `triggerId` is provided, the dialog will manage focus with that element, otherwise it will\n * remember the previously focused element before the dialog was opened.\n *\n * The dialog is a controlled component, meaning it does not have its own state management for visibility.\n * Use the `visible` property to control the visibility of the dialog.\n * Use the `onClose` event to handle the close action of the dialog (fired when Close button is clicked\n * or Escape is pressed).\n *\n * Dialog component have 2 variants: default and promotional.\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - The dialog should have an aria-label or aria-labelledby attribute to provide a label for screen readers.\n * - Use aria-labelledby to reference the ID of the element that labels the dialog when there is no visible title.\n *\n * **Note: Programmatic show/hide requires the ? prefix on the visible attribute**\n * - Use `?visible=true/false` as an attribute instead of `visible=true/false`\n * - Reference docs for more info: https://lit.dev/docs/templates/expressions/#boolean-attribute-expressions\n *\n * @dependency mdc-button\n * @dependency mdc-text\n *\n * @tagname mdc-dialog\n *\n * @event shown - (React: onShown) Dispatched when the dialog is shown\n * @event hidden - (React: onHidden) Dispatched when the dialog is hidden\n * @event created - (React: onCreated) Dispatched when the dialog is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) Dispatched when the dialog is destroyed (removed from the DOM)\n * @event close - (React: onClose) Dispatched when the Close Button is clicked or Escape key is pressed\n * (this does not hide the dialog)\n *\n * @cssproperty --mdc-dialog-primary-background-color - primary background color of the dialog\n * @cssproperty --mdc-dialog-border-color - border color of the dialog\n * @cssproperty --mdc-dialog-header-text-color - text color of the header/title of the dialog\n * @cssproperty --mdc-dialog-description-text-color - text color of the below header description of the dialog\n * @cssproperty --mdc-dialog-elevation-3 - elevation of the dialog\n * @cssproperty --mdc-dialog-width - width of the dialog\n * @cssproperty --mdc-dialog-height - height of the dialog\n *\n * @csspart body - The body section of the dialog.\n * @csspart description-text - The description text of the dialog.\n * @csspart dialog-close-btn - The close button of the dialog.\n * @csspart header - The header of the dialog.\n * @csspart header-section - The header section of the dialog.\n * @csspart header-text - The header text of the dialog.\n *\n * @slot header-prefix - Slot for the dialog header content. This can be used to pass custom header content.\n * @slot dialog-body - Slot for the dialog body content\n * @slot footer-link - This slot is for passing `mdc-link` 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-button-primary - This slot is for passing primary variant of\n * `mdc-button` component 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 */",
|
|
16227
|
-
"customElement": true
|
|
16228
|
-
}
|
|
16229
|
-
],
|
|
16230
|
-
"exports": [
|
|
16231
|
-
{
|
|
16232
|
-
"kind": "js",
|
|
16233
|
-
"name": "default",
|
|
16234
|
-
"declaration": {
|
|
16235
|
-
"name": "Dialog",
|
|
16236
|
-
"module": "components/dialog/dialog.component.js"
|
|
16237
|
-
}
|
|
16238
|
-
}
|
|
16239
|
-
]
|
|
16240
|
-
},
|
|
16241
|
-
{
|
|
16242
|
-
"kind": "javascript-module",
|
|
16243
|
-
"path": "components/divider/divider.component.js",
|
|
16244
|
-
"declarations": [
|
|
16245
|
-
{
|
|
16246
|
-
"kind": "class",
|
|
16247
|
-
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
|
16248
|
-
"name": "Divider",
|
|
16249
|
-
"cssProperties": [
|
|
16250
|
-
{
|
|
16251
|
-
"description": "background color of the divider",
|
|
16252
|
-
"name": "--mdc-divider-background-color"
|
|
16253
|
-
},
|
|
16254
|
-
{
|
|
16255
|
-
"description": "width of the divider",
|
|
16256
|
-
"name": "--mdc-divider-width"
|
|
16257
|
-
},
|
|
16258
|
-
{
|
|
16259
|
-
"description": "gradient of the horizontal divider",
|
|
16260
|
-
"name": "--mdc-divider-horizontal-gradient"
|
|
16261
|
-
},
|
|
16262
|
-
{
|
|
16263
|
-
"description": "gradient of the vertical divider",
|
|
16264
|
-
"name": "--mdc-divider-vertical-gradient"
|
|
16265
|
-
},
|
|
16266
|
-
{
|
|
16267
|
-
"description": "font size of label in the text divider",
|
|
16268
|
-
"name": "--mdc-divider-text-size"
|
|
16269
|
-
},
|
|
16270
|
-
{
|
|
16271
|
-
"description": "font color of label in the text divider",
|
|
16272
|
-
"name": "--mdc-divider-text-color"
|
|
16273
|
-
},
|
|
16274
|
-
{
|
|
16275
|
-
"description": "left and right margin of label in the text divider",
|
|
16276
|
-
"name": "--mdc-divider-text-margin"
|
|
16277
|
-
},
|
|
16278
|
-
{
|
|
16279
|
-
"description": "line height of label in the text divider",
|
|
16280
|
-
"name": "--mdc-divider-text-line-height"
|
|
16281
|
-
},
|
|
16282
|
-
{
|
|
16283
|
-
"description": "background color of the grabber button in rest state",
|
|
16284
|
-
"name": "--mdc-divider-grabber-button-background-color-normal"
|
|
16285
|
-
},
|
|
16286
|
-
{
|
|
16287
|
-
"description": "background color of the grabber button in hover state",
|
|
16288
|
-
"name": "--mdc-divider-grabber-button-background-color-hover"
|
|
16289
|
-
},
|
|
16290
|
-
{
|
|
16291
|
-
"description": "background color of the grabber button in pressed state",
|
|
16292
|
-
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
|
16293
|
-
},
|
|
16294
|
-
{
|
|
16295
|
-
"description": "border color of the grabber button",
|
|
16296
|
-
"name": "--mdc-divider-grabber-button-border-color"
|
|
16297
|
-
},
|
|
16298
|
-
{
|
|
16299
|
-
"description": "border radius of the grabber button",
|
|
16300
|
-
"name": "--mdc-divider-grabber-button-border-radius"
|
|
16301
|
-
}
|
|
16302
|
-
],
|
|
16303
|
-
"members": [
|
|
16304
|
-
{
|
|
16305
|
-
"kind": "field",
|
|
16306
|
-
"name": "orientation",
|
|
16307
|
-
"type": {
|
|
16308
|
-
"text": "DividerOrientation"
|
|
16309
|
-
},
|
|
16310
|
-
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
|
16311
|
-
"default": "horizontal",
|
|
16312
|
-
"attribute": "orientation",
|
|
16313
|
-
"reflects": true
|
|
16314
|
-
},
|
|
16315
|
-
{
|
|
16316
|
-
"kind": "field",
|
|
16317
|
-
"name": "variant",
|
|
16318
|
-
"type": {
|
|
16319
|
-
"text": "DividerVariant"
|
|
16320
|
-
},
|
|
16321
|
-
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
|
16322
|
-
"default": "solid",
|
|
16323
|
-
"attribute": "variant",
|
|
16324
|
-
"reflects": true
|
|
16325
|
-
},
|
|
16326
|
-
{
|
|
16327
|
-
"kind": "field",
|
|
16328
|
-
"name": "arrowDirection",
|
|
16329
|
-
"type": {
|
|
16330
|
-
"text": "Directions"
|
|
16331
|
-
},
|
|
16332
|
-
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
16333
|
-
"default": "'negative'",
|
|
16334
|
-
"attribute": "arrow-direction",
|
|
16335
|
-
"reflects": true
|
|
16336
|
-
},
|
|
16337
|
-
{
|
|
16338
|
-
"kind": "field",
|
|
16339
|
-
"name": "buttonPosition",
|
|
16340
|
-
"type": {
|
|
16341
|
-
"text": "Directions"
|
|
16342
|
-
},
|
|
16343
|
-
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
16344
|
-
"default": "'negative'",
|
|
16345
|
-
"attribute": "button-position",
|
|
16346
|
-
"reflects": true
|
|
16347
|
-
},
|
|
16348
|
-
{
|
|
16349
|
-
"kind": "method",
|
|
16350
|
-
"name": "setVariant",
|
|
16351
|
-
"privacy": "private",
|
|
16352
|
-
"parameters": [
|
|
16353
|
-
{
|
|
16354
|
-
"name": "variant",
|
|
16355
|
-
"type": {
|
|
16356
|
-
"text": "DividerVariant"
|
|
16357
|
-
},
|
|
16358
|
-
"description": "The variant to set."
|
|
16359
|
-
}
|
|
16360
|
-
],
|
|
16361
|
-
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
|
16362
|
-
},
|
|
16363
|
-
{
|
|
16364
|
-
"kind": "method",
|
|
16365
|
-
"name": "setOrientation",
|
|
16366
|
-
"privacy": "private",
|
|
16367
|
-
"parameters": [
|
|
16368
|
-
{
|
|
16369
|
-
"name": "orientation",
|
|
16370
|
-
"type": {
|
|
16371
|
-
"text": "DividerOrientation"
|
|
16372
|
-
},
|
|
16373
|
-
"description": "The orientation to set."
|
|
16374
|
-
}
|
|
16375
|
-
],
|
|
16376
|
-
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
|
16377
|
-
},
|
|
16378
|
-
{
|
|
16379
|
-
"kind": "method",
|
|
16380
|
-
"name": "ensureValidDirections",
|
|
16381
|
-
"privacy": "private",
|
|
16382
|
-
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
|
16383
|
-
"parameters": [
|
|
16384
|
-
{
|
|
16385
|
-
"description": "The buttonPosition to set.",
|
|
16386
|
-
"name": "buttonPosition"
|
|
16387
|
-
},
|
|
16388
|
-
{
|
|
16389
|
-
"description": "The arrowDirection to set.",
|
|
16390
|
-
"name": "arrowDirection"
|
|
16391
|
-
}
|
|
16392
|
-
]
|
|
16393
|
-
},
|
|
16394
|
-
{
|
|
16395
|
-
"kind": "method",
|
|
16396
|
-
"name": "setGrabberButton",
|
|
16397
|
-
"privacy": "private",
|
|
16398
|
-
"return": {
|
|
16399
|
-
"type": {
|
|
16400
|
-
"text": "void"
|
|
16401
|
-
}
|
|
16402
|
-
},
|
|
16403
|
-
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
|
16404
|
-
},
|
|
16405
|
-
{
|
|
16406
|
-
"kind": "method",
|
|
16407
|
-
"name": "getArrowIcon",
|
|
16408
|
-
"privacy": "private",
|
|
16409
|
-
"return": {
|
|
16410
|
-
"type": {
|
|
16411
|
-
"text": ""
|
|
16412
|
-
}
|
|
16413
|
-
},
|
|
16414
|
-
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
|
16415
|
-
},
|
|
16416
|
-
{
|
|
16417
|
-
"kind": "method",
|
|
16418
|
-
"name": "inferDividerType",
|
|
16419
|
-
"privacy": "private",
|
|
16420
|
-
"description": "Infers the type of divider based on the kind of slot present.",
|
|
16421
|
-
"parameters": [
|
|
16422
|
-
{
|
|
16423
|
-
"description": "default slot of divider",
|
|
16424
|
-
"name": "slot"
|
|
16425
|
-
}
|
|
16426
|
-
]
|
|
16427
|
-
}
|
|
16428
|
-
],
|
|
16429
|
-
"attributes": [
|
|
16430
|
-
{
|
|
16431
|
-
"name": "orientation",
|
|
16432
|
-
"type": {
|
|
16433
|
-
"text": "DividerOrientation"
|
|
16434
|
-
},
|
|
16435
|
-
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
|
16436
|
-
"default": "horizontal",
|
|
16437
|
-
"fieldName": "orientation"
|
|
16438
|
-
},
|
|
16439
|
-
{
|
|
16440
|
-
"name": "variant",
|
|
16441
|
-
"type": {
|
|
16442
|
-
"text": "DividerVariant"
|
|
16443
|
-
},
|
|
16444
|
-
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
|
16445
|
-
"default": "solid",
|
|
16446
|
-
"fieldName": "variant"
|
|
16447
|
-
},
|
|
16448
|
-
{
|
|
16449
|
-
"name": "arrow-direction",
|
|
16450
|
-
"type": {
|
|
16451
|
-
"text": "Directions"
|
|
16452
|
-
},
|
|
16453
|
-
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
16454
|
-
"default": "'negative'",
|
|
16455
|
-
"fieldName": "arrowDirection"
|
|
16456
|
-
},
|
|
16457
|
-
{
|
|
16458
|
-
"name": "button-position",
|
|
16459
|
-
"type": {
|
|
16460
|
-
"text": "Directions"
|
|
16461
|
-
},
|
|
16462
|
-
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
16463
|
-
"default": "'negative'",
|
|
16464
|
-
"fieldName": "buttonPosition"
|
|
16246
|
+
},
|
|
16247
|
+
{
|
|
16248
|
+
"name": "FooterMixin",
|
|
16249
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
16465
16250
|
}
|
|
16466
16251
|
],
|
|
16467
16252
|
"superclass": {
|
|
16468
16253
|
"name": "Component",
|
|
16469
16254
|
"module": "/src/models"
|
|
16470
16255
|
},
|
|
16471
|
-
"tagName": "mdc-
|
|
16472
|
-
"jsDoc": "/**\n *
|
|
16256
|
+
"tagName": "mdc-dialog",
|
|
16257
|
+
"jsDoc": "/**\n * Dialog component is a modal dialog that can be used to display information or prompt the user for input.\n * It can be used to create custom dialogs where content for the body and footer actions is provided by the consumer.\n * The dialog is available in 5 sizes: small, medium, large, xlarge and fullscreen. It may also receive custom styling/sizing.\n * The dialog interrupts the user and will block interaction with the rest of the application until it is closed.\n *\n * The dialog can be controlled solely through the `visible` property, no trigger element is required.\n * If a `triggerId` is provided, the dialog will manage focus with that element, otherwise it will\n * remember the previously focused element before the dialog was opened.\n *\n * The dialog is a controlled component, meaning it does not have its own state management for visibility.\n * Use the `visible` property to control the visibility of the dialog.\n * Use the `onClose` event to handle the close action of the dialog (fired when Close button is clicked\n * or Escape is pressed).\n *\n * Dialog component have 2 variants: default and promotional.\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - The dialog should have an aria-label or aria-labelledby attribute to provide a label for screen readers.\n * - Use aria-labelledby to reference the ID of the element that labels the dialog when there is no visible title.\n *\n * **Note: Programmatic show/hide requires the ? prefix on the visible attribute**\n * - Use `?visible=true/false` as an attribute instead of `visible=true/false`\n * - Reference docs for more info: https://lit.dev/docs/templates/expressions/#boolean-attribute-expressions\n *\n * @dependency mdc-button\n * @dependency mdc-text\n *\n * @tagname mdc-dialog\n *\n * @event shown - (React: onShown) Dispatched when the dialog is shown\n * @event hidden - (React: onHidden) Dispatched when the dialog is hidden\n * @event created - (React: onCreated) Dispatched when the dialog is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) Dispatched when the dialog is destroyed (removed from the DOM)\n * @event close - (React: onClose) Dispatched when the Close Button is clicked or Escape key is pressed\n * (this does not hide the dialog)\n *\n * @cssproperty --mdc-dialog-primary-background-color - primary background color of the dialog\n * @cssproperty --mdc-dialog-border-color - border color of the dialog\n * @cssproperty --mdc-dialog-header-text-color - text color of the header/title of the dialog\n * @cssproperty --mdc-dialog-description-text-color - text color of the below header description of the dialog\n * @cssproperty --mdc-dialog-elevation-3 - elevation of the dialog\n * @cssproperty --mdc-dialog-width - width of the dialog\n * @cssproperty --mdc-dialog-height - height of the dialog\n *\n * @csspart body - The body section of the dialog.\n * @csspart description-text - The description text of the dialog.\n * @csspart dialog-close-btn - The close button of the dialog.\n * @csspart header - The header of the dialog.\n * @csspart header-section - The header section of the dialog.\n * @csspart header-text - The header text of the dialog.\n *\n * @slot header-prefix - Slot for the dialog header content. This can be used to pass custom header content.\n * @slot dialog-body - Slot for the dialog body content\n * @slot footer-link - This slot is for passing `mdc-link` 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-button-primary - This slot is for passing primary variant of\n * `mdc-button` component 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 */",
|
|
16473
16258
|
"customElement": true
|
|
16474
16259
|
}
|
|
16475
16260
|
],
|
|
@@ -16478,8 +16263,8 @@
|
|
|
16478
16263
|
"kind": "js",
|
|
16479
16264
|
"name": "default",
|
|
16480
16265
|
"declaration": {
|
|
16481
|
-
"name": "
|
|
16482
|
-
"module": "components/
|
|
16266
|
+
"name": "Dialog",
|
|
16267
|
+
"module": "components/dialog/dialog.component.js"
|
|
16483
16268
|
}
|
|
16484
16269
|
}
|
|
16485
16270
|
]
|
|
@@ -17111,88 +16896,334 @@
|
|
|
17111
16896
|
}
|
|
17112
16897
|
},
|
|
17113
16898
|
{
|
|
17114
|
-
"name": "size",
|
|
17115
|
-
"type": {
|
|
17116
|
-
"text": "ButtonSize"
|
|
16899
|
+
"name": "size",
|
|
16900
|
+
"type": {
|
|
16901
|
+
"text": "ButtonSize"
|
|
16902
|
+
},
|
|
16903
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
16904
|
+
"default": "32",
|
|
16905
|
+
"fieldName": "size",
|
|
16906
|
+
"inheritedFrom": {
|
|
16907
|
+
"name": "Buttonsimple",
|
|
16908
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
16909
|
+
}
|
|
16910
|
+
},
|
|
16911
|
+
{
|
|
16912
|
+
"name": "role",
|
|
16913
|
+
"type": {
|
|
16914
|
+
"text": "RoleType"
|
|
16915
|
+
},
|
|
16916
|
+
"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.",
|
|
16917
|
+
"default": "button",
|
|
16918
|
+
"fieldName": "role",
|
|
16919
|
+
"inheritedFrom": {
|
|
16920
|
+
"name": "Buttonsimple",
|
|
16921
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
16922
|
+
}
|
|
16923
|
+
},
|
|
16924
|
+
{
|
|
16925
|
+
"name": "ariaStateKey",
|
|
16926
|
+
"type": {
|
|
16927
|
+
"text": "string | undefined"
|
|
16928
|
+
},
|
|
16929
|
+
"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`",
|
|
16930
|
+
"default": "'aria-pressed' (when)",
|
|
16931
|
+
"fieldName": "ariaStateKey",
|
|
16932
|
+
"inheritedFrom": {
|
|
16933
|
+
"name": "Buttonsimple",
|
|
16934
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
16935
|
+
}
|
|
16936
|
+
},
|
|
16937
|
+
{
|
|
16938
|
+
"name": "type",
|
|
16939
|
+
"type": {
|
|
16940
|
+
"text": "ButtonType"
|
|
16941
|
+
},
|
|
16942
|
+
"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.",
|
|
16943
|
+
"default": "button",
|
|
16944
|
+
"fieldName": "type",
|
|
16945
|
+
"inheritedFrom": {
|
|
16946
|
+
"name": "Buttonsimple",
|
|
16947
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
16948
|
+
}
|
|
16949
|
+
},
|
|
16950
|
+
{
|
|
16951
|
+
"name": "name",
|
|
16952
|
+
"type": {
|
|
16953
|
+
"text": "string | undefined"
|
|
16954
|
+
},
|
|
16955
|
+
"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.",
|
|
16956
|
+
"fieldName": "name",
|
|
16957
|
+
"inheritedFrom": {
|
|
16958
|
+
"name": "Buttonsimple",
|
|
16959
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
16960
|
+
}
|
|
16961
|
+
},
|
|
16962
|
+
{
|
|
16963
|
+
"name": "value",
|
|
16964
|
+
"type": {
|
|
16965
|
+
"text": "string | undefined"
|
|
16966
|
+
},
|
|
16967
|
+
"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.",
|
|
16968
|
+
"fieldName": "value",
|
|
16969
|
+
"inheritedFrom": {
|
|
16970
|
+
"name": "Buttonsimple",
|
|
16971
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
16972
|
+
}
|
|
16973
|
+
}
|
|
16974
|
+
],
|
|
16975
|
+
"superclass": {
|
|
16976
|
+
"name": "Chip",
|
|
16977
|
+
"module": "/src/components/chip/chip.component"
|
|
16978
|
+
},
|
|
16979
|
+
"tagName": "mdc-filterchip",
|
|
16980
|
+
"jsDoc": "/**\n * mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\n * They can be found with lists or tables as quick filters.\n *\n * This component is built on top of the mdc-chip component.\n *\n * @tagname mdc-filterchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @csspart label - The label 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 * @event click - (React: onClick) This event is dispatched when the chip is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the chip.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the chip.\n * @event focus - (React: onFocus) This event is dispatched when the chip receives focus.\n */",
|
|
16981
|
+
"customElement": true
|
|
16982
|
+
}
|
|
16983
|
+
],
|
|
16984
|
+
"exports": [
|
|
16985
|
+
{
|
|
16986
|
+
"kind": "js",
|
|
16987
|
+
"name": "default",
|
|
16988
|
+
"declaration": {
|
|
16989
|
+
"name": "FilterChip",
|
|
16990
|
+
"module": "components/filterchip/filterchip.component.js"
|
|
16991
|
+
}
|
|
16992
|
+
}
|
|
16993
|
+
]
|
|
16994
|
+
},
|
|
16995
|
+
{
|
|
16996
|
+
"kind": "javascript-module",
|
|
16997
|
+
"path": "components/divider/divider.component.js",
|
|
16998
|
+
"declarations": [
|
|
16999
|
+
{
|
|
17000
|
+
"kind": "class",
|
|
17001
|
+
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
|
17002
|
+
"name": "Divider",
|
|
17003
|
+
"cssProperties": [
|
|
17004
|
+
{
|
|
17005
|
+
"description": "background color of the divider",
|
|
17006
|
+
"name": "--mdc-divider-background-color"
|
|
17007
|
+
},
|
|
17008
|
+
{
|
|
17009
|
+
"description": "width of the divider",
|
|
17010
|
+
"name": "--mdc-divider-width"
|
|
17011
|
+
},
|
|
17012
|
+
{
|
|
17013
|
+
"description": "gradient of the horizontal divider",
|
|
17014
|
+
"name": "--mdc-divider-horizontal-gradient"
|
|
17015
|
+
},
|
|
17016
|
+
{
|
|
17017
|
+
"description": "gradient of the vertical divider",
|
|
17018
|
+
"name": "--mdc-divider-vertical-gradient"
|
|
17019
|
+
},
|
|
17020
|
+
{
|
|
17021
|
+
"description": "font size of label in the text divider",
|
|
17022
|
+
"name": "--mdc-divider-text-size"
|
|
17023
|
+
},
|
|
17024
|
+
{
|
|
17025
|
+
"description": "font color of label in the text divider",
|
|
17026
|
+
"name": "--mdc-divider-text-color"
|
|
17027
|
+
},
|
|
17028
|
+
{
|
|
17029
|
+
"description": "left and right margin of label in the text divider",
|
|
17030
|
+
"name": "--mdc-divider-text-margin"
|
|
17031
|
+
},
|
|
17032
|
+
{
|
|
17033
|
+
"description": "line height of label in the text divider",
|
|
17034
|
+
"name": "--mdc-divider-text-line-height"
|
|
17035
|
+
},
|
|
17036
|
+
{
|
|
17037
|
+
"description": "background color of the grabber button in rest state",
|
|
17038
|
+
"name": "--mdc-divider-grabber-button-background-color-normal"
|
|
17039
|
+
},
|
|
17040
|
+
{
|
|
17041
|
+
"description": "background color of the grabber button in hover state",
|
|
17042
|
+
"name": "--mdc-divider-grabber-button-background-color-hover"
|
|
17043
|
+
},
|
|
17044
|
+
{
|
|
17045
|
+
"description": "background color of the grabber button in pressed state",
|
|
17046
|
+
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
|
17047
|
+
},
|
|
17048
|
+
{
|
|
17049
|
+
"description": "border color of the grabber button",
|
|
17050
|
+
"name": "--mdc-divider-grabber-button-border-color"
|
|
17051
|
+
},
|
|
17052
|
+
{
|
|
17053
|
+
"description": "border radius of the grabber button",
|
|
17054
|
+
"name": "--mdc-divider-grabber-button-border-radius"
|
|
17055
|
+
}
|
|
17056
|
+
],
|
|
17057
|
+
"members": [
|
|
17058
|
+
{
|
|
17059
|
+
"kind": "field",
|
|
17060
|
+
"name": "orientation",
|
|
17061
|
+
"type": {
|
|
17062
|
+
"text": "DividerOrientation"
|
|
17063
|
+
},
|
|
17064
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
|
17065
|
+
"default": "horizontal",
|
|
17066
|
+
"attribute": "orientation",
|
|
17067
|
+
"reflects": true
|
|
17068
|
+
},
|
|
17069
|
+
{
|
|
17070
|
+
"kind": "field",
|
|
17071
|
+
"name": "variant",
|
|
17072
|
+
"type": {
|
|
17073
|
+
"text": "DividerVariant"
|
|
17074
|
+
},
|
|
17075
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
|
17076
|
+
"default": "solid",
|
|
17077
|
+
"attribute": "variant",
|
|
17078
|
+
"reflects": true
|
|
17079
|
+
},
|
|
17080
|
+
{
|
|
17081
|
+
"kind": "field",
|
|
17082
|
+
"name": "arrowDirection",
|
|
17083
|
+
"type": {
|
|
17084
|
+
"text": "Directions"
|
|
17085
|
+
},
|
|
17086
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
17087
|
+
"default": "'negative'",
|
|
17088
|
+
"attribute": "arrow-direction",
|
|
17089
|
+
"reflects": true
|
|
17090
|
+
},
|
|
17091
|
+
{
|
|
17092
|
+
"kind": "field",
|
|
17093
|
+
"name": "buttonPosition",
|
|
17094
|
+
"type": {
|
|
17095
|
+
"text": "Directions"
|
|
17096
|
+
},
|
|
17097
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
17098
|
+
"default": "'negative'",
|
|
17099
|
+
"attribute": "button-position",
|
|
17100
|
+
"reflects": true
|
|
17101
|
+
},
|
|
17102
|
+
{
|
|
17103
|
+
"kind": "method",
|
|
17104
|
+
"name": "setVariant",
|
|
17105
|
+
"privacy": "private",
|
|
17106
|
+
"parameters": [
|
|
17107
|
+
{
|
|
17108
|
+
"name": "variant",
|
|
17109
|
+
"type": {
|
|
17110
|
+
"text": "DividerVariant"
|
|
17111
|
+
},
|
|
17112
|
+
"description": "The variant to set."
|
|
17113
|
+
}
|
|
17114
|
+
],
|
|
17115
|
+
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
|
17116
|
+
},
|
|
17117
|
+
{
|
|
17118
|
+
"kind": "method",
|
|
17119
|
+
"name": "setOrientation",
|
|
17120
|
+
"privacy": "private",
|
|
17121
|
+
"parameters": [
|
|
17122
|
+
{
|
|
17123
|
+
"name": "orientation",
|
|
17124
|
+
"type": {
|
|
17125
|
+
"text": "DividerOrientation"
|
|
17126
|
+
},
|
|
17127
|
+
"description": "The orientation to set."
|
|
17128
|
+
}
|
|
17129
|
+
],
|
|
17130
|
+
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
|
17131
|
+
},
|
|
17132
|
+
{
|
|
17133
|
+
"kind": "method",
|
|
17134
|
+
"name": "ensureValidDirections",
|
|
17135
|
+
"privacy": "private",
|
|
17136
|
+
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
|
17137
|
+
"parameters": [
|
|
17138
|
+
{
|
|
17139
|
+
"description": "The buttonPosition to set.",
|
|
17140
|
+
"name": "buttonPosition"
|
|
17141
|
+
},
|
|
17142
|
+
{
|
|
17143
|
+
"description": "The arrowDirection to set.",
|
|
17144
|
+
"name": "arrowDirection"
|
|
17145
|
+
}
|
|
17146
|
+
]
|
|
17147
|
+
},
|
|
17148
|
+
{
|
|
17149
|
+
"kind": "method",
|
|
17150
|
+
"name": "setGrabberButton",
|
|
17151
|
+
"privacy": "private",
|
|
17152
|
+
"return": {
|
|
17153
|
+
"type": {
|
|
17154
|
+
"text": "void"
|
|
17155
|
+
}
|
|
17117
17156
|
},
|
|
17118
|
-
"description": "
|
|
17119
|
-
"default": "32",
|
|
17120
|
-
"fieldName": "size",
|
|
17121
|
-
"inheritedFrom": {
|
|
17122
|
-
"name": "Buttonsimple",
|
|
17123
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
17124
|
-
}
|
|
17157
|
+
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
|
17125
17158
|
},
|
|
17126
17159
|
{
|
|
17127
|
-
"
|
|
17128
|
-
"
|
|
17129
|
-
|
|
17160
|
+
"kind": "method",
|
|
17161
|
+
"name": "getArrowIcon",
|
|
17162
|
+
"privacy": "private",
|
|
17163
|
+
"return": {
|
|
17164
|
+
"type": {
|
|
17165
|
+
"text": ""
|
|
17166
|
+
}
|
|
17130
17167
|
},
|
|
17131
|
-
"description": "
|
|
17132
|
-
"default": "button",
|
|
17133
|
-
"fieldName": "role",
|
|
17134
|
-
"inheritedFrom": {
|
|
17135
|
-
"name": "Buttonsimple",
|
|
17136
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
17137
|
-
}
|
|
17168
|
+
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
|
17138
17169
|
},
|
|
17139
17170
|
{
|
|
17140
|
-
"
|
|
17171
|
+
"kind": "method",
|
|
17172
|
+
"name": "inferDividerType",
|
|
17173
|
+
"privacy": "private",
|
|
17174
|
+
"description": "Infers the type of divider based on the kind of slot present.",
|
|
17175
|
+
"parameters": [
|
|
17176
|
+
{
|
|
17177
|
+
"description": "default slot of divider",
|
|
17178
|
+
"name": "slot"
|
|
17179
|
+
}
|
|
17180
|
+
]
|
|
17181
|
+
}
|
|
17182
|
+
],
|
|
17183
|
+
"attributes": [
|
|
17184
|
+
{
|
|
17185
|
+
"name": "orientation",
|
|
17141
17186
|
"type": {
|
|
17142
|
-
"text": "
|
|
17187
|
+
"text": "DividerOrientation"
|
|
17143
17188
|
},
|
|
17144
|
-
"description": "
|
|
17145
|
-
"default": "
|
|
17146
|
-
"fieldName": "
|
|
17147
|
-
"inheritedFrom": {
|
|
17148
|
-
"name": "Buttonsimple",
|
|
17149
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
17150
|
-
}
|
|
17189
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
|
17190
|
+
"default": "horizontal",
|
|
17191
|
+
"fieldName": "orientation"
|
|
17151
17192
|
},
|
|
17152
17193
|
{
|
|
17153
|
-
"name": "
|
|
17194
|
+
"name": "variant",
|
|
17154
17195
|
"type": {
|
|
17155
|
-
"text": "
|
|
17196
|
+
"text": "DividerVariant"
|
|
17156
17197
|
},
|
|
17157
|
-
"description": "
|
|
17158
|
-
"default": "
|
|
17159
|
-
"fieldName": "
|
|
17160
|
-
"inheritedFrom": {
|
|
17161
|
-
"name": "Buttonsimple",
|
|
17162
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
17163
|
-
}
|
|
17198
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
|
17199
|
+
"default": "solid",
|
|
17200
|
+
"fieldName": "variant"
|
|
17164
17201
|
},
|
|
17165
17202
|
{
|
|
17166
|
-
"name": "
|
|
17203
|
+
"name": "arrow-direction",
|
|
17167
17204
|
"type": {
|
|
17168
|
-
"text": "
|
|
17205
|
+
"text": "Directions"
|
|
17169
17206
|
},
|
|
17170
|
-
"description": "
|
|
17171
|
-
"
|
|
17172
|
-
"
|
|
17173
|
-
"name": "Buttonsimple",
|
|
17174
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
17175
|
-
}
|
|
17207
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
17208
|
+
"default": "'negative'",
|
|
17209
|
+
"fieldName": "arrowDirection"
|
|
17176
17210
|
},
|
|
17177
17211
|
{
|
|
17178
|
-
"name": "
|
|
17212
|
+
"name": "button-position",
|
|
17179
17213
|
"type": {
|
|
17180
|
-
"text": "
|
|
17214
|
+
"text": "Directions"
|
|
17181
17215
|
},
|
|
17182
|
-
"description": "
|
|
17183
|
-
"
|
|
17184
|
-
"
|
|
17185
|
-
"name": "Buttonsimple",
|
|
17186
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
17187
|
-
}
|
|
17216
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
|
17217
|
+
"default": "'negative'",
|
|
17218
|
+
"fieldName": "buttonPosition"
|
|
17188
17219
|
}
|
|
17189
17220
|
],
|
|
17190
17221
|
"superclass": {
|
|
17191
|
-
"name": "
|
|
17192
|
-
"module": "/src/
|
|
17222
|
+
"name": "Component",
|
|
17223
|
+
"module": "/src/models"
|
|
17193
17224
|
},
|
|
17194
|
-
"tagName": "mdc-
|
|
17195
|
-
"jsDoc": "/**\n * mdc-
|
|
17225
|
+
"tagName": "mdc-divider",
|
|
17226
|
+
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
|
17196
17227
|
"customElement": true
|
|
17197
17228
|
}
|
|
17198
17229
|
],
|
|
@@ -17201,8 +17232,8 @@
|
|
|
17201
17232
|
"kind": "js",
|
|
17202
17233
|
"name": "default",
|
|
17203
17234
|
"declaration": {
|
|
17204
|
-
"name": "
|
|
17205
|
-
"module": "components/
|
|
17235
|
+
"name": "Divider",
|
|
17236
|
+
"module": "components/divider/divider.component.js"
|
|
17206
17237
|
}
|
|
17207
17238
|
}
|
|
17208
17239
|
]
|
|
@@ -23005,6 +23036,17 @@
|
|
|
23005
23036
|
"attribute": "data-index",
|
|
23006
23037
|
"reflects": true
|
|
23007
23038
|
},
|
|
23039
|
+
{
|
|
23040
|
+
"kind": "field",
|
|
23041
|
+
"name": "active",
|
|
23042
|
+
"type": {
|
|
23043
|
+
"text": "boolean | undefined"
|
|
23044
|
+
},
|
|
23045
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
23046
|
+
"default": "undefined",
|
|
23047
|
+
"attribute": "active",
|
|
23048
|
+
"reflects": true
|
|
23049
|
+
},
|
|
23008
23050
|
{
|
|
23009
23051
|
"kind": "method",
|
|
23010
23052
|
"name": "handleClick",
|
|
@@ -23304,6 +23346,15 @@
|
|
|
23304
23346
|
"default": "undefined",
|
|
23305
23347
|
"fieldName": "dataIndex"
|
|
23306
23348
|
},
|
|
23349
|
+
{
|
|
23350
|
+
"name": "active",
|
|
23351
|
+
"type": {
|
|
23352
|
+
"text": "boolean | undefined"
|
|
23353
|
+
},
|
|
23354
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
23355
|
+
"default": "undefined",
|
|
23356
|
+
"fieldName": "active"
|
|
23357
|
+
},
|
|
23307
23358
|
{
|
|
23308
23359
|
"name": "disabled",
|
|
23309
23360
|
"type": {
|
|
@@ -24170,6 +24221,21 @@
|
|
|
24170
24221
|
"module": "components/listitem/listitem.component.js"
|
|
24171
24222
|
}
|
|
24172
24223
|
},
|
|
24224
|
+
{
|
|
24225
|
+
"kind": "field",
|
|
24226
|
+
"name": "active",
|
|
24227
|
+
"type": {
|
|
24228
|
+
"text": "boolean | undefined"
|
|
24229
|
+
},
|
|
24230
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
24231
|
+
"default": "undefined",
|
|
24232
|
+
"attribute": "active",
|
|
24233
|
+
"reflects": true,
|
|
24234
|
+
"inheritedFrom": {
|
|
24235
|
+
"name": "ListItem",
|
|
24236
|
+
"module": "components/listitem/listitem.component.js"
|
|
24237
|
+
}
|
|
24238
|
+
},
|
|
24173
24239
|
{
|
|
24174
24240
|
"kind": "method",
|
|
24175
24241
|
"name": "handleClick",
|
|
@@ -24538,6 +24604,19 @@
|
|
|
24538
24604
|
"name": "ListItem",
|
|
24539
24605
|
"module": "src/components/listitem/listitem.component.ts"
|
|
24540
24606
|
}
|
|
24607
|
+
},
|
|
24608
|
+
{
|
|
24609
|
+
"name": "active",
|
|
24610
|
+
"type": {
|
|
24611
|
+
"text": "boolean | undefined"
|
|
24612
|
+
},
|
|
24613
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
24614
|
+
"default": "undefined",
|
|
24615
|
+
"fieldName": "active",
|
|
24616
|
+
"inheritedFrom": {
|
|
24617
|
+
"name": "ListItem",
|
|
24618
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
24619
|
+
}
|
|
24541
24620
|
}
|
|
24542
24621
|
],
|
|
24543
24622
|
"superclass": {
|
|
@@ -25255,6 +25334,21 @@
|
|
|
25255
25334
|
"module": "components/listitem/listitem.component.js"
|
|
25256
25335
|
}
|
|
25257
25336
|
},
|
|
25337
|
+
{
|
|
25338
|
+
"kind": "field",
|
|
25339
|
+
"name": "active",
|
|
25340
|
+
"type": {
|
|
25341
|
+
"text": "boolean | undefined"
|
|
25342
|
+
},
|
|
25343
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
25344
|
+
"default": "undefined",
|
|
25345
|
+
"attribute": "active",
|
|
25346
|
+
"reflects": true,
|
|
25347
|
+
"inheritedFrom": {
|
|
25348
|
+
"name": "ListItem",
|
|
25349
|
+
"module": "components/listitem/listitem.component.js"
|
|
25350
|
+
}
|
|
25351
|
+
},
|
|
25258
25352
|
{
|
|
25259
25353
|
"kind": "method",
|
|
25260
25354
|
"name": "handleClick",
|
|
@@ -25678,6 +25772,19 @@
|
|
|
25678
25772
|
"name": "ListItem",
|
|
25679
25773
|
"module": "src/components/listitem/listitem.component.ts"
|
|
25680
25774
|
}
|
|
25775
|
+
},
|
|
25776
|
+
{
|
|
25777
|
+
"name": "active",
|
|
25778
|
+
"type": {
|
|
25779
|
+
"text": "boolean | undefined"
|
|
25780
|
+
},
|
|
25781
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
25782
|
+
"default": "undefined",
|
|
25783
|
+
"fieldName": "active",
|
|
25784
|
+
"inheritedFrom": {
|
|
25785
|
+
"name": "ListItem",
|
|
25786
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
25787
|
+
}
|
|
25681
25788
|
}
|
|
25682
25789
|
],
|
|
25683
25790
|
"mixins": [
|
|
@@ -26314,6 +26421,21 @@
|
|
|
26314
26421
|
"module": "components/listitem/listitem.component.js"
|
|
26315
26422
|
}
|
|
26316
26423
|
},
|
|
26424
|
+
{
|
|
26425
|
+
"kind": "field",
|
|
26426
|
+
"name": "active",
|
|
26427
|
+
"type": {
|
|
26428
|
+
"text": "boolean | undefined"
|
|
26429
|
+
},
|
|
26430
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
26431
|
+
"default": "undefined",
|
|
26432
|
+
"attribute": "active",
|
|
26433
|
+
"reflects": true,
|
|
26434
|
+
"inheritedFrom": {
|
|
26435
|
+
"name": "ListItem",
|
|
26436
|
+
"module": "components/listitem/listitem.component.js"
|
|
26437
|
+
}
|
|
26438
|
+
},
|
|
26317
26439
|
{
|
|
26318
26440
|
"kind": "method",
|
|
26319
26441
|
"name": "handleClick",
|
|
@@ -26737,6 +26859,19 @@
|
|
|
26737
26859
|
"name": "ListItem",
|
|
26738
26860
|
"module": "src/components/listitem/listitem.component.ts"
|
|
26739
26861
|
}
|
|
26862
|
+
},
|
|
26863
|
+
{
|
|
26864
|
+
"name": "active",
|
|
26865
|
+
"type": {
|
|
26866
|
+
"text": "boolean | undefined"
|
|
26867
|
+
},
|
|
26868
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
26869
|
+
"default": "undefined",
|
|
26870
|
+
"fieldName": "active",
|
|
26871
|
+
"inheritedFrom": {
|
|
26872
|
+
"name": "ListItem",
|
|
26873
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
26874
|
+
}
|
|
26740
26875
|
}
|
|
26741
26876
|
],
|
|
26742
26877
|
"mixins": [
|
|
@@ -29408,7 +29543,11 @@
|
|
|
29408
29543
|
"description": "The navmenuitem's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the navmenuitem is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the navmenuitem is in an inactive state, indicating it is toggled off.",
|
|
29409
29544
|
"default": "undefined",
|
|
29410
29545
|
"attribute": "active",
|
|
29411
|
-
"reflects": true
|
|
29546
|
+
"reflects": true,
|
|
29547
|
+
"inheritedFrom": {
|
|
29548
|
+
"name": "ListItem",
|
|
29549
|
+
"module": "components/listitem/listitem.component.js"
|
|
29550
|
+
}
|
|
29412
29551
|
},
|
|
29413
29552
|
{
|
|
29414
29553
|
"kind": "field",
|
|
@@ -30073,7 +30212,11 @@
|
|
|
30073
30212
|
},
|
|
30074
30213
|
"description": "The navmenuitem's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the navmenuitem is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the navmenuitem is in an inactive state, indicating it is toggled off.",
|
|
30075
30214
|
"default": "undefined",
|
|
30076
|
-
"fieldName": "active"
|
|
30215
|
+
"fieldName": "active",
|
|
30216
|
+
"inheritedFrom": {
|
|
30217
|
+
"name": "ListItem",
|
|
30218
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
30219
|
+
}
|
|
30077
30220
|
},
|
|
30078
30221
|
{
|
|
30079
30222
|
"name": "badge-type",
|
|
@@ -31002,6 +31145,21 @@
|
|
|
31002
31145
|
"module": "components/listitem/listitem.component.js"
|
|
31003
31146
|
}
|
|
31004
31147
|
},
|
|
31148
|
+
{
|
|
31149
|
+
"kind": "field",
|
|
31150
|
+
"name": "active",
|
|
31151
|
+
"type": {
|
|
31152
|
+
"text": "boolean | undefined"
|
|
31153
|
+
},
|
|
31154
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
31155
|
+
"default": "undefined",
|
|
31156
|
+
"attribute": "active",
|
|
31157
|
+
"reflects": true,
|
|
31158
|
+
"inheritedFrom": {
|
|
31159
|
+
"name": "ListItem",
|
|
31160
|
+
"module": "components/listitem/listitem.component.js"
|
|
31161
|
+
}
|
|
31162
|
+
},
|
|
31005
31163
|
{
|
|
31006
31164
|
"kind": "method",
|
|
31007
31165
|
"name": "handleClick",
|
|
@@ -31456,6 +31614,19 @@
|
|
|
31456
31614
|
"name": "ListItem",
|
|
31457
31615
|
"module": "src/components/listitem/listitem.component.ts"
|
|
31458
31616
|
}
|
|
31617
|
+
},
|
|
31618
|
+
{
|
|
31619
|
+
"name": "active",
|
|
31620
|
+
"type": {
|
|
31621
|
+
"text": "boolean | undefined"
|
|
31622
|
+
},
|
|
31623
|
+
"description": "Indicates whether the list item is active.\nWhen set to true, the list item appears in a active state.\n\nNOTE: this is a visual state only, it does not affect the behavior or a11y of the list item.",
|
|
31624
|
+
"default": "undefined",
|
|
31625
|
+
"fieldName": "active",
|
|
31626
|
+
"inheritedFrom": {
|
|
31627
|
+
"name": "ListItem",
|
|
31628
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
31629
|
+
}
|
|
31459
31630
|
}
|
|
31460
31631
|
],
|
|
31461
31632
|
"mixins": [
|