@thecb/components 4.4.4 → 4.5.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
@@ -16612,7 +16612,7 @@ function parseToRgb(color) {
16612
16612
  };
16613
16613
  }
16614
16614
 
16615
- var rgbaMatched = rgbaRegex.exec(normalizedColor);
16615
+ var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
16616
16616
 
16617
16617
  if (rgbaMatched) {
16618
16618
  return {
@@ -16643,7 +16643,7 @@ function parseToRgb(color) {
16643
16643
  };
16644
16644
  }
16645
16645
 
16646
- var hslaMatched = hslaRegex.exec(normalizedColor);
16646
+ var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
16647
16647
 
16648
16648
  if (hslaMatched) {
16649
16649
  var _hue = parseInt("" + hslaMatched[1], 10);
@@ -20822,9 +20822,137 @@ var CountryDropdown = function CountryDropdown(_ref) {
20822
20822
  });
20823
20823
  };
20824
20824
 
20825
+ function _templateObject$p() {
20826
+ var data = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"]);
20827
+
20828
+ _templateObject$p = function _templateObject() {
20829
+ return data;
20830
+ };
20831
+
20832
+ return data;
20833
+ }
20834
+ var DetailText = styled__default.p(_templateObject$p(), function (_ref) {
20835
+ var fontSize = _ref.fontSize;
20836
+ return fontSize;
20837
+ }, function (_ref2) {
20838
+ var color = _ref2.color;
20839
+ return color;
20840
+ }, function (_ref3) {
20841
+ var weight = _ref3.weight;
20842
+ return weight;
20843
+ }, function (_ref4) {
20844
+ var margin = _ref4.margin;
20845
+ return margin;
20846
+ }, function (_ref5) {
20847
+ var textAlign = _ref5.textAlign;
20848
+ return textAlign;
20849
+ }, function (_ref6) {
20850
+ var fontFamily = _ref6.fontFamily;
20851
+ return fontFamily;
20852
+ }, function (_ref7) {
20853
+ var extraStyles = _ref7.extraStyles;
20854
+ return extraStyles;
20855
+ });
20856
+
20857
+ var fontSize$6 = {
20858
+ large: "1.125rem",
20859
+ regular: "1rem",
20860
+ small: "0.875rem",
20861
+ extraSmall: "0.75rem"
20862
+ };
20863
+ var fontFamily$4 = {
20864
+ large: "Public Sans",
20865
+ regular: "Public Sans",
20866
+ small: "Public Sans",
20867
+ extraSmall: "Public Sans"
20868
+ };
20869
+ var mobileFontSize = {
20870
+ large: "1.14285rem",
20871
+ regular: "1",
20872
+ small: "0.85714rem",
20873
+ extraSmall: "0.71428rem"
20874
+ };
20875
+ var fallbackValues$g = {
20876
+ fontFamily: fontFamily$4,
20877
+ fontSize: fontSize$6
20878
+ };
20879
+ var mobileFallbackValues = {
20880
+ fontFamily: fontFamily$4,
20881
+ fontSize: mobileFontSize
20882
+ };
20883
+ var MOBILE_BREAKPOINT = 768;
20884
+
20885
+ /*
20886
+ New responsive text component for Detail elements
20887
+ (Block level text elements which are smaller than "Title" elements)
20888
+ Size is decoupled from tag
20889
+ Comes with four variants - "large", "regular", "small", "extraSmall"
20890
+ Large variant results in text that is 1.125rem/1.1428rem (18px desktop, 16px mobile)
20891
+ Regular variant results in text that is 1rem (16px desktop, 14px mobile)
20892
+ Small variant reuslts in text that is 0.875rem/0.8571rem (14px desktop, 12px mobile)
20893
+ ExtraSmall variant results in text that is 0.75rem/0.7142rem (12px desktop, 10px mobile)
20894
+
20895
+ If you need a larger font size, use the <Title /> atom, which has larger variants
20896
+
20897
+ Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
20898
+ If you need an inline text element (span), use the <Text /> atom
20899
+ The "as" value should be dictated by the structure of your page, not what font-size you want
20900
+
20901
+ Title / Detail both use slightly different desktop/mobile scales
20902
+ (Mobile scale is different to allow for design-friendly px values)
20903
+ Both atoms detect the presence of a mobile device on their own
20904
+ and apply the corresponding scale
20905
+
20906
+ Mobile breakpoint value is specified in Detail.theme.js
20907
+
20908
+ If you want to disable mobile text scales (use the same rem scale for desktop/mobile), then use a theme in FCS to set all of the variants to use the same rem sizes. FCS themes override fallbacks defined in the .theme file
20909
+ */
20910
+
20911
+ var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
20912
+ var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
20913
+ var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice$1;
20914
+ var fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues$g;
20915
+
20916
+ var Detail = function Detail(_ref) {
20917
+ var themeValues = _ref.themeValues,
20918
+ _ref$weight = _ref.weight,
20919
+ weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
20920
+ _ref$color = _ref.color,
20921
+ color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
20922
+ _ref$margin = _ref.margin,
20923
+ margin = _ref$margin === void 0 ? 0 : _ref$margin,
20924
+ textAlign = _ref.textAlign,
20925
+ _ref$extraStyles = _ref.extraStyles,
20926
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
20927
+ className = _ref.className,
20928
+ _ref$variant = _ref.variant,
20929
+ variant = _ref$variant === void 0 ? "regular" : _ref$variant,
20930
+ _ref$as = _ref.as,
20931
+ as = _ref$as === void 0 ? "p" : _ref$as,
20932
+ dataQa = _ref.dataQa,
20933
+ children = _ref.children,
20934
+ rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"]);
20935
+
20936
+ return /*#__PURE__*/React__default.createElement(DetailText, _extends({
20937
+ variant: variant,
20938
+ as: as,
20939
+ weight: weight,
20940
+ color: color,
20941
+ margin: margin,
20942
+ textAlign: textAlign,
20943
+ extraStyles: extraStyles,
20944
+ className: className,
20945
+ fontFamily: themeValues.fontFamily,
20946
+ fontSize: themeValues.fontSize,
20947
+ "data-qa": dataQa
20948
+ }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
20949
+ };
20950
+
20951
+ var Detail$1 = themeComponent(Detail, "Detail", fallbacks, "regular");
20952
+
20825
20953
  var backgroundColor$3 = WHITE;
20826
20954
  var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
20827
- var fallbackValues$g = {
20955
+ var fallbackValues$h = {
20828
20956
  backgroundColor: backgroundColor$3,
20829
20957
  boxShadow: boxShadow
20830
20958
  };
@@ -20845,7 +20973,7 @@ var DisplayBox = function DisplayBox(_ref) {
20845
20973
  }, children));
20846
20974
  };
20847
20975
 
20848
- var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$g);
20976
+ var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$h);
20849
20977
 
20850
20978
  var DisplayCard = function DisplayCard(_ref) {
20851
20979
  var title = _ref.title,
@@ -21222,7 +21350,7 @@ var lineHeight$3 = {
21222
21350
  "default": "1rem",
21223
21351
  disabled: "1rem"
21224
21352
  };
21225
- var fontSize$6 = {
21353
+ var fontSize$7 = {
21226
21354
  "default": "0.875rem",
21227
21355
  disabled: "0.875rem"
21228
21356
  };
@@ -21241,7 +21369,7 @@ var hoverFocusStyles$1 = {
21241
21369
  var formFooterPanel = {
21242
21370
  "default": "".concat(INFO_BLUE)
21243
21371
  };
21244
- var fallbackValues$h = {
21372
+ var fallbackValues$i = {
21245
21373
  linkColor: linkColor$2,
21246
21374
  formBackgroundColor: formBackgroundColor$1,
21247
21375
  inputBackgroundColor: inputBackgroundColor$1,
@@ -21249,7 +21377,7 @@ var fallbackValues$h = {
21249
21377
  labelColor: labelColor$1,
21250
21378
  borderColor: borderColor$1,
21251
21379
  lineHeight: lineHeight$3,
21252
- fontSize: fontSize$6,
21380
+ fontSize: fontSize$7,
21253
21381
  errorFontSize: errorFontSize$1,
21254
21382
  fontWeight: fontWeight$3,
21255
21383
  hoverFocusStyles: hoverFocusStyles$1,
@@ -21306,16 +21434,16 @@ function _templateObject2$d() {
21306
21434
  return data;
21307
21435
  }
21308
21436
 
21309
- function _templateObject$p() {
21437
+ function _templateObject$q() {
21310
21438
  var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n ", "\n transition: background 0.3s ease;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
21311
21439
 
21312
- _templateObject$p = function _templateObject() {
21440
+ _templateObject$q = function _templateObject() {
21313
21441
  return data;
21314
21442
  };
21315
21443
 
21316
21444
  return data;
21317
21445
  }
21318
- var InputField = styled__default.input(_templateObject$p(), function (_ref) {
21446
+ var InputField = styled__default.input(_templateObject$q(), function (_ref) {
21319
21447
  var field = _ref.field,
21320
21448
  showErrors = _ref.showErrors,
21321
21449
  themeValues = _ref.themeValues;
@@ -21497,7 +21625,7 @@ var FormInput = function FormInput(_ref15) {
21497
21625
  }, decorator)));
21498
21626
  };
21499
21627
 
21500
- var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$h, "default");
21628
+ var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$i, "default");
21501
21629
 
21502
21630
  var FormInputRow = function FormInputRow(_ref) {
21503
21631
  var _ref$breakpoint = _ref.breakpoint,
@@ -21547,7 +21675,7 @@ var FormContainer = function FormContainer(_ref) {
21547
21675
  }, rest), children);
21548
21676
  };
21549
21677
 
21550
- var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$h, "default");
21678
+ var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$i, "default");
21551
21679
 
21552
21680
  var FormFooterPanel = function FormFooterPanel(_ref) {
21553
21681
  var themeValues = _ref.themeValues,
@@ -21571,9 +21699,9 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
21571
21699
  })));
21572
21700
  };
21573
21701
 
21574
- var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$h, "default");
21702
+ var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$i, "default");
21575
21703
 
21576
- var fontSize$7 = {
21704
+ var fontSize$8 = {
21577
21705
  "default": "1rem",
21578
21706
  radio: "1.0625rem"
21579
21707
  };
@@ -21585,8 +21713,8 @@ var color$7 = {
21585
21713
  "default": "".concat(CHARADE_GREY),
21586
21714
  radio: "".concat(MINESHAFT_GREY)
21587
21715
  };
21588
- var fallbackValues$i = {
21589
- fontSize: fontSize$7,
21716
+ var fallbackValues$j = {
21717
+ fontSize: fontSize$8,
21590
21718
  padding: padding$1,
21591
21719
  color: color$7
21592
21720
  };
@@ -21628,11 +21756,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
21628
21756
  }, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
21629
21757
  };
21630
21758
 
21631
- var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$i, "default");
21759
+ var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$j, "default");
21632
21760
 
21633
21761
  var textColor$1 = "".concat(CHARADE_GREY);
21634
21762
  var autopayTextColor = "".concat(REGENT_GREY);
21635
- var fallbackValues$j = {
21763
+ var fallbackValues$k = {
21636
21764
  textColor: textColor$1,
21637
21765
  autopayTextColor: autopayTextColor
21638
21766
  };
@@ -21647,10 +21775,10 @@ function _templateObject2$e() {
21647
21775
  return data;
21648
21776
  }
21649
21777
 
21650
- function _templateObject$q() {
21778
+ function _templateObject$r() {
21651
21779
  var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"]);
21652
21780
 
21653
- _templateObject$q = function _templateObject() {
21781
+ _templateObject$r = function _templateObject() {
21654
21782
  return data;
21655
21783
  };
21656
21784
 
@@ -21659,7 +21787,7 @@ function _templateObject$q() {
21659
21787
  var ACTIVE = "ACTIVE";
21660
21788
  var EXPIRING_SOON = "EXPIRING_SOON";
21661
21789
  var EXPIRED = "EXPIRED";
21662
- var CreditCardWrapper = styled__default.div(_templateObject$q());
21790
+ var CreditCardWrapper = styled__default.div(_templateObject$r());
21663
21791
  var CCIconWrapper = styled__default.div(_templateObject2$e());
21664
21792
 
21665
21793
  var FormattedCreditCard = function FormattedCreditCard(_ref) {
@@ -21711,7 +21839,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
21711
21839
  }, "Autopay Enabled")));
21712
21840
  };
21713
21841
 
21714
- var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$j);
21842
+ var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
21715
21843
 
21716
21844
  function _templateObject3$8() {
21717
21845
  var data = _taggedTemplateLiteral(["\n display: block;\n top: auto;\n bottom: 6px;\n left: 2px;\n transition-duration: 0.13s;\n transition-delay: 0.13s;\n transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n margin-top: 12px;\n background-color: ", ";\n\n &, &::before, &::after {\n background-color: ", ";\n width: 30px;\n height: 3px;\n position: absolute;\n transition-property: transform;\n transition-duration: 0.15s;\n transition-timing-function: ease;\n }\n\n &::before, &::after {\n content: \"\";\n display: block;\n }\n\n &::before {\n top: -10px;\n transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n &::after {\n bottom: -10px;\n top: -20px;\n transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n opacity 0.1s linear;\n }\n\n &.active, &.active::before, &.active::after {\n background-color: ", ";\n }\n\n &.active {\n transform: translate3d(0, -10px, 0) rotate(-45deg);\n transition-delay: 0.22s;\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n &.active::after {\n top: 0;\n opacity: 0;\n transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n opacity: 0.1s 0.22s linear;\n }\n\n &.active::before {\n top: 0;\n transform: rotate(-90deg);\n transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n"]);
@@ -21733,16 +21861,16 @@ function _templateObject2$f() {
21733
21861
  return data;
21734
21862
  }
21735
21863
 
21736
- function _templateObject$r() {
21864
+ function _templateObject$s() {
21737
21865
  var data = _taggedTemplateLiteral(["\n padding: 8px;\n display: inline-block;\n cursor: pointer;\n transition-property: opacity;\n transition-duration: 0.15s;\n transition-timing-function: linear;\n font: inherit;\n color: inherit;\n text-transform: none;\n background-color: transparent;\n border: 0;\n margin: 0;\n overflow: visible;\n\n &:focus {\n outline: none;\n }\n"]);
21738
21866
 
21739
- _templateObject$r = function _templateObject() {
21867
+ _templateObject$s = function _templateObject() {
21740
21868
  return data;
21741
21869
  };
21742
21870
 
21743
21871
  return data;
21744
21872
  }
21745
- var Hamburger = styled__default.button(_templateObject$r());
21873
+ var Hamburger = styled__default.button(_templateObject$s());
21746
21874
  var HamburgerBox = styled__default.span(_templateObject2$f());
21747
21875
  var HamburgerInner = styled__default.span(_templateObject3$8(), function (_ref) {
21748
21876
  var inactiveColor = _ref.inactiveColor;
@@ -21847,7 +21975,7 @@ var fontWeight$4 = {
21847
21975
  pL: "600",
21848
21976
  h6: "700"
21849
21977
  };
21850
- var fallbackValues$k = {
21978
+ var fallbackValues$l = {
21851
21979
  fontWeight: fontWeight$4
21852
21980
  };
21853
21981
 
@@ -21875,7 +22003,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
21875
22003
  }, amount));
21876
22004
  };
21877
22005
 
21878
- var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$k, "default");
22006
+ var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$l, "default");
21879
22007
 
21880
22008
  var weightTitle = {
21881
22009
  "default": "600",
@@ -21885,7 +22013,7 @@ var paragraphVariant = {
21885
22013
  "default": "pL",
21886
22014
  small: "pS"
21887
22015
  };
21888
- var fallbackValues$l = {
22016
+ var fallbackValues$m = {
21889
22017
  weightTitle: weightTitle,
21890
22018
  paragraphVariant: paragraphVariant
21891
22019
  };
@@ -21914,10 +22042,10 @@ var LineItem = function LineItem(_ref) {
21914
22042
  }, amount));
21915
22043
  };
21916
22044
 
21917
- var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$l, "default");
22045
+ var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$m, "default");
21918
22046
 
21919
22047
  var color$8 = "#15749D";
21920
- var fallbackValues$m = {
22048
+ var fallbackValues$n = {
21921
22049
  color: color$8
21922
22050
  };
21923
22051
 
@@ -21931,16 +22059,16 @@ function _templateObject2$g() {
21931
22059
  return data;
21932
22060
  }
21933
22061
 
21934
- function _templateObject$s() {
22062
+ function _templateObject$t() {
21935
22063
  var data = _taggedTemplateLiteral(["\n animation: rotate 2s linear infinite;\n margin: -25px 0 0 -25px;\n width: ", "px;\n height: ", "px;\n & .path {\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"]);
21936
22064
 
21937
- _templateObject$s = function _templateObject() {
22065
+ _templateObject$t = function _templateObject() {
21938
22066
  return data;
21939
22067
  };
21940
22068
 
21941
22069
  return data;
21942
22070
  }
21943
- var SpinnerSvgAnimation = styled__default.svg(_templateObject$s(), function (_ref) {
22071
+ var SpinnerSvgAnimation = styled__default.svg(_templateObject$t(), function (_ref) {
21944
22072
  var size = _ref.size;
21945
22073
  return size;
21946
22074
  }, function (_ref2) {
@@ -21969,7 +22097,7 @@ var Spinner$1 = function Spinner(_ref4) {
21969
22097
  })));
21970
22098
  };
21971
22099
 
21972
- var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$m);
22100
+ var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$n);
21973
22101
 
21974
22102
  var Loading = function Loading() {
21975
22103
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -22217,10 +22345,10 @@ function _templateObject2$h() {
22217
22345
  return data;
22218
22346
  }
22219
22347
 
22220
- function _templateObject$t() {
22348
+ function _templateObject$u() {
22221
22349
  var data = _taggedTemplateLiteral(["", " is too short"]);
22222
22350
 
22223
- _templateObject$t = function _templateObject() {
22351
+ _templateObject$u = function _templateObject() {
22224
22352
  return data;
22225
22353
  };
22226
22354
 
@@ -22266,7 +22394,7 @@ with interpolation.
22266
22394
  */
22267
22395
 
22268
22396
 
22269
- var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$t(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15(), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16(), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
22397
+ var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$u(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15(), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16(), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
22270
22398
  // Neutral - has not been validated
22271
22399
  // Invalid - has been validated and has an error
22272
22400
  // Valid - has been validated and has no error
@@ -22391,7 +22519,7 @@ var height$1 = {
22391
22519
  "default": "3rem",
22392
22520
  large: "192px"
22393
22521
  };
22394
- var fallbackValues$n = {
22522
+ var fallbackValues$o = {
22395
22523
  color: color$9,
22396
22524
  height: height$1
22397
22525
  };
@@ -22484,12 +22612,12 @@ var Placeholder = function Placeholder(_ref2) {
22484
22612
  }, text)))))))))));
22485
22613
  };
22486
22614
 
22487
- var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$n, "default");
22615
+ var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$o, "default");
22488
22616
 
22489
22617
  var backgroundColor$4 = {
22490
22618
  "default": "".concat(WHITE)
22491
22619
  };
22492
- var fallbackValues$o = {
22620
+ var fallbackValues$p = {
22493
22621
  backgroundColor: backgroundColor$4
22494
22622
  };
22495
22623
 
@@ -22517,25 +22645,25 @@ var ProcessingFee = function ProcessingFee(_ref) {
22517
22645
  }));
22518
22646
  };
22519
22647
 
22520
- var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$o, "default");
22648
+ var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$p, "default");
22521
22649
 
22522
22650
  var activeColor$4 = "".concat(MATISSE_BLUE);
22523
22651
  var inactiveColor = "".concat(GREY_CHATEAU);
22524
- var fallbackValues$p = {
22652
+ var fallbackValues$q = {
22525
22653
  activeColor: activeColor$4,
22526
22654
  inactiveColor: inactiveColor
22527
22655
  };
22528
22656
 
22529
- function _templateObject$u() {
22657
+ function _templateObject$v() {
22530
22658
  var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n"]);
22531
22659
 
22532
- _templateObject$u = function _templateObject() {
22660
+ _templateObject$v = function _templateObject() {
22533
22661
  return data;
22534
22662
  };
22535
22663
 
22536
22664
  return data;
22537
22665
  }
22538
- var HiddenRadioButton = styled__default.input(_templateObject$u(), function (_ref) {
22666
+ var HiddenRadioButton = styled__default.input(_templateObject$v(), function (_ref) {
22539
22667
  var disabled = _ref.disabled;
22540
22668
  return disabled ? "auto" : "pointer";
22541
22669
  });
@@ -22617,12 +22745,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
22617
22745
  })));
22618
22746
  };
22619
22747
 
22620
- var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$p);
22748
+ var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$q);
22621
22749
 
22622
22750
  var border$2 = {
22623
22751
  "default": "1px solid #caced8"
22624
22752
  };
22625
- var fallbackValues$q = {
22753
+ var fallbackValues$r = {
22626
22754
  border: border$2
22627
22755
  };
22628
22756
 
@@ -22697,7 +22825,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
22697
22825
  })))));
22698
22826
  };
22699
22827
 
22700
- var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$q, "default");
22828
+ var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$r, "default");
22701
22829
 
22702
22830
  var borderColor$2 = {
22703
22831
  "default": "".concat(GREY_CHATEAU)
@@ -22705,7 +22833,7 @@ var borderColor$2 = {
22705
22833
  var borderSize = {
22706
22834
  "default": "1px"
22707
22835
  };
22708
- var fallbackValues$r = {
22836
+ var fallbackValues$s = {
22709
22837
  borderColor: borderColor$2,
22710
22838
  borderSize: borderSize
22711
22839
  };
@@ -22722,7 +22850,7 @@ var SolidDivider = function SolidDivider(_ref) {
22722
22850
  });
22723
22851
  };
22724
22852
 
22725
- var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$r, "default");
22853
+ var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$s, "default");
22726
22854
 
22727
22855
  var placeHolderOptionUS = {
22728
22856
  text: "Please select state",
@@ -33297,6 +33425,125 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
33297
33425
  });
33298
33426
  };
33299
33427
 
33428
+ function _templateObject$w() {
33429
+ var data = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"]);
33430
+
33431
+ _templateObject$w = function _templateObject() {
33432
+ return data;
33433
+ };
33434
+
33435
+ return data;
33436
+ }
33437
+ var TitleText = styled__default.h1(_templateObject$w(), function (_ref) {
33438
+ var fontSize = _ref.fontSize;
33439
+ return fontSize;
33440
+ }, function (_ref2) {
33441
+ var color = _ref2.color;
33442
+ return color;
33443
+ }, function (_ref3) {
33444
+ var weight = _ref3.weight;
33445
+ return weight;
33446
+ }, function (_ref4) {
33447
+ var margin = _ref4.margin;
33448
+ return margin;
33449
+ }, function (_ref5) {
33450
+ var textAlign = _ref5.textAlign;
33451
+ return textAlign;
33452
+ }, function (_ref6) {
33453
+ var fontFamily = _ref6.fontFamily;
33454
+ return fontFamily;
33455
+ }, function (_ref7) {
33456
+ var extraStyles = _ref7.extraStyles;
33457
+ return extraStyles;
33458
+ });
33459
+
33460
+ var fontSize$9 = {
33461
+ large: "1.5rem",
33462
+ small: "1.25rem"
33463
+ };
33464
+ var fontFamily$5 = {
33465
+ large: "Public Sans",
33466
+ small: "Public Sans"
33467
+ };
33468
+ var mobileFontSize$1 = {
33469
+ large: "1.5rem",
33470
+ small: "1.2142rem"
33471
+ };
33472
+ var fallbackValues$t = {
33473
+ fontFamily: fontFamily$5,
33474
+ fontSize: fontSize$9
33475
+ };
33476
+ var mobileFallbackValues$1 = {
33477
+ fontFamily: fontFamily$5,
33478
+ fontSize: mobileFontSize$1
33479
+ };
33480
+ var MOBILE_BREAKPOINT$1 = 768;
33481
+
33482
+ /*
33483
+ New responsive text component for Title elements
33484
+ Size is decoupled from tag
33485
+ Comes with two variants - "large" and "small"
33486
+ Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
33487
+ Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
33488
+
33489
+ If you need a smaller text size, use the <Detail /> atom, which has smaller variants
33490
+
33491
+ Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
33492
+ If you need an inline text element (span), use the <Text /> atom
33493
+ The "as" value should be dictated by the structure of your page, not what font-size you want
33494
+
33495
+ Title / Detail both use slightly different desktop/mobile scales
33496
+ (Mobile scale is different to allow for design-friendly px values)
33497
+ Both atoms detect the presence of a mobile device on their own
33498
+ and apply the corresponding scale
33499
+
33500
+ Mobile breakpoint value is specified in Title.theme.js
33501
+
33502
+ If you want to disable mobile text scales (use the same rem scale for desktop/mobile), then use a theme in FCS to set both the "large" and "small" variants to use the same rem sizes. FCS themes override fallbacks defined in the .theme file
33503
+ */
33504
+
33505
+ var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
33506
+ var isTouchDevice$2 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
33507
+ var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$2;
33508
+ var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$t;
33509
+
33510
+ var Title = function Title(_ref) {
33511
+ var themeValues = _ref.themeValues,
33512
+ _ref$weight = _ref.weight,
33513
+ weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
33514
+ _ref$color = _ref.color,
33515
+ color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
33516
+ _ref$margin = _ref.margin,
33517
+ margin = _ref$margin === void 0 ? 0 : _ref$margin,
33518
+ textAlign = _ref.textAlign,
33519
+ _ref$extraStyles = _ref.extraStyles,
33520
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
33521
+ className = _ref.className,
33522
+ _ref$variant = _ref.variant,
33523
+ variant = _ref$variant === void 0 ? "large" : _ref$variant,
33524
+ _ref$as = _ref.as,
33525
+ as = _ref$as === void 0 ? "h1" : _ref$as,
33526
+ dataQa = _ref.dataQa,
33527
+ children = _ref.children,
33528
+ rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"]);
33529
+
33530
+ return /*#__PURE__*/React__default.createElement(TitleText, _extends({
33531
+ variant: variant,
33532
+ as: as,
33533
+ weight: weight,
33534
+ color: color,
33535
+ margin: margin,
33536
+ textAlign: textAlign,
33537
+ extraStyles: extraStyles,
33538
+ className: className,
33539
+ fontFamily: themeValues.fontFamily,
33540
+ fontSize: themeValues.fontSize,
33541
+ "data-qa": dataQa
33542
+ }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
33543
+ };
33544
+
33545
+ var Title$1 = themeComponent(Title, "Title", fallbacks$1, "large");
33546
+
33300
33547
  var onBackground = "".concat(MATISSE_BLUE);
33301
33548
  var disabledBackground = "".concat(IRON_GREY);
33302
33549
  var white = "".concat(WHITE);
@@ -33304,7 +33551,7 @@ var offBackground = "".concat(REGENT_GREY);
33304
33551
  var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
33305
33552
  var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
33306
33553
  var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
33307
- var fallbackValues$s = {
33554
+ var fallbackValues$u = {
33308
33555
  onBackground: onBackground,
33309
33556
  disabledBackground: disabledBackground,
33310
33557
  white: white,
@@ -33343,16 +33590,16 @@ function _templateObject2$i() {
33343
33590
  return data;
33344
33591
  }
33345
33592
 
33346
- function _templateObject$v() {
33593
+ function _templateObject$x() {
33347
33594
  var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"]);
33348
33595
 
33349
- _templateObject$v = function _templateObject() {
33596
+ _templateObject$x = function _templateObject() {
33350
33597
  return data;
33351
33598
  };
33352
33599
 
33353
33600
  return data;
33354
33601
  }
33355
- var HiddenToggleSwitchBox = styled__default.input(_templateObject$v(), function (_ref) {
33602
+ var HiddenToggleSwitchBox = styled__default.input(_templateObject$x(), function (_ref) {
33356
33603
  var disabled = _ref.disabled;
33357
33604
  return disabled ? "auto" : "pointer";
33358
33605
  }, function (_ref2) {
@@ -33506,7 +33753,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
33506
33753
  }, label))));
33507
33754
  };
33508
33755
 
33509
- var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$s);
33756
+ var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$u);
33510
33757
 
33511
33758
  var background$1 = "".concat(ATHENS_GREY);
33512
33759
  var white$1 = "".concat(WHITE);
@@ -33519,16 +33766,16 @@ var themeValues = {
33519
33766
  focusBorder: focusBorder
33520
33767
  };
33521
33768
 
33522
- function _templateObject$w() {
33769
+ function _templateObject$y() {
33523
33770
  var data = _taggedTemplateLiteral(["\n display: flex;\n align-content: center;\n align-items: center;\n background: ", ";\n\n input {\n border: 0;\n height: 72px;\n width: 100%;\n padding: 1.5rem;\n padding-left: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: 400;\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n border: 1px solid transparent;\n\n &:focus {\n border: 1px solid ", ";\n }\n }\n"]);
33524
33771
 
33525
- _templateObject$w = function _templateObject() {
33772
+ _templateObject$y = function _templateObject() {
33526
33773
  return data;
33527
33774
  };
33528
33775
 
33529
33776
  return data;
33530
33777
  }
33531
- var TypeaheadInputWrapper = styled__default.div(_templateObject$w(), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33778
+ var TypeaheadInputWrapper = styled__default.div(_templateObject$y(), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33532
33779
 
33533
33780
  var TypeaheadInput = function TypeaheadInput(_ref) {
33534
33781
  var handleChange = _ref.handleChange,
@@ -35472,7 +35719,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
35472
35719
  var titleColor = "#292A33";
35473
35720
  var headingBackgroundColor = "transparent";
35474
35721
  var bodyBackgroundColor = "transparent";
35475
- var fallbackValues$t = {
35722
+ var fallbackValues$v = {
35476
35723
  titleColor: titleColor,
35477
35724
  headingBackgroundColor: headingBackgroundColor,
35478
35725
  bodyBackgroundColor: bodyBackgroundColor
@@ -35579,7 +35826,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
35579
35826
  }, children))));
35580
35827
  };
35581
35828
 
35582
- var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$t);
35829
+ var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$v);
35583
35830
 
35584
35831
  var EditNameForm = function EditNameForm(_ref) {
35585
35832
  var fields = _ref.fields,
@@ -35653,16 +35900,16 @@ function _templateObject2$j() {
35653
35900
  return data;
35654
35901
  }
35655
35902
 
35656
- function _templateObject$x() {
35903
+ function _templateObject$z() {
35657
35904
  var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n background: ", ";\n border-color: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"]);
35658
35905
 
35659
- _templateObject$x = function _templateObject() {
35906
+ _templateObject$z = function _templateObject() {
35660
35907
  return data;
35661
35908
  };
35662
35909
 
35663
35910
  return data;
35664
35911
  }
35665
- var EditableListItem = styled__default.div(_templateObject$x(), function (_ref) {
35912
+ var EditableListItem = styled__default.div(_templateObject$z(), function (_ref) {
35666
35913
  var disabled = _ref.disabled;
35667
35914
  return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
35668
35915
  }, GHOST_GREY, function (_ref2) {
@@ -35859,16 +36106,16 @@ function _templateObject2$k() {
35859
36106
  return data;
35860
36107
  }
35861
36108
 
35862
- function _templateObject$y() {
36109
+ function _templateObject$A() {
35863
36110
  var data = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"]);
35864
36111
 
35865
- _templateObject$y = function _templateObject() {
36112
+ _templateObject$A = function _templateObject() {
35866
36113
  return data;
35867
36114
  };
35868
36115
 
35869
36116
  return data;
35870
36117
  }
35871
- var EditableTableContainer = styled__default.div(_templateObject$y(), function (_ref) {
36118
+ var EditableTableContainer = styled__default.div(_templateObject$A(), function (_ref) {
35872
36119
  var hide = _ref.hide;
35873
36120
  return hide ? "none" : "flex";
35874
36121
  });
@@ -36095,7 +36342,7 @@ ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
36095
36342
 
36096
36343
  var textColor$2 = "#ffffff";
36097
36344
  var backgroundColor$5 = "#182848";
36098
- var fallbackValues$u = {
36345
+ var fallbackValues$w = {
36099
36346
  textColor: textColor$2,
36100
36347
  backgroundColor: backgroundColor$5
36101
36348
  };
@@ -36141,7 +36388,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
36141
36388
  }), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
36142
36389
  };
36143
36390
 
36144
- var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$u));
36391
+ var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$w));
36145
36392
 
36146
36393
  var AccountBillIcon = function AccountBillIcon() {
36147
36394
  return /*#__PURE__*/React__default.createElement("svg", {
@@ -39221,7 +39468,7 @@ var Modal$1 = function Modal(_ref) {
39221
39468
  })))))))), children);
39222
39469
  };
39223
39470
 
39224
- var fontSize$8 = {
39471
+ var fontSize$a = {
39225
39472
  "default": "1.375rem",
39226
39473
  largeTitle: "1.75rem",
39227
39474
  small: "1.25rem"
@@ -39271,8 +39518,8 @@ var backgroundColor$6 = {
39271
39518
  largeTitle: WHITE,
39272
39519
  small: WHITE
39273
39520
  };
39274
- var fallbackValues$v = {
39275
- fontSize: fontSize$8,
39521
+ var fallbackValues$x = {
39522
+ fontSize: fontSize$a,
39276
39523
  fontWeight: fontWeight$5,
39277
39524
  fontColor: fontColor,
39278
39525
  lineHeight: lineHeight$4,
@@ -39312,7 +39559,7 @@ var Module = function Module(_ref) {
39312
39559
  }, children)));
39313
39560
  };
39314
39561
 
39315
- var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$v, "default"));
39562
+ var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$x, "default"));
39316
39563
 
39317
39564
  var backgroundColor$7 = {
39318
39565
  profile: "#3b414d",
@@ -39322,7 +39569,7 @@ var shadowColor = {
39322
39569
  profile: "#292A33",
39323
39570
  cms: "#292A33"
39324
39571
  };
39325
- var fallbackValues$w = {
39572
+ var fallbackValues$y = {
39326
39573
  backgroundColor: backgroundColor$7,
39327
39574
  shadowColor: shadowColor
39328
39575
  };
@@ -39363,12 +39610,12 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
39363
39610
  }, menuContent));
39364
39611
  };
39365
39612
 
39366
- var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$w, "profile");
39613
+ var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$y, "profile");
39367
39614
 
39368
- function _templateObject$z() {
39615
+ function _templateObject$B() {
39369
39616
  var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
39370
39617
 
39371
- _templateObject$z = function _templateObject() {
39618
+ _templateObject$B = function _templateObject() {
39372
39619
  return data;
39373
39620
  };
39374
39621
 
@@ -39404,7 +39651,7 @@ var menu = posed.div({
39404
39651
  }
39405
39652
  }
39406
39653
  });
39407
- var ImposterMenu = styled__default(menu)(_templateObject$z());
39654
+ var ImposterMenu = styled__default(menu)(_templateObject$B());
39408
39655
 
39409
39656
  var NavMenuMobile = function NavMenuMobile(_ref) {
39410
39657
  var id = _ref.id,
@@ -39425,7 +39672,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
39425
39672
  }, menuContent));
39426
39673
  };
39427
39674
 
39428
- var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$w, "profile");
39675
+ var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$y, "profile");
39429
39676
 
39430
39677
  var IconsModule = function IconsModule(_ref) {
39431
39678
  var icon = _ref.icon,
@@ -39479,7 +39726,7 @@ var activeColor$5 = "#0E506D";
39479
39726
  var linkColor$3 = "#357fb8";
39480
39727
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
39481
39728
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
39482
- var fallbackValues$x = {
39729
+ var fallbackValues$z = {
39483
39730
  color: color$a,
39484
39731
  hoverColor: hoverColor$4,
39485
39732
  activeColor: activeColor$5,
@@ -39562,7 +39809,7 @@ var AutopayModal = function AutopayModal(_ref) {
39562
39809
  }, "".concat(planType, " ").concat(nextAutopayDate)))));
39563
39810
  };
39564
39811
 
39565
- var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$x);
39812
+ var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$z);
39566
39813
 
39567
39814
  var AmountModule = function AmountModule(_ref) {
39568
39815
  var totalAmountDue = _ref.totalAmountDue,
@@ -40130,7 +40377,7 @@ var labeledAmountTotal = {
40130
40377
  "default": "h6",
40131
40378
  small: "p"
40132
40379
  };
40133
- var fallbackValues$y = {
40380
+ var fallbackValues$A = {
40134
40381
  backgroundColor: backgroundColor$8,
40135
40382
  lineItem: lineItem,
40136
40383
  labeledAmountSubtotal: labeledAmountSubtotal,
@@ -40153,7 +40400,7 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
40153
40400
  label: "Subtotal",
40154
40401
  amount: displayCurrency(subtotal)
40155
40402
  }), feeElems), /*#__PURE__*/React__default.createElement(SolidDivider$1, null), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
40156
- as: "h2",
40403
+ as: "p",
40157
40404
  variant: themeValues.labeledAmountTotal,
40158
40405
  label: "Total",
40159
40406
  amount: displayCurrency(total),
@@ -40312,12 +40559,12 @@ var PaymentDetails = function PaymentDetails(_ref4) {
40312
40559
  });
40313
40560
  };
40314
40561
 
40315
- var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$y, "default");
40562
+ var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$A, "default");
40316
40563
 
40317
40564
  var linkColor$4 = {
40318
40565
  "default": "#357fb8"
40319
40566
  };
40320
- var fontSize$9 = {
40567
+ var fontSize$b = {
40321
40568
  "default": "1rem"
40322
40569
  };
40323
40570
  var lineHeight$5 = {
@@ -40329,9 +40576,9 @@ var fontWeight$7 = {
40329
40576
  var modalLinkHoverFocus$1 = {
40330
40577
  "default": "outline: none; text-decoration: underline;"
40331
40578
  };
40332
- var fallbackValues$z = {
40579
+ var fallbackValues$B = {
40333
40580
  linkColor: linkColor$4,
40334
- fontSize: fontSize$9,
40581
+ fontSize: fontSize$b,
40335
40582
  lineHeight: lineHeight$5,
40336
40583
  fontWeight: fontWeight$7,
40337
40584
  modalLinkHoverFocus: modalLinkHoverFocus$1
@@ -40388,7 +40635,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
40388
40635
  }, link));
40389
40636
  };
40390
40637
 
40391
- var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$z, "default");
40638
+ var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$B, "default");
40392
40639
 
40393
40640
  var PaymentFormACH = function PaymentFormACH(_ref) {
40394
40641
  var _routingNumberErrors, _accountNumberErrors;
@@ -40813,7 +41060,7 @@ var headingDisabledColor = "".concat(ATHENS_GREY);
40813
41060
  var bodyBackgroundColor$1 = "#eeeeee";
40814
41061
  var borderColor$3 = "".concat(GREY_CHATEAU);
40815
41062
  var focusStyles = "outline: none;";
40816
- var fallbackValues$A = {
41063
+ var fallbackValues$C = {
40817
41064
  headingBackgroundColor: headingBackgroundColor$1,
40818
41065
  headingDisabledColor: headingDisabledColor,
40819
41066
  bodyBackgroundColor: bodyBackgroundColor$1,
@@ -40821,10 +41068,10 @@ var fallbackValues$A = {
40821
41068
  focusStyles: focusStyles
40822
41069
  };
40823
41070
 
40824
- function _templateObject$A() {
41071
+ function _templateObject$C() {
40825
41072
  var data = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "]);
40826
41073
 
40827
- _templateObject$A = function _templateObject() {
41074
+ _templateObject$C = function _templateObject() {
40828
41075
  return data;
40829
41076
  };
40830
41077
 
@@ -40926,7 +41173,7 @@ var RadioSection = function RadioSection(_ref) {
40926
41173
  }
40927
41174
  };
40928
41175
  var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
40929
- var RightIcon = styled__default.img(_templateObject$A(), function (_ref2) {
41176
+ var RightIcon = styled__default.img(_templateObject$C(), function (_ref2) {
40930
41177
  var isMobile = _ref2.isMobile;
40931
41178
  return isMobile ? "14px" : "18px";
40932
41179
  }, function (_ref3) {
@@ -41036,7 +41283,7 @@ var RadioSection = function RadioSection(_ref) {
41036
41283
  })));
41037
41284
  };
41038
41285
 
41039
- var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$A);
41286
+ var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$C);
41040
41287
 
41041
41288
  var RegistrationForm = function RegistrationForm(_ref) {
41042
41289
  var _emailErrorMessages, _passwordErrorMessage;
@@ -41326,7 +41573,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
41326
41573
  var activeTabBackground = "#FFFFFF";
41327
41574
  var activeTabAccent = "#15749D";
41328
41575
  var activeTabHover = "#B8D5E1";
41329
- var fallbackValues$B = {
41576
+ var fallbackValues$D = {
41330
41577
  activeTabBackground: activeTabBackground,
41331
41578
  activeTabAccent: activeTabAccent,
41332
41579
  activeTabHover: activeTabHover
@@ -41403,12 +41650,12 @@ var Tabs = function Tabs(_ref) {
41403
41650
  }))));
41404
41651
  };
41405
41652
 
41406
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$B);
41653
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$D);
41407
41654
 
41408
41655
  var activeTabBackground$1 = "#FFFFFF";
41409
41656
  var activeTabAccent$1 = "#15749D";
41410
41657
  var activeTabHover$1 = "#B8D5E1";
41411
- var fallbackValues$C = {
41658
+ var fallbackValues$E = {
41412
41659
  activeTabBackground: activeTabBackground$1,
41413
41660
  activeTabAccent: activeTabAccent$1,
41414
41661
  activeTabHover: activeTabHover$1
@@ -41464,7 +41711,7 @@ var TabSidebar = function TabSidebar(_ref) {
41464
41711
  })));
41465
41712
  };
41466
41713
 
41467
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$C);
41714
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$E);
41468
41715
 
41469
41716
  var backgroundColor$9 = {
41470
41717
  "default": "#ffffff",
@@ -41478,7 +41725,7 @@ var border$3 = {
41478
41725
  "default": "#cdcdcd",
41479
41726
  footer: "#cdcdcd"
41480
41727
  };
41481
- var fontSize$a = {
41728
+ var fontSize$c = {
41482
41729
  "default": "1rem",
41483
41730
  footer: "0.875rem"
41484
41731
  };
@@ -41498,11 +41745,11 @@ var accessibilityColor = {
41498
41745
  "default": "#3181E3",
41499
41746
  footer: "#3181E3"
41500
41747
  };
41501
- var fallbackValues$D = {
41748
+ var fallbackValues$F = {
41502
41749
  backgroundColor: backgroundColor$9,
41503
41750
  linkColor: linkColor$5,
41504
41751
  border: border$3,
41505
- fontSize: fontSize$a,
41752
+ fontSize: fontSize$c,
41506
41753
  lineHeight: lineHeight$6,
41507
41754
  fontWeight: fontWeight$8,
41508
41755
  modalLinkHoverFocus: modalLinkHoverFocus$2,
@@ -41560,7 +41807,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
41560
41807
  }, link));
41561
41808
  };
41562
41809
 
41563
- var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$D, "default");
41810
+ var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$F, "default");
41564
41811
 
41565
41812
  var TermsAndConditions = function TermsAndConditions(_ref) {
41566
41813
  var onCheck = _ref.onCheck,
@@ -41635,7 +41882,7 @@ var fontColor$1 = WHITE;
41635
41882
  var textAlign$1 = "left";
41636
41883
  var headerBackgroundColor = BRIGHT_GREY;
41637
41884
  var imageBackgroundColor = MATISSE_BLUE;
41638
- var fallbackValues$E = {
41885
+ var fallbackValues$G = {
41639
41886
  fontWeight: fontWeight$9,
41640
41887
  fontColor: fontColor$1,
41641
41888
  textAlign: textAlign$1,
@@ -41643,16 +41890,16 @@ var fallbackValues$E = {
41643
41890
  imageBackgroundColor: imageBackgroundColor
41644
41891
  };
41645
41892
 
41646
- function _templateObject$B() {
41893
+ function _templateObject$D() {
41647
41894
  var data = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"]);
41648
41895
 
41649
- _templateObject$B = function _templateObject() {
41896
+ _templateObject$D = function _templateObject() {
41650
41897
  return data;
41651
41898
  };
41652
41899
 
41653
41900
  return data;
41654
41901
  }
41655
- var WelcomeImage = styled__default.img(_templateObject$B());
41902
+ var WelcomeImage = styled__default.img(_templateObject$D());
41656
41903
 
41657
41904
  var WelcomeModule = function WelcomeModule(_ref) {
41658
41905
  var heading = _ref.heading,
@@ -41688,7 +41935,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
41688
41935
  })))));
41689
41936
  };
41690
41937
 
41691
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$E));
41938
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$G));
41692
41939
 
41693
41940
  var WorkflowTile = function WorkflowTile(_ref) {
41694
41941
  var _ref$workflowName = _ref.workflowName,
@@ -41736,7 +41983,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
41736
41983
  };
41737
41984
 
41738
41985
  var pageBackground = "#F6F6F9";
41739
- var fallbackValues$F = {
41986
+ var fallbackValues$H = {
41740
41987
  pageBackground: pageBackground
41741
41988
  };
41742
41989
 
@@ -41783,7 +42030,7 @@ var CenterSingle = function CenterSingle(_ref) {
41783
42030
  })));
41784
42031
  };
41785
42032
 
41786
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$F));
42033
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$H));
41787
42034
 
41788
42035
  var CenterStack = function CenterStack(_ref) {
41789
42036
  var header = _ref.header,
@@ -41825,7 +42072,7 @@ var CenterStack = function CenterStack(_ref) {
41825
42072
  })));
41826
42073
  };
41827
42074
 
41828
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$F));
42075
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$H));
41829
42076
 
41830
42077
  var CenterSingle$2 = function CenterSingle(_ref) {
41831
42078
  var header = _ref.header,
@@ -41865,7 +42112,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
41865
42112
  })));
41866
42113
  };
41867
42114
 
41868
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$F));
42115
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$H));
41869
42116
 
41870
42117
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
41871
42118
  var header = _ref.header,
@@ -41919,7 +42166,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
41919
42166
  })));
41920
42167
  };
41921
42168
 
41922
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$F));
42169
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$H));
41923
42170
 
41924
42171
  var SidebarStackContent = function SidebarStackContent(_ref) {
41925
42172
  var header = _ref.header,
@@ -41990,7 +42237,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
41990
42237
  })));
41991
42238
  };
41992
42239
 
41993
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$F));
42240
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$H));
41994
42241
 
41995
42242
 
41996
42243
 
@@ -42045,6 +42292,7 @@ exports.CountryDropdown = CountryDropdown;
42045
42292
  exports.Cover = Cover;
42046
42293
  exports.CustomerSearchIcon = CustomerSearchIcon;
42047
42294
  exports.DefaultPageTemplate = DefaultPageTemplate;
42295
+ exports.Detail = Detail$1;
42048
42296
  exports.DisplayBox = DisplayBox$1;
42049
42297
  exports.DisplayCard = DisplayCard;
42050
42298
  exports.Dropdown = Dropdown$1;
@@ -42153,6 +42401,7 @@ exports.TermsAndConditionsModal = TermsAndConditionsModal$1;
42153
42401
  exports.Text = Text$1;
42154
42402
  exports.Timeout = Timeout$1;
42155
42403
  exports.TimeoutImage = TimeoutImage;
42404
+ exports.Title = Title$1;
42156
42405
  exports.ToggleSwitch = ToggleSwitch$1;
42157
42406
  exports.TrashIcon = TrashIcon$1;
42158
42407
  exports.TypeaheadInput = TypeaheadInput;