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 visible (Hide)

svelte-reveal - 1.1.0 Latest Release

Published by github-actions[bot] 6 months ago

Changed

  • Improved GitHub actions workflows (#212)
  • Improved bundled stylesheet (#213)
  • Improve bug report template (#217)

Fixed

  • Elements targeted by Svelte Reveal inside a parent node no longer appear on the bottom (#215)
svelte-reveal - 1.0.4

Published by github-actions[bot] 7 months ago

Fixed

  • Resolved release workflow misconfiguration
svelte-reveal - 1.0.3

Published by github-actions[bot] 7 months ago

Fixed

  • Automatic upload of release asset via GitHub actions
svelte-reveal - 1.0.2

Published by github-actions[bot] 7 months ago

Fixed

  • Automatic upload of release asset via GitHub actions
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.7.0

Published by github-actions[bot] almost 2 years ago

Changed

  • Rebranded svelte-reveal to Svelte Reveal (the package name stays the same though)
  • Added badge for NPM weekly downloads in README
  • Better badges order in README
  • New cover image in README
  • Updated dependencies
  • Better test names
  • Plenty of core code refactoring to increase code quality and code readability
  • Updated and improved internal code documentation
  • ref option now accepts whitespaces

Fixed

  • Fixed wrong options passed to the intersection observer in the createObserver function in DOM.ts
  • Fixed and improved content in README

Removed

  • Removed validation steps in pre-commit hook
  • Options marginTop, marginRight, marginBottom and marginLeft have been deprecated in favour of rootMargin to better align with the Intersection Observer API
svelte-reveal - 0.6.0

Published by github-actions[bot] over 2 years ago

Added

  • Created unit tests for new modules

Changed

  • Version numbers in CHANGELOG now allow to compare changes with previous release
  • Separated some business logic into separate modules
  • Updated README with CSS requirements for scale and spin transitions

Removed

  • Vendor prefixes are not added anymore

Fixed

  • Fixed and improved README (emojis have been removed from the headings to fix broken links)
  • Fixed some JSDoc typos
svelte-reveal - 0.5.0

Published by github-actions[bot] over 2 years ago

Changed

  • Documented how to use svelte-reveal with SvelteKit
svelte-reveal - 0.4.0

Published by github-actions[bot] almost 3 years ago

Changed

  • Removed unused imports
  • New releases now contains output of npm pack
  • Sourcemap is no longer included in the bundle (package size is now drastically lower)
  • Added some new tests
svelte-reveal - 0.3.3

Published by github-actions[bot] almost 3 years ago

Changed

  • Better internal architecture
  • General improvement to README
  • Extended documentation for transitions in README

Fixed

  • setDefaultOptions now works as expected
  • Scale and spin transitions now look much better
svelte-reveal - 0.3.2

Published by github-actions[bot] almost 3 years ago

Changed

  • Stopped using inline styles in favor of proper classes
  • Better internal project structure

Fixed

  • Same type transitions now don't share properties anymore
svelte-reveal - 0.3.1

Published by github-actions[bot] almost 3 years ago

Fixed

  • Generated tag name in CI/CD pipeline
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
svelte-reveal - 0.2.0

Published by github-actions[bot] almost 3 years ago

Added

  • Bug report issue form
  • Feature request issue form
  • Docker development environment

Changed

  • Improved regex responsible for cleaning strings
  • Better naming in GitHub CI workflow
svelte-reveal - 0.1.0

Published by github-actions[bot] almost 3 years ago

  • Initial beta release