@bigbinary/neeto-site-blocks 1.8.3 → 1.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -14750,7 +14750,7 @@ var withConditionalRender = function withConditionalRender(Component, condition)
14750
14750
  return ConditionalRender;
14751
14751
  };
14752
14752
 
14753
- var _excluded$z = ["id", "disableButtonAndLinks", "index"];
14753
+ var _excluded$z = ["id", "disableButtonAndLinks", "wrapperClassName", "index"];
14754
14754
  var StyledImage = styled__default["default"].img.attrs(function () {
14755
14755
  return {
14756
14756
  className: "hover:mix-blend-multiply m-auto"
@@ -14773,6 +14773,7 @@ var StyledImage = styled__default["default"].img.attrs(function () {
14773
14773
  var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
14774
14774
  var id = _ref2.id,
14775
14775
  disableButtonAndLinks = _ref2.disableButtonAndLinks,
14776
+ wrapperClassName = _ref2.wrapperClassName,
14776
14777
  index = _ref2.index,
14777
14778
  props = _objectWithoutProperties__default["default"](_ref2, _excluded$z);
14778
14779
  var _useElementClick = useElementClick({
@@ -14781,9 +14782,9 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
14781
14782
  }),
14782
14783
  handleImageClick = _useElementClick.handleImageClick;
14783
14784
  return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
14784
- className: classnames({
14785
+ className: classnames(_defineProperty__default["default"]({
14785
14786
  "neeto-site-highlight__element": disableButtonAndLinks
14786
- }),
14787
+ }, wrapperClassName, wrapperClassName)),
14787
14788
  onClick: disableButtonAndLinks && handleImageClick
14788
14789
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage, props));
14789
14790
  };
@@ -42372,7 +42373,8 @@ var GalleryClassic = function GalleryClassic(_ref) {
42372
42373
  className: "sliding-image",
42373
42374
  design: style,
42374
42375
  id: "gallery-classic-images-".concat(index, "-image"),
42375
- title: caption
42376
+ title: caption,
42377
+ wrapperClassName: "h-full w-full"
42376
42378
  }));
42377
42379
  }))), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
42378
42380
  Icon: ArrowRight$1,