1.0.0
Hey everyone, sorry for the hiatus. Version 1.0.0
is finally here! There are some breaking changes, but the switch should be pretty easy.
Added
- Support for multiple transitions on a single element
- New
preset
option, which works similarly to the now removedtransition
option
Changed
- Repository is now a monorepo containing both the published package and some example projects
- Open Graph image and README cover do not contain the version number anymore
- Updated dependencies
- Using tsup instead of raw esbuild
- Massively simplified CI/CD pipeline
- Improved documentation in README
- Updated JSDoc comments
- Better support for SvelteKit and SSR
- Restructured and simplified the core code
- Reworked TypeScript types
- Custom easing (array of four numbers) can now be defined directly using the
easing
option "easeInOutCubic"
is now the default easing function"blur"
option now has a default value of0
"scale"
option now has a default value of0
"rotate"
option now has a default value of0
Removed
- Dropped support for Gitpod
- Dropped support for Docker
- Removed testing suite
- Dropped
debug
,ref
,highlightLogs
,highlightColor
,transition
andcustomEasing
from the options - Dropped
dev
from the global config - Dropped
setDev
from the API - No longer adding vendor prefixes to the generated styles
Fixed
- Avoiding creating nested media queries when generating the styles
- Inline styles applied to Svelte Reveal targeted elements (elements with
use:reveal
) no longer break the library (#182)