@thecb/components 10.4.0-beta.10 → 10.4.0-beta.11

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
@@ -46895,7 +46895,9 @@ var AmountModule = function AmountModule(_ref) {
46895
46895
  onClick: function onClick() {
46896
46896
  return disableActions ? noop$1 : toggleModal(true);
46897
46897
  },
46898
- onKeyPress: disableActions ? noop$1 : function (e) {
46898
+ onKeyPress: disableActions ? function () {
46899
+ return noop$1;
46900
+ } : function (e) {
46899
46901
  e.key === "Enter" && toggleModal(true);
46900
46902
  }
46901
46903
  })));
@@ -47023,9 +47025,15 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
47023
47025
  subDescription: subDescription,
47024
47026
  allowedPaymentInstruments: allowedPaymentInstruments,
47025
47027
  disableActions: disableActions,
47026
- action: disableActions ? noop$1 : toggleModal(true),
47027
- onClick: disableActions ? noop$1 : toggleModal(true),
47028
- onKeyPress: disableActions ? noop$1 : function (e) {
47028
+ action: function action() {
47029
+ return disableActions ? noop$1 : toggleModal(true);
47030
+ },
47031
+ onClick: function onClick() {
47032
+ return disableActions ? noop$1 : toggleModal(true);
47033
+ },
47034
+ onKeyPress: disableActions ? function () {
47035
+ return noop$1;
47036
+ } : function (e) {
47029
47037
  e.key === "Enter" && toggleModal(true);
47030
47038
  }
47031
47039
  })), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
@@ -47168,9 +47176,15 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
47168
47176
  subDescription: subDescription,
47169
47177
  allowedPaymentInstruments: allowedPaymentInstruments,
47170
47178
  disableActions: disableActions,
47171
- action: disableActions ? noop$1 : toggleModal(true),
47172
- onClick: disableActions ? noop$1 : toggleModal(true),
47173
- onKeyPress: disableActions ? noop$1 : function (e) {
47179
+ action: function action() {
47180
+ return disableActions ? noop$1 : toggleModal(true);
47181
+ },
47182
+ onClick: function onClick() {
47183
+ return disableActions ? noop$1 : toggleModal(true);
47184
+ },
47185
+ onKeyPress: disableActions ? function () {
47186
+ return noop$1;
47187
+ } : function (e) {
47174
47188
  e.key === "Enter" && toggleModal(true);
47175
47189
  }
47176
47190
  })), /*#__PURE__*/React__default.createElement(Box, {