@momentum-design/components 0.85.6 → 0.85.8
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 +225 -201
- package/dist/browser/index.js.map +4 -4
- package/dist/components/menuitem/menuitem.component.d.ts +21 -1
- package/dist/components/menuitem/menuitem.component.js +29 -1
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +26 -15
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +42 -25
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.d.ts +1 -1
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.js +1 -2
- package/dist/components/menuitemcheckbox/menuitemcheckbox.styles.js +0 -6
- package/dist/components/menuitemradio/menuitemradio.component.d.ts +61 -12
- package/dist/components/menuitemradio/menuitemradio.component.js +125 -40
- package/dist/components/menuitemradio/menuitemradio.constants.d.ts +9 -1
- package/dist/components/menuitemradio/menuitemradio.constants.js +9 -1
- package/dist/components/menuitemradio/menuitemradio.styles.d.ts +2 -0
- package/dist/components/menuitemradio/menuitemradio.styles.js +7 -0
- package/dist/components/menuitemradio/menuitemradio.types.d.ts +4 -1
- package/dist/components/menupopover/menupopover.component.d.ts +6 -0
- package/dist/components/menupopover/menupopover.component.js +11 -3
- package/dist/components/menupopover/menupopover.styles.js +4 -0
- package/dist/components/menupopover/menupopover.types.d.ts +11 -0
- package/dist/components/menupopover/menupopover.types.js +1 -0
- package/dist/components/menupopover/menupopover.utils.d.ts +4 -2
- package/dist/components/menupopover/menupopover.utils.js +1 -1
- package/dist/components/menusection/menusection.component.d.ts +15 -2
- package/dist/components/menusection/menusection.component.js +55 -4
- package/dist/components/menusection/menusection.constants.d.ts +1 -5
- package/dist/components/menusection/menusection.constants.js +1 -5
- package/dist/components/menusection/menusection.styles.d.ts +2 -0
- package/dist/components/menusection/menusection.styles.js +11 -0
- package/dist/components/menusection/menusection.types.d.ts +7 -4
- package/dist/custom-elements.json +1180 -862
- package/dist/index.d.ts +3 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/menuitem/index.d.ts +12 -1
- package/dist/react/menuitem/index.js +12 -1
- package/dist/react/menuitemcheckbox/index.d.ts +18 -7
- package/dist/react/menuitemcheckbox/index.js +18 -7
- package/dist/react/menuitemradio/index.d.ts +25 -2
- package/dist/react/menuitemradio/index.js +25 -2
- package/dist/react/menupopover/index.d.ts +8 -0
- package/dist/react/menupopover/index.js +8 -0
- package/dist/react/menusection/index.d.ts +6 -1
- package/dist/react/menusection/index.js +5 -1
- package/dist/utils/types.d.ts +10 -0
- package/package.json +1 -1
@@ -4,519 +4,264 @@
|
|
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
|
-
],
|
31
|
-
"cssParts": [
|
32
|
-
{
|
33
|
-
"description": "The alert icon",
|
34
|
-
"name": "icon"
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"description": "The text label of the alertchip",
|
38
|
-
"name": "label"
|
39
|
-
}
|
40
|
-
],
|
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",
|
41
13
|
"members": [
|
42
14
|
{
|
43
15
|
"kind": "field",
|
44
|
-
"name": "
|
45
|
-
"type": {
|
46
|
-
"text": "VariantType"
|
47
|
-
},
|
48
|
-
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
49
|
-
"default": "neutral",
|
50
|
-
"attribute": "variant"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"kind": "field",
|
54
|
-
"name": "label",
|
55
|
-
"type": {
|
56
|
-
"text": "string"
|
57
|
-
},
|
58
|
-
"default": "''",
|
59
|
-
"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.",
|
60
|
-
"attribute": "label"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"kind": "field",
|
64
|
-
"name": "autofocus",
|
16
|
+
"name": "name",
|
65
17
|
"type": {
|
66
|
-
"text": "
|
18
|
+
"text": "AnimationNames | undefined"
|
67
19
|
},
|
68
|
-
"
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"reflects": true,
|
72
|
-
"inheritedFrom": {
|
73
|
-
"name": "AutoFocusMixin",
|
74
|
-
"module": "utils/mixins/AutoFocusMixin.js"
|
75
|
-
}
|
20
|
+
"description": "Name of the animation (= filename)",
|
21
|
+
"attribute": "name",
|
22
|
+
"reflects": true
|
76
23
|
},
|
77
24
|
{
|
78
25
|
"kind": "field",
|
79
|
-
"name": "
|
26
|
+
"name": "loop",
|
80
27
|
"type": {
|
81
|
-
"text": "
|
28
|
+
"text": "LoopType | undefined"
|
82
29
|
},
|
83
|
-
"
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"reflects": true,
|
87
|
-
"inheritedFrom": {
|
88
|
-
"name": "TabIndexMixin",
|
89
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
90
|
-
}
|
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
|
91
33
|
},
|
92
34
|
{
|
93
35
|
"kind": "field",
|
94
|
-
"name": "
|
36
|
+
"name": "autoplay",
|
95
37
|
"type": {
|
96
38
|
"text": "boolean | undefined"
|
97
39
|
},
|
98
|
-
"description": "
|
99
|
-
"
|
100
|
-
"
|
101
|
-
"reflects": true,
|
102
|
-
"inheritedFrom": {
|
103
|
-
"name": "DisabledMixin",
|
104
|
-
"module": "utils/mixins/DisabledMixin.js"
|
105
|
-
}
|
40
|
+
"description": "Weather start the animation automatically",
|
41
|
+
"attribute": "autoplay",
|
42
|
+
"reflects": true
|
106
43
|
},
|
107
44
|
{
|
108
45
|
"kind": "field",
|
109
|
-
"name": "
|
46
|
+
"name": "ariaLabel",
|
110
47
|
"type": {
|
111
|
-
"text": "
|
48
|
+
"text": "string | null"
|
112
49
|
},
|
113
|
-
"
|
114
|
-
"
|
115
|
-
"attribute": "
|
116
|
-
"reflects": true,
|
117
|
-
"inheritedFrom": {
|
118
|
-
"name": "Buttonsimple",
|
119
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
120
|
-
}
|
50
|
+
"default": "null",
|
51
|
+
"description": "Aria-label attribute to be set for accessibility",
|
52
|
+
"attribute": "aria-label"
|
121
53
|
},
|
122
54
|
{
|
123
55
|
"kind": "field",
|
124
|
-
"name": "
|
56
|
+
"name": "ariaLabelledBy",
|
125
57
|
"type": {
|
126
|
-
"text": "
|
58
|
+
"text": "string | null"
|
127
59
|
},
|
128
|
-
"
|
129
|
-
"
|
130
|
-
"attribute": "
|
131
|
-
"reflects": true,
|
132
|
-
"inheritedFrom": {
|
133
|
-
"name": "Buttonsimple",
|
134
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
135
|
-
}
|
60
|
+
"default": "null",
|
61
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
62
|
+
"attribute": "aria-labelledby"
|
136
63
|
},
|
137
64
|
{
|
138
65
|
"kind": "field",
|
139
|
-
"name": "
|
66
|
+
"name": "lottieInstance",
|
140
67
|
"type": {
|
141
|
-
"text": "
|
68
|
+
"text": "AnimationItem | undefined"
|
142
69
|
},
|
143
|
-
"
|
144
|
-
"
|
145
|
-
"attribute": "size",
|
146
|
-
"reflects": true,
|
147
|
-
"inheritedFrom": {
|
148
|
-
"name": "Buttonsimple",
|
149
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
150
|
-
}
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"kind": "field",
|
154
|
-
"name": "role",
|
155
|
-
"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.",
|
156
|
-
"default": "button",
|
157
|
-
"attribute": "role",
|
158
|
-
"reflects": true,
|
159
|
-
"inheritedFrom": {
|
160
|
-
"name": "Buttonsimple",
|
161
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
162
|
-
}
|
70
|
+
"privacy": "private",
|
71
|
+
"description": "Lottie animation instance"
|
163
72
|
},
|
164
73
|
{
|
165
74
|
"kind": "field",
|
166
|
-
"name": "
|
75
|
+
"name": "containerRef",
|
167
76
|
"type": {
|
168
|
-
"text": "
|
77
|
+
"text": "Ref<HTMLDivElement>"
|
169
78
|
},
|
170
|
-
"
|
171
|
-
"
|
172
|
-
"attribute": "ariaStateKey",
|
173
|
-
"reflects": true,
|
174
|
-
"inheritedFrom": {
|
175
|
-
"name": "Buttonsimple",
|
176
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
177
|
-
}
|
79
|
+
"privacy": "private",
|
80
|
+
"description": "Container for the animation"
|
178
81
|
},
|
179
82
|
{
|
180
83
|
"kind": "field",
|
181
|
-
"name": "
|
182
|
-
"
|
183
|
-
|
184
|
-
},
|
185
|
-
"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.",
|
186
|
-
"default": "button",
|
187
|
-
"attribute": "type",
|
188
|
-
"reflects": true,
|
189
|
-
"inheritedFrom": {
|
190
|
-
"name": "Buttonsimple",
|
191
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
192
|
-
}
|
84
|
+
"name": "animation",
|
85
|
+
"description": "Exposed API of the animation library (lottie)",
|
86
|
+
"readonly": true
|
193
87
|
},
|
194
88
|
{
|
195
89
|
"kind": "method",
|
196
|
-
"name": "
|
197
|
-
"privacy": "
|
198
|
-
"inheritedFrom": {
|
199
|
-
"name": "Buttonsimple",
|
200
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
201
|
-
}
|
90
|
+
"name": "getLoopValue",
|
91
|
+
"privacy": "private"
|
202
92
|
},
|
203
93
|
{
|
204
94
|
"kind": "method",
|
205
|
-
"name": "
|
206
|
-
"privacy": "
|
95
|
+
"name": "onLoadSuccessHandler",
|
96
|
+
"privacy": "private",
|
207
97
|
"parameters": [
|
208
98
|
{
|
209
|
-
"name": "
|
210
|
-
"type": {
|
211
|
-
"text": "HTMLElement"
|
212
|
-
},
|
213
|
-
"description": "The button element"
|
214
|
-
},
|
215
|
-
{
|
216
|
-
"name": "active",
|
217
|
-
"optional": true,
|
99
|
+
"name": "animationData",
|
218
100
|
"type": {
|
219
|
-
"text": "
|
220
|
-
}
|
221
|
-
"description": "The active state of the element"
|
101
|
+
"text": "any"
|
102
|
+
}
|
222
103
|
}
|
223
104
|
],
|
224
|
-
"description": "
|
225
|
-
"inheritedFrom": {
|
226
|
-
"name": "Buttonsimple",
|
227
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
228
|
-
}
|
105
|
+
"description": "Create new lotty instance for the loaded data"
|
229
106
|
},
|
230
107
|
{
|
231
108
|
"kind": "method",
|
232
|
-
"name": "
|
109
|
+
"name": "onLoadFailHandler",
|
233
110
|
"privacy": "private",
|
234
111
|
"parameters": [
|
235
112
|
{
|
236
|
-
"name": "
|
237
|
-
"type": {
|
238
|
-
"text": "HTMLElement"
|
239
|
-
},
|
240
|
-
"description": "The button element."
|
241
|
-
},
|
242
|
-
{
|
243
|
-
"name": "softDisabled",
|
244
|
-
"optional": true,
|
113
|
+
"name": "error",
|
245
114
|
"type": {
|
246
|
-
"text": "
|
247
|
-
}
|
248
|
-
"description": "The soft-disabled state."
|
115
|
+
"text": "Error"
|
116
|
+
}
|
249
117
|
}
|
250
118
|
],
|
251
|
-
"description": "
|
252
|
-
"inheritedFrom": {
|
253
|
-
"name": "Buttonsimple",
|
254
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
255
|
-
}
|
119
|
+
"description": "Error handler for animation loading"
|
256
120
|
},
|
257
121
|
{
|
258
122
|
"kind": "method",
|
259
|
-
"name": "
|
123
|
+
"name": "getAnimationData",
|
260
124
|
"privacy": "private",
|
261
|
-
"
|
262
|
-
{
|
263
|
-
"name": "element",
|
264
|
-
"type": {
|
265
|
-
"text": "HTMLElement"
|
266
|
-
},
|
267
|
-
"description": "The button element."
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"name": "disabled",
|
271
|
-
"type": {
|
272
|
-
"text": "boolean"
|
273
|
-
},
|
274
|
-
"description": "The disabled state."
|
275
|
-
}
|
276
|
-
],
|
277
|
-
"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.",
|
278
|
-
"inheritedFrom": {
|
279
|
-
"name": "Buttonsimple",
|
280
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
281
|
-
}
|
282
|
-
},
|
283
|
-
{
|
284
|
-
"kind": "method",
|
285
|
-
"name": "triggerClickEvent",
|
286
|
-
"privacy": "private",
|
287
|
-
"inheritedFrom": {
|
288
|
-
"name": "Buttonsimple",
|
289
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
290
|
-
}
|
291
|
-
},
|
292
|
-
{
|
293
|
-
"kind": "method",
|
294
|
-
"name": "handleBlur",
|
295
|
-
"privacy": "private",
|
296
|
-
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
297
|
-
"inheritedFrom": {
|
298
|
-
"name": "Buttonsimple",
|
299
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
300
|
-
}
|
301
|
-
},
|
302
|
-
{
|
303
|
-
"kind": "method",
|
304
|
-
"name": "handleKeyDown",
|
305
|
-
"privacy": "private",
|
306
|
-
"parameters": [
|
307
|
-
{
|
308
|
-
"name": "event",
|
309
|
-
"type": {
|
310
|
-
"text": "KeyboardEvent"
|
311
|
-
},
|
312
|
-
"description": "The keyboard event."
|
313
|
-
}
|
314
|
-
],
|
315
|
-
"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.",
|
316
|
-
"inheritedFrom": {
|
317
|
-
"name": "Buttonsimple",
|
318
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
319
|
-
}
|
125
|
+
"description": "Import animation data dynamically"
|
320
126
|
},
|
321
127
|
{
|
322
|
-
"kind": "
|
323
|
-
"name": "
|
324
|
-
"
|
325
|
-
"parameters": [
|
326
|
-
{
|
327
|
-
"name": "event",
|
328
|
-
"type": {
|
329
|
-
"text": "KeyboardEvent"
|
330
|
-
},
|
331
|
-
"description": "The keyboard event."
|
332
|
-
}
|
333
|
-
],
|
334
|
-
"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.",
|
335
|
-
"inheritedFrom": {
|
336
|
-
"name": "Buttonsimple",
|
337
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
338
|
-
}
|
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."
|
339
131
|
}
|
340
132
|
],
|
341
|
-
"
|
133
|
+
"events": [
|
342
134
|
{
|
343
|
-
"name": "
|
135
|
+
"name": "load",
|
344
136
|
"type": {
|
345
|
-
"text": "
|
137
|
+
"text": "CustomEvent"
|
346
138
|
},
|
347
|
-
"description": "
|
348
|
-
"
|
349
|
-
"fieldName": "variant"
|
139
|
+
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
140
|
+
"reactName": "onLoad"
|
350
141
|
},
|
351
142
|
{
|
352
|
-
"
|
353
|
-
"
|
354
|
-
|
355
|
-
},
|
356
|
-
"default": "''",
|
357
|
-
"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.",
|
358
|
-
"fieldName": "label"
|
143
|
+
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
144
|
+
"name": "complete",
|
145
|
+
"reactName": "onComplete"
|
359
146
|
},
|
360
147
|
{
|
361
|
-
"
|
362
|
-
"
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
"fieldName": "autofocus",
|
368
|
-
"inheritedFrom": {
|
369
|
-
"name": "AutoFocusMixin",
|
370
|
-
"module": "src/utils/mixins/AutoFocusMixin.ts"
|
371
|
-
}
|
372
|
-
},
|
148
|
+
"description": "(React: onError) This event is dispatched when animation loading failed",
|
149
|
+
"name": "error",
|
150
|
+
"reactName": "onError"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"attributes": [
|
373
154
|
{
|
374
|
-
"name": "
|
155
|
+
"name": "name",
|
375
156
|
"type": {
|
376
|
-
"text": "
|
157
|
+
"text": "AnimationNames | undefined"
|
377
158
|
},
|
378
|
-
"
|
379
|
-
"
|
380
|
-
"fieldName": "tabIndex",
|
381
|
-
"inheritedFrom": {
|
382
|
-
"name": "TabIndexMixin",
|
383
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
384
|
-
}
|
159
|
+
"description": "Name of the animation (= filename)",
|
160
|
+
"fieldName": "name"
|
385
161
|
},
|
386
162
|
{
|
387
|
-
"name": "
|
163
|
+
"name": "loop",
|
388
164
|
"type": {
|
389
|
-
"text": "
|
165
|
+
"text": "LoopType | undefined"
|
390
166
|
},
|
391
|
-
"description": "
|
392
|
-
"
|
393
|
-
"fieldName": "disabled",
|
394
|
-
"inheritedFrom": {
|
395
|
-
"name": "DisabledMixin",
|
396
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
397
|
-
}
|
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"
|
398
169
|
},
|
399
170
|
{
|
400
|
-
"name": "
|
171
|
+
"name": "autoplay",
|
401
172
|
"type": {
|
402
173
|
"text": "boolean | undefined"
|
403
174
|
},
|
404
|
-
"description": "
|
405
|
-
"
|
406
|
-
"fieldName": "active",
|
407
|
-
"inheritedFrom": {
|
408
|
-
"name": "Buttonsimple",
|
409
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
410
|
-
}
|
175
|
+
"description": "Weather start the animation automatically",
|
176
|
+
"fieldName": "autoplay"
|
411
177
|
},
|
412
178
|
{
|
413
|
-
"name": "
|
179
|
+
"name": "aria-label",
|
414
180
|
"type": {
|
415
|
-
"text": "
|
181
|
+
"text": "string | null"
|
416
182
|
},
|
417
|
-
"
|
418
|
-
"
|
419
|
-
"fieldName": "
|
420
|
-
"inheritedFrom": {
|
421
|
-
"name": "Buttonsimple",
|
422
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
423
|
-
}
|
183
|
+
"default": "null",
|
184
|
+
"description": "Aria-label attribute to be set for accessibility",
|
185
|
+
"fieldName": "ariaLabel"
|
424
186
|
},
|
425
187
|
{
|
426
|
-
"name": "
|
188
|
+
"name": "aria-labelledby",
|
427
189
|
"type": {
|
428
|
-
"text": "
|
190
|
+
"text": "string | null"
|
429
191
|
},
|
430
|
-
"
|
431
|
-
"
|
432
|
-
"fieldName": "
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
192
|
+
"default": "null",
|
193
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
194
|
+
"fieldName": "ariaLabelledBy"
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"superclass": {
|
198
|
+
"name": "Component",
|
199
|
+
"module": "/src/models"
|
200
|
+
},
|
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
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"exports": [
|
207
|
+
{
|
208
|
+
"kind": "js",
|
209
|
+
"name": "default",
|
210
|
+
"declaration": {
|
211
|
+
"name": "Animation",
|
212
|
+
"module": "components/animation/animation.component.js"
|
213
|
+
}
|
214
|
+
}
|
215
|
+
]
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"kind": "javascript-module",
|
219
|
+
"path": "components/appheader/appheader.component.js",
|
220
|
+
"declarations": [
|
221
|
+
{
|
222
|
+
"kind": "class",
|
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": [
|
226
|
+
{
|
227
|
+
"description": "The main container for styling the header.",
|
228
|
+
"name": "container"
|
437
229
|
},
|
438
230
|
{
|
439
|
-
"
|
440
|
-
"
|
441
|
-
"default": "button",
|
442
|
-
"fieldName": "role",
|
443
|
-
"inheritedFrom": {
|
444
|
-
"name": "Buttonsimple",
|
445
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
446
|
-
}
|
231
|
+
"description": "The leading section of the header.",
|
232
|
+
"name": "leading-section"
|
447
233
|
},
|
448
234
|
{
|
449
|
-
"
|
450
|
-
"
|
451
|
-
"text": "string | undefined"
|
452
|
-
},
|
453
|
-
"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`",
|
454
|
-
"default": "'aria-pressed' (when)",
|
455
|
-
"fieldName": "ariaStateKey",
|
456
|
-
"inheritedFrom": {
|
457
|
-
"name": "Buttonsimple",
|
458
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
459
|
-
}
|
235
|
+
"description": "The center section of the header.",
|
236
|
+
"name": "center-section"
|
460
237
|
},
|
461
238
|
{
|
462
|
-
"
|
463
|
-
"
|
464
|
-
"text": "ButtonType"
|
465
|
-
},
|
466
|
-
"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.",
|
467
|
-
"default": "button",
|
468
|
-
"fieldName": "type",
|
469
|
-
"inheritedFrom": {
|
470
|
-
"name": "Buttonsimple",
|
471
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
472
|
-
}
|
239
|
+
"description": "The trailing section of the header.",
|
240
|
+
"name": "trailing-section"
|
473
241
|
}
|
474
242
|
],
|
475
|
-
"
|
476
|
-
"name": "Buttonsimple",
|
477
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
478
|
-
},
|
479
|
-
"tagName": "mdc-alertchip",
|
480
|
-
"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 * @csspart icon - The alert icon\n * @csspart label - The text label of the alertchip\n */",
|
481
|
-
"customElement": true,
|
482
|
-
"events": [
|
483
|
-
{
|
484
|
-
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
485
|
-
"name": "click",
|
486
|
-
"reactName": "onClick",
|
487
|
-
"inheritedFrom": {
|
488
|
-
"name": "Buttonsimple",
|
489
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
490
|
-
}
|
491
|
-
},
|
243
|
+
"slots": [
|
492
244
|
{
|
493
|
-
"description": "
|
494
|
-
"name": "
|
495
|
-
"reactName": "onKeyDown",
|
496
|
-
"inheritedFrom": {
|
497
|
-
"name": "Buttonsimple",
|
498
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
499
|
-
}
|
245
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
246
|
+
"name": "leading"
|
500
247
|
},
|
501
248
|
{
|
502
|
-
"description": "
|
503
|
-
"name": "
|
504
|
-
"reactName": "onKeyUp",
|
505
|
-
"inheritedFrom": {
|
506
|
-
"name": "Buttonsimple",
|
507
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
508
|
-
}
|
249
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
250
|
+
"name": "center"
|
509
251
|
},
|
510
252
|
{
|
511
|
-
"description": "
|
512
|
-
"name": "
|
513
|
-
"reactName": "onFocus",
|
514
|
-
"inheritedFrom": {
|
515
|
-
"name": "Buttonsimple",
|
516
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
517
|
-
}
|
253
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
254
|
+
"name": "trailing"
|
518
255
|
}
|
519
|
-
]
|
256
|
+
],
|
257
|
+
"members": [],
|
258
|
+
"superclass": {
|
259
|
+
"name": "Component",
|
260
|
+
"module": "/src/models"
|
261
|
+
},
|
262
|
+
"tagName": "mdc-appheader",
|
263
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
264
|
+
"customElement": true
|
520
265
|
}
|
521
266
|
],
|
522
267
|
"exports": [
|
@@ -524,272 +269,527 @@
|
|
524
269
|
"kind": "js",
|
525
270
|
"name": "default",
|
526
271
|
"declaration": {
|
527
|
-
"name": "
|
528
|
-
"module": "components/
|
272
|
+
"name": "Appheader",
|
273
|
+
"module": "components/appheader/appheader.component.js"
|
529
274
|
}
|
530
275
|
}
|
531
276
|
]
|
532
277
|
},
|
533
278
|
{
|
534
279
|
"kind": "javascript-module",
|
535
|
-
"path": "components/
|
280
|
+
"path": "components/alertchip/alertchip.component.js",
|
536
281
|
"declarations": [
|
537
282
|
{
|
538
283
|
"kind": "class",
|
539
|
-
"description": "
|
540
|
-
"name": "
|
284
|
+
"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.",
|
285
|
+
"name": "AlertChip",
|
286
|
+
"cssProperties": [
|
287
|
+
{
|
288
|
+
"description": "The color of the label text",
|
289
|
+
"name": "--mdc-chip-color"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"description": "The color of the icon",
|
293
|
+
"name": "--mdc-chip-icon-color"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"description": "The border color of the alertchip",
|
297
|
+
"name": "--mdc-chip-border-color"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"description": "The background color of the alertchip",
|
301
|
+
"name": "--mdc-chip-background-color"
|
302
|
+
}
|
303
|
+
],
|
304
|
+
"cssParts": [
|
305
|
+
{
|
306
|
+
"description": "The alert icon",
|
307
|
+
"name": "icon"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"description": "The text label of the alertchip",
|
311
|
+
"name": "label"
|
312
|
+
}
|
313
|
+
],
|
541
314
|
"members": [
|
542
315
|
{
|
543
316
|
"kind": "field",
|
544
|
-
"name": "
|
317
|
+
"name": "variant",
|
318
|
+
"type": {
|
319
|
+
"text": "VariantType"
|
320
|
+
},
|
321
|
+
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
322
|
+
"default": "neutral",
|
323
|
+
"attribute": "variant"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"kind": "field",
|
327
|
+
"name": "label",
|
328
|
+
"type": {
|
329
|
+
"text": "string"
|
330
|
+
},
|
331
|
+
"default": "''",
|
332
|
+
"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.",
|
333
|
+
"attribute": "label"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"kind": "field",
|
337
|
+
"name": "autofocus",
|
338
|
+
"type": {
|
339
|
+
"text": "boolean"
|
340
|
+
},
|
341
|
+
"default": "false",
|
342
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
343
|
+
"attribute": "autofocus",
|
344
|
+
"reflects": true,
|
345
|
+
"inheritedFrom": {
|
346
|
+
"name": "AutoFocusMixin",
|
347
|
+
"module": "utils/mixins/AutoFocusMixin.js"
|
348
|
+
}
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"kind": "field",
|
352
|
+
"name": "tabIndex",
|
353
|
+
"type": {
|
354
|
+
"text": "number"
|
355
|
+
},
|
356
|
+
"default": "0",
|
357
|
+
"description": "This property specifies the tab order of the element.",
|
358
|
+
"attribute": "tabIndex",
|
359
|
+
"reflects": true,
|
360
|
+
"inheritedFrom": {
|
361
|
+
"name": "TabIndexMixin",
|
362
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
363
|
+
}
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"kind": "field",
|
367
|
+
"name": "disabled",
|
545
368
|
"type": {
|
546
|
-
"text": "
|
369
|
+
"text": "boolean | undefined"
|
547
370
|
},
|
548
|
-
"description": "
|
549
|
-
"
|
550
|
-
"
|
371
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
372
|
+
"default": "undefined",
|
373
|
+
"attribute": "disabled",
|
374
|
+
"reflects": true,
|
375
|
+
"inheritedFrom": {
|
376
|
+
"name": "DisabledMixin",
|
377
|
+
"module": "utils/mixins/DisabledMixin.js"
|
378
|
+
}
|
551
379
|
},
|
552
380
|
{
|
553
381
|
"kind": "field",
|
554
|
-
"name": "
|
382
|
+
"name": "active",
|
555
383
|
"type": {
|
556
|
-
"text": "
|
384
|
+
"text": "boolean | undefined"
|
557
385
|
},
|
558
|
-
"description": "
|
559
|
-
"
|
560
|
-
"
|
386
|
+
"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.",
|
387
|
+
"default": "undefined",
|
388
|
+
"attribute": "active",
|
389
|
+
"reflects": true,
|
390
|
+
"inheritedFrom": {
|
391
|
+
"name": "Buttonsimple",
|
392
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
393
|
+
}
|
561
394
|
},
|
562
395
|
{
|
563
396
|
"kind": "field",
|
564
|
-
"name": "
|
397
|
+
"name": "softDisabled",
|
565
398
|
"type": {
|
566
399
|
"text": "boolean | undefined"
|
567
400
|
},
|
568
|
-
"description": "
|
569
|
-
"
|
570
|
-
"
|
401
|
+
"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.",
|
402
|
+
"default": "undefined",
|
403
|
+
"attribute": "soft-disabled",
|
404
|
+
"reflects": true,
|
405
|
+
"inheritedFrom": {
|
406
|
+
"name": "Buttonsimple",
|
407
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
408
|
+
}
|
571
409
|
},
|
572
410
|
{
|
573
411
|
"kind": "field",
|
574
|
-
"name": "
|
412
|
+
"name": "size",
|
575
413
|
"type": {
|
576
|
-
"text": "
|
414
|
+
"text": "ButtonSize"
|
577
415
|
},
|
578
|
-
"
|
579
|
-
"
|
580
|
-
"attribute": "
|
416
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
417
|
+
"default": "32",
|
418
|
+
"attribute": "size",
|
419
|
+
"reflects": true,
|
420
|
+
"inheritedFrom": {
|
421
|
+
"name": "Buttonsimple",
|
422
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
423
|
+
}
|
581
424
|
},
|
582
425
|
{
|
583
426
|
"kind": "field",
|
584
|
-
"name": "
|
585
|
-
"
|
586
|
-
|
587
|
-
|
588
|
-
"
|
589
|
-
"
|
590
|
-
|
427
|
+
"name": "role",
|
428
|
+
"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.",
|
429
|
+
"default": "button",
|
430
|
+
"attribute": "role",
|
431
|
+
"reflects": true,
|
432
|
+
"inheritedFrom": {
|
433
|
+
"name": "Buttonsimple",
|
434
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
435
|
+
}
|
591
436
|
},
|
592
437
|
{
|
593
438
|
"kind": "field",
|
594
|
-
"name": "
|
439
|
+
"name": "ariaStateKey",
|
595
440
|
"type": {
|
596
|
-
"text": "
|
441
|
+
"text": "string | undefined"
|
597
442
|
},
|
598
|
-
"
|
599
|
-
"
|
443
|
+
"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`",
|
444
|
+
"default": "'aria-pressed' (when)",
|
445
|
+
"attribute": "ariaStateKey",
|
446
|
+
"reflects": true,
|
447
|
+
"inheritedFrom": {
|
448
|
+
"name": "Buttonsimple",
|
449
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
450
|
+
}
|
600
451
|
},
|
601
452
|
{
|
602
453
|
"kind": "field",
|
603
|
-
"name": "
|
454
|
+
"name": "type",
|
604
455
|
"type": {
|
605
|
-
"text": "
|
456
|
+
"text": "ButtonType"
|
606
457
|
},
|
607
|
-
"
|
608
|
-
"
|
458
|
+
"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.",
|
459
|
+
"default": "button",
|
460
|
+
"attribute": "type",
|
461
|
+
"reflects": true,
|
462
|
+
"inheritedFrom": {
|
463
|
+
"name": "Buttonsimple",
|
464
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
465
|
+
}
|
609
466
|
},
|
610
467
|
{
|
611
|
-
"kind": "
|
612
|
-
"name": "
|
613
|
-
"
|
614
|
-
"
|
468
|
+
"kind": "method",
|
469
|
+
"name": "executeAction",
|
470
|
+
"privacy": "protected",
|
471
|
+
"inheritedFrom": {
|
472
|
+
"name": "Buttonsimple",
|
473
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
474
|
+
}
|
615
475
|
},
|
616
476
|
{
|
617
477
|
"kind": "method",
|
618
|
-
"name": "
|
619
|
-
"privacy": "
|
478
|
+
"name": "setActive",
|
479
|
+
"privacy": "protected",
|
480
|
+
"parameters": [
|
481
|
+
{
|
482
|
+
"name": "element",
|
483
|
+
"type": {
|
484
|
+
"text": "HTMLElement"
|
485
|
+
},
|
486
|
+
"description": "The button element"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"name": "active",
|
490
|
+
"optional": true,
|
491
|
+
"type": {
|
492
|
+
"text": "boolean"
|
493
|
+
},
|
494
|
+
"description": "The active state of the element"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"description": "Sets the ariaStateKey attributes based on the active state of the button.",
|
498
|
+
"inheritedFrom": {
|
499
|
+
"name": "Buttonsimple",
|
500
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
501
|
+
}
|
620
502
|
},
|
621
503
|
{
|
622
504
|
"kind": "method",
|
623
|
-
"name": "
|
505
|
+
"name": "setSoftDisabled",
|
624
506
|
"privacy": "private",
|
625
507
|
"parameters": [
|
626
508
|
{
|
627
|
-
"name": "
|
509
|
+
"name": "element",
|
628
510
|
"type": {
|
629
|
-
"text": "
|
630
|
-
}
|
511
|
+
"text": "HTMLElement"
|
512
|
+
},
|
513
|
+
"description": "The button element."
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"name": "softDisabled",
|
517
|
+
"optional": true,
|
518
|
+
"type": {
|
519
|
+
"text": "boolean"
|
520
|
+
},
|
521
|
+
"description": "The soft-disabled state."
|
631
522
|
}
|
632
523
|
],
|
633
|
-
"description": "
|
524
|
+
"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.",
|
525
|
+
"inheritedFrom": {
|
526
|
+
"name": "Buttonsimple",
|
527
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
528
|
+
}
|
634
529
|
},
|
635
530
|
{
|
636
531
|
"kind": "method",
|
637
|
-
"name": "
|
532
|
+
"name": "setDisabled",
|
638
533
|
"privacy": "private",
|
639
534
|
"parameters": [
|
640
535
|
{
|
641
|
-
"name": "
|
536
|
+
"name": "element",
|
642
537
|
"type": {
|
643
|
-
"text": "
|
644
|
-
}
|
538
|
+
"text": "HTMLElement"
|
539
|
+
},
|
540
|
+
"description": "The button element."
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"name": "disabled",
|
544
|
+
"type": {
|
545
|
+
"text": "boolean"
|
546
|
+
},
|
547
|
+
"description": "The disabled state."
|
645
548
|
}
|
646
549
|
],
|
647
|
-
"description": "
|
550
|
+
"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.",
|
551
|
+
"inheritedFrom": {
|
552
|
+
"name": "Buttonsimple",
|
553
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
554
|
+
}
|
648
555
|
},
|
649
556
|
{
|
650
557
|
"kind": "method",
|
651
|
-
"name": "
|
558
|
+
"name": "triggerClickEvent",
|
652
559
|
"privacy": "private",
|
653
|
-
"
|
560
|
+
"inheritedFrom": {
|
561
|
+
"name": "Buttonsimple",
|
562
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
563
|
+
}
|
654
564
|
},
|
655
565
|
{
|
656
|
-
"kind": "
|
657
|
-
"name": "
|
658
|
-
"
|
566
|
+
"kind": "method",
|
567
|
+
"name": "handleBlur",
|
568
|
+
"privacy": "private",
|
569
|
+
"description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
|
570
|
+
"inheritedFrom": {
|
571
|
+
"name": "Buttonsimple",
|
572
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
573
|
+
}
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"kind": "method",
|
577
|
+
"name": "handleKeyDown",
|
578
|
+
"privacy": "private",
|
579
|
+
"parameters": [
|
580
|
+
{
|
581
|
+
"name": "event",
|
582
|
+
"type": {
|
583
|
+
"text": "KeyboardEvent"
|
584
|
+
},
|
585
|
+
"description": "The keyboard event."
|
586
|
+
}
|
587
|
+
],
|
588
|
+
"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.",
|
589
|
+
"inheritedFrom": {
|
590
|
+
"name": "Buttonsimple",
|
591
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
592
|
+
}
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"kind": "method",
|
596
|
+
"name": "handleKeyUp",
|
597
|
+
"privacy": "private",
|
598
|
+
"parameters": [
|
599
|
+
{
|
600
|
+
"name": "event",
|
601
|
+
"type": {
|
602
|
+
"text": "KeyboardEvent"
|
603
|
+
},
|
604
|
+
"description": "The keyboard event."
|
605
|
+
}
|
606
|
+
],
|
607
|
+
"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.",
|
608
|
+
"inheritedFrom": {
|
609
|
+
"name": "Buttonsimple",
|
610
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
611
|
+
}
|
659
612
|
}
|
660
613
|
],
|
661
|
-
"
|
614
|
+
"attributes": [
|
662
615
|
{
|
663
|
-
"name": "
|
616
|
+
"name": "variant",
|
617
|
+
"type": {
|
618
|
+
"text": "VariantType"
|
619
|
+
},
|
620
|
+
"description": "The variant of the alertchip. It supports 5 variants\n- neutral\n- warning\n- error\n- success\n- informational",
|
621
|
+
"default": "neutral",
|
622
|
+
"fieldName": "variant"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"name": "label",
|
664
626
|
"type": {
|
665
|
-
"text": "
|
627
|
+
"text": "string"
|
666
628
|
},
|
667
|
-
"
|
668
|
-
"
|
629
|
+
"default": "''",
|
630
|
+
"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.",
|
631
|
+
"fieldName": "label"
|
669
632
|
},
|
670
633
|
{
|
671
|
-
"
|
672
|
-
"
|
673
|
-
|
634
|
+
"name": "autofocus",
|
635
|
+
"type": {
|
636
|
+
"text": "boolean"
|
637
|
+
},
|
638
|
+
"default": "false",
|
639
|
+
"description": "This property indicates whether the element should receive focus automatically when it is rendered.",
|
640
|
+
"fieldName": "autofocus",
|
641
|
+
"inheritedFrom": {
|
642
|
+
"name": "AutoFocusMixin",
|
643
|
+
"module": "src/utils/mixins/AutoFocusMixin.ts"
|
644
|
+
}
|
674
645
|
},
|
675
646
|
{
|
676
|
-
"
|
677
|
-
"name": "error",
|
678
|
-
"reactName": "onError"
|
679
|
-
}
|
680
|
-
],
|
681
|
-
"attributes": [
|
682
|
-
{
|
683
|
-
"name": "name",
|
647
|
+
"name": "tabIndex",
|
684
648
|
"type": {
|
685
|
-
"text": "
|
649
|
+
"text": "number"
|
686
650
|
},
|
687
|
-
"
|
688
|
-
"
|
651
|
+
"default": "0",
|
652
|
+
"description": "This property specifies the tab order of the element.",
|
653
|
+
"fieldName": "tabIndex",
|
654
|
+
"inheritedFrom": {
|
655
|
+
"name": "TabIndexMixin",
|
656
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
657
|
+
}
|
689
658
|
},
|
690
659
|
{
|
691
|
-
"name": "
|
660
|
+
"name": "disabled",
|
692
661
|
"type": {
|
693
|
-
"text": "
|
662
|
+
"text": "boolean | undefined"
|
694
663
|
},
|
695
|
-
"description": "
|
696
|
-
"
|
664
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
665
|
+
"default": "undefined",
|
666
|
+
"fieldName": "disabled",
|
667
|
+
"inheritedFrom": {
|
668
|
+
"name": "DisabledMixin",
|
669
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
670
|
+
}
|
697
671
|
},
|
698
672
|
{
|
699
|
-
"name": "
|
673
|
+
"name": "active",
|
700
674
|
"type": {
|
701
675
|
"text": "boolean | undefined"
|
702
676
|
},
|
703
|
-
"description": "
|
704
|
-
"
|
677
|
+
"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.",
|
678
|
+
"default": "undefined",
|
679
|
+
"fieldName": "active",
|
680
|
+
"inheritedFrom": {
|
681
|
+
"name": "Buttonsimple",
|
682
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
683
|
+
}
|
705
684
|
},
|
706
685
|
{
|
707
|
-
"name": "
|
686
|
+
"name": "soft-disabled",
|
708
687
|
"type": {
|
709
|
-
"text": "
|
688
|
+
"text": "boolean | undefined"
|
710
689
|
},
|
711
|
-
"
|
712
|
-
"
|
713
|
-
"fieldName": "
|
690
|
+
"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.",
|
691
|
+
"default": "undefined",
|
692
|
+
"fieldName": "softDisabled",
|
693
|
+
"inheritedFrom": {
|
694
|
+
"name": "Buttonsimple",
|
695
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
696
|
+
}
|
714
697
|
},
|
715
698
|
{
|
716
|
-
"name": "
|
699
|
+
"name": "size",
|
717
700
|
"type": {
|
718
|
-
"text": "
|
701
|
+
"text": "ButtonSize"
|
719
702
|
},
|
720
|
-
"
|
721
|
-
"
|
722
|
-
"fieldName": "
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
"module": "/src/models"
|
728
|
-
},
|
729
|
-
"tagName": "mdc-animation",
|
730
|
-
"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 */",
|
731
|
-
"customElement": true
|
732
|
-
}
|
733
|
-
],
|
734
|
-
"exports": [
|
735
|
-
{
|
736
|
-
"kind": "js",
|
737
|
-
"name": "default",
|
738
|
-
"declaration": {
|
739
|
-
"name": "Animation",
|
740
|
-
"module": "components/animation/animation.component.js"
|
741
|
-
}
|
742
|
-
}
|
743
|
-
]
|
744
|
-
},
|
745
|
-
{
|
746
|
-
"kind": "javascript-module",
|
747
|
-
"path": "components/appheader/appheader.component.js",
|
748
|
-
"declarations": [
|
749
|
-
{
|
750
|
-
"kind": "class",
|
751
|
-
"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**.",
|
752
|
-
"name": "Appheader",
|
753
|
-
"cssParts": [
|
754
|
-
{
|
755
|
-
"description": "The main container for styling the header.",
|
756
|
-
"name": "container"
|
703
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
704
|
+
"default": "32",
|
705
|
+
"fieldName": "size",
|
706
|
+
"inheritedFrom": {
|
707
|
+
"name": "Buttonsimple",
|
708
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
709
|
+
}
|
757
710
|
},
|
758
711
|
{
|
759
|
-
"
|
760
|
-
"
|
712
|
+
"name": "role",
|
713
|
+
"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.",
|
714
|
+
"default": "button",
|
715
|
+
"fieldName": "role",
|
716
|
+
"inheritedFrom": {
|
717
|
+
"name": "Buttonsimple",
|
718
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
719
|
+
}
|
761
720
|
},
|
762
721
|
{
|
763
|
-
"
|
764
|
-
"
|
722
|
+
"name": "ariaStateKey",
|
723
|
+
"type": {
|
724
|
+
"text": "string | undefined"
|
725
|
+
},
|
726
|
+
"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`",
|
727
|
+
"default": "'aria-pressed' (when)",
|
728
|
+
"fieldName": "ariaStateKey",
|
729
|
+
"inheritedFrom": {
|
730
|
+
"name": "Buttonsimple",
|
731
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
732
|
+
}
|
765
733
|
},
|
766
734
|
{
|
767
|
-
"
|
768
|
-
"
|
735
|
+
"name": "type",
|
736
|
+
"type": {
|
737
|
+
"text": "ButtonType"
|
738
|
+
},
|
739
|
+
"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.",
|
740
|
+
"default": "button",
|
741
|
+
"fieldName": "type",
|
742
|
+
"inheritedFrom": {
|
743
|
+
"name": "Buttonsimple",
|
744
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
745
|
+
}
|
769
746
|
}
|
770
747
|
],
|
771
|
-
"
|
748
|
+
"superclass": {
|
749
|
+
"name": "Buttonsimple",
|
750
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
751
|
+
},
|
752
|
+
"tagName": "mdc-alertchip",
|
753
|
+
"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 * @csspart icon - The alert icon\n * @csspart label - The text label of the alertchip\n */",
|
754
|
+
"customElement": true,
|
755
|
+
"events": [
|
772
756
|
{
|
773
|
-
"description": "
|
774
|
-
"name": "
|
757
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
758
|
+
"name": "click",
|
759
|
+
"reactName": "onClick",
|
760
|
+
"inheritedFrom": {
|
761
|
+
"name": "Buttonsimple",
|
762
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
763
|
+
}
|
775
764
|
},
|
776
765
|
{
|
777
|
-
"description": "
|
778
|
-
"name": "
|
766
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
767
|
+
"name": "keydown",
|
768
|
+
"reactName": "onKeyDown",
|
769
|
+
"inheritedFrom": {
|
770
|
+
"name": "Buttonsimple",
|
771
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
772
|
+
}
|
779
773
|
},
|
780
774
|
{
|
781
|
-
"description": "
|
782
|
-
"name": "
|
775
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
|
776
|
+
"name": "keyup",
|
777
|
+
"reactName": "onKeyUp",
|
778
|
+
"inheritedFrom": {
|
779
|
+
"name": "Buttonsimple",
|
780
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
781
|
+
}
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"description": "(React: onFocus) This event is dispatched when the button receives focus.",
|
785
|
+
"name": "focus",
|
786
|
+
"reactName": "onFocus",
|
787
|
+
"inheritedFrom": {
|
788
|
+
"name": "Buttonsimple",
|
789
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
790
|
+
}
|
783
791
|
}
|
784
|
-
]
|
785
|
-
"members": [],
|
786
|
-
"superclass": {
|
787
|
-
"name": "Component",
|
788
|
-
"module": "/src/models"
|
789
|
-
},
|
790
|
-
"tagName": "mdc-appheader",
|
791
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
792
|
-
"customElement": true
|
792
|
+
]
|
793
793
|
}
|
794
794
|
],
|
795
795
|
"exports": [
|
@@ -797,8 +797,8 @@
|
|
797
797
|
"kind": "js",
|
798
798
|
"name": "default",
|
799
799
|
"declaration": {
|
800
|
-
"name": "
|
801
|
-
"module": "components/
|
800
|
+
"name": "AlertChip",
|
801
|
+
"module": "components/alertchip/alertchip.component.js"
|
802
802
|
}
|
803
803
|
}
|
804
804
|
]
|
@@ -15531,8 +15531,66 @@
|
|
15531
15531
|
"declarations": [
|
15532
15532
|
{
|
15533
15533
|
"kind": "class",
|
15534
|
-
"description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use
|
15534
|
+
"description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\nFor example mdc-menupopover or mdc-menubar.\n\nMenu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.",
|
15535
15535
|
"name": "MenuItem",
|
15536
|
+
"slots": [
|
15537
|
+
{
|
15538
|
+
"description": "slot for menu item controls to appear of leading end.",
|
15539
|
+
"name": "leading-controls",
|
15540
|
+
"inheritedFrom": {
|
15541
|
+
"name": "ListItem",
|
15542
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15543
|
+
}
|
15544
|
+
},
|
15545
|
+
{
|
15546
|
+
"description": "slot for menu item primary label.",
|
15547
|
+
"name": "leading-text-primary-label",
|
15548
|
+
"inheritedFrom": {
|
15549
|
+
"name": "ListItem",
|
15550
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15551
|
+
}
|
15552
|
+
},
|
15553
|
+
{
|
15554
|
+
"description": "slot for menu item secondary label.",
|
15555
|
+
"name": "leading-text-secondary-label",
|
15556
|
+
"inheritedFrom": {
|
15557
|
+
"name": "ListItem",
|
15558
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15559
|
+
}
|
15560
|
+
},
|
15561
|
+
{
|
15562
|
+
"description": "slot for menu item tertiary label.",
|
15563
|
+
"name": "leading-text-tertiary-label",
|
15564
|
+
"inheritedFrom": {
|
15565
|
+
"name": "ListItem",
|
15566
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15567
|
+
}
|
15568
|
+
},
|
15569
|
+
{
|
15570
|
+
"description": "slot for menu item side header text.",
|
15571
|
+
"name": "trailing-text-side-header",
|
15572
|
+
"inheritedFrom": {
|
15573
|
+
"name": "ListItem",
|
15574
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15575
|
+
}
|
15576
|
+
},
|
15577
|
+
{
|
15578
|
+
"description": "slot for menu item subline text.",
|
15579
|
+
"name": "trailing-text-subline",
|
15580
|
+
"inheritedFrom": {
|
15581
|
+
"name": "ListItem",
|
15582
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15583
|
+
}
|
15584
|
+
},
|
15585
|
+
{
|
15586
|
+
"description": "slot for menu item controls to appear of trailing end.",
|
15587
|
+
"name": "trailing-controls",
|
15588
|
+
"inheritedFrom": {
|
15589
|
+
"name": "ListItem",
|
15590
|
+
"module": "src/components/listitem/listitem.component.ts"
|
15591
|
+
}
|
15592
|
+
}
|
15593
|
+
],
|
15536
15594
|
"members": [
|
15537
15595
|
{
|
15538
15596
|
"kind": "field",
|
@@ -15554,6 +15612,28 @@
|
|
15554
15612
|
"attribute": "arrow-direction",
|
15555
15613
|
"reflects": true
|
15556
15614
|
},
|
15615
|
+
{
|
15616
|
+
"kind": "field",
|
15617
|
+
"name": "name",
|
15618
|
+
"type": {
|
15619
|
+
"text": "undefined | string | undefined"
|
15620
|
+
},
|
15621
|
+
"default": "undefined",
|
15622
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
15623
|
+
"attribute": "name",
|
15624
|
+
"reflects": true
|
15625
|
+
},
|
15626
|
+
{
|
15627
|
+
"kind": "field",
|
15628
|
+
"name": "value",
|
15629
|
+
"type": {
|
15630
|
+
"text": "undefined | string | undefined"
|
15631
|
+
},
|
15632
|
+
"default": "undefined",
|
15633
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
15634
|
+
"attribute": "value",
|
15635
|
+
"reflects": true
|
15636
|
+
},
|
15557
15637
|
{
|
15558
15638
|
"kind": "method",
|
15559
15639
|
"name": "handleKeyDown",
|
@@ -15986,6 +16066,24 @@
|
|
15986
16066
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
15987
16067
|
"fieldName": "arrowDirection"
|
15988
16068
|
},
|
16069
|
+
{
|
16070
|
+
"name": "name",
|
16071
|
+
"type": {
|
16072
|
+
"text": "undefined | string | undefined"
|
16073
|
+
},
|
16074
|
+
"default": "undefined",
|
16075
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
16076
|
+
"fieldName": "name"
|
16077
|
+
},
|
16078
|
+
{
|
16079
|
+
"name": "value",
|
16080
|
+
"type": {
|
16081
|
+
"text": "undefined | string | undefined"
|
16082
|
+
},
|
16083
|
+
"default": "undefined",
|
16084
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
16085
|
+
"fieldName": "value"
|
16086
|
+
},
|
15989
16087
|
{
|
15990
16088
|
"name": "disabled",
|
15991
16089
|
"type": {
|
@@ -16129,66 +16227,8 @@
|
|
16129
16227
|
"module": "/src/components/listitem/listitem.component"
|
16130
16228
|
},
|
16131
16229
|
"tagName": "mdc-menuitem",
|
16132
|
-
"jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use
|
16230
|
+
"jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-tooltip\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n */",
|
16133
16231
|
"customElement": true,
|
16134
|
-
"slots": [
|
16135
|
-
{
|
16136
|
-
"description": "slot for list item controls to appear of leading end.",
|
16137
|
-
"name": "leading-controls",
|
16138
|
-
"inheritedFrom": {
|
16139
|
-
"name": "ListItem",
|
16140
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16141
|
-
}
|
16142
|
-
},
|
16143
|
-
{
|
16144
|
-
"description": "slot for list item primary label.",
|
16145
|
-
"name": "leading-text-primary-label",
|
16146
|
-
"inheritedFrom": {
|
16147
|
-
"name": "ListItem",
|
16148
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16149
|
-
}
|
16150
|
-
},
|
16151
|
-
{
|
16152
|
-
"description": "slot for list item secondary label.",
|
16153
|
-
"name": "leading-text-secondary-label",
|
16154
|
-
"inheritedFrom": {
|
16155
|
-
"name": "ListItem",
|
16156
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16157
|
-
}
|
16158
|
-
},
|
16159
|
-
{
|
16160
|
-
"description": "slot for list item tertiary label.",
|
16161
|
-
"name": "leading-text-tertiary-label",
|
16162
|
-
"inheritedFrom": {
|
16163
|
-
"name": "ListItem",
|
16164
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16165
|
-
}
|
16166
|
-
},
|
16167
|
-
{
|
16168
|
-
"description": "slot for list item side header text.",
|
16169
|
-
"name": "trailing-text-side-header",
|
16170
|
-
"inheritedFrom": {
|
16171
|
-
"name": "ListItem",
|
16172
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16173
|
-
}
|
16174
|
-
},
|
16175
|
-
{
|
16176
|
-
"description": "slot for list item subline text.",
|
16177
|
-
"name": "trailing-text-subline",
|
16178
|
-
"inheritedFrom": {
|
16179
|
-
"name": "ListItem",
|
16180
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16181
|
-
}
|
16182
|
-
},
|
16183
|
-
{
|
16184
|
-
"description": "slot for list item controls to appear of trailing end.",
|
16185
|
-
"name": "trailing-controls",
|
16186
|
-
"inheritedFrom": {
|
16187
|
-
"name": "ListItem",
|
16188
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16189
|
-
}
|
16190
|
-
}
|
16191
|
-
],
|
16192
16232
|
"cssProperties": [
|
16193
16233
|
{
|
16194
16234
|
"description": "Allows customization of the default background color.",
|
@@ -16274,72 +16314,60 @@
|
|
16274
16314
|
"declarations": [
|
16275
16315
|
{
|
16276
16316
|
"kind": "class",
|
16277
|
-
"description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `
|
16317
|
+
"description": "A menuitemcheckbox component is a checkable menuitem.\nThere should be no focusable descendants inside this menuitemcheckbox component.\n\nThe `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n\nMenu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nThe `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</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 `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.\n\nIf you want only one item in a group to be checked, consider using menuitemradio component.",
|
16278
16318
|
"name": "MenuItemCheckbox",
|
16279
|
-
"
|
16280
|
-
{
|
16281
|
-
"description": "Allows customization of the checkmark indicator color",
|
16282
|
-
"name": "--mdc-checkmark-indicator-color"
|
16283
|
-
},
|
16284
|
-
{
|
16285
|
-
"description": "Allows customization of the default background color.",
|
16286
|
-
"name": "--mdc-listitem-default-background-color",
|
16287
|
-
"inheritedFrom": {
|
16288
|
-
"name": "ListItem",
|
16289
|
-
"module": "src/components/listitem/listitem.component.ts"
|
16290
|
-
}
|
16291
|
-
},
|
16319
|
+
"slots": [
|
16292
16320
|
{
|
16293
|
-
"description": "
|
16294
|
-
"name": "
|
16321
|
+
"description": "slot for menu item checkbox controls to appear of leading end.",
|
16322
|
+
"name": "leading-controls",
|
16295
16323
|
"inheritedFrom": {
|
16296
16324
|
"name": "ListItem",
|
16297
16325
|
"module": "src/components/listitem/listitem.component.ts"
|
16298
16326
|
}
|
16299
16327
|
},
|
16300
16328
|
{
|
16301
|
-
"description": "
|
16302
|
-
"name": "
|
16329
|
+
"description": "slot for menu item checkbox primary label.",
|
16330
|
+
"name": "leading-text-primary-label",
|
16303
16331
|
"inheritedFrom": {
|
16304
16332
|
"name": "ListItem",
|
16305
16333
|
"module": "src/components/listitem/listitem.component.ts"
|
16306
16334
|
}
|
16307
16335
|
},
|
16308
16336
|
{
|
16309
|
-
"description": "
|
16310
|
-
"name": "
|
16337
|
+
"description": "slot for menu item checkbox secondary label.",
|
16338
|
+
"name": "leading-text-secondary-label",
|
16311
16339
|
"inheritedFrom": {
|
16312
16340
|
"name": "ListItem",
|
16313
16341
|
"module": "src/components/listitem/listitem.component.ts"
|
16314
16342
|
}
|
16315
16343
|
},
|
16316
16344
|
{
|
16317
|
-
"description": "
|
16318
|
-
"name": "
|
16345
|
+
"description": "slot for menu item checkbox tertiary label.",
|
16346
|
+
"name": "leading-text-tertiary-label",
|
16319
16347
|
"inheritedFrom": {
|
16320
16348
|
"name": "ListItem",
|
16321
16349
|
"module": "src/components/listitem/listitem.component.ts"
|
16322
16350
|
}
|
16323
16351
|
},
|
16324
16352
|
{
|
16325
|
-
"description": "
|
16326
|
-
"name": "
|
16353
|
+
"description": "slot for menu item checkbox side header text.",
|
16354
|
+
"name": "trailing-text-side-header",
|
16327
16355
|
"inheritedFrom": {
|
16328
16356
|
"name": "ListItem",
|
16329
16357
|
"module": "src/components/listitem/listitem.component.ts"
|
16330
16358
|
}
|
16331
16359
|
},
|
16332
16360
|
{
|
16333
|
-
"description": "
|
16334
|
-
"name": "
|
16361
|
+
"description": "slot for menu item checkbox subline text.",
|
16362
|
+
"name": "trailing-text-subline",
|
16335
16363
|
"inheritedFrom": {
|
16336
16364
|
"name": "ListItem",
|
16337
16365
|
"module": "src/components/listitem/listitem.component.ts"
|
16338
16366
|
}
|
16339
16367
|
},
|
16340
16368
|
{
|
16341
|
-
"description": "
|
16342
|
-
"name": "
|
16369
|
+
"description": "slot for menu item checkbox controls to appear of trailing end.",
|
16370
|
+
"name": "trailing-controls",
|
16343
16371
|
"inheritedFrom": {
|
16344
16372
|
"name": "ListItem",
|
16345
16373
|
"module": "src/components/listitem/listitem.component.ts"
|
@@ -16349,13 +16377,13 @@
|
|
16349
16377
|
"members": [
|
16350
16378
|
{
|
16351
16379
|
"kind": "field",
|
16352
|
-
"name": "
|
16380
|
+
"name": "checked",
|
16353
16381
|
"type": {
|
16354
|
-
"text": "
|
16382
|
+
"text": "boolean"
|
16355
16383
|
},
|
16356
|
-
"
|
16357
|
-
"
|
16358
|
-
"attribute": "
|
16384
|
+
"default": "false",
|
16385
|
+
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
16386
|
+
"attribute": "checked",
|
16359
16387
|
"reflects": true
|
16360
16388
|
},
|
16361
16389
|
{
|
@@ -16373,7 +16401,7 @@
|
|
16373
16401
|
"kind": "field",
|
16374
16402
|
"name": "menuitemcheckboxHandleClick",
|
16375
16403
|
"privacy": "private",
|
16376
|
-
"description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `
|
16404
|
+
"description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `checked` state between `true` and `false`."
|
16377
16405
|
},
|
16378
16406
|
{
|
16379
16407
|
"kind": "method",
|
@@ -16406,7 +16434,7 @@
|
|
16406
16434
|
"text": ""
|
16407
16435
|
}
|
16408
16436
|
},
|
16409
|
-
"description": "Returns a checkmark icon if the indicator is set to checkmark and the
|
16437
|
+
"description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
|
16410
16438
|
},
|
16411
16439
|
{
|
16412
16440
|
"kind": "field",
|
@@ -16436,6 +16464,36 @@
|
|
16436
16464
|
"module": "components/menuitem/menuitem.component.js"
|
16437
16465
|
}
|
16438
16466
|
},
|
16467
|
+
{
|
16468
|
+
"kind": "field",
|
16469
|
+
"name": "name",
|
16470
|
+
"type": {
|
16471
|
+
"text": "undefined | string | undefined"
|
16472
|
+
},
|
16473
|
+
"default": "undefined",
|
16474
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
16475
|
+
"attribute": "name",
|
16476
|
+
"reflects": true,
|
16477
|
+
"inheritedFrom": {
|
16478
|
+
"name": "MenuItem",
|
16479
|
+
"module": "components/menuitem/menuitem.component.js"
|
16480
|
+
}
|
16481
|
+
},
|
16482
|
+
{
|
16483
|
+
"kind": "field",
|
16484
|
+
"name": "value",
|
16485
|
+
"type": {
|
16486
|
+
"text": "undefined | string | undefined"
|
16487
|
+
},
|
16488
|
+
"default": "undefined",
|
16489
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
16490
|
+
"attribute": "value",
|
16491
|
+
"reflects": true,
|
16492
|
+
"inheritedFrom": {
|
16493
|
+
"name": "MenuItem",
|
16494
|
+
"module": "components/menuitem/menuitem.component.js"
|
16495
|
+
}
|
16496
|
+
},
|
16439
16497
|
{
|
16440
16498
|
"kind": "method",
|
16441
16499
|
"name": "handleKeyDown",
|
@@ -16862,13 +16920,13 @@
|
|
16862
16920
|
],
|
16863
16921
|
"attributes": [
|
16864
16922
|
{
|
16865
|
-
"name": "
|
16923
|
+
"name": "checked",
|
16866
16924
|
"type": {
|
16867
|
-
"text": "
|
16925
|
+
"text": "boolean"
|
16868
16926
|
},
|
16869
|
-
"
|
16870
|
-
"
|
16871
|
-
"fieldName": "
|
16927
|
+
"default": "false",
|
16928
|
+
"description": "The checked attribute is used to indicate that the menuitemcheckbox is checked or not.",
|
16929
|
+
"fieldName": "checked"
|
16872
16930
|
},
|
16873
16931
|
{
|
16874
16932
|
"name": "indicator",
|
@@ -16903,6 +16961,32 @@
|
|
16903
16961
|
"module": "src/components/menuitem/menuitem.component.ts"
|
16904
16962
|
}
|
16905
16963
|
},
|
16964
|
+
{
|
16965
|
+
"name": "name",
|
16966
|
+
"type": {
|
16967
|
+
"text": "undefined | string | undefined"
|
16968
|
+
},
|
16969
|
+
"default": "undefined",
|
16970
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
16971
|
+
"fieldName": "name",
|
16972
|
+
"inheritedFrom": {
|
16973
|
+
"name": "MenuItem",
|
16974
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
16975
|
+
}
|
16976
|
+
},
|
16977
|
+
{
|
16978
|
+
"name": "value",
|
16979
|
+
"type": {
|
16980
|
+
"text": "undefined | string | undefined"
|
16981
|
+
},
|
16982
|
+
"default": "undefined",
|
16983
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
16984
|
+
"fieldName": "value",
|
16985
|
+
"inheritedFrom": {
|
16986
|
+
"name": "MenuItem",
|
16987
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
16988
|
+
}
|
16989
|
+
},
|
16906
16990
|
{
|
16907
16991
|
"name": "disabled",
|
16908
16992
|
"type": {
|
@@ -17046,11 +17130,98 @@
|
|
17046
17130
|
"module": "/src/components/menuitem/menuitem.component"
|
17047
17131
|
},
|
17048
17132
|
"tagName": "mdc-menuitemcheckbox",
|
17049
|
-
"jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `
|
17133
|
+
"jsDoc": "/**\n * A menuitemcheckbox component is a checkable menuitem.\n * There should be no focusable descendants inside this menuitemcheckbox component.\n *\n * The `checked` attribute indicates whether the menuitemcheckbox is checked or not.\n *\n * Menu item checkbox has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * The `indicator` attribute is used to differentiate between <b>checkbox</b>, <b>checkmark</b>, <b>toggle</b> and <b>none</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 `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The forth options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * If you want only one item in a group to be checked, consider using menuitemradio component.\n *\n * @dependency mdc-staticcheckbox\n * @dependency mdc-statictoggle\n * @dependency mdc-icon\n *\n * @tagname mdc-menuitemcheckbox\n *\n * @slot leading-controls - slot for menu item checkbox controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item checkbox primary label.\n * @slot leading-text-secondary-label - slot for menu item checkbox secondary label.\n * @slot leading-text-tertiary-label - slot for menu item checkbox tertiary label.\n * @slot trailing-text-side-header - slot for menu item checkbox side header text.\n * @slot trailing-text-subline - slot for menu item checkbox subline text.\n * @slot trailing-controls - slot for menu item checkbox controls to appear of trailing end.\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 */",
|
17050
17134
|
"customElement": true,
|
17135
|
+
"cssProperties": [
|
17136
|
+
{
|
17137
|
+
"description": "Allows customization of the default background color.",
|
17138
|
+
"name": "--mdc-listitem-default-background-color",
|
17139
|
+
"inheritedFrom": {
|
17140
|
+
"name": "ListItem",
|
17141
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17142
|
+
}
|
17143
|
+
},
|
17144
|
+
{
|
17145
|
+
"description": "Allows customization of the background color on hover.",
|
17146
|
+
"name": "--mdc-listitem-background-color-hover",
|
17147
|
+
"inheritedFrom": {
|
17148
|
+
"name": "ListItem",
|
17149
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17150
|
+
}
|
17151
|
+
},
|
17152
|
+
{
|
17153
|
+
"description": "Allows customization of the background color when pressed.",
|
17154
|
+
"name": "--mdc-listitem-background-color-active",
|
17155
|
+
"inheritedFrom": {
|
17156
|
+
"name": "ListItem",
|
17157
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17158
|
+
}
|
17159
|
+
},
|
17160
|
+
{
|
17161
|
+
"description": "Allows customization of the primary label, side header and subline text slot color.",
|
17162
|
+
"name": "--mdc-listitem-primary-label-color",
|
17163
|
+
"inheritedFrom": {
|
17164
|
+
"name": "ListItem",
|
17165
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17166
|
+
}
|
17167
|
+
},
|
17168
|
+
{
|
17169
|
+
"description": "Allows customization of the secondary and tertiary label text slot color.",
|
17170
|
+
"name": "--mdc-listitem-secondary-label-color",
|
17171
|
+
"inheritedFrom": {
|
17172
|
+
"name": "ListItem",
|
17173
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17174
|
+
}
|
17175
|
+
},
|
17176
|
+
{
|
17177
|
+
"description": "Allows customization of the disabled color.",
|
17178
|
+
"name": "--mdc-listitem-disabled-color",
|
17179
|
+
"inheritedFrom": {
|
17180
|
+
"name": "ListItem",
|
17181
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17182
|
+
}
|
17183
|
+
},
|
17184
|
+
{
|
17185
|
+
"description": "Allows customization of column gap.",
|
17186
|
+
"name": "--mdc-listitem-column-gap",
|
17187
|
+
"inheritedFrom": {
|
17188
|
+
"name": "ListItem",
|
17189
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17190
|
+
}
|
17191
|
+
},
|
17192
|
+
{
|
17193
|
+
"description": "Allows customization of padding left and right.",
|
17194
|
+
"name": "--mdc-listitem-padding-left-and-right",
|
17195
|
+
"inheritedFrom": {
|
17196
|
+
"name": "ListItem",
|
17197
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17198
|
+
}
|
17199
|
+
}
|
17200
|
+
]
|
17201
|
+
}
|
17202
|
+
],
|
17203
|
+
"exports": [
|
17204
|
+
{
|
17205
|
+
"kind": "js",
|
17206
|
+
"name": "default",
|
17207
|
+
"declaration": {
|
17208
|
+
"name": "MenuItemCheckbox",
|
17209
|
+
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
17210
|
+
}
|
17211
|
+
}
|
17212
|
+
]
|
17213
|
+
},
|
17214
|
+
{
|
17215
|
+
"kind": "javascript-module",
|
17216
|
+
"path": "components/menuitemradio/menuitemradio.component.js",
|
17217
|
+
"declarations": [
|
17218
|
+
{
|
17219
|
+
"kind": "class",
|
17220
|
+
"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 `checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n\nMenu item radio has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n\nIf you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n\nThe `indicator` attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.\nBy default, the `indicator` is set to <b>radio</b>.<br/>\n\nThe checkbox will always be positioned on the leading side of the menuitem label and\nthe checkmark will always be positioned on the trailing side.\n\nThe radio will have the possible states of `true` or `false`.\nIf the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\nthen the checkmark will be displayed. if not, then no indicator will be displayed.\n\nThe third options for the `indicator` is <b>none</b>, which will not display any indicator at all.\nIt is intended to be used for customised menu items where the indicator is implemented differently.\nFor example, you can use a custom icon or a different visual element to indicate the state of the menu item.\nMake sure the new indicator is accessible.",
|
17221
|
+
"name": "MenuItemRadio",
|
17051
17222
|
"slots": [
|
17052
17223
|
{
|
17053
|
-
"description": "slot for
|
17224
|
+
"description": "slot for menu item radio controls to appear of leading end.",
|
17054
17225
|
"name": "leading-controls",
|
17055
17226
|
"inheritedFrom": {
|
17056
17227
|
"name": "ListItem",
|
@@ -17058,7 +17229,7 @@
|
|
17058
17229
|
}
|
17059
17230
|
},
|
17060
17231
|
{
|
17061
|
-
"description": "slot for
|
17232
|
+
"description": "slot for menu item radio primary label.",
|
17062
17233
|
"name": "leading-text-primary-label",
|
17063
17234
|
"inheritedFrom": {
|
17064
17235
|
"name": "ListItem",
|
@@ -17066,7 +17237,7 @@
|
|
17066
17237
|
}
|
17067
17238
|
},
|
17068
17239
|
{
|
17069
|
-
"description": "slot for
|
17240
|
+
"description": "slot for menu item radio secondary label.",
|
17070
17241
|
"name": "leading-text-secondary-label",
|
17071
17242
|
"inheritedFrom": {
|
17072
17243
|
"name": "ListItem",
|
@@ -17074,7 +17245,7 @@
|
|
17074
17245
|
}
|
17075
17246
|
},
|
17076
17247
|
{
|
17077
|
-
"description": "slot for
|
17248
|
+
"description": "slot for menu item radio tertiary label.",
|
17078
17249
|
"name": "leading-text-tertiary-label",
|
17079
17250
|
"inheritedFrom": {
|
17080
17251
|
"name": "ListItem",
|
@@ -17082,7 +17253,7 @@
|
|
17082
17253
|
}
|
17083
17254
|
},
|
17084
17255
|
{
|
17085
|
-
"description": "slot for
|
17256
|
+
"description": "slot for menu item radio side header text.",
|
17086
17257
|
"name": "trailing-text-side-header",
|
17087
17258
|
"inheritedFrom": {
|
17088
17259
|
"name": "ListItem",
|
@@ -17090,7 +17261,7 @@
|
|
17090
17261
|
}
|
17091
17262
|
},
|
17092
17263
|
{
|
17093
|
-
"description": "slot for
|
17264
|
+
"description": "slot for menu item radio subline text.",
|
17094
17265
|
"name": "trailing-text-subline",
|
17095
17266
|
"inheritedFrom": {
|
17096
17267
|
"name": "ListItem",
|
@@ -17098,63 +17269,86 @@
|
|
17098
17269
|
}
|
17099
17270
|
},
|
17100
17271
|
{
|
17101
|
-
"description": "slot for
|
17272
|
+
"description": "slot for menu item radio controls to appear of trailing end.",
|
17102
17273
|
"name": "trailing-controls",
|
17103
17274
|
"inheritedFrom": {
|
17104
17275
|
"name": "ListItem",
|
17105
17276
|
"module": "src/components/listitem/listitem.component.ts"
|
17106
17277
|
}
|
17107
17278
|
}
|
17108
|
-
]
|
17109
|
-
}
|
17110
|
-
],
|
17111
|
-
"exports": [
|
17112
|
-
{
|
17113
|
-
"kind": "js",
|
17114
|
-
"name": "default",
|
17115
|
-
"declaration": {
|
17116
|
-
"name": "MenuItemCheckbox",
|
17117
|
-
"module": "components/menuitemcheckbox/menuitemcheckbox.component.js"
|
17118
|
-
}
|
17119
|
-
}
|
17120
|
-
]
|
17121
|
-
},
|
17122
|
-
{
|
17123
|
-
"kind": "javascript-module",
|
17124
|
-
"path": "components/menuitemradio/menuitemradio.component.js",
|
17125
|
-
"declarations": [
|
17126
|
-
{
|
17127
|
-
"kind": "class",
|
17128
|
-
"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`.",
|
17129
|
-
"name": "MenuItemRadio",
|
17279
|
+
],
|
17130
17280
|
"members": [
|
17131
17281
|
{
|
17132
17282
|
"kind": "field",
|
17133
|
-
"name": "
|
17283
|
+
"name": "checked",
|
17134
17284
|
"type": {
|
17135
|
-
"text": "
|
17285
|
+
"text": "boolean"
|
17136
17286
|
},
|
17287
|
+
"default": "false",
|
17137
17288
|
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
17138
|
-
"
|
17139
|
-
"attribute": "aria-checked",
|
17289
|
+
"attribute": "checked",
|
17140
17290
|
"reflects": true
|
17141
17291
|
},
|
17142
17292
|
{
|
17143
17293
|
"kind": "field",
|
17144
|
-
"name": "
|
17294
|
+
"name": "indicator",
|
17145
17295
|
"type": {
|
17146
|
-
"text": "
|
17296
|
+
"text": "Indicator"
|
17147
17297
|
},
|
17148
|
-
"
|
17149
|
-
"
|
17150
|
-
"attribute": "
|
17298
|
+
"description": "The indicator attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.",
|
17299
|
+
"default": "'radio'",
|
17300
|
+
"attribute": "indicator",
|
17151
17301
|
"reflects": true
|
17152
17302
|
},
|
17303
|
+
{
|
17304
|
+
"kind": "method",
|
17305
|
+
"name": "getAllRadiosWithinSameGroup",
|
17306
|
+
"privacy": "private",
|
17307
|
+
"return": {
|
17308
|
+
"type": {
|
17309
|
+
"text": "MenuItemRadio[]"
|
17310
|
+
}
|
17311
|
+
},
|
17312
|
+
"description": "Returns all radios within the same group (name)."
|
17313
|
+
},
|
17314
|
+
{
|
17315
|
+
"kind": "method",
|
17316
|
+
"name": "updateOtherRadiosCheckedState",
|
17317
|
+
"privacy": "private",
|
17318
|
+
"return": {
|
17319
|
+
"type": {
|
17320
|
+
"text": "void"
|
17321
|
+
}
|
17322
|
+
},
|
17323
|
+
"description": "Updates the checked state of all other radios in the same group.\nThis method is called when a radio is clicked to ensure that only one radio in the group can be checked at a time.\nIt sets the `checked` property of all other radios in the same group to `false`."
|
17324
|
+
},
|
17153
17325
|
{
|
17154
17326
|
"kind": "field",
|
17155
|
-
"name": "
|
17327
|
+
"name": "radioHandleClick",
|
17328
|
+
"privacy": "private",
|
17329
|
+
"description": "Handles click events to set checked state and uncheck siblings in the same group and container.\nIf the menuitemradio is not checked, it sets its checked state to `true`\nand sets all other menuitemradio elements of the same group with checked state to `false`."
|
17330
|
+
},
|
17331
|
+
{
|
17332
|
+
"kind": "method",
|
17333
|
+
"name": "renderStaticRadio",
|
17334
|
+
"privacy": "private",
|
17335
|
+
"return": {
|
17336
|
+
"type": {
|
17337
|
+
"text": ""
|
17338
|
+
}
|
17339
|
+
},
|
17340
|
+
"description": "Returns a static checkbox element if the indicator is set to checkbox.\nIf the indicator is not set to checkbox, it returns nothing."
|
17341
|
+
},
|
17342
|
+
{
|
17343
|
+
"kind": "method",
|
17344
|
+
"name": "renderCheckmarkIcon",
|
17156
17345
|
"privacy": "private",
|
17157
|
-
"
|
17346
|
+
"return": {
|
17347
|
+
"type": {
|
17348
|
+
"text": ""
|
17349
|
+
}
|
17350
|
+
},
|
17351
|
+
"description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
|
17158
17352
|
},
|
17159
17353
|
{
|
17160
17354
|
"kind": "field",
|
@@ -17184,6 +17378,36 @@
|
|
17184
17378
|
"module": "components/menuitem/menuitem.component.js"
|
17185
17379
|
}
|
17186
17380
|
},
|
17381
|
+
{
|
17382
|
+
"kind": "field",
|
17383
|
+
"name": "name",
|
17384
|
+
"type": {
|
17385
|
+
"text": "undefined | string | undefined"
|
17386
|
+
},
|
17387
|
+
"default": "undefined",
|
17388
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
17389
|
+
"attribute": "name",
|
17390
|
+
"reflects": true,
|
17391
|
+
"inheritedFrom": {
|
17392
|
+
"name": "MenuItem",
|
17393
|
+
"module": "components/menuitem/menuitem.component.js"
|
17394
|
+
}
|
17395
|
+
},
|
17396
|
+
{
|
17397
|
+
"kind": "field",
|
17398
|
+
"name": "value",
|
17399
|
+
"type": {
|
17400
|
+
"text": "undefined | string | undefined"
|
17401
|
+
},
|
17402
|
+
"default": "undefined",
|
17403
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
17404
|
+
"attribute": "value",
|
17405
|
+
"reflects": true,
|
17406
|
+
"inheritedFrom": {
|
17407
|
+
"name": "MenuItem",
|
17408
|
+
"module": "components/menuitem/menuitem.component.js"
|
17409
|
+
}
|
17410
|
+
},
|
17187
17411
|
{
|
17188
17412
|
"kind": "method",
|
17189
17413
|
"name": "handleKeyDown",
|
@@ -17610,22 +17834,22 @@
|
|
17610
17834
|
],
|
17611
17835
|
"attributes": [
|
17612
17836
|
{
|
17613
|
-
"name": "
|
17837
|
+
"name": "checked",
|
17614
17838
|
"type": {
|
17615
|
-
"text": "
|
17839
|
+
"text": "boolean"
|
17616
17840
|
},
|
17841
|
+
"default": "false",
|
17617
17842
|
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
17618
|
-
"
|
17619
|
-
"fieldName": "ariaChecked"
|
17843
|
+
"fieldName": "checked"
|
17620
17844
|
},
|
17621
17845
|
{
|
17622
|
-
"name": "
|
17846
|
+
"name": "indicator",
|
17623
17847
|
"type": {
|
17624
|
-
"text": "
|
17848
|
+
"text": "Indicator"
|
17625
17849
|
},
|
17626
|
-
"
|
17627
|
-
"
|
17628
|
-
"fieldName": "
|
17850
|
+
"description": "The indicator attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.",
|
17851
|
+
"default": "'radio'",
|
17852
|
+
"fieldName": "indicator"
|
17629
17853
|
},
|
17630
17854
|
{
|
17631
17855
|
"name": "arrow-position",
|
@@ -17651,6 +17875,32 @@
|
|
17651
17875
|
"module": "src/components/menuitem/menuitem.component.ts"
|
17652
17876
|
}
|
17653
17877
|
},
|
17878
|
+
{
|
17879
|
+
"name": "name",
|
17880
|
+
"type": {
|
17881
|
+
"text": "undefined | string | undefined"
|
17882
|
+
},
|
17883
|
+
"default": "undefined",
|
17884
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
17885
|
+
"fieldName": "name",
|
17886
|
+
"inheritedFrom": {
|
17887
|
+
"name": "MenuItem",
|
17888
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
17889
|
+
}
|
17890
|
+
},
|
17891
|
+
{
|
17892
|
+
"name": "value",
|
17893
|
+
"type": {
|
17894
|
+
"text": "undefined | string | undefined"
|
17895
|
+
},
|
17896
|
+
"default": "undefined",
|
17897
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
17898
|
+
"fieldName": "value",
|
17899
|
+
"inheritedFrom": {
|
17900
|
+
"name": "MenuItem",
|
17901
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
17902
|
+
}
|
17903
|
+
},
|
17654
17904
|
{
|
17655
17905
|
"name": "disabled",
|
17656
17906
|
"type": {
|
@@ -17715,145 +17965,87 @@
|
|
17715
17965
|
}
|
17716
17966
|
},
|
17717
17967
|
{
|
17718
|
-
"name": "tertiary-label",
|
17719
|
-
"type": {
|
17720
|
-
"text": "string | undefined"
|
17721
|
-
},
|
17722
|
-
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
17723
|
-
"fieldName": "tertiaryLabel",
|
17724
|
-
"inheritedFrom": {
|
17725
|
-
"name": "ListItem",
|
17726
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17727
|
-
}
|
17728
|
-
},
|
17729
|
-
{
|
17730
|
-
"name": "side-header-text",
|
17731
|
-
"type": {
|
17732
|
-
"text": "string | undefined"
|
17733
|
-
},
|
17734
|
-
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
17735
|
-
"fieldName": "sideHeaderText",
|
17736
|
-
"inheritedFrom": {
|
17737
|
-
"name": "ListItem",
|
17738
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17739
|
-
}
|
17740
|
-
},
|
17741
|
-
{
|
17742
|
-
"name": "subline-text",
|
17743
|
-
"type": {
|
17744
|
-
"text": "string | undefined"
|
17745
|
-
},
|
17746
|
-
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
17747
|
-
"fieldName": "sublineText",
|
17748
|
-
"inheritedFrom": {
|
17749
|
-
"name": "ListItem",
|
17750
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17751
|
-
}
|
17752
|
-
},
|
17753
|
-
{
|
17754
|
-
"name": "soft-disabled",
|
17755
|
-
"type": {
|
17756
|
-
"text": "boolean | undefined"
|
17757
|
-
},
|
17758
|
-
"description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element 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 element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
17759
|
-
"default": "undefined",
|
17760
|
-
"fieldName": "softDisabled",
|
17761
|
-
"inheritedFrom": {
|
17762
|
-
"name": "ListItem",
|
17763
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17764
|
-
}
|
17765
|
-
},
|
17766
|
-
{
|
17767
|
-
"name": "tooltip-text",
|
17768
|
-
"type": {
|
17769
|
-
"text": "string | undefined"
|
17770
|
-
},
|
17771
|
-
"description": "The tooltip text is displayed on hover of the list item.",
|
17772
|
-
"fieldName": "tooltipText",
|
17773
|
-
"inheritedFrom": {
|
17774
|
-
"name": "ListItem",
|
17775
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17776
|
-
}
|
17777
|
-
},
|
17778
|
-
{
|
17779
|
-
"name": "tooltip-placement",
|
17780
|
-
"type": {
|
17781
|
-
"text": "PopoverPlacement"
|
17782
|
-
},
|
17783
|
-
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
17784
|
-
"default": "'top'",
|
17785
|
-
"fieldName": "tooltipPlacement",
|
17786
|
-
"inheritedFrom": {
|
17787
|
-
"name": "ListItem",
|
17788
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17789
|
-
}
|
17790
|
-
}
|
17791
|
-
],
|
17792
|
-
"superclass": {
|
17793
|
-
"name": "MenuItem",
|
17794
|
-
"module": "/src/components/menuitem/menuitem.component"
|
17795
|
-
},
|
17796
|
-
"tagName": "mdc-menuitemradio",
|
17797
|
-
"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 */",
|
17798
|
-
"customElement": true,
|
17799
|
-
"slots": [
|
17800
|
-
{
|
17801
|
-
"description": "slot for list item controls to appear of leading end.",
|
17802
|
-
"name": "leading-controls",
|
17803
|
-
"inheritedFrom": {
|
17804
|
-
"name": "ListItem",
|
17805
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17806
|
-
}
|
17807
|
-
},
|
17808
|
-
{
|
17809
|
-
"description": "slot for list item primary label.",
|
17810
|
-
"name": "leading-text-primary-label",
|
17968
|
+
"name": "tertiary-label",
|
17969
|
+
"type": {
|
17970
|
+
"text": "string | undefined"
|
17971
|
+
},
|
17972
|
+
"description": "The tertiary label of the list item.\nThis appears on the leading side of the list item.",
|
17973
|
+
"fieldName": "tertiaryLabel",
|
17811
17974
|
"inheritedFrom": {
|
17812
17975
|
"name": "ListItem",
|
17813
17976
|
"module": "src/components/listitem/listitem.component.ts"
|
17814
17977
|
}
|
17815
17978
|
},
|
17816
17979
|
{
|
17817
|
-
"
|
17818
|
-
"
|
17980
|
+
"name": "side-header-text",
|
17981
|
+
"type": {
|
17982
|
+
"text": "string | undefined"
|
17983
|
+
},
|
17984
|
+
"description": "The header text of the list item.\nThis appears on the trailing side of the list item.",
|
17985
|
+
"fieldName": "sideHeaderText",
|
17819
17986
|
"inheritedFrom": {
|
17820
17987
|
"name": "ListItem",
|
17821
17988
|
"module": "src/components/listitem/listitem.component.ts"
|
17822
17989
|
}
|
17823
17990
|
},
|
17824
17991
|
{
|
17825
|
-
"
|
17826
|
-
"
|
17992
|
+
"name": "subline-text",
|
17993
|
+
"type": {
|
17994
|
+
"text": "string | undefined"
|
17995
|
+
},
|
17996
|
+
"description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
|
17997
|
+
"fieldName": "sublineText",
|
17827
17998
|
"inheritedFrom": {
|
17828
17999
|
"name": "ListItem",
|
17829
18000
|
"module": "src/components/listitem/listitem.component.ts"
|
17830
18001
|
}
|
17831
18002
|
},
|
17832
18003
|
{
|
17833
|
-
"
|
17834
|
-
"
|
18004
|
+
"name": "soft-disabled",
|
18005
|
+
"type": {
|
18006
|
+
"text": "boolean | undefined"
|
18007
|
+
},
|
18008
|
+
"description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element 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 element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
18009
|
+
"default": "undefined",
|
18010
|
+
"fieldName": "softDisabled",
|
17835
18011
|
"inheritedFrom": {
|
17836
18012
|
"name": "ListItem",
|
17837
18013
|
"module": "src/components/listitem/listitem.component.ts"
|
17838
18014
|
}
|
17839
18015
|
},
|
17840
18016
|
{
|
17841
|
-
"
|
17842
|
-
"
|
18017
|
+
"name": "tooltip-text",
|
18018
|
+
"type": {
|
18019
|
+
"text": "string | undefined"
|
18020
|
+
},
|
18021
|
+
"description": "The tooltip text is displayed on hover of the list item.",
|
18022
|
+
"fieldName": "tooltipText",
|
17843
18023
|
"inheritedFrom": {
|
17844
18024
|
"name": "ListItem",
|
17845
18025
|
"module": "src/components/listitem/listitem.component.ts"
|
17846
18026
|
}
|
17847
18027
|
},
|
17848
18028
|
{
|
17849
|
-
"
|
17850
|
-
"
|
18029
|
+
"name": "tooltip-placement",
|
18030
|
+
"type": {
|
18031
|
+
"text": "PopoverPlacement"
|
18032
|
+
},
|
18033
|
+
"description": "The tooltip placement of the list item. If the tooltip text is present,\nthen this tooltip placement will be applied.",
|
18034
|
+
"default": "'top'",
|
18035
|
+
"fieldName": "tooltipPlacement",
|
17851
18036
|
"inheritedFrom": {
|
17852
18037
|
"name": "ListItem",
|
17853
18038
|
"module": "src/components/listitem/listitem.component.ts"
|
17854
18039
|
}
|
17855
18040
|
}
|
17856
18041
|
],
|
18042
|
+
"superclass": {
|
18043
|
+
"name": "MenuItem",
|
18044
|
+
"module": "/src/components/menuitem/menuitem.component"
|
18045
|
+
},
|
18046
|
+
"tagName": "mdc-menuitemradio",
|
18047
|
+
"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 `checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n *\n * Menu item radio has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * If you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n *\n * The `indicator` attribute is used to differentiate between <b>radio</b>, <b>checkmark</b> and <b>none</b>.\n * By default, the `indicator` is set to <b>radio</b>.<br/>\n *\n * The checkbox will always be positioned on the leading side of the menuitem label and\n * the checkmark will always be positioned on the trailing side.\n *\n * The radio will have the possible states of `true` or `false`.\n * If the indicator is set to <b>checkmark</b> and if the `checked` attribute is set to `true`,\n * then the checkmark will be displayed. if not, then no indicator will be displayed.\n *\n * The third options for the `indicator` is <b>none</b>, which will not display any indicator at all.\n * It is intended to be used for customised menu items where the indicator is implemented differently.\n * For example, you can use a custom icon or a different visual element to indicate the state of the menu item.\n * Make sure the new indicator is accessible.\n *\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @tagname mdc-menuitemradio\n *\n * @slot leading-controls - slot for menu item radio controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item radio primary label.\n * @slot leading-text-secondary-label - slot for menu item radio secondary label.\n * @slot leading-text-tertiary-label - slot for menu item radio tertiary label.\n * @slot trailing-text-side-header - slot for menu item radio side header text.\n * @slot trailing-text-subline - slot for menu item radio subline text.\n * @slot trailing-controls - slot for menu item radio controls to appear of trailing end.\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 */",
|
18048
|
+
"customElement": true,
|
17857
18049
|
"cssProperties": [
|
17858
18050
|
{
|
17859
18051
|
"description": "Allows customization of the default background color.",
|
@@ -17943,16 +18135,16 @@
|
|
17943
18135
|
"name": "MenuPopover",
|
17944
18136
|
"slots": [
|
17945
18137
|
{
|
17946
|
-
"description": "
|
17947
|
-
"name": "default"
|
17948
|
-
},
|
17949
|
-
{
|
17950
|
-
"description": "Default slot for the popover content",
|
18138
|
+
"description": "Default slot for the menu popover content",
|
17951
18139
|
"name": "",
|
17952
18140
|
"inheritedFrom": {
|
17953
18141
|
"name": "Popover",
|
17954
18142
|
"module": "src/components/popover/popover.component.ts"
|
17955
18143
|
}
|
18144
|
+
},
|
18145
|
+
{
|
18146
|
+
"description": "Contains the menu items to be displayed in the popover",
|
18147
|
+
"name": "default"
|
17956
18148
|
}
|
17957
18149
|
],
|
17958
18150
|
"members": [
|
@@ -18022,6 +18214,11 @@
|
|
18022
18214
|
"kind": "method",
|
18023
18215
|
"name": "closeAllMenuPopovers",
|
18024
18216
|
"privacy": "private",
|
18217
|
+
"return": {
|
18218
|
+
"type": {
|
18219
|
+
"text": "void"
|
18220
|
+
}
|
18221
|
+
},
|
18025
18222
|
"parameters": [
|
18026
18223
|
{
|
18027
18224
|
"name": "until",
|
@@ -19277,6 +19474,54 @@
|
|
19277
19474
|
}
|
19278
19475
|
}
|
19279
19476
|
],
|
19477
|
+
"events": [
|
19478
|
+
{
|
19479
|
+
"description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
|
19480
|
+
"name": "change",
|
19481
|
+
"reactName": "onChange"
|
19482
|
+
},
|
19483
|
+
{
|
19484
|
+
"description": "(React: onAction) This event is dispatched when a menuItem selected and the menu closes.",
|
19485
|
+
"name": "action",
|
19486
|
+
"reactName": "onAction"
|
19487
|
+
},
|
19488
|
+
{
|
19489
|
+
"description": "(React: onShown) This event is dispatched when the popover is shown",
|
19490
|
+
"name": "shown",
|
19491
|
+
"reactName": "onShown",
|
19492
|
+
"inheritedFrom": {
|
19493
|
+
"name": "Popover",
|
19494
|
+
"module": "src/components/popover/popover.component.ts"
|
19495
|
+
}
|
19496
|
+
},
|
19497
|
+
{
|
19498
|
+
"description": "(React: onHidden) This event is dispatched when the popover is hidden",
|
19499
|
+
"name": "hidden",
|
19500
|
+
"reactName": "onHidden",
|
19501
|
+
"inheritedFrom": {
|
19502
|
+
"name": "Popover",
|
19503
|
+
"module": "src/components/popover/popover.component.ts"
|
19504
|
+
}
|
19505
|
+
},
|
19506
|
+
{
|
19507
|
+
"description": "(React: onCreated) This event is dispatched when the popover is created (added to the DOM)",
|
19508
|
+
"name": "created",
|
19509
|
+
"reactName": "onCreated",
|
19510
|
+
"inheritedFrom": {
|
19511
|
+
"name": "Popover",
|
19512
|
+
"module": "src/components/popover/popover.component.ts"
|
19513
|
+
}
|
19514
|
+
},
|
19515
|
+
{
|
19516
|
+
"description": "(React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)",
|
19517
|
+
"name": "destroyed",
|
19518
|
+
"reactName": "onDestroyed",
|
19519
|
+
"inheritedFrom": {
|
19520
|
+
"name": "Popover",
|
19521
|
+
"module": "src/components/popover/popover.component.ts"
|
19522
|
+
}
|
19523
|
+
}
|
19524
|
+
],
|
19280
19525
|
"attributes": [
|
19281
19526
|
{
|
19282
19527
|
"name": "placement",
|
@@ -19674,7 +19919,7 @@
|
|
19674
19919
|
"module": "/src/components/popover/popover.component"
|
19675
19920
|
},
|
19676
19921
|
"tagName": "mdc-menupopover",
|
19677
|
-
"jsDoc": "/**\n * A popover menu component that displays a list of menu items in a floating container.\n * It's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create\n * accessible, nested menu structures with the following features:\n * - Appears adjacent to the triggering menu item\n * - Supports keyboard navigation (arrow keys, Home, End)\n * - Manages focus trapping when open\n * - Closes on Escape key or outside click\n * - Supports both mouse and keyboard interactions\n * - Automatically handles ARIA attributes for accessibility\n *\n * The component extends `mdc-popover` and adds menu-specific behaviors and styling.\n * When nested within another `mdc-menupopover`, it automatically adjusts its behavior\n * to work as a submenu (right-aligned, shows on hover).\n *\n * The orientation of the menu popover is always set to `vertical`.\n *\n * @tagname mdc-menupopover\n * @slot default - Contains the menu items to be displayed in the popover\n */",
|
19922
|
+
"jsDoc": "/**\n * A popover menu component that displays a list of menu items in a floating container.\n * It's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create\n * accessible, nested menu structures with the following features:\n * - Appears adjacent to the triggering menu item\n * - Supports keyboard navigation (arrow keys, Home, End)\n * - Manages focus trapping when open\n * - Closes on Escape key or outside click\n * - Supports both mouse and keyboard interactions\n * - Automatically handles ARIA attributes for accessibility\n *\n * The component extends `mdc-popover` and adds menu-specific behaviors and styling.\n * When nested within another `mdc-menupopover`, it automatically adjusts its behavior\n * to work as a submenu (right-aligned, shows on hover).\n *\n * The orientation of the menu popover is always set to `vertical`.\n *\n * @tagname mdc-menupopover\n *\n * @slot - Default slot for the menu popover content\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n * @event action - (React: onAction) This event is dispatched when a menuItem selected and the menu closes.\n *\n * @slot default - Contains the menu items to be displayed in the popover\n */",
|
19678
19923
|
"customElement": true,
|
19679
19924
|
"cssProperties": [
|
19680
19925
|
{
|
@@ -19757,44 +20002,6 @@
|
|
19757
20002
|
"module": "src/components/popover/popover.component.ts"
|
19758
20003
|
}
|
19759
20004
|
}
|
19760
|
-
],
|
19761
|
-
"events": [
|
19762
|
-
{
|
19763
|
-
"description": "(React: onShown) This event is dispatched when the popover is shown",
|
19764
|
-
"name": "shown",
|
19765
|
-
"reactName": "onShown",
|
19766
|
-
"inheritedFrom": {
|
19767
|
-
"name": "Popover",
|
19768
|
-
"module": "src/components/popover/popover.component.ts"
|
19769
|
-
}
|
19770
|
-
},
|
19771
|
-
{
|
19772
|
-
"description": "(React: onHidden) This event is dispatched when the popover is hidden",
|
19773
|
-
"name": "hidden",
|
19774
|
-
"reactName": "onHidden",
|
19775
|
-
"inheritedFrom": {
|
19776
|
-
"name": "Popover",
|
19777
|
-
"module": "src/components/popover/popover.component.ts"
|
19778
|
-
}
|
19779
|
-
},
|
19780
|
-
{
|
19781
|
-
"description": "(React: onCreated) This event is dispatched when the popover is created (added to the DOM)",
|
19782
|
-
"name": "created",
|
19783
|
-
"reactName": "onCreated",
|
19784
|
-
"inheritedFrom": {
|
19785
|
-
"name": "Popover",
|
19786
|
-
"module": "src/components/popover/popover.component.ts"
|
19787
|
-
}
|
19788
|
-
},
|
19789
|
-
{
|
19790
|
-
"description": "(React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)",
|
19791
|
-
"name": "destroyed",
|
19792
|
-
"reactName": "onDestroyed",
|
19793
|
-
"inheritedFrom": {
|
19794
|
-
"name": "Popover",
|
19795
|
-
"module": "src/components/popover/popover.component.ts"
|
19796
|
-
}
|
19797
|
-
}
|
19798
20005
|
]
|
19799
20006
|
}
|
19800
20007
|
],
|
@@ -19823,13 +20030,68 @@
|
|
19823
20030
|
"name": ""
|
19824
20031
|
}
|
19825
20032
|
],
|
19826
|
-
"members": [
|
20033
|
+
"members": [
|
20034
|
+
{
|
20035
|
+
"kind": "field",
|
20036
|
+
"name": "ariaLabel",
|
20037
|
+
"type": {
|
20038
|
+
"text": "string | null"
|
20039
|
+
},
|
20040
|
+
"default": "null",
|
20041
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20042
|
+
"attribute": "aria-label",
|
20043
|
+
"reflects": true
|
20044
|
+
},
|
20045
|
+
{
|
20046
|
+
"kind": "field",
|
20047
|
+
"name": "headerText",
|
20048
|
+
"type": {
|
20049
|
+
"text": "string | null"
|
20050
|
+
},
|
20051
|
+
"default": "null",
|
20052
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20053
|
+
"attribute": "headerText",
|
20054
|
+
"reflects": true
|
20055
|
+
},
|
20056
|
+
{
|
20057
|
+
"kind": "method",
|
20058
|
+
"name": "renderLabel",
|
20059
|
+
"privacy": "private"
|
20060
|
+
}
|
20061
|
+
],
|
20062
|
+
"events": [
|
20063
|
+
{
|
20064
|
+
"description": "(React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.",
|
20065
|
+
"name": "change",
|
20066
|
+
"reactName": "onChange"
|
20067
|
+
}
|
20068
|
+
],
|
20069
|
+
"attributes": [
|
20070
|
+
{
|
20071
|
+
"name": "aria-label",
|
20072
|
+
"type": {
|
20073
|
+
"text": "string | null"
|
20074
|
+
},
|
20075
|
+
"default": "null",
|
20076
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20077
|
+
"fieldName": "ariaLabel"
|
20078
|
+
},
|
20079
|
+
{
|
20080
|
+
"name": "headerText",
|
20081
|
+
"type": {
|
20082
|
+
"text": "string | null"
|
20083
|
+
},
|
20084
|
+
"default": "null",
|
20085
|
+
"description": "The primary headerText of the list item.\nThis appears on the leading side of the list item.",
|
20086
|
+
"fieldName": "headerText"
|
20087
|
+
}
|
20088
|
+
],
|
19827
20089
|
"superclass": {
|
19828
20090
|
"name": "Component",
|
19829
20091
|
"module": "/src/models"
|
19830
20092
|
},
|
19831
20093
|
"tagName": "mdc-menusection",
|
19832
|
-
"jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n */",
|
20094
|
+
"jsDoc": "/**\n * `mdc-menusection` is a container element used to group a set of menu items.\n *\n * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components.\n *\n * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:\n * only one radio item can be selected at a time.\n * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.\n *\n * @tagname mdc-menusection\n *\n * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`\n *\n * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.\n */",
|
19833
20095
|
"customElement": true
|
19834
20096
|
}
|
19835
20097
|
],
|
@@ -20137,6 +20399,36 @@
|
|
20137
20399
|
"module": "components/menuitem/menuitem.component.js"
|
20138
20400
|
}
|
20139
20401
|
},
|
20402
|
+
{
|
20403
|
+
"kind": "field",
|
20404
|
+
"name": "name",
|
20405
|
+
"type": {
|
20406
|
+
"text": "undefined | string | undefined"
|
20407
|
+
},
|
20408
|
+
"default": "undefined",
|
20409
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
20410
|
+
"attribute": "name",
|
20411
|
+
"reflects": true,
|
20412
|
+
"inheritedFrom": {
|
20413
|
+
"name": "MenuItem",
|
20414
|
+
"module": "components/menuitem/menuitem.component.js"
|
20415
|
+
}
|
20416
|
+
},
|
20417
|
+
{
|
20418
|
+
"kind": "field",
|
20419
|
+
"name": "value",
|
20420
|
+
"type": {
|
20421
|
+
"text": "undefined | string | undefined"
|
20422
|
+
},
|
20423
|
+
"default": "undefined",
|
20424
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
20425
|
+
"attribute": "value",
|
20426
|
+
"reflects": true,
|
20427
|
+
"inheritedFrom": {
|
20428
|
+
"name": "MenuItem",
|
20429
|
+
"module": "components/menuitem/menuitem.component.js"
|
20430
|
+
}
|
20431
|
+
},
|
20140
20432
|
{
|
20141
20433
|
"kind": "method",
|
20142
20434
|
"name": "handleKeyDown",
|
@@ -20658,6 +20950,32 @@
|
|
20658
20950
|
"module": "src/components/menuitem/menuitem.component.ts"
|
20659
20951
|
}
|
20660
20952
|
},
|
20953
|
+
{
|
20954
|
+
"name": "name",
|
20955
|
+
"type": {
|
20956
|
+
"text": "undefined | string | undefined"
|
20957
|
+
},
|
20958
|
+
"default": "undefined",
|
20959
|
+
"description": "The name attribute is used to identify the menu item when it is selected.",
|
20960
|
+
"fieldName": "name",
|
20961
|
+
"inheritedFrom": {
|
20962
|
+
"name": "MenuItem",
|
20963
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
20964
|
+
}
|
20965
|
+
},
|
20966
|
+
{
|
20967
|
+
"name": "value",
|
20968
|
+
"type": {
|
20969
|
+
"text": "undefined | string | undefined"
|
20970
|
+
},
|
20971
|
+
"default": "undefined",
|
20972
|
+
"description": "The value attribute is used to represent a value when the menu item is selected.\nIt is typically used with checkbox and radio menu items, but can be handy for any menu item.",
|
20973
|
+
"fieldName": "value",
|
20974
|
+
"inheritedFrom": {
|
20975
|
+
"name": "MenuItem",
|
20976
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
20977
|
+
}
|
20978
|
+
},
|
20661
20979
|
{
|
20662
20980
|
"name": "disabled",
|
20663
20981
|
"type": {
|
@@ -20811,7 +21129,7 @@
|
|
20811
21129
|
"customElement": true,
|
20812
21130
|
"slots": [
|
20813
21131
|
{
|
20814
|
-
"description": "slot for
|
21132
|
+
"description": "slot for menu item controls to appear of leading end.",
|
20815
21133
|
"name": "leading-controls",
|
20816
21134
|
"inheritedFrom": {
|
20817
21135
|
"name": "ListItem",
|
@@ -20819,7 +21137,7 @@
|
|
20819
21137
|
}
|
20820
21138
|
},
|
20821
21139
|
{
|
20822
|
-
"description": "slot for
|
21140
|
+
"description": "slot for menu item primary label.",
|
20823
21141
|
"name": "leading-text-primary-label",
|
20824
21142
|
"inheritedFrom": {
|
20825
21143
|
"name": "ListItem",
|
@@ -20827,7 +21145,7 @@
|
|
20827
21145
|
}
|
20828
21146
|
},
|
20829
21147
|
{
|
20830
|
-
"description": "slot for
|
21148
|
+
"description": "slot for menu item secondary label.",
|
20831
21149
|
"name": "leading-text-secondary-label",
|
20832
21150
|
"inheritedFrom": {
|
20833
21151
|
"name": "ListItem",
|
@@ -20835,7 +21153,7 @@
|
|
20835
21153
|
}
|
20836
21154
|
},
|
20837
21155
|
{
|
20838
|
-
"description": "slot for
|
21156
|
+
"description": "slot for menu item tertiary label.",
|
20839
21157
|
"name": "leading-text-tertiary-label",
|
20840
21158
|
"inheritedFrom": {
|
20841
21159
|
"name": "ListItem",
|
@@ -20843,7 +21161,7 @@
|
|
20843
21161
|
}
|
20844
21162
|
},
|
20845
21163
|
{
|
20846
|
-
"description": "slot for
|
21164
|
+
"description": "slot for menu item side header text.",
|
20847
21165
|
"name": "trailing-text-side-header",
|
20848
21166
|
"inheritedFrom": {
|
20849
21167
|
"name": "ListItem",
|
@@ -20851,7 +21169,7 @@
|
|
20851
21169
|
}
|
20852
21170
|
},
|
20853
21171
|
{
|
20854
|
-
"description": "slot for
|
21172
|
+
"description": "slot for menu item subline text.",
|
20855
21173
|
"name": "trailing-text-subline",
|
20856
21174
|
"inheritedFrom": {
|
20857
21175
|
"name": "ListItem",
|
@@ -20859,7 +21177,7 @@
|
|
20859
21177
|
}
|
20860
21178
|
},
|
20861
21179
|
{
|
20862
|
-
"description": "slot for
|
21180
|
+
"description": "slot for menu item controls to appear of trailing end.",
|
20863
21181
|
"name": "trailing-controls",
|
20864
21182
|
"inheritedFrom": {
|
20865
21183
|
"name": "ListItem",
|