framer-motion 7.3.3 → 7.3.4
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/render/index.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/projection.dev.js +3 -3
- 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/dist/size-webpack-dom-animation.js +1 -1
- package/dist/size-webpack-dom-max.js +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -2242,7 +2242,7 @@ class MotionValue {
|
|
|
2242
2242
|
* This will be replaced by the build step with the latest version number.
|
|
2243
2243
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
2244
2244
|
*/
|
|
2245
|
-
this.version = "7.3.
|
|
2245
|
+
this.version = "7.3.4";
|
|
2246
2246
|
/**
|
|
2247
2247
|
* Duration, in milliseconds, since last updating frame.
|
|
2248
2248
|
*
|
|
@@ -4218,7 +4218,7 @@ function updateMotionValuesFromProps(element, next, prev) {
|
|
|
4218
4218
|
* and warn against mismatches.
|
|
4219
4219
|
*/
|
|
4220
4220
|
if (process.env.NODE_ENV === "development") {
|
|
4221
|
-
warnOnce(nextValue.version === "7.3.
|
|
4221
|
+
warnOnce(nextValue.version === "7.3.4", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.4 may not work as expected.`);
|
|
4222
4222
|
}
|
|
4223
4223
|
}
|
|
4224
4224
|
else if (isMotionValue(prevValue)) {
|
|
@@ -4463,7 +4463,7 @@ const visualElement = ({ treeType = "", build, getBaseTarget, makeTargetAnimatab
|
|
|
4463
4463
|
* dynamically request functionality. In initial tests this
|
|
4464
4464
|
* was producing a lot of duplication amongst bundles.
|
|
4465
4465
|
*/
|
|
4466
|
-
if (isEnabled(
|
|
4466
|
+
if (isEnabled(renderedProps) && Component) {
|
|
4467
4467
|
features.push(React.createElement(Component, {
|
|
4468
4468
|
key: name,
|
|
4469
4469
|
...renderedProps,
|
package/dist/es/render/index.mjs
CHANGED
|
@@ -222,7 +222,7 @@ const visualElement = ({ treeType = "", build, getBaseTarget, makeTargetAnimatab
|
|
|
222
222
|
* dynamically request functionality. In initial tests this
|
|
223
223
|
* was producing a lot of duplication amongst bundles.
|
|
224
224
|
*/
|
|
225
|
-
if (isEnabled(
|
|
225
|
+
if (isEnabled(renderedProps) && Component) {
|
|
226
226
|
features.push(createElement(Component, {
|
|
227
227
|
key: name,
|
|
228
228
|
...renderedProps,
|
|
@@ -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.3.
|
|
25
|
+
warnOnce(nextValue.version === "7.3.4", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.4 may not work as expected.`);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
else if (isMotionValue(prevValue)) {
|
package/dist/es/value/index.mjs
CHANGED
|
@@ -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.3.
|
|
27
|
+
this.version = "7.3.4";
|
|
28
28
|
/**
|
|
29
29
|
* Duration, in milliseconds, since last updating frame.
|
|
30
30
|
*
|
|
@@ -3410,7 +3410,7 @@
|
|
|
3410
3410
|
* This will be replaced by the build step with the latest version number.
|
|
3411
3411
|
* When MotionValues are provided to motion components, warn if versions are mixed.
|
|
3412
3412
|
*/
|
|
3413
|
-
this.version = "7.3.
|
|
3413
|
+
this.version = "7.3.4";
|
|
3414
3414
|
/**
|
|
3415
3415
|
* Duration, in milliseconds, since last updating frame.
|
|
3416
3416
|
*
|
|
@@ -5386,7 +5386,7 @@
|
|
|
5386
5386
|
* and warn against mismatches.
|
|
5387
5387
|
*/
|
|
5388
5388
|
{
|
|
5389
|
-
warnOnce(nextValue.version === "7.3.
|
|
5389
|
+
warnOnce(nextValue.version === "7.3.4", `Attempting to mix Framer Motion versions ${nextValue.version} with 7.3.4 may not work as expected.`);
|
|
5390
5390
|
}
|
|
5391
5391
|
}
|
|
5392
5392
|
else if (isMotionValue(prevValue)) {
|
|
@@ -5631,7 +5631,7 @@
|
|
|
5631
5631
|
* dynamically request functionality. In initial tests this
|
|
5632
5632
|
* was producing a lot of duplication amongst bundles.
|
|
5633
5633
|
*/
|
|
5634
|
-
if (isEnabled(
|
|
5634
|
+
if (isEnabled(renderedProps) && Component) {
|
|
5635
5635
|
features.push(React.createElement(Component, {
|
|
5636
5636
|
key: name,
|
|
5637
5637
|
...renderedProps,
|