@thecb/components 10.1.3-beta.0 → 10.1.3-beta.1

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
@@ -46526,10 +46526,9 @@ var AutopayModal = function AutopayModal(_ref) {
46526
46526
  var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
46527
46527
  var deactivateText = "stop ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
46528
46528
  var activateText = "Set Up ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
46529
- var nextDate = dueDate || nextAutopayDate;
46530
46529
  var modalExtraProps = {
46531
46530
  modalHeaderText: autoPayActive ? titleCaseString(deactivateText) : titleCaseString(activateText),
46532
- modalBodyText: autoPayActive ? "Are you sure you want to stop ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
46531
+ modalBodyText: autoPayActive ? "Are you sure you want to stop ".concat(plan, "?") : generateMethodNeededText(plan, allowedPaymentInstruments),
46533
46532
  continueButtonText: autoPayActive ? "Stop ".concat(shortPlan) : "Add",
46534
46533
  useDangerButton: autoPayActive,
46535
46534
  continueAction: autoPayActive ? function () {