@thecb/components 5.6.1 → 5.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "5.6.1",
3
+ "version": "5.6.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -5,7 +5,7 @@ export { default as BoxWithShadow } from "./box-with-shadow";
5
5
  export { default as Breadcrumb } from "./breadcrumb";
6
6
  export { default as ButtonWithAction } from "./button-with-action";
7
7
  export { default as ButtonWithLink } from "./button-with-link";
8
- export { default as cardRegistry } from "./card";
8
+ export { default as cardRegistry } from "./welcome-card";
9
9
  export { default as Checkbox } from "./checkbox";
10
10
  export { default as CheckboxList } from "./checkbox-list";
11
11
  export { default as CountryDropdown } from "./country-dropdown";
@@ -105,7 +105,10 @@ const Card = ({
105
105
  </Box>
106
106
  </Cover>
107
107
  </Box>
108
- <Box padding="0.5rem 1rem 1rem">
108
+ <Box
109
+ padding="0.5rem 1rem 1rem"
110
+ extraStyles={`display: flex; justify-content: center;`}
111
+ >
109
112
  <ButtonWithAction
110
113
  variant="smallPrimary"
111
114
  text={buttonText}
@@ -50,6 +50,7 @@ const WorkflowTile = ({
50
50
  minWidth={"100%"}
51
51
  url={`/service/${slug}`}
52
52
  extraStyles={`width: 100%;`}
53
+ linkExtraStyles={`justify-content: center;`}
53
54
  />
54
55
  </Box>
55
56
  </Stack>