@bigbinary/neeto-site-blocks 1.16.16 → 1.16.18
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 +21 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +21 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7856,8 +7856,9 @@ var CardsClassic = function CardsClassic(_ref) {
|
|
|
7856
7856
|
to: to,
|
|
7857
7857
|
key: getUniqueKey(title, description, index),
|
|
7858
7858
|
style: design.card,
|
|
7859
|
-
className: classnames__default["default"]("ns-card-animation col-span-12 flex h-full min-h-52
|
|
7860
|
-
"sm:col-start-4": cards.length % 2 === 1 && index === cards.length - 1
|
|
7859
|
+
className: classnames__default["default"]("ns-card-animation col-span-12 flex h-full min-h-52 flex-col sm:col-span-6", {
|
|
7860
|
+
"sm:col-start-4": cards.length % 2 === 1 && index === cards.length - 1,
|
|
7861
|
+
"cursor-pointer": neetoCist.isPresent(to) && neetoCist.isPresent(action)
|
|
7861
7862
|
})
|
|
7862
7863
|
}, otherProps), /*#__PURE__*/jsxRuntime.jsx(Typography$1, _objectSpread$t(_objectSpread$t({
|
|
7863
7864
|
index: index,
|
|
@@ -12988,9 +12989,11 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
12988
12989
|
alt = _ref2.alt;
|
|
12989
12990
|
return /*#__PURE__*/jsxRuntime.jsx(MotionWrapper, {
|
|
12990
12991
|
enableAnimation: enableAnimation,
|
|
12991
|
-
className: "col-span-12 h-full cursor-pointer space-y-8 sm:col-span-6 lg:col-span-4",
|
|
12992
12992
|
design: design.card,
|
|
12993
12993
|
duration: 0.01,
|
|
12994
|
+
className: classnames__default["default"]("col-span-12 h-full space-y-8 sm:col-span-6 lg:col-span-4", {
|
|
12995
|
+
"cursor-pointer": neetoCist.isPresent(href) && neetoCist.isPresent(action)
|
|
12996
|
+
}),
|
|
12994
12997
|
children: /*#__PURE__*/jsxRuntime.jsxs(Link, _objectSpread$s(_objectSpread$s({
|
|
12995
12998
|
action: action,
|
|
12996
12999
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
@@ -13194,11 +13197,14 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
13194
13197
|
isBorderRequired = properties.isBorderRequired,
|
|
13195
13198
|
src = properties.backgroundImage.src;
|
|
13196
13199
|
var baseClasses = "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center ns-card";
|
|
13197
|
-
var gridBaseClasses =
|
|
13198
|
-
"
|
|
13199
|
-
|
|
13200
|
-
|
|
13201
|
-
|
|
13200
|
+
var gridBaseClasses = function gridBaseClasses(href, action) {
|
|
13201
|
+
return classnames__default["default"]("col-span-12 min-h-56 flex flex-col gap-2 ns-card-animation", {
|
|
13202
|
+
"sm:col-span-6 lg:col-span-4": gridCount === 3,
|
|
13203
|
+
"sm:col-span-6": gridCount === 2,
|
|
13204
|
+
"lg:col-span-3 sm:col-span-6": gridCount === 4,
|
|
13205
|
+
"cursor-pointer": neetoCist.isPresent(href) && neetoCist.isPresent(action)
|
|
13206
|
+
});
|
|
13207
|
+
};
|
|
13202
13208
|
return /*#__PURE__*/jsxRuntime.jsxs(BlockWrapper, {
|
|
13203
13209
|
className: className,
|
|
13204
13210
|
enableAnimation: enableAnimation,
|
|
@@ -13233,7 +13239,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
13233
13239
|
action = _ref2.action;
|
|
13234
13240
|
return /*#__PURE__*/React.createElement(MotionWrapper, {
|
|
13235
13241
|
enableAnimation: enableAnimation,
|
|
13236
|
-
className: gridBaseClasses,
|
|
13242
|
+
className: gridBaseClasses(href, action),
|
|
13237
13243
|
design: design.card,
|
|
13238
13244
|
duration: 0.01,
|
|
13239
13245
|
key: getUniqueKey(title, description, index)
|
|
@@ -13295,7 +13301,11 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
13295
13301
|
isAddMoreRequired = properties.isAddMoreRequired,
|
|
13296
13302
|
src = properties.backgroundImage.src;
|
|
13297
13303
|
var baseClasses = "grid grid-cols-12 gap-y-6 items-center ns-card";
|
|
13298
|
-
var gridBaseClasses =
|
|
13304
|
+
var gridBaseClasses = function gridBaseClasses(href, action) {
|
|
13305
|
+
return classnames__default["default"]("relative sm:col-span-6 lg:col-span-4 col-span-12 justify-center items-center ns-card-animation", {
|
|
13306
|
+
"cursor-pointer": neetoCist.isPresent(href) && neetoCist.isPresent(action)
|
|
13307
|
+
});
|
|
13308
|
+
};
|
|
13299
13309
|
return /*#__PURE__*/jsxRuntime.jsxs(BlockWrapper, {
|
|
13300
13310
|
className: className,
|
|
13301
13311
|
enableAnimation: enableAnimation,
|
|
@@ -13332,7 +13342,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
13332
13342
|
alt = _ref2.alt;
|
|
13333
13343
|
return /*#__PURE__*/React.createElement(MotionWrapper, {
|
|
13334
13344
|
enableAnimation: enableAnimation,
|
|
13335
|
-
className: gridBaseClasses,
|
|
13345
|
+
className: gridBaseClasses(href, action),
|
|
13336
13346
|
duration: 0.01,
|
|
13337
13347
|
key: getUniqueKey(title, description, index),
|
|
13338
13348
|
design: _objectSpread$q(_objectSpread$q({}, design.card), {}, {
|