@y14e/roving-tabindex 2.0.5 → 2.0.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/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@2.0.5';
13
+ import { createRovingTabIndex } from '@y14e/roving-tabindex@2.0.6';
14
14
 
15
15
  // CDNs
16
- import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@2.0.5';
16
+ import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@2.0.6';
17
17
  // or
18
- import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@2.0.5/+esm';
18
+ import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@2.0.6/+esm';
19
19
  // or
20
- import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@2.0.5';
20
+ import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@2.0.6';
21
21
  ```
22
22
 
23
23
  ## 📦 APIs
package/dist/index.cjs CHANGED
@@ -514,7 +514,8 @@ var RovingTabIndex = class {
514
514
  return getFocusables(this.#container, {
515
515
  composed: true,
516
516
  filter: this.#selectorFilter,
517
- skipNegativeTabIndexCheck: !this.#options.navigationOnly
517
+ skipNegativeTabIndexCheck: !this.#options.navigationOnly,
518
+ skipVisibilityCheck: true
518
519
  });
519
520
  }
520
521
  };
@@ -533,7 +534,7 @@ function getActiveElement() {
533
534
  * Lightweight roving tabindex utility with fully focus management.
534
535
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
535
536
  *
536
- * @version 2.0.5
537
+ * @version 2.0.6
537
538
  * @author Yusuke Kamiyamane
538
539
  * @license MIT
539
540
  * @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 2.0.5
6
+ * @version 2.0.6
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 2.0.5
6
+ * @version 2.0.6
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.js CHANGED
@@ -512,7 +512,8 @@ var RovingTabIndex = class {
512
512
  return getFocusables(this.#container, {
513
513
  composed: true,
514
514
  filter: this.#selectorFilter,
515
- skipNegativeTabIndexCheck: !this.#options.navigationOnly
515
+ skipNegativeTabIndexCheck: !this.#options.navigationOnly,
516
+ skipVisibilityCheck: true
516
517
  });
517
518
  }
518
519
  };
@@ -531,7 +532,7 @@ function getActiveElement() {
531
532
  * Lightweight roving tabindex utility with fully focus management.
532
533
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
533
534
  *
534
- * @version 2.0.5
535
+ * @version 2.0.6
535
536
  * @author Yusuke Kamiyamane
536
537
  * @license MIT
537
538
  * @copyright Copyright (c) Yusuke Kamiyamane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/roving-tabindex",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Lightweight roving tabindex utility with fully focus management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",