@bigbinary/neeto-site-blocks 1.10.13 → 1.10.15
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 +22 -29
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +22 -29
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15871,7 +15871,7 @@ var Typography = function Typography(_ref) {
|
|
|
15871
15871
|
id: id,
|
|
15872
15872
|
as: isTitle ? component : COMPONENTS.div,
|
|
15873
15873
|
design: style,
|
|
15874
|
-
className: classnames__default["default"]("neeto-site-typography
|
|
15874
|
+
className: classnames__default["default"]("neeto-site-typography text-wrap", className, {
|
|
15875
15875
|
"neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane
|
|
15876
15876
|
}),
|
|
15877
15877
|
onClick: !isAddNewPane && handleTitleClick
|
|
@@ -21380,7 +21380,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21380
21380
|
isAddMoreRequired = properties.isAddMoreRequired,
|
|
21381
21381
|
src = properties.backgroundImage.src;
|
|
21382
21382
|
var baseClasses = "grid grid-cols-12 gap-y-6 items-center ns-card";
|
|
21383
|
-
var gridBaseClasses = "relative sm:col-span-6 lg:col-span-4 col-span-12
|
|
21383
|
+
var gridBaseClasses = "relative sm:col-span-6 lg:col-span-4 col-span-12 justify-center items-center ns-card-animation cursor-pointer";
|
|
21384
21384
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
21385
21385
|
className: className,
|
|
21386
21386
|
enableAnimation: enableAnimation,
|
|
@@ -21397,7 +21397,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21397
21397
|
id: "cards-with-image-title",
|
|
21398
21398
|
style: design.title
|
|
21399
21399
|
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
21400
|
-
className: "col-span-12
|
|
21400
|
+
className: "col-span-12",
|
|
21401
21401
|
id: "cards-with-image-description",
|
|
21402
21402
|
style: design.description
|
|
21403
21403
|
}, otherProps), description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -21437,7 +21437,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21437
21437
|
id: "cards-with-image-".concat(index, "-title"),
|
|
21438
21438
|
style: design.cardTitle
|
|
21439
21439
|
}, otherProps), title)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21440
|
-
className: "
|
|
21440
|
+
className: "col-span-2 flex h-full flex-col justify-end"
|
|
21441
21441
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
21442
21442
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21443
21443
|
image: image,
|
|
@@ -21447,18 +21447,18 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21447
21447
|
id: "cards-with-image-".concat(index, "-image"),
|
|
21448
21448
|
isAddNewPane: otherProps.isAddNewPane,
|
|
21449
21449
|
src: imageUrl,
|
|
21450
|
-
wrapperClassName: "
|
|
21450
|
+
wrapperClassName: "flex flex-col items-end"
|
|
21451
21451
|
}))));
|
|
21452
21452
|
}), isAddMoreRequired && /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
21453
21453
|
enableAnimation: enableAnimation,
|
|
21454
|
-
className: "ns-card-animation col-span-12 flex
|
|
21454
|
+
className: "ns-card-animation col-span-12 flex items-center justify-center transition-all duration-300 ease-in-out sm:col-span-6 lg:col-span-4",
|
|
21455
21455
|
design: _objectSpread$g(_objectSpread$g({}, design.card), {}, {
|
|
21456
21456
|
paddingHorizontal: 0,
|
|
21457
21457
|
paddingVertical: 0
|
|
21458
21458
|
})
|
|
21459
21459
|
}, /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
21460
21460
|
disableHovering: true,
|
|
21461
|
-
className: "col-span-12 flex items-center justify-center gap-x-2",
|
|
21461
|
+
className: "col-span-12 flex items-center justify-center gap-x-2 p-9",
|
|
21462
21462
|
style: design.cardLink
|
|
21463
21463
|
}, _objectSpread$g(_objectSpread$g({}, addMore), {}, {
|
|
21464
21464
|
disableButtonAndLinks: disableButtonAndLinks
|
|
@@ -22930,7 +22930,7 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
22930
22930
|
design: design.body,
|
|
22931
22931
|
nestedClassName: baseClasses
|
|
22932
22932
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22933
|
-
className: "col-span-12
|
|
22933
|
+
className: "col-span-12"
|
|
22934
22934
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
22935
22935
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
22936
22936
|
isAddNewPane: isAddNewPane,
|
|
@@ -22946,19 +22946,16 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
22946
22946
|
}, description)), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
22947
22947
|
isStart: true,
|
|
22948
22948
|
Icon: ArrowLeft$1,
|
|
22949
|
-
className: "hidden sm:flex",
|
|
22949
|
+
className: "hidden justify-center sm:flex",
|
|
22950
22950
|
design: design.navigationButtons,
|
|
22951
22951
|
onClick: function onClick() {
|
|
22952
22952
|
return swiper === null || swiper === void 0 ? void 0 : swiper.slidePrev();
|
|
22953
22953
|
}
|
|
22954
22954
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22955
|
-
className: "ns-gallery-with-multiple-images col-span-10 col-start-2"
|
|
22955
|
+
className: "ns-gallery-with-multiple-images col-span-12 sm:col-span-10 sm:col-start-2"
|
|
22956
22956
|
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
22957
22957
|
loop: true,
|
|
22958
22958
|
breakpointsBase: "container",
|
|
22959
|
-
pagination: {
|
|
22960
|
-
clickable: true
|
|
22961
|
-
},
|
|
22962
22959
|
slidesPerView: 1,
|
|
22963
22960
|
spaceBetween: 10,
|
|
22964
22961
|
breakpoints: {
|
|
@@ -22993,7 +22990,7 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
22993
22990
|
design: design.button
|
|
22994
22991
|
})), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
22995
22992
|
Icon: ArrowRight$1,
|
|
22996
|
-
className: "hidden sm:flex",
|
|
22993
|
+
className: "hidden justify-center sm:flex",
|
|
22997
22994
|
design: design.navigationButtons,
|
|
22998
22995
|
onClick: function onClick() {
|
|
22999
22996
|
return swiper === null || swiper === void 0 ? void 0 : swiper.slideNext();
|
|
@@ -23768,7 +23765,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
23768
23765
|
_properties$images = properties.images,
|
|
23769
23766
|
images = _properties$images === void 0 ? [] : _properties$images,
|
|
23770
23767
|
src = properties.backgroundImage.src;
|
|
23771
|
-
var baseClasses = "grid grid-cols-12 items-center
|
|
23768
|
+
var baseClasses = "ns-gallery-with-sliding-images grid grid-cols-12 items-center";
|
|
23772
23769
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
23773
23770
|
className: className,
|
|
23774
23771
|
enableAnimation: enableAnimation,
|
|
@@ -23779,7 +23776,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
23779
23776
|
design: design.body,
|
|
23780
23777
|
nestedClassName: baseClasses
|
|
23781
23778
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23782
|
-
className: "col-span-12
|
|
23779
|
+
className: "col-span-12 mb-8"
|
|
23783
23780
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
23784
23781
|
isTitle: true,
|
|
23785
23782
|
component: "h3",
|
|
@@ -23789,7 +23786,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
23789
23786
|
id: "gallery-with-autoplay-description",
|
|
23790
23787
|
style: design.description
|
|
23791
23788
|
}, otherProps), description)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23792
|
-
className: "
|
|
23789
|
+
className: "col-span-12 space-y-6"
|
|
23793
23790
|
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
23794
23791
|
loop: true,
|
|
23795
23792
|
autoplay: {
|
|
@@ -23797,9 +23794,6 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
23797
23794
|
disableOnInteraction: false
|
|
23798
23795
|
},
|
|
23799
23796
|
modules: [Thumb, Autoplay],
|
|
23800
|
-
pagination: !isThumbsView && {
|
|
23801
|
-
clickable: true
|
|
23802
|
-
},
|
|
23803
23797
|
spaceBetween: 10,
|
|
23804
23798
|
thumbs: {
|
|
23805
23799
|
swiper: thumbsSwiper
|
|
@@ -23825,17 +23819,14 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
23825
23819
|
title: caption,
|
|
23826
23820
|
wrapperClassName: "h-full w-full"
|
|
23827
23821
|
}));
|
|
23828
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23829
|
-
className: "
|
|
23830
|
-
},
|
|
23822
|
+
}))), isThumbsView && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23823
|
+
className: "mt-8 hidden sm:col-span-6 sm:col-start-4 sm:block"
|
|
23824
|
+
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
23831
23825
|
watchSlidesProgress: true,
|
|
23832
23826
|
modules: [Thumb],
|
|
23833
|
-
pagination: {
|
|
23834
|
-
clickable: true
|
|
23835
|
-
},
|
|
23836
23827
|
slidesPerView: 4,
|
|
23837
23828
|
spaceBetween: 12,
|
|
23838
|
-
className: classnames__default["default"]("pointer-events-none
|
|
23829
|
+
className: classnames__default["default"]("pointer-events-none", {
|
|
23839
23830
|
swiper__thumbs__slide: images.length <= 3
|
|
23840
23831
|
}),
|
|
23841
23832
|
onSwiper: setThumbsSwiper
|
|
@@ -23857,11 +23848,13 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
23857
23848
|
title: title,
|
|
23858
23849
|
className: "clickable-image"
|
|
23859
23850
|
}));
|
|
23860
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
23851
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23852
|
+
className: "col-span-12 flex justify-center"
|
|
23853
|
+
}, /*#__PURE__*/React__default["default"].createElement(Pagination, {
|
|
23861
23854
|
swiper: swiper,
|
|
23862
23855
|
className: "!pointer-events-auto",
|
|
23863
23856
|
design: design.button
|
|
23864
|
-
})))
|
|
23857
|
+
})));
|
|
23865
23858
|
};
|
|
23866
23859
|
|
|
23867
23860
|
var useElementVisible = function useElementVisible(ref) {
|