- Fixes an issue where using
resume
would cause the windup to add the next character 50 years in the future. Thank you anulman!
- Adds a new API for pausing and resuming windups!
<WindupChildren>
now has aisPaused
prop; there are newusePause
anduseResume
hooks, anduseWindupString
returnspause
andresume
callbacks. Thank you anulman! - Updates typings for compatibility with React 18. Thank you witchtrash!
- Updates break-styled-lines to v1.2.2, which now offers a CommonJS export
- Changes the build process used for the package.
- Fixes an issue where React would warn about every item in a list needing a key
prop whenever a component with a children prop would be rendered by
WindupChildren
- Fix an issue where spaces were being passed as children when not asked for. This would result in using things like inserting a space!
- Fixes a bad publish.
- Export
StyledText
from entry index
- Update the break-styled-lines dependency to fix a regression in Linebreaker.
- Update a few deps for security fixes
- Added a
StyledText
component to be used withLinebreaker
. Use this if you have differently styled text within a singleLinebreaker
usage. useWindupString
will now display the current string value in React devtools