pure-react-carousel

A highly impartial suite of React components that can be assembled by the consumer to create a carousel with almost no limits on DOM structure or CSS styles. If you're tired of fighting some other developer's CSS and DOM structure, this carousel is for you.

MIT License

Downloads
350.9K
Stars
1.7K
Committers
50

Bot releases are visible (Hide)

pure-react-carousel - v1.24.0

Published by bcarroll22 almost 5 years ago

1.24.0 (2019-11-26)

Bug Fixes

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

Features

pure-react-carousel - Removed Deprecated React Lifecycle Methods

Published by mrbinky3000 about 5 years ago

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

pure-react-carousel - Allowing slider tray events to propagate and other small tweaks

Published by mrbinky3000 about 5 years ago

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.

pure-react-carousel -

Published by mrbinky3000 over 5 years ago

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.

pure-react-carousel -

Published by mrbinky3000 over 5 years ago

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

pure-react-carousel -

Published by mrbinky3000 over 5 years ago

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.

pure-react-carousel -

Published by littlejustinh over 5 years ago

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

pure-react-carousel -

Published by mrbinky3000 over 5 years ago

  • 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
pure-react-carousel - v1.17.0

Published by mrbinky3000 almost 6 years ago

  • 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.
pure-react-carousel - v1.16.2

Published by mrbinky3000 almost 6 years ago

  • Fixed: Needed to re-build dist folder to fix strange css related issue in previous release.
pure-react-carousel - v.1.16.1

Published by mrbinky3000 almost 6 years ago

Bugfixes

  • fixed: carousel became "stuck" on mouse movement when mouse dragged outside of the slider.
  • fixed: carousel also "stuck" on right click
  • fixed: memory leaks due to improper cleanup of native event listeners
  • fixed: mouse drags on the carousel should not trigger click events on slides
pure-react-carousel - v1.16.0

Published by mrbinky3000 almost 6 years ago

  • Added two image sets to ImageWithZoom component to help combat fuzzy images in Chrome.
pure-react-carousel -

Published by mrbinky3000 almost 6 years ago

  • Fixed a security warning with the "merge" node module, which is a sub-dependency.
  • Fixed lockOnWindowScroll bug