@bigbinary/neeto-site-blocks 1.10.17 → 1.10.19
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 +12 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22084,7 +22084,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22084
22084
|
videoUrl = _properties$media.videoUrl,
|
|
22085
22085
|
autoPlay = _properties$media.autoPlay,
|
|
22086
22086
|
src = properties.backgroundImage.src;
|
|
22087
|
-
var baseClasses = "grid grid-cols-12 gap-
|
|
22087
|
+
var baseClasses = "grid grid-cols-12 gap-6";
|
|
22088
22088
|
var gridClasses = function gridClasses(index) {
|
|
22089
22089
|
return classnames("flex flex-col items-center justify-start", {
|
|
22090
22090
|
"col-span-12 sm:col-span-6 lg:col-span-4": !isEmpty(features),
|
|
@@ -22102,7 +22102,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22102
22102
|
design: design.body,
|
|
22103
22103
|
nestedClassName: baseClasses
|
|
22104
22104
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
22105
|
-
className: "col-span-12
|
|
22105
|
+
className: "col-span-12"
|
|
22106
22106
|
}, /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
22107
22107
|
isTitle: true,
|
|
22108
22108
|
component: "h3",
|
|
@@ -22111,12 +22111,14 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22111
22111
|
}, otherProps), title), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
22112
22112
|
id: "feature-with-grid-description",
|
|
22113
22113
|
style: design.description
|
|
22114
|
-
}, otherProps), description), /*#__PURE__*/React__default.createElement(
|
|
22114
|
+
}, otherProps), description)), /*#__PURE__*/React__default.createElement("div", {
|
|
22115
|
+
className: "col-span-12 sm:col-span-8 sm:col-start-3 lg:col-span-6 lg:col-start-4"
|
|
22116
|
+
}, /*#__PURE__*/React__default.createElement(Media, {
|
|
22115
22117
|
autoPlay: autoPlay,
|
|
22116
22118
|
image: image,
|
|
22117
22119
|
isEmbedded: isEmbedded,
|
|
22118
22120
|
videoUrl: videoUrl,
|
|
22119
|
-
className: "
|
|
22121
|
+
className: "mx-auto",
|
|
22120
22122
|
design: design.media,
|
|
22121
22123
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22122
22124
|
id: "feature-with-grid-media",
|
|
@@ -22402,7 +22404,7 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
22402
22404
|
_properties$features = properties.features,
|
|
22403
22405
|
features = _properties$features === void 0 ? [] : _properties$features,
|
|
22404
22406
|
src = properties.backgroundImage.src;
|
|
22405
|
-
var baseClasses = "grid grid-cols-12 gap-x-4 items-center grid-flow-row-dense";
|
|
22407
|
+
var baseClasses = "grid grid-cols-12 gap-x-4 gap-y-6 items-center grid-flow-row-dense";
|
|
22406
22408
|
var progressRef = useRef(null);
|
|
22407
22409
|
var progressBar = function progressBar() {
|
|
22408
22410
|
var width = 0;
|
|
@@ -22433,12 +22435,12 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
22433
22435
|
};
|
|
22434
22436
|
}, [selectedTabId]);
|
|
22435
22437
|
var imageBaseClasses = classnames("col-span-12 flex justify-center", {
|
|
22436
|
-
"
|
|
22437
|
-
"
|
|
22438
|
+
"lg:col-start-7": contentPosition === POSITIONS.LEFT.label,
|
|
22439
|
+
"lg:col-span-6": contentPosition === POSITIONS.RIGHT.label
|
|
22438
22440
|
});
|
|
22439
22441
|
var progressBarBaseClasses = classnames("col-span-12", {
|
|
22440
|
-
"
|
|
22441
|
-
"
|
|
22442
|
+
"lg:col-span-5": contentPosition === POSITIONS.LEFT.label,
|
|
22443
|
+
"lg:col-start-8": contentPosition === POSITIONS.RIGHT.label
|
|
22442
22444
|
});
|
|
22443
22445
|
return /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
22444
22446
|
className: className,
|
|
@@ -22464,8 +22466,8 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
22464
22466
|
id = _ref2.id;
|
|
22465
22467
|
return /*#__PURE__*/React__default.createElement(MotionWrapper, {
|
|
22466
22468
|
enableAnimation: enableAnimation,
|
|
22469
|
+
className: "relative cursor-pointer",
|
|
22467
22470
|
key: getUniqueKey(featureTitle, index),
|
|
22468
|
-
className: classnames("relative my-8 cursor-pointer items-center justify-center rounded-md text-center"),
|
|
22469
22471
|
onClick: function onClick() {
|
|
22470
22472
|
return handleTabClick(id);
|
|
22471
22473
|
}
|