@bigbinary/neeto-site-blocks 1.10.22 → 1.10.24
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 +25 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +25 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11675,7 +11675,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
11675
11675
|
})
|
|
11676
11676
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11677
11677
|
className: "gap-x-2 sm:gap-y-4"
|
|
11678
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
11678
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
11679
11679
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
11680
11680
|
index: index,
|
|
11681
11681
|
isTitle: true,
|
|
@@ -11683,13 +11683,13 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
11683
11683
|
id: "cards-in-grid-view-".concat(index, "-title"),
|
|
11684
11684
|
isAddNewPane: otherProps.isAddNewPane,
|
|
11685
11685
|
style: design.cardTitle
|
|
11686
|
-
}, title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
11686
|
+
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
11687
11687
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
11688
11688
|
index: index,
|
|
11689
11689
|
id: "cards-in-grid-view-".concat(index, "-description"),
|
|
11690
11690
|
isAddNewPane: otherProps.isAddNewPane,
|
|
11691
11691
|
style: design.cardDescription
|
|
11692
|
-
}, description))));
|
|
11692
|
+
}, otherProps), description))));
|
|
11693
11693
|
};
|
|
11694
11694
|
if (isSliderView) {
|
|
11695
11695
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
@@ -11702,7 +11702,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
11702
11702
|
design: design.body,
|
|
11703
11703
|
nestedClassName: baseClasses,
|
|
11704
11704
|
nestedComponent: MotionWrapper
|
|
11705
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
11705
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
11706
11706
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
11707
11707
|
isTitle: true,
|
|
11708
11708
|
className: "col-span-12",
|
|
@@ -11710,7 +11710,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
11710
11710
|
id: "cards-in-grid-view-title",
|
|
11711
11711
|
isAddNewPane: otherProps.isAddNewPane,
|
|
11712
11712
|
style: design.title
|
|
11713
|
-
}, title), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
11713
|
+
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
11714
11714
|
isStart: true,
|
|
11715
11715
|
Icon: ArrowLeft$1,
|
|
11716
11716
|
className: "flex-shrink-0",
|
|
@@ -11723,6 +11723,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
11723
11723
|
className: "col-span-10 col-start-2"
|
|
11724
11724
|
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
11725
11725
|
loop: true,
|
|
11726
|
+
allowTouchMove: !disableButtonAndLinks,
|
|
11726
11727
|
breakpointsBase: "container",
|
|
11727
11728
|
slidesPerView: 1,
|
|
11728
11729
|
spaceBetween: 10,
|
|
@@ -11775,19 +11776,19 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
11775
11776
|
design: design.body,
|
|
11776
11777
|
nestedClassName: baseClasses,
|
|
11777
11778
|
nestedComponent: StyledWrapper
|
|
11778
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
11779
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
11779
11780
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
11780
11781
|
isTitle: true,
|
|
11781
11782
|
className: "col-span-12",
|
|
11782
11783
|
component: "h3",
|
|
11783
11784
|
id: "cards-in-grid-view-title",
|
|
11784
11785
|
style: design.title
|
|
11785
|
-
}, title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
11786
|
+
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
11786
11787
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
11787
11788
|
className: "col-span-12",
|
|
11788
11789
|
id: "cards-in-grid-view-description",
|
|
11789
11790
|
style: design.description
|
|
11790
|
-
}, description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11791
|
+
}, otherProps), description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11791
11792
|
className: "col-span-12 grid grid-cols-12 gap-6"
|
|
11792
11793
|
}, cards.map(function (card, index) {
|
|
11793
11794
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
@@ -12497,12 +12498,16 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
12497
12498
|
enableAnimation = properties.enableAnimation,
|
|
12498
12499
|
bulletList = properties.bulletList,
|
|
12499
12500
|
src = properties.backgroundImage.src;
|
|
12500
|
-
var baseClasses = "grid grid-cols-12 items-center";
|
|
12501
|
+
var baseClasses = "grid grid-cols-12 items-center gap-5";
|
|
12501
12502
|
var BulletList = withConditionalRender(function () {
|
|
12502
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
12503
|
-
|
|
12503
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
12504
|
+
as: "div",
|
|
12505
|
+
className: "col-span-12 lg:col-span-6 lg:col-start-7",
|
|
12506
|
+
design: {
|
|
12507
|
+
textAlign: design.bulletList.textAlign
|
|
12508
|
+
}
|
|
12504
12509
|
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
12505
|
-
className: "list-disc"
|
|
12510
|
+
className: "inline-block list-disc pl-5 text-left lg:pl-10"
|
|
12506
12511
|
}, bulletList.map(function (_ref2, index) {
|
|
12507
12512
|
var featureTitle = _ref2.title;
|
|
12508
12513
|
return /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -12510,7 +12515,7 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
12510
12515
|
component: "li",
|
|
12511
12516
|
id: "feature-with-bullet-list-bullet-".concat(index, "-title"),
|
|
12512
12517
|
key: getUniqueKey(featureTitle, index),
|
|
12513
|
-
style: design.bulletList
|
|
12518
|
+
style: ramda.omit(["textAlign"], design.bulletList)
|
|
12514
12519
|
}, _objectSpread$c(_objectSpread$c({}, otherProps), {}, {
|
|
12515
12520
|
index: index
|
|
12516
12521
|
})), featureTitle);
|
|
@@ -12528,7 +12533,7 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
12528
12533
|
design: design.body,
|
|
12529
12534
|
nestedClassName: baseClasses
|
|
12530
12535
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12531
|
-
className: "col-span-12
|
|
12536
|
+
className: "col-span-12 lg:col-span-5"
|
|
12532
12537
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
12533
12538
|
isTitle: true,
|
|
12534
12539
|
component: "h3",
|
|
@@ -13512,6 +13517,7 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
13512
13517
|
className: "ns-gallery-with-multiple-images col-span-12 sm:col-span-10 sm:col-start-2"
|
|
13513
13518
|
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
13514
13519
|
loop: true,
|
|
13520
|
+
allowTouchMove: !disableButtonAndLinks,
|
|
13515
13521
|
breakpointsBase: "container",
|
|
13516
13522
|
slidesPerView: 1,
|
|
13517
13523
|
spaceBetween: 10,
|
|
@@ -14346,6 +14352,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
14346
14352
|
className: "col-span-12 space-y-6"
|
|
14347
14353
|
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
14348
14354
|
loop: true,
|
|
14355
|
+
allowTouchMove: !otherProps.disableButtonAndLinks,
|
|
14349
14356
|
autoplay: {
|
|
14350
14357
|
delay: 5000,
|
|
14351
14358
|
disableOnInteraction: false
|
|
@@ -14380,6 +14387,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
14380
14387
|
className: "mt-8 hidden sm:col-span-6 sm:col-start-4 sm:block"
|
|
14381
14388
|
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
14382
14389
|
watchSlidesProgress: true,
|
|
14390
|
+
allowTouchMove: !otherProps.disableButtonAndLinks,
|
|
14383
14391
|
modules: [Thumb],
|
|
14384
14392
|
slidesPerView: 4,
|
|
14385
14393
|
spaceBetween: 12,
|
|
@@ -15148,6 +15156,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
15148
15156
|
}
|
|
15149
15157
|
}), /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
15150
15158
|
loop: true,
|
|
15159
|
+
allowTouchMove: !disableButtonAndLinks,
|
|
15151
15160
|
className: "ns-hero-with-slider",
|
|
15152
15161
|
onSwiper: setSwiper
|
|
15153
15162
|
}, slides.map(function (_ref7, index) {
|
|
@@ -15525,6 +15534,7 @@ var Slides = function Slides(_ref) {
|
|
|
15525
15534
|
}
|
|
15526
15535
|
}), /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
15527
15536
|
loop: true,
|
|
15537
|
+
allowTouchMove: !disableButtonAndLinks,
|
|
15528
15538
|
keyboard: {
|
|
15529
15539
|
enabled: true,
|
|
15530
15540
|
onlyInViewport: true
|
|
@@ -15639,6 +15649,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
15639
15649
|
className: "ns-sliding-testimonial col-span-12"
|
|
15640
15650
|
}, /*#__PURE__*/React__default["default"].createElement(Swiper, {
|
|
15641
15651
|
loop: true,
|
|
15652
|
+
allowTouchMove: !otherProps.disableButtonAndLinks,
|
|
15642
15653
|
spaceBetween: 10,
|
|
15643
15654
|
onSwiper: setSwiper
|
|
15644
15655
|
}, testimonials.map(function (_ref2, index) {
|