@momentum-design/components 0.127.5 → 0.127.6
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 +203 -203
- package/dist/browser/index.js.map +4 -4
- package/dist/components/announcementdialog/announcementdialog.component.d.ts +3 -1
- package/dist/components/announcementdialog/announcementdialog.component.js +18 -8
- package/dist/components/dialog/dialog.component.d.ts +12 -1
- package/dist/components/dialog/dialog.component.js +27 -5
- package/dist/custom-elements.json +1715 -1711
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/dist/utils/provider/index.d.ts +16 -5
- package/dist/utils/provider/index.js +11 -1
- package/package.json +1 -1
|
@@ -2092,6 +2092,10 @@
|
|
|
2092
2092
|
"name": "renderBody",
|
|
2093
2093
|
"privacy": "protected"
|
|
2094
2094
|
},
|
|
2095
|
+
{
|
|
2096
|
+
"kind": "field",
|
|
2097
|
+
"name": "internalSize"
|
|
2098
|
+
},
|
|
2095
2099
|
{
|
|
2096
2100
|
"kind": "field",
|
|
2097
2101
|
"name": "zIndex",
|
|
@@ -6854,230 +6858,304 @@
|
|
|
6854
6858
|
},
|
|
6855
6859
|
{
|
|
6856
6860
|
"kind": "javascript-module",
|
|
6857
|
-
"path": "components/
|
|
6861
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
|
6858
6862
|
"declarations": [
|
|
6859
6863
|
{
|
|
6860
6864
|
"kind": "class",
|
|
6861
|
-
"description": "
|
|
6862
|
-
"name": "
|
|
6865
|
+
"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.",
|
|
6866
|
+
"name": "CardButton",
|
|
6863
6867
|
"cssProperties": [
|
|
6868
|
+
{
|
|
6869
|
+
"description": "The width of the card",
|
|
6870
|
+
"name": "--mdc-card-width"
|
|
6871
|
+
},
|
|
6864
6872
|
{
|
|
6865
6873
|
"description": "Height for button size",
|
|
6866
|
-
"name": "--mdc-button-height"
|
|
6874
|
+
"name": "--mdc-button-height",
|
|
6875
|
+
"inheritedFrom": {
|
|
6876
|
+
"name": "Buttonsimple",
|
|
6877
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6878
|
+
}
|
|
6867
6879
|
},
|
|
6868
6880
|
{
|
|
6869
6881
|
"description": "Background color of the button",
|
|
6870
|
-
"name": "--mdc-button-background"
|
|
6882
|
+
"name": "--mdc-button-background",
|
|
6883
|
+
"inheritedFrom": {
|
|
6884
|
+
"name": "Buttonsimple",
|
|
6885
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6886
|
+
}
|
|
6871
6887
|
},
|
|
6872
6888
|
{
|
|
6873
6889
|
"description": "Borer color of the button",
|
|
6874
|
-
"name": "--mdc-button-border-color"
|
|
6890
|
+
"name": "--mdc-button-border-color",
|
|
6891
|
+
"inheritedFrom": {
|
|
6892
|
+
"name": "Buttonsimple",
|
|
6893
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6894
|
+
}
|
|
6875
6895
|
},
|
|
6876
6896
|
{
|
|
6877
6897
|
"description": "Text color of the button",
|
|
6878
|
-
"name": "--mdc-button-text-color"
|
|
6898
|
+
"name": "--mdc-button-text-color",
|
|
6899
|
+
"inheritedFrom": {
|
|
6900
|
+
"name": "Buttonsimple",
|
|
6901
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6902
|
+
}
|
|
6903
|
+
}
|
|
6904
|
+
],
|
|
6905
|
+
"cssParts": [
|
|
6906
|
+
{
|
|
6907
|
+
"description": "The header part of the card",
|
|
6908
|
+
"name": "header"
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
"description": "The icon part of the card header",
|
|
6912
|
+
"name": "icon"
|
|
6913
|
+
},
|
|
6914
|
+
{
|
|
6915
|
+
"description": "The body part of the card",
|
|
6916
|
+
"name": "body"
|
|
6917
|
+
},
|
|
6918
|
+
{
|
|
6919
|
+
"description": "The image part of the card",
|
|
6920
|
+
"name": "image"
|
|
6921
|
+
},
|
|
6922
|
+
{
|
|
6923
|
+
"description": "The footer part of the card",
|
|
6924
|
+
"name": "footer"
|
|
6925
|
+
},
|
|
6926
|
+
{
|
|
6927
|
+
"description": "The link part of the card footer",
|
|
6928
|
+
"name": "footer-link"
|
|
6929
|
+
},
|
|
6930
|
+
{
|
|
6931
|
+
"description": "The primary button part of the card footer",
|
|
6932
|
+
"name": "footer-button-primary"
|
|
6933
|
+
},
|
|
6934
|
+
{
|
|
6935
|
+
"description": "The secondary button part of the card footer",
|
|
6936
|
+
"name": "footer-button-secondary"
|
|
6937
|
+
},
|
|
6938
|
+
{
|
|
6939
|
+
"description": "The icon button part of the card header",
|
|
6940
|
+
"name": "icon-button"
|
|
6941
|
+
},
|
|
6942
|
+
{
|
|
6943
|
+
"description": "The text part of the card",
|
|
6944
|
+
"name": "text"
|
|
6945
|
+
}
|
|
6946
|
+
],
|
|
6947
|
+
"slots": [
|
|
6948
|
+
{
|
|
6949
|
+
"description": "This slot is for passing the content before the body",
|
|
6950
|
+
"name": "before-body"
|
|
6951
|
+
},
|
|
6952
|
+
{
|
|
6953
|
+
"description": "This slot is for passing the text content for the card",
|
|
6954
|
+
"name": "body"
|
|
6955
|
+
},
|
|
6956
|
+
{
|
|
6957
|
+
"description": "This slot is for passing the content after the body",
|
|
6958
|
+
"name": "after-body"
|
|
6959
|
+
},
|
|
6960
|
+
{
|
|
6961
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
6962
|
+
"name": "footer-link"
|
|
6963
|
+
},
|
|
6964
|
+
{
|
|
6965
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
6966
|
+
"name": "footer-button-primary"
|
|
6879
6967
|
}
|
|
6880
6968
|
],
|
|
6881
6969
|
"members": [
|
|
6970
|
+
{
|
|
6971
|
+
"kind": "method",
|
|
6972
|
+
"name": "renderHeader",
|
|
6973
|
+
"privacy": "protected",
|
|
6974
|
+
"description": "Renders the header of the card if title is provided",
|
|
6975
|
+
"return": {
|
|
6976
|
+
"type": {
|
|
6977
|
+
"text": ""
|
|
6978
|
+
}
|
|
6979
|
+
}
|
|
6980
|
+
},
|
|
6882
6981
|
{
|
|
6883
6982
|
"kind": "field",
|
|
6884
|
-
"name": "
|
|
6983
|
+
"name": "cardTitle",
|
|
6885
6984
|
"type": {
|
|
6886
|
-
"text": "
|
|
6985
|
+
"text": "string"
|
|
6887
6986
|
},
|
|
6888
|
-
"
|
|
6889
|
-
"
|
|
6890
|
-
"attribute": "
|
|
6891
|
-
"reflects": true
|
|
6987
|
+
"default": "''",
|
|
6988
|
+
"description": "The title of the card - part of header section",
|
|
6989
|
+
"attribute": "card-title",
|
|
6990
|
+
"reflects": true,
|
|
6991
|
+
"inheritedFrom": {
|
|
6992
|
+
"name": "CardComponentMixin",
|
|
6993
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
6994
|
+
}
|
|
6892
6995
|
},
|
|
6893
6996
|
{
|
|
6894
6997
|
"kind": "field",
|
|
6895
|
-
"name": "
|
|
6998
|
+
"name": "subtitle",
|
|
6896
6999
|
"type": {
|
|
6897
|
-
"text": "
|
|
7000
|
+
"text": "string"
|
|
6898
7001
|
},
|
|
6899
|
-
"
|
|
6900
|
-
"
|
|
6901
|
-
"attribute": "
|
|
6902
|
-
"reflects": true
|
|
7002
|
+
"default": "''",
|
|
7003
|
+
"description": "The subtitle of the card - part of header section",
|
|
7004
|
+
"attribute": "subtitle",
|
|
7005
|
+
"reflects": true,
|
|
7006
|
+
"inheritedFrom": {
|
|
7007
|
+
"name": "CardComponentMixin",
|
|
7008
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7009
|
+
}
|
|
6903
7010
|
},
|
|
6904
7011
|
{
|
|
6905
7012
|
"kind": "field",
|
|
6906
|
-
"name": "
|
|
7013
|
+
"name": "imageSrc",
|
|
6907
7014
|
"type": {
|
|
6908
|
-
"text": "
|
|
7015
|
+
"text": "string"
|
|
6909
7016
|
},
|
|
6910
|
-
"
|
|
6911
|
-
"
|
|
6912
|
-
"attribute": "
|
|
6913
|
-
"reflects": true
|
|
7017
|
+
"default": "''",
|
|
7018
|
+
"description": "The image source URL to render on the card",
|
|
7019
|
+
"attribute": "image-src",
|
|
7020
|
+
"reflects": true,
|
|
7021
|
+
"inheritedFrom": {
|
|
7022
|
+
"name": "CardComponentMixin",
|
|
7023
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7024
|
+
}
|
|
6914
7025
|
},
|
|
6915
7026
|
{
|
|
6916
7027
|
"kind": "field",
|
|
6917
|
-
"name": "
|
|
7028
|
+
"name": "imageAlt",
|
|
6918
7029
|
"type": {
|
|
6919
|
-
"text": "
|
|
7030
|
+
"text": "string"
|
|
6920
7031
|
},
|
|
6921
|
-
"
|
|
6922
|
-
"
|
|
6923
|
-
"attribute": "
|
|
6924
|
-
"reflects": true
|
|
7032
|
+
"default": "''",
|
|
7033
|
+
"description": "The image alt for accessibility support",
|
|
7034
|
+
"attribute": "image-alt",
|
|
7035
|
+
"reflects": true,
|
|
7036
|
+
"inheritedFrom": {
|
|
7037
|
+
"name": "CardComponentMixin",
|
|
7038
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7039
|
+
}
|
|
6925
7040
|
},
|
|
6926
7041
|
{
|
|
6927
7042
|
"kind": "field",
|
|
6928
|
-
"name": "
|
|
7043
|
+
"name": "variant",
|
|
6929
7044
|
"type": {
|
|
6930
|
-
"text": "
|
|
7045
|
+
"text": "CardVariant"
|
|
6931
7046
|
},
|
|
6932
|
-
"description": "
|
|
6933
|
-
"default": "'
|
|
6934
|
-
"attribute": "
|
|
6935
|
-
"reflects": true
|
|
7047
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7048
|
+
"default": "'border'",
|
|
7049
|
+
"attribute": "variant",
|
|
7050
|
+
"reflects": true,
|
|
7051
|
+
"inheritedFrom": {
|
|
7052
|
+
"name": "CardComponentMixin",
|
|
7053
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7054
|
+
}
|
|
6936
7055
|
},
|
|
6937
7056
|
{
|
|
6938
7057
|
"kind": "field",
|
|
6939
|
-
"name": "
|
|
7058
|
+
"name": "orientation",
|
|
6940
7059
|
"type": {
|
|
6941
|
-
"text": "
|
|
7060
|
+
"text": "CardOrientation"
|
|
6942
7061
|
},
|
|
6943
|
-
"description": "
|
|
6944
|
-
"default": "
|
|
6945
|
-
"attribute": "
|
|
6946
|
-
"reflects": true
|
|
7062
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7063
|
+
"default": "'vertical'",
|
|
7064
|
+
"attribute": "orientation",
|
|
7065
|
+
"reflects": true,
|
|
7066
|
+
"inheritedFrom": {
|
|
7067
|
+
"name": "CardComponentMixin",
|
|
7068
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7069
|
+
}
|
|
6947
7070
|
},
|
|
6948
7071
|
{
|
|
6949
7072
|
"kind": "field",
|
|
6950
|
-
"name": "
|
|
7073
|
+
"name": "titleTagName",
|
|
6951
7074
|
"type": {
|
|
6952
|
-
"text": "
|
|
7075
|
+
"text": "TagNameType"
|
|
6953
7076
|
},
|
|
6954
|
-
"description": "The name
|
|
6955
|
-
"
|
|
6956
|
-
"
|
|
7077
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7078
|
+
"default": "'span'",
|
|
7079
|
+
"attribute": "title-tag-name",
|
|
7080
|
+
"reflects": true,
|
|
7081
|
+
"inheritedFrom": {
|
|
7082
|
+
"name": "CardComponentMixin",
|
|
7083
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7084
|
+
}
|
|
6957
7085
|
},
|
|
6958
7086
|
{
|
|
6959
7087
|
"kind": "field",
|
|
6960
|
-
"name": "
|
|
7088
|
+
"name": "subtitleTagName",
|
|
6961
7089
|
"type": {
|
|
6962
|
-
"text": "
|
|
7090
|
+
"text": "TagNameType"
|
|
6963
7091
|
},
|
|
6964
|
-
"description": "
|
|
6965
|
-
"
|
|
6966
|
-
"
|
|
7092
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7093
|
+
"default": "'span'",
|
|
7094
|
+
"attribute": "subtitle-tag-name",
|
|
7095
|
+
"reflects": true,
|
|
7096
|
+
"inheritedFrom": {
|
|
7097
|
+
"name": "CardComponentMixin",
|
|
7098
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7099
|
+
}
|
|
6967
7100
|
},
|
|
6968
7101
|
{
|
|
6969
|
-
"kind": "
|
|
6970
|
-
"name": "
|
|
6971
|
-
"
|
|
7102
|
+
"kind": "field",
|
|
7103
|
+
"name": "iconName",
|
|
7104
|
+
"type": {
|
|
7105
|
+
"text": "IconNames | undefined"
|
|
7106
|
+
},
|
|
7107
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7108
|
+
"attribute": "icon-name",
|
|
7109
|
+
"reflects": true,
|
|
7110
|
+
"inheritedFrom": {
|
|
7111
|
+
"name": "CardComponentMixin",
|
|
7112
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7113
|
+
}
|
|
6972
7114
|
},
|
|
6973
7115
|
{
|
|
6974
7116
|
"kind": "method",
|
|
6975
|
-
"name": "
|
|
7117
|
+
"name": "renderImage",
|
|
6976
7118
|
"privacy": "protected",
|
|
6977
|
-
"
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
"
|
|
6981
|
-
"text": "HTMLElement"
|
|
6982
|
-
},
|
|
6983
|
-
"description": "The button element"
|
|
6984
|
-
},
|
|
6985
|
-
{
|
|
6986
|
-
"name": "active",
|
|
6987
|
-
"optional": true,
|
|
6988
|
-
"type": {
|
|
6989
|
-
"text": "boolean"
|
|
6990
|
-
},
|
|
6991
|
-
"description": "The active state of the element"
|
|
6992
|
-
}
|
|
6993
|
-
],
|
|
6994
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
|
6995
|
-
},
|
|
6996
|
-
{
|
|
6997
|
-
"kind": "method",
|
|
6998
|
-
"name": "setSoftDisabled",
|
|
6999
|
-
"privacy": "private",
|
|
7000
|
-
"parameters": [
|
|
7001
|
-
{
|
|
7002
|
-
"name": "element",
|
|
7003
|
-
"type": {
|
|
7004
|
-
"text": "HTMLElement"
|
|
7005
|
-
},
|
|
7006
|
-
"description": "The button element."
|
|
7007
|
-
},
|
|
7008
|
-
{
|
|
7009
|
-
"name": "softDisabled",
|
|
7010
|
-
"optional": true,
|
|
7011
|
-
"type": {
|
|
7012
|
-
"text": "boolean"
|
|
7013
|
-
},
|
|
7014
|
-
"description": "The soft-disabled state."
|
|
7015
|
-
}
|
|
7016
|
-
],
|
|
7017
|
-
"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."
|
|
7018
|
-
},
|
|
7019
|
-
{
|
|
7020
|
-
"kind": "method",
|
|
7021
|
-
"name": "setDisabled",
|
|
7022
|
-
"privacy": "private",
|
|
7023
|
-
"parameters": [
|
|
7024
|
-
{
|
|
7025
|
-
"name": "element",
|
|
7026
|
-
"type": {
|
|
7027
|
-
"text": "HTMLElement"
|
|
7028
|
-
},
|
|
7029
|
-
"description": "The button element."
|
|
7030
|
-
},
|
|
7031
|
-
{
|
|
7032
|
-
"name": "disabled",
|
|
7033
|
-
"type": {
|
|
7034
|
-
"text": "boolean"
|
|
7035
|
-
},
|
|
7036
|
-
"description": "The disabled state."
|
|
7119
|
+
"description": "Renders the image on the card if image source is provided",
|
|
7120
|
+
"return": {
|
|
7121
|
+
"type": {
|
|
7122
|
+
"text": ""
|
|
7037
7123
|
}
|
|
7038
|
-
|
|
7039
|
-
"
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
"name": "triggerClickEvent",
|
|
7044
|
-
"privacy": "private"
|
|
7045
|
-
},
|
|
7046
|
-
{
|
|
7047
|
-
"kind": "method",
|
|
7048
|
-
"name": "handleBlur",
|
|
7049
|
-
"privacy": "private",
|
|
7050
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
|
7124
|
+
},
|
|
7125
|
+
"inheritedFrom": {
|
|
7126
|
+
"name": "CardComponentMixin",
|
|
7127
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7128
|
+
}
|
|
7051
7129
|
},
|
|
7052
7130
|
{
|
|
7053
7131
|
"kind": "method",
|
|
7054
|
-
"name": "
|
|
7055
|
-
"privacy": "
|
|
7056
|
-
"
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
"
|
|
7060
|
-
"text": "KeyboardEvent"
|
|
7061
|
-
},
|
|
7062
|
-
"description": "The keyboard event."
|
|
7132
|
+
"name": "renderIcon",
|
|
7133
|
+
"privacy": "protected",
|
|
7134
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
7135
|
+
"return": {
|
|
7136
|
+
"type": {
|
|
7137
|
+
"text": ""
|
|
7063
7138
|
}
|
|
7064
|
-
|
|
7065
|
-
"
|
|
7139
|
+
},
|
|
7140
|
+
"inheritedFrom": {
|
|
7141
|
+
"name": "CardComponentMixin",
|
|
7142
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7143
|
+
}
|
|
7066
7144
|
},
|
|
7067
7145
|
{
|
|
7068
7146
|
"kind": "method",
|
|
7069
|
-
"name": "
|
|
7070
|
-
"privacy": "
|
|
7071
|
-
"
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
"
|
|
7075
|
-
"text": "KeyboardEvent"
|
|
7076
|
-
},
|
|
7077
|
-
"description": "The keyboard event."
|
|
7147
|
+
"name": "renderTitle",
|
|
7148
|
+
"privacy": "protected",
|
|
7149
|
+
"description": "Renders the title and subtitle on the card",
|
|
7150
|
+
"return": {
|
|
7151
|
+
"type": {
|
|
7152
|
+
"text": ""
|
|
7078
7153
|
}
|
|
7079
|
-
|
|
7080
|
-
"
|
|
7154
|
+
},
|
|
7155
|
+
"inheritedFrom": {
|
|
7156
|
+
"name": "CardComponentMixin",
|
|
7157
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7158
|
+
}
|
|
7081
7159
|
},
|
|
7082
7160
|
{
|
|
7083
7161
|
"kind": "field",
|
|
@@ -7123,600 +7201,579 @@
|
|
|
7123
7201
|
"name": "DisabledMixin",
|
|
7124
7202
|
"module": "utils/mixins/DisabledMixin.js"
|
|
7125
7203
|
}
|
|
7126
|
-
}
|
|
7127
|
-
],
|
|
7128
|
-
"events": [
|
|
7129
|
-
{
|
|
7130
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
|
7131
|
-
"name": "click",
|
|
7132
|
-
"reactName": "onClick"
|
|
7133
7204
|
},
|
|
7134
7205
|
{
|
|
7135
|
-
"
|
|
7136
|
-
"name": "keydown",
|
|
7137
|
-
"reactName": "onKeyDown"
|
|
7138
|
-
},
|
|
7139
|
-
{
|
|
7140
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
|
7141
|
-
"name": "keyup",
|
|
7142
|
-
"reactName": "onKeyUp"
|
|
7143
|
-
},
|
|
7144
|
-
{
|
|
7145
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
7146
|
-
"name": "focus",
|
|
7147
|
-
"reactName": "onFocus"
|
|
7148
|
-
}
|
|
7149
|
-
],
|
|
7150
|
-
"attributes": [
|
|
7151
|
-
{
|
|
7206
|
+
"kind": "field",
|
|
7152
7207
|
"name": "active",
|
|
7153
7208
|
"type": {
|
|
7154
7209
|
"text": "boolean | undefined"
|
|
7155
7210
|
},
|
|
7156
7211
|
"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.",
|
|
7157
7212
|
"default": "undefined",
|
|
7158
|
-
"
|
|
7213
|
+
"attribute": "active",
|
|
7214
|
+
"reflects": true,
|
|
7215
|
+
"inheritedFrom": {
|
|
7216
|
+
"name": "Buttonsimple",
|
|
7217
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7218
|
+
}
|
|
7159
7219
|
},
|
|
7160
7220
|
{
|
|
7161
|
-
"
|
|
7221
|
+
"kind": "field",
|
|
7222
|
+
"name": "softDisabled",
|
|
7162
7223
|
"type": {
|
|
7163
7224
|
"text": "boolean | undefined"
|
|
7164
7225
|
},
|
|
7165
7226
|
"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.",
|
|
7166
7227
|
"default": "undefined",
|
|
7167
|
-
"
|
|
7228
|
+
"attribute": "soft-disabled",
|
|
7229
|
+
"reflects": true,
|
|
7230
|
+
"inheritedFrom": {
|
|
7231
|
+
"name": "Buttonsimple",
|
|
7232
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7233
|
+
}
|
|
7168
7234
|
},
|
|
7169
7235
|
{
|
|
7236
|
+
"kind": "field",
|
|
7170
7237
|
"name": "size",
|
|
7171
7238
|
"type": {
|
|
7172
7239
|
"text": "ButtonSize"
|
|
7173
7240
|
},
|
|
7174
7241
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
7175
7242
|
"default": "32",
|
|
7176
|
-
"
|
|
7243
|
+
"attribute": "size",
|
|
7244
|
+
"reflects": true,
|
|
7245
|
+
"inheritedFrom": {
|
|
7246
|
+
"name": "Buttonsimple",
|
|
7247
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7248
|
+
}
|
|
7177
7249
|
},
|
|
7178
7250
|
{
|
|
7251
|
+
"kind": "field",
|
|
7179
7252
|
"name": "role",
|
|
7180
7253
|
"type": {
|
|
7181
7254
|
"text": "RoleType"
|
|
7182
7255
|
},
|
|
7183
7256
|
"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.",
|
|
7184
7257
|
"default": "button",
|
|
7185
|
-
"
|
|
7258
|
+
"attribute": "role",
|
|
7259
|
+
"reflects": true,
|
|
7260
|
+
"inheritedFrom": {
|
|
7261
|
+
"name": "Buttonsimple",
|
|
7262
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7263
|
+
}
|
|
7186
7264
|
},
|
|
7187
7265
|
{
|
|
7266
|
+
"kind": "field",
|
|
7188
7267
|
"name": "ariaStateKey",
|
|
7189
7268
|
"type": {
|
|
7190
7269
|
"text": "string | undefined"
|
|
7191
7270
|
},
|
|
7192
7271
|
"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`",
|
|
7193
7272
|
"default": "'aria-pressed' (when)",
|
|
7194
|
-
"
|
|
7273
|
+
"attribute": "ariaStateKey",
|
|
7274
|
+
"reflects": true,
|
|
7275
|
+
"inheritedFrom": {
|
|
7276
|
+
"name": "Buttonsimple",
|
|
7277
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7278
|
+
}
|
|
7195
7279
|
},
|
|
7196
7280
|
{
|
|
7281
|
+
"kind": "field",
|
|
7197
7282
|
"name": "type",
|
|
7198
7283
|
"type": {
|
|
7199
7284
|
"text": "ButtonType"
|
|
7200
7285
|
},
|
|
7201
7286
|
"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.",
|
|
7202
7287
|
"default": "button",
|
|
7203
|
-
"
|
|
7288
|
+
"attribute": "type",
|
|
7289
|
+
"reflects": true,
|
|
7290
|
+
"inheritedFrom": {
|
|
7291
|
+
"name": "Buttonsimple",
|
|
7292
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7293
|
+
}
|
|
7204
7294
|
},
|
|
7205
7295
|
{
|
|
7296
|
+
"kind": "field",
|
|
7206
7297
|
"name": "name",
|
|
7207
7298
|
"type": {
|
|
7208
7299
|
"text": "string | undefined"
|
|
7209
7300
|
},
|
|
7210
7301
|
"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.",
|
|
7211
|
-
"
|
|
7302
|
+
"attribute": "name",
|
|
7303
|
+
"reflects": true,
|
|
7304
|
+
"inheritedFrom": {
|
|
7305
|
+
"name": "Buttonsimple",
|
|
7306
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7307
|
+
}
|
|
7212
7308
|
},
|
|
7213
7309
|
{
|
|
7310
|
+
"kind": "field",
|
|
7214
7311
|
"name": "value",
|
|
7215
7312
|
"type": {
|
|
7216
7313
|
"text": "string | undefined"
|
|
7217
7314
|
},
|
|
7218
7315
|
"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.",
|
|
7219
|
-
"
|
|
7220
|
-
|
|
7221
|
-
{
|
|
7222
|
-
"name": "auto-focus-on-mount",
|
|
7223
|
-
"type": {
|
|
7224
|
-
"text": "boolean"
|
|
7225
|
-
},
|
|
7226
|
-
"default": "false",
|
|
7227
|
-
"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.",
|
|
7228
|
-
"fieldName": "autoFocusOnMount",
|
|
7316
|
+
"attribute": "value",
|
|
7317
|
+
"reflects": true,
|
|
7229
7318
|
"inheritedFrom": {
|
|
7230
|
-
"name": "
|
|
7231
|
-
"module": "
|
|
7319
|
+
"name": "Buttonsimple",
|
|
7320
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7232
7321
|
}
|
|
7233
7322
|
},
|
|
7234
7323
|
{
|
|
7235
|
-
"
|
|
7236
|
-
"
|
|
7237
|
-
|
|
7238
|
-
},
|
|
7239
|
-
"default": "0",
|
|
7240
|
-
"description": "This property specifies the tab order of the element.",
|
|
7241
|
-
"fieldName": "tabIndex",
|
|
7324
|
+
"kind": "method",
|
|
7325
|
+
"name": "executeAction",
|
|
7326
|
+
"privacy": "protected",
|
|
7242
7327
|
"inheritedFrom": {
|
|
7243
|
-
"name": "
|
|
7244
|
-
"module": "
|
|
7328
|
+
"name": "Buttonsimple",
|
|
7329
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7245
7330
|
}
|
|
7246
7331
|
},
|
|
7247
7332
|
{
|
|
7248
|
-
"
|
|
7249
|
-
"
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7333
|
+
"kind": "method",
|
|
7334
|
+
"name": "setActive",
|
|
7335
|
+
"privacy": "protected",
|
|
7336
|
+
"parameters": [
|
|
7337
|
+
{
|
|
7338
|
+
"name": "element",
|
|
7339
|
+
"type": {
|
|
7340
|
+
"text": "HTMLElement"
|
|
7341
|
+
},
|
|
7342
|
+
"description": "The button element"
|
|
7343
|
+
},
|
|
7344
|
+
{
|
|
7345
|
+
"name": "active",
|
|
7346
|
+
"optional": true,
|
|
7347
|
+
"type": {
|
|
7348
|
+
"text": "boolean"
|
|
7349
|
+
},
|
|
7350
|
+
"description": "The active state of the element"
|
|
7351
|
+
}
|
|
7352
|
+
],
|
|
7353
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
7255
7354
|
"inheritedFrom": {
|
|
7256
|
-
"name": "
|
|
7257
|
-
"module": "
|
|
7355
|
+
"name": "Buttonsimple",
|
|
7356
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7258
7357
|
}
|
|
7259
|
-
}
|
|
7260
|
-
],
|
|
7261
|
-
"mixins": [
|
|
7262
|
-
{
|
|
7263
|
-
"name": "AutoFocusOnMountMixin",
|
|
7264
|
-
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
7265
|
-
},
|
|
7266
|
-
{
|
|
7267
|
-
"name": "TabIndexMixin",
|
|
7268
|
-
"module": "/src/utils/mixins/TabIndexMixin"
|
|
7269
|
-
},
|
|
7270
|
-
{
|
|
7271
|
-
"name": "DisabledMixin",
|
|
7272
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
|
7273
|
-
}
|
|
7274
|
-
],
|
|
7275
|
-
"superclass": {
|
|
7276
|
-
"name": "Component",
|
|
7277
|
-
"module": "/src/models"
|
|
7278
|
-
},
|
|
7279
|
-
"tagName": "mdc-buttonsimple",
|
|
7280
|
-
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n */",
|
|
7281
|
-
"customElement": true
|
|
7282
|
-
}
|
|
7283
|
-
],
|
|
7284
|
-
"exports": [
|
|
7285
|
-
{
|
|
7286
|
-
"kind": "js",
|
|
7287
|
-
"name": "default",
|
|
7288
|
-
"declaration": {
|
|
7289
|
-
"name": "Buttonsimple",
|
|
7290
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7291
|
-
}
|
|
7292
|
-
}
|
|
7293
|
-
]
|
|
7294
|
-
},
|
|
7295
|
-
{
|
|
7296
|
-
"kind": "javascript-module",
|
|
7297
|
-
"path": "components/card/card.component.js",
|
|
7298
|
-
"declarations": [
|
|
7299
|
-
{
|
|
7300
|
-
"kind": "class",
|
|
7301
|
-
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
7302
|
-
"name": "Card",
|
|
7303
|
-
"cssProperties": [
|
|
7304
|
-
{
|
|
7305
|
-
"description": "The width of the card",
|
|
7306
|
-
"name": "--mdc-card-width"
|
|
7307
|
-
}
|
|
7308
|
-
],
|
|
7309
|
-
"cssParts": [
|
|
7310
|
-
{
|
|
7311
|
-
"description": "The header part of the card",
|
|
7312
|
-
"name": "header"
|
|
7313
|
-
},
|
|
7314
|
-
{
|
|
7315
|
-
"description": "The icon part of the card header",
|
|
7316
|
-
"name": "icon"
|
|
7317
|
-
},
|
|
7318
|
-
{
|
|
7319
|
-
"description": "The body part of the card",
|
|
7320
|
-
"name": "body"
|
|
7321
|
-
},
|
|
7322
|
-
{
|
|
7323
|
-
"description": "The image part of the card",
|
|
7324
|
-
"name": "image"
|
|
7325
7358
|
},
|
|
7326
7359
|
{
|
|
7327
|
-
"
|
|
7328
|
-
"name": "
|
|
7360
|
+
"kind": "method",
|
|
7361
|
+
"name": "setSoftDisabled",
|
|
7362
|
+
"privacy": "private",
|
|
7363
|
+
"parameters": [
|
|
7364
|
+
{
|
|
7365
|
+
"name": "element",
|
|
7366
|
+
"type": {
|
|
7367
|
+
"text": "HTMLElement"
|
|
7368
|
+
},
|
|
7369
|
+
"description": "The button element."
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
"name": "softDisabled",
|
|
7373
|
+
"optional": true,
|
|
7374
|
+
"type": {
|
|
7375
|
+
"text": "boolean"
|
|
7376
|
+
},
|
|
7377
|
+
"description": "The soft-disabled state."
|
|
7378
|
+
}
|
|
7379
|
+
],
|
|
7380
|
+
"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.",
|
|
7381
|
+
"inheritedFrom": {
|
|
7382
|
+
"name": "Buttonsimple",
|
|
7383
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7384
|
+
}
|
|
7329
7385
|
},
|
|
7330
7386
|
{
|
|
7331
|
-
"
|
|
7332
|
-
"name": "
|
|
7387
|
+
"kind": "method",
|
|
7388
|
+
"name": "setDisabled",
|
|
7389
|
+
"privacy": "private",
|
|
7390
|
+
"parameters": [
|
|
7391
|
+
{
|
|
7392
|
+
"name": "element",
|
|
7393
|
+
"type": {
|
|
7394
|
+
"text": "HTMLElement"
|
|
7395
|
+
},
|
|
7396
|
+
"description": "The button element."
|
|
7397
|
+
},
|
|
7398
|
+
{
|
|
7399
|
+
"name": "disabled",
|
|
7400
|
+
"type": {
|
|
7401
|
+
"text": "boolean"
|
|
7402
|
+
},
|
|
7403
|
+
"description": "The disabled state."
|
|
7404
|
+
}
|
|
7405
|
+
],
|
|
7406
|
+
"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.",
|
|
7407
|
+
"inheritedFrom": {
|
|
7408
|
+
"name": "Buttonsimple",
|
|
7409
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7410
|
+
}
|
|
7333
7411
|
},
|
|
7334
7412
|
{
|
|
7335
|
-
"
|
|
7336
|
-
"name": "
|
|
7413
|
+
"kind": "method",
|
|
7414
|
+
"name": "triggerClickEvent",
|
|
7415
|
+
"privacy": "private",
|
|
7416
|
+
"inheritedFrom": {
|
|
7417
|
+
"name": "Buttonsimple",
|
|
7418
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7419
|
+
}
|
|
7337
7420
|
},
|
|
7338
7421
|
{
|
|
7339
|
-
"
|
|
7340
|
-
"name": "
|
|
7422
|
+
"kind": "method",
|
|
7423
|
+
"name": "handleBlur",
|
|
7424
|
+
"privacy": "private",
|
|
7425
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
7426
|
+
"inheritedFrom": {
|
|
7427
|
+
"name": "Buttonsimple",
|
|
7428
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7429
|
+
}
|
|
7341
7430
|
},
|
|
7342
7431
|
{
|
|
7343
|
-
"
|
|
7344
|
-
"name": "
|
|
7432
|
+
"kind": "method",
|
|
7433
|
+
"name": "handleKeyDown",
|
|
7434
|
+
"privacy": "private",
|
|
7435
|
+
"parameters": [
|
|
7436
|
+
{
|
|
7437
|
+
"name": "event",
|
|
7438
|
+
"type": {
|
|
7439
|
+
"text": "KeyboardEvent"
|
|
7440
|
+
},
|
|
7441
|
+
"description": "The keyboard event."
|
|
7442
|
+
}
|
|
7443
|
+
],
|
|
7444
|
+
"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.",
|
|
7445
|
+
"inheritedFrom": {
|
|
7446
|
+
"name": "Buttonsimple",
|
|
7447
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7448
|
+
}
|
|
7345
7449
|
},
|
|
7346
7450
|
{
|
|
7347
|
-
"
|
|
7348
|
-
"name": "
|
|
7451
|
+
"kind": "method",
|
|
7452
|
+
"name": "handleKeyUp",
|
|
7453
|
+
"privacy": "private",
|
|
7454
|
+
"parameters": [
|
|
7455
|
+
{
|
|
7456
|
+
"name": "event",
|
|
7457
|
+
"type": {
|
|
7458
|
+
"text": "KeyboardEvent"
|
|
7459
|
+
},
|
|
7460
|
+
"description": "The keyboard event."
|
|
7461
|
+
}
|
|
7462
|
+
],
|
|
7463
|
+
"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.",
|
|
7464
|
+
"inheritedFrom": {
|
|
7465
|
+
"name": "Buttonsimple",
|
|
7466
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7467
|
+
}
|
|
7349
7468
|
}
|
|
7350
7469
|
],
|
|
7351
|
-
"
|
|
7352
|
-
{
|
|
7353
|
-
"description": "This slot is for passing the content before the body",
|
|
7354
|
-
"name": "before-body"
|
|
7355
|
-
},
|
|
7356
|
-
{
|
|
7357
|
-
"description": "This slot is for passing the text content for the card",
|
|
7358
|
-
"name": "body"
|
|
7359
|
-
},
|
|
7360
|
-
{
|
|
7361
|
-
"description": "This slot is for passing the content after the body",
|
|
7362
|
-
"name": "after-body"
|
|
7363
|
-
},
|
|
7470
|
+
"events": [
|
|
7364
7471
|
{
|
|
7365
|
-
"description": "
|
|
7366
|
-
"name": "
|
|
7472
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
7473
|
+
"name": "click",
|
|
7474
|
+
"reactName": "onClick",
|
|
7475
|
+
"inheritedFrom": {
|
|
7476
|
+
"name": "Buttonsimple",
|
|
7477
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7478
|
+
}
|
|
7367
7479
|
},
|
|
7368
7480
|
{
|
|
7369
|
-
"description": "This
|
|
7370
|
-
"name": "
|
|
7481
|
+
"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.",
|
|
7482
|
+
"name": "keydown",
|
|
7483
|
+
"reactName": "onKeyDown",
|
|
7484
|
+
"inheritedFrom": {
|
|
7485
|
+
"name": "Buttonsimple",
|
|
7486
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7487
|
+
}
|
|
7371
7488
|
},
|
|
7372
7489
|
{
|
|
7373
|
-
"description": "This
|
|
7374
|
-
"name": "
|
|
7490
|
+
"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.",
|
|
7491
|
+
"name": "keyup",
|
|
7492
|
+
"reactName": "onKeyUp",
|
|
7493
|
+
"inheritedFrom": {
|
|
7494
|
+
"name": "Buttonsimple",
|
|
7495
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7496
|
+
}
|
|
7375
7497
|
},
|
|
7376
7498
|
{
|
|
7377
|
-
"description": "
|
|
7378
|
-
"name": "
|
|
7499
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
7500
|
+
"name": "focus",
|
|
7501
|
+
"reactName": "onFocus",
|
|
7502
|
+
"inheritedFrom": {
|
|
7503
|
+
"name": "Buttonsimple",
|
|
7504
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7505
|
+
}
|
|
7379
7506
|
}
|
|
7380
7507
|
],
|
|
7381
|
-
"
|
|
7508
|
+
"mixins": [
|
|
7382
7509
|
{
|
|
7383
|
-
"
|
|
7384
|
-
"
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7510
|
+
"name": "CardComponentMixin",
|
|
7511
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7512
|
+
}
|
|
7513
|
+
],
|
|
7514
|
+
"superclass": {
|
|
7515
|
+
"name": "Buttonsimple",
|
|
7516
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
7517
|
+
},
|
|
7518
|
+
"tagName": "mdc-cardbutton",
|
|
7519
|
+
"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 */",
|
|
7520
|
+
"customElement": true,
|
|
7521
|
+
"attributes": [
|
|
7393
7522
|
{
|
|
7394
|
-
"
|
|
7395
|
-
"name": "cardTitle",
|
|
7523
|
+
"name": "card-title",
|
|
7396
7524
|
"type": {
|
|
7397
7525
|
"text": "string"
|
|
7398
7526
|
},
|
|
7399
7527
|
"default": "''",
|
|
7400
7528
|
"description": "The title of the card - part of header section",
|
|
7401
|
-
"
|
|
7402
|
-
"reflects": true,
|
|
7529
|
+
"fieldName": "cardTitle",
|
|
7403
7530
|
"inheritedFrom": {
|
|
7404
7531
|
"name": "CardComponentMixin",
|
|
7405
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7532
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7406
7533
|
}
|
|
7407
7534
|
},
|
|
7408
7535
|
{
|
|
7409
|
-
"kind": "field",
|
|
7410
7536
|
"name": "subtitle",
|
|
7411
7537
|
"type": {
|
|
7412
7538
|
"text": "string"
|
|
7413
7539
|
},
|
|
7414
7540
|
"default": "''",
|
|
7415
7541
|
"description": "The subtitle of the card - part of header section",
|
|
7416
|
-
"
|
|
7417
|
-
"reflects": true,
|
|
7542
|
+
"fieldName": "subtitle",
|
|
7418
7543
|
"inheritedFrom": {
|
|
7419
7544
|
"name": "CardComponentMixin",
|
|
7420
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7545
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7421
7546
|
}
|
|
7422
7547
|
},
|
|
7423
7548
|
{
|
|
7424
|
-
"
|
|
7425
|
-
"name": "imageSrc",
|
|
7549
|
+
"name": "image-src",
|
|
7426
7550
|
"type": {
|
|
7427
7551
|
"text": "string"
|
|
7428
7552
|
},
|
|
7429
7553
|
"default": "''",
|
|
7430
7554
|
"description": "The image source URL to render on the card",
|
|
7431
|
-
"
|
|
7432
|
-
"reflects": true,
|
|
7555
|
+
"fieldName": "imageSrc",
|
|
7433
7556
|
"inheritedFrom": {
|
|
7434
7557
|
"name": "CardComponentMixin",
|
|
7435
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7558
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7436
7559
|
}
|
|
7437
7560
|
},
|
|
7438
7561
|
{
|
|
7439
|
-
"
|
|
7440
|
-
"name": "imageAlt",
|
|
7562
|
+
"name": "image-alt",
|
|
7441
7563
|
"type": {
|
|
7442
7564
|
"text": "string"
|
|
7443
7565
|
},
|
|
7444
7566
|
"default": "''",
|
|
7445
7567
|
"description": "The image alt for accessibility support",
|
|
7446
|
-
"
|
|
7447
|
-
"reflects": true,
|
|
7568
|
+
"fieldName": "imageAlt",
|
|
7448
7569
|
"inheritedFrom": {
|
|
7449
7570
|
"name": "CardComponentMixin",
|
|
7450
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7571
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7451
7572
|
}
|
|
7452
7573
|
},
|
|
7453
7574
|
{
|
|
7454
|
-
"kind": "field",
|
|
7455
7575
|
"name": "variant",
|
|
7456
7576
|
"type": {
|
|
7457
7577
|
"text": "CardVariant"
|
|
7458
7578
|
},
|
|
7459
7579
|
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7460
7580
|
"default": "'border'",
|
|
7461
|
-
"
|
|
7462
|
-
"reflects": true,
|
|
7581
|
+
"fieldName": "variant",
|
|
7463
7582
|
"inheritedFrom": {
|
|
7464
7583
|
"name": "CardComponentMixin",
|
|
7465
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7584
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7466
7585
|
}
|
|
7467
7586
|
},
|
|
7468
7587
|
{
|
|
7469
|
-
"kind": "field",
|
|
7470
7588
|
"name": "orientation",
|
|
7471
7589
|
"type": {
|
|
7472
7590
|
"text": "CardOrientation"
|
|
7473
7591
|
},
|
|
7474
7592
|
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7475
7593
|
"default": "'vertical'",
|
|
7476
|
-
"
|
|
7477
|
-
"reflects": true,
|
|
7594
|
+
"fieldName": "orientation",
|
|
7478
7595
|
"inheritedFrom": {
|
|
7479
7596
|
"name": "CardComponentMixin",
|
|
7480
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7597
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7481
7598
|
}
|
|
7482
7599
|
},
|
|
7483
7600
|
{
|
|
7484
|
-
"
|
|
7485
|
-
"name": "titleTagName",
|
|
7601
|
+
"name": "title-tag-name",
|
|
7486
7602
|
"type": {
|
|
7487
7603
|
"text": "TagNameType"
|
|
7488
7604
|
},
|
|
7489
7605
|
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7490
7606
|
"default": "'span'",
|
|
7491
|
-
"
|
|
7492
|
-
"reflects": true,
|
|
7607
|
+
"fieldName": "titleTagName",
|
|
7493
7608
|
"inheritedFrom": {
|
|
7494
7609
|
"name": "CardComponentMixin",
|
|
7495
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7610
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7496
7611
|
}
|
|
7497
7612
|
},
|
|
7498
7613
|
{
|
|
7499
|
-
"
|
|
7500
|
-
"name": "subtitleTagName",
|
|
7614
|
+
"name": "subtitle-tag-name",
|
|
7501
7615
|
"type": {
|
|
7502
7616
|
"text": "TagNameType"
|
|
7503
7617
|
},
|
|
7504
7618
|
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7505
7619
|
"default": "'span'",
|
|
7506
|
-
"
|
|
7507
|
-
"reflects": true,
|
|
7620
|
+
"fieldName": "subtitleTagName",
|
|
7508
7621
|
"inheritedFrom": {
|
|
7509
7622
|
"name": "CardComponentMixin",
|
|
7510
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7623
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7511
7624
|
}
|
|
7512
7625
|
},
|
|
7513
7626
|
{
|
|
7514
|
-
"
|
|
7515
|
-
"name": "iconName",
|
|
7627
|
+
"name": "icon-name",
|
|
7516
7628
|
"type": {
|
|
7517
7629
|
"text": "IconNames | undefined"
|
|
7518
7630
|
},
|
|
7519
7631
|
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7520
|
-
"
|
|
7521
|
-
"reflects": true,
|
|
7522
|
-
"inheritedFrom": {
|
|
7523
|
-
"name": "CardComponentMixin",
|
|
7524
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7525
|
-
}
|
|
7526
|
-
},
|
|
7527
|
-
{
|
|
7528
|
-
"kind": "method",
|
|
7529
|
-
"name": "renderImage",
|
|
7530
|
-
"privacy": "protected",
|
|
7531
|
-
"description": "Renders the image on the card if image source is provided",
|
|
7532
|
-
"return": {
|
|
7533
|
-
"type": {
|
|
7534
|
-
"text": ""
|
|
7535
|
-
}
|
|
7536
|
-
},
|
|
7632
|
+
"fieldName": "iconName",
|
|
7537
7633
|
"inheritedFrom": {
|
|
7538
7634
|
"name": "CardComponentMixin",
|
|
7539
|
-
"module": "utils/mixins/CardComponentMixin.
|
|
7635
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7540
7636
|
}
|
|
7541
7637
|
},
|
|
7542
7638
|
{
|
|
7543
|
-
"
|
|
7544
|
-
"
|
|
7545
|
-
|
|
7546
|
-
"description": "Renders the icon on the card if icon name is provided",
|
|
7547
|
-
"return": {
|
|
7548
|
-
"type": {
|
|
7549
|
-
"text": ""
|
|
7550
|
-
}
|
|
7639
|
+
"name": "auto-focus-on-mount",
|
|
7640
|
+
"type": {
|
|
7641
|
+
"text": "boolean"
|
|
7551
7642
|
},
|
|
7643
|
+
"default": "false",
|
|
7644
|
+
"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.",
|
|
7645
|
+
"fieldName": "autoFocusOnMount",
|
|
7552
7646
|
"inheritedFrom": {
|
|
7553
|
-
"name": "
|
|
7554
|
-
"module": "utils/mixins/
|
|
7647
|
+
"name": "AutoFocusOnMountMixin",
|
|
7648
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
|
7555
7649
|
}
|
|
7556
7650
|
},
|
|
7557
7651
|
{
|
|
7558
|
-
"
|
|
7559
|
-
"
|
|
7560
|
-
|
|
7561
|
-
"description": "Renders the title and subtitle on the card",
|
|
7562
|
-
"return": {
|
|
7563
|
-
"type": {
|
|
7564
|
-
"text": ""
|
|
7565
|
-
}
|
|
7652
|
+
"name": "tabIndex",
|
|
7653
|
+
"type": {
|
|
7654
|
+
"text": "number"
|
|
7566
7655
|
},
|
|
7656
|
+
"default": "0",
|
|
7657
|
+
"description": "This property specifies the tab order of the element.",
|
|
7658
|
+
"fieldName": "tabIndex",
|
|
7567
7659
|
"inheritedFrom": {
|
|
7568
|
-
"name": "
|
|
7569
|
-
"module": "utils/mixins/
|
|
7660
|
+
"name": "TabIndexMixin",
|
|
7661
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
7570
7662
|
}
|
|
7571
7663
|
},
|
|
7572
7664
|
{
|
|
7573
|
-
"
|
|
7574
|
-
"name": "renderFooter",
|
|
7575
|
-
"privacy": "protected",
|
|
7576
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
7577
|
-
"return": {
|
|
7578
|
-
"type": {
|
|
7579
|
-
"text": ""
|
|
7580
|
-
}
|
|
7581
|
-
},
|
|
7582
|
-
"inheritedFrom": {
|
|
7583
|
-
"name": "FooterMixin",
|
|
7584
|
-
"module": "utils/mixins/FooterMixin.js"
|
|
7585
|
-
}
|
|
7586
|
-
}
|
|
7587
|
-
],
|
|
7588
|
-
"mixins": [
|
|
7589
|
-
{
|
|
7590
|
-
"name": "CardComponentMixin",
|
|
7591
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7592
|
-
},
|
|
7593
|
-
{
|
|
7594
|
-
"name": "FooterMixin",
|
|
7595
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
7596
|
-
}
|
|
7597
|
-
],
|
|
7598
|
-
"superclass": {
|
|
7599
|
-
"name": "Component",
|
|
7600
|
-
"module": "/src/models"
|
|
7601
|
-
},
|
|
7602
|
-
"tagName": "mdc-card",
|
|
7603
|
-
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
|
7604
|
-
"customElement": true,
|
|
7605
|
-
"attributes": [
|
|
7606
|
-
{
|
|
7607
|
-
"name": "card-title",
|
|
7665
|
+
"name": "disabled",
|
|
7608
7666
|
"type": {
|
|
7609
|
-
"text": "
|
|
7667
|
+
"text": "boolean | undefined"
|
|
7610
7668
|
},
|
|
7611
|
-
"
|
|
7612
|
-
"
|
|
7613
|
-
"fieldName": "
|
|
7669
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
7670
|
+
"default": "undefined",
|
|
7671
|
+
"fieldName": "disabled",
|
|
7614
7672
|
"inheritedFrom": {
|
|
7615
|
-
"name": "
|
|
7616
|
-
"module": "src/utils/mixins/
|
|
7673
|
+
"name": "DisabledMixin",
|
|
7674
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
7617
7675
|
}
|
|
7618
7676
|
},
|
|
7619
7677
|
{
|
|
7620
|
-
"name": "
|
|
7678
|
+
"name": "active",
|
|
7621
7679
|
"type": {
|
|
7622
|
-
"text": "
|
|
7680
|
+
"text": "boolean | undefined"
|
|
7623
7681
|
},
|
|
7624
|
-
"
|
|
7625
|
-
"
|
|
7626
|
-
"fieldName": "
|
|
7682
|
+
"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.",
|
|
7683
|
+
"default": "undefined",
|
|
7684
|
+
"fieldName": "active",
|
|
7627
7685
|
"inheritedFrom": {
|
|
7628
|
-
"name": "
|
|
7629
|
-
"module": "src/
|
|
7686
|
+
"name": "Buttonsimple",
|
|
7687
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7630
7688
|
}
|
|
7631
7689
|
},
|
|
7632
7690
|
{
|
|
7633
|
-
"name": "
|
|
7691
|
+
"name": "soft-disabled",
|
|
7634
7692
|
"type": {
|
|
7635
|
-
"text": "
|
|
7693
|
+
"text": "boolean | undefined"
|
|
7636
7694
|
},
|
|
7637
|
-
"
|
|
7638
|
-
"
|
|
7639
|
-
"fieldName": "
|
|
7695
|
+
"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.",
|
|
7696
|
+
"default": "undefined",
|
|
7697
|
+
"fieldName": "softDisabled",
|
|
7640
7698
|
"inheritedFrom": {
|
|
7641
|
-
"name": "
|
|
7642
|
-
"module": "src/
|
|
7699
|
+
"name": "Buttonsimple",
|
|
7700
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7643
7701
|
}
|
|
7644
7702
|
},
|
|
7645
7703
|
{
|
|
7646
|
-
"name": "
|
|
7704
|
+
"name": "size",
|
|
7647
7705
|
"type": {
|
|
7648
|
-
"text": "
|
|
7706
|
+
"text": "ButtonSize"
|
|
7649
7707
|
},
|
|
7650
|
-
"
|
|
7651
|
-
"
|
|
7652
|
-
"fieldName": "
|
|
7708
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
7709
|
+
"default": "32",
|
|
7710
|
+
"fieldName": "size",
|
|
7653
7711
|
"inheritedFrom": {
|
|
7654
|
-
"name": "
|
|
7655
|
-
"module": "src/
|
|
7712
|
+
"name": "Buttonsimple",
|
|
7713
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7656
7714
|
}
|
|
7657
7715
|
},
|
|
7658
7716
|
{
|
|
7659
|
-
"name": "
|
|
7717
|
+
"name": "role",
|
|
7660
7718
|
"type": {
|
|
7661
|
-
"text": "
|
|
7719
|
+
"text": "RoleType"
|
|
7662
7720
|
},
|
|
7663
|
-
"description": "
|
|
7664
|
-
"default": "
|
|
7665
|
-
"fieldName": "
|
|
7721
|
+
"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.",
|
|
7722
|
+
"default": "button",
|
|
7723
|
+
"fieldName": "role",
|
|
7666
7724
|
"inheritedFrom": {
|
|
7667
|
-
"name": "
|
|
7668
|
-
"module": "src/
|
|
7725
|
+
"name": "Buttonsimple",
|
|
7726
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7669
7727
|
}
|
|
7670
7728
|
},
|
|
7671
7729
|
{
|
|
7672
|
-
"name": "
|
|
7730
|
+
"name": "ariaStateKey",
|
|
7673
7731
|
"type": {
|
|
7674
|
-
"text": "
|
|
7732
|
+
"text": "string | undefined"
|
|
7675
7733
|
},
|
|
7676
|
-
"description": "
|
|
7677
|
-
"default": "'
|
|
7678
|
-
"fieldName": "
|
|
7734
|
+
"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`",
|
|
7735
|
+
"default": "'aria-pressed' (when)",
|
|
7736
|
+
"fieldName": "ariaStateKey",
|
|
7679
7737
|
"inheritedFrom": {
|
|
7680
|
-
"name": "
|
|
7681
|
-
"module": "src/
|
|
7738
|
+
"name": "Buttonsimple",
|
|
7739
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7682
7740
|
}
|
|
7683
7741
|
},
|
|
7684
7742
|
{
|
|
7685
|
-
"name": "
|
|
7743
|
+
"name": "type",
|
|
7686
7744
|
"type": {
|
|
7687
|
-
"text": "
|
|
7745
|
+
"text": "ButtonType"
|
|
7688
7746
|
},
|
|
7689
|
-
"description": "
|
|
7690
|
-
"default": "
|
|
7691
|
-
"fieldName": "
|
|
7747
|
+
"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.",
|
|
7748
|
+
"default": "button",
|
|
7749
|
+
"fieldName": "type",
|
|
7692
7750
|
"inheritedFrom": {
|
|
7693
|
-
"name": "
|
|
7694
|
-
"module": "src/
|
|
7751
|
+
"name": "Buttonsimple",
|
|
7752
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7695
7753
|
}
|
|
7696
7754
|
},
|
|
7697
7755
|
{
|
|
7698
|
-
"name": "
|
|
7756
|
+
"name": "name",
|
|
7699
7757
|
"type": {
|
|
7700
|
-
"text": "
|
|
7758
|
+
"text": "string | undefined"
|
|
7701
7759
|
},
|
|
7702
|
-
"description": "The
|
|
7703
|
-
"
|
|
7704
|
-
"fieldName": "subtitleTagName",
|
|
7760
|
+
"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.",
|
|
7761
|
+
"fieldName": "name",
|
|
7705
7762
|
"inheritedFrom": {
|
|
7706
|
-
"name": "
|
|
7707
|
-
"module": "src/
|
|
7763
|
+
"name": "Buttonsimple",
|
|
7764
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7708
7765
|
}
|
|
7709
7766
|
},
|
|
7710
7767
|
{
|
|
7711
|
-
"name": "
|
|
7768
|
+
"name": "value",
|
|
7712
7769
|
"type": {
|
|
7713
|
-
"text": "
|
|
7770
|
+
"text": "string | undefined"
|
|
7714
7771
|
},
|
|
7715
|
-
"description": "
|
|
7716
|
-
"fieldName": "
|
|
7772
|
+
"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.",
|
|
7773
|
+
"fieldName": "value",
|
|
7717
7774
|
"inheritedFrom": {
|
|
7718
|
-
"name": "
|
|
7719
|
-
"module": "src/
|
|
7775
|
+
"name": "Buttonsimple",
|
|
7776
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7720
7777
|
}
|
|
7721
7778
|
}
|
|
7722
7779
|
]
|
|
@@ -7727,56 +7784,24 @@
|
|
|
7727
7784
|
"kind": "js",
|
|
7728
7785
|
"name": "default",
|
|
7729
7786
|
"declaration": {
|
|
7730
|
-
"name": "
|
|
7731
|
-
"module": "components/
|
|
7787
|
+
"name": "CardButton",
|
|
7788
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
|
7732
7789
|
}
|
|
7733
7790
|
}
|
|
7734
7791
|
]
|
|
7735
7792
|
},
|
|
7736
7793
|
{
|
|
7737
7794
|
"kind": "javascript-module",
|
|
7738
|
-
"path": "components/
|
|
7795
|
+
"path": "components/card/card.component.js",
|
|
7739
7796
|
"declarations": [
|
|
7740
7797
|
{
|
|
7741
7798
|
"kind": "class",
|
|
7742
|
-
"description": "
|
|
7743
|
-
"name": "
|
|
7799
|
+
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
7800
|
+
"name": "Card",
|
|
7744
7801
|
"cssProperties": [
|
|
7745
7802
|
{
|
|
7746
7803
|
"description": "The width of the card",
|
|
7747
7804
|
"name": "--mdc-card-width"
|
|
7748
|
-
},
|
|
7749
|
-
{
|
|
7750
|
-
"description": "Height for button size",
|
|
7751
|
-
"name": "--mdc-button-height",
|
|
7752
|
-
"inheritedFrom": {
|
|
7753
|
-
"name": "Buttonsimple",
|
|
7754
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7755
|
-
}
|
|
7756
|
-
},
|
|
7757
|
-
{
|
|
7758
|
-
"description": "Background color of the button",
|
|
7759
|
-
"name": "--mdc-button-background",
|
|
7760
|
-
"inheritedFrom": {
|
|
7761
|
-
"name": "Buttonsimple",
|
|
7762
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7763
|
-
}
|
|
7764
|
-
},
|
|
7765
|
-
{
|
|
7766
|
-
"description": "Borer color of the button",
|
|
7767
|
-
"name": "--mdc-button-border-color",
|
|
7768
|
-
"inheritedFrom": {
|
|
7769
|
-
"name": "Buttonsimple",
|
|
7770
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7771
|
-
}
|
|
7772
|
-
},
|
|
7773
|
-
{
|
|
7774
|
-
"description": "Text color of the button",
|
|
7775
|
-
"name": "--mdc-button-text-color",
|
|
7776
|
-
"inheritedFrom": {
|
|
7777
|
-
"name": "Buttonsimple",
|
|
7778
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7779
|
-
}
|
|
7780
7805
|
}
|
|
7781
7806
|
],
|
|
7782
7807
|
"cssParts": [
|
|
@@ -7841,6 +7866,14 @@
|
|
|
7841
7866
|
{
|
|
7842
7867
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7843
7868
|
"name": "footer-button-primary"
|
|
7869
|
+
},
|
|
7870
|
+
{
|
|
7871
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7872
|
+
"name": "footer-button-secondary"
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
"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.",
|
|
7876
|
+
"name": "footer"
|
|
7844
7877
|
}
|
|
7845
7878
|
],
|
|
7846
7879
|
"members": [
|
|
@@ -8031,54 +8064,200 @@
|
|
|
8031
8064
|
},
|
|
8032
8065
|
"inheritedFrom": {
|
|
8033
8066
|
"name": "CardComponentMixin",
|
|
8034
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
8067
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8068
|
+
}
|
|
8069
|
+
},
|
|
8070
|
+
{
|
|
8071
|
+
"kind": "method",
|
|
8072
|
+
"name": "renderFooter",
|
|
8073
|
+
"privacy": "protected",
|
|
8074
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
8075
|
+
"return": {
|
|
8076
|
+
"type": {
|
|
8077
|
+
"text": ""
|
|
8078
|
+
}
|
|
8079
|
+
},
|
|
8080
|
+
"inheritedFrom": {
|
|
8081
|
+
"name": "FooterMixin",
|
|
8082
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
8083
|
+
}
|
|
8084
|
+
}
|
|
8085
|
+
],
|
|
8086
|
+
"mixins": [
|
|
8087
|
+
{
|
|
8088
|
+
"name": "CardComponentMixin",
|
|
8089
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8090
|
+
},
|
|
8091
|
+
{
|
|
8092
|
+
"name": "FooterMixin",
|
|
8093
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
8094
|
+
}
|
|
8095
|
+
],
|
|
8096
|
+
"superclass": {
|
|
8097
|
+
"name": "Component",
|
|
8098
|
+
"module": "/src/models"
|
|
8099
|
+
},
|
|
8100
|
+
"tagName": "mdc-card",
|
|
8101
|
+
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
|
8102
|
+
"customElement": true,
|
|
8103
|
+
"attributes": [
|
|
8104
|
+
{
|
|
8105
|
+
"name": "card-title",
|
|
8106
|
+
"type": {
|
|
8107
|
+
"text": "string"
|
|
8108
|
+
},
|
|
8109
|
+
"default": "''",
|
|
8110
|
+
"description": "The title of the card - part of header section",
|
|
8111
|
+
"fieldName": "cardTitle",
|
|
8112
|
+
"inheritedFrom": {
|
|
8113
|
+
"name": "CardComponentMixin",
|
|
8114
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8115
|
+
}
|
|
8116
|
+
},
|
|
8117
|
+
{
|
|
8118
|
+
"name": "subtitle",
|
|
8119
|
+
"type": {
|
|
8120
|
+
"text": "string"
|
|
8121
|
+
},
|
|
8122
|
+
"default": "''",
|
|
8123
|
+
"description": "The subtitle of the card - part of header section",
|
|
8124
|
+
"fieldName": "subtitle",
|
|
8125
|
+
"inheritedFrom": {
|
|
8126
|
+
"name": "CardComponentMixin",
|
|
8127
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8128
|
+
}
|
|
8129
|
+
},
|
|
8130
|
+
{
|
|
8131
|
+
"name": "image-src",
|
|
8132
|
+
"type": {
|
|
8133
|
+
"text": "string"
|
|
8134
|
+
},
|
|
8135
|
+
"default": "''",
|
|
8136
|
+
"description": "The image source URL to render on the card",
|
|
8137
|
+
"fieldName": "imageSrc",
|
|
8138
|
+
"inheritedFrom": {
|
|
8139
|
+
"name": "CardComponentMixin",
|
|
8140
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8141
|
+
}
|
|
8142
|
+
},
|
|
8143
|
+
{
|
|
8144
|
+
"name": "image-alt",
|
|
8145
|
+
"type": {
|
|
8146
|
+
"text": "string"
|
|
8147
|
+
},
|
|
8148
|
+
"default": "''",
|
|
8149
|
+
"description": "The image alt for accessibility support",
|
|
8150
|
+
"fieldName": "imageAlt",
|
|
8151
|
+
"inheritedFrom": {
|
|
8152
|
+
"name": "CardComponentMixin",
|
|
8153
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8154
|
+
}
|
|
8155
|
+
},
|
|
8156
|
+
{
|
|
8157
|
+
"name": "variant",
|
|
8158
|
+
"type": {
|
|
8159
|
+
"text": "CardVariant"
|
|
8160
|
+
},
|
|
8161
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8162
|
+
"default": "'border'",
|
|
8163
|
+
"fieldName": "variant",
|
|
8164
|
+
"inheritedFrom": {
|
|
8165
|
+
"name": "CardComponentMixin",
|
|
8166
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8167
|
+
}
|
|
8168
|
+
},
|
|
8169
|
+
{
|
|
8170
|
+
"name": "orientation",
|
|
8171
|
+
"type": {
|
|
8172
|
+
"text": "CardOrientation"
|
|
8173
|
+
},
|
|
8174
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8175
|
+
"default": "'vertical'",
|
|
8176
|
+
"fieldName": "orientation",
|
|
8177
|
+
"inheritedFrom": {
|
|
8178
|
+
"name": "CardComponentMixin",
|
|
8179
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8180
|
+
}
|
|
8181
|
+
},
|
|
8182
|
+
{
|
|
8183
|
+
"name": "title-tag-name",
|
|
8184
|
+
"type": {
|
|
8185
|
+
"text": "TagNameType"
|
|
8186
|
+
},
|
|
8187
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8188
|
+
"default": "'span'",
|
|
8189
|
+
"fieldName": "titleTagName",
|
|
8190
|
+
"inheritedFrom": {
|
|
8191
|
+
"name": "CardComponentMixin",
|
|
8192
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8035
8193
|
}
|
|
8036
8194
|
},
|
|
8037
8195
|
{
|
|
8038
|
-
"
|
|
8039
|
-
"name": "autoFocusOnMount",
|
|
8196
|
+
"name": "subtitle-tag-name",
|
|
8040
8197
|
"type": {
|
|
8041
|
-
"text": "
|
|
8198
|
+
"text": "TagNameType"
|
|
8042
8199
|
},
|
|
8043
|
-
"
|
|
8044
|
-
"
|
|
8045
|
-
"
|
|
8046
|
-
"reflects": true,
|
|
8200
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8201
|
+
"default": "'span'",
|
|
8202
|
+
"fieldName": "subtitleTagName",
|
|
8047
8203
|
"inheritedFrom": {
|
|
8048
|
-
"name": "
|
|
8049
|
-
"module": "
|
|
8204
|
+
"name": "CardComponentMixin",
|
|
8205
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8050
8206
|
}
|
|
8051
8207
|
},
|
|
8052
8208
|
{
|
|
8053
|
-
"
|
|
8054
|
-
"name": "tabIndex",
|
|
8209
|
+
"name": "icon-name",
|
|
8055
8210
|
"type": {
|
|
8056
|
-
"text": "
|
|
8211
|
+
"text": "IconNames | undefined"
|
|
8057
8212
|
},
|
|
8058
|
-
"
|
|
8059
|
-
"
|
|
8060
|
-
"attribute": "tabIndex",
|
|
8061
|
-
"reflects": true,
|
|
8213
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8214
|
+
"fieldName": "iconName",
|
|
8062
8215
|
"inheritedFrom": {
|
|
8063
|
-
"name": "
|
|
8064
|
-
"module": "
|
|
8216
|
+
"name": "CardComponentMixin",
|
|
8217
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8065
8218
|
}
|
|
8219
|
+
}
|
|
8220
|
+
]
|
|
8221
|
+
}
|
|
8222
|
+
],
|
|
8223
|
+
"exports": [
|
|
8224
|
+
{
|
|
8225
|
+
"kind": "js",
|
|
8226
|
+
"name": "default",
|
|
8227
|
+
"declaration": {
|
|
8228
|
+
"name": "Card",
|
|
8229
|
+
"module": "components/card/card.component.js"
|
|
8230
|
+
}
|
|
8231
|
+
}
|
|
8232
|
+
]
|
|
8233
|
+
},
|
|
8234
|
+
{
|
|
8235
|
+
"kind": "javascript-module",
|
|
8236
|
+
"path": "components/buttonsimple/buttonsimple.component.js",
|
|
8237
|
+
"declarations": [
|
|
8238
|
+
{
|
|
8239
|
+
"kind": "class",
|
|
8240
|
+
"description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
|
|
8241
|
+
"name": "Buttonsimple",
|
|
8242
|
+
"cssProperties": [
|
|
8243
|
+
{
|
|
8244
|
+
"description": "Height for button size",
|
|
8245
|
+
"name": "--mdc-button-height"
|
|
8066
8246
|
},
|
|
8067
8247
|
{
|
|
8068
|
-
"
|
|
8069
|
-
"name": "
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
"
|
|
8074
|
-
"default": "undefined",
|
|
8075
|
-
"attribute": "disabled",
|
|
8076
|
-
"reflects": true,
|
|
8077
|
-
"inheritedFrom": {
|
|
8078
|
-
"name": "Buttonsimple",
|
|
8079
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8080
|
-
}
|
|
8248
|
+
"description": "Background color of the button",
|
|
8249
|
+
"name": "--mdc-button-background"
|
|
8250
|
+
},
|
|
8251
|
+
{
|
|
8252
|
+
"description": "Borer color of the button",
|
|
8253
|
+
"name": "--mdc-button-border-color"
|
|
8081
8254
|
},
|
|
8255
|
+
{
|
|
8256
|
+
"description": "Text color of the button",
|
|
8257
|
+
"name": "--mdc-button-text-color"
|
|
8258
|
+
}
|
|
8259
|
+
],
|
|
8260
|
+
"members": [
|
|
8082
8261
|
{
|
|
8083
8262
|
"kind": "field",
|
|
8084
8263
|
"name": "active",
|
|
@@ -8088,11 +8267,7 @@
|
|
|
8088
8267
|
"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.",
|
|
8089
8268
|
"default": "undefined",
|
|
8090
8269
|
"attribute": "active",
|
|
8091
|
-
"reflects": true
|
|
8092
|
-
"inheritedFrom": {
|
|
8093
|
-
"name": "Buttonsimple",
|
|
8094
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8095
|
-
}
|
|
8270
|
+
"reflects": true
|
|
8096
8271
|
},
|
|
8097
8272
|
{
|
|
8098
8273
|
"kind": "field",
|
|
@@ -8103,11 +8278,7 @@
|
|
|
8103
8278
|
"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.",
|
|
8104
8279
|
"default": "undefined",
|
|
8105
8280
|
"attribute": "soft-disabled",
|
|
8106
|
-
"reflects": true
|
|
8107
|
-
"inheritedFrom": {
|
|
8108
|
-
"name": "Buttonsimple",
|
|
8109
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8110
|
-
}
|
|
8281
|
+
"reflects": true
|
|
8111
8282
|
},
|
|
8112
8283
|
{
|
|
8113
8284
|
"kind": "field",
|
|
@@ -8118,11 +8289,7 @@
|
|
|
8118
8289
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8119
8290
|
"default": "32",
|
|
8120
8291
|
"attribute": "size",
|
|
8121
|
-
"reflects": true
|
|
8122
|
-
"inheritedFrom": {
|
|
8123
|
-
"name": "Buttonsimple",
|
|
8124
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8125
|
-
}
|
|
8292
|
+
"reflects": true
|
|
8126
8293
|
},
|
|
8127
8294
|
{
|
|
8128
8295
|
"kind": "field",
|
|
@@ -8133,11 +8300,7 @@
|
|
|
8133
8300
|
"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.",
|
|
8134
8301
|
"default": "button",
|
|
8135
8302
|
"attribute": "role",
|
|
8136
|
-
"reflects": true
|
|
8137
|
-
"inheritedFrom": {
|
|
8138
|
-
"name": "Buttonsimple",
|
|
8139
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8140
|
-
}
|
|
8303
|
+
"reflects": true
|
|
8141
8304
|
},
|
|
8142
8305
|
{
|
|
8143
8306
|
"kind": "field",
|
|
@@ -8148,11 +8311,7 @@
|
|
|
8148
8311
|
"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`",
|
|
8149
8312
|
"default": "'aria-pressed' (when)",
|
|
8150
8313
|
"attribute": "ariaStateKey",
|
|
8151
|
-
"reflects": true
|
|
8152
|
-
"inheritedFrom": {
|
|
8153
|
-
"name": "Buttonsimple",
|
|
8154
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8155
|
-
}
|
|
8314
|
+
"reflects": true
|
|
8156
8315
|
},
|
|
8157
8316
|
{
|
|
8158
8317
|
"kind": "field",
|
|
@@ -8163,11 +8322,7 @@
|
|
|
8163
8322
|
"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.",
|
|
8164
8323
|
"default": "button",
|
|
8165
8324
|
"attribute": "type",
|
|
8166
|
-
"reflects": true
|
|
8167
|
-
"inheritedFrom": {
|
|
8168
|
-
"name": "Buttonsimple",
|
|
8169
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8170
|
-
}
|
|
8325
|
+
"reflects": true
|
|
8171
8326
|
},
|
|
8172
8327
|
{
|
|
8173
8328
|
"kind": "field",
|
|
@@ -8177,11 +8332,7 @@
|
|
|
8177
8332
|
},
|
|
8178
8333
|
"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.",
|
|
8179
8334
|
"attribute": "name",
|
|
8180
|
-
"reflects": true
|
|
8181
|
-
"inheritedFrom": {
|
|
8182
|
-
"name": "Buttonsimple",
|
|
8183
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8184
|
-
}
|
|
8335
|
+
"reflects": true
|
|
8185
8336
|
},
|
|
8186
8337
|
{
|
|
8187
8338
|
"kind": "field",
|
|
@@ -8191,20 +8342,12 @@
|
|
|
8191
8342
|
},
|
|
8192
8343
|
"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.",
|
|
8193
8344
|
"attribute": "value",
|
|
8194
|
-
"reflects": true
|
|
8195
|
-
"inheritedFrom": {
|
|
8196
|
-
"name": "Buttonsimple",
|
|
8197
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8198
|
-
}
|
|
8345
|
+
"reflects": true
|
|
8199
8346
|
},
|
|
8200
8347
|
{
|
|
8201
8348
|
"kind": "method",
|
|
8202
8349
|
"name": "executeAction",
|
|
8203
|
-
"privacy": "protected"
|
|
8204
|
-
"inheritedFrom": {
|
|
8205
|
-
"name": "Buttonsimple",
|
|
8206
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8207
|
-
}
|
|
8350
|
+
"privacy": "protected"
|
|
8208
8351
|
},
|
|
8209
8352
|
{
|
|
8210
8353
|
"kind": "method",
|
|
@@ -8227,11 +8370,7 @@
|
|
|
8227
8370
|
"description": "The active state of the element"
|
|
8228
8371
|
}
|
|
8229
8372
|
],
|
|
8230
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
|
8231
|
-
"inheritedFrom": {
|
|
8232
|
-
"name": "Buttonsimple",
|
|
8233
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8234
|
-
}
|
|
8373
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
|
8235
8374
|
},
|
|
8236
8375
|
{
|
|
8237
8376
|
"kind": "method",
|
|
@@ -8254,11 +8393,7 @@
|
|
|
8254
8393
|
"description": "The soft-disabled state."
|
|
8255
8394
|
}
|
|
8256
8395
|
],
|
|
8257
|
-
"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."
|
|
8258
|
-
"inheritedFrom": {
|
|
8259
|
-
"name": "Buttonsimple",
|
|
8260
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8261
|
-
}
|
|
8396
|
+
"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."
|
|
8262
8397
|
},
|
|
8263
8398
|
{
|
|
8264
8399
|
"kind": "method",
|
|
@@ -8280,30 +8415,18 @@
|
|
|
8280
8415
|
"description": "The disabled state."
|
|
8281
8416
|
}
|
|
8282
8417
|
],
|
|
8283
|
-
"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."
|
|
8284
|
-
"inheritedFrom": {
|
|
8285
|
-
"name": "Buttonsimple",
|
|
8286
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8287
|
-
}
|
|
8418
|
+
"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."
|
|
8288
8419
|
},
|
|
8289
8420
|
{
|
|
8290
8421
|
"kind": "method",
|
|
8291
8422
|
"name": "triggerClickEvent",
|
|
8292
|
-
"privacy": "private"
|
|
8293
|
-
"inheritedFrom": {
|
|
8294
|
-
"name": "Buttonsimple",
|
|
8295
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8296
|
-
}
|
|
8423
|
+
"privacy": "private"
|
|
8297
8424
|
},
|
|
8298
8425
|
{
|
|
8299
8426
|
"kind": "method",
|
|
8300
8427
|
"name": "handleBlur",
|
|
8301
8428
|
"privacy": "private",
|
|
8302
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
|
8303
|
-
"inheritedFrom": {
|
|
8304
|
-
"name": "Buttonsimple",
|
|
8305
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8306
|
-
}
|
|
8429
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
|
8307
8430
|
},
|
|
8308
8431
|
{
|
|
8309
8432
|
"kind": "method",
|
|
@@ -8318,11 +8441,7 @@
|
|
|
8318
8441
|
"description": "The keyboard event."
|
|
8319
8442
|
}
|
|
8320
8443
|
],
|
|
8321
|
-
"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."
|
|
8322
|
-
"inheritedFrom": {
|
|
8323
|
-
"name": "Buttonsimple",
|
|
8324
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8325
|
-
}
|
|
8444
|
+
"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."
|
|
8326
8445
|
},
|
|
8327
8446
|
{
|
|
8328
8447
|
"kind": "method",
|
|
@@ -8337,220 +8456,77 @@
|
|
|
8337
8456
|
"description": "The keyboard event."
|
|
8338
8457
|
}
|
|
8339
8458
|
],
|
|
8340
|
-
"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."
|
|
8341
|
-
"inheritedFrom": {
|
|
8342
|
-
"name": "Buttonsimple",
|
|
8343
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8344
|
-
}
|
|
8345
|
-
}
|
|
8346
|
-
],
|
|
8347
|
-
"events": [
|
|
8348
|
-
{
|
|
8349
|
-
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
8350
|
-
"name": "click",
|
|
8351
|
-
"reactName": "onClick",
|
|
8352
|
-
"inheritedFrom": {
|
|
8353
|
-
"name": "Buttonsimple",
|
|
8354
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8355
|
-
}
|
|
8356
|
-
},
|
|
8357
|
-
{
|
|
8358
|
-
"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.",
|
|
8359
|
-
"name": "keydown",
|
|
8360
|
-
"reactName": "onKeyDown",
|
|
8361
|
-
"inheritedFrom": {
|
|
8362
|
-
"name": "Buttonsimple",
|
|
8363
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8364
|
-
}
|
|
8365
|
-
},
|
|
8366
|
-
{
|
|
8367
|
-
"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.",
|
|
8368
|
-
"name": "keyup",
|
|
8369
|
-
"reactName": "onKeyUp",
|
|
8370
|
-
"inheritedFrom": {
|
|
8371
|
-
"name": "Buttonsimple",
|
|
8372
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8373
|
-
}
|
|
8374
|
-
},
|
|
8375
|
-
{
|
|
8376
|
-
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8377
|
-
"name": "focus",
|
|
8378
|
-
"reactName": "onFocus",
|
|
8379
|
-
"inheritedFrom": {
|
|
8380
|
-
"name": "Buttonsimple",
|
|
8381
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8382
|
-
}
|
|
8383
|
-
}
|
|
8384
|
-
],
|
|
8385
|
-
"mixins": [
|
|
8386
|
-
{
|
|
8387
|
-
"name": "CardComponentMixin",
|
|
8388
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8389
|
-
}
|
|
8390
|
-
],
|
|
8391
|
-
"superclass": {
|
|
8392
|
-
"name": "Buttonsimple",
|
|
8393
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
8394
|
-
},
|
|
8395
|
-
"tagName": "mdc-cardbutton",
|
|
8396
|
-
"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 */",
|
|
8397
|
-
"customElement": true,
|
|
8398
|
-
"attributes": [
|
|
8399
|
-
{
|
|
8400
|
-
"name": "card-title",
|
|
8401
|
-
"type": {
|
|
8402
|
-
"text": "string"
|
|
8403
|
-
},
|
|
8404
|
-
"default": "''",
|
|
8405
|
-
"description": "The title of the card - part of header section",
|
|
8406
|
-
"fieldName": "cardTitle",
|
|
8407
|
-
"inheritedFrom": {
|
|
8408
|
-
"name": "CardComponentMixin",
|
|
8409
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8410
|
-
}
|
|
8411
|
-
},
|
|
8412
|
-
{
|
|
8413
|
-
"name": "subtitle",
|
|
8414
|
-
"type": {
|
|
8415
|
-
"text": "string"
|
|
8416
|
-
},
|
|
8417
|
-
"default": "''",
|
|
8418
|
-
"description": "The subtitle of the card - part of header section",
|
|
8419
|
-
"fieldName": "subtitle",
|
|
8420
|
-
"inheritedFrom": {
|
|
8421
|
-
"name": "CardComponentMixin",
|
|
8422
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8423
|
-
}
|
|
8424
|
-
},
|
|
8425
|
-
{
|
|
8426
|
-
"name": "image-src",
|
|
8427
|
-
"type": {
|
|
8428
|
-
"text": "string"
|
|
8429
|
-
},
|
|
8430
|
-
"default": "''",
|
|
8431
|
-
"description": "The image source URL to render on the card",
|
|
8432
|
-
"fieldName": "imageSrc",
|
|
8433
|
-
"inheritedFrom": {
|
|
8434
|
-
"name": "CardComponentMixin",
|
|
8435
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8436
|
-
}
|
|
8437
|
-
},
|
|
8438
|
-
{
|
|
8439
|
-
"name": "image-alt",
|
|
8440
|
-
"type": {
|
|
8441
|
-
"text": "string"
|
|
8442
|
-
},
|
|
8443
|
-
"default": "''",
|
|
8444
|
-
"description": "The image alt for accessibility support",
|
|
8445
|
-
"fieldName": "imageAlt",
|
|
8446
|
-
"inheritedFrom": {
|
|
8447
|
-
"name": "CardComponentMixin",
|
|
8448
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8449
|
-
}
|
|
8450
|
-
},
|
|
8451
|
-
{
|
|
8452
|
-
"name": "variant",
|
|
8453
|
-
"type": {
|
|
8454
|
-
"text": "CardVariant"
|
|
8455
|
-
},
|
|
8456
|
-
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8457
|
-
"default": "'border'",
|
|
8458
|
-
"fieldName": "variant",
|
|
8459
|
-
"inheritedFrom": {
|
|
8460
|
-
"name": "CardComponentMixin",
|
|
8461
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8462
|
-
}
|
|
8463
|
-
},
|
|
8464
|
-
{
|
|
8465
|
-
"name": "orientation",
|
|
8466
|
-
"type": {
|
|
8467
|
-
"text": "CardOrientation"
|
|
8468
|
-
},
|
|
8469
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8470
|
-
"default": "'vertical'",
|
|
8471
|
-
"fieldName": "orientation",
|
|
8472
|
-
"inheritedFrom": {
|
|
8473
|
-
"name": "CardComponentMixin",
|
|
8474
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8475
|
-
}
|
|
8476
|
-
},
|
|
8477
|
-
{
|
|
8478
|
-
"name": "title-tag-name",
|
|
8479
|
-
"type": {
|
|
8480
|
-
"text": "TagNameType"
|
|
8481
|
-
},
|
|
8482
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8483
|
-
"default": "'span'",
|
|
8484
|
-
"fieldName": "titleTagName",
|
|
8485
|
-
"inheritedFrom": {
|
|
8486
|
-
"name": "CardComponentMixin",
|
|
8487
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8488
|
-
}
|
|
8489
|
-
},
|
|
8490
|
-
{
|
|
8491
|
-
"name": "subtitle-tag-name",
|
|
8492
|
-
"type": {
|
|
8493
|
-
"text": "TagNameType"
|
|
8494
|
-
},
|
|
8495
|
-
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8496
|
-
"default": "'span'",
|
|
8497
|
-
"fieldName": "subtitleTagName",
|
|
8498
|
-
"inheritedFrom": {
|
|
8499
|
-
"name": "CardComponentMixin",
|
|
8500
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8501
|
-
}
|
|
8502
|
-
},
|
|
8503
|
-
{
|
|
8504
|
-
"name": "icon-name",
|
|
8505
|
-
"type": {
|
|
8506
|
-
"text": "IconNames | undefined"
|
|
8507
|
-
},
|
|
8508
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8509
|
-
"fieldName": "iconName",
|
|
8510
|
-
"inheritedFrom": {
|
|
8511
|
-
"name": "CardComponentMixin",
|
|
8512
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8513
|
-
}
|
|
8459
|
+
"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."
|
|
8514
8460
|
},
|
|
8515
8461
|
{
|
|
8516
|
-
"
|
|
8462
|
+
"kind": "field",
|
|
8463
|
+
"name": "autoFocusOnMount",
|
|
8517
8464
|
"type": {
|
|
8518
8465
|
"text": "boolean"
|
|
8519
8466
|
},
|
|
8520
8467
|
"default": "false",
|
|
8521
8468
|
"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.",
|
|
8522
|
-
"
|
|
8469
|
+
"attribute": "auto-focus-on-mount",
|
|
8470
|
+
"reflects": true,
|
|
8523
8471
|
"inheritedFrom": {
|
|
8524
|
-
"name": "
|
|
8525
|
-
"module": "
|
|
8472
|
+
"name": "AutoFocusOnMountMixin",
|
|
8473
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
|
8526
8474
|
}
|
|
8527
8475
|
},
|
|
8528
8476
|
{
|
|
8477
|
+
"kind": "field",
|
|
8529
8478
|
"name": "tabIndex",
|
|
8530
8479
|
"type": {
|
|
8531
8480
|
"text": "number"
|
|
8532
8481
|
},
|
|
8533
8482
|
"default": "0",
|
|
8534
8483
|
"description": "This property specifies the tab order of the element.",
|
|
8535
|
-
"
|
|
8484
|
+
"attribute": "tabIndex",
|
|
8485
|
+
"reflects": true,
|
|
8536
8486
|
"inheritedFrom": {
|
|
8537
|
-
"name": "
|
|
8538
|
-
"module": "
|
|
8487
|
+
"name": "TabIndexMixin",
|
|
8488
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
8539
8489
|
}
|
|
8540
8490
|
},
|
|
8541
8491
|
{
|
|
8492
|
+
"kind": "field",
|
|
8542
8493
|
"name": "disabled",
|
|
8543
8494
|
"type": {
|
|
8544
8495
|
"text": "boolean | undefined"
|
|
8545
8496
|
},
|
|
8546
8497
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8547
8498
|
"default": "undefined",
|
|
8548
|
-
"
|
|
8499
|
+
"attribute": "disabled",
|
|
8500
|
+
"reflects": true,
|
|
8549
8501
|
"inheritedFrom": {
|
|
8550
|
-
"name": "
|
|
8551
|
-
"module": "
|
|
8502
|
+
"name": "DisabledMixin",
|
|
8503
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
8552
8504
|
}
|
|
8505
|
+
}
|
|
8506
|
+
],
|
|
8507
|
+
"events": [
|
|
8508
|
+
{
|
|
8509
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
|
8510
|
+
"name": "click",
|
|
8511
|
+
"reactName": "onClick"
|
|
8512
|
+
},
|
|
8513
|
+
{
|
|
8514
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
|
8515
|
+
"name": "keydown",
|
|
8516
|
+
"reactName": "onKeyDown"
|
|
8517
|
+
},
|
|
8518
|
+
{
|
|
8519
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
|
8520
|
+
"name": "keyup",
|
|
8521
|
+
"reactName": "onKeyUp"
|
|
8553
8522
|
},
|
|
8523
|
+
{
|
|
8524
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
8525
|
+
"name": "focus",
|
|
8526
|
+
"reactName": "onFocus"
|
|
8527
|
+
}
|
|
8528
|
+
],
|
|
8529
|
+
"attributes": [
|
|
8554
8530
|
{
|
|
8555
8531
|
"name": "active",
|
|
8556
8532
|
"type": {
|
|
@@ -8558,11 +8534,7 @@
|
|
|
8558
8534
|
},
|
|
8559
8535
|
"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.",
|
|
8560
8536
|
"default": "undefined",
|
|
8561
|
-
"fieldName": "active"
|
|
8562
|
-
"inheritedFrom": {
|
|
8563
|
-
"name": "Buttonsimple",
|
|
8564
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8565
|
-
}
|
|
8537
|
+
"fieldName": "active"
|
|
8566
8538
|
},
|
|
8567
8539
|
{
|
|
8568
8540
|
"name": "soft-disabled",
|
|
@@ -8571,11 +8543,7 @@
|
|
|
8571
8543
|
},
|
|
8572
8544
|
"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.",
|
|
8573
8545
|
"default": "undefined",
|
|
8574
|
-
"fieldName": "softDisabled"
|
|
8575
|
-
"inheritedFrom": {
|
|
8576
|
-
"name": "Buttonsimple",
|
|
8577
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8578
|
-
}
|
|
8546
|
+
"fieldName": "softDisabled"
|
|
8579
8547
|
},
|
|
8580
8548
|
{
|
|
8581
8549
|
"name": "size",
|
|
@@ -8584,11 +8552,7 @@
|
|
|
8584
8552
|
},
|
|
8585
8553
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8586
8554
|
"default": "32",
|
|
8587
|
-
"fieldName": "size"
|
|
8588
|
-
"inheritedFrom": {
|
|
8589
|
-
"name": "Buttonsimple",
|
|
8590
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8591
|
-
}
|
|
8555
|
+
"fieldName": "size"
|
|
8592
8556
|
},
|
|
8593
8557
|
{
|
|
8594
8558
|
"name": "role",
|
|
@@ -8597,11 +8561,7 @@
|
|
|
8597
8561
|
},
|
|
8598
8562
|
"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.",
|
|
8599
8563
|
"default": "button",
|
|
8600
|
-
"fieldName": "role"
|
|
8601
|
-
"inheritedFrom": {
|
|
8602
|
-
"name": "Buttonsimple",
|
|
8603
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8604
|
-
}
|
|
8564
|
+
"fieldName": "role"
|
|
8605
8565
|
},
|
|
8606
8566
|
{
|
|
8607
8567
|
"name": "ariaStateKey",
|
|
@@ -8610,11 +8570,7 @@
|
|
|
8610
8570
|
},
|
|
8611
8571
|
"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`",
|
|
8612
8572
|
"default": "'aria-pressed' (when)",
|
|
8613
|
-
"fieldName": "ariaStateKey"
|
|
8614
|
-
"inheritedFrom": {
|
|
8615
|
-
"name": "Buttonsimple",
|
|
8616
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8617
|
-
}
|
|
8573
|
+
"fieldName": "ariaStateKey"
|
|
8618
8574
|
},
|
|
8619
8575
|
{
|
|
8620
8576
|
"name": "type",
|
|
@@ -8623,11 +8579,7 @@
|
|
|
8623
8579
|
},
|
|
8624
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.",
|
|
8625
8581
|
"default": "button",
|
|
8626
|
-
"fieldName": "type"
|
|
8627
|
-
"inheritedFrom": {
|
|
8628
|
-
"name": "Buttonsimple",
|
|
8629
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8630
|
-
}
|
|
8582
|
+
"fieldName": "type"
|
|
8631
8583
|
},
|
|
8632
8584
|
{
|
|
8633
8585
|
"name": "name",
|
|
@@ -8635,11 +8587,7 @@
|
|
|
8635
8587
|
"text": "string | undefined"
|
|
8636
8588
|
},
|
|
8637
8589
|
"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.",
|
|
8638
|
-
"fieldName": "name"
|
|
8639
|
-
"inheritedFrom": {
|
|
8640
|
-
"name": "Buttonsimple",
|
|
8641
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8642
|
-
}
|
|
8590
|
+
"fieldName": "name"
|
|
8643
8591
|
},
|
|
8644
8592
|
{
|
|
8645
8593
|
"name": "value",
|
|
@@ -8647,13 +8595,69 @@
|
|
|
8647
8595
|
"text": "string | undefined"
|
|
8648
8596
|
},
|
|
8649
8597
|
"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.",
|
|
8650
|
-
"fieldName": "value"
|
|
8598
|
+
"fieldName": "value"
|
|
8599
|
+
},
|
|
8600
|
+
{
|
|
8601
|
+
"name": "auto-focus-on-mount",
|
|
8602
|
+
"type": {
|
|
8603
|
+
"text": "boolean"
|
|
8604
|
+
},
|
|
8605
|
+
"default": "false",
|
|
8606
|
+
"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.",
|
|
8607
|
+
"fieldName": "autoFocusOnMount",
|
|
8651
8608
|
"inheritedFrom": {
|
|
8652
|
-
"name": "
|
|
8653
|
-
"module": "src/
|
|
8609
|
+
"name": "AutoFocusOnMountMixin",
|
|
8610
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
|
8611
|
+
}
|
|
8612
|
+
},
|
|
8613
|
+
{
|
|
8614
|
+
"name": "tabIndex",
|
|
8615
|
+
"type": {
|
|
8616
|
+
"text": "number"
|
|
8617
|
+
},
|
|
8618
|
+
"default": "0",
|
|
8619
|
+
"description": "This property specifies the tab order of the element.",
|
|
8620
|
+
"fieldName": "tabIndex",
|
|
8621
|
+
"inheritedFrom": {
|
|
8622
|
+
"name": "TabIndexMixin",
|
|
8623
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
8624
|
+
}
|
|
8625
|
+
},
|
|
8626
|
+
{
|
|
8627
|
+
"name": "disabled",
|
|
8628
|
+
"type": {
|
|
8629
|
+
"text": "boolean | undefined"
|
|
8630
|
+
},
|
|
8631
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8632
|
+
"default": "undefined",
|
|
8633
|
+
"fieldName": "disabled",
|
|
8634
|
+
"inheritedFrom": {
|
|
8635
|
+
"name": "DisabledMixin",
|
|
8636
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
8654
8637
|
}
|
|
8655
8638
|
}
|
|
8656
|
-
]
|
|
8639
|
+
],
|
|
8640
|
+
"mixins": [
|
|
8641
|
+
{
|
|
8642
|
+
"name": "AutoFocusOnMountMixin",
|
|
8643
|
+
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
8644
|
+
},
|
|
8645
|
+
{
|
|
8646
|
+
"name": "TabIndexMixin",
|
|
8647
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
|
8648
|
+
},
|
|
8649
|
+
{
|
|
8650
|
+
"name": "DisabledMixin",
|
|
8651
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
|
8652
|
+
}
|
|
8653
|
+
],
|
|
8654
|
+
"superclass": {
|
|
8655
|
+
"name": "Component",
|
|
8656
|
+
"module": "/src/models"
|
|
8657
|
+
},
|
|
8658
|
+
"tagName": "mdc-buttonsimple",
|
|
8659
|
+
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n */",
|
|
8660
|
+
"customElement": true
|
|
8657
8661
|
}
|
|
8658
8662
|
],
|
|
8659
8663
|
"exports": [
|
|
@@ -8661,8 +8665,8 @@
|
|
|
8661
8665
|
"kind": "js",
|
|
8662
8666
|
"name": "default",
|
|
8663
8667
|
"declaration": {
|
|
8664
|
-
"name": "
|
|
8665
|
-
"module": "components/
|
|
8668
|
+
"name": "Buttonsimple",
|
|
8669
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8666
8670
|
}
|
|
8667
8671
|
}
|
|
8668
8672
|
]
|
|
@@ -22801,475 +22805,46 @@
|
|
|
22801
22805
|
}
|
|
22802
22806
|
],
|
|
22803
22807
|
"attributes": [
|
|
22804
|
-
{
|
|
22805
|
-
"name": "prefix-icon",
|
|
22806
|
-
"type": {
|
|
22807
|
-
"text": "IconNames | undefined"
|
|
22808
|
-
},
|
|
22809
|
-
"description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
|
|
22810
|
-
"fieldName": "prefixIcon"
|
|
22811
|
-
},
|
|
22812
|
-
{
|
|
22813
|
-
"name": "postfix-icon",
|
|
22814
|
-
"type": {
|
|
22815
|
-
"text": "IconNames | undefined"
|
|
22816
|
-
},
|
|
22817
|
-
"description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
|
|
22818
|
-
"fieldName": "postfixIcon"
|
|
22819
|
-
},
|
|
22820
|
-
{
|
|
22821
|
-
"name": "header-text",
|
|
22822
|
-
"type": {
|
|
22823
|
-
"text": "string | undefined"
|
|
22824
|
-
},
|
|
22825
|
-
"description": "Text to be rendered in the header",
|
|
22826
|
-
"fieldName": "headerText"
|
|
22827
|
-
},
|
|
22828
|
-
{
|
|
22829
|
-
"name": "disabled",
|
|
22830
|
-
"type": {
|
|
22831
|
-
"text": "boolean"
|
|
22832
|
-
},
|
|
22833
|
-
"default": "false",
|
|
22834
|
-
"description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
|
|
22835
|
-
"fieldName": "disabled"
|
|
22836
|
-
}
|
|
22837
|
-
],
|
|
22838
|
-
"superclass": {
|
|
22839
|
-
"name": "Component",
|
|
22840
|
-
"module": "/src/models"
|
|
22841
|
-
},
|
|
22842
|
-
"tagName": "mdc-listheader",
|
|
22843
|
-
"jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n *\n * @csspart header-text - The header text of list header\n * @csspart postfix-icon - The postfix icon of list header\n * @csspart prefix-icon - The prefix icon of list header\n */",
|
|
22844
|
-
"customElement": true
|
|
22845
|
-
}
|
|
22846
|
-
],
|
|
22847
|
-
"exports": [
|
|
22848
|
-
{
|
|
22849
|
-
"kind": "js",
|
|
22850
|
-
"name": "default",
|
|
22851
|
-
"declaration": {
|
|
22852
|
-
"name": "Listheader",
|
|
22853
|
-
"module": "components/listheader/listheader.component.js"
|
|
22854
|
-
}
|
|
22855
|
-
}
|
|
22856
|
-
]
|
|
22857
|
-
},
|
|
22858
|
-
{
|
|
22859
|
-
"kind": "javascript-module",
|
|
22860
|
-
"path": "components/marker/marker.component.js",
|
|
22861
|
-
"declarations": [
|
|
22862
|
-
{
|
|
22863
|
-
"kind": "class",
|
|
22864
|
-
"description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
|
22865
|
-
"name": "Marker",
|
|
22866
|
-
"cssProperties": [
|
|
22867
|
-
{
|
|
22868
|
-
"description": "Allows customization of the default background color in solid variant.",
|
|
22869
|
-
"name": "--mdc-marker-solid-background-color"
|
|
22870
|
-
},
|
|
22871
|
-
{
|
|
22872
|
-
"description": "Allows customization of the default stripes in striped variant.",
|
|
22873
|
-
"name": "--mdc-marker-striped-color"
|
|
22874
|
-
},
|
|
22875
|
-
{
|
|
22876
|
-
"description": "Allows customization of the default background color in striped variant.",
|
|
22877
|
-
"name": "--mdc-marker-striped-background-color"
|
|
22878
|
-
},
|
|
22879
|
-
{
|
|
22880
|
-
"description": "Allows customization of the default width.",
|
|
22881
|
-
"name": "--mdc-marker-width"
|
|
22882
|
-
}
|
|
22883
|
-
],
|
|
22884
|
-
"members": [
|
|
22885
|
-
{
|
|
22886
|
-
"kind": "field",
|
|
22887
|
-
"name": "variant",
|
|
22888
|
-
"type": {
|
|
22889
|
-
"text": "MarkerVariants"
|
|
22890
|
-
},
|
|
22891
|
-
"privacy": "public",
|
|
22892
|
-
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
|
22893
|
-
"default": "solid",
|
|
22894
|
-
"attribute": "variant",
|
|
22895
|
-
"reflects": true
|
|
22896
|
-
}
|
|
22897
|
-
],
|
|
22898
|
-
"attributes": [
|
|
22899
|
-
{
|
|
22900
|
-
"name": "variant",
|
|
22901
|
-
"type": {
|
|
22902
|
-
"text": "MarkerVariants"
|
|
22903
|
-
},
|
|
22904
|
-
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
|
22905
|
-
"default": "solid",
|
|
22906
|
-
"fieldName": "variant"
|
|
22907
|
-
}
|
|
22908
|
-
],
|
|
22909
|
-
"superclass": {
|
|
22910
|
-
"name": "Component",
|
|
22911
|
-
"module": "/src/models"
|
|
22912
|
-
},
|
|
22913
|
-
"tagName": "mdc-marker",
|
|
22914
|
-
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
|
22915
|
-
"customElement": true
|
|
22916
|
-
}
|
|
22917
|
-
],
|
|
22918
|
-
"exports": [
|
|
22919
|
-
{
|
|
22920
|
-
"kind": "js",
|
|
22921
|
-
"name": "default",
|
|
22922
|
-
"declaration": {
|
|
22923
|
-
"name": "Marker",
|
|
22924
|
-
"module": "components/marker/marker.component.js"
|
|
22925
|
-
}
|
|
22926
|
-
}
|
|
22927
|
-
]
|
|
22928
|
-
},
|
|
22929
|
-
{
|
|
22930
|
-
"kind": "javascript-module",
|
|
22931
|
-
"path": "components/menubar/menubar.component.js",
|
|
22932
|
-
"declarations": [
|
|
22933
|
-
{
|
|
22934
|
-
"kind": "class",
|
|
22935
|
-
"description": "Menubar is a navigational menu component that provides a vertical fixed list of menu items,\nwith support for nested submenus and keyboard navigation. It serves as a container\nfor menu items and manages their interaction patterns, including:\n- Keyboard navigation (Arrow keys, Home, End)\n- Menu item activation (Enter/Space)\n- Submenu toggling (Right/Left arrow keys)\n- Focus management\n- Integration with MenuPopover for nested menus\n\nA menubar will contain a set of menu items and their associated popovers.\nEach menu item can have a popover for nested menus.\n\nThe component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\nIt works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n\n**Note:** A menubar contains three types of menu items, including menuitem, menuitemradio and menuitemcheckbox. These menu items may optionally be nested in one or more group containers. Groups or items may optionally by separated with separator elements.\n\n`mdc-menubar` contains a group that wraps all its chilren passed within the default slot. This has been added to ensure the right accessibility behavior while using screen readers.",
|
|
22936
|
-
"name": "MenuBar",
|
|
22937
|
-
"slots": [
|
|
22938
|
-
{
|
|
22939
|
-
"description": "Contains the menu items and their associated popovers",
|
|
22940
|
-
"name": "default"
|
|
22941
|
-
}
|
|
22942
|
-
],
|
|
22943
|
-
"members": [
|
|
22944
|
-
{
|
|
22945
|
-
"kind": "field",
|
|
22946
|
-
"name": "menusections",
|
|
22947
|
-
"type": {
|
|
22948
|
-
"text": "Array<HTMLElement>"
|
|
22949
|
-
}
|
|
22950
|
-
},
|
|
22951
|
-
{
|
|
22952
|
-
"kind": "field",
|
|
22953
|
-
"name": "menuItems",
|
|
22954
|
-
"type": {
|
|
22955
|
-
"text": "Array<HTMLElement>"
|
|
22956
|
-
},
|
|
22957
|
-
"description": "Returns all menuitem elements, including those nested inside menusection.",
|
|
22958
|
-
"readonly": true
|
|
22959
|
-
},
|
|
22960
|
-
{
|
|
22961
|
-
"kind": "method",
|
|
22962
|
-
"name": "getAllPopovers",
|
|
22963
|
-
"privacy": "private",
|
|
22964
|
-
"return": {
|
|
22965
|
-
"type": {
|
|
22966
|
-
"text": "Element[]"
|
|
22967
|
-
}
|
|
22968
|
-
},
|
|
22969
|
-
"description": "Returns all menupopovers, including direct and slotted ones ."
|
|
22970
|
-
},
|
|
22971
|
-
{
|
|
22972
|
-
"kind": "method",
|
|
22973
|
-
"name": "handleClick",
|
|
22974
|
-
"privacy": "private",
|
|
22975
|
-
"return": {
|
|
22976
|
-
"type": {
|
|
22977
|
-
"text": "void"
|
|
22978
|
-
}
|
|
22979
|
-
},
|
|
22980
|
-
"parameters": [
|
|
22981
|
-
{
|
|
22982
|
-
"name": "event",
|
|
22983
|
-
"type": {
|
|
22984
|
-
"text": "MouseEvent"
|
|
22985
|
-
}
|
|
22986
|
-
},
|
|
22987
|
-
{
|
|
22988
|
-
"description": "The target menu item that was clicked.",
|
|
22989
|
-
"name": "target"
|
|
22990
|
-
}
|
|
22991
|
-
],
|
|
22992
|
-
"description": "Closes all other submenus on the top level.\nThis method is used to ensure that only one topolevel submenu is open at a time.\nIt finds all other menu items with submenus and closes their submenus."
|
|
22993
|
-
},
|
|
22994
|
-
{
|
|
22995
|
-
"kind": "method",
|
|
22996
|
-
"name": "resetTabIndexAndSetActiveTabIndex",
|
|
22997
|
-
"privacy": "private",
|
|
22998
|
-
"parameters": [
|
|
22999
|
-
{
|
|
23000
|
-
"name": "menuItems",
|
|
23001
|
-
"type": {
|
|
23002
|
-
"text": "Array<HTMLElement>"
|
|
23003
|
-
}
|
|
23004
|
-
},
|
|
23005
|
-
{
|
|
23006
|
-
"description": "The index of the new active element in the list.",
|
|
23007
|
-
"name": "newIndex"
|
|
23008
|
-
}
|
|
23009
|
-
],
|
|
23010
|
-
"description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
|
|
23011
|
-
},
|
|
23012
|
-
{
|
|
23013
|
-
"kind": "method",
|
|
23014
|
-
"name": "getCurrentIndex",
|
|
23015
|
-
"privacy": "private",
|
|
23016
|
-
"return": {
|
|
23017
|
-
"type": {
|
|
23018
|
-
"text": "number"
|
|
23019
|
-
}
|
|
23020
|
-
},
|
|
23021
|
-
"parameters": [
|
|
23022
|
-
{
|
|
23023
|
-
"name": "target",
|
|
23024
|
-
"type": {
|
|
23025
|
-
"text": "EventTarget | null"
|
|
23026
|
-
}
|
|
23027
|
-
}
|
|
23028
|
-
]
|
|
23029
|
-
},
|
|
23030
|
-
{
|
|
23031
|
-
"kind": "method",
|
|
23032
|
-
"name": "getSubmenu",
|
|
23033
|
-
"privacy": "private",
|
|
23034
|
-
"return": {
|
|
23035
|
-
"type": {
|
|
23036
|
-
"text": "MenuPopover | undefined"
|
|
23037
|
-
}
|
|
23038
|
-
},
|
|
23039
|
-
"parameters": [
|
|
23040
|
-
{
|
|
23041
|
-
"name": "triggerId",
|
|
23042
|
-
"type": {
|
|
23043
|
-
"text": "string | null"
|
|
23044
|
-
}
|
|
23045
|
-
}
|
|
23046
|
-
]
|
|
23047
|
-
},
|
|
23048
|
-
{
|
|
23049
|
-
"kind": "method",
|
|
23050
|
-
"name": "showSubmenu",
|
|
23051
|
-
"privacy": "private",
|
|
23052
|
-
"return": {
|
|
23053
|
-
"type": {
|
|
23054
|
-
"text": "void"
|
|
23055
|
-
}
|
|
23056
|
-
},
|
|
23057
|
-
"parameters": [
|
|
23058
|
-
{
|
|
23059
|
-
"name": "triggerId",
|
|
23060
|
-
"type": {
|
|
23061
|
-
"text": "string | null"
|
|
23062
|
-
}
|
|
23063
|
-
}
|
|
23064
|
-
]
|
|
23065
|
-
},
|
|
23066
|
-
{
|
|
23067
|
-
"kind": "method",
|
|
23068
|
-
"name": "updatePopoverPlacement",
|
|
23069
|
-
"privacy": "private",
|
|
23070
|
-
"return": {
|
|
23071
|
-
"type": {
|
|
23072
|
-
"text": "void"
|
|
23073
|
-
}
|
|
23074
|
-
}
|
|
23075
|
-
},
|
|
23076
|
-
{
|
|
23077
|
-
"kind": "method",
|
|
23078
|
-
"name": "updateTabIndexAndFocus",
|
|
23079
|
-
"privacy": "private",
|
|
23080
|
-
"return": {
|
|
23081
|
-
"type": {
|
|
23082
|
-
"text": "void"
|
|
23083
|
-
}
|
|
23084
|
-
},
|
|
23085
|
-
"parameters": [
|
|
23086
|
-
{
|
|
23087
|
-
"name": "menuItems",
|
|
23088
|
-
"type": {
|
|
23089
|
-
"text": "HTMLElement[]"
|
|
23090
|
-
}
|
|
23091
|
-
},
|
|
23092
|
-
{
|
|
23093
|
-
"name": "currentIndex",
|
|
23094
|
-
"type": {
|
|
23095
|
-
"text": "number"
|
|
23096
|
-
}
|
|
23097
|
-
},
|
|
23098
|
-
{
|
|
23099
|
-
"name": "newIndex",
|
|
23100
|
-
"type": {
|
|
23101
|
-
"text": "number"
|
|
23102
|
-
}
|
|
23103
|
-
}
|
|
23104
|
-
]
|
|
23105
|
-
},
|
|
23106
|
-
{
|
|
23107
|
-
"kind": "method",
|
|
23108
|
-
"name": "navigateToMenuItem",
|
|
23109
|
-
"privacy": "private",
|
|
23110
|
-
"return": {
|
|
23111
|
-
"type": {
|
|
23112
|
-
"text": "void"
|
|
23113
|
-
}
|
|
23114
|
-
},
|
|
23115
|
-
"parameters": [
|
|
23116
|
-
{
|
|
23117
|
-
"name": "currentIndex",
|
|
23118
|
-
"type": {
|
|
23119
|
-
"text": "number"
|
|
23120
|
-
}
|
|
23121
|
-
},
|
|
23122
|
-
{
|
|
23123
|
-
"name": "direction",
|
|
23124
|
-
"type": {
|
|
23125
|
-
"text": "'prev' | 'next'"
|
|
23126
|
-
}
|
|
23127
|
-
},
|
|
23128
|
-
{
|
|
23129
|
-
"name": "shouldOpenSubmenu",
|
|
23130
|
-
"default": "false"
|
|
23131
|
-
}
|
|
23132
|
-
]
|
|
23133
|
-
},
|
|
23134
|
-
{
|
|
23135
|
-
"kind": "method",
|
|
23136
|
-
"name": "getKeyWithDirectionFix",
|
|
23137
|
-
"privacy": "private",
|
|
23138
|
-
"return": {
|
|
23139
|
-
"type": {
|
|
23140
|
-
"text": "string"
|
|
23141
|
-
}
|
|
23142
|
-
},
|
|
23143
|
-
"parameters": [
|
|
23144
|
-
{
|
|
23145
|
-
"name": "originalKey",
|
|
23146
|
-
"type": {
|
|
23147
|
-
"text": "string"
|
|
23148
|
-
}
|
|
23149
|
-
}
|
|
23150
|
-
]
|
|
23151
|
-
},
|
|
23152
|
-
{
|
|
23153
|
-
"kind": "method",
|
|
23154
|
-
"name": "isTopLevelMenuItem",
|
|
23155
|
-
"privacy": "private",
|
|
23156
|
-
"return": {
|
|
23157
|
-
"type": {
|
|
23158
|
-
"text": "boolean"
|
|
23159
|
-
}
|
|
23160
|
-
},
|
|
23161
|
-
"parameters": [
|
|
23162
|
-
{
|
|
23163
|
-
"name": "element",
|
|
23164
|
-
"type": {
|
|
23165
|
-
"text": "HTMLElement"
|
|
23166
|
-
}
|
|
23167
|
-
}
|
|
23168
|
-
],
|
|
23169
|
-
"description": "Determines if a menuitem is a top-level menuitem (direct child of menubar or child of menusection whose parent is menubar)"
|
|
23170
|
-
},
|
|
23171
|
-
{
|
|
23172
|
-
"kind": "method",
|
|
23173
|
-
"name": "isNestedMenuItem",
|
|
23174
|
-
"privacy": "private",
|
|
23175
|
-
"return": {
|
|
23176
|
-
"type": {
|
|
23177
|
-
"text": "boolean"
|
|
23178
|
-
}
|
|
23179
|
-
},
|
|
23180
|
-
"parameters": [
|
|
23181
|
-
{
|
|
23182
|
-
"name": "element",
|
|
23183
|
-
"type": {
|
|
23184
|
-
"text": "HTMLElement"
|
|
23185
|
-
}
|
|
23186
|
-
}
|
|
23187
|
-
]
|
|
23188
|
-
},
|
|
23189
|
-
{
|
|
23190
|
-
"kind": "method",
|
|
23191
|
-
"name": "closeAllMenuPopovers",
|
|
23192
|
-
"privacy": "private"
|
|
23193
|
-
},
|
|
23194
|
-
{
|
|
23195
|
-
"kind": "method",
|
|
23196
|
-
"name": "crossMenubarNavigationOnLeft",
|
|
23197
|
-
"privacy": "private",
|
|
23198
|
-
"return": {
|
|
23199
|
-
"type": {
|
|
23200
|
-
"text": "Promise<void>"
|
|
23201
|
-
}
|
|
22808
|
+
{
|
|
22809
|
+
"name": "prefix-icon",
|
|
22810
|
+
"type": {
|
|
22811
|
+
"text": "IconNames | undefined"
|
|
23202
22812
|
},
|
|
23203
|
-
"
|
|
23204
|
-
|
|
23205
|
-
"name": "element",
|
|
23206
|
-
"type": {
|
|
23207
|
-
"text": "HTMLElement"
|
|
23208
|
-
}
|
|
23209
|
-
}
|
|
23210
|
-
]
|
|
22813
|
+
"description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
|
|
22814
|
+
"fieldName": "prefixIcon"
|
|
23211
22815
|
},
|
|
23212
22816
|
{
|
|
23213
|
-
"
|
|
23214
|
-
"
|
|
23215
|
-
|
|
23216
|
-
"return": {
|
|
23217
|
-
"type": {
|
|
23218
|
-
"text": "Promise<void>"
|
|
23219
|
-
}
|
|
22817
|
+
"name": "postfix-icon",
|
|
22818
|
+
"type": {
|
|
22819
|
+
"text": "IconNames | undefined"
|
|
23220
22820
|
},
|
|
23221
|
-
"
|
|
23222
|
-
|
|
23223
|
-
"name": "element",
|
|
23224
|
-
"type": {
|
|
23225
|
-
"text": "HTMLElement"
|
|
23226
|
-
}
|
|
23227
|
-
}
|
|
23228
|
-
]
|
|
22821
|
+
"description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
|
|
22822
|
+
"fieldName": "postfixIcon"
|
|
23229
22823
|
},
|
|
23230
22824
|
{
|
|
23231
|
-
"
|
|
23232
|
-
"
|
|
23233
|
-
|
|
23234
|
-
"return": {
|
|
23235
|
-
"type": {
|
|
23236
|
-
"text": "number"
|
|
23237
|
-
}
|
|
22825
|
+
"name": "header-text",
|
|
22826
|
+
"type": {
|
|
22827
|
+
"text": "string | undefined"
|
|
23238
22828
|
},
|
|
23239
|
-
"
|
|
23240
|
-
|
|
23241
|
-
"name": "element",
|
|
23242
|
-
"type": {
|
|
23243
|
-
"text": "HTMLElement"
|
|
23244
|
-
}
|
|
23245
|
-
}
|
|
23246
|
-
]
|
|
22829
|
+
"description": "Text to be rendered in the header",
|
|
22830
|
+
"fieldName": "headerText"
|
|
23247
22831
|
},
|
|
23248
22832
|
{
|
|
23249
|
-
"
|
|
23250
|
-
"
|
|
23251
|
-
|
|
23252
|
-
"return": {
|
|
23253
|
-
"type": {
|
|
23254
|
-
"text": "Promise<void>"
|
|
23255
|
-
}
|
|
22833
|
+
"name": "disabled",
|
|
22834
|
+
"type": {
|
|
22835
|
+
"text": "boolean"
|
|
23256
22836
|
},
|
|
23257
|
-
"
|
|
23258
|
-
|
|
23259
|
-
|
|
23260
|
-
"type": {
|
|
23261
|
-
"text": "KeyboardEvent"
|
|
23262
|
-
}
|
|
23263
|
-
}
|
|
23264
|
-
]
|
|
22837
|
+
"default": "false",
|
|
22838
|
+
"description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
|
|
22839
|
+
"fieldName": "disabled"
|
|
23265
22840
|
}
|
|
23266
22841
|
],
|
|
23267
22842
|
"superclass": {
|
|
23268
22843
|
"name": "Component",
|
|
23269
22844
|
"module": "/src/models"
|
|
23270
22845
|
},
|
|
23271
|
-
"tagName": "mdc-
|
|
23272
|
-
"jsDoc": "/**\n *
|
|
22846
|
+
"tagName": "mdc-listheader",
|
|
22847
|
+
"jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n *\n * @csspart header-text - The header text of list header\n * @csspart postfix-icon - The postfix icon of list header\n * @csspart prefix-icon - The prefix icon of list header\n */",
|
|
23273
22848
|
"customElement": true
|
|
23274
22849
|
}
|
|
23275
22850
|
],
|
|
@@ -23278,8 +22853,8 @@
|
|
|
23278
22853
|
"kind": "js",
|
|
23279
22854
|
"name": "default",
|
|
23280
22855
|
"declaration": {
|
|
23281
|
-
"name": "
|
|
23282
|
-
"module": "components/
|
|
22856
|
+
"name": "Listheader",
|
|
22857
|
+
"module": "components/listheader/listheader.component.js"
|
|
23283
22858
|
}
|
|
23284
22859
|
}
|
|
23285
22860
|
]
|
|
@@ -23858,6 +23433,435 @@
|
|
|
23858
23433
|
}
|
|
23859
23434
|
]
|
|
23860
23435
|
},
|
|
23436
|
+
{
|
|
23437
|
+
"kind": "javascript-module",
|
|
23438
|
+
"path": "components/marker/marker.component.js",
|
|
23439
|
+
"declarations": [
|
|
23440
|
+
{
|
|
23441
|
+
"kind": "class",
|
|
23442
|
+
"description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
|
23443
|
+
"name": "Marker",
|
|
23444
|
+
"cssProperties": [
|
|
23445
|
+
{
|
|
23446
|
+
"description": "Allows customization of the default background color in solid variant.",
|
|
23447
|
+
"name": "--mdc-marker-solid-background-color"
|
|
23448
|
+
},
|
|
23449
|
+
{
|
|
23450
|
+
"description": "Allows customization of the default stripes in striped variant.",
|
|
23451
|
+
"name": "--mdc-marker-striped-color"
|
|
23452
|
+
},
|
|
23453
|
+
{
|
|
23454
|
+
"description": "Allows customization of the default background color in striped variant.",
|
|
23455
|
+
"name": "--mdc-marker-striped-background-color"
|
|
23456
|
+
},
|
|
23457
|
+
{
|
|
23458
|
+
"description": "Allows customization of the default width.",
|
|
23459
|
+
"name": "--mdc-marker-width"
|
|
23460
|
+
}
|
|
23461
|
+
],
|
|
23462
|
+
"members": [
|
|
23463
|
+
{
|
|
23464
|
+
"kind": "field",
|
|
23465
|
+
"name": "variant",
|
|
23466
|
+
"type": {
|
|
23467
|
+
"text": "MarkerVariants"
|
|
23468
|
+
},
|
|
23469
|
+
"privacy": "public",
|
|
23470
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
|
23471
|
+
"default": "solid",
|
|
23472
|
+
"attribute": "variant",
|
|
23473
|
+
"reflects": true
|
|
23474
|
+
}
|
|
23475
|
+
],
|
|
23476
|
+
"attributes": [
|
|
23477
|
+
{
|
|
23478
|
+
"name": "variant",
|
|
23479
|
+
"type": {
|
|
23480
|
+
"text": "MarkerVariants"
|
|
23481
|
+
},
|
|
23482
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
|
23483
|
+
"default": "solid",
|
|
23484
|
+
"fieldName": "variant"
|
|
23485
|
+
}
|
|
23486
|
+
],
|
|
23487
|
+
"superclass": {
|
|
23488
|
+
"name": "Component",
|
|
23489
|
+
"module": "/src/models"
|
|
23490
|
+
},
|
|
23491
|
+
"tagName": "mdc-marker",
|
|
23492
|
+
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
|
23493
|
+
"customElement": true
|
|
23494
|
+
}
|
|
23495
|
+
],
|
|
23496
|
+
"exports": [
|
|
23497
|
+
{
|
|
23498
|
+
"kind": "js",
|
|
23499
|
+
"name": "default",
|
|
23500
|
+
"declaration": {
|
|
23501
|
+
"name": "Marker",
|
|
23502
|
+
"module": "components/marker/marker.component.js"
|
|
23503
|
+
}
|
|
23504
|
+
}
|
|
23505
|
+
]
|
|
23506
|
+
},
|
|
23507
|
+
{
|
|
23508
|
+
"kind": "javascript-module",
|
|
23509
|
+
"path": "components/menubar/menubar.component.js",
|
|
23510
|
+
"declarations": [
|
|
23511
|
+
{
|
|
23512
|
+
"kind": "class",
|
|
23513
|
+
"description": "Menubar is a navigational menu component that provides a vertical fixed list of menu items,\nwith support for nested submenus and keyboard navigation. It serves as a container\nfor menu items and manages their interaction patterns, including:\n- Keyboard navigation (Arrow keys, Home, End)\n- Menu item activation (Enter/Space)\n- Submenu toggling (Right/Left arrow keys)\n- Focus management\n- Integration with MenuPopover for nested menus\n\nA menubar will contain a set of menu items and their associated popovers.\nEach menu item can have a popover for nested menus.\n\nThe component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\nIt works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n\n**Note:** A menubar contains three types of menu items, including menuitem, menuitemradio and menuitemcheckbox. These menu items may optionally be nested in one or more group containers. Groups or items may optionally by separated with separator elements.\n\n`mdc-menubar` contains a group that wraps all its chilren passed within the default slot. This has been added to ensure the right accessibility behavior while using screen readers.",
|
|
23514
|
+
"name": "MenuBar",
|
|
23515
|
+
"slots": [
|
|
23516
|
+
{
|
|
23517
|
+
"description": "Contains the menu items and their associated popovers",
|
|
23518
|
+
"name": "default"
|
|
23519
|
+
}
|
|
23520
|
+
],
|
|
23521
|
+
"members": [
|
|
23522
|
+
{
|
|
23523
|
+
"kind": "field",
|
|
23524
|
+
"name": "menusections",
|
|
23525
|
+
"type": {
|
|
23526
|
+
"text": "Array<HTMLElement>"
|
|
23527
|
+
}
|
|
23528
|
+
},
|
|
23529
|
+
{
|
|
23530
|
+
"kind": "field",
|
|
23531
|
+
"name": "menuItems",
|
|
23532
|
+
"type": {
|
|
23533
|
+
"text": "Array<HTMLElement>"
|
|
23534
|
+
},
|
|
23535
|
+
"description": "Returns all menuitem elements, including those nested inside menusection.",
|
|
23536
|
+
"readonly": true
|
|
23537
|
+
},
|
|
23538
|
+
{
|
|
23539
|
+
"kind": "method",
|
|
23540
|
+
"name": "getAllPopovers",
|
|
23541
|
+
"privacy": "private",
|
|
23542
|
+
"return": {
|
|
23543
|
+
"type": {
|
|
23544
|
+
"text": "Element[]"
|
|
23545
|
+
}
|
|
23546
|
+
},
|
|
23547
|
+
"description": "Returns all menupopovers, including direct and slotted ones ."
|
|
23548
|
+
},
|
|
23549
|
+
{
|
|
23550
|
+
"kind": "method",
|
|
23551
|
+
"name": "handleClick",
|
|
23552
|
+
"privacy": "private",
|
|
23553
|
+
"return": {
|
|
23554
|
+
"type": {
|
|
23555
|
+
"text": "void"
|
|
23556
|
+
}
|
|
23557
|
+
},
|
|
23558
|
+
"parameters": [
|
|
23559
|
+
{
|
|
23560
|
+
"name": "event",
|
|
23561
|
+
"type": {
|
|
23562
|
+
"text": "MouseEvent"
|
|
23563
|
+
}
|
|
23564
|
+
},
|
|
23565
|
+
{
|
|
23566
|
+
"description": "The target menu item that was clicked.",
|
|
23567
|
+
"name": "target"
|
|
23568
|
+
}
|
|
23569
|
+
],
|
|
23570
|
+
"description": "Closes all other submenus on the top level.\nThis method is used to ensure that only one topolevel submenu is open at a time.\nIt finds all other menu items with submenus and closes their submenus."
|
|
23571
|
+
},
|
|
23572
|
+
{
|
|
23573
|
+
"kind": "method",
|
|
23574
|
+
"name": "resetTabIndexAndSetActiveTabIndex",
|
|
23575
|
+
"privacy": "private",
|
|
23576
|
+
"parameters": [
|
|
23577
|
+
{
|
|
23578
|
+
"name": "menuItems",
|
|
23579
|
+
"type": {
|
|
23580
|
+
"text": "Array<HTMLElement>"
|
|
23581
|
+
}
|
|
23582
|
+
},
|
|
23583
|
+
{
|
|
23584
|
+
"description": "The index of the new active element in the list.",
|
|
23585
|
+
"name": "newIndex"
|
|
23586
|
+
}
|
|
23587
|
+
],
|
|
23588
|
+
"description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
|
|
23589
|
+
},
|
|
23590
|
+
{
|
|
23591
|
+
"kind": "method",
|
|
23592
|
+
"name": "getCurrentIndex",
|
|
23593
|
+
"privacy": "private",
|
|
23594
|
+
"return": {
|
|
23595
|
+
"type": {
|
|
23596
|
+
"text": "number"
|
|
23597
|
+
}
|
|
23598
|
+
},
|
|
23599
|
+
"parameters": [
|
|
23600
|
+
{
|
|
23601
|
+
"name": "target",
|
|
23602
|
+
"type": {
|
|
23603
|
+
"text": "EventTarget | null"
|
|
23604
|
+
}
|
|
23605
|
+
}
|
|
23606
|
+
]
|
|
23607
|
+
},
|
|
23608
|
+
{
|
|
23609
|
+
"kind": "method",
|
|
23610
|
+
"name": "getSubmenu",
|
|
23611
|
+
"privacy": "private",
|
|
23612
|
+
"return": {
|
|
23613
|
+
"type": {
|
|
23614
|
+
"text": "MenuPopover | undefined"
|
|
23615
|
+
}
|
|
23616
|
+
},
|
|
23617
|
+
"parameters": [
|
|
23618
|
+
{
|
|
23619
|
+
"name": "triggerId",
|
|
23620
|
+
"type": {
|
|
23621
|
+
"text": "string | null"
|
|
23622
|
+
}
|
|
23623
|
+
}
|
|
23624
|
+
]
|
|
23625
|
+
},
|
|
23626
|
+
{
|
|
23627
|
+
"kind": "method",
|
|
23628
|
+
"name": "showSubmenu",
|
|
23629
|
+
"privacy": "private",
|
|
23630
|
+
"return": {
|
|
23631
|
+
"type": {
|
|
23632
|
+
"text": "void"
|
|
23633
|
+
}
|
|
23634
|
+
},
|
|
23635
|
+
"parameters": [
|
|
23636
|
+
{
|
|
23637
|
+
"name": "triggerId",
|
|
23638
|
+
"type": {
|
|
23639
|
+
"text": "string | null"
|
|
23640
|
+
}
|
|
23641
|
+
}
|
|
23642
|
+
]
|
|
23643
|
+
},
|
|
23644
|
+
{
|
|
23645
|
+
"kind": "method",
|
|
23646
|
+
"name": "updatePopoverPlacement",
|
|
23647
|
+
"privacy": "private",
|
|
23648
|
+
"return": {
|
|
23649
|
+
"type": {
|
|
23650
|
+
"text": "void"
|
|
23651
|
+
}
|
|
23652
|
+
}
|
|
23653
|
+
},
|
|
23654
|
+
{
|
|
23655
|
+
"kind": "method",
|
|
23656
|
+
"name": "updateTabIndexAndFocus",
|
|
23657
|
+
"privacy": "private",
|
|
23658
|
+
"return": {
|
|
23659
|
+
"type": {
|
|
23660
|
+
"text": "void"
|
|
23661
|
+
}
|
|
23662
|
+
},
|
|
23663
|
+
"parameters": [
|
|
23664
|
+
{
|
|
23665
|
+
"name": "menuItems",
|
|
23666
|
+
"type": {
|
|
23667
|
+
"text": "HTMLElement[]"
|
|
23668
|
+
}
|
|
23669
|
+
},
|
|
23670
|
+
{
|
|
23671
|
+
"name": "currentIndex",
|
|
23672
|
+
"type": {
|
|
23673
|
+
"text": "number"
|
|
23674
|
+
}
|
|
23675
|
+
},
|
|
23676
|
+
{
|
|
23677
|
+
"name": "newIndex",
|
|
23678
|
+
"type": {
|
|
23679
|
+
"text": "number"
|
|
23680
|
+
}
|
|
23681
|
+
}
|
|
23682
|
+
]
|
|
23683
|
+
},
|
|
23684
|
+
{
|
|
23685
|
+
"kind": "method",
|
|
23686
|
+
"name": "navigateToMenuItem",
|
|
23687
|
+
"privacy": "private",
|
|
23688
|
+
"return": {
|
|
23689
|
+
"type": {
|
|
23690
|
+
"text": "void"
|
|
23691
|
+
}
|
|
23692
|
+
},
|
|
23693
|
+
"parameters": [
|
|
23694
|
+
{
|
|
23695
|
+
"name": "currentIndex",
|
|
23696
|
+
"type": {
|
|
23697
|
+
"text": "number"
|
|
23698
|
+
}
|
|
23699
|
+
},
|
|
23700
|
+
{
|
|
23701
|
+
"name": "direction",
|
|
23702
|
+
"type": {
|
|
23703
|
+
"text": "'prev' | 'next'"
|
|
23704
|
+
}
|
|
23705
|
+
},
|
|
23706
|
+
{
|
|
23707
|
+
"name": "shouldOpenSubmenu",
|
|
23708
|
+
"default": "false"
|
|
23709
|
+
}
|
|
23710
|
+
]
|
|
23711
|
+
},
|
|
23712
|
+
{
|
|
23713
|
+
"kind": "method",
|
|
23714
|
+
"name": "getKeyWithDirectionFix",
|
|
23715
|
+
"privacy": "private",
|
|
23716
|
+
"return": {
|
|
23717
|
+
"type": {
|
|
23718
|
+
"text": "string"
|
|
23719
|
+
}
|
|
23720
|
+
},
|
|
23721
|
+
"parameters": [
|
|
23722
|
+
{
|
|
23723
|
+
"name": "originalKey",
|
|
23724
|
+
"type": {
|
|
23725
|
+
"text": "string"
|
|
23726
|
+
}
|
|
23727
|
+
}
|
|
23728
|
+
]
|
|
23729
|
+
},
|
|
23730
|
+
{
|
|
23731
|
+
"kind": "method",
|
|
23732
|
+
"name": "isTopLevelMenuItem",
|
|
23733
|
+
"privacy": "private",
|
|
23734
|
+
"return": {
|
|
23735
|
+
"type": {
|
|
23736
|
+
"text": "boolean"
|
|
23737
|
+
}
|
|
23738
|
+
},
|
|
23739
|
+
"parameters": [
|
|
23740
|
+
{
|
|
23741
|
+
"name": "element",
|
|
23742
|
+
"type": {
|
|
23743
|
+
"text": "HTMLElement"
|
|
23744
|
+
}
|
|
23745
|
+
}
|
|
23746
|
+
],
|
|
23747
|
+
"description": "Determines if a menuitem is a top-level menuitem (direct child of menubar or child of menusection whose parent is menubar)"
|
|
23748
|
+
},
|
|
23749
|
+
{
|
|
23750
|
+
"kind": "method",
|
|
23751
|
+
"name": "isNestedMenuItem",
|
|
23752
|
+
"privacy": "private",
|
|
23753
|
+
"return": {
|
|
23754
|
+
"type": {
|
|
23755
|
+
"text": "boolean"
|
|
23756
|
+
}
|
|
23757
|
+
},
|
|
23758
|
+
"parameters": [
|
|
23759
|
+
{
|
|
23760
|
+
"name": "element",
|
|
23761
|
+
"type": {
|
|
23762
|
+
"text": "HTMLElement"
|
|
23763
|
+
}
|
|
23764
|
+
}
|
|
23765
|
+
]
|
|
23766
|
+
},
|
|
23767
|
+
{
|
|
23768
|
+
"kind": "method",
|
|
23769
|
+
"name": "closeAllMenuPopovers",
|
|
23770
|
+
"privacy": "private"
|
|
23771
|
+
},
|
|
23772
|
+
{
|
|
23773
|
+
"kind": "method",
|
|
23774
|
+
"name": "crossMenubarNavigationOnLeft",
|
|
23775
|
+
"privacy": "private",
|
|
23776
|
+
"return": {
|
|
23777
|
+
"type": {
|
|
23778
|
+
"text": "Promise<void>"
|
|
23779
|
+
}
|
|
23780
|
+
},
|
|
23781
|
+
"parameters": [
|
|
23782
|
+
{
|
|
23783
|
+
"name": "element",
|
|
23784
|
+
"type": {
|
|
23785
|
+
"text": "HTMLElement"
|
|
23786
|
+
}
|
|
23787
|
+
}
|
|
23788
|
+
]
|
|
23789
|
+
},
|
|
23790
|
+
{
|
|
23791
|
+
"kind": "method",
|
|
23792
|
+
"name": "crossMenubarNavigationOnRight",
|
|
23793
|
+
"privacy": "private",
|
|
23794
|
+
"return": {
|
|
23795
|
+
"type": {
|
|
23796
|
+
"text": "Promise<void>"
|
|
23797
|
+
}
|
|
23798
|
+
},
|
|
23799
|
+
"parameters": [
|
|
23800
|
+
{
|
|
23801
|
+
"name": "element",
|
|
23802
|
+
"type": {
|
|
23803
|
+
"text": "HTMLElement"
|
|
23804
|
+
}
|
|
23805
|
+
}
|
|
23806
|
+
]
|
|
23807
|
+
},
|
|
23808
|
+
{
|
|
23809
|
+
"kind": "method",
|
|
23810
|
+
"name": "getParentMenuItemIndex",
|
|
23811
|
+
"privacy": "private",
|
|
23812
|
+
"return": {
|
|
23813
|
+
"type": {
|
|
23814
|
+
"text": "number"
|
|
23815
|
+
}
|
|
23816
|
+
},
|
|
23817
|
+
"parameters": [
|
|
23818
|
+
{
|
|
23819
|
+
"name": "element",
|
|
23820
|
+
"type": {
|
|
23821
|
+
"text": "HTMLElement"
|
|
23822
|
+
}
|
|
23823
|
+
}
|
|
23824
|
+
]
|
|
23825
|
+
},
|
|
23826
|
+
{
|
|
23827
|
+
"kind": "method",
|
|
23828
|
+
"name": "handleKeyDown",
|
|
23829
|
+
"privacy": "private",
|
|
23830
|
+
"return": {
|
|
23831
|
+
"type": {
|
|
23832
|
+
"text": "Promise<void>"
|
|
23833
|
+
}
|
|
23834
|
+
},
|
|
23835
|
+
"parameters": [
|
|
23836
|
+
{
|
|
23837
|
+
"name": "event",
|
|
23838
|
+
"type": {
|
|
23839
|
+
"text": "KeyboardEvent"
|
|
23840
|
+
}
|
|
23841
|
+
}
|
|
23842
|
+
]
|
|
23843
|
+
}
|
|
23844
|
+
],
|
|
23845
|
+
"superclass": {
|
|
23846
|
+
"name": "Component",
|
|
23847
|
+
"module": "/src/models"
|
|
23848
|
+
},
|
|
23849
|
+
"tagName": "mdc-menubar",
|
|
23850
|
+
"jsDoc": "/**\n * Menubar is a navigational menu component that provides a vertical fixed list of menu items,\n * with support for nested submenus and keyboard navigation. It serves as a container\n * for menu items and manages their interaction patterns, including:\n * - Keyboard navigation (Arrow keys, Home, End)\n * - Menu item activation (Enter/Space)\n * - Submenu toggling (Right/Left arrow keys)\n * - Focus management\n * - Integration with MenuPopover for nested menus\n *\n * A menubar will contain a set of menu items and their associated popovers.\n * Each menu item can have a popover for nested menus.\n *\n * The component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\n * It works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n *\n * **Note:** A menubar contains three types of menu items, including menuitem, menuitemradio and menuitemcheckbox. These menu items may optionally be nested in one or more group containers. Groups or items may optionally by separated with separator elements.\n *\n * `mdc-menubar` contains a group that wraps all its chilren passed within the default slot. This has been added to ensure the right accessibility behavior while using screen readers.\n *\n * @tagname mdc-menubar\n * @slot default - Contains the menu items and their associated popovers\n */",
|
|
23851
|
+
"customElement": true
|
|
23852
|
+
}
|
|
23853
|
+
],
|
|
23854
|
+
"exports": [
|
|
23855
|
+
{
|
|
23856
|
+
"kind": "js",
|
|
23857
|
+
"name": "default",
|
|
23858
|
+
"declaration": {
|
|
23859
|
+
"name": "MenuBar",
|
|
23860
|
+
"module": "components/menubar/menubar.component.js"
|
|
23861
|
+
}
|
|
23862
|
+
}
|
|
23863
|
+
]
|
|
23864
|
+
},
|
|
23861
23865
|
{
|
|
23862
23866
|
"kind": "javascript-module",
|
|
23863
23867
|
"path": "components/menuitem/menuitem.component.js",
|
|
@@ -48030,396 +48034,6 @@
|
|
|
48030
48034
|
}
|
|
48031
48035
|
]
|
|
48032
48036
|
},
|
|
48033
|
-
{
|
|
48034
|
-
"kind": "javascript-module",
|
|
48035
|
-
"path": "components/toast/toast.component.js",
|
|
48036
|
-
"declarations": [
|
|
48037
|
-
{
|
|
48038
|
-
"kind": "class",
|
|
48039
|
-
"description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
|
|
48040
|
-
"name": "Toast",
|
|
48041
|
-
"cssProperties": [
|
|
48042
|
-
{
|
|
48043
|
-
"description": "Background color of the toast.",
|
|
48044
|
-
"name": "--mdc-toast-background-color"
|
|
48045
|
-
},
|
|
48046
|
-
{
|
|
48047
|
-
"description": "Border color of the toast.",
|
|
48048
|
-
"name": "--mdc-toast-border-color"
|
|
48049
|
-
},
|
|
48050
|
-
{
|
|
48051
|
-
"description": "Color of the header text in the toast.",
|
|
48052
|
-
"name": "--mdc-toast-header-text-color"
|
|
48053
|
-
},
|
|
48054
|
-
{
|
|
48055
|
-
"description": "Color of the icon in the toast.",
|
|
48056
|
-
"name": "--mdc-toast-icon-color"
|
|
48057
|
-
},
|
|
48058
|
-
{
|
|
48059
|
-
"description": "Elevation effect applied to the toast.",
|
|
48060
|
-
"name": "--mdc-toast-elevation-3"
|
|
48061
|
-
},
|
|
48062
|
-
{
|
|
48063
|
-
"description": "Width of the toast.",
|
|
48064
|
-
"name": "--mdc-toast-width"
|
|
48065
|
-
},
|
|
48066
|
-
{
|
|
48067
|
-
"description": "Padding inside the toast.",
|
|
48068
|
-
"name": "--mdc-toast-padding"
|
|
48069
|
-
}
|
|
48070
|
-
],
|
|
48071
|
-
"cssParts": [
|
|
48072
|
-
{
|
|
48073
|
-
"description": "The container for the toast's main content, including icon, text, and close button.",
|
|
48074
|
-
"name": "content-container"
|
|
48075
|
-
},
|
|
48076
|
-
{
|
|
48077
|
-
"description": "The icon shown at the start of the toast, styled by variant.",
|
|
48078
|
-
"name": "toast-prefix-icon"
|
|
48079
|
-
},
|
|
48080
|
-
{
|
|
48081
|
-
"description": "The container for the header and body content of the toast.",
|
|
48082
|
-
"name": "toast-content"
|
|
48083
|
-
},
|
|
48084
|
-
{
|
|
48085
|
-
"description": "The header text of the toast.",
|
|
48086
|
-
"name": "toast-header"
|
|
48087
|
-
},
|
|
48088
|
-
{
|
|
48089
|
-
"description": "The container for the toast's footer, including toggle and action buttons.",
|
|
48090
|
-
"name": "footer"
|
|
48091
|
-
},
|
|
48092
|
-
{
|
|
48093
|
-
"description": "The toggle button for showing/hiding detailed content.",
|
|
48094
|
-
"name": "footer-button-toggle"
|
|
48095
|
-
},
|
|
48096
|
-
{
|
|
48097
|
-
"description": "The close button for the toast.",
|
|
48098
|
-
"name": "toast-close-btn"
|
|
48099
|
-
},
|
|
48100
|
-
{
|
|
48101
|
-
"description": "Applied to the footer when it contains buttons or a toggle button.",
|
|
48102
|
-
"name": "has-footer-buttons"
|
|
48103
|
-
}
|
|
48104
|
-
],
|
|
48105
|
-
"slots": [
|
|
48106
|
-
{
|
|
48107
|
-
"description": "Slot for custom content before the icon (only for custom variant).",
|
|
48108
|
-
"name": "content-prefix"
|
|
48109
|
-
},
|
|
48110
|
-
{
|
|
48111
|
-
"description": "Slot for the main body content of the toast.",
|
|
48112
|
-
"name": "toast-body-normal"
|
|
48113
|
-
},
|
|
48114
|
-
{
|
|
48115
|
-
"description": "Slot for additional detailed content, shown when expanded.",
|
|
48116
|
-
"name": "toast-body-detailed"
|
|
48117
|
-
},
|
|
48118
|
-
{
|
|
48119
|
-
"description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
|
|
48120
|
-
"name": "footer"
|
|
48121
|
-
},
|
|
48122
|
-
{
|
|
48123
|
-
"description": "Slot for passing the primary variant of `mdc-button` in the footer.",
|
|
48124
|
-
"name": "footer-button-primary"
|
|
48125
|
-
},
|
|
48126
|
-
{
|
|
48127
|
-
"description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
|
|
48128
|
-
"name": "footer-button-secondary"
|
|
48129
|
-
}
|
|
48130
|
-
],
|
|
48131
|
-
"members": [
|
|
48132
|
-
{
|
|
48133
|
-
"kind": "field",
|
|
48134
|
-
"name": "variant",
|
|
48135
|
-
"type": {
|
|
48136
|
-
"text": "ToastVariant"
|
|
48137
|
-
},
|
|
48138
|
-
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
48139
|
-
"default": "'custom'",
|
|
48140
|
-
"attribute": "variant",
|
|
48141
|
-
"reflects": true
|
|
48142
|
-
},
|
|
48143
|
-
{
|
|
48144
|
-
"kind": "field",
|
|
48145
|
-
"name": "closeButtonAriaLabel",
|
|
48146
|
-
"type": {
|
|
48147
|
-
"text": "string | undefined"
|
|
48148
|
-
},
|
|
48149
|
-
"description": "Defines aria-label attribute for close button accessibility",
|
|
48150
|
-
"attribute": "close-button-aria-label"
|
|
48151
|
-
},
|
|
48152
|
-
{
|
|
48153
|
-
"kind": "field",
|
|
48154
|
-
"name": "headerText",
|
|
48155
|
-
"type": {
|
|
48156
|
-
"text": "string | undefined"
|
|
48157
|
-
},
|
|
48158
|
-
"description": "Defines a string value to display as the title of the toast",
|
|
48159
|
-
"attribute": "header-text",
|
|
48160
|
-
"reflects": true
|
|
48161
|
-
},
|
|
48162
|
-
{
|
|
48163
|
-
"kind": "field",
|
|
48164
|
-
"name": "headerTagName",
|
|
48165
|
-
"type": {
|
|
48166
|
-
"text": "TagName"
|
|
48167
|
-
},
|
|
48168
|
-
"description": "The html tag to be used for the header text",
|
|
48169
|
-
"default": "'h2'",
|
|
48170
|
-
"attribute": "header-tag-name",
|
|
48171
|
-
"reflects": true
|
|
48172
|
-
},
|
|
48173
|
-
{
|
|
48174
|
-
"kind": "field",
|
|
48175
|
-
"name": "ariaLabel",
|
|
48176
|
-
"type": {
|
|
48177
|
-
"text": "string | null"
|
|
48178
|
-
},
|
|
48179
|
-
"default": "null",
|
|
48180
|
-
"description": "Defines aria-label attribute when header is not used",
|
|
48181
|
-
"attribute": "aria-label",
|
|
48182
|
-
"reflects": true
|
|
48183
|
-
},
|
|
48184
|
-
{
|
|
48185
|
-
"kind": "field",
|
|
48186
|
-
"name": "showMoreText",
|
|
48187
|
-
"type": {
|
|
48188
|
-
"text": "string | undefined"
|
|
48189
|
-
},
|
|
48190
|
-
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
48191
|
-
"attribute": "show-more-text",
|
|
48192
|
-
"reflects": true
|
|
48193
|
-
},
|
|
48194
|
-
{
|
|
48195
|
-
"kind": "field",
|
|
48196
|
-
"name": "showLessText",
|
|
48197
|
-
"type": {
|
|
48198
|
-
"text": "string | undefined"
|
|
48199
|
-
},
|
|
48200
|
-
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
48201
|
-
"attribute": "show-less-text",
|
|
48202
|
-
"reflects": true
|
|
48203
|
-
},
|
|
48204
|
-
{
|
|
48205
|
-
"kind": "field",
|
|
48206
|
-
"name": "isDetailVisible",
|
|
48207
|
-
"type": {
|
|
48208
|
-
"text": "boolean"
|
|
48209
|
-
},
|
|
48210
|
-
"privacy": "private",
|
|
48211
|
-
"default": "false"
|
|
48212
|
-
},
|
|
48213
|
-
{
|
|
48214
|
-
"kind": "field",
|
|
48215
|
-
"name": "hasDetailedSlot",
|
|
48216
|
-
"type": {
|
|
48217
|
-
"text": "boolean"
|
|
48218
|
-
},
|
|
48219
|
-
"privacy": "private",
|
|
48220
|
-
"default": "false"
|
|
48221
|
-
},
|
|
48222
|
-
{
|
|
48223
|
-
"kind": "field",
|
|
48224
|
-
"name": "detailedElements",
|
|
48225
|
-
"type": {
|
|
48226
|
-
"text": "HTMLElement[]"
|
|
48227
|
-
},
|
|
48228
|
-
"privacy": "private"
|
|
48229
|
-
},
|
|
48230
|
-
{
|
|
48231
|
-
"kind": "field",
|
|
48232
|
-
"name": "hasFooterButtons",
|
|
48233
|
-
"type": {
|
|
48234
|
-
"text": "string"
|
|
48235
|
-
},
|
|
48236
|
-
"privacy": "private",
|
|
48237
|
-
"default": "''"
|
|
48238
|
-
},
|
|
48239
|
-
{
|
|
48240
|
-
"kind": "method",
|
|
48241
|
-
"name": "closeToast",
|
|
48242
|
-
"privacy": "private",
|
|
48243
|
-
"description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
|
|
48244
|
-
},
|
|
48245
|
-
{
|
|
48246
|
-
"kind": "method",
|
|
48247
|
-
"name": "toggleDetailVisibility",
|
|
48248
|
-
"privacy": "private"
|
|
48249
|
-
},
|
|
48250
|
-
{
|
|
48251
|
-
"kind": "method",
|
|
48252
|
-
"name": "updateDetailedSlotPresence",
|
|
48253
|
-
"privacy": "private"
|
|
48254
|
-
},
|
|
48255
|
-
{
|
|
48256
|
-
"kind": "method",
|
|
48257
|
-
"name": "updateFooterButtonsPresence",
|
|
48258
|
-
"privacy": "private"
|
|
48259
|
-
},
|
|
48260
|
-
{
|
|
48261
|
-
"kind": "method",
|
|
48262
|
-
"name": "renderIcon",
|
|
48263
|
-
"privacy": "protected",
|
|
48264
|
-
"parameters": [
|
|
48265
|
-
{
|
|
48266
|
-
"name": "iconName",
|
|
48267
|
-
"type": {
|
|
48268
|
-
"text": "string"
|
|
48269
|
-
}
|
|
48270
|
-
}
|
|
48271
|
-
]
|
|
48272
|
-
},
|
|
48273
|
-
{
|
|
48274
|
-
"kind": "method",
|
|
48275
|
-
"name": "shouldRenderToggleButton",
|
|
48276
|
-
"privacy": "private"
|
|
48277
|
-
},
|
|
48278
|
-
{
|
|
48279
|
-
"kind": "method",
|
|
48280
|
-
"name": "renderToggleDetailButton",
|
|
48281
|
-
"privacy": "private"
|
|
48282
|
-
},
|
|
48283
|
-
{
|
|
48284
|
-
"kind": "method",
|
|
48285
|
-
"name": "renderHeader",
|
|
48286
|
-
"privacy": "protected"
|
|
48287
|
-
},
|
|
48288
|
-
{
|
|
48289
|
-
"kind": "method",
|
|
48290
|
-
"name": "handleFooterSlot",
|
|
48291
|
-
"privacy": "protected",
|
|
48292
|
-
"return": {
|
|
48293
|
-
"type": {
|
|
48294
|
-
"text": "void"
|
|
48295
|
-
}
|
|
48296
|
-
},
|
|
48297
|
-
"parameters": [
|
|
48298
|
-
{
|
|
48299
|
-
"name": "tagname",
|
|
48300
|
-
"type": {
|
|
48301
|
-
"text": "string"
|
|
48302
|
-
}
|
|
48303
|
-
},
|
|
48304
|
-
{
|
|
48305
|
-
"name": "variant",
|
|
48306
|
-
"optional": true,
|
|
48307
|
-
"type": {
|
|
48308
|
-
"text": "string | undefined"
|
|
48309
|
-
}
|
|
48310
|
-
}
|
|
48311
|
-
]
|
|
48312
|
-
},
|
|
48313
|
-
{
|
|
48314
|
-
"kind": "method",
|
|
48315
|
-
"name": "renderFooter",
|
|
48316
|
-
"privacy": "protected",
|
|
48317
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
48318
|
-
"return": {
|
|
48319
|
-
"type": {
|
|
48320
|
-
"text": ""
|
|
48321
|
-
}
|
|
48322
|
-
},
|
|
48323
|
-
"inheritedFrom": {
|
|
48324
|
-
"name": "FooterMixin",
|
|
48325
|
-
"module": "utils/mixins/FooterMixin.js"
|
|
48326
|
-
}
|
|
48327
|
-
}
|
|
48328
|
-
],
|
|
48329
|
-
"events": [
|
|
48330
|
-
{
|
|
48331
|
-
"description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
|
|
48332
|
-
"name": "close",
|
|
48333
|
-
"reactName": "onClose"
|
|
48334
|
-
}
|
|
48335
|
-
],
|
|
48336
|
-
"attributes": [
|
|
48337
|
-
{
|
|
48338
|
-
"name": "variant",
|
|
48339
|
-
"type": {
|
|
48340
|
-
"text": "ToastVariant"
|
|
48341
|
-
},
|
|
48342
|
-
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
48343
|
-
"default": "'custom'",
|
|
48344
|
-
"fieldName": "variant"
|
|
48345
|
-
},
|
|
48346
|
-
{
|
|
48347
|
-
"name": "close-button-aria-label",
|
|
48348
|
-
"type": {
|
|
48349
|
-
"text": "string | undefined"
|
|
48350
|
-
},
|
|
48351
|
-
"description": "Defines aria-label attribute for close button accessibility",
|
|
48352
|
-
"fieldName": "closeButtonAriaLabel"
|
|
48353
|
-
},
|
|
48354
|
-
{
|
|
48355
|
-
"name": "header-text",
|
|
48356
|
-
"type": {
|
|
48357
|
-
"text": "string | undefined"
|
|
48358
|
-
},
|
|
48359
|
-
"description": "Defines a string value to display as the title of the toast",
|
|
48360
|
-
"fieldName": "headerText"
|
|
48361
|
-
},
|
|
48362
|
-
{
|
|
48363
|
-
"name": "header-tag-name",
|
|
48364
|
-
"type": {
|
|
48365
|
-
"text": "TagName"
|
|
48366
|
-
},
|
|
48367
|
-
"description": "The html tag to be used for the header text",
|
|
48368
|
-
"default": "'h2'",
|
|
48369
|
-
"fieldName": "headerTagName"
|
|
48370
|
-
},
|
|
48371
|
-
{
|
|
48372
|
-
"name": "aria-label",
|
|
48373
|
-
"type": {
|
|
48374
|
-
"text": "string | null"
|
|
48375
|
-
},
|
|
48376
|
-
"default": "null",
|
|
48377
|
-
"description": "Defines aria-label attribute when header is not used",
|
|
48378
|
-
"fieldName": "ariaLabel"
|
|
48379
|
-
},
|
|
48380
|
-
{
|
|
48381
|
-
"name": "show-more-text",
|
|
48382
|
-
"type": {
|
|
48383
|
-
"text": "string | undefined"
|
|
48384
|
-
},
|
|
48385
|
-
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
48386
|
-
"fieldName": "showMoreText"
|
|
48387
|
-
},
|
|
48388
|
-
{
|
|
48389
|
-
"name": "show-less-text",
|
|
48390
|
-
"type": {
|
|
48391
|
-
"text": "string | undefined"
|
|
48392
|
-
},
|
|
48393
|
-
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
48394
|
-
"fieldName": "showLessText"
|
|
48395
|
-
}
|
|
48396
|
-
],
|
|
48397
|
-
"mixins": [
|
|
48398
|
-
{
|
|
48399
|
-
"name": "FooterMixin",
|
|
48400
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
48401
|
-
}
|
|
48402
|
-
],
|
|
48403
|
-
"superclass": {
|
|
48404
|
-
"name": "Component",
|
|
48405
|
-
"module": "/src/models"
|
|
48406
|
-
},
|
|
48407
|
-
"tagName": "mdc-toast",
|
|
48408
|
-
"jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
|
|
48409
|
-
"customElement": true
|
|
48410
|
-
}
|
|
48411
|
-
],
|
|
48412
|
-
"exports": [
|
|
48413
|
-
{
|
|
48414
|
-
"kind": "js",
|
|
48415
|
-
"name": "default",
|
|
48416
|
-
"declaration": {
|
|
48417
|
-
"name": "Toast",
|
|
48418
|
-
"module": "components/toast/toast.component.js"
|
|
48419
|
-
}
|
|
48420
|
-
}
|
|
48421
|
-
]
|
|
48422
|
-
},
|
|
48423
48037
|
{
|
|
48424
48038
|
"kind": "javascript-module",
|
|
48425
48039
|
"path": "components/toggle/toggle.component.js",
|
|
@@ -49368,6 +48982,396 @@
|
|
|
49368
48982
|
}
|
|
49369
48983
|
]
|
|
49370
48984
|
},
|
|
48985
|
+
{
|
|
48986
|
+
"kind": "javascript-module",
|
|
48987
|
+
"path": "components/toast/toast.component.js",
|
|
48988
|
+
"declarations": [
|
|
48989
|
+
{
|
|
48990
|
+
"kind": "class",
|
|
48991
|
+
"description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
|
|
48992
|
+
"name": "Toast",
|
|
48993
|
+
"cssProperties": [
|
|
48994
|
+
{
|
|
48995
|
+
"description": "Background color of the toast.",
|
|
48996
|
+
"name": "--mdc-toast-background-color"
|
|
48997
|
+
},
|
|
48998
|
+
{
|
|
48999
|
+
"description": "Border color of the toast.",
|
|
49000
|
+
"name": "--mdc-toast-border-color"
|
|
49001
|
+
},
|
|
49002
|
+
{
|
|
49003
|
+
"description": "Color of the header text in the toast.",
|
|
49004
|
+
"name": "--mdc-toast-header-text-color"
|
|
49005
|
+
},
|
|
49006
|
+
{
|
|
49007
|
+
"description": "Color of the icon in the toast.",
|
|
49008
|
+
"name": "--mdc-toast-icon-color"
|
|
49009
|
+
},
|
|
49010
|
+
{
|
|
49011
|
+
"description": "Elevation effect applied to the toast.",
|
|
49012
|
+
"name": "--mdc-toast-elevation-3"
|
|
49013
|
+
},
|
|
49014
|
+
{
|
|
49015
|
+
"description": "Width of the toast.",
|
|
49016
|
+
"name": "--mdc-toast-width"
|
|
49017
|
+
},
|
|
49018
|
+
{
|
|
49019
|
+
"description": "Padding inside the toast.",
|
|
49020
|
+
"name": "--mdc-toast-padding"
|
|
49021
|
+
}
|
|
49022
|
+
],
|
|
49023
|
+
"cssParts": [
|
|
49024
|
+
{
|
|
49025
|
+
"description": "The container for the toast's main content, including icon, text, and close button.",
|
|
49026
|
+
"name": "content-container"
|
|
49027
|
+
},
|
|
49028
|
+
{
|
|
49029
|
+
"description": "The icon shown at the start of the toast, styled by variant.",
|
|
49030
|
+
"name": "toast-prefix-icon"
|
|
49031
|
+
},
|
|
49032
|
+
{
|
|
49033
|
+
"description": "The container for the header and body content of the toast.",
|
|
49034
|
+
"name": "toast-content"
|
|
49035
|
+
},
|
|
49036
|
+
{
|
|
49037
|
+
"description": "The header text of the toast.",
|
|
49038
|
+
"name": "toast-header"
|
|
49039
|
+
},
|
|
49040
|
+
{
|
|
49041
|
+
"description": "The container for the toast's footer, including toggle and action buttons.",
|
|
49042
|
+
"name": "footer"
|
|
49043
|
+
},
|
|
49044
|
+
{
|
|
49045
|
+
"description": "The toggle button for showing/hiding detailed content.",
|
|
49046
|
+
"name": "footer-button-toggle"
|
|
49047
|
+
},
|
|
49048
|
+
{
|
|
49049
|
+
"description": "The close button for the toast.",
|
|
49050
|
+
"name": "toast-close-btn"
|
|
49051
|
+
},
|
|
49052
|
+
{
|
|
49053
|
+
"description": "Applied to the footer when it contains buttons or a toggle button.",
|
|
49054
|
+
"name": "has-footer-buttons"
|
|
49055
|
+
}
|
|
49056
|
+
],
|
|
49057
|
+
"slots": [
|
|
49058
|
+
{
|
|
49059
|
+
"description": "Slot for custom content before the icon (only for custom variant).",
|
|
49060
|
+
"name": "content-prefix"
|
|
49061
|
+
},
|
|
49062
|
+
{
|
|
49063
|
+
"description": "Slot for the main body content of the toast.",
|
|
49064
|
+
"name": "toast-body-normal"
|
|
49065
|
+
},
|
|
49066
|
+
{
|
|
49067
|
+
"description": "Slot for additional detailed content, shown when expanded.",
|
|
49068
|
+
"name": "toast-body-detailed"
|
|
49069
|
+
},
|
|
49070
|
+
{
|
|
49071
|
+
"description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
|
|
49072
|
+
"name": "footer"
|
|
49073
|
+
},
|
|
49074
|
+
{
|
|
49075
|
+
"description": "Slot for passing the primary variant of `mdc-button` in the footer.",
|
|
49076
|
+
"name": "footer-button-primary"
|
|
49077
|
+
},
|
|
49078
|
+
{
|
|
49079
|
+
"description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
|
|
49080
|
+
"name": "footer-button-secondary"
|
|
49081
|
+
}
|
|
49082
|
+
],
|
|
49083
|
+
"members": [
|
|
49084
|
+
{
|
|
49085
|
+
"kind": "field",
|
|
49086
|
+
"name": "variant",
|
|
49087
|
+
"type": {
|
|
49088
|
+
"text": "ToastVariant"
|
|
49089
|
+
},
|
|
49090
|
+
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
49091
|
+
"default": "'custom'",
|
|
49092
|
+
"attribute": "variant",
|
|
49093
|
+
"reflects": true
|
|
49094
|
+
},
|
|
49095
|
+
{
|
|
49096
|
+
"kind": "field",
|
|
49097
|
+
"name": "closeButtonAriaLabel",
|
|
49098
|
+
"type": {
|
|
49099
|
+
"text": "string | undefined"
|
|
49100
|
+
},
|
|
49101
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
|
49102
|
+
"attribute": "close-button-aria-label"
|
|
49103
|
+
},
|
|
49104
|
+
{
|
|
49105
|
+
"kind": "field",
|
|
49106
|
+
"name": "headerText",
|
|
49107
|
+
"type": {
|
|
49108
|
+
"text": "string | undefined"
|
|
49109
|
+
},
|
|
49110
|
+
"description": "Defines a string value to display as the title of the toast",
|
|
49111
|
+
"attribute": "header-text",
|
|
49112
|
+
"reflects": true
|
|
49113
|
+
},
|
|
49114
|
+
{
|
|
49115
|
+
"kind": "field",
|
|
49116
|
+
"name": "headerTagName",
|
|
49117
|
+
"type": {
|
|
49118
|
+
"text": "TagName"
|
|
49119
|
+
},
|
|
49120
|
+
"description": "The html tag to be used for the header text",
|
|
49121
|
+
"default": "'h2'",
|
|
49122
|
+
"attribute": "header-tag-name",
|
|
49123
|
+
"reflects": true
|
|
49124
|
+
},
|
|
49125
|
+
{
|
|
49126
|
+
"kind": "field",
|
|
49127
|
+
"name": "ariaLabel",
|
|
49128
|
+
"type": {
|
|
49129
|
+
"text": "string | null"
|
|
49130
|
+
},
|
|
49131
|
+
"default": "null",
|
|
49132
|
+
"description": "Defines aria-label attribute when header is not used",
|
|
49133
|
+
"attribute": "aria-label",
|
|
49134
|
+
"reflects": true
|
|
49135
|
+
},
|
|
49136
|
+
{
|
|
49137
|
+
"kind": "field",
|
|
49138
|
+
"name": "showMoreText",
|
|
49139
|
+
"type": {
|
|
49140
|
+
"text": "string | undefined"
|
|
49141
|
+
},
|
|
49142
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
49143
|
+
"attribute": "show-more-text",
|
|
49144
|
+
"reflects": true
|
|
49145
|
+
},
|
|
49146
|
+
{
|
|
49147
|
+
"kind": "field",
|
|
49148
|
+
"name": "showLessText",
|
|
49149
|
+
"type": {
|
|
49150
|
+
"text": "string | undefined"
|
|
49151
|
+
},
|
|
49152
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
49153
|
+
"attribute": "show-less-text",
|
|
49154
|
+
"reflects": true
|
|
49155
|
+
},
|
|
49156
|
+
{
|
|
49157
|
+
"kind": "field",
|
|
49158
|
+
"name": "isDetailVisible",
|
|
49159
|
+
"type": {
|
|
49160
|
+
"text": "boolean"
|
|
49161
|
+
},
|
|
49162
|
+
"privacy": "private",
|
|
49163
|
+
"default": "false"
|
|
49164
|
+
},
|
|
49165
|
+
{
|
|
49166
|
+
"kind": "field",
|
|
49167
|
+
"name": "hasDetailedSlot",
|
|
49168
|
+
"type": {
|
|
49169
|
+
"text": "boolean"
|
|
49170
|
+
},
|
|
49171
|
+
"privacy": "private",
|
|
49172
|
+
"default": "false"
|
|
49173
|
+
},
|
|
49174
|
+
{
|
|
49175
|
+
"kind": "field",
|
|
49176
|
+
"name": "detailedElements",
|
|
49177
|
+
"type": {
|
|
49178
|
+
"text": "HTMLElement[]"
|
|
49179
|
+
},
|
|
49180
|
+
"privacy": "private"
|
|
49181
|
+
},
|
|
49182
|
+
{
|
|
49183
|
+
"kind": "field",
|
|
49184
|
+
"name": "hasFooterButtons",
|
|
49185
|
+
"type": {
|
|
49186
|
+
"text": "string"
|
|
49187
|
+
},
|
|
49188
|
+
"privacy": "private",
|
|
49189
|
+
"default": "''"
|
|
49190
|
+
},
|
|
49191
|
+
{
|
|
49192
|
+
"kind": "method",
|
|
49193
|
+
"name": "closeToast",
|
|
49194
|
+
"privacy": "private",
|
|
49195
|
+
"description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
|
|
49196
|
+
},
|
|
49197
|
+
{
|
|
49198
|
+
"kind": "method",
|
|
49199
|
+
"name": "toggleDetailVisibility",
|
|
49200
|
+
"privacy": "private"
|
|
49201
|
+
},
|
|
49202
|
+
{
|
|
49203
|
+
"kind": "method",
|
|
49204
|
+
"name": "updateDetailedSlotPresence",
|
|
49205
|
+
"privacy": "private"
|
|
49206
|
+
},
|
|
49207
|
+
{
|
|
49208
|
+
"kind": "method",
|
|
49209
|
+
"name": "updateFooterButtonsPresence",
|
|
49210
|
+
"privacy": "private"
|
|
49211
|
+
},
|
|
49212
|
+
{
|
|
49213
|
+
"kind": "method",
|
|
49214
|
+
"name": "renderIcon",
|
|
49215
|
+
"privacy": "protected",
|
|
49216
|
+
"parameters": [
|
|
49217
|
+
{
|
|
49218
|
+
"name": "iconName",
|
|
49219
|
+
"type": {
|
|
49220
|
+
"text": "string"
|
|
49221
|
+
}
|
|
49222
|
+
}
|
|
49223
|
+
]
|
|
49224
|
+
},
|
|
49225
|
+
{
|
|
49226
|
+
"kind": "method",
|
|
49227
|
+
"name": "shouldRenderToggleButton",
|
|
49228
|
+
"privacy": "private"
|
|
49229
|
+
},
|
|
49230
|
+
{
|
|
49231
|
+
"kind": "method",
|
|
49232
|
+
"name": "renderToggleDetailButton",
|
|
49233
|
+
"privacy": "private"
|
|
49234
|
+
},
|
|
49235
|
+
{
|
|
49236
|
+
"kind": "method",
|
|
49237
|
+
"name": "renderHeader",
|
|
49238
|
+
"privacy": "protected"
|
|
49239
|
+
},
|
|
49240
|
+
{
|
|
49241
|
+
"kind": "method",
|
|
49242
|
+
"name": "handleFooterSlot",
|
|
49243
|
+
"privacy": "protected",
|
|
49244
|
+
"return": {
|
|
49245
|
+
"type": {
|
|
49246
|
+
"text": "void"
|
|
49247
|
+
}
|
|
49248
|
+
},
|
|
49249
|
+
"parameters": [
|
|
49250
|
+
{
|
|
49251
|
+
"name": "tagname",
|
|
49252
|
+
"type": {
|
|
49253
|
+
"text": "string"
|
|
49254
|
+
}
|
|
49255
|
+
},
|
|
49256
|
+
{
|
|
49257
|
+
"name": "variant",
|
|
49258
|
+
"optional": true,
|
|
49259
|
+
"type": {
|
|
49260
|
+
"text": "string | undefined"
|
|
49261
|
+
}
|
|
49262
|
+
}
|
|
49263
|
+
]
|
|
49264
|
+
},
|
|
49265
|
+
{
|
|
49266
|
+
"kind": "method",
|
|
49267
|
+
"name": "renderFooter",
|
|
49268
|
+
"privacy": "protected",
|
|
49269
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
49270
|
+
"return": {
|
|
49271
|
+
"type": {
|
|
49272
|
+
"text": ""
|
|
49273
|
+
}
|
|
49274
|
+
},
|
|
49275
|
+
"inheritedFrom": {
|
|
49276
|
+
"name": "FooterMixin",
|
|
49277
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
49278
|
+
}
|
|
49279
|
+
}
|
|
49280
|
+
],
|
|
49281
|
+
"events": [
|
|
49282
|
+
{
|
|
49283
|
+
"description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
|
|
49284
|
+
"name": "close",
|
|
49285
|
+
"reactName": "onClose"
|
|
49286
|
+
}
|
|
49287
|
+
],
|
|
49288
|
+
"attributes": [
|
|
49289
|
+
{
|
|
49290
|
+
"name": "variant",
|
|
49291
|
+
"type": {
|
|
49292
|
+
"text": "ToastVariant"
|
|
49293
|
+
},
|
|
49294
|
+
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
49295
|
+
"default": "'custom'",
|
|
49296
|
+
"fieldName": "variant"
|
|
49297
|
+
},
|
|
49298
|
+
{
|
|
49299
|
+
"name": "close-button-aria-label",
|
|
49300
|
+
"type": {
|
|
49301
|
+
"text": "string | undefined"
|
|
49302
|
+
},
|
|
49303
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
|
49304
|
+
"fieldName": "closeButtonAriaLabel"
|
|
49305
|
+
},
|
|
49306
|
+
{
|
|
49307
|
+
"name": "header-text",
|
|
49308
|
+
"type": {
|
|
49309
|
+
"text": "string | undefined"
|
|
49310
|
+
},
|
|
49311
|
+
"description": "Defines a string value to display as the title of the toast",
|
|
49312
|
+
"fieldName": "headerText"
|
|
49313
|
+
},
|
|
49314
|
+
{
|
|
49315
|
+
"name": "header-tag-name",
|
|
49316
|
+
"type": {
|
|
49317
|
+
"text": "TagName"
|
|
49318
|
+
},
|
|
49319
|
+
"description": "The html tag to be used for the header text",
|
|
49320
|
+
"default": "'h2'",
|
|
49321
|
+
"fieldName": "headerTagName"
|
|
49322
|
+
},
|
|
49323
|
+
{
|
|
49324
|
+
"name": "aria-label",
|
|
49325
|
+
"type": {
|
|
49326
|
+
"text": "string | null"
|
|
49327
|
+
},
|
|
49328
|
+
"default": "null",
|
|
49329
|
+
"description": "Defines aria-label attribute when header is not used",
|
|
49330
|
+
"fieldName": "ariaLabel"
|
|
49331
|
+
},
|
|
49332
|
+
{
|
|
49333
|
+
"name": "show-more-text",
|
|
49334
|
+
"type": {
|
|
49335
|
+
"text": "string | undefined"
|
|
49336
|
+
},
|
|
49337
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
49338
|
+
"fieldName": "showMoreText"
|
|
49339
|
+
},
|
|
49340
|
+
{
|
|
49341
|
+
"name": "show-less-text",
|
|
49342
|
+
"type": {
|
|
49343
|
+
"text": "string | undefined"
|
|
49344
|
+
},
|
|
49345
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
49346
|
+
"fieldName": "showLessText"
|
|
49347
|
+
}
|
|
49348
|
+
],
|
|
49349
|
+
"mixins": [
|
|
49350
|
+
{
|
|
49351
|
+
"name": "FooterMixin",
|
|
49352
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
49353
|
+
}
|
|
49354
|
+
],
|
|
49355
|
+
"superclass": {
|
|
49356
|
+
"name": "Component",
|
|
49357
|
+
"module": "/src/models"
|
|
49358
|
+
},
|
|
49359
|
+
"tagName": "mdc-toast",
|
|
49360
|
+
"jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
|
|
49361
|
+
"customElement": true
|
|
49362
|
+
}
|
|
49363
|
+
],
|
|
49364
|
+
"exports": [
|
|
49365
|
+
{
|
|
49366
|
+
"kind": "js",
|
|
49367
|
+
"name": "default",
|
|
49368
|
+
"declaration": {
|
|
49369
|
+
"name": "Toast",
|
|
49370
|
+
"module": "components/toast/toast.component.js"
|
|
49371
|
+
}
|
|
49372
|
+
}
|
|
49373
|
+
]
|
|
49374
|
+
},
|
|
49371
49375
|
{
|
|
49372
49376
|
"kind": "javascript-module",
|
|
49373
49377
|
"path": "components/toggletip/toggletip.component.js",
|