framer-motion 6.3.13 → 6.3.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 +3 -3
- package/dist/es/context/SwitchLayoutGroupContext.mjs +1 -1
- package/dist/es/render/utils/motion-values.mjs +1 -1
- package/dist/es/value/index.mjs +1 -1
- package/dist/framer-motion.dev.js +3 -3
- package/dist/framer-motion.js +1 -1
- package/dist/index.d.ts +34 -1
- package/dist/projection.dev.js +2 -2
- package/dist/size-rollup-dom-animation.js +1 -1
- package/dist/size-rollup-dom-max.js +1 -1
- package/dist/three-entry.d.ts +15 -0
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -472,7 +472,7 @@ var MotionValue = /** @class */ (function () {
|
|
|
472
472
|
* This will be replaced by the build step with the latest version number.
|
|
473
473
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
474
474
|
*/
|
|
475
|
-
this.version = "6.3.
|
|
475
|
+
this.version = "6.3.14";
|
|
476
476
|
/**
|
|
477
477
|
* Duration, in milliseconds, since last updating frame.
|
|
478
478
|
*
|
|
@@ -3002,7 +3002,7 @@ function useProjectionId() {
|
|
|
3002
3002
|
var LayoutGroupContext = React.createContext({});
|
|
3003
3003
|
|
|
3004
3004
|
/**
|
|
3005
|
-
*
|
|
3005
|
+
* Internal, exported only for usage in Framer
|
|
3006
3006
|
*/
|
|
3007
3007
|
var SwitchLayoutGroupContext = React.createContext({});
|
|
3008
3008
|
|
|
@@ -5966,7 +5966,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
5966
5966
|
* and warn against mismatches.
|
|
5967
5967
|
*/
|
|
5968
5968
|
if (process.env.NODE_ENV === "development") {
|
|
5969
|
-
warnOnce(nextValue.version === "6.3.
|
|
5969
|
+
warnOnce(nextValue.version === "6.3.14", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.14 may not work as expected."));
|
|
5970
5970
|
}
|
|
5971
5971
|
}
|
|
5972
5972
|
else if (isMotionValue(prevValue)) {
|
|
@@ -18,7 +18,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
18
18
|
* and warn against mismatches.
|
|
19
19
|
*/
|
|
20
20
|
if (process.env.NODE_ENV === "development") {
|
|
21
|
-
warnOnce(nextValue.version === "6.3.
|
|
21
|
+
warnOnce(nextValue.version === "6.3.14", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.14 may not work as expected."));
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
else if (isMotionValue(prevValue)) {
|
package/dist/es/value/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ var MotionValue = /** @class */ (function () {
|
|
|
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 = "6.3.
|
|
28
|
+
this.version = "6.3.14";
|
|
29
29
|
/**
|
|
30
30
|
* Duration, in milliseconds, since last updating frame.
|
|
31
31
|
*
|
|
@@ -1706,7 +1706,7 @@
|
|
|
1706
1706
|
* This will be replaced by the build step with the latest version number.
|
|
1707
1707
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
1708
1708
|
*/
|
|
1709
|
-
this.version = "6.3.
|
|
1709
|
+
this.version = "6.3.14";
|
|
1710
1710
|
/**
|
|
1711
1711
|
* Duration, in milliseconds, since last updating frame.
|
|
1712
1712
|
*
|
|
@@ -4236,7 +4236,7 @@
|
|
|
4236
4236
|
var LayoutGroupContext = React.createContext({});
|
|
4237
4237
|
|
|
4238
4238
|
/**
|
|
4239
|
-
*
|
|
4239
|
+
* Internal, exported only for usage in Framer
|
|
4240
4240
|
*/
|
|
4241
4241
|
var SwitchLayoutGroupContext = React.createContext({});
|
|
4242
4242
|
|
|
@@ -7200,7 +7200,7 @@
|
|
|
7200
7200
|
* and warn against mismatches.
|
|
7201
7201
|
*/
|
|
7202
7202
|
{
|
|
7203
|
-
warnOnce(nextValue.version === "6.3.
|
|
7203
|
+
warnOnce(nextValue.version === "6.3.14", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.14 may not work as expected."));
|
|
7204
7204
|
}
|
|
7205
7205
|
}
|
|
7206
7206
|
else if (isMotionValue(prevValue)) {
|