@bigbinary/neeto-site-blocks 1.6.9 → 1.7.0
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 +11 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20730,7 +20730,8 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20730
20730
|
var configurations = _ref.configurations,
|
|
20731
20731
|
_ref$className = _ref.className,
|
|
20732
20732
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
20733
|
-
id = _ref.id
|
|
20733
|
+
id = _ref.id,
|
|
20734
|
+
disableButtonAndLinks = _ref.disableButtonAndLinks;
|
|
20734
20735
|
var _useState = useState(0),
|
|
20735
20736
|
_useState2 = _slicedToArray(_useState, 2),
|
|
20736
20737
|
activeIndex = _useState2[0],
|
|
@@ -20823,6 +20824,9 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20823
20824
|
spaceBetween: 15
|
|
20824
20825
|
}
|
|
20825
20826
|
},
|
|
20827
|
+
className: classnames({
|
|
20828
|
+
"pointer-events-none": disableButtonAndLinks
|
|
20829
|
+
}),
|
|
20826
20830
|
onSlideChange: function onSlideChange(swiper) {
|
|
20827
20831
|
return setActiveIndex(swiper.activeIndex);
|
|
20828
20832
|
},
|
|
@@ -20840,7 +20844,12 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20840
20844
|
var _swiperRef$current2;
|
|
20841
20845
|
return (_swiperRef$current2 = swiperRef.current) === null || _swiperRef$current2 === void 0 ? void 0 : _swiperRef$current2.slideNext();
|
|
20842
20846
|
}
|
|
20843
|
-
})
|
|
20847
|
+
}), isButtonRequired && /*#__PURE__*/React__default.createElement("div", {
|
|
20848
|
+
className: "col-span-12 grid grid-cols-12"
|
|
20849
|
+
}, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
|
|
20850
|
+
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
|
|
20851
|
+
style: design.button
|
|
20852
|
+
}, button))));
|
|
20844
20853
|
}
|
|
20845
20854
|
return /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
20846
20855
|
className: className,
|