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

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,8 @@ interface CardProps {
54
54
  borderRadius?: string;
55
55
  width?: string;
56
56
  padding?: string;
57
- stackStyles?: string;
58
- coverStyles?: string;
57
+ boxStyles?: string;
58
+ direction?: "column" | "row";
59
59
  }
60
60
 
61
61
  declare const Card: React.FC<Expand<CardProps> &
package/dist/index.esm.js CHANGED
@@ -37967,10 +37967,8 @@ 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$stackStyles = _ref.stackStyles,
37971
- stackStyles = _ref$stackStyles === void 0 ? "" : _ref$stackStyles,
37972
- _ref$coverStyles = _ref.coverStyles,
37973
- coverStyles = _ref$coverStyles === void 0 ? "" : _ref$coverStyles,
37970
+ _ref$direction = _ref.direction,
37971
+ direction = _ref$direction === void 0 ? "column" : _ref$direction,
37974
37972
  _ref$boxStyles = _ref.boxStyles,
37975
37973
  boxStyles = _ref$boxStyles === void 0 ? "" : _ref$boxStyles,
37976
37974
  children = _ref.children;
@@ -37986,13 +37984,12 @@ var Card = function Card(_ref) {
37986
37984
  extraStyles: extraStyles
37987
37985
  }, /*#__PURE__*/React.createElement(Cover, {
37988
37986
  singleChild: true,
37989
- fillCenter: true,
37990
- extraStyles: coverStyles
37987
+ fillCenter: true
37991
37988
  }, /*#__PURE__*/React.createElement(Stack, {
37992
37989
  fullHeight: true,
37993
37990
  childGap: "0",
37994
37991
  bottomItem: numberOfChildren,
37995
- extraStyles: stackStyles
37992
+ direction: direction
37996
37993
  }, headerText && /*#__PURE__*/React.createElement(CardHeader, {
37997
37994
  headerText: headerText,
37998
37995
  headerColor: themeValues.headerColor,