v4.0.0
New Features ✨
- Revise accessibility with following W3C Carousel Design Pattern
- Install a Live Region for screen reader users
- Reduce non-essential motions when detecting the
prefers-reduced-motion
media feature - Support a toggle (combined play-pause) button for autoplay
- Make
breakpoints
behave like CSS media query, ensuring the same carousel between window resize and page load (#693, #694) - Implement the Drag Free Snap mode
- Make the
direction
option responsive - Add options to control the wheel sensitivity for inertia scroll (#618)
- Add the
rewindByDrag
option (#663) - Patch
:focus-visible
for IE and Safari, and add focus styles to themes
Visit here for more details.
Bug Fixes 🐛
- Ensure to use the
fade
type specified by the data attribute (#659) - Hide custom arrows by
arrows: false
(#654)