@bigbinary/neeto-site-blocks 1.6.3 → 1.6.4
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 +17 -23
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +17 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15692,7 +15692,6 @@ var PageNavigation = function PageNavigation(_ref) {
|
|
|
15692
15692
|
};
|
|
15693
15693
|
|
|
15694
15694
|
var Pagination$1 = function Pagination(_ref) {
|
|
15695
|
-
var _classnames, _classnames2;
|
|
15696
15695
|
var swiper = _ref.swiper,
|
|
15697
15696
|
design = _ref.design;
|
|
15698
15697
|
var _useState = useState(0),
|
|
@@ -15714,15 +15713,12 @@ var Pagination$1 = function Pagination(_ref) {
|
|
|
15714
15713
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
15715
15714
|
className: "swiper-pagination flex items-center justify-center space-x-4"
|
|
15716
15715
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
15717
|
-
className: classnames({
|
|
15718
|
-
"cursor-default": swiper.isBeginning
|
|
15719
|
-
}),
|
|
15720
15716
|
onClick: function onClick() {
|
|
15721
|
-
return
|
|
15717
|
+
return swiper.slidePrev();
|
|
15722
15718
|
}
|
|
15723
15719
|
}, /*#__PURE__*/React__default.createElement(ArrowLeftS$1, {
|
|
15724
|
-
|
|
15725
|
-
|
|
15720
|
+
fill: (design === null || design === void 0 ? void 0 : design.navigationActiveColor) || "#1F2433",
|
|
15721
|
+
size: 26
|
|
15726
15722
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
15727
15723
|
className: "space-x-2"
|
|
15728
15724
|
}, _toConsumableArray(Array(totalSlides)).map(function (_, index) {
|
|
@@ -15735,15 +15731,12 @@ var Pagination$1 = function Pagination(_ref) {
|
|
|
15735
15731
|
}
|
|
15736
15732
|
});
|
|
15737
15733
|
})), /*#__PURE__*/React__default.createElement("button", {
|
|
15738
|
-
className: classnames({
|
|
15739
|
-
"cursor-default": swiper.isEnd
|
|
15740
|
-
}),
|
|
15741
15734
|
onClick: function onClick() {
|
|
15742
15735
|
return swiper.slideNext();
|
|
15743
15736
|
}
|
|
15744
15737
|
}, /*#__PURE__*/React__default.createElement(ArrowRightS$1, {
|
|
15745
|
-
|
|
15746
|
-
|
|
15738
|
+
fill: (design === null || design === void 0 ? void 0 : design.navigationActiveColor) || "#1F2433",
|
|
15739
|
+
size: 26
|
|
15747
15740
|
})));
|
|
15748
15741
|
};
|
|
15749
15742
|
|
|
@@ -20763,7 +20756,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20763
20756
|
enableAnimation: enableAnimation,
|
|
20764
20757
|
design: design.card,
|
|
20765
20758
|
duration: 0.01,
|
|
20766
|
-
className: classnames("ns-card-in-grid-view col-span-12 cursor-pointer space-y-8
|
|
20759
|
+
className: classnames("ns-card-in-grid-view col-span-12 cursor-pointer space-y-8 sm:col-span-6 lg:col-span-4", {
|
|
20767
20760
|
"ns-card-in-grid-view--landscape": mode === "landscape",
|
|
20768
20761
|
"ns-card-in-grid-view--portrait": mode === "portrait"
|
|
20769
20762
|
}),
|
|
@@ -20817,8 +20810,10 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20817
20810
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
20818
20811
|
className: "col-span-8 col-start-3 sm:col-span-10 sm:col-start-2"
|
|
20819
20812
|
}, /*#__PURE__*/React__default.createElement(Swiper, {
|
|
20813
|
+
loop: true,
|
|
20820
20814
|
breakpointsBase: "container",
|
|
20821
20815
|
slidesPerView: 1,
|
|
20816
|
+
spaceBetween: 10,
|
|
20822
20817
|
breakpoints: {
|
|
20823
20818
|
480: {
|
|
20824
20819
|
slidesPerView: 2,
|
|
@@ -41491,11 +41486,8 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
41491
41486
|
var configurations = _ref.configurations,
|
|
41492
41487
|
_ref$className = _ref.className,
|
|
41493
41488
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
41494
|
-
id = _ref.id
|
|
41495
|
-
|
|
41496
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
41497
|
-
activeIndex = _useState2[0],
|
|
41498
|
-
setActiveIndex = _useState2[1];
|
|
41489
|
+
id = _ref.id,
|
|
41490
|
+
disableButtonAndLinks = _ref.disableButtonAndLinks;
|
|
41499
41491
|
var swiperRef = useRef(null);
|
|
41500
41492
|
var properties = configurations.properties,
|
|
41501
41493
|
design = configurations.design;
|
|
@@ -41530,7 +41522,6 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
41530
41522
|
Icon: ArrowLeft$1,
|
|
41531
41523
|
className: "hidden sm:flex",
|
|
41532
41524
|
design: design.navigationButtons,
|
|
41533
|
-
isActive: activeIndex > 0,
|
|
41534
41525
|
onClick: function onClick() {
|
|
41535
41526
|
var _swiperRef$current;
|
|
41536
41527
|
return (_swiperRef$current = swiperRef.current) === null || _swiperRef$current === void 0 ? void 0 : _swiperRef$current.slidePrev();
|
|
@@ -41540,6 +41531,7 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
41540
41531
|
}, /*#__PURE__*/React__default.createElement(Swiper, {
|
|
41541
41532
|
freeMode: true,
|
|
41542
41533
|
grabCursor: true,
|
|
41534
|
+
loop: true,
|
|
41543
41535
|
breakpointsBase: "container",
|
|
41544
41536
|
modules: [Pagination, Mousewheel, freeMode],
|
|
41545
41537
|
mousewheel: {
|
|
@@ -41549,15 +41541,16 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
41549
41541
|
clickable: true
|
|
41550
41542
|
},
|
|
41551
41543
|
slidesPerView: 1,
|
|
41544
|
+
spaceBetween: 10,
|
|
41552
41545
|
breakpoints: {
|
|
41553
41546
|
640: {
|
|
41554
41547
|
slidesPerView: 2,
|
|
41555
41548
|
spaceBetween: 10
|
|
41556
41549
|
}
|
|
41557
41550
|
},
|
|
41558
|
-
|
|
41559
|
-
|
|
41560
|
-
},
|
|
41551
|
+
className: classnames({
|
|
41552
|
+
"pointer-events-none": disableButtonAndLinks
|
|
41553
|
+
}),
|
|
41561
41554
|
onSwiper: function onSwiper(swiper) {
|
|
41562
41555
|
swiperRef.current = swiper;
|
|
41563
41556
|
}
|
|
@@ -41579,7 +41572,6 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
41579
41572
|
Icon: ArrowRight$1,
|
|
41580
41573
|
className: "hidden sm:flex",
|
|
41581
41574
|
design: design.navigationButtons,
|
|
41582
|
-
isActive: activeIndex < images.length - 2,
|
|
41583
41575
|
onClick: function onClick() {
|
|
41584
41576
|
var _swiperRef$current2;
|
|
41585
41577
|
return (_swiperRef$current2 = swiperRef.current) === null || _swiperRef$current2 === void 0 ? void 0 : _swiperRef$current2.slideNext();
|
|
@@ -41629,6 +41621,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
41629
41621
|
}, description)), /*#__PURE__*/React__default.createElement("div", {
|
|
41630
41622
|
className: "ns-gallery-with-sliding-images col-span-12 space-y-6 sm:col-span-10 sm:col-start-2"
|
|
41631
41623
|
}, /*#__PURE__*/React__default.createElement(Swiper, {
|
|
41624
|
+
loop: true,
|
|
41632
41625
|
autoplay: {
|
|
41633
41626
|
delay: 5000,
|
|
41634
41627
|
disableOnInteraction: false
|
|
@@ -42736,6 +42729,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
42736
42729
|
}, description)), /*#__PURE__*/React__default.createElement("div", {
|
|
42737
42730
|
className: "ns-sliding-testimonial col-span-12"
|
|
42738
42731
|
}, /*#__PURE__*/React__default.createElement(Swiper, {
|
|
42732
|
+
loop: true,
|
|
42739
42733
|
spaceBetween: 10,
|
|
42740
42734
|
onSwiper: setSwiper
|
|
42741
42735
|
}, testimonials.map(function (_ref2, index) {
|