@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.esm.js
CHANGED
|
@@ -38010,7 +38010,9 @@ var Card = function Card(_ref) {
|
|
|
38010
38010
|
borderRadius: borderRadius,
|
|
38011
38011
|
padding: padding,
|
|
38012
38012
|
as: headerAs
|
|
38013
|
-
}), /*#__PURE__*/React.createElement(Stack,
|
|
38013
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
38014
|
+
direction: "row"
|
|
38015
|
+
}, Image && !imgSrc && /*#__PURE__*/React.createElement(Box, {
|
|
38014
38016
|
minHeight: imgHeight,
|
|
38015
38017
|
padding: "0",
|
|
38016
38018
|
background: themeValues.imageBackgroundColor
|
|
@@ -38027,12 +38029,16 @@ var Card = function Card(_ref) {
|
|
|
38027
38029
|
backgroundColor: themeValues.imageBackgroundColor,
|
|
38028
38030
|
src: imgSrc,
|
|
38029
38031
|
alt: imgAltText
|
|
38030
|
-
}),
|
|
38032
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
38033
|
+
style: {
|
|
38034
|
+
flexBasis: "100%"
|
|
38035
|
+
}
|
|
38036
|
+
}, text && /*#__PURE__*/React.createElement(CardText$1, {
|
|
38031
38037
|
padding: padding,
|
|
38032
38038
|
titleText: titleText,
|
|
38033
38039
|
text: text,
|
|
38034
38040
|
titleVariant: titleVariant
|
|
38035
|
-
}), children))));
|
|
38041
|
+
}), children)))));
|
|
38036
38042
|
};
|
|
38037
38043
|
|
|
38038
38044
|
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$x);
|