npm tw-animate-css 1.3.0
v1.3.0

latest releases: 1.3.8, 1.3.0-canary.33, 1.3.0-canary.32...
3 months ago

Changelog

  • 6dba4b0: fix: align syntax with Tailwind CSS syntax
  • c82b41c: docs: add tree-shaking note
  • 33b4e50: feat: add animation-duration-* utility
  • a6fcd13: chore: bump version to 1.3.0 and update dependencies

New features

I've decided to add a animation-duration-* utility which should be used to define animation durations in the future. For now, duration-* is still supported to remain compatible with tailwindcss-animate.

This utility was added so you can define different durations for transitions and animations. Probably not something many people have a use case for, but I didn't want to define an own duration-* utility to actually set animation-duration. Please open an issue if you prefer to keep using duration-* instead of animation-duration-*.

Breaking Change

zoom-in-* and zoom-out-* utilities now require ratios to be specified differently:

- zoom-in-[1/2]
+ zoom-in-1/2

I don't expect this to affect many people, which is why this is not a major release. If you are affected by this, let me know.

Don't miss a new tw-animate-css release

NewReleases is sending notifications on new releases.