@thecb/components 7.13.4-beta.8 → 7.13.4-beta.9
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 +2 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.esm.js +2 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +3 -5
- package/src/components/atoms/card/index.d.ts +0 -2
- package/src/components/atoms/cardAlt/CardAlt.js +0 -113
- package/src/components/atoms/cardAlt/index.js +0 -3
package/dist/index.cjs.js
CHANGED
|
@@ -37975,10 +37975,6 @@ var Card = function Card(_ref) {
|
|
|
37975
37975
|
themeValues = _ref.themeValues,
|
|
37976
37976
|
_ref$width = _ref.width,
|
|
37977
37977
|
width = _ref$width === void 0 ? "276px" : _ref$width,
|
|
37978
|
-
_ref$direction = _ref.direction,
|
|
37979
|
-
direction = _ref$direction === void 0 ? "column" : _ref$direction,
|
|
37980
|
-
_ref$boxStyles = _ref.boxStyles,
|
|
37981
|
-
boxStyles = _ref$boxStyles === void 0 ? "" : _ref$boxStyles,
|
|
37982
37978
|
children = _ref.children;
|
|
37983
37979
|
var hasImage = Image || imgSrc;
|
|
37984
37980
|
var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
|
|
@@ -37997,7 +37993,7 @@ var Card = function Card(_ref) {
|
|
|
37997
37993
|
fullHeight: true,
|
|
37998
37994
|
childGap: "0",
|
|
37999
37995
|
bottomItem: numberOfChildren,
|
|
38000
|
-
direction:
|
|
37996
|
+
direction: "row"
|
|
38001
37997
|
}, headerText && /*#__PURE__*/React__default.createElement(CardHeader, {
|
|
38002
37998
|
headerText: headerText,
|
|
38003
37999
|
headerColor: themeValues.headerColor,
|
|
@@ -38024,7 +38020,7 @@ var Card = function Card(_ref) {
|
|
|
38024
38020
|
src: imgSrc,
|
|
38025
38021
|
alt: imgAltText
|
|
38026
38022
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
38027
|
-
|
|
38023
|
+
padding: "0"
|
|
38028
38024
|
}, text && /*#__PURE__*/React__default.createElement(CardText$1, {
|
|
38029
38025
|
padding: padding,
|
|
38030
38026
|
titleText: titleText,
|