framer-motion 7.10.0 → 7.10.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/README.md CHANGED
@@ -35,17 +35,18 @@ It looks like this:
35
35
 
36
36
  It does all this:
37
37
 
38
- - Springs
39
- - Keyframes
40
- - Layout animations
41
- - Shared layout animations
42
- - Gestures (drag/tap/hover)
43
- - SVG paths
44
- - Exit animations
38
+ - [Springs](https://www.framer.com/docs/transition/#spring)
39
+ - [Keyframes](https://www.framer.com/docs/animation/##keyframes)
40
+ - [Layout animations](https://www.framer.com/docs/layout-animations/)
41
+ - [Shared layout animations](https://www.framer.com/docs/layout-animations/#shared-layout-animations)
42
+ - [Gestures (drag/tap/hover)](https://www.framer.com/docs/gestures/)
43
+ - [Scroll animations](https://www.framer.com/docs/scroll-animations)
44
+ - [SVG paths](https://www.framer.com/docs/component/###svg-line-drawing)
45
+ - [Exit animations](https://www.framer.com/docs/animate-presence/)
45
46
  - Server-side rendering
46
- - Hardware-accelerated animations
47
- - Orchestrate animations across components
48
- - CSS variables
47
+ - [Hardware-accelerated animations](https://www.framer.com/docs/animation/#hardware-accelerated-animations)
48
+ - [Orchestrate animations across components](https://www.framer.com/docs/animation/##orchestration)
49
+ - [CSS variables](https://www.framer.com/docs/component/##css-variables)
49
50
 
50
51
  ...and a whole lot more.
51
52
 
package/dist/cjs/index.js CHANGED
@@ -2124,7 +2124,7 @@ class MotionValue {
2124
2124
  * This will be replaced by the build step with the latest version number.
2125
2125
  * When MotionValues are provided to motion components, warn if versions are mixed.
2126
2126
  */
2127
- this.version = "7.10.0";
2127
+ this.version = "7.10.1";
2128
2128
  /**
2129
2129
  * Duration, in milliseconds, since last updating frame.
2130
2130
  *
@@ -5938,7 +5938,7 @@ function updateMotionValuesFromProps(element, next, prev) {
5938
5938
  * and warn against mismatches.
5939
5939
  */
5940
5940
  if (process.env.NODE_ENV === "development") {
5941
- warnOnce(nextValue.version === "7.10.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.10.0 may not work as expected.`);
5941
+ warnOnce(nextValue.version === "7.10.1", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.10.1 may not work as expected.`);
5942
5942
  }
5943
5943
  }
5944
5944
  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.10.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.10.0 may not work as expected.`);
25
+ warnOnce(nextValue.version === "7.10.1", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.10.1 may not work as expected.`);
26
26
  }
27
27
  }
28
28
  else if (isMotionValue(prevValue)) {
@@ -25,7 +25,7 @@ class MotionValue {
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.10.0";
28
+ this.version = "7.10.1";
29
29
  /**
30
30
  * Duration, in milliseconds, since last updating frame.
31
31
  *
@@ -2122,7 +2122,7 @@
2122
2122
  * This will be replaced by the build step with the latest version number.
2123
2123
  * When MotionValues are provided to motion components, warn if versions are mixed.
2124
2124
  */
2125
- this.version = "7.10.0";
2125
+ this.version = "7.10.1";
2126
2126
  /**
2127
2127
  * Duration, in milliseconds, since last updating frame.
2128
2128
  *
@@ -5951,7 +5951,7 @@
5951
5951
  * and warn against mismatches.
5952
5952
  */
5953
5953
  {
5954
- warnOnce(nextValue.version === "7.10.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.10.0 may not work as expected.`);
5954
+ warnOnce(nextValue.version === "7.10.1", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.10.1 may not work as expected.`);
5955
5955
  }
5956
5956
  }
5957
5957
  else if (isMotionValue(prevValue)) {