@thecb/components 11.10.4-beta.2 → 11.10.5

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(REGENT_GREY);
26299
+ var autopayTextColor = "".concat(SEA_GREEN);
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;"
26336
- }, "Autopay Enabled")));
26335
+ extraStyles: "font-style: italic; font-size: .75rem;"
26336
+ }, "Autopay On")));
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(REGENT_GREY);
26385
+ var autopayTextColor$1 = "".concat(SEA_GREEN);
26386
26386
  var fallbackValues$p = {
26387
26387
  textColor: textColor$2,
26388
26388
  autopayTextColor: autopayTextColor$1
@@ -26411,13 +26411,15 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26411
26411
  return /*#__PURE__*/React__default.createElement(Text$1, {
26412
26412
  as: as,
26413
26413
  variant: "pXS",
26414
- color: ASH_GREY,
26414
+ fontSize: ".75rem",
26415
+ color: STORM_GREY,
26415
26416
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26416
26417
  }, "Exp Date ", expireDate);
26417
26418
  case EXPIRING_SOON:
26418
26419
  return /*#__PURE__*/React__default.createElement(Text$1, {
26419
26420
  as: as,
26420
26421
  variant: "pXS",
26422
+ fontSize: ".75rem",
26421
26423
  color: FIRE_YELLOW,
26422
26424
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26423
26425
  }, "Expiring Soon ", expireDate);
@@ -26425,7 +26427,8 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26425
26427
  return /*#__PURE__*/React__default.createElement(Text$1, {
26426
26428
  as: as,
26427
26429
  variant: "pXS",
26428
- color: ASH_GREY,
26430
+ fontSize: ".75rem",
26431
+ color: STORM_GREY,
26429
26432
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26430
26433
  }, "Expired");
26431
26434
  }
@@ -26478,8 +26481,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
26478
26481
  }, "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, {
26479
26482
  variant: "p",
26480
26483
  color: themeValues.autopayTextColor,
26481
- extraStyles: "font-style: italic;"
26482
- }, "Autopay Enabled")));
26484
+ extraStyles: "font-style: italic; font-size: .75rem;"
26485
+ }, "Autopay On")));
26483
26486
  };
26484
26487
  var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
26485
26488
 
@@ -40885,7 +40888,6 @@ var EditableList = function EditableList(_ref) {
40885
40888
  _ref$canAdd = _ref.canAdd,
40886
40889
  canAdd = _ref$canAdd === void 0 ? true : _ref$canAdd,
40887
40890
  addItem = _ref.addItem,
40888
- addItemDestination = _ref.addItemDestination,
40889
40891
  removeItem = _ref.removeItem,
40890
40892
  editItem = _ref.editItem,
40891
40893
  itemName = _ref.itemName,
@@ -40993,8 +40995,6 @@ var EditableList = function EditableList(_ref) {
40993
40995
  padding: items.length === 0 ? "0" : "1rem 0 0"
40994
40996
  }, /*#__PURE__*/React__default.createElement(Placeholder$1, {
40995
40997
  text: addText,
40996
- isLink: !!addItemDestination,
40997
- destination: addItemDestination,
40998
40998
  action: addItem,
40999
40999
  dataQa: "Add " + qaPrefix,
41000
41000
  "aria-label": addText,
@@ -48084,7 +48084,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
48084
48084
  weight: themeValues.fontWeight,
48085
48085
  hoverStyles: themeValues.modalLinkHoverFocus,
48086
48086
  textDecoration: themeValues.modalLinkTextDecoration,
48087
- extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
48087
+ extraStyles: "display: inline-block; width: fit-content; cursor: pointer; min-height: 24px; line-height: 24px;",
48088
48088
  role: "button" // This should always be a "button" since it opens a modal
48089
48089
  ,
48090
48090
  className: "modal-trigger"