@thecb/components 7.13.4-beta.4 → 7.13.4-beta.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.13.4-beta.4",
3
+ "version": "7.13.4-beta.6",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -32,8 +32,7 @@ const Card = ({
32
32
  titleVariant = "small",
33
33
  themeValues,
34
34
  width = "276px",
35
- stackStyles = "",
36
- coverStyles = "",
35
+ direction = "column",
37
36
  boxStyles = "",
38
37
  children
39
38
  }) => {
@@ -54,12 +53,12 @@ const Card = ({
54
53
  minWidth={width}
55
54
  extraStyles={extraStyles}
56
55
  >
57
- <Cover singleChild fillCenter extraStyles={coverStyles}>
56
+ <Cover singleChild fillCenter>
58
57
  <Stack
59
58
  fullHeight
60
59
  childGap="0"
61
60
  bottomItem={numberOfChildren}
62
- extraStyles={stackStyles}
61
+ direction={direction}
63
62
  >
64
63
  {headerText && (
65
64
  <CardHeader
@@ -27,8 +27,8 @@ export interface CardProps {
27
27
  borderRadius?: string;
28
28
  width?: string;
29
29
  padding?: string;
30
- stackStyles?: string;
31
- coverStyles?: string;
30
+ boxStyles?: string;
31
+ direction?: "column" | "row";
32
32
  }
33
33
 
34
34
  export const Card: React.FC<Expand<CardProps> &