Socket
Socket
Sign inDemoInstall

pcln-carousel

Package Overview
Dependencies
Maintainers
2
Versions
316
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pcln-carousel - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2-carousel-fixes-080422

3

dist/cjs/Carousel.js

@@ -184,3 +184,4 @@ "use strict";

}, /*#__PURE__*/_react["default"].createElement(_pclnDesignSystem.Box, {
p: slideSpacing
p: slideSpacing,
height: "100%"
}, !layout && stretchSlideHeight ? /*#__PURE__*/_react["default"].createElement(_StretchSlide.StretchSlide, {

@@ -187,0 +188,0 @@ slideSpacing: slideSpacing,

@@ -14,3 +14,6 @@ "use strict";

var layoutValues = layout === null || layout === void 0 ? void 0 : layout.split('-').map(function (i) {
return parseInt(i);
var value = parseInt(i); // 33-33-33 is the only supported layout where values don't sum to 100. We need to
// account for this in order for slides not to be cut off.
return value === 33 ? value + 1 / 3 : value;
});

@@ -17,0 +20,0 @@ var numLayoutValues = layoutValues.length;

@@ -158,3 +158,4 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

}, /*#__PURE__*/React.createElement(Box, {
p: slideSpacing
p: slideSpacing,
height: "100%"
}, !layout && stretchSlideHeight ? /*#__PURE__*/React.createElement(StretchSlide, {

@@ -161,0 +162,0 @@ slideSpacing: slideSpacing,

@@ -7,3 +7,6 @@ export var layoutToFlexWidths = function layoutToFlexWidths(layout, totalSlides) {

var layoutValues = layout === null || layout === void 0 ? void 0 : layout.split('-').map(function (i) {
return parseInt(i);
var value = parseInt(i); // 33-33-33 is the only supported layout where values don't sum to 100. We need to
// account for this in order for slides not to be cut off.
return value === 33 ? value + 1 / 3 : value;
});

@@ -10,0 +13,0 @@ var numLayoutValues = layoutValues.length;

{
"name": "pcln-carousel",
"version": "1.3.1",
"version": "1.3.2-carousel-fixes-080422",
"description": "Priceline Design System Carousel Component",

@@ -5,0 +5,0 @@ "main": "dist/cjs/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