@thecb/components 7.2.0-beta.3 → 7.2.0-beta.5

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 ? "1.5rem 0.5rem" : _ref$padding,
37381
+ padding = _ref$padding === void 0 ? "0.5rem 1.5rem" : _ref$padding,
37382
37382
  _ref$mobilePadding = _ref.mobilePadding,
37383
- mobilePadding = _ref$mobilePadding === void 0 ? "1rem 0.5rem" : _ref$mobilePadding,
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,
@@ -37403,15 +37403,20 @@ var Banner = function Banner(_ref) {
37403
37403
  }, /*#__PURE__*/React__default.createElement(Cluster, {
37404
37404
  childGap: isMobile ? mobileContentSpacing : contentSpacing,
37405
37405
  justify: "center",
37406
- align: "center"
37406
+ align: "center",
37407
+ nowrap: true
37408
+ }, /*#__PURE__*/React__default.createElement(Box, {
37409
+ padding: "0",
37410
+ maxWidth: isMobile && "54%"
37407
37411
  }, /*#__PURE__*/React__default.createElement(Stack, {
37408
37412
  childGap: "0"
37409
37413
  }, /*#__PURE__*/React__default.createElement(Title$1, {
37410
37414
  variant: "small",
37411
37415
  as: "h2",
37412
37416
  weight: FONT_WEIGHT_SEMIBOLD
37413
- }, heading), /*#__PURE__*/React__default.createElement(Paragraph$1, null, subHeading)), /*#__PURE__*/React__default.createElement(Box, {
37414
- padding: "0"
37417
+ }, heading), /*#__PURE__*/React__default.createElement(Paragraph$1, null, subHeading))), /*#__PURE__*/React__default.createElement(Box, {
37418
+ padding: "0",
37419
+ extraStyles: isMobile && "> svg { width: 176px; }"
37415
37420
  }, /*#__PURE__*/React__default.createElement(Image, null))));
37416
37421
  };
37417
37422