@thecb/components 7.13.4-beta.8 → 7.13.4-beta.9

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.d.ts CHANGED
@@ -54,8 +54,6 @@ interface CardProps {
54
54
  borderRadius?: string;
55
55
  width?: string;
56
56
  padding?: string;
57
- boxStyles?: string;
58
- direction?: "column" | "row";
59
57
  }
60
58
 
61
59
  declare const Card: React.FC<Expand<CardProps> &
package/dist/index.esm.js CHANGED
@@ -37967,10 +37967,6 @@ var Card = function Card(_ref) {
37967
37967
  themeValues = _ref.themeValues,
37968
37968
  _ref$width = _ref.width,
37969
37969
  width = _ref$width === void 0 ? "276px" : _ref$width,
37970
- _ref$direction = _ref.direction,
37971
- direction = _ref$direction === void 0 ? "column" : _ref$direction,
37972
- _ref$boxStyles = _ref.boxStyles,
37973
- boxStyles = _ref$boxStyles === void 0 ? "" : _ref$boxStyles,
37974
37970
  children = _ref.children;
37975
37971
  var hasImage = Image || imgSrc;
37976
37972
  var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
@@ -37989,7 +37985,7 @@ var Card = function Card(_ref) {
37989
37985
  fullHeight: true,
37990
37986
  childGap: "0",
37991
37987
  bottomItem: numberOfChildren,
37992
- direction: direction
37988
+ direction: "row"
37993
37989
  }, headerText && /*#__PURE__*/React.createElement(CardHeader, {
37994
37990
  headerText: headerText,
37995
37991
  headerColor: themeValues.headerColor,
@@ -38016,7 +38012,7 @@ var Card = function Card(_ref) {
38016
38012
  src: imgSrc,
38017
38013
  alt: imgAltText
38018
38014
  }), /*#__PURE__*/React.createElement(Box, {
38019
- extraStyles: boxStyles
38015
+ padding: "0"
38020
38016
  }, text && /*#__PURE__*/React.createElement(CardText$1, {
38021
38017
  padding: padding,
38022
38018
  titleText: titleText,