@thecb/components 8.0.2 → 8.0.3-beta.2
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 +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card/Card.js +1 -5
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +4 -2
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -37998,7 +37998,7 @@ var Card = function Card(_ref) {
|
|
|
37998
37998
|
}, Image && !imgSrc && /*#__PURE__*/React.createElement(Box, {
|
|
37999
37999
|
minHeight: imgHeight,
|
|
38000
38000
|
padding: "0",
|
|
38001
|
-
background:
|
|
38001
|
+
background: "#E4F4FD"
|
|
38002
38002
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
38003
38003
|
minHeight: imgHeight,
|
|
38004
38004
|
singleChild: true
|
|
@@ -46640,7 +46640,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46640
46640
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46641
46641
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
46642
46642
|
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
46643
|
-
return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
|
|
46643
|
+
return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address in your profile. Do you want to save these now?");
|
|
46644
46644
|
};
|
|
46645
46645
|
|
|
46646
46646
|
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
@@ -46651,7 +46651,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46651
46651
|
var modalExtraProps = {
|
|
46652
46652
|
modalHeaderText: autoPayActive ? titleCaseString(deactivateText) : titleCaseString(activateText),
|
|
46653
46653
|
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
|
|
46654
|
-
continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add",
|
|
46654
|
+
continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add to Profile",
|
|
46655
46655
|
useDangerButton: autoPayActive,
|
|
46656
46656
|
continueAction: autoPayActive ? function () {
|
|
46657
46657
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -46959,7 +46959,7 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46959
46959
|
},
|
|
46960
46960
|
modalOpen: modalIsOpen,
|
|
46961
46961
|
modalHeaderText: "Remove ".concat(accountType),
|
|
46962
|
-
modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, "? Any autopay scheduled against ").concat(obligations.length > 1 ? "them" : "it", " will be deactivated."),
|
|
46962
|
+
modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, " from your profile? Any autopay scheduled against ").concat(obligations.length > 1 ? "them" : "it", " will be deactivated."),
|
|
46963
46963
|
continueButtonText: "Remove",
|
|
46964
46964
|
continueAction: function continueAction() {
|
|
46965
46965
|
removeAccount();
|