@thecb/components 7.13.4-beta.6 → 7.13.4-beta.7

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
@@ -37969,8 +37969,6 @@ var Card = function Card(_ref) {
37969
37969
  width = _ref$width === void 0 ? "276px" : _ref$width,
37970
37970
  _ref$direction = _ref.direction,
37971
37971
  direction = _ref$direction === void 0 ? "column" : _ref$direction,
37972
- _ref$boxStyles = _ref.boxStyles,
37973
- boxStyles = _ref$boxStyles === void 0 ? "" : _ref$boxStyles,
37974
37972
  children = _ref.children;
37975
37973
  var hasImage = Image || imgSrc;
37976
37974
  var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
@@ -38001,8 +37999,7 @@ var Card = function Card(_ref) {
38001
37999
  }), Image && !imgSrc && /*#__PURE__*/React.createElement(Box, {
38002
38000
  minHeight: imgHeight,
38003
38001
  padding: "0",
38004
- background: themeValues.imageBackgroundColor,
38005
- extraStyles: boxStyles
38002
+ background: themeValues.imageBackgroundColor
38006
38003
  }, /*#__PURE__*/React.createElement(Cover, {
38007
38004
  minHeight: imgHeight,
38008
38005
  singleChild: true
@@ -38016,7 +38013,9 @@ var Card = function Card(_ref) {
38016
38013
  backgroundColor: themeValues.imageBackgroundColor,
38017
38014
  src: imgSrc,
38018
38015
  alt: imgAltText
38019
- }), /*#__PURE__*/React.createElement(Box, null, text && /*#__PURE__*/React.createElement(CardText$1, {
38016
+ }), /*#__PURE__*/React.createElement(Box, {
38017
+ padding: "0"
38018
+ }, text && /*#__PURE__*/React.createElement(CardText$1, {
38020
38019
  padding: padding,
38021
38020
  titleText: titleText,
38022
38021
  text: text,