@y14e/tabs 1.3.5 → 1.3.6
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 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -324,7 +324,8 @@ var Tabs = class _Tabs {
|
|
|
324
324
|
this.#rootElement.removeAttribute("data-tabs-initialized");
|
|
325
325
|
}
|
|
326
326
|
#initialize() {
|
|
327
|
-
|
|
327
|
+
this.#eventController = new AbortController();
|
|
328
|
+
const { signal } = this.#eventController;
|
|
328
329
|
saveAttributes(this.#listElements, [
|
|
329
330
|
"aria-hidden",
|
|
330
331
|
"aria-orientation",
|
|
@@ -617,7 +618,7 @@ function isFocusable(element) {
|
|
|
617
618
|
* Tabs
|
|
618
619
|
* WAI-ARIA compliant tabs pattern implementation in TypeScript.
|
|
619
620
|
*
|
|
620
|
-
* @version 1.3.
|
|
621
|
+
* @version 1.3.6
|
|
621
622
|
* @author Yusuke Kamiyamane
|
|
622
623
|
* @license MIT
|
|
623
624
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -322,7 +322,8 @@ var Tabs = class _Tabs {
|
|
|
322
322
|
this.#rootElement.removeAttribute("data-tabs-initialized");
|
|
323
323
|
}
|
|
324
324
|
#initialize() {
|
|
325
|
-
|
|
325
|
+
this.#eventController = new AbortController();
|
|
326
|
+
const { signal } = this.#eventController;
|
|
326
327
|
saveAttributes(this.#listElements, [
|
|
327
328
|
"aria-hidden",
|
|
328
329
|
"aria-orientation",
|
|
@@ -615,7 +616,7 @@ function isFocusable(element) {
|
|
|
615
616
|
* Tabs
|
|
616
617
|
* WAI-ARIA compliant tabs pattern implementation in TypeScript.
|
|
617
618
|
*
|
|
618
|
-
* @version 1.3.
|
|
619
|
+
* @version 1.3.6
|
|
619
620
|
* @author Yusuke Kamiyamane
|
|
620
621
|
* @license MIT
|
|
621
622
|
* @copyright Copyright (c) Yusuke Kamiyamane
|