framer-motion 11.2.1 → 11.2.2
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/{dom-entry-Bn7tpd2Y.js → dom-entry-B5lD2iX6.js} +3 -3
- package/dist/cjs/dom-entry.js +1 -1
- package/dist/cjs/index.js +26 -5
- package/dist/dom-entry.d.ts +1 -1
- package/dist/dom.js +1 -1
- package/dist/es/animation/interfaces/visual-element-target.mjs +1 -1
- package/dist/es/animation/optimized-appear/handoff.mjs +25 -4
- package/dist/es/render/utils/motion-values.mjs +1 -1
- package/dist/es/value/index.mjs +1 -1
- package/dist/framer-motion.dev.js +28 -7
- package/dist/framer-motion.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/projection.dev.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5187,7 +5187,7 @@ interface NativeAnimationOptions {
|
|
|
5187
5187
|
repeatType?: "loop" | "reverse" | "mirror";
|
|
5188
5188
|
}
|
|
5189
5189
|
|
|
5190
|
-
type HandoffFunction = (storeId: string, valueName: string,
|
|
5190
|
+
type HandoffFunction = (storeId: string, valueName: string, value?: MotionValue, frame?: Batcher) => null | number;
|
|
5191
5191
|
/**
|
|
5192
5192
|
* The window global object acts as a bridge between our inline script
|
|
5193
5193
|
* triggering the optimized appear animations, and Framer Motion.
|
package/dist/projection.dev.js
CHANGED
|
@@ -1013,7 +1013,7 @@
|
|
|
1013
1013
|
* This will be replaced by the build step with the latest version number.
|
|
1014
1014
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
1015
1015
|
*/
|
|
1016
|
-
this.version = "11.2.
|
|
1016
|
+
this.version = "11.2.2";
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Tracks whether this value can output a velocity. Currently this is only true
|
|
1019
1019
|
* if the value is numerical, but we might be able to widen the scope here and support
|
|
@@ -4040,7 +4040,7 @@
|
|
|
4040
4040
|
* and warn against mismatches.
|
|
4041
4041
|
*/
|
|
4042
4042
|
{
|
|
4043
|
-
warnOnce(nextValue.version === "11.2.
|
|
4043
|
+
warnOnce(nextValue.version === "11.2.2", `Attempting to mix Framer Motion versions ${nextValue.version} with 11.2.2 may not work as expected.`);
|
|
4044
4044
|
}
|
|
4045
4045
|
}
|
|
4046
4046
|
else if (isMotionValue(prevValue)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "framer-motion",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.2",
|
|
4
4
|
"description": "A simple and powerful JavaScript animation library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.mjs",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"maxSize": "34.1 kB"
|
|
119
119
|
}
|
|
120
120
|
],
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "02af4f385a659f0485f07f19c278a11fe78bcffd"
|
|
122
122
|
}
|