@y14e/accordion 1.2.9 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -155,8 +155,11 @@ var Accordion = class _Accordion {
155
155
  const { signal } = this.#eventController;
156
156
  saveAttributes(this.#triggerElements, [
157
157
  "aria-controls",
158
+ "aria-disabled",
159
+ "aria-expanded",
158
160
  "aria-label",
159
161
  "id",
162
+ "style",
160
163
  "tabindex"
161
164
  ]);
162
165
  this.#triggerElements.forEach((trigger, i) => {
@@ -351,7 +354,7 @@ function waitAnimationFinish(animation) {
351
354
  * Accordion
352
355
  * WAI-ARIA compliant accordion pattern implementation in TypeScript.
353
356
  *
354
- * @version 1.2.9
357
+ * @version 1.2.11
355
358
  * @author Yusuke Kamiyamane
356
359
  * @license MIT
357
360
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.cts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Accordion
3
3
  * WAI-ARIA compliant accordion pattern implementation in TypeScript.
4
4
  *
5
- * @version 1.2.9
5
+ * @version 1.2.11
6
6
  * @author Yusuke Kamiyamane
7
7
  * @license MIT
8
8
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Accordion
3
3
  * WAI-ARIA compliant accordion pattern implementation in TypeScript.
4
4
  *
5
- * @version 1.2.9
5
+ * @version 1.2.11
6
6
  * @author Yusuke Kamiyamane
7
7
  * @license MIT
8
8
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.js CHANGED
@@ -153,8 +153,11 @@ var Accordion = class _Accordion {
153
153
  const { signal } = this.#eventController;
154
154
  saveAttributes(this.#triggerElements, [
155
155
  "aria-controls",
156
+ "aria-disabled",
157
+ "aria-expanded",
156
158
  "aria-label",
157
159
  "id",
160
+ "style",
158
161
  "tabindex"
159
162
  ]);
160
163
  this.#triggerElements.forEach((trigger, i) => {
@@ -349,7 +352,7 @@ function waitAnimationFinish(animation) {
349
352
  * Accordion
350
353
  * WAI-ARIA compliant accordion pattern implementation in TypeScript.
351
354
  *
352
- * @version 1.2.9
355
+ * @version 1.2.11
353
356
  * @author Yusuke Kamiyamane
354
357
  * @license MIT
355
358
  * @copyright Copyright (c) Yusuke Kamiyamane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/accordion",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "description": "WAI-ARIA compliant accordion pattern implementation in TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",