Releases: benvp/live_motion
Releases · benvp/live_motion
v0.3.1
What's Changed
- Update documented limitations for 0.3.0 by @zachallaun in #9
- update phoenix dependency version by @DennisNissen in #14
New Contributors
- @zachallaun made their first contribution in #9
- @DennisNissen made their first contribution in #14
Full Changelog: v0.3.0...v0.3.1
v0.3.0
[v0.3.0] (2022-10-26)
Breaking changes
- Support for LiveView 0.18. The minimum required version is LiveView 0.18 now.
- Remove possibility to animate non LiveMotion components.
- Rename event props to
on_motion_start
andon_motion_complete
to be more compliant with
other motion implementations.
New Features
- The
motion
component now usesdynamic_tag
from LiveView. This allows you to change the
rendered HTML element. - The
motion
component can be be self-closing (<LiveMotion.motion />
). - Support for
glide
animations. - Use provided
duration
as a hint when usingspring
orglide
easing functions. - Add
hover
,press
,in_view
,in_view_options
props.
Improvements
- Use
createMotionState
for handling of the animation states. - Update
motion
to10.14.2
.