@aurodesignsystem-dev/auro-accordion 0.0.0-pr190.0 → 0.0.0-pr200.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.
Files changed (133) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/NOTICE +2 -0
  3. package/README.md +25 -59
  4. package/demo/api.js +2 -1
  5. package/demo/api.md +13 -7
  6. package/demo/api.min.js +15 -2028
  7. package/demo/auro-accordion.min.js +727 -0
  8. package/demo/index.js +12 -14
  9. package/demo/index.min.js +13 -2024
  10. package/dist/auro-accordion-B6aPKaGa.js +113 -0
  11. package/dist/index.d.ts +121 -0
  12. package/dist/index.js +1 -0
  13. package/dist/registered.js +1 -0
  14. package/package.json +40 -129
  15. package/.husky/commit-msg +0 -1
  16. package/.husky/pre-commit +0 -1
  17. package/.vscode/settings.json +0 -8
  18. package/apiExamples/accordionGroup.html +0 -47
  19. package/apiExamples/accordionGroupLg.html +0 -47
  20. package/apiExamples/accordionGroupSm.html +0 -47
  21. package/apiExamples/alignChevronRight.html +0 -15
  22. package/apiExamples/alignRight.html +0 -15
  23. package/apiExamples/basic.html +0 -15
  24. package/apiExamples/chevronNone.html +0 -15
  25. package/apiExamples/chevronRight.html +0 -15
  26. package/apiExamples/custom.html +0 -15
  27. package/apiExamples/customGroup.html +0 -47
  28. package/apiExamples/disabled.html +0 -15
  29. package/apiExamples/disabledGroup.html +0 -47
  30. package/apiExamples/emphasis.html +0 -47
  31. package/apiExamples/expanded.html +0 -17
  32. package/apiExamples/expanded.js +0 -11
  33. package/apiExamples/noToggleExpanded.html +0 -47
  34. package/coverage/lcov-report/auro-accordion-group.js.html +0 -472
  35. package/coverage/lcov-report/auro-accordion.js.html +0 -664
  36. package/coverage/lcov-report/base.css +0 -224
  37. package/coverage/lcov-report/block-navigation.js +0 -87
  38. package/coverage/lcov-report/color-css.js.html +0 -91
  39. package/coverage/lcov-report/favicon.png +0 -0
  40. package/coverage/lcov-report/iconVersion.js.html +0 -85
  41. package/coverage/lcov-report/index.html +0 -131
  42. package/coverage/lcov-report/prettify.css +0 -1
  43. package/coverage/lcov-report/prettify.js +0 -2
  44. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  45. package/coverage/lcov-report/sorter.js +0 -196
  46. package/coverage/lcov-report/src/auro-accordion-button.js.html +0 -283
  47. package/coverage/lcov-report/src/auro-accordion-group.js.html +0 -538
  48. package/coverage/lcov-report/src/auro-accordion.js.html +0 -895
  49. package/coverage/lcov-report/src/iconVersion.js.html +0 -85
  50. package/coverage/lcov-report/src/index.html +0 -161
  51. package/coverage/lcov-report/src/styles/color-css.js.html +0 -91
  52. package/coverage/lcov-report/src/styles/index.html +0 -161
  53. package/coverage/lcov-report/src/styles/style-button-css.js.html +0 -91
  54. package/coverage/lcov-report/src/styles/style-css.js.html +0 -91
  55. package/coverage/lcov-report/src/styles/tokens-css.js.html +0 -91
  56. package/coverage/lcov-report/style-css.js.html +0 -91
  57. package/coverage/lcov-report/tokens-css.js.html +0 -91
  58. package/coverage/lcov.info +0 -682
  59. package/dist/auro-accordion-button.d.ts +0 -17
  60. package/dist/auro-accordion-button.d.ts.map +0 -1
  61. package/dist/auro-accordion-group.d.ts +0 -61
  62. package/dist/auro-accordion-group.d.ts.map +0 -1
  63. package/dist/auro-accordion.d.ts +0 -106
  64. package/dist/auro-accordion.d.ts.map +0 -1
  65. package/dist/auro-accordion__bundled.js +0 -2023
  66. package/dist/color-css.d.ts +0 -3
  67. package/dist/color-css.d.ts.map +0 -1
  68. package/dist/iconVersion.d.ts +0 -3
  69. package/dist/iconVersion.d.ts.map +0 -1
  70. package/dist/src/auro-accordion-button.d.ts +0 -19
  71. package/dist/src/auro-accordion-button.d.ts.map +0 -1
  72. package/dist/src/auro-accordion-group.d.ts +0 -61
  73. package/dist/src/auro-accordion-group.d.ts.map +0 -1
  74. package/dist/src/auro-accordion.d.ts +0 -106
  75. package/dist/src/auro-accordion.d.ts.map +0 -1
  76. package/dist/src/color-css.d.ts +0 -3
  77. package/dist/src/color-css.d.ts.map +0 -1
  78. package/dist/src/iconVersion.d.ts +0 -3
  79. package/dist/src/iconVersion.d.ts.map +0 -1
  80. package/dist/src/style-button-css.d.ts +0 -3
  81. package/dist/src/style-button-css.d.ts.map +0 -1
  82. package/dist/src/style-css.d.ts +0 -3
  83. package/dist/src/style-css.d.ts.map +0 -1
  84. package/dist/src/styles/color-css.d.ts +0 -3
  85. package/dist/src/styles/color-css.d.ts.map +0 -1
  86. package/dist/src/styles/style-button-css.d.ts +0 -3
  87. package/dist/src/styles/style-button-css.d.ts.map +0 -1
  88. package/dist/src/styles/style-css.d.ts +0 -3
  89. package/dist/src/styles/style-css.d.ts.map +0 -1
  90. package/dist/src/styles/tokens-css.d.ts +0 -3
  91. package/dist/src/styles/tokens-css.d.ts.map +0 -1
  92. package/dist/src/tokens-css.d.ts +0 -3
  93. package/dist/src/tokens-css.d.ts.map +0 -1
  94. package/dist/style-button-css.d.ts +0 -3
  95. package/dist/style-button-css.d.ts.map +0 -1
  96. package/dist/style-css.d.ts +0 -3
  97. package/dist/style-css.d.ts.map +0 -1
  98. package/dist/test/auro-accordion-group.test.d.ts +0 -2
  99. package/dist/test/auro-accordion-group.test.d.ts.map +0 -1
  100. package/dist/test/auro-accordion.test.d.ts +0 -2
  101. package/dist/test/auro-accordion.test.d.ts.map +0 -1
  102. package/dist/tokens-css.d.ts +0 -3
  103. package/dist/tokens-css.d.ts.map +0 -1
  104. package/index.js +0 -3
  105. package/packageScripts/postinstall.mjs +0 -28
  106. package/scripts/version.mjs +0 -3
  107. package/scripts/wca/auro-accordion.js +0 -12
  108. package/src/auro-accordion-button.js +0 -66
  109. package/src/auro-accordion-group.js +0 -151
  110. package/src/auro-accordion.js +0 -270
  111. package/src/color-css.js +0 -2
  112. package/src/color.css +0 -39
  113. package/src/iconVersion.js +0 -1
  114. package/src/style-button-css.js +0 -2
  115. package/src/style-button.css +0 -53
  116. package/src/style-css.js +0 -2
  117. package/src/style.css +0 -147
  118. package/src/styles/color-css.js +0 -2
  119. package/src/styles/color.css +0 -43
  120. package/src/styles/color.scss +0 -75
  121. package/src/styles/style-button-css.js +0 -2
  122. package/src/styles/style-button.css +0 -63
  123. package/src/styles/style-button.scss +0 -86
  124. package/src/styles/style-css.js +0 -2
  125. package/src/styles/style.css +0 -347
  126. package/src/styles/style.scss +0 -200
  127. package/src/styles/tokens-css.js +0 -2
  128. package/src/styles/tokens.css +0 -7
  129. package/src/styles/tokens.scss +0 -9
  130. package/src/tokens-css.js +0 -2
  131. package/src/tokens.css +0 -7
  132. package/test/auro-accordion-group.test.js +0 -230
  133. package/test/auro-accordion.test.js +0 -104
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ ## [5.2.6](https://github.com/AlaskaAirlines/auro-accordion/compare/v5.2.5...v5.2.6) (2025-09-29)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove left-padding on large emphasis accordion [#199](https://github.com/AlaskaAirlines/auro-accordion/issues/199) ([6ad5c45](https://github.com/AlaskaAirlines/auro-accordion/commit/6ad5c4522cb149d6fe5de9fe74a7470394c6bde9))
9
+ * remove left-padding on right chevron non-emphasis accordion [#185](https://github.com/AlaskaAirlines/auro-accordion/issues/185) ([6e16e79](https://github.com/AlaskaAirlines/auro-accordion/commit/6e16e79060da1f0d0a5a8dd91dbdd38382e0b660))
10
+
11
+ ## [5.2.5](https://github.com/AlaskaAirlines/auro-accordion/compare/v5.2.4...v5.2.5) (2025-09-23)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * ensure icon alignment in button's text slot [#189](https://github.com/AlaskaAirlines/auro-accordion/issues/189) ([500d406](https://github.com/AlaskaAirlines/auro-accordion/commit/500d406fed0d8e52f18a5d6f529647dafaea5720))
17
+ * truncate trigger text on emphasis accordion [#192](https://github.com/AlaskaAirlines/auro-accordion/issues/192) ([99d17b9](https://github.com/AlaskaAirlines/auro-accordion/commit/99d17b9d8045d155c8e445aa0c00d9e79140a15a))
18
+
3
19
  ## [5.2.4](https://github.com/AlaskaAirlines/auro-accordion/compare/v5.2.3...v5.2.4) (2025-08-25)
4
20
 
5
21
 
package/NOTICE ADDED
@@ -0,0 +1,2 @@
1
+ Alaska Airlines Auro Design System
2
+ Copyright 2023 Alaska Airlines, Inc. or its affiliates. All Rights Reserved.
package/README.md CHANGED
@@ -4,8 +4,8 @@ The README.md file is a compiled document. No edits should be made directly to t
4
4
  README.md is created by running `npm run build:docs`.
5
5
 
6
6
  This file is generated based on a template fetched from
7
- `https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/README_updated_paths.md`
8
- and copied to `./componentDocs/README.md` each time the the docs are compiled.
7
+ `https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/README.md`
8
+ and copied to `./componentDocs/README.md` each time the docs are compiled.
9
9
 
10
10
  The following sections are editable by making changes to the following files:
11
11
 
@@ -17,7 +17,7 @@ The following sections are editable by making changes to the following files:
17
17
  | Component Example Code | HTML sample code of the components use | `./apiExamples/basic.html` |
18
18
  -->
19
19
 
20
- # Dev/auro-accordion
20
+ # Accordion
21
21
 
22
22
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
23
23
  <!-- The below content is automatically added from ./docs/partials/description.md -->
@@ -45,44 +45,42 @@ Or, by CDN.
45
45
 
46
46
  ## UI development browser support
47
47
 
48
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/browserSupport.md) -->
48
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/browserSupport.md) -->
49
49
  For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
50
50
 
51
51
  <!-- AURO-GENERATED-CONTENT:END -->
52
52
 
53
53
  ## Install
54
54
 
55
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentInstall_esm.md) -->
56
- [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/-dev/-dev/auro-accordion/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/-dev/-dev/auro-accordion/actions/workflows/testPublish.yml)
57
- [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem-dev/-dev/-dev/auro-accordion?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem-dev/-dev/-dev/auro-accordion)
58
- [![License](https://img.shields.io/npm/l/@aurodesignsystem-dev/-dev/-dev/auro-accordion?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
55
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentInstall.md) -->
56
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-accordion/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-accordion/actions/workflows/testPublish.yml)
57
+ [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-accordion?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-accordion)
58
+ [![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-accordion?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
59
59
  ![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)
60
60
 
61
61
  ```shell
62
- $ npm i @aurodesignsystem-dev/-dev/-dev/auro-accordion
62
+ $ npm i @aurodesignsystem/auro-accordion
63
63
  ```
64
64
 
65
- Installing as a direct, dev or peer dependency is up to the user installing the package. If you are unsure as to what type of dependency you should use, consider reading this [stack overflow](https://stackoverflow.com/questions/18875674/whats-the-difference-between-dependencies-devdependencies-and-peerdependencies) answer.
66
-
67
65
  <!-- AURO-GENERATED-CONTENT:END -->
68
66
 
69
67
  ### Design Token CSS Custom Property dependency
70
68
 
71
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/designTokens.md) -->
69
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/designTokens.md) -->
72
70
  The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
73
71
 
74
72
  <!-- AURO-GENERATED-CONTENT:END -->
75
73
 
76
74
  ### Define dependency in project component
77
75
 
78
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentImportDescription.md) -->
79
- Defining the component dependency within each component that is using the `<-dev/-dev/auro-accordion>` component.
76
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImportDescription.md) -->
77
+ Defining the component dependency within each component that is using the `<auro-accordion>` component.
80
78
 
81
79
  <!-- AURO-GENERATED-CONTENT:END -->
82
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentImport.md) -->
80
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImport.md) -->
83
81
 
84
82
  ```js
85
- import "@aurodesignsystem-dev/-dev/-dev/auro-accordion";
83
+ import "@aurodesignsystem/auro-accordion";
86
84
  ```
87
85
 
88
86
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -109,28 +107,18 @@ import "@aurodesignsystem-dev/-dev/-dev/auro-accordion";
109
107
  ```
110
108
  <!-- AURO-GENERATED-CONTENT:END -->
111
109
 
112
- ## Install bundled assets from CDN
113
-
114
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/bundleInstallDescription.md) -->
115
- In cases where the project is not able to process JS assets, there are pre-processed assets available for use. See -- `-dev/-dev/auro-accordion__bundled.js` for modern browsers. Legacy browsers such as IE11 are no longer supported.
116
-
117
- **WARNING!** When installing into your application environment, DO NOT use `@latest` for the requested version. Risks include unknown MAJOR version releases and instant adoption of any new features and possible bugs without developer knowledge. The `@latest` wildcard should NEVER be used for production customer-facing applications. You have been warned.
110
+ ## Use CDN
118
111
 
119
- <!-- AURO-GENERATED-CONTENT:END -->
120
-
121
- ### Bundle example code
112
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/bundleInstallDescription.md) -->
113
+ In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
122
114
 
123
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/bundleUseModBrowsers.md) -->
124
-
125
115
  ```html
126
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@/dist/auro-classic/CSSCustomProperties.css" />
127
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@/dist/bundled/essentials.css" />
128
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem-dev/-dev/-dev/auro-accordion@0.0.0-pr190.0/dist/-dev/-dev/auro-accordion__bundled.js" type="module"></script>
116
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm"></script>
129
117
  ```
130
118
 
131
119
  <!-- AURO-GENERATED-CONTENT:END -->
132
120
 
133
- ## auro-dev/auro-accordion use cases
121
+ ## auro-accordion use cases
134
122
 
135
123
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
136
124
  <!-- The below content is automatically added from ./docs/partials/useCases.md -->
@@ -142,7 +130,7 @@ The `<auro-accordion>` element should be used in situations where users may:
142
130
 
143
131
  ## API Code Examples
144
132
 
145
- ### Default auro-dev/auro-accordion
133
+ ### Default auro-accordion
146
134
 
147
135
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
148
136
  <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
@@ -168,7 +156,7 @@ The `<auro-accordion>` element should be used in situations where users may:
168
156
 
169
157
  ## Development
170
158
 
171
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/developmentDescription.md) -->
159
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/developmentDescription.md) -->
172
160
  In order to develop against this project, if you are not part of the core team, you will be required to fork the project prior to submitting a pull request.
173
161
 
174
162
  Please be sure to review the [contribution guidelines](https://auro.alaskaair.com/contributing) for this project. Please make sure to **pay special attention** to the **conventional commits** section of the document.
@@ -177,42 +165,20 @@ Please be sure to review the [contribution guidelines](https://auro.alaskaair.co
177
165
 
178
166
  ### Start development environment
179
167
 
180
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/localhost.md) -->
168
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/localhost.md) -->
181
169
  Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open a shell session to run the **dev server**.
182
170
 
183
171
  ```shell
184
172
  $ npm run dev
185
173
  ```
186
174
 
187
- Open [localhost:8000](http://localhost:8000/)
188
-
189
- If running separate sessions is preferred, please run the following commands in individual terminal shells.
190
-
191
- ```shell
192
- $ npm run build:watch
193
-
194
- $ npm run serve
195
- ```
196
-
197
- <!-- AURO-GENERATED-CONTENT:END -->
175
+ Open [localhost:8000](http://localhost:8000/)
198
176
 
199
- ### API generation
200
-
201
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/api.md) -->
202
- The custom element API file is generated in the build and committed back to the repo with a version change. If the API doc has changed without a version change, author's are to run `npm run build:api` to generate the doc and commit to version control.
203
-
204
177
  <!-- AURO-GENERATED-CONTENT:END -->
205
178
 
206
179
  ### Testing
207
180
 
208
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/testing.md) -->
209
- Automated tests are required for every Auro component. See `.\test\-dev/-dev/auro-accordion.test.js` for the tests for this component. Run `npm test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.
210
-
211
- <!-- AURO-GENERATED-CONTENT:END -->
212
-
213
- ### Bundled assets
214
-
215
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/bundles.md) -->
216
- Bundled assets are only generated in the remote and not merged back to this repo. To review and/or test a bundled asset locally, run `$ npm run bundler` to generate assets.
181
+ <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/testing.md) -->
182
+ Automated tests are required for every Auro component. See `.\test\auro-accordion.test.js` for the tests for this component. Run `npm run test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.
217
183
 
218
184
  <!-- AURO-GENERATED-CONTENT:END -->
package/demo/api.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { expandedExample } from "../apiExamples/expanded";
2
- import '../index.js';
2
+ import "../src/registered.js";
3
3
 
4
4
  export function initExamples(initCount) {
5
+ // biome-ignore lint/style/noParameterAssign: recursion, just for demos
5
6
  initCount = initCount || 0;
6
7
 
7
8
  try {
package/demo/api.md CHANGED
@@ -507,15 +507,21 @@ The accordion can be programatically expanded or collapsed by setting the `expan
507
507
 
508
508
  ```js
509
509
  export function expandedExample() {
510
- const expandedExampleElem = document.querySelector('#auroaccordionExpandedExample');
510
+ const expandedExampleElem = document.querySelector(
511
+ "#auroaccordionExpandedExample",
512
+ );
511
513
 
512
- document.querySelector('#auroaccordionExpandedExampleBtnTrue').addEventListener('click', () => {
513
- expandedExampleElem.expanded = true;
514
- })
514
+ document
515
+ .querySelector("#auroaccordionExpandedExampleBtnTrue")
516
+ .addEventListener("click", () => {
517
+ expandedExampleElem.expanded = true;
518
+ });
515
519
 
516
- document.querySelector('#auroaccordionExpandedExampleBtnFalse').addEventListener('click', () => {
517
- expandedExampleElem.expanded = false;
518
- })
520
+ document
521
+ .querySelector("#auroaccordionExpandedExampleBtnFalse")
522
+ .addEventListener("click", () => {
523
+ expandedExampleElem.expanded = false;
524
+ });
519
525
  }
520
526
  ```
521
527
  <!-- AURO-GENERATED-CONTENT:END -->