framer-motion 9.1.4 → 9.1.6

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
@@ -2000,7 +2000,7 @@ class MotionValue {
2000
2000
  * This will be replaced by the build step with the latest version number.
2001
2001
  * When MotionValues are provided to motion components, warn if versions are mixed.
2002
2002
  */
2003
- this.version = "9.1.4";
2003
+ this.version = "9.1.6";
2004
2004
  /**
2005
2005
  * Duration, in milliseconds, since last updating frame.
2006
2006
  *
@@ -7857,7 +7857,7 @@ function updateMotionValuesFromProps(element, next, prev) {
7857
7857
  * and warn against mismatches.
7858
7858
  */
7859
7859
  if (process.env.NODE_ENV === "development") {
7860
- warnOnce(nextValue.version === "9.1.4", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.4 may not work as expected.`);
7860
+ warnOnce(nextValue.version === "9.1.6", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.6 may not work as expected.`);
7861
7861
  }
7862
7862
  }
7863
7863
  else if (isMotionValue(prevValue)) {
@@ -10794,6 +10794,7 @@ exports.pipe = pipe;
10794
10794
  exports.progress = progress;
10795
10795
  exports.px = px;
10796
10796
  exports.resolveMotionValue = resolveMotionValue;
10797
+ exports.scroll = scroll;
10797
10798
  exports.spring = spring;
10798
10799
  exports.startOptimizedAppearAnimation = startOptimizedAppearAnimation;
10799
10800
  exports.sync = sync;
package/dist/es/index.mjs CHANGED
@@ -27,6 +27,7 @@ export { animationControls } from './animation/hooks/animation-controls.mjs';
27
27
  export { useAnimation, useAnimationControls } from './animation/hooks/use-animation.mjs';
28
28
  export { useAnimationFrame } from './utils/use-animation-frame.mjs';
29
29
  export { animate } from './animation/animate.mjs';
30
+ export { scroll } from './render/dom/scroll/index.mjs';
30
31
  export { animateVisualElement } from './render/utils/animation.mjs';
31
32
  export { useCycle } from './utils/use-cycle.mjs';
32
33
  export { transform } from './utils/transform.mjs';
@@ -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 === "9.1.4", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.4 may not work as expected.`);
25
+ warnOnce(nextValue.version === "9.1.6", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.6 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 = "9.1.4";
28
+ this.version = "9.1.6";
29
29
  /**
30
30
  * Duration, in milliseconds, since last updating frame.
31
31
  *
@@ -2000,7 +2000,7 @@
2000
2000
  * This will be replaced by the build step with the latest version number.
2001
2001
  * When MotionValues are provided to motion components, warn if versions are mixed.
2002
2002
  */
2003
- this.version = "9.1.4";
2003
+ this.version = "9.1.6";
2004
2004
  /**
2005
2005
  * Duration, in milliseconds, since last updating frame.
2006
2006
  *
@@ -7857,7 +7857,7 @@
7857
7857
  * and warn against mismatches.
7858
7858
  */
7859
7859
  {
7860
- warnOnce(nextValue.version === "9.1.4", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.4 may not work as expected.`);
7860
+ warnOnce(nextValue.version === "9.1.6", `Attempting to mix Framer Motion versions ${nextValue.version} with 9.1.6 may not work as expected.`);
7861
7861
  }
7862
7862
  }
7863
7863
  else if (isMotionValue(prevValue)) {
@@ -10792,6 +10792,7 @@
10792
10792
  exports.progress = progress;
10793
10793
  exports.px = px;
10794
10794
  exports.resolveMotionValue = resolveMotionValue;
10795
+ exports.scroll = scroll;
10795
10796
  exports.spring = spring;
10796
10797
  exports.startOptimizedAppearAnimation = startOptimizedAppearAnimation;
10797
10798
  exports.sync = sync;