@momentum-design/components 0.122.0 → 0.122.2
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 +136 -135
- package/dist/browser/index.js.map +2 -2
- package/dist/components/popover/popover.utils.js +2 -1
- package/dist/components/searchpopover/searchpopover.component.d.ts +7 -2
- package/dist/components/searchpopover/searchpopover.component.js +7 -2
- package/dist/custom-elements.json +1027 -1009
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/searchpopover/index.d.ts +2 -2
- package/dist/react/searchpopover/index.js +2 -2
- package/package.json +1 -1
|
@@ -7691,124 +7691,332 @@
|
|
|
7691
7691
|
},
|
|
7692
7692
|
{
|
|
7693
7693
|
"kind": "javascript-module",
|
|
7694
|
-
"path": "components/
|
|
7694
|
+
"path": "components/cardradio/cardradio.component.js",
|
|
7695
7695
|
"declarations": [
|
|
7696
7696
|
{
|
|
7697
7697
|
"kind": "class",
|
|
7698
|
-
"description": "
|
|
7699
|
-
"name": "
|
|
7698
|
+
"description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis card would have events for selected and unselected (similar to radio)\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.",
|
|
7699
|
+
"name": "CardRadio",
|
|
7700
7700
|
"cssProperties": [
|
|
7701
7701
|
{
|
|
7702
7702
|
"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",
|
|
7703
|
+
"name": "--mdc-card-width",
|
|
7732
7704
|
"inheritedFrom": {
|
|
7733
|
-
"name": "
|
|
7734
|
-
"module": "src/components/
|
|
7705
|
+
"name": "Card",
|
|
7706
|
+
"module": "src/components/card/card.component.ts"
|
|
7735
7707
|
}
|
|
7736
7708
|
}
|
|
7737
7709
|
],
|
|
7738
7710
|
"cssParts": [
|
|
7739
7711
|
{
|
|
7740
7712
|
"description": "The header part of the card",
|
|
7741
|
-
"name": "header"
|
|
7713
|
+
"name": "header",
|
|
7714
|
+
"inheritedFrom": {
|
|
7715
|
+
"name": "Card",
|
|
7716
|
+
"module": "src/components/card/card.component.ts"
|
|
7717
|
+
}
|
|
7742
7718
|
},
|
|
7743
7719
|
{
|
|
7744
7720
|
"description": "The icon part of the card header",
|
|
7745
|
-
"name": "icon"
|
|
7721
|
+
"name": "icon",
|
|
7722
|
+
"inheritedFrom": {
|
|
7723
|
+
"name": "Card",
|
|
7724
|
+
"module": "src/components/card/card.component.ts"
|
|
7725
|
+
}
|
|
7746
7726
|
},
|
|
7747
7727
|
{
|
|
7748
7728
|
"description": "The body part of the card",
|
|
7749
|
-
"name": "body"
|
|
7729
|
+
"name": "body",
|
|
7730
|
+
"inheritedFrom": {
|
|
7731
|
+
"name": "Card",
|
|
7732
|
+
"module": "src/components/card/card.component.ts"
|
|
7733
|
+
}
|
|
7750
7734
|
},
|
|
7751
7735
|
{
|
|
7752
7736
|
"description": "The image part of the card",
|
|
7753
|
-
"name": "image"
|
|
7737
|
+
"name": "image",
|
|
7738
|
+
"inheritedFrom": {
|
|
7739
|
+
"name": "Card",
|
|
7740
|
+
"module": "src/components/card/card.component.ts"
|
|
7741
|
+
}
|
|
7754
7742
|
},
|
|
7755
7743
|
{
|
|
7756
7744
|
"description": "The footer part of the card",
|
|
7757
|
-
"name": "footer"
|
|
7745
|
+
"name": "footer",
|
|
7746
|
+
"inheritedFrom": {
|
|
7747
|
+
"name": "Card",
|
|
7748
|
+
"module": "src/components/card/card.component.ts"
|
|
7749
|
+
}
|
|
7758
7750
|
},
|
|
7759
7751
|
{
|
|
7760
7752
|
"description": "The link part of the card footer",
|
|
7761
|
-
"name": "footer-link"
|
|
7753
|
+
"name": "footer-link",
|
|
7754
|
+
"inheritedFrom": {
|
|
7755
|
+
"name": "Card",
|
|
7756
|
+
"module": "src/components/card/card.component.ts"
|
|
7757
|
+
}
|
|
7762
7758
|
},
|
|
7763
7759
|
{
|
|
7764
7760
|
"description": "The primary button part of the card footer",
|
|
7765
|
-
"name": "footer-button-primary"
|
|
7761
|
+
"name": "footer-button-primary",
|
|
7762
|
+
"inheritedFrom": {
|
|
7763
|
+
"name": "Card",
|
|
7764
|
+
"module": "src/components/card/card.component.ts"
|
|
7765
|
+
}
|
|
7766
7766
|
},
|
|
7767
7767
|
{
|
|
7768
7768
|
"description": "The secondary button part of the card footer",
|
|
7769
|
-
"name": "footer-button-secondary"
|
|
7769
|
+
"name": "footer-button-secondary",
|
|
7770
|
+
"inheritedFrom": {
|
|
7771
|
+
"name": "Card",
|
|
7772
|
+
"module": "src/components/card/card.component.ts"
|
|
7773
|
+
}
|
|
7770
7774
|
},
|
|
7771
7775
|
{
|
|
7772
7776
|
"description": "The icon button part of the card header",
|
|
7773
|
-
"name": "icon-button"
|
|
7777
|
+
"name": "icon-button",
|
|
7778
|
+
"inheritedFrom": {
|
|
7779
|
+
"name": "Card",
|
|
7780
|
+
"module": "src/components/card/card.component.ts"
|
|
7781
|
+
}
|
|
7774
7782
|
},
|
|
7775
7783
|
{
|
|
7776
7784
|
"description": "The text part of the card",
|
|
7777
|
-
"name": "text"
|
|
7785
|
+
"name": "text",
|
|
7786
|
+
"inheritedFrom": {
|
|
7787
|
+
"name": "Card",
|
|
7788
|
+
"module": "src/components/card/card.component.ts"
|
|
7789
|
+
}
|
|
7790
|
+
},
|
|
7791
|
+
{
|
|
7792
|
+
"description": "The check part of the card",
|
|
7793
|
+
"name": "check"
|
|
7794
|
+
},
|
|
7795
|
+
{
|
|
7796
|
+
"description": "The check icon part of the card",
|
|
7797
|
+
"name": "check-icon"
|
|
7798
|
+
},
|
|
7799
|
+
{
|
|
7800
|
+
"description": "The check icon button part of the card",
|
|
7801
|
+
"name": "check-icon-button"
|
|
7778
7802
|
}
|
|
7779
7803
|
],
|
|
7780
7804
|
"slots": [
|
|
7781
7805
|
{
|
|
7782
7806
|
"description": "This slot is for passing the content before the body",
|
|
7783
|
-
"name": "before-body"
|
|
7807
|
+
"name": "before-body",
|
|
7808
|
+
"inheritedFrom": {
|
|
7809
|
+
"name": "Card",
|
|
7810
|
+
"module": "src/components/card/card.component.ts"
|
|
7811
|
+
}
|
|
7784
7812
|
},
|
|
7785
7813
|
{
|
|
7786
7814
|
"description": "This slot is for passing the text content for the card",
|
|
7787
|
-
"name": "body"
|
|
7815
|
+
"name": "body",
|
|
7816
|
+
"inheritedFrom": {
|
|
7817
|
+
"name": "Card",
|
|
7818
|
+
"module": "src/components/card/card.component.ts"
|
|
7819
|
+
}
|
|
7788
7820
|
},
|
|
7789
7821
|
{
|
|
7790
7822
|
"description": "This slot is for passing the content after the body",
|
|
7791
|
-
"name": "after-body"
|
|
7823
|
+
"name": "after-body",
|
|
7824
|
+
"inheritedFrom": {
|
|
7825
|
+
"name": "Card",
|
|
7826
|
+
"module": "src/components/card/card.component.ts"
|
|
7827
|
+
}
|
|
7792
7828
|
},
|
|
7793
7829
|
{
|
|
7794
7830
|
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
7795
|
-
"name": "footer-link"
|
|
7831
|
+
"name": "footer-link",
|
|
7832
|
+
"inheritedFrom": {
|
|
7833
|
+
"name": "Card",
|
|
7834
|
+
"module": "src/components/card/card.component.ts"
|
|
7835
|
+
}
|
|
7796
7836
|
},
|
|
7797
7837
|
{
|
|
7798
7838
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7799
|
-
"name": "footer-button-primary"
|
|
7839
|
+
"name": "footer-button-primary",
|
|
7840
|
+
"inheritedFrom": {
|
|
7841
|
+
"name": "Card",
|
|
7842
|
+
"module": "src/components/card/card.component.ts"
|
|
7843
|
+
}
|
|
7844
|
+
},
|
|
7845
|
+
{
|
|
7846
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7847
|
+
"name": "footer-button-secondary",
|
|
7848
|
+
"inheritedFrom": {
|
|
7849
|
+
"name": "Card",
|
|
7850
|
+
"module": "src/components/card/card.component.ts"
|
|
7851
|
+
}
|
|
7852
|
+
},
|
|
7853
|
+
{
|
|
7854
|
+
"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.",
|
|
7855
|
+
"name": "footer",
|
|
7856
|
+
"inheritedFrom": {
|
|
7857
|
+
"name": "Card",
|
|
7858
|
+
"module": "src/components/card/card.component.ts"
|
|
7859
|
+
}
|
|
7800
7860
|
}
|
|
7801
7861
|
],
|
|
7802
7862
|
"members": [
|
|
7863
|
+
{
|
|
7864
|
+
"kind": "field",
|
|
7865
|
+
"name": "checked",
|
|
7866
|
+
"type": {
|
|
7867
|
+
"text": "boolean"
|
|
7868
|
+
},
|
|
7869
|
+
"default": "false",
|
|
7870
|
+
"description": "The checked state of the card",
|
|
7871
|
+
"attribute": "checked",
|
|
7872
|
+
"reflects": true
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
"kind": "field",
|
|
7876
|
+
"name": "name",
|
|
7877
|
+
"type": {
|
|
7878
|
+
"text": "string"
|
|
7879
|
+
},
|
|
7880
|
+
"default": "''",
|
|
7881
|
+
"description": "The name of the radio.",
|
|
7882
|
+
"attribute": "name"
|
|
7883
|
+
},
|
|
7884
|
+
{
|
|
7885
|
+
"kind": "method",
|
|
7886
|
+
"name": "getAllCardsWithinSameGroup",
|
|
7887
|
+
"privacy": "private",
|
|
7888
|
+
"return": {
|
|
7889
|
+
"type": {
|
|
7890
|
+
"text": "CardRadio[]"
|
|
7891
|
+
}
|
|
7892
|
+
},
|
|
7893
|
+
"description": "Returns all cards within the same group (name)."
|
|
7894
|
+
},
|
|
7895
|
+
{
|
|
7896
|
+
"kind": "method",
|
|
7897
|
+
"name": "toggleChecked",
|
|
7898
|
+
"privacy": "private",
|
|
7899
|
+
"return": {
|
|
7900
|
+
"type": {
|
|
7901
|
+
"text": "void"
|
|
7902
|
+
}
|
|
7903
|
+
},
|
|
7904
|
+
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
|
7905
|
+
},
|
|
7906
|
+
{
|
|
7907
|
+
"kind": "method",
|
|
7908
|
+
"name": "setDisabled",
|
|
7909
|
+
"return": {
|
|
7910
|
+
"type": {
|
|
7911
|
+
"text": "void"
|
|
7912
|
+
}
|
|
7913
|
+
},
|
|
7914
|
+
"parameters": [
|
|
7915
|
+
{
|
|
7916
|
+
"name": "disabled",
|
|
7917
|
+
"type": {
|
|
7918
|
+
"text": "boolean"
|
|
7919
|
+
}
|
|
7920
|
+
}
|
|
7921
|
+
]
|
|
7922
|
+
},
|
|
7923
|
+
{
|
|
7924
|
+
"kind": "method",
|
|
7925
|
+
"name": "updateCardRadio",
|
|
7926
|
+
"privacy": "private",
|
|
7927
|
+
"return": {
|
|
7928
|
+
"type": {
|
|
7929
|
+
"text": "void"
|
|
7930
|
+
}
|
|
7931
|
+
},
|
|
7932
|
+
"parameters": [
|
|
7933
|
+
{
|
|
7934
|
+
"name": "cards",
|
|
7935
|
+
"type": {
|
|
7936
|
+
"text": "CardRadio[]"
|
|
7937
|
+
}
|
|
7938
|
+
},
|
|
7939
|
+
{
|
|
7940
|
+
"name": "index",
|
|
7941
|
+
"type": {
|
|
7942
|
+
"text": "number"
|
|
7943
|
+
}
|
|
7944
|
+
}
|
|
7945
|
+
]
|
|
7946
|
+
},
|
|
7947
|
+
{
|
|
7948
|
+
"kind": "method",
|
|
7949
|
+
"name": "toggleOnEnter",
|
|
7950
|
+
"privacy": "private",
|
|
7951
|
+
"parameters": [
|
|
7952
|
+
{
|
|
7953
|
+
"name": "event",
|
|
7954
|
+
"type": {
|
|
7955
|
+
"text": "KeyboardEvent"
|
|
7956
|
+
},
|
|
7957
|
+
"description": "The keyboard event"
|
|
7958
|
+
}
|
|
7959
|
+
],
|
|
7960
|
+
"description": "Toggles the checked state when enter key is used"
|
|
7961
|
+
},
|
|
7962
|
+
{
|
|
7963
|
+
"kind": "method",
|
|
7964
|
+
"name": "toggleOnSpace",
|
|
7965
|
+
"privacy": "private",
|
|
7966
|
+
"parameters": [
|
|
7967
|
+
{
|
|
7968
|
+
"name": "event",
|
|
7969
|
+
"type": {
|
|
7970
|
+
"text": "KeyboardEvent"
|
|
7971
|
+
},
|
|
7972
|
+
"description": "The keyboard event"
|
|
7973
|
+
}
|
|
7974
|
+
],
|
|
7975
|
+
"description": "Toggles the checked state when space key is used"
|
|
7976
|
+
},
|
|
7803
7977
|
{
|
|
7804
7978
|
"kind": "method",
|
|
7805
7979
|
"name": "renderHeader",
|
|
7806
7980
|
"privacy": "protected",
|
|
7807
|
-
"description": "Renders the header of the card
|
|
7981
|
+
"description": "Renders the header of the card",
|
|
7808
7982
|
"return": {
|
|
7809
7983
|
"type": {
|
|
7810
7984
|
"text": ""
|
|
7811
7985
|
}
|
|
7986
|
+
},
|
|
7987
|
+
"inheritedFrom": {
|
|
7988
|
+
"name": "Card",
|
|
7989
|
+
"module": "components/card/card.component.js"
|
|
7990
|
+
}
|
|
7991
|
+
},
|
|
7992
|
+
{
|
|
7993
|
+
"kind": "field",
|
|
7994
|
+
"name": "disabled",
|
|
7995
|
+
"type": {
|
|
7996
|
+
"text": "boolean | undefined"
|
|
7997
|
+
},
|
|
7998
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
7999
|
+
"default": "undefined",
|
|
8000
|
+
"attribute": "disabled",
|
|
8001
|
+
"reflects": true,
|
|
8002
|
+
"inheritedFrom": {
|
|
8003
|
+
"name": "DisabledMixin",
|
|
8004
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
8005
|
+
}
|
|
8006
|
+
},
|
|
8007
|
+
{
|
|
8008
|
+
"kind": "field",
|
|
8009
|
+
"name": "tabIndex",
|
|
8010
|
+
"type": {
|
|
8011
|
+
"text": "number"
|
|
8012
|
+
},
|
|
8013
|
+
"default": "0",
|
|
8014
|
+
"description": "This property specifies the tab order of the element.",
|
|
8015
|
+
"attribute": "tabIndex",
|
|
8016
|
+
"reflects": true,
|
|
8017
|
+
"inheritedFrom": {
|
|
8018
|
+
"name": "TabIndexMixin",
|
|
8019
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
7812
8020
|
}
|
|
7813
8021
|
},
|
|
7814
8022
|
{
|
|
@@ -7822,8 +8030,8 @@
|
|
|
7822
8030
|
"attribute": "card-title",
|
|
7823
8031
|
"reflects": true,
|
|
7824
8032
|
"inheritedFrom": {
|
|
7825
|
-
"name": "
|
|
7826
|
-
"module": "
|
|
8033
|
+
"name": "Card",
|
|
8034
|
+
"module": "components/card/card.component.js"
|
|
7827
8035
|
}
|
|
7828
8036
|
},
|
|
7829
8037
|
{
|
|
@@ -7837,8 +8045,8 @@
|
|
|
7837
8045
|
"attribute": "subtitle",
|
|
7838
8046
|
"reflects": true,
|
|
7839
8047
|
"inheritedFrom": {
|
|
7840
|
-
"name": "
|
|
7841
|
-
"module": "
|
|
8048
|
+
"name": "Card",
|
|
8049
|
+
"module": "components/card/card.component.js"
|
|
7842
8050
|
}
|
|
7843
8051
|
},
|
|
7844
8052
|
{
|
|
@@ -7852,8 +8060,8 @@
|
|
|
7852
8060
|
"attribute": "image-src",
|
|
7853
8061
|
"reflects": true,
|
|
7854
8062
|
"inheritedFrom": {
|
|
7855
|
-
"name": "
|
|
7856
|
-
"module": "
|
|
8063
|
+
"name": "Card",
|
|
8064
|
+
"module": "components/card/card.component.js"
|
|
7857
8065
|
}
|
|
7858
8066
|
},
|
|
7859
8067
|
{
|
|
@@ -7867,8 +8075,8 @@
|
|
|
7867
8075
|
"attribute": "image-alt",
|
|
7868
8076
|
"reflects": true,
|
|
7869
8077
|
"inheritedFrom": {
|
|
7870
|
-
"name": "
|
|
7871
|
-
"module": "
|
|
8078
|
+
"name": "Card",
|
|
8079
|
+
"module": "components/card/card.component.js"
|
|
7872
8080
|
}
|
|
7873
8081
|
},
|
|
7874
8082
|
{
|
|
@@ -7882,8 +8090,8 @@
|
|
|
7882
8090
|
"attribute": "variant",
|
|
7883
8091
|
"reflects": true,
|
|
7884
8092
|
"inheritedFrom": {
|
|
7885
|
-
"name": "
|
|
7886
|
-
"module": "
|
|
8093
|
+
"name": "Card",
|
|
8094
|
+
"module": "components/card/card.component.js"
|
|
7887
8095
|
}
|
|
7888
8096
|
},
|
|
7889
8097
|
{
|
|
@@ -7897,8 +8105,8 @@
|
|
|
7897
8105
|
"attribute": "orientation",
|
|
7898
8106
|
"reflects": true,
|
|
7899
8107
|
"inheritedFrom": {
|
|
7900
|
-
"name": "
|
|
7901
|
-
"module": "
|
|
8108
|
+
"name": "Card",
|
|
8109
|
+
"module": "components/card/card.component.js"
|
|
7902
8110
|
}
|
|
7903
8111
|
},
|
|
7904
8112
|
{
|
|
@@ -7912,8 +8120,8 @@
|
|
|
7912
8120
|
"attribute": "title-tag-name",
|
|
7913
8121
|
"reflects": true,
|
|
7914
8122
|
"inheritedFrom": {
|
|
7915
|
-
"name": "
|
|
7916
|
-
"module": "
|
|
8123
|
+
"name": "Card",
|
|
8124
|
+
"module": "components/card/card.component.js"
|
|
7917
8125
|
}
|
|
7918
8126
|
},
|
|
7919
8127
|
{
|
|
@@ -7927,8 +8135,8 @@
|
|
|
7927
8135
|
"attribute": "subtitle-tag-name",
|
|
7928
8136
|
"reflects": true,
|
|
7929
8137
|
"inheritedFrom": {
|
|
7930
|
-
"name": "
|
|
7931
|
-
"module": "
|
|
8138
|
+
"name": "Card",
|
|
8139
|
+
"module": "components/card/card.component.js"
|
|
7932
8140
|
}
|
|
7933
8141
|
},
|
|
7934
8142
|
{
|
|
@@ -7941,8 +8149,8 @@
|
|
|
7941
8149
|
"attribute": "icon-name",
|
|
7942
8150
|
"reflects": true,
|
|
7943
8151
|
"inheritedFrom": {
|
|
7944
|
-
"name": "
|
|
7945
|
-
"module": "
|
|
8152
|
+
"name": "Card",
|
|
8153
|
+
"module": "components/card/card.component.js"
|
|
7946
8154
|
}
|
|
7947
8155
|
},
|
|
7948
8156
|
{
|
|
@@ -7956,8 +8164,8 @@
|
|
|
7956
8164
|
}
|
|
7957
8165
|
},
|
|
7958
8166
|
"inheritedFrom": {
|
|
7959
|
-
"name": "
|
|
7960
|
-
"module": "
|
|
8167
|
+
"name": "Card",
|
|
8168
|
+
"module": "components/card/card.component.js"
|
|
7961
8169
|
}
|
|
7962
8170
|
},
|
|
7963
8171
|
{
|
|
@@ -7971,8 +8179,8 @@
|
|
|
7971
8179
|
}
|
|
7972
8180
|
},
|
|
7973
8181
|
"inheritedFrom": {
|
|
7974
|
-
"name": "
|
|
7975
|
-
"module": "
|
|
8182
|
+
"name": "Card",
|
|
8183
|
+
"module": "components/card/card.component.js"
|
|
7976
8184
|
}
|
|
7977
8185
|
},
|
|
7978
8186
|
{
|
|
@@ -7986,422 +8194,151 @@
|
|
|
7986
8194
|
}
|
|
7987
8195
|
},
|
|
7988
8196
|
"inheritedFrom": {
|
|
7989
|
-
"name": "
|
|
7990
|
-
"module": "
|
|
8197
|
+
"name": "Card",
|
|
8198
|
+
"module": "components/card/card.component.js"
|
|
7991
8199
|
}
|
|
7992
8200
|
},
|
|
7993
8201
|
{
|
|
7994
|
-
"kind": "
|
|
7995
|
-
"name": "
|
|
8202
|
+
"kind": "method",
|
|
8203
|
+
"name": "renderFooter",
|
|
8204
|
+
"privacy": "protected",
|
|
8205
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
8206
|
+
"return": {
|
|
8207
|
+
"type": {
|
|
8208
|
+
"text": ""
|
|
8209
|
+
}
|
|
8210
|
+
},
|
|
8211
|
+
"inheritedFrom": {
|
|
8212
|
+
"name": "Card",
|
|
8213
|
+
"module": "components/card/card.component.js"
|
|
8214
|
+
}
|
|
8215
|
+
}
|
|
8216
|
+
],
|
|
8217
|
+
"events": [
|
|
8218
|
+
{
|
|
8219
|
+
"name": "change",
|
|
8220
|
+
"type": {
|
|
8221
|
+
"text": "Event"
|
|
8222
|
+
},
|
|
8223
|
+
"description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
|
|
8224
|
+
"reactName": "onChange"
|
|
8225
|
+
},
|
|
8226
|
+
{
|
|
8227
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
|
|
8228
|
+
"name": "click",
|
|
8229
|
+
"reactName": "onClick"
|
|
8230
|
+
},
|
|
8231
|
+
{
|
|
8232
|
+
"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.",
|
|
8233
|
+
"name": "keydown",
|
|
8234
|
+
"reactName": "onKeyDown"
|
|
8235
|
+
},
|
|
8236
|
+
{
|
|
8237
|
+
"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.",
|
|
8238
|
+
"name": "keyup",
|
|
8239
|
+
"reactName": "onKeyUp"
|
|
8240
|
+
},
|
|
8241
|
+
{
|
|
8242
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8243
|
+
"name": "focus",
|
|
8244
|
+
"reactName": "onFocus"
|
|
8245
|
+
}
|
|
8246
|
+
],
|
|
8247
|
+
"attributes": [
|
|
8248
|
+
{
|
|
8249
|
+
"name": "checked",
|
|
7996
8250
|
"type": {
|
|
7997
8251
|
"text": "boolean"
|
|
7998
8252
|
},
|
|
7999
8253
|
"default": "false",
|
|
8000
|
-
"description": "
|
|
8001
|
-
"
|
|
8002
|
-
"reflects": true,
|
|
8003
|
-
"inheritedFrom": {
|
|
8004
|
-
"name": "Buttonsimple",
|
|
8005
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8006
|
-
}
|
|
8254
|
+
"description": "The checked state of the card",
|
|
8255
|
+
"fieldName": "checked"
|
|
8007
8256
|
},
|
|
8008
8257
|
{
|
|
8009
|
-
"
|
|
8010
|
-
"name": "tabIndex",
|
|
8258
|
+
"name": "name",
|
|
8011
8259
|
"type": {
|
|
8012
|
-
"text": "
|
|
8260
|
+
"text": "string"
|
|
8013
8261
|
},
|
|
8014
|
-
"default": "
|
|
8015
|
-
"description": "
|
|
8016
|
-
"
|
|
8017
|
-
"reflects": true,
|
|
8018
|
-
"inheritedFrom": {
|
|
8019
|
-
"name": "Buttonsimple",
|
|
8020
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8021
|
-
}
|
|
8262
|
+
"default": "''",
|
|
8263
|
+
"description": "The name of the radio.",
|
|
8264
|
+
"fieldName": "name"
|
|
8022
8265
|
},
|
|
8023
8266
|
{
|
|
8024
|
-
"kind": "field",
|
|
8025
8267
|
"name": "disabled",
|
|
8026
8268
|
"type": {
|
|
8027
8269
|
"text": "boolean | undefined"
|
|
8028
8270
|
},
|
|
8029
8271
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8030
8272
|
"default": "undefined",
|
|
8031
|
-
"
|
|
8032
|
-
"reflects": true,
|
|
8273
|
+
"fieldName": "disabled",
|
|
8033
8274
|
"inheritedFrom": {
|
|
8034
|
-
"name": "
|
|
8035
|
-
"module": "
|
|
8275
|
+
"name": "DisabledMixin",
|
|
8276
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
8036
8277
|
}
|
|
8037
8278
|
},
|
|
8038
8279
|
{
|
|
8039
|
-
"
|
|
8040
|
-
"name": "active",
|
|
8280
|
+
"name": "tabIndex",
|
|
8041
8281
|
"type": {
|
|
8042
|
-
"text": "
|
|
8282
|
+
"text": "number"
|
|
8043
8283
|
},
|
|
8044
|
-
"
|
|
8045
|
-
"
|
|
8046
|
-
"
|
|
8047
|
-
"reflects": true,
|
|
8284
|
+
"default": "0",
|
|
8285
|
+
"description": "This property specifies the tab order of the element.",
|
|
8286
|
+
"fieldName": "tabIndex",
|
|
8048
8287
|
"inheritedFrom": {
|
|
8049
|
-
"name": "
|
|
8050
|
-
"module": "
|
|
8288
|
+
"name": "TabIndexMixin",
|
|
8289
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
8051
8290
|
}
|
|
8052
8291
|
},
|
|
8053
8292
|
{
|
|
8054
|
-
"
|
|
8055
|
-
"name": "softDisabled",
|
|
8293
|
+
"name": "card-title",
|
|
8056
8294
|
"type": {
|
|
8057
|
-
"text": "
|
|
8295
|
+
"text": "string"
|
|
8058
8296
|
},
|
|
8059
|
-
"
|
|
8060
|
-
"
|
|
8061
|
-
"
|
|
8062
|
-
"reflects": true,
|
|
8297
|
+
"default": "''",
|
|
8298
|
+
"description": "The title of the card - part of header section",
|
|
8299
|
+
"fieldName": "cardTitle",
|
|
8063
8300
|
"inheritedFrom": {
|
|
8064
|
-
"name": "
|
|
8065
|
-
"module": "components/
|
|
8301
|
+
"name": "Card",
|
|
8302
|
+
"module": "src/components/card/card.component.ts"
|
|
8066
8303
|
}
|
|
8067
8304
|
},
|
|
8068
8305
|
{
|
|
8069
|
-
"
|
|
8070
|
-
"name": "size",
|
|
8306
|
+
"name": "subtitle",
|
|
8071
8307
|
"type": {
|
|
8072
|
-
"text": "
|
|
8308
|
+
"text": "string"
|
|
8073
8309
|
},
|
|
8074
|
-
"
|
|
8075
|
-
"
|
|
8076
|
-
"
|
|
8077
|
-
"reflects": true,
|
|
8310
|
+
"default": "''",
|
|
8311
|
+
"description": "The subtitle of the card - part of header section",
|
|
8312
|
+
"fieldName": "subtitle",
|
|
8078
8313
|
"inheritedFrom": {
|
|
8079
|
-
"name": "
|
|
8080
|
-
"module": "components/
|
|
8314
|
+
"name": "Card",
|
|
8315
|
+
"module": "src/components/card/card.component.ts"
|
|
8081
8316
|
}
|
|
8082
8317
|
},
|
|
8083
8318
|
{
|
|
8084
|
-
"
|
|
8085
|
-
"name": "role",
|
|
8319
|
+
"name": "image-src",
|
|
8086
8320
|
"type": {
|
|
8087
|
-
"text": "
|
|
8321
|
+
"text": "string"
|
|
8088
8322
|
},
|
|
8089
|
-
"
|
|
8090
|
-
"
|
|
8091
|
-
"
|
|
8092
|
-
"reflects": true,
|
|
8323
|
+
"default": "''",
|
|
8324
|
+
"description": "The image source URL to render on the card",
|
|
8325
|
+
"fieldName": "imageSrc",
|
|
8093
8326
|
"inheritedFrom": {
|
|
8094
|
-
"name": "
|
|
8095
|
-
"module": "components/
|
|
8327
|
+
"name": "Card",
|
|
8328
|
+
"module": "src/components/card/card.component.ts"
|
|
8096
8329
|
}
|
|
8097
8330
|
},
|
|
8098
8331
|
{
|
|
8099
|
-
"
|
|
8100
|
-
"name": "ariaStateKey",
|
|
8332
|
+
"name": "image-alt",
|
|
8101
8333
|
"type": {
|
|
8102
|
-
"text": "string
|
|
8103
|
-
},
|
|
8104
|
-
"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`",
|
|
8105
|
-
"default": "'aria-pressed' (when)",
|
|
8106
|
-
"attribute": "ariaStateKey",
|
|
8107
|
-
"reflects": true,
|
|
8108
|
-
"inheritedFrom": {
|
|
8109
|
-
"name": "Buttonsimple",
|
|
8110
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8111
|
-
}
|
|
8112
|
-
},
|
|
8113
|
-
{
|
|
8114
|
-
"kind": "field",
|
|
8115
|
-
"name": "type",
|
|
8116
|
-
"type": {
|
|
8117
|
-
"text": "ButtonType"
|
|
8118
|
-
},
|
|
8119
|
-
"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.",
|
|
8120
|
-
"default": "button",
|
|
8121
|
-
"attribute": "type",
|
|
8122
|
-
"reflects": true,
|
|
8123
|
-
"inheritedFrom": {
|
|
8124
|
-
"name": "Buttonsimple",
|
|
8125
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8126
|
-
}
|
|
8127
|
-
},
|
|
8128
|
-
{
|
|
8129
|
-
"kind": "field",
|
|
8130
|
-
"name": "name",
|
|
8131
|
-
"type": {
|
|
8132
|
-
"text": "string | undefined"
|
|
8133
|
-
},
|
|
8134
|
-
"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.",
|
|
8135
|
-
"attribute": "name",
|
|
8136
|
-
"reflects": true,
|
|
8137
|
-
"inheritedFrom": {
|
|
8138
|
-
"name": "Buttonsimple",
|
|
8139
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8140
|
-
}
|
|
8141
|
-
},
|
|
8142
|
-
{
|
|
8143
|
-
"kind": "field",
|
|
8144
|
-
"name": "value",
|
|
8145
|
-
"type": {
|
|
8146
|
-
"text": "string | undefined"
|
|
8147
|
-
},
|
|
8148
|
-
"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.",
|
|
8149
|
-
"attribute": "value",
|
|
8150
|
-
"reflects": true,
|
|
8151
|
-
"inheritedFrom": {
|
|
8152
|
-
"name": "Buttonsimple",
|
|
8153
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8154
|
-
}
|
|
8155
|
-
},
|
|
8156
|
-
{
|
|
8157
|
-
"kind": "method",
|
|
8158
|
-
"name": "executeAction",
|
|
8159
|
-
"privacy": "protected",
|
|
8160
|
-
"inheritedFrom": {
|
|
8161
|
-
"name": "Buttonsimple",
|
|
8162
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8163
|
-
}
|
|
8164
|
-
},
|
|
8165
|
-
{
|
|
8166
|
-
"kind": "method",
|
|
8167
|
-
"name": "setActive",
|
|
8168
|
-
"privacy": "protected",
|
|
8169
|
-
"parameters": [
|
|
8170
|
-
{
|
|
8171
|
-
"name": "element",
|
|
8172
|
-
"type": {
|
|
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."
|
|
8211
|
-
}
|
|
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.",
|
|
8214
|
-
"inheritedFrom": {
|
|
8215
|
-
"name": "Buttonsimple",
|
|
8216
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8217
|
-
}
|
|
8218
|
-
},
|
|
8219
|
-
{
|
|
8220
|
-
"kind": "method",
|
|
8221
|
-
"name": "setDisabled",
|
|
8222
|
-
"privacy": "private",
|
|
8223
|
-
"parameters": [
|
|
8224
|
-
{
|
|
8225
|
-
"name": "element",
|
|
8226
|
-
"type": {
|
|
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."
|
|
8237
|
-
}
|
|
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.",
|
|
8259
|
-
"inheritedFrom": {
|
|
8260
|
-
"name": "Buttonsimple",
|
|
8261
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8262
|
-
}
|
|
8263
|
-
},
|
|
8264
|
-
{
|
|
8265
|
-
"kind": "method",
|
|
8266
|
-
"name": "handleKeyDown",
|
|
8267
|
-
"privacy": "private",
|
|
8268
|
-
"parameters": [
|
|
8269
|
-
{
|
|
8270
|
-
"name": "event",
|
|
8271
|
-
"type": {
|
|
8272
|
-
"text": "KeyboardEvent"
|
|
8273
|
-
},
|
|
8274
|
-
"description": "The keyboard event."
|
|
8275
|
-
}
|
|
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.",
|
|
8278
|
-
"inheritedFrom": {
|
|
8279
|
-
"name": "Buttonsimple",
|
|
8280
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8281
|
-
}
|
|
8282
|
-
},
|
|
8283
|
-
{
|
|
8284
|
-
"kind": "method",
|
|
8285
|
-
"name": "handleKeyUp",
|
|
8286
|
-
"privacy": "private",
|
|
8287
|
-
"parameters": [
|
|
8288
|
-
{
|
|
8289
|
-
"name": "event",
|
|
8290
|
-
"type": {
|
|
8291
|
-
"text": "KeyboardEvent"
|
|
8292
|
-
},
|
|
8293
|
-
"description": "The keyboard event."
|
|
8294
|
-
}
|
|
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.",
|
|
8297
|
-
"inheritedFrom": {
|
|
8298
|
-
"name": "Buttonsimple",
|
|
8299
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8300
|
-
}
|
|
8301
|
-
}
|
|
8302
|
-
],
|
|
8303
|
-
"events": [
|
|
8304
|
-
{
|
|
8305
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
8306
|
-
"name": "click",
|
|
8307
|
-
"reactName": "onClick",
|
|
8308
|
-
"inheritedFrom": {
|
|
8309
|
-
"name": "Buttonsimple",
|
|
8310
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8311
|
-
}
|
|
8312
|
-
},
|
|
8313
|
-
{
|
|
8314
|
-
"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.",
|
|
8315
|
-
"name": "keydown",
|
|
8316
|
-
"reactName": "onKeyDown",
|
|
8317
|
-
"inheritedFrom": {
|
|
8318
|
-
"name": "Buttonsimple",
|
|
8319
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8320
|
-
}
|
|
8321
|
-
},
|
|
8322
|
-
{
|
|
8323
|
-
"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.",
|
|
8324
|
-
"name": "keyup",
|
|
8325
|
-
"reactName": "onKeyUp",
|
|
8326
|
-
"inheritedFrom": {
|
|
8327
|
-
"name": "Buttonsimple",
|
|
8328
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8329
|
-
}
|
|
8330
|
-
},
|
|
8331
|
-
{
|
|
8332
|
-
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8333
|
-
"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"
|
|
8345
|
-
}
|
|
8346
|
-
],
|
|
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
|
-
"attributes": [
|
|
8355
|
-
{
|
|
8356
|
-
"name": "card-title",
|
|
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"
|
|
8334
|
+
"text": "string"
|
|
8398
8335
|
},
|
|
8399
8336
|
"default": "''",
|
|
8400
8337
|
"description": "The image alt for accessibility support",
|
|
8401
8338
|
"fieldName": "imageAlt",
|
|
8402
8339
|
"inheritedFrom": {
|
|
8403
|
-
"name": "
|
|
8404
|
-
"module": "src/
|
|
8340
|
+
"name": "Card",
|
|
8341
|
+
"module": "src/components/card/card.component.ts"
|
|
8405
8342
|
}
|
|
8406
8343
|
},
|
|
8407
8344
|
{
|
|
@@ -8413,8 +8350,8 @@
|
|
|
8413
8350
|
"default": "'border'",
|
|
8414
8351
|
"fieldName": "variant",
|
|
8415
8352
|
"inheritedFrom": {
|
|
8416
|
-
"name": "
|
|
8417
|
-
"module": "src/
|
|
8353
|
+
"name": "Card",
|
|
8354
|
+
"module": "src/components/card/card.component.ts"
|
|
8418
8355
|
}
|
|
8419
8356
|
},
|
|
8420
8357
|
{
|
|
@@ -8426,8 +8363,8 @@
|
|
|
8426
8363
|
"default": "'vertical'",
|
|
8427
8364
|
"fieldName": "orientation",
|
|
8428
8365
|
"inheritedFrom": {
|
|
8429
|
-
"name": "
|
|
8430
|
-
"module": "src/
|
|
8366
|
+
"name": "Card",
|
|
8367
|
+
"module": "src/components/card/card.component.ts"
|
|
8431
8368
|
}
|
|
8432
8369
|
},
|
|
8433
8370
|
{
|
|
@@ -8439,8 +8376,8 @@
|
|
|
8439
8376
|
"default": "'span'",
|
|
8440
8377
|
"fieldName": "titleTagName",
|
|
8441
8378
|
"inheritedFrom": {
|
|
8442
|
-
"name": "
|
|
8443
|
-
"module": "src/
|
|
8379
|
+
"name": "Card",
|
|
8380
|
+
"module": "src/components/card/card.component.ts"
|
|
8444
8381
|
}
|
|
8445
8382
|
},
|
|
8446
8383
|
{
|
|
@@ -8452,8 +8389,8 @@
|
|
|
8452
8389
|
"default": "'span'",
|
|
8453
8390
|
"fieldName": "subtitleTagName",
|
|
8454
8391
|
"inheritedFrom": {
|
|
8455
|
-
"name": "
|
|
8456
|
-
"module": "src/
|
|
8392
|
+
"name": "Card",
|
|
8393
|
+
"module": "src/components/card/card.component.ts"
|
|
8457
8394
|
}
|
|
8458
8395
|
},
|
|
8459
8396
|
{
|
|
@@ -8464,152 +8401,28 @@
|
|
|
8464
8401
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8465
8402
|
"fieldName": "iconName",
|
|
8466
8403
|
"inheritedFrom": {
|
|
8467
|
-
"name": "
|
|
8468
|
-
"module": "src/
|
|
8469
|
-
}
|
|
8470
|
-
},
|
|
8471
|
-
{
|
|
8472
|
-
"name": "auto-focus-on-mount",
|
|
8473
|
-
"type": {
|
|
8474
|
-
"text": "boolean"
|
|
8475
|
-
},
|
|
8476
|
-
"default": "false",
|
|
8477
|
-
"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.",
|
|
8478
|
-
"fieldName": "autoFocusOnMount",
|
|
8479
|
-
"inheritedFrom": {
|
|
8480
|
-
"name": "Buttonsimple",
|
|
8481
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8482
|
-
}
|
|
8483
|
-
},
|
|
8484
|
-
{
|
|
8485
|
-
"name": "tabIndex",
|
|
8486
|
-
"type": {
|
|
8487
|
-
"text": "number"
|
|
8488
|
-
},
|
|
8489
|
-
"default": "0",
|
|
8490
|
-
"description": "This property specifies the tab order of the element.",
|
|
8491
|
-
"fieldName": "tabIndex",
|
|
8492
|
-
"inheritedFrom": {
|
|
8493
|
-
"name": "Buttonsimple",
|
|
8494
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8495
|
-
}
|
|
8496
|
-
},
|
|
8497
|
-
{
|
|
8498
|
-
"name": "disabled",
|
|
8499
|
-
"type": {
|
|
8500
|
-
"text": "boolean | undefined"
|
|
8501
|
-
},
|
|
8502
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8503
|
-
"default": "undefined",
|
|
8504
|
-
"fieldName": "disabled",
|
|
8505
|
-
"inheritedFrom": {
|
|
8506
|
-
"name": "Buttonsimple",
|
|
8507
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8508
|
-
}
|
|
8509
|
-
},
|
|
8510
|
-
{
|
|
8511
|
-
"name": "active",
|
|
8512
|
-
"type": {
|
|
8513
|
-
"text": "boolean | undefined"
|
|
8514
|
-
},
|
|
8515
|
-
"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.",
|
|
8516
|
-
"default": "undefined",
|
|
8517
|
-
"fieldName": "active",
|
|
8518
|
-
"inheritedFrom": {
|
|
8519
|
-
"name": "Buttonsimple",
|
|
8520
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8521
|
-
}
|
|
8522
|
-
},
|
|
8523
|
-
{
|
|
8524
|
-
"name": "soft-disabled",
|
|
8525
|
-
"type": {
|
|
8526
|
-
"text": "boolean | undefined"
|
|
8527
|
-
},
|
|
8528
|
-
"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.",
|
|
8529
|
-
"default": "undefined",
|
|
8530
|
-
"fieldName": "softDisabled",
|
|
8531
|
-
"inheritedFrom": {
|
|
8532
|
-
"name": "Buttonsimple",
|
|
8533
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8534
|
-
}
|
|
8535
|
-
},
|
|
8536
|
-
{
|
|
8537
|
-
"name": "size",
|
|
8538
|
-
"type": {
|
|
8539
|
-
"text": "ButtonSize"
|
|
8540
|
-
},
|
|
8541
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8542
|
-
"default": "32",
|
|
8543
|
-
"fieldName": "size",
|
|
8544
|
-
"inheritedFrom": {
|
|
8545
|
-
"name": "Buttonsimple",
|
|
8546
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8547
|
-
}
|
|
8548
|
-
},
|
|
8549
|
-
{
|
|
8550
|
-
"name": "role",
|
|
8551
|
-
"type": {
|
|
8552
|
-
"text": "RoleType"
|
|
8553
|
-
},
|
|
8554
|
-
"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.",
|
|
8555
|
-
"default": "button",
|
|
8556
|
-
"fieldName": "role",
|
|
8557
|
-
"inheritedFrom": {
|
|
8558
|
-
"name": "Buttonsimple",
|
|
8559
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8560
|
-
}
|
|
8561
|
-
},
|
|
8562
|
-
{
|
|
8563
|
-
"name": "ariaStateKey",
|
|
8564
|
-
"type": {
|
|
8565
|
-
"text": "string | undefined"
|
|
8566
|
-
},
|
|
8567
|
-
"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`",
|
|
8568
|
-
"default": "'aria-pressed' (when)",
|
|
8569
|
-
"fieldName": "ariaStateKey",
|
|
8570
|
-
"inheritedFrom": {
|
|
8571
|
-
"name": "Buttonsimple",
|
|
8572
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8573
|
-
}
|
|
8574
|
-
},
|
|
8575
|
-
{
|
|
8576
|
-
"name": "type",
|
|
8577
|
-
"type": {
|
|
8578
|
-
"text": "ButtonType"
|
|
8579
|
-
},
|
|
8580
|
-
"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.",
|
|
8581
|
-
"default": "button",
|
|
8582
|
-
"fieldName": "type",
|
|
8583
|
-
"inheritedFrom": {
|
|
8584
|
-
"name": "Buttonsimple",
|
|
8585
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8404
|
+
"name": "Card",
|
|
8405
|
+
"module": "src/components/card/card.component.ts"
|
|
8586
8406
|
}
|
|
8587
|
-
}
|
|
8407
|
+
}
|
|
8408
|
+
],
|
|
8409
|
+
"mixins": [
|
|
8588
8410
|
{
|
|
8589
|
-
"name": "
|
|
8590
|
-
"
|
|
8591
|
-
"text": "string | undefined"
|
|
8592
|
-
},
|
|
8593
|
-
"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.",
|
|
8594
|
-
"fieldName": "name",
|
|
8595
|
-
"inheritedFrom": {
|
|
8596
|
-
"name": "Buttonsimple",
|
|
8597
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8598
|
-
}
|
|
8411
|
+
"name": "DisabledMixin",
|
|
8412
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
|
8599
8413
|
},
|
|
8600
8414
|
{
|
|
8601
|
-
"name": "
|
|
8602
|
-
"
|
|
8603
|
-
"text": "string | undefined"
|
|
8604
|
-
},
|
|
8605
|
-
"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.",
|
|
8606
|
-
"fieldName": "value",
|
|
8607
|
-
"inheritedFrom": {
|
|
8608
|
-
"name": "Buttonsimple",
|
|
8609
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8610
|
-
}
|
|
8415
|
+
"name": "TabIndexMixin",
|
|
8416
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
|
8611
8417
|
}
|
|
8612
|
-
]
|
|
8418
|
+
],
|
|
8419
|
+
"superclass": {
|
|
8420
|
+
"name": "Card",
|
|
8421
|
+
"module": "/src/components/card/card.component"
|
|
8422
|
+
},
|
|
8423
|
+
"tagName": "mdc-cardradio",
|
|
8424
|
+
"jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\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-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\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 */",
|
|
8425
|
+
"customElement": true
|
|
8613
8426
|
}
|
|
8614
8427
|
],
|
|
8615
8428
|
"exports": [
|
|
@@ -8617,8 +8430,8 @@
|
|
|
8617
8430
|
"kind": "js",
|
|
8618
8431
|
"name": "default",
|
|
8619
8432
|
"declaration": {
|
|
8620
|
-
"name": "
|
|
8621
|
-
"module": "components/
|
|
8433
|
+
"name": "CardRadio",
|
|
8434
|
+
"module": "components/cardradio/cardradio.component.js"
|
|
8622
8435
|
}
|
|
8623
8436
|
}
|
|
8624
8437
|
]
|
|
@@ -9327,262 +9140,579 @@
|
|
|
9327
9140
|
},
|
|
9328
9141
|
{
|
|
9329
9142
|
"kind": "javascript-module",
|
|
9330
|
-
"path": "components/
|
|
9143
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
|
9331
9144
|
"declarations": [
|
|
9332
9145
|
{
|
|
9333
9146
|
"kind": "class",
|
|
9334
|
-
"description": "
|
|
9335
|
-
"name": "
|
|
9147
|
+
"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.",
|
|
9148
|
+
"name": "CardButton",
|
|
9336
9149
|
"cssProperties": [
|
|
9337
9150
|
{
|
|
9338
9151
|
"description": "The width of the card",
|
|
9339
|
-
"name": "--mdc-card-width"
|
|
9152
|
+
"name": "--mdc-card-width"
|
|
9153
|
+
},
|
|
9154
|
+
{
|
|
9155
|
+
"description": "Height for button size",
|
|
9156
|
+
"name": "--mdc-button-height",
|
|
9340
9157
|
"inheritedFrom": {
|
|
9341
|
-
"name": "
|
|
9342
|
-
"module": "src/components/
|
|
9158
|
+
"name": "Buttonsimple",
|
|
9159
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9343
9160
|
}
|
|
9344
|
-
}
|
|
9345
|
-
],
|
|
9346
|
-
"cssParts": [
|
|
9161
|
+
},
|
|
9347
9162
|
{
|
|
9348
|
-
"description": "
|
|
9349
|
-
"name": "
|
|
9163
|
+
"description": "Background color of the button",
|
|
9164
|
+
"name": "--mdc-button-background",
|
|
9350
9165
|
"inheritedFrom": {
|
|
9351
|
-
"name": "
|
|
9352
|
-
"module": "src/components/
|
|
9166
|
+
"name": "Buttonsimple",
|
|
9167
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9353
9168
|
}
|
|
9354
9169
|
},
|
|
9355
9170
|
{
|
|
9356
|
-
"description": "
|
|
9357
|
-
"name": "
|
|
9171
|
+
"description": "Borer color of the button",
|
|
9172
|
+
"name": "--mdc-button-border-color",
|
|
9358
9173
|
"inheritedFrom": {
|
|
9359
|
-
"name": "
|
|
9360
|
-
"module": "src/components/
|
|
9174
|
+
"name": "Buttonsimple",
|
|
9175
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9361
9176
|
}
|
|
9362
9177
|
},
|
|
9363
9178
|
{
|
|
9364
|
-
"description": "
|
|
9365
|
-
"name": "
|
|
9179
|
+
"description": "Text color of the button",
|
|
9180
|
+
"name": "--mdc-button-text-color",
|
|
9366
9181
|
"inheritedFrom": {
|
|
9367
|
-
"name": "
|
|
9368
|
-
"module": "src/components/
|
|
9182
|
+
"name": "Buttonsimple",
|
|
9183
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9369
9184
|
}
|
|
9185
|
+
}
|
|
9186
|
+
],
|
|
9187
|
+
"cssParts": [
|
|
9188
|
+
{
|
|
9189
|
+
"description": "The header part of the card",
|
|
9190
|
+
"name": "header"
|
|
9191
|
+
},
|
|
9192
|
+
{
|
|
9193
|
+
"description": "The icon part of the card header",
|
|
9194
|
+
"name": "icon"
|
|
9195
|
+
},
|
|
9196
|
+
{
|
|
9197
|
+
"description": "The body part of the card",
|
|
9198
|
+
"name": "body"
|
|
9370
9199
|
},
|
|
9371
9200
|
{
|
|
9372
9201
|
"description": "The image part of the card",
|
|
9373
|
-
"name": "image"
|
|
9374
|
-
"inheritedFrom": {
|
|
9375
|
-
"name": "Card",
|
|
9376
|
-
"module": "src/components/card/card.component.ts"
|
|
9377
|
-
}
|
|
9202
|
+
"name": "image"
|
|
9378
9203
|
},
|
|
9379
9204
|
{
|
|
9380
9205
|
"description": "The footer part of the card",
|
|
9381
|
-
"name": "footer"
|
|
9382
|
-
"inheritedFrom": {
|
|
9383
|
-
"name": "Card",
|
|
9384
|
-
"module": "src/components/card/card.component.ts"
|
|
9385
|
-
}
|
|
9206
|
+
"name": "footer"
|
|
9386
9207
|
},
|
|
9387
9208
|
{
|
|
9388
9209
|
"description": "The link part of the card footer",
|
|
9389
|
-
"name": "footer-link"
|
|
9390
|
-
"inheritedFrom": {
|
|
9391
|
-
"name": "Card",
|
|
9392
|
-
"module": "src/components/card/card.component.ts"
|
|
9393
|
-
}
|
|
9210
|
+
"name": "footer-link"
|
|
9394
9211
|
},
|
|
9395
9212
|
{
|
|
9396
9213
|
"description": "The primary button part of the card footer",
|
|
9397
|
-
"name": "footer-button-primary"
|
|
9398
|
-
"inheritedFrom": {
|
|
9399
|
-
"name": "Card",
|
|
9400
|
-
"module": "src/components/card/card.component.ts"
|
|
9401
|
-
}
|
|
9214
|
+
"name": "footer-button-primary"
|
|
9402
9215
|
},
|
|
9403
9216
|
{
|
|
9404
9217
|
"description": "The secondary button part of the card footer",
|
|
9405
|
-
"name": "footer-button-secondary"
|
|
9406
|
-
"inheritedFrom": {
|
|
9407
|
-
"name": "Card",
|
|
9408
|
-
"module": "src/components/card/card.component.ts"
|
|
9409
|
-
}
|
|
9218
|
+
"name": "footer-button-secondary"
|
|
9410
9219
|
},
|
|
9411
9220
|
{
|
|
9412
9221
|
"description": "The icon button part of the card header",
|
|
9413
|
-
"name": "icon-button"
|
|
9414
|
-
"inheritedFrom": {
|
|
9415
|
-
"name": "Card",
|
|
9416
|
-
"module": "src/components/card/card.component.ts"
|
|
9417
|
-
}
|
|
9222
|
+
"name": "icon-button"
|
|
9418
9223
|
},
|
|
9419
9224
|
{
|
|
9420
9225
|
"description": "The text part of the card",
|
|
9421
|
-
"name": "text"
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9226
|
+
"name": "text"
|
|
9227
|
+
}
|
|
9228
|
+
],
|
|
9229
|
+
"slots": [
|
|
9230
|
+
{
|
|
9231
|
+
"description": "This slot is for passing the content before the body",
|
|
9232
|
+
"name": "before-body"
|
|
9426
9233
|
},
|
|
9427
9234
|
{
|
|
9428
|
-
"description": "
|
|
9429
|
-
"name": "
|
|
9235
|
+
"description": "This slot is for passing the text content for the card",
|
|
9236
|
+
"name": "body"
|
|
9430
9237
|
},
|
|
9431
9238
|
{
|
|
9432
|
-
"description": "
|
|
9433
|
-
"name": "
|
|
9239
|
+
"description": "This slot is for passing the content after the body",
|
|
9240
|
+
"name": "after-body"
|
|
9434
9241
|
},
|
|
9435
9242
|
{
|
|
9436
|
-
"description": "
|
|
9437
|
-
"name": "
|
|
9243
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
9244
|
+
"name": "footer-link"
|
|
9245
|
+
},
|
|
9246
|
+
{
|
|
9247
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
9248
|
+
"name": "footer-button-primary"
|
|
9438
9249
|
}
|
|
9439
9250
|
],
|
|
9440
|
-
"
|
|
9251
|
+
"members": [
|
|
9441
9252
|
{
|
|
9442
|
-
"
|
|
9443
|
-
"name": "
|
|
9253
|
+
"kind": "method",
|
|
9254
|
+
"name": "renderHeader",
|
|
9255
|
+
"privacy": "protected",
|
|
9256
|
+
"description": "Renders the header of the card if title is provided",
|
|
9257
|
+
"return": {
|
|
9258
|
+
"type": {
|
|
9259
|
+
"text": ""
|
|
9260
|
+
}
|
|
9261
|
+
}
|
|
9262
|
+
},
|
|
9263
|
+
{
|
|
9264
|
+
"kind": "field",
|
|
9265
|
+
"name": "cardTitle",
|
|
9266
|
+
"type": {
|
|
9267
|
+
"text": "string"
|
|
9268
|
+
},
|
|
9269
|
+
"default": "''",
|
|
9270
|
+
"description": "The title of the card - part of header section",
|
|
9271
|
+
"attribute": "card-title",
|
|
9272
|
+
"reflects": true,
|
|
9444
9273
|
"inheritedFrom": {
|
|
9445
|
-
"name": "
|
|
9446
|
-
"module": "
|
|
9274
|
+
"name": "CardComponentMixin",
|
|
9275
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9447
9276
|
}
|
|
9448
9277
|
},
|
|
9449
9278
|
{
|
|
9450
|
-
"
|
|
9451
|
-
"name": "
|
|
9279
|
+
"kind": "field",
|
|
9280
|
+
"name": "subtitle",
|
|
9281
|
+
"type": {
|
|
9282
|
+
"text": "string"
|
|
9283
|
+
},
|
|
9284
|
+
"default": "''",
|
|
9285
|
+
"description": "The subtitle of the card - part of header section",
|
|
9286
|
+
"attribute": "subtitle",
|
|
9287
|
+
"reflects": true,
|
|
9452
9288
|
"inheritedFrom": {
|
|
9453
|
-
"name": "
|
|
9454
|
-
"module": "
|
|
9289
|
+
"name": "CardComponentMixin",
|
|
9290
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9455
9291
|
}
|
|
9456
9292
|
},
|
|
9457
9293
|
{
|
|
9458
|
-
"
|
|
9459
|
-
"name": "
|
|
9294
|
+
"kind": "field",
|
|
9295
|
+
"name": "imageSrc",
|
|
9296
|
+
"type": {
|
|
9297
|
+
"text": "string"
|
|
9298
|
+
},
|
|
9299
|
+
"default": "''",
|
|
9300
|
+
"description": "The image source URL to render on the card",
|
|
9301
|
+
"attribute": "image-src",
|
|
9302
|
+
"reflects": true,
|
|
9460
9303
|
"inheritedFrom": {
|
|
9461
|
-
"name": "
|
|
9462
|
-
"module": "
|
|
9304
|
+
"name": "CardComponentMixin",
|
|
9305
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9463
9306
|
}
|
|
9464
9307
|
},
|
|
9465
9308
|
{
|
|
9466
|
-
"
|
|
9467
|
-
"name": "
|
|
9309
|
+
"kind": "field",
|
|
9310
|
+
"name": "imageAlt",
|
|
9311
|
+
"type": {
|
|
9312
|
+
"text": "string"
|
|
9313
|
+
},
|
|
9314
|
+
"default": "''",
|
|
9315
|
+
"description": "The image alt for accessibility support",
|
|
9316
|
+
"attribute": "image-alt",
|
|
9317
|
+
"reflects": true,
|
|
9468
9318
|
"inheritedFrom": {
|
|
9469
|
-
"name": "
|
|
9470
|
-
"module": "
|
|
9319
|
+
"name": "CardComponentMixin",
|
|
9320
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9471
9321
|
}
|
|
9472
9322
|
},
|
|
9473
9323
|
{
|
|
9474
|
-
"
|
|
9475
|
-
"name": "
|
|
9324
|
+
"kind": "field",
|
|
9325
|
+
"name": "variant",
|
|
9326
|
+
"type": {
|
|
9327
|
+
"text": "CardVariant"
|
|
9328
|
+
},
|
|
9329
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
9330
|
+
"default": "'border'",
|
|
9331
|
+
"attribute": "variant",
|
|
9332
|
+
"reflects": true,
|
|
9476
9333
|
"inheritedFrom": {
|
|
9477
|
-
"name": "
|
|
9478
|
-
"module": "
|
|
9334
|
+
"name": "CardComponentMixin",
|
|
9335
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9479
9336
|
}
|
|
9480
9337
|
},
|
|
9481
9338
|
{
|
|
9482
|
-
"
|
|
9483
|
-
"name": "
|
|
9339
|
+
"kind": "field",
|
|
9340
|
+
"name": "orientation",
|
|
9341
|
+
"type": {
|
|
9342
|
+
"text": "CardOrientation"
|
|
9343
|
+
},
|
|
9344
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
9345
|
+
"default": "'vertical'",
|
|
9346
|
+
"attribute": "orientation",
|
|
9347
|
+
"reflects": true,
|
|
9484
9348
|
"inheritedFrom": {
|
|
9485
|
-
"name": "
|
|
9486
|
-
"module": "
|
|
9349
|
+
"name": "CardComponentMixin",
|
|
9350
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9487
9351
|
}
|
|
9488
9352
|
},
|
|
9489
9353
|
{
|
|
9490
|
-
"
|
|
9491
|
-
"name": "
|
|
9354
|
+
"kind": "field",
|
|
9355
|
+
"name": "titleTagName",
|
|
9356
|
+
"type": {
|
|
9357
|
+
"text": "TagNameType"
|
|
9358
|
+
},
|
|
9359
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
9360
|
+
"default": "'span'",
|
|
9361
|
+
"attribute": "title-tag-name",
|
|
9362
|
+
"reflects": true,
|
|
9492
9363
|
"inheritedFrom": {
|
|
9493
|
-
"name": "
|
|
9494
|
-
"module": "
|
|
9364
|
+
"name": "CardComponentMixin",
|
|
9365
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9495
9366
|
}
|
|
9496
|
-
}
|
|
9497
|
-
],
|
|
9498
|
-
"members": [
|
|
9367
|
+
},
|
|
9499
9368
|
{
|
|
9500
9369
|
"kind": "field",
|
|
9501
|
-
"name": "
|
|
9370
|
+
"name": "subtitleTagName",
|
|
9502
9371
|
"type": {
|
|
9503
|
-
"text": "
|
|
9372
|
+
"text": "TagNameType"
|
|
9504
9373
|
},
|
|
9505
|
-
"
|
|
9506
|
-
"
|
|
9507
|
-
"attribute": "
|
|
9508
|
-
"reflects": true
|
|
9374
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
9375
|
+
"default": "'span'",
|
|
9376
|
+
"attribute": "subtitle-tag-name",
|
|
9377
|
+
"reflects": true,
|
|
9378
|
+
"inheritedFrom": {
|
|
9379
|
+
"name": "CardComponentMixin",
|
|
9380
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9381
|
+
}
|
|
9509
9382
|
},
|
|
9510
9383
|
{
|
|
9511
9384
|
"kind": "field",
|
|
9512
|
-
"name": "
|
|
9385
|
+
"name": "iconName",
|
|
9513
9386
|
"type": {
|
|
9514
|
-
"text": "
|
|
9387
|
+
"text": "IconNames | undefined"
|
|
9515
9388
|
},
|
|
9516
|
-
"
|
|
9517
|
-
"
|
|
9518
|
-
"
|
|
9389
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
9390
|
+
"attribute": "icon-name",
|
|
9391
|
+
"reflects": true,
|
|
9392
|
+
"inheritedFrom": {
|
|
9393
|
+
"name": "CardComponentMixin",
|
|
9394
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9395
|
+
}
|
|
9519
9396
|
},
|
|
9520
9397
|
{
|
|
9521
9398
|
"kind": "method",
|
|
9522
|
-
"name": "
|
|
9523
|
-
"privacy": "
|
|
9399
|
+
"name": "renderImage",
|
|
9400
|
+
"privacy": "protected",
|
|
9401
|
+
"description": "Renders the image on the card if image source is provided",
|
|
9524
9402
|
"return": {
|
|
9525
9403
|
"type": {
|
|
9526
|
-
"text": "
|
|
9404
|
+
"text": ""
|
|
9527
9405
|
}
|
|
9528
9406
|
},
|
|
9529
|
-
"
|
|
9407
|
+
"inheritedFrom": {
|
|
9408
|
+
"name": "CardComponentMixin",
|
|
9409
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9410
|
+
}
|
|
9530
9411
|
},
|
|
9531
9412
|
{
|
|
9532
9413
|
"kind": "method",
|
|
9533
|
-
"name": "
|
|
9534
|
-
"privacy": "
|
|
9414
|
+
"name": "renderIcon",
|
|
9415
|
+
"privacy": "protected",
|
|
9416
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
9535
9417
|
"return": {
|
|
9536
9418
|
"type": {
|
|
9537
|
-
"text": "
|
|
9419
|
+
"text": ""
|
|
9538
9420
|
}
|
|
9539
9421
|
},
|
|
9540
|
-
"
|
|
9422
|
+
"inheritedFrom": {
|
|
9423
|
+
"name": "CardComponentMixin",
|
|
9424
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9425
|
+
}
|
|
9541
9426
|
},
|
|
9542
9427
|
{
|
|
9543
9428
|
"kind": "method",
|
|
9544
|
-
"name": "
|
|
9429
|
+
"name": "renderTitle",
|
|
9430
|
+
"privacy": "protected",
|
|
9431
|
+
"description": "Renders the title and subtitle on the card",
|
|
9545
9432
|
"return": {
|
|
9546
9433
|
"type": {
|
|
9547
|
-
"text": "
|
|
9434
|
+
"text": ""
|
|
9548
9435
|
}
|
|
9549
9436
|
},
|
|
9437
|
+
"inheritedFrom": {
|
|
9438
|
+
"name": "CardComponentMixin",
|
|
9439
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
9440
|
+
}
|
|
9441
|
+
},
|
|
9442
|
+
{
|
|
9443
|
+
"kind": "field",
|
|
9444
|
+
"name": "autoFocusOnMount",
|
|
9445
|
+
"type": {
|
|
9446
|
+
"text": "boolean"
|
|
9447
|
+
},
|
|
9448
|
+
"default": "false",
|
|
9449
|
+
"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.",
|
|
9450
|
+
"attribute": "auto-focus-on-mount",
|
|
9451
|
+
"reflects": true,
|
|
9452
|
+
"inheritedFrom": {
|
|
9453
|
+
"name": "Buttonsimple",
|
|
9454
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9455
|
+
}
|
|
9456
|
+
},
|
|
9457
|
+
{
|
|
9458
|
+
"kind": "field",
|
|
9459
|
+
"name": "tabIndex",
|
|
9460
|
+
"type": {
|
|
9461
|
+
"text": "number"
|
|
9462
|
+
},
|
|
9463
|
+
"default": "0",
|
|
9464
|
+
"description": "This property specifies the tab order of the element.",
|
|
9465
|
+
"attribute": "tabIndex",
|
|
9466
|
+
"reflects": true,
|
|
9467
|
+
"inheritedFrom": {
|
|
9468
|
+
"name": "Buttonsimple",
|
|
9469
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9470
|
+
}
|
|
9471
|
+
},
|
|
9472
|
+
{
|
|
9473
|
+
"kind": "field",
|
|
9474
|
+
"name": "disabled",
|
|
9475
|
+
"type": {
|
|
9476
|
+
"text": "boolean | undefined"
|
|
9477
|
+
},
|
|
9478
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
9479
|
+
"default": "undefined",
|
|
9480
|
+
"attribute": "disabled",
|
|
9481
|
+
"reflects": true,
|
|
9482
|
+
"inheritedFrom": {
|
|
9483
|
+
"name": "Buttonsimple",
|
|
9484
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9485
|
+
}
|
|
9486
|
+
},
|
|
9487
|
+
{
|
|
9488
|
+
"kind": "field",
|
|
9489
|
+
"name": "active",
|
|
9490
|
+
"type": {
|
|
9491
|
+
"text": "boolean | undefined"
|
|
9492
|
+
},
|
|
9493
|
+
"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.",
|
|
9494
|
+
"default": "undefined",
|
|
9495
|
+
"attribute": "active",
|
|
9496
|
+
"reflects": true,
|
|
9497
|
+
"inheritedFrom": {
|
|
9498
|
+
"name": "Buttonsimple",
|
|
9499
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9500
|
+
}
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
"kind": "field",
|
|
9504
|
+
"name": "softDisabled",
|
|
9505
|
+
"type": {
|
|
9506
|
+
"text": "boolean | undefined"
|
|
9507
|
+
},
|
|
9508
|
+
"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.",
|
|
9509
|
+
"default": "undefined",
|
|
9510
|
+
"attribute": "soft-disabled",
|
|
9511
|
+
"reflects": true,
|
|
9512
|
+
"inheritedFrom": {
|
|
9513
|
+
"name": "Buttonsimple",
|
|
9514
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9515
|
+
}
|
|
9516
|
+
},
|
|
9517
|
+
{
|
|
9518
|
+
"kind": "field",
|
|
9519
|
+
"name": "size",
|
|
9520
|
+
"type": {
|
|
9521
|
+
"text": "ButtonSize"
|
|
9522
|
+
},
|
|
9523
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
9524
|
+
"default": "32",
|
|
9525
|
+
"attribute": "size",
|
|
9526
|
+
"reflects": true,
|
|
9527
|
+
"inheritedFrom": {
|
|
9528
|
+
"name": "Buttonsimple",
|
|
9529
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9530
|
+
}
|
|
9531
|
+
},
|
|
9532
|
+
{
|
|
9533
|
+
"kind": "field",
|
|
9534
|
+
"name": "role",
|
|
9535
|
+
"type": {
|
|
9536
|
+
"text": "RoleType"
|
|
9537
|
+
},
|
|
9538
|
+
"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.",
|
|
9539
|
+
"default": "button",
|
|
9540
|
+
"attribute": "role",
|
|
9541
|
+
"reflects": true,
|
|
9542
|
+
"inheritedFrom": {
|
|
9543
|
+
"name": "Buttonsimple",
|
|
9544
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9545
|
+
}
|
|
9546
|
+
},
|
|
9547
|
+
{
|
|
9548
|
+
"kind": "field",
|
|
9549
|
+
"name": "ariaStateKey",
|
|
9550
|
+
"type": {
|
|
9551
|
+
"text": "string | undefined"
|
|
9552
|
+
},
|
|
9553
|
+
"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`",
|
|
9554
|
+
"default": "'aria-pressed' (when)",
|
|
9555
|
+
"attribute": "ariaStateKey",
|
|
9556
|
+
"reflects": true,
|
|
9557
|
+
"inheritedFrom": {
|
|
9558
|
+
"name": "Buttonsimple",
|
|
9559
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9560
|
+
}
|
|
9561
|
+
},
|
|
9562
|
+
{
|
|
9563
|
+
"kind": "field",
|
|
9564
|
+
"name": "type",
|
|
9565
|
+
"type": {
|
|
9566
|
+
"text": "ButtonType"
|
|
9567
|
+
},
|
|
9568
|
+
"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.",
|
|
9569
|
+
"default": "button",
|
|
9570
|
+
"attribute": "type",
|
|
9571
|
+
"reflects": true,
|
|
9572
|
+
"inheritedFrom": {
|
|
9573
|
+
"name": "Buttonsimple",
|
|
9574
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9575
|
+
}
|
|
9576
|
+
},
|
|
9577
|
+
{
|
|
9578
|
+
"kind": "field",
|
|
9579
|
+
"name": "name",
|
|
9580
|
+
"type": {
|
|
9581
|
+
"text": "string | undefined"
|
|
9582
|
+
},
|
|
9583
|
+
"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.",
|
|
9584
|
+
"attribute": "name",
|
|
9585
|
+
"reflects": true,
|
|
9586
|
+
"inheritedFrom": {
|
|
9587
|
+
"name": "Buttonsimple",
|
|
9588
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9589
|
+
}
|
|
9590
|
+
},
|
|
9591
|
+
{
|
|
9592
|
+
"kind": "field",
|
|
9593
|
+
"name": "value",
|
|
9594
|
+
"type": {
|
|
9595
|
+
"text": "string | undefined"
|
|
9596
|
+
},
|
|
9597
|
+
"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.",
|
|
9598
|
+
"attribute": "value",
|
|
9599
|
+
"reflects": true,
|
|
9600
|
+
"inheritedFrom": {
|
|
9601
|
+
"name": "Buttonsimple",
|
|
9602
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9603
|
+
}
|
|
9604
|
+
},
|
|
9605
|
+
{
|
|
9606
|
+
"kind": "method",
|
|
9607
|
+
"name": "executeAction",
|
|
9608
|
+
"privacy": "protected",
|
|
9609
|
+
"inheritedFrom": {
|
|
9610
|
+
"name": "Buttonsimple",
|
|
9611
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9612
|
+
}
|
|
9613
|
+
},
|
|
9614
|
+
{
|
|
9615
|
+
"kind": "method",
|
|
9616
|
+
"name": "setActive",
|
|
9617
|
+
"privacy": "protected",
|
|
9550
9618
|
"parameters": [
|
|
9551
9619
|
{
|
|
9552
|
-
"name": "
|
|
9620
|
+
"name": "element",
|
|
9621
|
+
"type": {
|
|
9622
|
+
"text": "HTMLElement"
|
|
9623
|
+
},
|
|
9624
|
+
"description": "The button element"
|
|
9625
|
+
},
|
|
9626
|
+
{
|
|
9627
|
+
"name": "active",
|
|
9628
|
+
"optional": true,
|
|
9553
9629
|
"type": {
|
|
9554
9630
|
"text": "boolean"
|
|
9555
|
-
}
|
|
9631
|
+
},
|
|
9632
|
+
"description": "The active state of the element"
|
|
9556
9633
|
}
|
|
9557
|
-
]
|
|
9634
|
+
],
|
|
9635
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
9636
|
+
"inheritedFrom": {
|
|
9637
|
+
"name": "Buttonsimple",
|
|
9638
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9639
|
+
}
|
|
9640
|
+
},
|
|
9641
|
+
{
|
|
9642
|
+
"kind": "method",
|
|
9643
|
+
"name": "setSoftDisabled",
|
|
9644
|
+
"privacy": "private",
|
|
9645
|
+
"parameters": [
|
|
9646
|
+
{
|
|
9647
|
+
"name": "element",
|
|
9648
|
+
"type": {
|
|
9649
|
+
"text": "HTMLElement"
|
|
9650
|
+
},
|
|
9651
|
+
"description": "The button element."
|
|
9652
|
+
},
|
|
9653
|
+
{
|
|
9654
|
+
"name": "softDisabled",
|
|
9655
|
+
"optional": true,
|
|
9656
|
+
"type": {
|
|
9657
|
+
"text": "boolean"
|
|
9658
|
+
},
|
|
9659
|
+
"description": "The soft-disabled state."
|
|
9660
|
+
}
|
|
9661
|
+
],
|
|
9662
|
+
"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.",
|
|
9663
|
+
"inheritedFrom": {
|
|
9664
|
+
"name": "Buttonsimple",
|
|
9665
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9666
|
+
}
|
|
9558
9667
|
},
|
|
9559
9668
|
{
|
|
9560
9669
|
"kind": "method",
|
|
9561
|
-
"name": "
|
|
9670
|
+
"name": "setDisabled",
|
|
9562
9671
|
"privacy": "private",
|
|
9563
|
-
"return": {
|
|
9564
|
-
"type": {
|
|
9565
|
-
"text": "void"
|
|
9566
|
-
}
|
|
9567
|
-
},
|
|
9568
9672
|
"parameters": [
|
|
9569
9673
|
{
|
|
9570
|
-
"name": "
|
|
9674
|
+
"name": "element",
|
|
9571
9675
|
"type": {
|
|
9572
|
-
"text": "
|
|
9573
|
-
}
|
|
9676
|
+
"text": "HTMLElement"
|
|
9677
|
+
},
|
|
9678
|
+
"description": "The button element."
|
|
9574
9679
|
},
|
|
9575
9680
|
{
|
|
9576
|
-
"name": "
|
|
9681
|
+
"name": "disabled",
|
|
9577
9682
|
"type": {
|
|
9578
|
-
"text": "
|
|
9579
|
-
}
|
|
9683
|
+
"text": "boolean"
|
|
9684
|
+
},
|
|
9685
|
+
"description": "The disabled state."
|
|
9580
9686
|
}
|
|
9581
|
-
]
|
|
9687
|
+
],
|
|
9688
|
+
"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.",
|
|
9689
|
+
"inheritedFrom": {
|
|
9690
|
+
"name": "Buttonsimple",
|
|
9691
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9692
|
+
}
|
|
9582
9693
|
},
|
|
9583
9694
|
{
|
|
9584
9695
|
"kind": "method",
|
|
9585
|
-
"name": "
|
|
9696
|
+
"name": "triggerClickEvent",
|
|
9697
|
+
"privacy": "private",
|
|
9698
|
+
"inheritedFrom": {
|
|
9699
|
+
"name": "Buttonsimple",
|
|
9700
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9701
|
+
}
|
|
9702
|
+
},
|
|
9703
|
+
{
|
|
9704
|
+
"kind": "method",
|
|
9705
|
+
"name": "handleBlur",
|
|
9706
|
+
"privacy": "private",
|
|
9707
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
9708
|
+
"inheritedFrom": {
|
|
9709
|
+
"name": "Buttonsimple",
|
|
9710
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9711
|
+
}
|
|
9712
|
+
},
|
|
9713
|
+
{
|
|
9714
|
+
"kind": "method",
|
|
9715
|
+
"name": "handleKeyDown",
|
|
9586
9716
|
"privacy": "private",
|
|
9587
9717
|
"parameters": [
|
|
9588
9718
|
{
|
|
@@ -9590,14 +9720,18 @@
|
|
|
9590
9720
|
"type": {
|
|
9591
9721
|
"text": "KeyboardEvent"
|
|
9592
9722
|
},
|
|
9593
|
-
"description": "The keyboard event"
|
|
9723
|
+
"description": "The keyboard event."
|
|
9594
9724
|
}
|
|
9595
9725
|
],
|
|
9596
|
-
"description": "
|
|
9726
|
+
"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.",
|
|
9727
|
+
"inheritedFrom": {
|
|
9728
|
+
"name": "Buttonsimple",
|
|
9729
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9730
|
+
}
|
|
9597
9731
|
},
|
|
9598
9732
|
{
|
|
9599
9733
|
"kind": "method",
|
|
9600
|
-
"name": "
|
|
9734
|
+
"name": "handleKeyUp",
|
|
9601
9735
|
"privacy": "private",
|
|
9602
9736
|
"parameters": [
|
|
9603
9737
|
{
|
|
@@ -9605,311 +9739,195 @@
|
|
|
9605
9739
|
"type": {
|
|
9606
9740
|
"text": "KeyboardEvent"
|
|
9607
9741
|
},
|
|
9608
|
-
"description": "The keyboard event"
|
|
9742
|
+
"description": "The keyboard event."
|
|
9609
9743
|
}
|
|
9610
9744
|
],
|
|
9611
|
-
"description": "
|
|
9612
|
-
|
|
9745
|
+
"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.",
|
|
9746
|
+
"inheritedFrom": {
|
|
9747
|
+
"name": "Buttonsimple",
|
|
9748
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
9749
|
+
}
|
|
9750
|
+
}
|
|
9751
|
+
],
|
|
9752
|
+
"events": [
|
|
9613
9753
|
{
|
|
9614
|
-
"
|
|
9615
|
-
"name": "
|
|
9616
|
-
"
|
|
9617
|
-
"description": "Renders the header of the card",
|
|
9618
|
-
"return": {
|
|
9619
|
-
"type": {
|
|
9620
|
-
"text": ""
|
|
9621
|
-
}
|
|
9622
|
-
},
|
|
9754
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
9755
|
+
"name": "click",
|
|
9756
|
+
"reactName": "onClick",
|
|
9623
9757
|
"inheritedFrom": {
|
|
9624
|
-
"name": "
|
|
9625
|
-
"module": "components/
|
|
9758
|
+
"name": "Buttonsimple",
|
|
9759
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9626
9760
|
}
|
|
9627
9761
|
},
|
|
9628
9762
|
{
|
|
9629
|
-
"
|
|
9630
|
-
"name": "
|
|
9631
|
-
"
|
|
9632
|
-
"text": "boolean | undefined"
|
|
9633
|
-
},
|
|
9634
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
9635
|
-
"default": "undefined",
|
|
9636
|
-
"attribute": "disabled",
|
|
9637
|
-
"reflects": true,
|
|
9763
|
+
"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.",
|
|
9764
|
+
"name": "keydown",
|
|
9765
|
+
"reactName": "onKeyDown",
|
|
9638
9766
|
"inheritedFrom": {
|
|
9639
|
-
"name": "
|
|
9640
|
-
"module": "
|
|
9767
|
+
"name": "Buttonsimple",
|
|
9768
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9641
9769
|
}
|
|
9642
9770
|
},
|
|
9643
9771
|
{
|
|
9644
|
-
"
|
|
9645
|
-
"name": "
|
|
9646
|
-
"
|
|
9647
|
-
"text": "number"
|
|
9648
|
-
},
|
|
9649
|
-
"default": "0",
|
|
9650
|
-
"description": "This property specifies the tab order of the element.",
|
|
9651
|
-
"attribute": "tabIndex",
|
|
9652
|
-
"reflects": true,
|
|
9772
|
+
"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.",
|
|
9773
|
+
"name": "keyup",
|
|
9774
|
+
"reactName": "onKeyUp",
|
|
9653
9775
|
"inheritedFrom": {
|
|
9654
|
-
"name": "
|
|
9655
|
-
"module": "
|
|
9776
|
+
"name": "Buttonsimple",
|
|
9777
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9656
9778
|
}
|
|
9657
9779
|
},
|
|
9658
9780
|
{
|
|
9659
|
-
"
|
|
9660
|
-
"name": "
|
|
9781
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
9782
|
+
"name": "focus",
|
|
9783
|
+
"reactName": "onFocus",
|
|
9784
|
+
"inheritedFrom": {
|
|
9785
|
+
"name": "Buttonsimple",
|
|
9786
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9787
|
+
}
|
|
9788
|
+
}
|
|
9789
|
+
],
|
|
9790
|
+
"mixins": [
|
|
9791
|
+
{
|
|
9792
|
+
"name": "CardComponentMixin",
|
|
9793
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
9794
|
+
}
|
|
9795
|
+
],
|
|
9796
|
+
"superclass": {
|
|
9797
|
+
"name": "Buttonsimple",
|
|
9798
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
9799
|
+
},
|
|
9800
|
+
"tagName": "mdc-cardbutton",
|
|
9801
|
+
"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 */",
|
|
9802
|
+
"customElement": true,
|
|
9803
|
+
"attributes": [
|
|
9804
|
+
{
|
|
9805
|
+
"name": "card-title",
|
|
9661
9806
|
"type": {
|
|
9662
9807
|
"text": "string"
|
|
9663
9808
|
},
|
|
9664
9809
|
"default": "''",
|
|
9665
9810
|
"description": "The title of the card - part of header section",
|
|
9666
|
-
"
|
|
9667
|
-
"reflects": true,
|
|
9811
|
+
"fieldName": "cardTitle",
|
|
9668
9812
|
"inheritedFrom": {
|
|
9669
|
-
"name": "
|
|
9670
|
-
"module": "
|
|
9813
|
+
"name": "CardComponentMixin",
|
|
9814
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9671
9815
|
}
|
|
9672
9816
|
},
|
|
9673
9817
|
{
|
|
9674
|
-
"kind": "field",
|
|
9675
9818
|
"name": "subtitle",
|
|
9676
9819
|
"type": {
|
|
9677
9820
|
"text": "string"
|
|
9678
9821
|
},
|
|
9679
9822
|
"default": "''",
|
|
9680
9823
|
"description": "The subtitle of the card - part of header section",
|
|
9681
|
-
"
|
|
9682
|
-
"reflects": true,
|
|
9824
|
+
"fieldName": "subtitle",
|
|
9683
9825
|
"inheritedFrom": {
|
|
9684
|
-
"name": "
|
|
9685
|
-
"module": "
|
|
9826
|
+
"name": "CardComponentMixin",
|
|
9827
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9686
9828
|
}
|
|
9687
9829
|
},
|
|
9688
9830
|
{
|
|
9689
|
-
"
|
|
9690
|
-
"name": "imageSrc",
|
|
9831
|
+
"name": "image-src",
|
|
9691
9832
|
"type": {
|
|
9692
9833
|
"text": "string"
|
|
9693
9834
|
},
|
|
9694
9835
|
"default": "''",
|
|
9695
9836
|
"description": "The image source URL to render on the card",
|
|
9696
|
-
"
|
|
9697
|
-
"reflects": true,
|
|
9837
|
+
"fieldName": "imageSrc",
|
|
9698
9838
|
"inheritedFrom": {
|
|
9699
|
-
"name": "
|
|
9700
|
-
"module": "
|
|
9839
|
+
"name": "CardComponentMixin",
|
|
9840
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9701
9841
|
}
|
|
9702
9842
|
},
|
|
9703
9843
|
{
|
|
9704
|
-
"
|
|
9705
|
-
"name": "imageAlt",
|
|
9844
|
+
"name": "image-alt",
|
|
9706
9845
|
"type": {
|
|
9707
9846
|
"text": "string"
|
|
9708
9847
|
},
|
|
9709
9848
|
"default": "''",
|
|
9710
9849
|
"description": "The image alt for accessibility support",
|
|
9711
|
-
"
|
|
9712
|
-
"reflects": true,
|
|
9850
|
+
"fieldName": "imageAlt",
|
|
9713
9851
|
"inheritedFrom": {
|
|
9714
|
-
"name": "
|
|
9715
|
-
"module": "
|
|
9852
|
+
"name": "CardComponentMixin",
|
|
9853
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9716
9854
|
}
|
|
9717
9855
|
},
|
|
9718
9856
|
{
|
|
9719
|
-
"kind": "field",
|
|
9720
9857
|
"name": "variant",
|
|
9721
9858
|
"type": {
|
|
9722
9859
|
"text": "CardVariant"
|
|
9723
9860
|
},
|
|
9724
9861
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
9725
9862
|
"default": "'border'",
|
|
9726
|
-
"
|
|
9727
|
-
"reflects": true,
|
|
9863
|
+
"fieldName": "variant",
|
|
9728
9864
|
"inheritedFrom": {
|
|
9729
|
-
"name": "
|
|
9730
|
-
"module": "
|
|
9865
|
+
"name": "CardComponentMixin",
|
|
9866
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9731
9867
|
}
|
|
9732
9868
|
},
|
|
9733
9869
|
{
|
|
9734
|
-
"kind": "field",
|
|
9735
9870
|
"name": "orientation",
|
|
9736
9871
|
"type": {
|
|
9737
9872
|
"text": "CardOrientation"
|
|
9738
9873
|
},
|
|
9739
9874
|
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
9740
9875
|
"default": "'vertical'",
|
|
9741
|
-
"
|
|
9742
|
-
"reflects": true,
|
|
9876
|
+
"fieldName": "orientation",
|
|
9743
9877
|
"inheritedFrom": {
|
|
9744
|
-
"name": "
|
|
9745
|
-
"module": "
|
|
9878
|
+
"name": "CardComponentMixin",
|
|
9879
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9746
9880
|
}
|
|
9747
9881
|
},
|
|
9748
9882
|
{
|
|
9749
|
-
"
|
|
9750
|
-
"name": "titleTagName",
|
|
9883
|
+
"name": "title-tag-name",
|
|
9751
9884
|
"type": {
|
|
9752
9885
|
"text": "TagNameType"
|
|
9753
9886
|
},
|
|
9754
9887
|
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
9755
9888
|
"default": "'span'",
|
|
9756
|
-
"
|
|
9757
|
-
"reflects": true,
|
|
9889
|
+
"fieldName": "titleTagName",
|
|
9758
9890
|
"inheritedFrom": {
|
|
9759
|
-
"name": "
|
|
9760
|
-
"module": "
|
|
9891
|
+
"name": "CardComponentMixin",
|
|
9892
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9761
9893
|
}
|
|
9762
9894
|
},
|
|
9763
9895
|
{
|
|
9764
|
-
"
|
|
9765
|
-
"name": "subtitleTagName",
|
|
9896
|
+
"name": "subtitle-tag-name",
|
|
9766
9897
|
"type": {
|
|
9767
9898
|
"text": "TagNameType"
|
|
9768
9899
|
},
|
|
9769
9900
|
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
9770
9901
|
"default": "'span'",
|
|
9771
|
-
"
|
|
9772
|
-
"reflects": true,
|
|
9902
|
+
"fieldName": "subtitleTagName",
|
|
9773
9903
|
"inheritedFrom": {
|
|
9774
|
-
"name": "
|
|
9775
|
-
"module": "
|
|
9904
|
+
"name": "CardComponentMixin",
|
|
9905
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9776
9906
|
}
|
|
9777
9907
|
},
|
|
9778
9908
|
{
|
|
9779
|
-
"
|
|
9780
|
-
"name": "iconName",
|
|
9909
|
+
"name": "icon-name",
|
|
9781
9910
|
"type": {
|
|
9782
9911
|
"text": "IconNames | undefined"
|
|
9783
9912
|
},
|
|
9784
9913
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
9785
|
-
"
|
|
9786
|
-
"reflects": true,
|
|
9787
|
-
"inheritedFrom": {
|
|
9788
|
-
"name": "Card",
|
|
9789
|
-
"module": "components/card/card.component.js"
|
|
9790
|
-
}
|
|
9791
|
-
},
|
|
9792
|
-
{
|
|
9793
|
-
"kind": "method",
|
|
9794
|
-
"name": "renderImage",
|
|
9795
|
-
"privacy": "protected",
|
|
9796
|
-
"description": "Renders the image on the card if image source is provided",
|
|
9797
|
-
"return": {
|
|
9798
|
-
"type": {
|
|
9799
|
-
"text": ""
|
|
9800
|
-
}
|
|
9801
|
-
},
|
|
9802
|
-
"inheritedFrom": {
|
|
9803
|
-
"name": "Card",
|
|
9804
|
-
"module": "components/card/card.component.js"
|
|
9805
|
-
}
|
|
9806
|
-
},
|
|
9807
|
-
{
|
|
9808
|
-
"kind": "method",
|
|
9809
|
-
"name": "renderIcon",
|
|
9810
|
-
"privacy": "protected",
|
|
9811
|
-
"description": "Renders the icon on the card if icon name is provided",
|
|
9812
|
-
"return": {
|
|
9813
|
-
"type": {
|
|
9814
|
-
"text": ""
|
|
9815
|
-
}
|
|
9816
|
-
},
|
|
9817
|
-
"inheritedFrom": {
|
|
9818
|
-
"name": "Card",
|
|
9819
|
-
"module": "components/card/card.component.js"
|
|
9820
|
-
}
|
|
9821
|
-
},
|
|
9822
|
-
{
|
|
9823
|
-
"kind": "method",
|
|
9824
|
-
"name": "renderTitle",
|
|
9825
|
-
"privacy": "protected",
|
|
9826
|
-
"description": "Renders the title and subtitle on the card",
|
|
9827
|
-
"return": {
|
|
9828
|
-
"type": {
|
|
9829
|
-
"text": ""
|
|
9830
|
-
}
|
|
9831
|
-
},
|
|
9832
|
-
"inheritedFrom": {
|
|
9833
|
-
"name": "Card",
|
|
9834
|
-
"module": "components/card/card.component.js"
|
|
9835
|
-
}
|
|
9836
|
-
},
|
|
9837
|
-
{
|
|
9838
|
-
"kind": "method",
|
|
9839
|
-
"name": "renderFooter",
|
|
9840
|
-
"privacy": "protected",
|
|
9841
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
9842
|
-
"return": {
|
|
9843
|
-
"type": {
|
|
9844
|
-
"text": ""
|
|
9845
|
-
}
|
|
9846
|
-
},
|
|
9914
|
+
"fieldName": "iconName",
|
|
9847
9915
|
"inheritedFrom": {
|
|
9848
|
-
"name": "
|
|
9849
|
-
"module": "
|
|
9916
|
+
"name": "CardComponentMixin",
|
|
9917
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
9850
9918
|
}
|
|
9851
|
-
}
|
|
9852
|
-
],
|
|
9853
|
-
"events": [
|
|
9854
|
-
{
|
|
9855
|
-
"name": "change",
|
|
9856
|
-
"type": {
|
|
9857
|
-
"text": "Event"
|
|
9858
|
-
},
|
|
9859
|
-
"description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
|
|
9860
|
-
"reactName": "onChange"
|
|
9861
|
-
},
|
|
9862
|
-
{
|
|
9863
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
|
|
9864
|
-
"name": "click",
|
|
9865
|
-
"reactName": "onClick"
|
|
9866
|
-
},
|
|
9867
|
-
{
|
|
9868
|
-
"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.",
|
|
9869
|
-
"name": "keydown",
|
|
9870
|
-
"reactName": "onKeyDown"
|
|
9871
|
-
},
|
|
9872
|
-
{
|
|
9873
|
-
"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.",
|
|
9874
|
-
"name": "keyup",
|
|
9875
|
-
"reactName": "onKeyUp"
|
|
9876
9919
|
},
|
|
9877
9920
|
{
|
|
9878
|
-
"
|
|
9879
|
-
"name": "focus",
|
|
9880
|
-
"reactName": "onFocus"
|
|
9881
|
-
}
|
|
9882
|
-
],
|
|
9883
|
-
"attributes": [
|
|
9884
|
-
{
|
|
9885
|
-
"name": "checked",
|
|
9921
|
+
"name": "auto-focus-on-mount",
|
|
9886
9922
|
"type": {
|
|
9887
9923
|
"text": "boolean"
|
|
9888
9924
|
},
|
|
9889
9925
|
"default": "false",
|
|
9890
|
-
"description": "
|
|
9891
|
-
"fieldName": "
|
|
9892
|
-
},
|
|
9893
|
-
{
|
|
9894
|
-
"name": "name",
|
|
9895
|
-
"type": {
|
|
9896
|
-
"text": "string"
|
|
9897
|
-
},
|
|
9898
|
-
"default": "''",
|
|
9899
|
-
"description": "The name of the radio.",
|
|
9900
|
-
"fieldName": "name"
|
|
9901
|
-
},
|
|
9902
|
-
{
|
|
9903
|
-
"name": "disabled",
|
|
9904
|
-
"type": {
|
|
9905
|
-
"text": "boolean | undefined"
|
|
9906
|
-
},
|
|
9907
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
9908
|
-
"default": "undefined",
|
|
9909
|
-
"fieldName": "disabled",
|
|
9926
|
+
"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.",
|
|
9927
|
+
"fieldName": "autoFocusOnMount",
|
|
9910
9928
|
"inheritedFrom": {
|
|
9911
|
-
"name": "
|
|
9912
|
-
"module": "src/
|
|
9929
|
+
"name": "Buttonsimple",
|
|
9930
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9913
9931
|
}
|
|
9914
9932
|
},
|
|
9915
9933
|
{
|
|
@@ -9921,144 +9939,126 @@
|
|
|
9921
9939
|
"description": "This property specifies the tab order of the element.",
|
|
9922
9940
|
"fieldName": "tabIndex",
|
|
9923
9941
|
"inheritedFrom": {
|
|
9924
|
-
"name": "
|
|
9925
|
-
"module": "src/
|
|
9942
|
+
"name": "Buttonsimple",
|
|
9943
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9926
9944
|
}
|
|
9927
9945
|
},
|
|
9928
9946
|
{
|
|
9929
|
-
"name": "
|
|
9947
|
+
"name": "disabled",
|
|
9930
9948
|
"type": {
|
|
9931
|
-
"text": "
|
|
9949
|
+
"text": "boolean | undefined"
|
|
9932
9950
|
},
|
|
9933
|
-
"
|
|
9934
|
-
"
|
|
9935
|
-
"fieldName": "
|
|
9951
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
9952
|
+
"default": "undefined",
|
|
9953
|
+
"fieldName": "disabled",
|
|
9936
9954
|
"inheritedFrom": {
|
|
9937
|
-
"name": "
|
|
9938
|
-
"module": "src/components/
|
|
9955
|
+
"name": "Buttonsimple",
|
|
9956
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9939
9957
|
}
|
|
9940
9958
|
},
|
|
9941
9959
|
{
|
|
9942
|
-
"name": "
|
|
9960
|
+
"name": "active",
|
|
9943
9961
|
"type": {
|
|
9944
|
-
"text": "
|
|
9962
|
+
"text": "boolean | undefined"
|
|
9945
9963
|
},
|
|
9946
|
-
"
|
|
9947
|
-
"
|
|
9948
|
-
"fieldName": "
|
|
9964
|
+
"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.",
|
|
9965
|
+
"default": "undefined",
|
|
9966
|
+
"fieldName": "active",
|
|
9949
9967
|
"inheritedFrom": {
|
|
9950
|
-
"name": "
|
|
9951
|
-
"module": "src/components/
|
|
9968
|
+
"name": "Buttonsimple",
|
|
9969
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9952
9970
|
}
|
|
9953
9971
|
},
|
|
9954
9972
|
{
|
|
9955
|
-
"name": "
|
|
9973
|
+
"name": "soft-disabled",
|
|
9956
9974
|
"type": {
|
|
9957
|
-
"text": "
|
|
9975
|
+
"text": "boolean | undefined"
|
|
9958
9976
|
},
|
|
9959
|
-
"
|
|
9960
|
-
"
|
|
9961
|
-
"fieldName": "
|
|
9977
|
+
"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.",
|
|
9978
|
+
"default": "undefined",
|
|
9979
|
+
"fieldName": "softDisabled",
|
|
9962
9980
|
"inheritedFrom": {
|
|
9963
|
-
"name": "
|
|
9964
|
-
"module": "src/components/
|
|
9981
|
+
"name": "Buttonsimple",
|
|
9982
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9965
9983
|
}
|
|
9966
9984
|
},
|
|
9967
9985
|
{
|
|
9968
|
-
"name": "
|
|
9986
|
+
"name": "size",
|
|
9969
9987
|
"type": {
|
|
9970
|
-
"text": "
|
|
9988
|
+
"text": "ButtonSize"
|
|
9971
9989
|
},
|
|
9972
|
-
"
|
|
9973
|
-
"
|
|
9974
|
-
"fieldName": "
|
|
9990
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
9991
|
+
"default": "32",
|
|
9992
|
+
"fieldName": "size",
|
|
9975
9993
|
"inheritedFrom": {
|
|
9976
|
-
"name": "
|
|
9977
|
-
"module": "src/components/
|
|
9994
|
+
"name": "Buttonsimple",
|
|
9995
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9978
9996
|
}
|
|
9979
9997
|
},
|
|
9980
9998
|
{
|
|
9981
|
-
"name": "
|
|
9999
|
+
"name": "role",
|
|
9982
10000
|
"type": {
|
|
9983
|
-
"text": "
|
|
10001
|
+
"text": "RoleType"
|
|
9984
10002
|
},
|
|
9985
|
-
"description": "
|
|
9986
|
-
"default": "
|
|
9987
|
-
"fieldName": "
|
|
10003
|
+
"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.",
|
|
10004
|
+
"default": "button",
|
|
10005
|
+
"fieldName": "role",
|
|
9988
10006
|
"inheritedFrom": {
|
|
9989
|
-
"name": "
|
|
9990
|
-
"module": "src/components/
|
|
10007
|
+
"name": "Buttonsimple",
|
|
10008
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
9991
10009
|
}
|
|
9992
10010
|
},
|
|
9993
10011
|
{
|
|
9994
|
-
"name": "
|
|
10012
|
+
"name": "ariaStateKey",
|
|
9995
10013
|
"type": {
|
|
9996
|
-
"text": "
|
|
10014
|
+
"text": "string | undefined"
|
|
9997
10015
|
},
|
|
9998
|
-
"description": "
|
|
9999
|
-
"default": "'
|
|
10000
|
-
"fieldName": "
|
|
10016
|
+
"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`",
|
|
10017
|
+
"default": "'aria-pressed' (when)",
|
|
10018
|
+
"fieldName": "ariaStateKey",
|
|
10001
10019
|
"inheritedFrom": {
|
|
10002
|
-
"name": "
|
|
10003
|
-
"module": "src/components/
|
|
10020
|
+
"name": "Buttonsimple",
|
|
10021
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
10004
10022
|
}
|
|
10005
10023
|
},
|
|
10006
10024
|
{
|
|
10007
|
-
"name": "
|
|
10025
|
+
"name": "type",
|
|
10008
10026
|
"type": {
|
|
10009
|
-
"text": "
|
|
10027
|
+
"text": "ButtonType"
|
|
10010
10028
|
},
|
|
10011
|
-
"description": "
|
|
10012
|
-
"default": "
|
|
10013
|
-
"fieldName": "
|
|
10029
|
+
"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.",
|
|
10030
|
+
"default": "button",
|
|
10031
|
+
"fieldName": "type",
|
|
10014
10032
|
"inheritedFrom": {
|
|
10015
|
-
"name": "
|
|
10016
|
-
"module": "src/components/
|
|
10033
|
+
"name": "Buttonsimple",
|
|
10034
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
10017
10035
|
}
|
|
10018
10036
|
},
|
|
10019
10037
|
{
|
|
10020
|
-
"name": "
|
|
10038
|
+
"name": "name",
|
|
10021
10039
|
"type": {
|
|
10022
|
-
"text": "
|
|
10040
|
+
"text": "string | undefined"
|
|
10023
10041
|
},
|
|
10024
|
-
"description": "The
|
|
10025
|
-
"
|
|
10026
|
-
"fieldName": "subtitleTagName",
|
|
10042
|
+
"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.",
|
|
10043
|
+
"fieldName": "name",
|
|
10027
10044
|
"inheritedFrom": {
|
|
10028
|
-
"name": "
|
|
10029
|
-
"module": "src/components/
|
|
10045
|
+
"name": "Buttonsimple",
|
|
10046
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
10030
10047
|
}
|
|
10031
10048
|
},
|
|
10032
10049
|
{
|
|
10033
|
-
"name": "
|
|
10050
|
+
"name": "value",
|
|
10034
10051
|
"type": {
|
|
10035
|
-
"text": "
|
|
10052
|
+
"text": "string | undefined"
|
|
10036
10053
|
},
|
|
10037
|
-
"description": "
|
|
10038
|
-
"fieldName": "
|
|
10054
|
+
"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.",
|
|
10055
|
+
"fieldName": "value",
|
|
10039
10056
|
"inheritedFrom": {
|
|
10040
|
-
"name": "
|
|
10041
|
-
"module": "src/components/
|
|
10057
|
+
"name": "Buttonsimple",
|
|
10058
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
10042
10059
|
}
|
|
10043
10060
|
}
|
|
10044
|
-
]
|
|
10045
|
-
"mixins": [
|
|
10046
|
-
{
|
|
10047
|
-
"name": "DisabledMixin",
|
|
10048
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
|
10049
|
-
},
|
|
10050
|
-
{
|
|
10051
|
-
"name": "TabIndexMixin",
|
|
10052
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
|
10053
|
-
}
|
|
10054
|
-
],
|
|
10055
|
-
"superclass": {
|
|
10056
|
-
"name": "Card",
|
|
10057
|
-
"module": "/src/components/card/card.component"
|
|
10058
|
-
},
|
|
10059
|
-
"tagName": "mdc-cardradio",
|
|
10060
|
-
"jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\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-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\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 */",
|
|
10061
|
-
"customElement": true
|
|
10061
|
+
]
|
|
10062
10062
|
}
|
|
10063
10063
|
],
|
|
10064
10064
|
"exports": [
|
|
@@ -10066,8 +10066,8 @@
|
|
|
10066
10066
|
"kind": "js",
|
|
10067
10067
|
"name": "default",
|
|
10068
10068
|
"declaration": {
|
|
10069
|
-
"name": "
|
|
10070
|
-
"module": "components/
|
|
10069
|
+
"name": "CardButton",
|
|
10070
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
|
10071
10071
|
}
|
|
10072
10072
|
}
|
|
10073
10073
|
]
|
|
@@ -39380,7 +39380,7 @@
|
|
|
39380
39380
|
"declarations": [
|
|
39381
39381
|
{
|
|
39382
39382
|
"kind": "class",
|
|
39383
|
-
"description": "`mdc-searchpopover` widget is a combination of the Searchfield and Popover components, connected to ensure\nproper accessibility. This component should be used when search results or suggestions need to be displayed\nin a popover below the search input field, where the search results hold individual actions like navigating to a\na different url etc.\n\n- Don't use this when search results are displayed inline on the page
|
|
39383
|
+
"description": "`mdc-searchpopover` widget is a combination of the Searchfield and Popover components, connected to ensure\nproper accessibility. This component should be used when search results or suggestions need to be displayed\nin a popover below the search input field, where the search results hold individual actions like navigating to a\na different url etc.\n\n- Don't use this when search results are displayed inline on the page -\\> use Searchfield component instead.\n- Don't use this when a list of options is filtered based on the search input -\\> use Combobox component instead.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-searchfield` component & rendering the mdc-popover component inside.",
|
|
39384
39384
|
"name": "Searchpopover",
|
|
39385
39385
|
"cssProperties": [
|
|
39386
39386
|
{
|
|
@@ -39746,6 +39746,16 @@
|
|
|
39746
39746
|
"attribute": "popover-z-index",
|
|
39747
39747
|
"reflects": true
|
|
39748
39748
|
},
|
|
39749
|
+
{
|
|
39750
|
+
"kind": "field",
|
|
39751
|
+
"name": "popoverAriaLabel",
|
|
39752
|
+
"type": {
|
|
39753
|
+
"text": "string | undefined"
|
|
39754
|
+
},
|
|
39755
|
+
"description": "The aria-label for the popover within Searchpopover.\nUse to provide an accessible name for the popover i.e. \"Search results\".",
|
|
39756
|
+
"attribute": "popover-aria-label",
|
|
39757
|
+
"reflects": true
|
|
39758
|
+
},
|
|
39749
39759
|
{
|
|
39750
39760
|
"kind": "method",
|
|
39751
39761
|
"name": "renderInputElement",
|
|
@@ -40533,6 +40543,14 @@
|
|
|
40533
40543
|
"default": "1000",
|
|
40534
40544
|
"fieldName": "popoverZIndex"
|
|
40535
40545
|
},
|
|
40546
|
+
{
|
|
40547
|
+
"name": "popover-aria-label",
|
|
40548
|
+
"type": {
|
|
40549
|
+
"text": "string | undefined"
|
|
40550
|
+
},
|
|
40551
|
+
"description": "The aria-label for the popover within Searchpopover.\nUse to provide an accessible name for the popover i.e. \"Search results\".",
|
|
40552
|
+
"fieldName": "popoverAriaLabel"
|
|
40553
|
+
},
|
|
40536
40554
|
{
|
|
40537
40555
|
"name": "auto-focus-on-mount",
|
|
40538
40556
|
"type": {
|
|
@@ -40914,7 +40932,7 @@
|
|
|
40914
40932
|
"module": "/src/components/searchfield/searchfield.component"
|
|
40915
40933
|
},
|
|
40916
40934
|
"tagName": "mdc-searchpopover",
|
|
40917
|
-
"jsDoc": "/**\n * `mdc-searchpopover` widget is a combination of the Searchfield and Popover components, connected to ensure\n * proper accessibility. This component should be used when search results or suggestions need to be displayed\n * in a popover below the search input field, where the search results hold individual actions like navigating to a\n * a different url etc.\n *\n * - Don't use this when search results are displayed inline on the page
|
|
40935
|
+
"jsDoc": "/**\n * `mdc-searchpopover` widget is a combination of the Searchfield and Popover components, connected to ensure\n * proper accessibility. This component should be used when search results or suggestions need to be displayed\n * in a popover below the search input field, where the search results hold individual actions like navigating to a\n * a different url etc.\n *\n * - Don't use this when search results are displayed inline on the page -\\> use Searchfield component instead.\n * - Don't use this when a list of options is filtered based on the search input -\\> use Combobox component instead.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-searchfield` component & rendering the mdc-popover component inside.\n *\n * @tagname mdc-searchpopover\n *\n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n * @event shown - (React: onShown) This event is dispatched when the popover is shown\n * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden\n *\n * @slot default - Default slot (=children) for the popover content\n * @slot filters - Slot for input chips\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n * @slot input - Slot for the input element. If not provided, the input field will be rendered.\n * @slot input-leading-icon - Slot for the leading icon before the input field. If not provided, the `leadingIcon` property will be used to render the leading icon.\n * @slot input-prefix-text - Slot for the prefix text before the input field. If not provided, the `prefixText` property will be used to render the prefix text.\n * @slot trailing-button - Slot for the trailing button to clear the input field. If not provided, the clear button will be rendered when `trailingButton` property is set to true.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-searchpopover-width - Width of the searchpopover component\n * @cssproperty --mdc-searchpopover-popover-width - Width of the popover within the searchpopover component\n * @cssproperty --mdc-searchpopover-popover-height - Height of the popover within the searchpopover component\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart leading-icon - The leading icon element that is displayed before the input field.\n * @csspart prefix-text - The prefix text element that is displayed before the input field.\n * @csspart input-container - The container for the input field, leading icon, prefix text, and trailing button elements.\n * @csspart input-section - The container for the input field, leading icon, and prefix text elements.\n * @csspart input-text - The input field element.\n * @csspart trailing-button - The trailing button element that is displayed to clear the input field when the `trailingButton` property is set to true.\n * @csspart popover-content - The popover content element.\n */",
|
|
40918
40936
|
"customElement": true
|
|
40919
40937
|
}
|
|
40920
40938
|
],
|