Skip to content

Releases: barthy-koeln/scroll-snap-slider

v3.3.3 | Global Event Types

24 Aug 08:31

Choose a tag to compare

Full Changelog: v3.3.2...v3.3.3

  • Added docs section about global event types
  • Added .d.ts file to bundle for global event types

v3.3.2

01 Mar 08:16

Choose a tag to compare

What's Changed

  • Improved build setup for docs and library
  • Made update method public
  • Added reduced motion styles
  • Added typing for custom events
  • Removed requestAnimationFrame from resize listener as that's called at the corrrect timing anyway
  • docs(fix): correctly import dependencies in plugin example by @felixranesberger in #26
  • fix: cleanup autoplay by @barthy-koeln in #35

New Contributors

Full Changelog: v3.3.0...v3.3.2

v3.1.1

23 Feb 23:17
32ea8c8

Choose a tag to compare

What's Changed

  • fix(main): start and stop resize observer with attach/detach by @barthy-koeln in #25
  • fix(draggable): cancel stop-listener when started dragging again by @barthy-koeln in #24

Full Changelog: v3.3.0...v3.1.1

v3.3.0 | Fixed slide-pass event details

10 Feb 18:20
2e56c88

Choose a tag to compare

Fixes incorrect slide numbers passed to slide-pass events. This was due to the asynchronous callback from requestAnimationFrame.

v3.2.0 | Modern packaging

18 Jan 15:41
8d928ec

Choose a tag to compare

Fixes usage with modern frameworks.

v3.2.0-rc.0 | Modern packaging

18 Jan 15:14
8ef9b24

Choose a tag to compare

Pre-release

Tries to use a more modern dual-build package for ESM, CJS and UMD.

v3.1.0 | ESM & UMD builds with vite

12 Apr 07:59
6470edb

Choose a tag to compare

Added different build types with vite.
The internal file names have changed, the import structure is the same.

v3.0.1 | Release Fix

01 Mar 18:58

Choose a tag to compare

Messed up the deployment, here's a fixed version.

v3.0.0 | TypeScript Rewrite and minor breaking changes

01 Mar 18:36

Choose a tag to compare

Migration from v2:

  • All options are passed in an object instead of individual constructor parameters
  • Use the .with method to initialize plugins
  • Open an issue if I've missed anything :)
const slider = new ScrollSnapSlider({ element }).with([
  new ScrollSnapAutoplay(1200),
  new ScrollSnapLoop
])

v2.6.0 | Detach Listeners and Loop Improvements

30 Dec 11:30

Choose a tag to compare

Features

  • ScrollSnapSlider::detachListeners now complements attachListeners

Improvements

  • ScrollSnapLoop disables the scroll listener while reordering stuff
  • Removed git hooks from postinstall