roact-spring

A modern spring-physics based animation library for react-lua based on react-spring

MIT License

Downloads
22
Stars
63
Committers
7

Bot releases are hidden (Show)

roact-spring - roact-spring 2.0.0 Latest Release

Published by chriscerie about 1 year ago

What's Changed

  • Use React and ReactRoblox from jsdotlua (@vocksel in #51)

New Contributors

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.1.6...v2.0.0

roact-spring - roact-spring 1.1.6

Published by chriscerie over 1 year ago

What's Changed

  • Fixed incorrect easing functions for easeInExpo, easeOutExpo, easeInOutCirc, easeInElastic, and easeOutElastic. This is potentially breaking if you relied on the incorrect easing behavior (@passhley in #49)
  • Added easing easeInOutElastic (@passhley in #49)

New Contributors

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.1.5...v1.1.6

roact-spring - roact-spring 1.1.5

Published by chriscerie over 1 year ago

What's Changed

  • Fixed an issue where the spring would never finish if precision is too low

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.1.4...v1.1.5

roact-spring - roact-spring 1.1.4

Published by chriscerie over 1 year ago

What's Changed

  • Fix luau typings (@chriscerie in #42)
  • Fix controller using dot operator for rbxts (@chriscerie in #45)
  • Added roact and roact-hooks as peer dependencies for rbxts (@chriscerie in #46)
  • Fixed isRoact17 require for rbxts users

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.1.3...v1.1.4

roact-spring - roact-spring 1.1.3

Published by chriscerie over 1 year ago

What's Changed

  • Fixed roblox-ts false positives when running plugins on roblox-ts games (@sasial-dev in #40)
  • Fixed roblox-ts typings (@Xuleos in #29)

Special thanks to @Xuleos for the major rewrite of ts types

New Contributors

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.1.2...v1.1.3

roact-spring - roact-spring 1.1.2

Published by chriscerie almost 2 years ago

What's Changed

  • Fixed reset prop not properly resetting velocity, previously yielding really fast springs in certain cases (@chriscerie in #36)

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.1.1...v1.1.2

roact-spring - roact-spring 1.1.1

Published by chriscerie almost 2 years ago

What's Changed

  • Fixed error when passing reset = true without using from prop (@chriscerie in #28)
  • Fixed error when passing from prop without including all keys (@chriscerie in #28)
  • Fixed useTrail not returning promises on api.start (@rwilliaise in #33)
  • Added support for Roact17 (@chriscerie in #35)

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.0.1...v1.1.1

roact-spring - roact-spring 1.0.1

Published by chriscerie over 2 years ago

What's Changed

  • Fixed documentation incorrectly using dot operator for controllers
  • Fixed from prop during imperative updates (@lopi-py in #22)
  • Added Additional Notes section to docs

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v1.0.0...v1.0.1

roact-spring - roact-spring 1.0.0

Published by chriscerie over 2 years ago

What's Changed

  • Bumped promise version to v4.0 (@chriscerie in #20)
  • Bumped roact-hooks version to v0.4 (@chriscerie in #20)
  • Fixed calculations not responding to fps differences (@chriscerie in #20)

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v0.3.1...v1.0.0

roact-spring - roact-spring 0.3.1

Published by chriscerie over 2 years ago

What's Changed

  • Fixed an issue where duration-based anims would always start from the same position

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v0.3.0...v0.3.1

roact-spring - roact-spring 0.3.0

Published by chriscerie over 2 years ago

What's Changed

  • Removed implementation detail from return table
  • Added getting started page to documentation
  • Added reset prop (@chriscerie in #17)
  • Added loop and default props (@chriscerie in #18)

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v0.2.3...v0.3.0

roact-spring - roact-spring 0.2.3

Published by chriscerie over 2 years ago

What's Changed

  • Updated npm metadata
  • Fixed library requires from packages

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v0.2.2...v0.2.3

roact-spring - roact-spring 0.2.2

Published by chriscerie over 2 years ago

What's Changed

  • Added progress config for easing animations (@chriscerie in #13)
  • Hooks now cancel animations when they are unmounted
  • Added staggered text story to demos
  • Fixed useSprings not removing unused springs when length arg decreases
  • Added tests for useSpring and useSprings
  • Added rbxts typings

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v0.2.1...v0.2.2

roact-spring - roact-spring 0.2.1

Published by chriscerie over 2 years ago

What's Changed

  • Fixed useTrail delaying the wrong amount for varying delay times
  • Fixed typo in docs

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v0.2.0...v0.2.1

roact-spring - roact-spring 0.2.0

Published by chriscerie over 2 years ago

What's Changed

  • Fixed color3 animating with wrong values
  • Cleaned up all stories to use circle button component
  • Added support for hex color strings (@chriscerie in #6)
  • Added motivation in docs
  • Added delay prop
  • Added useTrail
  • Added optional dependency array to hooks

Full Changelog: https://github.com/chriscerie/roact-spring/compare/v0.1.1...v0.2.0

roact-spring - roact-spring 0.1.1

Published by chriscerie over 2 years ago

What's Changed

  • Added useSpring
  • Added useSprings
  • Added Controller
  • Added SpringValue
  • Added config
  • Added easings

Full Changelog: https://github.com/chriscerie/roact-spring/commits/v0.1.1