motion-dom 12.22.0 → 12.23.1
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
CHANGED
|
@@ -1335,7 +1335,7 @@ class JSAnimation extends WithPromise {
|
|
|
1335
1335
|
const generatorFactory = type || keyframes;
|
|
1336
1336
|
if (process.env.NODE_ENV !== "production" &&
|
|
1337
1337
|
generatorFactory !== keyframes) {
|
|
1338
|
-
motionUtils.invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}
|
|
1338
|
+
motionUtils.invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, "spring-two-frames");
|
|
1339
1339
|
}
|
|
1340
1340
|
if (generatorFactory !== keyframes &&
|
|
1341
1341
|
typeof keyframes$1[0] !== "number") {
|
|
@@ -59,7 +59,7 @@ class JSAnimation extends WithPromise {
|
|
|
59
59
|
const generatorFactory = type || keyframes;
|
|
60
60
|
if (process.env.NODE_ENV !== "production" &&
|
|
61
61
|
generatorFactory !== keyframes) {
|
|
62
|
-
invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}
|
|
62
|
+
invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, "spring-two-frames");
|
|
63
63
|
}
|
|
64
64
|
if (generatorFactory !== keyframes &&
|
|
65
65
|
typeof keyframes$1[0] !== "number") {
|
package/dist/motion-dom.dev.js
CHANGED
|
@@ -1334,7 +1334,7 @@
|
|
|
1334
1334
|
let { keyframes: keyframes$1 } = options;
|
|
1335
1335
|
const generatorFactory = type || keyframes;
|
|
1336
1336
|
if (generatorFactory !== keyframes) {
|
|
1337
|
-
motionUtils.invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}
|
|
1337
|
+
motionUtils.invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, "spring-two-frames");
|
|
1338
1338
|
}
|
|
1339
1339
|
if (generatorFactory !== keyframes &&
|
|
1340
1340
|
typeof keyframes$1[0] !== "number") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motion-dom",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.23.1",
|
|
4
4
|
"author": "Matt Perry",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/motiondivision/motion",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"motion-utils": "^12.
|
|
20
|
+
"motion-utils": "^12.23.1"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"clean": "rm -rf types dist lib",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"maxSize": "1.8 kB"
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "6cd3f6ce7b40efb7d50d95f252ec44a31edceee7"
|
|
40
40
|
}
|