@aurodesignsystem/auro-accordion 6.0.0-rc-206.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -11
- package/demo/api.md +34 -35
- package/demo/auro-accordion.min.js +27 -71
- package/dist/{auro-accordion-Dlfg1ee3.js → auro-accordion-B6aPKaGa.js} +11 -15
- package/dist/index.d.ts +11 -15
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +8 -11
- package/custom-elements.json +0 -966
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [6.0.0
|
|
1
|
+
# [6.0.0](https://github.com/AlaskaAirlines/auro-accordion/compare/v5.2.6...v6.0.0) (2025-10-03)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
* feat!: upgrade package tooling to use auro-cli ([a1ccbe6](https://github.com/AlaskaAirlines/auro-accordion/commit/a1ccbe651cf2547c9582ed273d099059a950d982)), closes [AlaskaAirlines/auro-cli#108](https://github.com/AlaskaAirlines/auro-cli/issues/108) [AlaskaAirlines/auro-cli#109](https://github.com/AlaskaAirlines/auro-cli/issues/109) [AlaskaAirlines/auro-cli#110](https://github.com/AlaskaAirlines/auro-cli/issues/110) [AlaskaAirlines/auro-cli#111](https://github.com/AlaskaAirlines/auro-cli/issues/111)
|
|
@@ -9,16 +9,6 @@
|
|
|
9
9
|
* remove extra button styles ([43c3307](https://github.com/AlaskaAirlines/auro-accordion/commit/43c330765fae312cb23c91a0b690917e2bc2c9aa))
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
### Features
|
|
13
|
-
|
|
14
|
-
* consume new auro-cli update for cem tooling ([5e1baa4](https://github.com/AlaskaAirlines/auro-accordion/commit/5e1baa4d14560e0480474db04e380a4cfd1799de)), closes [AlaskaAirlines/auro-cli#182](https://github.com/AlaskaAirlines/auro-cli/issues/182)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Performance Improvements
|
|
18
|
-
|
|
19
|
-
* update auro-button for deprecated `ondark` attr [#203](https://github.com/AlaskaAirlines/auro-accordion/issues/203) ([3c47a9d](https://github.com/AlaskaAirlines/auro-accordion/commit/3c47a9de397236dff2f9ea61a32eb3bd0c20e9eb))
|
|
20
|
-
|
|
21
|
-
|
|
22
12
|
### BREAKING CHANGES
|
|
23
13
|
|
|
24
14
|
* Package exports have changed. To access the component class add /class to the end of the import. See "exports" in the package.json for more details.
|
package/demo/api.md
CHANGED
|
@@ -6,46 +6,45 @@
|
|
|
6
6
|
Auro-accordion provides users a way to have collapsible content on a page.
|
|
7
7
|
Use auro-accordion-group if you want to have auto closing accordion components when others are selected.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## Properties
|
|
10
10
|
|
|
11
|
-
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Methods
|
|
11
|
+
| Property | Attribute | Type | Default | Description |
|
|
12
|
+
|--------------|--------------|-----------|---------|--------------------------------------------------|
|
|
13
|
+
| [alignRight](#alignRight) | `alignRight` | `Boolean` | | If set, the trigger content will align right. |
|
|
14
|
+
| [chevron](#chevron) | `chevron` | `String` | | Sets chevron variant option. Possible values are: `none`, `right`. |
|
|
15
|
+
| [disabled](#disabled) | `disabled` | `Boolean` | | If set, the accordion is disabled and have reduced opacity. |
|
|
16
|
+
| [emphasis](#emphasis) | `emphasis` | `Boolean` | | If set, emphasis styles will be applied to the auro-accordions. |
|
|
17
|
+
| [expanded](#expanded) | `expanded` | `Boolean` | false | If set, the accordion is expanded. |
|
|
18
|
+
| [grouped](#grouped) | `grouped` | `Boolean` | | Attribute will be set on accordion when it appears in an accordion group. |
|
|
19
|
+
| [variant](#variant) | `variant` | `String` | | Sets accordion variant option. Possible values are: `sm`, `lg`. |
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
| --- | --- | --- | --- |
|
|
25
|
-
register | `name` (string) - The name of element that you want to register to. | | This will register this element with the browser.
|
|
26
|
-
toggle | None | | Toggles the visibility of the accordion content.
|
|
27
|
-
|
|
28
|
-
### Events
|
|
21
|
+
## Methods
|
|
29
22
|
|
|
30
|
-
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### Slots
|
|
23
|
+
| Method | Type | Description |
|
|
24
|
+
|----------|------------|--------------------------------------------------|
|
|
25
|
+
| [toggle](#toggle) | `(): void` | Toggles the visibility of the accordion content. |
|
|
35
26
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
27
|
+
## Events
|
|
28
|
+
|
|
29
|
+
| Event | Type | Description |
|
|
30
|
+
|------------------|---------------------------------------|--------------------------------------------------|
|
|
31
|
+
| [toggleExpanded](#toggleExpanded) | `CustomEvent<{ expanded: boolean; }>` | Notifies that the accordion has been expanded or closed. |
|
|
32
|
+
|
|
33
|
+
## Slots
|
|
34
|
+
|
|
35
|
+
| Name | Description |
|
|
36
|
+
|-----------|---------------------------------------------|
|
|
37
|
+
| | Default slot for the accordion content. |
|
|
38
|
+
| [trigger](#trigger) | Defines the content of the trigger element. |
|
|
39
|
+
|
|
40
|
+
## CSS Shadow Parts
|
|
42
41
|
|
|
43
|
-
|
|
|
44
|
-
|
|
45
|
-
accordion | Apply CSS to Accordion wrapper.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
| Part | Description |
|
|
43
|
+
|-------------|-------------------------------------|
|
|
44
|
+
| [accordion](#accordion) | Apply CSS to Accordion wrapper. |
|
|
45
|
+
| [chevron](#chevron) | Apply CSS to chevron icon. |
|
|
46
|
+
| [content](#content) | Apply CSS to the accordion content. |
|
|
47
|
+
| [trigger](#trigger) | Apply CSS to trigger element. |
|
|
49
48
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
50
49
|
|
|
51
50
|
## Accordion API Examples
|