@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.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -37967,10 +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
|
-
_ref$boxStyles = _ref.boxStyles,
|
|
37973
|
-
boxStyles = _ref$boxStyles === void 0 ? "" : _ref$boxStyles,
|
|
37974
37970
|
children = _ref.children;
|
|
37975
37971
|
var hasImage = Image || imgSrc;
|
|
37976
37972
|
var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
|
|
@@ -37989,7 +37985,7 @@ var Card = function Card(_ref) {
|
|
|
37989
37985
|
fullHeight: true,
|
|
37990
37986
|
childGap: "0",
|
|
37991
37987
|
bottomItem: numberOfChildren,
|
|
37992
|
-
direction:
|
|
37988
|
+
direction: "row"
|
|
37993
37989
|
}, headerText && /*#__PURE__*/React.createElement(CardHeader, {
|
|
37994
37990
|
headerText: headerText,
|
|
37995
37991
|
headerColor: themeValues.headerColor,
|
|
@@ -38016,7 +38012,7 @@ var Card = function Card(_ref) {
|
|
|
38016
38012
|
src: imgSrc,
|
|
38017
38013
|
alt: imgAltText
|
|
38018
38014
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
38019
|
-
|
|
38015
|
+
padding: "0"
|
|
38020
38016
|
}, text && /*#__PURE__*/React.createElement(CardText$1, {
|
|
38021
38017
|
padding: padding,
|
|
38022
38018
|
titleText: titleText,
|