@motionone/svelte
Advanced tools
Comparing version 10.6.0-rc.4 to 10.6.0-rc.5
@@ -697,9 +697,10 @@ function noop$1() { } | ||
const totalDuration = duration * (repeat + 1); | ||
/** | ||
* We don't currently support custom easing (spring, glide etc) in Animation | ||
* (although this is completely possible), so this will have been hydrated by | ||
* animateStyle. | ||
*/ | ||
if (isEasingGenerator(easing)) | ||
easing = "ease"; | ||
if (isEasingGenerator(easing)) { | ||
const custom = easing.createAnimation(keyframes, () => "0", true); | ||
easing = custom.easing; | ||
if (custom.keyframes !== undefined) | ||
keyframes = custom.keyframes; | ||
if (custom.duration !== undefined) | ||
duration = custom.duration; | ||
} | ||
const interpolate$1 = interpolate(keyframes, offset, isEasingList(easing) | ||
@@ -706,0 +707,0 @@ ? easing.map(getEasingFunction) |
{ | ||
"name": "@motionone/svelte", | ||
"version": "10.6.0-rc.4", | ||
"version": "10.6.0-rc.5", | ||
"description": "A tiny, performant animation library for Svelte", | ||
@@ -17,3 +17,3 @@ "author": "Matt Perry", | ||
"dependencies": { | ||
"@motionone/dom": "^10.6.0-rc.4", | ||
"@motionone/dom": "^10.6.0-rc.5", | ||
"tslib": "^2.3.1" | ||
@@ -34,3 +34,3 @@ }, | ||
}, | ||
"gitHead": "e7a396e4a128cae6885d0a1a9abdc04c510d1a56" | ||
"gitHead": "6fc943b6f24709de235d1bff0fb09e0f71de2bfb" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
236294
1582
Updated@motionone/dom@^10.6.0-rc.5