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_startandon_motion_completeto be more compliant with
other motion implementations.
New Features
- The
motioncomponent now usesdynamic_tagfrom LiveView. This allows you to change the
rendered HTML element. - The
motioncomponent can be be self-closing (<LiveMotion.motion />). - Support for
glideanimations. - Use provided
durationas a hint when usingspringorglideeasing functions. - Add
hover,press,in_view,in_view_optionsprops.
Improvements
- Use
createMotionStatefor handling of the animation states. - Update
motionto10.14.2.