@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/dist/index.esm.js
CHANGED
|
@@ -17789,7 +17789,8 @@ var rgbToRgba = function rgbToRgba() {
|
|
|
17789
17789
|
return "".concat(rgbValue.slice(0, 3), "a").concat(rgbValue.slice(3, -1), ", ").concat(opacity).concat(rgbValue.slice(-1));
|
|
17790
17790
|
};
|
|
17791
17791
|
|
|
17792
|
-
var generateShadows = function generateShadows(
|
|
17792
|
+
var generateShadows = function generateShadows() {
|
|
17793
|
+
var baseColorRGB = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "rgb(41, 42, 51)";
|
|
17793
17794
|
var colorTen = rgbToRgba(baseColorRGB, "0.1") || "rgba(41, 42, 51, 0.1)";
|
|
17794
17795
|
var colorTwenty = rgbToRgba(baseColorRGB, "0.2") || "rgba(41, 42, 51, 0.2)";
|
|
17795
17796
|
var colorTwentyFive = rgbToRgba(baseColorRGB, "0.25") || "rgba(41, 42, 51, 0.25)";
|
|
@@ -47082,9 +47083,9 @@ var ErrorDetails = function ErrorDetails() {
|
|
|
47082
47083
|
heading: "Error Loading Payment",
|
|
47083
47084
|
text: "Please go back and try again.",
|
|
47084
47085
|
showQuitLink: false,
|
|
47085
|
-
height: "67px",
|
|
47086
47086
|
noBorder: true,
|
|
47087
|
-
enableBoxShadow: true
|
|
47087
|
+
enableBoxShadow: true,
|
|
47088
|
+
extraStyles: "min-height: 67px; height: 67px;"
|
|
47088
47089
|
}));
|
|
47089
47090
|
};
|
|
47090
47091
|
|