@thecb/components 3.0.0 → 3.1.1
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/.github/workflows/disabled-workflows/publish-update.yml +73 -0
- package/dist/index.cjs.js +176 -226
- package/package.json +1 -1
- package/src/components/atoms/breadcrumb/Breadcrumb.js +0 -2
- package/src/components/atoms/button-with-action/ButtonWithAction.js +6 -1
- package/src/components/atoms/layouts/Box.js +0 -2
- package/src/components/atoms/layouts/Box.styled.js +1 -17
- package/src/components/atoms/layouts/Motion.styled.js +2 -5
- package/src/components/atoms/link/ExternalLink.js +3 -3
- package/src/components/atoms/link/ExternalLink.styled.js +9 -2
- package/src/components/atoms/link/InternalLink.js +2 -4
- package/src/components/atoms/link/InternalLink.styled.js +13 -15
- package/src/components/atoms/link/Link.theme.js +7 -1
- package/src/components/atoms/placeholder/Placeholder.js +2 -1
- package/src/components/atoms/text/Text.js +0 -2
- package/src/components/atoms/text/Text.styled.js +2 -8
- package/src/components/atoms/toggle-switch/ToggleSwitch.js +1 -1
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +0 -1
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +1 -1
- package/src/components/molecules/radio-section/RadioSection.js +1 -1
- package/src/components/molecules/tab-sidebar/TabSidebar.js +10 -5
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +0 -1
- package/.github/workflows/publish-update.yml +0 -73
package/dist/index.cjs.js
CHANGED
|
@@ -814,18 +814,8 @@ function _nonIterableRest() {
|
|
|
814
814
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
815
815
|
}
|
|
816
816
|
|
|
817
|
-
function _templateObject8() {
|
|
818
|
-
var data = _taggedTemplateLiteral(["\n display: none;\n "]);
|
|
819
|
-
|
|
820
|
-
_templateObject8 = function _templateObject8() {
|
|
821
|
-
return data;
|
|
822
|
-
};
|
|
823
|
-
|
|
824
|
-
return data;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
817
|
function _templateObject7() {
|
|
828
|
-
var data = _taggedTemplateLiteral(["\n
|
|
818
|
+
var data = _taggedTemplateLiteral(["\n display: none;\n "]);
|
|
829
819
|
|
|
830
820
|
_templateObject7 = function _templateObject7() {
|
|
831
821
|
return data;
|
|
@@ -835,7 +825,7 @@ function _templateObject7() {
|
|
|
835
825
|
}
|
|
836
826
|
|
|
837
827
|
function _templateObject6() {
|
|
838
|
-
var data = _taggedTemplateLiteral(["\n
|
|
828
|
+
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
839
829
|
|
|
840
830
|
_templateObject6 = function _templateObject6() {
|
|
841
831
|
return data;
|
|
@@ -845,7 +835,7 @@ function _templateObject6() {
|
|
|
845
835
|
}
|
|
846
836
|
|
|
847
837
|
function _templateObject5() {
|
|
848
|
-
var data = _taggedTemplateLiteral(["\n
|
|
838
|
+
var data = _taggedTemplateLiteral(["\n display: none;\n "]);
|
|
849
839
|
|
|
850
840
|
_templateObject5 = function _templateObject5() {
|
|
851
841
|
return data;
|
|
@@ -885,7 +875,7 @@ function _templateObject2() {
|
|
|
885
875
|
}
|
|
886
876
|
|
|
887
877
|
function _templateObject() {
|
|
888
|
-
var data = _taggedTemplateLiteral(["\n position: relative;\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n box-shadow: ", ";\n background-color: ", ";\n min-height: ", ";\n ", "\n min-width: ", ";\n max-width: ", ";\n color: ", ";\n border-radius: ", ";\n border-width: ", ";\n border: ", ";\n text-align: ", ";\n\n &:hover
|
|
878
|
+
var data = _taggedTemplateLiteral(["\n position: relative;\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n box-shadow: ", ";\n background-color: ", ";\n min-height: ", ";\n ", "\n min-width: ", ";\n max-width: ", ";\n color: ", ";\n border-radius: ", ";\n border-width: ", ";\n border: ", ";\n text-align: ", ";\n\n &:hover, &:focus {\n ", "\n }\n\n &:active {\n ", "\n }\n\n &:disabled {\n ", "\n }\n\n & * {\n color: ", ";\n }\n\n ", "\n ", "\n\n ", "\n"]);
|
|
889
879
|
|
|
890
880
|
_templateObject = function _templateObject() {
|
|
891
881
|
return data;
|
|
@@ -905,7 +895,6 @@ function _templateObject() {
|
|
|
905
895
|
|
|
906
896
|
var BoxWrapper = styled__default(function (_ref) {
|
|
907
897
|
var activeStyles = _ref.activeStyles,
|
|
908
|
-
focusStyles = _ref.focusStyles,
|
|
909
898
|
hoverStyles = _ref.hoverStyles,
|
|
910
899
|
disabledStyles = _ref.disabledStyles,
|
|
911
900
|
extraStyles = _ref.extraStyles,
|
|
@@ -919,7 +908,7 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
919
908
|
minWidth = _ref.minWidth,
|
|
920
909
|
maxWidth = _ref.maxWidth,
|
|
921
910
|
padding = _ref.padding,
|
|
922
|
-
props = _objectWithoutProperties(_ref, ["activeStyles", "
|
|
911
|
+
props = _objectWithoutProperties(_ref, ["activeStyles", "hoverStyles", "disabledStyles", "extraStyles", "borderSize", "borderColor", "borderWidthOverride", "borderRadius", "textAlign", "boxShadow", "minHeight", "minWidth", "maxWidth", "padding"]);
|
|
923
912
|
|
|
924
913
|
return /*#__PURE__*/React__default.createElement("div", props);
|
|
925
914
|
})(_templateObject(), function (_ref2) {
|
|
@@ -968,29 +957,25 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
968
957
|
as = _ref15.as;
|
|
969
958
|
return styled.css(_templateObject2(), hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
970
959
|
}, function (_ref16) {
|
|
971
|
-
var
|
|
960
|
+
var activeStyles = _ref16.activeStyles,
|
|
972
961
|
as = _ref16.as;
|
|
973
|
-
return styled.css(_templateObject3(),
|
|
962
|
+
return styled.css(_templateObject3(), activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
974
963
|
}, function (_ref17) {
|
|
975
|
-
var
|
|
964
|
+
var disabledStyles = _ref17.disabledStyles,
|
|
976
965
|
as = _ref17.as;
|
|
977
|
-
return styled.css(_templateObject4(),
|
|
966
|
+
return styled.css(_templateObject4(), disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
978
967
|
}, function (_ref18) {
|
|
979
|
-
var
|
|
980
|
-
as = _ref18.as;
|
|
981
|
-
return styled.css(_templateObject5(), disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
982
|
-
}, function (_ref19) {
|
|
983
|
-
var color = _ref19.color;
|
|
968
|
+
var color = _ref18.color;
|
|
984
969
|
return color;
|
|
970
|
+
}, function (_ref19) {
|
|
971
|
+
var hiddenStyles = _ref19.hiddenStyles;
|
|
972
|
+
return hiddenStyles && styled.css(_templateObject5());
|
|
985
973
|
}, function (_ref20) {
|
|
986
|
-
var
|
|
987
|
-
return
|
|
974
|
+
var extraStyles = _ref20.extraStyles;
|
|
975
|
+
return styled.css(_templateObject6(), extraStyles);
|
|
988
976
|
}, function (_ref21) {
|
|
989
|
-
var
|
|
990
|
-
return styled.css(_templateObject7()
|
|
991
|
-
}, function (_ref22) {
|
|
992
|
-
var hiddenStyles = _ref22.hiddenStyles;
|
|
993
|
-
return hiddenStyles && styled.css(_templateObject8());
|
|
977
|
+
var hiddenStyles = _ref21.hiddenStyles;
|
|
978
|
+
return hiddenStyles && styled.css(_templateObject7());
|
|
994
979
|
});
|
|
995
980
|
/* eslint-enable no-unused-vars */
|
|
996
981
|
|
|
@@ -2097,7 +2082,6 @@ var Box = function Box(_ref) {
|
|
|
2097
2082
|
border = _ref.border,
|
|
2098
2083
|
textAlign = _ref.textAlign,
|
|
2099
2084
|
hoverStyles = _ref.hoverStyles,
|
|
2100
|
-
focusStyles = _ref.focusStyles,
|
|
2101
2085
|
activeStyles = _ref.activeStyles,
|
|
2102
2086
|
disabledStyles = _ref.disabledStyles,
|
|
2103
2087
|
variant = _ref.variant,
|
|
@@ -2114,7 +2098,7 @@ var Box = function Box(_ref) {
|
|
|
2114
2098
|
extraStyles = _ref.extraStyles,
|
|
2115
2099
|
dataQa = _ref.dataQa,
|
|
2116
2100
|
children = _ref.children,
|
|
2117
|
-
rest = _objectWithoutProperties(_ref, ["padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "
|
|
2101
|
+
rest = _objectWithoutProperties(_ref, ["padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "dataQa", "children"]);
|
|
2118
2102
|
|
|
2119
2103
|
return /*#__PURE__*/React__default.createElement(BoxWrapper, _extends({
|
|
2120
2104
|
padding: padding,
|
|
@@ -2131,7 +2115,6 @@ var Box = function Box(_ref) {
|
|
|
2131
2115
|
borderWidthOverride: borderWidthOverride,
|
|
2132
2116
|
border: border,
|
|
2133
2117
|
hoverStyles: hoverStyles,
|
|
2134
|
-
focusStyles: focusStyles,
|
|
2135
2118
|
activeStyles: activeStyles,
|
|
2136
2119
|
disabledStyles: disabledStyles,
|
|
2137
2120
|
variant: variant,
|
|
@@ -9380,7 +9363,7 @@ if (typeof window !== "undefined") {
|
|
|
9380
9363
|
}
|
|
9381
9364
|
|
|
9382
9365
|
function _templateObject$a() {
|
|
9383
|
-
var data = _taggedTemplateLiteral(["\n position: ", ";\n display: ", ";\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n border-color: ", ";\n border-size: ", ";\n border-style: ", ";\n border-width: ", ";\n border-radius: ", ";\n background-color: ", ";\n box-shadow: ", ";\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n text-align: ", ";\n margin: ", ";\n\n &:hover
|
|
9366
|
+
var data = _taggedTemplateLiteral(["\n position: ", ";\n display: ", ";\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n border-color: ", ";\n border-size: ", ";\n border-style: ", ";\n border-width: ", ";\n border-radius: ", ";\n background-color: ", ";\n box-shadow: ", ";\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n text-align: ", ";\n margin: ", ";\n\n &:hover,\n &:focus {\n ", ";\n }\n\n &:active {\n ", ";\n }\n\n &:disabled {\n ", ";\n }\n\n ", ";\n"]);
|
|
9384
9367
|
|
|
9385
9368
|
_templateObject$a = function _templateObject() {
|
|
9386
9369
|
return data;
|
|
@@ -9446,13 +9429,10 @@ var MotionWrapper = styled__default(motion.div)(_templateObject$a(), function (_
|
|
|
9446
9429
|
var activeStyles = _ref19.activeStyles;
|
|
9447
9430
|
return activeStyles;
|
|
9448
9431
|
}, function (_ref20) {
|
|
9449
|
-
var
|
|
9450
|
-
return focusStyles;
|
|
9451
|
-
}, function (_ref21) {
|
|
9452
|
-
var disabledStyles = _ref21.disabledStyles;
|
|
9432
|
+
var disabledStyles = _ref20.disabledStyles;
|
|
9453
9433
|
return disabledStyles;
|
|
9454
|
-
}, function (
|
|
9455
|
-
var extraStyles =
|
|
9434
|
+
}, function (_ref21) {
|
|
9435
|
+
var extraStyles = _ref21.extraStyles;
|
|
9456
9436
|
return extraStyles;
|
|
9457
9437
|
});
|
|
9458
9438
|
|
|
@@ -9733,18 +9713,8 @@ var style_constants = /*#__PURE__*/Object.freeze({
|
|
|
9733
9713
|
FONT_WEIGHT_SEMIBOLD: FONT_WEIGHT_SEMIBOLD
|
|
9734
9714
|
});
|
|
9735
9715
|
|
|
9736
|
-
function _templateObject4$1() {
|
|
9737
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
9738
|
-
|
|
9739
|
-
_templateObject4$1 = function _templateObject4() {
|
|
9740
|
-
return data;
|
|
9741
|
-
};
|
|
9742
|
-
|
|
9743
|
-
return data;
|
|
9744
|
-
}
|
|
9745
|
-
|
|
9746
9716
|
function _templateObject3$2() {
|
|
9747
|
-
var data = _taggedTemplateLiteral(["\n
|
|
9717
|
+
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
9748
9718
|
|
|
9749
9719
|
_templateObject3$2 = function _templateObject3() {
|
|
9750
9720
|
return data;
|
|
@@ -9764,7 +9734,7 @@ function _templateObject2$4() {
|
|
|
9764
9734
|
}
|
|
9765
9735
|
|
|
9766
9736
|
function _templateObject$c() {
|
|
9767
|
-
var data = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n\n &:hover
|
|
9737
|
+
var data = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n\n &:hover,\n &:focus {\n ", "\n }\n\n ", "\n\n ", "\n"]);
|
|
9768
9738
|
|
|
9769
9739
|
_templateObject$c = function _templateObject() {
|
|
9770
9740
|
return data;
|
|
@@ -9788,14 +9758,11 @@ var TextSpan = styled__default.span(_templateObject$c(), function (_ref) {
|
|
|
9788
9758
|
var hoverStyles = _ref5.hoverStyles;
|
|
9789
9759
|
return styled.css(_templateObject2$4(), hoverStyles);
|
|
9790
9760
|
}, function (_ref6) {
|
|
9791
|
-
var
|
|
9792
|
-
|
|
9761
|
+
var disabled = _ref6.disabled,
|
|
9762
|
+
disabledStyles = _ref6.disabledStyles;
|
|
9763
|
+
return disabled && styled.css(_templateObject3$2(), disabledStyles);
|
|
9793
9764
|
}, function (_ref7) {
|
|
9794
|
-
var
|
|
9795
|
-
disabledStyles = _ref7.disabledStyles;
|
|
9796
|
-
return disabled && styled.css(_templateObject4$1(), disabledStyles);
|
|
9797
|
-
}, function (_ref8) {
|
|
9798
|
-
var extraStyles = _ref8.extraStyles;
|
|
9765
|
+
var extraStyles = _ref7.extraStyles;
|
|
9799
9766
|
return extraStyles;
|
|
9800
9767
|
});
|
|
9801
9768
|
|
|
@@ -9808,11 +9775,10 @@ var Text = function Text(_ref) {
|
|
|
9808
9775
|
_ref$extraStyles = _ref.extraStyles,
|
|
9809
9776
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
9810
9777
|
hoverStyles = _ref.hoverStyles,
|
|
9811
|
-
focusStyles = _ref.focusStyles,
|
|
9812
9778
|
onClick = _ref.onClick,
|
|
9813
9779
|
dataQa = _ref.dataQa,
|
|
9814
9780
|
children = _ref.children,
|
|
9815
|
-
rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "
|
|
9781
|
+
rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "dataQa", "children"]);
|
|
9816
9782
|
|
|
9817
9783
|
return /*#__PURE__*/React__default.createElement(TextSpan, _extends({
|
|
9818
9784
|
fontSize: themeValues.fontSize,
|
|
@@ -9821,7 +9787,6 @@ var Text = function Text(_ref) {
|
|
|
9821
9787
|
fontFamily: themeValues.fontFamily,
|
|
9822
9788
|
extraStyles: extraStyles,
|
|
9823
9789
|
hoverStyles: hoverStyles,
|
|
9824
|
-
focusStyles: focusStyles,
|
|
9825
9790
|
onClick: onClick,
|
|
9826
9791
|
"data-qa": dataQa
|
|
9827
9792
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
@@ -10083,12 +10048,16 @@ var fontFamily$2 = {
|
|
|
10083
10048
|
primary: "Public Sans",
|
|
10084
10049
|
secondary: "Open Sans"
|
|
10085
10050
|
};
|
|
10051
|
+
var hoverColor = "#116285";
|
|
10052
|
+
var activeColor$1 = "#0E506D";
|
|
10086
10053
|
var fallbackValues$5 = {
|
|
10087
|
-
fontFamily: fontFamily$2
|
|
10054
|
+
fontFamily: fontFamily$2,
|
|
10055
|
+
hoverColor: hoverColor,
|
|
10056
|
+
activeColor: activeColor$1
|
|
10088
10057
|
};
|
|
10089
10058
|
|
|
10090
10059
|
function _templateObject$e() {
|
|
10091
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n font-size: ", ";\n color: ", ";\n font-weight: ", ";\n font-family: ", ";\n line-height: ", ";\n\n &:hover {\n color: ", ";\n }\n\n ", "\n"]);
|
|
10060
|
+
var data = _taggedTemplateLiteral(["\n display: flex;\n font-size: ", ";\n color: ", ";\n font-weight: ", ";\n font-family: ", ";\n line-height: ", ";\n\n &:hover,\n &:focus {\n color: ", ";\n text-decoration: underline;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"]);
|
|
10092
10061
|
|
|
10093
10062
|
_templateObject$e = function _templateObject() {
|
|
10094
10063
|
return data;
|
|
@@ -10105,8 +10074,9 @@ function _templateObject$e() {
|
|
|
10105
10074
|
|
|
10106
10075
|
var StyledExternalLink = styled__default(function (_ref) {
|
|
10107
10076
|
var hoverColor = _ref.hoverColor,
|
|
10077
|
+
activeColor = _ref.activeColor,
|
|
10108
10078
|
extraStyles = _ref.extraStyles,
|
|
10109
|
-
props = _objectWithoutProperties(_ref, ["hoverColor", "extraStyles"]);
|
|
10079
|
+
props = _objectWithoutProperties(_ref, ["hoverColor", "activeColor", "extraStyles"]);
|
|
10110
10080
|
|
|
10111
10081
|
return /*#__PURE__*/React__default.createElement("a", props);
|
|
10112
10082
|
})(_templateObject$e(), function (_ref2) {
|
|
@@ -10128,7 +10098,10 @@ var StyledExternalLink = styled__default(function (_ref) {
|
|
|
10128
10098
|
var hovercolor = _ref7.hovercolor;
|
|
10129
10099
|
return hovercolor;
|
|
10130
10100
|
}, function (_ref8) {
|
|
10131
|
-
var
|
|
10101
|
+
var activeColor = _ref8.activeColor;
|
|
10102
|
+
return activeColor;
|
|
10103
|
+
}, function (_ref9) {
|
|
10104
|
+
var extrastyles = _ref9.extrastyles;
|
|
10132
10105
|
return extrastyles;
|
|
10133
10106
|
});
|
|
10134
10107
|
/* eslint-enable no-unused-vars */
|
|
@@ -10146,8 +10119,6 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
10146
10119
|
lineHeight = _ref$lineHeight === void 0 ? "1.5rem" : _ref$lineHeight,
|
|
10147
10120
|
_ref$weight = _ref.weight,
|
|
10148
10121
|
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
10149
|
-
_ref$hoverColor = _ref.hoverColor,
|
|
10150
|
-
hoverColor = _ref$hoverColor === void 0 ? SCIENCE_BLUE : _ref$hoverColor,
|
|
10151
10122
|
_ref$extraStyles = _ref.extraStyles,
|
|
10152
10123
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
10153
10124
|
_ref$variant = _ref.variant,
|
|
@@ -10164,7 +10135,8 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
10164
10135
|
size: size,
|
|
10165
10136
|
lineheight: lineHeight,
|
|
10166
10137
|
weight: weight,
|
|
10167
|
-
hovercolor: hoverColor,
|
|
10138
|
+
hovercolor: themeValues.hoverColor,
|
|
10139
|
+
activeColor: themeValues.activeColor,
|
|
10168
10140
|
fontFamily: themeValues.fontFamily,
|
|
10169
10141
|
tabIndex: tabIndex,
|
|
10170
10142
|
extrastyles: extraStyles,
|
|
@@ -10172,28 +10144,8 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
10172
10144
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
10173
10145
|
};
|
|
10174
10146
|
|
|
10175
|
-
function _templateObject3$3() {
|
|
10176
|
-
var data = _taggedTemplateLiteral(["\n ", "\n cursor: default;\n pointer-events: none;\n "]);
|
|
10177
|
-
|
|
10178
|
-
_templateObject3$3 = function _templateObject3() {
|
|
10179
|
-
return data;
|
|
10180
|
-
};
|
|
10181
|
-
|
|
10182
|
-
return data;
|
|
10183
|
-
}
|
|
10184
|
-
|
|
10185
|
-
function _templateObject2$5() {
|
|
10186
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
10187
|
-
|
|
10188
|
-
_templateObject2$5 = function _templateObject2() {
|
|
10189
|
-
return data;
|
|
10190
|
-
};
|
|
10191
|
-
|
|
10192
|
-
return data;
|
|
10193
|
-
}
|
|
10194
|
-
|
|
10195
10147
|
function _templateObject$f() {
|
|
10196
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n color: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-size: ", ";\n font-family: ", ";\n margin: ", ";\n\n &:hover {\n ", "
|
|
10148
|
+
var data = _taggedTemplateLiteral(["\n display: flex;\n color: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-size: ", ";\n font-family: ", ";\n margin: ", ";\n text-decoration: ", ";\n\n &:hover,\n &:focus {\n color: ", ";\n text-decoration: underline;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"]);
|
|
10197
10149
|
|
|
10198
10150
|
_templateObject$f = function _templateObject() {
|
|
10199
10151
|
return data;
|
|
@@ -10209,15 +10161,17 @@ function _templateObject$f() {
|
|
|
10209
10161
|
/* eslint-disable no-unused-vars */
|
|
10210
10162
|
|
|
10211
10163
|
var StyledInternalLink = styled__default(function (_ref) {
|
|
10212
|
-
var
|
|
10213
|
-
|
|
10164
|
+
var hoverColor = _ref.hoverColor,
|
|
10165
|
+
activeColor = _ref.activeColor,
|
|
10214
10166
|
active = _ref.active,
|
|
10215
|
-
props = _objectWithoutProperties(_ref, ["
|
|
10167
|
+
props = _objectWithoutProperties(_ref, ["hoverColor", "activeColor", "active"]);
|
|
10216
10168
|
|
|
10217
10169
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, props);
|
|
10218
10170
|
})(_templateObject$f(), function (_ref2) {
|
|
10219
|
-
var color = _ref2.color
|
|
10220
|
-
|
|
10171
|
+
var color = _ref2.color,
|
|
10172
|
+
active = _ref2.active,
|
|
10173
|
+
activeColor = _ref2.activeColor;
|
|
10174
|
+
return active === true ? activeColor : color;
|
|
10221
10175
|
}, function (_ref3) {
|
|
10222
10176
|
var fontWeight = _ref3.fontWeight;
|
|
10223
10177
|
return fontWeight;
|
|
@@ -10234,14 +10188,16 @@ var StyledInternalLink = styled__default(function (_ref) {
|
|
|
10234
10188
|
var margin = _ref7.margin;
|
|
10235
10189
|
return margin;
|
|
10236
10190
|
}, function (_ref8) {
|
|
10237
|
-
var
|
|
10238
|
-
return
|
|
10191
|
+
var active = _ref8.active;
|
|
10192
|
+
return active === true ? "underline" : "none";
|
|
10239
10193
|
}, function (_ref9) {
|
|
10240
|
-
var
|
|
10241
|
-
|
|
10242
|
-
return active === "true" && styled.css(_templateObject3$3(), activeStyles);
|
|
10194
|
+
var hovercolor = _ref9.hovercolor;
|
|
10195
|
+
return hovercolor;
|
|
10243
10196
|
}, function (_ref10) {
|
|
10244
|
-
var
|
|
10197
|
+
var activeColor = _ref10.activeColor;
|
|
10198
|
+
return activeColor;
|
|
10199
|
+
}, function (_ref11) {
|
|
10200
|
+
var extrastyles = _ref11.extrastyles;
|
|
10245
10201
|
return extrastyles;
|
|
10246
10202
|
});
|
|
10247
10203
|
/* eslint-enable no-unused-vars */
|
|
@@ -10251,7 +10207,6 @@ var InternalLink = function InternalLink(_ref) {
|
|
|
10251
10207
|
to = _ref$to === void 0 ? "" : _ref$to,
|
|
10252
10208
|
color = _ref.color,
|
|
10253
10209
|
children = _ref.children,
|
|
10254
|
-
activeStyles = _ref.activeStyles,
|
|
10255
10210
|
active = _ref.active,
|
|
10256
10211
|
fontSize = _ref.fontSize,
|
|
10257
10212
|
lineheight = _ref.lineheight,
|
|
@@ -10259,7 +10214,6 @@ var InternalLink = function InternalLink(_ref) {
|
|
|
10259
10214
|
_ref$variant = _ref.variant,
|
|
10260
10215
|
variant = _ref$variant === void 0 ? "primary" : _ref$variant,
|
|
10261
10216
|
margin = _ref.margin,
|
|
10262
|
-
hoverStyles = _ref.hoverStyles,
|
|
10263
10217
|
_ref$tabIndex = _ref.tabIndex,
|
|
10264
10218
|
tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
|
|
10265
10219
|
_ref$extraStyles = _ref.extraStyles,
|
|
@@ -10270,13 +10224,13 @@ var InternalLink = function InternalLink(_ref) {
|
|
|
10270
10224
|
to: to,
|
|
10271
10225
|
color: color,
|
|
10272
10226
|
lineheight: lineheight,
|
|
10273
|
-
activeStyles: activeStyles,
|
|
10274
10227
|
active: active,
|
|
10275
10228
|
fontWeight: fontWeight,
|
|
10276
10229
|
fontSize: fontSize,
|
|
10277
10230
|
fontFamily: themeValues.fontFamily,
|
|
10278
10231
|
margin: margin,
|
|
10279
|
-
|
|
10232
|
+
hoverColor: themeValues.hoverColor,
|
|
10233
|
+
activeColor: themeValues.activeColor,
|
|
10280
10234
|
tabIndex: tabIndex,
|
|
10281
10235
|
extrastyles: extraStyles
|
|
10282
10236
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
@@ -10304,12 +10258,10 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
10304
10258
|
to: linkDestination,
|
|
10305
10259
|
active: isActive.toString(),
|
|
10306
10260
|
color: themeValues.color,
|
|
10307
|
-
activeStyles: themeValues.activeColor,
|
|
10308
10261
|
fontSize: themeValues.fontSize,
|
|
10309
10262
|
lineheight: themeValues.lineHeight,
|
|
10310
10263
|
fontWeight: themeValues.fontWeight,
|
|
10311
10264
|
margin: themeValues.margin,
|
|
10312
|
-
hoverStyles: themeValues.hover,
|
|
10313
10265
|
extraStyles: "\n text-transform: uppercase;\n &:first-child {\n margin-left: 0;\n }"
|
|
10314
10266
|
}, linkText), index < breadcrumbsList.length - 1 && /*#__PURE__*/React__default.createElement(IconChevron, null));
|
|
10315
10267
|
})));
|
|
@@ -13319,7 +13271,7 @@ var hoverBorderColor = {
|
|
|
13319
13271
|
smallGhost: "transparent",
|
|
13320
13272
|
danger: "#BA002C"
|
|
13321
13273
|
};
|
|
13322
|
-
var hoverColor = {
|
|
13274
|
+
var hoverColor$1 = {
|
|
13323
13275
|
primary: "#FFFFFF",
|
|
13324
13276
|
secondary: "#116285",
|
|
13325
13277
|
back: "#116285",
|
|
@@ -13349,7 +13301,7 @@ var activeBorderColor = {
|
|
|
13349
13301
|
smallGhost: "transparent",
|
|
13350
13302
|
danger: "#870000"
|
|
13351
13303
|
};
|
|
13352
|
-
var activeColor$
|
|
13304
|
+
var activeColor$2 = {
|
|
13353
13305
|
primary: "#FFFFFF",
|
|
13354
13306
|
secondary: "#0E506D",
|
|
13355
13307
|
back: "#0E506D",
|
|
@@ -13370,16 +13322,16 @@ var fallbackValues$6 = {
|
|
|
13370
13322
|
border: border$1,
|
|
13371
13323
|
hoverBackgroundColor: hoverBackgroundColor,
|
|
13372
13324
|
hoverBorderColor: hoverBorderColor,
|
|
13373
|
-
hoverColor: hoverColor,
|
|
13325
|
+
hoverColor: hoverColor$1,
|
|
13374
13326
|
activeBackgroundColor: activeBackgroundColor,
|
|
13375
13327
|
activeBorderColor: activeBorderColor,
|
|
13376
|
-
activeColor: activeColor$
|
|
13328
|
+
activeColor: activeColor$2
|
|
13377
13329
|
};
|
|
13378
13330
|
|
|
13379
|
-
function _templateObject2$
|
|
13331
|
+
function _templateObject2$5() {
|
|
13380
13332
|
var data = _taggedTemplateLiteral(["\n width: ", "px;\n height: ", "px;\n"]);
|
|
13381
13333
|
|
|
13382
|
-
_templateObject2$
|
|
13334
|
+
_templateObject2$5 = function _templateObject2() {
|
|
13383
13335
|
return data;
|
|
13384
13336
|
};
|
|
13385
13337
|
|
|
@@ -13411,7 +13363,7 @@ var rotate = posed.div({
|
|
|
13411
13363
|
}
|
|
13412
13364
|
});
|
|
13413
13365
|
var SpinnerContainer = styled__default.div(_templateObject$g());
|
|
13414
|
-
var SpinnerIconWrapper = styled__default(rotate)(_templateObject2$
|
|
13366
|
+
var SpinnerIconWrapper = styled__default(rotate)(_templateObject2$5(), function (_ref) {
|
|
13415
13367
|
var size = _ref.size;
|
|
13416
13368
|
return size;
|
|
13417
13369
|
}, function (_ref2) {
|
|
@@ -13455,10 +13407,10 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
13455
13407
|
}))))));
|
|
13456
13408
|
};
|
|
13457
13409
|
|
|
13458
|
-
function _templateObject2$
|
|
13410
|
+
function _templateObject2$6() {
|
|
13459
13411
|
var data = _taggedTemplateLiteral(["\n width: 24px;\n height: 24px;\n"]);
|
|
13460
13412
|
|
|
13461
|
-
_templateObject2$
|
|
13413
|
+
_templateObject2$6 = function _templateObject2() {
|
|
13462
13414
|
return data;
|
|
13463
13415
|
};
|
|
13464
13416
|
|
|
@@ -13490,7 +13442,7 @@ var rotate$1 = posed.div({
|
|
|
13490
13442
|
}
|
|
13491
13443
|
});
|
|
13492
13444
|
var SpinnerContainer$1 = styled__default.div(_templateObject$h());
|
|
13493
|
-
var SpinnerIconWrapper$1 = styled__default(rotate$1)(_templateObject2$
|
|
13445
|
+
var SpinnerIconWrapper$1 = styled__default(rotate$1)(_templateObject2$6());
|
|
13494
13446
|
|
|
13495
13447
|
var Spinner = function Spinner() {
|
|
13496
13448
|
return /*#__PURE__*/React__default.createElement(SpinnerContainer$1, null, /*#__PURE__*/React__default.createElement(SpinnerIconWrapper$1, {
|
|
@@ -13534,8 +13486,8 @@ var ButtonWithAction = function ButtonWithAction(_ref) {
|
|
|
13534
13486
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
13535
13487
|
var themeValues = createThemeValues(themeContext, fallbackValues$6, "Button", variant);
|
|
13536
13488
|
var loadingExtraStyles = "".concat(extraStyles, "; padding-top: 0.75rem; padding-bottom: 0.75rem;");
|
|
13537
|
-
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n ");
|
|
13538
|
-
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n ");
|
|
13489
|
+
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
13490
|
+
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
13539
13491
|
var disabledStyles = "\n background-clor: #6E727E;\n border-clor: #6E727E;\n color: #FFFFFF;\n &:focus {\n box-shadow: 0 0 10px #6E727E;\n outline: none;\n }\n ";
|
|
13540
13492
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
13541
13493
|
variant: variant,
|
|
@@ -13545,7 +13497,6 @@ var ButtonWithAction = function ButtonWithAction(_ref) {
|
|
|
13545
13497
|
background: themeValues.backgroundColor,
|
|
13546
13498
|
border: themeValues.border,
|
|
13547
13499
|
hoverStyles: hoverStyles,
|
|
13548
|
-
focusStyles: hoverStyles,
|
|
13549
13500
|
activeStyles: activeStyles,
|
|
13550
13501
|
disabledStyles: disabledStyles,
|
|
13551
13502
|
as: "button",
|
|
@@ -13685,10 +13636,10 @@ function _templateObject9() {
|
|
|
13685
13636
|
return data;
|
|
13686
13637
|
}
|
|
13687
13638
|
|
|
13688
|
-
function _templateObject8
|
|
13639
|
+
function _templateObject8() {
|
|
13689
13640
|
var data = _taggedTemplateLiteral(["\n ", " ", "\n "]);
|
|
13690
13641
|
|
|
13691
|
-
_templateObject8
|
|
13642
|
+
_templateObject8 = function _templateObject8() {
|
|
13692
13643
|
return data;
|
|
13693
13644
|
};
|
|
13694
13645
|
|
|
@@ -13725,30 +13676,30 @@ function _templateObject5$1() {
|
|
|
13725
13676
|
return data;
|
|
13726
13677
|
}
|
|
13727
13678
|
|
|
13728
|
-
function _templateObject4$
|
|
13679
|
+
function _templateObject4$1() {
|
|
13729
13680
|
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
13730
13681
|
|
|
13731
|
-
_templateObject4$
|
|
13682
|
+
_templateObject4$1 = function _templateObject4() {
|
|
13732
13683
|
return data;
|
|
13733
13684
|
};
|
|
13734
13685
|
|
|
13735
13686
|
return data;
|
|
13736
13687
|
}
|
|
13737
13688
|
|
|
13738
|
-
function _templateObject3$
|
|
13689
|
+
function _templateObject3$3() {
|
|
13739
13690
|
var data = _taggedTemplateLiteral(["\n fill: none;\n stroke-width: 2px;\n stroke: ", ";\n"]);
|
|
13740
13691
|
|
|
13741
|
-
_templateObject3$
|
|
13692
|
+
_templateObject3$3 = function _templateObject3() {
|
|
13742
13693
|
return data;
|
|
13743
13694
|
};
|
|
13744
13695
|
|
|
13745
13696
|
return data;
|
|
13746
13697
|
}
|
|
13747
13698
|
|
|
13748
|
-
function _templateObject2$
|
|
13699
|
+
function _templateObject2$7() {
|
|
13749
13700
|
var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"]);
|
|
13750
13701
|
|
|
13751
|
-
_templateObject2$
|
|
13702
|
+
_templateObject2$7 = function _templateObject2() {
|
|
13752
13703
|
return data;
|
|
13753
13704
|
};
|
|
13754
13705
|
|
|
@@ -13765,12 +13716,12 @@ function _templateObject$i() {
|
|
|
13765
13716
|
return data;
|
|
13766
13717
|
}
|
|
13767
13718
|
var CheckboxContainer = styled__default.div(_templateObject$i());
|
|
13768
|
-
var CheckboxLabelContainer = styled__default.label(_templateObject2$
|
|
13769
|
-
var CheckboxIcon = styled__default.svg(_templateObject3$
|
|
13719
|
+
var CheckboxLabelContainer = styled__default.label(_templateObject2$7());
|
|
13720
|
+
var CheckboxIcon = styled__default.svg(_templateObject3$3(), function (_ref) {
|
|
13770
13721
|
var disabled = _ref.disabled,
|
|
13771
13722
|
disabledCheckColor = _ref.disabledCheckColor,
|
|
13772
13723
|
checkColor = _ref.checkColor;
|
|
13773
|
-
return disabled ? styled.css(_templateObject4$
|
|
13724
|
+
return disabled ? styled.css(_templateObject4$1(), disabledCheckColor) : styled.css(_templateObject5$1(), checkColor);
|
|
13774
13725
|
});
|
|
13775
13726
|
var HiddenCheckbox = styled__default.input.attrs({
|
|
13776
13727
|
type: "checkbox"
|
|
@@ -13788,7 +13739,7 @@ var StyledCheckbox = styled__default.div(_templateObject7$1(), CheckboxIcon, fun
|
|
|
13788
13739
|
focusedStyles = _ref3.focusedStyles,
|
|
13789
13740
|
errorStyles = _ref3.errorStyles,
|
|
13790
13741
|
disabledStyles = _ref3.disabledStyles;
|
|
13791
|
-
return error ? styled.css(_templateObject8
|
|
13742
|
+
return error ? styled.css(_templateObject8(), errorStyles, focused && focusedStyles) : disabled ? styled.css(_templateObject9(), disabledStyles) : checked ? styled.css(_templateObject10(), checkedStyles, focused && focusedStyles) : styled.css(_templateObject11(), defaultStyles, focused && focusedStyles);
|
|
13792
13743
|
});
|
|
13793
13744
|
|
|
13794
13745
|
var Checkbox = function Checkbox(_ref4) {
|
|
@@ -13888,10 +13839,10 @@ to the one generated by name-that-color.
|
|
|
13888
13839
|
var PEWTER_GREY$1 = "#DFE1E4";
|
|
13889
13840
|
var MARINER_BLUE$1 = "#2E75D2";
|
|
13890
13841
|
|
|
13891
|
-
function _templateObject2$
|
|
13842
|
+
function _templateObject2$8() {
|
|
13892
13843
|
var data = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n background-color: ", ";\n border-radius: 8px;\n"]);
|
|
13893
13844
|
|
|
13894
|
-
_templateObject2$
|
|
13845
|
+
_templateObject2$8 = function _templateObject2() {
|
|
13895
13846
|
return data;
|
|
13896
13847
|
};
|
|
13897
13848
|
|
|
@@ -13919,7 +13870,7 @@ var RadioButtonBorder = styled__default.div(_templateObject$j(), function (_ref)
|
|
|
13919
13870
|
return isSelected ? theme.accentColor : theme.inactiveColor;
|
|
13920
13871
|
});
|
|
13921
13872
|
RadioButtonBorder.defaultProps = defaultTheme;
|
|
13922
|
-
var RadioButtonCenter = styled__default.div(_templateObject2$
|
|
13873
|
+
var RadioButtonCenter = styled__default.div(_templateObject2$8(), function (_ref2) {
|
|
13923
13874
|
var theme = _ref2.theme;
|
|
13924
13875
|
return theme.accentColor;
|
|
13925
13876
|
});
|
|
@@ -13934,20 +13885,20 @@ var RadioButton = function RadioButton(_ref3) {
|
|
|
13934
13885
|
}, isSelected && /*#__PURE__*/React__default.createElement(RadioButtonCenter, null));
|
|
13935
13886
|
};
|
|
13936
13887
|
|
|
13937
|
-
function _templateObject3$
|
|
13888
|
+
function _templateObject3$4() {
|
|
13938
13889
|
var data = _taggedTemplateLiteral(["\n position: relative;\n z-index: 5;\n &:focus {\n outline: none;\n }\n"]);
|
|
13939
13890
|
|
|
13940
|
-
_templateObject3$
|
|
13891
|
+
_templateObject3$4 = function _templateObject3() {
|
|
13941
13892
|
return data;
|
|
13942
13893
|
};
|
|
13943
13894
|
|
|
13944
13895
|
return data;
|
|
13945
13896
|
}
|
|
13946
13897
|
|
|
13947
|
-
function _templateObject2$
|
|
13898
|
+
function _templateObject2$9() {
|
|
13948
13899
|
var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n z-index: -2;\n cursor: pointer;\n"]);
|
|
13949
13900
|
|
|
13950
|
-
_templateObject2$
|
|
13901
|
+
_templateObject2$9 = function _templateObject2() {
|
|
13951
13902
|
return data;
|
|
13952
13903
|
};
|
|
13953
13904
|
|
|
@@ -13964,8 +13915,8 @@ function _templateObject$k() {
|
|
|
13964
13915
|
return data;
|
|
13965
13916
|
}
|
|
13966
13917
|
var CheckboxItemIcon = styled__default.img(_templateObject$k());
|
|
13967
|
-
var HiddenCheckboxInput = styled__default.input(_templateObject2$
|
|
13968
|
-
var CheckboxLabel = styled__default.label(_templateObject3$
|
|
13918
|
+
var HiddenCheckboxInput = styled__default.input(_templateObject2$9());
|
|
13919
|
+
var CheckboxLabel = styled__default.label(_templateObject3$4());
|
|
13969
13920
|
|
|
13970
13921
|
var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
13971
13922
|
var text = _ref.text,
|
|
@@ -26989,36 +26940,36 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
26989
26940
|
};
|
|
26990
26941
|
|
|
26991
26942
|
var selectedColor = "".concat(MATISSE_BLUE);
|
|
26992
|
-
var hoverColor$
|
|
26943
|
+
var hoverColor$2 = "".concat(HOVER_LIGHT_BLUE);
|
|
26993
26944
|
var fallbackValues$9 = {
|
|
26994
26945
|
selectedColor: selectedColor,
|
|
26995
|
-
hoverColor: hoverColor$
|
|
26946
|
+
hoverColor: hoverColor$2
|
|
26996
26947
|
};
|
|
26997
26948
|
|
|
26998
|
-
function _templateObject4$
|
|
26949
|
+
function _templateObject4$2() {
|
|
26999
26950
|
var data = _taggedTemplateLiteral(["\n border: none;\n background-color: ", ";\n font-size: 16px;\n height: 24px;\n"]);
|
|
27000
26951
|
|
|
27001
|
-
_templateObject4$
|
|
26952
|
+
_templateObject4$2 = function _templateObject4() {
|
|
27002
26953
|
return data;
|
|
27003
26954
|
};
|
|
27004
26955
|
|
|
27005
26956
|
return data;
|
|
27006
26957
|
}
|
|
27007
26958
|
|
|
27008
|
-
function _templateObject3$
|
|
26959
|
+
function _templateObject3$5() {
|
|
27009
26960
|
var data = _taggedTemplateLiteral(["\n background-color: ", ";\n text-align: start;\n border-size: 0px;\n border-color: transparent;\n box-shadow: none;\n padding: 1rem;\n box-sizing: border-box;\n width: 100%;\n\n &:hover {\n background-color: ", ";\n }\n &:focus {\n background-color: ", ";\n outline: none;\n }\n"]);
|
|
27010
26961
|
|
|
27011
|
-
_templateObject3$
|
|
26962
|
+
_templateObject3$5 = function _templateObject3() {
|
|
27012
26963
|
return data;
|
|
27013
26964
|
};
|
|
27014
26965
|
|
|
27015
26966
|
return data;
|
|
27016
26967
|
}
|
|
27017
26968
|
|
|
27018
|
-
function _templateObject2$
|
|
26969
|
+
function _templateObject2$a() {
|
|
27019
26970
|
var data = _taggedTemplateLiteral(["\n transform-origin: 0 0;\n border: 1px solid ", ";\n border-radius: 2px;\n background-color: ", ";\n padding: 8px 0 8px;\n position: absolute;\n width: 100%;\n max-height: 400px;\n overflow-y: scroll;\n z-index: 1;\n box-sizing: border-box;\n &:focus {\n outline: none;\n }\n"]);
|
|
27020
26971
|
|
|
27021
|
-
_templateObject2$
|
|
26972
|
+
_templateObject2$a = function _templateObject2() {
|
|
27022
26973
|
return data;
|
|
27023
26974
|
};
|
|
27024
26975
|
|
|
@@ -27038,8 +26989,8 @@ var IconWrapper = styled__default.div(_templateObject$l(), function (_ref) {
|
|
|
27038
26989
|
var open = _ref.open;
|
|
27039
26990
|
return open ? "transform: rotate(-180deg)" : "";
|
|
27040
26991
|
});
|
|
27041
|
-
var DropdownContentWrapper = styled__default.div(_templateObject2$
|
|
27042
|
-
var DropdownItemWrapper = styled__default.div(_templateObject3$
|
|
26992
|
+
var DropdownContentWrapper = styled__default.div(_templateObject2$a(), GREY_CHATEAU, WHITE);
|
|
26993
|
+
var DropdownItemWrapper = styled__default.div(_templateObject3$5(), function (_ref2) {
|
|
27043
26994
|
var selected = _ref2.selected,
|
|
27044
26995
|
themeValues = _ref2.themeValues;
|
|
27045
26996
|
return selected ? themeValues.selectedColor : WHITE;
|
|
@@ -27054,7 +27005,7 @@ var DropdownItemWrapper = styled__default.div(_templateObject3$6(), function (_r
|
|
|
27054
27005
|
themeValues = _ref4.themeValues;
|
|
27055
27006
|
return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
|
|
27056
27007
|
});
|
|
27057
|
-
var SearchInput = styled__default.input(_templateObject4$
|
|
27008
|
+
var SearchInput = styled__default.input(_templateObject4$2(), function (_ref5) {
|
|
27058
27009
|
var themeValues = _ref5.themeValues;
|
|
27059
27010
|
return themeValues.hoverColor && themeValues.hoverColor;
|
|
27060
27011
|
});
|
|
@@ -27265,30 +27216,30 @@ var Dropdown = function Dropdown(_ref6) {
|
|
|
27265
27216
|
|
|
27266
27217
|
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$9);
|
|
27267
27218
|
|
|
27268
|
-
function _templateObject4$
|
|
27219
|
+
function _templateObject4$3() {
|
|
27269
27220
|
var data = _taggedTemplateLiteral([""]);
|
|
27270
27221
|
|
|
27271
|
-
_templateObject4$
|
|
27222
|
+
_templateObject4$3 = function _templateObject4() {
|
|
27272
27223
|
return data;
|
|
27273
27224
|
};
|
|
27274
27225
|
|
|
27275
27226
|
return data;
|
|
27276
27227
|
}
|
|
27277
27228
|
|
|
27278
|
-
function _templateObject3$
|
|
27229
|
+
function _templateObject3$6() {
|
|
27279
27230
|
var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: 48px;\n width: 100%;\n padding: 0.75rem 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 &:focus {\n border: 1px solid ", ";\n }\n"]);
|
|
27280
27231
|
|
|
27281
|
-
_templateObject3$
|
|
27232
|
+
_templateObject3$6 = function _templateObject3() {
|
|
27282
27233
|
return data;
|
|
27283
27234
|
};
|
|
27284
27235
|
|
|
27285
27236
|
return data;
|
|
27286
27237
|
}
|
|
27287
27238
|
|
|
27288
|
-
function _templateObject2$
|
|
27239
|
+
function _templateObject2$b() {
|
|
27289
27240
|
var data = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 14px;\n line-height: 18px;\n font-weight: ", ";\n margin-bottom: 4px;\n font-family: Public Sans;\n\n &::first-letter {\n text-transform: uppercase;\n }\n"]);
|
|
27290
27241
|
|
|
27291
|
-
_templateObject2$
|
|
27242
|
+
_templateObject2$b = function _templateObject2() {
|
|
27292
27243
|
return data;
|
|
27293
27244
|
};
|
|
27294
27245
|
|
|
@@ -27305,12 +27256,12 @@ function _templateObject$m() {
|
|
|
27305
27256
|
return data;
|
|
27306
27257
|
}
|
|
27307
27258
|
var SelectContainer = styled__default.div(_templateObject$m());
|
|
27308
|
-
var SelectLabel = styled__default.label(_templateObject2$
|
|
27259
|
+
var SelectLabel = styled__default.label(_templateObject2$b(), function (_ref) {
|
|
27309
27260
|
var field = _ref.field,
|
|
27310
27261
|
showErrors = _ref.showErrors;
|
|
27311
27262
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : STORM_GREY$1;
|
|
27312
27263
|
}, FONT_WEIGHT_REGULAR);
|
|
27313
|
-
var SelectField = styled__default.select(_templateObject3$
|
|
27264
|
+
var SelectField = styled__default.select(_templateObject3$6(), function (_ref2) {
|
|
27314
27265
|
var field = _ref2.field,
|
|
27315
27266
|
showErrors = _ref2.showErrors;
|
|
27316
27267
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : GHOST_GREY;
|
|
@@ -27321,7 +27272,7 @@ var SelectField = styled__default.select(_templateObject3$7(), function (_ref2)
|
|
|
27321
27272
|
var disabled = _ref4.disabled;
|
|
27322
27273
|
return disabled ? DUSTY_GREY : MINESHAFT_GREY;
|
|
27323
27274
|
}, MATISSE_BLUE);
|
|
27324
|
-
var SelectOption = styled__default.option(_templateObject4$
|
|
27275
|
+
var SelectOption = styled__default.option(_templateObject4$3());
|
|
27325
27276
|
|
|
27326
27277
|
var FormSelect = function FormSelect(_ref) {
|
|
27327
27278
|
var fieldActions = _ref.fieldActions,
|
|
@@ -28638,10 +28589,10 @@ var fallbackValues$c = {
|
|
|
28638
28589
|
hoverFocusStyles: hoverFocusStyles
|
|
28639
28590
|
};
|
|
28640
28591
|
|
|
28641
|
-
function _templateObject2$
|
|
28592
|
+
function _templateObject2$c() {
|
|
28642
28593
|
var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: 48px;\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 line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n border: 1px solid ", ";\n }\n"]);
|
|
28643
28594
|
|
|
28644
|
-
_templateObject2$
|
|
28595
|
+
_templateObject2$c = function _templateObject2() {
|
|
28645
28596
|
return data;
|
|
28646
28597
|
};
|
|
28647
28598
|
|
|
@@ -28679,7 +28630,7 @@ var FormattedInputField = styled__default(function (_ref5) {
|
|
|
28679
28630
|
props = _objectWithoutProperties(_ref5, ["showErrors"]);
|
|
28680
28631
|
|
|
28681
28632
|
return /*#__PURE__*/React__default.createElement(src_1, props);
|
|
28682
|
-
})(_templateObject2$
|
|
28633
|
+
})(_templateObject2$c(), function (_ref6) {
|
|
28683
28634
|
var field = _ref6.field,
|
|
28684
28635
|
showErrors = _ref6.showErrors,
|
|
28685
28636
|
themeValues = _ref6.themeValues;
|
|
@@ -29024,10 +28975,10 @@ var fallbackValues$e = {
|
|
|
29024
28975
|
autopayTextColor: autopayTextColor
|
|
29025
28976
|
};
|
|
29026
28977
|
|
|
29027
|
-
function _templateObject2$
|
|
28978
|
+
function _templateObject2$d() {
|
|
29028
28979
|
var data = _taggedTemplateLiteral(["\n margin-right: 16px;\n width: 30px;\n height: auto;\n display: flex;\n"]);
|
|
29029
28980
|
|
|
29030
|
-
_templateObject2$
|
|
28981
|
+
_templateObject2$d = function _templateObject2() {
|
|
29031
28982
|
return data;
|
|
29032
28983
|
};
|
|
29033
28984
|
|
|
@@ -29044,7 +28995,7 @@ function _templateObject$p() {
|
|
|
29044
28995
|
return data;
|
|
29045
28996
|
}
|
|
29046
28997
|
var CreditCardWrapper = styled__default.div(_templateObject$p());
|
|
29047
|
-
var CCIconWrapper = styled__default.div(_templateObject2$
|
|
28998
|
+
var CCIconWrapper = styled__default.div(_templateObject2$d());
|
|
29048
28999
|
|
|
29049
29000
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
29050
29001
|
var lastFour = _ref.lastFour,
|
|
@@ -29067,20 +29018,20 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
29067
29018
|
|
|
29068
29019
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$e, "default");
|
|
29069
29020
|
|
|
29070
|
-
function _templateObject3$
|
|
29021
|
+
function _templateObject3$7() {
|
|
29071
29022
|
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"]);
|
|
29072
29023
|
|
|
29073
|
-
_templateObject3$
|
|
29024
|
+
_templateObject3$7 = function _templateObject3() {
|
|
29074
29025
|
return data;
|
|
29075
29026
|
};
|
|
29076
29027
|
|
|
29077
29028
|
return data;
|
|
29078
29029
|
}
|
|
29079
29030
|
|
|
29080
|
-
function _templateObject2$
|
|
29031
|
+
function _templateObject2$e() {
|
|
29081
29032
|
var data = _taggedTemplateLiteral(["\n width: 34px;\n height: 34px;\n display: inline-block;\n position: relative;\n"]);
|
|
29082
29033
|
|
|
29083
|
-
_templateObject2$
|
|
29034
|
+
_templateObject2$e = function _templateObject2() {
|
|
29084
29035
|
return data;
|
|
29085
29036
|
};
|
|
29086
29037
|
|
|
@@ -29097,8 +29048,8 @@ function _templateObject$q() {
|
|
|
29097
29048
|
return data;
|
|
29098
29049
|
}
|
|
29099
29050
|
var Hamburger = styled__default.button(_templateObject$q());
|
|
29100
|
-
var HamburgerBox = styled__default.span(_templateObject2$
|
|
29101
|
-
var HamburgerInner = styled__default.span(_templateObject3$
|
|
29051
|
+
var HamburgerBox = styled__default.span(_templateObject2$e());
|
|
29052
|
+
var HamburgerInner = styled__default.span(_templateObject3$7(), function (_ref) {
|
|
29102
29053
|
var inactiveColor = _ref.inactiveColor;
|
|
29103
29054
|
return inactiveColor;
|
|
29104
29055
|
}, function (_ref2) {
|
|
@@ -29976,10 +29927,10 @@ var BankIcon = function BankIcon() {
|
|
|
29976
29927
|
}))))))))));
|
|
29977
29928
|
};
|
|
29978
29929
|
|
|
29979
|
-
function _templateObject2$
|
|
29930
|
+
function _templateObject2$f() {
|
|
29980
29931
|
var data = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5rem;\n text-align: left;\n margin-right: 0.5rem;\n display: inline-block;\n"]);
|
|
29981
29932
|
|
|
29982
|
-
_templateObject2$
|
|
29933
|
+
_templateObject2$f = function _templateObject2() {
|
|
29983
29934
|
return data;
|
|
29984
29935
|
};
|
|
29985
29936
|
|
|
@@ -29996,7 +29947,7 @@ function _templateObject$r() {
|
|
|
29996
29947
|
return data;
|
|
29997
29948
|
}
|
|
29998
29949
|
var BankItemWrapper = styled__default.div(_templateObject$r());
|
|
29999
|
-
var BankAccountText = styled__default.h4(_templateObject2$
|
|
29950
|
+
var BankAccountText = styled__default.h4(_templateObject2$f(), CHARADE_GREY);
|
|
30000
29951
|
var CHECKING = "CHECKING";
|
|
30001
29952
|
var SAVINGS = "SAVINGS";
|
|
30002
29953
|
|
|
@@ -30144,10 +30095,10 @@ var fallbackValues$i = {
|
|
|
30144
30095
|
color: color$6
|
|
30145
30096
|
};
|
|
30146
30097
|
|
|
30147
|
-
function _templateObject2$
|
|
30098
|
+
function _templateObject2$g() {
|
|
30148
30099
|
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n line-height: 1;\n"]);
|
|
30149
30100
|
|
|
30150
|
-
_templateObject2$
|
|
30101
|
+
_templateObject2$g = function _templateObject2() {
|
|
30151
30102
|
return data;
|
|
30152
30103
|
};
|
|
30153
30104
|
|
|
@@ -30173,7 +30124,7 @@ var SpinnerSvgAnimation = styled__default.svg(_templateObject$s(), function (_re
|
|
|
30173
30124
|
var color = _ref3.color;
|
|
30174
30125
|
return color;
|
|
30175
30126
|
});
|
|
30176
|
-
var SpinnerContainer$2 = styled__default.div(_templateObject2$
|
|
30127
|
+
var SpinnerContainer$2 = styled__default.div(_templateObject2$g());
|
|
30177
30128
|
|
|
30178
30129
|
var Spinner$1 = function Spinner(_ref4) {
|
|
30179
30130
|
var _ref4$size = _ref4.size,
|
|
@@ -30367,10 +30318,10 @@ function _templateObject9$1() {
|
|
|
30367
30318
|
return data;
|
|
30368
30319
|
}
|
|
30369
30320
|
|
|
30370
|
-
function _templateObject8$
|
|
30321
|
+
function _templateObject8$1() {
|
|
30371
30322
|
var data = _taggedTemplateLiteral(["", " needs a lowercase letter"]);
|
|
30372
30323
|
|
|
30373
|
-
_templateObject8$
|
|
30324
|
+
_templateObject8$1 = function _templateObject8() {
|
|
30374
30325
|
return data;
|
|
30375
30326
|
};
|
|
30376
30327
|
|
|
@@ -30407,30 +30358,30 @@ function _templateObject5$2() {
|
|
|
30407
30358
|
return data;
|
|
30408
30359
|
}
|
|
30409
30360
|
|
|
30410
|
-
function _templateObject4$
|
|
30361
|
+
function _templateObject4$4() {
|
|
30411
30362
|
var data = _taggedTemplateLiteral(["", " is not a valid length"]);
|
|
30412
30363
|
|
|
30413
|
-
_templateObject4$
|
|
30364
|
+
_templateObject4$4 = function _templateObject4() {
|
|
30414
30365
|
return data;
|
|
30415
30366
|
};
|
|
30416
30367
|
|
|
30417
30368
|
return data;
|
|
30418
30369
|
}
|
|
30419
30370
|
|
|
30420
|
-
function _templateObject3$
|
|
30371
|
+
function _templateObject3$8() {
|
|
30421
30372
|
var data = _taggedTemplateLiteral(["", " is not the right length"]);
|
|
30422
30373
|
|
|
30423
|
-
_templateObject3$
|
|
30374
|
+
_templateObject3$8 = function _templateObject3() {
|
|
30424
30375
|
return data;
|
|
30425
30376
|
};
|
|
30426
30377
|
|
|
30427
30378
|
return data;
|
|
30428
30379
|
}
|
|
30429
30380
|
|
|
30430
|
-
function _templateObject2$
|
|
30381
|
+
function _templateObject2$h() {
|
|
30431
30382
|
var data = _taggedTemplateLiteral(["", " is too long"]);
|
|
30432
30383
|
|
|
30433
|
-
_templateObject2$
|
|
30384
|
+
_templateObject2$h = function _templateObject2() {
|
|
30434
30385
|
return data;
|
|
30435
30386
|
};
|
|
30436
30387
|
|
|
@@ -30486,7 +30437,7 @@ with interpolation.
|
|
|
30486
30437
|
*/
|
|
30487
30438
|
|
|
30488
30439
|
|
|
30489
|
-
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$
|
|
30440
|
+
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$8(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$2(), "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
|
|
30490
30441
|
// Neutral - has not been validated
|
|
30491
30442
|
// Invalid - has been validated and has an error
|
|
30492
30443
|
// Valid - has been validated and has no error
|
|
@@ -30661,7 +30612,8 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
30661
30612
|
border: "none",
|
|
30662
30613
|
minHeight: themeValues.height,
|
|
30663
30614
|
hiddenStyles: !visible,
|
|
30664
|
-
extraStyles: "\n background: linear-gradient(\n to right,\n ".concat(STORM_GREY$1, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(STORM_GREY$1, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(STORM_GREY$1, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(STORM_GREY$1, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;")
|
|
30615
|
+
extraStyles: "\n background: linear-gradient(\n to right,\n ".concat(STORM_GREY$1, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(STORM_GREY$1, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(STORM_GREY$1, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(STORM_GREY$1, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;"),
|
|
30616
|
+
hoverStyles: "background-color: ".concat(GRECIAN_GREY, ";")
|
|
30665
30617
|
}, /*#__PURE__*/React__default.createElement(PlaceholderContentWrapper, {
|
|
30666
30618
|
isLink: isLink,
|
|
30667
30619
|
action: action,
|
|
@@ -30731,10 +30683,10 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
30731
30683
|
|
|
30732
30684
|
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$k, "default");
|
|
30733
30685
|
|
|
30734
|
-
var activeColor$
|
|
30686
|
+
var activeColor$3 = "".concat(MATISSE_BLUE);
|
|
30735
30687
|
var inactiveColor = "".concat(GREY_CHATEAU);
|
|
30736
30688
|
var fallbackValues$l = {
|
|
30737
|
-
activeColor: activeColor$
|
|
30689
|
+
activeColor: activeColor$3,
|
|
30738
30690
|
inactiveColor: inactiveColor
|
|
30739
30691
|
};
|
|
30740
30692
|
|
|
@@ -41444,30 +41396,30 @@ var fallbackValues$n = {
|
|
|
41444
41396
|
leftLabelStyles: leftLabelStyles
|
|
41445
41397
|
};
|
|
41446
41398
|
|
|
41447
|
-
function _templateObject4$
|
|
41399
|
+
function _templateObject4$5() {
|
|
41448
41400
|
var data = _taggedTemplateLiteral(["\n position: absolute;\n width: 14px;\n height: 14px;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n border-radius: 50%;\n box-sizing: border-box;\n"]);
|
|
41449
41401
|
|
|
41450
|
-
_templateObject4$
|
|
41402
|
+
_templateObject4$5 = function _templateObject4() {
|
|
41451
41403
|
return data;
|
|
41452
41404
|
};
|
|
41453
41405
|
|
|
41454
41406
|
return data;
|
|
41455
41407
|
}
|
|
41456
41408
|
|
|
41457
|
-
function _templateObject3$
|
|
41409
|
+
function _templateObject3$9() {
|
|
41458
41410
|
var data = _taggedTemplateLiteral(["\n position: absolute;\n width: 20px;\n height: 20px;\n border: none;\n border-radius: 50%;\n box-sizing: border-box;\n"]);
|
|
41459
41411
|
|
|
41460
|
-
_templateObject3$
|
|
41412
|
+
_templateObject3$9 = function _templateObject3() {
|
|
41461
41413
|
return data;
|
|
41462
41414
|
};
|
|
41463
41415
|
|
|
41464
41416
|
return data;
|
|
41465
41417
|
}
|
|
41466
41418
|
|
|
41467
|
-
function _templateObject2$
|
|
41419
|
+
function _templateObject2$i() {
|
|
41468
41420
|
var data = _taggedTemplateLiteral(["\n width: 48px;\n height: 24px;\n border-radius: 48px;\n border: none;\n position: relative;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-block;\n\n &:hover {\n box-shadow: ", ";\n }\n\n &:focus {\n box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);\n }\n\n ", "\n"]);
|
|
41469
41421
|
|
|
41470
|
-
_templateObject2$
|
|
41422
|
+
_templateObject2$i = function _templateObject2() {
|
|
41471
41423
|
return data;
|
|
41472
41424
|
};
|
|
41473
41425
|
|
|
@@ -41490,7 +41442,7 @@ var HiddenToggleSwitchBox = styled__default.input(_templateObject$v(), function
|
|
|
41490
41442
|
var isMobile = _ref2.isMobile;
|
|
41491
41443
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
41492
41444
|
});
|
|
41493
|
-
var VisibleSwitchComponent = styled__default.label(_templateObject2$
|
|
41445
|
+
var VisibleSwitchComponent = styled__default.label(_templateObject2$i(), function (_ref3) {
|
|
41494
41446
|
var disabled = _ref3.disabled;
|
|
41495
41447
|
return disabled ? "auto" : "pointer";
|
|
41496
41448
|
}, function (_ref4) {
|
|
@@ -41500,8 +41452,8 @@ var VisibleSwitchComponent = styled__default.label(_templateObject2$j(), functio
|
|
|
41500
41452
|
var isMobile = _ref5.isMobile;
|
|
41501
41453
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
41502
41454
|
});
|
|
41503
|
-
var ToggleSwitchMiddleRingComponent = styled__default.div(_templateObject3$
|
|
41504
|
-
var ToggleSwitchInnerRingComponent = styled__default.div(_templateObject4$
|
|
41455
|
+
var ToggleSwitchMiddleRingComponent = styled__default.div(_templateObject3$9());
|
|
41456
|
+
var ToggleSwitchInnerRingComponent = styled__default.div(_templateObject4$5());
|
|
41505
41457
|
|
|
41506
41458
|
var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
41507
41459
|
var _ref6$isOn = _ref6.isOn,
|
|
@@ -41602,7 +41554,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
41602
41554
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
41603
41555
|
padding: "0",
|
|
41604
41556
|
extraStyles: labelLeft ? themeValues.leftLabelStyles : themeValues.rightLabelStyles,
|
|
41605
|
-
|
|
41557
|
+
hoverStyles: "outline: ".concat(themeValues.onBackground, " auto 5px")
|
|
41606
41558
|
}, /*#__PURE__*/React__default.createElement(Center, null, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
41607
41559
|
justify: "stretch",
|
|
41608
41560
|
align: "center"
|
|
@@ -43448,7 +43400,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
43448
43400
|
padding: "0",
|
|
43449
43401
|
tabIndex: "0",
|
|
43450
43402
|
onKeyDown: handleKeyDown,
|
|
43451
|
-
|
|
43403
|
+
hoverStyles: themeValues.focusStyles,
|
|
43452
43404
|
animate: isOpen ? "open" : "closed",
|
|
43453
43405
|
positionTransition: true
|
|
43454
43406
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
@@ -43554,10 +43506,10 @@ EditNameForm.reducer = reducer$2;
|
|
|
43554
43506
|
EditNameForm.mapStateToProps = mapStateToProps$3;
|
|
43555
43507
|
EditNameForm.mapDispatchToProps = mapDispatchToProps$2;
|
|
43556
43508
|
|
|
43557
|
-
function _templateObject2$
|
|
43509
|
+
function _templateObject2$j() {
|
|
43558
43510
|
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"]);
|
|
43559
43511
|
|
|
43560
|
-
_templateObject2$
|
|
43512
|
+
_templateObject2$j = function _templateObject2() {
|
|
43561
43513
|
return data;
|
|
43562
43514
|
};
|
|
43563
43515
|
|
|
@@ -43577,7 +43529,7 @@ var EditableListItem = styled__default.div(_templateObject$w(), WHITE, function
|
|
|
43577
43529
|
var listItemSize = _ref.listItemSize;
|
|
43578
43530
|
return listItemSize === "big" ? "120px" : "72px";
|
|
43579
43531
|
});
|
|
43580
|
-
var EditableListItemControls = styled__default.div(_templateObject2$
|
|
43532
|
+
var EditableListItemControls = styled__default.div(_templateObject2$j());
|
|
43581
43533
|
|
|
43582
43534
|
var EditableList = function EditableList(_ref) {
|
|
43583
43535
|
var _ref$title = _ref.title,
|
|
@@ -43684,10 +43636,10 @@ function _templateObject9$2() {
|
|
|
43684
43636
|
return data;
|
|
43685
43637
|
}
|
|
43686
43638
|
|
|
43687
|
-
function _templateObject8$
|
|
43639
|
+
function _templateObject8$2() {
|
|
43688
43640
|
var data = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"]);
|
|
43689
43641
|
|
|
43690
|
-
_templateObject8$
|
|
43642
|
+
_templateObject8$2 = function _templateObject8() {
|
|
43691
43643
|
return data;
|
|
43692
43644
|
};
|
|
43693
43645
|
|
|
@@ -43724,30 +43676,30 @@ function _templateObject5$3() {
|
|
|
43724
43676
|
return data;
|
|
43725
43677
|
}
|
|
43726
43678
|
|
|
43727
|
-
function _templateObject4$
|
|
43679
|
+
function _templateObject4$6() {
|
|
43728
43680
|
var data = _taggedTemplateLiteral(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"]);
|
|
43729
43681
|
|
|
43730
|
-
_templateObject4$
|
|
43682
|
+
_templateObject4$6 = function _templateObject4() {
|
|
43731
43683
|
return data;
|
|
43732
43684
|
};
|
|
43733
43685
|
|
|
43734
43686
|
return data;
|
|
43735
43687
|
}
|
|
43736
43688
|
|
|
43737
|
-
function _templateObject3$
|
|
43689
|
+
function _templateObject3$a() {
|
|
43738
43690
|
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"]);
|
|
43739
43691
|
|
|
43740
|
-
_templateObject3$
|
|
43692
|
+
_templateObject3$a = function _templateObject3() {
|
|
43741
43693
|
return data;
|
|
43742
43694
|
};
|
|
43743
43695
|
|
|
43744
43696
|
return data;
|
|
43745
43697
|
}
|
|
43746
43698
|
|
|
43747
|
-
function _templateObject2$
|
|
43699
|
+
function _templateObject2$k() {
|
|
43748
43700
|
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"]);
|
|
43749
43701
|
|
|
43750
|
-
_templateObject2$
|
|
43702
|
+
_templateObject2$k = function _templateObject2() {
|
|
43751
43703
|
return data;
|
|
43752
43704
|
};
|
|
43753
43705
|
|
|
@@ -43767,7 +43719,7 @@ var EditableTableContainer = styled__default.div(_templateObject$x(), function (
|
|
|
43767
43719
|
var hide = _ref.hide;
|
|
43768
43720
|
return hide ? "none" : "flex";
|
|
43769
43721
|
});
|
|
43770
|
-
var EditableTableListItem = styled__default.div(_templateObject2$
|
|
43722
|
+
var EditableTableListItem = styled__default.div(_templateObject2$k(), function (_ref2) {
|
|
43771
43723
|
var isMobile = _ref2.isMobile;
|
|
43772
43724
|
return isMobile && "justify-content: center";
|
|
43773
43725
|
}, function (_ref3) {
|
|
@@ -43780,8 +43732,8 @@ var EditableTableListItem = styled__default.div(_templateObject2$l(), function (
|
|
|
43780
43732
|
var isMobile = _ref5.isMobile;
|
|
43781
43733
|
return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
|
|
43782
43734
|
});
|
|
43783
|
-
var EditableListItemControls$1 = styled__default.div(_templateObject3$
|
|
43784
|
-
var EditableListAction = styled__default.div(_templateObject4$
|
|
43735
|
+
var EditableListItemControls$1 = styled__default.div(_templateObject3$a());
|
|
43736
|
+
var EditableListAction = styled__default.div(_templateObject4$6(), MATISSE_BLUE, function (_ref6) {
|
|
43785
43737
|
var hide = _ref6.hide;
|
|
43786
43738
|
return hide ? "none" : "flex";
|
|
43787
43739
|
});
|
|
@@ -43803,7 +43755,7 @@ var TableItemKey = styled__default.div(_templateObject7$3(), function (_ref8) {
|
|
|
43803
43755
|
var isMobile = _ref11.isMobile;
|
|
43804
43756
|
return isMobile ? "1rem" : "1.125rem";
|
|
43805
43757
|
}, STORM_GREY$1);
|
|
43806
|
-
var TableItemValue = styled__default.div(_templateObject8$
|
|
43758
|
+
var TableItemValue = styled__default.div(_templateObject8$2(), function (_ref12) {
|
|
43807
43759
|
var isMobile = _ref12.isMobile;
|
|
43808
43760
|
return !isMobile && "flex: 1";
|
|
43809
43761
|
}, function (_ref13) {
|
|
@@ -47557,7 +47509,6 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
47557
47509
|
color: themeValues.linkColor,
|
|
47558
47510
|
weight: themeValues.fontWeight,
|
|
47559
47511
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47560
|
-
focusStyles: themeValues.modalLinkHoverFocus,
|
|
47561
47512
|
extraStyles: "cursor: pointer;",
|
|
47562
47513
|
tabIndex: "0",
|
|
47563
47514
|
onKeyPress: function onKeyPress(e) {
|
|
@@ -48102,7 +48053,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48102
48053
|
onBlur: function onBlur() {
|
|
48103
48054
|
return setFocused(null);
|
|
48104
48055
|
},
|
|
48105
|
-
|
|
48056
|
+
hoverStyles: themeValues.focusStyles,
|
|
48106
48057
|
animate: openSection === section.id ? "open" : "closed",
|
|
48107
48058
|
initial: initiallyOpen ? "open" : "closed",
|
|
48108
48059
|
key: "item-".concat(section.id),
|
|
@@ -48487,7 +48438,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
48487
48438
|
return /*#__PURE__*/React__default.createElement(InternalLink, {
|
|
48488
48439
|
to: route,
|
|
48489
48440
|
key: "".concat(route, "-").concat(index),
|
|
48490
|
-
|
|
48441
|
+
extraStyles: "&:hover, &:focus { \n ".concat(active ? "> * {\n background-color: ".concat(themeValues.activeTabHover, ";\n }") : "> * { \n background-color: rgba(8, 27, 43, 0.05);\n }", "}")
|
|
48491
48442
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
48492
48443
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
48493
48444
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -48574,7 +48525,6 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48574
48525
|
color: themeValues.linkColor,
|
|
48575
48526
|
weight: themeValues.fontWeight,
|
|
48576
48527
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48577
|
-
focusStyles: themeValues.modalLinkHoverFocus,
|
|
48578
48528
|
extraStyles: "cursor: pointer;",
|
|
48579
48529
|
tabIndex: "0",
|
|
48580
48530
|
onKeyPress: function onKeyPress(e) {
|
|
@@ -48610,10 +48560,10 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48610
48560
|
|
|
48611
48561
|
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$w, "default");
|
|
48612
48562
|
|
|
48613
|
-
function _templateObject2$
|
|
48563
|
+
function _templateObject2$l() {
|
|
48614
48564
|
var data = _taggedTemplateLiteral([""]);
|
|
48615
48565
|
|
|
48616
|
-
_templateObject2$
|
|
48566
|
+
_templateObject2$l = function _templateObject2() {
|
|
48617
48567
|
return data;
|
|
48618
48568
|
};
|
|
48619
48569
|
|
|
@@ -48630,7 +48580,7 @@ function _templateObject$B() {
|
|
|
48630
48580
|
return data;
|
|
48631
48581
|
}
|
|
48632
48582
|
var CheckboxWrapper = styled__default.div(_templateObject$B());
|
|
48633
|
-
var ModalWrapper$1 = styled__default.div(_templateObject2$
|
|
48583
|
+
var ModalWrapper$1 = styled__default.div(_templateObject2$l());
|
|
48634
48584
|
|
|
48635
48585
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48636
48586
|
var onCheck = _ref.onCheck,
|