framer-motion
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -5,2 +5,12 @@ # Changelog | ||
## [0.6.0] 2019-02-20 | ||
### Added | ||
- `static` prop. Set `static` on a motion component to prevent animation and interaction. | ||
### Removed | ||
- `render` | ||
## [0.5.2] 2019-02-20 | ||
@@ -7,0 +17,0 @@ |
@@ -623,7 +623,8 @@ /// <reference types="react" /> | ||
/** | ||
* Set to `false` to block rendering the latest motion values on the | ||
* component - can be used to temporarily disable animations for | ||
* performance reasons. | ||
* Set to `true` to block rendering motion values (`animate`, gestures etc) | ||
* on the component. | ||
* | ||
* This can be used to temporarily disable animations for performance reasons. | ||
*/ | ||
render?: boolean; | ||
static?: boolean; | ||
} | ||
@@ -803,3 +804,2 @@ | ||
private onUpdate?; | ||
private shouldRender; | ||
private values; | ||
@@ -814,3 +814,2 @@ private unsubscribers; | ||
setOnUpdate(onUpdate?: OnUpdate): void; | ||
setShouldRender(render: boolean): void; | ||
mount(element: Element): void; | ||
@@ -817,0 +816,0 @@ unmount(): void; |
{ | ||
"name": "framer-motion", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"main": "dist/framer-motion.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/framer-motion.es.js", |
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 too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
667455
16310