Skip to content

Releases: evermade/overflow-slider

4.2.3

20 Feb 13:49

Choose a tag to compare

  • Add: React example in README.md
  • Change: Move changelog to separate file to make README.md more compact
  • Fix: ThumbnailPlugin not setting first item active when navigatin back to it when thumbnails are not overflowing
  • Fix: moving slider to keyboard focused item work better with slide's inner focusable elements

4.2.2

30 Dec 11:41

Choose a tag to compare

  • Add: justify-content: flex-start to overflow-slider base styles to prevent centering of slides or other unexpected behavior when slider container is wider than its content.

4.2.1

10 Dec 16:49

Choose a tag to compare

  • Fix: currentPage and amountOfPages not being calculated correctly with FullWidthPlugin causin last page no to activate properly.

4.2.0

20 Nov 15:30

Choose a tag to compare

  • Add: View mode in DotsPlugin in addition to previous "slide mode"
  • Fix: Remove forgotten console.log from ClassNamesPlugin

4.1.0

30 Oct 05:54

Choose a tag to compare

  • Add: ClassNamesPlugin to add classes to visible/partly visible/hidden slides.
  • Add: targetWidth property to core level (backwards compatible with FullWidthPlugin implementation)
  • Fix: Scroll snapping for FullWidthPlugin
  • Fix: Possible issues where plugin changed some details and that was not applied for first render
  • Fix: Rendering issue where transition on slides could prevent calculations initially from working

4.0.0

27 Jun 06:55

Choose a tag to compare

  • Add: AutoPlayPlugin to allow auto-playing slides
  • Add: Mixins that can be imported to SCSS projects
  • Add: CSS variable: --slider-container-height
  • Add: CSS variable: --slider-x-offset
  • Add: Option cssVariableContainer to expose CSS variables for example higher container
  • Add: canMoveToSlide method to check if slider can move to a specific slide (does it exist, is it already in view)
  • Add: targetWidth to slider options as relying on --slider-container-target-width can be more solid to calculate fractional slide widths on (at least when there is only few slides)
  • Fix: Export TypeScript types properly from core and plugins to be available automatically
  • Fix: ScrollIndicatorPlugin click to scroll bar didn't always detect click position correctly
  • Fix: snapToClosestSlide method edge cases on DragScrollingPlugin sometimes not snapping on right slide

3.3.1

01 Nov 07:30

Choose a tag to compare

  • Fix: FullWidthPlugin margin calculation not being run if there's too few slides for overflow and you resize screen without container width changing

3.3.0

01 Nov 06:35

Choose a tag to compare

  • Add: Ability to move each direction by one slide at a time via moveToSlideInDirection prev/next
  • Add: Support for ArrowsPlugin to move by one slide at a time (default is still one view at a time)
  • Fix: Remove console logs
  • Refactor: Plugin build paths to match import paths. Might fix some eslint warnings. If you are not using import but directly referencing the plugin files under dist/ you might need to update your paths.

3.2.1

25 Sep 05:56

Choose a tag to compare

  • Add: Documentation on plugins
  • Fix: Make types more strict and remove all "any" types

3.2.0

05 Jul 12:29

Choose a tag to compare

  • Add: RTL support
  • Add: --slider-container-target-width for FullWidthPlugin to allow CSS based on target size
  • Add: Documentation how to set slides per view in CSS
  • Fix: Attach ThumbnailsPlugin to scrollEnd which skips in-between slides when multiple slides are scrolled at once