Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuka-carousel

Package Overview
Dependencies
Maintainers
27
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuka-carousel - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

4

es-v5/slide.js

@@ -31,3 +31,2 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

transform: "".concat(animation === 'zoom' ? "scale(".concat(isCurrentSlide ? 1 : zoomScale || 0.85, ")") : 'initial'),
touchAction: 'none',
opacity: animation === 'fade' ? visibleSlideOpacity : 1

@@ -139,5 +138,6 @@ };

var currentSlideClass = isCurrentSlide && isVisible ? ' slide-current' : '';
return /*#__PURE__*/React.createElement("div", {
ref: slideRef,
className: "slide".concat(typeOfSlide ? " ".concat(typeOfSlide) : '').concat(isVisible ? ' slide-visible' : ''),
className: "slide".concat(currentSlideClass).concat(typeOfSlide ? " ".concat(typeOfSlide) : '').concat(isVisible ? ' slide-visible' : ''),
style: getSlideStyles(count, isCurrentSlide, isVisible, wrapAround, cellSpacing, animation, speed, zoomScale, adaptiveHeight)

@@ -144,0 +144,0 @@ }, children);

@@ -45,3 +45,2 @@ "use strict";

transform: "".concat(animation === 'zoom' ? "scale(".concat(isCurrentSlide ? 1 : zoomScale || 0.85, ")") : 'initial'),
touchAction: 'none',
opacity: animation === 'fade' ? visibleSlideOpacity : 1

@@ -153,5 +152,6 @@ };

var currentSlideClass = isCurrentSlide && isVisible ? ' slide-current' : '';
return /*#__PURE__*/_react["default"].createElement("div", {
ref: slideRef,
className: "slide".concat(typeOfSlide ? " ".concat(typeOfSlide) : '').concat(isVisible ? ' slide-visible' : ''),
className: "slide".concat(currentSlideClass).concat(typeOfSlide ? " ".concat(typeOfSlide) : '').concat(isVisible ? ' slide-visible' : ''),
style: getSlideStyles(count, isCurrentSlide, isVisible, wrapAround, cellSpacing, animation, speed, zoomScale, adaptiveHeight)

@@ -158,0 +158,0 @@ }, children);

{
"name": "nuka-carousel",
"version": "5.1.2",
"version": "5.1.3",
"description": "Pure React Carousel",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc