@thecb/components 8.0.3-beta.3 → 8.0.3-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.cjs.js CHANGED
@@ -37976,7 +37976,6 @@ var Card = function Card(_ref) {
37976
37976
  _ref$width = _ref.width,
37977
37977
  width = _ref$width === void 0 ? "276px" : _ref$width,
37978
37978
  children = _ref.children;
37979
- console.log("themeValues.imageBackgroundColor", themeValues.imageBackgroundColor);
37980
37979
  var hasImage = Image || imgSrc;
37981
37980
  var numberOfChildren = (Array.isArray(children) ? children.length : 1) + (text ? 1 : 0) + (hasImage ? 1 : 0) + (headerText ? 1 : 0);
37982
37981
  return /*#__PURE__*/React__default.createElement(BoxWithShadow$1, {
@@ -38007,7 +38006,8 @@ var Card = function Card(_ref) {
38007
38006
  }, Image && !imgSrc && /*#__PURE__*/React__default.createElement(Box, {
38008
38007
  minHeight: imgHeight,
38009
38008
  padding: "0",
38010
- background: "#E4F4FD"
38009
+ background: themeValues.imageBackgroundColor,
38010
+ extraStyles: "background-color: ".concat(themeValues.imageBackgroundColor)
38011
38011
  }, /*#__PURE__*/React__default.createElement(Cover, {
38012
38012
  minHeight: imgHeight,
38013
38013
  singleChild: true
@@ -46649,7 +46649,7 @@ var AutopayModal = function AutopayModal(_ref) {
46649
46649
  var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
46650
46650
  var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
46651
46651
  var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
46652
- return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address in your profile. Do you want to save these now?");
46652
+ return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
46653
46653
  };
46654
46654
 
46655
46655
  var plan = isPaymentPlan ? "your payment plan" : "autopay";
@@ -46660,7 +46660,7 @@ var AutopayModal = function AutopayModal(_ref) {
46660
46660
  var modalExtraProps = {
46661
46661
  modalHeaderText: autoPayActive ? titleCaseString(deactivateText) : titleCaseString(activateText),
46662
46662
  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),
46663
- continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add to Profile",
46663
+ continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add",
46664
46664
  useDangerButton: autoPayActive,
46665
46665
  continueAction: autoPayActive ? function () {
46666
46666
  deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
@@ -46968,7 +46968,7 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
46968
46968
  },
46969
46969
  modalOpen: modalIsOpen,
46970
46970
  modalHeaderText: "Remove ".concat(accountType),
46971
- 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."),
46971
+ 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."),
46972
46972
  continueButtonText: "Remove",
46973
46973
  continueAction: function continueAction() {
46974
46974
  removeAccount();