@y14e/portal 1.4.7 → 1.4.8
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.bundle.cjs +1 -4
- package/dist/index.bundle.js +1 -4
- package/dist/index.cjs +1 -4
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/index.bundle.cjs
CHANGED
|
@@ -471,10 +471,7 @@ var Portal = class {
|
|
|
471
471
|
(isPrevious ? this.#entranceSentinel : this.#exitSentinel).focus();
|
|
472
472
|
}
|
|
473
473
|
#getFocusables() {
|
|
474
|
-
return getFocusables(this.#host, {
|
|
475
|
-
composed: true,
|
|
476
|
-
include: (element) => this.#focusables.has(element)
|
|
477
|
-
});
|
|
474
|
+
return getFocusables(this.#host, { composed: true, include: (e) => this.#focusables.has(e) });
|
|
478
475
|
}
|
|
479
476
|
#moveFocus(isPrevious) {
|
|
480
477
|
const focusable = (isPrevious ? getPreviousFocusable : getNextFocusable)(document.body, {
|
package/dist/index.bundle.js
CHANGED
|
@@ -469,10 +469,7 @@ var Portal = class {
|
|
|
469
469
|
(isPrevious ? this.#entranceSentinel : this.#exitSentinel).focus();
|
|
470
470
|
}
|
|
471
471
|
#getFocusables() {
|
|
472
|
-
return getFocusables(this.#host, {
|
|
473
|
-
composed: true,
|
|
474
|
-
include: (element) => this.#focusables.has(element)
|
|
475
|
-
});
|
|
472
|
+
return getFocusables(this.#host, { composed: true, include: (e) => this.#focusables.has(e) });
|
|
476
473
|
}
|
|
477
474
|
#moveFocus(isPrevious) {
|
|
478
475
|
const focusable = (isPrevious ? getPreviousFocusable : getNextFocusable)(document.body, {
|
package/dist/index.cjs
CHANGED
|
@@ -168,10 +168,7 @@ var Portal = class {
|
|
|
168
168
|
(isPrevious ? this.#entranceSentinel : this.#exitSentinel).focus();
|
|
169
169
|
}
|
|
170
170
|
#getFocusables() {
|
|
171
|
-
return powerFocusable.getFocusables(this.#host, {
|
|
172
|
-
composed: true,
|
|
173
|
-
include: (element) => this.#focusables.has(element)
|
|
174
|
-
});
|
|
171
|
+
return powerFocusable.getFocusables(this.#host, { composed: true, include: (e) => this.#focusables.has(e) });
|
|
175
172
|
}
|
|
176
173
|
#moveFocus(isPrevious) {
|
|
177
174
|
const focusable = (isPrevious ? powerFocusable.getPreviousFocusable : powerFocusable.getNextFocusable)(document.body, {
|
package/dist/index.js
CHANGED
|
@@ -166,10 +166,7 @@ var Portal = class {
|
|
|
166
166
|
(isPrevious ? this.#entranceSentinel : this.#exitSentinel).focus();
|
|
167
167
|
}
|
|
168
168
|
#getFocusables() {
|
|
169
|
-
return getFocusables(this.#host, {
|
|
170
|
-
composed: true,
|
|
171
|
-
include: (element) => this.#focusables.has(element)
|
|
172
|
-
});
|
|
169
|
+
return getFocusables(this.#host, { composed: true, include: (e) => this.#focusables.has(e) });
|
|
173
170
|
}
|
|
174
171
|
#moveFocus(isPrevious) {
|
|
175
172
|
const focusable = (isPrevious ? getPreviousFocusable : getNextFocusable)(document.body, {
|