@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.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -37967,8 +37967,6 @@ var Card = function Card(_ref) {
|
|
|
37967
37967
|
themeValues = _ref.themeValues,
|
|
37968
37968
|
_ref$width = _ref.width,
|
|
37969
37969
|
width = _ref$width === void 0 ? "276px" : _ref$width,
|
|
37970
|
-
_ref$direction = _ref.direction,
|
|
37971
|
-
direction = _ref$direction === void 0 ? "column" : _ref$direction,
|
|
37972
37970
|
children = _ref.children;
|
|
37973
37971
|
var hasImage = Image || imgSrc;
|
|
37974
37972
|
var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
|
|
@@ -37987,7 +37985,7 @@ var Card = function Card(_ref) {
|
|
|
37987
37985
|
fullHeight: true,
|
|
37988
37986
|
childGap: "0",
|
|
37989
37987
|
bottomItem: numberOfChildren,
|
|
37990
|
-
direction:
|
|
37988
|
+
direction: "row"
|
|
37991
37989
|
}, headerText && /*#__PURE__*/React.createElement(CardHeader, {
|
|
37992
37990
|
headerText: headerText,
|
|
37993
37991
|
headerColor: themeValues.headerColor,
|