@thecb/components 7.2.0-beta.3 → 7.2.0-beta.4
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
CHANGED
|
@@ -37378,9 +37378,9 @@ var Banner = function Banner(_ref) {
|
|
|
37378
37378
|
subHeading = _ref.subHeading,
|
|
37379
37379
|
Image = _ref.image,
|
|
37380
37380
|
_ref$padding = _ref.padding,
|
|
37381
|
-
padding = _ref$padding === void 0 ? "
|
|
37381
|
+
padding = _ref$padding === void 0 ? "0.5rem 1.5rem" : _ref$padding,
|
|
37382
37382
|
_ref$mobilePadding = _ref.mobilePadding,
|
|
37383
|
-
mobilePadding = _ref$mobilePadding === void 0 ? "
|
|
37383
|
+
mobilePadding = _ref$mobilePadding === void 0 ? "0.5rem 1rem" : _ref$mobilePadding,
|
|
37384
37384
|
_ref$minWidth = _ref.minWidth,
|
|
37385
37385
|
minWidth = _ref$minWidth === void 0 ? "100%" : _ref$minWidth,
|
|
37386
37386
|
_ref$minHeight = _ref.minHeight,
|
|
@@ -37404,14 +37404,18 @@ var Banner = function Banner(_ref) {
|
|
|
37404
37404
|
childGap: isMobile ? mobileContentSpacing : contentSpacing,
|
|
37405
37405
|
justify: "center",
|
|
37406
37406
|
align: "center"
|
|
37407
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
37408
|
+
padding: "0",
|
|
37409
|
+
maxWidth: isMobile && "54%"
|
|
37407
37410
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
37408
37411
|
childGap: "0"
|
|
37409
37412
|
}, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
37410
37413
|
variant: "small",
|
|
37411
37414
|
as: "h2",
|
|
37412
37415
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
37413
|
-
}, heading), /*#__PURE__*/React__default.createElement(Paragraph$1, null, subHeading)), /*#__PURE__*/React__default.createElement(Box, {
|
|
37414
|
-
padding: "0"
|
|
37416
|
+
}, heading), /*#__PURE__*/React__default.createElement(Paragraph$1, null, subHeading))), /*#__PURE__*/React__default.createElement(Box, {
|
|
37417
|
+
padding: "0",
|
|
37418
|
+
extraStyles: isMobile && "> svg { width: 176px; }"
|
|
37415
37419
|
}, /*#__PURE__*/React__default.createElement(Image, null))));
|
|
37416
37420
|
};
|
|
37417
37421
|
|