@thecb/components 8.0.4-beta.5 → 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 +47 -47
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +47 -47
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.js +7 -8
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.theme.js +4 -4
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
|
|
26808
|
-
var
|
|
26807
|
+
var activeColor$5 = MATISSE_BLUE;
|
|
26808
|
+
var inactiveBorderColor = GREY_CHATEAU;
|
|
26809
26809
|
var fallbackValues$t = {
|
|
26810
|
-
|
|
26811
|
-
|
|
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
|
|
26823
|
-
return "1px solid ".concat(
|
|
26822
|
+
var inactiveBorderColor = _ref.inactiveBorderColor;
|
|
26823
|
+
return "1px solid ".concat(inactiveBorderColor);
|
|
26824
26824
|
}, function (_ref2) {
|
|
26825
|
-
var
|
|
26826
|
-
return
|
|
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
|
|
26833
|
-
return "1px solid ".concat(
|
|
26832
|
+
var activeColor = _ref3.activeColor;
|
|
26833
|
+
return "1px solid ".concat(activeColor, ";");
|
|
26834
26834
|
}, HiddenRadioInput, Circle, function (_ref4) {
|
|
26835
|
-
var
|
|
26836
|
-
return "0px 0px 2px 1px ".concat(
|
|
26835
|
+
var activeColor = _ref4.activeColor;
|
|
26836
|
+
return "0px 0px 2px 1px ".concat(activeColor, ";");
|
|
26837
26837
|
});
|
|
26838
26838
|
|
|
26839
26839
|
var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
@@ -26853,7 +26853,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
26853
26853
|
return /*#__PURE__*/React.createElement(InputAndLabelContainer, {
|
|
26854
26854
|
align: "center",
|
|
26855
26855
|
childGap: "0.5rem",
|
|
26856
|
-
|
|
26856
|
+
activeColor: themeValues.activeColor
|
|
26857
26857
|
}, /*#__PURE__*/React.createElement(HiddenRadioInput, {
|
|
26858
26858
|
"aria-invalid": ariaInvalid,
|
|
26859
26859
|
style: {
|
|
@@ -26873,17 +26873,17 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
26873
26873
|
htmlFor: id,
|
|
26874
26874
|
extraStyles: "\n font-size: 1rem;\n display: flex; \n width: 100%;\n :hover {\n cursor: pointer;\n }\n "
|
|
26875
26875
|
}, /*#__PURE__*/React.createElement(Circle, {
|
|
26876
|
-
|
|
26877
|
-
|
|
26876
|
+
activeColor: themeValues.activeColor,
|
|
26877
|
+
inactiveBorderColor: themeValues.inactiveBorderColor
|
|
26878
26878
|
}), labelText));
|
|
26879
26879
|
};
|
|
26880
26880
|
|
|
26881
26881
|
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$t);
|
|
26882
26882
|
|
|
26883
|
-
var activeColor$
|
|
26883
|
+
var activeColor$6 = "".concat(MATISSE_BLUE);
|
|
26884
26884
|
var inactiveColor = "".concat(GREY_CHATEAU);
|
|
26885
26885
|
var fallbackValues$u = {
|
|
26886
|
-
activeColor: activeColor$
|
|
26886
|
+
activeColor: activeColor$6,
|
|
26887
26887
|
inactiveColor: inactiveColor
|
|
26888
26888
|
};
|
|
26889
26889
|
|
|
@@ -27059,14 +27059,14 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
27059
27059
|
|
|
27060
27060
|
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$v, "default");
|
|
27061
27061
|
|
|
27062
|
-
var borderColor$
|
|
27062
|
+
var borderColor$2 = {
|
|
27063
27063
|
"default": "".concat(GREY_CHATEAU)
|
|
27064
27064
|
};
|
|
27065
27065
|
var borderSize = {
|
|
27066
27066
|
"default": "1px"
|
|
27067
27067
|
};
|
|
27068
27068
|
var fallbackValues$w = {
|
|
27069
|
-
borderColor: borderColor$
|
|
27069
|
+
borderColor: borderColor$2,
|
|
27070
27070
|
borderSize: borderSize
|
|
27071
27071
|
};
|
|
27072
27072
|
|
|
@@ -37887,12 +37887,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
|
37887
37887
|
}));
|
|
37888
37888
|
};
|
|
37889
37889
|
|
|
37890
|
-
var backgroundColor$
|
|
37890
|
+
var backgroundColor$5 = WHITE;
|
|
37891
37891
|
var imageBackgroundColor = INFO_BLUE;
|
|
37892
37892
|
var headerBackgroundColor = STORM_GREY;
|
|
37893
37893
|
var headerColor = WHITE;
|
|
37894
37894
|
var fallbackValues$y = {
|
|
37895
|
-
backgroundColor: backgroundColor$
|
|
37895
|
+
backgroundColor: backgroundColor$5,
|
|
37896
37896
|
imageBackgroundColor: imageBackgroundColor,
|
|
37897
37897
|
headerBackgroundColor: headerBackgroundColor,
|
|
37898
37898
|
headerColor: headerColor
|
|
@@ -38045,11 +38045,11 @@ var Card = function Card(_ref) {
|
|
|
38045
38045
|
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$y);
|
|
38046
38046
|
|
|
38047
38047
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
38048
|
-
var activeColor$
|
|
38048
|
+
var activeColor$7 = MATISSE_BLUE;
|
|
38049
38049
|
var linkColor$3 = CHARADE_GREY;
|
|
38050
38050
|
var fallbackValues$A = {
|
|
38051
38051
|
fontFamily: fontFamily$6,
|
|
38052
|
-
activeColor: activeColor$
|
|
38052
|
+
activeColor: activeColor$7,
|
|
38053
38053
|
linkColor: linkColor$3
|
|
38054
38054
|
};
|
|
38055
38055
|
|
|
@@ -38179,11 +38179,11 @@ var TableCell_styled = styled.td.withConfig({
|
|
|
38179
38179
|
return extraStyles;
|
|
38180
38180
|
});
|
|
38181
38181
|
|
|
38182
|
-
var backgroundColor$
|
|
38183
|
-
var borderColor$
|
|
38182
|
+
var backgroundColor$6 = ALABASTER_WHITE;
|
|
38183
|
+
var borderColor$3 = GREY_CHATEAU;
|
|
38184
38184
|
var fallbackValues$B = {
|
|
38185
|
-
backgroundColor: backgroundColor$
|
|
38186
|
-
borderColor: borderColor$
|
|
38185
|
+
backgroundColor: backgroundColor$6,
|
|
38186
|
+
borderColor: borderColor$3
|
|
38187
38187
|
};
|
|
38188
38188
|
|
|
38189
38189
|
var StyledTableHead = styled.thead.withConfig({
|
|
@@ -38201,10 +38201,10 @@ var StyledTableHead = styled.thead.withConfig({
|
|
|
38201
38201
|
return fontSize;
|
|
38202
38202
|
});
|
|
38203
38203
|
|
|
38204
|
-
var borderColor$
|
|
38204
|
+
var borderColor$4 = GREY_CHATEAU;
|
|
38205
38205
|
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
38206
38206
|
var fallbackValues$C = {
|
|
38207
|
-
borderColor: borderColor$
|
|
38207
|
+
borderColor: borderColor$4,
|
|
38208
38208
|
hoverBackgroundColor: hoverBackgroundColor$1
|
|
38209
38209
|
};
|
|
38210
38210
|
|
|
@@ -40181,9 +40181,9 @@ AddressForm.reducer = reducer;
|
|
|
40181
40181
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
40182
40182
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
40183
40183
|
|
|
40184
|
-
var backgroundColor$
|
|
40184
|
+
var backgroundColor$7 = "#ebeffb";
|
|
40185
40185
|
var fallbackValues$D = {
|
|
40186
|
-
backgroundColor: backgroundColor$
|
|
40186
|
+
backgroundColor: backgroundColor$7
|
|
40187
40187
|
};
|
|
40188
40188
|
|
|
40189
40189
|
var Banner = function Banner(_ref) {
|
|
@@ -41178,10 +41178,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
|
41178
41178
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
41179
41179
|
|
|
41180
41180
|
var textColor$4 = "#ffffff";
|
|
41181
|
-
var backgroundColor$
|
|
41181
|
+
var backgroundColor$8 = "#182848";
|
|
41182
41182
|
var fallbackValues$G = {
|
|
41183
41183
|
textColor: textColor$4,
|
|
41184
|
-
backgroundColor: backgroundColor$
|
|
41184
|
+
backgroundColor: backgroundColor$8
|
|
41185
41185
|
};
|
|
41186
41186
|
|
|
41187
41187
|
var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
@@ -46386,7 +46386,7 @@ var borderRadius = {
|
|
|
46386
46386
|
largeTitle: "0.25rem",
|
|
46387
46387
|
small: "0.25rem"
|
|
46388
46388
|
};
|
|
46389
|
-
var backgroundColor$
|
|
46389
|
+
var backgroundColor$9 = {
|
|
46390
46390
|
"default": WHITE,
|
|
46391
46391
|
largeTitle: WHITE,
|
|
46392
46392
|
small: WHITE
|
|
@@ -46401,7 +46401,7 @@ var fallbackValues$H = {
|
|
|
46401
46401
|
titleSpacing: titleSpacing,
|
|
46402
46402
|
boxShadow: boxShadow$1,
|
|
46403
46403
|
borderRadius: borderRadius,
|
|
46404
|
-
backgroundColor: backgroundColor$
|
|
46404
|
+
backgroundColor: backgroundColor$9
|
|
46405
46405
|
};
|
|
46406
46406
|
|
|
46407
46407
|
/*
|
|
@@ -46461,7 +46461,7 @@ var Module = function Module(_ref) {
|
|
|
46461
46461
|
|
|
46462
46462
|
var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$H, "default"));
|
|
46463
46463
|
|
|
46464
|
-
var backgroundColor$
|
|
46464
|
+
var backgroundColor$a = {
|
|
46465
46465
|
profile: "#3b414d",
|
|
46466
46466
|
cms: "#3b414d"
|
|
46467
46467
|
};
|
|
@@ -46470,7 +46470,7 @@ var shadowColor = {
|
|
|
46470
46470
|
cms: "#292A33"
|
|
46471
46471
|
};
|
|
46472
46472
|
var fallbackValues$I = {
|
|
46473
|
-
backgroundColor: backgroundColor$
|
|
46473
|
+
backgroundColor: backgroundColor$a,
|
|
46474
46474
|
shadowColor: shadowColor
|
|
46475
46475
|
};
|
|
46476
46476
|
|
|
@@ -46629,14 +46629,14 @@ var TitleModule = function TitleModule(_ref) {
|
|
|
46629
46629
|
|
|
46630
46630
|
var color$a = "#15749D";
|
|
46631
46631
|
var hoverColor$5 = "#116285";
|
|
46632
|
-
var activeColor$
|
|
46632
|
+
var activeColor$8 = "#0E506D";
|
|
46633
46633
|
var linkColor$4 = "#3176AA";
|
|
46634
46634
|
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
46635
46635
|
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
46636
46636
|
var fallbackValues$J = {
|
|
46637
46637
|
color: color$a,
|
|
46638
46638
|
hoverColor: hoverColor$5,
|
|
46639
|
-
activeColor: activeColor$
|
|
46639
|
+
activeColor: activeColor$8,
|
|
46640
46640
|
linkColor: linkColor$4,
|
|
46641
46641
|
fontWeight: fontWeight$6,
|
|
46642
46642
|
modalLinkHoverFocus: modalLinkHoverFocus
|
|
@@ -47433,9 +47433,9 @@ var arrowColor = WHITE;
|
|
|
47433
47433
|
var numberColor = MATISSE_BLUE;
|
|
47434
47434
|
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
47435
47435
|
var activeBackgroundColor$1 = WHITE;
|
|
47436
|
-
var activeColor$
|
|
47436
|
+
var activeColor$9 = MATISSE_BLUE;
|
|
47437
47437
|
var fallbackValues$K = {
|
|
47438
|
-
activeColor: activeColor$
|
|
47438
|
+
activeColor: activeColor$9,
|
|
47439
47439
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
47440
47440
|
arrowColor: arrowColor,
|
|
47441
47441
|
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
@@ -47710,7 +47710,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47710
47710
|
}, !hideBackButton && /*#__PURE__*/React.createElement(Fragment$1, null, backButton), !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton))));
|
|
47711
47711
|
};
|
|
47712
47712
|
|
|
47713
|
-
var backgroundColor$
|
|
47713
|
+
var backgroundColor$b = {
|
|
47714
47714
|
"default": "transparent",
|
|
47715
47715
|
small: "transparent"
|
|
47716
47716
|
};
|
|
@@ -47727,7 +47727,7 @@ var labeledAmountTotal = {
|
|
|
47727
47727
|
small: "p"
|
|
47728
47728
|
};
|
|
47729
47729
|
var fallbackValues$L = {
|
|
47730
|
-
backgroundColor: backgroundColor$
|
|
47730
|
+
backgroundColor: backgroundColor$b,
|
|
47731
47731
|
lineItem: lineItem,
|
|
47732
47732
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
47733
47733
|
labeledAmountTotal: labeledAmountTotal
|
|
@@ -48124,7 +48124,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
48124
48124
|
|
|
48125
48125
|
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$M, "default");
|
|
48126
48126
|
|
|
48127
|
-
var backgroundColor$
|
|
48127
|
+
var backgroundColor$c = {
|
|
48128
48128
|
"default": "#ffffff",
|
|
48129
48129
|
footer: "#ffffff"
|
|
48130
48130
|
};
|
|
@@ -48154,7 +48154,7 @@ var modalLinkHoverFocus$2 = {
|
|
|
48154
48154
|
footer: standardInteractionStyles
|
|
48155
48155
|
};
|
|
48156
48156
|
var fallbackValues$N = {
|
|
48157
|
-
backgroundColor: backgroundColor$
|
|
48157
|
+
backgroundColor: backgroundColor$c,
|
|
48158
48158
|
linkColor: linkColor$6,
|
|
48159
48159
|
border: border$3,
|
|
48160
48160
|
fontSize: fontSize$b,
|
|
@@ -49015,13 +49015,13 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
49015
49015
|
var headingBackgroundColor$1 = "".concat(WHITE);
|
|
49016
49016
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
49017
49017
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
49018
|
-
var borderColor$
|
|
49018
|
+
var borderColor$5 = "".concat(GREY_CHATEAU);
|
|
49019
49019
|
var focusStyles = "outline: none;";
|
|
49020
49020
|
var fallbackValues$O = {
|
|
49021
49021
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
49022
49022
|
headingDisabledColor: headingDisabledColor,
|
|
49023
49023
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
49024
|
-
borderColor: borderColor$
|
|
49024
|
+
borderColor: borderColor$5,
|
|
49025
49025
|
focusStyles: focusStyles
|
|
49026
49026
|
};
|
|
49027
49027
|
|