@momentum-design/components 0.81.2 → 0.81.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 +230 -225
- package/dist/browser/index.js.map +4 -4
- package/dist/components/avatarbutton/avatarbutton.component.js +2 -1
- package/dist/components/badge/badge.component.js +2 -1
- package/dist/components/optgroup/optgroup.component.js +3 -2
- package/dist/components/option/option.component.d.ts +0 -4
- package/dist/components/option/option.component.js +3 -9
- package/dist/components/popover/popover.component.js +4 -4
- package/dist/components/popover/popover.utils.js +7 -7
- package/dist/components/progressbar/progressbar.component.js +2 -1
- package/dist/components/progressspinner/progressspinner.component.js +2 -1
- package/dist/components/radio/radio.component.js +2 -1
- package/dist/components/select/select.component.d.ts +0 -10
- package/dist/components/select/select.component.js +67 -53
- package/dist/components/select/select.constants.d.ts +2 -1
- package/dist/components/select/select.constants.js +2 -1
- package/dist/components/select/select.styles.js +2 -1
- package/dist/components/spinner/spinner.component.js +2 -1
- package/dist/components/tab/tab.component.js +2 -1
- package/dist/components/tablist/tablist.component.js +2 -1
- package/dist/components/toggle/toggle.component.js +2 -1
- package/dist/custom-elements.json +1229 -1274
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/dist/utils/keys.d.ts +1 -0
- package/dist/utils/keys.js +1 -0
- package/dist/utils/mixins/FormInternalsMixin.js +1 -1
- package/dist/utils/roles.d.ts +9 -0
- package/dist/utils/roles.js +9 -0
- package/package.json +1 -1
|
@@ -4,509 +4,203 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/animation/animation.component.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
|
-
"description": "mdc-
|
|
12
|
-
"name": "
|
|
13
|
-
"cssProperties": [
|
|
14
|
-
{
|
|
15
|
-
"description": "The color of the label text",
|
|
16
|
-
"name": "--mdc-chip-color"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"description": "The color of the icon",
|
|
20
|
-
"name": "--mdc-chip-icon-color"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"description": "The border color of the alertchip",
|
|
24
|
-
"name": "--mdc-chip-border-color"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"description": "The background color of the alertchip",
|
|
28
|
-
"name": "--mdc-chip-background-color"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
11
|
+
"description": "The `mdc-animation` component is a wrapper around the Lottie animation library.\nIt fetches the animation data dynamically based on the provided name and renders it.\nThis is a display only component that does not have any interactive functionality.\nFrom accessibility perspective, (by default) it is a decorative image component.",
|
|
12
|
+
"name": "Animation",
|
|
31
13
|
"members": [
|
|
32
14
|
{
|
|
33
15
|
"kind": "field",
|
|
34
|
-
"name": "
|
|
35
|
-
"type": {
|
|
36
|
-
"text": "VariantType"
|
|
37
|
-
},
|
|
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"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"kind": "field",
|
|
44
|
-
"name": "label",
|
|
45
|
-
"type": {
|
|
46
|
-
"text": "string"
|
|
47
|
-
},
|
|
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"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"kind": "field",
|
|
54
|
-
"name": "autofocus",
|
|
16
|
+
"name": "name",
|
|
55
17
|
"type": {
|
|
56
|
-
"text": "
|
|
18
|
+
"text": "AnimationNames | undefined"
|
|
57
19
|
},
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"reflects": true,
|
|
62
|
-
"inheritedFrom": {
|
|
63
|
-
"name": "AutoFocusMixin",
|
|
64
|
-
"module": "utils/mixins/AutoFocusMixin.js"
|
|
65
|
-
}
|
|
20
|
+
"description": "Name of the animation (= filename)",
|
|
21
|
+
"attribute": "name",
|
|
22
|
+
"reflects": true
|
|
66
23
|
},
|
|
67
24
|
{
|
|
68
25
|
"kind": "field",
|
|
69
|
-
"name": "
|
|
26
|
+
"name": "loop",
|
|
70
27
|
"type": {
|
|
71
|
-
"text": "
|
|
28
|
+
"text": "LoopType | undefined"
|
|
72
29
|
},
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"reflects": true,
|
|
77
|
-
"inheritedFrom": {
|
|
78
|
-
"name": "TabIndexMixin",
|
|
79
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
|
80
|
-
}
|
|
30
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
31
|
+
"attribute": "loop",
|
|
32
|
+
"reflects": true
|
|
81
33
|
},
|
|
82
34
|
{
|
|
83
35
|
"kind": "field",
|
|
84
|
-
"name": "
|
|
36
|
+
"name": "autoplay",
|
|
85
37
|
"type": {
|
|
86
38
|
"text": "boolean | undefined"
|
|
87
39
|
},
|
|
88
|
-
"description": "
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"reflects": true,
|
|
92
|
-
"inheritedFrom": {
|
|
93
|
-
"name": "DisabledMixin",
|
|
94
|
-
"module": "utils/mixins/DisabledMixin.js"
|
|
95
|
-
}
|
|
40
|
+
"description": "Weather start the animation automatically",
|
|
41
|
+
"attribute": "autoplay",
|
|
42
|
+
"reflects": true
|
|
96
43
|
},
|
|
97
44
|
{
|
|
98
45
|
"kind": "field",
|
|
99
|
-
"name": "
|
|
46
|
+
"name": "ariaLabel",
|
|
100
47
|
"type": {
|
|
101
|
-
"text": "
|
|
48
|
+
"text": "string | null"
|
|
102
49
|
},
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"attribute": "
|
|
106
|
-
"reflects": true,
|
|
107
|
-
"inheritedFrom": {
|
|
108
|
-
"name": "Buttonsimple",
|
|
109
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
110
|
-
}
|
|
50
|
+
"default": "null",
|
|
51
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
52
|
+
"attribute": "aria-label"
|
|
111
53
|
},
|
|
112
54
|
{
|
|
113
55
|
"kind": "field",
|
|
114
|
-
"name": "
|
|
56
|
+
"name": "ariaLabelledBy",
|
|
115
57
|
"type": {
|
|
116
|
-
"text": "
|
|
58
|
+
"text": "string | null"
|
|
117
59
|
},
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"attribute": "
|
|
121
|
-
"reflects": true,
|
|
122
|
-
"inheritedFrom": {
|
|
123
|
-
"name": "Buttonsimple",
|
|
124
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
125
|
-
}
|
|
60
|
+
"default": "null",
|
|
61
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
62
|
+
"attribute": "aria-labelledby"
|
|
126
63
|
},
|
|
127
64
|
{
|
|
128
65
|
"kind": "field",
|
|
129
|
-
"name": "
|
|
66
|
+
"name": "lottieInstance",
|
|
130
67
|
"type": {
|
|
131
|
-
"text": "
|
|
68
|
+
"text": "AnimationItem | undefined"
|
|
132
69
|
},
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"attribute": "size",
|
|
136
|
-
"reflects": true,
|
|
137
|
-
"inheritedFrom": {
|
|
138
|
-
"name": "Buttonsimple",
|
|
139
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"kind": "field",
|
|
144
|
-
"name": "role",
|
|
145
|
-
"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.",
|
|
146
|
-
"default": "button",
|
|
147
|
-
"attribute": "role",
|
|
148
|
-
"reflects": true,
|
|
149
|
-
"inheritedFrom": {
|
|
150
|
-
"name": "Buttonsimple",
|
|
151
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
152
|
-
}
|
|
70
|
+
"privacy": "private",
|
|
71
|
+
"description": "Lottie animation instance"
|
|
153
72
|
},
|
|
154
73
|
{
|
|
155
74
|
"kind": "field",
|
|
156
|
-
"name": "
|
|
75
|
+
"name": "containerRef",
|
|
157
76
|
"type": {
|
|
158
|
-
"text": "
|
|
77
|
+
"text": "Ref<HTMLDivElement>"
|
|
159
78
|
},
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"attribute": "ariaStateKey",
|
|
163
|
-
"reflects": true,
|
|
164
|
-
"inheritedFrom": {
|
|
165
|
-
"name": "Buttonsimple",
|
|
166
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
167
|
-
}
|
|
79
|
+
"privacy": "private",
|
|
80
|
+
"description": "Container for the animation"
|
|
168
81
|
},
|
|
169
82
|
{
|
|
170
83
|
"kind": "field",
|
|
171
|
-
"name": "
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
},
|
|
175
|
-
"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.",
|
|
176
|
-
"default": "button",
|
|
177
|
-
"attribute": "type",
|
|
178
|
-
"reflects": true,
|
|
179
|
-
"inheritedFrom": {
|
|
180
|
-
"name": "Buttonsimple",
|
|
181
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
182
|
-
}
|
|
84
|
+
"name": "animation",
|
|
85
|
+
"description": "Exposed API of the animation library (lottie)",
|
|
86
|
+
"readonly": true
|
|
183
87
|
},
|
|
184
88
|
{
|
|
185
89
|
"kind": "method",
|
|
186
|
-
"name": "
|
|
187
|
-
"privacy": "
|
|
188
|
-
"inheritedFrom": {
|
|
189
|
-
"name": "Buttonsimple",
|
|
190
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
191
|
-
}
|
|
90
|
+
"name": "getLoopValue",
|
|
91
|
+
"privacy": "private"
|
|
192
92
|
},
|
|
193
93
|
{
|
|
194
94
|
"kind": "method",
|
|
195
|
-
"name": "
|
|
196
|
-
"privacy": "
|
|
95
|
+
"name": "onLoadSuccessHandler",
|
|
96
|
+
"privacy": "private",
|
|
197
97
|
"parameters": [
|
|
198
98
|
{
|
|
199
|
-
"name": "
|
|
200
|
-
"type": {
|
|
201
|
-
"text": "HTMLElement"
|
|
202
|
-
},
|
|
203
|
-
"description": "The button element"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "active",
|
|
207
|
-
"optional": true,
|
|
99
|
+
"name": "animationData",
|
|
208
100
|
"type": {
|
|
209
|
-
"text": "
|
|
210
|
-
}
|
|
211
|
-
"description": "The active state of the element"
|
|
101
|
+
"text": "any"
|
|
102
|
+
}
|
|
212
103
|
}
|
|
213
104
|
],
|
|
214
|
-
"description": "
|
|
215
|
-
"inheritedFrom": {
|
|
216
|
-
"name": "Buttonsimple",
|
|
217
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
218
|
-
}
|
|
105
|
+
"description": "Create new lotty instance for the loaded data"
|
|
219
106
|
},
|
|
220
107
|
{
|
|
221
108
|
"kind": "method",
|
|
222
|
-
"name": "
|
|
109
|
+
"name": "onLoadFailHandler",
|
|
223
110
|
"privacy": "private",
|
|
224
111
|
"parameters": [
|
|
225
112
|
{
|
|
226
|
-
"name": "
|
|
227
|
-
"type": {
|
|
228
|
-
"text": "HTMLElement"
|
|
229
|
-
},
|
|
230
|
-
"description": "The button element."
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "softDisabled",
|
|
234
|
-
"optional": true,
|
|
113
|
+
"name": "error",
|
|
235
114
|
"type": {
|
|
236
|
-
"text": "
|
|
237
|
-
}
|
|
238
|
-
"description": "The soft-disabled state."
|
|
115
|
+
"text": "Error"
|
|
116
|
+
}
|
|
239
117
|
}
|
|
240
118
|
],
|
|
241
|
-
"description": "
|
|
242
|
-
"inheritedFrom": {
|
|
243
|
-
"name": "Buttonsimple",
|
|
244
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
245
|
-
}
|
|
119
|
+
"description": "Error handler for animation loading"
|
|
246
120
|
},
|
|
247
121
|
{
|
|
248
122
|
"kind": "method",
|
|
249
|
-
"name": "
|
|
123
|
+
"name": "getAnimationData",
|
|
250
124
|
"privacy": "private",
|
|
251
|
-
"
|
|
252
|
-
{
|
|
253
|
-
"name": "element",
|
|
254
|
-
"type": {
|
|
255
|
-
"text": "HTMLElement"
|
|
256
|
-
},
|
|
257
|
-
"description": "The button element."
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"name": "disabled",
|
|
261
|
-
"type": {
|
|
262
|
-
"text": "boolean"
|
|
263
|
-
},
|
|
264
|
-
"description": "The disabled state."
|
|
265
|
-
}
|
|
266
|
-
],
|
|
267
|
-
"description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
|
|
268
|
-
"inheritedFrom": {
|
|
269
|
-
"name": "Buttonsimple",
|
|
270
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
271
|
-
}
|
|
125
|
+
"description": "Import animation data dynamically"
|
|
272
126
|
},
|
|
273
127
|
{
|
|
274
|
-
"kind": "
|
|
275
|
-
"name": "
|
|
276
|
-
"
|
|
277
|
-
"inheritedFrom": {
|
|
278
|
-
"name": "Buttonsimple",
|
|
279
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"kind": "method",
|
|
284
|
-
"name": "handleBlur",
|
|
285
|
-
"privacy": "private",
|
|
286
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
287
|
-
"inheritedFrom": {
|
|
288
|
-
"name": "Buttonsimple",
|
|
289
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"kind": "method",
|
|
294
|
-
"name": "handleKeyDown",
|
|
295
|
-
"privacy": "private",
|
|
296
|
-
"parameters": [
|
|
297
|
-
{
|
|
298
|
-
"name": "event",
|
|
299
|
-
"type": {
|
|
300
|
-
"text": "KeyboardEvent"
|
|
301
|
-
},
|
|
302
|
-
"description": "The keyboard event."
|
|
303
|
-
}
|
|
304
|
-
],
|
|
305
|
-
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
|
306
|
-
"inheritedFrom": {
|
|
307
|
-
"name": "Buttonsimple",
|
|
308
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"kind": "method",
|
|
313
|
-
"name": "handleKeyUp",
|
|
314
|
-
"privacy": "private",
|
|
315
|
-
"parameters": [
|
|
316
|
-
{
|
|
317
|
-
"name": "event",
|
|
318
|
-
"type": {
|
|
319
|
-
"text": "KeyboardEvent"
|
|
320
|
-
},
|
|
321
|
-
"description": "The keyboard event."
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
|
|
325
|
-
"inheritedFrom": {
|
|
326
|
-
"name": "Buttonsimple",
|
|
327
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
328
|
-
}
|
|
128
|
+
"kind": "field",
|
|
129
|
+
"name": "onCompleteHandler",
|
|
130
|
+
"description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
|
|
329
131
|
}
|
|
330
132
|
],
|
|
331
|
-
"
|
|
332
|
-
{
|
|
333
|
-
"name": "variant",
|
|
334
|
-
"type": {
|
|
335
|
-
"text": "VariantType"
|
|
336
|
-
},
|
|
337
|
-
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
|
338
|
-
"default": "neutral",
|
|
339
|
-
"fieldName": "variant"
|
|
340
|
-
},
|
|
133
|
+
"events": [
|
|
341
134
|
{
|
|
342
|
-
"name": "
|
|
135
|
+
"name": "load",
|
|
343
136
|
"type": {
|
|
344
|
-
"text": "
|
|
137
|
+
"text": "CustomEvent"
|
|
345
138
|
},
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"fieldName": "label"
|
|
139
|
+
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
|
140
|
+
"reactName": "onLoad"
|
|
349
141
|
},
|
|
350
142
|
{
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
|
|
354
|
-
},
|
|
355
|
-
"default": "false",
|
|
356
|
-
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
|
357
|
-
"fieldName": "autofocus",
|
|
358
|
-
"inheritedFrom": {
|
|
359
|
-
"name": "AutoFocusMixin",
|
|
360
|
-
"module": "src/utils/mixins/AutoFocusMixin.ts"
|
|
361
|
-
}
|
|
143
|
+
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
|
144
|
+
"name": "complete",
|
|
145
|
+
"reactName": "onComplete"
|
|
362
146
|
},
|
|
363
147
|
{
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
"fieldName": "tabIndex",
|
|
371
|
-
"inheritedFrom": {
|
|
372
|
-
"name": "TabIndexMixin",
|
|
373
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
374
|
-
}
|
|
375
|
-
},
|
|
148
|
+
"description": "(React: onError) This event is dispatched when animation loading failed",
|
|
149
|
+
"name": "error",
|
|
150
|
+
"reactName": "onError"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"attributes": [
|
|
376
154
|
{
|
|
377
|
-
"name": "
|
|
155
|
+
"name": "name",
|
|
378
156
|
"type": {
|
|
379
|
-
"text": "
|
|
157
|
+
"text": "AnimationNames | undefined"
|
|
380
158
|
},
|
|
381
|
-
"description": "
|
|
382
|
-
"
|
|
383
|
-
"fieldName": "disabled",
|
|
384
|
-
"inheritedFrom": {
|
|
385
|
-
"name": "DisabledMixin",
|
|
386
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
387
|
-
}
|
|
159
|
+
"description": "Name of the animation (= filename)",
|
|
160
|
+
"fieldName": "name"
|
|
388
161
|
},
|
|
389
162
|
{
|
|
390
|
-
"name": "
|
|
163
|
+
"name": "loop",
|
|
391
164
|
"type": {
|
|
392
|
-
"text": "
|
|
165
|
+
"text": "LoopType | undefined"
|
|
393
166
|
},
|
|
394
|
-
"description": "
|
|
395
|
-
"
|
|
396
|
-
"fieldName": "active",
|
|
397
|
-
"inheritedFrom": {
|
|
398
|
-
"name": "Buttonsimple",
|
|
399
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
400
|
-
}
|
|
167
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
168
|
+
"fieldName": "loop"
|
|
401
169
|
},
|
|
402
170
|
{
|
|
403
|
-
"name": "
|
|
171
|
+
"name": "autoplay",
|
|
404
172
|
"type": {
|
|
405
173
|
"text": "boolean | undefined"
|
|
406
174
|
},
|
|
407
|
-
"description": "
|
|
408
|
-
"
|
|
409
|
-
"fieldName": "softDisabled",
|
|
410
|
-
"inheritedFrom": {
|
|
411
|
-
"name": "Buttonsimple",
|
|
412
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"name": "size",
|
|
417
|
-
"type": {
|
|
418
|
-
"text": "ButtonSize"
|
|
419
|
-
},
|
|
420
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
421
|
-
"default": "32",
|
|
422
|
-
"fieldName": "size",
|
|
423
|
-
"inheritedFrom": {
|
|
424
|
-
"name": "Buttonsimple",
|
|
425
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"name": "role",
|
|
430
|
-
"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.",
|
|
431
|
-
"default": "button",
|
|
432
|
-
"fieldName": "role",
|
|
433
|
-
"inheritedFrom": {
|
|
434
|
-
"name": "Buttonsimple",
|
|
435
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
436
|
-
}
|
|
175
|
+
"description": "Weather start the animation automatically",
|
|
176
|
+
"fieldName": "autoplay"
|
|
437
177
|
},
|
|
438
178
|
{
|
|
439
|
-
"name": "
|
|
179
|
+
"name": "aria-label",
|
|
440
180
|
"type": {
|
|
441
|
-
"text": "string |
|
|
181
|
+
"text": "string | null"
|
|
442
182
|
},
|
|
443
|
-
"
|
|
444
|
-
"
|
|
445
|
-
"fieldName": "
|
|
446
|
-
"inheritedFrom": {
|
|
447
|
-
"name": "Buttonsimple",
|
|
448
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
449
|
-
}
|
|
183
|
+
"default": "null",
|
|
184
|
+
"description": "Aria-label attribute to be set for accessibility",
|
|
185
|
+
"fieldName": "ariaLabel"
|
|
450
186
|
},
|
|
451
187
|
{
|
|
452
|
-
"name": "
|
|
188
|
+
"name": "aria-labelledby",
|
|
453
189
|
"type": {
|
|
454
|
-
"text": "
|
|
190
|
+
"text": "string | null"
|
|
455
191
|
},
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"fieldName": "
|
|
459
|
-
"inheritedFrom": {
|
|
460
|
-
"name": "Buttonsimple",
|
|
461
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
462
|
-
}
|
|
192
|
+
"default": "null",
|
|
193
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
194
|
+
"fieldName": "ariaLabelledBy"
|
|
463
195
|
}
|
|
464
196
|
],
|
|
465
197
|
"superclass": {
|
|
466
|
-
"name": "
|
|
467
|
-
"module": "/src/
|
|
198
|
+
"name": "Component",
|
|
199
|
+
"module": "/src/models"
|
|
468
200
|
},
|
|
469
|
-
"tagName": "mdc-
|
|
470
|
-
"jsDoc": "/**\n * mdc-
|
|
471
|
-
"customElement": true
|
|
472
|
-
"events": [
|
|
473
|
-
{
|
|
474
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
|
475
|
-
"name": "click",
|
|
476
|
-
"reactName": "onClick",
|
|
477
|
-
"inheritedFrom": {
|
|
478
|
-
"name": "Buttonsimple",
|
|
479
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
|
484
|
-
"name": "keydown",
|
|
485
|
-
"reactName": "onKeyDown",
|
|
486
|
-
"inheritedFrom": {
|
|
487
|
-
"name": "Buttonsimple",
|
|
488
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
|
493
|
-
"name": "keyup",
|
|
494
|
-
"reactName": "onKeyUp",
|
|
495
|
-
"inheritedFrom": {
|
|
496
|
-
"name": "Buttonsimple",
|
|
497
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
502
|
-
"name": "focus",
|
|
503
|
-
"reactName": "onFocus",
|
|
504
|
-
"inheritedFrom": {
|
|
505
|
-
"name": "Buttonsimple",
|
|
506
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
]
|
|
201
|
+
"tagName": "mdc-animation",
|
|
202
|
+
"jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
|
|
203
|
+
"customElement": true
|
|
510
204
|
}
|
|
511
205
|
],
|
|
512
206
|
"exports": [
|
|
@@ -514,233 +208,21 @@
|
|
|
514
208
|
"kind": "js",
|
|
515
209
|
"name": "default",
|
|
516
210
|
"declaration": {
|
|
517
|
-
"name": "
|
|
518
|
-
"module": "components/
|
|
211
|
+
"name": "Animation",
|
|
212
|
+
"module": "components/animation/animation.component.js"
|
|
519
213
|
}
|
|
520
214
|
}
|
|
521
215
|
]
|
|
522
216
|
},
|
|
523
217
|
{
|
|
524
218
|
"kind": "javascript-module",
|
|
525
|
-
"path": "components/
|
|
219
|
+
"path": "components/appheader/appheader.component.js",
|
|
526
220
|
"declarations": [
|
|
527
221
|
{
|
|
528
222
|
"kind": "class",
|
|
529
|
-
"description": "The `mdc-
|
|
530
|
-
"name": "
|
|
531
|
-
"
|
|
532
|
-
{
|
|
533
|
-
"kind": "field",
|
|
534
|
-
"name": "name",
|
|
535
|
-
"type": {
|
|
536
|
-
"text": "AnimationNames | undefined"
|
|
537
|
-
},
|
|
538
|
-
"description": "Name of the animation (= filename)",
|
|
539
|
-
"attribute": "name",
|
|
540
|
-
"reflects": true
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"kind": "field",
|
|
544
|
-
"name": "loop",
|
|
545
|
-
"type": {
|
|
546
|
-
"text": "LoopType | undefined"
|
|
547
|
-
},
|
|
548
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
549
|
-
"attribute": "loop",
|
|
550
|
-
"reflects": true
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"kind": "field",
|
|
554
|
-
"name": "autoplay",
|
|
555
|
-
"type": {
|
|
556
|
-
"text": "boolean | undefined"
|
|
557
|
-
},
|
|
558
|
-
"description": "Weather start the animation automatically",
|
|
559
|
-
"attribute": "autoplay",
|
|
560
|
-
"reflects": true
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"kind": "field",
|
|
564
|
-
"name": "ariaLabel",
|
|
565
|
-
"type": {
|
|
566
|
-
"text": "string | null"
|
|
567
|
-
},
|
|
568
|
-
"default": "null",
|
|
569
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
570
|
-
"attribute": "aria-label"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"kind": "field",
|
|
574
|
-
"name": "ariaLabelledBy",
|
|
575
|
-
"type": {
|
|
576
|
-
"text": "string | null"
|
|
577
|
-
},
|
|
578
|
-
"default": "null",
|
|
579
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
580
|
-
"attribute": "aria-labelledby"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"kind": "field",
|
|
584
|
-
"name": "lottieInstance",
|
|
585
|
-
"type": {
|
|
586
|
-
"text": "AnimationItem | undefined"
|
|
587
|
-
},
|
|
588
|
-
"privacy": "private",
|
|
589
|
-
"description": "Lottie animation instance"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"kind": "field",
|
|
593
|
-
"name": "containerRef",
|
|
594
|
-
"type": {
|
|
595
|
-
"text": "Ref<HTMLDivElement>"
|
|
596
|
-
},
|
|
597
|
-
"privacy": "private",
|
|
598
|
-
"description": "Container for the animation"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"kind": "field",
|
|
602
|
-
"name": "animation",
|
|
603
|
-
"description": "Exposed API of the animation library (lottie)",
|
|
604
|
-
"readonly": true
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"kind": "method",
|
|
608
|
-
"name": "getLoopValue",
|
|
609
|
-
"privacy": "private"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"kind": "method",
|
|
613
|
-
"name": "onLoadSuccessHandler",
|
|
614
|
-
"privacy": "private",
|
|
615
|
-
"parameters": [
|
|
616
|
-
{
|
|
617
|
-
"name": "animationData",
|
|
618
|
-
"type": {
|
|
619
|
-
"text": "any"
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
],
|
|
623
|
-
"description": "Create new lotty instance for the loaded data"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"kind": "method",
|
|
627
|
-
"name": "onLoadFailHandler",
|
|
628
|
-
"privacy": "private",
|
|
629
|
-
"parameters": [
|
|
630
|
-
{
|
|
631
|
-
"name": "error",
|
|
632
|
-
"type": {
|
|
633
|
-
"text": "Error"
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
],
|
|
637
|
-
"description": "Error handler for animation loading"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
"kind": "method",
|
|
641
|
-
"name": "getAnimationData",
|
|
642
|
-
"privacy": "private",
|
|
643
|
-
"description": "Import animation data dynamically"
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
"kind": "field",
|
|
647
|
-
"name": "onCompleteHandler",
|
|
648
|
-
"description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
|
|
649
|
-
}
|
|
650
|
-
],
|
|
651
|
-
"events": [
|
|
652
|
-
{
|
|
653
|
-
"name": "load",
|
|
654
|
-
"type": {
|
|
655
|
-
"text": "CustomEvent"
|
|
656
|
-
},
|
|
657
|
-
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
|
658
|
-
"reactName": "onLoad"
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
|
662
|
-
"name": "complete",
|
|
663
|
-
"reactName": "onComplete"
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"description": "(React: onError) This event is dispatched when animation loading failed",
|
|
667
|
-
"name": "error",
|
|
668
|
-
"reactName": "onError"
|
|
669
|
-
}
|
|
670
|
-
],
|
|
671
|
-
"attributes": [
|
|
672
|
-
{
|
|
673
|
-
"name": "name",
|
|
674
|
-
"type": {
|
|
675
|
-
"text": "AnimationNames | undefined"
|
|
676
|
-
},
|
|
677
|
-
"description": "Name of the animation (= filename)",
|
|
678
|
-
"fieldName": "name"
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"name": "loop",
|
|
682
|
-
"type": {
|
|
683
|
-
"text": "LoopType | undefined"
|
|
684
|
-
},
|
|
685
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
|
686
|
-
"fieldName": "loop"
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"name": "autoplay",
|
|
690
|
-
"type": {
|
|
691
|
-
"text": "boolean | undefined"
|
|
692
|
-
},
|
|
693
|
-
"description": "Weather start the animation automatically",
|
|
694
|
-
"fieldName": "autoplay"
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"name": "aria-label",
|
|
698
|
-
"type": {
|
|
699
|
-
"text": "string | null"
|
|
700
|
-
},
|
|
701
|
-
"default": "null",
|
|
702
|
-
"description": "Aria-label attribute to be set for accessibility",
|
|
703
|
-
"fieldName": "ariaLabel"
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
"name": "aria-labelledby",
|
|
707
|
-
"type": {
|
|
708
|
-
"text": "string | null"
|
|
709
|
-
},
|
|
710
|
-
"default": "null",
|
|
711
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
|
712
|
-
"fieldName": "ariaLabelledBy"
|
|
713
|
-
}
|
|
714
|
-
],
|
|
715
|
-
"superclass": {
|
|
716
|
-
"name": "Component",
|
|
717
|
-
"module": "/src/models"
|
|
718
|
-
},
|
|
719
|
-
"tagName": "mdc-animation",
|
|
720
|
-
"jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
|
|
721
|
-
"customElement": true
|
|
722
|
-
}
|
|
723
|
-
],
|
|
724
|
-
"exports": [
|
|
725
|
-
{
|
|
726
|
-
"kind": "js",
|
|
727
|
-
"name": "default",
|
|
728
|
-
"declaration": {
|
|
729
|
-
"name": "Animation",
|
|
730
|
-
"module": "components/animation/animation.component.js"
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
]
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"kind": "javascript-module",
|
|
737
|
-
"path": "components/appheader/appheader.component.js",
|
|
738
|
-
"declarations": [
|
|
739
|
-
{
|
|
740
|
-
"kind": "class",
|
|
741
|
-
"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**.",
|
|
742
|
-
"name": "Appheader",
|
|
743
|
-
"cssParts": [
|
|
223
|
+
"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**.",
|
|
224
|
+
"name": "Appheader",
|
|
225
|
+
"cssParts": [
|
|
744
226
|
{
|
|
745
227
|
"description": "The main container for styling the header.",
|
|
746
228
|
"name": "container"
|
|
@@ -884,143 +366,661 @@
|
|
|
884
366
|
"type": {
|
|
885
367
|
"text": "number | undefined"
|
|
886
368
|
},
|
|
887
|
-
"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`.",
|
|
888
|
-
"attribute": "counter",
|
|
889
|
-
"inheritedFrom": {
|
|
890
|
-
"name": "AvatarComponentMixin",
|
|
891
|
-
"module": "utils/mixins/AvatarComponentMixin.js"
|
|
892
|
-
}
|
|
369
|
+
"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`.",
|
|
370
|
+
"attribute": "counter",
|
|
371
|
+
"inheritedFrom": {
|
|
372
|
+
"name": "AvatarComponentMixin",
|
|
373
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "field",
|
|
378
|
+
"name": "isTyping",
|
|
379
|
+
"type": {
|
|
380
|
+
"text": "boolean"
|
|
381
|
+
},
|
|
382
|
+
"default": "false",
|
|
383
|
+
"description": "Represents the typing indicator when the user is typing.",
|
|
384
|
+
"attribute": "is-typing",
|
|
385
|
+
"inheritedFrom": {
|
|
386
|
+
"name": "AvatarComponentMixin",
|
|
387
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"kind": "field",
|
|
392
|
+
"name": "iconName",
|
|
393
|
+
"type": {
|
|
394
|
+
"text": "IconNames | undefined"
|
|
395
|
+
},
|
|
396
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
397
|
+
"attribute": "icon-name",
|
|
398
|
+
"inheritedFrom": {
|
|
399
|
+
"name": "IconNameMixin",
|
|
400
|
+
"module": "utils/mixins/IconNameMixin.js"
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"mixins": [
|
|
405
|
+
{
|
|
406
|
+
"name": "AvatarComponentMixin",
|
|
407
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "IconNameMixin",
|
|
411
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"superclass": {
|
|
415
|
+
"name": "Component",
|
|
416
|
+
"module": "/src/models"
|
|
417
|
+
},
|
|
418
|
+
"tagName": "mdc-avatar",
|
|
419
|
+
"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 */",
|
|
420
|
+
"customElement": true,
|
|
421
|
+
"attributes": [
|
|
422
|
+
{
|
|
423
|
+
"name": "src",
|
|
424
|
+
"type": {
|
|
425
|
+
"text": "string | undefined"
|
|
426
|
+
},
|
|
427
|
+
"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.",
|
|
428
|
+
"fieldName": "src",
|
|
429
|
+
"inheritedFrom": {
|
|
430
|
+
"name": "AvatarComponentMixin",
|
|
431
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "initials",
|
|
436
|
+
"type": {
|
|
437
|
+
"text": "string | undefined"
|
|
438
|
+
},
|
|
439
|
+
"description": "The initials to be displayed for the avatar.",
|
|
440
|
+
"fieldName": "initials",
|
|
441
|
+
"inheritedFrom": {
|
|
442
|
+
"name": "AvatarComponentMixin",
|
|
443
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "presence",
|
|
448
|
+
"type": {
|
|
449
|
+
"text": "PresenceType | undefined"
|
|
450
|
+
},
|
|
451
|
+
"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`",
|
|
452
|
+
"fieldName": "presence",
|
|
453
|
+
"inheritedFrom": {
|
|
454
|
+
"name": "AvatarComponentMixin",
|
|
455
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "size",
|
|
460
|
+
"type": {
|
|
461
|
+
"text": "AvatarSize"
|
|
462
|
+
},
|
|
463
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
|
464
|
+
"default": "32",
|
|
465
|
+
"fieldName": "size",
|
|
466
|
+
"inheritedFrom": {
|
|
467
|
+
"name": "AvatarComponentMixin",
|
|
468
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "counter",
|
|
473
|
+
"type": {
|
|
474
|
+
"text": "number | undefined"
|
|
475
|
+
},
|
|
476
|
+
"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`.",
|
|
477
|
+
"fieldName": "counter",
|
|
478
|
+
"inheritedFrom": {
|
|
479
|
+
"name": "AvatarComponentMixin",
|
|
480
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "is-typing",
|
|
485
|
+
"type": {
|
|
486
|
+
"text": "boolean"
|
|
487
|
+
},
|
|
488
|
+
"default": "false",
|
|
489
|
+
"description": "Represents the typing indicator when the user is typing.",
|
|
490
|
+
"fieldName": "isTyping",
|
|
491
|
+
"inheritedFrom": {
|
|
492
|
+
"name": "AvatarComponentMixin",
|
|
493
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "icon-name",
|
|
498
|
+
"type": {
|
|
499
|
+
"text": "IconNames | undefined"
|
|
500
|
+
},
|
|
501
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
502
|
+
"fieldName": "iconName",
|
|
503
|
+
"inheritedFrom": {
|
|
504
|
+
"name": "IconNameMixin",
|
|
505
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"exports": [
|
|
512
|
+
{
|
|
513
|
+
"kind": "js",
|
|
514
|
+
"name": "default",
|
|
515
|
+
"declaration": {
|
|
516
|
+
"name": "Avatar",
|
|
517
|
+
"module": "components/avatar/avatar.component.js"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
]
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"kind": "javascript-module",
|
|
524
|
+
"path": "components/alertchip/alertchip.component.js",
|
|
525
|
+
"declarations": [
|
|
526
|
+
{
|
|
527
|
+
"kind": "class",
|
|
528
|
+
"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.",
|
|
529
|
+
"name": "AlertChip",
|
|
530
|
+
"cssProperties": [
|
|
531
|
+
{
|
|
532
|
+
"description": "The color of the label text",
|
|
533
|
+
"name": "--mdc-chip-color"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"description": "The color of the icon",
|
|
537
|
+
"name": "--mdc-chip-icon-color"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"description": "The border color of the alertchip",
|
|
541
|
+
"name": "--mdc-chip-border-color"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"description": "The background color of the alertchip",
|
|
545
|
+
"name": "--mdc-chip-background-color"
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"members": [
|
|
549
|
+
{
|
|
550
|
+
"kind": "field",
|
|
551
|
+
"name": "variant",
|
|
552
|
+
"type": {
|
|
553
|
+
"text": "VariantType"
|
|
554
|
+
},
|
|
555
|
+
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
|
556
|
+
"default": "neutral",
|
|
557
|
+
"attribute": "variant"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"kind": "field",
|
|
561
|
+
"name": "label",
|
|
562
|
+
"type": {
|
|
563
|
+
"text": "string"
|
|
564
|
+
},
|
|
565
|
+
"default": "''",
|
|
566
|
+
"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.",
|
|
567
|
+
"attribute": "label"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"kind": "field",
|
|
571
|
+
"name": "autofocus",
|
|
572
|
+
"type": {
|
|
573
|
+
"text": "boolean"
|
|
574
|
+
},
|
|
575
|
+
"default": "false",
|
|
576
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
|
577
|
+
"attribute": "autofocus",
|
|
578
|
+
"reflects": true,
|
|
579
|
+
"inheritedFrom": {
|
|
580
|
+
"name": "AutoFocusMixin",
|
|
581
|
+
"module": "utils/mixins/AutoFocusMixin.js"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"kind": "field",
|
|
586
|
+
"name": "tabIndex",
|
|
587
|
+
"type": {
|
|
588
|
+
"text": "number"
|
|
589
|
+
},
|
|
590
|
+
"default": "0",
|
|
591
|
+
"description": "This property specifies the tab order of the element.",
|
|
592
|
+
"attribute": "tabIndex",
|
|
593
|
+
"reflects": true,
|
|
594
|
+
"inheritedFrom": {
|
|
595
|
+
"name": "TabIndexMixin",
|
|
596
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"kind": "field",
|
|
601
|
+
"name": "disabled",
|
|
602
|
+
"type": {
|
|
603
|
+
"text": "boolean | undefined"
|
|
604
|
+
},
|
|
605
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
606
|
+
"default": "undefined",
|
|
607
|
+
"attribute": "disabled",
|
|
608
|
+
"reflects": true,
|
|
609
|
+
"inheritedFrom": {
|
|
610
|
+
"name": "DisabledMixin",
|
|
611
|
+
"module": "utils/mixins/DisabledMixin.js"
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"kind": "field",
|
|
616
|
+
"name": "active",
|
|
617
|
+
"type": {
|
|
618
|
+
"text": "boolean | undefined"
|
|
619
|
+
},
|
|
620
|
+
"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.",
|
|
621
|
+
"default": "undefined",
|
|
622
|
+
"attribute": "active",
|
|
623
|
+
"reflects": true,
|
|
624
|
+
"inheritedFrom": {
|
|
625
|
+
"name": "Buttonsimple",
|
|
626
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"kind": "field",
|
|
631
|
+
"name": "softDisabled",
|
|
632
|
+
"type": {
|
|
633
|
+
"text": "boolean | undefined"
|
|
634
|
+
},
|
|
635
|
+
"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.",
|
|
636
|
+
"default": "undefined",
|
|
637
|
+
"attribute": "soft-disabled",
|
|
638
|
+
"reflects": true,
|
|
639
|
+
"inheritedFrom": {
|
|
640
|
+
"name": "Buttonsimple",
|
|
641
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"kind": "field",
|
|
646
|
+
"name": "size",
|
|
647
|
+
"type": {
|
|
648
|
+
"text": "ButtonSize"
|
|
649
|
+
},
|
|
650
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
651
|
+
"default": "32",
|
|
652
|
+
"attribute": "size",
|
|
653
|
+
"reflects": true,
|
|
654
|
+
"inheritedFrom": {
|
|
655
|
+
"name": "Buttonsimple",
|
|
656
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"kind": "field",
|
|
661
|
+
"name": "role",
|
|
662
|
+
"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.",
|
|
663
|
+
"default": "button",
|
|
664
|
+
"attribute": "role",
|
|
665
|
+
"reflects": true,
|
|
666
|
+
"inheritedFrom": {
|
|
667
|
+
"name": "Buttonsimple",
|
|
668
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"kind": "field",
|
|
673
|
+
"name": "ariaStateKey",
|
|
674
|
+
"type": {
|
|
675
|
+
"text": "string | undefined"
|
|
676
|
+
},
|
|
677
|
+
"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`",
|
|
678
|
+
"default": "'aria-pressed' (when)",
|
|
679
|
+
"attribute": "ariaStateKey",
|
|
680
|
+
"reflects": true,
|
|
681
|
+
"inheritedFrom": {
|
|
682
|
+
"name": "Buttonsimple",
|
|
683
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"kind": "field",
|
|
688
|
+
"name": "type",
|
|
689
|
+
"type": {
|
|
690
|
+
"text": "ButtonType"
|
|
691
|
+
},
|
|
692
|
+
"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.",
|
|
693
|
+
"default": "button",
|
|
694
|
+
"attribute": "type",
|
|
695
|
+
"reflects": true,
|
|
696
|
+
"inheritedFrom": {
|
|
697
|
+
"name": "Buttonsimple",
|
|
698
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"kind": "method",
|
|
703
|
+
"name": "executeAction",
|
|
704
|
+
"privacy": "protected",
|
|
705
|
+
"inheritedFrom": {
|
|
706
|
+
"name": "Buttonsimple",
|
|
707
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"kind": "method",
|
|
712
|
+
"name": "setActive",
|
|
713
|
+
"privacy": "protected",
|
|
714
|
+
"parameters": [
|
|
715
|
+
{
|
|
716
|
+
"name": "element",
|
|
717
|
+
"type": {
|
|
718
|
+
"text": "HTMLElement"
|
|
719
|
+
},
|
|
720
|
+
"description": "The button element"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"name": "active",
|
|
724
|
+
"optional": true,
|
|
725
|
+
"type": {
|
|
726
|
+
"text": "boolean"
|
|
727
|
+
},
|
|
728
|
+
"description": "The active state of the element"
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
|
732
|
+
"inheritedFrom": {
|
|
733
|
+
"name": "Buttonsimple",
|
|
734
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"kind": "method",
|
|
739
|
+
"name": "setSoftDisabled",
|
|
740
|
+
"privacy": "private",
|
|
741
|
+
"parameters": [
|
|
742
|
+
{
|
|
743
|
+
"name": "element",
|
|
744
|
+
"type": {
|
|
745
|
+
"text": "HTMLElement"
|
|
746
|
+
},
|
|
747
|
+
"description": "The button element."
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "softDisabled",
|
|
751
|
+
"optional": true,
|
|
752
|
+
"type": {
|
|
753
|
+
"text": "boolean"
|
|
754
|
+
},
|
|
755
|
+
"description": "The soft-disabled state."
|
|
756
|
+
}
|
|
757
|
+
],
|
|
758
|
+
"description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
|
|
759
|
+
"inheritedFrom": {
|
|
760
|
+
"name": "Buttonsimple",
|
|
761
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "method",
|
|
766
|
+
"name": "setDisabled",
|
|
767
|
+
"privacy": "private",
|
|
768
|
+
"parameters": [
|
|
769
|
+
{
|
|
770
|
+
"name": "element",
|
|
771
|
+
"type": {
|
|
772
|
+
"text": "HTMLElement"
|
|
773
|
+
},
|
|
774
|
+
"description": "The button element."
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "disabled",
|
|
778
|
+
"type": {
|
|
779
|
+
"text": "boolean"
|
|
780
|
+
},
|
|
781
|
+
"description": "The disabled state."
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
|
|
785
|
+
"inheritedFrom": {
|
|
786
|
+
"name": "Buttonsimple",
|
|
787
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"kind": "method",
|
|
792
|
+
"name": "triggerClickEvent",
|
|
793
|
+
"privacy": "private",
|
|
794
|
+
"inheritedFrom": {
|
|
795
|
+
"name": "Buttonsimple",
|
|
796
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"kind": "method",
|
|
801
|
+
"name": "handleBlur",
|
|
802
|
+
"privacy": "private",
|
|
803
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
|
804
|
+
"inheritedFrom": {
|
|
805
|
+
"name": "Buttonsimple",
|
|
806
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"kind": "method",
|
|
811
|
+
"name": "handleKeyDown",
|
|
812
|
+
"privacy": "private",
|
|
813
|
+
"parameters": [
|
|
814
|
+
{
|
|
815
|
+
"name": "event",
|
|
816
|
+
"type": {
|
|
817
|
+
"text": "KeyboardEvent"
|
|
818
|
+
},
|
|
819
|
+
"description": "The keyboard event."
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
|
|
823
|
+
"inheritedFrom": {
|
|
824
|
+
"name": "Buttonsimple",
|
|
825
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"kind": "method",
|
|
830
|
+
"name": "handleKeyUp",
|
|
831
|
+
"privacy": "private",
|
|
832
|
+
"parameters": [
|
|
833
|
+
{
|
|
834
|
+
"name": "event",
|
|
835
|
+
"type": {
|
|
836
|
+
"text": "KeyboardEvent"
|
|
837
|
+
},
|
|
838
|
+
"description": "The keyboard event."
|
|
839
|
+
}
|
|
840
|
+
],
|
|
841
|
+
"description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
|
|
842
|
+
"inheritedFrom": {
|
|
843
|
+
"name": "Buttonsimple",
|
|
844
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
],
|
|
848
|
+
"attributes": [
|
|
849
|
+
{
|
|
850
|
+
"name": "variant",
|
|
851
|
+
"type": {
|
|
852
|
+
"text": "VariantType"
|
|
853
|
+
},
|
|
854
|
+
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
|
855
|
+
"default": "neutral",
|
|
856
|
+
"fieldName": "variant"
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"name": "label",
|
|
860
|
+
"type": {
|
|
861
|
+
"text": "string"
|
|
862
|
+
},
|
|
863
|
+
"default": "''",
|
|
864
|
+
"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.",
|
|
865
|
+
"fieldName": "label"
|
|
893
866
|
},
|
|
894
867
|
{
|
|
895
|
-
"
|
|
896
|
-
"name": "isTyping",
|
|
868
|
+
"name": "autofocus",
|
|
897
869
|
"type": {
|
|
898
870
|
"text": "boolean"
|
|
899
871
|
},
|
|
900
872
|
"default": "false",
|
|
901
|
-
"description": "
|
|
902
|
-
"
|
|
873
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
|
874
|
+
"fieldName": "autofocus",
|
|
903
875
|
"inheritedFrom": {
|
|
904
|
-
"name": "
|
|
905
|
-
"module": "utils/mixins/
|
|
876
|
+
"name": "AutoFocusMixin",
|
|
877
|
+
"module": "src/utils/mixins/AutoFocusMixin.ts"
|
|
906
878
|
}
|
|
907
879
|
},
|
|
908
880
|
{
|
|
909
|
-
"
|
|
910
|
-
"name": "iconName",
|
|
881
|
+
"name": "tabIndex",
|
|
911
882
|
"type": {
|
|
912
|
-
"text": "
|
|
883
|
+
"text": "number"
|
|
913
884
|
},
|
|
914
|
-
"
|
|
915
|
-
"
|
|
885
|
+
"default": "0",
|
|
886
|
+
"description": "This property specifies the tab order of the element.",
|
|
887
|
+
"fieldName": "tabIndex",
|
|
916
888
|
"inheritedFrom": {
|
|
917
|
-
"name": "
|
|
918
|
-
"module": "utils/mixins/
|
|
889
|
+
"name": "TabIndexMixin",
|
|
890
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
|
919
891
|
}
|
|
920
|
-
}
|
|
921
|
-
],
|
|
922
|
-
"mixins": [
|
|
923
|
-
{
|
|
924
|
-
"name": "AvatarComponentMixin",
|
|
925
|
-
"module": "/src/utils/mixins/AvatarComponentMixin"
|
|
926
892
|
},
|
|
927
893
|
{
|
|
928
|
-
"name": "
|
|
929
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
|
930
|
-
}
|
|
931
|
-
],
|
|
932
|
-
"superclass": {
|
|
933
|
-
"name": "Component",
|
|
934
|
-
"module": "/src/models"
|
|
935
|
-
},
|
|
936
|
-
"tagName": "mdc-avatar",
|
|
937
|
-
"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 */",
|
|
938
|
-
"customElement": true,
|
|
939
|
-
"attributes": [
|
|
940
|
-
{
|
|
941
|
-
"name": "src",
|
|
894
|
+
"name": "disabled",
|
|
942
895
|
"type": {
|
|
943
|
-
"text": "
|
|
896
|
+
"text": "boolean | undefined"
|
|
944
897
|
},
|
|
945
|
-
"description": "
|
|
946
|
-
"
|
|
898
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
899
|
+
"default": "undefined",
|
|
900
|
+
"fieldName": "disabled",
|
|
947
901
|
"inheritedFrom": {
|
|
948
|
-
"name": "
|
|
949
|
-
"module": "src/utils/mixins/
|
|
902
|
+
"name": "DisabledMixin",
|
|
903
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
|
950
904
|
}
|
|
951
905
|
},
|
|
952
906
|
{
|
|
953
|
-
"name": "
|
|
907
|
+
"name": "active",
|
|
954
908
|
"type": {
|
|
955
|
-
"text": "
|
|
909
|
+
"text": "boolean | undefined"
|
|
956
910
|
},
|
|
957
|
-
"description": "The
|
|
958
|
-
"
|
|
911
|
+
"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.",
|
|
912
|
+
"default": "undefined",
|
|
913
|
+
"fieldName": "active",
|
|
959
914
|
"inheritedFrom": {
|
|
960
|
-
"name": "
|
|
961
|
-
"module": "src/
|
|
915
|
+
"name": "Buttonsimple",
|
|
916
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
962
917
|
}
|
|
963
918
|
},
|
|
964
919
|
{
|
|
965
|
-
"name": "
|
|
920
|
+
"name": "soft-disabled",
|
|
966
921
|
"type": {
|
|
967
|
-
"text": "
|
|
922
|
+
"text": "boolean | undefined"
|
|
968
923
|
},
|
|
969
|
-
"description": "
|
|
970
|
-
"
|
|
924
|
+
"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.",
|
|
925
|
+
"default": "undefined",
|
|
926
|
+
"fieldName": "softDisabled",
|
|
971
927
|
"inheritedFrom": {
|
|
972
|
-
"name": "
|
|
973
|
-
"module": "src/
|
|
928
|
+
"name": "Buttonsimple",
|
|
929
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
974
930
|
}
|
|
975
931
|
},
|
|
976
932
|
{
|
|
977
933
|
"name": "size",
|
|
978
934
|
"type": {
|
|
979
|
-
"text": "
|
|
935
|
+
"text": "ButtonSize"
|
|
980
936
|
},
|
|
981
|
-
"description": "
|
|
937
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
|
982
938
|
"default": "32",
|
|
983
939
|
"fieldName": "size",
|
|
984
940
|
"inheritedFrom": {
|
|
985
|
-
"name": "
|
|
986
|
-
"module": "src/
|
|
941
|
+
"name": "Buttonsimple",
|
|
942
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
987
943
|
}
|
|
988
944
|
},
|
|
989
945
|
{
|
|
990
|
-
"name": "
|
|
991
|
-
"
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
"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`.",
|
|
995
|
-
"fieldName": "counter",
|
|
946
|
+
"name": "role",
|
|
947
|
+
"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.",
|
|
948
|
+
"default": "button",
|
|
949
|
+
"fieldName": "role",
|
|
996
950
|
"inheritedFrom": {
|
|
997
|
-
"name": "
|
|
998
|
-
"module": "src/
|
|
951
|
+
"name": "Buttonsimple",
|
|
952
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
999
953
|
}
|
|
1000
954
|
},
|
|
1001
955
|
{
|
|
1002
|
-
"name": "
|
|
956
|
+
"name": "ariaStateKey",
|
|
1003
957
|
"type": {
|
|
1004
|
-
"text": "
|
|
958
|
+
"text": "string | undefined"
|
|
1005
959
|
},
|
|
1006
|
-
"
|
|
1007
|
-
"
|
|
1008
|
-
"fieldName": "
|
|
960
|
+
"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`",
|
|
961
|
+
"default": "'aria-pressed' (when)",
|
|
962
|
+
"fieldName": "ariaStateKey",
|
|
1009
963
|
"inheritedFrom": {
|
|
1010
|
-
"name": "
|
|
1011
|
-
"module": "src/
|
|
964
|
+
"name": "Buttonsimple",
|
|
965
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1012
966
|
}
|
|
1013
967
|
},
|
|
1014
968
|
{
|
|
1015
|
-
"name": "
|
|
969
|
+
"name": "type",
|
|
1016
970
|
"type": {
|
|
1017
|
-
"text": "
|
|
971
|
+
"text": "ButtonType"
|
|
1018
972
|
},
|
|
1019
|
-
"description": "
|
|
1020
|
-
"
|
|
973
|
+
"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.",
|
|
974
|
+
"default": "button",
|
|
975
|
+
"fieldName": "type",
|
|
1021
976
|
"inheritedFrom": {
|
|
1022
|
-
"name": "
|
|
1023
|
-
"module": "src/
|
|
977
|
+
"name": "Buttonsimple",
|
|
978
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
],
|
|
982
|
+
"superclass": {
|
|
983
|
+
"name": "Buttonsimple",
|
|
984
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
985
|
+
},
|
|
986
|
+
"tagName": "mdc-alertchip",
|
|
987
|
+
"jsDoc": "/**\n * 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 *\n * This component is built by extending Buttonsimple.\n *\n * @tagname mdc-alertchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the label text\n * @cssproperty --mdc-chip-icon-color - The color of the icon\n * @cssproperty --mdc-chip-border-color - The border color of the alertchip\n * @cssproperty --mdc-chip-background-color - The background color of the alertchip\n *\n */",
|
|
988
|
+
"customElement": true,
|
|
989
|
+
"events": [
|
|
990
|
+
{
|
|
991
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
|
992
|
+
"name": "click",
|
|
993
|
+
"reactName": "onClick",
|
|
994
|
+
"inheritedFrom": {
|
|
995
|
+
"name": "Buttonsimple",
|
|
996
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
|
1001
|
+
"name": "keydown",
|
|
1002
|
+
"reactName": "onKeyDown",
|
|
1003
|
+
"inheritedFrom": {
|
|
1004
|
+
"name": "Buttonsimple",
|
|
1005
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
|
1010
|
+
"name": "keyup",
|
|
1011
|
+
"reactName": "onKeyUp",
|
|
1012
|
+
"inheritedFrom": {
|
|
1013
|
+
"name": "Buttonsimple",
|
|
1014
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
|
1019
|
+
"name": "focus",
|
|
1020
|
+
"reactName": "onFocus",
|
|
1021
|
+
"inheritedFrom": {
|
|
1022
|
+
"name": "Buttonsimple",
|
|
1023
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
]
|
|
@@ -1031,8 +1031,8 @@
|
|
|
1031
1031
|
"kind": "js",
|
|
1032
1032
|
"name": "default",
|
|
1033
1033
|
"declaration": {
|
|
1034
|
-
"name": "
|
|
1035
|
-
"module": "components/
|
|
1034
|
+
"name": "AlertChip",
|
|
1035
|
+
"module": "components/alertchip/alertchip.component.js"
|
|
1036
1036
|
}
|
|
1037
1037
|
}
|
|
1038
1038
|
]
|
|
@@ -16229,8 +16229,99 @@
|
|
|
16229
16229
|
"module": "src/components/listitem/listitem.component.ts"
|
|
16230
16230
|
}
|
|
16231
16231
|
}
|
|
16232
|
-
],
|
|
16232
|
+
],
|
|
16233
|
+
"cssProperties": [
|
|
16234
|
+
{
|
|
16235
|
+
"description": "Allows customization of the default background color.",
|
|
16236
|
+
"name": "--mdc-listitem-default-background-color",
|
|
16237
|
+
"inheritedFrom": {
|
|
16238
|
+
"name": "ListItem",
|
|
16239
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16240
|
+
}
|
|
16241
|
+
},
|
|
16242
|
+
{
|
|
16243
|
+
"description": "Allows customization of the background color on hover.",
|
|
16244
|
+
"name": "--mdc-listitem-background-color-hover",
|
|
16245
|
+
"inheritedFrom": {
|
|
16246
|
+
"name": "ListItem",
|
|
16247
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16248
|
+
}
|
|
16249
|
+
},
|
|
16250
|
+
{
|
|
16251
|
+
"description": "Allows customization of the background color when pressed.",
|
|
16252
|
+
"name": "--mdc-listitem-background-color-active",
|
|
16253
|
+
"inheritedFrom": {
|
|
16254
|
+
"name": "ListItem",
|
|
16255
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16256
|
+
}
|
|
16257
|
+
},
|
|
16258
|
+
{
|
|
16259
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
|
16260
|
+
"name": "--mdc-listitem-primary-label-color",
|
|
16261
|
+
"inheritedFrom": {
|
|
16262
|
+
"name": "ListItem",
|
|
16263
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16264
|
+
}
|
|
16265
|
+
},
|
|
16266
|
+
{
|
|
16267
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
|
16268
|
+
"name": "--mdc-listitem-secondary-label-color",
|
|
16269
|
+
"inheritedFrom": {
|
|
16270
|
+
"name": "ListItem",
|
|
16271
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16272
|
+
}
|
|
16273
|
+
},
|
|
16274
|
+
{
|
|
16275
|
+
"description": "Allows customization of the disabled color.",
|
|
16276
|
+
"name": "--mdc-listitem-disabled-color",
|
|
16277
|
+
"inheritedFrom": {
|
|
16278
|
+
"name": "ListItem",
|
|
16279
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16280
|
+
}
|
|
16281
|
+
},
|
|
16282
|
+
{
|
|
16283
|
+
"description": "Allows customization of column gap.",
|
|
16284
|
+
"name": "--mdc-listitem-column-gap",
|
|
16285
|
+
"inheritedFrom": {
|
|
16286
|
+
"name": "ListItem",
|
|
16287
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16288
|
+
}
|
|
16289
|
+
},
|
|
16290
|
+
{
|
|
16291
|
+
"description": "Allows customization of padding left and right.",
|
|
16292
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
|
16293
|
+
"inheritedFrom": {
|
|
16294
|
+
"name": "ListItem",
|
|
16295
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
16296
|
+
}
|
|
16297
|
+
}
|
|
16298
|
+
]
|
|
16299
|
+
}
|
|
16300
|
+
],
|
|
16301
|
+
"exports": [
|
|
16302
|
+
{
|
|
16303
|
+
"kind": "js",
|
|
16304
|
+
"name": "default",
|
|
16305
|
+
"declaration": {
|
|
16306
|
+
"name": "MenuItem",
|
|
16307
|
+
"module": "components/menuitem/menuitem.component.js"
|
|
16308
|
+
}
|
|
16309
|
+
}
|
|
16310
|
+
]
|
|
16311
|
+
},
|
|
16312
|
+
{
|
|
16313
|
+
"kind": "javascript-module",
|
|
16314
|
+
"path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
|
|
16315
|
+
"declarations": [
|
|
16316
|
+
{
|
|
16317
|
+
"kind": "class",
|
|
16318
|
+
"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`.",
|
|
16319
|
+
"name": "MenuItemCheckbox",
|
|
16233
16320
|
"cssProperties": [
|
|
16321
|
+
{
|
|
16322
|
+
"description": "Allows customization of the checkmark indicator color",
|
|
16323
|
+
"name": "--mdc-checkmark-indicator-color"
|
|
16324
|
+
},
|
|
16234
16325
|
{
|
|
16235
16326
|
"description": "Allows customization of the default background color.",
|
|
16236
16327
|
"name": "--mdc-listitem-default-background-color",
|
|
@@ -16295,28 +16386,7 @@
|
|
|
16295
16386
|
"module": "src/components/listitem/listitem.component.ts"
|
|
16296
16387
|
}
|
|
16297
16388
|
}
|
|
16298
|
-
]
|
|
16299
|
-
}
|
|
16300
|
-
],
|
|
16301
|
-
"exports": [
|
|
16302
|
-
{
|
|
16303
|
-
"kind": "js",
|
|
16304
|
-
"name": "default",
|
|
16305
|
-
"declaration": {
|
|
16306
|
-
"name": "MenuItem",
|
|
16307
|
-
"module": "components/menuitem/menuitem.component.js"
|
|
16308
|
-
}
|
|
16309
|
-
}
|
|
16310
|
-
]
|
|
16311
|
-
},
|
|
16312
|
-
{
|
|
16313
|
-
"kind": "javascript-module",
|
|
16314
|
-
"path": "components/menuitemradio/menuitemradio.component.js",
|
|
16315
|
-
"declarations": [
|
|
16316
|
-
{
|
|
16317
|
-
"kind": "class",
|
|
16318
|
-
"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`.",
|
|
16319
|
-
"name": "MenuItemRadio",
|
|
16389
|
+
],
|
|
16320
16390
|
"members": [
|
|
16321
16391
|
{
|
|
16322
16392
|
"kind": "field",
|
|
@@ -16324,11 +16394,52 @@
|
|
|
16324
16394
|
"type": {
|
|
16325
16395
|
"text": "AriaCheckedStates"
|
|
16326
16396
|
},
|
|
16327
|
-
"description": "The aria-checked attribute is used to indicate that the
|
|
16397
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
|
16328
16398
|
"default": "'false'",
|
|
16329
16399
|
"attribute": "aria-checked",
|
|
16330
16400
|
"reflects": true
|
|
16331
16401
|
},
|
|
16402
|
+
{
|
|
16403
|
+
"kind": "field",
|
|
16404
|
+
"name": "indicator",
|
|
16405
|
+
"type": {
|
|
16406
|
+
"text": "Indicator"
|
|
16407
|
+
},
|
|
16408
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
16409
|
+
"default": "'checkbox'",
|
|
16410
|
+
"attribute": "indicator",
|
|
16411
|
+
"reflects": true
|
|
16412
|
+
},
|
|
16413
|
+
{
|
|
16414
|
+
"kind": "method",
|
|
16415
|
+
"name": "staticCheckbox",
|
|
16416
|
+
"privacy": "private",
|
|
16417
|
+
"return": {
|
|
16418
|
+
"type": {
|
|
16419
|
+
"text": "TemplateResult | typeof nothing"
|
|
16420
|
+
}
|
|
16421
|
+
}
|
|
16422
|
+
},
|
|
16423
|
+
{
|
|
16424
|
+
"kind": "method",
|
|
16425
|
+
"name": "staticToggle",
|
|
16426
|
+
"privacy": "private",
|
|
16427
|
+
"return": {
|
|
16428
|
+
"type": {
|
|
16429
|
+
"text": "TemplateResult | typeof nothing"
|
|
16430
|
+
}
|
|
16431
|
+
}
|
|
16432
|
+
},
|
|
16433
|
+
{
|
|
16434
|
+
"kind": "method",
|
|
16435
|
+
"name": "getCheckmarkIcon",
|
|
16436
|
+
"privacy": "private",
|
|
16437
|
+
"return": {
|
|
16438
|
+
"type": {
|
|
16439
|
+
"text": "TemplateResult | typeof nothing"
|
|
16440
|
+
}
|
|
16441
|
+
}
|
|
16442
|
+
},
|
|
16332
16443
|
{
|
|
16333
16444
|
"kind": "field",
|
|
16334
16445
|
"name": "arrowPosition",
|
|
@@ -16700,12 +16811,12 @@
|
|
|
16700
16811
|
],
|
|
16701
16812
|
"events": [
|
|
16702
16813
|
{
|
|
16703
|
-
"description": "(React: onChange) This event is dispatched when the
|
|
16814
|
+
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
|
16704
16815
|
"name": "change",
|
|
16705
16816
|
"reactName": "onChange"
|
|
16706
16817
|
},
|
|
16707
16818
|
{
|
|
16708
|
-
"description": "(React: onClick) This event is dispatched when the
|
|
16819
|
+
"description": "(React: onClick) This event is dispatched when the menuitemcheckbox is clicked.",
|
|
16709
16820
|
"name": "click",
|
|
16710
16821
|
"reactName": "onClick",
|
|
16711
16822
|
"inheritedFrom": {
|
|
@@ -16714,7 +16825,7 @@
|
|
|
16714
16825
|
}
|
|
16715
16826
|
},
|
|
16716
16827
|
{
|
|
16717
|
-
"description": "(React: onFocus) This event is dispatched when the
|
|
16828
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.",
|
|
16718
16829
|
"name": "focus",
|
|
16719
16830
|
"reactName": "onFocus",
|
|
16720
16831
|
"inheritedFrom": {
|
|
@@ -16747,10 +16858,19 @@
|
|
|
16747
16858
|
"type": {
|
|
16748
16859
|
"text": "AriaCheckedStates"
|
|
16749
16860
|
},
|
|
16750
|
-
"description": "The aria-checked attribute is used to indicate that the
|
|
16861
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
|
16751
16862
|
"default": "'false'",
|
|
16752
16863
|
"fieldName": "ariaChecked"
|
|
16753
16864
|
},
|
|
16865
|
+
{
|
|
16866
|
+
"name": "indicator",
|
|
16867
|
+
"type": {
|
|
16868
|
+
"text": "Indicator"
|
|
16869
|
+
},
|
|
16870
|
+
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
16871
|
+
"default": "'checkbox'",
|
|
16872
|
+
"fieldName": "indicator"
|
|
16873
|
+
},
|
|
16754
16874
|
{
|
|
16755
16875
|
"name": "arrow-position",
|
|
16756
16876
|
"type": {
|
|
@@ -16879,249 +16999,113 @@
|
|
|
16879
16999
|
"type": {
|
|
16880
17000
|
"text": "string | undefined"
|
|
16881
17001
|
},
|
|
16882
|
-
"description": "The tooltip text is displayed on hover of the list item.",
|
|
16883
|
-
"fieldName": "tooltipText",
|
|
16884
|
-
"inheritedFrom": {
|
|
16885
|
-
"name": "ListItem",
|
|
16886
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16887
|
-
}
|
|
16888
|
-
},
|
|
16889
|
-
{
|
|
16890
|
-
"name": "tooltip-placement",
|
|
16891
|
-
"type": {
|
|
16892
|
-
"text": "PopoverPlacement"
|
|
16893
|
-
},
|
|
16894
|
-
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
|
16895
|
-
"default": "'top'",
|
|
16896
|
-
"fieldName": "tooltipPlacement",
|
|
16897
|
-
"inheritedFrom": {
|
|
16898
|
-
"name": "ListItem",
|
|
16899
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16900
|
-
}
|
|
16901
|
-
}
|
|
16902
|
-
],
|
|
16903
|
-
"superclass": {
|
|
16904
|
-
"name": "MenuItem",
|
|
16905
|
-
"module": "/src/components/menuitem/menuitem.component"
|
|
16906
|
-
},
|
|
16907
|
-
"tagName": "mdc-menuitemradio",
|
|
16908
|
-
"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 */",
|
|
16909
|
-
"customElement": true,
|
|
16910
|
-
"slots": [
|
|
16911
|
-
{
|
|
16912
|
-
"description": "slot for list item controls to appear of leading end.",
|
|
16913
|
-
"name": "leading-controls",
|
|
16914
|
-
"inheritedFrom": {
|
|
16915
|
-
"name": "ListItem",
|
|
16916
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16917
|
-
}
|
|
16918
|
-
},
|
|
16919
|
-
{
|
|
16920
|
-
"description": "slot for list item primary label.",
|
|
16921
|
-
"name": "leading-text-primary-label",
|
|
16922
|
-
"inheritedFrom": {
|
|
16923
|
-
"name": "ListItem",
|
|
16924
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16925
|
-
}
|
|
16926
|
-
},
|
|
16927
|
-
{
|
|
16928
|
-
"description": "slot for list item secondary label.",
|
|
16929
|
-
"name": "leading-text-secondary-label",
|
|
16930
|
-
"inheritedFrom": {
|
|
16931
|
-
"name": "ListItem",
|
|
16932
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16933
|
-
}
|
|
16934
|
-
},
|
|
16935
|
-
{
|
|
16936
|
-
"description": "slot for list item tertiary label.",
|
|
16937
|
-
"name": "leading-text-tertiary-label",
|
|
16938
|
-
"inheritedFrom": {
|
|
16939
|
-
"name": "ListItem",
|
|
16940
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16941
|
-
}
|
|
16942
|
-
},
|
|
16943
|
-
{
|
|
16944
|
-
"description": "slot for list item side header text.",
|
|
16945
|
-
"name": "trailing-text-side-header",
|
|
16946
|
-
"inheritedFrom": {
|
|
16947
|
-
"name": "ListItem",
|
|
16948
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16949
|
-
}
|
|
16950
|
-
},
|
|
16951
|
-
{
|
|
16952
|
-
"description": "slot for list item subline text.",
|
|
16953
|
-
"name": "trailing-text-subline",
|
|
16954
|
-
"inheritedFrom": {
|
|
16955
|
-
"name": "ListItem",
|
|
16956
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16957
|
-
}
|
|
16958
|
-
},
|
|
16959
|
-
{
|
|
16960
|
-
"description": "slot for list item controls to appear of trailing end.",
|
|
16961
|
-
"name": "trailing-controls",
|
|
16962
|
-
"inheritedFrom": {
|
|
16963
|
-
"name": "ListItem",
|
|
16964
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16965
|
-
}
|
|
16966
|
-
}
|
|
16967
|
-
],
|
|
16968
|
-
"cssProperties": [
|
|
16969
|
-
{
|
|
16970
|
-
"description": "Allows customization of the default background color.",
|
|
16971
|
-
"name": "--mdc-listitem-default-background-color",
|
|
16972
|
-
"inheritedFrom": {
|
|
16973
|
-
"name": "ListItem",
|
|
16974
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16975
|
-
}
|
|
16976
|
-
},
|
|
16977
|
-
{
|
|
16978
|
-
"description": "Allows customization of the background color on hover.",
|
|
16979
|
-
"name": "--mdc-listitem-background-color-hover",
|
|
16980
|
-
"inheritedFrom": {
|
|
16981
|
-
"name": "ListItem",
|
|
16982
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16983
|
-
}
|
|
16984
|
-
},
|
|
16985
|
-
{
|
|
16986
|
-
"description": "Allows customization of the background color when pressed.",
|
|
16987
|
-
"name": "--mdc-listitem-background-color-active",
|
|
16988
|
-
"inheritedFrom": {
|
|
16989
|
-
"name": "ListItem",
|
|
16990
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16991
|
-
}
|
|
16992
|
-
},
|
|
16993
|
-
{
|
|
16994
|
-
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
|
16995
|
-
"name": "--mdc-listitem-primary-label-color",
|
|
16996
|
-
"inheritedFrom": {
|
|
16997
|
-
"name": "ListItem",
|
|
16998
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
16999
|
-
}
|
|
17000
|
-
},
|
|
17001
|
-
{
|
|
17002
|
-
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
|
17003
|
-
"name": "--mdc-listitem-secondary-label-color",
|
|
17004
|
-
"inheritedFrom": {
|
|
17005
|
-
"name": "ListItem",
|
|
17006
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
17007
|
-
}
|
|
17008
|
-
},
|
|
17009
|
-
{
|
|
17010
|
-
"description": "Allows customization of the disabled color.",
|
|
17011
|
-
"name": "--mdc-listitem-disabled-color",
|
|
17012
|
-
"inheritedFrom": {
|
|
17013
|
-
"name": "ListItem",
|
|
17014
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
17015
|
-
}
|
|
17016
|
-
},
|
|
17017
|
-
{
|
|
17018
|
-
"description": "Allows customization of column gap.",
|
|
17019
|
-
"name": "--mdc-listitem-column-gap",
|
|
17020
|
-
"inheritedFrom": {
|
|
17021
|
-
"name": "ListItem",
|
|
17022
|
-
"module": "src/components/listitem/listitem.component.ts"
|
|
17023
|
-
}
|
|
17024
|
-
},
|
|
17025
|
-
{
|
|
17026
|
-
"description": "Allows customization of padding left and right.",
|
|
17027
|
-
"name": "--mdc-listitem-padding-left-and-right",
|
|
17002
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
|
17003
|
+
"fieldName": "tooltipText",
|
|
17028
17004
|
"inheritedFrom": {
|
|
17029
17005
|
"name": "ListItem",
|
|
17030
17006
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17031
17007
|
}
|
|
17032
|
-
}
|
|
17033
|
-
]
|
|
17034
|
-
}
|
|
17035
|
-
],
|
|
17036
|
-
"exports": [
|
|
17037
|
-
{
|
|
17038
|
-
"kind": "js",
|
|
17039
|
-
"name": "default",
|
|
17040
|
-
"declaration": {
|
|
17041
|
-
"name": "MenuItemRadio",
|
|
17042
|
-
"module": "components/menuitemradio/menuitemradio.component.js"
|
|
17043
|
-
}
|
|
17044
|
-
}
|
|
17045
|
-
]
|
|
17046
|
-
},
|
|
17047
|
-
{
|
|
17048
|
-
"kind": "javascript-module",
|
|
17049
|
-
"path": "components/menuitemcheckbox/menuitemcheckbox.component.js",
|
|
17050
|
-
"declarations": [
|
|
17051
|
-
{
|
|
17052
|
-
"kind": "class",
|
|
17053
|
-
"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`.",
|
|
17054
|
-
"name": "MenuItemCheckbox",
|
|
17055
|
-
"cssProperties": [
|
|
17056
|
-
{
|
|
17057
|
-
"description": "Allows customization of the checkmark indicator color",
|
|
17058
|
-
"name": "--mdc-checkmark-indicator-color"
|
|
17059
17008
|
},
|
|
17060
17009
|
{
|
|
17061
|
-
"
|
|
17062
|
-
"
|
|
17010
|
+
"name": "tooltip-placement",
|
|
17011
|
+
"type": {
|
|
17012
|
+
"text": "PopoverPlacement"
|
|
17013
|
+
},
|
|
17014
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
|
17015
|
+
"default": "'top'",
|
|
17016
|
+
"fieldName": "tooltipPlacement",
|
|
17063
17017
|
"inheritedFrom": {
|
|
17064
17018
|
"name": "ListItem",
|
|
17065
17019
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17066
17020
|
}
|
|
17067
|
-
}
|
|
17021
|
+
}
|
|
17022
|
+
],
|
|
17023
|
+
"superclass": {
|
|
17024
|
+
"name": "MenuItem",
|
|
17025
|
+
"module": "/src/components/menuitem/menuitem.component"
|
|
17026
|
+
},
|
|
17027
|
+
"tagName": "mdc-menuitemcheckbox",
|
|
17028
|
+
"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 */",
|
|
17029
|
+
"customElement": true,
|
|
17030
|
+
"slots": [
|
|
17068
17031
|
{
|
|
17069
|
-
"description": "
|
|
17070
|
-
"name": "
|
|
17032
|
+
"description": "slot for list item controls to appear of leading end.",
|
|
17033
|
+
"name": "leading-controls",
|
|
17071
17034
|
"inheritedFrom": {
|
|
17072
17035
|
"name": "ListItem",
|
|
17073
17036
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17074
17037
|
}
|
|
17075
17038
|
},
|
|
17076
17039
|
{
|
|
17077
|
-
"description": "
|
|
17078
|
-
"name": "
|
|
17040
|
+
"description": "slot for list item primary label.",
|
|
17041
|
+
"name": "leading-text-primary-label",
|
|
17079
17042
|
"inheritedFrom": {
|
|
17080
17043
|
"name": "ListItem",
|
|
17081
17044
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17082
17045
|
}
|
|
17083
17046
|
},
|
|
17084
17047
|
{
|
|
17085
|
-
"description": "
|
|
17086
|
-
"name": "
|
|
17048
|
+
"description": "slot for list item secondary label.",
|
|
17049
|
+
"name": "leading-text-secondary-label",
|
|
17087
17050
|
"inheritedFrom": {
|
|
17088
17051
|
"name": "ListItem",
|
|
17089
17052
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17090
17053
|
}
|
|
17091
17054
|
},
|
|
17092
17055
|
{
|
|
17093
|
-
"description": "
|
|
17094
|
-
"name": "
|
|
17056
|
+
"description": "slot for list item tertiary label.",
|
|
17057
|
+
"name": "leading-text-tertiary-label",
|
|
17095
17058
|
"inheritedFrom": {
|
|
17096
17059
|
"name": "ListItem",
|
|
17097
17060
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17098
17061
|
}
|
|
17099
17062
|
},
|
|
17100
17063
|
{
|
|
17101
|
-
"description": "
|
|
17102
|
-
"name": "
|
|
17064
|
+
"description": "slot for list item side header text.",
|
|
17065
|
+
"name": "trailing-text-side-header",
|
|
17103
17066
|
"inheritedFrom": {
|
|
17104
17067
|
"name": "ListItem",
|
|
17105
17068
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17106
17069
|
}
|
|
17107
17070
|
},
|
|
17108
17071
|
{
|
|
17109
|
-
"description": "
|
|
17110
|
-
"name": "
|
|
17072
|
+
"description": "slot for list item subline text.",
|
|
17073
|
+
"name": "trailing-text-subline",
|
|
17111
17074
|
"inheritedFrom": {
|
|
17112
17075
|
"name": "ListItem",
|
|
17113
17076
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17114
17077
|
}
|
|
17115
17078
|
},
|
|
17116
17079
|
{
|
|
17117
|
-
"description": "
|
|
17118
|
-
"name": "
|
|
17080
|
+
"description": "slot for list item controls to appear of trailing end.",
|
|
17081
|
+
"name": "trailing-controls",
|
|
17119
17082
|
"inheritedFrom": {
|
|
17120
17083
|
"name": "ListItem",
|
|
17121
17084
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17122
17085
|
}
|
|
17123
17086
|
}
|
|
17124
|
-
]
|
|
17087
|
+
]
|
|
17088
|
+
}
|
|
17089
|
+
],
|
|
17090
|
+
"exports": [
|
|
17091
|
+
{
|
|
17092
|
+
"kind": "js",
|
|
17093
|
+
"name": "default",
|
|
17094
|
+
"declaration": {
|
|
17095
|
+
"name": "MenuItemCheckbox",
|
|
17096
|
+
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
|
17097
|
+
}
|
|
17098
|
+
}
|
|
17099
|
+
]
|
|
17100
|
+
},
|
|
17101
|
+
{
|
|
17102
|
+
"kind": "javascript-module",
|
|
17103
|
+
"path": "components/menuitemradio/menuitemradio.component.js",
|
|
17104
|
+
"declarations": [
|
|
17105
|
+
{
|
|
17106
|
+
"kind": "class",
|
|
17107
|
+
"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`.",
|
|
17108
|
+
"name": "MenuItemRadio",
|
|
17125
17109
|
"members": [
|
|
17126
17110
|
{
|
|
17127
17111
|
"kind": "field",
|
|
@@ -17129,52 +17113,11 @@
|
|
|
17129
17113
|
"type": {
|
|
17130
17114
|
"text": "AriaCheckedStates"
|
|
17131
17115
|
},
|
|
17132
|
-
"description": "The aria-checked attribute is used to indicate that the
|
|
17116
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
|
17133
17117
|
"default": "'false'",
|
|
17134
17118
|
"attribute": "aria-checked",
|
|
17135
17119
|
"reflects": true
|
|
17136
17120
|
},
|
|
17137
|
-
{
|
|
17138
|
-
"kind": "field",
|
|
17139
|
-
"name": "indicator",
|
|
17140
|
-
"type": {
|
|
17141
|
-
"text": "Indicator"
|
|
17142
|
-
},
|
|
17143
|
-
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
17144
|
-
"default": "'checkbox'",
|
|
17145
|
-
"attribute": "indicator",
|
|
17146
|
-
"reflects": true
|
|
17147
|
-
},
|
|
17148
|
-
{
|
|
17149
|
-
"kind": "method",
|
|
17150
|
-
"name": "staticCheckbox",
|
|
17151
|
-
"privacy": "private",
|
|
17152
|
-
"return": {
|
|
17153
|
-
"type": {
|
|
17154
|
-
"text": "TemplateResult | typeof nothing"
|
|
17155
|
-
}
|
|
17156
|
-
}
|
|
17157
|
-
},
|
|
17158
|
-
{
|
|
17159
|
-
"kind": "method",
|
|
17160
|
-
"name": "staticToggle",
|
|
17161
|
-
"privacy": "private",
|
|
17162
|
-
"return": {
|
|
17163
|
-
"type": {
|
|
17164
|
-
"text": "TemplateResult | typeof nothing"
|
|
17165
|
-
}
|
|
17166
|
-
}
|
|
17167
|
-
},
|
|
17168
|
-
{
|
|
17169
|
-
"kind": "method",
|
|
17170
|
-
"name": "getCheckmarkIcon",
|
|
17171
|
-
"privacy": "private",
|
|
17172
|
-
"return": {
|
|
17173
|
-
"type": {
|
|
17174
|
-
"text": "TemplateResult | typeof nothing"
|
|
17175
|
-
}
|
|
17176
|
-
}
|
|
17177
|
-
},
|
|
17178
17121
|
{
|
|
17179
17122
|
"kind": "field",
|
|
17180
17123
|
"name": "arrowPosition",
|
|
@@ -17546,12 +17489,12 @@
|
|
|
17546
17489
|
],
|
|
17547
17490
|
"events": [
|
|
17548
17491
|
{
|
|
17549
|
-
"description": "(React: onChange) This event is dispatched when the
|
|
17492
|
+
"description": "(React: onChange) This event is dispatched when the menuitemradio changes.",
|
|
17550
17493
|
"name": "change",
|
|
17551
17494
|
"reactName": "onChange"
|
|
17552
17495
|
},
|
|
17553
17496
|
{
|
|
17554
|
-
"description": "(React: onClick) This event is dispatched when the
|
|
17497
|
+
"description": "(React: onClick) This event is dispatched when the menuitemradio is clicked.",
|
|
17555
17498
|
"name": "click",
|
|
17556
17499
|
"reactName": "onClick",
|
|
17557
17500
|
"inheritedFrom": {
|
|
@@ -17560,7 +17503,7 @@
|
|
|
17560
17503
|
}
|
|
17561
17504
|
},
|
|
17562
17505
|
{
|
|
17563
|
-
"description": "(React: onFocus) This event is dispatched when the
|
|
17506
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemradio receives focus.",
|
|
17564
17507
|
"name": "focus",
|
|
17565
17508
|
"reactName": "onFocus",
|
|
17566
17509
|
"inheritedFrom": {
|
|
@@ -17593,19 +17536,10 @@
|
|
|
17593
17536
|
"type": {
|
|
17594
17537
|
"text": "AriaCheckedStates"
|
|
17595
17538
|
},
|
|
17596
|
-
"description": "The aria-checked attribute is used to indicate that the
|
|
17539
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
|
17597
17540
|
"default": "'false'",
|
|
17598
17541
|
"fieldName": "ariaChecked"
|
|
17599
17542
|
},
|
|
17600
|
-
{
|
|
17601
|
-
"name": "indicator",
|
|
17602
|
-
"type": {
|
|
17603
|
-
"text": "Indicator"
|
|
17604
|
-
},
|
|
17605
|
-
"description": "The indicator attribute is used to differentiate between <b>checkbox</b> and <b>toggle</b>.",
|
|
17606
|
-
"default": "'checkbox'",
|
|
17607
|
-
"fieldName": "indicator"
|
|
17608
|
-
},
|
|
17609
17543
|
{
|
|
17610
17544
|
"name": "arrow-position",
|
|
17611
17545
|
"type": {
|
|
@@ -17759,8 +17693,8 @@
|
|
|
17759
17693
|
"name": "MenuItem",
|
|
17760
17694
|
"module": "/src/components/menuitem/menuitem.component"
|
|
17761
17695
|
},
|
|
17762
|
-
"tagName": "mdc-
|
|
17763
|
-
"jsDoc": "/**\n * A
|
|
17696
|
+
"tagName": "mdc-menuitemradio",
|
|
17697
|
+
"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 */",
|
|
17764
17698
|
"customElement": true,
|
|
17765
17699
|
"slots": [
|
|
17766
17700
|
{
|
|
@@ -17819,6 +17753,72 @@
|
|
|
17819
17753
|
"module": "src/components/listitem/listitem.component.ts"
|
|
17820
17754
|
}
|
|
17821
17755
|
}
|
|
17756
|
+
],
|
|
17757
|
+
"cssProperties": [
|
|
17758
|
+
{
|
|
17759
|
+
"description": "Allows customization of the default background color.",
|
|
17760
|
+
"name": "--mdc-listitem-default-background-color",
|
|
17761
|
+
"inheritedFrom": {
|
|
17762
|
+
"name": "ListItem",
|
|
17763
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17764
|
+
}
|
|
17765
|
+
},
|
|
17766
|
+
{
|
|
17767
|
+
"description": "Allows customization of the background color on hover.",
|
|
17768
|
+
"name": "--mdc-listitem-background-color-hover",
|
|
17769
|
+
"inheritedFrom": {
|
|
17770
|
+
"name": "ListItem",
|
|
17771
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17772
|
+
}
|
|
17773
|
+
},
|
|
17774
|
+
{
|
|
17775
|
+
"description": "Allows customization of the background color when pressed.",
|
|
17776
|
+
"name": "--mdc-listitem-background-color-active",
|
|
17777
|
+
"inheritedFrom": {
|
|
17778
|
+
"name": "ListItem",
|
|
17779
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17780
|
+
}
|
|
17781
|
+
},
|
|
17782
|
+
{
|
|
17783
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
|
17784
|
+
"name": "--mdc-listitem-primary-label-color",
|
|
17785
|
+
"inheritedFrom": {
|
|
17786
|
+
"name": "ListItem",
|
|
17787
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17788
|
+
}
|
|
17789
|
+
},
|
|
17790
|
+
{
|
|
17791
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
|
17792
|
+
"name": "--mdc-listitem-secondary-label-color",
|
|
17793
|
+
"inheritedFrom": {
|
|
17794
|
+
"name": "ListItem",
|
|
17795
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17796
|
+
}
|
|
17797
|
+
},
|
|
17798
|
+
{
|
|
17799
|
+
"description": "Allows customization of the disabled color.",
|
|
17800
|
+
"name": "--mdc-listitem-disabled-color",
|
|
17801
|
+
"inheritedFrom": {
|
|
17802
|
+
"name": "ListItem",
|
|
17803
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17804
|
+
}
|
|
17805
|
+
},
|
|
17806
|
+
{
|
|
17807
|
+
"description": "Allows customization of column gap.",
|
|
17808
|
+
"name": "--mdc-listitem-column-gap",
|
|
17809
|
+
"inheritedFrom": {
|
|
17810
|
+
"name": "ListItem",
|
|
17811
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17812
|
+
}
|
|
17813
|
+
},
|
|
17814
|
+
{
|
|
17815
|
+
"description": "Allows customization of padding left and right.",
|
|
17816
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
|
17817
|
+
"inheritedFrom": {
|
|
17818
|
+
"name": "ListItem",
|
|
17819
|
+
"module": "src/components/listitem/listitem.component.ts"
|
|
17820
|
+
}
|
|
17821
|
+
}
|
|
17822
17822
|
]
|
|
17823
17823
|
}
|
|
17824
17824
|
],
|
|
@@ -17827,8 +17827,8 @@
|
|
|
17827
17827
|
"kind": "js",
|
|
17828
17828
|
"name": "default",
|
|
17829
17829
|
"declaration": {
|
|
17830
|
-
"name": "
|
|
17831
|
-
"module": "components/
|
|
17830
|
+
"name": "MenuItemRadio",
|
|
17831
|
+
"module": "components/menuitemradio/menuitemradio.component.js"
|
|
17832
17832
|
}
|
|
17833
17833
|
}
|
|
17834
17834
|
]
|
|
@@ -22083,31 +22083,6 @@
|
|
|
22083
22083
|
"privacy": "private",
|
|
22084
22084
|
"description": "Listens to changes in the default slot and updates the label of the option accordingly.\nThis is used to set the label of the option when it is not explicitly set.\nIt is called internally when the slot is changed."
|
|
22085
22085
|
},
|
|
22086
|
-
{
|
|
22087
|
-
"kind": "method",
|
|
22088
|
-
"name": "updateAttribute",
|
|
22089
|
-
"privacy": "private",
|
|
22090
|
-
"return": {
|
|
22091
|
-
"type": {
|
|
22092
|
-
"text": "void"
|
|
22093
|
-
}
|
|
22094
|
-
},
|
|
22095
|
-
"parameters": [
|
|
22096
|
-
{
|
|
22097
|
-
"name": "attributeName",
|
|
22098
|
-
"type": {
|
|
22099
|
-
"text": "string"
|
|
22100
|
-
}
|
|
22101
|
-
},
|
|
22102
|
-
{
|
|
22103
|
-
"name": "value",
|
|
22104
|
-
"type": {
|
|
22105
|
-
"text": "string"
|
|
22106
|
-
}
|
|
22107
|
-
}
|
|
22108
|
-
],
|
|
22109
|
-
"description": "Updates the attribute of the option to reflect the current state."
|
|
22110
|
-
},
|
|
22111
22086
|
{
|
|
22112
22087
|
"kind": "field",
|
|
22113
22088
|
"name": "name",
|
|
@@ -28232,26 +28207,6 @@
|
|
|
28232
28207
|
}
|
|
28233
28208
|
]
|
|
28234
28209
|
},
|
|
28235
|
-
{
|
|
28236
|
-
"kind": "method",
|
|
28237
|
-
"name": "handleKeydown",
|
|
28238
|
-
"privacy": "private",
|
|
28239
|
-
"return": {
|
|
28240
|
-
"type": {
|
|
28241
|
-
"text": "void"
|
|
28242
|
-
}
|
|
28243
|
-
},
|
|
28244
|
-
"parameters": [
|
|
28245
|
-
{
|
|
28246
|
-
"name": "event",
|
|
28247
|
-
"type": {
|
|
28248
|
-
"text": "KeyboardEvent"
|
|
28249
|
-
},
|
|
28250
|
-
"description": "The keyboard event."
|
|
28251
|
-
}
|
|
28252
|
-
],
|
|
28253
|
-
"description": "Handles the keydown event on the select element.\nIf the popover is open, then it calls `handlePopoverOnOpen` with the event.\nIf the popover is closed, then it calls `handlePopoverOnClose` with the event."
|
|
28254
|
-
},
|
|
28255
28210
|
{
|
|
28256
28211
|
"kind": "method",
|
|
28257
28212
|
"name": "handlePopoverOnOpen",
|
|
@@ -28270,7 +28225,7 @@
|
|
|
28270
28225
|
"description": "The keyboard event."
|
|
28271
28226
|
}
|
|
28272
28227
|
],
|
|
28273
|
-
"description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- SPACE or ENTER: Selects the currently active option and closes the popover.\n-
|
|
28228
|
+
"description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- SPACE or ENTER: Selects the currently active option and closes the popover.\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
|
|
28274
28229
|
},
|
|
28275
28230
|
{
|
|
28276
28231
|
"kind": "method",
|
|
@@ -28993,11 +28948,252 @@
|
|
|
28993
28948
|
}
|
|
28994
28949
|
],
|
|
28995
28950
|
"superclass": {
|
|
28996
|
-
"name": "FormfieldWrapper",
|
|
28997
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
|
28951
|
+
"name": "FormfieldWrapper",
|
|
28952
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
|
28953
|
+
},
|
|
28954
|
+
"tagName": "mdc-select",
|
|
28955
|
+
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
|
|
28956
|
+
"customElement": true
|
|
28957
|
+
}
|
|
28958
|
+
],
|
|
28959
|
+
"exports": [
|
|
28960
|
+
{
|
|
28961
|
+
"kind": "js",
|
|
28962
|
+
"name": "default",
|
|
28963
|
+
"declaration": {
|
|
28964
|
+
"name": "Select",
|
|
28965
|
+
"module": "components/select/select.component.js"
|
|
28966
|
+
}
|
|
28967
|
+
}
|
|
28968
|
+
]
|
|
28969
|
+
},
|
|
28970
|
+
{
|
|
28971
|
+
"kind": "javascript-module",
|
|
28972
|
+
"path": "components/sidenavigation/sidenavigation.component.js",
|
|
28973
|
+
"declarations": [
|
|
28974
|
+
{
|
|
28975
|
+
"kind": "class",
|
|
28976
|
+
"description": "The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\ntypically used in layouts with persistent or collapsible sidebars.\n\n## Features:\n- Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n- Toggleable expand/collapse behavior\n- Displays brand logo and customer name\n- Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n\n### Usage:\nIn a sidenavigation, navitems can be used in the following ways:\n\n1. **Simple navitem** – No submenu or interaction beyond selection.\n\n2. **Navitem with submenu**:\n - Provide an `id` on the `mdc-navitem`\n - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n inside the nested menupopover is active, conveying which submenu item is currently selected\n\n3. **Actionable navitem (no submenu)**:\n - Performs an action such as navigation or alert trigger\n - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n\n### Recommendations:\n- Use `mdc-text` for section headers\n- Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n- For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n\n#### Accessibility Notes:\n- Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\nto ensure screen reader support\n- Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button",
|
|
28977
|
+
"name": "SideNavigation",
|
|
28978
|
+
"cssProperties": [
|
|
28979
|
+
{
|
|
28980
|
+
"description": "width of the sideNavigation when expanded",
|
|
28981
|
+
"name": "--mdc-sidenavigation-expanded-width"
|
|
28982
|
+
},
|
|
28983
|
+
{
|
|
28984
|
+
"description": "width of the sideNavigation when collpased",
|
|
28985
|
+
"name": "--mdc-sidenavigation-collapsed-width"
|
|
28986
|
+
}
|
|
28987
|
+
],
|
|
28988
|
+
"slots": [
|
|
28989
|
+
{
|
|
28990
|
+
"description": "Slot for the scrollable content area of the side navigation.",
|
|
28991
|
+
"name": "scrollable-section"
|
|
28992
|
+
},
|
|
28993
|
+
{
|
|
28994
|
+
"description": "Slot for the fixed content area of the side navigation.",
|
|
28995
|
+
"name": "fixed-section"
|
|
28996
|
+
},
|
|
28997
|
+
{
|
|
28998
|
+
"description": "Slot for the brand logo (e.g., icon or img).",
|
|
28999
|
+
"name": "brand-logo"
|
|
29000
|
+
}
|
|
29001
|
+
],
|
|
29002
|
+
"members": [
|
|
29003
|
+
{
|
|
29004
|
+
"kind": "field",
|
|
29005
|
+
"name": "Context",
|
|
29006
|
+
"privacy": "public",
|
|
29007
|
+
"static": true,
|
|
29008
|
+
"readonly": true
|
|
29009
|
+
},
|
|
29010
|
+
{
|
|
29011
|
+
"kind": "field",
|
|
29012
|
+
"name": "variant",
|
|
29013
|
+
"type": {
|
|
29014
|
+
"text": "SideNavigationVariant"
|
|
29015
|
+
},
|
|
29016
|
+
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29017
|
+
"default": "flexible",
|
|
29018
|
+
"attribute": "variant",
|
|
29019
|
+
"reflects": true
|
|
29020
|
+
},
|
|
29021
|
+
{
|
|
29022
|
+
"kind": "field",
|
|
29023
|
+
"name": "customerName",
|
|
29024
|
+
"type": {
|
|
29025
|
+
"text": "string"
|
|
29026
|
+
},
|
|
29027
|
+
"default": "''",
|
|
29028
|
+
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29029
|
+
"attribute": "customer-name",
|
|
29030
|
+
"reflects": true
|
|
29031
|
+
},
|
|
29032
|
+
{
|
|
29033
|
+
"kind": "field",
|
|
29034
|
+
"name": "grabberBtnAriaLabel",
|
|
29035
|
+
"type": {
|
|
29036
|
+
"text": "string | undefined"
|
|
29037
|
+
},
|
|
29038
|
+
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29039
|
+
"default": "''",
|
|
29040
|
+
"attribute": "grabber-btn-aria-label",
|
|
29041
|
+
"reflects": true
|
|
29042
|
+
},
|
|
29043
|
+
{
|
|
29044
|
+
"kind": "field",
|
|
29045
|
+
"name": "parentNavTooltipText",
|
|
29046
|
+
"type": {
|
|
29047
|
+
"text": "string | undefined"
|
|
29048
|
+
},
|
|
29049
|
+
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29050
|
+
"attribute": "parent-nav-tooltip-text",
|
|
29051
|
+
"reflects": true
|
|
29052
|
+
},
|
|
29053
|
+
{
|
|
29054
|
+
"kind": "method",
|
|
29055
|
+
"name": "updateContext",
|
|
29056
|
+
"privacy": "protected",
|
|
29057
|
+
"return": {
|
|
29058
|
+
"type": {
|
|
29059
|
+
"text": "void"
|
|
29060
|
+
}
|
|
29061
|
+
},
|
|
29062
|
+
"description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
|
|
29063
|
+
}
|
|
29064
|
+
],
|
|
29065
|
+
"events": [
|
|
29066
|
+
{
|
|
29067
|
+
"description": "(React: onActiveChange) Dispatched when the active state of the navitem changes.",
|
|
29068
|
+
"name": "activechange",
|
|
29069
|
+
"reactName": "onActiveChange"
|
|
29070
|
+
}
|
|
29071
|
+
],
|
|
29072
|
+
"attributes": [
|
|
29073
|
+
{
|
|
29074
|
+
"name": "variant",
|
|
29075
|
+
"type": {
|
|
29076
|
+
"text": "SideNavigationVariant"
|
|
29077
|
+
},
|
|
29078
|
+
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29079
|
+
"default": "flexible",
|
|
29080
|
+
"fieldName": "variant"
|
|
29081
|
+
},
|
|
29082
|
+
{
|
|
29083
|
+
"name": "customer-name",
|
|
29084
|
+
"type": {
|
|
29085
|
+
"text": "string"
|
|
29086
|
+
},
|
|
29087
|
+
"default": "''",
|
|
29088
|
+
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29089
|
+
"fieldName": "customerName"
|
|
29090
|
+
},
|
|
29091
|
+
{
|
|
29092
|
+
"name": "grabber-btn-aria-label",
|
|
29093
|
+
"type": {
|
|
29094
|
+
"text": "string | undefined"
|
|
29095
|
+
},
|
|
29096
|
+
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29097
|
+
"default": "''",
|
|
29098
|
+
"fieldName": "grabberBtnAriaLabel"
|
|
29099
|
+
},
|
|
29100
|
+
{
|
|
29101
|
+
"name": "parent-nav-tooltip-text",
|
|
29102
|
+
"type": {
|
|
29103
|
+
"text": "string | undefined"
|
|
29104
|
+
},
|
|
29105
|
+
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29106
|
+
"fieldName": "parentNavTooltipText"
|
|
29107
|
+
}
|
|
29108
|
+
],
|
|
29109
|
+
"superclass": {
|
|
29110
|
+
"name": "Provider",
|
|
29111
|
+
"module": "/src/models"
|
|
29112
|
+
},
|
|
29113
|
+
"tagName": "mdc-sidenavigation",
|
|
29114
|
+
"jsDoc": "/**\n * The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\n * typically used in layouts with persistent or collapsible sidebars.\n *\n * ## Features:\n * - Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n * - Toggleable expand/collapse behavior\n * - Displays brand logo and customer name\n * - Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n *\n * ### Usage:\n * In a sidenavigation, navitems can be used in the following ways:\n *\n * 1. **Simple navitem** – No submenu or interaction beyond selection.\n *\n * 2. **Navitem with submenu**:\n * - Provide an `id` on the `mdc-navitem`\n * - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n * - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n * inside the nested menupopover is active, conveying which submenu item is currently selected\n *\n * 3. **Actionable navitem (no submenu)**:\n * - Performs an action such as navigation or alert trigger\n * - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n *\n * ### Recommendations:\n * - Use `mdc-text` for section headers\n * - Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n * - For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n *\n * #### Accessibility Notes:\n * - Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\n * to ensure screen reader support\n * - Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button\n *\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-divider\n *\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navitem changes.\n *\n * @tagname mdc-sidenavigation\n *\n * @slot scrollable-section - Slot for the scrollable content area of the side navigation.\n * @slot fixed-section - Slot for the fixed content area of the side navigation.\n * @slot brand-logo - Slot for the brand logo (e.g., icon or img).\n *\n * @cssproperty --mdc-sidenavigation-expanded-width - width of the sideNavigation when expanded\n * @cssproperty --mdc-sidenavigation-collapsed-width - width of the sideNavigation when collpased\n */",
|
|
29115
|
+
"customElement": true
|
|
29116
|
+
}
|
|
29117
|
+
],
|
|
29118
|
+
"exports": [
|
|
29119
|
+
{
|
|
29120
|
+
"kind": "js",
|
|
29121
|
+
"name": "default",
|
|
29122
|
+
"declaration": {
|
|
29123
|
+
"name": "SideNavigation",
|
|
29124
|
+
"module": "components/sidenavigation/sidenavigation.component.js"
|
|
29125
|
+
}
|
|
29126
|
+
}
|
|
29127
|
+
]
|
|
29128
|
+
},
|
|
29129
|
+
{
|
|
29130
|
+
"kind": "javascript-module",
|
|
29131
|
+
"path": "components/skeleton/skeleton.component.js",
|
|
29132
|
+
"declarations": [
|
|
29133
|
+
{
|
|
29134
|
+
"kind": "class",
|
|
29135
|
+
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
|
29136
|
+
"name": "Skeleton",
|
|
29137
|
+
"cssProperties": [
|
|
29138
|
+
{
|
|
29139
|
+
"description": "background color of the skeleton",
|
|
29140
|
+
"name": "--mdc-skeleton-background-color"
|
|
29141
|
+
},
|
|
29142
|
+
{
|
|
29143
|
+
"description": "height of the skeleton",
|
|
29144
|
+
"name": "--mdc-skeleton-height"
|
|
29145
|
+
},
|
|
29146
|
+
{
|
|
29147
|
+
"description": "width of the skeleton",
|
|
29148
|
+
"name": "--mdc-skeleton-width"
|
|
29149
|
+
}
|
|
29150
|
+
],
|
|
29151
|
+
"slots": [
|
|
29152
|
+
{
|
|
29153
|
+
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
|
29154
|
+
"name": ""
|
|
29155
|
+
}
|
|
29156
|
+
],
|
|
29157
|
+
"members": [
|
|
29158
|
+
{
|
|
29159
|
+
"kind": "field",
|
|
29160
|
+
"name": "variant",
|
|
29161
|
+
"type": {
|
|
29162
|
+
"text": "SkeletonVariant"
|
|
29163
|
+
},
|
|
29164
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29165
|
+
"default": "rectangular",
|
|
29166
|
+
"attribute": "variant",
|
|
29167
|
+
"reflects": true
|
|
29168
|
+
},
|
|
29169
|
+
{
|
|
29170
|
+
"kind": "method",
|
|
29171
|
+
"name": "checkSlotContent",
|
|
29172
|
+
"privacy": "private",
|
|
29173
|
+
"return": {
|
|
29174
|
+
"type": {
|
|
29175
|
+
"text": "void"
|
|
29176
|
+
}
|
|
29177
|
+
}
|
|
29178
|
+
}
|
|
29179
|
+
],
|
|
29180
|
+
"attributes": [
|
|
29181
|
+
{
|
|
29182
|
+
"name": "variant",
|
|
29183
|
+
"type": {
|
|
29184
|
+
"text": "SkeletonVariant"
|
|
29185
|
+
},
|
|
29186
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29187
|
+
"default": "rectangular",
|
|
29188
|
+
"fieldName": "variant"
|
|
29189
|
+
}
|
|
29190
|
+
],
|
|
29191
|
+
"superclass": {
|
|
29192
|
+
"name": "Component",
|
|
29193
|
+
"module": "/src/models"
|
|
28998
29194
|
},
|
|
28999
|
-
"tagName": "mdc-
|
|
29000
|
-
"jsDoc": "/**\n *
|
|
29195
|
+
"tagName": "mdc-skeleton",
|
|
29196
|
+
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
|
29001
29197
|
"customElement": true
|
|
29002
29198
|
}
|
|
29003
29199
|
],
|
|
@@ -29006,8 +29202,8 @@
|
|
|
29006
29202
|
"kind": "js",
|
|
29007
29203
|
"name": "default",
|
|
29008
29204
|
"declaration": {
|
|
29009
|
-
"name": "
|
|
29010
|
-
"module": "components/
|
|
29205
|
+
"name": "Skeleton",
|
|
29206
|
+
"module": "components/skeleton/skeleton.component.js"
|
|
29011
29207
|
}
|
|
29012
29208
|
}
|
|
29013
29209
|
]
|
|
@@ -29437,247 +29633,6 @@
|
|
|
29437
29633
|
}
|
|
29438
29634
|
]
|
|
29439
29635
|
},
|
|
29440
|
-
{
|
|
29441
|
-
"kind": "javascript-module",
|
|
29442
|
-
"path": "components/sidenavigation/sidenavigation.component.js",
|
|
29443
|
-
"declarations": [
|
|
29444
|
-
{
|
|
29445
|
-
"kind": "class",
|
|
29446
|
-
"description": "The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\ntypically used in layouts with persistent or collapsible sidebars.\n\n## Features:\n- Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n- Toggleable expand/collapse behavior\n- Displays brand logo and customer name\n- Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n\n### Usage:\nIn a sidenavigation, navitems can be used in the following ways:\n\n1. **Simple navitem** – No submenu or interaction beyond selection.\n\n2. **Navitem with submenu**:\n - Provide an `id` on the `mdc-navitem`\n - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n inside the nested menupopover is active, conveying which submenu item is currently selected\n\n3. **Actionable navitem (no submenu)**:\n - Performs an action such as navigation or alert trigger\n - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n\n### Recommendations:\n- Use `mdc-text` for section headers\n- Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n- For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n\n#### Accessibility Notes:\n- Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\nto ensure screen reader support\n- Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button",
|
|
29447
|
-
"name": "SideNavigation",
|
|
29448
|
-
"cssProperties": [
|
|
29449
|
-
{
|
|
29450
|
-
"description": "width of the sideNavigation when expanded",
|
|
29451
|
-
"name": "--mdc-sidenavigation-expanded-width"
|
|
29452
|
-
},
|
|
29453
|
-
{
|
|
29454
|
-
"description": "width of the sideNavigation when collpased",
|
|
29455
|
-
"name": "--mdc-sidenavigation-collapsed-width"
|
|
29456
|
-
}
|
|
29457
|
-
],
|
|
29458
|
-
"slots": [
|
|
29459
|
-
{
|
|
29460
|
-
"description": "Slot for the scrollable content area of the side navigation.",
|
|
29461
|
-
"name": "scrollable-section"
|
|
29462
|
-
},
|
|
29463
|
-
{
|
|
29464
|
-
"description": "Slot for the fixed content area of the side navigation.",
|
|
29465
|
-
"name": "fixed-section"
|
|
29466
|
-
},
|
|
29467
|
-
{
|
|
29468
|
-
"description": "Slot for the brand logo (e.g., icon or img).",
|
|
29469
|
-
"name": "brand-logo"
|
|
29470
|
-
}
|
|
29471
|
-
],
|
|
29472
|
-
"members": [
|
|
29473
|
-
{
|
|
29474
|
-
"kind": "field",
|
|
29475
|
-
"name": "Context",
|
|
29476
|
-
"privacy": "public",
|
|
29477
|
-
"static": true,
|
|
29478
|
-
"readonly": true
|
|
29479
|
-
},
|
|
29480
|
-
{
|
|
29481
|
-
"kind": "field",
|
|
29482
|
-
"name": "variant",
|
|
29483
|
-
"type": {
|
|
29484
|
-
"text": "SideNavigationVariant"
|
|
29485
|
-
},
|
|
29486
|
-
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29487
|
-
"default": "flexible",
|
|
29488
|
-
"attribute": "variant",
|
|
29489
|
-
"reflects": true
|
|
29490
|
-
},
|
|
29491
|
-
{
|
|
29492
|
-
"kind": "field",
|
|
29493
|
-
"name": "customerName",
|
|
29494
|
-
"type": {
|
|
29495
|
-
"text": "string"
|
|
29496
|
-
},
|
|
29497
|
-
"default": "''",
|
|
29498
|
-
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29499
|
-
"attribute": "customer-name",
|
|
29500
|
-
"reflects": true
|
|
29501
|
-
},
|
|
29502
|
-
{
|
|
29503
|
-
"kind": "field",
|
|
29504
|
-
"name": "grabberBtnAriaLabel",
|
|
29505
|
-
"type": {
|
|
29506
|
-
"text": "string | undefined"
|
|
29507
|
-
},
|
|
29508
|
-
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29509
|
-
"default": "''",
|
|
29510
|
-
"attribute": "grabber-btn-aria-label",
|
|
29511
|
-
"reflects": true
|
|
29512
|
-
},
|
|
29513
|
-
{
|
|
29514
|
-
"kind": "field",
|
|
29515
|
-
"name": "parentNavTooltipText",
|
|
29516
|
-
"type": {
|
|
29517
|
-
"text": "string | undefined"
|
|
29518
|
-
},
|
|
29519
|
-
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29520
|
-
"attribute": "parent-nav-tooltip-text",
|
|
29521
|
-
"reflects": true
|
|
29522
|
-
},
|
|
29523
|
-
{
|
|
29524
|
-
"kind": "method",
|
|
29525
|
-
"name": "updateContext",
|
|
29526
|
-
"privacy": "protected",
|
|
29527
|
-
"return": {
|
|
29528
|
-
"type": {
|
|
29529
|
-
"text": "void"
|
|
29530
|
-
}
|
|
29531
|
-
},
|
|
29532
|
-
"description": "Update all observing components of this\nprovider to update the values\n\nIs called on every re-render, see Provider class"
|
|
29533
|
-
}
|
|
29534
|
-
],
|
|
29535
|
-
"events": [
|
|
29536
|
-
{
|
|
29537
|
-
"description": "(React: onActiveChange) Dispatched when the active state of the navitem changes.",
|
|
29538
|
-
"name": "activechange",
|
|
29539
|
-
"reactName": "onActiveChange"
|
|
29540
|
-
}
|
|
29541
|
-
],
|
|
29542
|
-
"attributes": [
|
|
29543
|
-
{
|
|
29544
|
-
"name": "variant",
|
|
29545
|
-
"type": {
|
|
29546
|
-
"text": "SideNavigationVariant"
|
|
29547
|
-
},
|
|
29548
|
-
"description": "Four variants of the sideNavigation\n- **fixed-collapsed**: Shows icons without labels and has fixed width, 4.5rem.\n- **fixed-expanded**: Shows icons with labels and has fixed width, 15rem.\n- **flexible**: Toggles between collapsed/expanded states.\n- **hidden**: Removes the sidenavigation from the DOM.",
|
|
29549
|
-
"default": "flexible",
|
|
29550
|
-
"fieldName": "variant"
|
|
29551
|
-
},
|
|
29552
|
-
{
|
|
29553
|
-
"name": "customer-name",
|
|
29554
|
-
"type": {
|
|
29555
|
-
"text": "string"
|
|
29556
|
-
},
|
|
29557
|
-
"default": "''",
|
|
29558
|
-
"description": "Name of the customer. This is displayed in the bottom section of the side-navigation component.",
|
|
29559
|
-
"fieldName": "customerName"
|
|
29560
|
-
},
|
|
29561
|
-
{
|
|
29562
|
-
"name": "grabber-btn-aria-label",
|
|
29563
|
-
"type": {
|
|
29564
|
-
"text": "string | undefined"
|
|
29565
|
-
},
|
|
29566
|
-
"description": "Provides an accessible label for the grabber button.\nThis value is used to set the `aria-label` attribute for the button.",
|
|
29567
|
-
"default": "''",
|
|
29568
|
-
"fieldName": "grabberBtnAriaLabel"
|
|
29569
|
-
},
|
|
29570
|
-
{
|
|
29571
|
-
"name": "parent-nav-tooltip-text",
|
|
29572
|
-
"type": {
|
|
29573
|
-
"text": "string | undefined"
|
|
29574
|
-
},
|
|
29575
|
-
"description": "Tooltip text shown on parent nav items when a child is active.",
|
|
29576
|
-
"fieldName": "parentNavTooltipText"
|
|
29577
|
-
}
|
|
29578
|
-
],
|
|
29579
|
-
"superclass": {
|
|
29580
|
-
"name": "Provider",
|
|
29581
|
-
"module": "/src/models"
|
|
29582
|
-
},
|
|
29583
|
-
"tagName": "mdc-sidenavigation",
|
|
29584
|
-
"jsDoc": "/**\n * The `mdc-sidenavigation` component provides a vertically stacked navigation experience,\n * typically used in layouts with persistent or collapsible sidebars.\n *\n * ## Features:\n * - Supports four layout variants: `fixed-collapsed`, `fixed-expanded`, `flexible`, and `hidden`\n * - Toggleable expand/collapse behavior\n * - Displays brand logo and customer name\n * - Serves as a context provider for descendant components - `mdc-navitemlist` and `mdc-navitem`\n *\n * ### Usage:\n * In a sidenavigation, navitems can be used in the following ways:\n *\n * 1. **Simple navitem** – No submenu or interaction beyond selection.\n *\n * 2. **Navitem with submenu**:\n * - Provide an `id` on the `mdc-navitem`\n * - Set the `triggerId` on the corresponding `mdc-menupopover` to match the navitem's `id`\n * - Set `parent-nav-tooltip-text` with appropriate text that will display when a child menu item\n * inside the nested menupopover is active, conveying which submenu item is currently selected\n *\n * 3. **Actionable navitem (no submenu)**:\n * - Performs an action such as navigation or alert trigger\n * - Set `disable-aria-current=\"true\"` to maintain visual active state without navigation behavior\n *\n * ### Recommendations:\n * - Use `mdc-text` for section headers\n * - Use `mdc-divider` with the attribute `variant=\"gradient\"` for section dividers\n * - For the brand logo, use an informative icon. Refer to `Momentum Informative Icons`\n *\n * #### Accessibility Notes:\n * - Always provide meaningful `aria-label` attributes for both `mdc-navitem` and `mdc-navitemlist`\n * to ensure screen reader support\n * - Set `grabber-btn-aria-label` to provide accessible labels for the expand/collapse grabber button\n *\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-divider\n *\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navitem changes.\n *\n * @tagname mdc-sidenavigation\n *\n * @slot scrollable-section - Slot for the scrollable content area of the side navigation.\n * @slot fixed-section - Slot for the fixed content area of the side navigation.\n * @slot brand-logo - Slot for the brand logo (e.g., icon or img).\n *\n * @cssproperty --mdc-sidenavigation-expanded-width - width of the sideNavigation when expanded\n * @cssproperty --mdc-sidenavigation-collapsed-width - width of the sideNavigation when collpased\n */",
|
|
29585
|
-
"customElement": true
|
|
29586
|
-
}
|
|
29587
|
-
],
|
|
29588
|
-
"exports": [
|
|
29589
|
-
{
|
|
29590
|
-
"kind": "js",
|
|
29591
|
-
"name": "default",
|
|
29592
|
-
"declaration": {
|
|
29593
|
-
"name": "SideNavigation",
|
|
29594
|
-
"module": "components/sidenavigation/sidenavigation.component.js"
|
|
29595
|
-
}
|
|
29596
|
-
}
|
|
29597
|
-
]
|
|
29598
|
-
},
|
|
29599
|
-
{
|
|
29600
|
-
"kind": "javascript-module",
|
|
29601
|
-
"path": "components/skeleton/skeleton.component.js",
|
|
29602
|
-
"declarations": [
|
|
29603
|
-
{
|
|
29604
|
-
"kind": "class",
|
|
29605
|
-
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
|
29606
|
-
"name": "Skeleton",
|
|
29607
|
-
"cssProperties": [
|
|
29608
|
-
{
|
|
29609
|
-
"description": "background color of the skeleton",
|
|
29610
|
-
"name": "--mdc-skeleton-background-color"
|
|
29611
|
-
},
|
|
29612
|
-
{
|
|
29613
|
-
"description": "height of the skeleton",
|
|
29614
|
-
"name": "--mdc-skeleton-height"
|
|
29615
|
-
},
|
|
29616
|
-
{
|
|
29617
|
-
"description": "width of the skeleton",
|
|
29618
|
-
"name": "--mdc-skeleton-width"
|
|
29619
|
-
}
|
|
29620
|
-
],
|
|
29621
|
-
"slots": [
|
|
29622
|
-
{
|
|
29623
|
-
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
|
29624
|
-
"name": ""
|
|
29625
|
-
}
|
|
29626
|
-
],
|
|
29627
|
-
"members": [
|
|
29628
|
-
{
|
|
29629
|
-
"kind": "field",
|
|
29630
|
-
"name": "variant",
|
|
29631
|
-
"type": {
|
|
29632
|
-
"text": "SkeletonVariant"
|
|
29633
|
-
},
|
|
29634
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29635
|
-
"default": "rectangular",
|
|
29636
|
-
"attribute": "variant",
|
|
29637
|
-
"reflects": true
|
|
29638
|
-
},
|
|
29639
|
-
{
|
|
29640
|
-
"kind": "method",
|
|
29641
|
-
"name": "checkSlotContent",
|
|
29642
|
-
"privacy": "private",
|
|
29643
|
-
"return": {
|
|
29644
|
-
"type": {
|
|
29645
|
-
"text": "void"
|
|
29646
|
-
}
|
|
29647
|
-
}
|
|
29648
|
-
}
|
|
29649
|
-
],
|
|
29650
|
-
"attributes": [
|
|
29651
|
-
{
|
|
29652
|
-
"name": "variant",
|
|
29653
|
-
"type": {
|
|
29654
|
-
"text": "SkeletonVariant"
|
|
29655
|
-
},
|
|
29656
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
|
29657
|
-
"default": "rectangular",
|
|
29658
|
-
"fieldName": "variant"
|
|
29659
|
-
}
|
|
29660
|
-
],
|
|
29661
|
-
"superclass": {
|
|
29662
|
-
"name": "Component",
|
|
29663
|
-
"module": "/src/models"
|
|
29664
|
-
},
|
|
29665
|
-
"tagName": "mdc-skeleton",
|
|
29666
|
-
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
|
29667
|
-
"customElement": true
|
|
29668
|
-
}
|
|
29669
|
-
],
|
|
29670
|
-
"exports": [
|
|
29671
|
-
{
|
|
29672
|
-
"kind": "js",
|
|
29673
|
-
"name": "default",
|
|
29674
|
-
"declaration": {
|
|
29675
|
-
"name": "Skeleton",
|
|
29676
|
-
"module": "components/skeleton/skeleton.component.js"
|
|
29677
|
-
}
|
|
29678
|
-
}
|
|
29679
|
-
]
|
|
29680
|
-
},
|
|
29681
29636
|
{
|
|
29682
29637
|
"kind": "javascript-module",
|
|
29683
29638
|
"path": "components/statictoggle/statictoggle.component.js",
|