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

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.esm.js CHANGED
@@ -37368,11 +37368,11 @@ var Banner = function Banner(_ref) {
37368
37368
  var themeValues = _ref.themeValues,
37369
37369
  heading = _ref.heading,
37370
37370
  subHeading = _ref.subHeading,
37371
- image = _ref.image,
37371
+ Image = _ref.image,
37372
37372
  _ref$padding = _ref.padding,
37373
- padding = _ref$padding === void 0 ? "1.5rem, 0.5rem" : _ref$padding,
37373
+ padding = _ref$padding === void 0 ? "1.5rem 0.5rem" : _ref$padding,
37374
37374
  _ref$mobilePadding = _ref.mobilePadding,
37375
- mobilePadding = _ref$mobilePadding === void 0 ? "1rem, 0.5rem" : _ref$mobilePadding,
37375
+ mobilePadding = _ref$mobilePadding === void 0 ? "1rem 0.5rem" : _ref$mobilePadding,
37376
37376
  _ref$minWidth = _ref.minWidth,
37377
37377
  minWidth = _ref$minWidth === void 0 ? "100%" : _ref$minWidth,
37378
37378
  _ref$minHeight = _ref.minHeight,
@@ -37388,7 +37388,7 @@ var Banner = function Banner(_ref) {
37388
37388
  return /*#__PURE__*/React.createElement(BoxWithShadow$1, {
37389
37389
  variant: "baseStandard",
37390
37390
  borderRadius: "4px",
37391
- backgroundColor: themeValues.backgroundColor,
37391
+ background: themeValues.backgroundColor,
37392
37392
  minWidth: minWidth,
37393
37393
  minHeight: minHeight,
37394
37394
  padding: isMobile ? mobilePadding : padding
@@ -37404,7 +37404,7 @@ var Banner = function Banner(_ref) {
37404
37404
  weight: FONT_WEIGHT_SEMIBOLD
37405
37405
  }, heading), /*#__PURE__*/React.createElement(Paragraph$1, null, subHeading)), /*#__PURE__*/React.createElement(Box, {
37406
37406
  padding: "0"
37407
- }, image)));
37407
+ }, /*#__PURE__*/React.createElement(Image, null))));
37408
37408
  };
37409
37409
 
37410
37410
  var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$z);