motion-dom
Advanced tools
Comparing version 11.16.3 to 11.16.4
@@ -35,3 +35,3 @@ 'use strict'; | ||
} | ||
else { | ||
else if (typeof fallback === "function") { | ||
return fallback(animation); | ||
@@ -425,3 +425,4 @@ } | ||
function isElementKeyboardAccessible(element) { | ||
return focusableElements.has(element.tagName) || element.tabIndex !== -1; | ||
return (focusableElements.has(element.tagName) || | ||
element.tabIndex !== -1); | ||
} | ||
@@ -798,2 +799,3 @@ | ||
this.targets = new Map(); | ||
this.notifyReady = motionUtils.noop; | ||
this.readyPromise = new Promise((resolve) => { | ||
@@ -800,0 +802,0 @@ this.notifyReady = resolve; |
@@ -306,3 +306,3 @@ interface SVGAttributes { | ||
*/ | ||
attachTimeline?: (timeline: ProgressTimeline, fallback?: (animation: AnimationPlaybackControls) => VoidFunction) => VoidFunction; | ||
attachTimeline?: (timeline: ProgressTimeline, fallback?: (animation: AnimationPlaybackControls | AnimationPlaybackControlsWithFinished) => VoidFunction) => VoidFunction; | ||
/** | ||
@@ -499,3 +499,3 @@ * Flattens the animation's easing curve to linear. | ||
private setAll; | ||
attachTimeline(timeline: any, fallback: (animation: AnimationPlaybackControls | AnimationPlaybackControlsWithFinished) => VoidFunction): () => void; | ||
attachTimeline(timeline: any, fallback?: (animation: AnimationPlaybackControls | AnimationPlaybackControlsWithFinished) => VoidFunction): () => void; | ||
get time(): number; | ||
@@ -502,0 +502,0 @@ set time(time: number); |
{ | ||
"name": "motion-dom", | ||
"version": "11.16.3", | ||
"version": "11.16.4", | ||
"author": "Matt Perry", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "e8c2bdf87d22ae5f036caefc19acc6c1ac192549" | ||
"gitHead": "6aaf1e2f245f9fd41295c7bb4caf545eefe1d24a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
97338
2532
2