@thecb/components 9.0.4-beta.2 → 9.0.4-beta.3

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
@@ -18756,7 +18756,7 @@ var Alert = function Alert(_ref) {
18756
18756
  _ref$contentFullHeigh = _ref.contentFullHeight,
18757
18757
  contentFullHeight = _ref$contentFullHeigh === void 0 ? false : _ref$contentFullHeigh,
18758
18758
  _ref$ariaRole = _ref.ariaRole,
18759
- ariaRole = _ref$ariaRole === void 0 ? "group" : _ref$ariaRole,
18759
+ ariaRole = _ref$ariaRole === void 0 ? null : _ref$ariaRole,
18760
18760
  _ref$ariaAtomic = _ref.ariaAtomic,
18761
18761
  ariaAtomic = _ref$ariaAtomic === void 0 ? true : _ref$ariaAtomic,
18762
18762
  _ref$ariaLive = _ref.ariaLive,
@@ -18806,7 +18806,7 @@ var Alert = function Alert(_ref) {
18806
18806
  minHeight: "100%",
18807
18807
  onClick: onLinkClick
18808
18808
  }, /*#__PURE__*/React.createElement(IconQuit, null))))));
18809
- return /*#__PURE__*/React.createElement(Box, {
18809
+ return /*#__PURE__*/React.createElement(Box, _extends({
18810
18810
  padding: padding,
18811
18811
  width: "100%",
18812
18812
  minHeight: height && parseInt(height) < 100 ? height : "100px",
@@ -18816,11 +18816,14 @@ var Alert = function Alert(_ref) {
18816
18816
  borderColor: themeValues.border,
18817
18817
  borderSize: noBorder ? "0px" : "1px",
18818
18818
  boxShadow: enableBoxShadow ? (_generateShadows = generateShadows()) === null || _generateShadows === void 0 ? void 0 : (_generateShadows$inse = _generateShadows.inset) === null || _generateShadows$inse === void 0 ? void 0 : _generateShadows$inse.base : "",
18819
- extraStyles: extraStyles,
18820
- role: ariaRole,
18821
- "aria-atomic": ariaAtomic,
18819
+ extraStyles: extraStyles
18820
+ }, ariaAtomic !== null ? {
18821
+ "aria-atomic": ariaAtomic
18822
+ } : {}, ariaLive !== null ? {
18822
18823
  "aria-live": ariaLive
18823
- }, maxContentWidth ? /*#__PURE__*/React.createElement(Center, {
18824
+ } : {}, ariaRole !== null ? {
18825
+ role: ariaRole
18826
+ } : {}), maxContentWidth ? /*#__PURE__*/React.createElement(Center, {
18824
18827
  maxWidth: maxContentWidth
18825
18828
  }, content) : content);
18826
18829
  };
@@ -46756,8 +46759,7 @@ var PartialAmountForm = function PartialAmountForm(_ref) {
46756
46759
  }, "Amount owed:", " ", /*#__PURE__*/React.createElement(Text$1, {
46757
46760
  variant: "p",
46758
46761
  weight: "600"
46759
- }, displayCurrency(li.amount))),
46760
- "aria-busy": true
46762
+ }, displayCurrency(li.amount)))
46761
46763
  });
46762
46764
  })));
46763
46765
  };