@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 +21 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +21 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/modules/AmountModule.js +1 -1
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +3 -3
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +3 -3
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 ?
|
|
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:
|
|
47027
|
-
|
|
47028
|
-
|
|
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:
|
|
47172
|
-
|
|
47173
|
-
|
|
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, {
|