@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.esm.js CHANGED
@@ -26804,11 +26804,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
26804
26804
 
26805
26805
  var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$s, "default");
26806
26806
 
26807
- var backgroundColor$5 = MATISSE_BLUE;
26808
- var borderColor$2 = GREY_CHATEAU;
26807
+ var activeColor$5 = MATISSE_BLUE;
26808
+ var inactiveBorderColor = GREY_CHATEAU;
26809
26809
  var fallbackValues$t = {
26810
- borderColor: borderColor$2,
26811
- backgroundColor: backgroundColor$5
26810
+ inactiveBorderColor: inactiveBorderColor,
26811
+ activeColor: activeColor$5
26812
26812
  };
26813
26813
 
26814
26814
  var HiddenRadioInput = styled.input.withConfig({
@@ -26819,21 +26819,21 @@ var Circle = styled.div.withConfig({
26819
26819
  displayName: "RadioButtonWithLabel__Circle",
26820
26820
  componentId: "sc-1m9whwg-1"
26821
26821
  })(["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);
26822
+ var inactiveBorderColor = _ref.inactiveBorderColor;
26823
+ return "1px solid ".concat(inactiveBorderColor);
26824
26824
  }, function (_ref2) {
26825
- var backgroundColor = _ref2.backgroundColor;
26826
- return backgroundColor;
26825
+ var activeColor = _ref2.activeColor;
26826
+ return activeColor;
26827
26827
  });
26828
26828
  var InputAndLabelContainer = styled(Cluster).withConfig({
26829
26829
  displayName: "RadioButtonWithLabel__InputAndLabelContainer",
26830
26830
  componentId: "sc-1m9whwg-2"
26831
26831
  })(["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, ";");
26832
+ var activeColor = _ref3.activeColor;
26833
+ return "1px solid ".concat(activeColor, ";");
26834
26834
  }, HiddenRadioInput, Circle, function (_ref4) {
26835
- var backgroundColor = _ref4.backgroundColor;
26836
- return "0px 0px 2px 1px ".concat(backgroundColor, ";");
26835
+ var activeColor = _ref4.activeColor;
26836
+ return "0px 0px 2px 1px ".concat(activeColor, ";");
26837
26837
  });
26838
26838
 
26839
26839
  var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
@@ -26846,12 +26846,14 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
26846
26846
  groupName = _ref5.groupName,
26847
26847
  setValue = _ref5.setValue,
26848
26848
  ariaInvalid = _ref5.ariaInvalid,
26849
+ themeValues = _ref5.themeValues,
26849
26850
  index = _ref5.index,
26850
26851
  _ref5$handleChange = _ref5.handleChange,
26851
26852
  handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange;
26852
26853
  return /*#__PURE__*/React.createElement(InputAndLabelContainer, {
26853
26854
  align: "center",
26854
- childGap: "0.5rem"
26855
+ childGap: "0.5rem",
26856
+ activeColor: themeValues.activeColor
26855
26857
  }, /*#__PURE__*/React.createElement(HiddenRadioInput, {
26856
26858
  "aria-invalid": ariaInvalid,
26857
26859
  style: {
@@ -26870,15 +26872,18 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
26870
26872
  as: "label",
26871
26873
  htmlFor: id,
26872
26874
  extraStyles: "\n font-size: 1rem;\n display: flex; \n width: 100%;\n :hover {\n cursor: pointer;\n }\n "
26873
- }, /*#__PURE__*/React.createElement(Circle, null), labelText));
26875
+ }, /*#__PURE__*/React.createElement(Circle, {
26876
+ activeColor: themeValues.activeColor,
26877
+ inactiveBorderColor: themeValues.inactiveBorderColor
26878
+ }), labelText));
26874
26879
  };
26875
26880
 
26876
26881
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$t);
26877
26882
 
26878
- var activeColor$5 = "".concat(MATISSE_BLUE);
26883
+ var activeColor$6 = "".concat(MATISSE_BLUE);
26879
26884
  var inactiveColor = "".concat(GREY_CHATEAU);
26880
26885
  var fallbackValues$u = {
26881
- activeColor: activeColor$5,
26886
+ activeColor: activeColor$6,
26882
26887
  inactiveColor: inactiveColor
26883
26888
  };
26884
26889
 
@@ -27054,14 +27059,14 @@ var SearchableSelect = function SearchableSelect(_ref) {
27054
27059
 
27055
27060
  var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$v, "default");
27056
27061
 
27057
- var borderColor$3 = {
27062
+ var borderColor$2 = {
27058
27063
  "default": "".concat(GREY_CHATEAU)
27059
27064
  };
27060
27065
  var borderSize = {
27061
27066
  "default": "1px"
27062
27067
  };
27063
27068
  var fallbackValues$w = {
27064
- borderColor: borderColor$3,
27069
+ borderColor: borderColor$2,
27065
27070
  borderSize: borderSize
27066
27071
  };
27067
27072
 
@@ -37882,12 +37887,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
37882
37887
  }));
37883
37888
  };
37884
37889
 
37885
- var backgroundColor$6 = WHITE;
37890
+ var backgroundColor$5 = WHITE;
37886
37891
  var imageBackgroundColor = INFO_BLUE;
37887
37892
  var headerBackgroundColor = STORM_GREY;
37888
37893
  var headerColor = WHITE;
37889
37894
  var fallbackValues$y = {
37890
- backgroundColor: backgroundColor$6,
37895
+ backgroundColor: backgroundColor$5,
37891
37896
  imageBackgroundColor: imageBackgroundColor,
37892
37897
  headerBackgroundColor: headerBackgroundColor,
37893
37898
  headerColor: headerColor
@@ -38040,11 +38045,11 @@ var Card = function Card(_ref) {
38040
38045
  var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$y);
38041
38046
 
38042
38047
  var fontFamily$6 = "Public Sans, sans-serif";
38043
- var activeColor$6 = MATISSE_BLUE;
38048
+ var activeColor$7 = MATISSE_BLUE;
38044
38049
  var linkColor$3 = CHARADE_GREY;
38045
38050
  var fallbackValues$A = {
38046
38051
  fontFamily: fontFamily$6,
38047
- activeColor: activeColor$6,
38052
+ activeColor: activeColor$7,
38048
38053
  linkColor: linkColor$3
38049
38054
  };
38050
38055
 
@@ -38174,11 +38179,11 @@ var TableCell_styled = styled.td.withConfig({
38174
38179
  return extraStyles;
38175
38180
  });
38176
38181
 
38177
- var backgroundColor$7 = ALABASTER_WHITE;
38178
- var borderColor$4 = GREY_CHATEAU;
38182
+ var backgroundColor$6 = ALABASTER_WHITE;
38183
+ var borderColor$3 = GREY_CHATEAU;
38179
38184
  var fallbackValues$B = {
38180
- backgroundColor: backgroundColor$7,
38181
- borderColor: borderColor$4
38185
+ backgroundColor: backgroundColor$6,
38186
+ borderColor: borderColor$3
38182
38187
  };
38183
38188
 
38184
38189
  var StyledTableHead = styled.thead.withConfig({
@@ -38196,10 +38201,10 @@ var StyledTableHead = styled.thead.withConfig({
38196
38201
  return fontSize;
38197
38202
  });
38198
38203
 
38199
- var borderColor$5 = GREY_CHATEAU;
38204
+ var borderColor$4 = GREY_CHATEAU;
38200
38205
  var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
38201
38206
  var fallbackValues$C = {
38202
- borderColor: borderColor$5,
38207
+ borderColor: borderColor$4,
38203
38208
  hoverBackgroundColor: hoverBackgroundColor$1
38204
38209
  };
38205
38210
 
@@ -40176,9 +40181,9 @@ AddressForm.reducer = reducer;
40176
40181
  AddressForm.mapStateToProps = mapStateToProps$1;
40177
40182
  AddressForm.mapDispatchToProps = mapDispatchToProps;
40178
40183
 
40179
- var backgroundColor$8 = "#ebeffb";
40184
+ var backgroundColor$7 = "#ebeffb";
40180
40185
  var fallbackValues$D = {
40181
- backgroundColor: backgroundColor$8
40186
+ backgroundColor: backgroundColor$7
40182
40187
  };
40183
40188
 
40184
40189
  var Banner = function Banner(_ref) {
@@ -41173,10 +41178,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
41173
41178
  ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
41174
41179
 
41175
41180
  var textColor$4 = "#ffffff";
41176
- var backgroundColor$9 = "#182848";
41181
+ var backgroundColor$8 = "#182848";
41177
41182
  var fallbackValues$G = {
41178
41183
  textColor: textColor$4,
41179
- backgroundColor: backgroundColor$9
41184
+ backgroundColor: backgroundColor$8
41180
41185
  };
41181
41186
 
41182
41187
  var HighlightTabRow = function HighlightTabRow(_ref) {
@@ -46381,7 +46386,7 @@ var borderRadius = {
46381
46386
  largeTitle: "0.25rem",
46382
46387
  small: "0.25rem"
46383
46388
  };
46384
- var backgroundColor$a = {
46389
+ var backgroundColor$9 = {
46385
46390
  "default": WHITE,
46386
46391
  largeTitle: WHITE,
46387
46392
  small: WHITE
@@ -46396,7 +46401,7 @@ var fallbackValues$H = {
46396
46401
  titleSpacing: titleSpacing,
46397
46402
  boxShadow: boxShadow$1,
46398
46403
  borderRadius: borderRadius,
46399
- backgroundColor: backgroundColor$a
46404
+ backgroundColor: backgroundColor$9
46400
46405
  };
46401
46406
 
46402
46407
  /*
@@ -46456,7 +46461,7 @@ var Module = function Module(_ref) {
46456
46461
 
46457
46462
  var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$H, "default"));
46458
46463
 
46459
- var backgroundColor$b = {
46464
+ var backgroundColor$a = {
46460
46465
  profile: "#3b414d",
46461
46466
  cms: "#3b414d"
46462
46467
  };
@@ -46465,7 +46470,7 @@ var shadowColor = {
46465
46470
  cms: "#292A33"
46466
46471
  };
46467
46472
  var fallbackValues$I = {
46468
- backgroundColor: backgroundColor$b,
46473
+ backgroundColor: backgroundColor$a,
46469
46474
  shadowColor: shadowColor
46470
46475
  };
46471
46476
 
@@ -46624,14 +46629,14 @@ var TitleModule = function TitleModule(_ref) {
46624
46629
 
46625
46630
  var color$a = "#15749D";
46626
46631
  var hoverColor$5 = "#116285";
46627
- var activeColor$7 = "#0E506D";
46632
+ var activeColor$8 = "#0E506D";
46628
46633
  var linkColor$4 = "#3176AA";
46629
46634
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
46630
46635
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
46631
46636
  var fallbackValues$J = {
46632
46637
  color: color$a,
46633
46638
  hoverColor: hoverColor$5,
46634
- activeColor: activeColor$7,
46639
+ activeColor: activeColor$8,
46635
46640
  linkColor: linkColor$4,
46636
46641
  fontWeight: fontWeight$6,
46637
46642
  modalLinkHoverFocus: modalLinkHoverFocus
@@ -47428,9 +47433,9 @@ var arrowColor = WHITE;
47428
47433
  var numberColor = MATISSE_BLUE;
47429
47434
  var hoverBackgroundColor$2 = ALABASTER_WHITE;
47430
47435
  var activeBackgroundColor$1 = WHITE;
47431
- var activeColor$8 = MATISSE_BLUE;
47436
+ var activeColor$9 = MATISSE_BLUE;
47432
47437
  var fallbackValues$K = {
47433
- activeColor: activeColor$8,
47438
+ activeColor: activeColor$9,
47434
47439
  activeBackgroundColor: activeBackgroundColor$1,
47435
47440
  arrowColor: arrowColor,
47436
47441
  hoverBackgroundColor: hoverBackgroundColor$2,
@@ -47705,7 +47710,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
47705
47710
  }, !hideBackButton && /*#__PURE__*/React.createElement(Fragment$1, null, backButton), !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton))));
47706
47711
  };
47707
47712
 
47708
- var backgroundColor$c = {
47713
+ var backgroundColor$b = {
47709
47714
  "default": "transparent",
47710
47715
  small: "transparent"
47711
47716
  };
@@ -47722,7 +47727,7 @@ var labeledAmountTotal = {
47722
47727
  small: "p"
47723
47728
  };
47724
47729
  var fallbackValues$L = {
47725
- backgroundColor: backgroundColor$c,
47730
+ backgroundColor: backgroundColor$b,
47726
47731
  lineItem: lineItem,
47727
47732
  labeledAmountSubtotal: labeledAmountSubtotal,
47728
47733
  labeledAmountTotal: labeledAmountTotal
@@ -48119,7 +48124,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
48119
48124
 
48120
48125
  var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$M, "default");
48121
48126
 
48122
- var backgroundColor$d = {
48127
+ var backgroundColor$c = {
48123
48128
  "default": "#ffffff",
48124
48129
  footer: "#ffffff"
48125
48130
  };
@@ -48149,7 +48154,7 @@ var modalLinkHoverFocus$2 = {
48149
48154
  footer: standardInteractionStyles
48150
48155
  };
48151
48156
  var fallbackValues$N = {
48152
- backgroundColor: backgroundColor$d,
48157
+ backgroundColor: backgroundColor$c,
48153
48158
  linkColor: linkColor$6,
48154
48159
  border: border$3,
48155
48160
  fontSize: fontSize$b,
@@ -49010,13 +49015,13 @@ var RadioGroup = function RadioGroup(_ref) {
49010
49015
  var headingBackgroundColor$1 = "".concat(WHITE);
49011
49016
  var headingDisabledColor = "".concat(ATHENS_GREY);
49012
49017
  var bodyBackgroundColor$1 = "#eeeeee";
49013
- var borderColor$6 = "".concat(GREY_CHATEAU);
49018
+ var borderColor$5 = "".concat(GREY_CHATEAU);
49014
49019
  var focusStyles = "outline: none;";
49015
49020
  var fallbackValues$O = {
49016
49021
  headingBackgroundColor: headingBackgroundColor$1,
49017
49022
  headingDisabledColor: headingDisabledColor,
49018
49023
  bodyBackgroundColor: bodyBackgroundColor$1,
49019
- borderColor: borderColor$6,
49024
+ borderColor: borderColor$5,
49020
49025
  focusStyles: focusStyles
49021
49026
  };
49022
49027