@bigbinary/neeto-site-blocks 1.10.15 → 1.10.17
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 +26 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +26 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21987,15 +21987,15 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
21987
21987
|
autoPlay = _properties$media.autoPlay,
|
|
21988
21988
|
src = properties.backgroundImage.src;
|
|
21989
21989
|
var mediaURL = isEmbedded ? videoUrl : imageUrl;
|
|
21990
|
-
var baseClasses = "grid grid-cols-12 items-center
|
|
21990
|
+
var baseClasses = "grid grid-cols-12 items-center gap-y-6 lg:gap-x-4 grid-flow-row-dense";
|
|
21991
21991
|
var mediaBaseClasses = classnames("col-span-12 flex justify-center", {
|
|
21992
|
-
"
|
|
21993
|
-
"
|
|
21992
|
+
"lg:col-span-7 lg:col-start-7 lg:col-span-6 lg:col-start-7": mediaPosition === POSITIONS.RIGHT.label,
|
|
21993
|
+
"lg:col-span-6 lg:col-start-1 lg:col-span-6": mediaPosition === POSITIONS.LEFT.label,
|
|
21994
21994
|
hidden: !mediaURL
|
|
21995
21995
|
});
|
|
21996
21996
|
var contentBaseClasses = classnames("col-span-12", {
|
|
21997
|
-
"
|
|
21998
|
-
"
|
|
21997
|
+
"lg:col-span-5 lg:col-start-1": mediaPosition === POSITIONS.RIGHT.label && mediaURL,
|
|
21998
|
+
"lg:col-span-5 lg:col-start-8 lg:col-start-8": mediaPosition === POSITIONS.LEFT.label && mediaURL
|
|
21999
21999
|
});
|
|
22000
22000
|
return /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
22001
22001
|
className: className,
|
|
@@ -22026,10 +22026,10 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
22026
22026
|
type = _ref2.type;
|
|
22027
22027
|
return /*#__PURE__*/React__default.createElement(MotionWrapper, {
|
|
22028
22028
|
enableAnimation: enableAnimation,
|
|
22029
|
+
key: getUniqueKey(featureTitle, featureDescription, index),
|
|
22029
22030
|
className: classnames({
|
|
22030
|
-
"flex gap-
|
|
22031
|
-
})
|
|
22032
|
-
key: getUniqueKey(featureTitle, featureDescription, index)
|
|
22031
|
+
"flex flex-col gap-4 md:flex-row": icon
|
|
22032
|
+
})
|
|
22033
22033
|
}, icon && /*#__PURE__*/React__default.createElement("div", {
|
|
22034
22034
|
className: "flex-shrink-0"
|
|
22035
22035
|
}, renderIcon(_objectSpread$b({
|
|
@@ -22302,15 +22302,15 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
22302
22302
|
autoPlay = _properties$media.autoPlay,
|
|
22303
22303
|
src = properties.backgroundImage.src;
|
|
22304
22304
|
var mediaURL = isEmbedded ? videoUrl : imageURL;
|
|
22305
|
-
var baseClasses = "grid grid-cols-12 lg:gap-x-4
|
|
22305
|
+
var baseClasses = "grid grid-cols-12 lg:gap-x-4 items-center grid-flow-row-dense";
|
|
22306
22306
|
var mediaBaseClasses = classnames("col-span-12 flex justify-center", {
|
|
22307
|
-
"
|
|
22308
|
-
"
|
|
22307
|
+
"lg:col-span-6 lg:col-start-7": mediaPosition === POSITIONS.RIGHT.label,
|
|
22308
|
+
"lg:col-span-6 lg:col-start-1": mediaPosition === POSITIONS.LEFT.label,
|
|
22309
22309
|
hidden: !mediaURL
|
|
22310
22310
|
});
|
|
22311
22311
|
var linkBaseClasses = classnames("col-span-12", {
|
|
22312
|
-
"
|
|
22313
|
-
"
|
|
22312
|
+
"lg:col-span-5 lg:col-start-1": mediaPosition === POSITIONS.RIGHT.label && mediaURL,
|
|
22313
|
+
"lg:col-span-5 lg:col-start-8": mediaPosition === POSITIONS.LEFT.label && mediaURL,
|
|
22314
22314
|
"grid grid-cols-12": !mediaURL
|
|
22315
22315
|
});
|
|
22316
22316
|
return /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
@@ -22335,26 +22335,31 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
22335
22335
|
id: "feature-with-list-description",
|
|
22336
22336
|
style: design.description
|
|
22337
22337
|
}, otherProps), description), /*#__PURE__*/React__default.createElement("div", {
|
|
22338
|
-
className: "col-span-12 mb-8
|
|
22338
|
+
className: "col-span-12 mb-8 lg:col-span-6"
|
|
22339
22339
|
}, features.map(function (_ref2, index) {
|
|
22340
22340
|
var featureTitle = _ref2.title;
|
|
22341
22341
|
return /*#__PURE__*/React__default.createElement(MotionWrapper, {
|
|
22342
22342
|
enableAnimation: enableAnimation,
|
|
22343
|
-
className: "grid grid-cols-12 gap-x-2",
|
|
22344
|
-
design: design.feature,
|
|
22345
22343
|
key: getUniqueKey(featureTitle, index)
|
|
22344
|
+
}, /*#__PURE__*/React__default.createElement(StyledWrapper, {
|
|
22345
|
+
design: {
|
|
22346
|
+
textAlign: design.featureTitle.textAlign,
|
|
22347
|
+
marginTop: design.featureTitle.marginTop,
|
|
22348
|
+
marginBottom: design.featureTitle.marginBottom
|
|
22349
|
+
}
|
|
22346
22350
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
22347
|
-
className: "
|
|
22351
|
+
className: "inline-flex items-center gap-x-2"
|
|
22348
22352
|
}, /*#__PURE__*/React__default.createElement(CheckDouble, _extends$2({
|
|
22349
22353
|
fill: design.featureIcon.color
|
|
22350
|
-
}, design.featureIcon
|
|
22354
|
+
}, design.featureIcon, {
|
|
22355
|
+
className: "flex-shrink-0"
|
|
22356
|
+
})), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
22351
22357
|
index: index,
|
|
22352
22358
|
isTitle: true,
|
|
22353
|
-
className: "col-span-11 col-start-2 flex justify-start",
|
|
22354
22359
|
component: "p",
|
|
22355
22360
|
id: "feature-with-list-features-".concat(index, "-title"),
|
|
22356
|
-
style: design.featureTitle
|
|
22357
|
-
}, otherProps), featureTitle));
|
|
22361
|
+
style: omit(["textAlign", "marginTop", "marginBottom"], design.featureTitle)
|
|
22362
|
+
}, otherProps), featureTitle))));
|
|
22358
22363
|
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
22359
22364
|
className: mediaBaseClasses
|
|
22360
22365
|
}, /*#__PURE__*/React__default.createElement(Media, {
|