@y14e/disclosure 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
|
@@ -619,6 +619,8 @@ var Disclosure = class _Disclosure {
|
|
|
619
619
|
return;
|
|
620
620
|
}
|
|
621
621
|
this.#isDestroyed = true;
|
|
622
|
+
this.#cleanupRovingTabIndex?.();
|
|
623
|
+
this.#cleanupRovingTabIndex = null;
|
|
622
624
|
this.#eventController?.abort();
|
|
623
625
|
this.#eventController = null;
|
|
624
626
|
this.#observers.forEach((observer) => {
|
|
@@ -632,8 +634,6 @@ var Disclosure = class _Disclosure {
|
|
|
632
634
|
});
|
|
633
635
|
this.#animationController?.abort();
|
|
634
636
|
this.#animationController = null;
|
|
635
|
-
this.#cleanupRovingTabIndex?.();
|
|
636
|
-
this.#cleanupRovingTabIndex = null;
|
|
637
637
|
this.#detailsElements.forEach((details) => {
|
|
638
638
|
details.removeAttribute("data-disclosure-name");
|
|
639
639
|
details.removeAttribute("data-disclosure-open");
|
|
@@ -788,7 +788,7 @@ function waitAnimationFinish(animation) {
|
|
|
788
788
|
* WAI-ARIA compliant disclosure pattern implementation in TypeScript.
|
|
789
789
|
* Using the <details> and <summary> element.
|
|
790
790
|
*
|
|
791
|
-
* @version 1.3.
|
|
791
|
+
* @version 1.3.1
|
|
792
792
|
* @author Yusuke Kamiyamane
|
|
793
793
|
* @license MIT
|
|
794
794
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -617,6 +617,8 @@ var Disclosure = class _Disclosure {
|
|
|
617
617
|
return;
|
|
618
618
|
}
|
|
619
619
|
this.#isDestroyed = true;
|
|
620
|
+
this.#cleanupRovingTabIndex?.();
|
|
621
|
+
this.#cleanupRovingTabIndex = null;
|
|
620
622
|
this.#eventController?.abort();
|
|
621
623
|
this.#eventController = null;
|
|
622
624
|
this.#observers.forEach((observer) => {
|
|
@@ -630,8 +632,6 @@ var Disclosure = class _Disclosure {
|
|
|
630
632
|
});
|
|
631
633
|
this.#animationController?.abort();
|
|
632
634
|
this.#animationController = null;
|
|
633
|
-
this.#cleanupRovingTabIndex?.();
|
|
634
|
-
this.#cleanupRovingTabIndex = null;
|
|
635
635
|
this.#detailsElements.forEach((details) => {
|
|
636
636
|
details.removeAttribute("data-disclosure-name");
|
|
637
637
|
details.removeAttribute("data-disclosure-open");
|
|
@@ -786,7 +786,7 @@ function waitAnimationFinish(animation) {
|
|
|
786
786
|
* WAI-ARIA compliant disclosure pattern implementation in TypeScript.
|
|
787
787
|
* Using the <details> and <summary> element.
|
|
788
788
|
*
|
|
789
|
-
* @version 1.3.
|
|
789
|
+
* @version 1.3.1
|
|
790
790
|
* @author Yusuke Kamiyamane
|
|
791
791
|
* @license MIT
|
|
792
792
|
* @copyright Copyright (c) Yusuke Kamiyamane
|