@y14e/roving-tabindex 3.0.6 → 3.0.7
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.cjs +5 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -2
- 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.7';
|
|
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.7';
|
|
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.7/+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.7';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 📦 APIs
|
package/dist/index.cjs
CHANGED
|
@@ -528,7 +528,7 @@ function getActiveElement() {
|
|
|
528
528
|
* Lightweight roving tabindex utility with fully focus management.
|
|
529
529
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
530
530
|
*
|
|
531
|
-
* @version 3.0.
|
|
531
|
+
* @version 3.0.7
|
|
532
532
|
* @author Yusuke Kamiyamane
|
|
533
533
|
* @license MIT
|
|
534
534
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
@@ -561,4 +561,8 @@ power-focusable/dist/index.js:
|
|
|
561
561
|
*)
|
|
562
562
|
*/
|
|
563
563
|
|
|
564
|
+
exports.addTokenToAttribute = addTokenToAttribute;
|
|
564
565
|
exports.createRovingTabIndex = createRovingTabIndex;
|
|
566
|
+
exports.getFocusables = getFocusables;
|
|
567
|
+
exports.restoreAttributes = restoreAttributes;
|
|
568
|
+
exports.saveAttributes = saveAttributes;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
export { addTokenToAttribute, restoreAttributes, saveAttributes } from '@y14e/attributes-utils';
|
|
2
|
+
export { getFocusables } from 'power-focusable';
|
|
3
|
+
|
|
1
4
|
/**
|
|
2
5
|
* Roving Tabindex
|
|
3
6
|
* Lightweight roving tabindex utility with fully focus management.
|
|
4
7
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
5
8
|
*
|
|
6
|
-
* @version 3.0.
|
|
9
|
+
* @version 3.0.7
|
|
7
10
|
* @author Yusuke Kamiyamane
|
|
8
11
|
* @license MIT
|
|
9
12
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
10
13
|
* @see {@link https://github.com/y14e/roving-tabindex}
|
|
11
14
|
*/
|
|
15
|
+
|
|
12
16
|
interface RovingTabIndexOptions {
|
|
13
17
|
readonly direction?: 'horizontal' | 'vertical';
|
|
14
18
|
readonly navigationOnly?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
export { addTokenToAttribute, restoreAttributes, saveAttributes } from '@y14e/attributes-utils';
|
|
2
|
+
export { getFocusables } from 'power-focusable';
|
|
3
|
+
|
|
1
4
|
/**
|
|
2
5
|
* Roving Tabindex
|
|
3
6
|
* Lightweight roving tabindex utility with fully focus management.
|
|
4
7
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
5
8
|
*
|
|
6
|
-
* @version 3.0.
|
|
9
|
+
* @version 3.0.7
|
|
7
10
|
* @author Yusuke Kamiyamane
|
|
8
11
|
* @license MIT
|
|
9
12
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
10
13
|
* @see {@link https://github.com/y14e/roving-tabindex}
|
|
11
14
|
*/
|
|
15
|
+
|
|
12
16
|
interface RovingTabIndexOptions {
|
|
13
17
|
readonly direction?: 'horizontal' | 'vertical';
|
|
14
18
|
readonly navigationOnly?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -526,7 +526,7 @@ function getActiveElement() {
|
|
|
526
526
|
* Lightweight roving tabindex utility with fully focus management.
|
|
527
527
|
* Designed for accessible menus, tabs, toolbars, and composite widgets.
|
|
528
528
|
*
|
|
529
|
-
* @version 3.0.
|
|
529
|
+
* @version 3.0.7
|
|
530
530
|
* @author Yusuke Kamiyamane
|
|
531
531
|
* @license MIT
|
|
532
532
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
@@ -559,4 +559,4 @@ power-focusable/dist/index.js:
|
|
|
559
559
|
*)
|
|
560
560
|
*/
|
|
561
561
|
|
|
562
|
-
export { createRovingTabIndex };
|
|
562
|
+
export { addTokenToAttribute, createRovingTabIndex, getFocusables, restoreAttributes, saveAttributes };
|