@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.esm.js CHANGED
@@ -26296,7 +26296,7 @@ var FormattedAddress = function FormattedAddress(_ref) {
26296
26296
  var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
26297
26297
 
26298
26298
  var textColor$1 = "".concat(CHARADE_GREY);
26299
- var autopayTextColor = "".concat(SEA_GREEN);
26299
+ var autopayTextColor = "".concat(REGENT_GREY);
26300
26300
  var fallbackValues$o = {
26301
26301
  textColor: textColor$1,
26302
26302
  autopayTextColor: autopayTextColor
@@ -26332,8 +26332,8 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
26332
26332
  }, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
26333
26333
  variant: "p",
26334
26334
  color: themeValues.autopayTextColor,
26335
- extraStyles: "font-style: italic; font-size: .75rem;"
26336
- }, "Autopay On")));
26335
+ extraStyles: "font-style: italic;"
26336
+ }, "Autopay Enabled")));
26337
26337
  };
26338
26338
  var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
26339
26339
 
@@ -26382,7 +26382,7 @@ var CardType = function CardType(_ref) {
26382
26382
  };
26383
26383
 
26384
26384
  var textColor$2 = "".concat(CHARADE_GREY);
26385
- var autopayTextColor$1 = "".concat(SEA_GREEN);
26385
+ var autopayTextColor$1 = "".concat(REGENT_GREY);
26386
26386
  var fallbackValues$p = {
26387
26387
  textColor: textColor$2,
26388
26388
  autopayTextColor: autopayTextColor$1
@@ -26411,15 +26411,13 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26411
26411
  return /*#__PURE__*/React__default.createElement(Text$1, {
26412
26412
  as: as,
26413
26413
  variant: "pXS",
26414
- fontSize: ".75rem",
26415
- color: STORM_GREY,
26414
+ color: ASH_GREY,
26416
26415
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26417
26416
  }, "Exp Date ", expireDate);
26418
26417
  case EXPIRING_SOON:
26419
26418
  return /*#__PURE__*/React__default.createElement(Text$1, {
26420
26419
  as: as,
26421
26420
  variant: "pXS",
26422
- fontSize: ".75rem",
26423
26421
  color: FIRE_YELLOW,
26424
26422
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26425
26423
  }, "Expiring Soon ", expireDate);
@@ -26427,8 +26425,7 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26427
26425
  return /*#__PURE__*/React__default.createElement(Text$1, {
26428
26426
  as: as,
26429
26427
  variant: "pXS",
26430
- fontSize: ".75rem",
26431
- color: STORM_GREY,
26428
+ color: ASH_GREY,
26432
26429
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26433
26430
  }, "Expired");
26434
26431
  }
@@ -26481,8 +26478,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
26481
26478
  }, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(Fragment$1, null, renderCardStatus(expirationStatus, expireDate, "left", "p"))), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
26482
26479
  variant: "p",
26483
26480
  color: themeValues.autopayTextColor,
26484
- extraStyles: "font-style: italic; font-size: .75rem;"
26485
- }, "Autopay On")));
26481
+ extraStyles: "font-style: italic;"
26482
+ }, "Autopay Enabled")));
26486
26483
  };
26487
26484
  var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
26488
26485
 
@@ -40888,6 +40885,7 @@ var EditableList = function EditableList(_ref) {
40888
40885
  _ref$canAdd = _ref.canAdd,
40889
40886
  canAdd = _ref$canAdd === void 0 ? true : _ref$canAdd,
40890
40887
  addItem = _ref.addItem,
40888
+ addItemDestination = _ref.addItemDestination,
40891
40889
  removeItem = _ref.removeItem,
40892
40890
  editItem = _ref.editItem,
40893
40891
  itemName = _ref.itemName,
@@ -40995,6 +40993,8 @@ var EditableList = function EditableList(_ref) {
40995
40993
  padding: items.length === 0 ? "0" : "1rem 0 0"
40996
40994
  }, /*#__PURE__*/React__default.createElement(Placeholder$1, {
40997
40995
  text: addText,
40996
+ isLink: !!addItemDestination,
40997
+ destination: addItemDestination,
40998
40998
  action: addItem,
40999
40999
  dataQa: "Add " + qaPrefix,
41000
41000
  "aria-label": addText,