@thecb/components 7.13.3-beta.13 → 7.13.3-beta.15
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 +9 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +12 -10
package/dist/index.cjs.js
CHANGED
|
@@ -38018,7 +38018,9 @@ var Card = function Card(_ref) {
|
|
|
38018
38018
|
borderRadius: borderRadius,
|
|
38019
38019
|
padding: padding,
|
|
38020
38020
|
as: headerAs
|
|
38021
|
-
}), /*#__PURE__*/React__default.createElement(Stack,
|
|
38021
|
+
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
38022
|
+
direction: "row"
|
|
38023
|
+
}, Image && !imgSrc && /*#__PURE__*/React__default.createElement(Box, {
|
|
38022
38024
|
minHeight: imgHeight,
|
|
38023
38025
|
padding: "0",
|
|
38024
38026
|
background: themeValues.imageBackgroundColor
|
|
@@ -38035,12 +38037,16 @@ var Card = function Card(_ref) {
|
|
|
38035
38037
|
backgroundColor: themeValues.imageBackgroundColor,
|
|
38036
38038
|
src: imgSrc,
|
|
38037
38039
|
alt: imgAltText
|
|
38038
|
-
}),
|
|
38040
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
38041
|
+
style: {
|
|
38042
|
+
flexBasis: "100%"
|
|
38043
|
+
}
|
|
38044
|
+
}, text && /*#__PURE__*/React__default.createElement(CardText$1, {
|
|
38039
38045
|
padding: padding,
|
|
38040
38046
|
titleText: titleText,
|
|
38041
38047
|
text: text,
|
|
38042
38048
|
titleVariant: titleVariant
|
|
38043
|
-
}), children))));
|
|
38049
|
+
}), children)))));
|
|
38044
38050
|
};
|
|
38045
38051
|
|
|
38046
38052
|
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$x);
|