@thecb/components 7.12.2-beta.12 → 7.12.2-beta.13

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.12.2-beta.12",
3
+ "version": "7.12.2-beta.13",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -23,7 +23,8 @@ const Alert = ({
23
23
  enableBoxShadow = false,
24
24
  enableSmallText = false,
25
25
  innerContentPadding = "1rem",
26
- iconPadding = "0 0 0 1rem"
26
+ iconPadding = "0 0 0 1rem",
27
+ contentFullHeight = false
27
28
  }) => {
28
29
  const Icon = AlertIcons[variant];
29
30
  let contentPadding = maxContentWidth
@@ -40,7 +41,7 @@ const Alert = ({
40
41
  </Cover>
41
42
  </Box>
42
43
  <Box padding="0">
43
- <Sidebar sidebarOnRight width="24px" childGap="0rem">
44
+ <Sidebar sidebarOnRight width="24px" childGap="0rem" fullHeight={contentFullHeight}>
44
45
  <Box padding={contentPadding}>
45
46
  <Cluster justify="flex-start" align="center">
46
47
  {textOverride ? (
@@ -152,6 +152,7 @@ const ErrorDetails = () => (
152
152
  innerContentPadding="0 0.75rem"
153
153
  extraStyles={`min-height: 67px; height: 67px;`}
154
154
  iconPadding="0 0 0 0.25rem"
155
+ contentFullHeight={true}
155
156
  />
156
157
  </Box>
157
158
  );