@thecb/components 8.0.4-beta.5 → 8.0.4-beta.7

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.d.ts CHANGED
@@ -285,6 +285,7 @@ interface StackProps {
285
285
  childGap?: string;
286
286
  bottomItem?: number;
287
287
  fullHeight?: boolean;
288
+ hoverStyles?: string;
288
289
  direction?:
289
290
  | "row"
290
291
  | "row-reverse"
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { createContext, createElement, PureComponent, forwardRef, Component, cloneElement, Children, useContext, Fragment as Fragment$1, useRef, useState, useLayoutEffect, memo, useEffect as useEffect$1, useMemo, useCallback, isValidElement, createRef } from 'react';
2
- import styled, { ThemeContext, css, ThemeProvider, keyframes as keyframes$3 } from 'styled-components';
2
+ import styled, { ThemeContext, css as css$1, ThemeProvider, keyframes as keyframes$3 } from 'styled-components';
3
3
  import theme from 'styled-theming';
4
4
  import { Link, useNavigate, useLocation } from 'react-router-dom';
5
5
  import reactDom from 'react-dom';
@@ -5187,11 +5187,11 @@ var TextSpan = styled.span.withConfig({
5187
5187
  return $textWrap ? "initial" : "nowrap";
5188
5188
  }, function (_ref6) {
5189
5189
  var hoverStyles = _ref6.hoverStyles;
5190
- return css(["", ""], hoverStyles);
5190
+ return css$1(["", ""], hoverStyles);
5191
5191
  }, ROYAL_BLUE, function (_ref7) {
5192
5192
  var disabled = _ref7.disabled,
5193
5193
  disabledStyles = _ref7.disabledStyles;
5194
- return disabled && css(["", ""], disabledStyles);
5194
+ return disabled && css$1(["", ""], disabledStyles);
5195
5195
  }, function (_ref8) {
5196
5196
  var extraStyles = _ref8.extraStyles;
5197
5197
  return extraStyles;
@@ -6488,27 +6488,27 @@ var BoxWrapper = styled(function (_ref) {
6488
6488
  var hoverStyles = _ref14.hoverStyles,
6489
6489
  as = _ref14.as,
6490
6490
  disabled = _ref14.disabled;
6491
- return css(["", " ", ""], hoverStyles, as === "button" && !disabled ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6491
+ return css$1(["", " ", ""], hoverStyles, as === "button" && !disabled ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6492
6492
  }, function (_ref15) {
6493
6493
  var as = _ref15.as;
6494
- return css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
6494
+ return css$1(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
6495
6495
  }, function (_ref16) {
6496
6496
  var activeStyles = _ref16.activeStyles,
6497
6497
  as = _ref16.as;
6498
- return css(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6498
+ return css$1(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6499
6499
  }, function (_ref17) {
6500
6500
  var disabledStyles = _ref17.disabledStyles,
6501
6501
  as = _ref17.as;
6502
- return css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6502
+ return css$1(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6503
6503
  }, function (_ref18) {
6504
6504
  var color = _ref18.color;
6505
6505
  return color;
6506
6506
  }, function (_ref19) {
6507
6507
  var hiddenStyles = _ref19.hiddenStyles;
6508
- return hiddenStyles && css(["display:none;"]);
6508
+ return hiddenStyles && css$1(["display:none;"]);
6509
6509
  }, function (_ref20) {
6510
6510
  var extraStyles = _ref20.extraStyles;
6511
- return css(["", ""], extraStyles);
6511
+ return css$1(["", ""], extraStyles);
6512
6512
  });
6513
6513
  /* eslint-enable no-unused-vars */
6514
6514
 
@@ -6877,10 +6877,11 @@ var Sidebar = function Sidebar(_ref) {
6877
6877
  }, safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null))));
6878
6878
  };
6879
6879
 
6880
+ var _templateObject;
6880
6881
  var StackWrapper = styled.div.withConfig({
6881
6882
  displayName: "Stackstyled__StackWrapper",
6882
6883
  componentId: "sc-ejhezz-0"
6883
- })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
6884
+ })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";&:hover{", "}"], function (_ref) {
6884
6885
  var direction = _ref.direction;
6885
6886
  return direction;
6886
6887
  }, function (_ref2) {
@@ -6897,9 +6898,12 @@ var StackWrapper = styled.div.withConfig({
6897
6898
  var bottomItem = _ref5.bottomItem,
6898
6899
  direction = _ref5.direction;
6899
6900
  return bottomItem ? "\n > :nth-child(".concat(bottomItem, ") {\n ").concat(direction === "row" ? "margin-left: auto;" : "margin-top: auto;", "\n }\n ") : "";
6901
+ }, function (_ref6) {
6902
+ var hoverStyles = _ref6.hoverStyles;
6903
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n "])), hoverStyles);
6900
6904
  });
6901
6905
 
6902
- var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"];
6906
+ var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify", "hoverStyles"];
6903
6907
  /*
6904
6908
  Component to impose margin-top between a list of child elements
6905
6909
  Useful for things like sidebars and button lists
@@ -6920,6 +6924,7 @@ var Stack = function Stack(_ref) {
6920
6924
  _ref$direction = _ref.direction,
6921
6925
  direction = _ref$direction === void 0 ? "column" : _ref$direction,
6922
6926
  justify = _ref.justify,
6927
+ hoverStyles = _ref.hoverStyles,
6923
6928
  rest = _objectWithoutProperties(_ref, _excluded$a);
6924
6929
 
6925
6930
  return /*#__PURE__*/React.createElement(StackWrapper, _extends({
@@ -7071,7 +7076,7 @@ var SwitcherInnerContainer = styled.div.withConfig({
7071
7076
  return maxChildren ? "> :nth-last-child(".concat(maxChildren + 1, "), > :nth-last-child(").concat(maxChildren + 1, ") ~ * {\n flex-basis: 100%;\n }") : "";
7072
7077
  }, function (_ref9) {
7073
7078
  var extraStyles = _ref9.extraStyles;
7074
- return css(["", ""], extraStyles);
7079
+ return css$1(["", ""], extraStyles);
7075
7080
  });
7076
7081
 
7077
7082
  var _excluded$d = ["breakpoint", "childGap", "largeChild", "largeChildSize", "maxChildren", "maxChildrenOnly", "padding", "children", "extraStyles", "constrainMobile"];
@@ -21805,7 +21810,7 @@ var CheckboxIcon = styled.svg.withConfig({
21805
21810
  var disabled = _ref.disabled,
21806
21811
  disabledCheckColor = _ref.disabledCheckColor,
21807
21812
  checkColor = _ref.checkColor;
21808
- return disabled ? css(["", ""], disabledCheckColor) : css(["", ""], checkColor);
21813
+ return disabled ? css$1(["", ""], disabledCheckColor) : css$1(["", ""], checkColor);
21809
21814
  });
21810
21815
  var HiddenCheckbox = styled.input.attrs({
21811
21816
  type: "checkbox"
@@ -21830,7 +21835,7 @@ var StyledCheckbox = styled.div.withConfig({
21830
21835
  errorStyles = _ref3.errorStyles,
21831
21836
  disabledStyles = _ref3.disabledStyles,
21832
21837
  disabledCheckedStyles = _ref3.disabledCheckedStyles;
21833
- return error ? css(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? css(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? css(["", " ", ""], checkedStyles, focused && focusedStyles) : css(["", " ", ""], defaultStyles, focused && focusedStyles);
21838
+ return error ? css$1(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? css$1(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? css$1(["", " ", ""], checkedStyles, focused && focusedStyles) : css$1(["", " ", ""], defaultStyles, focused && focusedStyles);
21834
21839
  });
21835
21840
 
21836
21841
  var Checkbox = function Checkbox(_ref4) {
@@ -25608,10 +25613,10 @@ var InputField = styled.input.withConfig({
25608
25613
  return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
25609
25614
  }, ROYAL_BLUE, function (_ref6) {
25610
25615
  var disabled = _ref6.disabled;
25611
- return disabled && css(["color:#6e727e;background-color:#f7f7f7;"]);
25616
+ return disabled && css$1(["color:#6e727e;background-color:#f7f7f7;"]);
25612
25617
  }, function (_ref7) {
25613
25618
  var $extraStyles = _ref7.$extraStyles;
25614
- return css(["", ""], $extraStyles);
25619
+ return css$1(["", ""], $extraStyles);
25615
25620
  }); // eslint-disable-next-line no-unused-vars
25616
25621
 
25617
25622
  var FormattedInputField = styled(function (_ref8) {
@@ -25639,10 +25644,10 @@ var FormattedInputField = styled(function (_ref8) {
25639
25644
  return themeValues.color && themeValues.color;
25640
25645
  }, ROYAL_BLUE, function (_ref13) {
25641
25646
  var disabled = _ref13.disabled;
25642
- return disabled && css(["color:#6e727e;background-color:#f7f7f7;"]);
25647
+ return disabled && css$1(["color:#6e727e;background-color:#f7f7f7;"]);
25643
25648
  }, function (_ref14) {
25644
25649
  var extraStyles = _ref14.extraStyles;
25645
- return css(["", ""], extraStyles);
25650
+ return css$1(["", ""], extraStyles);
25646
25651
  });
25647
25652
 
25648
25653
  var FormInput = function FormInput(_ref15) {
@@ -26356,7 +26361,7 @@ var SpinnerSvgAnimation = styled.svg.withConfig({
26356
26361
  return color;
26357
26362
  }, function (_ref4) {
26358
26363
  var centerSpinner = _ref4.centerSpinner;
26359
- return centerSpinner ? css(["margin:0;"]) : "";
26364
+ return centerSpinner ? css$1(["margin:0;"]) : "";
26360
26365
  });
26361
26366
  var SpinnerContainer$2 = styled.div.withConfig({
26362
26367
  displayName: "Spinner__SpinnerContainer",
@@ -26364,7 +26369,7 @@ var SpinnerContainer$2 = styled.div.withConfig({
26364
26369
  })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:1;", ""], function (_ref5) {
26365
26370
  var centerSpinner = _ref5.centerSpinner,
26366
26371
  size = _ref5.size;
26367
- return centerSpinner ? css(["width:", "px;height:", "px;"], size, size) : "";
26372
+ return centerSpinner ? css$1(["width:", "px;height:", "px;"], size, size) : "";
26368
26373
  });
26369
26374
  /*
26370
26375
  `centerSpinner` prop alters existing styling of spinner to allow it to properly center itself within
@@ -26494,7 +26499,7 @@ var NavHeader = function NavHeader(_ref) {
26494
26499
  }, rightContent))))));
26495
26500
  };
26496
26501
 
26497
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
26502
+ var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
26498
26503
 
26499
26504
  var MIN_LENGTH_ERROR = "error/HAS_LENGTH";
26500
26505
  var MAX_LENGTH_ERROR = "max_length_error";
@@ -26535,7 +26540,7 @@ with interpolation.
26535
26540
  */
26536
26541
 
26537
26542
 
26538
- var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject || (_templateObject = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
26543
+ var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
26539
26544
  // Neutral - has not been validated
26540
26545
  // Invalid - has been validated and has an error
26541
26546
  // Valid - has been validated and has no error
@@ -26804,11 +26809,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
26804
26809
 
26805
26810
  var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$s, "default");
26806
26811
 
26807
- var backgroundColor$5 = MATISSE_BLUE;
26808
- var borderColor$2 = GREY_CHATEAU;
26812
+ var activeColor$5 = MATISSE_BLUE;
26813
+ var inactiveBorderColor = GREY_CHATEAU;
26809
26814
  var fallbackValues$t = {
26810
- borderColor: borderColor$2,
26811
- backgroundColor: backgroundColor$5
26815
+ inactiveBorderColor: inactiveBorderColor,
26816
+ activeColor: activeColor$5
26812
26817
  };
26813
26818
 
26814
26819
  var HiddenRadioInput = styled.input.withConfig({
@@ -26819,21 +26824,21 @@ var Circle = styled.div.withConfig({
26819
26824
  displayName: "RadioButtonWithLabel__Circle",
26820
26825
  componentId: "sc-1m9whwg-1"
26821
26826
  })(["flex-shrink:0;margin-right:8px;width:1.5rem;height 1.5rem;border:", ";border-radius:50%;box-sizing:border-box;padding:2px;:after{content:\"\";width:100%;height:100%;display:block;background:", ";border-radius:50%;transform:scale(0);}"], function (_ref) {
26822
- var borderColor = _ref.borderColor;
26823
- return "1px solid ".concat(borderColor);
26827
+ var inactiveBorderColor = _ref.inactiveBorderColor;
26828
+ return "1px solid ".concat(inactiveBorderColor);
26824
26829
  }, function (_ref2) {
26825
- var backgroundColor = _ref2.backgroundColor;
26826
- return backgroundColor;
26830
+ var activeColor = _ref2.activeColor;
26831
+ return activeColor;
26827
26832
  });
26828
26833
  var InputAndLabelContainer = styled(Cluster).withConfig({
26829
26834
  displayName: "RadioButtonWithLabel__InputAndLabelContainer",
26830
26835
  componentId: "sc-1m9whwg-2"
26831
26836
  })(["overflow:visible;", ":checked + label ", ":after{transform:scale(0.85);transition:transform 0.15s;}", ":checked + label ", "{border:", "}", ":focus + label ", "{{box-shadow:", "}"], HiddenRadioInput, Circle, HiddenRadioInput, Circle, function (_ref3) {
26832
- var backgroundColor = _ref3.backgroundColor;
26833
- return "1px solid ".concat(backgroundColor, ";");
26837
+ var activeColor = _ref3.activeColor;
26838
+ return "1px solid ".concat(activeColor, ";");
26834
26839
  }, HiddenRadioInput, Circle, function (_ref4) {
26835
- var backgroundColor = _ref4.backgroundColor;
26836
- return "0px 0px 2px 1px ".concat(backgroundColor, ";");
26840
+ var activeColor = _ref4.activeColor;
26841
+ return "0px 0px 2px 1px ".concat(activeColor, ";");
26837
26842
  });
26838
26843
 
26839
26844
  var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
@@ -26853,7 +26858,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
26853
26858
  return /*#__PURE__*/React.createElement(InputAndLabelContainer, {
26854
26859
  align: "center",
26855
26860
  childGap: "0.5rem",
26856
- backgroundColor: themeValues.backgroundColor
26861
+ activeColor: themeValues.activeColor
26857
26862
  }, /*#__PURE__*/React.createElement(HiddenRadioInput, {
26858
26863
  "aria-invalid": ariaInvalid,
26859
26864
  style: {
@@ -26873,17 +26878,17 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
26873
26878
  htmlFor: id,
26874
26879
  extraStyles: "\n font-size: 1rem;\n display: flex; \n width: 100%;\n :hover {\n cursor: pointer;\n }\n "
26875
26880
  }, /*#__PURE__*/React.createElement(Circle, {
26876
- backgroundColor: themeValues.backgroundColor,
26877
- borderColor: themeValues.borderColor
26881
+ activeColor: themeValues.activeColor,
26882
+ inactiveBorderColor: themeValues.inactiveBorderColor
26878
26883
  }), labelText));
26879
26884
  };
26880
26885
 
26881
26886
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$t);
26882
26887
 
26883
- var activeColor$5 = "".concat(MATISSE_BLUE);
26888
+ var activeColor$6 = "".concat(MATISSE_BLUE);
26884
26889
  var inactiveColor = "".concat(GREY_CHATEAU);
26885
26890
  var fallbackValues$u = {
26886
- activeColor: activeColor$5,
26891
+ activeColor: activeColor$6,
26887
26892
  inactiveColor: inactiveColor
26888
26893
  };
26889
26894
 
@@ -27059,14 +27064,14 @@ var SearchableSelect = function SearchableSelect(_ref) {
27059
27064
 
27060
27065
  var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$v, "default");
27061
27066
 
27062
- var borderColor$3 = {
27067
+ var borderColor$2 = {
27063
27068
  "default": "".concat(GREY_CHATEAU)
27064
27069
  };
27065
27070
  var borderSize = {
27066
27071
  "default": "1px"
27067
27072
  };
27068
27073
  var fallbackValues$w = {
27069
- borderColor: borderColor$3,
27074
+ borderColor: borderColor$2,
27070
27075
  borderSize: borderSize
27071
27076
  };
27072
27077
 
@@ -37887,12 +37892,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
37887
37892
  }));
37888
37893
  };
37889
37894
 
37890
- var backgroundColor$6 = WHITE;
37895
+ var backgroundColor$5 = WHITE;
37891
37896
  var imageBackgroundColor = INFO_BLUE;
37892
37897
  var headerBackgroundColor = STORM_GREY;
37893
37898
  var headerColor = WHITE;
37894
37899
  var fallbackValues$y = {
37895
- backgroundColor: backgroundColor$6,
37900
+ backgroundColor: backgroundColor$5,
37896
37901
  imageBackgroundColor: imageBackgroundColor,
37897
37902
  headerBackgroundColor: headerBackgroundColor,
37898
37903
  headerColor: headerColor
@@ -38045,11 +38050,11 @@ var Card = function Card(_ref) {
38045
38050
  var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$y);
38046
38051
 
38047
38052
  var fontFamily$6 = "Public Sans, sans-serif";
38048
- var activeColor$6 = MATISSE_BLUE;
38053
+ var activeColor$7 = MATISSE_BLUE;
38049
38054
  var linkColor$3 = CHARADE_GREY;
38050
38055
  var fallbackValues$A = {
38051
38056
  fontFamily: fontFamily$6,
38052
- activeColor: activeColor$6,
38057
+ activeColor: activeColor$7,
38053
38058
  linkColor: linkColor$3
38054
38059
  };
38055
38060
 
@@ -38179,11 +38184,11 @@ var TableCell_styled = styled.td.withConfig({
38179
38184
  return extraStyles;
38180
38185
  });
38181
38186
 
38182
- var backgroundColor$7 = ALABASTER_WHITE;
38183
- var borderColor$4 = GREY_CHATEAU;
38187
+ var backgroundColor$6 = ALABASTER_WHITE;
38188
+ var borderColor$3 = GREY_CHATEAU;
38184
38189
  var fallbackValues$B = {
38185
- backgroundColor: backgroundColor$7,
38186
- borderColor: borderColor$4
38190
+ backgroundColor: backgroundColor$6,
38191
+ borderColor: borderColor$3
38187
38192
  };
38188
38193
 
38189
38194
  var StyledTableHead = styled.thead.withConfig({
@@ -38201,10 +38206,10 @@ var StyledTableHead = styled.thead.withConfig({
38201
38206
  return fontSize;
38202
38207
  });
38203
38208
 
38204
- var borderColor$5 = GREY_CHATEAU;
38209
+ var borderColor$4 = GREY_CHATEAU;
38205
38210
  var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
38206
38211
  var fallbackValues$C = {
38207
- borderColor: borderColor$5,
38212
+ borderColor: borderColor$4,
38208
38213
  hoverBackgroundColor: hoverBackgroundColor$1
38209
38214
  };
38210
38215
 
@@ -40181,9 +40186,9 @@ AddressForm.reducer = reducer;
40181
40186
  AddressForm.mapStateToProps = mapStateToProps$1;
40182
40187
  AddressForm.mapDispatchToProps = mapDispatchToProps;
40183
40188
 
40184
- var backgroundColor$8 = "#ebeffb";
40189
+ var backgroundColor$7 = "#ebeffb";
40185
40190
  var fallbackValues$D = {
40186
- backgroundColor: backgroundColor$8
40191
+ backgroundColor: backgroundColor$7
40187
40192
  };
40188
40193
 
40189
40194
  var Banner = function Banner(_ref) {
@@ -41178,10 +41183,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
41178
41183
  ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
41179
41184
 
41180
41185
  var textColor$4 = "#ffffff";
41181
- var backgroundColor$9 = "#182848";
41186
+ var backgroundColor$8 = "#182848";
41182
41187
  var fallbackValues$G = {
41183
41188
  textColor: textColor$4,
41184
- backgroundColor: backgroundColor$9
41189
+ backgroundColor: backgroundColor$8
41185
41190
  };
41186
41191
 
41187
41192
  var HighlightTabRow = function HighlightTabRow(_ref) {
@@ -46386,7 +46391,7 @@ var borderRadius = {
46386
46391
  largeTitle: "0.25rem",
46387
46392
  small: "0.25rem"
46388
46393
  };
46389
- var backgroundColor$a = {
46394
+ var backgroundColor$9 = {
46390
46395
  "default": WHITE,
46391
46396
  largeTitle: WHITE,
46392
46397
  small: WHITE
@@ -46401,7 +46406,7 @@ var fallbackValues$H = {
46401
46406
  titleSpacing: titleSpacing,
46402
46407
  boxShadow: boxShadow$1,
46403
46408
  borderRadius: borderRadius,
46404
- backgroundColor: backgroundColor$a
46409
+ backgroundColor: backgroundColor$9
46405
46410
  };
46406
46411
 
46407
46412
  /*
@@ -46461,7 +46466,7 @@ var Module = function Module(_ref) {
46461
46466
 
46462
46467
  var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$H, "default"));
46463
46468
 
46464
- var backgroundColor$b = {
46469
+ var backgroundColor$a = {
46465
46470
  profile: "#3b414d",
46466
46471
  cms: "#3b414d"
46467
46472
  };
@@ -46470,7 +46475,7 @@ var shadowColor = {
46470
46475
  cms: "#292A33"
46471
46476
  };
46472
46477
  var fallbackValues$I = {
46473
- backgroundColor: backgroundColor$b,
46478
+ backgroundColor: backgroundColor$a,
46474
46479
  shadowColor: shadowColor
46475
46480
  };
46476
46481
 
@@ -46629,14 +46634,14 @@ var TitleModule = function TitleModule(_ref) {
46629
46634
 
46630
46635
  var color$a = "#15749D";
46631
46636
  var hoverColor$5 = "#116285";
46632
- var activeColor$7 = "#0E506D";
46637
+ var activeColor$8 = "#0E506D";
46633
46638
  var linkColor$4 = "#3176AA";
46634
46639
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
46635
46640
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
46636
46641
  var fallbackValues$J = {
46637
46642
  color: color$a,
46638
46643
  hoverColor: hoverColor$5,
46639
- activeColor: activeColor$7,
46644
+ activeColor: activeColor$8,
46640
46645
  linkColor: linkColor$4,
46641
46646
  fontWeight: fontWeight$6,
46642
46647
  modalLinkHoverFocus: modalLinkHoverFocus
@@ -47433,9 +47438,9 @@ var arrowColor = WHITE;
47433
47438
  var numberColor = MATISSE_BLUE;
47434
47439
  var hoverBackgroundColor$2 = ALABASTER_WHITE;
47435
47440
  var activeBackgroundColor$1 = WHITE;
47436
- var activeColor$8 = MATISSE_BLUE;
47441
+ var activeColor$9 = MATISSE_BLUE;
47437
47442
  var fallbackValues$K = {
47438
- activeColor: activeColor$8,
47443
+ activeColor: activeColor$9,
47439
47444
  activeBackgroundColor: activeBackgroundColor$1,
47440
47445
  arrowColor: arrowColor,
47441
47446
  hoverBackgroundColor: hoverBackgroundColor$2,
@@ -47710,7 +47715,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
47710
47715
  }, !hideBackButton && /*#__PURE__*/React.createElement(Fragment$1, null, backButton), !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton))));
47711
47716
  };
47712
47717
 
47713
- var backgroundColor$c = {
47718
+ var backgroundColor$b = {
47714
47719
  "default": "transparent",
47715
47720
  small: "transparent"
47716
47721
  };
@@ -47727,7 +47732,7 @@ var labeledAmountTotal = {
47727
47732
  small: "p"
47728
47733
  };
47729
47734
  var fallbackValues$L = {
47730
- backgroundColor: backgroundColor$c,
47735
+ backgroundColor: backgroundColor$b,
47731
47736
  lineItem: lineItem,
47732
47737
  labeledAmountSubtotal: labeledAmountSubtotal,
47733
47738
  labeledAmountTotal: labeledAmountTotal
@@ -48124,7 +48129,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
48124
48129
 
48125
48130
  var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$M, "default");
48126
48131
 
48127
- var backgroundColor$d = {
48132
+ var backgroundColor$c = {
48128
48133
  "default": "#ffffff",
48129
48134
  footer: "#ffffff"
48130
48135
  };
@@ -48154,7 +48159,7 @@ var modalLinkHoverFocus$2 = {
48154
48159
  footer: standardInteractionStyles
48155
48160
  };
48156
48161
  var fallbackValues$N = {
48157
- backgroundColor: backgroundColor$d,
48162
+ backgroundColor: backgroundColor$c,
48158
48163
  linkColor: linkColor$6,
48159
48164
  border: border$3,
48160
48165
  fontSize: fontSize$b,
@@ -49015,13 +49020,13 @@ var RadioGroup = function RadioGroup(_ref) {
49015
49020
  var headingBackgroundColor$1 = "".concat(WHITE);
49016
49021
  var headingDisabledColor = "".concat(ATHENS_GREY);
49017
49022
  var bodyBackgroundColor$1 = "#eeeeee";
49018
- var borderColor$6 = "".concat(GREY_CHATEAU);
49023
+ var borderColor$5 = "".concat(GREY_CHATEAU);
49019
49024
  var focusStyles = "outline: none;";
49020
49025
  var fallbackValues$O = {
49021
49026
  headingBackgroundColor: headingBackgroundColor$1,
49022
49027
  headingDisabledColor: headingDisabledColor,
49023
49028
  bodyBackgroundColor: bodyBackgroundColor$1,
49024
- borderColor: borderColor$6,
49029
+ borderColor: borderColor$5,
49025
49030
  focusStyles: focusStyles
49026
49031
  };
49027
49032