@thecb/components 10.4.0-beta.13 → 10.4.0-beta.15

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
@@ -6509,7 +6509,7 @@ var BoxWrapper = styled__default(function (_ref) {
6509
6509
  });
6510
6510
  /* eslint-enable no-unused-vars */
6511
6511
 
6512
- var _excluded$3 = ["autocompleteValue", "padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "srOnly", "dataQa", "disabled", "children"];
6512
+ var _excluded$3 = ["autocompleteValue", "padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "srOnly", "dataQa", "children"];
6513
6513
 
6514
6514
  /*
6515
6515
  Box component to create generic boxes
@@ -6557,7 +6557,6 @@ var Box = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6557
6557
  _ref$srOnly = _ref.srOnly,
6558
6558
  srOnly = _ref$srOnly === void 0 ? false : _ref$srOnly,
6559
6559
  dataQa = _ref.dataQa,
6560
- _ref$disabled = _ref.disabled,
6561
6560
  children = _ref.children,
6562
6561
  rest = _objectWithoutProperties(_ref, _excluded$3);
6563
6562
  return /*#__PURE__*/React__default.createElement(BoxWrapper, _extends({
@@ -46889,19 +46888,13 @@ var AmountModule = function AmountModule(_ref) {
46889
46888
  subDescription: subDescription,
46890
46889
  allowedPaymentInstruments: allowedPaymentInstruments,
46891
46890
  disableActions: disableActions,
46892
- action: disableActions ? function () {
46893
- return noop$1;
46894
- } : function () {
46891
+ action: disableActions ? noop$1 : function () {
46895
46892
  return toggleModal(true);
46896
46893
  },
46897
- onClick: disableActions ? function () {
46898
- return noop$1;
46899
- } : function () {
46894
+ onClick: disableActions ? noop$1 : function () {
46900
46895
  toggleModal(true);
46901
46896
  },
46902
- onKeyPress: disableActions ? function () {
46903
- return noop$1;
46904
- } : function (e) {
46897
+ onKeyPress: disableActions ? noop$1 : function (e) {
46905
46898
  e.key === "Enter" && toggleModal(true);
46906
46899
  }
46907
46900
  })));