@y14e/roving-tabindex 3.0.12 → 3.0.13
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 +9 -3
- package/dist/index.bundle.js +9 -3
- package/dist/index.cjs +9 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -3
- 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@3.0.
|
|
13
|
+
import { createRovingTabIndex } from '@y14e/roving-tabindex@3.0.13';
|
|
14
14
|
|
|
15
15
|
// CDNs
|
|
16
|
-
import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.0.
|
|
16
|
+
import { createRovingTabIndex } from 'https://esm.sh/@y14e/roving-tabindex@3.0.13';
|
|
17
17
|
// or
|
|
18
|
-
import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.0.
|
|
18
|
+
import { createRovingTabIndex } from 'https://cdn.jsdelivr.net/npm/@y14e/roving-tabindex@3.0.13/+esm';
|
|
19
19
|
// or
|
|
20
|
-
import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.0.
|
|
20
|
+
import { createRovingTabIndex } from 'https://esm.unpkg.com/@y14e/roving-tabindex@3.0.13';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 📦 APIs
|
package/dist/index.bundle.cjs
CHANGED
|
@@ -294,8 +294,14 @@ function createRovingTabIndex(container, options = {}) {
|
|
|
294
294
|
return () => {
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
try {
|
|
298
|
+
const roving = new RovingTabIndex(container, options);
|
|
299
|
+
return () => roving.destroy();
|
|
300
|
+
} catch (error) {
|
|
301
|
+
error instanceof Error && console.warn(error.message || error);
|
|
302
|
+
return () => {
|
|
303
|
+
};
|
|
304
|
+
}
|
|
299
305
|
}
|
|
300
306
|
var RovingTabIndex = class _RovingTabIndex {
|
|
301
307
|
static #initialized = /* @__PURE__ */ new Set();
|
|
@@ -531,7 +537,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
531
537
|
* Lightweight roving tabindex utility with fully focus management.
|
|
532
538
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
533
539
|
*
|
|
534
|
-
* @version 3.0.
|
|
540
|
+
* @version 3.0.13
|
|
535
541
|
* @author Yusuke Kamiyamane
|
|
536
542
|
* @license MIT
|
|
537
543
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.bundle.js
CHANGED
|
@@ -292,8 +292,14 @@ function createRovingTabIndex(container, options = {}) {
|
|
|
292
292
|
return () => {
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
try {
|
|
296
|
+
const roving = new RovingTabIndex(container, options);
|
|
297
|
+
return () => roving.destroy();
|
|
298
|
+
} catch (error) {
|
|
299
|
+
error instanceof Error && console.warn(error.message || error);
|
|
300
|
+
return () => {
|
|
301
|
+
};
|
|
302
|
+
}
|
|
297
303
|
}
|
|
298
304
|
var RovingTabIndex = class _RovingTabIndex {
|
|
299
305
|
static #initialized = /* @__PURE__ */ new Set();
|
|
@@ -529,7 +535,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
529
535
|
* Lightweight roving tabindex utility with fully focus management.
|
|
530
536
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
531
537
|
*
|
|
532
|
-
* @version 3.0.
|
|
538
|
+
* @version 3.0.13
|
|
533
539
|
* @author Yusuke Kamiyamane
|
|
534
540
|
* @license MIT
|
|
535
541
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.cjs
CHANGED
|
@@ -10,8 +10,14 @@ function createRovingTabIndex(container, options = {}) {
|
|
|
10
10
|
return () => {
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
try {
|
|
14
|
+
const roving = new RovingTabIndex(container, options);
|
|
15
|
+
return () => roving.destroy();
|
|
16
|
+
} catch (error) {
|
|
17
|
+
error instanceof Error && console.warn(error.message || error);
|
|
18
|
+
return () => {
|
|
19
|
+
};
|
|
20
|
+
}
|
|
15
21
|
}
|
|
16
22
|
var RovingTabIndex = class _RovingTabIndex {
|
|
17
23
|
static #initialized = /* @__PURE__ */ new Set();
|
|
@@ -247,7 +253,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
247
253
|
* Lightweight roving tabindex utility with fully focus management.
|
|
248
254
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
249
255
|
*
|
|
250
|
-
* @version 3.0.
|
|
256
|
+
* @version 3.0.13
|
|
251
257
|
* @author Yusuke Kamiyamane
|
|
252
258
|
* @license MIT
|
|
253
259
|
* @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.0.
|
|
6
|
+
* @version 3.0.13
|
|
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.0.
|
|
6
|
+
* @version 3.0.13
|
|
7
7
|
* @author Yusuke Kamiyamane
|
|
8
8
|
* @license MIT
|
|
9
9
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.js
CHANGED
|
@@ -8,8 +8,14 @@ function createRovingTabIndex(container, options = {}) {
|
|
|
8
8
|
return () => {
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
try {
|
|
12
|
+
const roving = new RovingTabIndex(container, options);
|
|
13
|
+
return () => roving.destroy();
|
|
14
|
+
} catch (error) {
|
|
15
|
+
error instanceof Error && console.warn(error.message || error);
|
|
16
|
+
return () => {
|
|
17
|
+
};
|
|
18
|
+
}
|
|
13
19
|
}
|
|
14
20
|
var RovingTabIndex = class _RovingTabIndex {
|
|
15
21
|
static #initialized = /* @__PURE__ */ new Set();
|
|
@@ -245,7 +251,7 @@ var RovingTabIndex = class _RovingTabIndex {
|
|
|
245
251
|
* Lightweight roving tabindex utility with fully focus management.
|
|
246
252
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
247
253
|
*
|
|
248
|
-
* @version 3.0.
|
|
254
|
+
* @version 3.0.13
|
|
249
255
|
* @author Yusuke Kamiyamane
|
|
250
256
|
* @license MIT
|
|
251
257
|
* @copyright Copyright (c) Yusuke Kamiyamane
|