Releases: alexmacarthur/typeit
Fix Types
TypeIt's option types were not correctly being exposed through typeit-react. This release fixes that.
Migrate to Vite
Migrated from Microbundle to Vite for bundling, which led to a ~18% drop in the UMD bundle size. 🎉
Update Dependencies + `postinstall` Script
Not much exciting here. Just some dependency updates, and switching over from a Node to bash for the postinstall script.
move() Bug Fix
When a number of steps was being passed to .move()
that was outside the range of typed characters, unexpected weirdness was occurring. This released fixes that bug. Passing values beyond the lower or upper range of typed characters will no longer cause any execution problems, but instead just work.
Callback Fixes
There were a couple of issues occurring with TypeIt's callback methods.
More Versatile than Ever.
v8 introduces a host of new features & enhancements, and with limited breaking changes. For a full changelog, see here:
Fix Looping Bug
A bug was causing a delay to gradually increase as animations looped over and over again. This releases fixes that bug, simplifying the internal loop logic along the way.
Don't Remove Cursor Node's Children Expectedly
There was a bug that was removing a custom cursor children during deletion. This release properly ignores the cursor and its children correctly, so that they're preserved throughout the animation.
Don't Remove Break Tags Unexpectedly
A bug was causing <br>
tags to be removed when strings were being deleted. This release fixes that.
Fix Bug Caused by Empty Strings Being Passed
This release fixes a bug caused by how TypeIt handled empty strings passed to the strings
option. When something like ["", "foo", "bar"]
was passed, the animation would halt on the empty string. See issue #199 for more details.