@bigbinary/neeto-site-blocks 1.7.0 → 1.7.1
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 +12 -13
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +12 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -41606,9 +41606,6 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
41606
41606
|
spaceBetween: 10
|
|
41607
41607
|
}
|
|
41608
41608
|
},
|
|
41609
|
-
className: classnames({
|
|
41610
|
-
"pointer-events-none": disableButtonAndLinks
|
|
41611
|
-
}),
|
|
41612
41609
|
onSwiper: function onSwiper(swiper) {
|
|
41613
41610
|
swiperRef.current = swiper;
|
|
41614
41611
|
}
|
|
@@ -41617,8 +41614,10 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
41617
41614
|
caption = _ref2.title,
|
|
41618
41615
|
style = _ref2.style;
|
|
41619
41616
|
return /*#__PURE__*/React__default["default"].createElement(SwiperSlide, {
|
|
41620
|
-
|
|
41621
|
-
|
|
41617
|
+
key: getUniqueKey(src, title, index),
|
|
41618
|
+
className: classnames("swiper__wrapper", {
|
|
41619
|
+
"pointer-events-none": disableButtonAndLinks
|
|
41620
|
+
})
|
|
41622
41621
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
41623
41622
|
src: src,
|
|
41624
41623
|
alt: caption,
|
|
@@ -42331,14 +42330,14 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
42331
42330
|
})
|
|
42332
42331
|
})));
|
|
42333
42332
|
};
|
|
42334
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
42333
|
+
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
42335
42334
|
enableAnimation: enableAnimation,
|
|
42336
42335
|
id: id,
|
|
42337
42336
|
backgroundImage: mergeLeft({
|
|
42338
42337
|
src: src
|
|
42339
42338
|
}, design.backgroundImage),
|
|
42340
|
-
|
|
42341
|
-
|
|
42339
|
+
design: design.body,
|
|
42340
|
+
nestedClassName: "flex items-center justify-between gap-x-2"
|
|
42342
42341
|
}, slides.length > 1 ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
42343
42342
|
isStart: true,
|
|
42344
42343
|
Icon: ArrowLeftS$1,
|
|
@@ -42350,6 +42349,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
42350
42349
|
}
|
|
42351
42350
|
}), /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
42352
42351
|
loop: true,
|
|
42352
|
+
className: "ns-hero-with-slider",
|
|
42353
42353
|
keyboard: {
|
|
42354
42354
|
enabled: true,
|
|
42355
42355
|
onlyInViewport: true
|
|
@@ -42358,9 +42358,6 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
42358
42358
|
pagination: {
|
|
42359
42359
|
clickable: true
|
|
42360
42360
|
},
|
|
42361
|
-
className: classnames("ns-hero-with-slider", {
|
|
42362
|
-
"pointer-events-none": disableButtonAndLinks
|
|
42363
|
-
}),
|
|
42364
42361
|
onSwiper: function onSwiper(swiper) {
|
|
42365
42362
|
swiperRef.current = swiper;
|
|
42366
42363
|
}
|
|
@@ -42369,8 +42366,10 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
42369
42366
|
buttons = _ref7.buttons,
|
|
42370
42367
|
media = _ref7.media;
|
|
42371
42368
|
return /*#__PURE__*/React__default["default"].createElement(SwiperSlide, {
|
|
42372
|
-
|
|
42373
|
-
|
|
42369
|
+
key: getUniqueKey(content.title, index),
|
|
42370
|
+
className: classnames("my-auto", className, {
|
|
42371
|
+
"pointer-events-none": disableButtonAndLinks
|
|
42372
|
+
})
|
|
42374
42373
|
}, renderHeroWithMedia({
|
|
42375
42374
|
content: content,
|
|
42376
42375
|
buttons: buttons,
|