Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-responsive-carousel

leandrowd1.1mMIT3.2.23TypeScript support: included

React Responsive Carousel

react, carousel, gallery, image-gallery, slider, responsive, swipe, mobile-friendly, react-component, view

readme

React Responsive Carousel

npm version Build Status FOSSA Status

Powerful, lightweight and fully customizable carousel component for React apps.

Important

I don't have any time available to keep maintaining this package. If you have any request, try to sort it within the community. I'm able to merge pull requests that look safe from time to time but no commitment on timelines here. Feel free to fork it and publish under other name if you are in a hurry or to use another component.

Features

  • Responsive
  • Mobile friendly
  • Swipe to slide
  • Mouse emulating touch
  • Server side rendering compatible
  • Keyboard navigation
  • Custom animation duration
  • Auto play w/ custom interval
  • Infinite loop
  • Horizontal or Vertical directions
  • Supports images, videos, text content or anything you want. Each direct child represents one slide!
  • Supports external controls
  • Highly customizable:
    • Custom thumbs
    • Custom arrows
    • Custom indicators
    • Custom status
    • Custom animation handlers

Demo

http://leandrowd.github.io/react-responsive-carousel/

Check it out these cool demos created using storybook. The source code for each example is available here

Customize it yourself:

Installing as a package

yarn add react-responsive-carousel

Usage

import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import "react-responsive-carousel/lib/styles/carousel.min.css"; // requires a loader
import { Carousel } from 'react-responsive-carousel';

class DemoCarousel extends Component {
    render() {
        return (
            <Carousel>
                <div>
                    <img src="assets/1.jpeg" />
                    <p className="legend">Legend 1</p>
                </div>
                <div>
                    <img src="assets/2.jpeg" />
                    <p className="legend">Legend 2</p>
                </div>
                <div>
                    <img src="assets/3.jpeg" />
                    <p className="legend">Legend 3</p>
                </div>
            </Carousel>
        );
    }
});

ReactDOM.render(<DemoCarousel />, document.querySelector('.demo-carousel'));

// Don't forget to include the css in your page

// Using webpack or parcel with a style loader
// import styles from 'react-responsive-carousel/lib/styles/carousel.min.css';

// Using html tag:
// <link rel="stylesheet" href="<NODE_MODULES_FOLDER>/react-responsive-carousel/lib/styles/carousel.min.css"/>

Props

Name Value Description
ariaLabel string Define the aria-label attribute for the root carousel element. The default is undefined, skipping the attribute from markup.
axis 'horizontal', 'vertical' Define the direction of the slider, defaults to 'horizontal'.
autoFocus boolean Force focus on the carousel when it renders.
autoPlay boolean Change the slide automatically based on interval prop.
centerMode boolean Center the current item and set the slide width based on centerSlidePercentage.
centerSlidePercentage number Define the width percentage relative to the carousel width when centerMode is true.
dynamicHeight boolean The height of the items will not be fixed.
emulateTouch boolean Enable swipe on non-touch screens when swipeable is true.
infiniteLoop boolean Going after the last item will move back to the first slide.
interval number Interval in milliseconds to automatically go to the next item when autoPlay is true, defaults to 3000.
labels object Apply aria-label on carousel with an object with the properties leftArrow, rightArrow and item. The default is {leftArrow: 'previous slide / item', rightArrow: 'next slide / item', item: 'slide item'}.
onClickItem function Callback to handle a click event on a slide, receives the current index and item as arguments.
onClickThumb function Callback to handle a click event on a thumb, receives the current index and item as arguments.
onChange function Callback to handle every time the selected item changes, receives the current index and item as arguments.
onSwipeStart function Callback to handle when the swipe starts, receives a touch event as argument.
onSwipeEnd function Callback to handle when the swipe ends, receives a touch event as argument.
onSwipeMove function Callback triggered on every movement while swiping, receives a touch event as argument.
preventMovementUntilSwipeScrollTolerance boolean Don't let the carousel scroll until the user swipe to the value specified on swipeScrollTolerance.
renderArrowPrev function Render custom previous arrow. Receives a click handler, a boolean that shows if there's a previous item, and the accessibility label as arguments.
renderArrowNext function Render custom previous arrow. Receives a click handler, a boolean that shows if there's a next item, and the accessibility label as arguments.
renderIndicator function Render custom indicator. Receives a click handler, a boolean that shows if the item is selected, the item index, and the accessibility label as arguments.
renderItem function Render a custom item. Receives an item of the carousel, and an object with the isSelected property as arguments.
renderThumbs function Render prop to show the thumbs, receives the carousel items as argument. Get the img tag of each item of the slider, and render it by default.
selectedItem number Set the selected item, defaults to 0.
showArrows boolean Enable previous and next arrow, defaults to true.
showStatus boolean Enable status of the current item to the total, defaults to true.
showIndicators boolean Enable indicators to select items, defaults to true.
showThumbs boolean Enable thumbs, defaults to true.
statusFormatter function Formatter that returns the status as a string, receives the current item and the total count as arguments. Defaults to {currentItem} of {total} format.
stopOnHover boolean The slide will not change by autoPlay on hover, defaults to true.
swipeable boolean Enable the user to swipe the carousel, defaults to true.
swipeScrollTolerance number How many pixels it's needed to change the slide when swiping, defaults to 5.
thumbWidth number Width of the thumb, defaults to 80.
transitionTime number Duration of the animation of changing slides.
useKeyboardArrows boolean Enable the arrows to move the slider when focused.
verticalSwipe 'natural', 'standard' Set the mode of swipe when the axis is 'vertical'. The default is 'standard'.
width number or string The width of the carousel, defaults to 100%.

Customizing

Items (Slides)

By default, each slide will be rendered as passed as children. If you need to customize them, use the prop renderItem.

renderItem: (item: React.ReactNode, options?: { isSelected: boolean }) => React.ReactNode;

Thumbs

By default, thumbs are generated extracting the images in each slide. If you don't have images on your slides or if you prefer a different thumbnail, use the method renderThumbs to return a new list of images to be used as thumbs.

renderThumbs: (children: React.ReactChild[]) => React.ReactChild[]

Arrows

By default, simple arrows are rendered on each side. If you need to customize them and the css is not enough, use the renderArrowPrev and renderArrowNext. The click handler is passed as argument to the prop and needs to be added as click handler in the custom arrow.

renderArrowPrev: (clickHandler: () => void, hasPrev: boolean, label: string) => React.ReactNode;
renderArrowNext: (clickHandler: () => void, hasNext: boolean, label: string) => React.ReactNode;

Indicators

By default, indicators will be rendered as those small little dots in the bottom part of the carousel. To customize them, use the renderIndicator prop.

renderIndicator: (
    clickHandler: (e: React.MouseEvent | React.KeyboardEvent) => void,
    isSelected: boolean,
    index: number,
    label: string
) => React.ReactNode;

If none of the previous options are enough, you can build your own controls for the carousel. Check an example at http://react-responsive-carousel.js.org/storybook/?path=/story/02-advanced--with-external-controls

Custom Animations

By default, the carousel uses the traditional 'slide' style animation. There is also a built in fade animation, which can be used by passing 'fade' to the animationHandler prop. *note: the 'fade' animation does not support swiping animations, so you may want to set swipeable to false

If you would like something completely custom, you can pass custom animation handler functions to animationHandler, swipeAnimationHandler, and stopSwipingHandler. The animation handler functions accept props and state, and return styles for the contain list, default slide style, selected slide style, and previous slide style. Take a look at the fade animation handler for an idea of how they work:

const fadeAnimationHandler: AnimationHandler = (props, state): AnimationHandlerResponse => {
    const transitionTime = props.transitionTime + 'ms';
    const transitionTimingFunction = 'ease-in-out';

    let slideStyle: React.CSSProperties = {
        position: 'absolute',
        display: 'block',
        zIndex: -2,
        minHeight: '100%',
        opacity: 0,
        top: 0,
        right: 0,
        left: 0,
        bottom: 0,
        transitionTimingFunction: transitionTimingFunction,
        msTransitionTimingFunction: transitionTimingFunction,
        MozTransitionTimingFunction: transitionTimingFunction,
        WebkitTransitionTimingFunction: transitionTimingFunction,
        OTransitionTimingFunction: transitionTimingFunction,
    };

    if (!state.swiping) {
        slideStyle = {
            ...slideStyle,
            WebkitTransitionDuration: transitionTime,
            MozTransitionDuration: transitionTime,
            OTransitionDuration: transitionTime,
            transitionDuration: transitionTime,
            msTransitionDuration: transitionTime,
        };
    }

    return {
        slideStyle,
        selectedStyle: { ...slideStyle, opacity: 1, position: 'relative' },
        prevStyle: { ...slideStyle },
    };
};

Videos

If your carousel is about videos, keep in mind that it's up to you to control which videos will play. Using the renderItem prop, you will get information saying if the slide is selected or not and can use that to change the video state. Only play videos on selected slides to avoid issues. Check an example at http://react-responsive-carousel.js.org/storybook/?path=/story/02-advanced--youtube-autoplay-with-custom-thumbs

=======================

Contributing

The contributing guide contains details on how to create pull requests and setup your dev environment. Please read it before contributing!

=======================

Raising issues

When raising an issue, please add as much details as possible. Screenshots, video recordings, or anything else that can make it easier to reproduce the bug you are reporting.

  • A new option is to create an example with the code that causes the bug. Fork this example from codesandbox and add your code there. Don't forget to fork, save and add the link for the example to the issue.

=======================

License

FOSSA Status

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Generated by auto-changelog.

v3.2.22 - 2021-10-21

Merged

  • Prevent anchor tags from being accessed when swiping #645
  • build(deps): bump tmpl from 1.0.4 to 1.0.5 #651

Commits

  • build(deps): bump tmpl from 1.0.4 to 1.0.5 95b9e36

v3.2.21 - 2021-08-18

Merged

  • Bugfix/thumb swipe move with percent #541
  • feat: add ariaLabel to the props, fixes #611 #612
  • fix: carousel autoplaying after swipe #624
  • Update README.md #625
  • build(deps): bump path-parse from 1.0.6 to 1.0.7 #635

Fixed

  • Merge pull request #612 from francoismassart/issue/gh-611-aria-label #611

Commits

v3.2.20 - 2021-07-19

Merged

  • export Carousel Props #623

Commits

v3.2.19 - 2021-07-02

Merged

  • leandrowdgh-545: Remove tabindex for non-interactive div #586
  • 596 - fix autoplay after mobile swipe #597

  • Added ability to use mouse on the thumbnails #607
  • build(deps): bump handlebars from 4.7.6 to 4.7.7 #598
  • build(deps): bump lodash from 4.17.20 to 4.17.21 #599
  • build(deps): bump ua-parser-js from 0.7.22 to 0.7.28 #600
  • build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 #601

Fixed

  • feat: add ariaLabel to the props, fixes #611 #611

Commits

  • leandrowdgh-545: Remove tabindex for non-interactive div e1ba29b

v3.2.18 - 2021-04-01

Merged

  • 562: Fix carousel autoplaying after swipe #583

Commits

v3.2.17 - 2021-04-01

Merged

  • build(deps): bump y18n from 4.0.0 to 4.0.1 #584

Commits

  • 562: Fix autoplay on swipe c81a9ec

v3.2.16 - 2021-03-26

Merged

  • Fix prettier on windows #580

Commits

v3.2.15 - 2021-03-18

Merged

  • 525: Fix indicator click not resetting autoplay #561

Commits

  • Change methods to use moveTo to change slides acfaa1c

v3.2.14 - 2021-03-15

Merged

  • styles: Remove slide default black background #522
  • Add props documentation to README #564
  • build(deps): bump elliptic from 6.5.3 to 6.5.4 #574

Commits

  • build(deps): bump elliptic from 6.5.3 to 6.5.4 f97d9e0

v3.2.13 - 2021-03-03

Merged

  • 255 - fade story #571

Commits

  • 255: setup testing for animation handlers 7d7fbcd

v3.2.12 - 2021-02-12

Merged

  • Issue/gh 503 autoplay doesnt restart #511
  • build(deps): bump ini from 1.3.5 to 1.3.7 #532
  • fix: dynamic height not work with a tag wrapper #537
  • 534: Fix Carousel swipeable with one child #544

  • 546: Adding visual style to focused buttons #549

  • 553: Resolve type error due to wrong default prop of Carousel component #554

  • 517: Fix emulated touch never changing slide #556

  • 358 fix glitch when swiping one way then the other #509
  • 547: Moving carousel controls for kbd users #551

Commits

  • 547: Moving carousel controls for kbd users 4b8fbcf

v3.2.11 - 2020-12-05

Merged

  • 514 Add autoFocus prop so useKeyboardArrows works without clicking first #530

Commits

  • 514 Introduce autoFocus props so useKeyboardArrows can work without initial interaction 1b06898

v3.2.10 - 2020-09-23

Merged

  • build(deps): bump elliptic from 6.4.0 to 6.5.3 #483
  • fix: getInitialImage returns the first image of the selected item #475
  • 210: fix dynamiHeight for other elements than img #492

  • fix: #501 #502
  • build(deps): bump handlebars from 4.0.12 to 4.7.6 #497
  • gh358 Add prop to control swipe scroll behavior #507

Commits

v3.2.9 - 2020-06-27

Merged

  • fix: resolve building issues on Windows #461
  • Fix swipeScrollTolerance when infiniteLoop #465
  • fix: link to storybook code in README #466

Commits

v3.2.8 - 2020-06-16

Merged

  • fix thumbs moveTo #456
  • 444 and #301: sets padding explicitly in .control-dots #458

  • build(deps): bump websocket-extensions from 0.1.1 to 0.1.4 #453

Commits

  • build(deps): bump websocket-extensions from 0.1.1 to 0.1.4 31f6f12

v3.2.7 - 2020-05-06

Merged

  • gh-440: Remove env vars to allow building on windows without issues #443

Commits

  • gh-440: Remove env vars to allow building on windows without issues a071604

v3.2.6 - 2020-05-06

Merged

  • gh-439: Allow IE11 compilation and more #442

Commits

  • Fix storybook storysource 0780a0a

v3.2.5 - 2020-04-26

Merged

  • Gh-429: Converting codebase to typescript #435

Commits

  • gh-429: Moving remaining files and fixing tests 59c7d1b

v3.2.4 - 2020-04-13

Merged

  • gh-430: Ensure component can be rendered in SSR #431

Commits

  • gh-430: Ensure component can be rendered in SSR 0beb7c5

v3.2.3 - 2020-04-12

Merged

  • Gh 427: Get rid of gulp #428

Commits

  • gh-427: Remove and git ignore lib folder 2973bd5

v3.2.1 - 2020-04-12

Merged

  • Gh 422 modernize repo #423

Commits

v3.1.58-next.1 - 2020-04-12

Commits

  • gh-422: Include codesandbox in the repo to allow auto update 15c24dc
  • 3.1.58-next.1 d6d9624

v3.1.58-next.0 - 2020-04-12

Commits

  • gh-422: Upgrade storybook and reorganize stories 3e712c1
  • gh-422: Publish cjs and es modules to npm b67f32b
  • gh-422: Update react + babel and get tests to pass 56eaefc

v3.1.57 - 2020-04-07

Merged

  • gh-206: Better video controls #417

Commits

  • gh-206: Allow intercepting item and thumbs before rendering so it's easier to control videos cb052b5

v3.1.56 - 2020-04-05

Merged

  • gh-414: disable outline of carousel #415

Commits

  • gh-414: disable outline of carousel 000edfe

v3.1.55 - 2020-04-05

Merged

  • 232: Add support for custom arrows and custom indicators #413

Commits

  • gh-232: Add support for custom indicators through render props 42597bf

v3.1.54 - 2020-04-05

Commits

v3.1.53 - 2020-04-05

Merged

  • gh-407: only allow keyboard navigation if focus is within carousel #412
  • Fix issue #335 - no images inside carousel #411

Commits

  • gh-407: only allow keyboard navigation if focus is within carousel 56b2af5

v3.1.52 - 2020-04-05

Merged

  • remove componentWillReceiveProps #394
  • Fix thumbnails not swiping on mobile #408
  • Setup prettier to avoid whitespacing and formatting issues on PRs #373

Commits

  • Install prettier to avoid different formatting in contributions 4410775

v3.1.51 - 2019-10-23

Merged

  • Add callback on swipe events #366
  • Fix remaining LGTM Warnings #291
  • Update README.md #361
  • Issue 266 #352

Commits

  • Refactor labels to obj prop. Aria label all buttons. c5320e6

v3.1.50 - 2019-08-11

Merged

  • Issue #345 fix(onClickItem): cancelClick should be true when onSwipeEnd #346

Commits

v3.1.49 - 2019-04-17

Merged

  • update watchify #330
  • Issue #256: onItemClick doesn't work when you only have 1 item #329
  • Added swipeable in CarouselProps for Typescript, fixes #264 #319

Fixed

  • Merge pull request #319 from jinster/issue-264 #264
  • Added swipeable in CarouselProps for Typescript, fixes #264 #264

Commits

v3.1.47 - 2019-02-11

Merged

  • issue#309: Fix swipe direction #313

Commits

  • issue#309: Fix tests for swipe direction 04fb23b

v3.1.46 - 2019-01-23

Merged

  • 303: Fixing autoplay when swipeable is turned off #307

  • Fix remaining LGTM recommendations #292
  • Classify /lib as generated code for LGTM #293
  • Fix default interval value to match what is in actual code. #290

Commits

  • issue #303: Fixing autoplay when swipeable is turned off 1b3712e

v3.1.45 - 2018-12-15

Commits

v3.1.44 - 2018-12-14

Merged

  • add infinite scrolling from end to start #267
  • accessibility: allow thumbnails to be navigable via keyboard #273
  • accessibility: allow dots to be accessible via keyboard #274
  • [chore] Fix a number of alerts found on LGTM.com #287
  • Handle undefined item list ref #288

Commits

  • accessibility: allow dots to be accessible via keyboard b061c2e

v3.1.43 - 2018-10-05

Merged

  • Issue #261 - style control arrow buttons using CSS classes instead of… #271

Commits

  • add infinite scrolling from end to start b45e57b

v3.1.42 - 2018-09-17

Merged

  • css file added in usage (README.md) #260
  • Restore resetPosition but place on componentDidUpdate #263

Commits

  • Restore resetPosition but place on componentDidUpdate so it resets position to the NEW slide in the case where a change just occurred 821ed17

v3.1.41 - 2018-06-20

Merged

  • fix: remove resetPosition() #249

Commits

  • Removing package-lock.json cfc2238

v3.1.40 - 2018-06-16

Merged

  • Update autoPlay when props received #253

Commits

v3.1.39 - 2018-05-22

Merged

  • Fix itemsList ref #248

Commits

v3.1.38 - 2018-05-21

Merged

  • Fix wrapperSize ref #247

Commits

v3.1.37 - 2018-04-24

Merged

  • Fix dynamicHeight initialization #240
  • make carousel work with only 1 child passed in #222
  • [#233] Use refs callback #234

Commits

v3.1.35 - 2018-03-31

Merged

  • Remove thumb flickering, update images on change, and other fixes #229

Commits

v3.1.34 - 2018-03-29

Merged

  • Add property swipeable to enable and disable swiping #188

Commits

  • remove .idea/ directory; remove package-lock.json 149d4a1

v3.1.33 - 2018-01-29

Merged

  • Prevent affecting styling inside slide #212

Commits

  • Updating example with external controls 411cd50

v3.1.32 - 2018-01-29

Commits

v3.1.31 - 2018-01-29

Merged

  • Add centerMode and centerSlidePercentage to index.d.ts #208

Commits

v3.1.30 - 2017-12-01

Merged

  • BUGFIX - updates to arrow key navigation handler to work in IE/Edge. … #201

Commits

  • BUGFIX - updates to arrow key navigation handler to work in IE/Edge. Changed match from e.key => e.keyCode. Updated Carousel tests to account for new methods. There are two tests that fail, but they were failing in the existing repo as well. d538ad3

v3.1.29 - 2017-11-30

Merged

  • feat: add verticalSwipe property to deal with mobile vertical swipping. #199
  • issue #191: Add alternative to codepen #192

Commits

  • refactor: using ref as a callback instead of string to fix react ref error 8a276f9

v3.1.28 - 2017-10-20

Merged

  • Add centerMode #185
  • Create CODE_OF_CONDUCT.md #181
  • Add license scan report and status #180

Commits

v3.1.27 - 2017-09-26

Merged

  • 151: Autoplay keeps trying to transition after the component has bee… #179

Commits

v3.1.26 - 2017-09-22

Merged

  • add thumbWidth prop to allow specifying thumbnail width #177
  • Very minor change in readme #173

Commits

v3.1.25 - 2017-08-26

Merged

Commits

  • issue-159: Ignoring storybook when publishing to npm c852ece

v3.1.24 - 2017-07-04

Merged

  • 148 Autoplay and stop on hover causes a warning. #149

Commits

  • 148 Autoplay and stop on hover causes a warning. ccf032d

v3.1.23 - 2017-07-04

Merged

  • Types author header. #147
  • Fork updated. #1

Commits

  • 148 Autoplay and stop on hover causes a warning. c3a147e

v3.1.22 - 2017-07-03

Merged

  • TypeScript types definitions file added. #145

Commits

  • TypeScript types definitions file added. 8e5441a

v3.1.21 - 2017-06-25

Merged

  • 134: Example of using external controls #144

Commits

  • 134: Using move to on componentWillReceiveProps so the carousel respects its boundaries when changed through external controls eaba563

v3.1.20 - 2017-06-24

Merged

  • 140: Revert to initial position when movement is less than tolerance #143

  • Update README.md #135

Commits

  • 140: Revert to initial position when movement is less than tolerance 2fa8a61

v3.1.19 - 2017-05-29

Merged

  • Issue 131 - Allow custom formatting of the status #132

Commits

  • 131: Removing old unused files 1d4a623

v3.1.18 - 2017-05-29

Merged

  • 129: Allow only right and left keys when axis is horizontal #130

Commits

  • 129: Allow only right and left keys when axis is horizontal 52a922c

v3.1.17 - 2017-05-22

Merged

  • 118: Fixing jank swipe on mobile #125

Commits

  • 118: Fixing jank swipe on mobile 42aede5

v3.1.16 - 2017-05-11

Merged

  • 118: Adding support to swipe tolerance #121

Commits

  • 118: Adding support to swipe tolerance a3aaa12

v3.1.15 - 2017-04-30

Merged

  • 97: Fixing warning about passive listeners and preventDefault #117

Commits

  • 97: Fixing issue with auto play and swipe on mobile c7ac56c

v3.1.14 - 2017-04-29

Merged

  • 112: Fix emulateTouch #116

Commits

v3.1.13 - 2017-04-29

Merged

  • 112: Fix auto play #115

Commits

v3.1.12 - 2017-04-29

Merged

  • 98: Fixing bug where the Thumbs component would throw an error if a custom component was rendered inside it #114

  • 112: Converting source to es6 (MVP) #113

Commits

  • 112: Converting source to es6 8f0588d

v3.1.11 - 2017-04-26

Merged

  • Solving SSR problem when children is lazy loaded. #111

Commits

  • 98: Adding snapshot tests 0d74a56

v3.1.10 - 2017-04-24

Merged

  • 109: Move create-react-class to dependencies instead of devDependencies #110

Commits

v3.1.9 - 2017-04-24

Merged

  • 98: Allow carousel slides to be lazy loaded #108

Commits

  • 98: Allow carousel slides to be lazy loaded aa7df89

v3.1.8 - 2017-04-24

Merged

  • 101: Updating to react 15.5.4 #107

Commits

v3.1.7 - 2017-04-23

Merged

  • 104 - Fixes problem where arrows were not appearing after carousel was loaded #106

  • Fixes issue with initial image having unbinded event #103

Fixed

Commits

  • 104 - Fixes problem where arrows were not appearing after carousel was loaded b7b10f3

v3.1.6 - 2017-04-19

Merged

  • 99: Fixing bug with infinite loop and showArrows=false #100

Commits

  • 99: Fixing bug with infinite loop and showArrows=false eef9597

v3.1.5 - 2017-03-26

Merged

  • 63: Stoping autoplay on touch events or manual actions #93

Commits

  • 63: Stoping autoplay on touch events or manual actions c5c5c0b

v3.1.4 - 2017-03-26

Merged

  • 91: Removing check for has3d as all modern browsers support this capability #92

Commits

  • 91: Removing check for has3d as all modern browsers support this capability 105c45b

v3.1.3 - 2017-03-11

Merged

  • 71: Adding custom transition duration #89

Commits

  • 71: Adding custom transition duration 593d846

v3.1.2 - 2017-02-26

Merged

  • 86: Removing unnecessary has3d check #88

Commits

v3.1.1 - 2017-02-26

Merged

  • 85: Moving event binding to componentDidMount to fix SSR #87

Commits

  • 85: Moving event binding to componentDidMount to fix SSR 1efa37b

v3.1.0 - 2017-02-10

Commits

v3.0.23 - 2017-02-10

Merged

  • 81: Adding support to mouse swipe: #82

Commits

  • 81: Adding support to mouse swipe: 2829f4b

v3.0.22 - 2017-01-29

Merged

  • Fixing issue #69 - styles leaking out of carousel #78
  • Fixing issue #70 - Adding dynamicHeight prop to adjust when required #77
  • Fixing issue #72 - changes to autoplay property in runtime wouldn't apply #76
  • Fixing issue #74 - single images in a slide would cause an error #75

Commits

  • Fixing issue #70 - Adding dynamicHeight prop to adjust when required 77b1eeb

v3.0.21 - 2016-09-26

Merged

  • Adding support to auto play #62

Commits

v3.0.20 - 2016-09-25

Commits

  • Refactoring tests to use es6 features 5cc8ac2
  • Adding tests for auto play 0d30188
  • Adding tolerance for swipe scroll behaviour 55c0e5c

v3.0.19 - 2016-09-24

Merged

  • Updating react-easy-swipe #61

Commits

  • Adding support to auto play b40643d

v3.0.18 - 2016-09-16

Merged

  • Moar tests #58
  • Feature/infinite looping #57

Commits

  • Adding more tests for Carousel 087a6d6

v3.0.17 - 2016-09-14

Merged

  • Replacing the deprecated package reactify with babelify #56

Commits

  • Deploying storybook demos 5d8e841

v3.0.16 - 2016-09-10

Merged

  • Storybook and many adjusts resulting from tests inside it. #54

Commits

v3.0.15 - 2016-09-07

Commits

  • Updating package task to include the fonts f10a739
  • Updating docs with example 6feaeb4
  • Removing release branch from publish step c10616d

v3.0.14 - 2016-09-07

Merged

  • Update gulp dependencies #50

Commits

v3.0.13 - 2016-08-27

Merged

  • Improving dev workflow #49
  • Update dependencies #48
  • Running tests with jest-cli instead of gulp-jest #47
  • Add type to carousel buttons #46
  • Update gulp-sass version. #40
  • Update Carousel.js #37

Commits

  • Updating dependencies and tasks: 7fd718c

3.0.9 - 2016-01-19

Commits

  • Fixing vertical carousel size 4a90da2
  • Fixing propTypes typo (was propsTypes) dad89b6
  • Publishing to npm edc64f2

3.0.7 - 2016-01-15

Commits

  • Updating readme c5c72b9
  • Server rendering in strict mode can't find window 2902cb1
  • Updating npm package 621a207

3.0.4 - 2016-01-07

Commits

3.0.2 - 2016-01-07

Commits

2.0.2 - 2015-11-26

Commits

  • Issue #19 - fixing undef position 4e7602e
  • issue #17 - Calling onChange when selecting through the controls 10470fe

2.0.1 - 2015-11-21

Commits

  • 17 - Calling onChange when selecting through the controls 0d2368f

2.0.0 - 2015-11-21

Commits

  • Updating react to 0.14 and fixing all the warnings 87fe13d
  • Fixing dependencies and preparing package for distribution 2377fde
  • Updating docs 68ab271

v1.0.2 - 2016-03-17

Merged

  • Specify version of node to run app #31

Commits

v1.0.1 - 2016-01-13

Commits

v1.0.0 - 2016-01-07

Merged

  • Carousel revamp #25
  • Update README.md #21

Commits

0.1.6 - 2015-08-08

Merged

  • Delaying the .selected class/state till the image is loaded so the border won't appear without anything inside. #15
  • fix default selected class #1

Commits

  • update demo page with gulp fb450aa

0.1.4 - 2015-06-30

Merged

  • carousel on mobile: disable swiping on first and last image #11
  • fix dependencies #5

Commits

  • fix carousel on mobile: disable swiping on first and last image 47d0451

0.1.1 - 2015-05-17

Commits

  • Updating to react 0.13.3 5726925
  • Generating version 0.1.1 for NPN 72fc98a

0.1.0 - 2015-03-11

Commits

0.0.11 - 2015-02-10

Commits

  • Fixing tests, adding more infos to README.md and removing unnecessary files 1363c42
  • Fixing require rule on README.md and publishing d2c44b2
  • Adding README.md to npm 966d949

0.0.9 - 2015-02-09

Commits

  • First commit 272de1d
  • Removing swipe component and add behaviour through another lib 8fe3efd
  • Adding better transitions 48ebe3c