Comparing version 11.11.17 to 11.12.0
@@ -166,5 +166,4 @@ 'use strict'; | ||
// Create a linear easing point for every 10 ms | ||
const resolution = 10; | ||
const generateLinearEasing = (easing, duration // as milliseconds | ||
const generateLinearEasing = (easing, duration, // as milliseconds | ||
resolution = 10 // as milliseconds | ||
) => { | ||
@@ -407,2 +406,3 @@ let points = ""; | ||
hydrateKeyframes(valueName, valueKeyframes, readInitialKeyframe); | ||
// TODO: Replace this with toString()? | ||
if (isGenerator(options.type)) { | ||
@@ -409,0 +409,0 @@ const generatorOptions = createGeneratorEasing(options, 100, options.type); |
@@ -187,5 +187,4 @@ 'use strict'; | ||
// Create a linear easing point for every 10 ms | ||
const resolution = 10; | ||
const generateLinearEasing = (easing, duration // as milliseconds | ||
const generateLinearEasing = (easing, duration, // as milliseconds | ||
resolution = 10 // as milliseconds | ||
) => { | ||
@@ -428,2 +427,3 @@ let points = ""; | ||
hydrateKeyframes(valueName, valueKeyframes, readInitialKeyframe); | ||
// TODO: Replace this with toString()? | ||
if (isGenerator(options.type)) { | ||
@@ -430,0 +430,0 @@ const generatorOptions = createGeneratorEasing(options, 100, options.type); |
{ | ||
"name": "motion", | ||
"version": "11.11.17", | ||
"version": "11.12.0", | ||
"description": "An animation library for JavaScript and React.", | ||
@@ -73,3 +73,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"framer-motion": "^11.11.17", | ||
"framer-motion": "^11.12.0", | ||
"tslib": "^2.4.0" | ||
@@ -93,3 +93,3 @@ }, | ||
}, | ||
"gitHead": "fe1009f6a225bdb24562f762ecfe03eebc6a01ed" | ||
"gitHead": "f12b84d4dbf7de2d21fae5f560fc76da535eaec7" | ||
} |
@@ -41,3 +41,3 @@ <p align="center"> | ||
- [Keyframes](https://motion.dev/docs/react-animation#keyframes) | ||
- [Layout animations](https://motion/dev/docs/react-layout-animations) | ||
- [Layout animations](https://motion.dev/docs/react-layout-animations) | ||
- [Shared layout animations](https://motion.dev/docs/react-layout-animations#shared-layout-animations) | ||
@@ -48,4 +48,4 @@ - [Gestures (drag/tap/hover)](https://motion.dev/docs/react-gestures) | ||
- [Exit animations](https://motion.dev/docs/react-animation#exit-animations) | ||
- [Server-side rendering](https://motion.dev//docs/react-motion-component#server-side-rendering) | ||
- [Independent transforms](https://motion.dev/docs/react-motion-component#independent-transforms) | ||
- [Server-side rendering](https://motion.dev/docs/react-motion-component#server-side-rendering) | ||
- [Independent transforms](https://motion.dev/docs/react-motion-component#style) | ||
- [Orchestrate animations across components](https://motion.dev/docs/react-animation#orchestration) | ||
@@ -106,2 +106,6 @@ - [CSS variables](https://motion.dev/docs/react-animation#css-variables) | ||
### Gold | ||
<a href="https://liveblocks.io"><img alt="Liveblocks" src="https://github.com/user-attachments/assets/31436a47-951e-4eab-9a68-bdd54ccf9444" width="225px" height="150px"></a> | ||
### Silver | ||
@@ -115,2 +119,8 @@ | ||
<a href="https://puzzmo.com"><img alt="Puzzmo" src="https://github.com/user-attachments/assets/aa2d5586-e5e2-43b9-8446-db456e4b0758" width="150px" height="100px"></a> | ||
<a href="https://buildui.com"><img alt="Build UI" src="https://github.com/user-attachments/assets/024bfcd5-50e8-4b3d-a115-d5c6d6030d1c" width="150px" height="100px"></a> | ||
<a href="https://hover.dev"><img alt="Hover" src="https://github.com/user-attachments/assets/4715b555-d2ac-4cb7-9f35-d36d708827b3" width="150px" height="100px"></a> | ||
### Personal | ||
@@ -120,1 +130,4 @@ | ||
- [OlegWock](https://sinja.io) | ||
- [Lambert Weller](https://github.com/l-mbert) | ||
- [Jake LeBoeuf](https://jklb.wf) | ||
- [Han Lee](https://github.com/hahnlee) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1595006
388
39533
129
Updatedframer-motion@^11.12.0