@y14e/roving-tabindex 3.1.2 → 3.1.3
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 +4 -4
- package/dist/index.bundle.cjs +2 -8
- package/dist/index.bundle.js +2 -8
- package/dist/index.cjs +2 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -8
- package/package.json +1 -1
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
|
|
13
|
+
import { createRovingTabIndex } from '@y14e/roving-tabindex';
|
|
14
14
|
|
|
15
15
|
// CDNs
|
|
16
|
-
import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.1.
|
|
16
|
+
import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.1.3';
|
|
17
17
|
// or
|
|
18
|
-
import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.1.
|
|
18
|
+
import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.1.3/+esm';
|
|
19
19
|
// or
|
|
20
|
-
import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.1.
|
|
20
|
+
import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.1.3';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 📦 APIs
|
package/dist/index.bundle.cjs
CHANGED
|
@@ -353,13 +353,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
353
353
|
console.warn("Invalid wrap option. Fallback: false.");
|
|
354
354
|
wrap = false;
|
|
355
355
|
}
|
|
356
|
-
this.#settings = {
|
|
357
|
-
navigationOnly,
|
|
358
|
-
noMemory,
|
|
359
|
-
noStart,
|
|
360
|
-
typeahead,
|
|
361
|
-
wrap
|
|
362
|
-
};
|
|
356
|
+
this.#settings = { navigationOnly, noMemory, noStart, typeahead, wrap };
|
|
363
357
|
direction && Object.assign(this.#settings, { direction });
|
|
364
358
|
selector && Object.assign(this.#settings, { selector });
|
|
365
359
|
this.#selectorFilter = this.#createSelectorFilter();
|
|
@@ -537,7 +531,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
537
531
|
* Lightweight roving tabindex utility with fully focus management.
|
|
538
532
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
539
533
|
*
|
|
540
|
-
* @version 3.1.
|
|
534
|
+
* @version 3.1.3
|
|
541
535
|
* @author Yusuke Kamiyamane
|
|
542
536
|
* @license MIT
|
|
543
537
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.bundle.js
CHANGED
|
@@ -351,13 +351,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
351
351
|
console.warn("Invalid wrap option. Fallback: false.");
|
|
352
352
|
wrap = false;
|
|
353
353
|
}
|
|
354
|
-
this.#settings = {
|
|
355
|
-
navigationOnly,
|
|
356
|
-
noMemory,
|
|
357
|
-
noStart,
|
|
358
|
-
typeahead,
|
|
359
|
-
wrap
|
|
360
|
-
};
|
|
354
|
+
this.#settings = { navigationOnly, noMemory, noStart, typeahead, wrap };
|
|
361
355
|
direction && Object.assign(this.#settings, { direction });
|
|
362
356
|
selector && Object.assign(this.#settings, { selector });
|
|
363
357
|
this.#selectorFilter = this.#createSelectorFilter();
|
|
@@ -535,7 +529,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
535
529
|
* Lightweight roving tabindex utility with fully focus management.
|
|
536
530
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
537
531
|
*
|
|
538
|
-
* @version 3.1.
|
|
532
|
+
* @version 3.1.3
|
|
539
533
|
* @author Yusuke Kamiyamane
|
|
540
534
|
* @license MIT
|
|
541
535
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.cjs
CHANGED
|
@@ -69,13 +69,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
69
69
|
console.warn("Invalid wrap option. Fallback: false.");
|
|
70
70
|
wrap = false;
|
|
71
71
|
}
|
|
72
|
-
this.#settings = {
|
|
73
|
-
navigationOnly,
|
|
74
|
-
noMemory,
|
|
75
|
-
noStart,
|
|
76
|
-
typeahead,
|
|
77
|
-
wrap
|
|
78
|
-
};
|
|
72
|
+
this.#settings = { navigationOnly, noMemory, noStart, typeahead, wrap };
|
|
79
73
|
direction && Object.assign(this.#settings, { direction });
|
|
80
74
|
selector && Object.assign(this.#settings, { selector });
|
|
81
75
|
this.#selectorFilter = this.#createSelectorFilter();
|
|
@@ -253,7 +247,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
253
247
|
* Lightweight roving tabindex utility with fully focus management.
|
|
254
248
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
255
249
|
*
|
|
256
|
-
* @version 3.1.
|
|
250
|
+
* @version 3.1.3
|
|
257
251
|
* @author Yusuke Kamiyamane
|
|
258
252
|
* @license MIT
|
|
259
253
|
* @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.1.
|
|
6
|
+
* @version 3.1.3
|
|
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.1.
|
|
6
|
+
* @version 3.1.3
|
|
7
7
|
* @author Yusuke Kamiyamane
|
|
8
8
|
* @license MIT
|
|
9
9
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.js
CHANGED
|
@@ -67,13 +67,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
67
67
|
console.warn("Invalid wrap option. Fallback: false.");
|
|
68
68
|
wrap = false;
|
|
69
69
|
}
|
|
70
|
-
this.#settings = {
|
|
71
|
-
navigationOnly,
|
|
72
|
-
noMemory,
|
|
73
|
-
noStart,
|
|
74
|
-
typeahead,
|
|
75
|
-
wrap
|
|
76
|
-
};
|
|
70
|
+
this.#settings = { navigationOnly, noMemory, noStart, typeahead, wrap };
|
|
77
71
|
direction && Object.assign(this.#settings, { direction });
|
|
78
72
|
selector && Object.assign(this.#settings, { selector });
|
|
79
73
|
this.#selectorFilter = this.#createSelectorFilter();
|
|
@@ -251,7 +245,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
251
245
|
* Lightweight roving tabindex utility with fully focus management.
|
|
252
246
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
253
247
|
*
|
|
254
|
-
* @version 3.1.
|
|
248
|
+
* @version 3.1.3
|
|
255
249
|
* @author Yusuke Kamiyamane
|
|
256
250
|
* @license MIT
|
|
257
251
|
* @copyright Copyright (c) Yusuke Kamiyamane
|