@thecb/components 7.12.2-beta.12 → 7.12.2-beta.14

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, {
@@ -17897,9 +17900,9 @@ var Alert = function Alert(_ref) {
17897
17900
  }, /*#__PURE__*/React__default.createElement(IconQuit, null))))));
17898
17901
  return /*#__PURE__*/React__default.createElement(Box, {
17899
17902
  padding: padding,
17900
- width: "100%",
17901
- minHeight: height && parseInt(height) < 100 ? height : "100px",
17902
- height: height ? height : "auto",
17903
+ width: "100%" // minHeight={height && parseInt(height) < 100 ? height : "100px"}
17904
+ // height={height ? height : "auto"}
17905
+ ,
17903
17906
  background: themeValues.background,
17904
17907
  borderRadius: "4px",
17905
17908
  borderColor: themeValues.border,
@@ -47101,9 +47104,10 @@ var ErrorDetails = function ErrorDetails() {
47101
47104
  noBorder: true,
47102
47105
  enableBoxShadow: true,
47103
47106
  enableSmallText: true,
47104
- innerContentPadding: "0 0.75rem",
47105
- extraStyles: "min-height: 67px; height: 67px;",
47106
- iconPadding: "0 0 0 0.25rem"
47107
+ innerContentPadding: "0 0.75rem" // extraStyles={`min-height: 67px; height: 67px;`}
47108
+ ,
47109
+ iconPadding: "0 0 0 0.25rem" // contentFullHeight={false}
47110
+
47107
47111
  }));
47108
47112
  };
47109
47113