nuka-carousel
Advanced tools
Comparing version 5.0.12 to 5.0.13
@@ -136,2 +136,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
useEffect(function () { | ||
if (typeof props.slideIndex === 'number' && !props.autoplayReverse) { | ||
moveSlide(props.slideIndex); | ||
} | ||
}, [props.slideIndex]); | ||
useEffect(function () { | ||
if (props.autoplay && !animation && props.wrapAround) { | ||
@@ -138,0 +143,0 @@ if (currentSlide > count) { |
@@ -157,2 +157,7 @@ "use strict"; | ||
(0, _react.useEffect)(function () { | ||
if (typeof props.slideIndex === 'number' && !props.autoplayReverse) { | ||
moveSlide(props.slideIndex); | ||
} | ||
}, [props.slideIndex]); | ||
(0, _react.useEffect)(function () { | ||
if (props.autoplay && !animation && props.wrapAround) { | ||
@@ -159,0 +164,0 @@ if (currentSlide > count) { |
{ | ||
"name": "nuka-carousel", | ||
"version": "5.0.12", | ||
"version": "5.0.13", | ||
"description": "Pure React Carousel", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128564
2639