@momentum-design/components 0.66.2 → 0.66.4
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 +272 -210
- package/dist/browser/index.js.map +4 -4
- package/dist/components/menuitemcheckbox/index.d.ts +12 -0
- package/dist/components/menuitemcheckbox/index.js +9 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +54 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +137 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.d.ts +15 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.js +16 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.styles.d.ts +2 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.styles.js +13 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.types.d.ts +10 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.types.js +1 -0
- package/dist/components/menuitemradio/index.d.ts +10 -0
- package/dist/components/menuitemradio/index.js +7 -0
- package/dist/components/menuitemradio/menuitemradio.component.d.ts +34 -0
- package/dist/components/menuitemradio/menuitemradio.component.js +70 -0
- package/dist/components/menuitemradio/menuitemradio.constants.d.ts +6 -0
- package/dist/components/menuitemradio/menuitemradio.constants.js +7 -0
- package/dist/components/menuitemradio/menuitemradio.types.d.ts +9 -0
- package/dist/components/menuitemradio/menuitemradio.types.js +1 -0
- package/dist/custom-elements.json +2463 -807
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/react/index.d.ts +4 -2
- package/dist/react/index.js +4 -2
- package/dist/react/menuitemcheckbox/index.d.ts +42 -0
- package/dist/react/menuitemcheckbox/index.js +50 -0
- package/dist/react/menuitemradio/index.d.ts +30 -0
- package/dist/react/menuitemradio/index.js +38 -0
- package/dist/utils/mixins/ButtonComponentMixin.d.ts +6 -6
- package/dist/utils/mixins/ButtonComponentMixin.js +1 -0
- package/dist/utils/mixins/CardComponentMixin.d.ts +4 -4
- package/dist/utils/mixins/CardComponentMixin.js +27 -21
- package/dist/utils/mixins/FocusTrapMixin.d.ts +1 -1
- package/dist/utils/mixins/FocusTrapMixin.js +1 -0
- package/dist/utils/mixins/FormInternalsMixin.d.ts +3 -3
- package/dist/utils/mixins/FormInternalsMixin.js +10 -10
- package/package.json +1 -1
@@ -4,480 +4,175 @@
|
|
4
4
|
"modules": [
|
5
5
|
{
|
6
6
|
"kind": "javascript-module",
|
7
|
-
"path": "components/
|
8
|
-
"declarations": [
|
9
|
-
{
|
10
|
-
"kind": "class",
|
11
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
12
|
-
"name": "Appheader",
|
13
|
-
"cssParts": [
|
14
|
-
{
|
15
|
-
"description": "The main container for styling the header.",
|
16
|
-
"name": "container"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"description": "The leading section of the header.",
|
20
|
-
"name": "leading-section"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"description": "The center section of the header.",
|
24
|
-
"name": "center-section"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"description": "The trailing section of the header.",
|
28
|
-
"name": "trailing-section"
|
29
|
-
}
|
30
|
-
],
|
31
|
-
"slots": [
|
32
|
-
{
|
33
|
-
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
34
|
-
"name": "leading"
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"description": "Slot for the center section (e.g., search bar, icons).",
|
38
|
-
"name": "center"
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
42
|
-
"name": "trailing"
|
43
|
-
}
|
44
|
-
],
|
45
|
-
"members": [],
|
46
|
-
"superclass": {
|
47
|
-
"name": "Component",
|
48
|
-
"module": "/src/models"
|
49
|
-
},
|
50
|
-
"tagName": "mdc-appheader",
|
51
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
52
|
-
"customElement": true
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"exports": [
|
56
|
-
{
|
57
|
-
"kind": "js",
|
58
|
-
"name": "default",
|
59
|
-
"declaration": {
|
60
|
-
"name": "Appheader",
|
61
|
-
"module": "components/appheader/appheader.component.js"
|
62
|
-
}
|
63
|
-
}
|
64
|
-
]
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"kind": "javascript-module",
|
68
|
-
"path": "components/avatar/avatar.component.js",
|
7
|
+
"path": "components/alertchip/alertchip.component.js",
|
69
8
|
"declarations": [
|
70
9
|
{
|
71
10
|
"kind": "class",
|
72
|
-
"description": "
|
73
|
-
"name": "
|
11
|
+
"description": "mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n\n- It supports a leading icon along with label.\n- It supports 5 variants of alerts - neutral, warning, error, success, and informational\n\nThis component is built by extending Buttonsimple.",
|
12
|
+
"name": "AlertChip",
|
74
13
|
"cssProperties": [
|
75
14
|
{
|
76
|
-
"description": "
|
77
|
-
"name": "--mdc-
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"description": "Allows customization of the default foreground color.",
|
81
|
-
"name": "--mdc-avatar-default-foreground-color"
|
15
|
+
"description": "The color of the label text",
|
16
|
+
"name": "--mdc-chip-color"
|
82
17
|
},
|
83
18
|
{
|
84
|
-
"description": "
|
85
|
-
"name": "--mdc-
|
19
|
+
"description": "The color of the icon",
|
20
|
+
"name": "--mdc-chip-icon-color"
|
86
21
|
},
|
87
22
|
{
|
88
|
-
"description": "
|
89
|
-
"name": "--mdc-
|
23
|
+
"description": "The border color of the alertchip",
|
24
|
+
"name": "--mdc-chip-border-color"
|
90
25
|
},
|
91
26
|
{
|
92
|
-
"description": "
|
93
|
-
"name": "--mdc-
|
27
|
+
"description": "The background color of the alertchip",
|
28
|
+
"name": "--mdc-chip-background-color"
|
94
29
|
}
|
95
30
|
],
|
96
31
|
"members": [
|
97
32
|
{
|
98
33
|
"kind": "field",
|
99
|
-
"name": "
|
34
|
+
"name": "variant",
|
100
35
|
"type": {
|
101
|
-
"text": "
|
36
|
+
"text": "VariantType"
|
102
37
|
},
|
103
|
-
"description": "The
|
104
|
-
"
|
105
|
-
"
|
106
|
-
"name": "AvatarComponentMixin",
|
107
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
108
|
-
}
|
38
|
+
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
39
|
+
"default": "neutral",
|
40
|
+
"attribute": "variant"
|
109
41
|
},
|
110
42
|
{
|
111
43
|
"kind": "field",
|
112
|
-
"name": "
|
44
|
+
"name": "label",
|
113
45
|
"type": {
|
114
|
-
"text": "string
|
46
|
+
"text": "string"
|
115
47
|
},
|
116
|
-
"
|
117
|
-
"
|
118
|
-
"
|
119
|
-
"name": "AvatarComponentMixin",
|
120
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
121
|
-
}
|
48
|
+
"default": "''",
|
49
|
+
"description": "The visible label text of the alertchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
50
|
+
"attribute": "label"
|
122
51
|
},
|
123
52
|
{
|
124
53
|
"kind": "field",
|
125
|
-
"name": "
|
54
|
+
"name": "tabIndex",
|
126
55
|
"type": {
|
127
|
-
"text": "
|
56
|
+
"text": "number"
|
128
57
|
},
|
129
|
-
"
|
130
|
-
"
|
58
|
+
"default": "0",
|
59
|
+
"description": "This property specifies the tab order of the element.",
|
60
|
+
"attribute": "tabIndex",
|
61
|
+
"reflects": true,
|
131
62
|
"inheritedFrom": {
|
132
|
-
"name": "
|
133
|
-
"module": "utils/mixins/
|
63
|
+
"name": "TabIndexMixin",
|
64
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
134
65
|
}
|
135
66
|
},
|
136
67
|
{
|
137
68
|
"kind": "field",
|
138
|
-
"name": "
|
69
|
+
"name": "disabled",
|
139
70
|
"type": {
|
140
|
-
"text": "
|
71
|
+
"text": "boolean | undefined"
|
141
72
|
},
|
142
|
-
"description": "
|
143
|
-
"default": "
|
144
|
-
"attribute": "
|
73
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
74
|
+
"default": "undefined",
|
75
|
+
"attribute": "disabled",
|
145
76
|
"reflects": true,
|
146
77
|
"inheritedFrom": {
|
147
|
-
"name": "
|
148
|
-
"module": "utils/mixins/
|
78
|
+
"name": "DisabledMixin",
|
79
|
+
"module": "utils/mixins/DisabledMixin.js"
|
149
80
|
}
|
150
81
|
},
|
151
82
|
{
|
152
83
|
"kind": "field",
|
153
|
-
"name": "
|
84
|
+
"name": "active",
|
154
85
|
"type": {
|
155
|
-
"text": "
|
86
|
+
"text": "boolean | undefined"
|
156
87
|
},
|
157
|
-
"description": "The
|
158
|
-
"
|
88
|
+
"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.",
|
89
|
+
"default": "undefined",
|
90
|
+
"attribute": "active",
|
91
|
+
"reflects": true,
|
159
92
|
"inheritedFrom": {
|
160
|
-
"name": "
|
161
|
-
"module": "
|
93
|
+
"name": "Buttonsimple",
|
94
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
162
95
|
}
|
163
96
|
},
|
164
97
|
{
|
165
98
|
"kind": "field",
|
166
|
-
"name": "
|
99
|
+
"name": "softDisabled",
|
167
100
|
"type": {
|
168
|
-
"text": "boolean"
|
101
|
+
"text": "boolean | undefined"
|
169
102
|
},
|
170
|
-
"
|
171
|
-
"
|
172
|
-
"attribute": "
|
103
|
+
"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.",
|
104
|
+
"default": "undefined",
|
105
|
+
"attribute": "soft-disabled",
|
106
|
+
"reflects": true,
|
173
107
|
"inheritedFrom": {
|
174
|
-
"name": "
|
175
|
-
"module": "
|
108
|
+
"name": "Buttonsimple",
|
109
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
176
110
|
}
|
177
111
|
},
|
178
112
|
{
|
179
113
|
"kind": "field",
|
180
|
-
"name": "
|
114
|
+
"name": "size",
|
181
115
|
"type": {
|
182
|
-
"text": "
|
116
|
+
"text": "ButtonSize"
|
183
117
|
},
|
184
|
-
"description": "
|
185
|
-
"
|
118
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
119
|
+
"default": "32",
|
120
|
+
"attribute": "size",
|
121
|
+
"reflects": true,
|
186
122
|
"inheritedFrom": {
|
187
|
-
"name": "
|
188
|
-
"module": "
|
123
|
+
"name": "Buttonsimple",
|
124
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
189
125
|
}
|
190
|
-
}
|
191
|
-
],
|
192
|
-
"mixins": [
|
193
|
-
{
|
194
|
-
"name": "AvatarComponentMixin",
|
195
|
-
"module": "/src/utils/mixins/AvatarComponentMixin"
|
196
126
|
},
|
197
127
|
{
|
198
|
-
"
|
199
|
-
"
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
"attributes": [
|
128
|
+
"kind": "field",
|
129
|
+
"name": "role",
|
130
|
+
"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.",
|
131
|
+
"default": "button",
|
132
|
+
"attribute": "role",
|
133
|
+
"reflects": true,
|
134
|
+
"inheritedFrom": {
|
135
|
+
"name": "Buttonsimple",
|
136
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
137
|
+
}
|
138
|
+
},
|
210
139
|
{
|
211
|
-
"
|
140
|
+
"kind": "field",
|
141
|
+
"name": "ariaStateKey",
|
212
142
|
"type": {
|
213
143
|
"text": "string | undefined"
|
214
144
|
},
|
215
|
-
"description": "
|
216
|
-
"
|
145
|
+
"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`",
|
146
|
+
"default": "'aria-pressed' (when)",
|
147
|
+
"attribute": "ariaStateKey",
|
148
|
+
"reflects": true,
|
217
149
|
"inheritedFrom": {
|
218
|
-
"name": "
|
219
|
-
"module": "
|
150
|
+
"name": "Buttonsimple",
|
151
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
220
152
|
}
|
221
153
|
},
|
222
154
|
{
|
223
|
-
"
|
155
|
+
"kind": "field",
|
156
|
+
"name": "type",
|
224
157
|
"type": {
|
225
|
-
"text": "
|
158
|
+
"text": "ButtonType"
|
226
159
|
},
|
227
|
-
"description": "The
|
228
|
-
"
|
160
|
+
"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.",
|
161
|
+
"default": "button",
|
162
|
+
"attribute": "type",
|
163
|
+
"reflects": true,
|
229
164
|
"inheritedFrom": {
|
230
|
-
"name": "
|
231
|
-
"module": "
|
165
|
+
"name": "Buttonsimple",
|
166
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
232
167
|
}
|
233
168
|
},
|
234
169
|
{
|
235
|
-
"
|
236
|
-
"
|
237
|
-
|
238
|
-
},
|
239
|
-
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
240
|
-
"fieldName": "presence",
|
170
|
+
"kind": "method",
|
171
|
+
"name": "executeAction",
|
172
|
+
"privacy": "protected",
|
241
173
|
"inheritedFrom": {
|
242
|
-
"name": "
|
243
|
-
"module": "
|
244
|
-
}
|
245
|
-
},
|
246
|
-
{
|
247
|
-
"name": "size",
|
248
|
-
"type": {
|
249
|
-
"text": "AvatarSize"
|
250
|
-
},
|
251
|
-
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
252
|
-
"default": "32",
|
253
|
-
"fieldName": "size",
|
254
|
-
"inheritedFrom": {
|
255
|
-
"name": "AvatarComponentMixin",
|
256
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
257
|
-
}
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "counter",
|
261
|
-
"type": {
|
262
|
-
"text": "number | undefined"
|
263
|
-
},
|
264
|
-
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
265
|
-
"fieldName": "counter",
|
266
|
-
"inheritedFrom": {
|
267
|
-
"name": "AvatarComponentMixin",
|
268
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
269
|
-
}
|
270
|
-
},
|
271
|
-
{
|
272
|
-
"name": "is-typing",
|
273
|
-
"type": {
|
274
|
-
"text": "boolean"
|
275
|
-
},
|
276
|
-
"default": "false",
|
277
|
-
"description": "Represents the typing indicator when the user is typing.",
|
278
|
-
"fieldName": "isTyping",
|
279
|
-
"inheritedFrom": {
|
280
|
-
"name": "AvatarComponentMixin",
|
281
|
-
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
282
|
-
}
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"name": "icon-name",
|
286
|
-
"type": {
|
287
|
-
"text": "IconNames | undefined"
|
288
|
-
},
|
289
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
290
|
-
"fieldName": "iconName",
|
291
|
-
"inheritedFrom": {
|
292
|
-
"name": "IconNameMixin",
|
293
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
294
|
-
}
|
295
|
-
}
|
296
|
-
]
|
297
|
-
}
|
298
|
-
],
|
299
|
-
"exports": [
|
300
|
-
{
|
301
|
-
"kind": "js",
|
302
|
-
"name": "default",
|
303
|
-
"declaration": {
|
304
|
-
"name": "Avatar",
|
305
|
-
"module": "components/avatar/avatar.component.js"
|
306
|
-
}
|
307
|
-
}
|
308
|
-
]
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"kind": "javascript-module",
|
312
|
-
"path": "components/alertchip/alertchip.component.js",
|
313
|
-
"declarations": [
|
314
|
-
{
|
315
|
-
"kind": "class",
|
316
|
-
"description": "mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n\n- It supports a leading icon along with label.\n- It supports 5 variants of alerts - neutral, warning, error, success, and informational\n\nThis component is built by extending Buttonsimple.",
|
317
|
-
"name": "AlertChip",
|
318
|
-
"cssProperties": [
|
319
|
-
{
|
320
|
-
"description": "The color of the label text",
|
321
|
-
"name": "--mdc-chip-color"
|
322
|
-
},
|
323
|
-
{
|
324
|
-
"description": "The color of the icon",
|
325
|
-
"name": "--mdc-chip-icon-color"
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"description": "The border color of the alertchip",
|
329
|
-
"name": "--mdc-chip-border-color"
|
330
|
-
},
|
331
|
-
{
|
332
|
-
"description": "The background color of the alertchip",
|
333
|
-
"name": "--mdc-chip-background-color"
|
334
|
-
}
|
335
|
-
],
|
336
|
-
"members": [
|
337
|
-
{
|
338
|
-
"kind": "field",
|
339
|
-
"name": "variant",
|
340
|
-
"type": {
|
341
|
-
"text": "VariantType"
|
342
|
-
},
|
343
|
-
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
344
|
-
"default": "neutral",
|
345
|
-
"attribute": "variant"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"kind": "field",
|
349
|
-
"name": "label",
|
350
|
-
"type": {
|
351
|
-
"text": "string"
|
352
|
-
},
|
353
|
-
"default": "''",
|
354
|
-
"description": "The visible label text of the alertchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
355
|
-
"attribute": "label"
|
356
|
-
},
|
357
|
-
{
|
358
|
-
"kind": "field",
|
359
|
-
"name": "tabIndex",
|
360
|
-
"type": {
|
361
|
-
"text": "number"
|
362
|
-
},
|
363
|
-
"default": "0",
|
364
|
-
"description": "This property specifies the tab order of the element.",
|
365
|
-
"attribute": "tabIndex",
|
366
|
-
"reflects": true,
|
367
|
-
"inheritedFrom": {
|
368
|
-
"name": "TabIndexMixin",
|
369
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
370
|
-
}
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"kind": "field",
|
374
|
-
"name": "disabled",
|
375
|
-
"type": {
|
376
|
-
"text": "boolean | undefined"
|
377
|
-
},
|
378
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
379
|
-
"default": "undefined",
|
380
|
-
"attribute": "disabled",
|
381
|
-
"reflects": true,
|
382
|
-
"inheritedFrom": {
|
383
|
-
"name": "DisabledMixin",
|
384
|
-
"module": "utils/mixins/DisabledMixin.js"
|
385
|
-
}
|
386
|
-
},
|
387
|
-
{
|
388
|
-
"kind": "field",
|
389
|
-
"name": "active",
|
390
|
-
"type": {
|
391
|
-
"text": "boolean | undefined"
|
392
|
-
},
|
393
|
-
"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.",
|
394
|
-
"default": "undefined",
|
395
|
-
"attribute": "active",
|
396
|
-
"reflects": true,
|
397
|
-
"inheritedFrom": {
|
398
|
-
"name": "Buttonsimple",
|
399
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
400
|
-
}
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"kind": "field",
|
404
|
-
"name": "softDisabled",
|
405
|
-
"type": {
|
406
|
-
"text": "boolean | undefined"
|
407
|
-
},
|
408
|
-
"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.",
|
409
|
-
"default": "undefined",
|
410
|
-
"attribute": "soft-disabled",
|
411
|
-
"reflects": true,
|
412
|
-
"inheritedFrom": {
|
413
|
-
"name": "Buttonsimple",
|
414
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
415
|
-
}
|
416
|
-
},
|
417
|
-
{
|
418
|
-
"kind": "field",
|
419
|
-
"name": "size",
|
420
|
-
"type": {
|
421
|
-
"text": "ButtonSize"
|
422
|
-
},
|
423
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
424
|
-
"default": "32",
|
425
|
-
"attribute": "size",
|
426
|
-
"reflects": true,
|
427
|
-
"inheritedFrom": {
|
428
|
-
"name": "Buttonsimple",
|
429
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
430
|
-
}
|
431
|
-
},
|
432
|
-
{
|
433
|
-
"kind": "field",
|
434
|
-
"name": "role",
|
435
|
-
"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.",
|
436
|
-
"default": "button",
|
437
|
-
"attribute": "role",
|
438
|
-
"reflects": true,
|
439
|
-
"inheritedFrom": {
|
440
|
-
"name": "Buttonsimple",
|
441
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
442
|
-
}
|
443
|
-
},
|
444
|
-
{
|
445
|
-
"kind": "field",
|
446
|
-
"name": "ariaStateKey",
|
447
|
-
"type": {
|
448
|
-
"text": "string | undefined"
|
449
|
-
},
|
450
|
-
"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`",
|
451
|
-
"default": "'aria-pressed' (when)",
|
452
|
-
"attribute": "ariaStateKey",
|
453
|
-
"reflects": true,
|
454
|
-
"inheritedFrom": {
|
455
|
-
"name": "Buttonsimple",
|
456
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
457
|
-
}
|
458
|
-
},
|
459
|
-
{
|
460
|
-
"kind": "field",
|
461
|
-
"name": "type",
|
462
|
-
"type": {
|
463
|
-
"text": "ButtonType"
|
464
|
-
},
|
465
|
-
"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.",
|
466
|
-
"default": "button",
|
467
|
-
"attribute": "type",
|
468
|
-
"reflects": true,
|
469
|
-
"inheritedFrom": {
|
470
|
-
"name": "Buttonsimple",
|
471
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
472
|
-
}
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"kind": "method",
|
476
|
-
"name": "executeAction",
|
477
|
-
"privacy": "protected",
|
478
|
-
"inheritedFrom": {
|
479
|
-
"name": "Buttonsimple",
|
480
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
174
|
+
"name": "Buttonsimple",
|
175
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
481
176
|
}
|
482
177
|
},
|
483
178
|
{
|
@@ -799,50 +494,96 @@
|
|
799
494
|
},
|
800
495
|
{
|
801
496
|
"kind": "javascript-module",
|
802
|
-
"path": "components/
|
497
|
+
"path": "components/appheader/appheader.component.js",
|
803
498
|
"declarations": [
|
804
499
|
{
|
805
500
|
"kind": "class",
|
806
|
-
"description": "The `mdc-
|
807
|
-
"name": "
|
808
|
-
"
|
501
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
502
|
+
"name": "Appheader",
|
503
|
+
"cssParts": [
|
809
504
|
{
|
810
|
-
"description": "
|
811
|
-
"name": "
|
505
|
+
"description": "The main container for styling the header.",
|
506
|
+
"name": "container"
|
812
507
|
},
|
813
508
|
{
|
814
|
-
"description": "
|
815
|
-
"name": "
|
509
|
+
"description": "The leading section of the header.",
|
510
|
+
"name": "leading-section"
|
816
511
|
},
|
817
512
|
{
|
818
|
-
"description": "
|
819
|
-
"name": "
|
820
|
-
}
|
821
|
-
],
|
822
|
-
"members": [
|
513
|
+
"description": "The center section of the header.",
|
514
|
+
"name": "center-section"
|
515
|
+
},
|
823
516
|
{
|
824
|
-
"
|
825
|
-
"name": "
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
"description": "
|
831
|
-
"
|
517
|
+
"description": "The trailing section of the header.",
|
518
|
+
"name": "trailing-section"
|
519
|
+
}
|
520
|
+
],
|
521
|
+
"slots": [
|
522
|
+
{
|
523
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
524
|
+
"name": "leading"
|
832
525
|
},
|
833
526
|
{
|
834
|
-
"
|
835
|
-
"name": "
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
527
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
528
|
+
"name": "center"
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
532
|
+
"name": "trailing"
|
533
|
+
}
|
534
|
+
],
|
535
|
+
"members": [],
|
536
|
+
"superclass": {
|
537
|
+
"name": "Component",
|
538
|
+
"module": "/src/models"
|
539
|
+
},
|
540
|
+
"tagName": "mdc-appheader",
|
541
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
542
|
+
"customElement": true
|
543
|
+
}
|
544
|
+
],
|
545
|
+
"exports": [
|
546
|
+
{
|
547
|
+
"kind": "js",
|
548
|
+
"name": "default",
|
549
|
+
"declaration": {
|
550
|
+
"name": "Appheader",
|
551
|
+
"module": "components/appheader/appheader.component.js"
|
552
|
+
}
|
553
|
+
}
|
554
|
+
]
|
555
|
+
},
|
556
|
+
{
|
557
|
+
"kind": "javascript-module",
|
558
|
+
"path": "components/avatar/avatar.component.js",
|
559
|
+
"declarations": [
|
560
|
+
{
|
561
|
+
"kind": "class",
|
562
|
+
"description": "The `mdc-avatar` component is used to represent a person or a space.\nAn avatar can be an icon, initials, counter and photo.\n\nTo set the photo of an avatar,\nyou need to set \"src\" attribute.\n\nWhile the avatar image is loading, as a placeholder,\nwe will show the initials text.\nIf the initials are not specified then,\nwe will show `user-regular` icon as a placeholder.\n\nBy default, if there are no attributes specified,\nthen the default avatar will be an icon with `user-regular` name.\n\nThe avatar component is non clickable and non interactive/focusable component.\nIf the avatar is typing, then the loading indicator will be displayed.\nIf the counter type avatar is set to a negative number, then we will display 0.\nThe presence indicator will be hidden when the counter property is set.",
|
563
|
+
"name": "Avatar",
|
564
|
+
"cssProperties": [
|
565
|
+
{
|
566
|
+
"description": "Allows customization of the default background color.",
|
567
|
+
"name": "--mdc-avatar-default-background-color"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"description": "Allows customization of the default foreground color.",
|
571
|
+
"name": "--mdc-avatar-default-foreground-color"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"description": "Allows customization of the loading indicator background color.",
|
575
|
+
"name": "--mdc-avatar-loading-indicator-background-color"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"description": "Allows customization of the loading indicator foreground color.",
|
579
|
+
"name": "--mdc-avatar-loading-indicator-foreground-color"
|
845
580
|
},
|
581
|
+
{
|
582
|
+
"description": "Allows customization of the loading overlay background color.",
|
583
|
+
"name": "--mdc-avatar-loading-overlay-background-color"
|
584
|
+
}
|
585
|
+
],
|
586
|
+
"members": [
|
846
587
|
{
|
847
588
|
"kind": "field",
|
848
589
|
"name": "src",
|
@@ -886,15 +627,15 @@
|
|
886
627
|
"kind": "field",
|
887
628
|
"name": "size",
|
888
629
|
"type": {
|
889
|
-
"text": "
|
630
|
+
"text": "AvatarSize"
|
890
631
|
},
|
891
632
|
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
892
633
|
"default": "32",
|
893
634
|
"attribute": "size",
|
894
635
|
"reflects": true,
|
895
636
|
"inheritedFrom": {
|
896
|
-
"name": "
|
897
|
-
"module": "
|
637
|
+
"name": "AvatarComponentMixin",
|
638
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
898
639
|
}
|
899
640
|
},
|
900
641
|
{
|
@@ -936,117 +677,376 @@
|
|
936
677
|
"name": "IconNameMixin",
|
937
678
|
"module": "utils/mixins/IconNameMixin.js"
|
938
679
|
}
|
680
|
+
}
|
681
|
+
],
|
682
|
+
"mixins": [
|
683
|
+
{
|
684
|
+
"name": "AvatarComponentMixin",
|
685
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
939
686
|
},
|
940
687
|
{
|
941
|
-
"
|
942
|
-
"
|
688
|
+
"name": "IconNameMixin",
|
689
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
690
|
+
}
|
691
|
+
],
|
692
|
+
"superclass": {
|
693
|
+
"name": "Component",
|
694
|
+
"module": "/src/models"
|
695
|
+
},
|
696
|
+
"tagName": "mdc-avatar",
|
697
|
+
"jsDoc": "/**\n * The `mdc-avatar` component is used to represent a person or a space.\n * An avatar can be an icon, initials, counter and photo.\n *\n * To set the photo of an avatar,\n * you need to set \"src\" attribute.\n *\n * While the avatar image is loading, as a placeholder,\n * we will show the initials text.\n * If the initials are not specified then,\n * we will show `user-regular` icon as a placeholder.\n *\n * By default, if there are no attributes specified,\n * then the default avatar will be an icon with `user-regular` name.\n *\n * The avatar component is non clickable and non interactive/focusable component.\n * If the avatar is typing, then the loading indicator will be displayed.\n * If the counter type avatar is set to a negative number, then we will display 0.\n * The presence indicator will be hidden when the counter property is set.\n *\n * @dependency mdc-icon\n * @dependency mdc-presence\n * @dependency mdc-text\n *\n * @tagname mdc-avatar\n *\n * @cssproperty --mdc-avatar-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-avatar-default-foreground-color - Allows customization of the default foreground color.\n * @cssproperty --mdc-avatar-loading-indicator-background-color -\n * Allows customization of the loading indicator background color.\n * @cssproperty --mdc-avatar-loading-indicator-foreground-color -\n * Allows customization of the loading indicator foreground color.\n * @cssproperty --mdc-avatar-loading-overlay-background-color -\n * Allows customization of the loading overlay background color.\n */",
|
698
|
+
"customElement": true,
|
699
|
+
"attributes": [
|
700
|
+
{
|
701
|
+
"name": "src",
|
943
702
|
"type": {
|
944
|
-
"text": "
|
703
|
+
"text": "string | undefined"
|
945
704
|
},
|
946
|
-
"
|
947
|
-
"
|
948
|
-
"attribute": "tabIndex",
|
949
|
-
"reflects": true,
|
705
|
+
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
706
|
+
"fieldName": "src",
|
950
707
|
"inheritedFrom": {
|
951
|
-
"name": "
|
952
|
-
"module": "utils/mixins/
|
708
|
+
"name": "AvatarComponentMixin",
|
709
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
953
710
|
}
|
954
711
|
},
|
955
712
|
{
|
956
|
-
"
|
957
|
-
"name": "disabled",
|
713
|
+
"name": "initials",
|
958
714
|
"type": {
|
959
|
-
"text": "
|
715
|
+
"text": "string | undefined"
|
960
716
|
},
|
961
|
-
"description": "
|
962
|
-
"
|
963
|
-
"attribute": "disabled",
|
964
|
-
"reflects": true,
|
717
|
+
"description": "The initials to be displayed for the avatar.",
|
718
|
+
"fieldName": "initials",
|
965
719
|
"inheritedFrom": {
|
966
|
-
"name": "
|
967
|
-
"module": "utils/mixins/
|
720
|
+
"name": "AvatarComponentMixin",
|
721
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
968
722
|
}
|
969
723
|
},
|
970
724
|
{
|
971
|
-
"
|
972
|
-
"name": "active",
|
725
|
+
"name": "presence",
|
973
726
|
"type": {
|
974
|
-
"text": "
|
727
|
+
"text": "PresenceType | undefined"
|
975
728
|
},
|
976
|
-
"description": "The
|
977
|
-
"
|
978
|
-
"attribute": "active",
|
979
|
-
"reflects": true,
|
729
|
+
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
730
|
+
"fieldName": "presence",
|
980
731
|
"inheritedFrom": {
|
981
|
-
"name": "
|
982
|
-
"module": "
|
732
|
+
"name": "AvatarComponentMixin",
|
733
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
983
734
|
}
|
984
735
|
},
|
985
736
|
{
|
986
|
-
"
|
987
|
-
"name": "softDisabled",
|
737
|
+
"name": "size",
|
988
738
|
"type": {
|
989
|
-
"text": "
|
739
|
+
"text": "AvatarSize"
|
990
740
|
},
|
991
|
-
"description": "
|
992
|
-
"default": "
|
993
|
-
"
|
994
|
-
"reflects": true,
|
741
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
742
|
+
"default": "32",
|
743
|
+
"fieldName": "size",
|
995
744
|
"inheritedFrom": {
|
996
|
-
"name": "
|
997
|
-
"module": "
|
745
|
+
"name": "AvatarComponentMixin",
|
746
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
998
747
|
}
|
999
748
|
},
|
1000
749
|
{
|
1001
|
-
"
|
1002
|
-
"
|
1003
|
-
|
1004
|
-
|
1005
|
-
"
|
1006
|
-
"
|
750
|
+
"name": "counter",
|
751
|
+
"type": {
|
752
|
+
"text": "number | undefined"
|
753
|
+
},
|
754
|
+
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
755
|
+
"fieldName": "counter",
|
1007
756
|
"inheritedFrom": {
|
1008
|
-
"name": "
|
1009
|
-
"module": "
|
757
|
+
"name": "AvatarComponentMixin",
|
758
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1010
759
|
}
|
1011
760
|
},
|
1012
761
|
{
|
1013
|
-
"
|
1014
|
-
"name": "ariaStateKey",
|
762
|
+
"name": "is-typing",
|
1015
763
|
"type": {
|
1016
|
-
"text": "
|
764
|
+
"text": "boolean"
|
1017
765
|
},
|
1018
|
-
"
|
1019
|
-
"
|
1020
|
-
"
|
1021
|
-
"reflects": true,
|
766
|
+
"default": "false",
|
767
|
+
"description": "Represents the typing indicator when the user is typing.",
|
768
|
+
"fieldName": "isTyping",
|
1022
769
|
"inheritedFrom": {
|
1023
|
-
"name": "
|
1024
|
-
"module": "
|
770
|
+
"name": "AvatarComponentMixin",
|
771
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
1025
772
|
}
|
1026
773
|
},
|
1027
774
|
{
|
1028
|
-
"
|
1029
|
-
"name": "type",
|
775
|
+
"name": "icon-name",
|
1030
776
|
"type": {
|
1031
|
-
"text": "
|
777
|
+
"text": "IconNames | undefined"
|
1032
778
|
},
|
1033
|
-
"description": "
|
1034
|
-
"
|
1035
|
-
"attribute": "type",
|
1036
|
-
"reflects": true,
|
779
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
780
|
+
"fieldName": "iconName",
|
1037
781
|
"inheritedFrom": {
|
1038
|
-
"name": "
|
1039
|
-
"module": "
|
782
|
+
"name": "IconNameMixin",
|
783
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
1040
784
|
}
|
1041
|
-
}
|
785
|
+
}
|
786
|
+
]
|
787
|
+
}
|
788
|
+
],
|
789
|
+
"exports": [
|
790
|
+
{
|
791
|
+
"kind": "js",
|
792
|
+
"name": "default",
|
793
|
+
"declaration": {
|
794
|
+
"name": "Avatar",
|
795
|
+
"module": "components/avatar/avatar.component.js"
|
796
|
+
}
|
797
|
+
}
|
798
|
+
]
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"kind": "javascript-module",
|
802
|
+
"path": "components/avatarbutton/avatarbutton.component.js",
|
803
|
+
"declarations": [
|
804
|
+
{
|
805
|
+
"kind": "class",
|
806
|
+
"description": "The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n\nThis component is made by extending `buttonsimple` class.\nThe button component acts as a wrapper for the avatar component.",
|
807
|
+
"name": "AvatarButton",
|
808
|
+
"cssProperties": [
|
1042
809
|
{
|
1043
|
-
"
|
1044
|
-
"name": "
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
810
|
+
"description": "Background color of the overlay in rest state",
|
811
|
+
"name": "--mdc-avatarbutton-overlay-background-color-rest"
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"description": "Background color of the overlay in hover state",
|
815
|
+
"name": "--mdc-avatarbutton-overlay-background-color-hover"
|
816
|
+
},
|
817
|
+
{
|
818
|
+
"description": "Background color of the overlay in active state",
|
819
|
+
"name": "--mdc-avatarbutton-overlay-background-color-active"
|
820
|
+
}
|
821
|
+
],
|
822
|
+
"members": [
|
823
|
+
{
|
824
|
+
"kind": "field",
|
825
|
+
"name": "ariaLabel",
|
826
|
+
"type": {
|
827
|
+
"text": "string | null"
|
828
|
+
},
|
829
|
+
"default": "null",
|
830
|
+
"description": "Aria-label attribute to be set for accessibility",
|
831
|
+
"attribute": "aria-label"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"kind": "method",
|
835
|
+
"name": "setSize",
|
836
|
+
"privacy": "private",
|
837
|
+
"parameters": [
|
838
|
+
{
|
839
|
+
"name": "size",
|
840
|
+
"type": {
|
841
|
+
"text": "AvatarSize"
|
842
|
+
}
|
843
|
+
}
|
844
|
+
]
|
845
|
+
},
|
846
|
+
{
|
847
|
+
"kind": "field",
|
848
|
+
"name": "src",
|
849
|
+
"type": {
|
850
|
+
"text": "string | undefined"
|
851
|
+
},
|
852
|
+
"description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
|
853
|
+
"attribute": "src",
|
854
|
+
"inheritedFrom": {
|
855
|
+
"name": "AvatarComponentMixin",
|
856
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
857
|
+
}
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"kind": "field",
|
861
|
+
"name": "initials",
|
862
|
+
"type": {
|
863
|
+
"text": "string | undefined"
|
864
|
+
},
|
865
|
+
"description": "The initials to be displayed for the avatar.",
|
866
|
+
"attribute": "initials",
|
867
|
+
"inheritedFrom": {
|
868
|
+
"name": "AvatarComponentMixin",
|
869
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
870
|
+
}
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"kind": "field",
|
874
|
+
"name": "presence",
|
875
|
+
"type": {
|
876
|
+
"text": "PresenceType | undefined"
|
877
|
+
},
|
878
|
+
"description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
|
879
|
+
"attribute": "presence",
|
880
|
+
"inheritedFrom": {
|
881
|
+
"name": "AvatarComponentMixin",
|
882
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
883
|
+
}
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"kind": "field",
|
887
|
+
"name": "size",
|
888
|
+
"type": {
|
889
|
+
"text": "ButtonSize"
|
890
|
+
},
|
891
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
892
|
+
"default": "32",
|
893
|
+
"attribute": "size",
|
894
|
+
"reflects": true,
|
895
|
+
"inheritedFrom": {
|
896
|
+
"name": "Buttonsimple",
|
897
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
898
|
+
}
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"kind": "field",
|
902
|
+
"name": "counter",
|
903
|
+
"type": {
|
904
|
+
"text": "number | undefined"
|
905
|
+
},
|
906
|
+
"description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
|
907
|
+
"attribute": "counter",
|
908
|
+
"inheritedFrom": {
|
909
|
+
"name": "AvatarComponentMixin",
|
910
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
911
|
+
}
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"kind": "field",
|
915
|
+
"name": "isTyping",
|
916
|
+
"type": {
|
917
|
+
"text": "boolean"
|
918
|
+
},
|
919
|
+
"default": "false",
|
920
|
+
"description": "Represents the typing indicator when the user is typing.",
|
921
|
+
"attribute": "is-typing",
|
922
|
+
"inheritedFrom": {
|
923
|
+
"name": "AvatarComponentMixin",
|
924
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
925
|
+
}
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"kind": "field",
|
929
|
+
"name": "iconName",
|
930
|
+
"type": {
|
931
|
+
"text": "IconNames | undefined"
|
932
|
+
},
|
933
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
934
|
+
"attribute": "icon-name",
|
935
|
+
"inheritedFrom": {
|
936
|
+
"name": "IconNameMixin",
|
937
|
+
"module": "utils/mixins/IconNameMixin.js"
|
938
|
+
}
|
939
|
+
},
|
940
|
+
{
|
941
|
+
"kind": "field",
|
942
|
+
"name": "tabIndex",
|
943
|
+
"type": {
|
944
|
+
"text": "number"
|
945
|
+
},
|
946
|
+
"default": "0",
|
947
|
+
"description": "This property specifies the tab order of the element.",
|
948
|
+
"attribute": "tabIndex",
|
949
|
+
"reflects": true,
|
950
|
+
"inheritedFrom": {
|
951
|
+
"name": "TabIndexMixin",
|
952
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
953
|
+
}
|
954
|
+
},
|
955
|
+
{
|
956
|
+
"kind": "field",
|
957
|
+
"name": "disabled",
|
958
|
+
"type": {
|
959
|
+
"text": "boolean | undefined"
|
960
|
+
},
|
961
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
962
|
+
"default": "undefined",
|
963
|
+
"attribute": "disabled",
|
964
|
+
"reflects": true,
|
965
|
+
"inheritedFrom": {
|
966
|
+
"name": "DisabledMixin",
|
967
|
+
"module": "utils/mixins/DisabledMixin.js"
|
968
|
+
}
|
969
|
+
},
|
970
|
+
{
|
971
|
+
"kind": "field",
|
972
|
+
"name": "active",
|
973
|
+
"type": {
|
974
|
+
"text": "boolean | undefined"
|
975
|
+
},
|
976
|
+
"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.",
|
977
|
+
"default": "undefined",
|
978
|
+
"attribute": "active",
|
979
|
+
"reflects": true,
|
980
|
+
"inheritedFrom": {
|
981
|
+
"name": "Buttonsimple",
|
982
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
983
|
+
}
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"kind": "field",
|
987
|
+
"name": "softDisabled",
|
988
|
+
"type": {
|
989
|
+
"text": "boolean | undefined"
|
990
|
+
},
|
991
|
+
"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.",
|
992
|
+
"default": "undefined",
|
993
|
+
"attribute": "soft-disabled",
|
994
|
+
"reflects": true,
|
995
|
+
"inheritedFrom": {
|
996
|
+
"name": "Buttonsimple",
|
997
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
998
|
+
}
|
999
|
+
},
|
1000
|
+
{
|
1001
|
+
"kind": "field",
|
1002
|
+
"name": "role",
|
1003
|
+
"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.",
|
1004
|
+
"default": "button",
|
1005
|
+
"attribute": "role",
|
1006
|
+
"reflects": true,
|
1007
|
+
"inheritedFrom": {
|
1008
|
+
"name": "Buttonsimple",
|
1009
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
1010
|
+
}
|
1011
|
+
},
|
1012
|
+
{
|
1013
|
+
"kind": "field",
|
1014
|
+
"name": "ariaStateKey",
|
1015
|
+
"type": {
|
1016
|
+
"text": "string | undefined"
|
1017
|
+
},
|
1018
|
+
"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`",
|
1019
|
+
"default": "'aria-pressed' (when)",
|
1020
|
+
"attribute": "ariaStateKey",
|
1021
|
+
"reflects": true,
|
1022
|
+
"inheritedFrom": {
|
1023
|
+
"name": "Buttonsimple",
|
1024
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
1025
|
+
}
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
"kind": "field",
|
1029
|
+
"name": "type",
|
1030
|
+
"type": {
|
1031
|
+
"text": "ButtonType"
|
1032
|
+
},
|
1033
|
+
"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.",
|
1034
|
+
"default": "button",
|
1035
|
+
"attribute": "type",
|
1036
|
+
"reflects": true,
|
1037
|
+
"inheritedFrom": {
|
1038
|
+
"name": "Buttonsimple",
|
1039
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
1040
|
+
}
|
1041
|
+
},
|
1042
|
+
{
|
1043
|
+
"kind": "method",
|
1044
|
+
"name": "executeAction",
|
1045
|
+
"privacy": "protected",
|
1046
|
+
"inheritedFrom": {
|
1047
|
+
"name": "Buttonsimple",
|
1048
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
1049
|
+
}
|
1050
1050
|
},
|
1051
1051
|
{
|
1052
1052
|
"kind": "method",
|
@@ -2066,6 +2066,7 @@
|
|
2066
2066
|
{
|
2067
2067
|
"kind": "method",
|
2068
2068
|
"name": "setVariant",
|
2069
|
+
"privacy": "protected",
|
2069
2070
|
"parameters": [
|
2070
2071
|
{
|
2071
2072
|
"name": "variant",
|
@@ -2084,6 +2085,7 @@
|
|
2084
2085
|
{
|
2085
2086
|
"kind": "method",
|
2086
2087
|
"name": "setColor",
|
2088
|
+
"privacy": "protected",
|
2087
2089
|
"parameters": [
|
2088
2090
|
{
|
2089
2091
|
"name": "color",
|
@@ -2102,6 +2104,7 @@
|
|
2102
2104
|
{
|
2103
2105
|
"kind": "method",
|
2104
2106
|
"name": "setSize",
|
2107
|
+
"privacy": "protected",
|
2105
2108
|
"parameters": [
|
2106
2109
|
{
|
2107
2110
|
"name": "size",
|
@@ -2120,6 +2123,7 @@
|
|
2120
2123
|
{
|
2121
2124
|
"kind": "method",
|
2122
2125
|
"name": "inferButtonType",
|
2126
|
+
"privacy": "protected",
|
2123
2127
|
"description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
|
2124
2128
|
"parameters": [
|
2125
2129
|
{
|
@@ -2711,6 +2715,7 @@
|
|
2711
2715
|
{
|
2712
2716
|
"kind": "method",
|
2713
2717
|
"name": "setVariant",
|
2718
|
+
"privacy": "protected",
|
2714
2719
|
"parameters": [
|
2715
2720
|
{
|
2716
2721
|
"name": "variant",
|
@@ -2729,6 +2734,7 @@
|
|
2729
2734
|
{
|
2730
2735
|
"kind": "method",
|
2731
2736
|
"name": "setColor",
|
2737
|
+
"privacy": "protected",
|
2732
2738
|
"parameters": [
|
2733
2739
|
{
|
2734
2740
|
"name": "color",
|
@@ -2747,6 +2753,7 @@
|
|
2747
2753
|
{
|
2748
2754
|
"kind": "method",
|
2749
2755
|
"name": "setSize",
|
2756
|
+
"privacy": "protected",
|
2750
2757
|
"parameters": [
|
2751
2758
|
{
|
2752
2759
|
"name": "size",
|
@@ -2765,6 +2772,7 @@
|
|
2765
2772
|
{
|
2766
2773
|
"kind": "method",
|
2767
2774
|
"name": "inferButtonType",
|
2775
|
+
"privacy": "protected",
|
2768
2776
|
"description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
|
2769
2777
|
"parameters": [
|
2770
2778
|
{
|
@@ -3743,6 +3751,7 @@
|
|
3743
3751
|
{
|
3744
3752
|
"kind": "method",
|
3745
3753
|
"name": "renderImage",
|
3754
|
+
"privacy": "protected",
|
3746
3755
|
"description": "Renders the image on the card if image source is provided",
|
3747
3756
|
"return": {
|
3748
3757
|
"type": {
|
@@ -3757,6 +3766,7 @@
|
|
3757
3766
|
{
|
3758
3767
|
"kind": "method",
|
3759
3768
|
"name": "renderIcon",
|
3769
|
+
"privacy": "protected",
|
3760
3770
|
"description": "Renders the icon on the card if icon name is provided",
|
3761
3771
|
"return": {
|
3762
3772
|
"type": {
|
@@ -3771,6 +3781,7 @@
|
|
3771
3781
|
{
|
3772
3782
|
"kind": "method",
|
3773
3783
|
"name": "renderTitle",
|
3784
|
+
"privacy": "protected",
|
3774
3785
|
"description": "Renders the title and subtitle on the card",
|
3775
3786
|
"return": {
|
3776
3787
|
"type": {
|
@@ -4090,6 +4101,7 @@
|
|
4090
4101
|
{
|
4091
4102
|
"kind": "method",
|
4092
4103
|
"name": "renderImage",
|
4104
|
+
"privacy": "protected",
|
4093
4105
|
"description": "Renders the image on the card if image source is provided",
|
4094
4106
|
"return": {
|
4095
4107
|
"type": {
|
@@ -4104,6 +4116,7 @@
|
|
4104
4116
|
{
|
4105
4117
|
"kind": "method",
|
4106
4118
|
"name": "renderIcon",
|
4119
|
+
"privacy": "protected",
|
4107
4120
|
"description": "Renders the icon on the card if icon name is provided",
|
4108
4121
|
"return": {
|
4109
4122
|
"type": {
|
@@ -4118,6 +4131,7 @@
|
|
4118
4131
|
{
|
4119
4132
|
"kind": "method",
|
4120
4133
|
"name": "renderTitle",
|
4134
|
+
"privacy": "protected",
|
4121
4135
|
"description": "Renders the title and subtitle on the card",
|
4122
4136
|
"return": {
|
4123
4137
|
"type": {
|
@@ -4977,6 +4991,7 @@
|
|
4977
4991
|
{
|
4978
4992
|
"kind": "method",
|
4979
4993
|
"name": "renderImage",
|
4994
|
+
"privacy": "protected",
|
4980
4995
|
"description": "Renders the image on the card if image source is provided",
|
4981
4996
|
"return": {
|
4982
4997
|
"type": {
|
@@ -4991,6 +5006,7 @@
|
|
4991
5006
|
{
|
4992
5007
|
"kind": "method",
|
4993
5008
|
"name": "renderIcon",
|
5009
|
+
"privacy": "protected",
|
4994
5010
|
"description": "Renders the icon on the card if icon name is provided",
|
4995
5011
|
"return": {
|
4996
5012
|
"type": {
|
@@ -5005,6 +5021,7 @@
|
|
5005
5021
|
{
|
5006
5022
|
"kind": "method",
|
5007
5023
|
"name": "renderTitle",
|
5024
|
+
"privacy": "protected",
|
5008
5025
|
"description": "Renders the title and subtitle on the card",
|
5009
5026
|
"return": {
|
5010
5027
|
"type": {
|
@@ -5542,6 +5559,7 @@
|
|
5542
5559
|
{
|
5543
5560
|
"kind": "method",
|
5544
5561
|
"name": "renderImage",
|
5562
|
+
"privacy": "protected",
|
5545
5563
|
"description": "Renders the image on the card if image source is provided",
|
5546
5564
|
"return": {
|
5547
5565
|
"type": {
|
@@ -5556,6 +5574,7 @@
|
|
5556
5574
|
{
|
5557
5575
|
"kind": "method",
|
5558
5576
|
"name": "renderIcon",
|
5577
|
+
"privacy": "protected",
|
5559
5578
|
"description": "Renders the icon on the card if icon name is provided",
|
5560
5579
|
"return": {
|
5561
5580
|
"type": {
|
@@ -5570,6 +5589,7 @@
|
|
5570
5589
|
{
|
5571
5590
|
"kind": "method",
|
5572
5591
|
"name": "renderTitle",
|
5592
|
+
"privacy": "protected",
|
5573
5593
|
"description": "Renders the title and subtitle on the card",
|
5574
5594
|
"return": {
|
5575
5595
|
"type": {
|
@@ -7160,6 +7180,7 @@
|
|
7160
7180
|
{
|
7161
7181
|
"kind": "method",
|
7162
7182
|
"name": "deactivateFocusTrap",
|
7183
|
+
"privacy": "public",
|
7163
7184
|
"description": "Deactivate the focus trap.",
|
7164
7185
|
"inheritedFrom": {
|
7165
7186
|
"name": "FocusTrapMixin",
|
@@ -12508,12 +12529,1159 @@
|
|
12508
12529
|
"description": "slot for list item subline text.",
|
12509
12530
|
"name": "trailing-text-subline"
|
12510
12531
|
},
|
12511
|
-
{
|
12512
|
-
"description": "slot for list item controls to appear of trailing end.",
|
12513
|
-
"name": "trailing-controls"
|
12514
|
-
}
|
12515
|
-
],
|
12516
|
-
"members": [
|
12532
|
+
{
|
12533
|
+
"description": "slot for list item controls to appear of trailing end.",
|
12534
|
+
"name": "trailing-controls"
|
12535
|
+
}
|
12536
|
+
],
|
12537
|
+
"members": [
|
12538
|
+
{
|
12539
|
+
"kind": "field",
|
12540
|
+
"name": "variant",
|
12541
|
+
"type": {
|
12542
|
+
"text": "ListItemVariants"
|
12543
|
+
},
|
12544
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
12545
|
+
"default": "'full-width'",
|
12546
|
+
"attribute": "variant",
|
12547
|
+
"reflects": true
|
12548
|
+
},
|
12549
|
+
{
|
12550
|
+
"kind": "field",
|
12551
|
+
"name": "label",
|
12552
|
+
"type": {
|
12553
|
+
"text": "string | undefined"
|
12554
|
+
},
|
12555
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
12556
|
+
"attribute": "label",
|
12557
|
+
"reflects": true
|
12558
|
+
},
|
12559
|
+
{
|
12560
|
+
"kind": "field",
|
12561
|
+
"name": "secondaryLabel",
|
12562
|
+
"type": {
|
12563
|
+
"text": "string | undefined"
|
12564
|
+
},
|
12565
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
12566
|
+
"attribute": "secondary-label",
|
12567
|
+
"reflects": true
|
12568
|
+
},
|
12569
|
+
{
|
12570
|
+
"kind": "field",
|
12571
|
+
"name": "tertiaryLabel",
|
12572
|
+
"type": {
|
12573
|
+
"text": "string | undefined"
|
12574
|
+
},
|
12575
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
12576
|
+
"attribute": "tertiary-label",
|
12577
|
+
"reflects": true
|
12578
|
+
},
|
12579
|
+
{
|
12580
|
+
"kind": "field",
|
12581
|
+
"name": "sideHeaderText",
|
12582
|
+
"type": {
|
12583
|
+
"text": "string | undefined"
|
12584
|
+
},
|
12585
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
12586
|
+
"attribute": "side-header-text",
|
12587
|
+
"reflects": true
|
12588
|
+
},
|
12589
|
+
{
|
12590
|
+
"kind": "field",
|
12591
|
+
"name": "sublineText",
|
12592
|
+
"type": {
|
12593
|
+
"text": "string | undefined"
|
12594
|
+
},
|
12595
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
12596
|
+
"attribute": "subline-text",
|
12597
|
+
"reflects": true
|
12598
|
+
},
|
12599
|
+
{
|
12600
|
+
"kind": "field",
|
12601
|
+
"name": "tooltipText",
|
12602
|
+
"type": {
|
12603
|
+
"text": "string | undefined"
|
12604
|
+
},
|
12605
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
12606
|
+
"attribute": "tooltip-text",
|
12607
|
+
"reflects": true
|
12608
|
+
},
|
12609
|
+
{
|
12610
|
+
"kind": "field",
|
12611
|
+
"name": "tooltipPlacement",
|
12612
|
+
"type": {
|
12613
|
+
"text": "PopoverPlacement"
|
12614
|
+
},
|
12615
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
12616
|
+
"default": "'top'",
|
12617
|
+
"attribute": "tooltip-placement",
|
12618
|
+
"reflects": true
|
12619
|
+
},
|
12620
|
+
{
|
12621
|
+
"kind": "method",
|
12622
|
+
"name": "handleClick",
|
12623
|
+
"privacy": "private",
|
12624
|
+
"return": {
|
12625
|
+
"type": {
|
12626
|
+
"text": "void"
|
12627
|
+
}
|
12628
|
+
}
|
12629
|
+
},
|
12630
|
+
{
|
12631
|
+
"kind": "method",
|
12632
|
+
"name": "displayTooltipForLongText",
|
12633
|
+
"privacy": "private",
|
12634
|
+
"return": {
|
12635
|
+
"type": {
|
12636
|
+
"text": "void"
|
12637
|
+
}
|
12638
|
+
},
|
12639
|
+
"description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element."
|
12640
|
+
},
|
12641
|
+
{
|
12642
|
+
"kind": "method",
|
12643
|
+
"name": "hideTooltipOnLeave",
|
12644
|
+
"privacy": "private",
|
12645
|
+
"return": {
|
12646
|
+
"type": {
|
12647
|
+
"text": "void"
|
12648
|
+
}
|
12649
|
+
},
|
12650
|
+
"description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events."
|
12651
|
+
},
|
12652
|
+
{
|
12653
|
+
"kind": "method",
|
12654
|
+
"name": "getText",
|
12655
|
+
"privacy": "protected",
|
12656
|
+
"return": {
|
12657
|
+
"type": {
|
12658
|
+
"text": ""
|
12659
|
+
}
|
12660
|
+
},
|
12661
|
+
"parameters": [
|
12662
|
+
{
|
12663
|
+
"name": "slotName",
|
12664
|
+
"type": {
|
12665
|
+
"text": "string"
|
12666
|
+
},
|
12667
|
+
"description": "The name of the slot to be used."
|
12668
|
+
},
|
12669
|
+
{
|
12670
|
+
"name": "type",
|
12671
|
+
"type": {
|
12672
|
+
"text": "TextType"
|
12673
|
+
},
|
12674
|
+
"description": "The type of the text element."
|
12675
|
+
},
|
12676
|
+
{
|
12677
|
+
"name": "content",
|
12678
|
+
"optional": true,
|
12679
|
+
"type": {
|
12680
|
+
"text": "string"
|
12681
|
+
},
|
12682
|
+
"description": "The text content to be displayed within the slot."
|
12683
|
+
}
|
12684
|
+
],
|
12685
|
+
"description": "Generates a template for a text slot with the specified content."
|
12686
|
+
},
|
12687
|
+
{
|
12688
|
+
"kind": "method",
|
12689
|
+
"name": "disableSlottedChildren",
|
12690
|
+
"privacy": "private",
|
12691
|
+
"return": {
|
12692
|
+
"type": {
|
12693
|
+
"text": "void"
|
12694
|
+
}
|
12695
|
+
},
|
12696
|
+
"parameters": [
|
12697
|
+
{
|
12698
|
+
"name": "disabled",
|
12699
|
+
"type": {
|
12700
|
+
"text": "boolean"
|
12701
|
+
},
|
12702
|
+
"description": "Whether to disable or enable the controls."
|
12703
|
+
}
|
12704
|
+
],
|
12705
|
+
"description": "Disable or enable all slotted elements in the leading and trailing slots.\nThis is useful when the list item is disabled, to prevent the user from interacting with the controls."
|
12706
|
+
},
|
12707
|
+
{
|
12708
|
+
"kind": "field",
|
12709
|
+
"name": "disabled",
|
12710
|
+
"type": {
|
12711
|
+
"text": "boolean | undefined"
|
12712
|
+
},
|
12713
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12714
|
+
"default": "undefined",
|
12715
|
+
"attribute": "disabled",
|
12716
|
+
"reflects": true,
|
12717
|
+
"inheritedFrom": {
|
12718
|
+
"name": "DisabledMixin",
|
12719
|
+
"module": "utils/mixins/DisabledMixin.js"
|
12720
|
+
}
|
12721
|
+
},
|
12722
|
+
{
|
12723
|
+
"kind": "field",
|
12724
|
+
"name": "tabIndex",
|
12725
|
+
"type": {
|
12726
|
+
"text": "number"
|
12727
|
+
},
|
12728
|
+
"default": "0",
|
12729
|
+
"description": "This property specifies the tab order of the element.",
|
12730
|
+
"attribute": "tabIndex",
|
12731
|
+
"reflects": true,
|
12732
|
+
"inheritedFrom": {
|
12733
|
+
"name": "TabIndexMixin",
|
12734
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
12735
|
+
}
|
12736
|
+
}
|
12737
|
+
],
|
12738
|
+
"events": [
|
12739
|
+
{
|
12740
|
+
"description": "(React: onClick) This event is dispatched when the listitem is clicked.",
|
12741
|
+
"name": "click",
|
12742
|
+
"reactName": "onClick"
|
12743
|
+
},
|
12744
|
+
{
|
12745
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.",
|
12746
|
+
"name": "keydown",
|
12747
|
+
"reactName": "onKeyDown"
|
12748
|
+
},
|
12749
|
+
{
|
12750
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the listitem.",
|
12751
|
+
"name": "keyup",
|
12752
|
+
"reactName": "onKeyUp"
|
12753
|
+
},
|
12754
|
+
{
|
12755
|
+
"description": "(React: onFocus) This event is dispatched when the listitem receives focus.",
|
12756
|
+
"name": "focus",
|
12757
|
+
"reactName": "onFocus"
|
12758
|
+
}
|
12759
|
+
],
|
12760
|
+
"attributes": [
|
12761
|
+
{
|
12762
|
+
"name": "variant",
|
12763
|
+
"type": {
|
12764
|
+
"text": "ListItemVariants"
|
12765
|
+
},
|
12766
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
12767
|
+
"default": "'full-width'",
|
12768
|
+
"fieldName": "variant"
|
12769
|
+
},
|
12770
|
+
{
|
12771
|
+
"name": "label",
|
12772
|
+
"type": {
|
12773
|
+
"text": "string | undefined"
|
12774
|
+
},
|
12775
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
12776
|
+
"fieldName": "label"
|
12777
|
+
},
|
12778
|
+
{
|
12779
|
+
"name": "secondary-label",
|
12780
|
+
"type": {
|
12781
|
+
"text": "string | undefined"
|
12782
|
+
},
|
12783
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
12784
|
+
"fieldName": "secondaryLabel"
|
12785
|
+
},
|
12786
|
+
{
|
12787
|
+
"name": "tertiary-label",
|
12788
|
+
"type": {
|
12789
|
+
"text": "string | undefined"
|
12790
|
+
},
|
12791
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
12792
|
+
"fieldName": "tertiaryLabel"
|
12793
|
+
},
|
12794
|
+
{
|
12795
|
+
"name": "side-header-text",
|
12796
|
+
"type": {
|
12797
|
+
"text": "string | undefined"
|
12798
|
+
},
|
12799
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
12800
|
+
"fieldName": "sideHeaderText"
|
12801
|
+
},
|
12802
|
+
{
|
12803
|
+
"name": "subline-text",
|
12804
|
+
"type": {
|
12805
|
+
"text": "string | undefined"
|
12806
|
+
},
|
12807
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
12808
|
+
"fieldName": "sublineText"
|
12809
|
+
},
|
12810
|
+
{
|
12811
|
+
"name": "tooltip-text",
|
12812
|
+
"type": {
|
12813
|
+
"text": "string | undefined"
|
12814
|
+
},
|
12815
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
12816
|
+
"fieldName": "tooltipText"
|
12817
|
+
},
|
12818
|
+
{
|
12819
|
+
"name": "tooltip-placement",
|
12820
|
+
"type": {
|
12821
|
+
"text": "PopoverPlacement"
|
12822
|
+
},
|
12823
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
12824
|
+
"default": "'top'",
|
12825
|
+
"fieldName": "tooltipPlacement"
|
12826
|
+
},
|
12827
|
+
{
|
12828
|
+
"name": "disabled",
|
12829
|
+
"type": {
|
12830
|
+
"text": "boolean | undefined"
|
12831
|
+
},
|
12832
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12833
|
+
"default": "undefined",
|
12834
|
+
"fieldName": "disabled",
|
12835
|
+
"inheritedFrom": {
|
12836
|
+
"name": "DisabledMixin",
|
12837
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
12838
|
+
}
|
12839
|
+
},
|
12840
|
+
{
|
12841
|
+
"name": "tabIndex",
|
12842
|
+
"type": {
|
12843
|
+
"text": "number"
|
12844
|
+
},
|
12845
|
+
"default": "0",
|
12846
|
+
"description": "This property specifies the tab order of the element.",
|
12847
|
+
"fieldName": "tabIndex",
|
12848
|
+
"inheritedFrom": {
|
12849
|
+
"name": "TabIndexMixin",
|
12850
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
12851
|
+
}
|
12852
|
+
}
|
12853
|
+
],
|
12854
|
+
"mixins": [
|
12855
|
+
{
|
12856
|
+
"name": "DisabledMixin",
|
12857
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
12858
|
+
},
|
12859
|
+
{
|
12860
|
+
"name": "TabIndexMixin",
|
12861
|
+
"module": "/src/utils/mixins/TabIndexMixin"
|
12862
|
+
}
|
12863
|
+
],
|
12864
|
+
"superclass": {
|
12865
|
+
"name": "Component",
|
12866
|
+
"module": "/src/models"
|
12867
|
+
},
|
12868
|
+
"tagName": "mdc-listitem",
|
12869
|
+
"jsDoc": "/**\n * mdc-listitem component is used to display a label with different types of controls.\n * There can be three types of controls, a radio button, a checkbox on the\n * leading side and a toggle on the trailing side.\n * The list item can contain an avatar on the leading side and a badge on the trailing side.\n * Additionally, the list item can contain a side header and a subline text.\n *\n * The leading and trailing slots can be used to display controls and text. <br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\n * Please use mdc-list as a parent element even when there is only listitem for a11y purpose.\n *\n * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the listitem.\n * The placement of the tooltip can be adjusted using the tooltip-placement attribute.\n * This will be helpful when the listitem text is truncated or\n * when you want to display additional information about the listitem.\n *\n * @tagname mdc-listitem\n *\n * @dependency mdc-text\n *\n * @slot leading-controls - slot for list item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for list item primary label.\n * @slot leading-text-secondary-label - slot for list item secondary label.\n * @slot leading-text-tertiary-label - slot for list item tertiary label.\n * @slot trailing-text-side-header - slot for list item side header text.\n * @slot trailing-text-subline - slot for list item subline text.\n * @slot trailing-controls - slot for list item controls to appear of trailing end.\n *\n * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-listitem-background-color-active - Allows customization of the background color when pressed.\n * @cssproperty --mdc-listitem-primary-label-color\n * - Allows customization of the primary label, side header and subline text slot color.\n * @cssproperty --mdc-listitem-secondary-label-color\n * - Allows customization of the secondary and tertiary label text slot color.\n * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.\n * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.\n * @cssproperty --mdc-listitem-padding-left-and-right - Allows customization of padding left and right.\n *\n * @event click - (React: onClick) This event is dispatched when the listitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the listitem.\n * @event focus - (React: onFocus) This event is dispatched when the listitem receives focus.\n */",
|
12870
|
+
"customElement": true
|
12871
|
+
}
|
12872
|
+
],
|
12873
|
+
"exports": [
|
12874
|
+
{
|
12875
|
+
"kind": "js",
|
12876
|
+
"name": "default",
|
12877
|
+
"declaration": {
|
12878
|
+
"name": "ListItem",
|
12879
|
+
"module": "components/listitem/listitem.component.js"
|
12880
|
+
}
|
12881
|
+
}
|
12882
|
+
]
|
12883
|
+
},
|
12884
|
+
{
|
12885
|
+
"kind": "javascript-module",
|
12886
|
+
"path": "components/marker/marker.component.js",
|
12887
|
+
"declarations": [
|
12888
|
+
{
|
12889
|
+
"kind": "class",
|
12890
|
+
"description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
12891
|
+
"name": "Marker",
|
12892
|
+
"cssProperties": [
|
12893
|
+
{
|
12894
|
+
"description": "Allows customization of the default background color in solid variant.",
|
12895
|
+
"name": "--mdc-marker-solid-background-color"
|
12896
|
+
},
|
12897
|
+
{
|
12898
|
+
"description": "Allows customization of the default stripes in striped variant.",
|
12899
|
+
"name": "--mdc-marker-striped-color"
|
12900
|
+
},
|
12901
|
+
{
|
12902
|
+
"description": "Allows customization of the default background color in striped variant.",
|
12903
|
+
"name": "--mdc-marker-striped-background-color"
|
12904
|
+
},
|
12905
|
+
{
|
12906
|
+
"description": "Allows customization of the default width.",
|
12907
|
+
"name": "--mdc-marker-width"
|
12908
|
+
}
|
12909
|
+
],
|
12910
|
+
"members": [
|
12911
|
+
{
|
12912
|
+
"kind": "field",
|
12913
|
+
"name": "variant",
|
12914
|
+
"type": {
|
12915
|
+
"text": "MarkerVariants"
|
12916
|
+
},
|
12917
|
+
"privacy": "public",
|
12918
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
12919
|
+
"default": "solid",
|
12920
|
+
"attribute": "variant",
|
12921
|
+
"reflects": true
|
12922
|
+
}
|
12923
|
+
],
|
12924
|
+
"attributes": [
|
12925
|
+
{
|
12926
|
+
"name": "variant",
|
12927
|
+
"type": {
|
12928
|
+
"text": "MarkerVariants"
|
12929
|
+
},
|
12930
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
12931
|
+
"default": "solid",
|
12932
|
+
"fieldName": "variant"
|
12933
|
+
}
|
12934
|
+
],
|
12935
|
+
"superclass": {
|
12936
|
+
"name": "Component",
|
12937
|
+
"module": "/src/models"
|
12938
|
+
},
|
12939
|
+
"tagName": "mdc-marker",
|
12940
|
+
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
12941
|
+
"customElement": true
|
12942
|
+
}
|
12943
|
+
],
|
12944
|
+
"exports": [
|
12945
|
+
{
|
12946
|
+
"kind": "js",
|
12947
|
+
"name": "default",
|
12948
|
+
"declaration": {
|
12949
|
+
"name": "Marker",
|
12950
|
+
"module": "components/marker/marker.component.js"
|
12951
|
+
}
|
12952
|
+
}
|
12953
|
+
]
|
12954
|
+
},
|
12955
|
+
{
|
12956
|
+
"kind": "javascript-module",
|
12957
|
+
"path": "components/menuitem/menuitem.component.js",
|
12958
|
+
"declarations": [
|
12959
|
+
{
|
12960
|
+
"kind": "class",
|
12961
|
+
"description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use mdc-menu as a parent element even when there is only menuitem for a11y purpose.",
|
12962
|
+
"name": "MenuItem",
|
12963
|
+
"members": [
|
12964
|
+
{
|
12965
|
+
"kind": "field",
|
12966
|
+
"name": "disabled",
|
12967
|
+
"type": {
|
12968
|
+
"text": "boolean | undefined"
|
12969
|
+
},
|
12970
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12971
|
+
"default": "undefined",
|
12972
|
+
"attribute": "disabled",
|
12973
|
+
"reflects": true,
|
12974
|
+
"inheritedFrom": {
|
12975
|
+
"name": "ListItem",
|
12976
|
+
"module": "components/listitem/listitem.component.js"
|
12977
|
+
}
|
12978
|
+
},
|
12979
|
+
{
|
12980
|
+
"kind": "field",
|
12981
|
+
"name": "tabIndex",
|
12982
|
+
"type": {
|
12983
|
+
"text": "number"
|
12984
|
+
},
|
12985
|
+
"default": "0",
|
12986
|
+
"description": "This property specifies the tab order of the element.",
|
12987
|
+
"attribute": "tabIndex",
|
12988
|
+
"reflects": true,
|
12989
|
+
"inheritedFrom": {
|
12990
|
+
"name": "ListItem",
|
12991
|
+
"module": "components/listitem/listitem.component.js"
|
12992
|
+
}
|
12993
|
+
},
|
12994
|
+
{
|
12995
|
+
"kind": "field",
|
12996
|
+
"name": "variant",
|
12997
|
+
"type": {
|
12998
|
+
"text": "ListItemVariants"
|
12999
|
+
},
|
13000
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
13001
|
+
"default": "'full-width'",
|
13002
|
+
"attribute": "variant",
|
13003
|
+
"reflects": true,
|
13004
|
+
"inheritedFrom": {
|
13005
|
+
"name": "ListItem",
|
13006
|
+
"module": "components/listitem/listitem.component.js"
|
13007
|
+
}
|
13008
|
+
},
|
13009
|
+
{
|
13010
|
+
"kind": "field",
|
13011
|
+
"name": "label",
|
13012
|
+
"type": {
|
13013
|
+
"text": "string | undefined"
|
13014
|
+
},
|
13015
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
13016
|
+
"attribute": "label",
|
13017
|
+
"reflects": true,
|
13018
|
+
"inheritedFrom": {
|
13019
|
+
"name": "ListItem",
|
13020
|
+
"module": "components/listitem/listitem.component.js"
|
13021
|
+
}
|
13022
|
+
},
|
13023
|
+
{
|
13024
|
+
"kind": "field",
|
13025
|
+
"name": "secondaryLabel",
|
13026
|
+
"type": {
|
13027
|
+
"text": "string | undefined"
|
13028
|
+
},
|
13029
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
13030
|
+
"attribute": "secondary-label",
|
13031
|
+
"reflects": true,
|
13032
|
+
"inheritedFrom": {
|
13033
|
+
"name": "ListItem",
|
13034
|
+
"module": "components/listitem/listitem.component.js"
|
13035
|
+
}
|
13036
|
+
},
|
13037
|
+
{
|
13038
|
+
"kind": "field",
|
13039
|
+
"name": "tertiaryLabel",
|
13040
|
+
"type": {
|
13041
|
+
"text": "string | undefined"
|
13042
|
+
},
|
13043
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
13044
|
+
"attribute": "tertiary-label",
|
13045
|
+
"reflects": true,
|
13046
|
+
"inheritedFrom": {
|
13047
|
+
"name": "ListItem",
|
13048
|
+
"module": "components/listitem/listitem.component.js"
|
13049
|
+
}
|
13050
|
+
},
|
13051
|
+
{
|
13052
|
+
"kind": "field",
|
13053
|
+
"name": "sideHeaderText",
|
13054
|
+
"type": {
|
13055
|
+
"text": "string | undefined"
|
13056
|
+
},
|
13057
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
13058
|
+
"attribute": "side-header-text",
|
13059
|
+
"reflects": true,
|
13060
|
+
"inheritedFrom": {
|
13061
|
+
"name": "ListItem",
|
13062
|
+
"module": "components/listitem/listitem.component.js"
|
13063
|
+
}
|
13064
|
+
},
|
13065
|
+
{
|
13066
|
+
"kind": "field",
|
13067
|
+
"name": "sublineText",
|
13068
|
+
"type": {
|
13069
|
+
"text": "string | undefined"
|
13070
|
+
},
|
13071
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
13072
|
+
"attribute": "subline-text",
|
13073
|
+
"reflects": true,
|
13074
|
+
"inheritedFrom": {
|
13075
|
+
"name": "ListItem",
|
13076
|
+
"module": "components/listitem/listitem.component.js"
|
13077
|
+
}
|
13078
|
+
},
|
13079
|
+
{
|
13080
|
+
"kind": "field",
|
13081
|
+
"name": "tooltipText",
|
13082
|
+
"type": {
|
13083
|
+
"text": "string | undefined"
|
13084
|
+
},
|
13085
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
13086
|
+
"attribute": "tooltip-text",
|
13087
|
+
"reflects": true,
|
13088
|
+
"inheritedFrom": {
|
13089
|
+
"name": "ListItem",
|
13090
|
+
"module": "components/listitem/listitem.component.js"
|
13091
|
+
}
|
13092
|
+
},
|
13093
|
+
{
|
13094
|
+
"kind": "field",
|
13095
|
+
"name": "tooltipPlacement",
|
13096
|
+
"type": {
|
13097
|
+
"text": "PopoverPlacement"
|
13098
|
+
},
|
13099
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
13100
|
+
"default": "'top'",
|
13101
|
+
"attribute": "tooltip-placement",
|
13102
|
+
"reflects": true,
|
13103
|
+
"inheritedFrom": {
|
13104
|
+
"name": "ListItem",
|
13105
|
+
"module": "components/listitem/listitem.component.js"
|
13106
|
+
}
|
13107
|
+
},
|
13108
|
+
{
|
13109
|
+
"kind": "method",
|
13110
|
+
"name": "handleClick",
|
13111
|
+
"privacy": "private",
|
13112
|
+
"return": {
|
13113
|
+
"type": {
|
13114
|
+
"text": "void"
|
13115
|
+
}
|
13116
|
+
},
|
13117
|
+
"inheritedFrom": {
|
13118
|
+
"name": "ListItem",
|
13119
|
+
"module": "components/listitem/listitem.component.js"
|
13120
|
+
}
|
13121
|
+
},
|
13122
|
+
{
|
13123
|
+
"kind": "method",
|
13124
|
+
"name": "displayTooltipForLongText",
|
13125
|
+
"privacy": "private",
|
13126
|
+
"return": {
|
13127
|
+
"type": {
|
13128
|
+
"text": "void"
|
13129
|
+
}
|
13130
|
+
},
|
13131
|
+
"description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
|
13132
|
+
"inheritedFrom": {
|
13133
|
+
"name": "ListItem",
|
13134
|
+
"module": "components/listitem/listitem.component.js"
|
13135
|
+
}
|
13136
|
+
},
|
13137
|
+
{
|
13138
|
+
"kind": "method",
|
13139
|
+
"name": "hideTooltipOnLeave",
|
13140
|
+
"privacy": "private",
|
13141
|
+
"return": {
|
13142
|
+
"type": {
|
13143
|
+
"text": "void"
|
13144
|
+
}
|
13145
|
+
},
|
13146
|
+
"description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
|
13147
|
+
"inheritedFrom": {
|
13148
|
+
"name": "ListItem",
|
13149
|
+
"module": "components/listitem/listitem.component.js"
|
13150
|
+
}
|
13151
|
+
},
|
13152
|
+
{
|
13153
|
+
"kind": "method",
|
13154
|
+
"name": "getText",
|
13155
|
+
"privacy": "protected",
|
13156
|
+
"return": {
|
13157
|
+
"type": {
|
13158
|
+
"text": ""
|
13159
|
+
}
|
13160
|
+
},
|
13161
|
+
"parameters": [
|
13162
|
+
{
|
13163
|
+
"name": "slotName",
|
13164
|
+
"type": {
|
13165
|
+
"text": "string"
|
13166
|
+
},
|
13167
|
+
"description": "The name of the slot to be used."
|
13168
|
+
},
|
13169
|
+
{
|
13170
|
+
"name": "type",
|
13171
|
+
"type": {
|
13172
|
+
"text": "TextType"
|
13173
|
+
},
|
13174
|
+
"description": "The type of the text element."
|
13175
|
+
},
|
13176
|
+
{
|
13177
|
+
"name": "content",
|
13178
|
+
"optional": true,
|
13179
|
+
"type": {
|
13180
|
+
"text": "string"
|
13181
|
+
},
|
13182
|
+
"description": "The text content to be displayed within the slot."
|
13183
|
+
}
|
13184
|
+
],
|
13185
|
+
"description": "Generates a template for a text slot with the specified content.",
|
13186
|
+
"inheritedFrom": {
|
13187
|
+
"name": "ListItem",
|
13188
|
+
"module": "components/listitem/listitem.component.js"
|
13189
|
+
}
|
13190
|
+
},
|
13191
|
+
{
|
13192
|
+
"kind": "method",
|
13193
|
+
"name": "disableSlottedChildren",
|
13194
|
+
"privacy": "private",
|
13195
|
+
"return": {
|
13196
|
+
"type": {
|
13197
|
+
"text": "void"
|
13198
|
+
}
|
13199
|
+
},
|
13200
|
+
"parameters": [
|
13201
|
+
{
|
13202
|
+
"name": "disabled",
|
13203
|
+
"type": {
|
13204
|
+
"text": "boolean"
|
13205
|
+
},
|
13206
|
+
"description": "Whether to disable or enable the controls."
|
13207
|
+
}
|
13208
|
+
],
|
13209
|
+
"description": "Disable or enable all slotted elements in the leading and trailing slots.\nThis is useful when the list item is disabled, to prevent the user from interacting with the controls.",
|
13210
|
+
"inheritedFrom": {
|
13211
|
+
"name": "ListItem",
|
13212
|
+
"module": "components/listitem/listitem.component.js"
|
13213
|
+
}
|
13214
|
+
}
|
13215
|
+
],
|
13216
|
+
"events": [
|
13217
|
+
{
|
13218
|
+
"description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
|
13219
|
+
"name": "click",
|
13220
|
+
"reactName": "onClick",
|
13221
|
+
"inheritedFrom": {
|
13222
|
+
"name": "ListItem",
|
13223
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13224
|
+
}
|
13225
|
+
},
|
13226
|
+
{
|
13227
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
13228
|
+
"name": "keydown",
|
13229
|
+
"reactName": "onKeyDown",
|
13230
|
+
"inheritedFrom": {
|
13231
|
+
"name": "ListItem",
|
13232
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13233
|
+
}
|
13234
|
+
},
|
13235
|
+
{
|
13236
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
|
13237
|
+
"name": "keyup",
|
13238
|
+
"reactName": "onKeyUp",
|
13239
|
+
"inheritedFrom": {
|
13240
|
+
"name": "ListItem",
|
13241
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13242
|
+
}
|
13243
|
+
},
|
13244
|
+
{
|
13245
|
+
"description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
|
13246
|
+
"name": "focus",
|
13247
|
+
"reactName": "onFocus",
|
13248
|
+
"inheritedFrom": {
|
13249
|
+
"name": "ListItem",
|
13250
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13251
|
+
}
|
13252
|
+
}
|
13253
|
+
],
|
13254
|
+
"superclass": {
|
13255
|
+
"name": "ListItem",
|
13256
|
+
"module": "/src/components/listitem/listitem.component"
|
13257
|
+
},
|
13258
|
+
"tagName": "mdc-menuitem",
|
13259
|
+
"jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use mdc-menu as a parent element even when there is only menuitem for a11y purpose.\n *\n * @dependency mdc-text\n *\n * @tagname mdc-menuitem\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n */",
|
13260
|
+
"customElement": true,
|
13261
|
+
"attributes": [
|
13262
|
+
{
|
13263
|
+
"name": "disabled",
|
13264
|
+
"type": {
|
13265
|
+
"text": "boolean | undefined"
|
13266
|
+
},
|
13267
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13268
|
+
"default": "undefined",
|
13269
|
+
"fieldName": "disabled",
|
13270
|
+
"inheritedFrom": {
|
13271
|
+
"name": "ListItem",
|
13272
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13273
|
+
}
|
13274
|
+
},
|
13275
|
+
{
|
13276
|
+
"name": "tabIndex",
|
13277
|
+
"type": {
|
13278
|
+
"text": "number"
|
13279
|
+
},
|
13280
|
+
"default": "0",
|
13281
|
+
"description": "This property specifies the tab order of the element.",
|
13282
|
+
"fieldName": "tabIndex",
|
13283
|
+
"inheritedFrom": {
|
13284
|
+
"name": "ListItem",
|
13285
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13286
|
+
}
|
13287
|
+
},
|
13288
|
+
{
|
13289
|
+
"name": "variant",
|
13290
|
+
"type": {
|
13291
|
+
"text": "ListItemVariants"
|
13292
|
+
},
|
13293
|
+
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
13294
|
+
"default": "'full-width'",
|
13295
|
+
"fieldName": "variant",
|
13296
|
+
"inheritedFrom": {
|
13297
|
+
"name": "ListItem",
|
13298
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13299
|
+
}
|
13300
|
+
},
|
13301
|
+
{
|
13302
|
+
"name": "label",
|
13303
|
+
"type": {
|
13304
|
+
"text": "string | undefined"
|
13305
|
+
},
|
13306
|
+
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
13307
|
+
"fieldName": "label",
|
13308
|
+
"inheritedFrom": {
|
13309
|
+
"name": "ListItem",
|
13310
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13311
|
+
}
|
13312
|
+
},
|
13313
|
+
{
|
13314
|
+
"name": "secondary-label",
|
13315
|
+
"type": {
|
13316
|
+
"text": "string | undefined"
|
13317
|
+
},
|
13318
|
+
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
13319
|
+
"fieldName": "secondaryLabel",
|
13320
|
+
"inheritedFrom": {
|
13321
|
+
"name": "ListItem",
|
13322
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13323
|
+
}
|
13324
|
+
},
|
13325
|
+
{
|
13326
|
+
"name": "tertiary-label",
|
13327
|
+
"type": {
|
13328
|
+
"text": "string | undefined"
|
13329
|
+
},
|
13330
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
13331
|
+
"fieldName": "tertiaryLabel",
|
13332
|
+
"inheritedFrom": {
|
13333
|
+
"name": "ListItem",
|
13334
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13335
|
+
}
|
13336
|
+
},
|
13337
|
+
{
|
13338
|
+
"name": "side-header-text",
|
13339
|
+
"type": {
|
13340
|
+
"text": "string | undefined"
|
13341
|
+
},
|
13342
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
13343
|
+
"fieldName": "sideHeaderText",
|
13344
|
+
"inheritedFrom": {
|
13345
|
+
"name": "ListItem",
|
13346
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13347
|
+
}
|
13348
|
+
},
|
13349
|
+
{
|
13350
|
+
"name": "subline-text",
|
13351
|
+
"type": {
|
13352
|
+
"text": "string | undefined"
|
13353
|
+
},
|
13354
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
13355
|
+
"fieldName": "sublineText",
|
13356
|
+
"inheritedFrom": {
|
13357
|
+
"name": "ListItem",
|
13358
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13359
|
+
}
|
13360
|
+
},
|
13361
|
+
{
|
13362
|
+
"name": "tooltip-text",
|
13363
|
+
"type": {
|
13364
|
+
"text": "string | undefined"
|
13365
|
+
},
|
13366
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
13367
|
+
"fieldName": "tooltipText",
|
13368
|
+
"inheritedFrom": {
|
13369
|
+
"name": "ListItem",
|
13370
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13371
|
+
}
|
13372
|
+
},
|
13373
|
+
{
|
13374
|
+
"name": "tooltip-placement",
|
13375
|
+
"type": {
|
13376
|
+
"text": "PopoverPlacement"
|
13377
|
+
},
|
13378
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
13379
|
+
"default": "'top'",
|
13380
|
+
"fieldName": "tooltipPlacement",
|
13381
|
+
"inheritedFrom": {
|
13382
|
+
"name": "ListItem",
|
13383
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13384
|
+
}
|
13385
|
+
}
|
13386
|
+
],
|
13387
|
+
"slots": [
|
13388
|
+
{
|
13389
|
+
"description": "slot for list item controls to appear of leading end.",
|
13390
|
+
"name": "leading-controls",
|
13391
|
+
"inheritedFrom": {
|
13392
|
+
"name": "ListItem",
|
13393
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13394
|
+
}
|
13395
|
+
},
|
13396
|
+
{
|
13397
|
+
"description": "slot for list item primary label.",
|
13398
|
+
"name": "leading-text-primary-label",
|
13399
|
+
"inheritedFrom": {
|
13400
|
+
"name": "ListItem",
|
13401
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13402
|
+
}
|
13403
|
+
},
|
13404
|
+
{
|
13405
|
+
"description": "slot for list item secondary label.",
|
13406
|
+
"name": "leading-text-secondary-label",
|
13407
|
+
"inheritedFrom": {
|
13408
|
+
"name": "ListItem",
|
13409
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13410
|
+
}
|
13411
|
+
},
|
13412
|
+
{
|
13413
|
+
"description": "slot for list item tertiary label.",
|
13414
|
+
"name": "leading-text-tertiary-label",
|
13415
|
+
"inheritedFrom": {
|
13416
|
+
"name": "ListItem",
|
13417
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13418
|
+
}
|
13419
|
+
},
|
13420
|
+
{
|
13421
|
+
"description": "slot for list item side header text.",
|
13422
|
+
"name": "trailing-text-side-header",
|
13423
|
+
"inheritedFrom": {
|
13424
|
+
"name": "ListItem",
|
13425
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13426
|
+
}
|
13427
|
+
},
|
13428
|
+
{
|
13429
|
+
"description": "slot for list item subline text.",
|
13430
|
+
"name": "trailing-text-subline",
|
13431
|
+
"inheritedFrom": {
|
13432
|
+
"name": "ListItem",
|
13433
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13434
|
+
}
|
13435
|
+
},
|
13436
|
+
{
|
13437
|
+
"description": "slot for list item controls to appear of trailing end.",
|
13438
|
+
"name": "trailing-controls",
|
13439
|
+
"inheritedFrom": {
|
13440
|
+
"name": "ListItem",
|
13441
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13442
|
+
}
|
13443
|
+
}
|
13444
|
+
],
|
13445
|
+
"cssProperties": [
|
13446
|
+
{
|
13447
|
+
"description": "Allows customization of the default background color.",
|
13448
|
+
"name": "--mdc-listitem-default-background-color",
|
13449
|
+
"inheritedFrom": {
|
13450
|
+
"name": "ListItem",
|
13451
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13452
|
+
}
|
13453
|
+
},
|
13454
|
+
{
|
13455
|
+
"description": "Allows customization of the background color on hover.",
|
13456
|
+
"name": "--mdc-listitem-background-color-hover",
|
13457
|
+
"inheritedFrom": {
|
13458
|
+
"name": "ListItem",
|
13459
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13460
|
+
}
|
13461
|
+
},
|
13462
|
+
{
|
13463
|
+
"description": "Allows customization of the background color when pressed.",
|
13464
|
+
"name": "--mdc-listitem-background-color-active",
|
13465
|
+
"inheritedFrom": {
|
13466
|
+
"name": "ListItem",
|
13467
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13468
|
+
}
|
13469
|
+
},
|
13470
|
+
{
|
13471
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
13472
|
+
"name": "--mdc-listitem-primary-label-color",
|
13473
|
+
"inheritedFrom": {
|
13474
|
+
"name": "ListItem",
|
13475
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13476
|
+
}
|
13477
|
+
},
|
13478
|
+
{
|
13479
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
13480
|
+
"name": "--mdc-listitem-secondary-label-color",
|
13481
|
+
"inheritedFrom": {
|
13482
|
+
"name": "ListItem",
|
13483
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13484
|
+
}
|
13485
|
+
},
|
13486
|
+
{
|
13487
|
+
"description": "Allows customization of the disabled color.",
|
13488
|
+
"name": "--mdc-listitem-disabled-color",
|
13489
|
+
"inheritedFrom": {
|
13490
|
+
"name": "ListItem",
|
13491
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13492
|
+
}
|
13493
|
+
},
|
13494
|
+
{
|
13495
|
+
"description": "Allows customization of column gap.",
|
13496
|
+
"name": "--mdc-listitem-column-gap",
|
13497
|
+
"inheritedFrom": {
|
13498
|
+
"name": "ListItem",
|
13499
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13500
|
+
}
|
13501
|
+
},
|
13502
|
+
{
|
13503
|
+
"description": "Allows customization of padding left and right.",
|
13504
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
13505
|
+
"inheritedFrom": {
|
13506
|
+
"name": "ListItem",
|
13507
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13508
|
+
}
|
13509
|
+
}
|
13510
|
+
]
|
13511
|
+
}
|
13512
|
+
],
|
13513
|
+
"exports": [
|
13514
|
+
{
|
13515
|
+
"kind": "js",
|
13516
|
+
"name": "default",
|
13517
|
+
"declaration": {
|
13518
|
+
"name": "MenuItem",
|
13519
|
+
"module": "components/menuitem/menuitem.component.js"
|
13520
|
+
}
|
13521
|
+
}
|
13522
|
+
]
|
13523
|
+
},
|
13524
|
+
{
|
13525
|
+
"kind": "javascript-module",
|
13526
|
+
"path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
|
13527
|
+
"declarations": [
|
13528
|
+
{
|
13529
|
+
"kind": "class",
|
13530
|
+
"description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `aria-checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b> and <b>toggle</b>.\nBy default the `indicator` is set to <b>checkbox</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe toggle and checkmark will always be positioned on the trailing side.\n\nThe checkbox will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `aria-checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.\n\nIf a menuitemcheckbox is disabled, then the `aria-disabled` attribute is set to `true`.",
|
13531
|
+
"name": "MenuItemCheckbox",
|
13532
|
+
"cssProperties": [
|
13533
|
+
{
|
13534
|
+
"description": "Allows customization of the checkmark indicator color",
|
13535
|
+
"name": "--mdc-checkmark-indicator-color"
|
13536
|
+
},
|
13537
|
+
{
|
13538
|
+
"description": "Allows customization of the default background color.",
|
13539
|
+
"name": "--mdc-listitem-default-background-color",
|
13540
|
+
"inheritedFrom": {
|
13541
|
+
"name": "ListItem",
|
13542
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13543
|
+
}
|
13544
|
+
},
|
13545
|
+
{
|
13546
|
+
"description": "Allows customization of the background color on hover.",
|
13547
|
+
"name": "--mdc-listitem-background-color-hover",
|
13548
|
+
"inheritedFrom": {
|
13549
|
+
"name": "ListItem",
|
13550
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13551
|
+
}
|
13552
|
+
},
|
13553
|
+
{
|
13554
|
+
"description": "Allows customization of the background color when pressed.",
|
13555
|
+
"name": "--mdc-listitem-background-color-active",
|
13556
|
+
"inheritedFrom": {
|
13557
|
+
"name": "ListItem",
|
13558
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13559
|
+
}
|
13560
|
+
},
|
13561
|
+
{
|
13562
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
13563
|
+
"name": "--mdc-listitem-primary-label-color",
|
13564
|
+
"inheritedFrom": {
|
13565
|
+
"name": "ListItem",
|
13566
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13567
|
+
}
|
13568
|
+
},
|
13569
|
+
{
|
13570
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
13571
|
+
"name": "--mdc-listitem-secondary-label-color",
|
13572
|
+
"inheritedFrom": {
|
13573
|
+
"name": "ListItem",
|
13574
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13575
|
+
}
|
13576
|
+
},
|
13577
|
+
{
|
13578
|
+
"description": "Allows customization of the disabled color.",
|
13579
|
+
"name": "--mdc-listitem-disabled-color",
|
13580
|
+
"inheritedFrom": {
|
13581
|
+
"name": "ListItem",
|
13582
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13583
|
+
}
|
13584
|
+
},
|
13585
|
+
{
|
13586
|
+
"description": "Allows customization of column gap.",
|
13587
|
+
"name": "--mdc-listitem-column-gap",
|
13588
|
+
"inheritedFrom": {
|
13589
|
+
"name": "ListItem",
|
13590
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13591
|
+
}
|
13592
|
+
},
|
13593
|
+
{
|
13594
|
+
"description": "Allows customization of padding left and right.",
|
13595
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
13596
|
+
"inheritedFrom": {
|
13597
|
+
"name": "ListItem",
|
13598
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13599
|
+
}
|
13600
|
+
}
|
13601
|
+
],
|
13602
|
+
"members": [
|
13603
|
+
{
|
13604
|
+
"kind": "field",
|
13605
|
+
"name": "ariaChecked",
|
13606
|
+
"type": {
|
13607
|
+
"text": "AriaCheckedStates"
|
13608
|
+
},
|
13609
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
13610
|
+
"default": "'false'",
|
13611
|
+
"attribute": "aria-checked",
|
13612
|
+
"reflects": true
|
13613
|
+
},
|
13614
|
+
{
|
13615
|
+
"kind": "field",
|
13616
|
+
"name": "indicator",
|
13617
|
+
"type": {
|
13618
|
+
"text": "Indicator"
|
13619
|
+
},
|
13620
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
13621
|
+
"default": "'checkbox'",
|
13622
|
+
"attribute": "indicator",
|
13623
|
+
"reflects": true
|
13624
|
+
},
|
13625
|
+
{
|
13626
|
+
"kind": "method",
|
13627
|
+
"name": "staticCheckbox",
|
13628
|
+
"privacy": "private",
|
13629
|
+
"return": {
|
13630
|
+
"type": {
|
13631
|
+
"text": "TemplateResult | typeof nothing"
|
13632
|
+
}
|
13633
|
+
}
|
13634
|
+
},
|
13635
|
+
{
|
13636
|
+
"kind": "method",
|
13637
|
+
"name": "staticToggle",
|
13638
|
+
"privacy": "private",
|
13639
|
+
"return": {
|
13640
|
+
"type": {
|
13641
|
+
"text": "TemplateResult | typeof nothing"
|
13642
|
+
}
|
13643
|
+
}
|
13644
|
+
},
|
13645
|
+
{
|
13646
|
+
"kind": "method",
|
13647
|
+
"name": "getCheckmarkIcon",
|
13648
|
+
"privacy": "private",
|
13649
|
+
"return": {
|
13650
|
+
"type": {
|
13651
|
+
"text": "TemplateResult | typeof nothing"
|
13652
|
+
}
|
13653
|
+
}
|
13654
|
+
},
|
13655
|
+
{
|
13656
|
+
"kind": "field",
|
13657
|
+
"name": "disabled",
|
13658
|
+
"type": {
|
13659
|
+
"text": "boolean | undefined"
|
13660
|
+
},
|
13661
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13662
|
+
"default": "undefined",
|
13663
|
+
"attribute": "disabled",
|
13664
|
+
"reflects": true,
|
13665
|
+
"inheritedFrom": {
|
13666
|
+
"name": "ListItem",
|
13667
|
+
"module": "components/listitem/listitem.component.js"
|
13668
|
+
}
|
13669
|
+
},
|
13670
|
+
{
|
13671
|
+
"kind": "field",
|
13672
|
+
"name": "tabIndex",
|
13673
|
+
"type": {
|
13674
|
+
"text": "number"
|
13675
|
+
},
|
13676
|
+
"default": "0",
|
13677
|
+
"description": "This property specifies the tab order of the element.",
|
13678
|
+
"attribute": "tabIndex",
|
13679
|
+
"reflects": true,
|
13680
|
+
"inheritedFrom": {
|
13681
|
+
"name": "ListItem",
|
13682
|
+
"module": "components/listitem/listitem.component.js"
|
13683
|
+
}
|
13684
|
+
},
|
12517
13685
|
{
|
12518
13686
|
"kind": "field",
|
12519
13687
|
"name": "variant",
|
@@ -12523,7 +13691,11 @@
|
|
12523
13691
|
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
12524
13692
|
"default": "'full-width'",
|
12525
13693
|
"attribute": "variant",
|
12526
|
-
"reflects": true
|
13694
|
+
"reflects": true,
|
13695
|
+
"inheritedFrom": {
|
13696
|
+
"name": "ListItem",
|
13697
|
+
"module": "components/listitem/listitem.component.js"
|
13698
|
+
}
|
12527
13699
|
},
|
12528
13700
|
{
|
12529
13701
|
"kind": "field",
|
@@ -12533,7 +13705,11 @@
|
|
12533
13705
|
},
|
12534
13706
|
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
12535
13707
|
"attribute": "label",
|
12536
|
-
"reflects": true
|
13708
|
+
"reflects": true,
|
13709
|
+
"inheritedFrom": {
|
13710
|
+
"name": "ListItem",
|
13711
|
+
"module": "components/listitem/listitem.component.js"
|
13712
|
+
}
|
12537
13713
|
},
|
12538
13714
|
{
|
12539
13715
|
"kind": "field",
|
@@ -12543,7 +13719,11 @@
|
|
12543
13719
|
},
|
12544
13720
|
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
12545
13721
|
"attribute": "secondary-label",
|
12546
|
-
"reflects": true
|
13722
|
+
"reflects": true,
|
13723
|
+
"inheritedFrom": {
|
13724
|
+
"name": "ListItem",
|
13725
|
+
"module": "components/listitem/listitem.component.js"
|
13726
|
+
}
|
12547
13727
|
},
|
12548
13728
|
{
|
12549
13729
|
"kind": "field",
|
@@ -12553,7 +13733,11 @@
|
|
12553
13733
|
},
|
12554
13734
|
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
12555
13735
|
"attribute": "tertiary-label",
|
12556
|
-
"reflects": true
|
13736
|
+
"reflects": true,
|
13737
|
+
"inheritedFrom": {
|
13738
|
+
"name": "ListItem",
|
13739
|
+
"module": "components/listitem/listitem.component.js"
|
13740
|
+
}
|
12557
13741
|
},
|
12558
13742
|
{
|
12559
13743
|
"kind": "field",
|
@@ -12563,7 +13747,11 @@
|
|
12563
13747
|
},
|
12564
13748
|
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
12565
13749
|
"attribute": "side-header-text",
|
12566
|
-
"reflects": true
|
13750
|
+
"reflects": true,
|
13751
|
+
"inheritedFrom": {
|
13752
|
+
"name": "ListItem",
|
13753
|
+
"module": "components/listitem/listitem.component.js"
|
13754
|
+
}
|
12567
13755
|
},
|
12568
13756
|
{
|
12569
13757
|
"kind": "field",
|
@@ -12573,7 +13761,11 @@
|
|
12573
13761
|
},
|
12574
13762
|
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
12575
13763
|
"attribute": "subline-text",
|
12576
|
-
"reflects": true
|
13764
|
+
"reflects": true,
|
13765
|
+
"inheritedFrom": {
|
13766
|
+
"name": "ListItem",
|
13767
|
+
"module": "components/listitem/listitem.component.js"
|
13768
|
+
}
|
12577
13769
|
},
|
12578
13770
|
{
|
12579
13771
|
"kind": "field",
|
@@ -12583,7 +13775,11 @@
|
|
12583
13775
|
},
|
12584
13776
|
"description": "The tooltip text is displayed on hover of the list item.",
|
12585
13777
|
"attribute": "tooltip-text",
|
12586
|
-
"reflects": true
|
13778
|
+
"reflects": true,
|
13779
|
+
"inheritedFrom": {
|
13780
|
+
"name": "ListItem",
|
13781
|
+
"module": "components/listitem/listitem.component.js"
|
13782
|
+
}
|
12587
13783
|
},
|
12588
13784
|
{
|
12589
13785
|
"kind": "field",
|
@@ -12594,7 +13790,11 @@
|
|
12594
13790
|
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
12595
13791
|
"default": "'top'",
|
12596
13792
|
"attribute": "tooltip-placement",
|
12597
|
-
"reflects": true
|
13793
|
+
"reflects": true,
|
13794
|
+
"inheritedFrom": {
|
13795
|
+
"name": "ListItem",
|
13796
|
+
"module": "components/listitem/listitem.component.js"
|
13797
|
+
}
|
12598
13798
|
},
|
12599
13799
|
{
|
12600
13800
|
"kind": "method",
|
@@ -12604,6 +13804,10 @@
|
|
12604
13804
|
"type": {
|
12605
13805
|
"text": "void"
|
12606
13806
|
}
|
13807
|
+
},
|
13808
|
+
"inheritedFrom": {
|
13809
|
+
"name": "ListItem",
|
13810
|
+
"module": "components/listitem/listitem.component.js"
|
12607
13811
|
}
|
12608
13812
|
},
|
12609
13813
|
{
|
@@ -12615,7 +13819,11 @@
|
|
12615
13819
|
"text": "void"
|
12616
13820
|
}
|
12617
13821
|
},
|
12618
|
-
"description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element."
|
13822
|
+
"description": "Display a tooltip for the listitem.\nCreate the tooltip programmatically after the nearest parent element.",
|
13823
|
+
"inheritedFrom": {
|
13824
|
+
"name": "ListItem",
|
13825
|
+
"module": "components/listitem/listitem.component.js"
|
13826
|
+
}
|
12619
13827
|
},
|
12620
13828
|
{
|
12621
13829
|
"kind": "method",
|
@@ -12626,7 +13834,11 @@
|
|
12626
13834
|
"text": "void"
|
12627
13835
|
}
|
12628
13836
|
},
|
12629
|
-
"description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events."
|
13837
|
+
"description": "Removes the dynamically created tooltip for long text label on focus or mouse leave.\nThis is triggered on focusout and mouseout events.",
|
13838
|
+
"inheritedFrom": {
|
13839
|
+
"name": "ListItem",
|
13840
|
+
"module": "components/listitem/listitem.component.js"
|
13841
|
+
}
|
12630
13842
|
},
|
12631
13843
|
{
|
12632
13844
|
"kind": "method",
|
@@ -12661,7 +13873,11 @@
|
|
12661
13873
|
"description": "The text content to be displayed within the slot."
|
12662
13874
|
}
|
12663
13875
|
],
|
12664
|
-
"description": "Generates a template for a text slot with the specified content."
|
13876
|
+
"description": "Generates a template for a text slot with the specified content.",
|
13877
|
+
"inheritedFrom": {
|
13878
|
+
"name": "ListItem",
|
13879
|
+
"module": "components/listitem/listitem.component.js"
|
13880
|
+
}
|
12665
13881
|
},
|
12666
13882
|
{
|
12667
13883
|
"kind": "method",
|
@@ -12681,62 +13897,101 @@
|
|
12681
13897
|
"description": "Whether to disable or enable the controls."
|
12682
13898
|
}
|
12683
13899
|
],
|
12684
|
-
"description": "Disable or enable all slotted elements in the leading and trailing slots.\nThis is useful when the list item is disabled, to prevent the user from interacting with the controls."
|
13900
|
+
"description": "Disable or enable all slotted elements in the leading and trailing slots.\nThis is useful when the list item is disabled, to prevent the user from interacting with the controls.",
|
13901
|
+
"inheritedFrom": {
|
13902
|
+
"name": "ListItem",
|
13903
|
+
"module": "components/listitem/listitem.component.js"
|
13904
|
+
}
|
13905
|
+
}
|
13906
|
+
],
|
13907
|
+
"events": [
|
13908
|
+
{
|
13909
|
+
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
13910
|
+
"name": "change",
|
13911
|
+
"reactName": "onChange"
|
13912
|
+
},
|
13913
|
+
{
|
13914
|
+
"description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
|
13915
|
+
"name": "click",
|
13916
|
+
"reactName": "onClick",
|
13917
|
+
"inheritedFrom": {
|
13918
|
+
"name": "ListItem",
|
13919
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13920
|
+
}
|
13921
|
+
},
|
13922
|
+
{
|
13923
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
|
13924
|
+
"name": "focus",
|
13925
|
+
"reactName": "onFocus",
|
13926
|
+
"inheritedFrom": {
|
13927
|
+
"name": "ListItem",
|
13928
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13929
|
+
}
|
13930
|
+
},
|
13931
|
+
{
|
13932
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
13933
|
+
"name": "keydown",
|
13934
|
+
"reactName": "onKeyDown",
|
13935
|
+
"inheritedFrom": {
|
13936
|
+
"name": "ListItem",
|
13937
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13938
|
+
}
|
13939
|
+
},
|
13940
|
+
{
|
13941
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
|
13942
|
+
"name": "keyup",
|
13943
|
+
"reactName": "onKeyUp",
|
13944
|
+
"inheritedFrom": {
|
13945
|
+
"name": "ListItem",
|
13946
|
+
"module": "src/components/listitem/listitem.component.ts"
|
13947
|
+
}
|
13948
|
+
}
|
13949
|
+
],
|
13950
|
+
"attributes": [
|
13951
|
+
{
|
13952
|
+
"name": "aria-checked",
|
13953
|
+
"type": {
|
13954
|
+
"text": "AriaCheckedStates"
|
13955
|
+
},
|
13956
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
13957
|
+
"default": "'false'",
|
13958
|
+
"fieldName": "ariaChecked"
|
13959
|
+
},
|
13960
|
+
{
|
13961
|
+
"name": "indicator",
|
13962
|
+
"type": {
|
13963
|
+
"text": "Indicator"
|
13964
|
+
},
|
13965
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
13966
|
+
"default": "'checkbox'",
|
13967
|
+
"fieldName": "indicator"
|
12685
13968
|
},
|
12686
13969
|
{
|
12687
|
-
"kind": "field",
|
12688
13970
|
"name": "disabled",
|
12689
13971
|
"type": {
|
12690
13972
|
"text": "boolean | undefined"
|
12691
13973
|
},
|
12692
13974
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12693
13975
|
"default": "undefined",
|
12694
|
-
"
|
12695
|
-
"reflects": true,
|
13976
|
+
"fieldName": "disabled",
|
12696
13977
|
"inheritedFrom": {
|
12697
|
-
"name": "
|
12698
|
-
"module": "
|
13978
|
+
"name": "ListItem",
|
13979
|
+
"module": "src/components/listitem/listitem.component.ts"
|
12699
13980
|
}
|
12700
13981
|
},
|
12701
13982
|
{
|
12702
|
-
"kind": "field",
|
12703
13983
|
"name": "tabIndex",
|
12704
13984
|
"type": {
|
12705
13985
|
"text": "number"
|
12706
13986
|
},
|
12707
13987
|
"default": "0",
|
12708
13988
|
"description": "This property specifies the tab order of the element.",
|
12709
|
-
"
|
12710
|
-
"reflects": true,
|
13989
|
+
"fieldName": "tabIndex",
|
12711
13990
|
"inheritedFrom": {
|
12712
|
-
"name": "
|
12713
|
-
"module": "
|
13991
|
+
"name": "ListItem",
|
13992
|
+
"module": "src/components/listitem/listitem.component.ts"
|
12714
13993
|
}
|
12715
|
-
}
|
12716
|
-
],
|
12717
|
-
"events": [
|
12718
|
-
{
|
12719
|
-
"description": "(React: onClick) This event is dispatched when the listitem is clicked.",
|
12720
|
-
"name": "click",
|
12721
|
-
"reactName": "onClick"
|
12722
|
-
},
|
12723
|
-
{
|
12724
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.",
|
12725
|
-
"name": "keydown",
|
12726
|
-
"reactName": "onKeyDown"
|
12727
|
-
},
|
12728
|
-
{
|
12729
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the listitem.",
|
12730
|
-
"name": "keyup",
|
12731
|
-
"reactName": "onKeyUp"
|
12732
13994
|
},
|
12733
|
-
{
|
12734
|
-
"description": "(React: onFocus) This event is dispatched when the listitem receives focus.",
|
12735
|
-
"name": "focus",
|
12736
|
-
"reactName": "onFocus"
|
12737
|
-
}
|
12738
|
-
],
|
12739
|
-
"attributes": [
|
12740
13995
|
{
|
12741
13996
|
"name": "variant",
|
12742
13997
|
"type": {
|
@@ -12744,7 +13999,11 @@
|
|
12744
13999
|
},
|
12745
14000
|
"description": "The variant of the list item. It can be a pill, rectangle or a full-width.",
|
12746
14001
|
"default": "'full-width'",
|
12747
|
-
"fieldName": "variant"
|
14002
|
+
"fieldName": "variant",
|
14003
|
+
"inheritedFrom": {
|
14004
|
+
"name": "ListItem",
|
14005
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14006
|
+
}
|
12748
14007
|
},
|
12749
14008
|
{
|
12750
14009
|
"name": "label",
|
@@ -12752,7 +14011,11 @@
|
|
12752
14011
|
"text": "string | undefined"
|
12753
14012
|
},
|
12754
14013
|
"description": "The primary label of the list item.\nThis appears on the leading side of the list item.",
|
12755
|
-
"fieldName": "label"
|
14014
|
+
"fieldName": "label",
|
14015
|
+
"inheritedFrom": {
|
14016
|
+
"name": "ListItem",
|
14017
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14018
|
+
}
|
12756
14019
|
},
|
12757
14020
|
{
|
12758
14021
|
"name": "secondary-label",
|
@@ -12760,7 +14023,11 @@
|
|
12760
14023
|
"text": "string | undefined"
|
12761
14024
|
},
|
12762
14025
|
"description": "The secondary label of the list item.\nThis appears on the leading side of the list item.",
|
12763
|
-
"fieldName": "secondaryLabel"
|
14026
|
+
"fieldName": "secondaryLabel",
|
14027
|
+
"inheritedFrom": {
|
14028
|
+
"name": "ListItem",
|
14029
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14030
|
+
}
|
12764
14031
|
},
|
12765
14032
|
{
|
12766
14033
|
"name": "tertiary-label",
|
@@ -12768,7 +14035,11 @@
|
|
12768
14035
|
"text": "string | undefined"
|
12769
14036
|
},
|
12770
14037
|
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
12771
|
-
"fieldName": "tertiaryLabel"
|
14038
|
+
"fieldName": "tertiaryLabel",
|
14039
|
+
"inheritedFrom": {
|
14040
|
+
"name": "ListItem",
|
14041
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14042
|
+
}
|
12772
14043
|
},
|
12773
14044
|
{
|
12774
14045
|
"name": "side-header-text",
|
@@ -12776,7 +14047,11 @@
|
|
12776
14047
|
"text": "string | undefined"
|
12777
14048
|
},
|
12778
14049
|
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
12779
|
-
"fieldName": "sideHeaderText"
|
14050
|
+
"fieldName": "sideHeaderText",
|
14051
|
+
"inheritedFrom": {
|
14052
|
+
"name": "ListItem",
|
14053
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14054
|
+
}
|
12780
14055
|
},
|
12781
14056
|
{
|
12782
14057
|
"name": "subline-text",
|
@@ -12784,7 +14059,11 @@
|
|
12784
14059
|
"text": "string | undefined"
|
12785
14060
|
},
|
12786
14061
|
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
12787
|
-
"fieldName": "sublineText"
|
14062
|
+
"fieldName": "sublineText",
|
14063
|
+
"inheritedFrom": {
|
14064
|
+
"name": "ListItem",
|
14065
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14066
|
+
}
|
12788
14067
|
},
|
12789
14068
|
{
|
12790
14069
|
"name": "tooltip-text",
|
@@ -12792,61 +14071,91 @@
|
|
12792
14071
|
"text": "string | undefined"
|
12793
14072
|
},
|
12794
14073
|
"description": "The tooltip text is displayed on hover of the list item.",
|
12795
|
-
"fieldName": "tooltipText"
|
14074
|
+
"fieldName": "tooltipText",
|
14075
|
+
"inheritedFrom": {
|
14076
|
+
"name": "ListItem",
|
14077
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14078
|
+
}
|
14079
|
+
},
|
14080
|
+
{
|
14081
|
+
"name": "tooltip-placement",
|
14082
|
+
"type": {
|
14083
|
+
"text": "PopoverPlacement"
|
14084
|
+
},
|
14085
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
14086
|
+
"default": "'top'",
|
14087
|
+
"fieldName": "tooltipPlacement",
|
14088
|
+
"inheritedFrom": {
|
14089
|
+
"name": "ListItem",
|
14090
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14091
|
+
}
|
14092
|
+
}
|
14093
|
+
],
|
14094
|
+
"superclass": {
|
14095
|
+
"name": "MenuItem",
|
14096
|
+
"module": "/src/components/menuitem/menuitem.component"
|
14097
|
+
},
|
14098
|
+
"tagName": "mdc-menuitemcheckbox",
|
14099
|
+
"jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `aria-checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b> and <b>toggle</b>.\n * By default the `indicator` is set to <b>checkbox</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the toggle and checkmark will always be positioned on the trailing side.\n *\n * The checkbox will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `aria-checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * If a menuitemcheckbox is disabled, then the `aria-disabled` attribute is set to `true`.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @cssproperty --mdc-checkmark-indicator-color - Allows customization of the checkmark indicator color\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemcheckbox changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemcheckbox is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.\n */",
|
14100
|
+
"customElement": true,
|
14101
|
+
"slots": [
|
14102
|
+
{
|
14103
|
+
"description": "slot for list item controls to appear of leading end.",
|
14104
|
+
"name": "leading-controls",
|
14105
|
+
"inheritedFrom": {
|
14106
|
+
"name": "ListItem",
|
14107
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14108
|
+
}
|
14109
|
+
},
|
14110
|
+
{
|
14111
|
+
"description": "slot for list item primary label.",
|
14112
|
+
"name": "leading-text-primary-label",
|
14113
|
+
"inheritedFrom": {
|
14114
|
+
"name": "ListItem",
|
14115
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14116
|
+
}
|
14117
|
+
},
|
14118
|
+
{
|
14119
|
+
"description": "slot for list item secondary label.",
|
14120
|
+
"name": "leading-text-secondary-label",
|
14121
|
+
"inheritedFrom": {
|
14122
|
+
"name": "ListItem",
|
14123
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14124
|
+
}
|
12796
14125
|
},
|
12797
14126
|
{
|
12798
|
-
"
|
12799
|
-
"
|
12800
|
-
|
12801
|
-
|
12802
|
-
|
12803
|
-
|
12804
|
-
"fieldName": "tooltipPlacement"
|
14127
|
+
"description": "slot for list item tertiary label.",
|
14128
|
+
"name": "leading-text-tertiary-label",
|
14129
|
+
"inheritedFrom": {
|
14130
|
+
"name": "ListItem",
|
14131
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14132
|
+
}
|
12805
14133
|
},
|
12806
14134
|
{
|
12807
|
-
"
|
12808
|
-
"
|
12809
|
-
"text": "boolean | undefined"
|
12810
|
-
},
|
12811
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
12812
|
-
"default": "undefined",
|
12813
|
-
"fieldName": "disabled",
|
14135
|
+
"description": "slot for list item side header text.",
|
14136
|
+
"name": "trailing-text-side-header",
|
12814
14137
|
"inheritedFrom": {
|
12815
|
-
"name": "
|
12816
|
-
"module": "src/
|
14138
|
+
"name": "ListItem",
|
14139
|
+
"module": "src/components/listitem/listitem.component.ts"
|
12817
14140
|
}
|
12818
14141
|
},
|
12819
14142
|
{
|
12820
|
-
"
|
12821
|
-
"
|
12822
|
-
"text": "number"
|
12823
|
-
},
|
12824
|
-
"default": "0",
|
12825
|
-
"description": "This property specifies the tab order of the element.",
|
12826
|
-
"fieldName": "tabIndex",
|
14143
|
+
"description": "slot for list item subline text.",
|
14144
|
+
"name": "trailing-text-subline",
|
12827
14145
|
"inheritedFrom": {
|
12828
|
-
"name": "
|
12829
|
-
"module": "src/
|
14146
|
+
"name": "ListItem",
|
14147
|
+
"module": "src/components/listitem/listitem.component.ts"
|
12830
14148
|
}
|
12831
|
-
}
|
12832
|
-
],
|
12833
|
-
"mixins": [
|
12834
|
-
{
|
12835
|
-
"name": "DisabledMixin",
|
12836
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
12837
14149
|
},
|
12838
14150
|
{
|
12839
|
-
"
|
12840
|
-
"
|
14151
|
+
"description": "slot for list item controls to appear of trailing end.",
|
14152
|
+
"name": "trailing-controls",
|
14153
|
+
"inheritedFrom": {
|
14154
|
+
"name": "ListItem",
|
14155
|
+
"module": "src/components/listitem/listitem.component.ts"
|
14156
|
+
}
|
12841
14157
|
}
|
12842
|
-
]
|
12843
|
-
"superclass": {
|
12844
|
-
"name": "Component",
|
12845
|
-
"module": "/src/models"
|
12846
|
-
},
|
12847
|
-
"tagName": "mdc-listitem",
|
12848
|
-
"jsDoc": "/**\n * mdc-listitem component is used to display a label with different types of controls.\n * There can be three types of controls, a radio button, a checkbox on the\n * leading side and a toggle on the trailing side.\n * The list item can contain an avatar on the leading side and a badge on the trailing side.\n * Additionally, the list item can contain a side header and a subline text.\n *\n * The leading and trailing slots can be used to display controls and text. <br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted. <br/>\n * Please use mdc-list as a parent element even when there is only listitem for a11y purpose.\n *\n * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the listitem.\n * The placement of the tooltip can be adjusted using the tooltip-placement attribute.\n * This will be helpful when the listitem text is truncated or\n * when you want to display additional information about the listitem.\n *\n * @tagname mdc-listitem\n *\n * @dependency mdc-text\n *\n * @slot leading-controls - slot for list item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for list item primary label.\n * @slot leading-text-secondary-label - slot for list item secondary label.\n * @slot leading-text-tertiary-label - slot for list item tertiary label.\n * @slot trailing-text-side-header - slot for list item side header text.\n * @slot trailing-text-subline - slot for list item subline text.\n * @slot trailing-controls - slot for list item controls to appear of trailing end.\n *\n * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-listitem-background-color-active - Allows customization of the background color when pressed.\n * @cssproperty --mdc-listitem-primary-label-color\n * - Allows customization of the primary label, side header and subline text slot color.\n * @cssproperty --mdc-listitem-secondary-label-color\n * - Allows customization of the secondary and tertiary label text slot color.\n * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.\n * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.\n * @cssproperty --mdc-listitem-padding-left-and-right - Allows customization of padding left and right.\n *\n * @event click - (React: onClick) This event is dispatched when the listitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the listitem.\n * @event focus - (React: onFocus) This event is dispatched when the listitem receives focus.\n */",
|
12849
|
-
"customElement": true
|
14158
|
+
]
|
12850
14159
|
}
|
12851
14160
|
],
|
12852
14161
|
"exports": [
|
@@ -12854,92 +14163,32 @@
|
|
12854
14163
|
"kind": "js",
|
12855
14164
|
"name": "default",
|
12856
14165
|
"declaration": {
|
12857
|
-
"name": "
|
12858
|
-
"module": "components/
|
14166
|
+
"name": "MenuItemCheckbox",
|
14167
|
+
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
12859
14168
|
}
|
12860
14169
|
}
|
12861
14170
|
]
|
12862
14171
|
},
|
12863
14172
|
{
|
12864
14173
|
"kind": "javascript-module",
|
12865
|
-
"path": "components/
|
14174
|
+
"path": "components/menuitemradio/menuitemradio.component.js",
|
12866
14175
|
"declarations": [
|
12867
14176
|
{
|
12868
14177
|
"kind": "class",
|
12869
|
-
"description": "
|
12870
|
-
"name": "
|
12871
|
-
"cssProperties": [
|
12872
|
-
{
|
12873
|
-
"description": "Allows customization of the default background color in solid variant.",
|
12874
|
-
"name": "--mdc-marker-solid-background-color"
|
12875
|
-
},
|
12876
|
-
{
|
12877
|
-
"description": "Allows customization of the default stripes in striped variant.",
|
12878
|
-
"name": "--mdc-marker-striped-color"
|
12879
|
-
},
|
12880
|
-
{
|
12881
|
-
"description": "Allows customization of the default background color in striped variant.",
|
12882
|
-
"name": "--mdc-marker-striped-background-color"
|
12883
|
-
},
|
12884
|
-
{
|
12885
|
-
"description": "Allows customization of the default width.",
|
12886
|
-
"name": "--mdc-marker-width"
|
12887
|
-
}
|
12888
|
-
],
|
14178
|
+
"description": "A menuitemradio component is a checkable menuitem that is used in a menu.\nA menuitemradio should be checked only one at a time. <br/>\nThere should be no focusable descendants inside this menuitemradio component.\n\nThe `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n\nIf you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n\nIf a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.",
|
14179
|
+
"name": "MenuItemRadio",
|
12889
14180
|
"members": [
|
12890
14181
|
{
|
12891
14182
|
"kind": "field",
|
12892
|
-
"name": "
|
14183
|
+
"name": "ariaChecked",
|
12893
14184
|
"type": {
|
12894
|
-
"text": "
|
14185
|
+
"text": "AriaChecked"
|
12895
14186
|
},
|
12896
|
-
"
|
12897
|
-
"
|
12898
|
-
"
|
12899
|
-
"attribute": "variant",
|
14187
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
14188
|
+
"default": "'false'",
|
14189
|
+
"attribute": "aria-checked",
|
12900
14190
|
"reflects": true
|
12901
|
-
}
|
12902
|
-
],
|
12903
|
-
"attributes": [
|
12904
|
-
{
|
12905
|
-
"name": "variant",
|
12906
|
-
"type": {
|
12907
|
-
"text": "MarkerVariants"
|
12908
|
-
},
|
12909
|
-
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
12910
|
-
"default": "solid",
|
12911
|
-
"fieldName": "variant"
|
12912
|
-
}
|
12913
|
-
],
|
12914
|
-
"superclass": {
|
12915
|
-
"name": "Component",
|
12916
|
-
"module": "/src/models"
|
12917
|
-
},
|
12918
|
-
"tagName": "mdc-marker",
|
12919
|
-
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
12920
|
-
"customElement": true
|
12921
|
-
}
|
12922
|
-
],
|
12923
|
-
"exports": [
|
12924
|
-
{
|
12925
|
-
"kind": "js",
|
12926
|
-
"name": "default",
|
12927
|
-
"declaration": {
|
12928
|
-
"name": "Marker",
|
12929
|
-
"module": "components/marker/marker.component.js"
|
12930
|
-
}
|
12931
|
-
}
|
12932
|
-
]
|
12933
|
-
},
|
12934
|
-
{
|
12935
|
-
"kind": "javascript-module",
|
12936
|
-
"path": "components/menuitem/menuitem.component.js",
|
12937
|
-
"declarations": [
|
12938
|
-
{
|
12939
|
-
"kind": "class",
|
12940
|
-
"description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use mdc-menu as a parent element even when there is only menuitem for a11y purpose.",
|
12941
|
-
"name": "MenuItem",
|
12942
|
-
"members": [
|
14191
|
+
},
|
12943
14192
|
{
|
12944
14193
|
"kind": "field",
|
12945
14194
|
"name": "disabled",
|
@@ -13194,7 +14443,12 @@
|
|
13194
14443
|
],
|
13195
14444
|
"events": [
|
13196
14445
|
{
|
13197
|
-
"description": "(React:
|
14446
|
+
"description": "(React: onChange) This event is dispatched when the menuitemradio changes.",
|
14447
|
+
"name": "change",
|
14448
|
+
"reactName": "onChange"
|
14449
|
+
},
|
14450
|
+
{
|
14451
|
+
"description": "(React: onClick) This event is dispatched when the menuitemradio is clicked.",
|
13198
14452
|
"name": "click",
|
13199
14453
|
"reactName": "onClick",
|
13200
14454
|
"inheritedFrom": {
|
@@ -13203,41 +14457,43 @@
|
|
13203
14457
|
}
|
13204
14458
|
},
|
13205
14459
|
{
|
13206
|
-
"description": "(React:
|
13207
|
-
"name": "
|
13208
|
-
"reactName": "
|
14460
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemradio receives focus.",
|
14461
|
+
"name": "focus",
|
14462
|
+
"reactName": "onFocus",
|
13209
14463
|
"inheritedFrom": {
|
13210
14464
|
"name": "ListItem",
|
13211
14465
|
"module": "src/components/listitem/listitem.component.ts"
|
13212
14466
|
}
|
13213
14467
|
},
|
13214
14468
|
{
|
13215
|
-
"description": "(React:
|
13216
|
-
"name": "
|
13217
|
-
"reactName": "
|
14469
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
14470
|
+
"name": "keydown",
|
14471
|
+
"reactName": "onKeyDown",
|
13218
14472
|
"inheritedFrom": {
|
13219
14473
|
"name": "ListItem",
|
13220
14474
|
"module": "src/components/listitem/listitem.component.ts"
|
13221
14475
|
}
|
13222
14476
|
},
|
13223
14477
|
{
|
13224
|
-
"description": "(React:
|
13225
|
-
"name": "
|
13226
|
-
"reactName": "
|
14478
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
|
14479
|
+
"name": "keyup",
|
14480
|
+
"reactName": "onKeyUp",
|
13227
14481
|
"inheritedFrom": {
|
13228
14482
|
"name": "ListItem",
|
13229
14483
|
"module": "src/components/listitem/listitem.component.ts"
|
13230
14484
|
}
|
13231
14485
|
}
|
13232
14486
|
],
|
13233
|
-
"superclass": {
|
13234
|
-
"name": "ListItem",
|
13235
|
-
"module": "/src/components/listitem/listitem.component"
|
13236
|
-
},
|
13237
|
-
"tagName": "mdc-menuitem",
|
13238
|
-
"jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use mdc-menu as a parent element even when there is only menuitem for a11y purpose.\n *\n * @dependency mdc-text\n *\n * @tagname mdc-menuitem\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n */",
|
13239
|
-
"customElement": true,
|
13240
14487
|
"attributes": [
|
14488
|
+
{
|
14489
|
+
"name": "aria-checked",
|
14490
|
+
"type": {
|
14491
|
+
"text": "AriaChecked"
|
14492
|
+
},
|
14493
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
14494
|
+
"default": "'false'",
|
14495
|
+
"fieldName": "ariaChecked"
|
14496
|
+
},
|
13241
14497
|
{
|
13242
14498
|
"name": "disabled",
|
13243
14499
|
"type": {
|
@@ -13363,6 +14619,13 @@
|
|
13363
14619
|
}
|
13364
14620
|
}
|
13365
14621
|
],
|
14622
|
+
"superclass": {
|
14623
|
+
"name": "MenuItem",
|
14624
|
+
"module": "/src/components/menuitem/menuitem.component"
|
14625
|
+
},
|
14626
|
+
"tagName": "mdc-menuitemradio",
|
14627
|
+
"jsDoc": "/**\n * A menuitemradio component is a checkable menuitem that is used in a menu.\n * A menuitemradio should be checked only one at a time. <br/>\n * There should be no focusable descendants inside this menuitemradio component.\n *\n * The `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n *\n * If you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n *\n * If a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.\n *\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @tagname mdc-menuitemradio\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemradio changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemradio is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemradio receives focus.\n */",
|
14628
|
+
"customElement": true,
|
13366
14629
|
"slots": [
|
13367
14630
|
{
|
13368
14631
|
"description": "slot for list item controls to appear of leading end.",
|
@@ -13494,8 +14757,8 @@
|
|
13494
14757
|
"kind": "js",
|
13495
14758
|
"name": "default",
|
13496
14759
|
"declaration": {
|
13497
|
-
"name": "
|
13498
|
-
"module": "components/
|
14760
|
+
"name": "MenuItemRadio",
|
14761
|
+
"module": "components/menuitemradio/menuitemradio.component.js"
|
13499
14762
|
}
|
13500
14763
|
}
|
13501
14764
|
]
|
@@ -14975,6 +16238,7 @@
|
|
14975
16238
|
{
|
14976
16239
|
"kind": "method",
|
14977
16240
|
"name": "deactivateFocusTrap",
|
16241
|
+
"privacy": "public",
|
14978
16242
|
"description": "Deactivate the focus trap.",
|
14979
16243
|
"inheritedFrom": {
|
14980
16244
|
"name": "FocusTrapMixin",
|
@@ -21506,132 +22770,48 @@
|
|
21506
22770
|
"fieldName": "role",
|
21507
22771
|
"inheritedFrom": {
|
21508
22772
|
"name": "Buttonsimple",
|
21509
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
21510
|
-
}
|
21511
|
-
},
|
21512
|
-
{
|
21513
|
-
"name": "ariaStateKey",
|
21514
|
-
"type": {
|
21515
|
-
"text": "string | undefined"
|
21516
|
-
},
|
21517
|
-
"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`",
|
21518
|
-
"default": "'aria-pressed' (when)",
|
21519
|
-
"fieldName": "ariaStateKey",
|
21520
|
-
"inheritedFrom": {
|
21521
|
-
"name": "Buttonsimple",
|
21522
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
21523
|
-
}
|
21524
|
-
},
|
21525
|
-
{
|
21526
|
-
"name": "type",
|
21527
|
-
"type": {
|
21528
|
-
"text": "ButtonType"
|
21529
|
-
},
|
21530
|
-
"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.",
|
21531
|
-
"default": "button",
|
21532
|
-
"fieldName": "type",
|
21533
|
-
"inheritedFrom": {
|
21534
|
-
"name": "Buttonsimple",
|
21535
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
21536
|
-
}
|
21537
|
-
}
|
21538
|
-
],
|
21539
|
-
"mixins": [
|
21540
|
-
{
|
21541
|
-
"name": "IconNameMixin",
|
21542
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
21543
|
-
}
|
21544
|
-
],
|
21545
|
-
"superclass": {
|
21546
|
-
"name": "Buttonsimple",
|
21547
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
21548
|
-
},
|
21549
|
-
"tagName": "mdc-tab",
|
21550
|
-
"jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * Pass attribute `tabid` when using inside of `tablist` component.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n * @event activechange - (React: onActiveChange) This event is dispatched when the active state of the tab changes\n * <br />\n * Event Data: `detail: { tabId: this.tabId, active }`\n * <br />\n * Note: the activechange event is used by the tab list component to react to the change in state of the tab,\n * so this event won't be needed if the tab list is used.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
|
21551
|
-
"customElement": true
|
21552
|
-
}
|
21553
|
-
],
|
21554
|
-
"exports": [
|
21555
|
-
{
|
21556
|
-
"kind": "js",
|
21557
|
-
"name": "default",
|
21558
|
-
"declaration": {
|
21559
|
-
"name": "Tab",
|
21560
|
-
"module": "components/tab/tab.component.js"
|
21561
|
-
}
|
21562
|
-
}
|
21563
|
-
]
|
21564
|
-
},
|
21565
|
-
{
|
21566
|
-
"kind": "javascript-module",
|
21567
|
-
"path": "components/text/text.component.js",
|
21568
|
-
"declarations": [
|
21569
|
-
{
|
21570
|
-
"kind": "class",
|
21571
|
-
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
21572
|
-
"name": "Text",
|
21573
|
-
"cssParts": [
|
21574
|
-
{
|
21575
|
-
"description": "The text element",
|
21576
|
-
"name": "text"
|
21577
|
-
}
|
21578
|
-
],
|
21579
|
-
"slots": [
|
21580
|
-
{
|
21581
|
-
"description": "Default slot for text content",
|
21582
|
-
"name": ""
|
21583
|
-
}
|
21584
|
-
],
|
21585
|
-
"members": [
|
22773
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
22774
|
+
}
|
22775
|
+
},
|
21586
22776
|
{
|
21587
|
-
"
|
21588
|
-
"name": "type",
|
22777
|
+
"name": "ariaStateKey",
|
21589
22778
|
"type": {
|
21590
|
-
"text": "
|
22779
|
+
"text": "string | undefined"
|
21591
22780
|
},
|
21592
|
-
"
|
21593
|
-
"
|
21594
|
-
"
|
21595
|
-
"
|
21596
|
-
|
22781
|
+
"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`",
|
22782
|
+
"default": "'aria-pressed' (when)",
|
22783
|
+
"fieldName": "ariaStateKey",
|
22784
|
+
"inheritedFrom": {
|
22785
|
+
"name": "Buttonsimple",
|
22786
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
22787
|
+
}
|
21597
22788
|
},
|
21598
22789
|
{
|
21599
|
-
"
|
21600
|
-
"name": "tagname",
|
22790
|
+
"name": "type",
|
21601
22791
|
"type": {
|
21602
|
-
"text": "
|
22792
|
+
"text": "ButtonType"
|
21603
22793
|
},
|
21604
|
-
"
|
21605
|
-
"
|
21606
|
-
"
|
21607
|
-
"
|
22794
|
+
"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.",
|
22795
|
+
"default": "button",
|
22796
|
+
"fieldName": "type",
|
22797
|
+
"inheritedFrom": {
|
22798
|
+
"name": "Buttonsimple",
|
22799
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
22800
|
+
}
|
21608
22801
|
}
|
21609
22802
|
],
|
21610
|
-
"
|
21611
|
-
{
|
21612
|
-
"name": "type",
|
21613
|
-
"type": {
|
21614
|
-
"text": "TextType"
|
21615
|
-
},
|
21616
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
21617
|
-
"default": "body-large-regular",
|
21618
|
-
"fieldName": "type"
|
21619
|
-
},
|
22803
|
+
"mixins": [
|
21620
22804
|
{
|
21621
|
-
"name": "
|
21622
|
-
"
|
21623
|
-
"text": "TagName | undefined"
|
21624
|
-
},
|
21625
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
21626
|
-
"fieldName": "tagname"
|
22805
|
+
"name": "IconNameMixin",
|
22806
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
21627
22807
|
}
|
21628
22808
|
],
|
21629
22809
|
"superclass": {
|
21630
|
-
"name": "
|
21631
|
-
"module": "/src/
|
22810
|
+
"name": "Buttonsimple",
|
22811
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
21632
22812
|
},
|
21633
|
-
"tagName": "mdc-
|
21634
|
-
"jsDoc": "/**\n *
|
22813
|
+
"tagName": "mdc-tab",
|
22814
|
+
"jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * Pass attribute `tabid` when using inside of `tablist` component.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n * @event activechange - (React: onActiveChange) This event is dispatched when the active state of the tab changes\n * <br />\n * Event Data: `detail: { tabId: this.tabId, active }`\n * <br />\n * Note: the activechange event is used by the tab list component to react to the change in state of the tab,\n * so this event won't be needed if the tab list is used.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
|
21635
22815
|
"customElement": true
|
21636
22816
|
}
|
21637
22817
|
],
|
@@ -21640,8 +22820,8 @@
|
|
21640
22820
|
"kind": "js",
|
21641
22821
|
"name": "default",
|
21642
22822
|
"declaration": {
|
21643
|
-
"name": "
|
21644
|
-
"module": "components/
|
22823
|
+
"name": "Tab",
|
22824
|
+
"module": "components/tab/tab.component.js"
|
21645
22825
|
}
|
21646
22826
|
}
|
21647
22827
|
]
|
@@ -21740,6 +22920,90 @@
|
|
21740
22920
|
}
|
21741
22921
|
]
|
21742
22922
|
},
|
22923
|
+
{
|
22924
|
+
"kind": "javascript-module",
|
22925
|
+
"path": "components/text/text.component.js",
|
22926
|
+
"declarations": [
|
22927
|
+
{
|
22928
|
+
"kind": "class",
|
22929
|
+
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
22930
|
+
"name": "Text",
|
22931
|
+
"cssParts": [
|
22932
|
+
{
|
22933
|
+
"description": "The text element",
|
22934
|
+
"name": "text"
|
22935
|
+
}
|
22936
|
+
],
|
22937
|
+
"slots": [
|
22938
|
+
{
|
22939
|
+
"description": "Default slot for text content",
|
22940
|
+
"name": ""
|
22941
|
+
}
|
22942
|
+
],
|
22943
|
+
"members": [
|
22944
|
+
{
|
22945
|
+
"kind": "field",
|
22946
|
+
"name": "type",
|
22947
|
+
"type": {
|
22948
|
+
"text": "TextType"
|
22949
|
+
},
|
22950
|
+
"privacy": "public",
|
22951
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
22952
|
+
"default": "body-large-regular",
|
22953
|
+
"attribute": "type",
|
22954
|
+
"reflects": true
|
22955
|
+
},
|
22956
|
+
{
|
22957
|
+
"kind": "field",
|
22958
|
+
"name": "tagname",
|
22959
|
+
"type": {
|
22960
|
+
"text": "TagName | undefined"
|
22961
|
+
},
|
22962
|
+
"privacy": "public",
|
22963
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
22964
|
+
"attribute": "tagname",
|
22965
|
+
"reflects": true
|
22966
|
+
}
|
22967
|
+
],
|
22968
|
+
"attributes": [
|
22969
|
+
{
|
22970
|
+
"name": "type",
|
22971
|
+
"type": {
|
22972
|
+
"text": "TextType"
|
22973
|
+
},
|
22974
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
22975
|
+
"default": "body-large-regular",
|
22976
|
+
"fieldName": "type"
|
22977
|
+
},
|
22978
|
+
{
|
22979
|
+
"name": "tagname",
|
22980
|
+
"type": {
|
22981
|
+
"text": "TagName | undefined"
|
22982
|
+
},
|
22983
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
22984
|
+
"fieldName": "tagname"
|
22985
|
+
}
|
22986
|
+
],
|
22987
|
+
"superclass": {
|
22988
|
+
"name": "Component",
|
22989
|
+
"module": "/src/models"
|
22990
|
+
},
|
22991
|
+
"tagName": "mdc-text",
|
22992
|
+
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
22993
|
+
"customElement": true
|
22994
|
+
}
|
22995
|
+
],
|
22996
|
+
"exports": [
|
22997
|
+
{
|
22998
|
+
"kind": "js",
|
22999
|
+
"name": "default",
|
23000
|
+
"declaration": {
|
23001
|
+
"name": "Text",
|
23002
|
+
"module": "components/text/text.component.js"
|
23003
|
+
}
|
23004
|
+
}
|
23005
|
+
]
|
23006
|
+
},
|
21743
23007
|
{
|
21744
23008
|
"kind": "javascript-module",
|
21745
23009
|
"path": "components/textarea/textarea.component.js",
|
@@ -23568,6 +24832,7 @@
|
|
23568
24832
|
{
|
23569
24833
|
"kind": "method",
|
23570
24834
|
"name": "deactivateFocusTrap",
|
24835
|
+
"privacy": "public",
|
23571
24836
|
"description": "Deactivate the focus trap.",
|
23572
24837
|
"inheritedFrom": {
|
23573
24838
|
"name": "Popover",
|
@@ -25282,6 +26547,7 @@
|
|
25282
26547
|
{
|
25283
26548
|
"kind": "method",
|
25284
26549
|
"name": "deactivateFocusTrap",
|
26550
|
+
"privacy": "public",
|
25285
26551
|
"description": "Deactivate the focus trap.",
|
25286
26552
|
"inheritedFrom": {
|
25287
26553
|
"name": "Popover",
|
@@ -27044,6 +28310,113 @@
|
|
27044
28310
|
"kind": "javascript-module",
|
27045
28311
|
"path": "utils/mixins/ButtonComponentMixin.js",
|
27046
28312
|
"declarations": [
|
28313
|
+
{
|
28314
|
+
"kind": "class",
|
28315
|
+
"description": "",
|
28316
|
+
"name": "ButtonComponentMixinInterface",
|
28317
|
+
"members": [
|
28318
|
+
{
|
28319
|
+
"kind": "field",
|
28320
|
+
"name": "prefixIcon",
|
28321
|
+
"type": {
|
28322
|
+
"text": "IconNames | undefined"
|
28323
|
+
}
|
28324
|
+
},
|
28325
|
+
{
|
28326
|
+
"kind": "field",
|
28327
|
+
"name": "postfixIcon",
|
28328
|
+
"type": {
|
28329
|
+
"text": "IconNames | undefined"
|
28330
|
+
}
|
28331
|
+
},
|
28332
|
+
{
|
28333
|
+
"kind": "field",
|
28334
|
+
"name": "variant",
|
28335
|
+
"type": {
|
28336
|
+
"text": "ButtonVariant"
|
28337
|
+
}
|
28338
|
+
},
|
28339
|
+
{
|
28340
|
+
"kind": "field",
|
28341
|
+
"name": "color",
|
28342
|
+
"type": {
|
28343
|
+
"text": "ButtonColor"
|
28344
|
+
}
|
28345
|
+
},
|
28346
|
+
{
|
28347
|
+
"kind": "field",
|
28348
|
+
"name": "typeInternal",
|
28349
|
+
"type": {
|
28350
|
+
"text": "ButtonTypeInternal"
|
28351
|
+
},
|
28352
|
+
"privacy": "protected"
|
28353
|
+
},
|
28354
|
+
{
|
28355
|
+
"kind": "method",
|
28356
|
+
"name": "setSize",
|
28357
|
+
"privacy": "protected",
|
28358
|
+
"return": {
|
28359
|
+
"type": {
|
28360
|
+
"text": "void"
|
28361
|
+
}
|
28362
|
+
},
|
28363
|
+
"parameters": [
|
28364
|
+
{
|
28365
|
+
"name": "size",
|
28366
|
+
"type": {
|
28367
|
+
"text": "PillButtonSize | IconButtonSize"
|
28368
|
+
}
|
28369
|
+
}
|
28370
|
+
]
|
28371
|
+
},
|
28372
|
+
{
|
28373
|
+
"kind": "method",
|
28374
|
+
"name": "setVariant",
|
28375
|
+
"privacy": "protected",
|
28376
|
+
"return": {
|
28377
|
+
"type": {
|
28378
|
+
"text": "void"
|
28379
|
+
}
|
28380
|
+
},
|
28381
|
+
"parameters": [
|
28382
|
+
{
|
28383
|
+
"name": "variant",
|
28384
|
+
"type": {
|
28385
|
+
"text": "ButtonVariant"
|
28386
|
+
}
|
28387
|
+
}
|
28388
|
+
]
|
28389
|
+
},
|
28390
|
+
{
|
28391
|
+
"kind": "method",
|
28392
|
+
"name": "setColor",
|
28393
|
+
"privacy": "protected",
|
28394
|
+
"return": {
|
28395
|
+
"type": {
|
28396
|
+
"text": "void"
|
28397
|
+
}
|
28398
|
+
},
|
28399
|
+
"parameters": [
|
28400
|
+
{
|
28401
|
+
"name": "color",
|
28402
|
+
"type": {
|
28403
|
+
"text": "ButtonColor"
|
28404
|
+
}
|
28405
|
+
}
|
28406
|
+
]
|
28407
|
+
},
|
28408
|
+
{
|
28409
|
+
"kind": "method",
|
28410
|
+
"name": "inferButtonType",
|
28411
|
+
"privacy": "protected",
|
28412
|
+
"return": {
|
28413
|
+
"type": {
|
28414
|
+
"text": "void"
|
28415
|
+
}
|
28416
|
+
}
|
28417
|
+
}
|
28418
|
+
]
|
28419
|
+
},
|
27047
28420
|
{
|
27048
28421
|
"kind": "mixin",
|
27049
28422
|
"description": "",
|
@@ -27092,6 +28465,7 @@
|
|
27092
28465
|
{
|
27093
28466
|
"kind": "method",
|
27094
28467
|
"name": "setVariant",
|
28468
|
+
"privacy": "protected",
|
27095
28469
|
"parameters": [
|
27096
28470
|
{
|
27097
28471
|
"name": "variant",
|
@@ -27106,6 +28480,7 @@
|
|
27106
28480
|
{
|
27107
28481
|
"kind": "method",
|
27108
28482
|
"name": "setColor",
|
28483
|
+
"privacy": "protected",
|
27109
28484
|
"parameters": [
|
27110
28485
|
{
|
27111
28486
|
"name": "color",
|
@@ -27120,6 +28495,7 @@
|
|
27120
28495
|
{
|
27121
28496
|
"kind": "method",
|
27122
28497
|
"name": "setSize",
|
28498
|
+
"privacy": "protected",
|
27123
28499
|
"parameters": [
|
27124
28500
|
{
|
27125
28501
|
"name": "size",
|
@@ -27134,6 +28510,7 @@
|
|
27134
28510
|
{
|
27135
28511
|
"kind": "method",
|
27136
28512
|
"name": "inferButtonType",
|
28513
|
+
"privacy": "protected",
|
27137
28514
|
"description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
|
27138
28515
|
"parameters": [
|
27139
28516
|
{
|
@@ -27190,6 +28567,14 @@
|
|
27190
28567
|
}
|
27191
28568
|
],
|
27192
28569
|
"exports": [
|
28570
|
+
{
|
28571
|
+
"kind": "js",
|
28572
|
+
"name": "ButtonComponentMixinInterface",
|
28573
|
+
"declaration": {
|
28574
|
+
"name": "ButtonComponentMixinInterface",
|
28575
|
+
"module": "utils/mixins/ButtonComponentMixin.js"
|
28576
|
+
}
|
28577
|
+
},
|
27193
28578
|
{
|
27194
28579
|
"kind": "js",
|
27195
28580
|
"name": "ButtonComponentMixin",
|
@@ -27204,6 +28589,100 @@
|
|
27204
28589
|
"kind": "javascript-module",
|
27205
28590
|
"path": "utils/mixins/CardComponentMixin.js",
|
27206
28591
|
"declarations": [
|
28592
|
+
{
|
28593
|
+
"kind": "class",
|
28594
|
+
"description": "",
|
28595
|
+
"name": "CardComponentMixinInterface",
|
28596
|
+
"members": [
|
28597
|
+
{
|
28598
|
+
"kind": "field",
|
28599
|
+
"name": "cardTitle",
|
28600
|
+
"type": {
|
28601
|
+
"text": "string"
|
28602
|
+
}
|
28603
|
+
},
|
28604
|
+
{
|
28605
|
+
"kind": "field",
|
28606
|
+
"name": "subtitle",
|
28607
|
+
"type": {
|
28608
|
+
"text": "string"
|
28609
|
+
}
|
28610
|
+
},
|
28611
|
+
{
|
28612
|
+
"kind": "field",
|
28613
|
+
"name": "imageSrc",
|
28614
|
+
"type": {
|
28615
|
+
"text": "string"
|
28616
|
+
}
|
28617
|
+
},
|
28618
|
+
{
|
28619
|
+
"kind": "field",
|
28620
|
+
"name": "imageAlt",
|
28621
|
+
"type": {
|
28622
|
+
"text": "string"
|
28623
|
+
}
|
28624
|
+
},
|
28625
|
+
{
|
28626
|
+
"kind": "field",
|
28627
|
+
"name": "variant",
|
28628
|
+
"type": {
|
28629
|
+
"text": "CardVariant"
|
28630
|
+
}
|
28631
|
+
},
|
28632
|
+
{
|
28633
|
+
"kind": "field",
|
28634
|
+
"name": "orientation",
|
28635
|
+
"type": {
|
28636
|
+
"text": "CardOrientation"
|
28637
|
+
}
|
28638
|
+
},
|
28639
|
+
{
|
28640
|
+
"kind": "field",
|
28641
|
+
"name": "titleTagName",
|
28642
|
+
"type": {
|
28643
|
+
"text": "TagNameType"
|
28644
|
+
}
|
28645
|
+
},
|
28646
|
+
{
|
28647
|
+
"kind": "field",
|
28648
|
+
"name": "subtitleTagName",
|
28649
|
+
"type": {
|
28650
|
+
"text": "TagNameType"
|
28651
|
+
}
|
28652
|
+
},
|
28653
|
+
{
|
28654
|
+
"kind": "field",
|
28655
|
+
"name": "iconName",
|
28656
|
+
"type": {
|
28657
|
+
"text": "IconNames | undefined"
|
28658
|
+
}
|
28659
|
+
},
|
28660
|
+
{
|
28661
|
+
"kind": "field",
|
28662
|
+
"name": "renderIcon",
|
28663
|
+
"type": {
|
28664
|
+
"text": "() => TemplateResult"
|
28665
|
+
},
|
28666
|
+
"privacy": "protected"
|
28667
|
+
},
|
28668
|
+
{
|
28669
|
+
"kind": "field",
|
28670
|
+
"name": "renderImage",
|
28671
|
+
"type": {
|
28672
|
+
"text": "() => TemplateResult"
|
28673
|
+
},
|
28674
|
+
"privacy": "protected"
|
28675
|
+
},
|
28676
|
+
{
|
28677
|
+
"kind": "field",
|
28678
|
+
"name": "renderTitle",
|
28679
|
+
"type": {
|
28680
|
+
"text": "() => TemplateResult"
|
28681
|
+
},
|
28682
|
+
"privacy": "protected"
|
28683
|
+
}
|
28684
|
+
]
|
28685
|
+
},
|
27207
28686
|
{
|
27208
28687
|
"kind": "mixin",
|
27209
28688
|
"description": "",
|
@@ -27302,6 +28781,7 @@
|
|
27302
28781
|
{
|
27303
28782
|
"kind": "method",
|
27304
28783
|
"name": "renderImage",
|
28784
|
+
"privacy": "protected",
|
27305
28785
|
"description": "Renders the image on the card if image source is provided",
|
27306
28786
|
"return": {
|
27307
28787
|
"type": {
|
@@ -27312,6 +28792,7 @@
|
|
27312
28792
|
{
|
27313
28793
|
"kind": "method",
|
27314
28794
|
"name": "renderIcon",
|
28795
|
+
"privacy": "protected",
|
27315
28796
|
"description": "Renders the icon on the card if icon name is provided",
|
27316
28797
|
"return": {
|
27317
28798
|
"type": {
|
@@ -27322,6 +28803,7 @@
|
|
27322
28803
|
{
|
27323
28804
|
"kind": "method",
|
27324
28805
|
"name": "renderTitle",
|
28806
|
+
"privacy": "protected",
|
27325
28807
|
"description": "Renders the title and subtitle on the card",
|
27326
28808
|
"return": {
|
27327
28809
|
"type": {
|
@@ -27423,6 +28905,14 @@
|
|
27423
28905
|
}
|
27424
28906
|
],
|
27425
28907
|
"exports": [
|
28908
|
+
{
|
28909
|
+
"kind": "js",
|
28910
|
+
"name": "CardComponentMixinInterface",
|
28911
|
+
"declaration": {
|
28912
|
+
"name": "CardComponentMixinInterface",
|
28913
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
28914
|
+
}
|
28915
|
+
},
|
27426
28916
|
{
|
27427
28917
|
"kind": "js",
|
27428
28918
|
"name": "CardComponentMixin",
|
@@ -27543,6 +29033,63 @@
|
|
27543
29033
|
"kind": "javascript-module",
|
27544
29034
|
"path": "utils/mixins/FocusTrapMixin.js",
|
27545
29035
|
"declarations": [
|
29036
|
+
{
|
29037
|
+
"kind": "class",
|
29038
|
+
"description": "",
|
29039
|
+
"name": "FocusTrapClassInterface",
|
29040
|
+
"members": [
|
29041
|
+
{
|
29042
|
+
"kind": "field",
|
29043
|
+
"name": "enabledFocusTrap",
|
29044
|
+
"type": {
|
29045
|
+
"text": "boolean"
|
29046
|
+
}
|
29047
|
+
},
|
29048
|
+
{
|
29049
|
+
"kind": "field",
|
29050
|
+
"name": "enabledPreventScroll",
|
29051
|
+
"type": {
|
29052
|
+
"text": "boolean"
|
29053
|
+
}
|
29054
|
+
},
|
29055
|
+
{
|
29056
|
+
"kind": "method",
|
29057
|
+
"name": "setFocusableElements",
|
29058
|
+
"return": {
|
29059
|
+
"type": {
|
29060
|
+
"text": "void"
|
29061
|
+
}
|
29062
|
+
}
|
29063
|
+
},
|
29064
|
+
{
|
29065
|
+
"kind": "method",
|
29066
|
+
"name": "setInitialFocus",
|
29067
|
+
"return": {
|
29068
|
+
"type": {
|
29069
|
+
"text": "void"
|
29070
|
+
}
|
29071
|
+
},
|
29072
|
+
"parameters": [
|
29073
|
+
{
|
29074
|
+
"name": "prefferableElement",
|
29075
|
+
"optional": true,
|
29076
|
+
"type": {
|
29077
|
+
"text": "number"
|
29078
|
+
}
|
29079
|
+
}
|
29080
|
+
]
|
29081
|
+
},
|
29082
|
+
{
|
29083
|
+
"kind": "method",
|
29084
|
+
"name": "deactivateFocusTrap",
|
29085
|
+
"return": {
|
29086
|
+
"type": {
|
29087
|
+
"text": "void"
|
29088
|
+
}
|
29089
|
+
}
|
29090
|
+
}
|
29091
|
+
]
|
29092
|
+
},
|
27546
29093
|
{
|
27547
29094
|
"kind": "mixin",
|
27548
29095
|
"description": "",
|
@@ -27578,6 +29125,7 @@
|
|
27578
29125
|
{
|
27579
29126
|
"kind": "method",
|
27580
29127
|
"name": "deactivateFocusTrap",
|
29128
|
+
"privacy": "public",
|
27581
29129
|
"description": "Deactivate the focus trap."
|
27582
29130
|
},
|
27583
29131
|
{
|
@@ -27957,6 +29505,14 @@
|
|
27957
29505
|
}
|
27958
29506
|
],
|
27959
29507
|
"exports": [
|
29508
|
+
{
|
29509
|
+
"kind": "js",
|
29510
|
+
"name": "FocusTrapClassInterface",
|
29511
|
+
"declaration": {
|
29512
|
+
"name": "FocusTrapClassInterface",
|
29513
|
+
"module": "utils/mixins/FocusTrapMixin.js"
|
29514
|
+
}
|
29515
|
+
},
|
27960
29516
|
{
|
27961
29517
|
"kind": "js",
|
27962
29518
|
"name": "FocusTrapMixin",
|
@@ -27971,6 +29527,98 @@
|
|
27971
29527
|
"kind": "javascript-module",
|
27972
29528
|
"path": "utils/mixins/FormInternalsMixin.js",
|
27973
29529
|
"declarations": [
|
29530
|
+
{
|
29531
|
+
"kind": "class",
|
29532
|
+
"description": "",
|
29533
|
+
"name": "FormInternalsMixinInterface",
|
29534
|
+
"members": [
|
29535
|
+
{
|
29536
|
+
"kind": "field",
|
29537
|
+
"name": "name",
|
29538
|
+
"type": {
|
29539
|
+
"text": "string"
|
29540
|
+
}
|
29541
|
+
},
|
29542
|
+
{
|
29543
|
+
"kind": "field",
|
29544
|
+
"name": "value",
|
29545
|
+
"type": {
|
29546
|
+
"text": "string"
|
29547
|
+
}
|
29548
|
+
},
|
29549
|
+
{
|
29550
|
+
"kind": "field",
|
29551
|
+
"name": "form",
|
29552
|
+
"type": {
|
29553
|
+
"text": "HTMLFormElement | null"
|
29554
|
+
}
|
29555
|
+
},
|
29556
|
+
{
|
29557
|
+
"kind": "field",
|
29558
|
+
"name": "validity",
|
29559
|
+
"type": {
|
29560
|
+
"text": "ValidityState"
|
29561
|
+
}
|
29562
|
+
},
|
29563
|
+
{
|
29564
|
+
"kind": "field",
|
29565
|
+
"name": "validationMessage",
|
29566
|
+
"type": {
|
29567
|
+
"text": "string"
|
29568
|
+
}
|
29569
|
+
},
|
29570
|
+
{
|
29571
|
+
"kind": "field",
|
29572
|
+
"name": "willValidate",
|
29573
|
+
"type": {
|
29574
|
+
"text": "boolean"
|
29575
|
+
}
|
29576
|
+
},
|
29577
|
+
{
|
29578
|
+
"kind": "field",
|
29579
|
+
"name": "internals",
|
29580
|
+
"type": {
|
29581
|
+
"text": "ElementInternals"
|
29582
|
+
},
|
29583
|
+
"privacy": "protected"
|
29584
|
+
},
|
29585
|
+
{
|
29586
|
+
"kind": "field",
|
29587
|
+
"name": "inputElement",
|
29588
|
+
"type": {
|
29589
|
+
"text": "HTMLInputElement | HTMLTextAreaElement"
|
29590
|
+
},
|
29591
|
+
"privacy": "protected"
|
29592
|
+
},
|
29593
|
+
{
|
29594
|
+
"kind": "method",
|
29595
|
+
"name": "setValidity",
|
29596
|
+
"return": {
|
29597
|
+
"type": {
|
29598
|
+
"text": "void"
|
29599
|
+
}
|
29600
|
+
}
|
29601
|
+
},
|
29602
|
+
{
|
29603
|
+
"kind": "method",
|
29604
|
+
"name": "checkValidity",
|
29605
|
+
"return": {
|
29606
|
+
"type": {
|
29607
|
+
"text": "boolean"
|
29608
|
+
}
|
29609
|
+
}
|
29610
|
+
},
|
29611
|
+
{
|
29612
|
+
"kind": "method",
|
29613
|
+
"name": "reportValidity",
|
29614
|
+
"return": {
|
29615
|
+
"type": {
|
29616
|
+
"text": "boolean"
|
29617
|
+
}
|
29618
|
+
}
|
29619
|
+
}
|
29620
|
+
]
|
29621
|
+
},
|
27974
29622
|
{
|
27975
29623
|
"kind": "mixin",
|
27976
29624
|
"description": "",
|
@@ -28084,6 +29732,14 @@
|
|
28084
29732
|
}
|
28085
29733
|
],
|
28086
29734
|
"exports": [
|
29735
|
+
{
|
29736
|
+
"kind": "js",
|
29737
|
+
"name": "FormInternalsMixinInterface",
|
29738
|
+
"declaration": {
|
29739
|
+
"name": "FormInternalsMixinInterface",
|
29740
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
29741
|
+
}
|
29742
|
+
},
|
28087
29743
|
{
|
28088
29744
|
"kind": "js",
|
28089
29745
|
"name": "FormInternalsMixin",
|