@y14e/accordion 1.3.0 → 1.3.1

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
@@ -631,6 +631,8 @@ var Accordion = class _Accordion {
631
631
  return;
632
632
  }
633
633
  this.#isDestroyed = true;
634
+ this.#cleanupRovingTabIndex?.();
635
+ this.#cleanupRovingTabIndex = null;
634
636
  this.#eventController?.abort();
635
637
  this.#eventController = null;
636
638
  !force && await this.#waitAnimationsFinish();
@@ -640,8 +642,6 @@ var Accordion = class _Accordion {
640
642
  });
641
643
  this.#animationController?.abort();
642
644
  this.#animationController = null;
643
- this.#cleanupRovingTabIndex?.();
644
- this.#cleanupRovingTabIndex = null;
645
645
  restoreAttributes([...this.#triggerElements, ...this.#contentElements]);
646
646
  this.#triggerElements.length = 0;
647
647
  this.#contentElements.length = 0;
@@ -833,7 +833,7 @@ function waitAnimationFinish(animation) {
833
833
  * Accordion
834
834
  * WAI-ARIA compliant accordion pattern implementation in TypeScript.
835
835
  *
836
- * @version 1.3.0
836
+ * @version 1.3.1
837
837
  * @author Yusuke Kamiyamane
838
838
  * @license MIT
839
839
  * @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.3.0
5
+ * @version 1.3.1
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.3.0
5
+ * @version 1.3.1
6
6
  * @author Yusuke Kamiyamane
7
7
  * @license MIT
8
8
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.js CHANGED
@@ -629,6 +629,8 @@ var Accordion = class _Accordion {
629
629
  return;
630
630
  }
631
631
  this.#isDestroyed = true;
632
+ this.#cleanupRovingTabIndex?.();
633
+ this.#cleanupRovingTabIndex = null;
632
634
  this.#eventController?.abort();
633
635
  this.#eventController = null;
634
636
  !force && await this.#waitAnimationsFinish();
@@ -638,8 +640,6 @@ var Accordion = class _Accordion {
638
640
  });
639
641
  this.#animationController?.abort();
640
642
  this.#animationController = null;
641
- this.#cleanupRovingTabIndex?.();
642
- this.#cleanupRovingTabIndex = null;
643
643
  restoreAttributes([...this.#triggerElements, ...this.#contentElements]);
644
644
  this.#triggerElements.length = 0;
645
645
  this.#contentElements.length = 0;
@@ -831,7 +831,7 @@ function waitAnimationFinish(animation) {
831
831
  * Accordion
832
832
  * WAI-ARIA compliant accordion pattern implementation in TypeScript.
833
833
  *
834
- * @version 1.3.0
834
+ * @version 1.3.1
835
835
  * @author Yusuke Kamiyamane
836
836
  * @license MIT
837
837
  * @copyright Copyright (c) Yusuke Kamiyamane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/accordion",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "WAI-ARIA compliant accordion pattern implementation in TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",