@y14e/roving-tabindex 3.1.23 → 3.1.24

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.23';
16
+ import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.1.24';
17
17
  // or
18
- import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.1.23/+esm';
18
+ import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.1.24/+esm';
19
19
  // or
20
- import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.1.23';
20
+ import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.1.24';
21
21
  ```
22
22
 
23
23
  ## 📦 APIs
@@ -38,16 +38,16 @@ const cleanup = createRovingTabIndex(container, options);
38
38
 
39
39
  ```ts
40
40
  interface RovingTabIndexOptions {
41
- direction: RovingTabIndexDirection; // default: 'both'
42
- navigationOnly: boolean; // default: false
43
- noMemory: boolean; // default: false
44
- noStart: boolean; // default: false
45
- selector: string; // default: ''
46
- typeahead: boolean; // default: false
47
- wrap: boolean; // default: false
41
+ direction: Direction; // default: 'both'
42
+ navigationOnly: boolean; // default: false
43
+ noMemory: boolean; // default: false
44
+ noStart: boolean; // default: false
45
+ selector: string; // default: ''
46
+ typeahead: boolean; // default: false
47
+ wrap: boolean; // default: false
48
48
  }
49
49
 
50
- type RovingTabIndexDirection = 'both' | 'horizontal' | 'vertical';
50
+ type Direction = 'both' | 'horizontal' | 'vertical';
51
51
  ```
52
52
 
53
53
  ### `navigationOnly`
@@ -591,7 +591,7 @@ var RovingTabIndex = class _RovingTabIndex {
591
591
  * Lightweight roving tabindex utility with fully focus management.
592
592
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
593
593
  *
594
- * @version 3.1.23
594
+ * @version 3.1.24
595
595
  * @author Yusuke Kamiyamane
596
596
  * @license MIT
597
597
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -589,7 +589,7 @@ var RovingTabIndex = class _RovingTabIndex {
589
589
  * Lightweight roving tabindex utility with fully focus management.
590
590
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
591
591
  *
592
- * @version 3.1.23
592
+ * @version 3.1.24
593
593
  * @author Yusuke Kamiyamane
594
594
  * @license MIT
595
595
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.cjs CHANGED
@@ -296,7 +296,7 @@ var RovingTabIndex = class _RovingTabIndex {
296
296
  * Lightweight roving tabindex utility with fully focus management.
297
297
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
298
298
  *
299
- * @version 3.1.23
299
+ * @version 3.1.24
300
300
  * @author Yusuke Kamiyamane
301
301
  * @license MIT
302
302
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.cts CHANGED
@@ -3,14 +3,14 @@
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.23
6
+ * @version 3.1.24
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
- direction: RovingTabIndexDirection;
13
+ direction: Direction;
14
14
  navigationOnly: boolean;
15
15
  noMemory: boolean;
16
16
  noStart: boolean;
@@ -18,7 +18,7 @@ interface RovingTabIndexOptions {
18
18
  typeahead: boolean;
19
19
  wrap: boolean;
20
20
  }
21
- type RovingTabIndexDirection = 'both' | 'horizontal' | 'vertical';
21
+ type Direction = 'both' | 'horizontal' | 'vertical';
22
22
  declare function createRovingTabIndex(container: Element, options?: Partial<RovingTabIndexOptions>): () => void;
23
23
 
24
24
  export { type RovingTabIndexOptions, createRovingTabIndex };
package/dist/index.d.ts CHANGED
@@ -3,14 +3,14 @@
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.23
6
+ * @version 3.1.24
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
- direction: RovingTabIndexDirection;
13
+ direction: Direction;
14
14
  navigationOnly: boolean;
15
15
  noMemory: boolean;
16
16
  noStart: boolean;
@@ -18,7 +18,7 @@ interface RovingTabIndexOptions {
18
18
  typeahead: boolean;
19
19
  wrap: boolean;
20
20
  }
21
- type RovingTabIndexDirection = 'both' | 'horizontal' | 'vertical';
21
+ type Direction = 'both' | 'horizontal' | 'vertical';
22
22
  declare function createRovingTabIndex(container: Element, options?: Partial<RovingTabIndexOptions>): () => void;
23
23
 
24
24
  export { type RovingTabIndexOptions, createRovingTabIndex };
package/dist/index.js CHANGED
@@ -273,7 +273,7 @@ var RovingTabIndex = class _RovingTabIndex {
273
273
  * Lightweight roving tabindex utility with fully focus management.
274
274
  * Designed for accessible menus, tabs, toolbars, and composite widgets.
275
275
  *
276
- * @version 3.1.23
276
+ * @version 3.1.24
277
277
  * @author Yusuke Kamiyamane
278
278
  * @license MIT
279
279
  * @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.23",
3
+ "version": "3.1.24",
4
4
  "description": "Lightweight roving tabindex utility with fully focus management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",