@thecb/components 7.13.4-beta.0 → 7.13.4-beta.10
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 +8 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +35 -31
- package/src/components/atoms/cardAlt/CardAlt.js +0 -113
- package/src/components/atoms/cardAlt/index.js +0 -3
package/dist/index.cjs.js
CHANGED
|
@@ -38001,7 +38001,10 @@ var Card = function Card(_ref) {
|
|
|
38001
38001
|
borderRadius: borderRadius,
|
|
38002
38002
|
padding: padding,
|
|
38003
38003
|
as: headerAs
|
|
38004
|
-
}),
|
|
38004
|
+
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
38005
|
+
direction: "row",
|
|
38006
|
+
childGap: "0"
|
|
38007
|
+
}, Image && !imgSrc && /*#__PURE__*/React__default.createElement(Box, {
|
|
38005
38008
|
minHeight: imgHeight,
|
|
38006
38009
|
padding: "0",
|
|
38007
38010
|
background: themeValues.imageBackgroundColor
|
|
@@ -38018,12 +38021,14 @@ var Card = function Card(_ref) {
|
|
|
38018
38021
|
backgroundColor: themeValues.imageBackgroundColor,
|
|
38019
38022
|
src: imgSrc,
|
|
38020
38023
|
alt: imgAltText
|
|
38021
|
-
}),
|
|
38024
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
38025
|
+
padding: "0"
|
|
38026
|
+
}, text && /*#__PURE__*/React__default.createElement(CardText$1, {
|
|
38022
38027
|
padding: padding,
|
|
38023
38028
|
titleText: titleText,
|
|
38024
38029
|
text: text,
|
|
38025
38030
|
titleVariant: titleVariant
|
|
38026
|
-
}), children)));
|
|
38031
|
+
}), children)))));
|
|
38027
38032
|
};
|
|
38028
38033
|
|
|
38029
38034
|
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$x);
|