@y14e/roving-tabindex 3.1.10 → 3.1.11
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 +3 -3
- package/dist/index.bundle.cjs +2 -2
- package/dist/index.bundle.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
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.
|
|
16
|
+
import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.1.11';
|
|
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.11/+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.11';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 📦 APIs
|
package/dist/index.bundle.cjs
CHANGED
|
@@ -339,7 +339,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
339
339
|
console.warn("Invalid noStart option. Fallback: false.");
|
|
340
340
|
noStart = false;
|
|
341
341
|
}
|
|
342
|
-
if (selector && (typeof selector !== "string" || !selector.trim())) {
|
|
342
|
+
if (selector !== "" && (typeof selector !== "string" || !selector.trim())) {
|
|
343
343
|
console.warn("Invalid selector. Fallback: no selector string.");
|
|
344
344
|
selector = "";
|
|
345
345
|
}
|
|
@@ -538,7 +538,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
538
538
|
* Lightweight roving tabindex utility with fully focus management.
|
|
539
539
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
540
540
|
*
|
|
541
|
-
* @version 3.1.
|
|
541
|
+
* @version 3.1.11
|
|
542
542
|
* @author Yusuke Kamiyamane
|
|
543
543
|
* @license MIT
|
|
544
544
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.bundle.js
CHANGED
|
@@ -337,7 +337,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
337
337
|
console.warn("Invalid noStart option. Fallback: false.");
|
|
338
338
|
noStart = false;
|
|
339
339
|
}
|
|
340
|
-
if (selector && (typeof selector !== "string" || !selector.trim())) {
|
|
340
|
+
if (selector !== "" && (typeof selector !== "string" || !selector.trim())) {
|
|
341
341
|
console.warn("Invalid selector. Fallback: no selector string.");
|
|
342
342
|
selector = "";
|
|
343
343
|
}
|
|
@@ -536,7 +536,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
536
536
|
* Lightweight roving tabindex utility with fully focus management.
|
|
537
537
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
538
538
|
*
|
|
539
|
-
* @version 3.1.
|
|
539
|
+
* @version 3.1.11
|
|
540
540
|
* @author Yusuke Kamiyamane
|
|
541
541
|
* @license MIT
|
|
542
542
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.cjs
CHANGED
|
@@ -55,7 +55,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
55
55
|
console.warn("Invalid noStart option. Fallback: false.");
|
|
56
56
|
noStart = false;
|
|
57
57
|
}
|
|
58
|
-
if (selector && (typeof selector !== "string" || !selector.trim())) {
|
|
58
|
+
if (selector !== "" && (typeof selector !== "string" || !selector.trim())) {
|
|
59
59
|
console.warn("Invalid selector. Fallback: no selector string.");
|
|
60
60
|
selector = "";
|
|
61
61
|
}
|
|
@@ -254,7 +254,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
254
254
|
* Lightweight roving tabindex utility with fully focus management.
|
|
255
255
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
256
256
|
*
|
|
257
|
-
* @version 3.1.
|
|
257
|
+
* @version 3.1.11
|
|
258
258
|
* @author Yusuke Kamiyamane
|
|
259
259
|
* @license MIT
|
|
260
260
|
* @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.11
|
|
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.11
|
|
7
7
|
* @author Yusuke Kamiyamane
|
|
8
8
|
* @license MIT
|
|
9
9
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.js
CHANGED
|
@@ -53,7 +53,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
53
53
|
console.warn("Invalid noStart option. Fallback: false.");
|
|
54
54
|
noStart = false;
|
|
55
55
|
}
|
|
56
|
-
if (selector && (typeof selector !== "string" || !selector.trim())) {
|
|
56
|
+
if (selector !== "" && (typeof selector !== "string" || !selector.trim())) {
|
|
57
57
|
console.warn("Invalid selector. Fallback: no selector string.");
|
|
58
58
|
selector = "";
|
|
59
59
|
}
|
|
@@ -252,7 +252,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
252
252
|
* Lightweight roving tabindex utility with fully focus management.
|
|
253
253
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
254
254
|
*
|
|
255
|
-
* @version 3.1.
|
|
255
|
+
* @version 3.1.11
|
|
256
256
|
* @author Yusuke Kamiyamane
|
|
257
257
|
* @license MIT
|
|
258
258
|
* @copyright Copyright (c) Yusuke Kamiyamane
|