Releases: aholachek/react-flip-toolkit
Releases · aholachek/react-flip-toolkit
Fix types bug
This release addresses #94
v7.0.3
v7.0.2
v7.0.0
Summary This release a spring utility, and reduces the size of the main library by a bit.
Breaking changes
- Stagger delays for nested
Flipped
components are now no longer automatically handled. If you want aFlipped
animation to wait for another (staggered)Flipped
animation to begin, you need to explicitly provide a prop that references theflipId
of theFlipped
component to wait until:delayUntil="flipId"
. Getting rid of auttomatically handled nested staggers reduced the complexity of the code and made the library a bit smaller and a lot more maintainable. - the vanillajs
react-flip-toolkit/es/core
has been replaced byflip-toolkit
Added
spring
, a function to handle spring tweening of style attributes for you.
Improved
flip-toolkit
, the base of the library without any React, is now its own package on npm
Add hack for releasing core sub-bundle with microbundle
Fixes #86
This will be unnecessary in V7 since flip-toolkit
(aka core
) will become its own package instead of a sub-import of react-flip-toolkit
Fix issues with umd and core releases
Fixes some relatively minor breaking changes caused by 6.6.6:
- Add back a compatibility build of
/core
at/es/core
. The old recommended way to import thecore
file was:
import Core from 'react-flip-toolkit/es/core
and the new way is :
import Core from 'react-flip-toolkit/core'
The next major release will remove compatibility with the old es/core
imports.
- Fix
umd
exports. For the (hopefully few) people who are usingumd
, you will now have to explicitly import the library's only dependency,Rematrix
, first. You can import it from unpkg. For an example, check out the imports in this codepen.
v6.6.6
Switch to the amazing microbundle instead of doing rollup config myself, which allows me to get rid of the hardcoded types file and magically shaves a smidgen off the bundle size
v6.6.5
v6.6.4
Fix nested transition bug
Fixes bug found in #78 where an appearing (non-flipped) parent will interfere in the flip animations of its children