@bigbinary/neeto-site-blocks 1.11.0-beta4 → 1.11.0-beta6
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 +14 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +14 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -43262,17 +43262,25 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43262
43262
|
return swiper === null || swiper === void 0 ? void 0 : swiper.slidePrev();
|
|
43263
43263
|
}
|
|
43264
43264
|
}), /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
43265
|
+
loop: true,
|
|
43265
43266
|
className: "ns-hero-with-slider",
|
|
43266
|
-
loop: slides.length > 0,
|
|
43267
43267
|
onSwiper: setSwiper
|
|
43268
43268
|
}, slides.map(function (_ref7, index) {
|
|
43269
|
-
_ref7.content
|
|
43270
|
-
_ref7.buttons
|
|
43271
|
-
_ref7.media;
|
|
43269
|
+
var content = _ref7.content,
|
|
43270
|
+
buttons = _ref7.buttons,
|
|
43271
|
+
media = _ref7.media;
|
|
43272
43272
|
return /*#__PURE__*/React__default["default"].createElement(SwiperSlide, {
|
|
43273
43273
|
className: classnames("my-auto", className),
|
|
43274
|
-
key: index
|
|
43275
|
-
},
|
|
43274
|
+
key: getUniqueKey(content.title, index)
|
|
43275
|
+
}, renderHeroWithMedia({
|
|
43276
|
+
content: content,
|
|
43277
|
+
buttons: buttons,
|
|
43278
|
+
media: media,
|
|
43279
|
+
index: index
|
|
43280
|
+
}));
|
|
43281
|
+
}), /*#__PURE__*/React__default["default"].createElement(Pagination, {
|
|
43282
|
+
swiper: swiper,
|
|
43283
|
+
className: "!relative"
|
|
43276
43284
|
})), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
43277
43285
|
Icon: ArrowRightS$1,
|
|
43278
43286
|
className: "hidden sm:flex",
|