This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Releases: otonashixav/solid-flip
Releases · otonashixav/solid-flip
v0.10.4
v0.9.1
0.9.1
v0.8.1
0.8.1
v0.7.5
- Keep
TransitionGroup
uninitialized (i.e. delay running or not running initial) until at least one child exists to help with lazily loading children.
v0.7.4
- Fix initial not being run with the scheduler.
v0.7.3
- Fix checking removed elements against
currentTarget
instead oftarget
as intended.
v0.7.1
- Renamed
animateMove
'sgetKeyframes
tokeyframes
. - Removed
extraKeyframesList
as it is obsoleted by providing an array of keyframes with offsets. - Added the option to pass a callback to
keyframes
onanimateEnter
andanimateExit
.
v0.7.0
A big overhaul introducing many breaking changes, including significantly better scheduling, more options for integrations and fewer restrictions with SVG elements.
Transition
is nowTransitionGroup
to be more in line withsolid-transition-group
andreact-transition-group
, and to avoid sharing a name with theTransition
type in the solid library.- Helpers are now called integrations, inspired by
solid-app-router
. - Added scheduling to integrations to make it clearer what runs when.
animate
integrations now accept an object for animate parameters instead of taking two parameters for the keyframes and options. They can also accept a callback that animates the element.- Added
separate
as an option where applicable, separating removal of elements or classes per element instead of using the first element to remove all elements or classes. - Renamed
fixPosition
toabsolute
to make it clearer what it does. It also works on SVG elements now. - Renamed the
fixPositions
utility todetachEls
andfilterMoved
tofilterMovedEls
to make it clearer what they do. - Added
type
as an option on css integrations to prevent the wrong type of event from triggering the listener. - A custom event is now used to remove enter classes instead of hijacking the
animationend
listener. StylableElement
is nowElement & ElementCSSInlineStyle
instead ofHTMLElement | SVGElement
.- Allowed
initial
to be a callback, and allowed it to be provided viaenter
as well. - Added
reverseEnter
toanimateExit
, allowing enter animations to be reversed in causes where it looks cleaner to do so.