@bigbinary/neeto-site-blocks 1.0.5 → 1.0.6
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 +8 -6
- 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 +8 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -20437,7 +20437,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20437
20437
|
imageUrl = _ref2.imageUrl,
|
|
20438
20438
|
href = _ref2.href;
|
|
20439
20439
|
return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
20440
|
-
className: "ns-card-
|
|
20440
|
+
className: "ns-card-in-grid-view col-span-12 cursor-pointer space-y-8 space-y-8 sm:col-span-6 lg:col-span-4",
|
|
20441
20441
|
design: design.card,
|
|
20442
20442
|
duration: 0.01,
|
|
20443
20443
|
enableAnimation: enableAnimation,
|
|
@@ -20445,7 +20445,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20445
20445
|
return href && window.open(href, "_blank");
|
|
20446
20446
|
}
|
|
20447
20447
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
20448
|
-
className: "mx-auto h-
|
|
20448
|
+
className: "mx-auto max-h-40 object-cover",
|
|
20449
20449
|
design: design.cardImage,
|
|
20450
20450
|
src: imageUrl
|
|
20451
20451
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -20456,7 +20456,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20456
20456
|
component: "h1",
|
|
20457
20457
|
style: design.cardTitle
|
|
20458
20458
|
}, title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
20459
|
-
className: "ns-card-truncation ns-card-line-clamp-
|
|
20459
|
+
className: "ns-card-truncation ns-card-line-clamp-2",
|
|
20460
20460
|
component: "p",
|
|
20461
20461
|
style: design.cardDescription
|
|
20462
20462
|
}, description)));
|
|
@@ -20524,7 +20524,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20524
20524
|
id: id,
|
|
20525
20525
|
nestedClassName: baseClasses,
|
|
20526
20526
|
nestedComponent: StyledWrapper
|
|
20527
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
20527
|
+
}, title && /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
20528
20528
|
isTitle: true,
|
|
20529
20529
|
className: "col-span-12",
|
|
20530
20530
|
component: "h1",
|
|
@@ -20533,11 +20533,13 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20533
20533
|
className: "col-span-12",
|
|
20534
20534
|
component: "p",
|
|
20535
20535
|
style: design.description
|
|
20536
|
-
}, description),
|
|
20536
|
+
}, description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20537
|
+
className: "col-span-12 grid grid-cols-12 gap-6"
|
|
20538
|
+
}, cards.map(function (card, index) {
|
|
20537
20539
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
20538
20540
|
key: getUniqueKey(card.title, card.description, index)
|
|
20539
20541
|
}, renderCard(card));
|
|
20540
|
-
}), isButtonRequired && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20542
|
+
})), isButtonRequired && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20541
20543
|
className: "col-span-12 grid grid-cols-12"
|
|
20542
20544
|
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
20543
20545
|
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
|