@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.esm.js CHANGED
@@ -17842,7 +17842,9 @@ var Alert = function Alert(_ref) {
17842
17842
  _ref$innerContentPadd = _ref.innerContentPadding,
17843
17843
  innerContentPadding = _ref$innerContentPadd === void 0 ? "1rem" : _ref$innerContentPadd,
17844
17844
  _ref$iconPadding = _ref.iconPadding,
17845
- iconPadding = _ref$iconPadding === void 0 ? "0 0 0 1rem" : _ref$iconPadding;
17845
+ iconPadding = _ref$iconPadding === void 0 ? "0 0 0 1rem" : _ref$iconPadding,
17846
+ _ref$contentFullHeigh = _ref.contentFullHeight,
17847
+ contentFullHeight = _ref$contentFullHeigh === void 0 ? false : _ref$contentFullHeigh;
17846
17848
  var Icon = AlertIcons[variant];
17847
17849
  var contentPadding = maxContentWidth ? "".concat(padding, " 1rem") : innerContentPadding;
17848
17850
  var content = /*#__PURE__*/React.createElement(Sidebar, {
@@ -17863,7 +17865,8 @@ var Alert = function Alert(_ref) {
17863
17865
  }, /*#__PURE__*/React.createElement(Sidebar, {
17864
17866
  sidebarOnRight: true,
17865
17867
  width: "24px",
17866
- childGap: "0rem"
17868
+ childGap: "0rem",
17869
+ fullHeight: contentFullHeight
17867
17870
  }, /*#__PURE__*/React.createElement(Box, {
17868
17871
  padding: contentPadding
17869
17872
  }, /*#__PURE__*/React.createElement(Cluster, {
@@ -17889,9 +17892,9 @@ var Alert = function Alert(_ref) {
17889
17892
  }, /*#__PURE__*/React.createElement(IconQuit, null))))));
17890
17893
  return /*#__PURE__*/React.createElement(Box, {
17891
17894
  padding: padding,
17892
- width: "100%",
17893
- minHeight: height && parseInt(height) < 100 ? height : "100px",
17894
- height: height ? height : "auto",
17895
+ width: "100%" // minHeight={height && parseInt(height) < 100 ? height : "100px"}
17896
+ // height={height ? height : "auto"}
17897
+ ,
17895
17898
  background: themeValues.background,
17896
17899
  borderRadius: "4px",
17897
17900
  borderColor: themeValues.border,
@@ -47093,9 +47096,10 @@ var ErrorDetails = function ErrorDetails() {
47093
47096
  noBorder: true,
47094
47097
  enableBoxShadow: true,
47095
47098
  enableSmallText: true,
47096
- innerContentPadding: "0 0.75rem",
47097
- extraStyles: "min-height: 67px; height: 67px;",
47098
- iconPadding: "0 0 0 0.25rem"
47099
+ innerContentPadding: "0 0.75rem" // extraStyles={`min-height: 67px; height: 67px;`}
47100
+ ,
47101
+ iconPadding: "0 0 0 0.25rem" // contentFullHeight={false}
47102
+
47099
47103
  }));
47100
47104
  };
47101
47105