@thecb/components 7.13.4-beta.0 → 7.13.4-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.d.ts CHANGED
@@ -54,6 +54,8 @@ interface CardProps {
54
54
  borderRadius?: string;
55
55
  width?: string;
56
56
  padding?: string;
57
+ stackStyles?: string;
58
+ coverStylse?: string;
57
59
  }
58
60
 
59
61
  declare const Card: React.FC<Expand<CardProps> &
package/dist/index.esm.js CHANGED
@@ -37967,6 +37967,10 @@ 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
37974
  children = _ref.children;
37971
37975
  var hasImage = Image || imgSrc;
37972
37976
  var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
@@ -37980,11 +37984,13 @@ var Card = function Card(_ref) {
37980
37984
  extraStyles: extraStyles
37981
37985
  }, /*#__PURE__*/React.createElement(Cover, {
37982
37986
  singleChild: true,
37983
- fillCenter: true
37987
+ fillCenter: true,
37988
+ extraStyles: coverStyles
37984
37989
  }, /*#__PURE__*/React.createElement(Stack, {
37985
37990
  fullHeight: true,
37986
37991
  childGap: "0",
37987
- bottomItem: numberOfChildren
37992
+ bottomItem: numberOfChildren,
37993
+ extraStyles: stackStyles
37988
37994
  }, headerText && /*#__PURE__*/React.createElement(CardHeader, {
37989
37995
  headerText: headerText,
37990
37996
  headerColor: themeValues.headerColor,