@thecb/components 7.6.1 → 7.7.0-beta.1

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
@@ -6326,6 +6326,36 @@ var titleCaseString = function titleCaseString(string) {
6326
6326
  return index === 0 || index === string.length - 1 || word.length > 3 ? titleCaseWord(word.toLowerCase()) : word;
6327
6327
  }).join(" ");
6328
6328
  };
6329
+ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
6330
+ var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
6331
+ var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
6332
+
6333
+ switch (expirationStatus) {
6334
+ case ACTIVE:
6335
+ return /*#__PURE__*/React__default.createElement(Text$1, {
6336
+ as: as,
6337
+ variant: "pXS",
6338
+ color: ASH_GREY,
6339
+ extraStyles: "text-align: ".concat(textAlign, ";")
6340
+ }, "Exp Date ", expireDate);
6341
+
6342
+ case EXPIRING_SOON:
6343
+ return /*#__PURE__*/React__default.createElement(Text$1, {
6344
+ as: as,
6345
+ variant: "pXS",
6346
+ color: FIRE_YELLOW,
6347
+ extraStyles: "text-align: ".concat(textAlign, ";")
6348
+ }, "Expiring Soon ", expireDate);
6349
+
6350
+ case EXPIRED:
6351
+ return /*#__PURE__*/React__default.createElement(Text$1, {
6352
+ as: as,
6353
+ variant: "pXS",
6354
+ color: ASH_GREY,
6355
+ extraStyles: "text-align: ".concat(textAlign, ";")
6356
+ }, "Expired");
6357
+ }
6358
+ };
6329
6359
 
6330
6360
  var general = /*#__PURE__*/Object.freeze({
6331
6361
  __proto__: null,
@@ -6345,7 +6375,8 @@ var general = /*#__PURE__*/Object.freeze({
6345
6375
  MOBILE_WIDTH: MOBILE_WIDTH,
6346
6376
  throttle: throttle,
6347
6377
  titleCaseWord: titleCaseWord,
6348
- titleCaseString: titleCaseString
6378
+ titleCaseString: titleCaseString,
6379
+ renderCardStatus: renderCardStatus
6349
6380
  });
6350
6381
 
6351
6382
  var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
@@ -13831,33 +13862,6 @@ var GenericCard = function GenericCard() {
13831
13862
  }));
13832
13863
  };
13833
13864
 
13834
- var BankItemWrapper = styled__default.div.withConfig({
13835
- displayName: "PaymentIcon__BankItemWrapper",
13836
- componentId: "sc-1k0jl35-0"
13837
- })(["display:flex;justify-content:flex-start;align-items:center;"]);
13838
- var BankAccountText = styled__default.h4.withConfig({
13839
- displayName: "PaymentIcon__BankAccountText",
13840
- componentId: "sc-1k0jl35-1"
13841
- })(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
13842
- var CHECKING = "CHECKING";
13843
- var SAVINGS = "SAVINGS";
13844
-
13845
- var PaymentIcon = function PaymentIcon(_ref) {
13846
- var lastFour = _ref.lastFour,
13847
- accountType = _ref.accountType,
13848
- autoPay = _ref.autoPay;
13849
- return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(Box, {
13850
- padding: "0.25rem 0 0 0",
13851
- extraStyles: "margin-right: 1rem;"
13852
- }, /*#__PURE__*/React__default.createElement(BankIcon, null)), /*#__PURE__*/React__default.createElement(Stack, {
13853
- childGap: "0"
13854
- }, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, null, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React__default.createElement(BankAccountText, null, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
13855
- variant: "p",
13856
- color: REGENT_GREY,
13857
- extraStyles: "font-style: italic;"
13858
- }, "Autopay Enabled")));
13859
- };
13860
-
13861
13865
  var IconAdd = function IconAdd() {
13862
13866
  return /*#__PURE__*/React__default.createElement("svg", {
13863
13867
  xmlns: "http://www.w3.org/2000/svg",
@@ -24295,9 +24299,50 @@ var fallbackValues$l = {
24295
24299
  autopayTextColor: autopayTextColor
24296
24300
  };
24297
24301
 
24298
- var ACTIVE = "ACTIVE";
24299
- var EXPIRING_SOON = "EXPIRING_SOON";
24300
- var EXPIRED = "EXPIRED";
24302
+ var BankItemWrapper = styled__default.div.withConfig({
24303
+ displayName: "FormattedBankAccount__BankItemWrapper",
24304
+ componentId: "sc-18hcgw4-0"
24305
+ })(["display:flex;justify-content:flex-start;align-items:center;"]);
24306
+ var BankAccountText = styled__default.h4.withConfig({
24307
+ displayName: "FormattedBankAccount__BankAccountText",
24308
+ componentId: "sc-18hcgw4-1"
24309
+ })(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
24310
+ var color = _ref.color;
24311
+ return color;
24312
+ });
24313
+ var CHECKING = "CHECKING";
24314
+ var SAVINGS = "SAVINGS";
24315
+
24316
+ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
24317
+ var lastFour = _ref2.lastFour,
24318
+ accountType = _ref2.accountType,
24319
+ autoPay = _ref2.autoPay,
24320
+ themeValues = _ref2.themeValues;
24321
+ return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(Box, {
24322
+ padding: "0.25rem 0 0 0",
24323
+ extraStyles: "margin-right: 1rem;"
24324
+ }, /*#__PURE__*/React__default.createElement(BankIcon, null)), /*#__PURE__*/React__default.createElement(Stack, {
24325
+ childGap: "0"
24326
+ }, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, {
24327
+ color: themeValues.textColor
24328
+ }, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React__default.createElement(BankAccountText, {
24329
+ color: themeValues.textColor
24330
+ }, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
24331
+ variant: "p",
24332
+ color: themeValues.autopayTextColor,
24333
+ extraStyles: "font-style: italic;"
24334
+ }, "Autopay Enabled")));
24335
+ };
24336
+
24337
+ var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$l);
24338
+
24339
+ var textColor$2 = "".concat(CHARADE_GREY);
24340
+ var autopayTextColor$1 = "".concat(REGENT_GREY);
24341
+ var fallbackValues$m = {
24342
+ textColor: textColor$2,
24343
+ autopayTextColor: autopayTextColor$1
24344
+ };
24345
+
24301
24346
  var CreditCardWrapper = styled__default.div.withConfig({
24302
24347
  displayName: "FormattedCreditCard__CreditCardWrapper",
24303
24348
  componentId: "sc-s0ta5l-0"
@@ -24313,32 +24358,6 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
24313
24358
  expireDate = _ref.expireDate,
24314
24359
  expirationStatus = _ref.expirationStatus,
24315
24360
  themeValues = _ref.themeValues;
24316
-
24317
- var renderCardStatus = function renderCardStatus() {
24318
- switch (expirationStatus) {
24319
- case ACTIVE:
24320
- return /*#__PURE__*/React__default.createElement(Paragraph$1, {
24321
- variant: "pXS",
24322
- color: ASH_GREY,
24323
- textAlign: "left"
24324
- }, "Exp Date ", expireDate);
24325
-
24326
- case EXPIRING_SOON:
24327
- return /*#__PURE__*/React__default.createElement(Paragraph$1, {
24328
- variant: "pXS",
24329
- color: FIRE_YELLOW,
24330
- textAlign: "left"
24331
- }, "Expiring Soon ", expireDate);
24332
-
24333
- case EXPIRED:
24334
- return /*#__PURE__*/React__default.createElement(Paragraph$1, {
24335
- variant: "pXS",
24336
- color: ASH_GREY,
24337
- textAlign: "left"
24338
- }, "Expired");
24339
- }
24340
- };
24341
-
24342
24361
  return /*#__PURE__*/React__default.createElement(CreditCardWrapper, null, /*#__PURE__*/React__default.createElement(CCIconWrapper, null, /*#__PURE__*/React__default.createElement(GenericCard, null)), /*#__PURE__*/React__default.createElement(Stack, {
24343
24362
  childGap: "0"
24344
24363
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -24349,14 +24368,14 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
24349
24368
  color: themeValues.textColor,
24350
24369
  textAlign: "left",
24351
24370
  extraStyles: "display: inline-block;"
24352
- }, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus())), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
24371
+ }, "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, {
24353
24372
  variant: "p",
24354
24373
  color: themeValues.autopayTextColor,
24355
24374
  extraStyles: "font-style: italic;"
24356
24375
  }, "Autopay Enabled")));
24357
24376
  };
24358
24377
 
24359
- var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$l);
24378
+ var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$m);
24360
24379
 
24361
24380
  var Hamburger = styled__default.button.withConfig({
24362
24381
  displayName: "HamburgerButton__Hamburger",
@@ -24438,7 +24457,7 @@ var fontSize$8 = {
24438
24457
  h5: "1.375rem",
24439
24458
  h6: "1.25rem"
24440
24459
  };
24441
- var fallbackValues$m = {
24460
+ var fallbackValues$n = {
24442
24461
  fontFamily: fontFamily$5,
24443
24462
  fontSize: fontSize$8
24444
24463
  };
@@ -24480,7 +24499,7 @@ var Heading = function Heading(_ref) {
24480
24499
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
24481
24500
  };
24482
24501
 
24483
- var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$m, "h1");
24502
+ var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$n, "h1");
24484
24503
 
24485
24504
  var Jumbo = function Jumbo(_ref) {
24486
24505
  var showButton = _ref.showButton,
@@ -24554,7 +24573,7 @@ var fontWeight$4 = {
24554
24573
  pL: "600",
24555
24574
  h6: "700"
24556
24575
  };
24557
- var fallbackValues$n = {
24576
+ var fallbackValues$o = {
24558
24577
  fontWeight: fontWeight$4
24559
24578
  };
24560
24579
 
@@ -24582,7 +24601,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
24582
24601
  }, amount));
24583
24602
  };
24584
24603
 
24585
- var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$n, "default");
24604
+ var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$o, "default");
24586
24605
 
24587
24606
  var weightTitle = {
24588
24607
  "default": "600",
@@ -24592,7 +24611,7 @@ var paragraphVariant = {
24592
24611
  "default": "pL",
24593
24612
  small: "pS"
24594
24613
  };
24595
- var fallbackValues$o = {
24614
+ var fallbackValues$p = {
24596
24615
  weightTitle: weightTitle,
24597
24616
  paragraphVariant: paragraphVariant
24598
24617
  };
@@ -24621,10 +24640,10 @@ var LineItem = function LineItem(_ref) {
24621
24640
  }, amount));
24622
24641
  };
24623
24642
 
24624
- var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$o, "default");
24643
+ var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$p, "default");
24625
24644
 
24626
24645
  var color$8 = "#15749D";
24627
- var fallbackValues$p = {
24646
+ var fallbackValues$q = {
24628
24647
  color: color$8
24629
24648
  };
24630
24649
 
@@ -24663,7 +24682,7 @@ var Spinner$1 = function Spinner(_ref4) {
24663
24682
  })));
24664
24683
  };
24665
24684
 
24666
- var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$p);
24685
+ var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$q);
24667
24686
 
24668
24687
  var Loading = function Loading() {
24669
24688
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -24929,7 +24948,7 @@ var height$1 = {
24929
24948
  "default": "3rem",
24930
24949
  large: "192px"
24931
24950
  };
24932
- var fallbackValues$q = {
24951
+ var fallbackValues$r = {
24933
24952
  color: color$9,
24934
24953
  height: height$1
24935
24954
  };
@@ -25038,12 +25057,12 @@ var Placeholder = function Placeholder(_ref2) {
25038
25057
  }, text)))))))))));
25039
25058
  };
25040
25059
 
25041
- var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$q, "default");
25060
+ var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$r, "default");
25042
25061
 
25043
25062
  var backgroundColor$4 = {
25044
25063
  "default": "".concat(WHITE)
25045
25064
  };
25046
- var fallbackValues$r = {
25065
+ var fallbackValues$s = {
25047
25066
  backgroundColor: backgroundColor$4
25048
25067
  };
25049
25068
 
@@ -25071,7 +25090,7 @@ var ProcessingFee = function ProcessingFee(_ref) {
25071
25090
  }));
25072
25091
  };
25073
25092
 
25074
- var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$r, "default");
25093
+ var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$s, "default");
25075
25094
 
25076
25095
 
25077
25096
 
@@ -25133,7 +25152,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref) {
25133
25152
 
25134
25153
  var activeColor$5 = "".concat(MATISSE_BLUE);
25135
25154
  var inactiveColor = "".concat(GREY_CHATEAU);
25136
- var fallbackValues$s = {
25155
+ var fallbackValues$t = {
25137
25156
  activeColor: activeColor$5,
25138
25157
  inactiveColor: inactiveColor
25139
25158
  };
@@ -25223,12 +25242,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
25223
25242
  })));
25224
25243
  };
25225
25244
 
25226
- var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$s);
25245
+ var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$t);
25227
25246
 
25228
25247
  var border$2 = {
25229
25248
  "default": "1px solid #caced8"
25230
25249
  };
25231
- var fallbackValues$t = {
25250
+ var fallbackValues$u = {
25232
25251
  border: border$2
25233
25252
  };
25234
25253
 
@@ -25303,7 +25322,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
25303
25322
  })))));
25304
25323
  };
25305
25324
 
25306
- var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$t, "default");
25325
+ var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$u, "default");
25307
25326
 
25308
25327
  var borderColor$2 = {
25309
25328
  "default": "".concat(GREY_CHATEAU)
@@ -25311,7 +25330,7 @@ var borderColor$2 = {
25311
25330
  var borderSize = {
25312
25331
  "default": "1px"
25313
25332
  };
25314
- var fallbackValues$u = {
25333
+ var fallbackValues$v = {
25315
25334
  borderColor: borderColor$2,
25316
25335
  borderSize: borderSize
25317
25336
  };
@@ -25328,7 +25347,7 @@ var SolidDivider = function SolidDivider(_ref) {
25328
25347
  });
25329
25348
  };
25330
25349
 
25331
- var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$u, "default");
25350
+ var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$v, "default");
25332
25351
 
25333
25352
  var placeHolderOptionUS = {
25334
25353
  text: "Please select state",
@@ -35912,7 +35931,7 @@ var offBackground = "".concat(REGENT_GREY);
35912
35931
  var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
35913
35932
  var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
35914
35933
  var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
35915
- var fallbackValues$v = {
35934
+ var fallbackValues$w = {
35916
35935
  onBackground: onBackground,
35917
35936
  disabledBackground: disabledBackground,
35918
35937
  white: white,
@@ -36088,7 +36107,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
36088
36107
  }, label))));
36089
36108
  };
36090
36109
 
36091
- var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$v);
36110
+ var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$w);
36092
36111
 
36093
36112
  var background$1 = "".concat(ATHENS_GREY);
36094
36113
  var white$1 = "".concat(WHITE);
@@ -36137,7 +36156,7 @@ var backgroundColor$5 = WHITE;
36137
36156
  var imageBackgroundColor = INFO_BLUE;
36138
36157
  var headerBackgroundColor = STORM_GREY;
36139
36158
  var headerColor = WHITE;
36140
- var fallbackValues$w = {
36159
+ var fallbackValues$x = {
36141
36160
  backgroundColor: backgroundColor$5,
36142
36161
  imageBackgroundColor: imageBackgroundColor,
36143
36162
  headerBackgroundColor: headerBackgroundColor,
@@ -36160,11 +36179,11 @@ var CardImage = styled__default.img.withConfig({
36160
36179
 
36161
36180
  var titleColor = BRIGHT_GREY;
36162
36181
  var titleWeight = FONT_WEIGHT_BOLD;
36163
- var textColor$2 = BRIGHT_GREY;
36164
- var fallbackValues$x = {
36182
+ var textColor$3 = BRIGHT_GREY;
36183
+ var fallbackValues$y = {
36165
36184
  titleColor: titleColor,
36166
36185
  titleWeight: titleWeight,
36167
- textColor: textColor$2
36186
+ textColor: textColor$3
36168
36187
  };
36169
36188
 
36170
36189
  var CardText = function CardText(_ref) {
@@ -36185,7 +36204,7 @@ var CardText = function CardText(_ref) {
36185
36204
  color: themeValues.textColor
36186
36205
  }, text))));
36187
36206
  };
36188
- var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$x);
36207
+ var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$y);
36189
36208
 
36190
36209
  var CardHeader = function CardHeader(_ref) {
36191
36210
  var backgroundColor = _ref.backgroundColor,
@@ -36282,12 +36301,12 @@ var Card = function Card(_ref) {
36282
36301
  }), children)));
36283
36302
  };
36284
36303
 
36285
- var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$w);
36304
+ var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$x);
36286
36305
 
36287
36306
  var fontFamily$6 = "Public Sans, sans-serif";
36288
36307
  var activeColor$6 = MATISSE_BLUE;
36289
36308
  var linkColor$3 = CHARADE_GREY;
36290
- var fallbackValues$y = {
36309
+ var fallbackValues$z = {
36291
36310
  fontFamily: fontFamily$6,
36292
36311
  activeColor: activeColor$6,
36293
36312
  linkColor: linkColor$3
@@ -36320,7 +36339,7 @@ var NavTab = function NavTab(_ref) {
36320
36339
  }, label));
36321
36340
  };
36322
36341
 
36323
- var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$y);
36342
+ var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$z);
36324
36343
 
36325
36344
  var NavTabs = function NavTabs(_ref) {
36326
36345
  var tabsConfig = _ref.tabsConfig,
@@ -38278,7 +38297,7 @@ AddressForm.mapStateToProps = mapStateToProps$1;
38278
38297
  AddressForm.mapDispatchToProps = mapDispatchToProps;
38279
38298
 
38280
38299
  var backgroundColor$6 = "#ebeffb";
38281
- var fallbackValues$z = {
38300
+ var fallbackValues$A = {
38282
38301
  backgroundColor: backgroundColor$6
38283
38302
  };
38284
38303
 
@@ -38330,7 +38349,7 @@ var Banner = function Banner(_ref) {
38330
38349
  }, /*#__PURE__*/React__default.createElement(Image, null))));
38331
38350
  };
38332
38351
 
38333
- var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$z);
38352
+ var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$A);
38334
38353
 
38335
38354
  var ChangePasswordForm = function ChangePasswordForm(_ref) {
38336
38355
  var _newPasswordErrorMess;
@@ -38472,7 +38491,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
38472
38491
  var titleColor$1 = "#292A33";
38473
38492
  var headingBackgroundColor = "transparent";
38474
38493
  var bodyBackgroundColor = "transparent";
38475
- var fallbackValues$A = {
38494
+ var fallbackValues$B = {
38476
38495
  titleColor: titleColor$1,
38477
38496
  headingBackgroundColor: headingBackgroundColor,
38478
38497
  bodyBackgroundColor: bodyBackgroundColor
@@ -38599,7 +38618,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
38599
38618
  }, children))));
38600
38619
  };
38601
38620
 
38602
- var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$A);
38621
+ var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$B);
38603
38622
 
38604
38623
  var ClipboardIcon = function ClipboardIcon(_ref) {
38605
38624
  var themeValues = _ref.themeValues;
@@ -39185,7 +39204,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
39185
39204
 
39186
39205
  var footerBackgroundColor = BRIGHT_GREY;
39187
39206
  var subfooterBackgroundColor = STORM_GREY;
39188
- var fallbackValues$B = {
39207
+ var fallbackValues$C = {
39189
39208
  footerBackgroundColor: footerBackgroundColor,
39190
39209
  subfooterBackgroundColor: subfooterBackgroundColor
39191
39210
  };
@@ -39217,7 +39236,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
39217
39236
  }));
39218
39237
  };
39219
39238
 
39220
- var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$B);
39239
+ var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$C);
39221
39240
 
39222
39241
  var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
39223
39242
  var _EmailErrorMessages;
@@ -39267,10 +39286,10 @@ ForgotPasswordForm.reducer = reducer$4;
39267
39286
  ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
39268
39287
  ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
39269
39288
 
39270
- var textColor$3 = "#ffffff";
39289
+ var textColor$4 = "#ffffff";
39271
39290
  var backgroundColor$7 = "#182848";
39272
- var fallbackValues$C = {
39273
- textColor: textColor$3,
39291
+ var fallbackValues$D = {
39292
+ textColor: textColor$4,
39274
39293
  backgroundColor: backgroundColor$7
39275
39294
  };
39276
39295
 
@@ -39326,7 +39345,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
39326
39345
  }), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
39327
39346
  };
39328
39347
 
39329
- var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$C));
39348
+ var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$D));
39330
39349
 
39331
39350
  var AccountBillIcon = function AccountBillIcon() {
39332
39351
  return /*#__PURE__*/React__default.createElement("svg", {
@@ -44478,7 +44497,7 @@ var backgroundColor$8 = {
44478
44497
  largeTitle: WHITE,
44479
44498
  small: WHITE
44480
44499
  };
44481
- var fallbackValues$D = {
44500
+ var fallbackValues$E = {
44482
44501
  fontSize: fontSize$9,
44483
44502
  fontWeight: fontWeight$5,
44484
44503
  fontColor: fontColor,
@@ -44537,7 +44556,7 @@ var Module = function Module(_ref) {
44537
44556
  }, children)));
44538
44557
  };
44539
44558
 
44540
- var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$D, "default"));
44559
+ var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$E, "default"));
44541
44560
 
44542
44561
  var backgroundColor$9 = {
44543
44562
  profile: "#3b414d",
@@ -44547,7 +44566,7 @@ var shadowColor = {
44547
44566
  profile: "#292A33",
44548
44567
  cms: "#292A33"
44549
44568
  };
44550
- var fallbackValues$E = {
44569
+ var fallbackValues$F = {
44551
44570
  backgroundColor: backgroundColor$9,
44552
44571
  shadowColor: shadowColor
44553
44572
  };
@@ -44588,7 +44607,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
44588
44607
  }, menuContent));
44589
44608
  };
44590
44609
 
44591
- var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$E, "profile");
44610
+ var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$F, "profile");
44592
44611
 
44593
44612
  var menu = posed.div({
44594
44613
  invisible: {
@@ -44644,7 +44663,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
44644
44663
  }, menuContent));
44645
44664
  };
44646
44665
 
44647
- var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$E, "profile");
44666
+ var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$F, "profile");
44648
44667
 
44649
44668
  var ACH_METHOD = "BANK_ACCOUNT";
44650
44669
  var CC_METHOD = "CREDIT_CARD";
@@ -44705,7 +44724,7 @@ var activeColor$7 = "#0E506D";
44705
44724
  var linkColor$4 = "#3176AA";
44706
44725
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
44707
44726
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
44708
- var fallbackValues$F = {
44727
+ var fallbackValues$G = {
44709
44728
  color: color$a,
44710
44729
  hoverColor: hoverColor$5,
44711
44730
  activeColor: activeColor$7,
@@ -44831,7 +44850,7 @@ var AutopayModal = function AutopayModal(_ref) {
44831
44850
  }, modalExtraProps), renderAutoPayControl());
44832
44851
  };
44833
44852
 
44834
- var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$F);
44853
+ var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$G);
44835
44854
 
44836
44855
  var AmountModule = function AmountModule(_ref) {
44837
44856
  var totalAmountDue = _ref.totalAmountDue,
@@ -45685,7 +45704,7 @@ var labeledAmountTotal = {
45685
45704
  "default": "h6",
45686
45705
  small: "p"
45687
45706
  };
45688
- var fallbackValues$G = {
45707
+ var fallbackValues$H = {
45689
45708
  backgroundColor: backgroundColor$a,
45690
45709
  lineItem: lineItem,
45691
45710
  labeledAmountSubtotal: labeledAmountSubtotal,
@@ -45936,7 +45955,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
45936
45955
  });
45937
45956
  };
45938
45957
 
45939
- var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$G, "default");
45958
+ var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$H, "default");
45940
45959
 
45941
45960
  var linkColor$5 = {
45942
45961
  "default": "#3176AA"
@@ -45953,7 +45972,7 @@ var fontWeight$7 = {
45953
45972
  var modalLinkHoverFocus$1 = {
45954
45973
  "default": "outline: none; text-decoration: underline;"
45955
45974
  };
45956
- var fallbackValues$H = {
45975
+ var fallbackValues$I = {
45957
45976
  linkColor: linkColor$5,
45958
45977
  fontSize: fontSize$a,
45959
45978
  lineHeight: lineHeight$4,
@@ -46012,7 +46031,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
46012
46031
  }, link));
46013
46032
  };
46014
46033
 
46015
- var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$H, "default");
46034
+ var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$I, "default");
46016
46035
 
46017
46036
  var PaymentFormACH = function PaymentFormACH(_ref) {
46018
46037
  var _routingNumberErrors, _accountNumberErrors;
@@ -46618,7 +46637,7 @@ var headingDisabledColor = "".concat(ATHENS_GREY);
46618
46637
  var bodyBackgroundColor$1 = "#eeeeee";
46619
46638
  var borderColor$3 = "".concat(GREY_CHATEAU);
46620
46639
  var focusStyles = "outline: none;";
46621
- var fallbackValues$I = {
46640
+ var fallbackValues$J = {
46622
46641
  headingBackgroundColor: headingBackgroundColor$1,
46623
46642
  headingDisabledColor: headingDisabledColor,
46624
46643
  bodyBackgroundColor: bodyBackgroundColor$1,
@@ -46635,7 +46654,8 @@ var fallbackValues$I = {
46635
46654
  hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
46636
46655
  hidden: boolean, (hides section entirely)
46637
46656
  dataQa: string,
46638
- content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
46657
+ content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work),
46658
+ rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
46639
46659
  }
46640
46660
 
46641
46661
  Also takes an "openSection" which should equal the id of the section that should be open
@@ -46648,10 +46668,6 @@ var fallbackValues$I = {
46648
46668
 
46649
46669
  */
46650
46670
 
46651
- var ACTIVE$2 = "ACTIVE";
46652
- var EXPIRING_SOON$1 = "EXPIRING_SOON";
46653
- var EXPIRED$2 = "EXPIRED";
46654
-
46655
46671
  var RadioSection = function RadioSection(_ref) {
46656
46672
  var themeValues = _ref.themeValues,
46657
46673
  isMobile = _ref.isMobile,
@@ -46674,34 +46690,6 @@ var RadioSection = function RadioSection(_ref) {
46674
46690
  }
46675
46691
  };
46676
46692
 
46677
- var renderCardStatus = function renderCardStatus(item) {
46678
- var expirationStatus = item.expirationStatus,
46679
- expireDate = item.expireDate;
46680
-
46681
- switch (expirationStatus) {
46682
- case ACTIVE$2:
46683
- return /*#__PURE__*/React__default.createElement(Text$1, {
46684
- variant: "pXS",
46685
- color: ASH_GREY,
46686
- extraStyles: "text-align: right;"
46687
- }, "Exp Date ", expireDate);
46688
-
46689
- case EXPIRING_SOON$1:
46690
- return /*#__PURE__*/React__default.createElement(Text$1, {
46691
- variant: "pXS",
46692
- color: FIRE_YELLOW,
46693
- extraStyles: "text-align: right;"
46694
- }, "Expiring Soon ", expireDate);
46695
-
46696
- case EXPIRED$2:
46697
- return /*#__PURE__*/React__default.createElement(Text$1, {
46698
- variant: "pXS",
46699
- color: ASH_GREY,
46700
- extraStyles: "text-align: right;"
46701
- }, "Expired");
46702
- }
46703
- };
46704
-
46705
46693
  var wrapper = {
46706
46694
  open: {
46707
46695
  height: openHeight,
@@ -46821,7 +46809,7 @@ var RadioSection = function RadioSection(_ref) {
46821
46809
  isMobile: isMobile,
46822
46810
  alt: icon.altText
46823
46811
  });
46824
- })), section.shouldDisplayCardExpiration && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus(section)))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
46812
+ })), section.rightTitleContent && /*#__PURE__*/React__default.createElement(React.Fragment, null, rightTitleContent))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
46825
46813
  initial: false
46826
46814
  }, openSection === section.id && /*#__PURE__*/React__default.createElement(Motion, {
46827
46815
  key: "content-".concat(section.id),
@@ -46837,7 +46825,7 @@ var RadioSection = function RadioSection(_ref) {
46837
46825
  })));
46838
46826
  };
46839
46827
 
46840
- var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$I);
46828
+ var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$J);
46841
46829
 
46842
46830
  var RegistrationForm = function RegistrationForm(_ref) {
46843
46831
  var _emailErrorMessages, _passwordErrorMessage;
@@ -47134,7 +47122,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
47134
47122
  var activeTabBackground = "#FFFFFF";
47135
47123
  var activeTabAccent = "#15749D";
47136
47124
  var activeTabHover = "#B8D5E1";
47137
- var fallbackValues$J = {
47125
+ var fallbackValues$K = {
47138
47126
  activeTabBackground: activeTabBackground,
47139
47127
  activeTabAccent: activeTabAccent,
47140
47128
  activeTabHover: activeTabHover
@@ -47213,12 +47201,12 @@ var Tabs = function Tabs(_ref) {
47213
47201
  }))));
47214
47202
  };
47215
47203
 
47216
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$J);
47204
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$K);
47217
47205
 
47218
47206
  var activeTabBackground$1 = "#FFFFFF";
47219
47207
  var activeTabAccent$1 = "#15749D";
47220
47208
  var activeTabHover$1 = "#B8D5E1";
47221
- var fallbackValues$K = {
47209
+ var fallbackValues$L = {
47222
47210
  activeTabBackground: activeTabBackground$1,
47223
47211
  activeTabAccent: activeTabAccent$1,
47224
47212
  activeTabHover: activeTabHover$1
@@ -47274,7 +47262,7 @@ var TabSidebar = function TabSidebar(_ref) {
47274
47262
  })));
47275
47263
  };
47276
47264
 
47277
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$K);
47265
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$L);
47278
47266
 
47279
47267
  var backgroundColor$b = {
47280
47268
  "default": "#ffffff",
@@ -47305,7 +47293,7 @@ var modalLinkHoverFocus$2 = {
47305
47293
  "default": standardInteractionStyles,
47306
47294
  footer: standardInteractionStyles
47307
47295
  };
47308
- var fallbackValues$L = {
47296
+ var fallbackValues$M = {
47309
47297
  backgroundColor: backgroundColor$b,
47310
47298
  linkColor: linkColor$6,
47311
47299
  border: border$3,
@@ -47367,7 +47355,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
47367
47355
  }, link));
47368
47356
  };
47369
47357
 
47370
- var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$L, "default");
47358
+ var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$M, "default");
47371
47359
 
47372
47360
  var TermsAndConditions = function TermsAndConditions(_ref) {
47373
47361
  var onCheck = _ref.onCheck,
@@ -47442,7 +47430,7 @@ var fontColor$1 = WHITE;
47442
47430
  var textAlign$1 = "left";
47443
47431
  var headerBackgroundColor$1 = BRIGHT_GREY;
47444
47432
  var imageBackgroundColor$1 = MATISSE_BLUE;
47445
- var fallbackValues$M = {
47433
+ var fallbackValues$N = {
47446
47434
  fontWeight: fontWeight$9,
47447
47435
  fontColor: fontColor$1,
47448
47436
  textAlign: textAlign$1,
@@ -47489,7 +47477,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
47489
47477
  })))));
47490
47478
  };
47491
47479
 
47492
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$M));
47480
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$N));
47493
47481
 
47494
47482
  var WorkflowTile = function WorkflowTile(_ref) {
47495
47483
  var _ref$workflowName = _ref.workflowName,
@@ -47544,7 +47532,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
47544
47532
  };
47545
47533
 
47546
47534
  var pageBackground = "#FBFCFD";
47547
- var fallbackValues$N = {
47535
+ var fallbackValues$O = {
47548
47536
  pageBackground: pageBackground
47549
47537
  };
47550
47538
 
@@ -47591,7 +47579,7 @@ var CenterSingle = function CenterSingle(_ref) {
47591
47579
  })));
47592
47580
  };
47593
47581
 
47594
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$N));
47582
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$O));
47595
47583
 
47596
47584
  var CenterStack = function CenterStack(_ref) {
47597
47585
  var header = _ref.header,
@@ -47633,7 +47621,7 @@ var CenterStack = function CenterStack(_ref) {
47633
47621
  })));
47634
47622
  };
47635
47623
 
47636
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$N));
47624
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$O));
47637
47625
 
47638
47626
  var CenterSingle$2 = function CenterSingle(_ref) {
47639
47627
  var header = _ref.header,
@@ -47678,7 +47666,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
47678
47666
  })));
47679
47667
  };
47680
47668
 
47681
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$N));
47669
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$O));
47682
47670
 
47683
47671
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
47684
47672
  var header = _ref.header,
@@ -47732,7 +47720,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
47732
47720
  })));
47733
47721
  };
47734
47722
 
47735
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$N));
47723
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$O));
47736
47724
 
47737
47725
  var SidebarStackContent = function SidebarStackContent(_ref) {
47738
47726
  var header = _ref.header,
@@ -47803,7 +47791,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
47803
47791
  })));
47804
47792
  };
47805
47793
 
47806
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$N));
47794
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$O));
47807
47795
 
47808
47796
  exports.AccountNumberImage = AccountNumberImage;
47809
47797
  exports.AccountsAddIcon = AccountsAddIcon$1;
@@ -47870,6 +47858,7 @@ exports.FormInputColumn = FormInputColumn;
47870
47858
  exports.FormInputRow = FormInputRow;
47871
47859
  exports.FormSelect = FormSelect$1;
47872
47860
  exports.FormattedAddress = FormattedAddress$1;
47861
+ exports.FormattedBankAccount = FormattedBankAccount$1;
47873
47862
  exports.FormattedCreditCard = FormattedCreditCard$1;
47874
47863
  exports.Frame = Frame;
47875
47864
  exports.GenericCard = GenericCard;
@@ -47911,7 +47900,6 @@ exports.PaymentButtonBar = PaymentButtonBar;
47911
47900
  exports.PaymentDetails = PaymentDetails$1;
47912
47901
  exports.PaymentFormACH = PaymentFormACH;
47913
47902
  exports.PaymentFormCard = PaymentFormCard$1;
47914
- exports.PaymentIcon = PaymentIcon;
47915
47903
  exports.PaymentMethodAddIcon = PaymentMethodAddIcon$1;
47916
47904
  exports.PaymentMethodIcon = PaymentMethodIcon$1;
47917
47905
  exports.PaymentSearchIcon = PaymentSearchIcon;