@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 CHANGED
@@ -324,7 +324,8 @@ var Tabs = class _Tabs {
324
324
  this.#rootElement.removeAttribute("data-tabs-initialized");
325
325
  }
326
326
  #initialize() {
327
- const { signal } = this.#eventController ?? new AbortController();
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.5
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
@@ -2,7 +2,7 @@
2
2
  * Tabs
3
3
  * WAI-ARIA compliant tabs pattern implementation in TypeScript.
4
4
  *
5
- * @version 1.3.5
5
+ * @version 1.3.6
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
  * Tabs
3
3
  * WAI-ARIA compliant tabs pattern implementation in TypeScript.
4
4
  *
5
- * @version 1.3.5
5
+ * @version 1.3.6
6
6
  * @author Yusuke Kamiyamane
7
7
  * @license MIT
8
8
  * @copyright Copyright (c) Yusuke Kamiyamane
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
- const { signal } = this.#eventController ?? new AbortController();
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.5
619
+ * @version 1.3.6
619
620
  * @author Yusuke Kamiyamane
620
621
  * @license MIT
621
622
  * @copyright Copyright (c) Yusuke Kamiyamane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/tabs",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "WAI-ARIA compliant tabs pattern implementation in TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",