@bigbinary/neeto-site-blocks 1.8.5 → 1.8.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 +2 -7
- 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 +2 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -16505,7 +16505,7 @@ var CardsClassic = function CardsClassic(_ref) {
|
|
|
16505
16505
|
description = _ref2.description,
|
|
16506
16506
|
href = _ref2.href;
|
|
16507
16507
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
16508
|
-
className: "ns-card-animation col-span-12 flex h-
|
|
16508
|
+
className: "ns-card-animation col-span-12 flex h-full min-h-52 cursor-pointer flex-col sm:col-span-6",
|
|
16509
16509
|
design: design.card,
|
|
16510
16510
|
key: getUniqueKey(title, description, index),
|
|
16511
16511
|
onClick: function onClick() {
|
|
@@ -16514,13 +16514,11 @@ var CardsClassic = function CardsClassic(_ref) {
|
|
|
16514
16514
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
16515
16515
|
index: index,
|
|
16516
16516
|
isTitle: true,
|
|
16517
|
-
className: "ns-card-truncation ns-card-line-clamp-2",
|
|
16518
16517
|
component: "h1",
|
|
16519
16518
|
id: "cards-classic-cards-".concat(index, "-title"),
|
|
16520
16519
|
style: design.cardTitle
|
|
16521
16520
|
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
16522
16521
|
index: index,
|
|
16523
|
-
className: "ns-card-truncation ns-card-line-clamp-3",
|
|
16524
16522
|
component: "p",
|
|
16525
16523
|
id: "cards-classic-cards-".concat(index, "-description"),
|
|
16526
16524
|
style: design.cardDescription
|
|
@@ -21385,14 +21383,12 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21385
21383
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21386
21384
|
index: index,
|
|
21387
21385
|
isTitle: true,
|
|
21388
|
-
className: "ns-card-truncation ns-card-line-clamp-2",
|
|
21389
21386
|
component: "h1",
|
|
21390
21387
|
id: "cards-in-grid-view-".concat(index, "-title"),
|
|
21391
21388
|
style: design.cardTitle
|
|
21392
21389
|
}, title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
21393
21390
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21394
21391
|
index: index,
|
|
21395
|
-
className: "ns-card-truncation ns-card-line-clamp-2",
|
|
21396
21392
|
component: "p",
|
|
21397
21393
|
id: "cards-in-grid-view-".concat(index, "-description"),
|
|
21398
21394
|
style: design.cardDescription
|
|
@@ -21535,7 +21531,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21535
21531
|
isBorderRequired = properties.isBorderRequired,
|
|
21536
21532
|
src = properties.backgroundImage.src;
|
|
21537
21533
|
var baseClasses = "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center ns-card";
|
|
21538
|
-
var gridBaseClasses = classnames("col-span-12 h-56 flex flex-col gap-2 ns-card-animation cursor-pointer", {
|
|
21534
|
+
var gridBaseClasses = classnames("col-span-12 min-h-56 flex flex-col gap-2 ns-card-animation cursor-pointer", {
|
|
21539
21535
|
"sm:col-span-6 lg:col-span-4": gridCount === 3,
|
|
21540
21536
|
"sm:col-span-6": gridCount === 2,
|
|
21541
21537
|
"lg:col-span-3 sm:col-span-6": gridCount === 4
|
|
@@ -21580,7 +21576,6 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21580
21576
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
21581
21577
|
index: index,
|
|
21582
21578
|
isTitle: true,
|
|
21583
|
-
className: "ns-card-truncation ns-card-line-clamp-4",
|
|
21584
21579
|
component: "h1",
|
|
21585
21580
|
id: "cards-with-customizable-grid-card-".concat(index, "-title"),
|
|
21586
21581
|
style: design.cardTitle
|