Releases: express-labs/pure-react-carousel
v1.24.0
Removed Deprecated React Lifecycle Methods
Removed deprecated React Lifecycle methods to silence warnings when developing in React 16.9
Allowing slider tray events to propagate and other small tweaks
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
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
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
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
Updated the component receive props of the provider to ensure that the dragStep is updated when props update.
v1.19.0
v1.17.0
- 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
- Fixed: Needed to re-build dist folder to fix strange css related issue in previous release.