framer-motion 7.6.2 → 7.6.3

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
@@ -2258,7 +2258,7 @@ class MotionValue {
2258
2258
  * This will be replaced by the build step with the latest version number.
2259
2259
  * When MotionValues are provided to motion components, warn if versions are mixed.
2260
2260
  */
2261
- this.version = "7.6.2";
2261
+ this.version = "7.6.3";
2262
2262
  /**
2263
2263
  * Duration, in milliseconds, since last updating frame.
2264
2264
  *
@@ -4236,7 +4236,7 @@ function updateMotionValuesFromProps(element, next, prev) {
4236
4236
  * and warn against mismatches.
4237
4237
  */
4238
4238
  if (process.env.NODE_ENV === "development") {
4239
- warnOnce(nextValue.version === "7.6.2", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.2 may not work as expected.`);
4239
+ warnOnce(nextValue.version === "7.6.3", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.3 may not work as expected.`);
4240
4240
  }
4241
4241
  }
4242
4242
  else if (isMotionValue(prevValue)) {
@@ -8445,6 +8445,7 @@ exports.animate = animate;
8445
8445
  exports.animateVisualElement = animateVisualElement;
8446
8446
  exports.animationControls = animationControls;
8447
8447
  exports.animations = animations;
8448
+ exports.buildTransform = buildTransform;
8448
8449
  exports.calcLength = calcLength;
8449
8450
  exports.checkTargetForNewValues = checkTargetForNewValues;
8450
8451
  exports.createBox = createBox;
package/dist/es/index.mjs CHANGED
@@ -42,6 +42,7 @@ export { addScaleCorrector } from './projection/styles/scale-correction.mjs';
42
42
  export { useInstantTransition } from './utils/use-instant-transition.mjs';
43
43
  export { useInstantLayoutTransition } from './projection/use-instant-layout-transition.mjs';
44
44
  export { useResetProjection } from './projection/use-reset-projection.mjs';
45
+ export { buildTransform } from './render/html/utils/build-transform.mjs';
45
46
  export { delay } from './utils/delay.mjs';
46
47
  export { MotionContext, useVisualElementContext } from './context/MotionContext/index.mjs';
47
48
  export { MotionConfigContext } from './context/MotionConfigContext.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 === "7.6.2", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.2 may not work as expected.`);
25
+ warnOnce(nextValue.version === "7.6.3", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.3 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.2";
27
+ this.version = "7.6.3";
28
28
  /**
29
29
  * Duration, in milliseconds, since last updating frame.
30
30
  *
@@ -3426,7 +3426,7 @@
3426
3426
  * This will be replaced by the build step with the latest version number.
3427
3427
  * When MotionValues are provided to motion components, warn if versions are mixed.
3428
3428
  */
3429
- this.version = "7.6.2";
3429
+ this.version = "7.6.3";
3430
3430
  /**
3431
3431
  * Duration, in milliseconds, since last updating frame.
3432
3432
  *
@@ -5404,7 +5404,7 @@
5404
5404
  * and warn against mismatches.
5405
5405
  */
5406
5406
  {
5407
- warnOnce(nextValue.version === "7.6.2", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.2 may not work as expected.`);
5407
+ warnOnce(nextValue.version === "7.6.3", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.6.3 may not work as expected.`);
5408
5408
  }
5409
5409
  }
5410
5410
  else if (isMotionValue(prevValue)) {
@@ -10194,6 +10194,7 @@
10194
10194
  exports.animateVisualElement = animateVisualElement;
10195
10195
  exports.animationControls = animationControls;
10196
10196
  exports.animations = animations;
10197
+ exports.buildTransform = buildTransform;
10197
10198
  exports.calcLength = calcLength;
10198
10199
  exports.checkTargetForNewValues = checkTargetForNewValues;
10199
10200
  exports.createBox = createBox;