framer-motion 7.0.3-beta.1 → 7.0.3
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
|
@@ -2437,7 +2437,7 @@ var MotionValue = /** @class */ (function () {
|
|
|
2437
2437
|
* This will be replaced by the build step with the latest version number.
|
|
2438
2438
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
2439
2439
|
*/
|
|
2440
|
-
this.version = "7.0.3
|
|
2440
|
+
this.version = "7.0.3";
|
|
2441
2441
|
/**
|
|
2442
2442
|
* Duration, in milliseconds, since last updating frame.
|
|
2443
2443
|
*
|
|
@@ -4407,7 +4407,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
4407
4407
|
* and warn against mismatches.
|
|
4408
4408
|
*/
|
|
4409
4409
|
if (process.env.NODE_ENV === "development") {
|
|
4410
|
-
warnOnce(nextValue.version === "7.0.3
|
|
4410
|
+
warnOnce(nextValue.version === "7.0.3", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 7.0.3 may not work as expected."));
|
|
4411
4411
|
}
|
|
4412
4412
|
}
|
|
4413
4413
|
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 === "7.0.3
|
|
21
|
+
warnOnce(nextValue.version === "7.0.3", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 7.0.3 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 = "7.0.3
|
|
28
|
+
this.version = "7.0.3";
|
|
29
29
|
/**
|
|
30
30
|
* Duration, in milliseconds, since last updating frame.
|
|
31
31
|
*
|
|
@@ -3670,7 +3670,7 @@
|
|
|
3670
3670
|
* This will be replaced by the build step with the latest version number.
|
|
3671
3671
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
3672
3672
|
*/
|
|
3673
|
-
this.version = "7.0.3
|
|
3673
|
+
this.version = "7.0.3";
|
|
3674
3674
|
/**
|
|
3675
3675
|
* Duration, in milliseconds, since last updating frame.
|
|
3676
3676
|
*
|
|
@@ -5640,7 +5640,7 @@
|
|
|
5640
5640
|
* and warn against mismatches.
|
|
5641
5641
|
*/
|
|
5642
5642
|
{
|
|
5643
|
-
warnOnce(nextValue.version === "7.0.3
|
|
5643
|
+
warnOnce(nextValue.version === "7.0.3", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 7.0.3 may not work as expected."));
|
|
5644
5644
|
}
|
|
5645
5645
|
}
|
|
5646
5646
|
else if (isMotionValue(prevValue)) {
|