@thecb/components 8.0.4-beta.4 → 8.0.4-beta.6

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
@@ -26812,11 +26812,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
26812
26812
 
26813
26813
  var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$s, "default");
26814
26814
 
26815
- var backgroundColor$5 = MATISSE_BLUE;
26816
- var borderColor$2 = GREY_CHATEAU;
26815
+ var activeColor$5 = MATISSE_BLUE;
26816
+ var inactiveBorderColor = GREY_CHATEAU;
26817
26817
  var fallbackValues$t = {
26818
- borderColor: borderColor$2,
26819
- backgroundColor: backgroundColor$5
26818
+ inactiveBorderColor: inactiveBorderColor,
26819
+ activeColor: activeColor$5
26820
26820
  };
26821
26821
 
26822
26822
  var HiddenRadioInput = styled__default.input.withConfig({
@@ -26827,21 +26827,21 @@ var Circle = styled__default.div.withConfig({
26827
26827
  displayName: "RadioButtonWithLabel__Circle",
26828
26828
  componentId: "sc-1m9whwg-1"
26829
26829
  })(["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) {
26830
- var borderColor = _ref.borderColor;
26831
- return "1px solid ".concat(borderColor);
26830
+ var inactiveBorderColor = _ref.inactiveBorderColor;
26831
+ return "1px solid ".concat(inactiveBorderColor);
26832
26832
  }, function (_ref2) {
26833
- var backgroundColor = _ref2.backgroundColor;
26834
- return backgroundColor;
26833
+ var activeColor = _ref2.activeColor;
26834
+ return activeColor;
26835
26835
  });
26836
26836
  var InputAndLabelContainer = styled__default(Cluster).withConfig({
26837
26837
  displayName: "RadioButtonWithLabel__InputAndLabelContainer",
26838
26838
  componentId: "sc-1m9whwg-2"
26839
26839
  })(["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) {
26840
- var backgroundColor = _ref3.backgroundColor;
26841
- return "1px solid ".concat(backgroundColor, ";");
26840
+ var activeColor = _ref3.activeColor;
26841
+ return "1px solid ".concat(activeColor, ";");
26842
26842
  }, HiddenRadioInput, Circle, function (_ref4) {
26843
- var backgroundColor = _ref4.backgroundColor;
26844
- return "0px 0px 2px 1px ".concat(backgroundColor, ";");
26843
+ var activeColor = _ref4.activeColor;
26844
+ return "0px 0px 2px 1px ".concat(activeColor, ";");
26845
26845
  });
26846
26846
 
26847
26847
  var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
@@ -26854,12 +26854,14 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
26854
26854
  groupName = _ref5.groupName,
26855
26855
  setValue = _ref5.setValue,
26856
26856
  ariaInvalid = _ref5.ariaInvalid,
26857
+ themeValues = _ref5.themeValues,
26857
26858
  index = _ref5.index,
26858
26859
  _ref5$handleChange = _ref5.handleChange,
26859
26860
  handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange;
26860
26861
  return /*#__PURE__*/React__default.createElement(InputAndLabelContainer, {
26861
26862
  align: "center",
26862
- childGap: "0.5rem"
26863
+ childGap: "0.5rem",
26864
+ activeColor: themeValues.activeColor
26863
26865
  }, /*#__PURE__*/React__default.createElement(HiddenRadioInput, {
26864
26866
  "aria-invalid": ariaInvalid,
26865
26867
  style: {
@@ -26878,15 +26880,18 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
26878
26880
  as: "label",
26879
26881
  htmlFor: id,
26880
26882
  extraStyles: "\n font-size: 1rem;\n display: flex; \n width: 100%;\n :hover {\n cursor: pointer;\n }\n "
26881
- }, /*#__PURE__*/React__default.createElement(Circle, null), labelText));
26883
+ }, /*#__PURE__*/React__default.createElement(Circle, {
26884
+ activeColor: themeValues.activeColor,
26885
+ inactiveBorderColor: themeValues.inactiveBorderColor
26886
+ }), labelText));
26882
26887
  };
26883
26888
 
26884
26889
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$t);
26885
26890
 
26886
- var activeColor$5 = "".concat(MATISSE_BLUE);
26891
+ var activeColor$6 = "".concat(MATISSE_BLUE);
26887
26892
  var inactiveColor = "".concat(GREY_CHATEAU);
26888
26893
  var fallbackValues$u = {
26889
- activeColor: activeColor$5,
26894
+ activeColor: activeColor$6,
26890
26895
  inactiveColor: inactiveColor
26891
26896
  };
26892
26897
 
@@ -27062,14 +27067,14 @@ var SearchableSelect = function SearchableSelect(_ref) {
27062
27067
 
27063
27068
  var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$v, "default");
27064
27069
 
27065
- var borderColor$3 = {
27070
+ var borderColor$2 = {
27066
27071
  "default": "".concat(GREY_CHATEAU)
27067
27072
  };
27068
27073
  var borderSize = {
27069
27074
  "default": "1px"
27070
27075
  };
27071
27076
  var fallbackValues$w = {
27072
- borderColor: borderColor$3,
27077
+ borderColor: borderColor$2,
27073
27078
  borderSize: borderSize
27074
27079
  };
27075
27080
 
@@ -37890,12 +37895,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
37890
37895
  }));
37891
37896
  };
37892
37897
 
37893
- var backgroundColor$6 = WHITE;
37898
+ var backgroundColor$5 = WHITE;
37894
37899
  var imageBackgroundColor = INFO_BLUE;
37895
37900
  var headerBackgroundColor = STORM_GREY;
37896
37901
  var headerColor = WHITE;
37897
37902
  var fallbackValues$y = {
37898
- backgroundColor: backgroundColor$6,
37903
+ backgroundColor: backgroundColor$5,
37899
37904
  imageBackgroundColor: imageBackgroundColor,
37900
37905
  headerBackgroundColor: headerBackgroundColor,
37901
37906
  headerColor: headerColor
@@ -38048,11 +38053,11 @@ var Card = function Card(_ref) {
38048
38053
  var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$y);
38049
38054
 
38050
38055
  var fontFamily$6 = "Public Sans, sans-serif";
38051
- var activeColor$6 = MATISSE_BLUE;
38056
+ var activeColor$7 = MATISSE_BLUE;
38052
38057
  var linkColor$3 = CHARADE_GREY;
38053
38058
  var fallbackValues$A = {
38054
38059
  fontFamily: fontFamily$6,
38055
- activeColor: activeColor$6,
38060
+ activeColor: activeColor$7,
38056
38061
  linkColor: linkColor$3
38057
38062
  };
38058
38063
 
@@ -38182,11 +38187,11 @@ var TableCell_styled = styled__default.td.withConfig({
38182
38187
  return extraStyles;
38183
38188
  });
38184
38189
 
38185
- var backgroundColor$7 = ALABASTER_WHITE;
38186
- var borderColor$4 = GREY_CHATEAU;
38190
+ var backgroundColor$6 = ALABASTER_WHITE;
38191
+ var borderColor$3 = GREY_CHATEAU;
38187
38192
  var fallbackValues$B = {
38188
- backgroundColor: backgroundColor$7,
38189
- borderColor: borderColor$4
38193
+ backgroundColor: backgroundColor$6,
38194
+ borderColor: borderColor$3
38190
38195
  };
38191
38196
 
38192
38197
  var StyledTableHead = styled__default.thead.withConfig({
@@ -38204,10 +38209,10 @@ var StyledTableHead = styled__default.thead.withConfig({
38204
38209
  return fontSize;
38205
38210
  });
38206
38211
 
38207
- var borderColor$5 = GREY_CHATEAU;
38212
+ var borderColor$4 = GREY_CHATEAU;
38208
38213
  var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
38209
38214
  var fallbackValues$C = {
38210
- borderColor: borderColor$5,
38215
+ borderColor: borderColor$4,
38211
38216
  hoverBackgroundColor: hoverBackgroundColor$1
38212
38217
  };
38213
38218
 
@@ -40184,9 +40189,9 @@ AddressForm.reducer = reducer;
40184
40189
  AddressForm.mapStateToProps = mapStateToProps$1;
40185
40190
  AddressForm.mapDispatchToProps = mapDispatchToProps;
40186
40191
 
40187
- var backgroundColor$8 = "#ebeffb";
40192
+ var backgroundColor$7 = "#ebeffb";
40188
40193
  var fallbackValues$D = {
40189
- backgroundColor: backgroundColor$8
40194
+ backgroundColor: backgroundColor$7
40190
40195
  };
40191
40196
 
40192
40197
  var Banner = function Banner(_ref) {
@@ -41181,10 +41186,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
41181
41186
  ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
41182
41187
 
41183
41188
  var textColor$4 = "#ffffff";
41184
- var backgroundColor$9 = "#182848";
41189
+ var backgroundColor$8 = "#182848";
41185
41190
  var fallbackValues$G = {
41186
41191
  textColor: textColor$4,
41187
- backgroundColor: backgroundColor$9
41192
+ backgroundColor: backgroundColor$8
41188
41193
  };
41189
41194
 
41190
41195
  var HighlightTabRow = function HighlightTabRow(_ref) {
@@ -46389,7 +46394,7 @@ var borderRadius = {
46389
46394
  largeTitle: "0.25rem",
46390
46395
  small: "0.25rem"
46391
46396
  };
46392
- var backgroundColor$a = {
46397
+ var backgroundColor$9 = {
46393
46398
  "default": WHITE,
46394
46399
  largeTitle: WHITE,
46395
46400
  small: WHITE
@@ -46404,7 +46409,7 @@ var fallbackValues$H = {
46404
46409
  titleSpacing: titleSpacing,
46405
46410
  boxShadow: boxShadow$1,
46406
46411
  borderRadius: borderRadius,
46407
- backgroundColor: backgroundColor$a
46412
+ backgroundColor: backgroundColor$9
46408
46413
  };
46409
46414
 
46410
46415
  /*
@@ -46464,7 +46469,7 @@ var Module = function Module(_ref) {
46464
46469
 
46465
46470
  var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$H, "default"));
46466
46471
 
46467
- var backgroundColor$b = {
46472
+ var backgroundColor$a = {
46468
46473
  profile: "#3b414d",
46469
46474
  cms: "#3b414d"
46470
46475
  };
@@ -46473,7 +46478,7 @@ var shadowColor = {
46473
46478
  cms: "#292A33"
46474
46479
  };
46475
46480
  var fallbackValues$I = {
46476
- backgroundColor: backgroundColor$b,
46481
+ backgroundColor: backgroundColor$a,
46477
46482
  shadowColor: shadowColor
46478
46483
  };
46479
46484
 
@@ -46632,14 +46637,14 @@ var TitleModule = function TitleModule(_ref) {
46632
46637
 
46633
46638
  var color$a = "#15749D";
46634
46639
  var hoverColor$5 = "#116285";
46635
- var activeColor$7 = "#0E506D";
46640
+ var activeColor$8 = "#0E506D";
46636
46641
  var linkColor$4 = "#3176AA";
46637
46642
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
46638
46643
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
46639
46644
  var fallbackValues$J = {
46640
46645
  color: color$a,
46641
46646
  hoverColor: hoverColor$5,
46642
- activeColor: activeColor$7,
46647
+ activeColor: activeColor$8,
46643
46648
  linkColor: linkColor$4,
46644
46649
  fontWeight: fontWeight$6,
46645
46650
  modalLinkHoverFocus: modalLinkHoverFocus
@@ -47436,9 +47441,9 @@ var arrowColor = WHITE;
47436
47441
  var numberColor = MATISSE_BLUE;
47437
47442
  var hoverBackgroundColor$2 = ALABASTER_WHITE;
47438
47443
  var activeBackgroundColor$1 = WHITE;
47439
- var activeColor$8 = MATISSE_BLUE;
47444
+ var activeColor$9 = MATISSE_BLUE;
47440
47445
  var fallbackValues$K = {
47441
- activeColor: activeColor$8,
47446
+ activeColor: activeColor$9,
47442
47447
  activeBackgroundColor: activeBackgroundColor$1,
47443
47448
  arrowColor: arrowColor,
47444
47449
  hoverBackgroundColor: hoverBackgroundColor$2,
@@ -47713,7 +47718,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
47713
47718
  }, !hideBackButton && /*#__PURE__*/React__default.createElement(React.Fragment, null, backButton), !hideForwardButton && /*#__PURE__*/React__default.createElement(React.Fragment, null, forwardButton))));
47714
47719
  };
47715
47720
 
47716
- var backgroundColor$c = {
47721
+ var backgroundColor$b = {
47717
47722
  "default": "transparent",
47718
47723
  small: "transparent"
47719
47724
  };
@@ -47730,7 +47735,7 @@ var labeledAmountTotal = {
47730
47735
  small: "p"
47731
47736
  };
47732
47737
  var fallbackValues$L = {
47733
- backgroundColor: backgroundColor$c,
47738
+ backgroundColor: backgroundColor$b,
47734
47739
  lineItem: lineItem,
47735
47740
  labeledAmountSubtotal: labeledAmountSubtotal,
47736
47741
  labeledAmountTotal: labeledAmountTotal
@@ -48127,7 +48132,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
48127
48132
 
48128
48133
  var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$M, "default");
48129
48134
 
48130
- var backgroundColor$d = {
48135
+ var backgroundColor$c = {
48131
48136
  "default": "#ffffff",
48132
48137
  footer: "#ffffff"
48133
48138
  };
@@ -48157,7 +48162,7 @@ var modalLinkHoverFocus$2 = {
48157
48162
  footer: standardInteractionStyles
48158
48163
  };
48159
48164
  var fallbackValues$N = {
48160
- backgroundColor: backgroundColor$d,
48165
+ backgroundColor: backgroundColor$c,
48161
48166
  linkColor: linkColor$6,
48162
48167
  border: border$3,
48163
48168
  fontSize: fontSize$b,
@@ -49018,13 +49023,13 @@ var RadioGroup = function RadioGroup(_ref) {
49018
49023
  var headingBackgroundColor$1 = "".concat(WHITE);
49019
49024
  var headingDisabledColor = "".concat(ATHENS_GREY);
49020
49025
  var bodyBackgroundColor$1 = "#eeeeee";
49021
- var borderColor$6 = "".concat(GREY_CHATEAU);
49026
+ var borderColor$5 = "".concat(GREY_CHATEAU);
49022
49027
  var focusStyles = "outline: none;";
49023
49028
  var fallbackValues$O = {
49024
49029
  headingBackgroundColor: headingBackgroundColor$1,
49025
49030
  headingDisabledColor: headingDisabledColor,
49026
49031
  bodyBackgroundColor: bodyBackgroundColor$1,
49027
- borderColor: borderColor$6,
49032
+ borderColor: borderColor$5,
49028
49033
  focusStyles: focusStyles
49029
49034
  };
49030
49035