framer-motion 7.3.0 → 7.3.1

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 CHANGED
@@ -483,6 +483,7 @@ const transformPropOrder = [
483
483
  "rotate",
484
484
  "rotateX",
485
485
  "rotateY",
486
+ "rotateZ",
486
487
  "skew",
487
488
  "skewX",
488
489
  "skewY",
@@ -2235,7 +2236,7 @@ class MotionValue {
2235
2236
  * This will be replaced by the build step with the latest version number.
2236
2237
  * When MotionValues are provided to motion components, warn if versions are mixed.
2237
2238
  */
2238
- this.version = "7.3.0";
2239
+ this.version = "7.3.1";
2239
2240
  /**
2240
2241
  * Duration, in milliseconds, since last updating frame.
2241
2242
  *
@@ -4211,7 +4212,7 @@ function updateMotionValuesFromProps(element, next, prev) {
4211
4212
  * and warn against mismatches.
4212
4213
  */
4213
4214
  if (process.env.NODE_ENV === "development") {
4214
- warnOnce(nextValue.version === "7.3.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.0 may not work as expected.`);
4215
+ warnOnce(nextValue.version === "7.3.1", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.1 may not work as expected.`);
4215
4216
  }
4216
4217
  }
4217
4218
  else if (isMotionValue(prevValue)) {
@@ -15,6 +15,7 @@ const transformPropOrder = [
15
15
  "rotate",
16
16
  "rotateX",
17
17
  "rotateY",
18
+ "rotateZ",
18
19
  "skew",
19
20
  "skewX",
20
21
  "skewY",
@@ -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.3.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.0 may not work as expected.`);
25
+ warnOnce(nextValue.version === "7.3.1", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.1 may not work as expected.`);
26
26
  }
27
27
  }
28
28
  else if (isMotionValue(prevValue)) {
@@ -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.3.0";
27
+ this.version = "7.3.1";
28
28
  /**
29
29
  * Duration, in milliseconds, since last updating frame.
30
30
  *
@@ -477,6 +477,7 @@
477
477
  "rotate",
478
478
  "rotateX",
479
479
  "rotateY",
480
+ "rotateZ",
480
481
  "skew",
481
482
  "skewX",
482
483
  "skewY",
@@ -3403,7 +3404,7 @@
3403
3404
  * This will be replaced by the build step with the latest version number.
3404
3405
  * When MotionValues are provided to motion components, warn if versions are mixed.
3405
3406
  */
3406
- this.version = "7.3.0";
3407
+ this.version = "7.3.1";
3407
3408
  /**
3408
3409
  * Duration, in milliseconds, since last updating frame.
3409
3410
  *
@@ -5379,7 +5380,7 @@
5379
5380
  * and warn against mismatches.
5380
5381
  */
5381
5382
  {
5382
- warnOnce(nextValue.version === "7.3.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.0 may not work as expected.`);
5383
+ warnOnce(nextValue.version === "7.3.1", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.1 may not work as expected.`);
5383
5384
  }
5384
5385
  }
5385
5386
  else if (isMotionValue(prevValue)) {