@momentum-design/components 0.103.2 → 0.103.3

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.
@@ -4,25 +4,149 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "components/accordiongroup/accordiongroup.component.js",
7
+ "path": "components/accordion/accordion.component.js",
8
8
  "declarations": [
9
9
  {
10
10
  "kind": "class",
11
- "description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
12
- "name": "AccordionGroup",
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
13
  "cssProperties": [
14
14
  {
15
- "description": "The border color of the entire accordiongroup",
16
- "name": "--mdc-accordiongroup-border-color"
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
+ }
17
99
  }
18
100
  ],
19
101
  "slots": [
20
102
  {
21
- "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
22
- "name": "default"
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
+ }
23
117
  }
24
118
  ],
25
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
+ },
26
150
  {
27
151
  "kind": "field",
28
152
  "name": "size",
@@ -32,7 +156,11 @@
32
156
  "description": "The size of the accordion item.",
33
157
  "default": "'small'",
34
158
  "attribute": "size",
35
- "reflects": true
159
+ "reflects": true,
160
+ "inheritedFrom": {
161
+ "name": "AccordionButton",
162
+ "module": "components/accordionbutton/accordionbutton.component.js"
163
+ }
36
164
  },
37
165
  {
38
166
  "kind": "field",
@@ -41,24 +169,104 @@
41
169
  "text": "Variant"
42
170
  },
43
171
  "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
44
- "default": "'stacked'",
172
+ "default": "'default'",
45
173
  "attribute": "variant",
46
- "reflects": true
174
+ "reflects": true,
175
+ "inheritedFrom": {
176
+ "name": "AccordionButton",
177
+ "module": "components/accordionbutton/accordionbutton.component.js"
178
+ }
47
179
  },
48
180
  {
49
181
  "kind": "field",
50
- "name": "allowMultiple",
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",
51
198
  "type": {
52
199
  "text": "boolean"
53
200
  },
201
+ "description": "The visibility of the accordion button.",
54
202
  "default": "false",
55
- "description": "If true, multiple accordion items can be visible at the same time.",
56
- "attribute": "allow-multiple",
57
- "reflects": true
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
+ }
58
236
  },
59
237
  {
60
238
  "kind": "method",
61
- "name": "handleAccordionExpanded",
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",
62
270
  "privacy": "private",
63
271
  "return": {
64
272
  "type": {
@@ -69,77 +277,193 @@
69
277
  {
70
278
  "name": "event",
71
279
  "type": {
72
- "text": "Event"
280
+ "text": "KeyboardEvent"
73
281
  },
74
- "description": "The event object from the 'shown' event."
282
+ "description": "The KeyboardEvent fired."
75
283
  }
76
284
  ],
77
- "description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
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
+ }
78
290
  },
79
291
  {
80
292
  "kind": "method",
81
- "name": "setChildrenAccordionAttributes",
82
- "privacy": "private",
293
+ "name": "renderIcon",
294
+ "privacy": "protected",
83
295
  "return": {
84
296
  "type": {
85
- "text": "void"
297
+ "text": "TemplateResult | typeof nothing"
86
298
  }
87
299
  },
88
300
  "parameters": [
89
301
  {
90
- "name": "attributeName",
91
- "type": {
92
- "text": "string"
93
- },
94
- "description": "The name of the attribute to set."
95
- },
96
- {
97
- "name": "attributeValue",
302
+ "name": "iconName",
303
+ "optional": true,
98
304
  "type": {
99
- "text": "string"
100
- },
101
- "description": "The value to set the attribute to."
305
+ "text": "IconNames"
306
+ }
102
307
  }
103
308
  ],
104
- "description": "Sets the given attribute on all child accordion or accordionbutton components."
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
+ }
105
367
  }
106
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,
107
376
  "attributes": [
108
377
  {
109
- "name": "size",
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",
110
431
  "type": {
111
- "text": "Size"
432
+ "text": "boolean"
112
433
  },
113
- "description": "The size of the accordion item.",
114
- "default": "'small'",
115
- "fieldName": "size"
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
+ }
116
441
  },
117
442
  {
118
- "name": "variant",
443
+ "name": "header-text",
119
444
  "type": {
120
- "text": "Variant"
445
+ "text": "string | undefined"
121
446
  },
122
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
123
- "default": "'stacked'",
124
- "fieldName": "variant"
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
+ }
125
453
  },
126
454
  {
127
- "name": "allow-multiple",
455
+ "name": "prefix-icon",
128
456
  "type": {
129
- "text": "boolean"
457
+ "text": "IconNames | undefined"
130
458
  },
131
- "default": "false",
132
- "description": "If true, multiple accordion items can be visible at the same time.",
133
- "fieldName": "allowMultiple"
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
+ }
134
465
  }
135
- ],
136
- "superclass": {
137
- "name": "Component",
138
- "module": "/src/models"
139
- },
140
- "tagName": "mdc-accordiongroup",
141
- "jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
142
- "customElement": true
466
+ ]
143
467
  }
144
468
  ],
145
469
  "exports": [
@@ -147,8 +471,8 @@
147
471
  "kind": "js",
148
472
  "name": "default",
149
473
  "declaration": {
150
- "name": "AccordionGroup",
151
- "module": "components/accordiongroup/accordiongroup.component.js"
474
+ "name": "Accordion",
475
+ "module": "components/accordion/accordion.component.js"
152
476
  }
153
477
  }
154
478
  ]
@@ -495,269 +819,61 @@
495
819
  },
496
820
  {
497
821
  "kind": "javascript-module",
498
- "path": "components/accordion/accordion.component.js",
822
+ "path": "components/accordiongroup/accordiongroup.component.js",
499
823
  "declarations": [
500
824
  {
501
825
  "kind": "class",
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",
826
+ "description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
827
+ "name": "AccordionGroup",
504
828
  "cssProperties": [
505
829
  {
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
- }
512
- },
513
- {
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
- }
520
- },
521
- {
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
- }
830
+ "description": "The border color of the entire accordiongroup",
831
+ "name": "--mdc-accordiongroup-border-color"
590
832
  }
591
833
  ],
592
834
  "slots": [
593
835
  {
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",
629
- "type": {
630
- "text": "boolean | undefined"
631
- },
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
- }
640
- },
641
- {
642
- "kind": "field",
643
- "name": "size",
644
- "type": {
645
- "text": "Size"
646
- },
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
- }
655
- },
656
- {
657
- "kind": "field",
658
- "name": "variant",
659
- "type": {
660
- "text": "Variant"
661
- },
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
- }
670
- },
671
- {
672
- "kind": "field",
673
- "name": "dataAriaLevel",
674
- "type": {
675
- "text": "number"
676
- },
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
- }
685
- },
686
- {
687
- "kind": "field",
688
- "name": "expanded",
689
- "type": {
690
- "text": "boolean"
691
- },
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
- }
700
- },
701
- {
836
+ "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
837
+ "name": "default"
838
+ }
839
+ ],
840
+ "members": [
841
+ {
702
842
  "kind": "field",
703
- "name": "headerText",
843
+ "name": "size",
704
844
  "type": {
705
- "text": "string | undefined"
845
+ "text": "Size"
706
846
  },
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
- }
847
+ "description": "The size of the accordion item.",
848
+ "default": "'small'",
849
+ "attribute": "size",
850
+ "reflects": true
714
851
  },
715
852
  {
716
853
  "kind": "field",
717
- "name": "prefixIcon",
854
+ "name": "variant",
718
855
  "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
- }
727
- },
728
- {
729
- "kind": "method",
730
- "name": "handleHeaderClick",
731
- "privacy": "protected",
732
- "return": {
733
- "type": {
734
- "text": "void"
735
- }
856
+ "text": "Variant"
736
857
  },
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
- }
858
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
859
+ "default": "'stacked'",
860
+ "attribute": "variant",
861
+ "reflects": true
742
862
  },
743
863
  {
744
- "kind": "method",
745
- "name": "dispatchHeaderClickEvent",
746
- "privacy": "private",
747
- "return": {
748
- "type": {
749
- "text": "void"
750
- }
864
+ "kind": "field",
865
+ "name": "allowMultiple",
866
+ "type": {
867
+ "text": "boolean"
751
868
  },
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
- }
869
+ "default": "false",
870
+ "description": "If true, multiple accordion items can be visible at the same time.",
871
+ "attribute": "allow-multiple",
872
+ "reflects": true
757
873
  },
758
874
  {
759
875
  "kind": "method",
760
- "name": "handleKeyDown",
876
+ "name": "handleAccordionExpanded",
761
877
  "privacy": "private",
762
878
  "return": {
763
879
  "type": {
@@ -768,116 +884,42 @@
768
884
  {
769
885
  "name": "event",
770
886
  "type": {
771
- "text": "KeyboardEvent"
887
+ "text": "Event"
772
888
  },
773
- "description": "The KeyboardEvent fired."
889
+ "description": "The event object from the 'shown' event."
774
890
  }
775
891
  ],
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
- }
892
+ "description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
781
893
  },
782
894
  {
783
895
  "kind": "method",
784
- "name": "renderIcon",
785
- "privacy": "protected",
896
+ "name": "setChildrenAccordionAttributes",
897
+ "privacy": "private",
786
898
  "return": {
787
899
  "type": {
788
- "text": "TemplateResult | typeof nothing"
900
+ "text": "void"
789
901
  }
790
902
  },
791
903
  "parameters": [
792
904
  {
793
- "name": "iconName",
794
- "optional": true,
905
+ "name": "attributeName",
795
906
  "type": {
796
- "text": "IconNames"
797
- }
907
+ "text": "string"
908
+ },
909
+ "description": "The name of the attribute to set."
910
+ },
911
+ {
912
+ "name": "attributeValue",
913
+ "type": {
914
+ "text": "string"
915
+ },
916
+ "description": "The value to set the attribute to."
798
917
  }
799
918
  ],
800
- "inheritedFrom": {
801
- "name": "AccordionButton",
802
- "module": "components/accordionbutton/accordionbutton.component.js"
803
- }
804
- },
805
- {
806
- "kind": "method",
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
- }
818
- },
819
- {
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
- }
847
- }
848
- ],
849
- "events": [
850
- {
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
- }
919
+ "description": "Sets the given attribute on all child accordion or accordionbutton components."
858
920
  }
859
921
  ],
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
922
  "attributes": [
868
- {
869
- "name": "disabled",
870
- "type": {
871
- "text": "boolean | undefined"
872
- },
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
- }
880
- },
881
923
  {
882
924
  "name": "size",
883
925
  "type": {
@@ -885,11 +927,7 @@
885
927
  },
886
928
  "description": "The size of the accordion item.",
887
929
  "default": "'small'",
888
- "fieldName": "size",
889
- "inheritedFrom": {
890
- "name": "AccordionButton",
891
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
892
- }
930
+ "fieldName": "size"
893
931
  },
894
932
  {
895
933
  "name": "variant",
@@ -897,64 +935,26 @@
897
935
  "text": "Variant"
898
936
  },
899
937
  "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
- }
906
- },
907
- {
908
- "name": "data-aria-level",
909
- "type": {
910
- "text": "number"
911
- },
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
- }
938
+ "default": "'stacked'",
939
+ "fieldName": "variant"
919
940
  },
920
941
  {
921
- "name": "expanded",
942
+ "name": "allow-multiple",
922
943
  "type": {
923
944
  "text": "boolean"
924
945
  },
925
- "description": "The visibility of the accordion button.",
926
946
  "default": "false",
927
- "fieldName": "expanded",
928
- "inheritedFrom": {
929
- "name": "AccordionButton",
930
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
931
- }
932
- },
933
- {
934
- "name": "header-text",
935
- "type": {
936
- "text": "string | undefined"
937
- },
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
- }
944
- },
945
- {
946
- "name": "prefix-icon",
947
- "type": {
948
- "text": "IconNames | undefined"
949
- },
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
- }
947
+ "description": "If true, multiple accordion items can be visible at the same time.",
948
+ "fieldName": "allowMultiple"
956
949
  }
957
- ]
950
+ ],
951
+ "superclass": {
952
+ "name": "Component",
953
+ "module": "/src/models"
954
+ },
955
+ "tagName": "mdc-accordiongroup",
956
+ "jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
957
+ "customElement": true
958
958
  }
959
959
  ],
960
960
  "exports": [
@@ -962,8 +962,8 @@
962
962
  "kind": "js",
963
963
  "name": "default",
964
964
  "declaration": {
965
- "name": "Accordion",
966
- "module": "components/accordion/accordion.component.js"
965
+ "name": "AccordionGroup",
966
+ "module": "components/accordiongroup/accordiongroup.component.js"
967
967
  }
968
968
  }
969
969
  ]
@@ -1,6 +1,6 @@
1
- export { default as AccordionGroup } from './accordiongroup';
2
- export { default as AccordionButton } from './accordionbutton';
3
1
  export { default as Accordion } from './accordion';
2
+ export { default as AccordionButton } from './accordionbutton';
3
+ export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
5
  export { default as Animation } from './animation';
6
6
  export { default as Appheader } from './appheader';
@@ -1,6 +1,6 @@
1
- export { default as AccordionGroup } from './accordiongroup';
2
- export { default as AccordionButton } from './accordionbutton';
3
1
  export { default as Accordion } from './accordion';
2
+ export { default as AccordionButton } from './accordionbutton';
3
+ export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
5
  export { default as Animation } from './animation';
6
6
  export { default as Appheader } from './appheader';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.103.2",
4
+ "version": "0.103.3",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"