Skip to content

Commit

Permalink
Update assets
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE authored and github-actions[bot] committed Feb 27, 2025
1 parent 457e477 commit ebaacf1
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 44 deletions.
33 changes: 21 additions & 12 deletions priv/static/phoenix_live_view.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.cjs.js.map

Large diffs are not rendered by default.

33 changes: 21 additions & 12 deletions priv/static/phoenix_live_view.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.esm.js.map

Large diffs are not rendered by default.

33 changes: 21 additions & 12 deletions priv/static/phoenix_live_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -2831,21 +2831,28 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
view.liveSocket.pushHistoryPatch(e, href, replace ? "replace" : "push", sourceEl);
},
exec_focus(e, eventType, phxEvent, view, sourceEl, el) {
window.requestAnimationFrame(() => aria_default.attemptFocus(el));
aria_default.attemptFocus(el);
window.requestAnimationFrame(() => {
window.requestAnimationFrame(() => aria_default.attemptFocus(el));
});
},
exec_focus_first(e, eventType, phxEvent, view, sourceEl, el) {
window.requestAnimationFrame(() => aria_default.focusFirstInteractive(el) || aria_default.focusFirst(el));
aria_default.focusFirstInteractive(el) || aria_default.focusFirst(el);
window.requestAnimationFrame(() => {
window.requestAnimationFrame(() => aria_default.focusFirstInteractive(el) || aria_default.focusFirst(el));
});
},
exec_push_focus(e, eventType, phxEvent, view, sourceEl, el) {
window.requestAnimationFrame(() => focusStack.push(el || sourceEl));
focusStack.push(el || sourceEl);
},
exec_pop_focus(_e, _eventType, _phxEvent, _view, _sourceEl, _el) {
window.requestAnimationFrame(() => {
const el = focusStack.pop();
if (el) {
el.focus();
}
});
const el = focusStack.pop();
if (el) {
el.focus();
window.requestAnimationFrame(() => {
window.requestAnimationFrame(() => el.focus());
});
}
},
exec_add_class(e, eventType, phxEvent, view, sourceEl, el, { names, transition, time, blocking }) {
this.addOrRemoveClasses(el, names, [], transition, time, view, blocking);
Expand Down Expand Up @@ -2919,11 +2926,13 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
}
let onStart = () => {
this.addOrRemoveClasses(el, inStartClasses, outClasses.concat(outStartClasses).concat(outEndClasses));
let stickyDisplay = display || this.defaultDisplay(el);
dom_default.putSticky(el, "toggle", (currentEl) => currentEl.style.display = stickyDisplay);
const stickyDisplay = display || this.defaultDisplay(el);
window.requestAnimationFrame(() => {
this.addOrRemoveClasses(el, inClasses, []);
window.requestAnimationFrame(() => this.addOrRemoveClasses(el, inEndClasses, inStartClasses));
window.requestAnimationFrame(() => {
dom_default.putSticky(el, "toggle", (currentEl) => currentEl.style.display = stickyDisplay);
this.addOrRemoveClasses(el, inEndClasses, inStartClasses);
});
});
};
let onEnd = () => {
Expand Down
8 changes: 4 additions & 4 deletions priv/static/phoenix_live_view.min.js

Large diffs are not rendered by default.

0 comments on commit ebaacf1

Please sign in to comment.