power-focusable 4.2.0 → 4.2.1
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/dist/index.cjs +5 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -66,6 +66,10 @@ function getFocusables(container = document.body, options = {}) {
|
|
|
66
66
|
);
|
|
67
67
|
include = void 0;
|
|
68
68
|
}
|
|
69
|
+
if (typeof skipVisibilityCheck !== "boolean") {
|
|
70
|
+
console.warn("Invalid skipVisibilityCheck option. Fallback: false.");
|
|
71
|
+
skipVisibilityCheck = false;
|
|
72
|
+
}
|
|
69
73
|
const elements = [];
|
|
70
74
|
if (composed || include) {
|
|
71
75
|
let traverse2 = function(node) {
|
|
@@ -455,7 +459,7 @@ function isUngroupedRadio(element) {
|
|
|
455
459
|
* High-precision focus management utility with full composed tree support.
|
|
456
460
|
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
457
461
|
*
|
|
458
|
-
* @version 4.2.
|
|
462
|
+
* @version 4.2.1
|
|
459
463
|
* @author Yusuke Kamiyamane
|
|
460
464
|
* @license MIT
|
|
461
465
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* High-precision focus management utility with full composed tree support.
|
|
4
4
|
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
5
5
|
*
|
|
6
|
-
* @version 4.2.
|
|
6
|
+
* @version 4.2.1
|
|
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
|
* High-precision focus management utility with full composed tree support.
|
|
4
4
|
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
5
5
|
*
|
|
6
|
-
* @version 4.2.
|
|
6
|
+
* @version 4.2.1
|
|
7
7
|
* @author Yusuke Kamiyamane
|
|
8
8
|
* @license MIT
|
|
9
9
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.js
CHANGED
|
@@ -64,6 +64,10 @@ function getFocusables(container = document.body, options = {}) {
|
|
|
64
64
|
);
|
|
65
65
|
include = void 0;
|
|
66
66
|
}
|
|
67
|
+
if (typeof skipVisibilityCheck !== "boolean") {
|
|
68
|
+
console.warn("Invalid skipVisibilityCheck option. Fallback: false.");
|
|
69
|
+
skipVisibilityCheck = false;
|
|
70
|
+
}
|
|
67
71
|
const elements = [];
|
|
68
72
|
if (composed || include) {
|
|
69
73
|
let traverse2 = function(node) {
|
|
@@ -453,7 +457,7 @@ function isUngroupedRadio(element) {
|
|
|
453
457
|
* High-precision focus management utility with full composed tree support.
|
|
454
458
|
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
455
459
|
*
|
|
456
|
-
* @version 4.2.
|
|
460
|
+
* @version 4.2.1
|
|
457
461
|
* @author Yusuke Kamiyamane
|
|
458
462
|
* @license MIT
|
|
459
463
|
* @copyright Copyright (c) Yusuke Kamiyamane
|