@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.esm.js
CHANGED
|
@@ -37993,7 +37993,10 @@ var Card = function Card(_ref) {
|
|
|
37993
37993
|
borderRadius: borderRadius,
|
|
37994
37994
|
padding: padding,
|
|
37995
37995
|
as: headerAs
|
|
37996
|
-
}),
|
|
37996
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
37997
|
+
direction: "row",
|
|
37998
|
+
childGap: "0"
|
|
37999
|
+
}, Image && !imgSrc && /*#__PURE__*/React.createElement(Box, {
|
|
37997
38000
|
minHeight: imgHeight,
|
|
37998
38001
|
padding: "0",
|
|
37999
38002
|
background: themeValues.imageBackgroundColor
|
|
@@ -38010,12 +38013,14 @@ var Card = function Card(_ref) {
|
|
|
38010
38013
|
backgroundColor: themeValues.imageBackgroundColor,
|
|
38011
38014
|
src: imgSrc,
|
|
38012
38015
|
alt: imgAltText
|
|
38013
|
-
}),
|
|
38016
|
+
}), /*#__PURE__*/React.createElement(Box, {
|
|
38017
|
+
padding: "0"
|
|
38018
|
+
}, text && /*#__PURE__*/React.createElement(CardText$1, {
|
|
38014
38019
|
padding: padding,
|
|
38015
38020
|
titleText: titleText,
|
|
38016
38021
|
text: text,
|
|
38017
38022
|
titleVariant: titleVariant
|
|
38018
|
-
}), children)));
|
|
38023
|
+
}), children)))));
|
|
38019
38024
|
};
|
|
38020
38025
|
|
|
38021
38026
|
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$x);
|