@thecb/components 4.5.0-beta.1 → 4.5.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -20613,9 +20613,135 @@ var CountryDropdown = function CountryDropdown(_ref) {
20613
20613
  });
20614
20614
  };
20615
20615
 
20616
+ function _templateObject$p() {
20617
+ 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"]);
20618
+
20619
+ _templateObject$p = function _templateObject() {
20620
+ return data;
20621
+ };
20622
+
20623
+ return data;
20624
+ }
20625
+ var DetailText = styled__default.p(_templateObject$p(), function (_ref) {
20626
+ var fontSize = _ref.fontSize;
20627
+ return fontSize;
20628
+ }, function (_ref2) {
20629
+ var color = _ref2.color;
20630
+ return color;
20631
+ }, function (_ref3) {
20632
+ var weight = _ref3.weight;
20633
+ return weight;
20634
+ }, function (_ref4) {
20635
+ var margin = _ref4.margin;
20636
+ return margin;
20637
+ }, function (_ref5) {
20638
+ var textAlign = _ref5.textAlign;
20639
+ return textAlign;
20640
+ }, function (_ref6) {
20641
+ var fontFamily = _ref6.fontFamily;
20642
+ return fontFamily;
20643
+ }, function (_ref7) {
20644
+ var extraStyles = _ref7.extraStyles;
20645
+ return extraStyles;
20646
+ });
20647
+
20648
+ var fontSize$6 = {
20649
+ large: "1.125rem",
20650
+ regular: "1rem",
20651
+ small: "0.875rem",
20652
+ extraSmall: "0.75rem"
20653
+ };
20654
+ var fontFamily$4 = {
20655
+ large: "Public Sans",
20656
+ regular: "Public Sans",
20657
+ small: "Public Sans",
20658
+ extraSmall: "Public Sans"
20659
+ };
20660
+ var mobileFontSize = {
20661
+ large: "1.14285rem",
20662
+ regular: "1",
20663
+ small: "0.85714rem",
20664
+ extraSmall: "0.71428rem"
20665
+ };
20666
+ var fallbackValues$g = {
20667
+ fontFamily: fontFamily$4,
20668
+ fontSize: fontSize$6
20669
+ };
20670
+ var mobileFallbackValues = {
20671
+ fontFamily: fontFamily$4,
20672
+ fontSize: mobileFontSize
20673
+ };
20674
+ var MOBILE_BREAKPOINT = 768;
20675
+
20676
+ /*
20677
+ New responsive text component for Detail elements
20678
+ (Block level text elements which are smaller than "Title" elements)
20679
+ Size is decoupled from tag
20680
+ Comes with two variants - "large" and "small"
20681
+ Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
20682
+ Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
20683
+
20684
+ If you need a smaller larger size, use the <Title /> atom, which has larger variants
20685
+
20686
+ Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
20687
+ If you need an inline text element (span), use the <Text /> atom
20688
+ The "as" value should be dictated by the structure of your page, not what font-size you want
20689
+
20690
+ Title / Detail both use slightly different desktop/mobile scales
20691
+ (Mobile scale is different to allow for design-friendly px values)
20692
+ Both atoms detect the presence of a mobile device on their own
20693
+ and apply the corresponding scale
20694
+
20695
+ Mobile breakpoint value is specified in Detail.theme.js
20696
+
20697
+ 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
20698
+ */
20699
+
20700
+ var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
20701
+ var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
20702
+ var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice$1;
20703
+ var fallbacks = mobileDeviceDetected ? mobileFallbackValues : fallbackValues$g;
20704
+
20705
+ var Detail = function Detail(_ref) {
20706
+ var themeValues = _ref.themeValues,
20707
+ _ref$weight = _ref.weight,
20708
+ weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
20709
+ _ref$color = _ref.color,
20710
+ color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
20711
+ _ref$margin = _ref.margin,
20712
+ margin = _ref$margin === void 0 ? 0 : _ref$margin,
20713
+ textAlign = _ref.textAlign,
20714
+ _ref$extraStyles = _ref.extraStyles,
20715
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
20716
+ className = _ref.className,
20717
+ _ref$variant = _ref.variant,
20718
+ variant = _ref$variant === void 0 ? "regular" : _ref$variant,
20719
+ _ref$as = _ref.as,
20720
+ as = _ref$as === void 0 ? "p" : _ref$as,
20721
+ dataQa = _ref.dataQa,
20722
+ children = _ref.children,
20723
+ rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"]);
20724
+
20725
+ return /*#__PURE__*/React__default.createElement(DetailText, _extends({
20726
+ variant: variant,
20727
+ as: as,
20728
+ weight: weight,
20729
+ color: color,
20730
+ margin: margin,
20731
+ textAlign: textAlign,
20732
+ extraStyles: extraStyles,
20733
+ className: className,
20734
+ fontFamily: themeValues.fontFamily,
20735
+ fontSize: themeValues.fontSize,
20736
+ "data-qa": dataQa
20737
+ }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
20738
+ };
20739
+
20740
+ var Detail$1 = themeComponent(Detail, "Detail", fallbacks, "regular");
20741
+
20616
20742
  var backgroundColor$3 = WHITE;
20617
20743
  var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
20618
- var fallbackValues$g = {
20744
+ var fallbackValues$h = {
20619
20745
  backgroundColor: backgroundColor$3,
20620
20746
  boxShadow: boxShadow
20621
20747
  };
@@ -20636,7 +20762,7 @@ var DisplayBox = function DisplayBox(_ref) {
20636
20762
  }, children));
20637
20763
  };
20638
20764
 
20639
- var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$g);
20765
+ var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$h);
20640
20766
 
20641
20767
  var DisplayCard = function DisplayCard(_ref) {
20642
20768
  var title = _ref.title,
@@ -21013,7 +21139,7 @@ var lineHeight$3 = {
21013
21139
  "default": "1rem",
21014
21140
  disabled: "1rem"
21015
21141
  };
21016
- var fontSize$6 = {
21142
+ var fontSize$7 = {
21017
21143
  "default": "0.875rem",
21018
21144
  disabled: "0.875rem"
21019
21145
  };
@@ -21032,7 +21158,7 @@ var hoverFocusStyles$1 = {
21032
21158
  var formFooterPanel = {
21033
21159
  "default": "".concat(INFO_BLUE)
21034
21160
  };
21035
- var fallbackValues$h = {
21161
+ var fallbackValues$i = {
21036
21162
  linkColor: linkColor$2,
21037
21163
  formBackgroundColor: formBackgroundColor$1,
21038
21164
  inputBackgroundColor: inputBackgroundColor$1,
@@ -21040,7 +21166,7 @@ var fallbackValues$h = {
21040
21166
  labelColor: labelColor$1,
21041
21167
  borderColor: borderColor$1,
21042
21168
  lineHeight: lineHeight$3,
21043
- fontSize: fontSize$6,
21169
+ fontSize: fontSize$7,
21044
21170
  errorFontSize: errorFontSize$1,
21045
21171
  fontWeight: fontWeight$3,
21046
21172
  hoverFocusStyles: hoverFocusStyles$1,
@@ -21097,16 +21223,16 @@ function _templateObject2$d() {
21097
21223
  return data;
21098
21224
  }
21099
21225
 
21100
- function _templateObject$p() {
21226
+ function _templateObject$q() {
21101
21227
  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"]);
21102
21228
 
21103
- _templateObject$p = function _templateObject() {
21229
+ _templateObject$q = function _templateObject() {
21104
21230
  return data;
21105
21231
  };
21106
21232
 
21107
21233
  return data;
21108
21234
  }
21109
- var InputField = styled__default.input(_templateObject$p(), function (_ref) {
21235
+ var InputField = styled__default.input(_templateObject$q(), function (_ref) {
21110
21236
  var field = _ref.field,
21111
21237
  showErrors = _ref.showErrors,
21112
21238
  themeValues = _ref.themeValues;
@@ -21288,7 +21414,7 @@ var FormInput = function FormInput(_ref15) {
21288
21414
  }, decorator)));
21289
21415
  };
21290
21416
 
21291
- var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$h, "default");
21417
+ var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$i, "default");
21292
21418
 
21293
21419
  var FormInputRow = function FormInputRow(_ref) {
21294
21420
  var _ref$breakpoint = _ref.breakpoint,
@@ -21338,7 +21464,7 @@ var FormContainer = function FormContainer(_ref) {
21338
21464
  }, rest), children);
21339
21465
  };
21340
21466
 
21341
- var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$h, "default");
21467
+ var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$i, "default");
21342
21468
 
21343
21469
  var FormFooterPanel = function FormFooterPanel(_ref) {
21344
21470
  var themeValues = _ref.themeValues,
@@ -21362,9 +21488,9 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
21362
21488
  })));
21363
21489
  };
21364
21490
 
21365
- var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$h, "default");
21491
+ var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$i, "default");
21366
21492
 
21367
- var fontSize$7 = {
21493
+ var fontSize$8 = {
21368
21494
  "default": "1rem",
21369
21495
  radio: "1.0625rem"
21370
21496
  };
@@ -21376,8 +21502,8 @@ var color$7 = {
21376
21502
  "default": "".concat(CHARADE_GREY),
21377
21503
  radio: "".concat(MINESHAFT_GREY)
21378
21504
  };
21379
- var fallbackValues$i = {
21380
- fontSize: fontSize$7,
21505
+ var fallbackValues$j = {
21506
+ fontSize: fontSize$8,
21381
21507
  padding: padding$1,
21382
21508
  color: color$7
21383
21509
  };
@@ -21419,11 +21545,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
21419
21545
  }, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
21420
21546
  };
21421
21547
 
21422
- var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$i, "default");
21548
+ var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$j, "default");
21423
21549
 
21424
21550
  var textColor$1 = "".concat(CHARADE_GREY);
21425
21551
  var autopayTextColor = "".concat(REGENT_GREY);
21426
- var fallbackValues$j = {
21552
+ var fallbackValues$k = {
21427
21553
  textColor: textColor$1,
21428
21554
  autopayTextColor: autopayTextColor
21429
21555
  };
@@ -21438,10 +21564,10 @@ function _templateObject2$e() {
21438
21564
  return data;
21439
21565
  }
21440
21566
 
21441
- function _templateObject$q() {
21567
+ function _templateObject$r() {
21442
21568
  var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"]);
21443
21569
 
21444
- _templateObject$q = function _templateObject() {
21570
+ _templateObject$r = function _templateObject() {
21445
21571
  return data;
21446
21572
  };
21447
21573
 
@@ -21450,7 +21576,7 @@ function _templateObject$q() {
21450
21576
  var ACTIVE = "ACTIVE";
21451
21577
  var EXPIRING_SOON = "EXPIRING_SOON";
21452
21578
  var EXPIRED = "EXPIRED";
21453
- var CreditCardWrapper = styled__default.div(_templateObject$q());
21579
+ var CreditCardWrapper = styled__default.div(_templateObject$r());
21454
21580
  var CCIconWrapper = styled__default.div(_templateObject2$e());
21455
21581
 
21456
21582
  var FormattedCreditCard = function FormattedCreditCard(_ref) {
@@ -21502,7 +21628,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
21502
21628
  }, "Autopay Enabled")));
21503
21629
  };
21504
21630
 
21505
- var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$j);
21631
+ var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
21506
21632
 
21507
21633
  function _templateObject3$8() {
21508
21634
  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"]);
@@ -21524,16 +21650,16 @@ function _templateObject2$f() {
21524
21650
  return data;
21525
21651
  }
21526
21652
 
21527
- function _templateObject$r() {
21653
+ function _templateObject$s() {
21528
21654
  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"]);
21529
21655
 
21530
- _templateObject$r = function _templateObject() {
21656
+ _templateObject$s = function _templateObject() {
21531
21657
  return data;
21532
21658
  };
21533
21659
 
21534
21660
  return data;
21535
21661
  }
21536
- var Hamburger = styled__default.button(_templateObject$r());
21662
+ var Hamburger = styled__default.button(_templateObject$s());
21537
21663
  var HamburgerBox = styled__default.span(_templateObject2$f());
21538
21664
  var HamburgerInner = styled__default.span(_templateObject3$8(), function (_ref) {
21539
21665
  var inactiveColor = _ref.inactiveColor;
@@ -21637,7 +21763,7 @@ var fontWeight$4 = {
21637
21763
  pL: "600",
21638
21764
  h6: "700"
21639
21765
  };
21640
- var fallbackValues$k = {
21766
+ var fallbackValues$l = {
21641
21767
  fontWeight: fontWeight$4
21642
21768
  };
21643
21769
 
@@ -21664,7 +21790,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
21664
21790
  }, amount));
21665
21791
  };
21666
21792
 
21667
- var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$k, "default");
21793
+ var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$l, "default");
21668
21794
 
21669
21795
  var weightTitle = {
21670
21796
  "default": "600",
@@ -21674,7 +21800,7 @@ var paragraphVariant = {
21674
21800
  "default": "pL",
21675
21801
  small: "p"
21676
21802
  };
21677
- var fallbackValues$l = {
21803
+ var fallbackValues$m = {
21678
21804
  weightTitle: weightTitle,
21679
21805
  paragraphVariant: paragraphVariant
21680
21806
  };
@@ -21703,10 +21829,10 @@ var LineItem = function LineItem(_ref) {
21703
21829
  }, amount));
21704
21830
  };
21705
21831
 
21706
- var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$l, "default");
21832
+ var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$m, "default");
21707
21833
 
21708
21834
  var color$8 = "#15749D";
21709
- var fallbackValues$m = {
21835
+ var fallbackValues$n = {
21710
21836
  color: color$8
21711
21837
  };
21712
21838
 
@@ -21720,16 +21846,16 @@ function _templateObject2$g() {
21720
21846
  return data;
21721
21847
  }
21722
21848
 
21723
- function _templateObject$s() {
21849
+ function _templateObject$t() {
21724
21850
  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"]);
21725
21851
 
21726
- _templateObject$s = function _templateObject() {
21852
+ _templateObject$t = function _templateObject() {
21727
21853
  return data;
21728
21854
  };
21729
21855
 
21730
21856
  return data;
21731
21857
  }
21732
- var SpinnerSvgAnimation = styled__default.svg(_templateObject$s(), function (_ref) {
21858
+ var SpinnerSvgAnimation = styled__default.svg(_templateObject$t(), function (_ref) {
21733
21859
  var size = _ref.size;
21734
21860
  return size;
21735
21861
  }, function (_ref2) {
@@ -21758,7 +21884,7 @@ var Spinner$1 = function Spinner(_ref4) {
21758
21884
  })));
21759
21885
  };
21760
21886
 
21761
- var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$m);
21887
+ var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$n);
21762
21888
 
21763
21889
  var Loading = function Loading() {
21764
21890
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -22006,10 +22132,10 @@ function _templateObject2$h() {
22006
22132
  return data;
22007
22133
  }
22008
22134
 
22009
- function _templateObject$t() {
22135
+ function _templateObject$u() {
22010
22136
  var data = _taggedTemplateLiteral(["", " is too short"]);
22011
22137
 
22012
- _templateObject$t = function _templateObject() {
22138
+ _templateObject$u = function _templateObject() {
22013
22139
  return data;
22014
22140
  };
22015
22141
 
@@ -22055,7 +22181,7 @@ with interpolation.
22055
22181
  */
22056
22182
 
22057
22183
 
22058
- 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
22184
+ 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
22059
22185
  // Neutral - has not been validated
22060
22186
  // Invalid - has been validated and has an error
22061
22187
  // Valid - has been validated and has no error
@@ -22180,7 +22306,7 @@ var height$1 = {
22180
22306
  "default": "3rem",
22181
22307
  large: "192px"
22182
22308
  };
22183
- var fallbackValues$n = {
22309
+ var fallbackValues$o = {
22184
22310
  color: color$9,
22185
22311
  height: height$1
22186
22312
  };
@@ -22273,12 +22399,12 @@ var Placeholder = function Placeholder(_ref2) {
22273
22399
  }, text)))))))))));
22274
22400
  };
22275
22401
 
22276
- var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$n, "default");
22402
+ var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$o, "default");
22277
22403
 
22278
22404
  var backgroundColor$4 = {
22279
22405
  "default": "".concat(WHITE)
22280
22406
  };
22281
- var fallbackValues$o = {
22407
+ var fallbackValues$p = {
22282
22408
  backgroundColor: backgroundColor$4
22283
22409
  };
22284
22410
 
@@ -22306,25 +22432,25 @@ var ProcessingFee = function ProcessingFee(_ref) {
22306
22432
  }));
22307
22433
  };
22308
22434
 
22309
- var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$o, "default");
22435
+ var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$p, "default");
22310
22436
 
22311
22437
  var activeColor$4 = "".concat(MATISSE_BLUE);
22312
22438
  var inactiveColor = "".concat(GREY_CHATEAU);
22313
- var fallbackValues$p = {
22439
+ var fallbackValues$q = {
22314
22440
  activeColor: activeColor$4,
22315
22441
  inactiveColor: inactiveColor
22316
22442
  };
22317
22443
 
22318
- function _templateObject$u() {
22444
+ function _templateObject$v() {
22319
22445
  var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n"]);
22320
22446
 
22321
- _templateObject$u = function _templateObject() {
22447
+ _templateObject$v = function _templateObject() {
22322
22448
  return data;
22323
22449
  };
22324
22450
 
22325
22451
  return data;
22326
22452
  }
22327
- var HiddenRadioButton = styled__default.input(_templateObject$u(), function (_ref) {
22453
+ var HiddenRadioButton = styled__default.input(_templateObject$v(), function (_ref) {
22328
22454
  var disabled = _ref.disabled;
22329
22455
  return disabled ? "auto" : "pointer";
22330
22456
  });
@@ -22406,12 +22532,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
22406
22532
  })));
22407
22533
  };
22408
22534
 
22409
- var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$p);
22535
+ var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$q);
22410
22536
 
22411
22537
  var border$2 = {
22412
22538
  "default": "1px solid #caced8"
22413
22539
  };
22414
- var fallbackValues$q = {
22540
+ var fallbackValues$r = {
22415
22541
  border: border$2
22416
22542
  };
22417
22543
 
@@ -22486,7 +22612,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
22486
22612
  })))));
22487
22613
  };
22488
22614
 
22489
- var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$q, "default");
22615
+ var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$r, "default");
22490
22616
 
22491
22617
  var borderColor$2 = {
22492
22618
  "default": "".concat(GREY_CHATEAU)
@@ -22494,7 +22620,7 @@ var borderColor$2 = {
22494
22620
  var borderSize = {
22495
22621
  "default": "1px"
22496
22622
  };
22497
- var fallbackValues$r = {
22623
+ var fallbackValues$s = {
22498
22624
  borderColor: borderColor$2,
22499
22625
  borderSize: borderSize
22500
22626
  };
@@ -22511,7 +22637,7 @@ var SolidDivider = function SolidDivider(_ref) {
22511
22637
  });
22512
22638
  };
22513
22639
 
22514
- var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$r, "default");
22640
+ var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$s, "default");
22515
22641
 
22516
22642
  var placeHolderOptionUS = {
22517
22643
  text: "Please select state",
@@ -33086,6 +33212,125 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
33086
33212
  });
33087
33213
  };
33088
33214
 
33215
+ function _templateObject$w() {
33216
+ 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"]);
33217
+
33218
+ _templateObject$w = function _templateObject() {
33219
+ return data;
33220
+ };
33221
+
33222
+ return data;
33223
+ }
33224
+ var TitleText = styled__default.h1(_templateObject$w(), function (_ref) {
33225
+ var fontSize = _ref.fontSize;
33226
+ return fontSize;
33227
+ }, function (_ref2) {
33228
+ var color = _ref2.color;
33229
+ return color;
33230
+ }, function (_ref3) {
33231
+ var weight = _ref3.weight;
33232
+ return weight;
33233
+ }, function (_ref4) {
33234
+ var margin = _ref4.margin;
33235
+ return margin;
33236
+ }, function (_ref5) {
33237
+ var textAlign = _ref5.textAlign;
33238
+ return textAlign;
33239
+ }, function (_ref6) {
33240
+ var fontFamily = _ref6.fontFamily;
33241
+ return fontFamily;
33242
+ }, function (_ref7) {
33243
+ var extraStyles = _ref7.extraStyles;
33244
+ return extraStyles;
33245
+ });
33246
+
33247
+ var fontSize$9 = {
33248
+ large: "1.5rem",
33249
+ small: "1.25rem"
33250
+ };
33251
+ var fontFamily$5 = {
33252
+ large: "Public Sans",
33253
+ small: "Public Sans"
33254
+ };
33255
+ var mobileFontSize$1 = {
33256
+ large: "1.5rem",
33257
+ small: "1.2142rem"
33258
+ };
33259
+ var fallbackValues$t = {
33260
+ fontFamily: fontFamily$5,
33261
+ fontSize: fontSize$9
33262
+ };
33263
+ var mobileFallbackValues$1 = {
33264
+ fontFamily: fontFamily$5,
33265
+ fontSize: mobileFontSize$1
33266
+ };
33267
+ var MOBILE_BREAKPOINT$1 = 768;
33268
+
33269
+ /*
33270
+ New responsive text component for Title elements
33271
+ Size is decoupled from tag
33272
+ Comes with two variants - "large" and "small"
33273
+ Large variant results in text that is 1.5rem (24px desktop, 21px mobile)
33274
+ Small variant results in text that is 1.25rem/1.2142rem (20px desktop, 17px mobile)
33275
+
33276
+ If you need a smaller text size, use the <Detail /> atom, which has smaller variants
33277
+
33278
+ Use the "as" prop to specify element type, can use any of: h1/h2/h3/h4/h5/h6/p
33279
+ If you need an inline text element (span), use the <Text /> atom
33280
+ The "as" value should be dictated by the structure of your page, not what font-size you want
33281
+
33282
+ Title / Detail both use slightly different desktop/mobile scales
33283
+ (Mobile scale is different to allow for design-friendly px values)
33284
+ Both atoms detect the presence of a mobile device on their own
33285
+ and apply the corresponding scale
33286
+
33287
+ Mobile breakpoint value is specified in Title.theme.js
33288
+
33289
+ 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
33290
+ */
33291
+
33292
+ var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
33293
+ var isTouchDevice$2 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
33294
+ var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$2;
33295
+ var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$t;
33296
+
33297
+ var Title = function Title(_ref) {
33298
+ var themeValues = _ref.themeValues,
33299
+ _ref$weight = _ref.weight,
33300
+ weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
33301
+ _ref$color = _ref.color,
33302
+ color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
33303
+ _ref$margin = _ref.margin,
33304
+ margin = _ref$margin === void 0 ? 0 : _ref$margin,
33305
+ textAlign = _ref.textAlign,
33306
+ _ref$extraStyles = _ref.extraStyles,
33307
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
33308
+ className = _ref.className,
33309
+ _ref$variant = _ref.variant,
33310
+ variant = _ref$variant === void 0 ? "large" : _ref$variant,
33311
+ _ref$as = _ref.as,
33312
+ as = _ref$as === void 0 ? "h1" : _ref$as,
33313
+ dataQa = _ref.dataQa,
33314
+ children = _ref.children,
33315
+ rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"]);
33316
+
33317
+ return /*#__PURE__*/React__default.createElement(TitleText, _extends({
33318
+ variant: variant,
33319
+ as: as,
33320
+ weight: weight,
33321
+ color: color,
33322
+ margin: margin,
33323
+ textAlign: textAlign,
33324
+ extraStyles: extraStyles,
33325
+ className: className,
33326
+ fontFamily: themeValues.fontFamily,
33327
+ fontSize: themeValues.fontSize,
33328
+ "data-qa": dataQa
33329
+ }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
33330
+ };
33331
+
33332
+ var Title$1 = themeComponent(Title, "Title", fallbacks$1, "large");
33333
+
33089
33334
  var onBackground = "".concat(MATISSE_BLUE);
33090
33335
  var disabledBackground = "".concat(IRON_GREY);
33091
33336
  var white = "".concat(WHITE);
@@ -33093,7 +33338,7 @@ var offBackground = "".concat(REGENT_GREY);
33093
33338
  var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
33094
33339
  var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
33095
33340
  var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
33096
- var fallbackValues$s = {
33341
+ var fallbackValues$u = {
33097
33342
  onBackground: onBackground,
33098
33343
  disabledBackground: disabledBackground,
33099
33344
  white: white,
@@ -33132,16 +33377,16 @@ function _templateObject2$i() {
33132
33377
  return data;
33133
33378
  }
33134
33379
 
33135
- function _templateObject$v() {
33380
+ function _templateObject$x() {
33136
33381
  var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"]);
33137
33382
 
33138
- _templateObject$v = function _templateObject() {
33383
+ _templateObject$x = function _templateObject() {
33139
33384
  return data;
33140
33385
  };
33141
33386
 
33142
33387
  return data;
33143
33388
  }
33144
- var HiddenToggleSwitchBox = styled__default.input(_templateObject$v(), function (_ref) {
33389
+ var HiddenToggleSwitchBox = styled__default.input(_templateObject$x(), function (_ref) {
33145
33390
  var disabled = _ref.disabled;
33146
33391
  return disabled ? "auto" : "pointer";
33147
33392
  }, function (_ref2) {
@@ -33295,7 +33540,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
33295
33540
  }, label))));
33296
33541
  };
33297
33542
 
33298
- var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$s);
33543
+ var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$u);
33299
33544
 
33300
33545
  var background$1 = "".concat(ATHENS_GREY);
33301
33546
  var white$1 = "".concat(WHITE);
@@ -33308,16 +33553,16 @@ var themeValues = {
33308
33553
  focusBorder: focusBorder
33309
33554
  };
33310
33555
 
33311
- function _templateObject$w() {
33556
+ function _templateObject$y() {
33312
33557
  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"]);
33313
33558
 
33314
- _templateObject$w = function _templateObject() {
33559
+ _templateObject$y = function _templateObject() {
33315
33560
  return data;
33316
33561
  };
33317
33562
 
33318
33563
  return data;
33319
33564
  }
33320
- var TypeaheadInputWrapper = styled__default.div(_templateObject$w(), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33565
+ var TypeaheadInputWrapper = styled__default.div(_templateObject$y(), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33321
33566
 
33322
33567
  var TypeaheadInput = function TypeaheadInput(_ref) {
33323
33568
  var handleChange = _ref.handleChange,
@@ -35261,7 +35506,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
35261
35506
  var titleColor = "#292A33";
35262
35507
  var headingBackgroundColor = "transparent";
35263
35508
  var bodyBackgroundColor = "transparent";
35264
- var fallbackValues$t = {
35509
+ var fallbackValues$v = {
35265
35510
  titleColor: titleColor,
35266
35511
  headingBackgroundColor: headingBackgroundColor,
35267
35512
  bodyBackgroundColor: bodyBackgroundColor
@@ -35368,7 +35613,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
35368
35613
  }, children))));
35369
35614
  };
35370
35615
 
35371
- var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$t);
35616
+ var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$v);
35372
35617
 
35373
35618
  var EditNameForm = function EditNameForm(_ref) {
35374
35619
  var fields = _ref.fields,
@@ -35442,16 +35687,16 @@ function _templateObject2$j() {
35442
35687
  return data;
35443
35688
  }
35444
35689
 
35445
- function _templateObject$x() {
35690
+ function _templateObject$z() {
35446
35691
  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"]);
35447
35692
 
35448
- _templateObject$x = function _templateObject() {
35693
+ _templateObject$z = function _templateObject() {
35449
35694
  return data;
35450
35695
  };
35451
35696
 
35452
35697
  return data;
35453
35698
  }
35454
- var EditableListItem = styled__default.div(_templateObject$x(), function (_ref) {
35699
+ var EditableListItem = styled__default.div(_templateObject$z(), function (_ref) {
35455
35700
  var disabled = _ref.disabled;
35456
35701
  return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
35457
35702
  }, GHOST_GREY, function (_ref2) {
@@ -35648,16 +35893,16 @@ function _templateObject2$k() {
35648
35893
  return data;
35649
35894
  }
35650
35895
 
35651
- function _templateObject$y() {
35896
+ function _templateObject$A() {
35652
35897
  var data = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"]);
35653
35898
 
35654
- _templateObject$y = function _templateObject() {
35899
+ _templateObject$A = function _templateObject() {
35655
35900
  return data;
35656
35901
  };
35657
35902
 
35658
35903
  return data;
35659
35904
  }
35660
- var EditableTableContainer = styled__default.div(_templateObject$y(), function (_ref) {
35905
+ var EditableTableContainer = styled__default.div(_templateObject$A(), function (_ref) {
35661
35906
  var hide = _ref.hide;
35662
35907
  return hide ? "none" : "flex";
35663
35908
  });
@@ -35884,7 +36129,7 @@ ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
35884
36129
 
35885
36130
  var textColor$2 = "#ffffff";
35886
36131
  var backgroundColor$5 = "#182848";
35887
- var fallbackValues$u = {
36132
+ var fallbackValues$w = {
35888
36133
  textColor: textColor$2,
35889
36134
  backgroundColor: backgroundColor$5
35890
36135
  };
@@ -35930,7 +36175,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
35930
36175
  }), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
35931
36176
  };
35932
36177
 
35933
- var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$u));
36178
+ var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$w));
35934
36179
 
35935
36180
  var AccountBillIcon = function AccountBillIcon() {
35936
36181
  return /*#__PURE__*/React__default.createElement("svg", {
@@ -39010,7 +39255,7 @@ var Modal$1 = function Modal(_ref) {
39010
39255
  })))))))), children);
39011
39256
  };
39012
39257
 
39013
- var fontSize$8 = {
39258
+ var fontSize$a = {
39014
39259
  "default": "1.375rem",
39015
39260
  largeTitle: "1.75rem"
39016
39261
  };
@@ -39050,8 +39295,8 @@ var backgroundColor$6 = {
39050
39295
  "default": WHITE,
39051
39296
  largeTitle: WHITE
39052
39297
  };
39053
- var fallbackValues$v = {
39054
- fontSize: fontSize$8,
39298
+ var fallbackValues$x = {
39299
+ fontSize: fontSize$a,
39055
39300
  fontWeight: fontWeight$5,
39056
39301
  fontColor: fontColor,
39057
39302
  lineHeight: lineHeight$4,
@@ -39091,7 +39336,7 @@ var Module = function Module(_ref) {
39091
39336
  }, children)));
39092
39337
  };
39093
39338
 
39094
- var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$v, "default"));
39339
+ var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$x, "default"));
39095
39340
 
39096
39341
  var backgroundColor$7 = {
39097
39342
  profile: "#3b414d",
@@ -39101,7 +39346,7 @@ var shadowColor = {
39101
39346
  profile: "#292A33",
39102
39347
  cms: "#292A33"
39103
39348
  };
39104
- var fallbackValues$w = {
39349
+ var fallbackValues$y = {
39105
39350
  backgroundColor: backgroundColor$7,
39106
39351
  shadowColor: shadowColor
39107
39352
  };
@@ -39142,12 +39387,12 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
39142
39387
  }, menuContent));
39143
39388
  };
39144
39389
 
39145
- var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$w, "profile");
39390
+ var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$y, "profile");
39146
39391
 
39147
- function _templateObject$z() {
39392
+ function _templateObject$B() {
39148
39393
  var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
39149
39394
 
39150
- _templateObject$z = function _templateObject() {
39395
+ _templateObject$B = function _templateObject() {
39151
39396
  return data;
39152
39397
  };
39153
39398
 
@@ -39183,7 +39428,7 @@ var menu = posed.div({
39183
39428
  }
39184
39429
  }
39185
39430
  });
39186
- var ImposterMenu = styled__default(menu)(_templateObject$z());
39431
+ var ImposterMenu = styled__default(menu)(_templateObject$B());
39187
39432
 
39188
39433
  var NavMenuMobile = function NavMenuMobile(_ref) {
39189
39434
  var id = _ref.id,
@@ -39204,7 +39449,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
39204
39449
  }, menuContent));
39205
39450
  };
39206
39451
 
39207
- var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$w, "profile");
39452
+ var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$y, "profile");
39208
39453
 
39209
39454
  var IconsModule = function IconsModule(_ref) {
39210
39455
  var icon = _ref.icon,
@@ -39258,7 +39503,7 @@ var activeColor$5 = "#0E506D";
39258
39503
  var linkColor$3 = "#357fb8";
39259
39504
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
39260
39505
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
39261
- var fallbackValues$x = {
39506
+ var fallbackValues$z = {
39262
39507
  color: color$a,
39263
39508
  hoverColor: hoverColor$4,
39264
39509
  activeColor: activeColor$5,
@@ -39341,7 +39586,7 @@ var AutopayModal = function AutopayModal(_ref) {
39341
39586
  }, "".concat(planType, " ").concat(nextAutopayDate)))));
39342
39587
  };
39343
39588
 
39344
- var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$x);
39589
+ var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$z);
39345
39590
 
39346
39591
  var AmountModule = function AmountModule(_ref) {
39347
39592
  var totalAmountDue = _ref.totalAmountDue,
@@ -39909,7 +40154,7 @@ var labeledAmountTotal = {
39909
40154
  "default": "h6",
39910
40155
  small: "pL"
39911
40156
  };
39912
- var fallbackValues$y = {
40157
+ var fallbackValues$A = {
39913
40158
  backgroundColor: backgroundColor$8,
39914
40159
  lineItem: lineItem,
39915
40160
  labeledAmountSubtotal: labeledAmountSubtotal,
@@ -40085,12 +40330,12 @@ var PaymentDetails = function PaymentDetails(_ref4) {
40085
40330
  });
40086
40331
  };
40087
40332
 
40088
- var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$y, "default");
40333
+ var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$A, "default");
40089
40334
 
40090
40335
  var linkColor$4 = {
40091
40336
  "default": "#357fb8"
40092
40337
  };
40093
- var fontSize$9 = {
40338
+ var fontSize$b = {
40094
40339
  "default": "1rem"
40095
40340
  };
40096
40341
  var lineHeight$5 = {
@@ -40102,9 +40347,9 @@ var fontWeight$7 = {
40102
40347
  var modalLinkHoverFocus$1 = {
40103
40348
  "default": "outline: none; text-decoration: underline;"
40104
40349
  };
40105
- var fallbackValues$z = {
40350
+ var fallbackValues$B = {
40106
40351
  linkColor: linkColor$4,
40107
- fontSize: fontSize$9,
40352
+ fontSize: fontSize$b,
40108
40353
  lineHeight: lineHeight$5,
40109
40354
  fontWeight: fontWeight$7,
40110
40355
  modalLinkHoverFocus: modalLinkHoverFocus$1
@@ -40161,7 +40406,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
40161
40406
  }, link));
40162
40407
  };
40163
40408
 
40164
- var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$z, "default");
40409
+ var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$B, "default");
40165
40410
 
40166
40411
  var PaymentFormACH = function PaymentFormACH(_ref) {
40167
40412
  var _routingNumberErrors, _accountNumberErrors;
@@ -40586,7 +40831,7 @@ var headingDisabledColor = "".concat(ATHENS_GREY);
40586
40831
  var bodyBackgroundColor$1 = "#eeeeee";
40587
40832
  var borderColor$3 = "".concat(GREY_CHATEAU);
40588
40833
  var focusStyles = "outline: none;";
40589
- var fallbackValues$A = {
40834
+ var fallbackValues$C = {
40590
40835
  headingBackgroundColor: headingBackgroundColor$1,
40591
40836
  headingDisabledColor: headingDisabledColor,
40592
40837
  bodyBackgroundColor: bodyBackgroundColor$1,
@@ -40594,10 +40839,10 @@ var fallbackValues$A = {
40594
40839
  focusStyles: focusStyles
40595
40840
  };
40596
40841
 
40597
- function _templateObject$A() {
40842
+ function _templateObject$C() {
40598
40843
  var data = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "]);
40599
40844
 
40600
- _templateObject$A = function _templateObject() {
40845
+ _templateObject$C = function _templateObject() {
40601
40846
  return data;
40602
40847
  };
40603
40848
 
@@ -40699,7 +40944,7 @@ var RadioSection = function RadioSection(_ref) {
40699
40944
  }
40700
40945
  };
40701
40946
  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 ");
40702
- var RightIcon = styled__default.img(_templateObject$A(), function (_ref2) {
40947
+ var RightIcon = styled__default.img(_templateObject$C(), function (_ref2) {
40703
40948
  var isMobile = _ref2.isMobile;
40704
40949
  return isMobile ? "14px" : "18px";
40705
40950
  }, function (_ref3) {
@@ -40809,7 +41054,7 @@ var RadioSection = function RadioSection(_ref) {
40809
41054
  })));
40810
41055
  };
40811
41056
 
40812
- var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$A);
41057
+ var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$C);
40813
41058
 
40814
41059
  var RegistrationForm = function RegistrationForm(_ref) {
40815
41060
  var _emailErrorMessages, _passwordErrorMessage;
@@ -41099,7 +41344,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
41099
41344
  var activeTabBackground = "#FFFFFF";
41100
41345
  var activeTabAccent = "#15749D";
41101
41346
  var activeTabHover = "#B8D5E1";
41102
- var fallbackValues$B = {
41347
+ var fallbackValues$D = {
41103
41348
  activeTabBackground: activeTabBackground,
41104
41349
  activeTabAccent: activeTabAccent,
41105
41350
  activeTabHover: activeTabHover
@@ -41176,12 +41421,12 @@ var Tabs = function Tabs(_ref) {
41176
41421
  }))));
41177
41422
  };
41178
41423
 
41179
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$B);
41424
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$D);
41180
41425
 
41181
41426
  var activeTabBackground$1 = "#FFFFFF";
41182
41427
  var activeTabAccent$1 = "#15749D";
41183
41428
  var activeTabHover$1 = "#B8D5E1";
41184
- var fallbackValues$C = {
41429
+ var fallbackValues$E = {
41185
41430
  activeTabBackground: activeTabBackground$1,
41186
41431
  activeTabAccent: activeTabAccent$1,
41187
41432
  activeTabHover: activeTabHover$1
@@ -41237,7 +41482,7 @@ var TabSidebar = function TabSidebar(_ref) {
41237
41482
  })));
41238
41483
  };
41239
41484
 
41240
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$C);
41485
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$E);
41241
41486
 
41242
41487
  var backgroundColor$9 = {
41243
41488
  "default": "#ffffff",
@@ -41251,7 +41496,7 @@ var border$3 = {
41251
41496
  "default": "#cdcdcd",
41252
41497
  footer: "#cdcdcd"
41253
41498
  };
41254
- var fontSize$a = {
41499
+ var fontSize$c = {
41255
41500
  "default": "1rem",
41256
41501
  footer: "0.875rem"
41257
41502
  };
@@ -41271,11 +41516,11 @@ var accessibilityColor = {
41271
41516
  "default": "#3181E3",
41272
41517
  footer: "#3181E3"
41273
41518
  };
41274
- var fallbackValues$D = {
41519
+ var fallbackValues$F = {
41275
41520
  backgroundColor: backgroundColor$9,
41276
41521
  linkColor: linkColor$5,
41277
41522
  border: border$3,
41278
- fontSize: fontSize$a,
41523
+ fontSize: fontSize$c,
41279
41524
  lineHeight: lineHeight$6,
41280
41525
  fontWeight: fontWeight$8,
41281
41526
  modalLinkHoverFocus: modalLinkHoverFocus$2,
@@ -41333,7 +41578,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
41333
41578
  }, link));
41334
41579
  };
41335
41580
 
41336
- var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$D, "default");
41581
+ var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$F, "default");
41337
41582
 
41338
41583
  var TermsAndConditions = function TermsAndConditions(_ref) {
41339
41584
  var onCheck = _ref.onCheck,
@@ -41408,7 +41653,7 @@ var fontColor$1 = WHITE;
41408
41653
  var textAlign$1 = "left";
41409
41654
  var headerBackgroundColor = BRIGHT_GREY;
41410
41655
  var imageBackgroundColor = MATISSE_BLUE;
41411
- var fallbackValues$E = {
41656
+ var fallbackValues$G = {
41412
41657
  fontWeight: fontWeight$9,
41413
41658
  fontColor: fontColor$1,
41414
41659
  textAlign: textAlign$1,
@@ -41416,16 +41661,16 @@ var fallbackValues$E = {
41416
41661
  imageBackgroundColor: imageBackgroundColor
41417
41662
  };
41418
41663
 
41419
- function _templateObject$B() {
41664
+ function _templateObject$D() {
41420
41665
  var data = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"]);
41421
41666
 
41422
- _templateObject$B = function _templateObject() {
41667
+ _templateObject$D = function _templateObject() {
41423
41668
  return data;
41424
41669
  };
41425
41670
 
41426
41671
  return data;
41427
41672
  }
41428
- var WelcomeImage = styled__default.img(_templateObject$B());
41673
+ var WelcomeImage = styled__default.img(_templateObject$D());
41429
41674
 
41430
41675
  var WelcomeModule = function WelcomeModule(_ref) {
41431
41676
  var heading = _ref.heading,
@@ -41461,7 +41706,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
41461
41706
  })))));
41462
41707
  };
41463
41708
 
41464
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$E));
41709
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$G));
41465
41710
 
41466
41711
  var WorkflowTile = function WorkflowTile(_ref) {
41467
41712
  var _ref$workflowName = _ref.workflowName,
@@ -41509,7 +41754,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
41509
41754
  };
41510
41755
 
41511
41756
  var pageBackground = "#F6F6F9";
41512
- var fallbackValues$F = {
41757
+ var fallbackValues$H = {
41513
41758
  pageBackground: pageBackground
41514
41759
  };
41515
41760
 
@@ -41556,7 +41801,7 @@ var CenterSingle = function CenterSingle(_ref) {
41556
41801
  })));
41557
41802
  };
41558
41803
 
41559
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$F));
41804
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$H));
41560
41805
 
41561
41806
  var CenterStack = function CenterStack(_ref) {
41562
41807
  var header = _ref.header,
@@ -41598,7 +41843,7 @@ var CenterStack = function CenterStack(_ref) {
41598
41843
  })));
41599
41844
  };
41600
41845
 
41601
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$F));
41846
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$H));
41602
41847
 
41603
41848
  var CenterSingle$2 = function CenterSingle(_ref) {
41604
41849
  var header = _ref.header,
@@ -41638,7 +41883,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
41638
41883
  })));
41639
41884
  };
41640
41885
 
41641
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$F));
41886
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$H));
41642
41887
 
41643
41888
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
41644
41889
  var header = _ref.header,
@@ -41692,7 +41937,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
41692
41937
  })));
41693
41938
  };
41694
41939
 
41695
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$F));
41940
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$H));
41696
41941
 
41697
41942
  var SidebarStackContent = function SidebarStackContent(_ref) {
41698
41943
  var header = _ref.header,
@@ -41763,7 +42008,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
41763
42008
  })));
41764
42009
  };
41765
42010
 
41766
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$F));
42011
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$H));
41767
42012
 
41768
42013
 
41769
42014
 
@@ -41817,6 +42062,7 @@ exports.CountryDropdown = CountryDropdown;
41817
42062
  exports.Cover = Cover;
41818
42063
  exports.CustomerSearchIcon = CustomerSearchIcon;
41819
42064
  exports.DefaultPageTemplate = DefaultPageTemplate;
42065
+ exports.Detail = Detail$1;
41820
42066
  exports.DisplayBox = DisplayBox$1;
41821
42067
  exports.DisplayCard = DisplayCard;
41822
42068
  exports.Dropdown = Dropdown$1;
@@ -41924,6 +42170,7 @@ exports.TermsAndConditionsModal = TermsAndConditionsModal$1;
41924
42170
  exports.Text = Text$1;
41925
42171
  exports.Timeout = Timeout$1;
41926
42172
  exports.TimeoutImage = TimeoutImage;
42173
+ exports.Title = Title$1;
41927
42174
  exports.ToggleSwitch = ToggleSwitch$1;
41928
42175
  exports.TrashIcon = TrashIcon$1;
41929
42176
  exports.TypeaheadInput = TypeaheadInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.5.0-beta.1",
3
+ "version": "4.5.0-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -9,6 +9,7 @@ export { default as cardRegistry } from "./card";
9
9
  export { default as Checkbox } from "./checkbox";
10
10
  export { default as CheckboxList } from "./checkbox-list";
11
11
  export { default as CountryDropdown } from "./country-dropdown";
12
+ export { default as Detail } from "./detail";
12
13
  export { default as DisplayBox } from "./display-box";
13
14
  export { default as DisplayCard } from "./display-card";
14
15
  export { default as Dropdown } from "./dropdown";
@@ -37,5 +38,6 @@ export { default as SolidDivider } from "./solid-divider";
37
38
  export { default as Spinner } from "./spinner";
38
39
  export { default as StateProvinceDropdown } from "./state-province-dropdown";
39
40
  export { default as Text } from "./text";
41
+ export { default as Title } from "./title";
40
42
  export { default as ToggleSwitch } from "./toggle-switch";
41
43
  export { default as TypeaheadInput } from "./typeahead-input";