Skip to content

Releases: stephband/slide-show

v1.2

Choose a tag to compare

@stephband stephband released this 05 Jun 01:39

This release updates the API, making the default icons overideable via HTML and adding slots inside of buttons. It also fixes some minor bugs.

  • Provides slots inside of navigation and fullscreen buttons for override of icons and text
  • Moves icons from background CSS to inline SVGs that serve as default content inside those slots
  • Default SVGs inherit stroke and fill properties from their parent ::part()s, making them easily styleable
  • Removes ::part(fullscreen-button-active) (WARNING: potentially breaking change. Fullscreen state should be styled with the :fullscreen and :-webkit-full-screen pseudo classes)
  • Slide show now internally display: flex to automatically accommodate height of controls
  • Fix: as we cannot guarantee a slide-show is visible (user may have set display: none), protects against DOM measurements that cause errors when not visible
  • Fix: tracks device type used for last input in order to avoid scrolling to focused slide if it was focused via a pointer - previously this was making non-active slides hard to click on as they would scroll away on mousedown
  • Fix: Stream library tested for .stop() problems on .merge(), .combine(), .broadcast()

v1.1.6

Choose a tag to compare

@stephband stephband released this 19 May 13:29

Bug fix release

  • Fix errors caused when repeatedly removing and adding a slide-show to the DOM
  • Fix for Safari 13: element.scrollTo() polyfill maintains scroll position where Safari would normally reset it to 0

v1.1.5

Choose a tag to compare

@stephband stephband released this 17 May 00:02

Version 1.1.5

This release changes the API slightly, by making active an attribute so that an initially active slide can now be chosen in HTML. It also has more consistent-between-browsers keyboard navigation via left/right arrows.

Changelog

  • Adds active as an attribute (before, it was a property only) – the initially active slide can now be authored in HTML.
  • Adds support for animated left/right key navigation where previously behaviour and animation differed between browsers.
  • Adds slot "controls".
  • Tightens up activation response so that pagination and navigation to a new slide updates active state immediately.
  • Fix: bug where slide-active was not sent on the initial slide when loop is off.
  • Fix: part controls no longer takes vertical space when no controls enabled.
  • Fix: swipe gestures now rely on scrollInterval heuristic like scrollends do, fixing sporadic jump at end of swipe.
  • Fix: fullscreen state properly unbound when fullscreen is escaped by means other than close button.

v1.0.0 - production build

Choose a tag to compare

@stephband stephband released this 10 May 12:49
Build