motion 12.18.2 → 12.19.0
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/motion.dev.js +2 -2
- package/package.json +3 -3
package/dist/motion.dev.js
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
https://github.com/gre/bezier-easing/blob/master/LICENSE
|
|
188
188
|
|
|
189
189
|
I've removed the newtonRaphsonIterate algo because in benchmarking it
|
|
190
|
-
wasn't
|
|
190
|
+
wasn't noticeably faster than binarySubdivision, indeed removing it
|
|
191
191
|
usually improved times, depending on the curve.
|
|
192
192
|
I also removed the lookup table, as for the added bundle size and loop we're
|
|
193
193
|
only cutting ~4 or so subdivision iterations. I bumped the max iterations up
|
|
@@ -6481,7 +6481,7 @@
|
|
|
6481
6481
|
}
|
|
6482
6482
|
|
|
6483
6483
|
/**
|
|
6484
|
-
* Build SVG visual
|
|
6484
|
+
* Build SVG visual attributes, like cx and style.transform
|
|
6485
6485
|
*/
|
|
6486
6486
|
function buildSVGAttrs(state, { attrX, attrY, attrScale, pathLength, pathSpacing = 1, pathOffset = 0,
|
|
6487
6487
|
// This is object creation, which we try to avoid per-frame.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motion",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.19.0",
|
|
4
4
|
"description": "An animation library for JavaScript and React.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.mjs",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"postpublish": "git push --tags"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"framer-motion": "^12.
|
|
79
|
+
"framer-motion": "^12.19.0",
|
|
80
80
|
"tslib": "^2.4.0"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"optional": true
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "009e4c4e793ecacaebe7066b969c640f0c09f573"
|
|
99
99
|
}
|