@y14e/roving-tabindex 3.0.13 → 3.0.14

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/README.md CHANGED
@@ -10,14 +10,14 @@ npm i @y14e/roving-tabindex
10
10
 
11
11
  ```ts
12
12
  // npm
13
- import { createRovingTabIndex } from '@y14e/roving-tabindex@3.0.13';
13
+ import { createRovingTabIndex } from '@y14e/roving-tabindex@3.0.14';
14
14
 
15
15
  // CDNs
16
- import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.0.13';
16
+ import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.0.14';
17
17
  // or
18
- import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.0.13/+esm';
18
+ import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.0.14/+esm';
19
19
  // or
20
- import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.0.13';
20
+ import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.0.14';
21
21
  ```
22
22
 
23
23
  ## 📦 APIs
@@ -383,7 +383,7 @@ var RovingTabIndex = class _RovingTabIndex {
383
383
  }
384
384
  this.#controller = new AbortController();
385
385
  const { signal } = this.#controller;
386
- this.#container.addEventListener("focusin", this.#onFocusIn, {
386
+ document.addEventListener("focusin", this.#onFocusIn, {
387
387
  capture: true,
388
388
  signal
389
389
  });
@@ -537,7 +537,7 @@ var RovingTabIndex = class _RovingTabIndex {
537
537
  * Lightweight roving tabindex utility with fully focus management.
538
538
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
539
539
  *
540
- * @version 3.0.13
540
+ * @version 3.0.14
541
541
  * @author Yusuke Kamiyamane
542
542
  * @license MIT
543
543
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -381,7 +381,7 @@ var RovingTabIndex = class _RovingTabIndex {
381
381
  }
382
382
  this.#controller = new AbortController();
383
383
  const { signal } = this.#controller;
384
- this.#container.addEventListener("focusin", this.#onFocusIn, {
384
+ document.addEventListener("focusin", this.#onFocusIn, {
385
385
  capture: true,
386
386
  signal
387
387
  });
@@ -535,7 +535,7 @@ var RovingTabIndex = class _RovingTabIndex {
535
535
  * Lightweight roving tabindex utility with fully focus management.
536
536
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
537
537
  *
538
- * @version 3.0.13
538
+ * @version 3.0.14
539
539
  * @author Yusuke Kamiyamane
540
540
  * @license MIT
541
541
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.cjs CHANGED
@@ -99,7 +99,7 @@ var RovingTabIndex = class _RovingTabIndex {
99
99
  }
100
100
  this.#controller = new AbortController();
101
101
  const { signal } = this.#controller;
102
- this.#container.addEventListener("focusin", this.#onFocusIn, {
102
+ document.addEventListener("focusin", this.#onFocusIn, {
103
103
  capture: true,
104
104
  signal
105
105
  });
@@ -253,7 +253,7 @@ var RovingTabIndex = class _RovingTabIndex {
253
253
  * Lightweight roving tabindex utility with fully focus management.
254
254
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
255
255
  *
256
- * @version 3.0.13
256
+ * @version 3.0.14
257
257
  * @author Yusuke Kamiyamane
258
258
  * @license MIT
259
259
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Lightweight roving tabindex utility with fully focus management.
4
4
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
5
5
  *
6
- * @version 3.0.13
6
+ * @version 3.0.14
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Lightweight roving tabindex utility with fully focus management.
4
4
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
5
5
  *
6
- * @version 3.0.13
6
+ * @version 3.0.14
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.js CHANGED
@@ -97,7 +97,7 @@ var RovingTabIndex = class _RovingTabIndex {
97
97
  }
98
98
  this.#controller = new AbortController();
99
99
  const { signal } = this.#controller;
100
- this.#container.addEventListener("focusin", this.#onFocusIn, {
100
+ document.addEventListener("focusin", this.#onFocusIn, {
101
101
  capture: true,
102
102
  signal
103
103
  });
@@ -251,7 +251,7 @@ var RovingTabIndex = class _RovingTabIndex {
251
251
  * Lightweight roving tabindex utility with fully focus management.
252
252
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
253
253
  *
254
- * @version 3.0.13
254
+ * @version 3.0.14
255
255
  * @author Yusuke Kamiyamane
256
256
  * @license MIT
257
257
  * @copyright Copyright (c) Yusuke Kamiyamane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/roving-tabindex",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "description": "Lightweight roving tabindex utility with fully focus management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",