@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.cjs.js
CHANGED
|
@@ -22121,7 +22121,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22121
22121
|
videoUrl = _properties$media.videoUrl,
|
|
22122
22122
|
autoPlay = _properties$media.autoPlay,
|
|
22123
22123
|
src = properties.backgroundImage.src;
|
|
22124
|
-
var baseClasses = "grid grid-cols-12 gap-
|
|
22124
|
+
var baseClasses = "grid grid-cols-12 gap-6";
|
|
22125
22125
|
var gridClasses = function gridClasses(index) {
|
|
22126
22126
|
return classnames__default["default"]("flex flex-col items-center justify-start", {
|
|
22127
22127
|
"col-span-12 sm:col-span-6 lg:col-span-4": !ramda.isEmpty(features),
|
|
@@ -22139,7 +22139,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22139
22139
|
design: design.body,
|
|
22140
22140
|
nestedClassName: baseClasses
|
|
22141
22141
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22142
|
-
className: "col-span-12
|
|
22142
|
+
className: "col-span-12"
|
|
22143
22143
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
22144
22144
|
isTitle: true,
|
|
22145
22145
|
component: "h3",
|
|
@@ -22148,12 +22148,14 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22148
22148
|
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
22149
22149
|
id: "feature-with-grid-description",
|
|
22150
22150
|
style: design.description
|
|
22151
|
-
}, otherProps), description), /*#__PURE__*/React__default["default"].createElement(
|
|
22151
|
+
}, otherProps), description)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22152
|
+
className: "col-span-12 sm:col-span-8 sm:col-start-3 lg:col-span-6 lg:col-start-4"
|
|
22153
|
+
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
22152
22154
|
autoPlay: autoPlay,
|
|
22153
22155
|
image: image,
|
|
22154
22156
|
isEmbedded: isEmbedded,
|
|
22155
22157
|
videoUrl: videoUrl,
|
|
22156
|
-
className: "
|
|
22158
|
+
className: "mx-auto",
|
|
22157
22159
|
design: design.media,
|
|
22158
22160
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22159
22161
|
id: "feature-with-grid-media",
|
|
@@ -22439,7 +22441,7 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
22439
22441
|
_properties$features = properties.features,
|
|
22440
22442
|
features = _properties$features === void 0 ? [] : _properties$features,
|
|
22441
22443
|
src = properties.backgroundImage.src;
|
|
22442
|
-
var baseClasses = "grid grid-cols-12 gap-x-4 items-center grid-flow-row-dense";
|
|
22444
|
+
var baseClasses = "grid grid-cols-12 gap-x-4 gap-y-6 items-center grid-flow-row-dense";
|
|
22443
22445
|
var progressRef = React.useRef(null);
|
|
22444
22446
|
var progressBar = function progressBar() {
|
|
22445
22447
|
var width = 0;
|
|
@@ -22470,12 +22472,12 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
22470
22472
|
};
|
|
22471
22473
|
}, [selectedTabId]);
|
|
22472
22474
|
var imageBaseClasses = classnames__default["default"]("col-span-12 flex justify-center", {
|
|
22473
|
-
"
|
|
22474
|
-
"
|
|
22475
|
+
"lg:col-start-7": contentPosition === POSITIONS.LEFT.label,
|
|
22476
|
+
"lg:col-span-6": contentPosition === POSITIONS.RIGHT.label
|
|
22475
22477
|
});
|
|
22476
22478
|
var progressBarBaseClasses = classnames__default["default"]("col-span-12", {
|
|
22477
|
-
"
|
|
22478
|
-
"
|
|
22479
|
+
"lg:col-span-5": contentPosition === POSITIONS.LEFT.label,
|
|
22480
|
+
"lg:col-start-8": contentPosition === POSITIONS.RIGHT.label
|
|
22479
22481
|
});
|
|
22480
22482
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
22481
22483
|
className: className,
|
|
@@ -22501,8 +22503,8 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
22501
22503
|
id = _ref2.id;
|
|
22502
22504
|
return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
22503
22505
|
enableAnimation: enableAnimation,
|
|
22506
|
+
className: "relative cursor-pointer",
|
|
22504
22507
|
key: getUniqueKey(featureTitle, index),
|
|
22505
|
-
className: classnames__default["default"]("relative my-8 cursor-pointer items-center justify-center rounded-md text-center"),
|
|
22506
22508
|
onClick: function onClick() {
|
|
22507
22509
|
return handleTabClick(id);
|
|
22508
22510
|
}
|