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

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
@@ -37376,7 +37376,7 @@ var Banner = function Banner(_ref) {
37376
37376
  var themeValues = _ref.themeValues,
37377
37377
  heading = _ref.heading,
37378
37378
  subHeading = _ref.subHeading,
37379
- image = _ref.image,
37379
+ Image = _ref.image,
37380
37380
  _ref$padding = _ref.padding,
37381
37381
  padding = _ref$padding === void 0 ? "1.5rem, 0.5rem" : _ref$padding,
37382
37382
  _ref$mobilePadding = _ref.mobilePadding,
@@ -37396,7 +37396,7 @@ var Banner = function Banner(_ref) {
37396
37396
  return /*#__PURE__*/React__default.createElement(BoxWithShadow$1, {
37397
37397
  variant: "baseStandard",
37398
37398
  borderRadius: "4px",
37399
- backgroundColor: themeValues.backgroundColor,
37399
+ background: themeValues.backgroundColor,
37400
37400
  minWidth: minWidth,
37401
37401
  minHeight: minHeight,
37402
37402
  padding: isMobile ? mobilePadding : padding
@@ -37412,7 +37412,7 @@ var Banner = function Banner(_ref) {
37412
37412
  weight: FONT_WEIGHT_SEMIBOLD
37413
37413
  }, heading), /*#__PURE__*/React__default.createElement(Paragraph$1, null, subHeading)), /*#__PURE__*/React__default.createElement(Box, {
37414
37414
  padding: "0"
37415
- }, image)));
37415
+ }, /*#__PURE__*/React__default.createElement(Image, null))));
37416
37416
  };
37417
37417
 
37418
37418
  var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$z);