@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.cjs.js +7 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5928,12 +5928,14 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
5928
5928
|
"neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane
|
|
5929
5929
|
}, wrapperClassName, wrapperClassName)),
|
|
5930
5930
|
onClick: disableButtonAndLinks && handleImageClick,
|
|
5931
|
-
children: /*#__PURE__*/jsxRuntime.jsx(StyledImage, _objectSpread$E({
|
|
5931
|
+
children: /*#__PURE__*/jsxRuntime.jsx(StyledImage, _objectSpread$E(_objectSpread$E({
|
|
5932
5932
|
as: image !== null && image !== void 0 ? image : "img",
|
|
5933
5933
|
height: 0,
|
|
5934
5934
|
sizes: "(max-width: 480px) 700vw, (max-width: 768px) 500vw, (max-width: 1024px) 400vw, (max-width: 1200px) 300vw, (max-width: 1500px) 250vw, 150vw",
|
|
5935
5935
|
width: 0
|
|
5936
|
-
}, props)
|
|
5936
|
+
}, props), {}, {
|
|
5937
|
+
alt: props.alt || "Image"
|
|
5938
|
+
}))
|
|
5937
5939
|
});
|
|
5938
5940
|
};
|
|
5939
5941
|
var StyledImage$1 = withConditionalRender(StyledImageWithWrapper, ramda.prop("src"));
|
|
@@ -13198,7 +13200,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
13198
13200
|
src = properties.backgroundImage.src;
|
|
13199
13201
|
var baseClasses = "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center ns-card";
|
|
13200
13202
|
var gridBaseClasses = function gridBaseClasses(href, action) {
|
|
13201
|
-
return classnames__default["default"]("col-span-12 min-h-56 flex flex-col gap-2 ns-card-animation
|
|
13203
|
+
return classnames__default["default"]("col-span-12 min-h-56 flex flex-col gap-2 ns-card-animation", {
|
|
13202
13204
|
"sm:col-span-6 lg:col-span-4": gridCount === 3,
|
|
13203
13205
|
"sm:col-span-6": gridCount === 2,
|
|
13204
13206
|
"lg:col-span-3 sm:col-span-6": gridCount === 4,
|
|
@@ -13302,7 +13304,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
13302
13304
|
src = properties.backgroundImage.src;
|
|
13303
13305
|
var baseClasses = "grid grid-cols-12 gap-y-6 items-center ns-card";
|
|
13304
13306
|
var gridBaseClasses = function gridBaseClasses(href, action) {
|
|
13305
|
-
return classnames__default["default"]("relative sm:col-span-6 lg:col-span-4 col-span-12 justify-center items-center ns-card-animation
|
|
13307
|
+
return classnames__default["default"]("relative sm:col-span-6 lg:col-span-4 col-span-12 justify-center items-center ns-card-animation", {
|
|
13306
13308
|
"cursor-pointer": neetoCist.isPresent(href) && neetoCist.isPresent(action)
|
|
13307
13309
|
});
|
|
13308
13310
|
};
|
|
@@ -17357,6 +17359,7 @@ var Slides = function Slides(_ref) {
|
|
|
17357
17359
|
}, design.backgroundImage),
|
|
17358
17360
|
className: classnames__default["default"]("neeto-site-block-wrapper relative lg:w-9/12", baseClasses),
|
|
17359
17361
|
children: [slide.logoUrl && /*#__PURE__*/jsxRuntime.jsx("img", {
|
|
17362
|
+
alt: "Slide",
|
|
17360
17363
|
className: "absolute right-12 top-8 w-20",
|
|
17361
17364
|
src: slide.logoUrl
|
|
17362
17365
|
}), renderSwiperSlide(slide)]
|