framer-motion 6.3.9 → 6.3.10
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 +2 -2
- package/dist/es/render/utils/motion-values.mjs +1 -1
- package/dist/es/value/index.mjs +1 -1
- package/dist/framer-motion.dev.js +2 -2
- package/dist/framer-motion.js +1 -1
- 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/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -472,7 +472,7 @@ var MotionValue = /** @class */ (function () {
|
|
|
472
472
|
* This will be replaced by the build step with the latest version number.
|
|
473
473
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
474
474
|
*/
|
|
475
|
-
this.version = "6.3.
|
|
475
|
+
this.version = "6.3.10";
|
|
476
476
|
/**
|
|
477
477
|
* Duration, in milliseconds, since last updating frame.
|
|
478
478
|
*
|
|
@@ -5970,7 +5970,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
5970
5970
|
* and warn against mismatches.
|
|
5971
5971
|
*/
|
|
5972
5972
|
if (process.env.NODE_ENV === "development") {
|
|
5973
|
-
warnOnce(nextValue.version
|
|
5973
|
+
warnOnce(nextValue.version === "6.3.10", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.10 may not work as expected."));
|
|
5974
5974
|
}
|
|
5975
5975
|
}
|
|
5976
5976
|
else if (isMotionValue(prevValue)) {
|
|
@@ -18,7 +18,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
18
18
|
* and warn against mismatches.
|
|
19
19
|
*/
|
|
20
20
|
if (process.env.NODE_ENV === "development") {
|
|
21
|
-
warnOnce(nextValue.version
|
|
21
|
+
warnOnce(nextValue.version === "6.3.10", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.10 may not work as expected."));
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
else if (isMotionValue(prevValue)) {
|
package/dist/es/value/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ var MotionValue = /** @class */ (function () {
|
|
|
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 = "6.3.
|
|
28
|
+
this.version = "6.3.10";
|
|
29
29
|
/**
|
|
30
30
|
* Duration, in milliseconds, since last updating frame.
|
|
31
31
|
*
|
|
@@ -1706,7 +1706,7 @@
|
|
|
1706
1706
|
* This will be replaced by the build step with the latest version number.
|
|
1707
1707
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
1708
1708
|
*/
|
|
1709
|
-
this.version = "6.3.
|
|
1709
|
+
this.version = "6.3.10";
|
|
1710
1710
|
/**
|
|
1711
1711
|
* Duration, in milliseconds, since last updating frame.
|
|
1712
1712
|
*
|
|
@@ -7204,7 +7204,7 @@
|
|
|
7204
7204
|
* and warn against mismatches.
|
|
7205
7205
|
*/
|
|
7206
7206
|
{
|
|
7207
|
-
warnOnce(nextValue.version
|
|
7207
|
+
warnOnce(nextValue.version === "6.3.10", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.10 may not work as expected."));
|
|
7208
7208
|
}
|
|
7209
7209
|
}
|
|
7210
7210
|
else if (isMotionValue(prevValue)) {
|