motion-dom 13.4.1 → 13.4.2
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/cjs/index.js
CHANGED
|
@@ -1346,7 +1346,7 @@ function keyframes({ duration = 300, keyframes: keyframeValues, times, ease = "e
|
|
|
1346
1346
|
*/
|
|
1347
1347
|
const easingFunctions = motionUtils.isEasingArray(ease)
|
|
1348
1348
|
? ease.map(motionUtils.easingDefinitionToFunction)
|
|
1349
|
-
: motionUtils.easingDefinitionToFunction(ease);
|
|
1349
|
+
: motionUtils.easingDefinitionToFunction(ease) || motionUtils.easeInOut;
|
|
1350
1350
|
/**
|
|
1351
1351
|
* This is the Iterator-spec return value. We ensure it's mutable rather than using a generator
|
|
1352
1352
|
* to reduce GC during animation.
|