framer-motion 7.6.10-alpha.2 → 7.6.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/dist/size-rollup-motion.js +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -2258,7 +2258,7 @@ class MotionValue {
|
|
|
2258
2258
|
* This will be replaced by the build step with the latest version number.
|
|
2259
2259
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
2260
2260
|
*/
|
|
2261
|
-
this.version = "7.6.10
|
|
2261
|
+
this.version = "7.6.10";
|
|
2262
2262
|
/**
|
|
2263
2263
|
* Duration, in milliseconds, since last updating frame.
|
|
2264
2264
|
*
|
|
@@ -4524,7 +4524,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
4524
4524
|
* and warn against mismatches.
|
|
4525
4525
|
*/
|
|
4526
4526
|
if (process.env.NODE_ENV === "development") {
|
|
4527
|
-
warnOnce(nextValue.version === "7.6.10
|
|
4527
|
+
warnOnce(nextValue.version === "7.6.10", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.10 may not work as expected.`);
|
|
4528
4528
|
}
|
|
4529
4529
|
}
|
|
4530
4530
|
else if (isMotionValue(prevValue)) {
|
|
@@ -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 === "7.6.10
|
|
25
|
+
warnOnce(nextValue.version === "7.6.10", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.10 may not work as expected.`);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
else if (isMotionValue(prevValue)) {
|
package/dist/es/value/index.mjs
CHANGED
|
@@ -24,7 +24,7 @@ class MotionValue {
|
|
|
24
24
|
* This will be replaced by the build step with the latest version number.
|
|
25
25
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
26
26
|
*/
|
|
27
|
-
this.version = "7.6.10
|
|
27
|
+
this.version = "7.6.10";
|
|
28
28
|
/**
|
|
29
29
|
* Duration, in milliseconds, since last updating frame.
|
|
30
30
|
*
|
|
@@ -3426,7 +3426,7 @@
|
|
|
3426
3426
|
* This will be replaced by the build step with the latest version number.
|
|
3427
3427
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
3428
3428
|
*/
|
|
3429
|
-
this.version = "7.6.10
|
|
3429
|
+
this.version = "7.6.10";
|
|
3430
3430
|
/**
|
|
3431
3431
|
* Duration, in milliseconds, since last updating frame.
|
|
3432
3432
|
*
|
|
@@ -5692,7 +5692,7 @@
|
|
|
5692
5692
|
* and warn against mismatches.
|
|
5693
5693
|
*/
|
|
5694
5694
|
{
|
|
5695
|
-
warnOnce(nextValue.version === "7.6.10
|
|
5695
|
+
warnOnce(nextValue.version === "7.6.10", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.10 may not work as expected.`);
|
|
5696
5696
|
}
|
|
5697
5697
|
}
|
|
5698
5698
|
else if (isMotionValue(prevValue)) {
|