@momentum-design/components 0.127.6 → 0.127.7
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 +54 -53
- package/dist/browser/index.js.map +3 -3
- package/dist/components/screenreaderannouncer/screenreaderannouncer.component.d.ts +10 -0
- package/dist/components/screenreaderannouncer/screenreaderannouncer.component.js +47 -6
- package/dist/components/textarea/textarea.component.d.ts +0 -9
- package/dist/components/textarea/textarea.component.js +19 -35
- package/dist/custom-elements.json +1341 -1341
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/package.json +1 -1
|
@@ -4846,6 +4846,77 @@
|
|
|
4846
4846
|
}
|
|
4847
4847
|
]
|
|
4848
4848
|
},
|
|
4849
|
+
{
|
|
4850
|
+
"kind": "javascript-module",
|
|
4851
|
+
"path": "components/bullet/bullet.component.js",
|
|
4852
|
+
"declarations": [
|
|
4853
|
+
{
|
|
4854
|
+
"kind": "class",
|
|
4855
|
+
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
|
4856
|
+
"name": "Bullet",
|
|
4857
|
+
"cssProperties": [
|
|
4858
|
+
{
|
|
4859
|
+
"description": "background color of the bullet",
|
|
4860
|
+
"name": "--mdc-bullet-background-color"
|
|
4861
|
+
},
|
|
4862
|
+
{
|
|
4863
|
+
"description": "small size value of the bullet",
|
|
4864
|
+
"name": "--mdc-bullet-size-small"
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
"description": "medium size value of the bullet",
|
|
4868
|
+
"name": "--mdc-bullet-size-medium"
|
|
4869
|
+
},
|
|
4870
|
+
{
|
|
4871
|
+
"description": "large size value of the bullet",
|
|
4872
|
+
"name": "--mdc-bullet-size-large"
|
|
4873
|
+
}
|
|
4874
|
+
],
|
|
4875
|
+
"members": [
|
|
4876
|
+
{
|
|
4877
|
+
"kind": "field",
|
|
4878
|
+
"name": "size",
|
|
4879
|
+
"type": {
|
|
4880
|
+
"text": "Size"
|
|
4881
|
+
},
|
|
4882
|
+
"privacy": "public",
|
|
4883
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
4884
|
+
"default": "small",
|
|
4885
|
+
"attribute": "size",
|
|
4886
|
+
"reflects": true
|
|
4887
|
+
}
|
|
4888
|
+
],
|
|
4889
|
+
"attributes": [
|
|
4890
|
+
{
|
|
4891
|
+
"name": "size",
|
|
4892
|
+
"type": {
|
|
4893
|
+
"text": "Size"
|
|
4894
|
+
},
|
|
4895
|
+
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
4896
|
+
"default": "small",
|
|
4897
|
+
"fieldName": "size"
|
|
4898
|
+
}
|
|
4899
|
+
],
|
|
4900
|
+
"superclass": {
|
|
4901
|
+
"name": "Component",
|
|
4902
|
+
"module": "/src/models"
|
|
4903
|
+
},
|
|
4904
|
+
"tagName": "mdc-bullet",
|
|
4905
|
+
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n */",
|
|
4906
|
+
"customElement": true
|
|
4907
|
+
}
|
|
4908
|
+
],
|
|
4909
|
+
"exports": [
|
|
4910
|
+
{
|
|
4911
|
+
"kind": "js",
|
|
4912
|
+
"name": "default",
|
|
4913
|
+
"declaration": {
|
|
4914
|
+
"name": "Bullet",
|
|
4915
|
+
"module": "components/bullet/bullet.component.js"
|
|
4916
|
+
}
|
|
4917
|
+
}
|
|
4918
|
+
]
|
|
4919
|
+
},
|
|
4849
4920
|
{
|
|
4850
4921
|
"kind": "javascript-module",
|
|
4851
4922
|
"path": "components/brandvisual/brandvisual.component.js",
|
|
@@ -5022,77 +5093,6 @@
|
|
|
5022
5093
|
}
|
|
5023
5094
|
]
|
|
5024
5095
|
},
|
|
5025
|
-
{
|
|
5026
|
-
"kind": "javascript-module",
|
|
5027
|
-
"path": "components/bullet/bullet.component.js",
|
|
5028
|
-
"declarations": [
|
|
5029
|
-
{
|
|
5030
|
-
"kind": "class",
|
|
5031
|
-
"description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
|
|
5032
|
-
"name": "Bullet",
|
|
5033
|
-
"cssProperties": [
|
|
5034
|
-
{
|
|
5035
|
-
"description": "background color of the bullet",
|
|
5036
|
-
"name": "--mdc-bullet-background-color"
|
|
5037
|
-
},
|
|
5038
|
-
{
|
|
5039
|
-
"description": "small size value of the bullet",
|
|
5040
|
-
"name": "--mdc-bullet-size-small"
|
|
5041
|
-
},
|
|
5042
|
-
{
|
|
5043
|
-
"description": "medium size value of the bullet",
|
|
5044
|
-
"name": "--mdc-bullet-size-medium"
|
|
5045
|
-
},
|
|
5046
|
-
{
|
|
5047
|
-
"description": "large size value of the bullet",
|
|
5048
|
-
"name": "--mdc-bullet-size-large"
|
|
5049
|
-
}
|
|
5050
|
-
],
|
|
5051
|
-
"members": [
|
|
5052
|
-
{
|
|
5053
|
-
"kind": "field",
|
|
5054
|
-
"name": "size",
|
|
5055
|
-
"type": {
|
|
5056
|
-
"text": "Size"
|
|
5057
|
-
},
|
|
5058
|
-
"privacy": "public",
|
|
5059
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
5060
|
-
"default": "small",
|
|
5061
|
-
"attribute": "size",
|
|
5062
|
-
"reflects": true
|
|
5063
|
-
}
|
|
5064
|
-
],
|
|
5065
|
-
"attributes": [
|
|
5066
|
-
{
|
|
5067
|
-
"name": "size",
|
|
5068
|
-
"type": {
|
|
5069
|
-
"text": "Size"
|
|
5070
|
-
},
|
|
5071
|
-
"description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
|
|
5072
|
-
"default": "small",
|
|
5073
|
-
"fieldName": "size"
|
|
5074
|
-
}
|
|
5075
|
-
],
|
|
5076
|
-
"superclass": {
|
|
5077
|
-
"name": "Component",
|
|
5078
|
-
"module": "/src/models"
|
|
5079
|
-
},
|
|
5080
|
-
"tagName": "mdc-bullet",
|
|
5081
|
-
"jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n */",
|
|
5082
|
-
"customElement": true
|
|
5083
|
-
}
|
|
5084
|
-
],
|
|
5085
|
-
"exports": [
|
|
5086
|
-
{
|
|
5087
|
-
"kind": "js",
|
|
5088
|
-
"name": "default",
|
|
5089
|
-
"declaration": {
|
|
5090
|
-
"name": "Bullet",
|
|
5091
|
-
"module": "components/bullet/bullet.component.js"
|
|
5092
|
-
}
|
|
5093
|
-
}
|
|
5094
|
-
]
|
|
5095
|
-
},
|
|
5096
5096
|
{
|
|
5097
5097
|
"kind": "javascript-module",
|
|
5098
5098
|
"path": "components/button/button.component.js",
|
|
@@ -6858,650 +6858,734 @@
|
|
|
6858
6858
|
},
|
|
6859
6859
|
{
|
|
6860
6860
|
"kind": "javascript-module",
|
|
6861
|
-
"path": "components/
|
|
6861
|
+
"path": "components/buttonsimple/buttonsimple.component.js",
|
|
6862
6862
|
"declarations": [
|
|
6863
6863
|
{
|
|
6864
6864
|
"kind": "class",
|
|
6865
|
-
"description": "
|
|
6866
|
-
"name": "
|
|
6865
|
+
"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.",
|
|
6866
|
+
"name": "Buttonsimple",
|
|
6867
6867
|
"cssProperties": [
|
|
6868
|
-
{
|
|
6869
|
-
"description": "The width of the card",
|
|
6870
|
-
"name": "--mdc-card-width"
|
|
6871
|
-
},
|
|
6872
6868
|
{
|
|
6873
6869
|
"description": "Height for button size",
|
|
6874
|
-
"name": "--mdc-button-height"
|
|
6875
|
-
"inheritedFrom": {
|
|
6876
|
-
"name": "Buttonsimple",
|
|
6877
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6878
|
-
}
|
|
6870
|
+
"name": "--mdc-button-height"
|
|
6879
6871
|
},
|
|
6880
6872
|
{
|
|
6881
6873
|
"description": "Background color of the button",
|
|
6882
|
-
"name": "--mdc-button-background"
|
|
6883
|
-
"inheritedFrom": {
|
|
6884
|
-
"name": "Buttonsimple",
|
|
6885
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6886
|
-
}
|
|
6874
|
+
"name": "--mdc-button-background"
|
|
6887
6875
|
},
|
|
6888
6876
|
{
|
|
6889
6877
|
"description": "Borer color of the button",
|
|
6890
|
-
"name": "--mdc-button-border-color"
|
|
6891
|
-
"inheritedFrom": {
|
|
6892
|
-
"name": "Buttonsimple",
|
|
6893
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6894
|
-
}
|
|
6878
|
+
"name": "--mdc-button-border-color"
|
|
6895
6879
|
},
|
|
6896
6880
|
{
|
|
6897
6881
|
"description": "Text color of the button",
|
|
6898
|
-
"name": "--mdc-button-text-color"
|
|
6899
|
-
"inheritedFrom": {
|
|
6900
|
-
"name": "Buttonsimple",
|
|
6901
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
6902
|
-
}
|
|
6882
|
+
"name": "--mdc-button-text-color"
|
|
6903
6883
|
}
|
|
6904
6884
|
],
|
|
6905
|
-
"
|
|
6885
|
+
"members": [
|
|
6906
6886
|
{
|
|
6907
|
-
"
|
|
6908
|
-
"name": "
|
|
6887
|
+
"kind": "field",
|
|
6888
|
+
"name": "active",
|
|
6889
|
+
"type": {
|
|
6890
|
+
"text": "boolean | undefined"
|
|
6891
|
+
},
|
|
6892
|
+
"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.",
|
|
6893
|
+
"default": "undefined",
|
|
6894
|
+
"attribute": "active",
|
|
6895
|
+
"reflects": true
|
|
6909
6896
|
},
|
|
6910
6897
|
{
|
|
6911
|
-
"
|
|
6912
|
-
"name": "
|
|
6898
|
+
"kind": "field",
|
|
6899
|
+
"name": "softDisabled",
|
|
6900
|
+
"type": {
|
|
6901
|
+
"text": "boolean | undefined"
|
|
6902
|
+
},
|
|
6903
|
+
"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.",
|
|
6904
|
+
"default": "undefined",
|
|
6905
|
+
"attribute": "soft-disabled",
|
|
6906
|
+
"reflects": true
|
|
6913
6907
|
},
|
|
6914
6908
|
{
|
|
6915
|
-
"
|
|
6916
|
-
"name": "
|
|
6909
|
+
"kind": "field",
|
|
6910
|
+
"name": "size",
|
|
6911
|
+
"type": {
|
|
6912
|
+
"text": "ButtonSize"
|
|
6913
|
+
},
|
|
6914
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
6915
|
+
"default": "32",
|
|
6916
|
+
"attribute": "size",
|
|
6917
|
+
"reflects": true
|
|
6917
6918
|
},
|
|
6918
6919
|
{
|
|
6919
|
-
"
|
|
6920
|
-
"name": "
|
|
6920
|
+
"kind": "field",
|
|
6921
|
+
"name": "role",
|
|
6922
|
+
"type": {
|
|
6923
|
+
"text": "RoleType"
|
|
6924
|
+
},
|
|
6925
|
+
"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.",
|
|
6926
|
+
"default": "button",
|
|
6927
|
+
"attribute": "role",
|
|
6928
|
+
"reflects": true
|
|
6921
6929
|
},
|
|
6922
6930
|
{
|
|
6923
|
-
"
|
|
6924
|
-
"name": "
|
|
6931
|
+
"kind": "field",
|
|
6932
|
+
"name": "ariaStateKey",
|
|
6933
|
+
"type": {
|
|
6934
|
+
"text": "string | undefined"
|
|
6935
|
+
},
|
|
6936
|
+
"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`",
|
|
6937
|
+
"default": "'aria-pressed' (when)",
|
|
6938
|
+
"attribute": "ariaStateKey",
|
|
6939
|
+
"reflects": true
|
|
6925
6940
|
},
|
|
6926
6941
|
{
|
|
6927
|
-
"
|
|
6928
|
-
"name": "
|
|
6942
|
+
"kind": "field",
|
|
6943
|
+
"name": "type",
|
|
6944
|
+
"type": {
|
|
6945
|
+
"text": "ButtonType"
|
|
6946
|
+
},
|
|
6947
|
+
"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.",
|
|
6948
|
+
"default": "button",
|
|
6949
|
+
"attribute": "type",
|
|
6950
|
+
"reflects": true
|
|
6929
6951
|
},
|
|
6930
6952
|
{
|
|
6931
|
-
"
|
|
6932
|
-
"name": "
|
|
6953
|
+
"kind": "field",
|
|
6954
|
+
"name": "name",
|
|
6955
|
+
"type": {
|
|
6956
|
+
"text": "string | undefined"
|
|
6957
|
+
},
|
|
6958
|
+
"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.",
|
|
6959
|
+
"attribute": "name",
|
|
6960
|
+
"reflects": true
|
|
6933
6961
|
},
|
|
6934
6962
|
{
|
|
6935
|
-
"
|
|
6936
|
-
"name": "
|
|
6963
|
+
"kind": "field",
|
|
6964
|
+
"name": "value",
|
|
6965
|
+
"type": {
|
|
6966
|
+
"text": "string | undefined"
|
|
6967
|
+
},
|
|
6968
|
+
"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.",
|
|
6969
|
+
"attribute": "value",
|
|
6970
|
+
"reflects": true
|
|
6937
6971
|
},
|
|
6938
6972
|
{
|
|
6939
|
-
"
|
|
6940
|
-
"name": "
|
|
6973
|
+
"kind": "method",
|
|
6974
|
+
"name": "executeAction",
|
|
6975
|
+
"privacy": "protected"
|
|
6941
6976
|
},
|
|
6942
6977
|
{
|
|
6943
|
-
"
|
|
6944
|
-
"name": "
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6978
|
+
"kind": "method",
|
|
6979
|
+
"name": "setActive",
|
|
6980
|
+
"privacy": "protected",
|
|
6981
|
+
"parameters": [
|
|
6982
|
+
{
|
|
6983
|
+
"name": "element",
|
|
6984
|
+
"type": {
|
|
6985
|
+
"text": "HTMLElement"
|
|
6986
|
+
},
|
|
6987
|
+
"description": "The button element"
|
|
6988
|
+
},
|
|
6989
|
+
{
|
|
6990
|
+
"name": "active",
|
|
6991
|
+
"optional": true,
|
|
6992
|
+
"type": {
|
|
6993
|
+
"text": "boolean"
|
|
6994
|
+
},
|
|
6995
|
+
"description": "The active state of the element"
|
|
6996
|
+
}
|
|
6997
|
+
],
|
|
6998
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
|
6999
|
+
},
|
|
6948
7000
|
{
|
|
6949
|
-
"
|
|
6950
|
-
"name": "
|
|
7001
|
+
"kind": "method",
|
|
7002
|
+
"name": "setSoftDisabled",
|
|
7003
|
+
"privacy": "private",
|
|
7004
|
+
"parameters": [
|
|
7005
|
+
{
|
|
7006
|
+
"name": "element",
|
|
7007
|
+
"type": {
|
|
7008
|
+
"text": "HTMLElement"
|
|
7009
|
+
},
|
|
7010
|
+
"description": "The button element."
|
|
7011
|
+
},
|
|
7012
|
+
{
|
|
7013
|
+
"name": "softDisabled",
|
|
7014
|
+
"optional": true,
|
|
7015
|
+
"type": {
|
|
7016
|
+
"text": "boolean"
|
|
7017
|
+
},
|
|
7018
|
+
"description": "The soft-disabled state."
|
|
7019
|
+
}
|
|
7020
|
+
],
|
|
7021
|
+
"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."
|
|
6951
7022
|
},
|
|
6952
7023
|
{
|
|
6953
|
-
"
|
|
6954
|
-
"name": "
|
|
7024
|
+
"kind": "method",
|
|
7025
|
+
"name": "setDisabled",
|
|
7026
|
+
"privacy": "private",
|
|
7027
|
+
"parameters": [
|
|
7028
|
+
{
|
|
7029
|
+
"name": "element",
|
|
7030
|
+
"type": {
|
|
7031
|
+
"text": "HTMLElement"
|
|
7032
|
+
},
|
|
7033
|
+
"description": "The button element."
|
|
7034
|
+
},
|
|
7035
|
+
{
|
|
7036
|
+
"name": "disabled",
|
|
7037
|
+
"type": {
|
|
7038
|
+
"text": "boolean"
|
|
7039
|
+
},
|
|
7040
|
+
"description": "The disabled state."
|
|
7041
|
+
}
|
|
7042
|
+
],
|
|
7043
|
+
"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."
|
|
6955
7044
|
},
|
|
6956
7045
|
{
|
|
6957
|
-
"
|
|
6958
|
-
"name": "
|
|
7046
|
+
"kind": "method",
|
|
7047
|
+
"name": "triggerClickEvent",
|
|
7048
|
+
"privacy": "private"
|
|
6959
7049
|
},
|
|
6960
7050
|
{
|
|
6961
|
-
"
|
|
6962
|
-
"name": "
|
|
7051
|
+
"kind": "method",
|
|
7052
|
+
"name": "handleBlur",
|
|
7053
|
+
"privacy": "private",
|
|
7054
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
|
6963
7055
|
},
|
|
6964
7056
|
{
|
|
6965
|
-
"
|
|
6966
|
-
"name": "
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
7057
|
+
"kind": "method",
|
|
7058
|
+
"name": "handleKeyDown",
|
|
7059
|
+
"privacy": "private",
|
|
7060
|
+
"parameters": [
|
|
7061
|
+
{
|
|
7062
|
+
"name": "event",
|
|
7063
|
+
"type": {
|
|
7064
|
+
"text": "KeyboardEvent"
|
|
7065
|
+
},
|
|
7066
|
+
"description": "The keyboard event."
|
|
7067
|
+
}
|
|
7068
|
+
],
|
|
7069
|
+
"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."
|
|
7070
|
+
},
|
|
6970
7071
|
{
|
|
6971
7072
|
"kind": "method",
|
|
6972
|
-
"name": "
|
|
6973
|
-
"privacy": "
|
|
6974
|
-
"
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
"
|
|
7073
|
+
"name": "handleKeyUp",
|
|
7074
|
+
"privacy": "private",
|
|
7075
|
+
"parameters": [
|
|
7076
|
+
{
|
|
7077
|
+
"name": "event",
|
|
7078
|
+
"type": {
|
|
7079
|
+
"text": "KeyboardEvent"
|
|
7080
|
+
},
|
|
7081
|
+
"description": "The keyboard event."
|
|
6978
7082
|
}
|
|
6979
|
-
|
|
7083
|
+
],
|
|
7084
|
+
"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."
|
|
6980
7085
|
},
|
|
6981
7086
|
{
|
|
6982
7087
|
"kind": "field",
|
|
6983
|
-
"name": "
|
|
7088
|
+
"name": "autoFocusOnMount",
|
|
6984
7089
|
"type": {
|
|
6985
|
-
"text": "
|
|
7090
|
+
"text": "boolean"
|
|
6986
7091
|
},
|
|
6987
|
-
"default": "
|
|
6988
|
-
"description": "
|
|
6989
|
-
"attribute": "
|
|
7092
|
+
"default": "false",
|
|
7093
|
+
"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.",
|
|
7094
|
+
"attribute": "auto-focus-on-mount",
|
|
6990
7095
|
"reflects": true,
|
|
6991
7096
|
"inheritedFrom": {
|
|
6992
|
-
"name": "
|
|
6993
|
-
"module": "utils/mixins/
|
|
7097
|
+
"name": "AutoFocusOnMountMixin",
|
|
7098
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
|
6994
7099
|
}
|
|
6995
7100
|
},
|
|
6996
7101
|
{
|
|
6997
7102
|
"kind": "field",
|
|
6998
|
-
"name": "
|
|
7103
|
+
"name": "tabIndex",
|
|
6999
7104
|
"type": {
|
|
7000
|
-
"text": "
|
|
7105
|
+
"text": "number"
|
|
7001
7106
|
},
|
|
7002
|
-
"default": "
|
|
7003
|
-
"description": "
|
|
7004
|
-
"attribute": "
|
|
7107
|
+
"default": "0",
|
|
7108
|
+
"description": "This property specifies the tab order of the element.",
|
|
7109
|
+
"attribute": "tabIndex",
|
|
7005
7110
|
"reflects": true,
|
|
7006
7111
|
"inheritedFrom": {
|
|
7007
|
-
"name": "
|
|
7008
|
-
"module": "utils/mixins/
|
|
7112
|
+
"name": "TabIndexMixin",
|
|
7113
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
7009
7114
|
}
|
|
7010
7115
|
},
|
|
7011
7116
|
{
|
|
7012
7117
|
"kind": "field",
|
|
7013
|
-
"name": "
|
|
7118
|
+
"name": "disabled",
|
|
7014
7119
|
"type": {
|
|
7015
|
-
"text": "
|
|
7120
|
+
"text": "boolean | undefined"
|
|
7016
7121
|
},
|
|
7017
|
-
"
|
|
7018
|
-
"
|
|
7019
|
-
"attribute": "
|
|
7122
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
7123
|
+
"default": "undefined",
|
|
7124
|
+
"attribute": "disabled",
|
|
7020
7125
|
"reflects": true,
|
|
7021
7126
|
"inheritedFrom": {
|
|
7022
|
-
"name": "
|
|
7023
|
-
"module": "utils/mixins/
|
|
7127
|
+
"name": "DisabledMixin",
|
|
7128
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
7024
7129
|
}
|
|
7130
|
+
}
|
|
7131
|
+
],
|
|
7132
|
+
"events": [
|
|
7133
|
+
{
|
|
7134
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
|
7135
|
+
"name": "click",
|
|
7136
|
+
"reactName": "onClick"
|
|
7025
7137
|
},
|
|
7026
7138
|
{
|
|
7027
|
-
"
|
|
7028
|
-
"name": "
|
|
7139
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
|
7140
|
+
"name": "keydown",
|
|
7141
|
+
"reactName": "onKeyDown"
|
|
7142
|
+
},
|
|
7143
|
+
{
|
|
7144
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
|
7145
|
+
"name": "keyup",
|
|
7146
|
+
"reactName": "onKeyUp"
|
|
7147
|
+
},
|
|
7148
|
+
{
|
|
7149
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
7150
|
+
"name": "focus",
|
|
7151
|
+
"reactName": "onFocus"
|
|
7152
|
+
}
|
|
7153
|
+
],
|
|
7154
|
+
"attributes": [
|
|
7155
|
+
{
|
|
7156
|
+
"name": "active",
|
|
7029
7157
|
"type": {
|
|
7030
|
-
"text": "
|
|
7158
|
+
"text": "boolean | undefined"
|
|
7031
7159
|
},
|
|
7032
|
-
"
|
|
7033
|
-
"
|
|
7034
|
-
"
|
|
7035
|
-
"reflects": true,
|
|
7036
|
-
"inheritedFrom": {
|
|
7037
|
-
"name": "CardComponentMixin",
|
|
7038
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7039
|
-
}
|
|
7160
|
+
"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.",
|
|
7161
|
+
"default": "undefined",
|
|
7162
|
+
"fieldName": "active"
|
|
7040
7163
|
},
|
|
7041
7164
|
{
|
|
7042
|
-
"
|
|
7043
|
-
"name": "variant",
|
|
7165
|
+
"name": "soft-disabled",
|
|
7044
7166
|
"type": {
|
|
7045
|
-
"text": "
|
|
7167
|
+
"text": "boolean | undefined"
|
|
7046
7168
|
},
|
|
7047
|
-
"description": "
|
|
7048
|
-
"default": "
|
|
7049
|
-
"
|
|
7050
|
-
"reflects": true,
|
|
7051
|
-
"inheritedFrom": {
|
|
7052
|
-
"name": "CardComponentMixin",
|
|
7053
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7054
|
-
}
|
|
7169
|
+
"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.",
|
|
7170
|
+
"default": "undefined",
|
|
7171
|
+
"fieldName": "softDisabled"
|
|
7055
7172
|
},
|
|
7056
7173
|
{
|
|
7057
|
-
"
|
|
7058
|
-
"name": "orientation",
|
|
7174
|
+
"name": "size",
|
|
7059
7175
|
"type": {
|
|
7060
|
-
"text": "
|
|
7176
|
+
"text": "ButtonSize"
|
|
7061
7177
|
},
|
|
7062
|
-
"description": "
|
|
7063
|
-
"default": "
|
|
7064
|
-
"
|
|
7065
|
-
"reflects": true,
|
|
7066
|
-
"inheritedFrom": {
|
|
7067
|
-
"name": "CardComponentMixin",
|
|
7068
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7069
|
-
}
|
|
7178
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
7179
|
+
"default": "32",
|
|
7180
|
+
"fieldName": "size"
|
|
7070
7181
|
},
|
|
7071
7182
|
{
|
|
7072
|
-
"
|
|
7073
|
-
"name": "titleTagName",
|
|
7183
|
+
"name": "role",
|
|
7074
7184
|
"type": {
|
|
7075
|
-
"text": "
|
|
7185
|
+
"text": "RoleType"
|
|
7076
7186
|
},
|
|
7077
|
-
"description": "
|
|
7078
|
-
"default": "
|
|
7079
|
-
"
|
|
7080
|
-
"reflects": true,
|
|
7081
|
-
"inheritedFrom": {
|
|
7082
|
-
"name": "CardComponentMixin",
|
|
7083
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7084
|
-
}
|
|
7187
|
+
"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.",
|
|
7188
|
+
"default": "button",
|
|
7189
|
+
"fieldName": "role"
|
|
7085
7190
|
},
|
|
7086
7191
|
{
|
|
7087
|
-
"
|
|
7088
|
-
"name": "subtitleTagName",
|
|
7192
|
+
"name": "ariaStateKey",
|
|
7089
7193
|
"type": {
|
|
7090
|
-
"text": "
|
|
7194
|
+
"text": "string | undefined"
|
|
7091
7195
|
},
|
|
7092
|
-
"description": "
|
|
7093
|
-
"default": "'
|
|
7094
|
-
"
|
|
7095
|
-
"reflects": true,
|
|
7096
|
-
"inheritedFrom": {
|
|
7097
|
-
"name": "CardComponentMixin",
|
|
7098
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7099
|
-
}
|
|
7196
|
+
"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`",
|
|
7197
|
+
"default": "'aria-pressed' (when)",
|
|
7198
|
+
"fieldName": "ariaStateKey"
|
|
7100
7199
|
},
|
|
7101
7200
|
{
|
|
7102
|
-
"
|
|
7103
|
-
"name": "iconName",
|
|
7201
|
+
"name": "type",
|
|
7104
7202
|
"type": {
|
|
7105
|
-
"text": "
|
|
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
|
-
}
|
|
7114
|
-
},
|
|
7115
|
-
{
|
|
7116
|
-
"kind": "method",
|
|
7117
|
-
"name": "renderImage",
|
|
7118
|
-
"privacy": "protected",
|
|
7119
|
-
"description": "Renders the image on the card if image source is provided",
|
|
7120
|
-
"return": {
|
|
7121
|
-
"type": {
|
|
7122
|
-
"text": ""
|
|
7123
|
-
}
|
|
7203
|
+
"text": "ButtonType"
|
|
7124
7204
|
},
|
|
7125
|
-
"
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
}
|
|
7205
|
+
"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.",
|
|
7206
|
+
"default": "button",
|
|
7207
|
+
"fieldName": "type"
|
|
7129
7208
|
},
|
|
7130
7209
|
{
|
|
7131
|
-
"
|
|
7132
|
-
"
|
|
7133
|
-
|
|
7134
|
-
"description": "Renders the icon on the card if icon name is provided",
|
|
7135
|
-
"return": {
|
|
7136
|
-
"type": {
|
|
7137
|
-
"text": ""
|
|
7138
|
-
}
|
|
7210
|
+
"name": "name",
|
|
7211
|
+
"type": {
|
|
7212
|
+
"text": "string | undefined"
|
|
7139
7213
|
},
|
|
7140
|
-
"
|
|
7141
|
-
|
|
7142
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7143
|
-
}
|
|
7214
|
+
"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.",
|
|
7215
|
+
"fieldName": "name"
|
|
7144
7216
|
},
|
|
7145
7217
|
{
|
|
7146
|
-
"
|
|
7147
|
-
"
|
|
7148
|
-
|
|
7149
|
-
"description": "Renders the title and subtitle on the card",
|
|
7150
|
-
"return": {
|
|
7151
|
-
"type": {
|
|
7152
|
-
"text": ""
|
|
7153
|
-
}
|
|
7218
|
+
"name": "value",
|
|
7219
|
+
"type": {
|
|
7220
|
+
"text": "string | undefined"
|
|
7154
7221
|
},
|
|
7155
|
-
"
|
|
7156
|
-
|
|
7157
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7158
|
-
}
|
|
7222
|
+
"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.",
|
|
7223
|
+
"fieldName": "value"
|
|
7159
7224
|
},
|
|
7160
7225
|
{
|
|
7161
|
-
"
|
|
7162
|
-
"name": "autoFocusOnMount",
|
|
7226
|
+
"name": "auto-focus-on-mount",
|
|
7163
7227
|
"type": {
|
|
7164
7228
|
"text": "boolean"
|
|
7165
7229
|
},
|
|
7166
7230
|
"default": "false",
|
|
7167
7231
|
"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.",
|
|
7168
|
-
"
|
|
7169
|
-
"reflects": true,
|
|
7232
|
+
"fieldName": "autoFocusOnMount",
|
|
7170
7233
|
"inheritedFrom": {
|
|
7171
7234
|
"name": "AutoFocusOnMountMixin",
|
|
7172
|
-
"module": "utils/mixins/AutoFocusOnMountMixin.
|
|
7235
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
|
7173
7236
|
}
|
|
7174
7237
|
},
|
|
7175
7238
|
{
|
|
7176
|
-
"kind": "field",
|
|
7177
7239
|
"name": "tabIndex",
|
|
7178
7240
|
"type": {
|
|
7179
7241
|
"text": "number"
|
|
7180
7242
|
},
|
|
7181
7243
|
"default": "0",
|
|
7182
7244
|
"description": "This property specifies the tab order of the element.",
|
|
7183
|
-
"
|
|
7184
|
-
"reflects": true,
|
|
7245
|
+
"fieldName": "tabIndex",
|
|
7185
7246
|
"inheritedFrom": {
|
|
7186
7247
|
"name": "TabIndexMixin",
|
|
7187
|
-
"module": "utils/mixins/TabIndexMixin.
|
|
7248
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
7188
7249
|
}
|
|
7189
7250
|
},
|
|
7190
7251
|
{
|
|
7191
|
-
"kind": "field",
|
|
7192
7252
|
"name": "disabled",
|
|
7193
7253
|
"type": {
|
|
7194
7254
|
"text": "boolean | undefined"
|
|
7195
7255
|
},
|
|
7196
7256
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
7197
7257
|
"default": "undefined",
|
|
7198
|
-
"
|
|
7199
|
-
"reflects": true,
|
|
7258
|
+
"fieldName": "disabled",
|
|
7200
7259
|
"inheritedFrom": {
|
|
7201
7260
|
"name": "DisabledMixin",
|
|
7202
|
-
"module": "utils/mixins/DisabledMixin.
|
|
7261
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
7262
|
+
}
|
|
7263
|
+
}
|
|
7264
|
+
],
|
|
7265
|
+
"mixins": [
|
|
7266
|
+
{
|
|
7267
|
+
"name": "AutoFocusOnMountMixin",
|
|
7268
|
+
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
7269
|
+
},
|
|
7270
|
+
{
|
|
7271
|
+
"name": "TabIndexMixin",
|
|
7272
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
|
7273
|
+
},
|
|
7274
|
+
{
|
|
7275
|
+
"name": "DisabledMixin",
|
|
7276
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
|
7277
|
+
}
|
|
7278
|
+
],
|
|
7279
|
+
"superclass": {
|
|
7280
|
+
"name": "Component",
|
|
7281
|
+
"module": "/src/models"
|
|
7282
|
+
},
|
|
7283
|
+
"tagName": "mdc-buttonsimple",
|
|
7284
|
+
"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 */",
|
|
7285
|
+
"customElement": true
|
|
7286
|
+
}
|
|
7287
|
+
],
|
|
7288
|
+
"exports": [
|
|
7289
|
+
{
|
|
7290
|
+
"kind": "js",
|
|
7291
|
+
"name": "default",
|
|
7292
|
+
"declaration": {
|
|
7293
|
+
"name": "Buttonsimple",
|
|
7294
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7295
|
+
}
|
|
7296
|
+
}
|
|
7297
|
+
]
|
|
7298
|
+
},
|
|
7299
|
+
{
|
|
7300
|
+
"kind": "javascript-module",
|
|
7301
|
+
"path": "components/card/card.component.js",
|
|
7302
|
+
"declarations": [
|
|
7303
|
+
{
|
|
7304
|
+
"kind": "class",
|
|
7305
|
+
"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'.",
|
|
7306
|
+
"name": "Card",
|
|
7307
|
+
"cssProperties": [
|
|
7308
|
+
{
|
|
7309
|
+
"description": "The width of the card",
|
|
7310
|
+
"name": "--mdc-card-width"
|
|
7311
|
+
}
|
|
7312
|
+
],
|
|
7313
|
+
"cssParts": [
|
|
7314
|
+
{
|
|
7315
|
+
"description": "The header part of the card",
|
|
7316
|
+
"name": "header"
|
|
7317
|
+
},
|
|
7318
|
+
{
|
|
7319
|
+
"description": "The icon part of the card header",
|
|
7320
|
+
"name": "icon"
|
|
7321
|
+
},
|
|
7322
|
+
{
|
|
7323
|
+
"description": "The body part of the card",
|
|
7324
|
+
"name": "body"
|
|
7325
|
+
},
|
|
7326
|
+
{
|
|
7327
|
+
"description": "The image part of the card",
|
|
7328
|
+
"name": "image"
|
|
7329
|
+
},
|
|
7330
|
+
{
|
|
7331
|
+
"description": "The footer part of the card",
|
|
7332
|
+
"name": "footer"
|
|
7333
|
+
},
|
|
7334
|
+
{
|
|
7335
|
+
"description": "The link part of the card footer",
|
|
7336
|
+
"name": "footer-link"
|
|
7337
|
+
},
|
|
7338
|
+
{
|
|
7339
|
+
"description": "The primary button part of the card footer",
|
|
7340
|
+
"name": "footer-button-primary"
|
|
7341
|
+
},
|
|
7342
|
+
{
|
|
7343
|
+
"description": "The secondary button part of the card footer",
|
|
7344
|
+
"name": "footer-button-secondary"
|
|
7345
|
+
},
|
|
7346
|
+
{
|
|
7347
|
+
"description": "The icon button part of the card header",
|
|
7348
|
+
"name": "icon-button"
|
|
7349
|
+
},
|
|
7350
|
+
{
|
|
7351
|
+
"description": "The text part of the card",
|
|
7352
|
+
"name": "text"
|
|
7353
|
+
}
|
|
7354
|
+
],
|
|
7355
|
+
"slots": [
|
|
7356
|
+
{
|
|
7357
|
+
"description": "This slot is for passing the content before the body",
|
|
7358
|
+
"name": "before-body"
|
|
7359
|
+
},
|
|
7360
|
+
{
|
|
7361
|
+
"description": "This slot is for passing the text content for the card",
|
|
7362
|
+
"name": "body"
|
|
7363
|
+
},
|
|
7364
|
+
{
|
|
7365
|
+
"description": "This slot is for passing the content after the body",
|
|
7366
|
+
"name": "after-body"
|
|
7367
|
+
},
|
|
7368
|
+
{
|
|
7369
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
7370
|
+
"name": "footer-link"
|
|
7371
|
+
},
|
|
7372
|
+
{
|
|
7373
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7374
|
+
"name": "footer-button-primary"
|
|
7375
|
+
},
|
|
7376
|
+
{
|
|
7377
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7378
|
+
"name": "footer-button-secondary"
|
|
7379
|
+
},
|
|
7380
|
+
{
|
|
7381
|
+
"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.",
|
|
7382
|
+
"name": "footer"
|
|
7383
|
+
}
|
|
7384
|
+
],
|
|
7385
|
+
"members": [
|
|
7386
|
+
{
|
|
7387
|
+
"kind": "method",
|
|
7388
|
+
"name": "renderHeader",
|
|
7389
|
+
"privacy": "protected",
|
|
7390
|
+
"description": "Renders the header of the card if title is provided",
|
|
7391
|
+
"return": {
|
|
7392
|
+
"type": {
|
|
7393
|
+
"text": ""
|
|
7394
|
+
}
|
|
7203
7395
|
}
|
|
7204
7396
|
},
|
|
7205
7397
|
{
|
|
7206
7398
|
"kind": "field",
|
|
7207
|
-
"name": "
|
|
7399
|
+
"name": "cardTitle",
|
|
7208
7400
|
"type": {
|
|
7209
|
-
"text": "
|
|
7401
|
+
"text": "string"
|
|
7210
7402
|
},
|
|
7211
|
-
"
|
|
7212
|
-
"
|
|
7213
|
-
"attribute": "
|
|
7403
|
+
"default": "''",
|
|
7404
|
+
"description": "The title of the card - part of header section",
|
|
7405
|
+
"attribute": "card-title",
|
|
7214
7406
|
"reflects": true,
|
|
7215
7407
|
"inheritedFrom": {
|
|
7216
|
-
"name": "
|
|
7217
|
-
"module": "
|
|
7408
|
+
"name": "CardComponentMixin",
|
|
7409
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7218
7410
|
}
|
|
7219
7411
|
},
|
|
7220
7412
|
{
|
|
7221
7413
|
"kind": "field",
|
|
7222
|
-
"name": "
|
|
7414
|
+
"name": "subtitle",
|
|
7223
7415
|
"type": {
|
|
7224
|
-
"text": "
|
|
7416
|
+
"text": "string"
|
|
7225
7417
|
},
|
|
7226
|
-
"
|
|
7227
|
-
"
|
|
7228
|
-
"attribute": "
|
|
7418
|
+
"default": "''",
|
|
7419
|
+
"description": "The subtitle of the card - part of header section",
|
|
7420
|
+
"attribute": "subtitle",
|
|
7229
7421
|
"reflects": true,
|
|
7230
7422
|
"inheritedFrom": {
|
|
7231
|
-
"name": "
|
|
7232
|
-
"module": "
|
|
7423
|
+
"name": "CardComponentMixin",
|
|
7424
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7233
7425
|
}
|
|
7234
7426
|
},
|
|
7235
7427
|
{
|
|
7236
7428
|
"kind": "field",
|
|
7237
|
-
"name": "
|
|
7429
|
+
"name": "imageSrc",
|
|
7238
7430
|
"type": {
|
|
7239
|
-
"text": "
|
|
7431
|
+
"text": "string"
|
|
7240
7432
|
},
|
|
7241
|
-
"
|
|
7242
|
-
"
|
|
7243
|
-
"attribute": "
|
|
7433
|
+
"default": "''",
|
|
7434
|
+
"description": "The image source URL to render on the card",
|
|
7435
|
+
"attribute": "image-src",
|
|
7244
7436
|
"reflects": true,
|
|
7245
7437
|
"inheritedFrom": {
|
|
7246
|
-
"name": "
|
|
7247
|
-
"module": "
|
|
7438
|
+
"name": "CardComponentMixin",
|
|
7439
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7248
7440
|
}
|
|
7249
7441
|
},
|
|
7250
7442
|
{
|
|
7251
7443
|
"kind": "field",
|
|
7252
|
-
"name": "
|
|
7444
|
+
"name": "imageAlt",
|
|
7253
7445
|
"type": {
|
|
7254
|
-
"text": "
|
|
7446
|
+
"text": "string"
|
|
7255
7447
|
},
|
|
7256
|
-
"
|
|
7257
|
-
"
|
|
7258
|
-
"attribute": "
|
|
7448
|
+
"default": "''",
|
|
7449
|
+
"description": "The image alt for accessibility support",
|
|
7450
|
+
"attribute": "image-alt",
|
|
7259
7451
|
"reflects": true,
|
|
7260
7452
|
"inheritedFrom": {
|
|
7261
|
-
"name": "
|
|
7262
|
-
"module": "
|
|
7453
|
+
"name": "CardComponentMixin",
|
|
7454
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7263
7455
|
}
|
|
7264
7456
|
},
|
|
7265
7457
|
{
|
|
7266
7458
|
"kind": "field",
|
|
7267
|
-
"name": "
|
|
7459
|
+
"name": "variant",
|
|
7268
7460
|
"type": {
|
|
7269
|
-
"text": "
|
|
7461
|
+
"text": "CardVariant"
|
|
7270
7462
|
},
|
|
7271
|
-
"description": "
|
|
7272
|
-
"default": "'
|
|
7273
|
-
"attribute": "
|
|
7463
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7464
|
+
"default": "'border'",
|
|
7465
|
+
"attribute": "variant",
|
|
7274
7466
|
"reflects": true,
|
|
7275
7467
|
"inheritedFrom": {
|
|
7276
|
-
"name": "
|
|
7277
|
-
"module": "
|
|
7468
|
+
"name": "CardComponentMixin",
|
|
7469
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7278
7470
|
}
|
|
7279
7471
|
},
|
|
7280
7472
|
{
|
|
7281
7473
|
"kind": "field",
|
|
7282
|
-
"name": "
|
|
7474
|
+
"name": "orientation",
|
|
7283
7475
|
"type": {
|
|
7284
|
-
"text": "
|
|
7476
|
+
"text": "CardOrientation"
|
|
7285
7477
|
},
|
|
7286
|
-
"description": "
|
|
7287
|
-
"default": "
|
|
7288
|
-
"attribute": "
|
|
7478
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7479
|
+
"default": "'vertical'",
|
|
7480
|
+
"attribute": "orientation",
|
|
7289
7481
|
"reflects": true,
|
|
7290
7482
|
"inheritedFrom": {
|
|
7291
|
-
"name": "
|
|
7292
|
-
"module": "
|
|
7483
|
+
"name": "CardComponentMixin",
|
|
7484
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7293
7485
|
}
|
|
7294
7486
|
},
|
|
7295
7487
|
{
|
|
7296
7488
|
"kind": "field",
|
|
7297
|
-
"name": "
|
|
7489
|
+
"name": "titleTagName",
|
|
7298
7490
|
"type": {
|
|
7299
|
-
"text": "
|
|
7491
|
+
"text": "TagNameType"
|
|
7300
7492
|
},
|
|
7301
|
-
"description": "The name
|
|
7302
|
-
"
|
|
7493
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7494
|
+
"default": "'span'",
|
|
7495
|
+
"attribute": "title-tag-name",
|
|
7303
7496
|
"reflects": true,
|
|
7304
7497
|
"inheritedFrom": {
|
|
7305
|
-
"name": "
|
|
7306
|
-
"module": "
|
|
7498
|
+
"name": "CardComponentMixin",
|
|
7499
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7307
7500
|
}
|
|
7308
7501
|
},
|
|
7309
7502
|
{
|
|
7310
7503
|
"kind": "field",
|
|
7311
|
-
"name": "
|
|
7504
|
+
"name": "subtitleTagName",
|
|
7312
7505
|
"type": {
|
|
7313
|
-
"text": "
|
|
7506
|
+
"text": "TagNameType"
|
|
7314
7507
|
},
|
|
7315
|
-
"description": "
|
|
7316
|
-
"
|
|
7508
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7509
|
+
"default": "'span'",
|
|
7510
|
+
"attribute": "subtitle-tag-name",
|
|
7317
7511
|
"reflects": true,
|
|
7318
7512
|
"inheritedFrom": {
|
|
7319
|
-
"name": "
|
|
7320
|
-
"module": "
|
|
7513
|
+
"name": "CardComponentMixin",
|
|
7514
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7321
7515
|
}
|
|
7322
7516
|
},
|
|
7323
7517
|
{
|
|
7324
|
-
"kind": "
|
|
7325
|
-
"name": "
|
|
7326
|
-
"
|
|
7518
|
+
"kind": "field",
|
|
7519
|
+
"name": "iconName",
|
|
7520
|
+
"type": {
|
|
7521
|
+
"text": "IconNames | undefined"
|
|
7522
|
+
},
|
|
7523
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7524
|
+
"attribute": "icon-name",
|
|
7525
|
+
"reflects": true,
|
|
7327
7526
|
"inheritedFrom": {
|
|
7328
|
-
"name": "
|
|
7329
|
-
"module": "
|
|
7527
|
+
"name": "CardComponentMixin",
|
|
7528
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7330
7529
|
}
|
|
7331
7530
|
},
|
|
7332
7531
|
{
|
|
7333
7532
|
"kind": "method",
|
|
7334
|
-
"name": "
|
|
7533
|
+
"name": "renderImage",
|
|
7335
7534
|
"privacy": "protected",
|
|
7336
|
-
"
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
"
|
|
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.",
|
|
7354
|
-
"inheritedFrom": {
|
|
7355
|
-
"name": "Buttonsimple",
|
|
7356
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7357
|
-
}
|
|
7358
|
-
},
|
|
7359
|
-
{
|
|
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."
|
|
7535
|
+
"description": "Renders the image on the card if image source is provided",
|
|
7536
|
+
"return": {
|
|
7537
|
+
"type": {
|
|
7538
|
+
"text": ""
|
|
7378
7539
|
}
|
|
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.",
|
|
7540
|
+
},
|
|
7381
7541
|
"inheritedFrom": {
|
|
7382
|
-
"name": "
|
|
7383
|
-
"module": "
|
|
7542
|
+
"name": "CardComponentMixin",
|
|
7543
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7384
7544
|
}
|
|
7385
7545
|
},
|
|
7386
7546
|
{
|
|
7387
7547
|
"kind": "method",
|
|
7388
|
-
"name": "
|
|
7389
|
-
"privacy": "
|
|
7390
|
-
"
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
"
|
|
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."
|
|
7548
|
+
"name": "renderIcon",
|
|
7549
|
+
"privacy": "protected",
|
|
7550
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
7551
|
+
"return": {
|
|
7552
|
+
"type": {
|
|
7553
|
+
"text": ""
|
|
7404
7554
|
}
|
|
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
|
-
}
|
|
7411
|
-
},
|
|
7412
|
-
{
|
|
7413
|
-
"kind": "method",
|
|
7414
|
-
"name": "triggerClickEvent",
|
|
7415
|
-
"privacy": "private",
|
|
7416
|
-
"inheritedFrom": {
|
|
7417
|
-
"name": "Buttonsimple",
|
|
7418
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
7419
|
-
}
|
|
7420
|
-
},
|
|
7421
|
-
{
|
|
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.",
|
|
7555
|
+
},
|
|
7426
7556
|
"inheritedFrom": {
|
|
7427
|
-
"name": "
|
|
7428
|
-
"module": "
|
|
7557
|
+
"name": "CardComponentMixin",
|
|
7558
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7429
7559
|
}
|
|
7430
7560
|
},
|
|
7431
7561
|
{
|
|
7432
7562
|
"kind": "method",
|
|
7433
|
-
"name": "
|
|
7434
|
-
"privacy": "
|
|
7435
|
-
"
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
"
|
|
7439
|
-
"text": "KeyboardEvent"
|
|
7440
|
-
},
|
|
7441
|
-
"description": "The keyboard event."
|
|
7563
|
+
"name": "renderTitle",
|
|
7564
|
+
"privacy": "protected",
|
|
7565
|
+
"description": "Renders the title and subtitle on the card",
|
|
7566
|
+
"return": {
|
|
7567
|
+
"type": {
|
|
7568
|
+
"text": ""
|
|
7442
7569
|
}
|
|
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.",
|
|
7570
|
+
},
|
|
7445
7571
|
"inheritedFrom": {
|
|
7446
|
-
"name": "
|
|
7447
|
-
"module": "
|
|
7572
|
+
"name": "CardComponentMixin",
|
|
7573
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
7448
7574
|
}
|
|
7449
7575
|
},
|
|
7450
7576
|
{
|
|
7451
7577
|
"kind": "method",
|
|
7452
|
-
"name": "
|
|
7453
|
-
"privacy": "
|
|
7454
|
-
"
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
"
|
|
7458
|
-
"text": "KeyboardEvent"
|
|
7459
|
-
},
|
|
7460
|
-
"description": "The keyboard event."
|
|
7578
|
+
"name": "renderFooter",
|
|
7579
|
+
"privacy": "protected",
|
|
7580
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
7581
|
+
"return": {
|
|
7582
|
+
"type": {
|
|
7583
|
+
"text": ""
|
|
7461
7584
|
}
|
|
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
|
-
}
|
|
7468
|
-
}
|
|
7469
|
-
],
|
|
7470
|
-
"events": [
|
|
7471
|
-
{
|
|
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
|
-
}
|
|
7479
|
-
},
|
|
7480
|
-
{
|
|
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
|
-
}
|
|
7488
|
-
},
|
|
7489
|
-
{
|
|
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
|
-
}
|
|
7497
|
-
},
|
|
7498
|
-
{
|
|
7499
|
-
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
7500
|
-
"name": "focus",
|
|
7501
|
-
"reactName": "onFocus",
|
|
7585
|
+
},
|
|
7502
7586
|
"inheritedFrom": {
|
|
7503
|
-
"name": "
|
|
7504
|
-
"module": "
|
|
7587
|
+
"name": "FooterMixin",
|
|
7588
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
7505
7589
|
}
|
|
7506
7590
|
}
|
|
7507
7591
|
],
|
|
@@ -7509,14 +7593,18 @@
|
|
|
7509
7593
|
{
|
|
7510
7594
|
"name": "CardComponentMixin",
|
|
7511
7595
|
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7596
|
+
},
|
|
7597
|
+
{
|
|
7598
|
+
"name": "FooterMixin",
|
|
7599
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
7512
7600
|
}
|
|
7513
7601
|
],
|
|
7514
7602
|
"superclass": {
|
|
7515
|
-
"name": "
|
|
7516
|
-
"module": "/src/
|
|
7603
|
+
"name": "Component",
|
|
7604
|
+
"module": "/src/models"
|
|
7517
7605
|
},
|
|
7518
|
-
"tagName": "mdc-
|
|
7519
|
-
"jsDoc": "/**\n *
|
|
7606
|
+
"tagName": "mdc-card",
|
|
7607
|
+
"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 */",
|
|
7520
7608
|
"customElement": true,
|
|
7521
7609
|
"attributes": [
|
|
7522
7610
|
{
|
|
@@ -7634,175 +7722,66 @@
|
|
|
7634
7722
|
"name": "CardComponentMixin",
|
|
7635
7723
|
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7636
7724
|
}
|
|
7637
|
-
}
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
7662
|
-
}
|
|
7663
|
-
},
|
|
7664
|
-
{
|
|
7665
|
-
"name": "disabled",
|
|
7666
|
-
"type": {
|
|
7667
|
-
"text": "boolean | undefined"
|
|
7668
|
-
},
|
|
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",
|
|
7672
|
-
"inheritedFrom": {
|
|
7673
|
-
"name": "DisabledMixin",
|
|
7674
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
7675
|
-
}
|
|
7676
|
-
},
|
|
7677
|
-
{
|
|
7678
|
-
"name": "active",
|
|
7679
|
-
"type": {
|
|
7680
|
-
"text": "boolean | undefined"
|
|
7681
|
-
},
|
|
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",
|
|
7685
|
-
"inheritedFrom": {
|
|
7686
|
-
"name": "Buttonsimple",
|
|
7687
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7688
|
-
}
|
|
7689
|
-
},
|
|
7690
|
-
{
|
|
7691
|
-
"name": "soft-disabled",
|
|
7692
|
-
"type": {
|
|
7693
|
-
"text": "boolean | undefined"
|
|
7694
|
-
},
|
|
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",
|
|
7698
|
-
"inheritedFrom": {
|
|
7699
|
-
"name": "Buttonsimple",
|
|
7700
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7701
|
-
}
|
|
7702
|
-
},
|
|
7703
|
-
{
|
|
7704
|
-
"name": "size",
|
|
7705
|
-
"type": {
|
|
7706
|
-
"text": "ButtonSize"
|
|
7707
|
-
},
|
|
7708
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
7709
|
-
"default": "32",
|
|
7710
|
-
"fieldName": "size",
|
|
7711
|
-
"inheritedFrom": {
|
|
7712
|
-
"name": "Buttonsimple",
|
|
7713
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7714
|
-
}
|
|
7715
|
-
},
|
|
7725
|
+
}
|
|
7726
|
+
]
|
|
7727
|
+
}
|
|
7728
|
+
],
|
|
7729
|
+
"exports": [
|
|
7730
|
+
{
|
|
7731
|
+
"kind": "js",
|
|
7732
|
+
"name": "default",
|
|
7733
|
+
"declaration": {
|
|
7734
|
+
"name": "Card",
|
|
7735
|
+
"module": "components/card/card.component.js"
|
|
7736
|
+
}
|
|
7737
|
+
}
|
|
7738
|
+
]
|
|
7739
|
+
},
|
|
7740
|
+
{
|
|
7741
|
+
"kind": "javascript-module",
|
|
7742
|
+
"path": "components/cardbutton/cardbutton.component.js",
|
|
7743
|
+
"declarations": [
|
|
7744
|
+
{
|
|
7745
|
+
"kind": "class",
|
|
7746
|
+
"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.",
|
|
7747
|
+
"name": "CardButton",
|
|
7748
|
+
"cssProperties": [
|
|
7716
7749
|
{
|
|
7717
|
-
"
|
|
7718
|
-
"
|
|
7719
|
-
"text": "RoleType"
|
|
7720
|
-
},
|
|
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",
|
|
7724
|
-
"inheritedFrom": {
|
|
7725
|
-
"name": "Buttonsimple",
|
|
7726
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7727
|
-
}
|
|
7750
|
+
"description": "The width of the card",
|
|
7751
|
+
"name": "--mdc-card-width"
|
|
7728
7752
|
},
|
|
7729
7753
|
{
|
|
7730
|
-
"
|
|
7731
|
-
"
|
|
7732
|
-
"text": "string | undefined"
|
|
7733
|
-
},
|
|
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",
|
|
7754
|
+
"description": "Height for button size",
|
|
7755
|
+
"name": "--mdc-button-height",
|
|
7737
7756
|
"inheritedFrom": {
|
|
7738
7757
|
"name": "Buttonsimple",
|
|
7739
7758
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7740
7759
|
}
|
|
7741
7760
|
},
|
|
7742
7761
|
{
|
|
7743
|
-
"
|
|
7744
|
-
"
|
|
7745
|
-
"text": "ButtonType"
|
|
7746
|
-
},
|
|
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",
|
|
7762
|
+
"description": "Background color of the button",
|
|
7763
|
+
"name": "--mdc-button-background",
|
|
7750
7764
|
"inheritedFrom": {
|
|
7751
7765
|
"name": "Buttonsimple",
|
|
7752
7766
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7753
7767
|
}
|
|
7754
7768
|
},
|
|
7755
7769
|
{
|
|
7756
|
-
"
|
|
7757
|
-
"
|
|
7758
|
-
"text": "string | undefined"
|
|
7759
|
-
},
|
|
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",
|
|
7770
|
+
"description": "Borer color of the button",
|
|
7771
|
+
"name": "--mdc-button-border-color",
|
|
7762
7772
|
"inheritedFrom": {
|
|
7763
7773
|
"name": "Buttonsimple",
|
|
7764
7774
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7765
7775
|
}
|
|
7766
7776
|
},
|
|
7767
7777
|
{
|
|
7768
|
-
"
|
|
7769
|
-
"
|
|
7770
|
-
"text": "string | undefined"
|
|
7771
|
-
},
|
|
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",
|
|
7778
|
+
"description": "Text color of the button",
|
|
7779
|
+
"name": "--mdc-button-text-color",
|
|
7774
7780
|
"inheritedFrom": {
|
|
7775
7781
|
"name": "Buttonsimple",
|
|
7776
7782
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7777
7783
|
}
|
|
7778
7784
|
}
|
|
7779
|
-
]
|
|
7780
|
-
}
|
|
7781
|
-
],
|
|
7782
|
-
"exports": [
|
|
7783
|
-
{
|
|
7784
|
-
"kind": "js",
|
|
7785
|
-
"name": "default",
|
|
7786
|
-
"declaration": {
|
|
7787
|
-
"name": "CardButton",
|
|
7788
|
-
"module": "components/cardbutton/cardbutton.component.js"
|
|
7789
|
-
}
|
|
7790
|
-
}
|
|
7791
|
-
]
|
|
7792
|
-
},
|
|
7793
|
-
{
|
|
7794
|
-
"kind": "javascript-module",
|
|
7795
|
-
"path": "components/card/card.component.js",
|
|
7796
|
-
"declarations": [
|
|
7797
|
-
{
|
|
7798
|
-
"kind": "class",
|
|
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",
|
|
7801
|
-
"cssProperties": [
|
|
7802
|
-
{
|
|
7803
|
-
"description": "The width of the card",
|
|
7804
|
-
"name": "--mdc-card-width"
|
|
7805
|
-
}
|
|
7806
7785
|
],
|
|
7807
7786
|
"cssParts": [
|
|
7808
7787
|
{
|
|
@@ -7866,14 +7845,6 @@
|
|
|
7866
7845
|
{
|
|
7867
7846
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7868
7847
|
"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"
|
|
7877
7848
|
}
|
|
7878
7849
|
],
|
|
7879
7850
|
"members": [
|
|
@@ -8060,204 +8031,58 @@
|
|
|
8060
8031
|
"return": {
|
|
8061
8032
|
"type": {
|
|
8062
8033
|
"text": ""
|
|
8063
|
-
}
|
|
8064
|
-
},
|
|
8065
|
-
"inheritedFrom": {
|
|
8066
|
-
"name": "CardComponentMixin",
|
|
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",
|
|
8034
|
+
}
|
|
8035
|
+
},
|
|
8190
8036
|
"inheritedFrom": {
|
|
8191
8037
|
"name": "CardComponentMixin",
|
|
8192
|
-
"module": "
|
|
8038
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8193
8039
|
}
|
|
8194
8040
|
},
|
|
8195
8041
|
{
|
|
8196
|
-
"
|
|
8042
|
+
"kind": "field",
|
|
8043
|
+
"name": "autoFocusOnMount",
|
|
8197
8044
|
"type": {
|
|
8198
|
-
"text": "
|
|
8045
|
+
"text": "boolean"
|
|
8199
8046
|
},
|
|
8200
|
-
"
|
|
8201
|
-
"
|
|
8202
|
-
"
|
|
8047
|
+
"default": "false",
|
|
8048
|
+
"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.",
|
|
8049
|
+
"attribute": "auto-focus-on-mount",
|
|
8050
|
+
"reflects": true,
|
|
8203
8051
|
"inheritedFrom": {
|
|
8204
|
-
"name": "
|
|
8205
|
-
"module": "
|
|
8052
|
+
"name": "Buttonsimple",
|
|
8053
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8206
8054
|
}
|
|
8207
8055
|
},
|
|
8208
8056
|
{
|
|
8209
|
-
"
|
|
8057
|
+
"kind": "field",
|
|
8058
|
+
"name": "tabIndex",
|
|
8210
8059
|
"type": {
|
|
8211
|
-
"text": "
|
|
8060
|
+
"text": "number"
|
|
8212
8061
|
},
|
|
8213
|
-
"
|
|
8214
|
-
"
|
|
8062
|
+
"default": "0",
|
|
8063
|
+
"description": "This property specifies the tab order of the element.",
|
|
8064
|
+
"attribute": "tabIndex",
|
|
8065
|
+
"reflects": true,
|
|
8215
8066
|
"inheritedFrom": {
|
|
8216
|
-
"name": "
|
|
8217
|
-
"module": "
|
|
8067
|
+
"name": "Buttonsimple",
|
|
8068
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8218
8069
|
}
|
|
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"
|
|
8246
|
-
},
|
|
8247
|
-
{
|
|
8248
|
-
"description": "Background color of the button",
|
|
8249
|
-
"name": "--mdc-button-background"
|
|
8250
8070
|
},
|
|
8251
8071
|
{
|
|
8252
|
-
"
|
|
8253
|
-
"name": "
|
|
8072
|
+
"kind": "field",
|
|
8073
|
+
"name": "disabled",
|
|
8074
|
+
"type": {
|
|
8075
|
+
"text": "boolean | undefined"
|
|
8076
|
+
},
|
|
8077
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8078
|
+
"default": "undefined",
|
|
8079
|
+
"attribute": "disabled",
|
|
8080
|
+
"reflects": true,
|
|
8081
|
+
"inheritedFrom": {
|
|
8082
|
+
"name": "Buttonsimple",
|
|
8083
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8084
|
+
}
|
|
8254
8085
|
},
|
|
8255
|
-
{
|
|
8256
|
-
"description": "Text color of the button",
|
|
8257
|
-
"name": "--mdc-button-text-color"
|
|
8258
|
-
}
|
|
8259
|
-
],
|
|
8260
|
-
"members": [
|
|
8261
8086
|
{
|
|
8262
8087
|
"kind": "field",
|
|
8263
8088
|
"name": "active",
|
|
@@ -8267,7 +8092,11 @@
|
|
|
8267
8092
|
"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.",
|
|
8268
8093
|
"default": "undefined",
|
|
8269
8094
|
"attribute": "active",
|
|
8270
|
-
"reflects": true
|
|
8095
|
+
"reflects": true,
|
|
8096
|
+
"inheritedFrom": {
|
|
8097
|
+
"name": "Buttonsimple",
|
|
8098
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8099
|
+
}
|
|
8271
8100
|
},
|
|
8272
8101
|
{
|
|
8273
8102
|
"kind": "field",
|
|
@@ -8278,7 +8107,11 @@
|
|
|
8278
8107
|
"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.",
|
|
8279
8108
|
"default": "undefined",
|
|
8280
8109
|
"attribute": "soft-disabled",
|
|
8281
|
-
"reflects": true
|
|
8110
|
+
"reflects": true,
|
|
8111
|
+
"inheritedFrom": {
|
|
8112
|
+
"name": "Buttonsimple",
|
|
8113
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8114
|
+
}
|
|
8282
8115
|
},
|
|
8283
8116
|
{
|
|
8284
8117
|
"kind": "field",
|
|
@@ -8289,7 +8122,11 @@
|
|
|
8289
8122
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8290
8123
|
"default": "32",
|
|
8291
8124
|
"attribute": "size",
|
|
8292
|
-
"reflects": true
|
|
8125
|
+
"reflects": true,
|
|
8126
|
+
"inheritedFrom": {
|
|
8127
|
+
"name": "Buttonsimple",
|
|
8128
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8129
|
+
}
|
|
8293
8130
|
},
|
|
8294
8131
|
{
|
|
8295
8132
|
"kind": "field",
|
|
@@ -8300,7 +8137,11 @@
|
|
|
8300
8137
|
"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.",
|
|
8301
8138
|
"default": "button",
|
|
8302
8139
|
"attribute": "role",
|
|
8303
|
-
"reflects": true
|
|
8140
|
+
"reflects": true,
|
|
8141
|
+
"inheritedFrom": {
|
|
8142
|
+
"name": "Buttonsimple",
|
|
8143
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8144
|
+
}
|
|
8304
8145
|
},
|
|
8305
8146
|
{
|
|
8306
8147
|
"kind": "field",
|
|
@@ -8311,7 +8152,11 @@
|
|
|
8311
8152
|
"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`",
|
|
8312
8153
|
"default": "'aria-pressed' (when)",
|
|
8313
8154
|
"attribute": "ariaStateKey",
|
|
8314
|
-
"reflects": true
|
|
8155
|
+
"reflects": true,
|
|
8156
|
+
"inheritedFrom": {
|
|
8157
|
+
"name": "Buttonsimple",
|
|
8158
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8159
|
+
}
|
|
8315
8160
|
},
|
|
8316
8161
|
{
|
|
8317
8162
|
"kind": "field",
|
|
@@ -8322,7 +8167,11 @@
|
|
|
8322
8167
|
"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.",
|
|
8323
8168
|
"default": "button",
|
|
8324
8169
|
"attribute": "type",
|
|
8325
|
-
"reflects": true
|
|
8170
|
+
"reflects": true,
|
|
8171
|
+
"inheritedFrom": {
|
|
8172
|
+
"name": "Buttonsimple",
|
|
8173
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8174
|
+
}
|
|
8326
8175
|
},
|
|
8327
8176
|
{
|
|
8328
8177
|
"kind": "field",
|
|
@@ -8332,7 +8181,11 @@
|
|
|
8332
8181
|
},
|
|
8333
8182
|
"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.",
|
|
8334
8183
|
"attribute": "name",
|
|
8335
|
-
"reflects": true
|
|
8184
|
+
"reflects": true,
|
|
8185
|
+
"inheritedFrom": {
|
|
8186
|
+
"name": "Buttonsimple",
|
|
8187
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8188
|
+
}
|
|
8336
8189
|
},
|
|
8337
8190
|
{
|
|
8338
8191
|
"kind": "field",
|
|
@@ -8342,12 +8195,20 @@
|
|
|
8342
8195
|
},
|
|
8343
8196
|
"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.",
|
|
8344
8197
|
"attribute": "value",
|
|
8345
|
-
"reflects": true
|
|
8198
|
+
"reflects": true,
|
|
8199
|
+
"inheritedFrom": {
|
|
8200
|
+
"name": "Buttonsimple",
|
|
8201
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8202
|
+
}
|
|
8346
8203
|
},
|
|
8347
8204
|
{
|
|
8348
8205
|
"kind": "method",
|
|
8349
8206
|
"name": "executeAction",
|
|
8350
|
-
"privacy": "protected"
|
|
8207
|
+
"privacy": "protected",
|
|
8208
|
+
"inheritedFrom": {
|
|
8209
|
+
"name": "Buttonsimple",
|
|
8210
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8211
|
+
}
|
|
8351
8212
|
},
|
|
8352
8213
|
{
|
|
8353
8214
|
"kind": "method",
|
|
@@ -8370,7 +8231,11 @@
|
|
|
8370
8231
|
"description": "The active state of the element"
|
|
8371
8232
|
}
|
|
8372
8233
|
],
|
|
8373
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button."
|
|
8234
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
8235
|
+
"inheritedFrom": {
|
|
8236
|
+
"name": "Buttonsimple",
|
|
8237
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8238
|
+
}
|
|
8374
8239
|
},
|
|
8375
8240
|
{
|
|
8376
8241
|
"kind": "method",
|
|
@@ -8393,7 +8258,11 @@
|
|
|
8393
8258
|
"description": "The soft-disabled state."
|
|
8394
8259
|
}
|
|
8395
8260
|
],
|
|
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."
|
|
8261
|
+
"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
|
+
"inheritedFrom": {
|
|
8263
|
+
"name": "Buttonsimple",
|
|
8264
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8265
|
+
}
|
|
8397
8266
|
},
|
|
8398
8267
|
{
|
|
8399
8268
|
"kind": "method",
|
|
@@ -8415,18 +8284,30 @@
|
|
|
8415
8284
|
"description": "The disabled state."
|
|
8416
8285
|
}
|
|
8417
8286
|
],
|
|
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."
|
|
8287
|
+
"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
|
+
"inheritedFrom": {
|
|
8289
|
+
"name": "Buttonsimple",
|
|
8290
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8291
|
+
}
|
|
8419
8292
|
},
|
|
8420
8293
|
{
|
|
8421
8294
|
"kind": "method",
|
|
8422
8295
|
"name": "triggerClickEvent",
|
|
8423
|
-
"privacy": "private"
|
|
8296
|
+
"privacy": "private",
|
|
8297
|
+
"inheritedFrom": {
|
|
8298
|
+
"name": "Buttonsimple",
|
|
8299
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8300
|
+
}
|
|
8424
8301
|
},
|
|
8425
8302
|
{
|
|
8426
8303
|
"kind": "method",
|
|
8427
8304
|
"name": "handleBlur",
|
|
8428
8305
|
"privacy": "private",
|
|
8429
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
|
|
8306
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
8307
|
+
"inheritedFrom": {
|
|
8308
|
+
"name": "Buttonsimple",
|
|
8309
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8310
|
+
}
|
|
8430
8311
|
},
|
|
8431
8312
|
{
|
|
8432
8313
|
"kind": "method",
|
|
@@ -8441,7 +8322,11 @@
|
|
|
8441
8322
|
"description": "The keyboard event."
|
|
8442
8323
|
}
|
|
8443
8324
|
],
|
|
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."
|
|
8325
|
+
"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
|
+
"inheritedFrom": {
|
|
8327
|
+
"name": "Buttonsimple",
|
|
8328
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8329
|
+
}
|
|
8445
8330
|
},
|
|
8446
8331
|
{
|
|
8447
8332
|
"kind": "method",
|
|
@@ -8456,77 +8341,220 @@
|
|
|
8456
8341
|
"description": "The keyboard event."
|
|
8457
8342
|
}
|
|
8458
8343
|
],
|
|
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."
|
|
8344
|
+
"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.",
|
|
8345
|
+
"inheritedFrom": {
|
|
8346
|
+
"name": "Buttonsimple",
|
|
8347
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
8348
|
+
}
|
|
8349
|
+
}
|
|
8350
|
+
],
|
|
8351
|
+
"events": [
|
|
8352
|
+
{
|
|
8353
|
+
"description": "(React: onClick) Event that gets dispatched when the card is clicked.",
|
|
8354
|
+
"name": "click",
|
|
8355
|
+
"reactName": "onClick",
|
|
8356
|
+
"inheritedFrom": {
|
|
8357
|
+
"name": "Buttonsimple",
|
|
8358
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8359
|
+
}
|
|
8460
8360
|
},
|
|
8461
8361
|
{
|
|
8462
|
-
"
|
|
8463
|
-
"name": "
|
|
8362
|
+
"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.",
|
|
8363
|
+
"name": "keydown",
|
|
8364
|
+
"reactName": "onKeyDown",
|
|
8365
|
+
"inheritedFrom": {
|
|
8366
|
+
"name": "Buttonsimple",
|
|
8367
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8368
|
+
}
|
|
8369
|
+
},
|
|
8370
|
+
{
|
|
8371
|
+
"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.",
|
|
8372
|
+
"name": "keyup",
|
|
8373
|
+
"reactName": "onKeyUp",
|
|
8374
|
+
"inheritedFrom": {
|
|
8375
|
+
"name": "Buttonsimple",
|
|
8376
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8377
|
+
}
|
|
8378
|
+
},
|
|
8379
|
+
{
|
|
8380
|
+
"description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
|
|
8381
|
+
"name": "focus",
|
|
8382
|
+
"reactName": "onFocus",
|
|
8383
|
+
"inheritedFrom": {
|
|
8384
|
+
"name": "Buttonsimple",
|
|
8385
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8386
|
+
}
|
|
8387
|
+
}
|
|
8388
|
+
],
|
|
8389
|
+
"mixins": [
|
|
8390
|
+
{
|
|
8391
|
+
"name": "CardComponentMixin",
|
|
8392
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8393
|
+
}
|
|
8394
|
+
],
|
|
8395
|
+
"superclass": {
|
|
8396
|
+
"name": "Buttonsimple",
|
|
8397
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
8398
|
+
},
|
|
8399
|
+
"tagName": "mdc-cardbutton",
|
|
8400
|
+
"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 */",
|
|
8401
|
+
"customElement": true,
|
|
8402
|
+
"attributes": [
|
|
8403
|
+
{
|
|
8404
|
+
"name": "card-title",
|
|
8405
|
+
"type": {
|
|
8406
|
+
"text": "string"
|
|
8407
|
+
},
|
|
8408
|
+
"default": "''",
|
|
8409
|
+
"description": "The title of the card - part of header section",
|
|
8410
|
+
"fieldName": "cardTitle",
|
|
8411
|
+
"inheritedFrom": {
|
|
8412
|
+
"name": "CardComponentMixin",
|
|
8413
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8414
|
+
}
|
|
8415
|
+
},
|
|
8416
|
+
{
|
|
8417
|
+
"name": "subtitle",
|
|
8418
|
+
"type": {
|
|
8419
|
+
"text": "string"
|
|
8420
|
+
},
|
|
8421
|
+
"default": "''",
|
|
8422
|
+
"description": "The subtitle of the card - part of header section",
|
|
8423
|
+
"fieldName": "subtitle",
|
|
8424
|
+
"inheritedFrom": {
|
|
8425
|
+
"name": "CardComponentMixin",
|
|
8426
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8427
|
+
}
|
|
8428
|
+
},
|
|
8429
|
+
{
|
|
8430
|
+
"name": "image-src",
|
|
8431
|
+
"type": {
|
|
8432
|
+
"text": "string"
|
|
8433
|
+
},
|
|
8434
|
+
"default": "''",
|
|
8435
|
+
"description": "The image source URL to render on the card",
|
|
8436
|
+
"fieldName": "imageSrc",
|
|
8437
|
+
"inheritedFrom": {
|
|
8438
|
+
"name": "CardComponentMixin",
|
|
8439
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8440
|
+
}
|
|
8441
|
+
},
|
|
8442
|
+
{
|
|
8443
|
+
"name": "image-alt",
|
|
8444
|
+
"type": {
|
|
8445
|
+
"text": "string"
|
|
8446
|
+
},
|
|
8447
|
+
"default": "''",
|
|
8448
|
+
"description": "The image alt for accessibility support",
|
|
8449
|
+
"fieldName": "imageAlt",
|
|
8450
|
+
"inheritedFrom": {
|
|
8451
|
+
"name": "CardComponentMixin",
|
|
8452
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8453
|
+
}
|
|
8454
|
+
},
|
|
8455
|
+
{
|
|
8456
|
+
"name": "variant",
|
|
8457
|
+
"type": {
|
|
8458
|
+
"text": "CardVariant"
|
|
8459
|
+
},
|
|
8460
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8461
|
+
"default": "'border'",
|
|
8462
|
+
"fieldName": "variant",
|
|
8463
|
+
"inheritedFrom": {
|
|
8464
|
+
"name": "CardComponentMixin",
|
|
8465
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8466
|
+
}
|
|
8467
|
+
},
|
|
8468
|
+
{
|
|
8469
|
+
"name": "orientation",
|
|
8470
|
+
"type": {
|
|
8471
|
+
"text": "CardOrientation"
|
|
8472
|
+
},
|
|
8473
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8474
|
+
"default": "'vertical'",
|
|
8475
|
+
"fieldName": "orientation",
|
|
8476
|
+
"inheritedFrom": {
|
|
8477
|
+
"name": "CardComponentMixin",
|
|
8478
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8479
|
+
}
|
|
8480
|
+
},
|
|
8481
|
+
{
|
|
8482
|
+
"name": "title-tag-name",
|
|
8483
|
+
"type": {
|
|
8484
|
+
"text": "TagNameType"
|
|
8485
|
+
},
|
|
8486
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8487
|
+
"default": "'span'",
|
|
8488
|
+
"fieldName": "titleTagName",
|
|
8489
|
+
"inheritedFrom": {
|
|
8490
|
+
"name": "CardComponentMixin",
|
|
8491
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8492
|
+
}
|
|
8493
|
+
},
|
|
8494
|
+
{
|
|
8495
|
+
"name": "subtitle-tag-name",
|
|
8496
|
+
"type": {
|
|
8497
|
+
"text": "TagNameType"
|
|
8498
|
+
},
|
|
8499
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8500
|
+
"default": "'span'",
|
|
8501
|
+
"fieldName": "subtitleTagName",
|
|
8502
|
+
"inheritedFrom": {
|
|
8503
|
+
"name": "CardComponentMixin",
|
|
8504
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8505
|
+
}
|
|
8506
|
+
},
|
|
8507
|
+
{
|
|
8508
|
+
"name": "icon-name",
|
|
8509
|
+
"type": {
|
|
8510
|
+
"text": "IconNames | undefined"
|
|
8511
|
+
},
|
|
8512
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8513
|
+
"fieldName": "iconName",
|
|
8514
|
+
"inheritedFrom": {
|
|
8515
|
+
"name": "CardComponentMixin",
|
|
8516
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8517
|
+
}
|
|
8518
|
+
},
|
|
8519
|
+
{
|
|
8520
|
+
"name": "auto-focus-on-mount",
|
|
8464
8521
|
"type": {
|
|
8465
8522
|
"text": "boolean"
|
|
8466
8523
|
},
|
|
8467
8524
|
"default": "false",
|
|
8468
8525
|
"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.",
|
|
8469
|
-
"
|
|
8470
|
-
"reflects": true,
|
|
8526
|
+
"fieldName": "autoFocusOnMount",
|
|
8471
8527
|
"inheritedFrom": {
|
|
8472
|
-
"name": "
|
|
8473
|
-
"module": "
|
|
8528
|
+
"name": "Buttonsimple",
|
|
8529
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8474
8530
|
}
|
|
8475
8531
|
},
|
|
8476
8532
|
{
|
|
8477
|
-
"kind": "field",
|
|
8478
8533
|
"name": "tabIndex",
|
|
8479
8534
|
"type": {
|
|
8480
8535
|
"text": "number"
|
|
8481
8536
|
},
|
|
8482
8537
|
"default": "0",
|
|
8483
8538
|
"description": "This property specifies the tab order of the element.",
|
|
8484
|
-
"
|
|
8485
|
-
"reflects": true,
|
|
8539
|
+
"fieldName": "tabIndex",
|
|
8486
8540
|
"inheritedFrom": {
|
|
8487
|
-
"name": "
|
|
8488
|
-
"module": "
|
|
8541
|
+
"name": "Buttonsimple",
|
|
8542
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8489
8543
|
}
|
|
8490
8544
|
},
|
|
8491
8545
|
{
|
|
8492
|
-
"kind": "field",
|
|
8493
8546
|
"name": "disabled",
|
|
8494
8547
|
"type": {
|
|
8495
8548
|
"text": "boolean | undefined"
|
|
8496
8549
|
},
|
|
8497
8550
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
8498
8551
|
"default": "undefined",
|
|
8499
|
-
"
|
|
8500
|
-
"reflects": true,
|
|
8552
|
+
"fieldName": "disabled",
|
|
8501
8553
|
"inheritedFrom": {
|
|
8502
|
-
"name": "
|
|
8503
|
-
"module": "
|
|
8554
|
+
"name": "Buttonsimple",
|
|
8555
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8504
8556
|
}
|
|
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"
|
|
8522
8557
|
},
|
|
8523
|
-
{
|
|
8524
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
8525
|
-
"name": "focus",
|
|
8526
|
-
"reactName": "onFocus"
|
|
8527
|
-
}
|
|
8528
|
-
],
|
|
8529
|
-
"attributes": [
|
|
8530
8558
|
{
|
|
8531
8559
|
"name": "active",
|
|
8532
8560
|
"type": {
|
|
@@ -8534,7 +8562,11 @@
|
|
|
8534
8562
|
},
|
|
8535
8563
|
"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.",
|
|
8536
8564
|
"default": "undefined",
|
|
8537
|
-
"fieldName": "active"
|
|
8565
|
+
"fieldName": "active",
|
|
8566
|
+
"inheritedFrom": {
|
|
8567
|
+
"name": "Buttonsimple",
|
|
8568
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8569
|
+
}
|
|
8538
8570
|
},
|
|
8539
8571
|
{
|
|
8540
8572
|
"name": "soft-disabled",
|
|
@@ -8543,7 +8575,11 @@
|
|
|
8543
8575
|
},
|
|
8544
8576
|
"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.",
|
|
8545
8577
|
"default": "undefined",
|
|
8546
|
-
"fieldName": "softDisabled"
|
|
8578
|
+
"fieldName": "softDisabled",
|
|
8579
|
+
"inheritedFrom": {
|
|
8580
|
+
"name": "Buttonsimple",
|
|
8581
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8582
|
+
}
|
|
8547
8583
|
},
|
|
8548
8584
|
{
|
|
8549
8585
|
"name": "size",
|
|
@@ -8552,7 +8588,11 @@
|
|
|
8552
8588
|
},
|
|
8553
8589
|
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
8554
8590
|
"default": "32",
|
|
8555
|
-
"fieldName": "size"
|
|
8591
|
+
"fieldName": "size",
|
|
8592
|
+
"inheritedFrom": {
|
|
8593
|
+
"name": "Buttonsimple",
|
|
8594
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8595
|
+
}
|
|
8556
8596
|
},
|
|
8557
8597
|
{
|
|
8558
8598
|
"name": "role",
|
|
@@ -8561,7 +8601,11 @@
|
|
|
8561
8601
|
},
|
|
8562
8602
|
"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.",
|
|
8563
8603
|
"default": "button",
|
|
8564
|
-
"fieldName": "role"
|
|
8604
|
+
"fieldName": "role",
|
|
8605
|
+
"inheritedFrom": {
|
|
8606
|
+
"name": "Buttonsimple",
|
|
8607
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8608
|
+
}
|
|
8565
8609
|
},
|
|
8566
8610
|
{
|
|
8567
8611
|
"name": "ariaStateKey",
|
|
@@ -8570,7 +8614,11 @@
|
|
|
8570
8614
|
},
|
|
8571
8615
|
"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`",
|
|
8572
8616
|
"default": "'aria-pressed' (when)",
|
|
8573
|
-
"fieldName": "ariaStateKey"
|
|
8617
|
+
"fieldName": "ariaStateKey",
|
|
8618
|
+
"inheritedFrom": {
|
|
8619
|
+
"name": "Buttonsimple",
|
|
8620
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8621
|
+
}
|
|
8574
8622
|
},
|
|
8575
8623
|
{
|
|
8576
8624
|
"name": "type",
|
|
@@ -8579,7 +8627,11 @@
|
|
|
8579
8627
|
},
|
|
8580
8628
|
"description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
|
|
8581
8629
|
"default": "button",
|
|
8582
|
-
"fieldName": "type"
|
|
8630
|
+
"fieldName": "type",
|
|
8631
|
+
"inheritedFrom": {
|
|
8632
|
+
"name": "Buttonsimple",
|
|
8633
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8634
|
+
}
|
|
8583
8635
|
},
|
|
8584
8636
|
{
|
|
8585
8637
|
"name": "name",
|
|
@@ -8587,7 +8639,11 @@
|
|
|
8587
8639
|
"text": "string | undefined"
|
|
8588
8640
|
},
|
|
8589
8641
|
"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.",
|
|
8590
|
-
"fieldName": "name"
|
|
8642
|
+
"fieldName": "name",
|
|
8643
|
+
"inheritedFrom": {
|
|
8644
|
+
"name": "Buttonsimple",
|
|
8645
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8646
|
+
}
|
|
8591
8647
|
},
|
|
8592
8648
|
{
|
|
8593
8649
|
"name": "value",
|
|
@@ -8595,69 +8651,13 @@
|
|
|
8595
8651
|
"text": "string | undefined"
|
|
8596
8652
|
},
|
|
8597
8653
|
"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.",
|
|
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",
|
|
8608
|
-
"inheritedFrom": {
|
|
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",
|
|
8654
|
+
"fieldName": "value",
|
|
8634
8655
|
"inheritedFrom": {
|
|
8635
|
-
"name": "
|
|
8636
|
-
"module": "src/
|
|
8656
|
+
"name": "Buttonsimple",
|
|
8657
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
8637
8658
|
}
|
|
8638
8659
|
}
|
|
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
|
|
8660
|
+
]
|
|
8661
8661
|
}
|
|
8662
8662
|
],
|
|
8663
8663
|
"exports": [
|
|
@@ -8665,8 +8665,8 @@
|
|
|
8665
8665
|
"kind": "js",
|
|
8666
8666
|
"name": "default",
|
|
8667
8667
|
"declaration": {
|
|
8668
|
-
"name": "
|
|
8669
|
-
"module": "components/
|
|
8668
|
+
"name": "CardButton",
|
|
8669
|
+
"module": "components/cardbutton/cardbutton.component.js"
|
|
8670
8670
|
}
|
|
8671
8671
|
}
|
|
8672
8672
|
]
|
|
@@ -46688,7 +46688,7 @@
|
|
|
46688
46688
|
"declarations": [
|
|
46689
46689
|
{
|
|
46690
46690
|
"kind": "class",
|
|
46691
|
-
"description": "mdc-textarea component, which is used to get the multi-line text input from the user.\nIt contains:\n- label: It is the title of the textarea field.\n- required: A boolean attribute depicting that the textarea field is required.\n- Textarea: It is the multi-line text input field.\n- helper-text: It is the text that provides additional information about the textarea field.\n- max-character-limit: It is the text that shows the character count of the textarea field.\n- Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n about the textarea field based on the validation state.\n- limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n This event exposes 3 properties:\n - currentCharacterCount - the current number of characters in the textarea field,\n - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n - value - the current value of the textarea field,\n\n**Note**: Consumers must set the help-text-type with 'error' and\nhelp-text attribute with the error message using limitexceeded event.\nThe same help-text value will be used for the validation message to be displayed.\n\n### Accessibility
|
|
46691
|
+
"description": "mdc-textarea component, which is used to get the multi-line text input from the user.\nIt contains:\n- label: It is the title of the textarea field.\n- required: A boolean attribute depicting that the textarea field is required.\n- Textarea: It is the multi-line text input field.\n- helper-text: It is the text that provides additional information about the textarea field.\n- max-character-limit: It is the text that shows the character count of the textarea field.\n- Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n about the textarea field based on the validation state.\n- limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n This event exposes 3 properties:\n - currentCharacterCount - the current number of characters in the textarea field,\n - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n - value - the current value of the textarea field,\n\n**Note**: Consumers must set the help-text-type with 'error' and\nhelp-text attribute with the error message using limitexceeded event.\nThe same help-text value will be used for the validation message to be displayed.\n\n### Accessibility\n\n#### Resize\n\nAccessible text area resizing can be turned on with the `resizable`.\nIt is strongly recommended to set the `resize-button-aria-label` attribute as well to describe what it is and what are the shortcuts (up/down arrows) of the button.\n\n#### Best practices\n\n- Always provide a `label` for screen readers to identify the textarea's purpose\n- Use `help-text` to provide additional context or instructions\n- When using `max-character-limit`, consider providing `character-limit-announcement` for screen reader updates\n- Use appropriate `help-text-type` (error, warning, success) to convey validation state\n- Ensure `validation-message` is set for form validation errors",
|
|
46692
46692
|
"name": "Textarea",
|
|
46693
46693
|
"cssProperties": [
|
|
46694
46694
|
{
|
|
@@ -47909,7 +47909,7 @@
|
|
|
47909
47909
|
"module": "/src/components/formfieldwrapper"
|
|
47910
47910
|
},
|
|
47911
47911
|
"tagName": "mdc-textarea",
|
|
47912
|
-
"jsDoc": "/**\n * mdc-textarea component, which is used to get the multi-line text input from the user.\n * It contains:\n * - label: It is the title of the textarea field.\n * - required: A boolean attribute depicting that the textarea field is required.\n * - Textarea: It is the multi-line text input field.\n * - helper-text: It is the text that provides additional information about the textarea field.\n * - max-character-limit: It is the text that shows the character count of the textarea field.\n * - Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n * about the textarea field based on the validation state.\n * - limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n * This event exposes 3 properties:\n * - currentCharacterCount - the current number of characters in the textarea field,\n * - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n * - value - the current value of the textarea field,\n *\n * **Note**: Consumers must set the help-text-type with 'error' and\n * help-text attribute with the error message using limitexceeded event.\n * The same help-text value will be used for the validation message to be displayed.\n *\n * ### Accessibility
|
|
47912
|
+
"jsDoc": "/**\n * mdc-textarea component, which is used to get the multi-line text input from the user.\n * It contains:\n * - label: It is the title of the textarea field.\n * - required: A boolean attribute depicting that the textarea field is required.\n * - Textarea: It is the multi-line text input field.\n * - helper-text: It is the text that provides additional information about the textarea field.\n * - max-character-limit: It is the text that shows the character count of the textarea field.\n * - Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n * about the textarea field based on the validation state.\n * - limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n * This event exposes 3 properties:\n * - currentCharacterCount - the current number of characters in the textarea field,\n * - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n * - value - the current value of the textarea field,\n *\n * **Note**: Consumers must set the help-text-type with 'error' and\n * help-text attribute with the error message using limitexceeded event.\n * The same help-text value will be used for the validation message to be displayed.\n *\n * ### Accessibility\n *\n * #### Resize\n *\n * Accessible text area resizing can be turned on with the `resizable`.\n * It is strongly recommended to set the `resize-button-aria-label` attribute as well to describe what it is and what are the shortcuts (up/down arrows) of the button.\n *\n * #### Best practices\n *\n * - Always provide a `label` for screen readers to identify the textarea's purpose\n * - Use `help-text` to provide additional context or instructions\n * - When using `max-character-limit`, consider providing `character-limit-announcement` for screen reader updates\n * - Use appropriate `help-text-type` (error, warning, success) to convey validation state\n * - Ensure `validation-message` is set for form validation errors\n *\n * @tagname mdc-textarea\n *\n * @event input - (React: onInput) This event is dispatched when the value of the textarea field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the textarea field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the textarea receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the textarea loses focus.\n * @event limitexceeded - (React: onLimitExceeded) This event is dispatched once when the character limit\n * exceeds or restored.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart textarea - The textarea element.\n * @csspart textarea-container - The container element that wraps the textarea and resize button.\n * @csspart textarea-footer - The footer element that contains the character counter.\n * @csspart character-counter - The character counter element.\n * @csspart resize-button - The resize button element (shown when `resizable` is true).\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-textarea-text-color - Text color for the textarea field\n * @cssproperty --mdc-textarea-background-color - Background color for the textarea field\n * @cssproperty --mdc-textarea-border-color - Border color for the textarea field\n * @cssproperty --mdc-textarea-text-secondary-normal - Text color for the character counter\n * @cssproperty --mdc-textarea-text-font-size - Font size for the textarea field\n * @cssproperty --mdc-textarea-text-line-height - Line height for the textarea field\n * @cssproperty --mdc-textarea-container-background-color - Background color for the textarea container\n */",
|
|
47913
47913
|
"customElement": true
|
|
47914
47914
|
}
|
|
47915
47915
|
],
|
|
@@ -48034,6 +48034,396 @@
|
|
|
48034
48034
|
}
|
|
48035
48035
|
]
|
|
48036
48036
|
},
|
|
48037
|
+
{
|
|
48038
|
+
"kind": "javascript-module",
|
|
48039
|
+
"path": "components/toast/toast.component.js",
|
|
48040
|
+
"declarations": [
|
|
48041
|
+
{
|
|
48042
|
+
"kind": "class",
|
|
48043
|
+
"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.",
|
|
48044
|
+
"name": "Toast",
|
|
48045
|
+
"cssProperties": [
|
|
48046
|
+
{
|
|
48047
|
+
"description": "Background color of the toast.",
|
|
48048
|
+
"name": "--mdc-toast-background-color"
|
|
48049
|
+
},
|
|
48050
|
+
{
|
|
48051
|
+
"description": "Border color of the toast.",
|
|
48052
|
+
"name": "--mdc-toast-border-color"
|
|
48053
|
+
},
|
|
48054
|
+
{
|
|
48055
|
+
"description": "Color of the header text in the toast.",
|
|
48056
|
+
"name": "--mdc-toast-header-text-color"
|
|
48057
|
+
},
|
|
48058
|
+
{
|
|
48059
|
+
"description": "Color of the icon in the toast.",
|
|
48060
|
+
"name": "--mdc-toast-icon-color"
|
|
48061
|
+
},
|
|
48062
|
+
{
|
|
48063
|
+
"description": "Elevation effect applied to the toast.",
|
|
48064
|
+
"name": "--mdc-toast-elevation-3"
|
|
48065
|
+
},
|
|
48066
|
+
{
|
|
48067
|
+
"description": "Width of the toast.",
|
|
48068
|
+
"name": "--mdc-toast-width"
|
|
48069
|
+
},
|
|
48070
|
+
{
|
|
48071
|
+
"description": "Padding inside the toast.",
|
|
48072
|
+
"name": "--mdc-toast-padding"
|
|
48073
|
+
}
|
|
48074
|
+
],
|
|
48075
|
+
"cssParts": [
|
|
48076
|
+
{
|
|
48077
|
+
"description": "The container for the toast's main content, including icon, text, and close button.",
|
|
48078
|
+
"name": "content-container"
|
|
48079
|
+
},
|
|
48080
|
+
{
|
|
48081
|
+
"description": "The icon shown at the start of the toast, styled by variant.",
|
|
48082
|
+
"name": "toast-prefix-icon"
|
|
48083
|
+
},
|
|
48084
|
+
{
|
|
48085
|
+
"description": "The container for the header and body content of the toast.",
|
|
48086
|
+
"name": "toast-content"
|
|
48087
|
+
},
|
|
48088
|
+
{
|
|
48089
|
+
"description": "The header text of the toast.",
|
|
48090
|
+
"name": "toast-header"
|
|
48091
|
+
},
|
|
48092
|
+
{
|
|
48093
|
+
"description": "The container for the toast's footer, including toggle and action buttons.",
|
|
48094
|
+
"name": "footer"
|
|
48095
|
+
},
|
|
48096
|
+
{
|
|
48097
|
+
"description": "The toggle button for showing/hiding detailed content.",
|
|
48098
|
+
"name": "footer-button-toggle"
|
|
48099
|
+
},
|
|
48100
|
+
{
|
|
48101
|
+
"description": "The close button for the toast.",
|
|
48102
|
+
"name": "toast-close-btn"
|
|
48103
|
+
},
|
|
48104
|
+
{
|
|
48105
|
+
"description": "Applied to the footer when it contains buttons or a toggle button.",
|
|
48106
|
+
"name": "has-footer-buttons"
|
|
48107
|
+
}
|
|
48108
|
+
],
|
|
48109
|
+
"slots": [
|
|
48110
|
+
{
|
|
48111
|
+
"description": "Slot for custom content before the icon (only for custom variant).",
|
|
48112
|
+
"name": "content-prefix"
|
|
48113
|
+
},
|
|
48114
|
+
{
|
|
48115
|
+
"description": "Slot for the main body content of the toast.",
|
|
48116
|
+
"name": "toast-body-normal"
|
|
48117
|
+
},
|
|
48118
|
+
{
|
|
48119
|
+
"description": "Slot for additional detailed content, shown when expanded.",
|
|
48120
|
+
"name": "toast-body-detailed"
|
|
48121
|
+
},
|
|
48122
|
+
{
|
|
48123
|
+
"description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
|
|
48124
|
+
"name": "footer"
|
|
48125
|
+
},
|
|
48126
|
+
{
|
|
48127
|
+
"description": "Slot for passing the primary variant of `mdc-button` in the footer.",
|
|
48128
|
+
"name": "footer-button-primary"
|
|
48129
|
+
},
|
|
48130
|
+
{
|
|
48131
|
+
"description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
|
|
48132
|
+
"name": "footer-button-secondary"
|
|
48133
|
+
}
|
|
48134
|
+
],
|
|
48135
|
+
"members": [
|
|
48136
|
+
{
|
|
48137
|
+
"kind": "field",
|
|
48138
|
+
"name": "variant",
|
|
48139
|
+
"type": {
|
|
48140
|
+
"text": "ToastVariant"
|
|
48141
|
+
},
|
|
48142
|
+
"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.",
|
|
48143
|
+
"default": "'custom'",
|
|
48144
|
+
"attribute": "variant",
|
|
48145
|
+
"reflects": true
|
|
48146
|
+
},
|
|
48147
|
+
{
|
|
48148
|
+
"kind": "field",
|
|
48149
|
+
"name": "closeButtonAriaLabel",
|
|
48150
|
+
"type": {
|
|
48151
|
+
"text": "string | undefined"
|
|
48152
|
+
},
|
|
48153
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
|
48154
|
+
"attribute": "close-button-aria-label"
|
|
48155
|
+
},
|
|
48156
|
+
{
|
|
48157
|
+
"kind": "field",
|
|
48158
|
+
"name": "headerText",
|
|
48159
|
+
"type": {
|
|
48160
|
+
"text": "string | undefined"
|
|
48161
|
+
},
|
|
48162
|
+
"description": "Defines a string value to display as the title of the toast",
|
|
48163
|
+
"attribute": "header-text",
|
|
48164
|
+
"reflects": true
|
|
48165
|
+
},
|
|
48166
|
+
{
|
|
48167
|
+
"kind": "field",
|
|
48168
|
+
"name": "headerTagName",
|
|
48169
|
+
"type": {
|
|
48170
|
+
"text": "TagName"
|
|
48171
|
+
},
|
|
48172
|
+
"description": "The html tag to be used for the header text",
|
|
48173
|
+
"default": "'h2'",
|
|
48174
|
+
"attribute": "header-tag-name",
|
|
48175
|
+
"reflects": true
|
|
48176
|
+
},
|
|
48177
|
+
{
|
|
48178
|
+
"kind": "field",
|
|
48179
|
+
"name": "ariaLabel",
|
|
48180
|
+
"type": {
|
|
48181
|
+
"text": "string | null"
|
|
48182
|
+
},
|
|
48183
|
+
"default": "null",
|
|
48184
|
+
"description": "Defines aria-label attribute when header is not used",
|
|
48185
|
+
"attribute": "aria-label",
|
|
48186
|
+
"reflects": true
|
|
48187
|
+
},
|
|
48188
|
+
{
|
|
48189
|
+
"kind": "field",
|
|
48190
|
+
"name": "showMoreText",
|
|
48191
|
+
"type": {
|
|
48192
|
+
"text": "string | undefined"
|
|
48193
|
+
},
|
|
48194
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
48195
|
+
"attribute": "show-more-text",
|
|
48196
|
+
"reflects": true
|
|
48197
|
+
},
|
|
48198
|
+
{
|
|
48199
|
+
"kind": "field",
|
|
48200
|
+
"name": "showLessText",
|
|
48201
|
+
"type": {
|
|
48202
|
+
"text": "string | undefined"
|
|
48203
|
+
},
|
|
48204
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
48205
|
+
"attribute": "show-less-text",
|
|
48206
|
+
"reflects": true
|
|
48207
|
+
},
|
|
48208
|
+
{
|
|
48209
|
+
"kind": "field",
|
|
48210
|
+
"name": "isDetailVisible",
|
|
48211
|
+
"type": {
|
|
48212
|
+
"text": "boolean"
|
|
48213
|
+
},
|
|
48214
|
+
"privacy": "private",
|
|
48215
|
+
"default": "false"
|
|
48216
|
+
},
|
|
48217
|
+
{
|
|
48218
|
+
"kind": "field",
|
|
48219
|
+
"name": "hasDetailedSlot",
|
|
48220
|
+
"type": {
|
|
48221
|
+
"text": "boolean"
|
|
48222
|
+
},
|
|
48223
|
+
"privacy": "private",
|
|
48224
|
+
"default": "false"
|
|
48225
|
+
},
|
|
48226
|
+
{
|
|
48227
|
+
"kind": "field",
|
|
48228
|
+
"name": "detailedElements",
|
|
48229
|
+
"type": {
|
|
48230
|
+
"text": "HTMLElement[]"
|
|
48231
|
+
},
|
|
48232
|
+
"privacy": "private"
|
|
48233
|
+
},
|
|
48234
|
+
{
|
|
48235
|
+
"kind": "field",
|
|
48236
|
+
"name": "hasFooterButtons",
|
|
48237
|
+
"type": {
|
|
48238
|
+
"text": "string"
|
|
48239
|
+
},
|
|
48240
|
+
"privacy": "private",
|
|
48241
|
+
"default": "''"
|
|
48242
|
+
},
|
|
48243
|
+
{
|
|
48244
|
+
"kind": "method",
|
|
48245
|
+
"name": "closeToast",
|
|
48246
|
+
"privacy": "private",
|
|
48247
|
+
"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."
|
|
48248
|
+
},
|
|
48249
|
+
{
|
|
48250
|
+
"kind": "method",
|
|
48251
|
+
"name": "toggleDetailVisibility",
|
|
48252
|
+
"privacy": "private"
|
|
48253
|
+
},
|
|
48254
|
+
{
|
|
48255
|
+
"kind": "method",
|
|
48256
|
+
"name": "updateDetailedSlotPresence",
|
|
48257
|
+
"privacy": "private"
|
|
48258
|
+
},
|
|
48259
|
+
{
|
|
48260
|
+
"kind": "method",
|
|
48261
|
+
"name": "updateFooterButtonsPresence",
|
|
48262
|
+
"privacy": "private"
|
|
48263
|
+
},
|
|
48264
|
+
{
|
|
48265
|
+
"kind": "method",
|
|
48266
|
+
"name": "renderIcon",
|
|
48267
|
+
"privacy": "protected",
|
|
48268
|
+
"parameters": [
|
|
48269
|
+
{
|
|
48270
|
+
"name": "iconName",
|
|
48271
|
+
"type": {
|
|
48272
|
+
"text": "string"
|
|
48273
|
+
}
|
|
48274
|
+
}
|
|
48275
|
+
]
|
|
48276
|
+
},
|
|
48277
|
+
{
|
|
48278
|
+
"kind": "method",
|
|
48279
|
+
"name": "shouldRenderToggleButton",
|
|
48280
|
+
"privacy": "private"
|
|
48281
|
+
},
|
|
48282
|
+
{
|
|
48283
|
+
"kind": "method",
|
|
48284
|
+
"name": "renderToggleDetailButton",
|
|
48285
|
+
"privacy": "private"
|
|
48286
|
+
},
|
|
48287
|
+
{
|
|
48288
|
+
"kind": "method",
|
|
48289
|
+
"name": "renderHeader",
|
|
48290
|
+
"privacy": "protected"
|
|
48291
|
+
},
|
|
48292
|
+
{
|
|
48293
|
+
"kind": "method",
|
|
48294
|
+
"name": "handleFooterSlot",
|
|
48295
|
+
"privacy": "protected",
|
|
48296
|
+
"return": {
|
|
48297
|
+
"type": {
|
|
48298
|
+
"text": "void"
|
|
48299
|
+
}
|
|
48300
|
+
},
|
|
48301
|
+
"parameters": [
|
|
48302
|
+
{
|
|
48303
|
+
"name": "tagname",
|
|
48304
|
+
"type": {
|
|
48305
|
+
"text": "string"
|
|
48306
|
+
}
|
|
48307
|
+
},
|
|
48308
|
+
{
|
|
48309
|
+
"name": "variant",
|
|
48310
|
+
"optional": true,
|
|
48311
|
+
"type": {
|
|
48312
|
+
"text": "string | undefined"
|
|
48313
|
+
}
|
|
48314
|
+
}
|
|
48315
|
+
]
|
|
48316
|
+
},
|
|
48317
|
+
{
|
|
48318
|
+
"kind": "method",
|
|
48319
|
+
"name": "renderFooter",
|
|
48320
|
+
"privacy": "protected",
|
|
48321
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
48322
|
+
"return": {
|
|
48323
|
+
"type": {
|
|
48324
|
+
"text": ""
|
|
48325
|
+
}
|
|
48326
|
+
},
|
|
48327
|
+
"inheritedFrom": {
|
|
48328
|
+
"name": "FooterMixin",
|
|
48329
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
48330
|
+
}
|
|
48331
|
+
}
|
|
48332
|
+
],
|
|
48333
|
+
"events": [
|
|
48334
|
+
{
|
|
48335
|
+
"description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
|
|
48336
|
+
"name": "close",
|
|
48337
|
+
"reactName": "onClose"
|
|
48338
|
+
}
|
|
48339
|
+
],
|
|
48340
|
+
"attributes": [
|
|
48341
|
+
{
|
|
48342
|
+
"name": "variant",
|
|
48343
|
+
"type": {
|
|
48344
|
+
"text": "ToastVariant"
|
|
48345
|
+
},
|
|
48346
|
+
"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.",
|
|
48347
|
+
"default": "'custom'",
|
|
48348
|
+
"fieldName": "variant"
|
|
48349
|
+
},
|
|
48350
|
+
{
|
|
48351
|
+
"name": "close-button-aria-label",
|
|
48352
|
+
"type": {
|
|
48353
|
+
"text": "string | undefined"
|
|
48354
|
+
},
|
|
48355
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
|
48356
|
+
"fieldName": "closeButtonAriaLabel"
|
|
48357
|
+
},
|
|
48358
|
+
{
|
|
48359
|
+
"name": "header-text",
|
|
48360
|
+
"type": {
|
|
48361
|
+
"text": "string | undefined"
|
|
48362
|
+
},
|
|
48363
|
+
"description": "Defines a string value to display as the title of the toast",
|
|
48364
|
+
"fieldName": "headerText"
|
|
48365
|
+
},
|
|
48366
|
+
{
|
|
48367
|
+
"name": "header-tag-name",
|
|
48368
|
+
"type": {
|
|
48369
|
+
"text": "TagName"
|
|
48370
|
+
},
|
|
48371
|
+
"description": "The html tag to be used for the header text",
|
|
48372
|
+
"default": "'h2'",
|
|
48373
|
+
"fieldName": "headerTagName"
|
|
48374
|
+
},
|
|
48375
|
+
{
|
|
48376
|
+
"name": "aria-label",
|
|
48377
|
+
"type": {
|
|
48378
|
+
"text": "string | null"
|
|
48379
|
+
},
|
|
48380
|
+
"default": "null",
|
|
48381
|
+
"description": "Defines aria-label attribute when header is not used",
|
|
48382
|
+
"fieldName": "ariaLabel"
|
|
48383
|
+
},
|
|
48384
|
+
{
|
|
48385
|
+
"name": "show-more-text",
|
|
48386
|
+
"type": {
|
|
48387
|
+
"text": "string | undefined"
|
|
48388
|
+
},
|
|
48389
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
48390
|
+
"fieldName": "showMoreText"
|
|
48391
|
+
},
|
|
48392
|
+
{
|
|
48393
|
+
"name": "show-less-text",
|
|
48394
|
+
"type": {
|
|
48395
|
+
"text": "string | undefined"
|
|
48396
|
+
},
|
|
48397
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
48398
|
+
"fieldName": "showLessText"
|
|
48399
|
+
}
|
|
48400
|
+
],
|
|
48401
|
+
"mixins": [
|
|
48402
|
+
{
|
|
48403
|
+
"name": "FooterMixin",
|
|
48404
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
48405
|
+
}
|
|
48406
|
+
],
|
|
48407
|
+
"superclass": {
|
|
48408
|
+
"name": "Component",
|
|
48409
|
+
"module": "/src/models"
|
|
48410
|
+
},
|
|
48411
|
+
"tagName": "mdc-toast",
|
|
48412
|
+
"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 */",
|
|
48413
|
+
"customElement": true
|
|
48414
|
+
}
|
|
48415
|
+
],
|
|
48416
|
+
"exports": [
|
|
48417
|
+
{
|
|
48418
|
+
"kind": "js",
|
|
48419
|
+
"name": "default",
|
|
48420
|
+
"declaration": {
|
|
48421
|
+
"name": "Toast",
|
|
48422
|
+
"module": "components/toast/toast.component.js"
|
|
48423
|
+
}
|
|
48424
|
+
}
|
|
48425
|
+
]
|
|
48426
|
+
},
|
|
48037
48427
|
{
|
|
48038
48428
|
"kind": "javascript-module",
|
|
48039
48429
|
"path": "components/toggle/toggle.component.js",
|
|
@@ -48982,396 +49372,6 @@
|
|
|
48982
49372
|
}
|
|
48983
49373
|
]
|
|
48984
49374
|
},
|
|
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
|
-
},
|
|
49375
49375
|
{
|
|
49376
49376
|
"kind": "javascript-module",
|
|
49377
49377
|
"path": "components/toggletip/toggletip.component.js",
|