Releases: evermade/overflow-slider
Releases · evermade/overflow-slider
4.2.3
- 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
- Add:
justify-content: flex-startto overflow-slider base styles to prevent centering of slides or other unexpected behavior when slider container is wider than its content.
4.2.1
- Fix: currentPage and amountOfPages not being calculated correctly with FullWidthPlugin causin last page no to activate properly.
4.2.0
- Add: View mode in DotsPlugin in addition to previous "slide mode"
- Fix: Remove forgotten console.log from ClassNamesPlugin
4.1.0
- 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
- 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
cssVariableContainerto expose CSS variables for example higher container - Add:
canMoveToSlidemethod to check if slider can move to a specific slide (does it exist, is it already in view) - Add:
targetWidthto slider options as relying on--slider-container-target-widthcan 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
- 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
- Add: Ability to move each direction by one slide at a time via
moveToSlideInDirectionprev/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
- Add: Documentation on plugins
- Fix: Make types more strict and remove all "any" types
3.2.0
- Add: RTL support
- Add:
--slider-container-target-widthfor 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