@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.esm.js
CHANGED
|
@@ -37969,6 +37969,8 @@ var Card = function Card(_ref) {
|
|
|
37969
37969
|
width = _ref$width === void 0 ? "276px" : _ref$width,
|
|
37970
37970
|
_ref$direction = _ref.direction,
|
|
37971
37971
|
direction = _ref$direction === void 0 ? "column" : _ref$direction,
|
|
37972
|
+
_ref$boxStyles = _ref.boxStyles,
|
|
37973
|
+
boxStyles = _ref$boxStyles === void 0 ? "" : _ref$boxStyles,
|
|
37972
37974
|
children = _ref.children;
|
|
37973
37975
|
var hasImage = Image || imgSrc;
|
|
37974
37976
|
var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
|
|
@@ -38014,7 +38016,7 @@ var Card = function Card(_ref) {
|
|
|
38014
38016
|
src: imgSrc,
|
|
38015
38017
|
alt: imgAltText
|
|
38016
38018
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
38017
|
-
|
|
38019
|
+
extraStyles: boxStyles
|
|
38018
38020
|
}, text && /*#__PURE__*/React.createElement(CardText$1, {
|
|
38019
38021
|
padding: padding,
|
|
38020
38022
|
titleText: titleText,
|