@thecb/components 11.2.11-beta.0 → 11.2.12

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": "11.2.11-beta.0",
3
+ "version": "11.2.12",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -9,6 +9,7 @@ import { noop } from "../../../util/general";
9
9
  const LinkCard = ({
10
10
  title = "Test Workflow",
11
11
  subtitle = "Link your benefit plan",
12
+ subtitlePadding = "0 0 40px",
12
13
  showLeft,
13
14
  leftContent,
14
15
  showRight,
@@ -19,6 +20,7 @@ const LinkCard = ({
19
20
  extraActiveStyles = "",
20
21
  themeValues,
21
22
  titleVariant = "h3",
23
+ titlePadding = "0",
22
24
  disabled = false
23
25
  }) => {
24
26
  const { isMobile } = useContext(ThemeContext);
@@ -51,7 +53,7 @@ const LinkCard = ({
51
53
  style={{ width: "100%" }}
52
54
  fullHeight
53
55
  >
54
- <Box padding={0} width="100%">
56
+ <Box padding={titlePadding} width="100%">
55
57
  <Styled.Title
56
58
  variant={titleVariant}
57
59
  theme={themeValues}
@@ -61,7 +63,7 @@ const LinkCard = ({
61
63
  {title}
62
64
  </Styled.Title>
63
65
  </Box>
64
- <Box padding={"0 0 0.5rem"} width="100%">
66
+ <Box padding={subtitlePadding} width="100%">
65
67
  <Styled.Subtitle
66
68
  variant="pS"
67
69
  theme={themeValues}