Skip to content

Releases: express-labs/pure-react-carousel

v1.24.0

26 Nov 18:53
Compare
Choose a tag to compare

1.24.0 (2019-11-26)

Bug Fixes

  • Slider: do not pass infinite to div (2d54df8)

Features

Removed Deprecated React Lifecycle Methods

03 Sep 19:19
Compare
Choose a tag to compare

Removed deprecated React Lifecycle methods to silence warnings when developing in React 16.9

Allowing slider tray events to propagate and other small tweaks

15 Aug 18:33
Compare
Choose a tag to compare

Initially, this code was created to address #155 "onDragStart events don't fire when dragging slider" However, it turns out that drag events are not firing for another reason entirely that isn't due to an error in our code.

Added example carousel 11, a new carousel that demonstrates how to attach event handlers to the slider tray tag.

Removed stopPropagation() calls from our internal event handlers. Not sure why they were added. Removing these didn't seem to affect the demos. Allowing the events to propagate increases the customizability of our carousel components.

Lastly, I renamed some misleading class method names relating to drag start and end. These methods had nothing to do with React's onDragStart and onDragEnd synthetic events. The names confused developers.

v1.20.0

10 May 14:39
Compare
Choose a tag to compare

The <Slider></Slider> component contains several elements. There was a request (#139) to be able to pass custom event handlers to the "tray" element inside the Slider component. You can now pass whatever props you want to the tray element, including React event handling attributes like onClick, onMouseDown, etc.

Any action handlers passed in that are also used internally by pure react carousel are called as a callback by our internal event handlers.

v1.19.6

09 May 12:25
Compare
Choose a tag to compare

Fixed regression caused by updating post-css in v1.19.5 where css files were all [Object Object] instead of actual CSS.

v1.19.5

08 May 20:11
Compare
Choose a tag to compare

updated tar sub dependency. Github raised an alert, but the module in question was a dev dependency and was not included in production code. Still, it's nice to silence these things so people feel better about using our project.

v1.19.1

07 Mar 15:36
Compare
Choose a tag to compare

Updated the component receive props of the provider to ensure that the dragStep is updated when props update.

v1.19.0

06 Mar 20:20
Compare
Choose a tag to compare
  • Added a dragStep prop that mimics the logic of the step prop but only for drag/swipe events. #122
  • Fixed package-lock, rollup config, and a linting error preventing people from running dev server on fresh install

v1.17.0

19 Nov 17:06
Compare
Choose a tag to compare
  • new feature: ability to create custom spinner
  • new feature: GH page demo that isn't ugly
  • updates: documentation updates
  • fix: added react typings to dev dependencies.

v1.16.2

15 Nov 17:54
Compare
Choose a tag to compare
  • Fixed: Needed to re-build dist folder to fix strange css related issue in previous release.