@thecb/components 8.0.1-beta.4 → 8.0.2-beta.0
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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +2 -4
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +1 -1
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ const AutopayModal = ({
|
|
|
39
39
|
? "checking account payment method"
|
|
40
40
|
: "payment method";
|
|
41
41
|
|
|
42
|
-
return `To setup ${planText} you must have a saved ${methodRequired} and address
|
|
42
|
+
return `To setup ${planText} you must have a saved ${methodRequired} and address. Do you want to save these now?`;
|
|
43
43
|
};
|
|
44
44
|
const plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
45
45
|
const shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
@@ -57,9 +57,7 @@ const AutopayModal = ({
|
|
|
57
57
|
: ""
|
|
58
58
|
}`
|
|
59
59
|
: generateMethodNeededText(plan, allowedPaymentInstruments),
|
|
60
|
-
continueButtonText: autoPayActive
|
|
61
|
-
? `Disable ${shortPlan}`
|
|
62
|
-
: "Add to Profile",
|
|
60
|
+
continueButtonText: autoPayActive ? `Disable ${shortPlan}` : "Add",
|
|
63
61
|
useDangerButton: autoPayActive,
|
|
64
62
|
continueAction: autoPayActive
|
|
65
63
|
? () => {
|
|
@@ -35,7 +35,7 @@ const RemoveAccountModalModule = ({
|
|
|
35
35
|
hideModal={() => setModalIsOpen(false)}
|
|
36
36
|
modalOpen={modalIsOpen}
|
|
37
37
|
modalHeaderText={`Remove ${accountType}`}
|
|
38
|
-
modalBodyText={`Are you sure you want to remove the ${identifier} ${accounts}
|
|
38
|
+
modalBodyText={`Are you sure you want to remove the ${identifier} ${accounts}? Any autopay scheduled against ${
|
|
39
39
|
obligations.length > 1 ? "them" : "it"
|
|
40
40
|
} will be deactivated.`}
|
|
41
41
|
continueButtonText="Remove"
|