framer-motion 8.1.9 → 8.2.0

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
@@ -2055,7 +2055,7 @@ class MotionValue {
2055
2055
  * This will be replaced by the build step with the latest version number.
2056
2056
  * When MotionValues are provided to motion components, warn if versions are mixed.
2057
2057
  */
2058
- this.version = "8.1.9";
2058
+ this.version = "8.2.0";
2059
2059
  /**
2060
2060
  * Duration, in milliseconds, since last updating frame.
2061
2061
  *
@@ -5911,7 +5911,7 @@ function updateMotionValuesFromProps(element, next, prev) {
5911
5911
  * and warn against mismatches.
5912
5912
  */
5913
5913
  if (process.env.NODE_ENV === "development") {
5914
- warnOnce(nextValue.version === "8.1.9", `Attempting to mix Framer Motion versions ${nextValue.version} with 8.1.9 may not work as expected.`);
5914
+ warnOnce(nextValue.version === "8.2.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 8.2.0 may not work as expected.`);
5915
5915
  }
5916
5916
  }
5917
5917
  else if (isMotionValue(prevValue)) {
@@ -9889,18 +9889,29 @@ exports.animate = animate;
9889
9889
  exports.animateVisualElement = animateVisualElement;
9890
9890
  exports.animationControls = animationControls;
9891
9891
  exports.animations = animations;
9892
+ exports.anticipate = anticipate;
9893
+ exports.backIn = backIn;
9894
+ exports.backInOut = backInOut;
9895
+ exports.backOut = backOut;
9892
9896
  exports.buildTransform = buildTransform;
9893
9897
  exports.calcLength = calcLength;
9894
9898
  exports.checkTargetForNewValues = checkTargetForNewValues;
9899
+ exports.circIn = circIn;
9900
+ exports.circInOut = circInOut;
9901
+ exports.circOut = circOut;
9895
9902
  exports.clamp = clamp;
9896
9903
  exports.createBox = createBox;
9897
9904
  exports.createDomMotionComponent = createDomMotionComponent;
9898
9905
  exports.createMotionComponent = createMotionComponent;
9906
+ exports.cubicBezier = cubicBezier;
9899
9907
  exports.delay = delay;
9900
9908
  exports.distance = distance;
9901
9909
  exports.distance2D = distance2D;
9902
9910
  exports.domAnimation = domAnimation;
9903
9911
  exports.domMax = domMax;
9912
+ exports.easeIn = easeIn;
9913
+ exports.easeInOut = easeInOut;
9914
+ exports.easeOut = easeOut;
9904
9915
  exports.filterProps = filterProps;
9905
9916
  exports.isBrowser = isBrowser;
9906
9917
  exports.isDragActive = isDragActive;
package/dist/es/index.mjs CHANGED
@@ -59,6 +59,11 @@ export { PresenceContext } from './context/PresenceContext.mjs';
59
59
  export { LayoutGroupContext } from './context/LayoutGroupContext.mjs';
60
60
  export { DeprecatedLayoutGroupContext } from './context/DeprecatedLayoutGroupContext.mjs';
61
61
  export { SwitchLayoutGroupContext } from './context/SwitchLayoutGroupContext.mjs';
62
+ export { anticipate } from './easing/anticipate.mjs';
63
+ export { backIn, backInOut, backOut } from './easing/back.mjs';
64
+ export { circIn, circInOut, circOut } from './easing/circ.mjs';
65
+ export { easeIn, easeInOut, easeOut } from './easing/ease.mjs';
66
+ export { cubicBezier } from './easing/cubic-bezier.mjs';
62
67
  export { FlatTree } from './render/utils/flat-tree.mjs';
63
68
  export { useAnimatedState as useDeprecatedAnimatedState } from './animation/hooks/use-animated-state.mjs';
64
69
  export { useInvertedScale as useDeprecatedInvertedScale } from './value/use-inverted-scale.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 === "8.1.9", `Attempting to mix Framer Motion versions ${nextValue.version} with 8.1.9 may not work as expected.`);
25
+ warnOnce(nextValue.version === "8.2.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 8.2.0 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 = "8.1.9";
28
+ this.version = "8.2.0";
29
29
  /**
30
30
  * Duration, in milliseconds, since last updating frame.
31
31
  *
@@ -2053,7 +2053,7 @@
2053
2053
  * This will be replaced by the build step with the latest version number.
2054
2054
  * When MotionValues are provided to motion components, warn if versions are mixed.
2055
2055
  */
2056
- this.version = "8.1.9";
2056
+ this.version = "8.2.0";
2057
2057
  /**
2058
2058
  * Duration, in milliseconds, since last updating frame.
2059
2059
  *
@@ -5924,7 +5924,7 @@
5924
5924
  * and warn against mismatches.
5925
5925
  */
5926
5926
  {
5927
- warnOnce(nextValue.version === "8.1.9", `Attempting to mix Framer Motion versions ${nextValue.version} with 8.1.9 may not work as expected.`);
5927
+ warnOnce(nextValue.version === "8.2.0", `Attempting to mix Framer Motion versions ${nextValue.version} with 8.2.0 may not work as expected.`);
5928
5928
  }
5929
5929
  }
5930
5930
  else if (isMotionValue(prevValue)) {
@@ -10508,18 +10508,29 @@
10508
10508
  exports.animateVisualElement = animateVisualElement;
10509
10509
  exports.animationControls = animationControls;
10510
10510
  exports.animations = animations;
10511
+ exports.anticipate = anticipate;
10512
+ exports.backIn = backIn;
10513
+ exports.backInOut = backInOut;
10514
+ exports.backOut = backOut;
10511
10515
  exports.buildTransform = buildTransform;
10512
10516
  exports.calcLength = calcLength;
10513
10517
  exports.checkTargetForNewValues = checkTargetForNewValues;
10518
+ exports.circIn = circIn;
10519
+ exports.circInOut = circInOut;
10520
+ exports.circOut = circOut;
10514
10521
  exports.clamp = clamp$1;
10515
10522
  exports.createBox = createBox;
10516
10523
  exports.createDomMotionComponent = createDomMotionComponent;
10517
10524
  exports.createMotionComponent = createMotionComponent;
10525
+ exports.cubicBezier = cubicBezier;
10518
10526
  exports.delay = delay;
10519
10527
  exports.distance = distance;
10520
10528
  exports.distance2D = distance2D;
10521
10529
  exports.domAnimation = domAnimation;
10522
10530
  exports.domMax = domMax;
10531
+ exports.easeIn = easeIn;
10532
+ exports.easeInOut = easeInOut;
10533
+ exports.easeOut = easeOut;
10523
10534
  exports.filterProps = filterProps;
10524
10535
  exports.isBrowser = isBrowser;
10525
10536
  exports.isDragActive = isDragActive;