@thecb/components 11.10.4-beta.1 → 11.10.4-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 CHANGED
@@ -26304,7 +26304,7 @@ var FormattedAddress = function FormattedAddress(_ref) {
26304
26304
  var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
26305
26305
 
26306
26306
  var textColor$1 = "".concat(CHARADE_GREY);
26307
- var autopayTextColor = "".concat(SEA_GREEN);
26307
+ var autopayTextColor = "".concat(REGENT_GREY);
26308
26308
  var fallbackValues$o = {
26309
26309
  textColor: textColor$1,
26310
26310
  autopayTextColor: autopayTextColor
@@ -26340,8 +26340,8 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
26340
26340
  }, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
26341
26341
  variant: "p",
26342
26342
  color: themeValues.autopayTextColor,
26343
- extraStyles: "font-style: italic; font-size: .75rem;"
26344
- }, "Autopay On")));
26343
+ extraStyles: "font-style: italic;"
26344
+ }, "Autopay Enabled")));
26345
26345
  };
26346
26346
  var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
26347
26347
 
@@ -26390,7 +26390,7 @@ var CardType = function CardType(_ref) {
26390
26390
  };
26391
26391
 
26392
26392
  var textColor$2 = "".concat(CHARADE_GREY);
26393
- var autopayTextColor$1 = "".concat(SEA_GREEN);
26393
+ var autopayTextColor$1 = "".concat(REGENT_GREY);
26394
26394
  var fallbackValues$p = {
26395
26395
  textColor: textColor$2,
26396
26396
  autopayTextColor: autopayTextColor$1
@@ -26419,15 +26419,13 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26419
26419
  return /*#__PURE__*/React__default.createElement(Text$1, {
26420
26420
  as: as,
26421
26421
  variant: "pXS",
26422
- fontSize: ".75rem",
26423
- color: STORM_GREY,
26422
+ color: ASH_GREY,
26424
26423
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26425
26424
  }, "Exp Date ", expireDate);
26426
26425
  case EXPIRING_SOON:
26427
26426
  return /*#__PURE__*/React__default.createElement(Text$1, {
26428
26427
  as: as,
26429
26428
  variant: "pXS",
26430
- fontSize: ".75rem",
26431
26429
  color: FIRE_YELLOW,
26432
26430
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26433
26431
  }, "Expiring Soon ", expireDate);
@@ -26435,8 +26433,7 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26435
26433
  return /*#__PURE__*/React__default.createElement(Text$1, {
26436
26434
  as: as,
26437
26435
  variant: "pXS",
26438
- fontSize: ".75rem",
26439
- color: STORM_GREY,
26436
+ color: ASH_GREY,
26440
26437
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26441
26438
  }, "Expired");
26442
26439
  }
@@ -26489,8 +26486,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
26489
26486
  }, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus(expirationStatus, expireDate, "left", "p"))), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
26490
26487
  variant: "p",
26491
26488
  color: themeValues.autopayTextColor,
26492
- extraStyles: "font-style: italic; font-size: .75rem;"
26493
- }, "Autopay On")));
26489
+ extraStyles: "font-style: italic;"
26490
+ }, "Autopay Enabled")));
26494
26491
  };
26495
26492
  var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
26496
26493
 
@@ -40896,6 +40893,7 @@ var EditableList = function EditableList(_ref) {
40896
40893
  _ref$canAdd = _ref.canAdd,
40897
40894
  canAdd = _ref$canAdd === void 0 ? true : _ref$canAdd,
40898
40895
  addItem = _ref.addItem,
40896
+ addItemDestination = _ref.addItemDestination,
40899
40897
  removeItem = _ref.removeItem,
40900
40898
  editItem = _ref.editItem,
40901
40899
  itemName = _ref.itemName,
@@ -41003,6 +41001,8 @@ var EditableList = function EditableList(_ref) {
41003
41001
  padding: items.length === 0 ? "0" : "1rem 0 0"
41004
41002
  }, /*#__PURE__*/React__default.createElement(Placeholder$1, {
41005
41003
  text: addText,
41004
+ isLink: !!addItemDestination,
41005
+ destination: addItemDestination,
41006
41006
  action: addItem,
41007
41007
  dataQa: "Add " + qaPrefix,
41008
41008
  "aria-label": addText,