framer-motion
Advanced tools
Changelog
[1.2.0] 2019-07-09
positionTransition
as a function that resolves when the component has moved.dragOriginX
and dragOriginY
props.positionTransition
from SVG type.Changelog
[1.1.1] 2019-07-05
FramerMotion
to Motion
.@emotion/is-valid-prop
, saving ~1.9kb from bundle.async
markers, saving ~0.7kb from bundle.drag
and pan
gestures on component unmount.animate
animate correctly.onAnimationComplete
when while
overrides are unset.animate
is a map of props and initial={false}
. This went previously unseen as both values were equivalent, but onAnimationComplete
would fire on mount.Changelog
[1.1.0] 2019-07-03
AnimatePresence
component for controlling mount/unmount animations.positionTransition
prop for animating when the layout of a component changes.Changelog
[1.0.4] 2019-07-01
MotionStyle
type.MakeMotion
to accept either MotionValue<string>
OR MotionValue<number>
.Changelog
[1.0.3] 2019-07-01
dragConstraints
to a ref if a component re-renders mid gesture.dragConstraints
on render if component isn't currently dragging.Changelog
[1.0.2] 2019-06-28
when
type more permissive for passing in implicitly typed, pre-defined variants
.select
, input
, textarea
elements.