@thecb/components 7.12.2-beta.8 → 7.12.2-beta.9
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
|
@@ -17838,8 +17838,11 @@ var Alert = function Alert(_ref) {
|
|
|
17838
17838
|
_ref$enableBoxShadow = _ref.enableBoxShadow,
|
|
17839
17839
|
enableBoxShadow = _ref$enableBoxShadow === void 0 ? false : _ref$enableBoxShadow,
|
|
17840
17840
|
_ref$enableSmallText = _ref.enableSmallText,
|
|
17841
|
-
enableSmallText = _ref$enableSmallText === void 0 ? false : _ref$enableSmallText
|
|
17841
|
+
enableSmallText = _ref$enableSmallText === void 0 ? false : _ref$enableSmallText,
|
|
17842
|
+
_ref$innerContentPadd = _ref.innerContentPadding,
|
|
17843
|
+
innerContentPadding = _ref$innerContentPadd === void 0 ? "1rem" : _ref$innerContentPadd;
|
|
17842
17844
|
var Icon = AlertIcons[variant];
|
|
17845
|
+
var contentPadding = maxContentWidth ? "".concat(padding, " 1rem") : innerContentPadding;
|
|
17843
17846
|
var content = /*#__PURE__*/React.createElement(Sidebar, {
|
|
17844
17847
|
width: "24px",
|
|
17845
17848
|
childGap: "0rem"
|
|
@@ -17860,7 +17863,7 @@ var Alert = function Alert(_ref) {
|
|
|
17860
17863
|
width: "24px",
|
|
17861
17864
|
childGap: "0rem"
|
|
17862
17865
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
17863
|
-
padding:
|
|
17866
|
+
padding: contentPadding
|
|
17864
17867
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
17865
17868
|
justify: "flex-start",
|
|
17866
17869
|
align: "center"
|
|
@@ -47085,12 +47088,11 @@ var ErrorDetails = function ErrorDetails() {
|
|
|
47085
47088
|
heading: "Error Loading Payment",
|
|
47086
47089
|
text: "Please go back and try again.",
|
|
47087
47090
|
showQuitLink: false,
|
|
47088
|
-
maxContentWidth: "350px",
|
|
47089
|
-
padding: "0",
|
|
47090
47091
|
noBorder: true,
|
|
47091
47092
|
enableBoxShadow: true,
|
|
47092
|
-
|
|
47093
|
-
|
|
47093
|
+
enableSmallText: true,
|
|
47094
|
+
innerContentPadding: "0 16px",
|
|
47095
|
+
extraStyles: "min-height: 67px; height: 67px;"
|
|
47094
47096
|
}));
|
|
47095
47097
|
};
|
|
47096
47098
|
|