Skip to content

Releases: wellyshen/use-web-animations

v0.9.1

08 Jun 15:33
Compare
Choose a tag to compare
  • fix: onFinish event not working properly (#475)
  • refactor: enhance the type of playState (#474)

v0.9.0

30 May 10:28
Compare
Choose a tag to compare
  • Refactor: the keyframes and animationOptions are cached when the hook is mounted, use the [animation] method to set/update the animation instead.
  • Refactor: deprecate the shouldUpdateAnimation option due to the above change.
  • Refactor: refine types.
  • Docs: add Working in TypeScript doc.

v0.8.0

29 May 18:10
Compare
Choose a tag to compare
  • Feat: add new shouldUpdateAnimation option, see API to learn more.
  • Refactor(types): change the type of keyframes option from optional to required.

v0.7.4

19 May 15:00
Compare
Choose a tag to compare
  • Refactor(types): remove readonly from event properties (#445)

v0.7.3

19 May 13:10
Compare
Choose a tag to compare
  • Refactor(types): enhance the types of event properties (#444)

v0.7.2

18 May 05:15
Compare
Choose a tag to compare
  • Refactor(types): export more types to fulfill your use cases (#441)

v0.7.1

15 May 07:47
Compare
Choose a tag to compare
  • Fix: cancel animation when component unmounted (#437)

v0.7.0

10 Apr 08:27
Compare
Choose a tag to compare

💥 Breaking Changes

  • Rename the timing option as animationOptions for better meaningful. See basic usage to learn more.
  • Support pseudoElement via the animationOptions option. See basic usage to learn more.

v0.6.1

29 Dec 16:23
Compare
Choose a tag to compare
  • Fix: exports pre-defined animation effects (#255)

v0.6.0

23 Dec 08:50
Compare
Choose a tag to compare

💥 BREAKING CHANGE