@thecb/components 7.12.2-beta.14 → 7.12.2-beta.16

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.14",
3
+ "version": "7.12.2-beta.16",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -41,7 +41,12 @@ const Alert = ({
41
41
  </Cover>
42
42
  </Box>
43
43
  <Box padding="0">
44
- <Sidebar sidebarOnRight width="24px" childGap="0rem" fullHeight={contentFullHeight}>
44
+ <Sidebar
45
+ sidebarOnRight
46
+ width="24px"
47
+ childGap="0rem"
48
+ fullHeight={contentFullHeight}
49
+ >
45
50
  <Box padding={contentPadding}>
46
51
  <Cluster justify="flex-start" align="center">
47
52
  {textOverride ? (
@@ -55,7 +60,7 @@ const Alert = ({
55
60
  >
56
61
  {heading}
57
62
  </Text>
58
- <Text variant="pS" color={themeValues.text} >
63
+ <Text variant="pS" color={themeValues.text}>
59
64
  {text}
60
65
  </Text>
61
66
  {children}
@@ -79,8 +84,8 @@ const Alert = ({
79
84
  <Box
80
85
  padding={padding}
81
86
  width="100%"
82
- // minHeight={height && parseInt(height) < 100 ? height : "100px"}
83
- // height={height ? height : "auto"}
87
+ minHeight={height && parseInt(height) < 100 ? height : "100px"}
88
+ height={height ? height : "auto"}
84
89
  background={themeValues.background}
85
90
  borderRadius="4px"
86
91
  borderColor={themeValues.border}
@@ -153,6 +153,7 @@ const ErrorDetails = () => (
153
153
  // extraStyles={`min-height: 67px; height: 67px;`}
154
154
  iconPadding="0 0 0 0.25rem"
155
155
  // contentFullHeight={false}
156
+ minHeight={0}
156
157
  />
157
158
  </Box>
158
159
  );