@thecb/components 7.12.2-beta.7 → 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.cjs.js
CHANGED
|
@@ -17844,8 +17844,13 @@ var Alert = function Alert(_ref) {
|
|
|
17844
17844
|
_ref$noBorder = _ref.noBorder,
|
|
17845
17845
|
noBorder = _ref$noBorder === void 0 ? false : _ref$noBorder,
|
|
17846
17846
|
_ref$enableBoxShadow = _ref.enableBoxShadow,
|
|
17847
|
-
enableBoxShadow = _ref$enableBoxShadow === void 0 ? false : _ref$enableBoxShadow
|
|
17847
|
+
enableBoxShadow = _ref$enableBoxShadow === void 0 ? false : _ref$enableBoxShadow,
|
|
17848
|
+
_ref$enableSmallText = _ref.enableSmallText,
|
|
17849
|
+
enableSmallText = _ref$enableSmallText === void 0 ? false : _ref$enableSmallText,
|
|
17850
|
+
_ref$innerContentPadd = _ref.innerContentPadding,
|
|
17851
|
+
innerContentPadding = _ref$innerContentPadd === void 0 ? "1rem" : _ref$innerContentPadd;
|
|
17848
17852
|
var Icon = AlertIcons[variant];
|
|
17853
|
+
var contentPadding = maxContentWidth ? "".concat(padding, " 1rem") : innerContentPadding;
|
|
17849
17854
|
var content = /*#__PURE__*/React__default.createElement(Sidebar, {
|
|
17850
17855
|
width: "24px",
|
|
17851
17856
|
childGap: "0rem"
|
|
@@ -17866,7 +17871,7 @@ var Alert = function Alert(_ref) {
|
|
|
17866
17871
|
width: "24px",
|
|
17867
17872
|
childGap: "0rem"
|
|
17868
17873
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
17869
|
-
padding:
|
|
17874
|
+
padding: contentPadding
|
|
17870
17875
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
17871
17876
|
justify: "flex-start",
|
|
17872
17877
|
align: "center"
|
|
@@ -17874,7 +17879,7 @@ var Alert = function Alert(_ref) {
|
|
|
17874
17879
|
fullHeight: true,
|
|
17875
17880
|
childGap: "0.25rem"
|
|
17876
17881
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
17877
|
-
variant: "p",
|
|
17882
|
+
variant: enableSmallText ? "pS" : "p",
|
|
17878
17883
|
color: themeValues.text,
|
|
17879
17884
|
weight: "600"
|
|
17880
17885
|
}, heading), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -47093,6 +47098,8 @@ var ErrorDetails = function ErrorDetails() {
|
|
|
47093
47098
|
showQuitLink: false,
|
|
47094
47099
|
noBorder: true,
|
|
47095
47100
|
enableBoxShadow: true,
|
|
47101
|
+
enableSmallText: true,
|
|
47102
|
+
innerContentPadding: "0 16px",
|
|
47096
47103
|
extraStyles: "min-height: 67px; height: 67px;"
|
|
47097
47104
|
}));
|
|
47098
47105
|
};
|