Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Releases: Emiliano-Bucci/react-spring-carousel-js

Bug fix

04 May 07:04
Compare
Choose a tag to compare
v1.9.5

1.9.5

Bug fix

01 May 13:53
Compare
Choose a tag to compare

Fix a minor bug related to customEvents.

v1.3.0

03 Apr 13:45
Compare
Choose a tag to compare

BREAKING CHANGES

This new version introduces an improvement that regard the custom event that the carousel emit. Previously we were using browser native events to emit custom events, and we were adding an event listener for every event; while this solution was working perfectly fine, it required to create multiple handlers and listeners. To improve the performances, reduce the amount of boilerplate from development experience to listen for a particular event and eliminate the need of create new listeners for every event, we changed the way in which events are dispatched and listened, implementing Observables through rxjs.

Check https://react-spring-carousel-js.emilianobucci.com/events to eventually update your implementation.

v1.2.1

02 Apr 15:12
Compare
Choose a tag to compare

This small release implements the disableGestures prop to programmatically disable the gesture feature.

Small improvements

27 Mar 12:44
Compare
Choose a tag to compare

This new minor release introduces a small improvement (that also fix some small bugs) related to the clean phase of the custom hook used to listen to the carousel events. This minor release also includes a small improvement regarding the use of the carousel context. Now you can use useSpringCarouselContext or useTransitionCarouselContext safetely (without having to manually import the react useContext hook) and throwing an error if those context is used outside the proper scope.

v1.1.28

02 Feb 08:47
Compare
Choose a tag to compare
  • Attach and remove screenful listener on every side effect instead of the first mount of the carousel component.
  • Improve the automatic resize of the carousel when after entering/exiting from fullscreen mode.
  • Adjust prepareThumbsData method by removing the necessity to also pass the renderItem property as it isn't needed to render the thumbs.

v1.1.0

23 Dec 23:03
Compare
Choose a tag to compare
  • Add possibility to show multiple items per slide through the itemsPerSlide prop.
  • Add possitiblity - when withLoop={true} - to define a starting position of the current active item through the initialStartingPosition prop.
  • Add the possibility to set an initial active item through the initialActiveItem prop.
  • Improve slideTo methods logic.
  • Refactor event names removing the RSCJS prefix.
  • Minor improvements.