@y14e/roving-tabindex 3.1.6 → 3.1.8

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
@@ -13,11 +13,11 @@ npm i @y14e/roving-tabindex
13
13
  import { createRovingTabIndex } from '@y14e/roving-tabindex';
14
14
 
15
15
  // CDNs
16
- import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.1.6';
16
+ import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.1.8';
17
17
  // or
18
- import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.1.6/+esm';
18
+ import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.1.8/+esm';
19
19
  // or
20
- import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.1.6';
20
+ import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.1.8';
21
21
  ```
22
22
 
23
23
  ## 📦 APIs
@@ -38,13 +38,13 @@ const cleanup = createRovingTabIndex(container, options);
38
38
 
39
39
  ```ts
40
40
  interface RovingTabIndexOptions {
41
- direction?: 'horizontal' | 'vertical'; // default: both (undefined)
42
- navigationOnly?: boolean; // default: false
43
- noMemory?: boolean; // default: false
44
- noStart?: boolean; // default: false
45
- selector?: string;
46
- typeahead?: boolean; // default: false
47
- wrap?: boolean; // default: false
41
+ direction: 'horizontal' | 'vertical'; // default: both (undefined)
42
+ navigationOnly: boolean; // default: false
43
+ noMemory: boolean; // default: false
44
+ noStart: boolean; // default: false
45
+ selector: string;
46
+ typeahead: boolean; // default: false
47
+ wrap: boolean; // default: false
48
48
  }
49
49
  ```
50
50
 
@@ -534,7 +534,7 @@ var RovingTabIndex = class _RovingTabIndex {
534
534
  * Lightweight roving tabindex utility with fully focus management.
535
535
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
536
536
  *
537
- * @version 3.1.6
537
+ * @version 3.1.8
538
538
  * @author Yusuke Kamiyamane
539
539
  * @license MIT
540
540
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -559,7 +559,7 @@ power-focusable/dist/index.js:
559
559
  * High-precision focus management utility with full composed tree support.
560
560
  * Handles complex focus rules including tabindex ordering, radio groups, inert.
561
561
  *
562
- * @version 4.3.8
562
+ * @version 4.3.10
563
563
  * @author Yusuke Kamiyamane
564
564
  * @license MIT
565
565
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -532,7 +532,7 @@ var RovingTabIndex = class _RovingTabIndex {
532
532
  * Lightweight roving tabindex utility with fully focus management.
533
533
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
534
534
  *
535
- * @version 3.1.6
535
+ * @version 3.1.8
536
536
  * @author Yusuke Kamiyamane
537
537
  * @license MIT
538
538
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -557,7 +557,7 @@ power-focusable/dist/index.js:
557
557
  * High-precision focus management utility with full composed tree support.
558
558
  * Handles complex focus rules including tabindex ordering, radio groups, inert.
559
559
  *
560
- * @version 4.3.8
560
+ * @version 4.3.10
561
561
  * @author Yusuke Kamiyamane
562
562
  * @license MIT
563
563
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.cjs CHANGED
@@ -250,7 +250,7 @@ var RovingTabIndex = class _RovingTabIndex {
250
250
  * Lightweight roving tabindex utility with fully focus management.
251
251
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
252
252
  *
253
- * @version 3.1.6
253
+ * @version 3.1.8
254
254
  * @author Yusuke Kamiyamane
255
255
  * @license MIT
256
256
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.cts CHANGED
@@ -3,21 +3,21 @@
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.1.6
6
+ * @version 3.1.8
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
10
10
  * @see {@link https://github.com/y14e/roving-tabindex}
11
11
  */
12
12
  interface RovingTabIndexOptions {
13
- readonly direction?: 'horizontal' | 'vertical';
14
- readonly navigationOnly?: boolean;
15
- readonly noMemory?: boolean;
16
- readonly noStart?: boolean;
17
- readonly selector?: string;
18
- readonly typeahead?: boolean;
19
- readonly wrap?: boolean;
13
+ direction: 'horizontal' | 'vertical';
14
+ navigationOnly: boolean;
15
+ noMemory: boolean;
16
+ noStart: boolean;
17
+ selector: string;
18
+ typeahead: boolean;
19
+ wrap: boolean;
20
20
  }
21
- declare function createRovingTabIndex(container: Element, options?: RovingTabIndexOptions): () => void;
21
+ declare function createRovingTabIndex(container: Element, options?: Partial<RovingTabIndexOptions>): () => void;
22
22
 
23
23
  export { createRovingTabIndex };
package/dist/index.d.ts CHANGED
@@ -3,21 +3,21 @@
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.1.6
6
+ * @version 3.1.8
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
10
10
  * @see {@link https://github.com/y14e/roving-tabindex}
11
11
  */
12
12
  interface RovingTabIndexOptions {
13
- readonly direction?: 'horizontal' | 'vertical';
14
- readonly navigationOnly?: boolean;
15
- readonly noMemory?: boolean;
16
- readonly noStart?: boolean;
17
- readonly selector?: string;
18
- readonly typeahead?: boolean;
19
- readonly wrap?: boolean;
13
+ direction: 'horizontal' | 'vertical';
14
+ navigationOnly: boolean;
15
+ noMemory: boolean;
16
+ noStart: boolean;
17
+ selector: string;
18
+ typeahead: boolean;
19
+ wrap: boolean;
20
20
  }
21
- declare function createRovingTabIndex(container: Element, options?: RovingTabIndexOptions): () => void;
21
+ declare function createRovingTabIndex(container: Element, options?: Partial<RovingTabIndexOptions>): () => void;
22
22
 
23
23
  export { createRovingTabIndex };
package/dist/index.js CHANGED
@@ -248,7 +248,7 @@ var RovingTabIndex = class _RovingTabIndex {
248
248
  * Lightweight roving tabindex utility with fully focus management.
249
249
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
250
250
  *
251
- * @version 3.1.6
251
+ * @version 3.1.8
252
252
  * @author Yusuke Kamiyamane
253
253
  * @license MIT
254
254
  * @copyright Copyright (c) Yusuke Kamiyamane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/roving-tabindex",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "Lightweight roving tabindex utility with fully focus management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -57,6 +57,6 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@y14e/attributes-utils": "^1.1.3",
60
- "power-focusable": "^4.3.8"
60
+ "power-focusable": "^4.3.10"
61
61
  }
62
62
  }