@thecb/components 7.13.4-beta.1 → 7.13.4-beta.2
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 -82
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +9 -82
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +9 -2
- package/src/components/atoms/card/index.d.ts +2 -0
- package/src/components/atoms/index.js +0 -1
package/package.json
CHANGED
|
@@ -32,6 +32,8 @@ const Card = ({
|
|
|
32
32
|
titleVariant = "small",
|
|
33
33
|
themeValues,
|
|
34
34
|
width = "276px",
|
|
35
|
+
stackStyles = "",
|
|
36
|
+
coverStyles = "",
|
|
35
37
|
children
|
|
36
38
|
}) => {
|
|
37
39
|
const hasImage = Image || imgSrc;
|
|
@@ -51,8 +53,13 @@ const Card = ({
|
|
|
51
53
|
minWidth={width}
|
|
52
54
|
extraStyles={extraStyles}
|
|
53
55
|
>
|
|
54
|
-
<Cover singleChild fillCenter>
|
|
55
|
-
<Stack
|
|
56
|
+
<Cover singleChild fillCenter extraStyles={coverStyles}>
|
|
57
|
+
<Stack
|
|
58
|
+
fullHeight
|
|
59
|
+
childGap="0"
|
|
60
|
+
bottomItem={numberOfChildren}
|
|
61
|
+
extraStyles={stackStyles}
|
|
62
|
+
>
|
|
56
63
|
{headerText && (
|
|
57
64
|
<CardHeader
|
|
58
65
|
headerText={headerText}
|
|
@@ -45,7 +45,6 @@ export { default as Title } from "./title";
|
|
|
45
45
|
export { default as ToggleSwitch } from "./toggle-switch";
|
|
46
46
|
export { default as TypeaheadInput } from "./typeahead-input";
|
|
47
47
|
export { default as Card } from "./card";
|
|
48
|
-
export { default as CardAlt } from "./cardAlt";
|
|
49
48
|
export { default as NavTabs } from "./nav-tabs";
|
|
50
49
|
export { default as LoadingLine } from "./loading-line";
|
|
51
50
|
export * from "./table";
|