@bigbinary/neeto-site-blocks 1.16.17 → 1.16.19

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
@@ -5909,12 +5909,14 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
5909
5909
  "neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane
5910
5910
  }, wrapperClassName, wrapperClassName)),
5911
5911
  onClick: disableButtonAndLinks && handleImageClick,
5912
- children: /*#__PURE__*/jsx(StyledImage, _objectSpread$E({
5912
+ children: /*#__PURE__*/jsx(StyledImage, _objectSpread$E(_objectSpread$E({
5913
5913
  as: image !== null && image !== void 0 ? image : "img",
5914
5914
  height: 0,
5915
5915
  sizes: "(max-width: 480px) 700vw, (max-width: 768px) 500vw, (max-width: 1024px) 400vw, (max-width: 1200px) 300vw, (max-width: 1500px) 250vw, 150vw",
5916
5916
  width: 0
5917
- }, props))
5917
+ }, props), {}, {
5918
+ alt: props.alt || "Image"
5919
+ }))
5918
5920
  });
5919
5921
  };
5920
5922
  var StyledImage$1 = withConditionalRender(StyledImageWithWrapper, prop("src"));
@@ -13179,7 +13181,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
13179
13181
  src = properties.backgroundImage.src;
13180
13182
  var baseClasses = "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center ns-card";
13181
13183
  var gridBaseClasses = function gridBaseClasses(href, action) {
13182
- return classnames("col-span-12 min-h-56 flex flex-col gap-2 ns-card-animation cursor-pointer", {
13184
+ return classnames("col-span-12 min-h-56 flex flex-col gap-2 ns-card-animation", {
13183
13185
  "sm:col-span-6 lg:col-span-4": gridCount === 3,
13184
13186
  "sm:col-span-6": gridCount === 2,
13185
13187
  "lg:col-span-3 sm:col-span-6": gridCount === 4,
@@ -13283,7 +13285,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
13283
13285
  src = properties.backgroundImage.src;
13284
13286
  var baseClasses = "grid grid-cols-12 gap-y-6 items-center ns-card";
13285
13287
  var gridBaseClasses = function gridBaseClasses(href, action) {
13286
- return classnames("relative sm:col-span-6 lg:col-span-4 col-span-12 justify-center items-center ns-card-animation cursor-pointer", {
13288
+ return classnames("relative sm:col-span-6 lg:col-span-4 col-span-12 justify-center items-center ns-card-animation", {
13287
13289
  "cursor-pointer": isPresent(href) && isPresent(action)
13288
13290
  });
13289
13291
  };
@@ -17338,6 +17340,7 @@ var Slides = function Slides(_ref) {
17338
17340
  }, design.backgroundImage),
17339
17341
  className: classnames("neeto-site-block-wrapper relative lg:w-9/12", baseClasses),
17340
17342
  children: [slide.logoUrl && /*#__PURE__*/jsx("img", {
17343
+ alt: "Slide",
17341
17344
  className: "absolute right-12 top-8 w-20",
17342
17345
  src: slide.logoUrl
17343
17346
  }), renderSwiperSlide(slide)]