Skip to content

Releases: kareemaly/react-items-carousel

2.8.0

11 Oct 21:44

Choose a tag to compare

Changes

Features

  • Added prop infiniteLoop: boolean to enable or disable infinite loop on the carousel items.
  • Added prop calculateActualTranslateX: func to be able to change current translateX value.

Refactor

  • Moved the following carousel values to hoc withCarouselValues
    • items: array of nodes
    • nextItemIndex: number
    • previousItemIndex: number
    • activeItemTranslateX: number

Docs

  • Upated props to include infiniteLoop and calculateActualTranslateX
  • Added infiniteLoop feature limitations section

2.7.0

20 Sep 14:30

Choose a tag to compare

Changes

Features

  • Ability to pass class names to carousel inner elements, fixes #22

2.6.1

13 Sep 06:43

Choose a tag to compare

Changes

Bug fixes

  • fix: translation to last item when showSlither is true, fixes #3

2.6.0

13 Sep 06:26

Choose a tag to compare

Changes

Features

  • Added ability to always show chevrons even if there were no cards to scroll alwaysShowChevrons: Boolean, fixes #10

2.5.0

13 Sep 06:15

Choose a tag to compare

Changes

Features

  • Added ability to watch for active state changes using onActiveStateChange to get some useful info, for now you only get { isFirstScroll: Boolean, isLastScroll: Boolean }, related issues #23

2.4.2

13 Sep 05:54

Choose a tag to compare

Changes

Bug fixes

  • Fix warning of wrong measureRef prop type for legacy refs

2.4.1

13 Sep 05:22

Choose a tag to compare

Changes

Bugfixes

  • using React.Children.toArray to have possibility to pass one child

Docs

  • updating example in README.md

2.4.0

13 Sep 05:03

Choose a tag to compare

Changes

Features

  • added ability to swipe on touch devices

Bug fixes

  • loading of images on the demo
  • using exact packages of lodash max and min

Refactor

  • Using HOC to split functionality
  • Removed unused Animator file
  • Removed unused doc generator file

DEPRECATIONS

  • freeScrolling property NO longer exists

2.3.7

15 Jul 12:55
b60e7a1

Choose a tag to compare

Fix for Warning: Received NaN for the width attribute. If this is expected, cast the value to a string.

2.3.5

23 Apr 18:06

Choose a tag to compare

  • Replacing componentWillMount with constructor
  • Removing unnecessary state
  • Merging placeholder carousel