framer-motion 12.23.23 → 12.23.24
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-DzuUB-G1.js → feature-bundle-v2Gb94eA.js} +6 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/render/utils/animation-state.mjs +6 -1
- package/dist/framer-motion.dev.js +6 -1
- package/dist/framer-motion.js +1 -1
- package/dist/size-rollup-dom-animation.js +1 -1
- package/dist/size-rollup-dom-max.js +1 -1
- package/dist/size-rollup-motion.js +1 -1
- package/package.json +2 -2
package/dist/cjs/client.js
CHANGED
|
@@ -4887,7 +4887,12 @@ function createAnimationState(visualElement) {
|
|
|
4887
4887
|
getState: () => state,
|
|
4888
4888
|
reset: () => {
|
|
4889
4889
|
state = createState();
|
|
4890
|
-
|
|
4890
|
+
/**
|
|
4891
|
+
* Temporarily disabling resetting this flag as it prevents components
|
|
4892
|
+
* with initial={false} from animating after being remounted, for instance
|
|
4893
|
+
* as the child of an Activity component.
|
|
4894
|
+
*/
|
|
4895
|
+
// isInitialRender = true
|
|
4891
4896
|
},
|
|
4892
4897
|
};
|
|
4893
4898
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var featureBundle = require('./feature-bundle-
|
|
7
|
+
var featureBundle = require('./feature-bundle-v2Gb94eA.js');
|
|
8
8
|
var motionDom = require('motion-dom');
|
|
9
9
|
var motionUtils = require('motion-utils');
|
|
10
10
|
|
|
@@ -321,7 +321,12 @@ function createAnimationState(visualElement) {
|
|
|
321
321
|
getState: () => state,
|
|
322
322
|
reset: () => {
|
|
323
323
|
state = createState();
|
|
324
|
-
|
|
324
|
+
/**
|
|
325
|
+
* Temporarily disabling resetting this flag as it prevents components
|
|
326
|
+
* with initial={false} from animating after being remounted, for instance
|
|
327
|
+
* as the child of an Activity component.
|
|
328
|
+
*/
|
|
329
|
+
// isInitialRender = true
|
|
325
330
|
},
|
|
326
331
|
};
|
|
327
332
|
}
|
|
@@ -10481,7 +10481,12 @@
|
|
|
10481
10481
|
getState: () => state,
|
|
10482
10482
|
reset: () => {
|
|
10483
10483
|
state = createState();
|
|
10484
|
-
|
|
10484
|
+
/**
|
|
10485
|
+
* Temporarily disabling resetting this flag as it prevents components
|
|
10486
|
+
* with initial={false} from animating after being remounted, for instance
|
|
10487
|
+
* as the child of an Activity component.
|
|
10488
|
+
*/
|
|
10489
|
+
// isInitialRender = true
|
|
10485
10490
|
},
|
|
10486
10491
|
};
|
|
10487
10492
|
}
|