@thecb/components 7.13.4-beta.7 → 7.13.4-beta.8
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
|
@@ -37977,6 +37977,8 @@ var Card = function Card(_ref) {
|
|
|
37977
37977
|
width = _ref$width === void 0 ? "276px" : _ref$width,
|
|
37978
37978
|
_ref$direction = _ref.direction,
|
|
37979
37979
|
direction = _ref$direction === void 0 ? "column" : _ref$direction,
|
|
37980
|
+
_ref$boxStyles = _ref.boxStyles,
|
|
37981
|
+
boxStyles = _ref$boxStyles === void 0 ? "" : _ref$boxStyles,
|
|
37980
37982
|
children = _ref.children;
|
|
37981
37983
|
var hasImage = Image || imgSrc;
|
|
37982
37984
|
var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
|
|
@@ -38022,7 +38024,7 @@ var Card = function Card(_ref) {
|
|
|
38022
38024
|
src: imgSrc,
|
|
38023
38025
|
alt: imgAltText
|
|
38024
38026
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
38025
|
-
|
|
38027
|
+
extraStyles: boxStyles
|
|
38026
38028
|
}, text && /*#__PURE__*/React__default.createElement(CardText$1, {
|
|
38027
38029
|
padding: padding,
|
|
38028
38030
|
titleText: titleText,
|