@momentum-design/components 0.112.3 → 0.112.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,481 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "components/accordion/accordion.component.js",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "An accordion contains a header and body section with a focusable heading that can be expanded or collapsed.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n- Leading Slot - Contains the leading controls of the accordion on the header section. This will be placed on the leading side, after the header text.\n- Trailing Slot - Contains the trailing controls of the accordion on the header section. This will be placed on the trailing side, before the expand/collapse button.\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf an accordion is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion.",
12
- "name": "Accordion",
13
- "cssProperties": [
14
- {
15
- "description": "The border color of the accordion.",
16
- "name": "--mdc-accordionbutton-border-color",
17
- "inheritedFrom": {
18
- "name": "AccordionButton",
19
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
20
- }
21
- },
22
- {
23
- "description": "The hover color of the accordion.",
24
- "name": "--mdc-accordionbutton-hover-color",
25
- "inheritedFrom": {
26
- "name": "AccordionButton",
27
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
28
- }
29
- },
30
- {
31
- "description": "The active color of the accordion.",
32
- "name": "--mdc-accordionbutton-active-color",
33
- "inheritedFrom": {
34
- "name": "AccordionButton",
35
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
36
- }
37
- },
38
- {
39
- "description": "The disabled color of the accordion.",
40
- "name": "--mdc-accordionbutton-disabled-color",
41
- "inheritedFrom": {
42
- "name": "AccordionButton",
43
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
44
- }
45
- }
46
- ],
47
- "cssParts": [
48
- {
49
- "description": "The header section of the accordion.",
50
- "name": "header-section",
51
- "inheritedFrom": {
52
- "name": "AccordionButton",
53
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
54
- }
55
- },
56
- {
57
- "description": "The leading header of the accordion.",
58
- "name": "leading-header",
59
- "inheritedFrom": {
60
- "name": "AccordionButton",
61
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
62
- }
63
- },
64
- {
65
- "description": "The trailing header of the accordion.",
66
- "name": "trailing-header",
67
- "inheritedFrom": {
68
- "name": "AccordionButton",
69
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
70
- }
71
- },
72
- {
73
- "description": "The trailing header button of the accordion.",
74
- "name": "trailing-header__button"
75
- },
76
- {
77
- "description": "The body section of the accordion.",
78
- "name": "body-section",
79
- "inheritedFrom": {
80
- "name": "AccordionButton",
81
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
82
- }
83
- },
84
- {
85
- "description": "The header button section of the accordion button.",
86
- "name": "header-button-section",
87
- "inheritedFrom": {
88
- "name": "AccordionButton",
89
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
90
- }
91
- },
92
- {
93
- "description": "The trailing header icon of the accordion button.",
94
- "name": "trailing-header__icon",
95
- "inheritedFrom": {
96
- "name": "AccordionButton",
97
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
98
- }
99
- }
100
- ],
101
- "slots": [
102
- {
103
- "description": "The leading controls slot of the accordion on the header section.",
104
- "name": "leading-controls"
105
- },
106
- {
107
- "description": "The trailing controls slot of the accordion on the header section.",
108
- "name": "trailing-controls"
109
- },
110
- {
111
- "description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
112
- "name": "default",
113
- "inheritedFrom": {
114
- "name": "AccordionButton",
115
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
116
- }
117
- }
118
- ],
119
- "members": [
120
- {
121
- "kind": "method",
122
- "name": "renderHeader",
123
- "privacy": "protected",
124
- "return": {
125
- "type": {
126
- "text": ""
127
- }
128
- },
129
- "description": "Renders the header section of the accordion.\nThis includes the leading icon, text and controls, and the trailing controls.\nThe trailing controls include the expand/collapse button.\nThe button is disabled if the accordion is disabled.\nThe button is also given the aria-controls attribute set to the id of the body section.\nThe button is also given the aria-expanded attribute set to the expanded state of the accordion.\nThe prefix icon of the button is set to the expanded state of the accordion.",
130
- "inheritedFrom": {
131
- "name": "AccordionButton",
132
- "module": "components/accordionbutton/accordionbutton.component.js"
133
- }
134
- },
135
- {
136
- "kind": "field",
137
- "name": "disabled",
138
- "type": {
139
- "text": "boolean | undefined"
140
- },
141
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
142
- "default": "undefined",
143
- "attribute": "disabled",
144
- "reflects": true,
145
- "inheritedFrom": {
146
- "name": "DisabledMixin",
147
- "module": "utils/mixins/DisabledMixin.js"
148
- }
149
- },
150
- {
151
- "kind": "field",
152
- "name": "size",
153
- "type": {
154
- "text": "Size"
155
- },
156
- "description": "The size of the accordion item.",
157
- "default": "'small'",
158
- "attribute": "size",
159
- "reflects": true,
160
- "inheritedFrom": {
161
- "name": "AccordionButton",
162
- "module": "components/accordionbutton/accordionbutton.component.js"
163
- }
164
- },
165
- {
166
- "kind": "field",
167
- "name": "variant",
168
- "type": {
169
- "text": "Variant"
170
- },
171
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
172
- "default": "'default'",
173
- "attribute": "variant",
174
- "reflects": true,
175
- "inheritedFrom": {
176
- "name": "AccordionButton",
177
- "module": "components/accordionbutton/accordionbutton.component.js"
178
- }
179
- },
180
- {
181
- "kind": "field",
182
- "name": "dataAriaLevel",
183
- "type": {
184
- "text": "number"
185
- },
186
- "description": "The aria level of the accordion component.",
187
- "default": "3",
188
- "attribute": "data-aria-level",
189
- "reflects": true,
190
- "inheritedFrom": {
191
- "name": "AccordionButton",
192
- "module": "components/accordionbutton/accordionbutton.component.js"
193
- }
194
- },
195
- {
196
- "kind": "field",
197
- "name": "expanded",
198
- "type": {
199
- "text": "boolean"
200
- },
201
- "description": "The visibility of the accordion button.",
202
- "default": "false",
203
- "attribute": "expanded",
204
- "reflects": true,
205
- "inheritedFrom": {
206
- "name": "AccordionButton",
207
- "module": "components/accordionbutton/accordionbutton.component.js"
208
- }
209
- },
210
- {
211
- "kind": "field",
212
- "name": "headerText",
213
- "type": {
214
- "text": "string | undefined"
215
- },
216
- "description": "The header text of the accordion item.",
217
- "attribute": "header-text",
218
- "reflects": true,
219
- "inheritedFrom": {
220
- "name": "AccordionButton",
221
- "module": "components/accordionbutton/accordionbutton.component.js"
222
- }
223
- },
224
- {
225
- "kind": "field",
226
- "name": "prefixIcon",
227
- "type": {
228
- "text": "IconNames | undefined"
229
- },
230
- "description": "The leading icon that is displayed before the header text.",
231
- "attribute": "prefix-icon",
232
- "inheritedFrom": {
233
- "name": "AccordionButton",
234
- "module": "components/accordionbutton/accordionbutton.component.js"
235
- }
236
- },
237
- {
238
- "kind": "method",
239
- "name": "handleHeaderClick",
240
- "privacy": "protected",
241
- "return": {
242
- "type": {
243
- "text": "void"
244
- }
245
- },
246
- "description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state.",
247
- "inheritedFrom": {
248
- "name": "AccordionButton",
249
- "module": "components/accordionbutton/accordionbutton.component.js"
250
- }
251
- },
252
- {
253
- "kind": "method",
254
- "name": "dispatchHeaderClickEvent",
255
- "privacy": "private",
256
- "return": {
257
- "type": {
258
- "text": "void"
259
- }
260
- },
261
- "description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state.",
262
- "inheritedFrom": {
263
- "name": "AccordionButton",
264
- "module": "components/accordionbutton/accordionbutton.component.js"
265
- }
266
- },
267
- {
268
- "kind": "method",
269
- "name": "handleKeyDown",
270
- "privacy": "private",
271
- "return": {
272
- "type": {
273
- "text": "void"
274
- }
275
- },
276
- "parameters": [
277
- {
278
- "name": "event",
279
- "type": {
280
- "text": "KeyboardEvent"
281
- },
282
- "description": "The KeyboardEvent fired."
283
- }
284
- ],
285
- "description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys.",
286
- "inheritedFrom": {
287
- "name": "AccordionButton",
288
- "module": "components/accordionbutton/accordionbutton.component.js"
289
- }
290
- },
291
- {
292
- "kind": "method",
293
- "name": "renderIcon",
294
- "privacy": "protected",
295
- "return": {
296
- "type": {
297
- "text": "TemplateResult | typeof nothing"
298
- }
299
- },
300
- "parameters": [
301
- {
302
- "name": "iconName",
303
- "optional": true,
304
- "type": {
305
- "text": "IconNames"
306
- }
307
- }
308
- ],
309
- "inheritedFrom": {
310
- "name": "AccordionButton",
311
- "module": "components/accordionbutton/accordionbutton.component.js"
312
- }
313
- },
314
- {
315
- "kind": "method",
316
- "name": "renderHeadingText",
317
- "privacy": "protected",
318
- "return": {
319
- "type": {
320
- "text": "TemplateResult | typeof nothing"
321
- }
322
- },
323
- "inheritedFrom": {
324
- "name": "AccordionButton",
325
- "module": "components/accordionbutton/accordionbutton.component.js"
326
- }
327
- },
328
- {
329
- "kind": "method",
330
- "name": "getArrowIconName",
331
- "privacy": "protected",
332
- "return": {
333
- "type": {
334
- "text": ""
335
- }
336
- },
337
- "description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon.",
338
- "inheritedFrom": {
339
- "name": "AccordionButton",
340
- "module": "components/accordionbutton/accordionbutton.component.js"
341
- }
342
- },
343
- {
344
- "kind": "method",
345
- "name": "renderBody",
346
- "privacy": "protected",
347
- "return": {
348
- "type": {
349
- "text": "TemplateResult | typeof nothing"
350
- }
351
- },
352
- "inheritedFrom": {
353
- "name": "AccordionButton",
354
- "module": "components/accordionbutton/accordionbutton.component.js"
355
- }
356
- }
357
- ],
358
- "events": [
359
- {
360
- "description": "(React: onShown) This event is triggered when the accordion is expanded.",
361
- "name": "shown",
362
- "reactName": "onShown",
363
- "inheritedFrom": {
364
- "name": "AccordionButton",
365
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
366
- }
367
- }
368
- ],
369
- "superclass": {
370
- "name": "AccordionButton",
371
- "module": "/src/components/accordionbutton/accordionbutton.component"
372
- },
373
- "tagName": "mdc-accordion",
374
- "jsDoc": "/**\n * An accordion contains a header and body section with a focusable heading that can be expanded or collapsed.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n * - Leading Slot - Contains the leading controls of the accordion on the header section. This will be placed on the leading side, after the header text.\n * - Trailing Slot - Contains the trailing controls of the accordion on the header section. This will be placed on the trailing side, before the expand/collapse button.\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If an accordion is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion.\n *\n * @tagname mdc-accordion\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot leading-controls - The leading controls slot of the accordion on the header section.\n * @slot trailing-controls - The trailing controls slot of the accordion on the header section.\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion.\n *\n * @csspart header-section - The header section of the accordion.\n * @csspart leading-header - The leading header of the accordion.\n * @csspart trailing-header - The trailing header of the accordion.\n * @csspart trailing-header__button - The trailing header button of the accordion.\n * @csspart body-section - The body section of the accordion.\n */",
375
- "customElement": true,
376
- "attributes": [
377
- {
378
- "name": "disabled",
379
- "type": {
380
- "text": "boolean | undefined"
381
- },
382
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
383
- "default": "undefined",
384
- "fieldName": "disabled",
385
- "inheritedFrom": {
386
- "name": "DisabledMixin",
387
- "module": "src/utils/mixins/DisabledMixin.ts"
388
- }
389
- },
390
- {
391
- "name": "size",
392
- "type": {
393
- "text": "Size"
394
- },
395
- "description": "The size of the accordion item.",
396
- "default": "'small'",
397
- "fieldName": "size",
398
- "inheritedFrom": {
399
- "name": "AccordionButton",
400
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
401
- }
402
- },
403
- {
404
- "name": "variant",
405
- "type": {
406
- "text": "Variant"
407
- },
408
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
409
- "default": "'default'",
410
- "fieldName": "variant",
411
- "inheritedFrom": {
412
- "name": "AccordionButton",
413
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
414
- }
415
- },
416
- {
417
- "name": "data-aria-level",
418
- "type": {
419
- "text": "number"
420
- },
421
- "description": "The aria level of the accordion component.",
422
- "default": "3",
423
- "fieldName": "dataAriaLevel",
424
- "inheritedFrom": {
425
- "name": "AccordionButton",
426
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
427
- }
428
- },
429
- {
430
- "name": "expanded",
431
- "type": {
432
- "text": "boolean"
433
- },
434
- "description": "The visibility of the accordion button.",
435
- "default": "false",
436
- "fieldName": "expanded",
437
- "inheritedFrom": {
438
- "name": "AccordionButton",
439
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
440
- }
441
- },
442
- {
443
- "name": "header-text",
444
- "type": {
445
- "text": "string | undefined"
446
- },
447
- "description": "The header text of the accordion item.",
448
- "fieldName": "headerText",
449
- "inheritedFrom": {
450
- "name": "AccordionButton",
451
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
452
- }
453
- },
454
- {
455
- "name": "prefix-icon",
456
- "type": {
457
- "text": "IconNames | undefined"
458
- },
459
- "description": "The leading icon that is displayed before the header text.",
460
- "fieldName": "prefixIcon",
461
- "inheritedFrom": {
462
- "name": "AccordionButton",
463
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
464
- }
465
- }
466
- ]
467
- }
468
- ],
469
- "exports": [
470
- {
471
- "kind": "js",
472
- "name": "default",
473
- "declaration": {
474
- "name": "Accordion",
475
- "module": "components/accordion/accordion.component.js"
476
- }
477
- }
478
- ]
479
- },
480
5
  {
481
6
  "kind": "javascript-module",
482
7
  "path": "components/accordionbutton/accordionbutton.component.js",
@@ -970,203 +495,466 @@
970
495
  },
971
496
  {
972
497
  "kind": "javascript-module",
973
- "path": "components/animation/animation.component.js",
498
+ "path": "components/accordion/accordion.component.js",
974
499
  "declarations": [
975
500
  {
976
501
  "kind": "class",
977
- "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.",
978
- "name": "Animation",
979
- "members": [
502
+ "description": "An accordion contains a header and body section with a focusable heading that can be expanded or collapsed.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n- Leading Slot - Contains the leading controls of the accordion on the header section. This will be placed on the leading side, after the header text.\n- Trailing Slot - Contains the trailing controls of the accordion on the header section. This will be placed on the trailing side, before the expand/collapse button.\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf an accordion is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion.",
503
+ "name": "Accordion",
504
+ "cssProperties": [
980
505
  {
981
- "kind": "field",
982
- "name": "name",
983
- "type": {
984
- "text": "AnimationNames | undefined"
985
- },
986
- "description": "Name of the animation (= filename)",
987
- "attribute": "name",
988
- "reflects": true
506
+ "description": "The border color of the accordion.",
507
+ "name": "--mdc-accordionbutton-border-color",
508
+ "inheritedFrom": {
509
+ "name": "AccordionButton",
510
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
511
+ }
989
512
  },
990
513
  {
991
- "kind": "field",
992
- "name": "loop",
993
- "type": {
994
- "text": "LoopType | undefined"
995
- },
996
- "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
997
- "attribute": "loop",
998
- "reflects": true
514
+ "description": "The hover color of the accordion.",
515
+ "name": "--mdc-accordionbutton-hover-color",
516
+ "inheritedFrom": {
517
+ "name": "AccordionButton",
518
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
519
+ }
999
520
  },
1000
521
  {
1001
- "kind": "field",
1002
- "name": "autoplay",
522
+ "description": "The active color of the accordion.",
523
+ "name": "--mdc-accordionbutton-active-color",
524
+ "inheritedFrom": {
525
+ "name": "AccordionButton",
526
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
527
+ }
528
+ },
529
+ {
530
+ "description": "The disabled color of the accordion.",
531
+ "name": "--mdc-accordionbutton-disabled-color",
532
+ "inheritedFrom": {
533
+ "name": "AccordionButton",
534
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
535
+ }
536
+ }
537
+ ],
538
+ "cssParts": [
539
+ {
540
+ "description": "The header section of the accordion.",
541
+ "name": "header-section",
542
+ "inheritedFrom": {
543
+ "name": "AccordionButton",
544
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
545
+ }
546
+ },
547
+ {
548
+ "description": "The leading header of the accordion.",
549
+ "name": "leading-header",
550
+ "inheritedFrom": {
551
+ "name": "AccordionButton",
552
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
553
+ }
554
+ },
555
+ {
556
+ "description": "The trailing header of the accordion.",
557
+ "name": "trailing-header",
558
+ "inheritedFrom": {
559
+ "name": "AccordionButton",
560
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
561
+ }
562
+ },
563
+ {
564
+ "description": "The trailing header button of the accordion.",
565
+ "name": "trailing-header__button"
566
+ },
567
+ {
568
+ "description": "The body section of the accordion.",
569
+ "name": "body-section",
570
+ "inheritedFrom": {
571
+ "name": "AccordionButton",
572
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
573
+ }
574
+ },
575
+ {
576
+ "description": "The header button section of the accordion button.",
577
+ "name": "header-button-section",
578
+ "inheritedFrom": {
579
+ "name": "AccordionButton",
580
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
581
+ }
582
+ },
583
+ {
584
+ "description": "The trailing header icon of the accordion button.",
585
+ "name": "trailing-header__icon",
586
+ "inheritedFrom": {
587
+ "name": "AccordionButton",
588
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
589
+ }
590
+ }
591
+ ],
592
+ "slots": [
593
+ {
594
+ "description": "The leading controls slot of the accordion on the header section.",
595
+ "name": "leading-controls"
596
+ },
597
+ {
598
+ "description": "The trailing controls slot of the accordion on the header section.",
599
+ "name": "trailing-controls"
600
+ },
601
+ {
602
+ "description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
603
+ "name": "default",
604
+ "inheritedFrom": {
605
+ "name": "AccordionButton",
606
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
607
+ }
608
+ }
609
+ ],
610
+ "members": [
611
+ {
612
+ "kind": "method",
613
+ "name": "renderHeader",
614
+ "privacy": "protected",
615
+ "return": {
616
+ "type": {
617
+ "text": ""
618
+ }
619
+ },
620
+ "description": "Renders the header section of the accordion.\nThis includes the leading icon, text and controls, and the trailing controls.\nThe trailing controls include the expand/collapse button.\nThe button is disabled if the accordion is disabled.\nThe button is also given the aria-controls attribute set to the id of the body section.\nThe button is also given the aria-expanded attribute set to the expanded state of the accordion.\nThe prefix icon of the button is set to the expanded state of the accordion.",
621
+ "inheritedFrom": {
622
+ "name": "AccordionButton",
623
+ "module": "components/accordionbutton/accordionbutton.component.js"
624
+ }
625
+ },
626
+ {
627
+ "kind": "field",
628
+ "name": "disabled",
1003
629
  "type": {
1004
630
  "text": "boolean | undefined"
1005
631
  },
1006
- "description": "Weather start the animation automatically",
1007
- "attribute": "autoplay",
1008
- "reflects": true
632
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
633
+ "default": "undefined",
634
+ "attribute": "disabled",
635
+ "reflects": true,
636
+ "inheritedFrom": {
637
+ "name": "AccordionButton",
638
+ "module": "components/accordionbutton/accordionbutton.component.js"
639
+ }
1009
640
  },
1010
641
  {
1011
642
  "kind": "field",
1012
- "name": "ariaLabel",
643
+ "name": "size",
1013
644
  "type": {
1014
- "text": "string | null"
645
+ "text": "Size"
1015
646
  },
1016
- "default": "null",
1017
- "description": "Aria-label attribute to be set for accessibility",
1018
- "attribute": "aria-label"
647
+ "description": "The size of the accordion item.",
648
+ "default": "'small'",
649
+ "attribute": "size",
650
+ "reflects": true,
651
+ "inheritedFrom": {
652
+ "name": "AccordionButton",
653
+ "module": "components/accordionbutton/accordionbutton.component.js"
654
+ }
1019
655
  },
1020
656
  {
1021
657
  "kind": "field",
1022
- "name": "ariaLabelledBy",
658
+ "name": "variant",
1023
659
  "type": {
1024
- "text": "string | null"
660
+ "text": "Variant"
1025
661
  },
1026
- "default": "null",
1027
- "description": "Aria-labelledby attribute to be set for accessibility",
1028
- "attribute": "aria-labelledby"
662
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
663
+ "default": "'default'",
664
+ "attribute": "variant",
665
+ "reflects": true,
666
+ "inheritedFrom": {
667
+ "name": "AccordionButton",
668
+ "module": "components/accordionbutton/accordionbutton.component.js"
669
+ }
1029
670
  },
1030
671
  {
1031
672
  "kind": "field",
1032
- "name": "lottieInstance",
673
+ "name": "dataAriaLevel",
1033
674
  "type": {
1034
- "text": "AnimationItem | undefined"
675
+ "text": "number"
1035
676
  },
1036
- "privacy": "private",
1037
- "description": "Lottie animation instance"
677
+ "description": "The aria level of the accordion component.",
678
+ "default": "3",
679
+ "attribute": "data-aria-level",
680
+ "reflects": true,
681
+ "inheritedFrom": {
682
+ "name": "AccordionButton",
683
+ "module": "components/accordionbutton/accordionbutton.component.js"
684
+ }
1038
685
  },
1039
686
  {
1040
687
  "kind": "field",
1041
- "name": "containerRef",
688
+ "name": "expanded",
1042
689
  "type": {
1043
- "text": "Ref<HTMLDivElement>"
690
+ "text": "boolean"
1044
691
  },
1045
- "privacy": "private",
1046
- "description": "Container for the animation"
692
+ "description": "The visibility of the accordion button.",
693
+ "default": "false",
694
+ "attribute": "expanded",
695
+ "reflects": true,
696
+ "inheritedFrom": {
697
+ "name": "AccordionButton",
698
+ "module": "components/accordionbutton/accordionbutton.component.js"
699
+ }
1047
700
  },
1048
701
  {
1049
702
  "kind": "field",
1050
- "name": "animation",
1051
- "description": "Exposed API of the animation library (lottie)",
1052
- "readonly": true
703
+ "name": "headerText",
704
+ "type": {
705
+ "text": "string | undefined"
706
+ },
707
+ "description": "The header text of the accordion item.",
708
+ "attribute": "header-text",
709
+ "reflects": true,
710
+ "inheritedFrom": {
711
+ "name": "AccordionButton",
712
+ "module": "components/accordionbutton/accordionbutton.component.js"
713
+ }
714
+ },
715
+ {
716
+ "kind": "field",
717
+ "name": "prefixIcon",
718
+ "type": {
719
+ "text": "IconNames | undefined"
720
+ },
721
+ "description": "The leading icon that is displayed before the header text.",
722
+ "attribute": "prefix-icon",
723
+ "inheritedFrom": {
724
+ "name": "AccordionButton",
725
+ "module": "components/accordionbutton/accordionbutton.component.js"
726
+ }
1053
727
  },
1054
728
  {
1055
729
  "kind": "method",
1056
- "name": "getLoopValue",
1057
- "privacy": "private"
730
+ "name": "handleHeaderClick",
731
+ "privacy": "protected",
732
+ "return": {
733
+ "type": {
734
+ "text": "void"
735
+ }
736
+ },
737
+ "description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state.",
738
+ "inheritedFrom": {
739
+ "name": "AccordionButton",
740
+ "module": "components/accordionbutton/accordionbutton.component.js"
741
+ }
1058
742
  },
1059
743
  {
1060
744
  "kind": "method",
1061
- "name": "onLoadSuccessHandler",
745
+ "name": "dispatchHeaderClickEvent",
746
+ "privacy": "private",
747
+ "return": {
748
+ "type": {
749
+ "text": "void"
750
+ }
751
+ },
752
+ "description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state.",
753
+ "inheritedFrom": {
754
+ "name": "AccordionButton",
755
+ "module": "components/accordionbutton/accordionbutton.component.js"
756
+ }
757
+ },
758
+ {
759
+ "kind": "method",
760
+ "name": "handleKeyDown",
1062
761
  "privacy": "private",
762
+ "return": {
763
+ "type": {
764
+ "text": "void"
765
+ }
766
+ },
1063
767
  "parameters": [
1064
768
  {
1065
- "name": "animationData",
769
+ "name": "event",
1066
770
  "type": {
1067
- "text": "any"
1068
- }
771
+ "text": "KeyboardEvent"
772
+ },
773
+ "description": "The KeyboardEvent fired."
1069
774
  }
1070
775
  ],
1071
- "description": "Create new lotty instance for the loaded data"
776
+ "description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys.",
777
+ "inheritedFrom": {
778
+ "name": "AccordionButton",
779
+ "module": "components/accordionbutton/accordionbutton.component.js"
780
+ }
1072
781
  },
1073
782
  {
1074
783
  "kind": "method",
1075
- "name": "onLoadFailHandler",
1076
- "privacy": "private",
784
+ "name": "renderIcon",
785
+ "privacy": "protected",
786
+ "return": {
787
+ "type": {
788
+ "text": "TemplateResult | typeof nothing"
789
+ }
790
+ },
1077
791
  "parameters": [
1078
792
  {
1079
- "name": "error",
793
+ "name": "iconName",
794
+ "optional": true,
1080
795
  "type": {
1081
- "text": "Error"
796
+ "text": "IconNames"
1082
797
  }
1083
798
  }
1084
799
  ],
1085
- "description": "Error handler for animation loading"
800
+ "inheritedFrom": {
801
+ "name": "AccordionButton",
802
+ "module": "components/accordionbutton/accordionbutton.component.js"
803
+ }
1086
804
  },
1087
805
  {
1088
806
  "kind": "method",
1089
- "name": "getAnimationData",
1090
- "privacy": "private",
1091
- "description": "Import animation data dynamically"
807
+ "name": "renderHeadingText",
808
+ "privacy": "protected",
809
+ "return": {
810
+ "type": {
811
+ "text": "TemplateResult | typeof nothing"
812
+ }
813
+ },
814
+ "inheritedFrom": {
815
+ "name": "AccordionButton",
816
+ "module": "components/accordionbutton/accordionbutton.component.js"
817
+ }
1092
818
  },
1093
819
  {
1094
- "kind": "field",
1095
- "name": "onCompleteHandler",
1096
- "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."
820
+ "kind": "method",
821
+ "name": "getArrowIconName",
822
+ "privacy": "protected",
823
+ "return": {
824
+ "type": {
825
+ "text": ""
826
+ }
827
+ },
828
+ "description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon.",
829
+ "inheritedFrom": {
830
+ "name": "AccordionButton",
831
+ "module": "components/accordionbutton/accordionbutton.component.js"
832
+ }
833
+ },
834
+ {
835
+ "kind": "method",
836
+ "name": "renderBody",
837
+ "privacy": "protected",
838
+ "return": {
839
+ "type": {
840
+ "text": "TemplateResult | typeof nothing"
841
+ }
842
+ },
843
+ "inheritedFrom": {
844
+ "name": "AccordionButton",
845
+ "module": "components/accordionbutton/accordionbutton.component.js"
846
+ }
1097
847
  }
1098
848
  ],
1099
849
  "events": [
1100
850
  {
1101
- "name": "load",
851
+ "description": "(React: onShown) This event is triggered when the accordion is expanded.",
852
+ "name": "shown",
853
+ "reactName": "onShown",
854
+ "inheritedFrom": {
855
+ "name": "AccordionButton",
856
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
857
+ }
858
+ }
859
+ ],
860
+ "superclass": {
861
+ "name": "AccordionButton",
862
+ "module": "/src/components/accordionbutton/accordionbutton.component"
863
+ },
864
+ "tagName": "mdc-accordion",
865
+ "jsDoc": "/**\n * An accordion contains a header and body section with a focusable heading that can be expanded or collapsed.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n * - Leading Slot - Contains the leading controls of the accordion on the header section. This will be placed on the leading side, after the header text.\n * - Trailing Slot - Contains the trailing controls of the accordion on the header section. This will be placed on the trailing side, before the expand/collapse button.\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If an accordion is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion.\n *\n * @tagname mdc-accordion\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot leading-controls - The leading controls slot of the accordion on the header section.\n * @slot trailing-controls - The trailing controls slot of the accordion on the header section.\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion.\n *\n * @csspart header-section - The header section of the accordion.\n * @csspart leading-header - The leading header of the accordion.\n * @csspart trailing-header - The trailing header of the accordion.\n * @csspart trailing-header__button - The trailing header button of the accordion.\n * @csspart body-section - The body section of the accordion.\n */",
866
+ "customElement": true,
867
+ "attributes": [
868
+ {
869
+ "name": "disabled",
1102
870
  "type": {
1103
- "text": "CustomEvent"
871
+ "text": "boolean | undefined"
1104
872
  },
1105
- "description": "(React: onLoad) This event is dispatched when the animation is loaded",
1106
- "reactName": "onLoad"
873
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
874
+ "default": "undefined",
875
+ "fieldName": "disabled",
876
+ "inheritedFrom": {
877
+ "name": "AccordionButton",
878
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
879
+ }
1107
880
  },
1108
881
  {
1109
- "description": "(React: onComplete) This event is dispatched when all animation loops completed",
1110
- "name": "complete",
1111
- "reactName": "onComplete"
882
+ "name": "size",
883
+ "type": {
884
+ "text": "Size"
885
+ },
886
+ "description": "The size of the accordion item.",
887
+ "default": "'small'",
888
+ "fieldName": "size",
889
+ "inheritedFrom": {
890
+ "name": "AccordionButton",
891
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
892
+ }
1112
893
  },
1113
894
  {
1114
- "description": "(React: onError) This event is dispatched when animation loading failed",
1115
- "name": "error",
1116
- "reactName": "onError"
1117
- }
1118
- ],
1119
- "attributes": [
1120
- {
1121
- "name": "name",
895
+ "name": "variant",
1122
896
  "type": {
1123
- "text": "AnimationNames | undefined"
897
+ "text": "Variant"
1124
898
  },
1125
- "description": "Name of the animation (= filename)",
1126
- "fieldName": "name"
899
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
900
+ "default": "'default'",
901
+ "fieldName": "variant",
902
+ "inheritedFrom": {
903
+ "name": "AccordionButton",
904
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
905
+ }
1127
906
  },
1128
907
  {
1129
- "name": "loop",
908
+ "name": "data-aria-level",
1130
909
  "type": {
1131
- "text": "LoopType | undefined"
910
+ "text": "number"
1132
911
  },
1133
- "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
1134
- "fieldName": "loop"
912
+ "description": "The aria level of the accordion component.",
913
+ "default": "3",
914
+ "fieldName": "dataAriaLevel",
915
+ "inheritedFrom": {
916
+ "name": "AccordionButton",
917
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
918
+ }
1135
919
  },
1136
920
  {
1137
- "name": "autoplay",
921
+ "name": "expanded",
1138
922
  "type": {
1139
- "text": "boolean | undefined"
923
+ "text": "boolean"
1140
924
  },
1141
- "description": "Weather start the animation automatically",
1142
- "fieldName": "autoplay"
925
+ "description": "The visibility of the accordion button.",
926
+ "default": "false",
927
+ "fieldName": "expanded",
928
+ "inheritedFrom": {
929
+ "name": "AccordionButton",
930
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
931
+ }
1143
932
  },
1144
933
  {
1145
- "name": "aria-label",
934
+ "name": "header-text",
1146
935
  "type": {
1147
- "text": "string | null"
936
+ "text": "string | undefined"
1148
937
  },
1149
- "default": "null",
1150
- "description": "Aria-label attribute to be set for accessibility",
1151
- "fieldName": "ariaLabel"
938
+ "description": "The header text of the accordion item.",
939
+ "fieldName": "headerText",
940
+ "inheritedFrom": {
941
+ "name": "AccordionButton",
942
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
943
+ }
1152
944
  },
1153
945
  {
1154
- "name": "aria-labelledby",
946
+ "name": "prefix-icon",
1155
947
  "type": {
1156
- "text": "string | null"
948
+ "text": "IconNames | undefined"
1157
949
  },
1158
- "default": "null",
1159
- "description": "Aria-labelledby attribute to be set for accessibility",
1160
- "fieldName": "ariaLabelledBy"
950
+ "description": "The leading icon that is displayed before the header text.",
951
+ "fieldName": "prefixIcon",
952
+ "inheritedFrom": {
953
+ "name": "AccordionButton",
954
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
955
+ }
1161
956
  }
1162
- ],
1163
- "superclass": {
1164
- "name": "Component",
1165
- "module": "/src/models"
1166
- },
1167
- "tagName": "mdc-animation",
1168
- "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 */",
1169
- "customElement": true
957
+ ]
1170
958
  }
1171
959
  ],
1172
960
  "exports": [
@@ -1174,8 +962,8 @@
1174
962
  "kind": "js",
1175
963
  "name": "default",
1176
964
  "declaration": {
1177
- "name": "Animation",
1178
- "module": "components/animation/animation.component.js"
965
+ "name": "Accordion",
966
+ "module": "components/accordion/accordion.component.js"
1179
967
  }
1180
968
  }
1181
969
  ]
@@ -1768,42 +1556,254 @@
1768
1556
  },
1769
1557
  {
1770
1558
  "kind": "javascript-module",
1771
- "path": "components/appheader/appheader.component.js",
1559
+ "path": "components/animation/animation.component.js",
1772
1560
  "declarations": [
1773
1561
  {
1774
1562
  "kind": "class",
1775
- "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**.",
1776
- "name": "Appheader",
1777
- "cssParts": [
1563
+ "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.",
1564
+ "name": "Animation",
1565
+ "members": [
1778
1566
  {
1779
- "description": "The main container for styling the header.",
1780
- "name": "container"
1567
+ "kind": "field",
1568
+ "name": "name",
1569
+ "type": {
1570
+ "text": "AnimationNames | undefined"
1571
+ },
1572
+ "description": "Name of the animation (= filename)",
1573
+ "attribute": "name",
1574
+ "reflects": true
1781
1575
  },
1782
1576
  {
1783
- "description": "The leading section of the header.",
1784
- "name": "leading-section"
1577
+ "kind": "field",
1578
+ "name": "loop",
1579
+ "type": {
1580
+ "text": "LoopType | undefined"
1581
+ },
1582
+ "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
1583
+ "attribute": "loop",
1584
+ "reflects": true
1785
1585
  },
1786
1586
  {
1787
- "description": "The center section of the header.",
1788
- "name": "center-section"
1587
+ "kind": "field",
1588
+ "name": "autoplay",
1589
+ "type": {
1590
+ "text": "boolean | undefined"
1591
+ },
1592
+ "description": "Weather start the animation automatically",
1593
+ "attribute": "autoplay",
1594
+ "reflects": true
1789
1595
  },
1790
1596
  {
1791
- "description": "The trailing section of the header.",
1792
- "name": "trailing-section"
1793
- }
1794
- ],
1795
- "slots": [
1796
- {
1797
- "description": "Slot for the leading section (e.g., brand logo, brand name).",
1798
- "name": "leading"
1597
+ "kind": "field",
1598
+ "name": "ariaLabel",
1599
+ "type": {
1600
+ "text": "string | null"
1601
+ },
1602
+ "default": "null",
1603
+ "description": "Aria-label attribute to be set for accessibility",
1604
+ "attribute": "aria-label"
1799
1605
  },
1800
1606
  {
1801
- "description": "Slot for the center section (e.g., search bar, icons).",
1802
- "name": "center"
1607
+ "kind": "field",
1608
+ "name": "ariaLabelledBy",
1609
+ "type": {
1610
+ "text": "string | null"
1611
+ },
1612
+ "default": "null",
1613
+ "description": "Aria-labelledby attribute to be set for accessibility",
1614
+ "attribute": "aria-labelledby"
1803
1615
  },
1804
1616
  {
1805
- "description": "Slot for the trailing section (e.g., profile avatar, icons).",
1806
- "name": "trailing"
1617
+ "kind": "field",
1618
+ "name": "lottieInstance",
1619
+ "type": {
1620
+ "text": "AnimationItem | undefined"
1621
+ },
1622
+ "privacy": "private",
1623
+ "description": "Lottie animation instance"
1624
+ },
1625
+ {
1626
+ "kind": "field",
1627
+ "name": "containerRef",
1628
+ "type": {
1629
+ "text": "Ref<HTMLDivElement>"
1630
+ },
1631
+ "privacy": "private",
1632
+ "description": "Container for the animation"
1633
+ },
1634
+ {
1635
+ "kind": "field",
1636
+ "name": "animation",
1637
+ "description": "Exposed API of the animation library (lottie)",
1638
+ "readonly": true
1639
+ },
1640
+ {
1641
+ "kind": "method",
1642
+ "name": "getLoopValue",
1643
+ "privacy": "private"
1644
+ },
1645
+ {
1646
+ "kind": "method",
1647
+ "name": "onLoadSuccessHandler",
1648
+ "privacy": "private",
1649
+ "parameters": [
1650
+ {
1651
+ "name": "animationData",
1652
+ "type": {
1653
+ "text": "any"
1654
+ }
1655
+ }
1656
+ ],
1657
+ "description": "Create new lotty instance for the loaded data"
1658
+ },
1659
+ {
1660
+ "kind": "method",
1661
+ "name": "onLoadFailHandler",
1662
+ "privacy": "private",
1663
+ "parameters": [
1664
+ {
1665
+ "name": "error",
1666
+ "type": {
1667
+ "text": "Error"
1668
+ }
1669
+ }
1670
+ ],
1671
+ "description": "Error handler for animation loading"
1672
+ },
1673
+ {
1674
+ "kind": "method",
1675
+ "name": "getAnimationData",
1676
+ "privacy": "private",
1677
+ "description": "Import animation data dynamically"
1678
+ },
1679
+ {
1680
+ "kind": "field",
1681
+ "name": "onCompleteHandler",
1682
+ "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."
1683
+ }
1684
+ ],
1685
+ "events": [
1686
+ {
1687
+ "name": "load",
1688
+ "type": {
1689
+ "text": "CustomEvent"
1690
+ },
1691
+ "description": "(React: onLoad) This event is dispatched when the animation is loaded",
1692
+ "reactName": "onLoad"
1693
+ },
1694
+ {
1695
+ "description": "(React: onComplete) This event is dispatched when all animation loops completed",
1696
+ "name": "complete",
1697
+ "reactName": "onComplete"
1698
+ },
1699
+ {
1700
+ "description": "(React: onError) This event is dispatched when animation loading failed",
1701
+ "name": "error",
1702
+ "reactName": "onError"
1703
+ }
1704
+ ],
1705
+ "attributes": [
1706
+ {
1707
+ "name": "name",
1708
+ "type": {
1709
+ "text": "AnimationNames | undefined"
1710
+ },
1711
+ "description": "Name of the animation (= filename)",
1712
+ "fieldName": "name"
1713
+ },
1714
+ {
1715
+ "name": "loop",
1716
+ "type": {
1717
+ "text": "LoopType | undefined"
1718
+ },
1719
+ "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
1720
+ "fieldName": "loop"
1721
+ },
1722
+ {
1723
+ "name": "autoplay",
1724
+ "type": {
1725
+ "text": "boolean | undefined"
1726
+ },
1727
+ "description": "Weather start the animation automatically",
1728
+ "fieldName": "autoplay"
1729
+ },
1730
+ {
1731
+ "name": "aria-label",
1732
+ "type": {
1733
+ "text": "string | null"
1734
+ },
1735
+ "default": "null",
1736
+ "description": "Aria-label attribute to be set for accessibility",
1737
+ "fieldName": "ariaLabel"
1738
+ },
1739
+ {
1740
+ "name": "aria-labelledby",
1741
+ "type": {
1742
+ "text": "string | null"
1743
+ },
1744
+ "default": "null",
1745
+ "description": "Aria-labelledby attribute to be set for accessibility",
1746
+ "fieldName": "ariaLabelledBy"
1747
+ }
1748
+ ],
1749
+ "superclass": {
1750
+ "name": "Component",
1751
+ "module": "/src/models"
1752
+ },
1753
+ "tagName": "mdc-animation",
1754
+ "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 */",
1755
+ "customElement": true
1756
+ }
1757
+ ],
1758
+ "exports": [
1759
+ {
1760
+ "kind": "js",
1761
+ "name": "default",
1762
+ "declaration": {
1763
+ "name": "Animation",
1764
+ "module": "components/animation/animation.component.js"
1765
+ }
1766
+ }
1767
+ ]
1768
+ },
1769
+ {
1770
+ "kind": "javascript-module",
1771
+ "path": "components/appheader/appheader.component.js",
1772
+ "declarations": [
1773
+ {
1774
+ "kind": "class",
1775
+ "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**.",
1776
+ "name": "Appheader",
1777
+ "cssParts": [
1778
+ {
1779
+ "description": "The main container for styling the header.",
1780
+ "name": "container"
1781
+ },
1782
+ {
1783
+ "description": "The leading section of the header.",
1784
+ "name": "leading-section"
1785
+ },
1786
+ {
1787
+ "description": "The center section of the header.",
1788
+ "name": "center-section"
1789
+ },
1790
+ {
1791
+ "description": "The trailing section of the header.",
1792
+ "name": "trailing-section"
1793
+ }
1794
+ ],
1795
+ "slots": [
1796
+ {
1797
+ "description": "Slot for the leading section (e.g., brand logo, brand name).",
1798
+ "name": "leading"
1799
+ },
1800
+ {
1801
+ "description": "Slot for the center section (e.g., search bar, icons).",
1802
+ "name": "center"
1803
+ },
1804
+ {
1805
+ "description": "Slot for the trailing section (e.g., profile avatar, icons).",
1806
+ "name": "trailing"
1807
1807
  }
1808
1808
  ],
1809
1809
  "members": [],
@@ -10789,38 +10789,7 @@
10789
10789
  },
10790
10790
  {
10791
10791
  "kind": "field",
10792
- "name": "triggerElement",
10793
- "type": {
10794
- "text": "HTMLElement | null"
10795
- },
10796
- "privacy": "public",
10797
- "default": "null",
10798
- "inheritedFrom": {
10799
- "name": "Popover",
10800
- "module": "components/popover/popover.component.js"
10801
- }
10802
- },
10803
- {
10804
- "kind": "field",
10805
- "name": "storeConnectedTooltip",
10806
- "privacy": "private",
10807
- "inheritedFrom": {
10808
- "name": "Popover",
10809
- "module": "components/popover/popover.component.js"
10810
- }
10811
- },
10812
- {
10813
- "kind": "method",
10814
- "name": "setupTriggerRelatedElement",
10815
- "privacy": "private",
10816
- "inheritedFrom": {
10817
- "name": "Popover",
10818
- "module": "components/popover/popover.component.js"
10819
- }
10820
- },
10821
- {
10822
- "kind": "field",
10823
- "name": "cleanupTrigger",
10792
+ "name": "parseTrigger",
10824
10793
  "privacy": "private",
10825
10794
  "inheritedFrom": {
10826
10795
  "name": "Popover",
@@ -10831,7 +10800,7 @@
10831
10800
  "kind": "field",
10832
10801
  "name": "setupTriggerListeners",
10833
10802
  "privacy": "private",
10834
- "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
10803
+ "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
10835
10804
  "inheritedFrom": {
10836
10805
  "name": "Popover",
10837
10806
  "module": "components/popover/popover.component.js"
@@ -11032,14 +11001,20 @@
11032
11001
  }
11033
11002
  },
11034
11003
  {
11035
- "kind": "field",
11036
- "name": "findClosestPopover",
11004
+ "kind": "method",
11005
+ "name": "isEventFromTrigger",
11037
11006
  "privacy": "protected",
11038
- "description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
11007
+ "return": {
11008
+ "type": {
11009
+ "text": "boolean"
11010
+ }
11011
+ },
11039
11012
  "parameters": [
11040
11013
  {
11041
- "description": "The element to start searching from.",
11042
- "name": "element"
11014
+ "name": "event",
11015
+ "type": {
11016
+ "text": "Event"
11017
+ }
11043
11018
  }
11044
11019
  ],
11045
11020
  "inheritedFrom": {
@@ -11055,6 +11030,13 @@
11055
11030
  "name": "Popover",
11056
11031
  "module": "components/popover/popover.component.js"
11057
11032
  }
11033
+ },
11034
+ {
11035
+ "kind": "field",
11036
+ "inheritedFrom": {
11037
+ "name": "Popover",
11038
+ "module": "components/popover/popover.component.js"
11039
+ }
11058
11040
  }
11059
11041
  ],
11060
11042
  "events": [
@@ -13995,6 +13977,257 @@
13995
13977
  }
13996
13978
  ]
13997
13979
  },
13980
+ {
13981
+ "kind": "javascript-module",
13982
+ "path": "components/formfieldwrapper/formfieldwrapper.component.js",
13983
+ "declarations": [
13984
+ {
13985
+ "kind": "class",
13986
+ "description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
13987
+ "name": "FormfieldWrapper",
13988
+ "members": [
13989
+ {
13990
+ "kind": "field",
13991
+ "name": "label",
13992
+ "type": {
13993
+ "text": "string | undefined"
13994
+ },
13995
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
13996
+ "attribute": "label",
13997
+ "reflects": true
13998
+ },
13999
+ {
14000
+ "kind": "field",
14001
+ "name": "required",
14002
+ "type": {
14003
+ "text": "boolean"
14004
+ },
14005
+ "default": "false",
14006
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
14007
+ "attribute": "required",
14008
+ "reflects": true
14009
+ },
14010
+ {
14011
+ "kind": "field",
14012
+ "name": "helpTextType",
14013
+ "type": {
14014
+ "text": "ValidationType"
14015
+ },
14016
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14017
+ "attribute": "help-text-type",
14018
+ "reflects": true
14019
+ },
14020
+ {
14021
+ "kind": "field",
14022
+ "name": "helpText",
14023
+ "type": {
14024
+ "text": "string | undefined"
14025
+ },
14026
+ "description": "The help text that is displayed below the input field.",
14027
+ "attribute": "help-text",
14028
+ "reflects": true
14029
+ },
14030
+ {
14031
+ "kind": "field",
14032
+ "name": "toggletipText",
14033
+ "type": {
14034
+ "text": "string | undefined"
14035
+ },
14036
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
14037
+ "attribute": "toggletip-text",
14038
+ "reflects": true
14039
+ },
14040
+ {
14041
+ "kind": "field",
14042
+ "name": "toggletipPlacement",
14043
+ "type": {
14044
+ "text": "PopoverPlacement"
14045
+ },
14046
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
14047
+ "default": "'top'",
14048
+ "attribute": "toggletip-placement",
14049
+ "reflects": true
14050
+ },
14051
+ {
14052
+ "kind": "field",
14053
+ "name": "infoIconAriaLabel",
14054
+ "type": {
14055
+ "text": "string | undefined"
14056
+ },
14057
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
14058
+ "attribute": "info-icon-aria-label",
14059
+ "reflects": true
14060
+ },
14061
+ {
14062
+ "kind": "method",
14063
+ "name": "renderLabelElement",
14064
+ "privacy": "protected",
14065
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
14066
+ "return": {
14067
+ "type": {
14068
+ "text": ""
14069
+ }
14070
+ }
14071
+ },
14072
+ {
14073
+ "kind": "method",
14074
+ "name": "renderHelpTextIcon",
14075
+ "privacy": "protected",
14076
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
14077
+ "return": {
14078
+ "type": {
14079
+ "text": ""
14080
+ }
14081
+ }
14082
+ },
14083
+ {
14084
+ "kind": "method",
14085
+ "name": "renderHelpText",
14086
+ "privacy": "protected",
14087
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
14088
+ "return": {
14089
+ "type": {
14090
+ "text": ""
14091
+ }
14092
+ }
14093
+ },
14094
+ {
14095
+ "kind": "method",
14096
+ "name": "renderLabel",
14097
+ "privacy": "protected",
14098
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
14099
+ "return": {
14100
+ "type": {
14101
+ "text": ""
14102
+ }
14103
+ }
14104
+ },
14105
+ {
14106
+ "kind": "method",
14107
+ "name": "renderHelperText",
14108
+ "privacy": "protected",
14109
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
14110
+ "return": {
14111
+ "type": {
14112
+ "text": ""
14113
+ }
14114
+ }
14115
+ },
14116
+ {
14117
+ "kind": "field",
14118
+ "name": "disabled",
14119
+ "type": {
14120
+ "text": "boolean | undefined"
14121
+ },
14122
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14123
+ "default": "undefined",
14124
+ "attribute": "disabled",
14125
+ "reflects": true,
14126
+ "inheritedFrom": {
14127
+ "name": "DisabledMixin",
14128
+ "module": "utils/mixins/DisabledMixin.js"
14129
+ }
14130
+ }
14131
+ ],
14132
+ "attributes": [
14133
+ {
14134
+ "name": "label",
14135
+ "type": {
14136
+ "text": "string | undefined"
14137
+ },
14138
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14139
+ "fieldName": "label"
14140
+ },
14141
+ {
14142
+ "name": "required",
14143
+ "type": {
14144
+ "text": "boolean"
14145
+ },
14146
+ "default": "false",
14147
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
14148
+ "fieldName": "required"
14149
+ },
14150
+ {
14151
+ "name": "help-text-type",
14152
+ "type": {
14153
+ "text": "ValidationType"
14154
+ },
14155
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14156
+ "fieldName": "helpTextType"
14157
+ },
14158
+ {
14159
+ "name": "help-text",
14160
+ "type": {
14161
+ "text": "string | undefined"
14162
+ },
14163
+ "description": "The help text that is displayed below the input field.",
14164
+ "fieldName": "helpText"
14165
+ },
14166
+ {
14167
+ "name": "toggletip-text",
14168
+ "type": {
14169
+ "text": "string | undefined"
14170
+ },
14171
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
14172
+ "fieldName": "toggletipText"
14173
+ },
14174
+ {
14175
+ "name": "toggletip-placement",
14176
+ "type": {
14177
+ "text": "PopoverPlacement"
14178
+ },
14179
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
14180
+ "default": "'top'",
14181
+ "fieldName": "toggletipPlacement"
14182
+ },
14183
+ {
14184
+ "name": "info-icon-aria-label",
14185
+ "type": {
14186
+ "text": "string | undefined"
14187
+ },
14188
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
14189
+ "fieldName": "infoIconAriaLabel"
14190
+ },
14191
+ {
14192
+ "name": "disabled",
14193
+ "type": {
14194
+ "text": "boolean | undefined"
14195
+ },
14196
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14197
+ "default": "undefined",
14198
+ "fieldName": "disabled",
14199
+ "inheritedFrom": {
14200
+ "name": "DisabledMixin",
14201
+ "module": "src/utils/mixins/DisabledMixin.ts"
14202
+ }
14203
+ }
14204
+ ],
14205
+ "mixins": [
14206
+ {
14207
+ "name": "DisabledMixin",
14208
+ "module": "/src/utils/mixins/DisabledMixin"
14209
+ }
14210
+ ],
14211
+ "superclass": {
14212
+ "name": "Component",
14213
+ "module": "/src/models"
14214
+ },
14215
+ "tagName": "mdc-formfieldwrapper",
14216
+ "jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n *\n */",
14217
+ "customElement": true
14218
+ }
14219
+ ],
14220
+ "exports": [
14221
+ {
14222
+ "kind": "js",
14223
+ "name": "default",
14224
+ "declaration": {
14225
+ "name": "FormfieldWrapper",
14226
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14227
+ }
14228
+ }
14229
+ ]
14230
+ },
13998
14231
  {
13999
14232
  "kind": "javascript-module",
14000
14233
  "path": "components/icon/icon.component.js",
@@ -14439,257 +14672,6 @@
14439
14672
  }
14440
14673
  ]
14441
14674
  },
14442
- {
14443
- "kind": "javascript-module",
14444
- "path": "components/formfieldwrapper/formfieldwrapper.component.js",
14445
- "declarations": [
14446
- {
14447
- "kind": "class",
14448
- "description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
14449
- "name": "FormfieldWrapper",
14450
- "members": [
14451
- {
14452
- "kind": "field",
14453
- "name": "label",
14454
- "type": {
14455
- "text": "string | undefined"
14456
- },
14457
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14458
- "attribute": "label",
14459
- "reflects": true
14460
- },
14461
- {
14462
- "kind": "field",
14463
- "name": "required",
14464
- "type": {
14465
- "text": "boolean"
14466
- },
14467
- "default": "false",
14468
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
14469
- "attribute": "required",
14470
- "reflects": true
14471
- },
14472
- {
14473
- "kind": "field",
14474
- "name": "helpTextType",
14475
- "type": {
14476
- "text": "ValidationType"
14477
- },
14478
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14479
- "attribute": "help-text-type",
14480
- "reflects": true
14481
- },
14482
- {
14483
- "kind": "field",
14484
- "name": "helpText",
14485
- "type": {
14486
- "text": "string | undefined"
14487
- },
14488
- "description": "The help text that is displayed below the input field.",
14489
- "attribute": "help-text",
14490
- "reflects": true
14491
- },
14492
- {
14493
- "kind": "field",
14494
- "name": "toggletipText",
14495
- "type": {
14496
- "text": "string | undefined"
14497
- },
14498
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
14499
- "attribute": "toggletip-text",
14500
- "reflects": true
14501
- },
14502
- {
14503
- "kind": "field",
14504
- "name": "toggletipPlacement",
14505
- "type": {
14506
- "text": "PopoverPlacement"
14507
- },
14508
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
14509
- "default": "'top'",
14510
- "attribute": "toggletip-placement",
14511
- "reflects": true
14512
- },
14513
- {
14514
- "kind": "field",
14515
- "name": "infoIconAriaLabel",
14516
- "type": {
14517
- "text": "string | undefined"
14518
- },
14519
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
14520
- "attribute": "info-icon-aria-label",
14521
- "reflects": true
14522
- },
14523
- {
14524
- "kind": "method",
14525
- "name": "renderLabelElement",
14526
- "privacy": "protected",
14527
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
14528
- "return": {
14529
- "type": {
14530
- "text": ""
14531
- }
14532
- }
14533
- },
14534
- {
14535
- "kind": "method",
14536
- "name": "renderHelpTextIcon",
14537
- "privacy": "protected",
14538
- "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
14539
- "return": {
14540
- "type": {
14541
- "text": ""
14542
- }
14543
- }
14544
- },
14545
- {
14546
- "kind": "method",
14547
- "name": "renderHelpText",
14548
- "privacy": "protected",
14549
- "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
14550
- "return": {
14551
- "type": {
14552
- "text": ""
14553
- }
14554
- }
14555
- },
14556
- {
14557
- "kind": "method",
14558
- "name": "renderLabel",
14559
- "privacy": "protected",
14560
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
14561
- "return": {
14562
- "type": {
14563
- "text": ""
14564
- }
14565
- }
14566
- },
14567
- {
14568
- "kind": "method",
14569
- "name": "renderHelperText",
14570
- "privacy": "protected",
14571
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
14572
- "return": {
14573
- "type": {
14574
- "text": ""
14575
- }
14576
- }
14577
- },
14578
- {
14579
- "kind": "field",
14580
- "name": "disabled",
14581
- "type": {
14582
- "text": "boolean | undefined"
14583
- },
14584
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14585
- "default": "undefined",
14586
- "attribute": "disabled",
14587
- "reflects": true,
14588
- "inheritedFrom": {
14589
- "name": "DisabledMixin",
14590
- "module": "utils/mixins/DisabledMixin.js"
14591
- }
14592
- }
14593
- ],
14594
- "attributes": [
14595
- {
14596
- "name": "label",
14597
- "type": {
14598
- "text": "string | undefined"
14599
- },
14600
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14601
- "fieldName": "label"
14602
- },
14603
- {
14604
- "name": "required",
14605
- "type": {
14606
- "text": "boolean"
14607
- },
14608
- "default": "false",
14609
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
14610
- "fieldName": "required"
14611
- },
14612
- {
14613
- "name": "help-text-type",
14614
- "type": {
14615
- "text": "ValidationType"
14616
- },
14617
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14618
- "fieldName": "helpTextType"
14619
- },
14620
- {
14621
- "name": "help-text",
14622
- "type": {
14623
- "text": "string | undefined"
14624
- },
14625
- "description": "The help text that is displayed below the input field.",
14626
- "fieldName": "helpText"
14627
- },
14628
- {
14629
- "name": "toggletip-text",
14630
- "type": {
14631
- "text": "string | undefined"
14632
- },
14633
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
14634
- "fieldName": "toggletipText"
14635
- },
14636
- {
14637
- "name": "toggletip-placement",
14638
- "type": {
14639
- "text": "PopoverPlacement"
14640
- },
14641
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
14642
- "default": "'top'",
14643
- "fieldName": "toggletipPlacement"
14644
- },
14645
- {
14646
- "name": "info-icon-aria-label",
14647
- "type": {
14648
- "text": "string | undefined"
14649
- },
14650
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
14651
- "fieldName": "infoIconAriaLabel"
14652
- },
14653
- {
14654
- "name": "disabled",
14655
- "type": {
14656
- "text": "boolean | undefined"
14657
- },
14658
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14659
- "default": "undefined",
14660
- "fieldName": "disabled",
14661
- "inheritedFrom": {
14662
- "name": "DisabledMixin",
14663
- "module": "src/utils/mixins/DisabledMixin.ts"
14664
- }
14665
- }
14666
- ],
14667
- "mixins": [
14668
- {
14669
- "name": "DisabledMixin",
14670
- "module": "/src/utils/mixins/DisabledMixin"
14671
- }
14672
- ],
14673
- "superclass": {
14674
- "name": "Component",
14675
- "module": "/src/models"
14676
- },
14677
- "tagName": "mdc-formfieldwrapper",
14678
- "jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n *\n */",
14679
- "customElement": true
14680
- }
14681
- ],
14682
- "exports": [
14683
- {
14684
- "kind": "js",
14685
- "name": "default",
14686
- "declaration": {
14687
- "name": "FormfieldWrapper",
14688
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14689
- }
14690
- }
14691
- ]
14692
- },
14693
14675
  {
14694
14676
  "kind": "javascript-module",
14695
14677
  "path": "components/input/input.component.js",
@@ -23097,38 +23079,7 @@
23097
23079
  },
23098
23080
  {
23099
23081
  "kind": "field",
23100
- "name": "triggerElement",
23101
- "type": {
23102
- "text": "HTMLElement | null"
23103
- },
23104
- "privacy": "public",
23105
- "default": "null",
23106
- "inheritedFrom": {
23107
- "name": "Popover",
23108
- "module": "components/popover/popover.component.js"
23109
- }
23110
- },
23111
- {
23112
- "kind": "field",
23113
- "name": "storeConnectedTooltip",
23114
- "privacy": "private",
23115
- "inheritedFrom": {
23116
- "name": "Popover",
23117
- "module": "components/popover/popover.component.js"
23118
- }
23119
- },
23120
- {
23121
- "kind": "method",
23122
- "name": "setupTriggerRelatedElement",
23123
- "privacy": "private",
23124
- "inheritedFrom": {
23125
- "name": "Popover",
23126
- "module": "components/popover/popover.component.js"
23127
- }
23128
- },
23129
- {
23130
- "kind": "field",
23131
- "name": "cleanupTrigger",
23082
+ "name": "parseTrigger",
23132
23083
  "privacy": "private",
23133
23084
  "inheritedFrom": {
23134
23085
  "name": "Popover",
@@ -23139,7 +23090,7 @@
23139
23090
  "kind": "field",
23140
23091
  "name": "setupTriggerListeners",
23141
23092
  "privacy": "private",
23142
- "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
23093
+ "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
23143
23094
  "inheritedFrom": {
23144
23095
  "name": "Popover",
23145
23096
  "module": "components/popover/popover.component.js"
@@ -23288,14 +23239,20 @@
23288
23239
  }
23289
23240
  },
23290
23241
  {
23291
- "kind": "field",
23292
- "name": "findClosestPopover",
23242
+ "kind": "method",
23243
+ "name": "isEventFromTrigger",
23293
23244
  "privacy": "protected",
23294
- "description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
23245
+ "return": {
23246
+ "type": {
23247
+ "text": "boolean"
23248
+ }
23249
+ },
23295
23250
  "parameters": [
23296
23251
  {
23297
- "description": "The element to start searching from.",
23298
- "name": "element"
23252
+ "name": "event",
23253
+ "type": {
23254
+ "text": "Event"
23255
+ }
23299
23256
  }
23300
23257
  ],
23301
23258
  "inheritedFrom": {
@@ -23311,6 +23268,13 @@
23311
23268
  "name": "Popover",
23312
23269
  "module": "components/popover/popover.component.js"
23313
23270
  }
23271
+ },
23272
+ {
23273
+ "kind": "field",
23274
+ "inheritedFrom": {
23275
+ "name": "Popover",
23276
+ "module": "components/popover/popover.component.js"
23277
+ }
23314
23278
  }
23315
23279
  ],
23316
23280
  "events": [
@@ -27967,33 +27931,14 @@
27967
27931
  },
27968
27932
  {
27969
27933
  "kind": "field",
27970
- "name": "triggerElement",
27971
- "type": {
27972
- "text": "HTMLElement | null"
27973
- },
27974
- "privacy": "public",
27975
- "default": "null"
27976
- },
27977
- {
27978
- "kind": "field",
27979
- "name": "storeConnectedTooltip",
27980
- "privacy": "private"
27981
- },
27982
- {
27983
- "kind": "method",
27984
- "name": "setupTriggerRelatedElement",
27985
- "privacy": "private"
27986
- },
27987
- {
27988
- "kind": "field",
27989
- "name": "cleanupTrigger",
27934
+ "name": "parseTrigger",
27990
27935
  "privacy": "private"
27991
27936
  },
27992
27937
  {
27993
27938
  "kind": "field",
27994
27939
  "name": "setupTriggerListeners",
27995
27940
  "privacy": "private",
27996
- "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers."
27941
+ "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)"
27997
27942
  },
27998
27943
  {
27999
27944
  "kind": "field",
@@ -28126,14 +28071,20 @@
28126
28071
  "description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position."
28127
28072
  },
28128
28073
  {
28129
- "kind": "field",
28130
- "name": "findClosestPopover",
28074
+ "kind": "method",
28075
+ "name": "isEventFromTrigger",
28131
28076
  "privacy": "protected",
28132
- "description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
28077
+ "return": {
28078
+ "type": {
28079
+ "text": "boolean"
28080
+ }
28081
+ },
28133
28082
  "parameters": [
28134
28083
  {
28135
- "description": "The element to start searching from.",
28136
- "name": "element"
28084
+ "name": "event",
28085
+ "type": {
28086
+ "text": "Event"
28087
+ }
28137
28088
  }
28138
28089
  ]
28139
28090
  },
@@ -28142,6 +28093,9 @@
28142
28093
  "name": "utils",
28143
28094
  "default": "new PopoverUtils(this)"
28144
28095
  },
28096
+ {
28097
+ "kind": "field"
28098
+ },
28145
28099
  {
28146
28100
  "kind": "method",
28147
28101
  "name": "activatePreventScroll",
@@ -29535,7 +29489,609 @@
29535
29489
  },
29536
29490
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
29537
29491
  "default": "default",
29538
- "fieldName": "variant"
29492
+ "fieldName": "variant"
29493
+ },
29494
+ {
29495
+ "name": "value",
29496
+ "type": {
29497
+ "text": "string"
29498
+ },
29499
+ "default": "'0'",
29500
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
29501
+ "fieldName": "value"
29502
+ },
29503
+ {
29504
+ "name": "error",
29505
+ "type": {
29506
+ "text": "boolean"
29507
+ },
29508
+ "default": "false",
29509
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
29510
+ "fieldName": "error"
29511
+ },
29512
+ {
29513
+ "name": "data-aria-label",
29514
+ "type": {
29515
+ "text": "string | null"
29516
+ },
29517
+ "default": "null",
29518
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
29519
+ "fieldName": "dataAriaLabel",
29520
+ "inheritedFrom": {
29521
+ "name": "DataAriaLabelMixin",
29522
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
29523
+ }
29524
+ },
29525
+ {
29526
+ "name": "disabled",
29527
+ "type": {
29528
+ "text": "boolean | undefined"
29529
+ },
29530
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
29531
+ "default": "undefined",
29532
+ "fieldName": "disabled",
29533
+ "inheritedFrom": {
29534
+ "name": "FormfieldWrapper",
29535
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29536
+ }
29537
+ },
29538
+ {
29539
+ "name": "label",
29540
+ "type": {
29541
+ "text": "string | undefined"
29542
+ },
29543
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
29544
+ "fieldName": "label",
29545
+ "inheritedFrom": {
29546
+ "name": "FormfieldWrapper",
29547
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29548
+ }
29549
+ },
29550
+ {
29551
+ "name": "required",
29552
+ "type": {
29553
+ "text": "boolean"
29554
+ },
29555
+ "default": "false",
29556
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
29557
+ "fieldName": "required",
29558
+ "inheritedFrom": {
29559
+ "name": "FormfieldWrapper",
29560
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29561
+ }
29562
+ },
29563
+ {
29564
+ "name": "help-text-type",
29565
+ "type": {
29566
+ "text": "ValidationType"
29567
+ },
29568
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
29569
+ "fieldName": "helpTextType",
29570
+ "inheritedFrom": {
29571
+ "name": "FormfieldWrapper",
29572
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29573
+ }
29574
+ },
29575
+ {
29576
+ "name": "help-text",
29577
+ "type": {
29578
+ "text": "string | undefined"
29579
+ },
29580
+ "description": "The help text that is displayed below the input field.",
29581
+ "fieldName": "helpText",
29582
+ "inheritedFrom": {
29583
+ "name": "FormfieldWrapper",
29584
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29585
+ }
29586
+ },
29587
+ {
29588
+ "name": "toggletip-text",
29589
+ "type": {
29590
+ "text": "string | undefined"
29591
+ },
29592
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
29593
+ "fieldName": "toggletipText",
29594
+ "inheritedFrom": {
29595
+ "name": "FormfieldWrapper",
29596
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29597
+ }
29598
+ },
29599
+ {
29600
+ "name": "toggletip-placement",
29601
+ "type": {
29602
+ "text": "PopoverPlacement"
29603
+ },
29604
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
29605
+ "default": "'top'",
29606
+ "fieldName": "toggletipPlacement",
29607
+ "inheritedFrom": {
29608
+ "name": "FormfieldWrapper",
29609
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29610
+ }
29611
+ },
29612
+ {
29613
+ "name": "info-icon-aria-label",
29614
+ "type": {
29615
+ "text": "string | undefined"
29616
+ },
29617
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
29618
+ "fieldName": "infoIconAriaLabel",
29619
+ "inheritedFrom": {
29620
+ "name": "FormfieldWrapper",
29621
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29622
+ }
29623
+ }
29624
+ ],
29625
+ "mixins": [
29626
+ {
29627
+ "name": "DataAriaLabelMixin",
29628
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
29629
+ }
29630
+ ],
29631
+ "superclass": {
29632
+ "name": "FormfieldWrapper",
29633
+ "module": "/src/components/formfieldwrapper"
29634
+ },
29635
+ "tagName": "mdc-progressbar",
29636
+ "jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-background-color - Background color of the remaining progressbar portion.\n * @cssproperty --mdc-progressbar-active-background-color - Background color of the elapsed progressbar portion.\n * @cssproperty --mdc-progressbar-success-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-line-height - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-font-size - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-font-weight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
29637
+ "customElement": true
29638
+ }
29639
+ ],
29640
+ "exports": [
29641
+ {
29642
+ "kind": "js",
29643
+ "name": "default",
29644
+ "declaration": {
29645
+ "name": "Progressbar",
29646
+ "module": "components/progressbar/progressbar.component.js"
29647
+ }
29648
+ }
29649
+ ]
29650
+ },
29651
+ {
29652
+ "kind": "javascript-module",
29653
+ "path": "components/progressspinner/progressspinner.component.js",
29654
+ "declarations": [
29655
+ {
29656
+ "kind": "class",
29657
+ "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
29658
+ "name": "Progressspinner",
29659
+ "cssProperties": [
29660
+ {
29661
+ "description": "The size of the spinner.",
29662
+ "name": "--mdc-spinner-size"
29663
+ },
29664
+ {
29665
+ "description": "The color of the spinner track.",
29666
+ "name": "--mdc-track-color"
29667
+ },
29668
+ {
29669
+ "description": "The color of the spinner progress.",
29670
+ "name": "--mdc-progress-color"
29671
+ },
29672
+ {
29673
+ "description": "The color of the spinner when in success state.",
29674
+ "name": "--mdc-progress-success-color"
29675
+ },
29676
+ {
29677
+ "description": "The color of the spinner when in error state.",
29678
+ "name": "--mdc-progress-error-color"
29679
+ },
29680
+ {
29681
+ "description": "Background color of the remaining progressbar portion.",
29682
+ "name": "--mdc-progressbar-background-color",
29683
+ "inheritedFrom": {
29684
+ "name": "Progressbar",
29685
+ "module": "src/components/progressbar/progressbar.component.ts"
29686
+ }
29687
+ },
29688
+ {
29689
+ "description": "Background color of the elapsed progressbar portion.",
29690
+ "name": "--mdc-progressbar-active-background-color",
29691
+ "inheritedFrom": {
29692
+ "name": "Progressbar",
29693
+ "module": "src/components/progressbar/progressbar.component.ts"
29694
+ }
29695
+ },
29696
+ {
29697
+ "description": "Background color of the progressbar when in success state.",
29698
+ "name": "--mdc-progressbar-success-color",
29699
+ "inheritedFrom": {
29700
+ "name": "Progressbar",
29701
+ "module": "src/components/progressbar/progressbar.component.ts"
29702
+ }
29703
+ },
29704
+ {
29705
+ "description": "Background color of the progressbar when in error state.",
29706
+ "name": "--mdc-progressbar-error-color",
29707
+ "inheritedFrom": {
29708
+ "name": "Progressbar",
29709
+ "module": "src/components/progressbar/progressbar.component.ts"
29710
+ }
29711
+ },
29712
+ {
29713
+ "description": "The height of the progressbar.",
29714
+ "name": "--mdc-progressbar-height",
29715
+ "inheritedFrom": {
29716
+ "name": "Progressbar",
29717
+ "module": "src/components/progressbar/progressbar.component.ts"
29718
+ }
29719
+ },
29720
+ {
29721
+ "description": "The border radius of the progressbar.",
29722
+ "name": "--mdc-progressbar-border-radius",
29723
+ "inheritedFrom": {
29724
+ "name": "Progressbar",
29725
+ "module": "src/components/progressbar/progressbar.component.ts"
29726
+ }
29727
+ },
29728
+ {
29729
+ "description": "Color of the progressbar label text.",
29730
+ "name": "--mdc-progressbar-label-color",
29731
+ "inheritedFrom": {
29732
+ "name": "Progressbar",
29733
+ "module": "src/components/progressbar/progressbar.component.ts"
29734
+ }
29735
+ },
29736
+ {
29737
+ "description": "Line height of the label text.",
29738
+ "name": "--mdc-progressbar-label-line-height",
29739
+ "inheritedFrom": {
29740
+ "name": "Progressbar",
29741
+ "module": "src/components/progressbar/progressbar.component.ts"
29742
+ }
29743
+ },
29744
+ {
29745
+ "description": "Font size of the label text.",
29746
+ "name": "--mdc-progressbar-label-font-size",
29747
+ "inheritedFrom": {
29748
+ "name": "Progressbar",
29749
+ "module": "src/components/progressbar/progressbar.component.ts"
29750
+ }
29751
+ },
29752
+ {
29753
+ "description": "Font weight of the label text.",
29754
+ "name": "--mdc-progressbar-label-font-weight",
29755
+ "inheritedFrom": {
29756
+ "name": "Progressbar",
29757
+ "module": "src/components/progressbar/progressbar.component.ts"
29758
+ }
29759
+ },
29760
+ {
29761
+ "description": "Color of the help text.",
29762
+ "name": "--mdc-progressbar-help-text-color",
29763
+ "inheritedFrom": {
29764
+ "name": "Progressbar",
29765
+ "module": "src/components/progressbar/progressbar.component.ts"
29766
+ }
29767
+ }
29768
+ ],
29769
+ "members": [
29770
+ {
29771
+ "kind": "method",
29772
+ "name": "renderProgressSpinner",
29773
+ "privacy": "private"
29774
+ },
29775
+ {
29776
+ "kind": "method",
29777
+ "name": "renderErrorState",
29778
+ "privacy": "private",
29779
+ "description": "Renders the error state of the progress spinner.",
29780
+ "return": {
29781
+ "type": {
29782
+ "text": ""
29783
+ }
29784
+ }
29785
+ },
29786
+ {
29787
+ "kind": "method",
29788
+ "name": "renderSuccessState",
29789
+ "privacy": "private",
29790
+ "description": "Renders the success state of the progress spinner.",
29791
+ "return": {
29792
+ "type": {
29793
+ "text": ""
29794
+ }
29795
+ }
29796
+ },
29797
+ {
29798
+ "kind": "field",
29799
+ "name": "dataAriaLabel",
29800
+ "type": {
29801
+ "text": "string | null"
29802
+ },
29803
+ "default": "null",
29804
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
29805
+ "attribute": "data-aria-label",
29806
+ "reflects": true,
29807
+ "inheritedFrom": {
29808
+ "name": "DataAriaLabelMixin",
29809
+ "module": "utils/mixins/DataAriaLabelMixin.js"
29810
+ }
29811
+ },
29812
+ {
29813
+ "kind": "field",
29814
+ "name": "variant",
29815
+ "type": {
29816
+ "text": "Variant"
29817
+ },
29818
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
29819
+ "default": "default",
29820
+ "attribute": "variant",
29821
+ "reflects": true,
29822
+ "inheritedFrom": {
29823
+ "name": "Progressbar",
29824
+ "module": "components/progressbar/progressbar.component.js"
29825
+ }
29826
+ },
29827
+ {
29828
+ "kind": "field",
29829
+ "name": "value",
29830
+ "type": {
29831
+ "text": "string"
29832
+ },
29833
+ "default": "'0'",
29834
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
29835
+ "attribute": "value",
29836
+ "reflects": true,
29837
+ "inheritedFrom": {
29838
+ "name": "Progressbar",
29839
+ "module": "components/progressbar/progressbar.component.js"
29840
+ }
29841
+ },
29842
+ {
29843
+ "kind": "field",
29844
+ "name": "error",
29845
+ "type": {
29846
+ "text": "boolean"
29847
+ },
29848
+ "default": "false",
29849
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
29850
+ "attribute": "error",
29851
+ "inheritedFrom": {
29852
+ "name": "Progressbar",
29853
+ "module": "components/progressbar/progressbar.component.js"
29854
+ }
29855
+ },
29856
+ {
29857
+ "kind": "method",
29858
+ "name": "getValidationVariant",
29859
+ "privacy": "private",
29860
+ "description": "Determines the validation state (success, error, or default) based on progress value and error state.",
29861
+ "return": {
29862
+ "type": {
29863
+ "text": ""
29864
+ }
29865
+ },
29866
+ "inheritedFrom": {
29867
+ "name": "Progressbar",
29868
+ "module": "components/progressbar/progressbar.component.js"
29869
+ }
29870
+ },
29871
+ {
29872
+ "kind": "field",
29873
+ "name": "disabled",
29874
+ "type": {
29875
+ "text": "boolean | undefined"
29876
+ },
29877
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
29878
+ "default": "undefined",
29879
+ "attribute": "disabled",
29880
+ "reflects": true,
29881
+ "inheritedFrom": {
29882
+ "name": "FormfieldWrapper",
29883
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29884
+ }
29885
+ },
29886
+ {
29887
+ "kind": "field",
29888
+ "name": "label",
29889
+ "type": {
29890
+ "text": "string | undefined"
29891
+ },
29892
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
29893
+ "attribute": "label",
29894
+ "reflects": true,
29895
+ "inheritedFrom": {
29896
+ "name": "FormfieldWrapper",
29897
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29898
+ }
29899
+ },
29900
+ {
29901
+ "kind": "field",
29902
+ "name": "required",
29903
+ "type": {
29904
+ "text": "boolean"
29905
+ },
29906
+ "default": "false",
29907
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
29908
+ "attribute": "required",
29909
+ "reflects": true,
29910
+ "inheritedFrom": {
29911
+ "name": "FormfieldWrapper",
29912
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29913
+ }
29914
+ },
29915
+ {
29916
+ "kind": "field",
29917
+ "name": "helpTextType",
29918
+ "type": {
29919
+ "text": "ValidationType"
29920
+ },
29921
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
29922
+ "attribute": "help-text-type",
29923
+ "reflects": true,
29924
+ "inheritedFrom": {
29925
+ "name": "FormfieldWrapper",
29926
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29927
+ }
29928
+ },
29929
+ {
29930
+ "kind": "field",
29931
+ "name": "helpText",
29932
+ "type": {
29933
+ "text": "string | undefined"
29934
+ },
29935
+ "description": "The help text that is displayed below the input field.",
29936
+ "attribute": "help-text",
29937
+ "reflects": true,
29938
+ "inheritedFrom": {
29939
+ "name": "FormfieldWrapper",
29940
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29941
+ }
29942
+ },
29943
+ {
29944
+ "kind": "field",
29945
+ "name": "toggletipText",
29946
+ "type": {
29947
+ "text": "string | undefined"
29948
+ },
29949
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
29950
+ "attribute": "toggletip-text",
29951
+ "reflects": true,
29952
+ "inheritedFrom": {
29953
+ "name": "FormfieldWrapper",
29954
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29955
+ }
29956
+ },
29957
+ {
29958
+ "kind": "field",
29959
+ "name": "toggletipPlacement",
29960
+ "type": {
29961
+ "text": "PopoverPlacement"
29962
+ },
29963
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
29964
+ "default": "'top'",
29965
+ "attribute": "toggletip-placement",
29966
+ "reflects": true,
29967
+ "inheritedFrom": {
29968
+ "name": "FormfieldWrapper",
29969
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29970
+ }
29971
+ },
29972
+ {
29973
+ "kind": "field",
29974
+ "name": "infoIconAriaLabel",
29975
+ "type": {
29976
+ "text": "string | undefined"
29977
+ },
29978
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
29979
+ "attribute": "info-icon-aria-label",
29980
+ "reflects": true,
29981
+ "inheritedFrom": {
29982
+ "name": "FormfieldWrapper",
29983
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29984
+ }
29985
+ },
29986
+ {
29987
+ "kind": "method",
29988
+ "name": "renderLabelElement",
29989
+ "privacy": "protected",
29990
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
29991
+ "return": {
29992
+ "type": {
29993
+ "text": ""
29994
+ }
29995
+ },
29996
+ "inheritedFrom": {
29997
+ "name": "FormfieldWrapper",
29998
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29999
+ }
30000
+ },
30001
+ {
30002
+ "kind": "method",
30003
+ "name": "renderHelpTextIcon",
30004
+ "privacy": "protected",
30005
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
30006
+ "return": {
30007
+ "type": {
30008
+ "text": ""
30009
+ }
30010
+ },
30011
+ "inheritedFrom": {
30012
+ "name": "FormfieldWrapper",
30013
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
30014
+ }
30015
+ },
30016
+ {
30017
+ "kind": "method",
30018
+ "name": "renderHelpText",
30019
+ "privacy": "protected",
30020
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
30021
+ "return": {
30022
+ "type": {
30023
+ "text": ""
30024
+ }
30025
+ },
30026
+ "inheritedFrom": {
30027
+ "name": "FormfieldWrapper",
30028
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
30029
+ }
30030
+ },
30031
+ {
30032
+ "kind": "method",
30033
+ "name": "renderLabel",
30034
+ "privacy": "protected",
30035
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
30036
+ "return": {
30037
+ "type": {
30038
+ "text": ""
30039
+ }
30040
+ },
30041
+ "inheritedFrom": {
30042
+ "name": "FormfieldWrapper",
30043
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
30044
+ }
30045
+ },
30046
+ {
30047
+ "kind": "method",
30048
+ "name": "renderHelperText",
30049
+ "privacy": "protected",
30050
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
30051
+ "return": {
30052
+ "type": {
30053
+ "text": ""
30054
+ }
30055
+ },
30056
+ "inheritedFrom": {
30057
+ "name": "FormfieldWrapper",
30058
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
30059
+ }
30060
+ }
30061
+ ],
30062
+ "superclass": {
30063
+ "name": "Progressbar",
30064
+ "module": "/src/components/progressbar/progressbar.component"
30065
+ },
30066
+ "tagName": "mdc-progressspinner",
30067
+ "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
30068
+ "customElement": true,
30069
+ "attributes": [
30070
+ {
30071
+ "name": "data-aria-label",
30072
+ "type": {
30073
+ "text": "string | null"
30074
+ },
30075
+ "default": "null",
30076
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
30077
+ "fieldName": "dataAriaLabel",
30078
+ "inheritedFrom": {
30079
+ "name": "DataAriaLabelMixin",
30080
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
30081
+ }
30082
+ },
30083
+ {
30084
+ "name": "variant",
30085
+ "type": {
30086
+ "text": "Variant"
30087
+ },
30088
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
30089
+ "default": "default",
30090
+ "fieldName": "variant",
30091
+ "inheritedFrom": {
30092
+ "name": "Progressbar",
30093
+ "module": "src/components/progressbar/progressbar.component.ts"
30094
+ }
29539
30095
  },
29540
30096
  {
29541
30097
  "name": "value",
@@ -29544,7 +30100,11 @@
29544
30100
  },
29545
30101
  "default": "'0'",
29546
30102
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
29547
- "fieldName": "value"
30103
+ "fieldName": "value",
30104
+ "inheritedFrom": {
30105
+ "name": "Progressbar",
30106
+ "module": "src/components/progressbar/progressbar.component.ts"
30107
+ }
29548
30108
  },
29549
30109
  {
29550
30110
  "name": "error",
@@ -29553,19 +30113,10 @@
29553
30113
  },
29554
30114
  "default": "false",
29555
30115
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
29556
- "fieldName": "error"
29557
- },
29558
- {
29559
- "name": "data-aria-label",
29560
- "type": {
29561
- "text": "string | null"
29562
- },
29563
- "default": "null",
29564
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
29565
- "fieldName": "dataAriaLabel",
30116
+ "fieldName": "error",
29566
30117
  "inheritedFrom": {
29567
- "name": "DataAriaLabelMixin",
29568
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
30118
+ "name": "Progressbar",
30119
+ "module": "src/components/progressbar/progressbar.component.ts"
29569
30120
  }
29570
30121
  },
29571
30122
  {
@@ -29667,20 +30218,7 @@
29667
30218
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29668
30219
  }
29669
30220
  }
29670
- ],
29671
- "mixins": [
29672
- {
29673
- "name": "DataAriaLabelMixin",
29674
- "module": "/src/utils/mixins/DataAriaLabelMixin"
29675
- }
29676
- ],
29677
- "superclass": {
29678
- "name": "FormfieldWrapper",
29679
- "module": "/src/components/formfieldwrapper"
29680
- },
29681
- "tagName": "mdc-progressbar",
29682
- "jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-background-color - Background color of the remaining progressbar portion.\n * @cssproperty --mdc-progressbar-active-background-color - Background color of the elapsed progressbar portion.\n * @cssproperty --mdc-progressbar-success-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-line-height - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-font-size - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-font-weight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
29683
- "customElement": true
30221
+ ]
29684
30222
  }
29685
30223
  ],
29686
30224
  "exports": [
@@ -29688,157 +30226,36 @@
29688
30226
  "kind": "js",
29689
30227
  "name": "default",
29690
30228
  "declaration": {
29691
- "name": "Progressbar",
29692
- "module": "components/progressbar/progressbar.component.js"
30229
+ "name": "Progressspinner",
30230
+ "module": "components/progressspinner/progressspinner.component.js"
29693
30231
  }
29694
30232
  }
29695
30233
  ]
29696
30234
  },
29697
30235
  {
29698
30236
  "kind": "javascript-module",
29699
- "path": "components/progressspinner/progressspinner.component.js",
30237
+ "path": "components/radiogroup/radiogroup.component.js",
29700
30238
  "declarations": [
29701
30239
  {
29702
30240
  "kind": "class",
29703
- "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
29704
- "name": "Progressspinner",
30241
+ "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
30242
+ "name": "RadioGroup",
29705
30243
  "cssProperties": [
29706
30244
  {
29707
- "description": "The size of the spinner.",
29708
- "name": "--mdc-spinner-size"
29709
- },
29710
- {
29711
- "description": "The color of the spinner track.",
29712
- "name": "--mdc-track-color"
29713
- },
29714
- {
29715
- "description": "The color of the spinner progress.",
29716
- "name": "--mdc-progress-color"
29717
- },
29718
- {
29719
- "description": "The color of the spinner when in success state.",
29720
- "name": "--mdc-progress-success-color"
29721
- },
29722
- {
29723
- "description": "The color of the spinner when in error state.",
29724
- "name": "--mdc-progress-error-color"
29725
- },
29726
- {
29727
- "description": "Background color of the remaining progressbar portion.",
29728
- "name": "--mdc-progressbar-background-color",
29729
- "inheritedFrom": {
29730
- "name": "Progressbar",
29731
- "module": "src/components/progressbar/progressbar.component.ts"
29732
- }
29733
- },
29734
- {
29735
- "description": "Background color of the elapsed progressbar portion.",
29736
- "name": "--mdc-progressbar-active-background-color",
29737
- "inheritedFrom": {
29738
- "name": "Progressbar",
29739
- "module": "src/components/progressbar/progressbar.component.ts"
29740
- }
29741
- },
29742
- {
29743
- "description": "Background color of the progressbar when in success state.",
29744
- "name": "--mdc-progressbar-success-color",
29745
- "inheritedFrom": {
29746
- "name": "Progressbar",
29747
- "module": "src/components/progressbar/progressbar.component.ts"
29748
- }
29749
- },
29750
- {
29751
- "description": "Background color of the progressbar when in error state.",
29752
- "name": "--mdc-progressbar-error-color",
29753
- "inheritedFrom": {
29754
- "name": "Progressbar",
29755
- "module": "src/components/progressbar/progressbar.component.ts"
29756
- }
29757
- },
29758
- {
29759
- "description": "The height of the progressbar.",
29760
- "name": "--mdc-progressbar-height",
29761
- "inheritedFrom": {
29762
- "name": "Progressbar",
29763
- "module": "src/components/progressbar/progressbar.component.ts"
29764
- }
29765
- },
29766
- {
29767
- "description": "The border radius of the progressbar.",
29768
- "name": "--mdc-progressbar-border-radius",
29769
- "inheritedFrom": {
29770
- "name": "Progressbar",
29771
- "module": "src/components/progressbar/progressbar.component.ts"
29772
- }
29773
- },
29774
- {
29775
- "description": "Color of the progressbar label text.",
29776
- "name": "--mdc-progressbar-label-color",
29777
- "inheritedFrom": {
29778
- "name": "Progressbar",
29779
- "module": "src/components/progressbar/progressbar.component.ts"
29780
- }
29781
- },
29782
- {
29783
- "description": "Line height of the label text.",
29784
- "name": "--mdc-progressbar-label-line-height",
29785
- "inheritedFrom": {
29786
- "name": "Progressbar",
29787
- "module": "src/components/progressbar/progressbar.component.ts"
29788
- }
29789
- },
29790
- {
29791
- "description": "Font size of the label text.",
29792
- "name": "--mdc-progressbar-label-font-size",
29793
- "inheritedFrom": {
29794
- "name": "Progressbar",
29795
- "module": "src/components/progressbar/progressbar.component.ts"
29796
- }
29797
- },
29798
- {
29799
- "description": "Font weight of the label text.",
29800
- "name": "--mdc-progressbar-label-font-weight",
29801
- "inheritedFrom": {
29802
- "name": "Progressbar",
29803
- "module": "src/components/progressbar/progressbar.component.ts"
29804
- }
29805
- },
29806
- {
29807
- "description": "Color of the help text.",
29808
- "name": "--mdc-progressbar-help-text-color",
29809
- "inheritedFrom": {
29810
- "name": "Progressbar",
29811
- "module": "src/components/progressbar/progressbar.component.ts"
29812
- }
30245
+ "description": "color of the description text",
30246
+ "name": "--mdc-radiogroup-description-text-normal"
29813
30247
  }
29814
30248
  ],
29815
30249
  "members": [
29816
30250
  {
29817
- "kind": "method",
29818
- "name": "renderProgressSpinner",
29819
- "privacy": "private"
29820
- },
29821
- {
29822
- "kind": "method",
29823
- "name": "renderErrorState",
29824
- "privacy": "private",
29825
- "description": "Renders the error state of the progress spinner.",
29826
- "return": {
29827
- "type": {
29828
- "text": ""
29829
- }
29830
- }
29831
- },
29832
- {
29833
- "kind": "method",
29834
- "name": "renderSuccessState",
29835
- "privacy": "private",
29836
- "description": "Renders the success state of the progress spinner.",
29837
- "return": {
29838
- "type": {
29839
- "text": ""
29840
- }
29841
- }
30251
+ "kind": "field",
30252
+ "name": "name",
30253
+ "type": {
30254
+ "text": "string"
30255
+ },
30256
+ "default": "''",
30257
+ "description": "Name of the radio group.\nThey are used to group elements in a form together.",
30258
+ "attribute": "name"
29842
30259
  },
29843
30260
  {
29844
30261
  "kind": "field",
@@ -29855,65 +30272,6 @@
29855
30272
  "module": "utils/mixins/DataAriaLabelMixin.js"
29856
30273
  }
29857
30274
  },
29858
- {
29859
- "kind": "field",
29860
- "name": "variant",
29861
- "type": {
29862
- "text": "Variant"
29863
- },
29864
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
29865
- "default": "default",
29866
- "attribute": "variant",
29867
- "reflects": true,
29868
- "inheritedFrom": {
29869
- "name": "Progressbar",
29870
- "module": "components/progressbar/progressbar.component.js"
29871
- }
29872
- },
29873
- {
29874
- "kind": "field",
29875
- "name": "value",
29876
- "type": {
29877
- "text": "string"
29878
- },
29879
- "default": "'0'",
29880
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
29881
- "attribute": "value",
29882
- "reflects": true,
29883
- "inheritedFrom": {
29884
- "name": "Progressbar",
29885
- "module": "components/progressbar/progressbar.component.js"
29886
- }
29887
- },
29888
- {
29889
- "kind": "field",
29890
- "name": "error",
29891
- "type": {
29892
- "text": "boolean"
29893
- },
29894
- "default": "false",
29895
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
29896
- "attribute": "error",
29897
- "inheritedFrom": {
29898
- "name": "Progressbar",
29899
- "module": "components/progressbar/progressbar.component.js"
29900
- }
29901
- },
29902
- {
29903
- "kind": "method",
29904
- "name": "getValidationVariant",
29905
- "privacy": "private",
29906
- "description": "Determines the validation state (success, error, or default) based on progress value and error state.",
29907
- "return": {
29908
- "type": {
29909
- "text": ""
29910
- }
29911
- },
29912
- "inheritedFrom": {
29913
- "name": "Progressbar",
29914
- "module": "components/progressbar/progressbar.component.js"
29915
- }
29916
- },
29917
30275
  {
29918
30276
  "kind": "field",
29919
30277
  "name": "disabled",
@@ -30105,14 +30463,16 @@
30105
30463
  }
30106
30464
  }
30107
30465
  ],
30108
- "superclass": {
30109
- "name": "Progressbar",
30110
- "module": "/src/components/progressbar/progressbar.component"
30111
- },
30112
- "tagName": "mdc-progressspinner",
30113
- "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
30114
- "customElement": true,
30115
30466
  "attributes": [
30467
+ {
30468
+ "name": "name",
30469
+ "type": {
30470
+ "text": "string"
30471
+ },
30472
+ "default": "''",
30473
+ "description": "Name of the radio group.\nThey are used to group elements in a form together.",
30474
+ "fieldName": "name"
30475
+ },
30116
30476
  {
30117
30477
  "name": "data-aria-label",
30118
30478
  "type": {
@@ -30126,45 +30486,6 @@
30126
30486
  "module": "src/utils/mixins/DataAriaLabelMixin.ts"
30127
30487
  }
30128
30488
  },
30129
- {
30130
- "name": "variant",
30131
- "type": {
30132
- "text": "Variant"
30133
- },
30134
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
30135
- "default": "default",
30136
- "fieldName": "variant",
30137
- "inheritedFrom": {
30138
- "name": "Progressbar",
30139
- "module": "src/components/progressbar/progressbar.component.ts"
30140
- }
30141
- },
30142
- {
30143
- "name": "value",
30144
- "type": {
30145
- "text": "string"
30146
- },
30147
- "default": "'0'",
30148
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
30149
- "fieldName": "value",
30150
- "inheritedFrom": {
30151
- "name": "Progressbar",
30152
- "module": "src/components/progressbar/progressbar.component.ts"
30153
- }
30154
- },
30155
- {
30156
- "name": "error",
30157
- "type": {
30158
- "text": "boolean"
30159
- },
30160
- "default": "false",
30161
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
30162
- "fieldName": "error",
30163
- "inheritedFrom": {
30164
- "name": "Progressbar",
30165
- "module": "src/components/progressbar/progressbar.component.ts"
30166
- }
30167
- },
30168
30489
  {
30169
30490
  "name": "disabled",
30170
30491
  "type": {
@@ -30264,6 +30585,23 @@
30264
30585
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30265
30586
  }
30266
30587
  }
30588
+ ],
30589
+ "superclass": {
30590
+ "name": "FormfieldGroup",
30591
+ "module": "/src/components/formfieldgroup"
30592
+ },
30593
+ "tagName": "mdc-radiogroup",
30594
+ "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
30595
+ "customElement": true,
30596
+ "slots": [
30597
+ {
30598
+ "description": "This is a default slot for checkbox or toggle components.",
30599
+ "name": "default",
30600
+ "inheritedFrom": {
30601
+ "name": "FormfieldGroup",
30602
+ "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
30603
+ }
30604
+ }
30267
30605
  ]
30268
30606
  }
30269
30607
  ],
@@ -30272,8 +30610,8 @@
30272
30610
  "kind": "js",
30273
30611
  "name": "default",
30274
30612
  "declaration": {
30275
- "name": "Progressspinner",
30276
- "module": "components/progressspinner/progressspinner.component.js"
30613
+ "name": "RadioGroup",
30614
+ "module": "components/radiogroup/radiogroup.component.js"
30277
30615
  }
30278
30616
  }
30279
30617
  ]
@@ -31003,390 +31341,6 @@
31003
31341
  }
31004
31342
  ]
31005
31343
  },
31006
- {
31007
- "kind": "javascript-module",
31008
- "path": "components/radiogroup/radiogroup.component.js",
31009
- "declarations": [
31010
- {
31011
- "kind": "class",
31012
- "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
31013
- "name": "RadioGroup",
31014
- "cssProperties": [
31015
- {
31016
- "description": "color of the description text",
31017
- "name": "--mdc-radiogroup-description-text-normal"
31018
- }
31019
- ],
31020
- "members": [
31021
- {
31022
- "kind": "field",
31023
- "name": "name",
31024
- "type": {
31025
- "text": "string"
31026
- },
31027
- "default": "''",
31028
- "description": "Name of the radio group.\nThey are used to group elements in a form together.",
31029
- "attribute": "name"
31030
- },
31031
- {
31032
- "kind": "field",
31033
- "name": "dataAriaLabel",
31034
- "type": {
31035
- "text": "string | null"
31036
- },
31037
- "default": "null",
31038
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31039
- "attribute": "data-aria-label",
31040
- "reflects": true,
31041
- "inheritedFrom": {
31042
- "name": "DataAriaLabelMixin",
31043
- "module": "utils/mixins/DataAriaLabelMixin.js"
31044
- }
31045
- },
31046
- {
31047
- "kind": "field",
31048
- "name": "disabled",
31049
- "type": {
31050
- "text": "boolean | undefined"
31051
- },
31052
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
31053
- "default": "undefined",
31054
- "attribute": "disabled",
31055
- "reflects": true,
31056
- "inheritedFrom": {
31057
- "name": "FormfieldWrapper",
31058
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31059
- }
31060
- },
31061
- {
31062
- "kind": "field",
31063
- "name": "label",
31064
- "type": {
31065
- "text": "string | undefined"
31066
- },
31067
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
31068
- "attribute": "label",
31069
- "reflects": true,
31070
- "inheritedFrom": {
31071
- "name": "FormfieldWrapper",
31072
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31073
- }
31074
- },
31075
- {
31076
- "kind": "field",
31077
- "name": "required",
31078
- "type": {
31079
- "text": "boolean"
31080
- },
31081
- "default": "false",
31082
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
31083
- "attribute": "required",
31084
- "reflects": true,
31085
- "inheritedFrom": {
31086
- "name": "FormfieldWrapper",
31087
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31088
- }
31089
- },
31090
- {
31091
- "kind": "field",
31092
- "name": "helpTextType",
31093
- "type": {
31094
- "text": "ValidationType"
31095
- },
31096
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
31097
- "attribute": "help-text-type",
31098
- "reflects": true,
31099
- "inheritedFrom": {
31100
- "name": "FormfieldWrapper",
31101
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31102
- }
31103
- },
31104
- {
31105
- "kind": "field",
31106
- "name": "helpText",
31107
- "type": {
31108
- "text": "string | undefined"
31109
- },
31110
- "description": "The help text that is displayed below the input field.",
31111
- "attribute": "help-text",
31112
- "reflects": true,
31113
- "inheritedFrom": {
31114
- "name": "FormfieldWrapper",
31115
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31116
- }
31117
- },
31118
- {
31119
- "kind": "field",
31120
- "name": "toggletipText",
31121
- "type": {
31122
- "text": "string | undefined"
31123
- },
31124
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
31125
- "attribute": "toggletip-text",
31126
- "reflects": true,
31127
- "inheritedFrom": {
31128
- "name": "FormfieldWrapper",
31129
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31130
- }
31131
- },
31132
- {
31133
- "kind": "field",
31134
- "name": "toggletipPlacement",
31135
- "type": {
31136
- "text": "PopoverPlacement"
31137
- },
31138
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
31139
- "default": "'top'",
31140
- "attribute": "toggletip-placement",
31141
- "reflects": true,
31142
- "inheritedFrom": {
31143
- "name": "FormfieldWrapper",
31144
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31145
- }
31146
- },
31147
- {
31148
- "kind": "field",
31149
- "name": "infoIconAriaLabel",
31150
- "type": {
31151
- "text": "string | undefined"
31152
- },
31153
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
31154
- "attribute": "info-icon-aria-label",
31155
- "reflects": true,
31156
- "inheritedFrom": {
31157
- "name": "FormfieldWrapper",
31158
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31159
- }
31160
- },
31161
- {
31162
- "kind": "method",
31163
- "name": "renderLabelElement",
31164
- "privacy": "protected",
31165
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
31166
- "return": {
31167
- "type": {
31168
- "text": ""
31169
- }
31170
- },
31171
- "inheritedFrom": {
31172
- "name": "FormfieldWrapper",
31173
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31174
- }
31175
- },
31176
- {
31177
- "kind": "method",
31178
- "name": "renderHelpTextIcon",
31179
- "privacy": "protected",
31180
- "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
31181
- "return": {
31182
- "type": {
31183
- "text": ""
31184
- }
31185
- },
31186
- "inheritedFrom": {
31187
- "name": "FormfieldWrapper",
31188
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31189
- }
31190
- },
31191
- {
31192
- "kind": "method",
31193
- "name": "renderHelpText",
31194
- "privacy": "protected",
31195
- "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
31196
- "return": {
31197
- "type": {
31198
- "text": ""
31199
- }
31200
- },
31201
- "inheritedFrom": {
31202
- "name": "FormfieldWrapper",
31203
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31204
- }
31205
- },
31206
- {
31207
- "kind": "method",
31208
- "name": "renderLabel",
31209
- "privacy": "protected",
31210
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
31211
- "return": {
31212
- "type": {
31213
- "text": ""
31214
- }
31215
- },
31216
- "inheritedFrom": {
31217
- "name": "FormfieldWrapper",
31218
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31219
- }
31220
- },
31221
- {
31222
- "kind": "method",
31223
- "name": "renderHelperText",
31224
- "privacy": "protected",
31225
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
31226
- "return": {
31227
- "type": {
31228
- "text": ""
31229
- }
31230
- },
31231
- "inheritedFrom": {
31232
- "name": "FormfieldWrapper",
31233
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31234
- }
31235
- }
31236
- ],
31237
- "attributes": [
31238
- {
31239
- "name": "name",
31240
- "type": {
31241
- "text": "string"
31242
- },
31243
- "default": "''",
31244
- "description": "Name of the radio group.\nThey are used to group elements in a form together.",
31245
- "fieldName": "name"
31246
- },
31247
- {
31248
- "name": "data-aria-label",
31249
- "type": {
31250
- "text": "string | null"
31251
- },
31252
- "default": "null",
31253
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
31254
- "fieldName": "dataAriaLabel",
31255
- "inheritedFrom": {
31256
- "name": "DataAriaLabelMixin",
31257
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
31258
- }
31259
- },
31260
- {
31261
- "name": "disabled",
31262
- "type": {
31263
- "text": "boolean | undefined"
31264
- },
31265
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
31266
- "default": "undefined",
31267
- "fieldName": "disabled",
31268
- "inheritedFrom": {
31269
- "name": "FormfieldWrapper",
31270
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31271
- }
31272
- },
31273
- {
31274
- "name": "label",
31275
- "type": {
31276
- "text": "string | undefined"
31277
- },
31278
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
31279
- "fieldName": "label",
31280
- "inheritedFrom": {
31281
- "name": "FormfieldWrapper",
31282
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31283
- }
31284
- },
31285
- {
31286
- "name": "required",
31287
- "type": {
31288
- "text": "boolean"
31289
- },
31290
- "default": "false",
31291
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
31292
- "fieldName": "required",
31293
- "inheritedFrom": {
31294
- "name": "FormfieldWrapper",
31295
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31296
- }
31297
- },
31298
- {
31299
- "name": "help-text-type",
31300
- "type": {
31301
- "text": "ValidationType"
31302
- },
31303
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
31304
- "fieldName": "helpTextType",
31305
- "inheritedFrom": {
31306
- "name": "FormfieldWrapper",
31307
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31308
- }
31309
- },
31310
- {
31311
- "name": "help-text",
31312
- "type": {
31313
- "text": "string | undefined"
31314
- },
31315
- "description": "The help text that is displayed below the input field.",
31316
- "fieldName": "helpText",
31317
- "inheritedFrom": {
31318
- "name": "FormfieldWrapper",
31319
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31320
- }
31321
- },
31322
- {
31323
- "name": "toggletip-text",
31324
- "type": {
31325
- "text": "string | undefined"
31326
- },
31327
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
31328
- "fieldName": "toggletipText",
31329
- "inheritedFrom": {
31330
- "name": "FormfieldWrapper",
31331
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31332
- }
31333
- },
31334
- {
31335
- "name": "toggletip-placement",
31336
- "type": {
31337
- "text": "PopoverPlacement"
31338
- },
31339
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
31340
- "default": "'top'",
31341
- "fieldName": "toggletipPlacement",
31342
- "inheritedFrom": {
31343
- "name": "FormfieldWrapper",
31344
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31345
- }
31346
- },
31347
- {
31348
- "name": "info-icon-aria-label",
31349
- "type": {
31350
- "text": "string | undefined"
31351
- },
31352
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
31353
- "fieldName": "infoIconAriaLabel",
31354
- "inheritedFrom": {
31355
- "name": "FormfieldWrapper",
31356
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31357
- }
31358
- }
31359
- ],
31360
- "superclass": {
31361
- "name": "FormfieldGroup",
31362
- "module": "/src/components/formfieldgroup"
31363
- },
31364
- "tagName": "mdc-radiogroup",
31365
- "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
31366
- "customElement": true,
31367
- "slots": [
31368
- {
31369
- "description": "This is a default slot for checkbox or toggle components.",
31370
- "name": "default",
31371
- "inheritedFrom": {
31372
- "name": "FormfieldGroup",
31373
- "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
31374
- }
31375
- }
31376
- ]
31377
- }
31378
- ],
31379
- "exports": [
31380
- {
31381
- "kind": "js",
31382
- "name": "default",
31383
- "declaration": {
31384
- "name": "RadioGroup",
31385
- "module": "components/radiogroup/radiogroup.component.js"
31386
- }
31387
- }
31388
- ]
31389
- },
31390
31344
  {
31391
31345
  "kind": "javascript-module",
31392
31346
  "path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
@@ -40549,38 +40503,7 @@
40549
40503
  },
40550
40504
  {
40551
40505
  "kind": "field",
40552
- "name": "triggerElement",
40553
- "type": {
40554
- "text": "HTMLElement | null"
40555
- },
40556
- "privacy": "public",
40557
- "default": "null",
40558
- "inheritedFrom": {
40559
- "name": "Popover",
40560
- "module": "components/popover/popover.component.js"
40561
- }
40562
- },
40563
- {
40564
- "kind": "field",
40565
- "name": "storeConnectedTooltip",
40566
- "privacy": "private",
40567
- "inheritedFrom": {
40568
- "name": "Popover",
40569
- "module": "components/popover/popover.component.js"
40570
- }
40571
- },
40572
- {
40573
- "kind": "method",
40574
- "name": "setupTriggerRelatedElement",
40575
- "privacy": "private",
40576
- "inheritedFrom": {
40577
- "name": "Popover",
40578
- "module": "components/popover/popover.component.js"
40579
- }
40580
- },
40581
- {
40582
- "kind": "field",
40583
- "name": "cleanupTrigger",
40506
+ "name": "parseTrigger",
40584
40507
  "privacy": "private",
40585
40508
  "inheritedFrom": {
40586
40509
  "name": "Popover",
@@ -40591,7 +40514,7 @@
40591
40514
  "kind": "field",
40592
40515
  "name": "setupTriggerListeners",
40593
40516
  "privacy": "private",
40594
- "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
40517
+ "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
40595
40518
  "inheritedFrom": {
40596
40519
  "name": "Popover",
40597
40520
  "module": "components/popover/popover.component.js"
@@ -40792,14 +40715,20 @@
40792
40715
  }
40793
40716
  },
40794
40717
  {
40795
- "kind": "field",
40796
- "name": "findClosestPopover",
40718
+ "kind": "method",
40719
+ "name": "isEventFromTrigger",
40797
40720
  "privacy": "protected",
40798
- "description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
40721
+ "return": {
40722
+ "type": {
40723
+ "text": "boolean"
40724
+ }
40725
+ },
40799
40726
  "parameters": [
40800
40727
  {
40801
- "description": "The element to start searching from.",
40802
- "name": "element"
40728
+ "name": "event",
40729
+ "type": {
40730
+ "text": "Event"
40731
+ }
40803
40732
  }
40804
40733
  ],
40805
40734
  "inheritedFrom": {
@@ -40815,6 +40744,13 @@
40815
40744
  "name": "Popover",
40816
40745
  "module": "components/popover/popover.component.js"
40817
40746
  }
40747
+ },
40748
+ {
40749
+ "kind": "field",
40750
+ "inheritedFrom": {
40751
+ "name": "Popover",
40752
+ "module": "components/popover/popover.component.js"
40753
+ }
40818
40754
  }
40819
40755
  ],
40820
40756
  "events": [
@@ -42613,38 +42549,7 @@
42613
42549
  },
42614
42550
  {
42615
42551
  "kind": "field",
42616
- "name": "triggerElement",
42617
- "type": {
42618
- "text": "HTMLElement | null"
42619
- },
42620
- "privacy": "public",
42621
- "default": "null",
42622
- "inheritedFrom": {
42623
- "name": "Popover",
42624
- "module": "components/popover/popover.component.js"
42625
- }
42626
- },
42627
- {
42628
- "kind": "field",
42629
- "name": "storeConnectedTooltip",
42630
- "privacy": "private",
42631
- "inheritedFrom": {
42632
- "name": "Popover",
42633
- "module": "components/popover/popover.component.js"
42634
- }
42635
- },
42636
- {
42637
- "kind": "method",
42638
- "name": "setupTriggerRelatedElement",
42639
- "privacy": "private",
42640
- "inheritedFrom": {
42641
- "name": "Popover",
42642
- "module": "components/popover/popover.component.js"
42643
- }
42644
- },
42645
- {
42646
- "kind": "field",
42647
- "name": "cleanupTrigger",
42552
+ "name": "parseTrigger",
42648
42553
  "privacy": "private",
42649
42554
  "inheritedFrom": {
42650
42555
  "name": "Popover",
@@ -42655,7 +42560,7 @@
42655
42560
  "kind": "field",
42656
42561
  "name": "setupTriggerListeners",
42657
42562
  "privacy": "private",
42658
- "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
42563
+ "description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
42659
42564
  "inheritedFrom": {
42660
42565
  "name": "Popover",
42661
42566
  "module": "components/popover/popover.component.js"
@@ -42856,14 +42761,20 @@
42856
42761
  }
42857
42762
  },
42858
42763
  {
42859
- "kind": "field",
42860
- "name": "findClosestPopover",
42764
+ "kind": "method",
42765
+ "name": "isEventFromTrigger",
42861
42766
  "privacy": "protected",
42862
- "description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
42767
+ "return": {
42768
+ "type": {
42769
+ "text": "boolean"
42770
+ }
42771
+ },
42863
42772
  "parameters": [
42864
42773
  {
42865
- "description": "The element to start searching from.",
42866
- "name": "element"
42774
+ "name": "event",
42775
+ "type": {
42776
+ "text": "Event"
42777
+ }
42867
42778
  }
42868
42779
  ],
42869
42780
  "inheritedFrom": {
@@ -42879,6 +42790,13 @@
42879
42790
  "name": "Popover",
42880
42791
  "module": "components/popover/popover.component.js"
42881
42792
  }
42793
+ },
42794
+ {
42795
+ "kind": "field",
42796
+ "inheritedFrom": {
42797
+ "name": "Popover",
42798
+ "module": "components/popover/popover.component.js"
42799
+ }
42882
42800
  }
42883
42801
  ],
42884
42802
  "events": [