@y14e/disclosure 1.3.2 → 1.3.3
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 +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -665,7 +665,7 @@ var Disclosure = class _Disclosure {
|
|
|
665
665
|
this.#cleanupRovingTabIndex = createRovingTabIndex(this.#rootElement, {
|
|
666
666
|
direction: "vertical",
|
|
667
667
|
navigationOnly: true,
|
|
668
|
-
selector:
|
|
668
|
+
selector: "summary:not(:scope summary + * *)",
|
|
669
669
|
wrap: true
|
|
670
670
|
});
|
|
671
671
|
this.#rootElement.setAttribute("data-disclosure-initialized", "");
|
|
@@ -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.3
|
|
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
|
@@ -663,7 +663,7 @@ var Disclosure = class _Disclosure {
|
|
|
663
663
|
this.#cleanupRovingTabIndex = createRovingTabIndex(this.#rootElement, {
|
|
664
664
|
direction: "vertical",
|
|
665
665
|
navigationOnly: true,
|
|
666
|
-
selector:
|
|
666
|
+
selector: "summary:not(:scope summary + * *)",
|
|
667
667
|
wrap: true
|
|
668
668
|
});
|
|
669
669
|
this.#rootElement.setAttribute("data-disclosure-initialized", "");
|
|
@@ -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.3
|
|
790
790
|
* @author Yusuke Kamiyamane
|
|
791
791
|
* @license MIT
|
|
792
792
|
* @copyright Copyright (c) Yusuke Kamiyamane
|