svelte-reveal

Svelte action that leverages the Intersection Observer API to trigger reveal on scroll transitions.

MIT License

Downloads
3.7K
Stars
110
Committers
6

Bot releases are hidden (Show)

svelte-reveal - 1.0.1

Published by DaveKeehl 7 months ago

Fixed

  • GitHub actions release workflow
svelte-reveal -

Published by DaveKeehl 7 months ago

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 removed transition 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 of 0
  • "scale" option now has a default value of 0
  • "rotate" option now has a default value of 0

Removed

  • Dropped support for Gitpod
  • Dropped support for Docker
  • Removed testing suite
  • Dropped debug, ref, highlightLogs, highlightColor, transition and customEasing 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)
svelte-reveal - 0.3.0

Published by DaveKeehl almost 3 years ago

Changed

  • Added link to a demo Svelte REPL in README

Fixed

  • Fixed some broken links in README