framer-motion 9.1.4 → 9.1.6
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 +3 -2
- package/dist/es/index.mjs +1 -0
- package/dist/es/render/utils/motion-values.mjs +1 -1
- package/dist/es/value/index.mjs +1 -1
- package/dist/framer-motion.dev.js +3 -2
- package/dist/framer-motion.js +1 -1
- package/dist/index.d.ts +23 -3
- package/dist/projection.dev.js +2 -2
- package/dist/size-rollup-dom-animation.js +1 -1
- package/dist/size-rollup-dom-max.js +1 -1
- package/dist/size-rollup-motion.js +1 -1
- package/dist/three-entry.d.ts +2 -2
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -2000,7 +2000,7 @@ class MotionValue {
|
|
|
2000
2000
|
* This will be replaced by the build step with the latest version number.
|
|
2001
2001
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
2002
2002
|
*/
|
|
2003
|
-
this.version = "9.1.
|
|
2003
|
+
this.version = "9.1.6";
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Duration, in milliseconds, since last updating frame.
|
|
2006
2006
|
*
|
|
@@ -7857,7 +7857,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
7857
7857
|
* and warn against mismatches.
|
|
7858
7858
|
*/
|
|
7859
7859
|
if (process.env.NODE_ENV === "development") {
|
|
7860
|
-
warnOnce(nextValue.version === "9.1.
|
|
7860
|
+
warnOnce(nextValue.version === "9.1.6", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.6 may not work as expected.`);
|
|
7861
7861
|
}
|
|
7862
7862
|
}
|
|
7863
7863
|
else if (isMotionValue(prevValue)) {
|
|
@@ -10794,6 +10794,7 @@ exports.pipe = pipe;
|
|
|
10794
10794
|
exports.progress = progress;
|
|
10795
10795
|
exports.px = px;
|
|
10796
10796
|
exports.resolveMotionValue = resolveMotionValue;
|
|
10797
|
+
exports.scroll = scroll;
|
|
10797
10798
|
exports.spring = spring;
|
|
10798
10799
|
exports.startOptimizedAppearAnimation = startOptimizedAppearAnimation;
|
|
10799
10800
|
exports.sync = sync;
|
package/dist/es/index.mjs
CHANGED
|
@@ -27,6 +27,7 @@ export { animationControls } from './animation/hooks/animation-controls.mjs';
|
|
|
27
27
|
export { useAnimation, useAnimationControls } from './animation/hooks/use-animation.mjs';
|
|
28
28
|
export { useAnimationFrame } from './utils/use-animation-frame.mjs';
|
|
29
29
|
export { animate } from './animation/animate.mjs';
|
|
30
|
+
export { scroll } from './render/dom/scroll/index.mjs';
|
|
30
31
|
export { animateVisualElement } from './render/utils/animation.mjs';
|
|
31
32
|
export { useCycle } from './utils/use-cycle.mjs';
|
|
32
33
|
export { transform } from './utils/transform.mjs';
|
|
@@ -22,7 +22,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
22
22
|
* and warn against mismatches.
|
|
23
23
|
*/
|
|
24
24
|
if (process.env.NODE_ENV === "development") {
|
|
25
|
-
warnOnce(nextValue.version === "9.1.
|
|
25
|
+
warnOnce(nextValue.version === "9.1.6", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.6 may not work as expected.`);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
else if (isMotionValue(prevValue)) {
|
package/dist/es/value/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ class MotionValue {
|
|
|
25
25
|
* This will be replaced by the build step with the latest version number.
|
|
26
26
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
27
27
|
*/
|
|
28
|
-
this.version = "9.1.
|
|
28
|
+
this.version = "9.1.6";
|
|
29
29
|
/**
|
|
30
30
|
* Duration, in milliseconds, since last updating frame.
|
|
31
31
|
*
|
|
@@ -2000,7 +2000,7 @@
|
|
|
2000
2000
|
* This will be replaced by the build step with the latest version number.
|
|
2001
2001
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
2002
2002
|
*/
|
|
2003
|
-
this.version = "9.1.
|
|
2003
|
+
this.version = "9.1.6";
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Duration, in milliseconds, since last updating frame.
|
|
2006
2006
|
*
|
|
@@ -7857,7 +7857,7 @@
|
|
|
7857
7857
|
* and warn against mismatches.
|
|
7858
7858
|
*/
|
|
7859
7859
|
{
|
|
7860
|
-
warnOnce(nextValue.version === "9.1.
|
|
7860
|
+
warnOnce(nextValue.version === "9.1.6", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.6 may not work as expected.`);
|
|
7861
7861
|
}
|
|
7862
7862
|
}
|
|
7863
7863
|
else if (isMotionValue(prevValue)) {
|
|
@@ -10792,6 +10792,7 @@
|
|
|
10792
10792
|
exports.progress = progress;
|
|
10793
10793
|
exports.px = px;
|
|
10794
10794
|
exports.resolveMotionValue = resolveMotionValue;
|
|
10795
|
+
exports.scroll = scroll;
|
|
10795
10796
|
exports.spring = spring;
|
|
10796
10797
|
exports.startOptimizedAppearAnimation = startOptimizedAppearAnimation;
|
|
10797
10798
|
exports.sync = sync;
|