@momentum-design/components 0.120.0 → 0.120.1
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/custom-elements.json +846 -846
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
@@ -19846,64 +19846,79 @@
|
|
19846
19846
|
},
|
19847
19847
|
{
|
19848
19848
|
"kind": "javascript-module",
|
19849
|
-
"path": "components/
|
19849
|
+
"path": "components/linkbutton/linkbutton.component.js",
|
19850
19850
|
"declarations": [
|
19851
19851
|
{
|
19852
19852
|
"kind": "class",
|
19853
|
-
"description": "`mdc-
|
19854
|
-
"name": "
|
19853
|
+
"description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
|
19854
|
+
"name": "LinkButton",
|
19855
19855
|
"cssProperties": [
|
19856
19856
|
{
|
19857
|
-
"description": "Border radius of the
|
19857
|
+
"description": "Border radius of the linkbutton.",
|
19858
19858
|
"name": "--mdc-link-border-radius"
|
19859
19859
|
},
|
19860
19860
|
{
|
19861
|
-
"description": "Color of the
|
19861
|
+
"description": "Color of the linkbutton’s child content in the active state.",
|
19862
19862
|
"name": "--mdc-link-color-active"
|
19863
19863
|
},
|
19864
19864
|
{
|
19865
|
-
"description": "Color of the
|
19865
|
+
"description": "Color of the linkbutton’s child content in the disabled state.",
|
19866
19866
|
"name": "--mdc-link-color-disabled"
|
19867
19867
|
},
|
19868
19868
|
{
|
19869
|
-
"description": "Color of the
|
19869
|
+
"description": "Color of the linkbutton’s child content in the hover state.",
|
19870
19870
|
"name": "--mdc-link-color-hover"
|
19871
19871
|
},
|
19872
19872
|
{
|
19873
|
-
"description": "Color of the
|
19873
|
+
"description": "Color of the linkbutton’s child content in the normal state.",
|
19874
19874
|
"name": "--mdc-link-color-normal"
|
19875
19875
|
},
|
19876
19876
|
{
|
19877
|
-
"description": "Color of the inverted
|
19877
|
+
"description": "Color of the inverted linkbutton’s child content in the active state.",
|
19878
19878
|
"name": "--mdc-link-inverted-color-active"
|
19879
19879
|
},
|
19880
19880
|
{
|
19881
|
-
"description": "Color of the inverted
|
19881
|
+
"description": "Color of the inverted linkbutton’s child content in the disabled state.",
|
19882
19882
|
"name": "--mdc-link-inverted-color-disabled"
|
19883
19883
|
},
|
19884
19884
|
{
|
19885
|
-
"description": "Color of the inverted
|
19885
|
+
"description": "Color of the inverted linkbutton’s child content in the hover state.",
|
19886
19886
|
"name": "--mdc-link-inverted-color-hover"
|
19887
19887
|
},
|
19888
19888
|
{
|
19889
|
-
"description": "Color of the inverted
|
19889
|
+
"description": "Color of the inverted linkbutton’s child content in the normal state.",
|
19890
19890
|
"name": "--mdc-link-inverted-color-normal"
|
19891
19891
|
}
|
19892
19892
|
],
|
19893
|
-
"
|
19893
|
+
"slots": [
|
19894
19894
|
{
|
19895
|
-
"description": "
|
19896
|
-
"name": "
|
19895
|
+
"description": "Text label of the linkbutton.",
|
19896
|
+
"name": ""
|
19897
19897
|
}
|
19898
19898
|
],
|
19899
19899
|
"members": [
|
19900
|
+
{
|
19901
|
+
"kind": "field",
|
19902
|
+
"name": "size",
|
19903
|
+
"type": {
|
19904
|
+
"text": "ButtonSize"
|
19905
|
+
},
|
19906
|
+
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
19907
|
+
"default": "16",
|
19908
|
+
"attribute": "size",
|
19909
|
+
"reflects": true,
|
19910
|
+
"inheritedFrom": {
|
19911
|
+
"name": "Buttonsimple",
|
19912
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
19913
|
+
}
|
19914
|
+
},
|
19900
19915
|
{
|
19901
19916
|
"kind": "field",
|
19902
19917
|
"name": "inline",
|
19903
19918
|
"type": {
|
19904
19919
|
"text": "boolean"
|
19905
19920
|
},
|
19906
|
-
"description": "The
|
19921
|
+
"description": "The linkbutton can be inline or standalone.",
|
19907
19922
|
"default": "false",
|
19908
19923
|
"attribute": "inline",
|
19909
19924
|
"reflects": true
|
@@ -19914,530 +19929,557 @@
|
|
19914
19929
|
"type": {
|
19915
19930
|
"text": "boolean"
|
19916
19931
|
},
|
19917
|
-
"description": "The
|
19932
|
+
"description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
|
19918
19933
|
"default": "false",
|
19919
19934
|
"attribute": "inverted",
|
19920
19935
|
"reflects": true
|
19921
19936
|
},
|
19937
|
+
{
|
19938
|
+
"kind": "method",
|
19939
|
+
"name": "setSize",
|
19940
|
+
"privacy": "private",
|
19941
|
+
"parameters": [
|
19942
|
+
{
|
19943
|
+
"name": "size",
|
19944
|
+
"type": {
|
19945
|
+
"text": "LinkButtonSize"
|
19946
|
+
},
|
19947
|
+
"description": "The desired link size."
|
19948
|
+
}
|
19949
|
+
],
|
19950
|
+
"description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
|
19951
|
+
},
|
19922
19952
|
{
|
19923
19953
|
"kind": "field",
|
19924
|
-
"name": "
|
19954
|
+
"name": "iconName",
|
19925
19955
|
"type": {
|
19926
|
-
"text": "
|
19956
|
+
"text": "IconNames | undefined"
|
19927
19957
|
},
|
19928
|
-
"description": "
|
19929
|
-
"attribute": "
|
19930
|
-
"
|
19958
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
19959
|
+
"attribute": "icon-name",
|
19960
|
+
"inheritedFrom": {
|
19961
|
+
"name": "IconNameMixin",
|
19962
|
+
"module": "utils/mixins/IconNameMixin.js"
|
19963
|
+
}
|
19931
19964
|
},
|
19932
19965
|
{
|
19933
19966
|
"kind": "field",
|
19934
|
-
"name": "
|
19967
|
+
"name": "autoFocusOnMount",
|
19935
19968
|
"type": {
|
19936
|
-
"text": "
|
19969
|
+
"text": "boolean"
|
19937
19970
|
},
|
19938
|
-
"default": "
|
19939
|
-
"description": "
|
19940
|
-
"attribute": "
|
19941
|
-
"reflects": true
|
19971
|
+
"default": "false",
|
19972
|
+
"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.",
|
19973
|
+
"attribute": "auto-focus-on-mount",
|
19974
|
+
"reflects": true,
|
19975
|
+
"inheritedFrom": {
|
19976
|
+
"name": "Buttonsimple",
|
19977
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
19978
|
+
}
|
19942
19979
|
},
|
19943
19980
|
{
|
19944
19981
|
"kind": "field",
|
19945
|
-
"name": "
|
19982
|
+
"name": "tabIndex",
|
19946
19983
|
"type": {
|
19947
|
-
"text": "
|
19984
|
+
"text": "number"
|
19948
19985
|
},
|
19949
|
-
"
|
19950
|
-
"
|
19951
|
-
"
|
19986
|
+
"default": "0",
|
19987
|
+
"description": "This property specifies the tab order of the element.",
|
19988
|
+
"attribute": "tabIndex",
|
19989
|
+
"reflects": true,
|
19990
|
+
"inheritedFrom": {
|
19991
|
+
"name": "Buttonsimple",
|
19992
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
19993
|
+
}
|
19952
19994
|
},
|
19953
19995
|
{
|
19954
19996
|
"kind": "field",
|
19955
|
-
"name": "
|
19997
|
+
"name": "disabled",
|
19956
19998
|
"type": {
|
19957
|
-
"text": "
|
19999
|
+
"text": "boolean | undefined"
|
19958
20000
|
},
|
19959
|
-
"description": "
|
19960
|
-
"
|
19961
|
-
"
|
20001
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
20002
|
+
"default": "undefined",
|
20003
|
+
"attribute": "disabled",
|
20004
|
+
"reflects": true,
|
20005
|
+
"inheritedFrom": {
|
20006
|
+
"name": "Buttonsimple",
|
20007
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20008
|
+
}
|
19962
20009
|
},
|
19963
20010
|
{
|
19964
20011
|
"kind": "field",
|
19965
|
-
"name": "
|
20012
|
+
"name": "active",
|
19966
20013
|
"type": {
|
19967
|
-
"text": "
|
20014
|
+
"text": "boolean | undefined"
|
19968
20015
|
},
|
19969
|
-
"description": "
|
19970
|
-
"
|
19971
|
-
"
|
20016
|
+
"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.",
|
20017
|
+
"default": "undefined",
|
20018
|
+
"attribute": "active",
|
20019
|
+
"reflects": true,
|
20020
|
+
"inheritedFrom": {
|
20021
|
+
"name": "Buttonsimple",
|
20022
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20023
|
+
}
|
19972
20024
|
},
|
19973
20025
|
{
|
19974
20026
|
"kind": "field",
|
19975
|
-
"name": "
|
20027
|
+
"name": "softDisabled",
|
19976
20028
|
"type": {
|
19977
|
-
"text": "
|
20029
|
+
"text": "boolean | undefined"
|
19978
20030
|
},
|
19979
|
-
"description": "
|
19980
|
-
"
|
19981
|
-
"
|
20031
|
+
"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.",
|
20032
|
+
"default": "undefined",
|
20033
|
+
"attribute": "soft-disabled",
|
20034
|
+
"reflects": true,
|
20035
|
+
"inheritedFrom": {
|
20036
|
+
"name": "Buttonsimple",
|
20037
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20038
|
+
}
|
19982
20039
|
},
|
19983
20040
|
{
|
19984
20041
|
"kind": "field",
|
19985
|
-
"name": "
|
20042
|
+
"name": "role",
|
19986
20043
|
"type": {
|
19987
|
-
"text": "
|
20044
|
+
"text": "RoleType"
|
19988
20045
|
},
|
19989
|
-
"description": "
|
19990
|
-
"
|
19991
|
-
"
|
20046
|
+
"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.",
|
20047
|
+
"default": "button",
|
20048
|
+
"attribute": "role",
|
20049
|
+
"reflects": true,
|
20050
|
+
"inheritedFrom": {
|
20051
|
+
"name": "Buttonsimple",
|
20052
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20053
|
+
}
|
19992
20054
|
},
|
19993
20055
|
{
|
19994
20056
|
"kind": "field",
|
19995
|
-
"name": "
|
20057
|
+
"name": "ariaStateKey",
|
19996
20058
|
"type": {
|
19997
20059
|
"text": "string | undefined"
|
19998
20060
|
},
|
19999
|
-
"description": "
|
20000
|
-
"
|
20001
|
-
"
|
20061
|
+
"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`",
|
20062
|
+
"default": "'aria-pressed' (when)",
|
20063
|
+
"attribute": "ariaStateKey",
|
20064
|
+
"reflects": true,
|
20065
|
+
"inheritedFrom": {
|
20066
|
+
"name": "Buttonsimple",
|
20067
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20068
|
+
}
|
20002
20069
|
},
|
20003
20070
|
{
|
20004
|
-
"kind": "
|
20005
|
-
"name": "
|
20006
|
-
"
|
20007
|
-
|
20008
|
-
"type": {
|
20009
|
-
"text": "void"
|
20010
|
-
}
|
20071
|
+
"kind": "field",
|
20072
|
+
"name": "type",
|
20073
|
+
"type": {
|
20074
|
+
"text": "ButtonType"
|
20011
20075
|
},
|
20012
|
-
"
|
20013
|
-
|
20014
|
-
|
20015
|
-
|
20016
|
-
|
20017
|
-
|
20018
|
-
|
20019
|
-
|
20020
|
-
},
|
20021
|
-
{
|
20022
|
-
"kind": "method",
|
20023
|
-
"name": "setDisabled",
|
20024
|
-
"privacy": "private",
|
20025
|
-
"parameters": [
|
20026
|
-
{
|
20027
|
-
"name": "disabled",
|
20028
|
-
"type": {
|
20029
|
-
"text": "boolean"
|
20030
|
-
},
|
20031
|
-
"description": "Whether the element should be disabled"
|
20032
|
-
}
|
20033
|
-
],
|
20034
|
-
"description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored."
|
20076
|
+
"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.",
|
20077
|
+
"default": "button",
|
20078
|
+
"attribute": "type",
|
20079
|
+
"reflects": true,
|
20080
|
+
"inheritedFrom": {
|
20081
|
+
"name": "Buttonsimple",
|
20082
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20083
|
+
}
|
20035
20084
|
},
|
20036
20085
|
{
|
20037
20086
|
"kind": "field",
|
20038
|
-
"name": "
|
20087
|
+
"name": "name",
|
20039
20088
|
"type": {
|
20040
|
-
"text": "string |
|
20089
|
+
"text": "string | undefined"
|
20041
20090
|
},
|
20042
|
-
"
|
20043
|
-
"
|
20044
|
-
"attribute": "data-aria-label",
|
20091
|
+
"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.",
|
20092
|
+
"attribute": "name",
|
20045
20093
|
"reflects": true,
|
20046
20094
|
"inheritedFrom": {
|
20047
|
-
"name": "
|
20048
|
-
"module": "
|
20095
|
+
"name": "Buttonsimple",
|
20096
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20049
20097
|
}
|
20050
20098
|
},
|
20051
20099
|
{
|
20052
20100
|
"kind": "field",
|
20053
|
-
"name": "
|
20101
|
+
"name": "value",
|
20054
20102
|
"type": {
|
20055
|
-
"text": "
|
20103
|
+
"text": "string | undefined"
|
20056
20104
|
},
|
20057
|
-
"description": "
|
20058
|
-
"
|
20059
|
-
"attribute": "disabled",
|
20105
|
+
"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.",
|
20106
|
+
"attribute": "value",
|
20060
20107
|
"reflects": true,
|
20061
20108
|
"inheritedFrom": {
|
20062
|
-
"name": "
|
20063
|
-
"module": "
|
20109
|
+
"name": "Buttonsimple",
|
20110
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20064
20111
|
}
|
20065
|
-
}
|
20066
|
-
],
|
20067
|
-
"events": [
|
20068
|
-
{
|
20069
|
-
"description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
|
20070
|
-
"name": "click",
|
20071
|
-
"reactName": "onClick"
|
20072
20112
|
},
|
20073
20113
|
{
|
20074
|
-
"
|
20075
|
-
"name": "
|
20076
|
-
"
|
20114
|
+
"kind": "method",
|
20115
|
+
"name": "executeAction",
|
20116
|
+
"privacy": "protected",
|
20117
|
+
"inheritedFrom": {
|
20118
|
+
"name": "Buttonsimple",
|
20119
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20120
|
+
}
|
20077
20121
|
},
|
20078
20122
|
{
|
20079
|
-
"
|
20080
|
-
"name": "
|
20081
|
-
"
|
20123
|
+
"kind": "method",
|
20124
|
+
"name": "setActive",
|
20125
|
+
"privacy": "protected",
|
20126
|
+
"parameters": [
|
20127
|
+
{
|
20128
|
+
"name": "element",
|
20129
|
+
"type": {
|
20130
|
+
"text": "HTMLElement"
|
20131
|
+
},
|
20132
|
+
"description": "The button element"
|
20133
|
+
},
|
20134
|
+
{
|
20135
|
+
"name": "active",
|
20136
|
+
"optional": true,
|
20137
|
+
"type": {
|
20138
|
+
"text": "boolean"
|
20139
|
+
},
|
20140
|
+
"description": "The active state of the element"
|
20141
|
+
}
|
20142
|
+
],
|
20143
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
20144
|
+
"inheritedFrom": {
|
20145
|
+
"name": "Buttonsimple",
|
20146
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20147
|
+
}
|
20082
20148
|
},
|
20083
20149
|
{
|
20084
|
-
"
|
20085
|
-
"name": "
|
20086
|
-
"
|
20087
|
-
|
20088
|
-
|
20089
|
-
|
20150
|
+
"kind": "method",
|
20151
|
+
"name": "setSoftDisabled",
|
20152
|
+
"privacy": "private",
|
20153
|
+
"parameters": [
|
20154
|
+
{
|
20155
|
+
"name": "element",
|
20156
|
+
"type": {
|
20157
|
+
"text": "HTMLElement"
|
20158
|
+
},
|
20159
|
+
"description": "The button element."
|
20160
|
+
},
|
20161
|
+
{
|
20162
|
+
"name": "softDisabled",
|
20163
|
+
"optional": true,
|
20164
|
+
"type": {
|
20165
|
+
"text": "boolean"
|
20166
|
+
},
|
20167
|
+
"description": "The soft-disabled state."
|
20168
|
+
}
|
20169
|
+
],
|
20170
|
+
"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.",
|
20171
|
+
"inheritedFrom": {
|
20172
|
+
"name": "Buttonsimple",
|
20173
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20174
|
+
}
|
20175
|
+
},
|
20090
20176
|
{
|
20091
|
-
"
|
20092
|
-
"
|
20093
|
-
|
20094
|
-
|
20095
|
-
|
20096
|
-
|
20097
|
-
|
20177
|
+
"kind": "method",
|
20178
|
+
"name": "setDisabled",
|
20179
|
+
"privacy": "private",
|
20180
|
+
"parameters": [
|
20181
|
+
{
|
20182
|
+
"name": "element",
|
20183
|
+
"type": {
|
20184
|
+
"text": "HTMLElement"
|
20185
|
+
},
|
20186
|
+
"description": "The button element."
|
20187
|
+
},
|
20188
|
+
{
|
20189
|
+
"name": "disabled",
|
20190
|
+
"type": {
|
20191
|
+
"text": "boolean"
|
20192
|
+
},
|
20193
|
+
"description": "The disabled state."
|
20194
|
+
}
|
20195
|
+
],
|
20196
|
+
"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.",
|
20197
|
+
"inheritedFrom": {
|
20198
|
+
"name": "Buttonsimple",
|
20199
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20200
|
+
}
|
20098
20201
|
},
|
20099
20202
|
{
|
20100
|
-
"
|
20101
|
-
"
|
20102
|
-
|
20103
|
-
|
20104
|
-
|
20105
|
-
|
20106
|
-
|
20203
|
+
"kind": "method",
|
20204
|
+
"name": "triggerClickEvent",
|
20205
|
+
"privacy": "private",
|
20206
|
+
"inheritedFrom": {
|
20207
|
+
"name": "Buttonsimple",
|
20208
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20209
|
+
}
|
20107
20210
|
},
|
20108
20211
|
{
|
20109
|
-
"
|
20110
|
-
"
|
20111
|
-
|
20112
|
-
|
20113
|
-
"
|
20114
|
-
|
20212
|
+
"kind": "method",
|
20213
|
+
"name": "handleBlur",
|
20214
|
+
"privacy": "private",
|
20215
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
20216
|
+
"inheritedFrom": {
|
20217
|
+
"name": "Buttonsimple",
|
20218
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20219
|
+
}
|
20115
20220
|
},
|
20116
20221
|
{
|
20117
|
-
"
|
20118
|
-
"
|
20119
|
-
|
20120
|
-
|
20121
|
-
|
20122
|
-
|
20123
|
-
|
20222
|
+
"kind": "method",
|
20223
|
+
"name": "handleKeyDown",
|
20224
|
+
"privacy": "private",
|
20225
|
+
"parameters": [
|
20226
|
+
{
|
20227
|
+
"name": "event",
|
20228
|
+
"type": {
|
20229
|
+
"text": "KeyboardEvent"
|
20230
|
+
},
|
20231
|
+
"description": "The keyboard event."
|
20232
|
+
}
|
20233
|
+
],
|
20234
|
+
"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.",
|
20235
|
+
"inheritedFrom": {
|
20236
|
+
"name": "Buttonsimple",
|
20237
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20238
|
+
}
|
20124
20239
|
},
|
20125
20240
|
{
|
20126
|
-
"
|
20127
|
-
"
|
20128
|
-
|
20129
|
-
|
20130
|
-
|
20131
|
-
|
20241
|
+
"kind": "method",
|
20242
|
+
"name": "handleKeyUp",
|
20243
|
+
"privacy": "private",
|
20244
|
+
"parameters": [
|
20245
|
+
{
|
20246
|
+
"name": "event",
|
20247
|
+
"type": {
|
20248
|
+
"text": "KeyboardEvent"
|
20249
|
+
},
|
20250
|
+
"description": "The keyboard event."
|
20251
|
+
}
|
20252
|
+
],
|
20253
|
+
"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.",
|
20254
|
+
"inheritedFrom": {
|
20255
|
+
"name": "Buttonsimple",
|
20256
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
20257
|
+
}
|
20258
|
+
}
|
20259
|
+
],
|
20260
|
+
"events": [
|
20261
|
+
{
|
20262
|
+
"description": "(React: onClick) This event is dispatched when the linkbutton is clicked.",
|
20263
|
+
"name": "click",
|
20264
|
+
"reactName": "onClick",
|
20265
|
+
"inheritedFrom": {
|
20266
|
+
"name": "Buttonsimple",
|
20267
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20268
|
+
}
|
20132
20269
|
},
|
20133
20270
|
{
|
20134
|
-
"
|
20135
|
-
"
|
20136
|
-
|
20137
|
-
|
20138
|
-
|
20139
|
-
|
20271
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.",
|
20272
|
+
"name": "keydown",
|
20273
|
+
"reactName": "onKeyDown",
|
20274
|
+
"inheritedFrom": {
|
20275
|
+
"name": "Buttonsimple",
|
20276
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20277
|
+
}
|
20140
20278
|
},
|
20141
20279
|
{
|
20142
|
-
"
|
20143
|
-
"
|
20144
|
-
|
20145
|
-
|
20146
|
-
|
20147
|
-
|
20280
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the linkbutton.",
|
20281
|
+
"name": "keyup",
|
20282
|
+
"reactName": "onKeyUp",
|
20283
|
+
"inheritedFrom": {
|
20284
|
+
"name": "Buttonsimple",
|
20285
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20286
|
+
}
|
20148
20287
|
},
|
20149
20288
|
{
|
20150
|
-
"
|
20289
|
+
"description": "(React: onFocus) This event is dispatched when the linkbutton receives focus.",
|
20290
|
+
"name": "focus",
|
20291
|
+
"reactName": "onFocus",
|
20292
|
+
"inheritedFrom": {
|
20293
|
+
"name": "Buttonsimple",
|
20294
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20295
|
+
}
|
20296
|
+
}
|
20297
|
+
],
|
20298
|
+
"attributes": [
|
20299
|
+
{
|
20300
|
+
"name": "size",
|
20151
20301
|
"type": {
|
20152
|
-
"text": "
|
20302
|
+
"text": "ButtonSize"
|
20153
20303
|
},
|
20154
|
-
"description": "
|
20155
|
-
"
|
20304
|
+
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
20305
|
+
"default": "16",
|
20306
|
+
"fieldName": "size",
|
20307
|
+
"inheritedFrom": {
|
20308
|
+
"name": "Buttonsimple",
|
20309
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20310
|
+
}
|
20156
20311
|
},
|
20157
20312
|
{
|
20158
|
-
"name": "
|
20313
|
+
"name": "inline",
|
20159
20314
|
"type": {
|
20160
|
-
"text": "
|
20315
|
+
"text": "boolean"
|
20161
20316
|
},
|
20162
|
-
"description": "
|
20163
|
-
"
|
20317
|
+
"description": "The linkbutton can be inline or standalone.",
|
20318
|
+
"default": "false",
|
20319
|
+
"fieldName": "inline"
|
20164
20320
|
},
|
20165
20321
|
{
|
20166
|
-
"name": "
|
20322
|
+
"name": "inverted",
|
20167
20323
|
"type": {
|
20168
|
-
"text": "
|
20324
|
+
"text": "boolean"
|
20169
20325
|
},
|
20170
|
-
"description": "
|
20171
|
-
"
|
20326
|
+
"description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
|
20327
|
+
"default": "false",
|
20328
|
+
"fieldName": "inverted"
|
20172
20329
|
},
|
20173
20330
|
{
|
20174
|
-
"name": "
|
20331
|
+
"name": "icon-name",
|
20175
20332
|
"type": {
|
20176
|
-
"text": "
|
20333
|
+
"text": "IconNames | undefined"
|
20177
20334
|
},
|
20178
|
-
"
|
20179
|
-
"
|
20180
|
-
"fieldName": "dataAriaLabel",
|
20335
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
20336
|
+
"fieldName": "iconName",
|
20181
20337
|
"inheritedFrom": {
|
20182
|
-
"name": "
|
20183
|
-
"module": "src/utils/mixins/
|
20338
|
+
"name": "IconNameMixin",
|
20339
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
20184
20340
|
}
|
20185
20341
|
},
|
20186
20342
|
{
|
20187
|
-
"name": "
|
20343
|
+
"name": "auto-focus-on-mount",
|
20188
20344
|
"type": {
|
20189
|
-
"text": "boolean
|
20345
|
+
"text": "boolean"
|
20190
20346
|
},
|
20191
|
-
"
|
20192
|
-
"
|
20193
|
-
"fieldName": "
|
20347
|
+
"default": "false",
|
20348
|
+
"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.",
|
20349
|
+
"fieldName": "autoFocusOnMount",
|
20194
20350
|
"inheritedFrom": {
|
20195
|
-
"name": "
|
20196
|
-
"module": "src/
|
20351
|
+
"name": "Buttonsimple",
|
20352
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20197
20353
|
}
|
20198
|
-
}
|
20199
|
-
],
|
20200
|
-
"mixins": [
|
20201
|
-
{
|
20202
|
-
"name": "DataAriaLabelMixin",
|
20203
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
20204
|
-
},
|
20205
|
-
{
|
20206
|
-
"name": "DisabledMixin",
|
20207
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
20208
|
-
}
|
20209
|
-
],
|
20210
|
-
"superclass": {
|
20211
|
-
"name": "Component",
|
20212
|
-
"module": "/src/models"
|
20213
|
-
},
|
20214
|
-
"tagName": "mdc-linksimple",
|
20215
|
-
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n *\n * @csspart anchor - The anchor element that wraps the linksimple content.\n */",
|
20216
|
-
"customElement": true
|
20217
|
-
}
|
20218
|
-
],
|
20219
|
-
"exports": [
|
20220
|
-
{
|
20221
|
-
"kind": "js",
|
20222
|
-
"name": "default",
|
20223
|
-
"declaration": {
|
20224
|
-
"name": "Linksimple",
|
20225
|
-
"module": "components/linksimple/linksimple.component.js"
|
20226
|
-
}
|
20227
|
-
}
|
20228
|
-
]
|
20229
|
-
},
|
20230
|
-
{
|
20231
|
-
"kind": "javascript-module",
|
20232
|
-
"path": "components/list/list.component.js",
|
20233
|
-
"declarations": [
|
20234
|
-
{
|
20235
|
-
"kind": "class",
|
20236
|
-
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
20237
|
-
"name": "List",
|
20238
|
-
"cssParts": [
|
20239
|
-
{
|
20240
|
-
"description": "The container slot around the list items",
|
20241
|
-
"name": "container"
|
20242
|
-
}
|
20243
|
-
],
|
20244
|
-
"slots": [
|
20245
|
-
{
|
20246
|
-
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
20247
|
-
"name": "default"
|
20248
|
-
},
|
20249
|
-
{
|
20250
|
-
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
20251
|
-
"name": "list-header"
|
20252
|
-
}
|
20253
|
-
],
|
20254
|
-
"members": [
|
20255
|
-
{
|
20256
|
-
"kind": "field",
|
20257
|
-
"name": "loop",
|
20258
|
-
"type": {
|
20259
|
-
"text": "'true' | 'false'"
|
20260
|
-
},
|
20261
|
-
"privacy": "public",
|
20262
|
-
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
20263
|
-
"default": "''",
|
20264
|
-
"attribute": "loop",
|
20265
|
-
"reflects": true
|
20266
20354
|
},
|
20267
20355
|
{
|
20268
|
-
"
|
20269
|
-
"name": "initialFocus",
|
20356
|
+
"name": "tabIndex",
|
20270
20357
|
"type": {
|
20271
20358
|
"text": "number"
|
20272
20359
|
},
|
20273
|
-
"privacy": "public",
|
20274
|
-
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
20275
20360
|
"default": "0",
|
20276
|
-
"
|
20277
|
-
"
|
20278
|
-
|
20279
|
-
|
20280
|
-
|
20281
|
-
|
20282
|
-
"default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
|
20361
|
+
"description": "This property specifies the tab order of the element.",
|
20362
|
+
"fieldName": "tabIndex",
|
20363
|
+
"inheritedFrom": {
|
20364
|
+
"name": "Buttonsimple",
|
20365
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20366
|
+
}
|
20283
20367
|
},
|
20284
20368
|
{
|
20285
|
-
"
|
20286
|
-
"
|
20287
|
-
|
20288
|
-
"return": {
|
20289
|
-
"type": {
|
20290
|
-
"text": ""
|
20291
|
-
}
|
20369
|
+
"name": "disabled",
|
20370
|
+
"type": {
|
20371
|
+
"text": "boolean | undefined"
|
20292
20372
|
},
|
20293
|
-
"
|
20294
|
-
|
20295
|
-
|
20296
|
-
"type": {
|
20297
|
-
"text": "EventTarget | null"
|
20298
|
-
},
|
20299
|
-
"description": "The target element that triggered the event."
|
20300
|
-
}
|
20301
|
-
],
|
20302
|
-
"description": "Retrieves the current index of the item that triggered the event.",
|
20373
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
20374
|
+
"default": "undefined",
|
20375
|
+
"fieldName": "disabled",
|
20303
20376
|
"inheritedFrom": {
|
20304
|
-
"name": "
|
20305
|
-
"module": "
|
20377
|
+
"name": "Buttonsimple",
|
20378
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20306
20379
|
}
|
20307
20380
|
},
|
20308
20381
|
{
|
20309
|
-
"
|
20310
|
-
"
|
20311
|
-
|
20312
|
-
|
20313
|
-
|
20314
|
-
|
20315
|
-
|
20316
|
-
"text": "number"
|
20317
|
-
},
|
20318
|
-
"description": "The index of the currently focused item."
|
20319
|
-
}
|
20320
|
-
],
|
20321
|
-
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
20382
|
+
"name": "active",
|
20383
|
+
"type": {
|
20384
|
+
"text": "boolean | undefined"
|
20385
|
+
},
|
20386
|
+
"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.",
|
20387
|
+
"default": "undefined",
|
20388
|
+
"fieldName": "active",
|
20322
20389
|
"inheritedFrom": {
|
20323
|
-
"name": "
|
20324
|
-
"module": "
|
20390
|
+
"name": "Buttonsimple",
|
20391
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20325
20392
|
}
|
20326
20393
|
},
|
20327
20394
|
{
|
20328
|
-
"
|
20329
|
-
"
|
20330
|
-
|
20331
|
-
"parameters": [
|
20332
|
-
{
|
20333
|
-
"name": "newIndex",
|
20334
|
-
"type": {
|
20335
|
-
"text": "number"
|
20336
|
-
},
|
20337
|
-
"description": "The index of the new item to focus."
|
20338
|
-
},
|
20339
|
-
{
|
20340
|
-
"name": "oldIndex",
|
20341
|
-
"optional": true,
|
20342
|
-
"type": {
|
20343
|
-
"text": "number"
|
20344
|
-
},
|
20345
|
-
"description": "The index of the currently focused item."
|
20346
|
-
},
|
20347
|
-
{
|
20348
|
-
"name": "focusNewItem",
|
20349
|
-
"default": "true",
|
20350
|
-
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
20351
|
-
}
|
20352
|
-
],
|
20353
|
-
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
20354
|
-
"return": {
|
20355
|
-
"type": {
|
20356
|
-
"text": ""
|
20357
|
-
}
|
20395
|
+
"name": "soft-disabled",
|
20396
|
+
"type": {
|
20397
|
+
"text": "boolean | undefined"
|
20358
20398
|
},
|
20399
|
+
"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.",
|
20400
|
+
"default": "undefined",
|
20401
|
+
"fieldName": "softDisabled",
|
20359
20402
|
"inheritedFrom": {
|
20360
|
-
"name": "
|
20361
|
-
"module": "
|
20403
|
+
"name": "Buttonsimple",
|
20404
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20362
20405
|
}
|
20363
20406
|
},
|
20364
20407
|
{
|
20365
|
-
"
|
20366
|
-
"
|
20367
|
-
|
20368
|
-
"parameters": [
|
20369
|
-
{
|
20370
|
-
"name": "key",
|
20371
|
-
"type": {
|
20372
|
-
"text": "string"
|
20373
|
-
},
|
20374
|
-
"description": "The key pressed by the user."
|
20375
|
-
},
|
20376
|
-
{
|
20377
|
-
"name": "isRtl",
|
20378
|
-
"type": {
|
20379
|
-
"text": "boolean"
|
20380
|
-
},
|
20381
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
20382
|
-
}
|
20383
|
-
],
|
20384
|
-
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
20385
|
-
"return": {
|
20386
|
-
"type": {
|
20387
|
-
"text": ""
|
20388
|
-
}
|
20408
|
+
"name": "role",
|
20409
|
+
"type": {
|
20410
|
+
"text": "RoleType"
|
20389
20411
|
},
|
20412
|
+
"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.",
|
20413
|
+
"default": "button",
|
20414
|
+
"fieldName": "role",
|
20390
20415
|
"inheritedFrom": {
|
20391
|
-
"name": "
|
20392
|
-
"module": "
|
20416
|
+
"name": "Buttonsimple",
|
20417
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20393
20418
|
}
|
20394
20419
|
},
|
20395
20420
|
{
|
20396
|
-
"
|
20397
|
-
"
|
20398
|
-
|
20421
|
+
"name": "ariaStateKey",
|
20422
|
+
"type": {
|
20423
|
+
"text": "string | undefined"
|
20424
|
+
},
|
20425
|
+
"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`",
|
20426
|
+
"default": "'aria-pressed' (when)",
|
20427
|
+
"fieldName": "ariaStateKey",
|
20399
20428
|
"inheritedFrom": {
|
20400
|
-
"name": "
|
20401
|
-
"module": "
|
20429
|
+
"name": "Buttonsimple",
|
20430
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20402
20431
|
}
|
20403
|
-
}
|
20404
|
-
],
|
20405
|
-
"attributes": [
|
20432
|
+
},
|
20406
20433
|
{
|
20407
|
-
"name": "
|
20434
|
+
"name": "type",
|
20408
20435
|
"type": {
|
20409
|
-
"text": "
|
20436
|
+
"text": "ButtonType"
|
20410
20437
|
},
|
20411
|
-
"description": "
|
20412
|
-
"default": "
|
20413
|
-
"fieldName": "
|
20438
|
+
"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.",
|
20439
|
+
"default": "button",
|
20440
|
+
"fieldName": "type",
|
20441
|
+
"inheritedFrom": {
|
20442
|
+
"name": "Buttonsimple",
|
20443
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20444
|
+
}
|
20414
20445
|
},
|
20415
20446
|
{
|
20416
|
-
"name": "
|
20447
|
+
"name": "name",
|
20417
20448
|
"type": {
|
20418
|
-
"text": "
|
20449
|
+
"text": "string | undefined"
|
20419
20450
|
},
|
20420
|
-
"description": "The
|
20421
|
-
"
|
20422
|
-
"
|
20451
|
+
"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.",
|
20452
|
+
"fieldName": "name",
|
20453
|
+
"inheritedFrom": {
|
20454
|
+
"name": "Buttonsimple",
|
20455
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20456
|
+
}
|
20457
|
+
},
|
20458
|
+
{
|
20459
|
+
"name": "value",
|
20460
|
+
"type": {
|
20461
|
+
"text": "string | undefined"
|
20462
|
+
},
|
20463
|
+
"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.",
|
20464
|
+
"fieldName": "value",
|
20465
|
+
"inheritedFrom": {
|
20466
|
+
"name": "Buttonsimple",
|
20467
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20468
|
+
}
|
20423
20469
|
}
|
20424
20470
|
],
|
20425
20471
|
"mixins": [
|
20426
20472
|
{
|
20427
|
-
"name": "
|
20428
|
-
"module": "/src/utils/mixins/
|
20429
|
-
},
|
20430
|
-
{
|
20431
|
-
"name": "CaptureDestroyEventForChildElement",
|
20432
|
-
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
20473
|
+
"name": "IconNameMixin",
|
20474
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
20433
20475
|
}
|
20434
20476
|
],
|
20435
20477
|
"superclass": {
|
20436
|
-
"name": "
|
20437
|
-
"module": "/src/
|
20478
|
+
"name": "Buttonsimple",
|
20479
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
20438
20480
|
},
|
20439
|
-
"tagName": "mdc-
|
20440
|
-
"jsDoc": "/**\n * mdc-
|
20481
|
+
"tagName": "mdc-linkbutton",
|
20482
|
+
"jsDoc": "/**\n * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n *\n * ### Features:\n * - Looks like a link, behaves like a button.\n * - Supports slots for a text label and an optional trailing icon.\n * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-linkbutton\n *\n * @slot - Text label of the linkbutton.\n *\n * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the linkbutton.\n * @event focus - (React: onFocus) This event is dispatched when the linkbutton receives focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the linkbutton.\n * @cssproperty --mdc-link-color-active - Color of the linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the linkbutton’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted linkbutton’s child content in the normal state.\n */",
|
20441
20483
|
"customElement": true
|
20442
20484
|
}
|
20443
20485
|
],
|
@@ -20446,483 +20488,261 @@
|
|
20446
20488
|
"kind": "js",
|
20447
20489
|
"name": "default",
|
20448
20490
|
"declaration": {
|
20449
|
-
"name": "
|
20450
|
-
"module": "components/
|
20491
|
+
"name": "LinkButton",
|
20492
|
+
"module": "components/linkbutton/linkbutton.component.js"
|
20451
20493
|
}
|
20452
20494
|
}
|
20453
20495
|
]
|
20454
20496
|
},
|
20455
20497
|
{
|
20456
20498
|
"kind": "javascript-module",
|
20457
|
-
"path": "components/
|
20499
|
+
"path": "components/linksimple/linksimple.component.js",
|
20458
20500
|
"declarations": [
|
20459
20501
|
{
|
20460
20502
|
"kind": "class",
|
20461
|
-
"description": "`mdc-
|
20462
|
-
"name": "
|
20503
|
+
"description": "`mdc-linksimple` is a lightweight link component that can be used to navigate\nwithin the application or to an external URL. It does not have any predefined default size.\n\nThe `children` of the `mdc-linksimple` component can be customized to suit\ndifferent use cases, including text, icons, or other inline content. For the child to be an icon,\nthe `mdc-icon` component should be used to render.",
|
20504
|
+
"name": "Linksimple",
|
20463
20505
|
"cssProperties": [
|
20464
20506
|
{
|
20465
|
-
"description": "Border radius of the
|
20507
|
+
"description": "Border radius of the link.",
|
20466
20508
|
"name": "--mdc-link-border-radius"
|
20467
20509
|
},
|
20468
20510
|
{
|
20469
|
-
"description": "Color of the
|
20511
|
+
"description": "Color of the link’s child content in the active state.",
|
20470
20512
|
"name": "--mdc-link-color-active"
|
20471
20513
|
},
|
20472
20514
|
{
|
20473
|
-
"description": "Color of the
|
20515
|
+
"description": "Color of the link’s child content in the disabled state.",
|
20474
20516
|
"name": "--mdc-link-color-disabled"
|
20475
20517
|
},
|
20476
20518
|
{
|
20477
|
-
"description": "Color of the
|
20519
|
+
"description": "Color of the link’s child content in the hover state.",
|
20478
20520
|
"name": "--mdc-link-color-hover"
|
20479
20521
|
},
|
20480
20522
|
{
|
20481
|
-
"description": "Color of the
|
20523
|
+
"description": "Color of the link’s child content in the normal state.",
|
20482
20524
|
"name": "--mdc-link-color-normal"
|
20483
20525
|
},
|
20484
20526
|
{
|
20485
|
-
"description": "Color of the inverted
|
20527
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
20486
20528
|
"name": "--mdc-link-inverted-color-active"
|
20487
20529
|
},
|
20488
20530
|
{
|
20489
|
-
"description": "Color of the inverted
|
20531
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
20490
20532
|
"name": "--mdc-link-inverted-color-disabled"
|
20491
20533
|
},
|
20492
20534
|
{
|
20493
|
-
"description": "Color of the inverted
|
20535
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
20494
20536
|
"name": "--mdc-link-inverted-color-hover"
|
20495
20537
|
},
|
20496
20538
|
{
|
20497
|
-
"description": "Color of the inverted
|
20539
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
20498
20540
|
"name": "--mdc-link-inverted-color-normal"
|
20499
|
-
}
|
20500
|
-
],
|
20501
|
-
"
|
20502
|
-
{
|
20503
|
-
"description": "
|
20504
|
-
"name": ""
|
20505
|
-
}
|
20506
|
-
],
|
20507
|
-
"members": [
|
20508
|
-
{
|
20509
|
-
"kind": "field",
|
20510
|
-
"name": "size",
|
20511
|
-
"type": {
|
20512
|
-
"text": "ButtonSize"
|
20513
|
-
},
|
20514
|
-
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
20515
|
-
"default": "16",
|
20516
|
-
"attribute": "size",
|
20517
|
-
"reflects": true,
|
20518
|
-
"inheritedFrom": {
|
20519
|
-
"name": "Buttonsimple",
|
20520
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20521
|
-
}
|
20522
|
-
},
|
20523
|
-
{
|
20524
|
-
"kind": "field",
|
20525
|
-
"name": "inline",
|
20526
|
-
"type": {
|
20527
|
-
"text": "boolean"
|
20528
|
-
},
|
20529
|
-
"description": "The linkbutton can be inline or standalone.",
|
20530
|
-
"default": "false",
|
20531
|
-
"attribute": "inline",
|
20532
|
-
"reflects": true
|
20533
|
-
},
|
20534
|
-
{
|
20535
|
-
"kind": "field",
|
20536
|
-
"name": "inverted",
|
20537
|
-
"type": {
|
20538
|
-
"text": "boolean"
|
20539
|
-
},
|
20540
|
-
"description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
|
20541
|
-
"default": "false",
|
20542
|
-
"attribute": "inverted",
|
20543
|
-
"reflects": true
|
20544
|
-
},
|
20545
|
-
{
|
20546
|
-
"kind": "method",
|
20547
|
-
"name": "setSize",
|
20548
|
-
"privacy": "private",
|
20549
|
-
"parameters": [
|
20550
|
-
{
|
20551
|
-
"name": "size",
|
20552
|
-
"type": {
|
20553
|
-
"text": "LinkButtonSize"
|
20554
|
-
},
|
20555
|
-
"description": "The desired link size."
|
20556
|
-
}
|
20557
|
-
],
|
20558
|
-
"description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
|
20559
|
-
},
|
20560
|
-
{
|
20561
|
-
"kind": "field",
|
20562
|
-
"name": "iconName",
|
20563
|
-
"type": {
|
20564
|
-
"text": "IconNames | undefined"
|
20565
|
-
},
|
20566
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
20567
|
-
"attribute": "icon-name",
|
20568
|
-
"inheritedFrom": {
|
20569
|
-
"name": "IconNameMixin",
|
20570
|
-
"module": "utils/mixins/IconNameMixin.js"
|
20571
|
-
}
|
20572
|
-
},
|
20541
|
+
}
|
20542
|
+
],
|
20543
|
+
"cssParts": [
|
20544
|
+
{
|
20545
|
+
"description": "The anchor element that wraps the linksimple content.",
|
20546
|
+
"name": "anchor"
|
20547
|
+
}
|
20548
|
+
],
|
20549
|
+
"members": [
|
20573
20550
|
{
|
20574
20551
|
"kind": "field",
|
20575
|
-
"name": "
|
20552
|
+
"name": "inline",
|
20576
20553
|
"type": {
|
20577
20554
|
"text": "boolean"
|
20578
20555
|
},
|
20556
|
+
"description": "The link can be inline or standalone.",
|
20579
20557
|
"default": "false",
|
20580
|
-
"
|
20581
|
-
"
|
20582
|
-
"reflects": true,
|
20583
|
-
"inheritedFrom": {
|
20584
|
-
"name": "Buttonsimple",
|
20585
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20586
|
-
}
|
20587
|
-
},
|
20588
|
-
{
|
20589
|
-
"kind": "field",
|
20590
|
-
"name": "tabIndex",
|
20591
|
-
"type": {
|
20592
|
-
"text": "number"
|
20593
|
-
},
|
20594
|
-
"default": "0",
|
20595
|
-
"description": "This property specifies the tab order of the element.",
|
20596
|
-
"attribute": "tabIndex",
|
20597
|
-
"reflects": true,
|
20598
|
-
"inheritedFrom": {
|
20599
|
-
"name": "Buttonsimple",
|
20600
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20601
|
-
}
|
20558
|
+
"attribute": "inline",
|
20559
|
+
"reflects": true
|
20602
20560
|
},
|
20603
20561
|
{
|
20604
20562
|
"kind": "field",
|
20605
|
-
"name": "
|
20563
|
+
"name": "inverted",
|
20606
20564
|
"type": {
|
20607
|
-
"text": "boolean
|
20565
|
+
"text": "boolean"
|
20608
20566
|
},
|
20609
|
-
"description": "
|
20610
|
-
"default": "
|
20611
|
-
"attribute": "
|
20612
|
-
"reflects": true
|
20613
|
-
"inheritedFrom": {
|
20614
|
-
"name": "Buttonsimple",
|
20615
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20616
|
-
}
|
20567
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
20568
|
+
"default": "false",
|
20569
|
+
"attribute": "inverted",
|
20570
|
+
"reflects": true
|
20617
20571
|
},
|
20618
20572
|
{
|
20619
20573
|
"kind": "field",
|
20620
|
-
"name": "
|
20574
|
+
"name": "href",
|
20621
20575
|
"type": {
|
20622
|
-
"text": "
|
20576
|
+
"text": "string | undefined"
|
20623
20577
|
},
|
20624
|
-
"description": "
|
20625
|
-
"
|
20626
|
-
"
|
20627
|
-
"reflects": true,
|
20628
|
-
"inheritedFrom": {
|
20629
|
-
"name": "Buttonsimple",
|
20630
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20631
|
-
}
|
20578
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
20579
|
+
"attribute": "href",
|
20580
|
+
"reflects": true
|
20632
20581
|
},
|
20633
20582
|
{
|
20634
20583
|
"kind": "field",
|
20635
|
-
"name": "
|
20584
|
+
"name": "target",
|
20636
20585
|
"type": {
|
20637
|
-
"text": "
|
20586
|
+
"text": "string"
|
20638
20587
|
},
|
20639
|
-
"
|
20640
|
-
"
|
20641
|
-
"attribute": "
|
20642
|
-
"reflects": true
|
20643
|
-
"inheritedFrom": {
|
20644
|
-
"name": "Buttonsimple",
|
20645
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20646
|
-
}
|
20588
|
+
"default": "'_self'",
|
20589
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
20590
|
+
"attribute": "target",
|
20591
|
+
"reflects": true
|
20647
20592
|
},
|
20648
20593
|
{
|
20649
20594
|
"kind": "field",
|
20650
|
-
"name": "
|
20595
|
+
"name": "rel",
|
20651
20596
|
"type": {
|
20652
|
-
"text": "
|
20597
|
+
"text": "string | undefined"
|
20653
20598
|
},
|
20654
|
-
"description": "
|
20655
|
-
"
|
20656
|
-
"
|
20657
|
-
"reflects": true,
|
20658
|
-
"inheritedFrom": {
|
20659
|
-
"name": "Buttonsimple",
|
20660
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20661
|
-
}
|
20599
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
20600
|
+
"attribute": "rel",
|
20601
|
+
"reflects": true
|
20662
20602
|
},
|
20663
20603
|
{
|
20664
20604
|
"kind": "field",
|
20665
|
-
"name": "
|
20605
|
+
"name": "download",
|
20666
20606
|
"type": {
|
20667
20607
|
"text": "string | undefined"
|
20668
20608
|
},
|
20669
|
-
"description": "
|
20670
|
-
"
|
20671
|
-
"
|
20672
|
-
"reflects": true,
|
20673
|
-
"inheritedFrom": {
|
20674
|
-
"name": "Buttonsimple",
|
20675
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20676
|
-
}
|
20609
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
20610
|
+
"attribute": "download",
|
20611
|
+
"reflects": true
|
20677
20612
|
},
|
20678
20613
|
{
|
20679
20614
|
"kind": "field",
|
20680
|
-
"name": "
|
20615
|
+
"name": "ping",
|
20681
20616
|
"type": {
|
20682
|
-
"text": "
|
20617
|
+
"text": "string | undefined"
|
20683
20618
|
},
|
20684
|
-
"description": "
|
20685
|
-
"
|
20686
|
-
"
|
20687
|
-
"reflects": true,
|
20688
|
-
"inheritedFrom": {
|
20689
|
-
"name": "Buttonsimple",
|
20690
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20691
|
-
}
|
20619
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
20620
|
+
"attribute": "ping",
|
20621
|
+
"reflects": true
|
20692
20622
|
},
|
20693
20623
|
{
|
20694
20624
|
"kind": "field",
|
20695
|
-
"name": "
|
20625
|
+
"name": "hreflang",
|
20696
20626
|
"type": {
|
20697
20627
|
"text": "string | undefined"
|
20698
20628
|
},
|
20699
|
-
"description": "
|
20700
|
-
"attribute": "
|
20701
|
-
"reflects": true
|
20702
|
-
"inheritedFrom": {
|
20703
|
-
"name": "Buttonsimple",
|
20704
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20705
|
-
}
|
20629
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
20630
|
+
"attribute": "hreflang",
|
20631
|
+
"reflects": true
|
20706
20632
|
},
|
20707
20633
|
{
|
20708
20634
|
"kind": "field",
|
20709
|
-
"name": "
|
20635
|
+
"name": "type",
|
20710
20636
|
"type": {
|
20711
20637
|
"text": "string | undefined"
|
20712
20638
|
},
|
20713
|
-
"description": "
|
20714
|
-
"attribute": "
|
20715
|
-
"reflects": true
|
20716
|
-
"inheritedFrom": {
|
20717
|
-
"name": "Buttonsimple",
|
20718
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20719
|
-
}
|
20720
|
-
},
|
20721
|
-
{
|
20722
|
-
"kind": "method",
|
20723
|
-
"name": "executeAction",
|
20724
|
-
"privacy": "protected",
|
20725
|
-
"inheritedFrom": {
|
20726
|
-
"name": "Buttonsimple",
|
20727
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20728
|
-
}
|
20729
|
-
},
|
20730
|
-
{
|
20731
|
-
"kind": "method",
|
20732
|
-
"name": "setActive",
|
20733
|
-
"privacy": "protected",
|
20734
|
-
"parameters": [
|
20735
|
-
{
|
20736
|
-
"name": "element",
|
20737
|
-
"type": {
|
20738
|
-
"text": "HTMLElement"
|
20739
|
-
},
|
20740
|
-
"description": "The button element"
|
20741
|
-
},
|
20742
|
-
{
|
20743
|
-
"name": "active",
|
20744
|
-
"optional": true,
|
20745
|
-
"type": {
|
20746
|
-
"text": "boolean"
|
20747
|
-
},
|
20748
|
-
"description": "The active state of the element"
|
20749
|
-
}
|
20750
|
-
],
|
20751
|
-
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
20752
|
-
"inheritedFrom": {
|
20753
|
-
"name": "Buttonsimple",
|
20754
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20755
|
-
}
|
20756
|
-
},
|
20757
|
-
{
|
20758
|
-
"kind": "method",
|
20759
|
-
"name": "setSoftDisabled",
|
20760
|
-
"privacy": "private",
|
20761
|
-
"parameters": [
|
20762
|
-
{
|
20763
|
-
"name": "element",
|
20764
|
-
"type": {
|
20765
|
-
"text": "HTMLElement"
|
20766
|
-
},
|
20767
|
-
"description": "The button element."
|
20768
|
-
},
|
20769
|
-
{
|
20770
|
-
"name": "softDisabled",
|
20771
|
-
"optional": true,
|
20772
|
-
"type": {
|
20773
|
-
"text": "boolean"
|
20774
|
-
},
|
20775
|
-
"description": "The soft-disabled state."
|
20776
|
-
}
|
20777
|
-
],
|
20778
|
-
"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.",
|
20779
|
-
"inheritedFrom": {
|
20780
|
-
"name": "Buttonsimple",
|
20781
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20782
|
-
}
|
20783
|
-
},
|
20784
|
-
{
|
20785
|
-
"kind": "method",
|
20786
|
-
"name": "setDisabled",
|
20787
|
-
"privacy": "private",
|
20788
|
-
"parameters": [
|
20789
|
-
{
|
20790
|
-
"name": "element",
|
20791
|
-
"type": {
|
20792
|
-
"text": "HTMLElement"
|
20793
|
-
},
|
20794
|
-
"description": "The button element."
|
20795
|
-
},
|
20796
|
-
{
|
20797
|
-
"name": "disabled",
|
20798
|
-
"type": {
|
20799
|
-
"text": "boolean"
|
20800
|
-
},
|
20801
|
-
"description": "The disabled state."
|
20802
|
-
}
|
20803
|
-
],
|
20804
|
-
"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.",
|
20805
|
-
"inheritedFrom": {
|
20806
|
-
"name": "Buttonsimple",
|
20807
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20808
|
-
}
|
20809
|
-
},
|
20810
|
-
{
|
20811
|
-
"kind": "method",
|
20812
|
-
"name": "triggerClickEvent",
|
20813
|
-
"privacy": "private",
|
20814
|
-
"inheritedFrom": {
|
20815
|
-
"name": "Buttonsimple",
|
20816
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20817
|
-
}
|
20639
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
20640
|
+
"attribute": "type",
|
20641
|
+
"reflects": true
|
20818
20642
|
},
|
20819
20643
|
{
|
20820
|
-
"kind": "
|
20821
|
-
"name": "
|
20822
|
-
"
|
20823
|
-
|
20824
|
-
|
20825
|
-
|
20826
|
-
|
20827
|
-
|
20644
|
+
"kind": "field",
|
20645
|
+
"name": "referrerpolicy",
|
20646
|
+
"type": {
|
20647
|
+
"text": "string | undefined"
|
20648
|
+
},
|
20649
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
20650
|
+
"attribute": "referrerpolicy",
|
20651
|
+
"reflects": true
|
20828
20652
|
},
|
20829
20653
|
{
|
20830
20654
|
"kind": "method",
|
20831
|
-
"name": "
|
20832
|
-
"privacy": "
|
20655
|
+
"name": "handleNavigation",
|
20656
|
+
"privacy": "protected",
|
20657
|
+
"return": {
|
20658
|
+
"type": {
|
20659
|
+
"text": "void"
|
20660
|
+
}
|
20661
|
+
},
|
20833
20662
|
"parameters": [
|
20834
20663
|
{
|
20835
|
-
"name": "
|
20664
|
+
"name": "e",
|
20836
20665
|
"type": {
|
20837
|
-
"text": "KeyboardEvent"
|
20838
|
-
}
|
20839
|
-
"description": "The keyboard event."
|
20666
|
+
"text": "MouseEvent | KeyboardEvent"
|
20667
|
+
}
|
20840
20668
|
}
|
20841
|
-
]
|
20842
|
-
"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.",
|
20843
|
-
"inheritedFrom": {
|
20844
|
-
"name": "Buttonsimple",
|
20845
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
20846
|
-
}
|
20669
|
+
]
|
20847
20670
|
},
|
20848
20671
|
{
|
20849
20672
|
"kind": "method",
|
20850
|
-
"name": "
|
20673
|
+
"name": "setDisabled",
|
20851
20674
|
"privacy": "private",
|
20852
20675
|
"parameters": [
|
20853
20676
|
{
|
20854
|
-
"name": "
|
20677
|
+
"name": "disabled",
|
20855
20678
|
"type": {
|
20856
|
-
"text": "
|
20679
|
+
"text": "boolean"
|
20857
20680
|
},
|
20858
|
-
"description": "
|
20681
|
+
"description": "Whether the element should be disabled"
|
20859
20682
|
}
|
20860
20683
|
],
|
20861
|
-
"description": "
|
20684
|
+
"description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored."
|
20685
|
+
},
|
20686
|
+
{
|
20687
|
+
"kind": "field",
|
20688
|
+
"name": "dataAriaLabel",
|
20689
|
+
"type": {
|
20690
|
+
"text": "string | null"
|
20691
|
+
},
|
20692
|
+
"default": "null",
|
20693
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
20694
|
+
"attribute": "data-aria-label",
|
20695
|
+
"reflects": true,
|
20862
20696
|
"inheritedFrom": {
|
20863
|
-
"name": "
|
20864
|
-
"module": "
|
20697
|
+
"name": "DataAriaLabelMixin",
|
20698
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
20699
|
+
}
|
20700
|
+
},
|
20701
|
+
{
|
20702
|
+
"kind": "field",
|
20703
|
+
"name": "disabled",
|
20704
|
+
"type": {
|
20705
|
+
"text": "boolean | undefined"
|
20706
|
+
},
|
20707
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
20708
|
+
"default": "undefined",
|
20709
|
+
"attribute": "disabled",
|
20710
|
+
"reflects": true,
|
20711
|
+
"inheritedFrom": {
|
20712
|
+
"name": "DisabledMixin",
|
20713
|
+
"module": "utils/mixins/DisabledMixin.js"
|
20865
20714
|
}
|
20866
20715
|
}
|
20867
20716
|
],
|
20868
20717
|
"events": [
|
20869
20718
|
{
|
20870
|
-
"description": "(React: onClick)
|
20719
|
+
"description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
|
20871
20720
|
"name": "click",
|
20872
|
-
"reactName": "onClick"
|
20873
|
-
"inheritedFrom": {
|
20874
|
-
"name": "Buttonsimple",
|
20875
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20876
|
-
}
|
20721
|
+
"reactName": "onClick"
|
20877
20722
|
},
|
20878
20723
|
{
|
20879
|
-
"description": "(React: onKeyDown)
|
20724
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
|
20880
20725
|
"name": "keydown",
|
20881
|
-
"reactName": "onKeyDown"
|
20882
|
-
"inheritedFrom": {
|
20883
|
-
"name": "Buttonsimple",
|
20884
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20885
|
-
}
|
20726
|
+
"reactName": "onKeyDown"
|
20886
20727
|
},
|
20887
20728
|
{
|
20888
|
-
"description": "(React:
|
20889
|
-
"name": "
|
20890
|
-
"reactName": "
|
20891
|
-
"inheritedFrom": {
|
20892
|
-
"name": "Buttonsimple",
|
20893
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20894
|
-
}
|
20729
|
+
"description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
|
20730
|
+
"name": "focus",
|
20731
|
+
"reactName": "onFocus"
|
20895
20732
|
},
|
20896
20733
|
{
|
20897
|
-
"description": "(React:
|
20898
|
-
"name": "
|
20899
|
-
"reactName": "
|
20900
|
-
"inheritedFrom": {
|
20901
|
-
"name": "Buttonsimple",
|
20902
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20903
|
-
}
|
20734
|
+
"description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
|
20735
|
+
"name": "blur",
|
20736
|
+
"reactName": "onBlur"
|
20904
20737
|
}
|
20905
20738
|
],
|
20906
20739
|
"attributes": [
|
20907
|
-
{
|
20908
|
-
"name": "size",
|
20909
|
-
"type": {
|
20910
|
-
"text": "ButtonSize"
|
20911
|
-
},
|
20912
|
-
"description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
|
20913
|
-
"default": "16",
|
20914
|
-
"fieldName": "size",
|
20915
|
-
"inheritedFrom": {
|
20916
|
-
"name": "Buttonsimple",
|
20917
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20918
|
-
}
|
20919
|
-
},
|
20920
20740
|
{
|
20921
20741
|
"name": "inline",
|
20922
20742
|
"type": {
|
20923
20743
|
"text": "boolean"
|
20924
20744
|
},
|
20925
|
-
"description": "The
|
20745
|
+
"description": "The link can be inline or standalone.",
|
20926
20746
|
"default": "false",
|
20927
20747
|
"fieldName": "inline"
|
20928
20748
|
},
|
@@ -20931,163 +20751,343 @@
|
|
20931
20751
|
"type": {
|
20932
20752
|
"text": "boolean"
|
20933
20753
|
},
|
20934
|
-
"description": "The
|
20754
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
20935
20755
|
"default": "false",
|
20936
20756
|
"fieldName": "inverted"
|
20937
20757
|
},
|
20938
20758
|
{
|
20939
|
-
"name": "
|
20940
|
-
"type": {
|
20941
|
-
"text": "
|
20942
|
-
},
|
20943
|
-
"description": "
|
20944
|
-
"fieldName": "
|
20945
|
-
|
20946
|
-
|
20947
|
-
|
20948
|
-
|
20759
|
+
"name": "href",
|
20760
|
+
"type": {
|
20761
|
+
"text": "string | undefined"
|
20762
|
+
},
|
20763
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
20764
|
+
"fieldName": "href"
|
20765
|
+
},
|
20766
|
+
{
|
20767
|
+
"name": "target",
|
20768
|
+
"type": {
|
20769
|
+
"text": "string"
|
20770
|
+
},
|
20771
|
+
"default": "'_self'",
|
20772
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
20773
|
+
"fieldName": "target"
|
20774
|
+
},
|
20775
|
+
{
|
20776
|
+
"name": "rel",
|
20777
|
+
"type": {
|
20778
|
+
"text": "string | undefined"
|
20779
|
+
},
|
20780
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
20781
|
+
"fieldName": "rel"
|
20782
|
+
},
|
20783
|
+
{
|
20784
|
+
"name": "download",
|
20785
|
+
"type": {
|
20786
|
+
"text": "string | undefined"
|
20787
|
+
},
|
20788
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
20789
|
+
"fieldName": "download"
|
20790
|
+
},
|
20791
|
+
{
|
20792
|
+
"name": "ping",
|
20793
|
+
"type": {
|
20794
|
+
"text": "string | undefined"
|
20795
|
+
},
|
20796
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
20797
|
+
"fieldName": "ping"
|
20798
|
+
},
|
20799
|
+
{
|
20800
|
+
"name": "hreflang",
|
20801
|
+
"type": {
|
20802
|
+
"text": "string | undefined"
|
20803
|
+
},
|
20804
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
20805
|
+
"fieldName": "hreflang"
|
20806
|
+
},
|
20807
|
+
{
|
20808
|
+
"name": "type",
|
20809
|
+
"type": {
|
20810
|
+
"text": "string | undefined"
|
20811
|
+
},
|
20812
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
20813
|
+
"fieldName": "type"
|
20814
|
+
},
|
20815
|
+
{
|
20816
|
+
"name": "referrerpolicy",
|
20817
|
+
"type": {
|
20818
|
+
"text": "string | undefined"
|
20819
|
+
},
|
20820
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
20821
|
+
"fieldName": "referrerpolicy"
|
20822
|
+
},
|
20823
|
+
{
|
20824
|
+
"name": "data-aria-label",
|
20825
|
+
"type": {
|
20826
|
+
"text": "string | null"
|
20827
|
+
},
|
20828
|
+
"default": "null",
|
20829
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
20830
|
+
"fieldName": "dataAriaLabel",
|
20831
|
+
"inheritedFrom": {
|
20832
|
+
"name": "DataAriaLabelMixin",
|
20833
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
20834
|
+
}
|
20835
|
+
},
|
20836
|
+
{
|
20837
|
+
"name": "disabled",
|
20838
|
+
"type": {
|
20839
|
+
"text": "boolean | undefined"
|
20840
|
+
},
|
20841
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
20842
|
+
"default": "undefined",
|
20843
|
+
"fieldName": "disabled",
|
20844
|
+
"inheritedFrom": {
|
20845
|
+
"name": "DisabledMixin",
|
20846
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
20847
|
+
}
|
20848
|
+
}
|
20849
|
+
],
|
20850
|
+
"mixins": [
|
20851
|
+
{
|
20852
|
+
"name": "DataAriaLabelMixin",
|
20853
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
20854
|
+
},
|
20855
|
+
{
|
20856
|
+
"name": "DisabledMixin",
|
20857
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
20858
|
+
}
|
20859
|
+
],
|
20860
|
+
"superclass": {
|
20861
|
+
"name": "Component",
|
20862
|
+
"module": "/src/models"
|
20863
|
+
},
|
20864
|
+
"tagName": "mdc-linksimple",
|
20865
|
+
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n *\n * @csspart anchor - The anchor element that wraps the linksimple content.\n */",
|
20866
|
+
"customElement": true
|
20867
|
+
}
|
20868
|
+
],
|
20869
|
+
"exports": [
|
20870
|
+
{
|
20871
|
+
"kind": "js",
|
20872
|
+
"name": "default",
|
20873
|
+
"declaration": {
|
20874
|
+
"name": "Linksimple",
|
20875
|
+
"module": "components/linksimple/linksimple.component.js"
|
20876
|
+
}
|
20877
|
+
}
|
20878
|
+
]
|
20879
|
+
},
|
20880
|
+
{
|
20881
|
+
"kind": "javascript-module",
|
20882
|
+
"path": "components/list/list.component.js",
|
20883
|
+
"declarations": [
|
20884
|
+
{
|
20885
|
+
"kind": "class",
|
20886
|
+
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
20887
|
+
"name": "List",
|
20888
|
+
"cssParts": [
|
20889
|
+
{
|
20890
|
+
"description": "The container slot around the list items",
|
20891
|
+
"name": "container"
|
20892
|
+
}
|
20893
|
+
],
|
20894
|
+
"slots": [
|
20895
|
+
{
|
20896
|
+
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
20897
|
+
"name": "default"
|
20949
20898
|
},
|
20950
20899
|
{
|
20951
|
-
"
|
20900
|
+
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
20901
|
+
"name": "list-header"
|
20902
|
+
}
|
20903
|
+
],
|
20904
|
+
"members": [
|
20905
|
+
{
|
20906
|
+
"kind": "field",
|
20907
|
+
"name": "loop",
|
20952
20908
|
"type": {
|
20953
|
-
"text": "
|
20909
|
+
"text": "'true' | 'false'"
|
20954
20910
|
},
|
20955
|
-
"
|
20956
|
-
"description": "
|
20957
|
-
"
|
20958
|
-
"
|
20959
|
-
|
20960
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20961
|
-
}
|
20911
|
+
"privacy": "public",
|
20912
|
+
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
20913
|
+
"default": "''",
|
20914
|
+
"attribute": "loop",
|
20915
|
+
"reflects": true
|
20962
20916
|
},
|
20963
20917
|
{
|
20964
|
-
"
|
20918
|
+
"kind": "field",
|
20919
|
+
"name": "initialFocus",
|
20965
20920
|
"type": {
|
20966
20921
|
"text": "number"
|
20967
20922
|
},
|
20923
|
+
"privacy": "public",
|
20924
|
+
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
20968
20925
|
"default": "0",
|
20969
|
-
"
|
20970
|
-
"
|
20971
|
-
"inheritedFrom": {
|
20972
|
-
"name": "Buttonsimple",
|
20973
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20974
|
-
}
|
20926
|
+
"attribute": "initial-focus",
|
20927
|
+
"reflects": true
|
20975
20928
|
},
|
20976
20929
|
{
|
20977
|
-
"
|
20978
|
-
"
|
20979
|
-
|
20980
|
-
},
|
20981
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
20982
|
-
"default": "undefined",
|
20983
|
-
"fieldName": "disabled",
|
20984
|
-
"inheritedFrom": {
|
20985
|
-
"name": "Buttonsimple",
|
20986
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
20987
|
-
}
|
20930
|
+
"kind": "field",
|
20931
|
+
"name": "itemsStore",
|
20932
|
+
"default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
|
20988
20933
|
},
|
20989
20934
|
{
|
20990
|
-
"
|
20991
|
-
"
|
20992
|
-
|
20935
|
+
"kind": "method",
|
20936
|
+
"name": "getCurrentIndex",
|
20937
|
+
"privacy": "private",
|
20938
|
+
"return": {
|
20939
|
+
"type": {
|
20940
|
+
"text": ""
|
20941
|
+
}
|
20993
20942
|
},
|
20994
|
-
"
|
20995
|
-
|
20996
|
-
|
20943
|
+
"parameters": [
|
20944
|
+
{
|
20945
|
+
"name": "target",
|
20946
|
+
"type": {
|
20947
|
+
"text": "EventTarget | null"
|
20948
|
+
},
|
20949
|
+
"description": "The target element that triggered the event."
|
20950
|
+
}
|
20951
|
+
],
|
20952
|
+
"description": "Retrieves the current index of the item that triggered the event.",
|
20997
20953
|
"inheritedFrom": {
|
20998
|
-
"name": "
|
20999
|
-
"module": "
|
20954
|
+
"name": "ListNavigationMixin",
|
20955
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
21000
20956
|
}
|
21001
20957
|
},
|
21002
20958
|
{
|
21003
|
-
"
|
21004
|
-
"
|
21005
|
-
|
21006
|
-
|
21007
|
-
|
21008
|
-
|
21009
|
-
|
20959
|
+
"kind": "method",
|
20960
|
+
"name": "resetTabIndexes",
|
20961
|
+
"privacy": "protected",
|
20962
|
+
"parameters": [
|
20963
|
+
{
|
20964
|
+
"name": "index",
|
20965
|
+
"type": {
|
20966
|
+
"text": "number"
|
20967
|
+
},
|
20968
|
+
"description": "The index of the currently focused item."
|
20969
|
+
}
|
20970
|
+
],
|
20971
|
+
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
21010
20972
|
"inheritedFrom": {
|
21011
|
-
"name": "
|
21012
|
-
"module": "
|
20973
|
+
"name": "ListNavigationMixin",
|
20974
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
21013
20975
|
}
|
21014
20976
|
},
|
21015
20977
|
{
|
21016
|
-
"
|
21017
|
-
"
|
21018
|
-
|
20978
|
+
"kind": "method",
|
20979
|
+
"name": "resetTabIndexAndSetFocus",
|
20980
|
+
"privacy": "protected",
|
20981
|
+
"parameters": [
|
20982
|
+
{
|
20983
|
+
"name": "newIndex",
|
20984
|
+
"type": {
|
20985
|
+
"text": "number"
|
20986
|
+
},
|
20987
|
+
"description": "The index of the new item to focus."
|
20988
|
+
},
|
20989
|
+
{
|
20990
|
+
"name": "oldIndex",
|
20991
|
+
"optional": true,
|
20992
|
+
"type": {
|
20993
|
+
"text": "number"
|
20994
|
+
},
|
20995
|
+
"description": "The index of the currently focused item."
|
20996
|
+
},
|
20997
|
+
{
|
20998
|
+
"name": "focusNewItem",
|
20999
|
+
"default": "true",
|
21000
|
+
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
21001
|
+
}
|
21002
|
+
],
|
21003
|
+
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
21004
|
+
"return": {
|
21005
|
+
"type": {
|
21006
|
+
"text": ""
|
21007
|
+
}
|
21019
21008
|
},
|
21020
|
-
"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.",
|
21021
|
-
"default": "button",
|
21022
|
-
"fieldName": "role",
|
21023
21009
|
"inheritedFrom": {
|
21024
|
-
"name": "
|
21025
|
-
"module": "
|
21010
|
+
"name": "ListNavigationMixin",
|
21011
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
21026
21012
|
}
|
21027
21013
|
},
|
21028
21014
|
{
|
21029
|
-
"
|
21030
|
-
"
|
21031
|
-
|
21015
|
+
"kind": "method",
|
21016
|
+
"name": "resolveDirectionKey",
|
21017
|
+
"privacy": "private",
|
21018
|
+
"parameters": [
|
21019
|
+
{
|
21020
|
+
"name": "key",
|
21021
|
+
"type": {
|
21022
|
+
"text": "string"
|
21023
|
+
},
|
21024
|
+
"description": "The key pressed by the user."
|
21025
|
+
},
|
21026
|
+
{
|
21027
|
+
"name": "isRtl",
|
21028
|
+
"type": {
|
21029
|
+
"text": "boolean"
|
21030
|
+
},
|
21031
|
+
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
21032
|
+
}
|
21033
|
+
],
|
21034
|
+
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
21035
|
+
"return": {
|
21036
|
+
"type": {
|
21037
|
+
"text": ""
|
21038
|
+
}
|
21032
21039
|
},
|
21033
|
-
"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`",
|
21034
|
-
"default": "'aria-pressed' (when)",
|
21035
|
-
"fieldName": "ariaStateKey",
|
21036
21040
|
"inheritedFrom": {
|
21037
|
-
"name": "
|
21038
|
-
"module": "
|
21041
|
+
"name": "ListNavigationMixin",
|
21042
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
21039
21043
|
}
|
21040
21044
|
},
|
21041
21045
|
{
|
21042
|
-
"
|
21043
|
-
"
|
21044
|
-
|
21045
|
-
},
|
21046
|
-
"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.",
|
21047
|
-
"default": "button",
|
21048
|
-
"fieldName": "type",
|
21046
|
+
"kind": "method",
|
21047
|
+
"name": "shouldLoop",
|
21048
|
+
"privacy": "private",
|
21049
21049
|
"inheritedFrom": {
|
21050
|
-
"name": "
|
21051
|
-
"module": "
|
21050
|
+
"name": "ListNavigationMixin",
|
21051
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
21052
21052
|
}
|
21053
|
-
}
|
21053
|
+
}
|
21054
|
+
],
|
21055
|
+
"attributes": [
|
21054
21056
|
{
|
21055
|
-
"name": "
|
21057
|
+
"name": "loop",
|
21056
21058
|
"type": {
|
21057
|
-
"text": "
|
21059
|
+
"text": "'true' | 'false'"
|
21058
21060
|
},
|
21059
|
-
"description": "
|
21060
|
-
"
|
21061
|
-
"
|
21062
|
-
"name": "Buttonsimple",
|
21063
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
21064
|
-
}
|
21061
|
+
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
21062
|
+
"default": "''",
|
21063
|
+
"fieldName": "loop"
|
21065
21064
|
},
|
21066
21065
|
{
|
21067
|
-
"name": "
|
21066
|
+
"name": "initial-focus",
|
21068
21067
|
"type": {
|
21069
|
-
"text": "
|
21068
|
+
"text": "number"
|
21070
21069
|
},
|
21071
|
-
"description": "
|
21072
|
-
"
|
21073
|
-
"
|
21074
|
-
"name": "Buttonsimple",
|
21075
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
21076
|
-
}
|
21070
|
+
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
21071
|
+
"default": "0",
|
21072
|
+
"fieldName": "initialFocus"
|
21077
21073
|
}
|
21078
21074
|
],
|
21079
21075
|
"mixins": [
|
21080
21076
|
{
|
21081
|
-
"name": "
|
21082
|
-
"module": "/src/utils/mixins/
|
21077
|
+
"name": "ListNavigationMixin",
|
21078
|
+
"module": "/src/utils/mixins/ListNavigationMixin"
|
21079
|
+
},
|
21080
|
+
{
|
21081
|
+
"name": "CaptureDestroyEventForChildElement",
|
21082
|
+
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
21083
21083
|
}
|
21084
21084
|
],
|
21085
21085
|
"superclass": {
|
21086
|
-
"name": "
|
21087
|
-
"module": "/src/
|
21086
|
+
"name": "Component",
|
21087
|
+
"module": "/src/models"
|
21088
21088
|
},
|
21089
|
-
"tagName": "mdc-
|
21090
|
-
"jsDoc": "/**\n *
|
21089
|
+
"tagName": "mdc-list",
|
21090
|
+
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
21091
21091
|
"customElement": true
|
21092
21092
|
}
|
21093
21093
|
],
|
@@ -21096,8 +21096,8 @@
|
|
21096
21096
|
"kind": "js",
|
21097
21097
|
"name": "default",
|
21098
21098
|
"declaration": {
|
21099
|
-
"name": "
|
21100
|
-
"module": "components/
|
21099
|
+
"name": "List",
|
21100
|
+
"module": "components/list/list.component.js"
|
21101
21101
|
}
|
21102
21102
|
}
|
21103
21103
|
]
|