@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 +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
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.
|
|
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
package/dist/index.d.ts
CHANGED
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.
|
|
834
|
+
* @version 1.3.1
|
|
835
835
|
* @author Yusuke Kamiyamane
|
|
836
836
|
* @license MIT
|
|
837
837
|
* @copyright Copyright (c) Yusuke Kamiyamane
|