@thecb/components 7.12.2-beta.11 → 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/dist/index.cjs.js
CHANGED
|
@@ -17850,7 +17850,9 @@ var Alert = function Alert(_ref) {
|
|
|
17850
17850
|
_ref$innerContentPadd = _ref.innerContentPadding,
|
|
17851
17851
|
innerContentPadding = _ref$innerContentPadd === void 0 ? "1rem" : _ref$innerContentPadd,
|
|
17852
17852
|
_ref$iconPadding = _ref.iconPadding,
|
|
17853
|
-
iconPadding = _ref$iconPadding === void 0 ? "0 0 0 1rem" : _ref$iconPadding
|
|
17853
|
+
iconPadding = _ref$iconPadding === void 0 ? "0 0 0 1rem" : _ref$iconPadding,
|
|
17854
|
+
_ref$contentFullHeigh = _ref.contentFullHeight,
|
|
17855
|
+
contentFullHeight = _ref$contentFullHeigh === void 0 ? false : _ref$contentFullHeigh;
|
|
17854
17856
|
var Icon = AlertIcons[variant];
|
|
17855
17857
|
var contentPadding = maxContentWidth ? "".concat(padding, " 1rem") : innerContentPadding;
|
|
17856
17858
|
var content = /*#__PURE__*/React__default.createElement(Sidebar, {
|
|
@@ -17871,7 +17873,8 @@ var Alert = function Alert(_ref) {
|
|
|
17871
17873
|
}, /*#__PURE__*/React__default.createElement(Sidebar, {
|
|
17872
17874
|
sidebarOnRight: true,
|
|
17873
17875
|
width: "24px",
|
|
17874
|
-
childGap: "0rem"
|
|
17876
|
+
childGap: "0rem",
|
|
17877
|
+
fullHeight: contentFullHeight
|
|
17875
17878
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
17876
17879
|
padding: contentPadding
|
|
17877
17880
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -17879,7 +17882,7 @@ var Alert = function Alert(_ref) {
|
|
|
17879
17882
|
align: "center"
|
|
17880
17883
|
}, textOverride ? textOverride : /*#__PURE__*/React__default.createElement(Stack, {
|
|
17881
17884
|
fullHeight: true,
|
|
17882
|
-
childGap: "0
|
|
17885
|
+
childGap: "0"
|
|
17883
17886
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
17884
17887
|
variant: enableSmallText ? "pS" : "p",
|
|
17885
17888
|
color: themeValues.text,
|
|
@@ -47101,9 +47104,10 @@ var ErrorDetails = function ErrorDetails() {
|
|
|
47101
47104
|
noBorder: true,
|
|
47102
47105
|
enableBoxShadow: true,
|
|
47103
47106
|
enableSmallText: true,
|
|
47104
|
-
innerContentPadding: "0
|
|
47107
|
+
innerContentPadding: "0 0.75rem",
|
|
47105
47108
|
extraStyles: "min-height: 67px; height: 67px;",
|
|
47106
|
-
iconPadding: "0 0 0 0.25rem"
|
|
47109
|
+
iconPadding: "0 0 0 0.25rem",
|
|
47110
|
+
contentFullHeight: true
|
|
47107
47111
|
}));
|
|
47108
47112
|
};
|
|
47109
47113
|
|