@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.cjs.js CHANGED
@@ -35219,7 +35219,7 @@ var Card = function Card(_ref) {
35219
35219
  borderRadius = _ref$borderRadius === void 0 ? "4px" : _ref$borderRadius,
35220
35220
  _ref$padding = _ref.padding,
35221
35221
  padding = _ref$padding === void 0 ? "24px" : _ref$padding;
35222
- var numberOfChildren = children.length + (imgSrc ? 1 : 0) + (text ? 1 : 0);
35222
+ var numberOfChildren = children.length + (imgSrc ? 1 : 0) + (text ? 1 : 0) + (headerText ? 1 : 0);
35223
35223
  return /*#__PURE__*/React__default.createElement(BoxWithShadow$1, {
35224
35224
  variant: "baseStandard",
35225
35225
  background: themeValues.backgroundColor,