@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.js
CHANGED
|
@@ -43216,17 +43216,25 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43216
43216
|
return swiper === null || swiper === void 0 ? void 0 : swiper.slidePrev();
|
|
43217
43217
|
}
|
|
43218
43218
|
}), /*#__PURE__*/React__default.createElement(Swiper, {
|
|
43219
|
+
loop: true,
|
|
43219
43220
|
className: "ns-hero-with-slider",
|
|
43220
|
-
loop: slides.length > 0,
|
|
43221
43221
|
onSwiper: setSwiper
|
|
43222
43222
|
}, slides.map(function (_ref7, index) {
|
|
43223
|
-
_ref7.content
|
|
43224
|
-
_ref7.buttons
|
|
43225
|
-
_ref7.media;
|
|
43223
|
+
var content = _ref7.content,
|
|
43224
|
+
buttons = _ref7.buttons,
|
|
43225
|
+
media = _ref7.media;
|
|
43226
43226
|
return /*#__PURE__*/React__default.createElement(SwiperSlide, {
|
|
43227
43227
|
className: classnames("my-auto", className),
|
|
43228
|
-
key: index
|
|
43229
|
-
},
|
|
43228
|
+
key: getUniqueKey(content.title, index)
|
|
43229
|
+
}, renderHeroWithMedia({
|
|
43230
|
+
content: content,
|
|
43231
|
+
buttons: buttons,
|
|
43232
|
+
media: media,
|
|
43233
|
+
index: index
|
|
43234
|
+
}));
|
|
43235
|
+
}), /*#__PURE__*/React__default.createElement(Pagination, {
|
|
43236
|
+
swiper: swiper,
|
|
43237
|
+
className: "!relative"
|
|
43230
43238
|
})), /*#__PURE__*/React__default.createElement(ArrowButton, {
|
|
43231
43239
|
Icon: ArrowRightS$1,
|
|
43232
43240
|
className: "hidden sm:flex",
|