framer-motion 12.23.27 → 12.23.28
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/client.js +1 -1
- package/dist/cjs/{feature-bundle-kvRbMDEA.js → feature-bundle-Dt2VtvSZ.js} +3 -3
- package/dist/cjs/{feature-bundle-kvRbMDEA.js.map → feature-bundle-Dt2VtvSZ.js.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/dom-mini.js +1 -1
- package/dist/dom.js +1 -1
- package/dist/es/projection/geometry/delta-apply.mjs +1 -1
- package/dist/es/projection/geometry/delta-apply.mjs.map +1 -1
- package/dist/es/projection/node/create-projection-node.mjs +1 -1
- package/dist/es/projection/node/create-projection-node.mjs.map +1 -1
- package/dist/framer-motion.dev.js +28 -5
- package/dist/framer-motion.js +1 -1
- package/dist/m.d.ts +1 -1
- package/dist/mini.js +1 -1
- package/dist/size-rollup-animate.js +1 -1
- package/dist/size-rollup-animate.js.map +1 -1
- package/dist/size-rollup-dom-animation-assets.js +1 -1
- package/dist/size-rollup-dom-animation.js +1 -1
- package/dist/size-rollup-dom-max-assets.js +1 -1
- package/dist/size-rollup-dom-max.js +1 -1
- package/dist/size-rollup-m.js.map +1 -1
- package/dist/size-rollup-motion.js +1 -1
- package/dist/size-rollup-motion.js.map +1 -1
- package/dist/size-rollup-scroll.js +1 -1
- package/dist/size-rollup-scroll.js.map +1 -1
- package/dist/size-rollup-waapi-animate.js +1 -1
- package/dist/size-rollup-waapi-animate.js.map +1 -1
- package/dist/types/client.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/{types.d-DagZKalS.d.ts → types.d-C8SDx5n-.d.ts} +1 -1
- package/package.json +4 -4
package/dist/cjs/client.js
CHANGED
|
@@ -578,7 +578,7 @@ function applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {
|
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
580
|
if (delta) {
|
|
581
|
-
// Incoporate each ancestor's scale into a
|
|
581
|
+
// Incoporate each ancestor's scale into a cumulative treeScale for this component
|
|
582
582
|
treeScale.x *= delta.x.scale;
|
|
583
583
|
treeScale.y *= delta.y.scale;
|
|
584
584
|
// Apply each ancestor's calculated delta into this component's recorded layout box
|
|
@@ -1304,7 +1304,7 @@ function createProjectionNode$1({ attachResizeListener, defaultParent, measureSc
|
|
|
1304
1304
|
/**
|
|
1305
1305
|
* If the layout hasn't changed and we have an animation that hasn't started yet,
|
|
1306
1306
|
* finish it immediately. Otherwise it will be animating from a location
|
|
1307
|
-
* that was probably never
|
|
1307
|
+
* that was probably never committed to screen and look like a jumpy box.
|
|
1308
1308
|
*/
|
|
1309
1309
|
if (!hasLayoutChanged) {
|
|
1310
1310
|
finishAnimation(this);
|
|
@@ -6286,4 +6286,4 @@ exports.useIsPresent = useIsPresent;
|
|
|
6286
6286
|
exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect;
|
|
6287
6287
|
exports.usePresence = usePresence;
|
|
6288
6288
|
exports.visualElementStore = visualElementStore;
|
|
6289
|
-
//# sourceMappingURL=feature-bundle-
|
|
6289
|
+
//# sourceMappingURL=feature-bundle-Dt2VtvSZ.js.map
|