@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.js CHANGED
@@ -14704,7 +14704,7 @@ var withConditionalRender = function withConditionalRender(Component, condition)
14704
14704
  return ConditionalRender;
14705
14705
  };
14706
14706
 
14707
- var _excluded$z = ["id", "disableButtonAndLinks", "index"];
14707
+ var _excluded$z = ["id", "disableButtonAndLinks", "wrapperClassName", "index"];
14708
14708
  var StyledImage = styled.img.attrs(function () {
14709
14709
  return {
14710
14710
  className: "hover:mix-blend-multiply m-auto"
@@ -14727,6 +14727,7 @@ var StyledImage = styled.img.attrs(function () {
14727
14727
  var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
14728
14728
  var id = _ref2.id,
14729
14729
  disableButtonAndLinks = _ref2.disableButtonAndLinks,
14730
+ wrapperClassName = _ref2.wrapperClassName,
14730
14731
  index = _ref2.index,
14731
14732
  props = _objectWithoutProperties(_ref2, _excluded$z);
14732
14733
  var _useElementClick = useElementClick({
@@ -14735,9 +14736,9 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
14735
14736
  }),
14736
14737
  handleImageClick = _useElementClick.handleImageClick;
14737
14738
  return /*#__PURE__*/React__default.createElement(StyledWrapper, {
14738
- className: classnames({
14739
+ className: classnames(_defineProperty$1({
14739
14740
  "neeto-site-highlight__element": disableButtonAndLinks
14740
- }),
14741
+ }, wrapperClassName, wrapperClassName)),
14741
14742
  onClick: disableButtonAndLinks && handleImageClick
14742
14743
  }, /*#__PURE__*/React__default.createElement(StyledImage, props));
14743
14744
  };
@@ -42326,7 +42327,8 @@ var GalleryClassic = function GalleryClassic(_ref) {
42326
42327
  className: "sliding-image",
42327
42328
  design: style,
42328
42329
  id: "gallery-classic-images-".concat(index, "-image"),
42329
- title: caption
42330
+ title: caption,
42331
+ wrapperClassName: "h-full w-full"
42330
42332
  }));
42331
42333
  }))), /*#__PURE__*/React__default.createElement(ArrowButton, {
42332
42334
  Icon: ArrowRight$1,