framer-motion 7.6.13 → 7.6.14

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
@@ -2257,7 +2257,7 @@ class MotionValue {
2257
2257
  * This will be replaced by the build step with the latest version number.
2258
2258
  * When MotionValues are provided to motion components, warn if versions are mixed.
2259
2259
  */
2260
- this.version = "7.6.13";
2260
+ this.version = "7.6.14";
2261
2261
  /**
2262
2262
  * Duration, in milliseconds, since last updating frame.
2263
2263
  *
@@ -4523,7 +4523,7 @@ function updateMotionValuesFromProps(element, next, prev) {
4523
4523
  * and warn against mismatches.
4524
4524
  */
4525
4525
  if (process.env.NODE_ENV === "development") {
4526
- warnOnce(nextValue.version === "7.6.13", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.13 may not work as expected.`);
4526
+ warnOnce(nextValue.version === "7.6.14", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.14 may not work as expected.`);
4527
4527
  }
4528
4528
  }
4529
4529
  else if (isMotionValue(prevValue)) {
@@ -4677,17 +4677,6 @@ class VisualElement {
4677
4677
  }
4678
4678
  }
4679
4679
  }
4680
- /**
4681
- * Update external values with initial values
4682
- */
4683
- if (props.values) {
4684
- for (const key in props.values) {
4685
- const value = props.values[key];
4686
- if (latestValues[key] !== undefined && isMotionValue(value)) {
4687
- value.set(latestValues[key]);
4688
- }
4689
- }
4690
- }
4691
4680
  }
4692
4681
  /**
4693
4682
  * This method takes React props and returns found MotionValues. For example, HTML
@@ -134,17 +134,6 @@ class VisualElement {
134
134
  }
135
135
  }
136
136
  }
137
- /**
138
- * Update external values with initial values
139
- */
140
- if (props.values) {
141
- for (const key in props.values) {
142
- const value = props.values[key];
143
- if (latestValues[key] !== undefined && isMotionValue(value)) {
144
- value.set(latestValues[key]);
145
- }
146
- }
147
- }
148
137
  }
149
138
  /**
150
139
  * This method takes React props and returns found MotionValues. For example, HTML
@@ -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.13", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.13 may not work as expected.`);
25
+ warnOnce(nextValue.version === "7.6.14", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.14 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.6.13";
27
+ this.version = "7.6.14";
28
28
  /**
29
29
  * Duration, in milliseconds, since last updating frame.
30
30
  *
@@ -3425,7 +3425,7 @@
3425
3425
  * This will be replaced by the build step with the latest version number.
3426
3426
  * When MotionValues are provided to motion components, warn if versions are mixed.
3427
3427
  */
3428
- this.version = "7.6.13";
3428
+ this.version = "7.6.14";
3429
3429
  /**
3430
3430
  * Duration, in milliseconds, since last updating frame.
3431
3431
  *
@@ -5691,7 +5691,7 @@
5691
5691
  * and warn against mismatches.
5692
5692
  */
5693
5693
  {
5694
- warnOnce(nextValue.version === "7.6.13", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.13 may not work as expected.`);
5694
+ warnOnce(nextValue.version === "7.6.14", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.14 may not work as expected.`);
5695
5695
  }
5696
5696
  }
5697
5697
  else if (isMotionValue(prevValue)) {
@@ -5845,17 +5845,6 @@
5845
5845
  }
5846
5846
  }
5847
5847
  }
5848
- /**
5849
- * Update external values with initial values
5850
- */
5851
- if (props.values) {
5852
- for (const key in props.values) {
5853
- const value = props.values[key];
5854
- if (latestValues[key] !== undefined && isMotionValue(value)) {
5855
- value.set(latestValues[key]);
5856
- }
5857
- }
5858
- }
5859
5848
  }
5860
5849
  /**
5861
5850
  * This method takes React props and returns found MotionValues. For example, HTML