nuka-carousel
Advanced tools
Comparing version 5.5.0 to 5.5.1
@@ -117,3 +117,3 @@ "use strict"; | ||
ref: slideRef, | ||
inert: (!isFullyVisible).toString(), | ||
inert: isFullyVisible ? undefined : 'true', | ||
className: "slide".concat(currentSlideClass).concat(typeOfSlide ? " ".concat(typeOfSlide) : '').concat(isFullyVisible ? ' slide-visible' : ''), | ||
@@ -120,0 +120,0 @@ style: getSlideStyles(count, isCurrentSlide, isFullyVisible, wrapAround, cellSpacing, animation, speed, zoomScale, adaptiveHeight, initializedAdaptiveHeight, slideWidth) |
@@ -79,5 +79,5 @@ "use strict"; | ||
const currentSlideClass = isCurrentSlide && isFullyVisible ? ' slide-current' : ''; | ||
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: slideRef }, { inert: (!isFullyVisible).toString() }, { className: `slide${currentSlideClass}${typeOfSlide ? ` ${typeOfSlide}` : ''}${isFullyVisible ? ' slide-visible' : ''}`, style: getSlideStyles(count, isCurrentSlide, isFullyVisible, wrapAround, cellSpacing, animation, speed, zoomScale, adaptiveHeight, initializedAdaptiveHeight, slideWidth) }, { children: children }))); | ||
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: slideRef }, { inert: isFullyVisible ? undefined : 'true' }, { className: `slide${currentSlideClass}${typeOfSlide ? ` ${typeOfSlide}` : ''}${isFullyVisible ? ' slide-visible' : ''}`, style: getSlideStyles(count, isCurrentSlide, isFullyVisible, wrapAround, cellSpacing, animation, speed, zoomScale, adaptiveHeight, initializedAdaptiveHeight, slideWidth) }, { children: children }))); | ||
}; | ||
exports.default = Slide; | ||
//# sourceMappingURL=slide.js.map |
{ | ||
"name": "nuka-carousel", | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"description": "Pure React Carousel", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
350206