@thecb/components 7.13.4-beta.7 → 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 +1 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.esm.js +1 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +2 -3
- 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,8 +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
37978
|
children = _ref.children;
|
|
37981
37979
|
var hasImage = Image || imgSrc;
|
|
37982
37980
|
var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
|
|
@@ -37995,7 +37993,7 @@ var Card = function Card(_ref) {
|
|
|
37995
37993
|
fullHeight: true,
|
|
37996
37994
|
childGap: "0",
|
|
37997
37995
|
bottomItem: numberOfChildren,
|
|
37998
|
-
direction:
|
|
37996
|
+
direction: "row"
|
|
37999
37997
|
}, headerText && /*#__PURE__*/React__default.createElement(CardHeader, {
|
|
38000
37998
|
headerText: headerText,
|
|
38001
37999
|
headerColor: themeValues.headerColor,
|