phoenix_live_view 1.0.15 → 1.0.16
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/assets/js/phoenix_live_view/aria.js +1 -1
- package/package.json +1 -1
- package/priv/static/phoenix_live_view.cjs.js +2 -2
- package/priv/static/phoenix_live_view.cjs.js.map +2 -2
- package/priv/static/phoenix_live_view.esm.js +2 -2
- package/priv/static/phoenix_live_view.esm.js.map +2 -2
- package/priv/static/phoenix_live_view.js +2 -2
- package/priv/static/phoenix_live_view.min.js +4 -4
|
@@ -7,7 +7,7 @@ let ARIA = {
|
|
|
7
7
|
(el instanceof HTMLAreaElement && el.href !== undefined) ||
|
|
8
8
|
(!el.disabled && (this.anyOf(el, [HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement, HTMLButtonElement]))) ||
|
|
9
9
|
(el instanceof HTMLIFrameElement) ||
|
|
10
|
-
(el.tabIndex >= 0 || (!interactiveOnly && el.getAttribute("tabindex") !== null && el.getAttribute("aria-hidden") !== "true"))
|
|
10
|
+
((el.tabIndex >= 0 && el.getAttribute("aria-hidden") !== "true") || (!interactiveOnly && el.getAttribute("tabindex") !== null && el.getAttribute("aria-hidden") !== "true"))
|
|
11
11
|
)
|
|
12
12
|
},
|
|
13
13
|
|
package/package.json
CHANGED
|
@@ -1069,7 +1069,7 @@ var ARIA = {
|
|
|
1069
1069
|
return classes.find((name) => instance instanceof name);
|
|
1070
1070
|
},
|
|
1071
1071
|
isFocusable(el, interactiveOnly) {
|
|
1072
|
-
return el instanceof HTMLAnchorElement && el.rel !== "ignore" || el instanceof HTMLAreaElement && el.href !== void 0 || !el.disabled && this.anyOf(el, [HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement, HTMLButtonElement]) || el instanceof HTMLIFrameElement || (el.tabIndex >= 0 || !interactiveOnly && el.getAttribute("tabindex") !== null && el.getAttribute("aria-hidden") !== "true");
|
|
1072
|
+
return el instanceof HTMLAnchorElement && el.rel !== "ignore" || el instanceof HTMLAreaElement && el.href !== void 0 || !el.disabled && this.anyOf(el, [HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement, HTMLButtonElement]) || el instanceof HTMLIFrameElement || (el.tabIndex >= 0 && el.getAttribute("aria-hidden") !== "true" || !interactiveOnly && el.getAttribute("tabindex") !== null && el.getAttribute("aria-hidden") !== "true");
|
|
1073
1073
|
},
|
|
1074
1074
|
attemptFocus(el, interactiveOnly) {
|
|
1075
1075
|
if (this.isFocusable(el, interactiveOnly)) {
|
|
@@ -4864,7 +4864,7 @@ var LiveSocket = class {
|
|
|
4864
4864
|
}
|
|
4865
4865
|
// public
|
|
4866
4866
|
version() {
|
|
4867
|
-
return "1.0.
|
|
4867
|
+
return "1.0.16";
|
|
4868
4868
|
}
|
|
4869
4869
|
isProfileEnabled() {
|
|
4870
4870
|
return this.sessionStorage.getItem(PHX_LV_PROFILE) === "true";
|