@thecb/components 10.4.0-beta.2 → 10.4.0-beta.4

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
@@ -47006,11 +47006,11 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
47006
47006
  padding: "0"
47007
47007
  }, /*#__PURE__*/React.createElement(ButtonWithAction, {
47008
47008
  isLoading: isLoading,
47009
- action: isInCustomerManagement ? noop : function () {
47009
+ action: isInCustomerManagement ? noop$1 : function () {
47010
47010
  return handleClick(obligations);
47011
47011
  },
47012
47012
  text: "Pay Now",
47013
- variant: isMobile ? isInCustomerManagement ? "disabledSmallSecondary" : "smallSecondary" : isInCustomerManagement ? "disabledSecondary" : "secondary",
47013
+ variant: isMobile ? "smallSecondary" : "secondary",
47014
47014
  dataQa: "Pay Now",
47015
47015
  disabled: isInCustomerManagement
47016
47016
  }))), isMobile && /*#__PURE__*/React.createElement(Box, {
@@ -47019,7 +47019,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
47019
47019
  }, /*#__PURE__*/React.createElement(ButtonWithAction, {
47020
47020
  isLoading: isLoading,
47021
47021
  action: function action() {
47022
- return handleClick(obligations);
47022
+ return isInCustomerManagement ? noop$1 : function () {
47023
+ return handleClick(obligations);
47024
+ };
47023
47025
  },
47024
47026
  text: "Pay Now",
47025
47027
  variant: isMobile ? "smallSecondary" : "secondary",