@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.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, {
@@ -17871,7 +17874,7 @@ var Alert = function Alert(_ref) {
17871
17874
  align: "center"
17872
17875
  }, textOverride ? textOverride : /*#__PURE__*/React.createElement(Stack, {
17873
17876
  fullHeight: true,
17874
- childGap: "0.25rem"
17877
+ childGap: "0"
17875
17878
  }, /*#__PURE__*/React.createElement(Text$1, {
17876
17879
  variant: enableSmallText ? "pS" : "p",
17877
17880
  color: themeValues.text,
@@ -47093,9 +47096,10 @@ var ErrorDetails = function ErrorDetails() {
47093
47096
  noBorder: true,
47094
47097
  enableBoxShadow: true,
47095
47098
  enableSmallText: true,
47096
- innerContentPadding: "0 1rem",
47099
+ innerContentPadding: "0 0.75rem",
47097
47100
  extraStyles: "min-height: 67px; height: 67px;",
47098
- iconPadding: "0 0 0 0.25rem"
47101
+ iconPadding: "0 0 0 0.25rem",
47102
+ contentFullHeight: true
47099
47103
  }));
47100
47104
  };
47101
47105