@thecb/components 7.12.2-beta.6 → 7.12.2-beta.7

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.6",
3
+ "version": "7.12.2-beta.7",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -146,9 +146,9 @@ const ErrorDetails = () => (
146
146
  heading="Error Loading Payment"
147
147
  text="Please go back and try again."
148
148
  showQuitLink={false}
149
- height="67px"
150
149
  noBorder
151
150
  enableBoxShadow
151
+ extraStyles={`min-height: 67px; height: 67px;`}
152
152
  />
153
153
  </Box>
154
154
  );
@@ -28,7 +28,7 @@ const rgbToRgba = (rgbValue = "", opacity = "") => {
28
28
  )}, ${opacity}${rgbValue.slice(-1)}`;
29
29
  };
30
30
 
31
- export const generateShadows = baseColorRGB => {
31
+ export const generateShadows = (baseColorRGB = "rgb(41, 42, 51)") => {
32
32
  const colorTen = rgbToRgba(baseColorRGB, "0.1") || "rgba(41, 42, 51, 0.1)";
33
33
  const colorTwenty = rgbToRgba(baseColorRGB, "0.2") || "rgba(41, 42, 51, 0.2)";
34
34
  const colorTwentyFive =