@thecb/components 6.3.1-beta.4 → 6.3.1-beta.5

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
@@ -35211,7 +35211,7 @@ var Card = function Card(_ref) {
35211
35211
  borderRadius = _ref$borderRadius === void 0 ? "4px" : _ref$borderRadius,
35212
35212
  _ref$padding = _ref.padding,
35213
35213
  padding = _ref$padding === void 0 ? "24px" : _ref$padding;
35214
- var numberOfChildren = children.length + (imgSrc ? 1 : 0) + (text ? 1 : 0);
35214
+ var numberOfChildren = children.length + (imgSrc ? 1 : 0) + (text ? 1 : 0) + (headerText ? 1 : 0);
35215
35215
  return /*#__PURE__*/React.createElement(BoxWithShadow$1, {
35216
35216
  variant: "baseStandard",
35217
35217
  background: themeValues.backgroundColor,