@thecb/components 5.0.0-beta.1 → 5.0.0-beta.10
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 +459 -1232
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +41605 -0
- package/dist/index.esm.js.map +1 -0
- package/package.json +8 -3
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- package/src/deprecated/.DS_Store +0 -0
- package/src/deprecated/utility/__tests__/safeConcat.spec.js +30 -28
- package/src/deprecated/utility/__tests__/validateKeyType.spec.js +65 -49
- package/src/deprecated/utility/index.js +2 -2
- package/src/deprecated/utility/safeConcat.js +3 -3
- package/src/deprecated/utility/validateKeyType.js +4 -6
- package/.eslintrc.json +0 -29
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -18
- package/.github/stale.yml +0 -17
- package/.github/workflows/bump-version.yml +0 -30
- package/.github/workflows/create-release/build-body.sh +0 -35
- package/.github/workflows/create-release.yml +0 -52
- package/.github/workflows/disabled-workflows/publish-update.yml +0 -73
- package/.prettierignore +0 -3
- package/.storybook/main.js +0 -4
- package/.storybook/page.js +0 -64
- package/.storybook/themes/apc.theme.js +0 -1
- package/.storybook/themes/index.js +0 -2
- package/.storybook/themes/sf.theme.js +0 -1
- package/.tool-versions +0 -1
- package/rollup.config.js +0 -53
package/dist/index.cjs.js
CHANGED
|
@@ -12,6 +12,44 @@ var theme = _interopDefault(require('styled-theming'));
|
|
|
12
12
|
var reactRouterDom = require('react-router-dom');
|
|
13
13
|
var reactDom = _interopDefault(require('react-dom'));
|
|
14
14
|
|
|
15
|
+
function ownKeys(object, enumerableOnly) {
|
|
16
|
+
var keys = Object.keys(object);
|
|
17
|
+
|
|
18
|
+
if (Object.getOwnPropertySymbols) {
|
|
19
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
20
|
+
|
|
21
|
+
if (enumerableOnly) {
|
|
22
|
+
symbols = symbols.filter(function (sym) {
|
|
23
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
keys.push.apply(keys, symbols);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return keys;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function _objectSpread2(target) {
|
|
34
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
35
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
36
|
+
|
|
37
|
+
if (i % 2) {
|
|
38
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
39
|
+
_defineProperty(target, key, source[key]);
|
|
40
|
+
});
|
|
41
|
+
} else if (Object.getOwnPropertyDescriptors) {
|
|
42
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
43
|
+
} else {
|
|
44
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
45
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
return target;
|
|
51
|
+
}
|
|
52
|
+
|
|
15
53
|
function _typeof(obj) {
|
|
16
54
|
"@babel/helpers - typeof";
|
|
17
55
|
|
|
@@ -61,40 +99,6 @@ function _extends() {
|
|
|
61
99
|
return _extends.apply(this, arguments);
|
|
62
100
|
}
|
|
63
101
|
|
|
64
|
-
function ownKeys(object, enumerableOnly) {
|
|
65
|
-
var keys = Object.keys(object);
|
|
66
|
-
|
|
67
|
-
if (Object.getOwnPropertySymbols) {
|
|
68
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
69
|
-
if (enumerableOnly) symbols = symbols.filter(function (sym) {
|
|
70
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
71
|
-
});
|
|
72
|
-
keys.push.apply(keys, symbols);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return keys;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function _objectSpread2(target) {
|
|
79
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
80
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
81
|
-
|
|
82
|
-
if (i % 2) {
|
|
83
|
-
ownKeys(Object(source), true).forEach(function (key) {
|
|
84
|
-
_defineProperty(target, key, source[key]);
|
|
85
|
-
});
|
|
86
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
87
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
88
|
-
} else {
|
|
89
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
90
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
return target;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
102
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
99
103
|
if (source == null) return {};
|
|
100
104
|
var target = {};
|
|
@@ -160,18 +164,21 @@ function _arrayWithHoles(arr) {
|
|
|
160
164
|
}
|
|
161
165
|
|
|
162
166
|
function _iterableToArray(iter) {
|
|
163
|
-
if (typeof Symbol !== "undefined" && Symbol.iterator
|
|
167
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
function _iterableToArrayLimit(arr, i) {
|
|
167
|
-
|
|
171
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
172
|
+
|
|
173
|
+
if (_i == null) return;
|
|
168
174
|
var _arr = [];
|
|
169
175
|
var _n = true;
|
|
170
176
|
var _d = false;
|
|
171
|
-
|
|
177
|
+
|
|
178
|
+
var _s, _e;
|
|
172
179
|
|
|
173
180
|
try {
|
|
174
|
-
for (
|
|
181
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
175
182
|
_arr.push(_s.value);
|
|
176
183
|
|
|
177
184
|
if (i && _arr.length === i) break;
|
|
@@ -4635,6 +4642,7 @@ var fallbackValues = {
|
|
|
4635
4642
|
fontSize: fontSize
|
|
4636
4643
|
};
|
|
4637
4644
|
|
|
4645
|
+
var _excluded = ["variant"];
|
|
4638
4646
|
/*
|
|
4639
4647
|
themeContext: { name: "default", values: {JSON_THEME_VALUES_HERE} }
|
|
4640
4648
|
|
|
@@ -4735,7 +4743,7 @@ var themeComponent = function themeComponent(component, componentThemeId, fallba
|
|
|
4735
4743
|
|
|
4736
4744
|
var _ref7$variant = _ref7.variant,
|
|
4737
4745
|
variant = _ref7$variant === void 0 ? defaultVariant : _ref7$variant,
|
|
4738
|
-
props = _objectWithoutProperties(_ref7,
|
|
4746
|
+
props = _objectWithoutProperties(_ref7, _excluded);
|
|
4739
4747
|
|
|
4740
4748
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
4741
4749
|
var metadata = (_themeContext$metadat = themeContext === null || themeContext === void 0 ? void 0 : themeContext.metadata) !== null && _themeContext$metadat !== void 0 ? _themeContext$metadat : {};
|
|
@@ -4977,36 +4985,10 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
4977
4985
|
ERROR_COLOR: ERROR_COLOR
|
|
4978
4986
|
});
|
|
4979
4987
|
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
return data;
|
|
4985
|
-
};
|
|
4986
|
-
|
|
4987
|
-
return data;
|
|
4988
|
-
}
|
|
4989
|
-
|
|
4990
|
-
function _templateObject2() {
|
|
4991
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
4992
|
-
|
|
4993
|
-
_templateObject2 = function _templateObject2() {
|
|
4994
|
-
return data;
|
|
4995
|
-
};
|
|
4996
|
-
|
|
4997
|
-
return data;
|
|
4998
|
-
}
|
|
4999
|
-
|
|
5000
|
-
function _templateObject() {
|
|
5001
|
-
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 ", "\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
|
|
5002
|
-
|
|
5003
|
-
_templateObject = function _templateObject() {
|
|
5004
|
-
return data;
|
|
5005
|
-
};
|
|
5006
|
-
|
|
5007
|
-
return data;
|
|
5008
|
-
}
|
|
5009
|
-
var TextSpan = styled__default.span(_templateObject(), function (_ref) {
|
|
4988
|
+
var TextSpan = styled__default.span.withConfig({
|
|
4989
|
+
displayName: "Textstyled__TextSpan",
|
|
4990
|
+
componentId: "sc-1oy97we-0"
|
|
4991
|
+
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
5010
4992
|
var fontSize = _ref.fontSize;
|
|
5011
4993
|
return fontSize;
|
|
5012
4994
|
}, function (_ref2) {
|
|
@@ -5020,11 +5002,11 @@ var TextSpan = styled__default.span(_templateObject(), function (_ref) {
|
|
|
5020
5002
|
return color;
|
|
5021
5003
|
}, function (_ref5) {
|
|
5022
5004
|
var hoverStyles = _ref5.hoverStyles;
|
|
5023
|
-
return styled.css(
|
|
5005
|
+
return styled.css(["", ""], hoverStyles);
|
|
5024
5006
|
}, ROYAL_BLUE, function (_ref6) {
|
|
5025
5007
|
var disabled = _ref6.disabled,
|
|
5026
5008
|
disabledStyles = _ref6.disabledStyles;
|
|
5027
|
-
return disabled && styled.css(
|
|
5009
|
+
return disabled && styled.css(["", ""], disabledStyles);
|
|
5028
5010
|
}, function (_ref7) {
|
|
5029
5011
|
var extraStyles = _ref7.extraStyles;
|
|
5030
5012
|
return extraStyles;
|
|
@@ -6147,6 +6129,8 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
6147
6129
|
checkDeniedCards: checkDeniedCards
|
|
6148
6130
|
});
|
|
6149
6131
|
|
|
6132
|
+
var _excluded$1 = ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
6133
|
+
|
|
6150
6134
|
var Text = function Text(_ref) {
|
|
6151
6135
|
var themeValues = _ref.themeValues,
|
|
6152
6136
|
_ref$weight = _ref.weight,
|
|
@@ -6161,7 +6145,7 @@ var Text = function Text(_ref) {
|
|
|
6161
6145
|
as = _ref.as,
|
|
6162
6146
|
dataQa = _ref.dataQa,
|
|
6163
6147
|
children = _ref.children,
|
|
6164
|
-
rest = _objectWithoutProperties(_ref,
|
|
6148
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
6165
6149
|
|
|
6166
6150
|
return /*#__PURE__*/React__default.createElement(TextSpan, _extends({
|
|
6167
6151
|
fontSize: themeValues.fontSize,
|
|
@@ -6179,75 +6163,7 @@ var Text = function Text(_ref) {
|
|
|
6179
6163
|
|
|
6180
6164
|
var Text$1 = themeComponent(Text, "Text", fallbackValues, "p");
|
|
6181
6165
|
|
|
6182
|
-
|
|
6183
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
6184
|
-
|
|
6185
|
-
_templateObject7 = function _templateObject7() {
|
|
6186
|
-
return data;
|
|
6187
|
-
};
|
|
6188
|
-
|
|
6189
|
-
return data;
|
|
6190
|
-
}
|
|
6191
|
-
|
|
6192
|
-
function _templateObject6() {
|
|
6193
|
-
var data = _taggedTemplateLiteral(["\n display: none;\n "]);
|
|
6194
|
-
|
|
6195
|
-
_templateObject6 = function _templateObject6() {
|
|
6196
|
-
return data;
|
|
6197
|
-
};
|
|
6198
|
-
|
|
6199
|
-
return data;
|
|
6200
|
-
}
|
|
6201
|
-
|
|
6202
|
-
function _templateObject5() {
|
|
6203
|
-
var data = _taggedTemplateLiteral(["\n ", "\n ", "\n "]);
|
|
6204
|
-
|
|
6205
|
-
_templateObject5 = function _templateObject5() {
|
|
6206
|
-
return data;
|
|
6207
|
-
};
|
|
6208
|
-
|
|
6209
|
-
return data;
|
|
6210
|
-
}
|
|
6211
|
-
|
|
6212
|
-
function _templateObject4() {
|
|
6213
|
-
var data = _taggedTemplateLiteral(["\n ", "\n ", "\n "]);
|
|
6214
|
-
|
|
6215
|
-
_templateObject4 = function _templateObject4() {
|
|
6216
|
-
return data;
|
|
6217
|
-
};
|
|
6218
|
-
|
|
6219
|
-
return data;
|
|
6220
|
-
}
|
|
6221
|
-
|
|
6222
|
-
function _templateObject3$1() {
|
|
6223
|
-
var data = _taggedTemplateLiteral(["\n outline: 3px solid ", ";\n outline-offset: 2px;\n ", "\n "]);
|
|
6224
|
-
|
|
6225
|
-
_templateObject3$1 = function _templateObject3() {
|
|
6226
|
-
return data;
|
|
6227
|
-
};
|
|
6228
|
-
|
|
6229
|
-
return data;
|
|
6230
|
-
}
|
|
6231
|
-
|
|
6232
|
-
function _templateObject2$1() {
|
|
6233
|
-
var data = _taggedTemplateLiteral(["\n ", "\n ", "\n "]);
|
|
6234
|
-
|
|
6235
|
-
_templateObject2$1 = function _templateObject2() {
|
|
6236
|
-
return data;
|
|
6237
|
-
};
|
|
6238
|
-
|
|
6239
|
-
return data;
|
|
6240
|
-
}
|
|
6241
|
-
|
|
6242
|
-
function _templateObject$1() {
|
|
6243
|
-
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 {\n ", "\n }\n\n &:focus {\n ", "\n }\n\n &:active {\n ", "\n }\n\n &:disabled {\n ", "\n }\n\n & * {\n color: ", ";\n }\n\n ", "\n ", "\n"]);
|
|
6244
|
-
|
|
6245
|
-
_templateObject$1 = function _templateObject() {
|
|
6246
|
-
return data;
|
|
6247
|
-
};
|
|
6248
|
-
|
|
6249
|
-
return data;
|
|
6250
|
-
}
|
|
6166
|
+
var _excluded$2 = ["activeStyles", "hoverStyles", "disabledStyles", "extraStyles", "borderSize", "borderColor", "borderWidthOverride", "borderRadius", "textAlign", "boxShadow", "minHeight", "minWidth", "maxWidth", "padding", "hiddenStyles", "ariaControls", "ariaLabel"];
|
|
6251
6167
|
/*
|
|
6252
6168
|
The child span selector on hover styles targets the text inside of buttons when a button is hovered,
|
|
6253
6169
|
as long as the box wrapper has an "as" prop equal to "button"
|
|
@@ -6276,13 +6192,16 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
6276
6192
|
hiddenStyles = _ref.hiddenStyles,
|
|
6277
6193
|
ariaControls = _ref.ariaControls,
|
|
6278
6194
|
ariaLabel = _ref.ariaLabel,
|
|
6279
|
-
props = _objectWithoutProperties(_ref,
|
|
6195
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
6280
6196
|
|
|
6281
6197
|
return /*#__PURE__*/React__default.createElement("div", _extends({
|
|
6282
6198
|
"aria-controls": ariaControls,
|
|
6283
6199
|
"aria-label": ariaLabel
|
|
6284
6200
|
}, props));
|
|
6285
|
-
})(
|
|
6201
|
+
}).withConfig({
|
|
6202
|
+
displayName: "Boxstyled__BoxWrapper",
|
|
6203
|
+
componentId: "sc-1f9ij0d-0"
|
|
6204
|
+
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";border:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
|
|
6286
6205
|
var padding = _ref2.padding;
|
|
6287
6206
|
return padding;
|
|
6288
6207
|
}, function (_ref3) {
|
|
@@ -6326,30 +6245,31 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
6326
6245
|
}, function (_ref15) {
|
|
6327
6246
|
var hoverStyles = _ref15.hoverStyles,
|
|
6328
6247
|
as = _ref15.as;
|
|
6329
|
-
return styled.css(
|
|
6248
|
+
return styled.css(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6330
6249
|
}, function (_ref16) {
|
|
6331
6250
|
var as = _ref16.as;
|
|
6332
|
-
return styled.css(
|
|
6251
|
+
return styled.css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
|
|
6333
6252
|
}, function (_ref17) {
|
|
6334
6253
|
var activeStyles = _ref17.activeStyles,
|
|
6335
6254
|
as = _ref17.as;
|
|
6336
|
-
return styled.css(
|
|
6255
|
+
return styled.css(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6337
6256
|
}, function (_ref18) {
|
|
6338
6257
|
var disabledStyles = _ref18.disabledStyles,
|
|
6339
6258
|
as = _ref18.as;
|
|
6340
|
-
return styled.css(
|
|
6259
|
+
return styled.css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6341
6260
|
}, function (_ref19) {
|
|
6342
6261
|
var color = _ref19.color;
|
|
6343
6262
|
return color;
|
|
6344
6263
|
}, function (_ref20) {
|
|
6345
6264
|
var hiddenStyles = _ref20.hiddenStyles;
|
|
6346
|
-
return hiddenStyles && styled.css(
|
|
6265
|
+
return hiddenStyles && styled.css(["display:none;"]);
|
|
6347
6266
|
}, function (_ref21) {
|
|
6348
6267
|
var extraStyles = _ref21.extraStyles;
|
|
6349
|
-
return styled.css(
|
|
6268
|
+
return styled.css(["", ""], extraStyles);
|
|
6350
6269
|
});
|
|
6351
6270
|
/* eslint-enable no-unused-vars */
|
|
6352
6271
|
|
|
6272
|
+
var _excluded$3 = ["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"];
|
|
6353
6273
|
/*
|
|
6354
6274
|
Box component to create generic boxes
|
|
6355
6275
|
Supply padding, border, background, and color values
|
|
@@ -6391,7 +6311,7 @@ var Box = function Box(_ref) {
|
|
|
6391
6311
|
extraStyles = _ref.extraStyles,
|
|
6392
6312
|
dataQa = _ref.dataQa,
|
|
6393
6313
|
children = _ref.children,
|
|
6394
|
-
rest = _objectWithoutProperties(_ref,
|
|
6314
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
6395
6315
|
|
|
6396
6316
|
return /*#__PURE__*/React__default.createElement(BoxWrapper, _extends({
|
|
6397
6317
|
padding: padding,
|
|
@@ -6427,16 +6347,10 @@ var Box = function Box(_ref) {
|
|
|
6427
6347
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6428
6348
|
};
|
|
6429
6349
|
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
return data;
|
|
6435
|
-
};
|
|
6436
|
-
|
|
6437
|
-
return data;
|
|
6438
|
-
}
|
|
6439
|
-
var CenterWrapper = styled__default.div(_templateObject$2(), function (_ref) {
|
|
6350
|
+
var CenterWrapper = styled__default.div.withConfig({
|
|
6351
|
+
displayName: "Centerstyled__CenterWrapper",
|
|
6352
|
+
componentId: "sc-vawqfc-0"
|
|
6353
|
+
})(["box-sizing:content-box;margin-left:auto;margin-right:auto;max-width:", ";padding-left:", ";padding-right:", ";", ";"], function (_ref) {
|
|
6440
6354
|
var maxWidth = _ref.maxWidth;
|
|
6441
6355
|
return maxWidth;
|
|
6442
6356
|
}, function (_ref2) {
|
|
@@ -6450,6 +6364,7 @@ var CenterWrapper = styled__default.div(_templateObject$2(), function (_ref) {
|
|
|
6450
6364
|
return intrinsic ? "\n display: flex;\n flex-direction: column;\n align-items: center;\n " : "";
|
|
6451
6365
|
});
|
|
6452
6366
|
|
|
6367
|
+
var _excluded$4 = ["maxWidth", "gutters", "intrinsic", "children"];
|
|
6453
6368
|
/*
|
|
6454
6369
|
Component to horizontally center itself (with auto right and left margins)
|
|
6455
6370
|
Use intrinsic prop if you want its children that are narrower than the max-width
|
|
@@ -6462,7 +6377,7 @@ var Center = function Center(_ref) {
|
|
|
6462
6377
|
_ref$intrinsic = _ref.intrinsic,
|
|
6463
6378
|
intrinsic = _ref$intrinsic === void 0 ? false : _ref$intrinsic,
|
|
6464
6379
|
children = _ref.children,
|
|
6465
|
-
rest = _objectWithoutProperties(_ref,
|
|
6380
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
6466
6381
|
|
|
6467
6382
|
return /*#__PURE__*/React__default.createElement(CenterWrapper, _extends({
|
|
6468
6383
|
maxWidth: maxWidth,
|
|
@@ -6471,33 +6386,18 @@ var Center = function Center(_ref) {
|
|
|
6471
6386
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6472
6387
|
};
|
|
6473
6388
|
|
|
6474
|
-
|
|
6475
|
-
var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: ", ";\n justify-content: ", ";\n align-items: ", ";\n margin: calc(", " / 2 * -1);\n min-height: ", ";\n min-width: ", ";\n > * {\n margin: calc(", " / 2);\n }\n"]);
|
|
6476
|
-
|
|
6477
|
-
_templateObject2$2 = function _templateObject2() {
|
|
6478
|
-
return data;
|
|
6479
|
-
};
|
|
6480
|
-
|
|
6481
|
-
return data;
|
|
6482
|
-
}
|
|
6483
|
-
|
|
6484
|
-
function _templateObject$3() {
|
|
6485
|
-
var data = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n justify-self: ", ";\n align-self: ", ";\n flex-grow: ", ";\n ", ";\n"]);
|
|
6486
|
-
|
|
6487
|
-
_templateObject$3 = function _templateObject() {
|
|
6488
|
-
return data;
|
|
6489
|
-
};
|
|
6490
|
-
|
|
6491
|
-
return data;
|
|
6492
|
-
}
|
|
6389
|
+
var _excluded$5 = ["overflow"];
|
|
6493
6390
|
/* eslint-disable no-unused-vars */
|
|
6494
6391
|
|
|
6495
6392
|
var ClusterWrapper = styled__default(function (_ref) {
|
|
6496
6393
|
var overflow = _ref.overflow,
|
|
6497
|
-
props = _objectWithoutProperties(_ref,
|
|
6394
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
6498
6395
|
|
|
6499
6396
|
return /*#__PURE__*/React__default.createElement("div", props);
|
|
6500
|
-
})(
|
|
6397
|
+
}).withConfig({
|
|
6398
|
+
displayName: "Clusterstyled__ClusterWrapper",
|
|
6399
|
+
componentId: "sc-1dkqsm7-0"
|
|
6400
|
+
})(["overflow:", ";box-sizing:border-box;justify-self:", ";align-self:", ";flex-grow:", ";", ";"], function (_ref2) {
|
|
6501
6401
|
var overflow = _ref2.overflow;
|
|
6502
6402
|
return overflow ? "visible" : "hidden";
|
|
6503
6403
|
}, function (_ref3) {
|
|
@@ -6513,7 +6413,10 @@ var ClusterWrapper = styled__default(function (_ref) {
|
|
|
6513
6413
|
var extraStyles = _ref6.extraStyles;
|
|
6514
6414
|
return extraStyles;
|
|
6515
6415
|
});
|
|
6516
|
-
var ClusterInnerWrapper = styled__default.div(
|
|
6416
|
+
var ClusterInnerWrapper = styled__default.div.withConfig({
|
|
6417
|
+
displayName: "Clusterstyled__ClusterInnerWrapper",
|
|
6418
|
+
componentId: "sc-1dkqsm7-1"
|
|
6419
|
+
})(["box-sizing:border-box;display:flex;flex-wrap:", ";justify-content:", ";align-items:", ";margin:calc(", " / 2 * -1);min-height:", ";min-width:", ";> *{margin:calc(", " / 2);}"], function (_ref7) {
|
|
6517
6420
|
var nowrap = _ref7.nowrap;
|
|
6518
6421
|
return nowrap ? "nowrap" : "wrap";
|
|
6519
6422
|
}, function (_ref8) {
|
|
@@ -6536,6 +6439,7 @@ var ClusterInnerWrapper = styled__default.div(_templateObject2$2(), function (_r
|
|
|
6536
6439
|
return childGap;
|
|
6537
6440
|
});
|
|
6538
6441
|
|
|
6442
|
+
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"];
|
|
6539
6443
|
/*
|
|
6540
6444
|
Cluster components suit any groups of elements that differ in
|
|
6541
6445
|
length and are liable to wrap. Buttons that appear together at the
|
|
@@ -6559,7 +6463,7 @@ var Cluster = function Cluster(_ref) {
|
|
|
6559
6463
|
flexGrow = _ref.flexGrow,
|
|
6560
6464
|
extraStyles = _ref.extraStyles,
|
|
6561
6465
|
children = _ref.children,
|
|
6562
|
-
rest = _objectWithoutProperties(_ref,
|
|
6466
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
6563
6467
|
|
|
6564
6468
|
return /*#__PURE__*/React__default.createElement(ClusterWrapper, _extends({
|
|
6565
6469
|
overflow: overflow
|
|
@@ -6578,16 +6482,10 @@ var Cluster = function Cluster(_ref) {
|
|
|
6578
6482
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
6579
6483
|
};
|
|
6580
6484
|
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
return data;
|
|
6586
|
-
};
|
|
6587
|
-
|
|
6588
|
-
return data;
|
|
6589
|
-
}
|
|
6590
|
-
var GridWrapper = styled__default.div(_templateObject$4(), function (_ref) {
|
|
6485
|
+
var GridWrapper = styled__default.div.withConfig({
|
|
6486
|
+
displayName: "Gridstyled__GridWrapper",
|
|
6487
|
+
componentId: "sc-8iakdj-0"
|
|
6488
|
+
})(["display:grid;grid-gap:", ";grid-template-columns:", ";@supports (width:min(", ",100%)){&{grid-template-columns:repeat( auto-fill,minmax( ", ",", " ) );}}"], function (_ref) {
|
|
6591
6489
|
var columnGap = _ref.columnGap;
|
|
6592
6490
|
return columnGap;
|
|
6593
6491
|
}, function (_ref2) {
|
|
@@ -6606,6 +6504,8 @@ var GridWrapper = styled__default.div(_templateObject$4(), function (_ref) {
|
|
|
6606
6504
|
return maxColWidth;
|
|
6607
6505
|
});
|
|
6608
6506
|
|
|
6507
|
+
var _excluded$7 = ["columnGap", "minColWidth", "maxColWidth", "children"];
|
|
6508
|
+
|
|
6609
6509
|
var Grid = function Grid(_ref) {
|
|
6610
6510
|
var columnGap = _ref.columnGap,
|
|
6611
6511
|
_ref$minColWidth = _ref.minColWidth,
|
|
@@ -6613,7 +6513,7 @@ var Grid = function Grid(_ref) {
|
|
|
6613
6513
|
_ref$maxColWidth = _ref.maxColWidth,
|
|
6614
6514
|
maxColWidth = _ref$maxColWidth === void 0 ? "1fr" : _ref$maxColWidth,
|
|
6615
6515
|
children = _ref.children,
|
|
6616
|
-
rest = _objectWithoutProperties(_ref,
|
|
6516
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
6617
6517
|
|
|
6618
6518
|
var ref = React.useRef();
|
|
6619
6519
|
|
|
@@ -6641,26 +6541,11 @@ var Grid = function Grid(_ref) {
|
|
|
6641
6541
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6642
6542
|
};
|
|
6643
6543
|
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
};
|
|
6650
|
-
|
|
6651
|
-
return data;
|
|
6652
|
-
}
|
|
6653
|
-
|
|
6654
|
-
function _templateObject$5() {
|
|
6655
|
-
var data = _taggedTemplateLiteral(["\n overflow: visible;\n box-sizing: border-box;\n\n ", "\n"]);
|
|
6656
|
-
|
|
6657
|
-
_templateObject$5 = function _templateObject() {
|
|
6658
|
-
return data;
|
|
6659
|
-
};
|
|
6660
|
-
|
|
6661
|
-
return data;
|
|
6662
|
-
}
|
|
6663
|
-
var SidebarWrapper = styled__default.div(_templateObject$5(), function (_ref) {
|
|
6544
|
+
var _excluded$8 = ["onRight", "childGap", "contentMinWidth", "minHeight", "fullHeight"];
|
|
6545
|
+
var SidebarWrapper = styled__default.div.withConfig({
|
|
6546
|
+
displayName: "Sidebarstyled__SidebarWrapper",
|
|
6547
|
+
componentId: "sc-1bbn2or-0"
|
|
6548
|
+
})(["overflow:visible;box-sizing:border-box;", ""], function (_ref) {
|
|
6664
6549
|
var fullHeight = _ref.fullHeight;
|
|
6665
6550
|
return fullHeight ? "height: 100%;" : "";
|
|
6666
6551
|
});
|
|
@@ -6671,10 +6556,13 @@ function (_ref2) {
|
|
|
6671
6556
|
contentMinWidth = _ref2.contentMinWidth,
|
|
6672
6557
|
minHeight = _ref2.minHeight,
|
|
6673
6558
|
fullHeight = _ref2.fullHeight,
|
|
6674
|
-
props = _objectWithoutProperties(_ref2,
|
|
6559
|
+
props = _objectWithoutProperties(_ref2, _excluded$8);
|
|
6675
6560
|
|
|
6676
6561
|
return /*#__PURE__*/React__default.createElement("div", props);
|
|
6677
|
-
})(
|
|
6562
|
+
}).withConfig({
|
|
6563
|
+
displayName: "Sidebarstyled__SidebarInnerWrapper",
|
|
6564
|
+
componentId: "sc-1bbn2or-1"
|
|
6565
|
+
})(["display:flex;flex-wrap:wrap;box-sizing:border-box;margin:calc(", " / 2 * -1);> *{margin:calc(", " / 2);flex-grow:1;", ";", "}", " ", ""], function (_ref3) {
|
|
6678
6566
|
var childGap = _ref3.childGap;
|
|
6679
6567
|
return childGap;
|
|
6680
6568
|
}, function (_ref4) {
|
|
@@ -6696,6 +6584,7 @@ function (_ref2) {
|
|
|
6696
6584
|
return fullHeight ? "min-height: 100%;" : "";
|
|
6697
6585
|
});
|
|
6698
6586
|
|
|
6587
|
+
var _excluded$9 = ["childGap", "width", "sidebarOnRight", "contentMinWidth", "fullHeight", "minHeight", "children"];
|
|
6699
6588
|
/*
|
|
6700
6589
|
Component to assist in creating layouts with some element and a sidebar next to it
|
|
6701
6590
|
Sidebar takes a width value, this is the ideal target with, and what the sidebar
|
|
@@ -6721,7 +6610,7 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
6721
6610
|
fullHeight = _ref$fullHeight === void 0 ? false : _ref$fullHeight,
|
|
6722
6611
|
minHeight = _ref.minHeight,
|
|
6723
6612
|
children = _ref.children,
|
|
6724
|
-
rest = _objectWithoutProperties(_ref,
|
|
6613
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
6725
6614
|
|
|
6726
6615
|
return /*#__PURE__*/React__default.createElement(SidebarWrapper, _extends({
|
|
6727
6616
|
fullHeight: fullHeight,
|
|
@@ -6736,16 +6625,10 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
6736
6625
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
6737
6626
|
};
|
|
6738
6627
|
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
return data;
|
|
6744
|
-
};
|
|
6745
|
-
|
|
6746
|
-
return data;
|
|
6747
|
-
}
|
|
6748
|
-
var StackWrapper = styled__default.div(_templateObject$6(), function (_ref) {
|
|
6628
|
+
var StackWrapper = styled__default.div.withConfig({
|
|
6629
|
+
displayName: "Stackstyled__StackWrapper",
|
|
6630
|
+
componentId: "sc-ejhezz-0"
|
|
6631
|
+
})(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
|
|
6749
6632
|
var direction = _ref.direction;
|
|
6750
6633
|
return direction;
|
|
6751
6634
|
}, function (_ref2) {
|
|
@@ -6764,6 +6647,7 @@ var StackWrapper = styled__default.div(_templateObject$6(), function (_ref) {
|
|
|
6764
6647
|
return bottomItem ? "\n > :nth-child(".concat(bottomItem, ") {\n ").concat(direction === "row" ? "margin-left: auto;" : "margin-top: auto;", "\n }\n ") : "";
|
|
6765
6648
|
});
|
|
6766
6649
|
|
|
6650
|
+
var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"];
|
|
6767
6651
|
/*
|
|
6768
6652
|
Component to impose margin-top between a list of child elements
|
|
6769
6653
|
Useful for things like sidebars and button lists
|
|
@@ -6784,7 +6668,7 @@ var Stack = function Stack(_ref) {
|
|
|
6784
6668
|
_ref$direction = _ref.direction,
|
|
6785
6669
|
direction = _ref$direction === void 0 ? "column" : _ref$direction,
|
|
6786
6670
|
justify = _ref.justify,
|
|
6787
|
-
rest = _objectWithoutProperties(_ref,
|
|
6671
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
6788
6672
|
|
|
6789
6673
|
return /*#__PURE__*/React__default.createElement(StackWrapper, _extends({
|
|
6790
6674
|
childGap: childGap,
|
|
@@ -6795,16 +6679,10 @@ var Stack = function Stack(_ref) {
|
|
|
6795
6679
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6796
6680
|
};
|
|
6797
6681
|
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
return data;
|
|
6803
|
-
};
|
|
6804
|
-
|
|
6805
|
-
return data;
|
|
6806
|
-
}
|
|
6807
|
-
var CoverOuterContainer = styled__default.div(_templateObject$7(), function (_ref) {
|
|
6682
|
+
var CoverOuterContainer = styled__default.div.withConfig({
|
|
6683
|
+
displayName: "Coverstyled__CoverOuterContainer",
|
|
6684
|
+
componentId: "sc-1jhq379-0"
|
|
6685
|
+
})(["box-sizing:border-box;display:flex;flex-direction:column;min-height:", ";padding:", ";min-width:", ";> *{margin-top:", ";margin-bottom:", ";}>:first-child{margin-top:0;}", " ", " >:last-child{margin-bottom:0;}"], function (_ref) {
|
|
6808
6686
|
var minHeight = _ref.minHeight;
|
|
6809
6687
|
return minHeight;
|
|
6810
6688
|
}, function (_ref2) {
|
|
@@ -6827,6 +6705,7 @@ var CoverOuterContainer = styled__default.div(_templateObject$7(), function (_re
|
|
|
6827
6705
|
return centerOverride ? "> :nth-child(2) {margin-top: 0; margin-bottom: auto;}" : "> :nth-child(2) {margin-top: auto; margin-bottom: auto;}";
|
|
6828
6706
|
});
|
|
6829
6707
|
|
|
6708
|
+
var _excluded$b = ["minHeight", "childGap", "padding", "fillCenter", "singleChild", "centerOverride", "children"];
|
|
6830
6709
|
/*
|
|
6831
6710
|
The Cover component is used when you want to have one center element
|
|
6832
6711
|
and an optional top/header element and/or an optional bottom/footer element.
|
|
@@ -6856,7 +6735,7 @@ var Cover = function Cover(_ref) {
|
|
|
6856
6735
|
singleChild = _ref.singleChild,
|
|
6857
6736
|
centerOverride = _ref.centerOverride,
|
|
6858
6737
|
children = _ref.children,
|
|
6859
|
-
rest = _objectWithoutProperties(_ref,
|
|
6738
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
6860
6739
|
|
|
6861
6740
|
return /*#__PURE__*/React__default.createElement(CoverOuterContainer, _extends({
|
|
6862
6741
|
minHeight: minHeight,
|
|
@@ -6867,21 +6746,16 @@ var Cover = function Cover(_ref) {
|
|
|
6867
6746
|
}, rest), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
|
|
6868
6747
|
};
|
|
6869
6748
|
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
return data;
|
|
6875
|
-
};
|
|
6876
|
-
|
|
6877
|
-
return data;
|
|
6878
|
-
}
|
|
6879
|
-
var FrameOuterContainer = styled__default.div(_templateObject$8(), function (_ref) {
|
|
6749
|
+
var FrameOuterContainer = styled__default.div.withConfig({
|
|
6750
|
+
displayName: "Framestyled__FrameOuterContainer",
|
|
6751
|
+
componentId: "sc-1syfnuv-0"
|
|
6752
|
+
})(["box-sizing:border-box;padding-bottom:", ";position:relative;> *{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;}> img,> video{width:100%;height:100%;object-fit:cover;}"], function (_ref) {
|
|
6880
6753
|
var numerator = _ref.numerator,
|
|
6881
6754
|
denominator = _ref.denominator;
|
|
6882
6755
|
return "calc((".concat(numerator, " / ").concat(denominator, ") * 100%)");
|
|
6883
6756
|
});
|
|
6884
6757
|
|
|
6758
|
+
var _excluded$c = ["numerator", "denominator", "children"];
|
|
6885
6759
|
/*
|
|
6886
6760
|
The Frame component is used for cropping content to a specific aspect ratio.
|
|
6887
6761
|
The aspect ratio is supplied by the numerator and denominator props.
|
|
@@ -6901,7 +6775,7 @@ var Frame = function Frame(_ref) {
|
|
|
6901
6775
|
_ref$denominator = _ref.denominator,
|
|
6902
6776
|
denominator = _ref$denominator === void 0 ? 1 : _ref$denominator,
|
|
6903
6777
|
children = _ref.children,
|
|
6904
|
-
rest = _objectWithoutProperties(_ref,
|
|
6778
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
6905
6779
|
|
|
6906
6780
|
return /*#__PURE__*/React__default.createElement(FrameOuterContainer, _extends({
|
|
6907
6781
|
numerator: numerator,
|
|
@@ -6909,37 +6783,14 @@ var Frame = function Frame(_ref) {
|
|
|
6909
6783
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6910
6784
|
};
|
|
6911
6785
|
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
}
|
|
6921
|
-
|
|
6922
|
-
function _templateObject2$4() {
|
|
6923
|
-
var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n padding: ", ";\n margin: ", ";\n ", "\n\n > * {\n flex-grow: 1;\n ", ";\n ", "\n ", "\n }\n\n ", "\n\n ", "\n\n ", "\n"]);
|
|
6924
|
-
|
|
6925
|
-
_templateObject2$4 = function _templateObject2() {
|
|
6926
|
-
return data;
|
|
6927
|
-
};
|
|
6928
|
-
|
|
6929
|
-
return data;
|
|
6930
|
-
}
|
|
6931
|
-
|
|
6932
|
-
function _templateObject$9() {
|
|
6933
|
-
var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: block;\n"]);
|
|
6934
|
-
|
|
6935
|
-
_templateObject$9 = function _templateObject() {
|
|
6936
|
-
return data;
|
|
6937
|
-
};
|
|
6938
|
-
|
|
6939
|
-
return data;
|
|
6940
|
-
}
|
|
6941
|
-
var SwitcherOuterContainer = styled__default.div(_templateObject$9());
|
|
6942
|
-
var SwitcherInnerContainer = styled__default.div(_templateObject2$4(), function (_ref) {
|
|
6786
|
+
var SwitcherOuterContainer = styled__default.div.withConfig({
|
|
6787
|
+
displayName: "Switcherstyled__SwitcherOuterContainer",
|
|
6788
|
+
componentId: "sc-1ym61kc-0"
|
|
6789
|
+
})(["box-sizing:border-box;display:block;"]);
|
|
6790
|
+
var SwitcherInnerContainer = styled__default.div.withConfig({
|
|
6791
|
+
displayName: "Switcherstyled__SwitcherInnerContainer",
|
|
6792
|
+
componentId: "sc-1ym61kc-1"
|
|
6793
|
+
})(["box-sizing:border-box;display:flex;flex-wrap:wrap;overflow:hidden;padding:", ";margin:", ";", " > *{flex-grow:1;", ";", " ", "}", " ", " ", ""], function (_ref) {
|
|
6943
6794
|
var padding = _ref.padding;
|
|
6944
6795
|
return padding;
|
|
6945
6796
|
}, function (_ref2) {
|
|
@@ -6968,9 +6819,10 @@ var SwitcherInnerContainer = styled__default.div(_templateObject2$4(), function
|
|
|
6968
6819
|
return maxChildren ? "> :nth-last-child(".concat(maxChildren + 1, "), > :nth-last-child(").concat(maxChildren + 1, ") ~ * {\n flex-basis: 100%;\n }") : "";
|
|
6969
6820
|
}, function (_ref9) {
|
|
6970
6821
|
var extraStyles = _ref9.extraStyles;
|
|
6971
|
-
return styled.css(
|
|
6822
|
+
return styled.css(["", ""], extraStyles);
|
|
6972
6823
|
});
|
|
6973
6824
|
|
|
6825
|
+
var _excluded$d = ["breakpoint", "childGap", "largeChild", "largeChildSize", "maxChildren", "maxChildrenOnly", "padding", "children", "extraStyles", "constrainMobile"];
|
|
6974
6826
|
/*
|
|
6975
6827
|
The Switcher is a component that is used to toggle between wide and narrow
|
|
6976
6828
|
layouts based on the size of the surrounding container. In the wide layout,
|
|
@@ -7019,7 +6871,7 @@ var Switcher = function Switcher(_ref) {
|
|
|
7019
6871
|
extraStyles = _ref.extraStyles,
|
|
7020
6872
|
_ref$constrainMobile = _ref.constrainMobile,
|
|
7021
6873
|
constrainMobile = _ref$constrainMobile === void 0 ? false : _ref$constrainMobile,
|
|
7022
|
-
rest = _objectWithoutProperties(_ref,
|
|
6874
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
7023
6875
|
|
|
7024
6876
|
return /*#__PURE__*/React__default.createElement(SwitcherOuterContainer, null, /*#__PURE__*/React__default.createElement(SwitcherInnerContainer, _extends({
|
|
7025
6877
|
breakpoint: breakpoint,
|
|
@@ -7034,16 +6886,10 @@ var Switcher = function Switcher(_ref) {
|
|
|
7034
6886
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
7035
6887
|
};
|
|
7036
6888
|
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
return data;
|
|
7042
|
-
};
|
|
7043
|
-
|
|
7044
|
-
return data;
|
|
7045
|
-
}
|
|
7046
|
-
var ImposterWrapper = styled__default.div(_templateObject$a(), function (_ref) {
|
|
6889
|
+
var ImposterWrapper = styled__default.div.withConfig({
|
|
6890
|
+
displayName: "Imposterstyled__ImposterWrapper",
|
|
6891
|
+
componentId: "sc-1q0gj35-0"
|
|
6892
|
+
})(["position:", ";top:", ";left:", ";display:", ";", " ", " ", ";"], function (_ref) {
|
|
7047
6893
|
var fixed = _ref.fixed;
|
|
7048
6894
|
return fixed ? "fixed" : "absolute";
|
|
7049
6895
|
}, function (_ref2) {
|
|
@@ -7068,6 +6914,7 @@ var ImposterWrapper = styled__default.div(_templateObject$a(), function (_ref) {
|
|
|
7068
6914
|
return extraStyles;
|
|
7069
6915
|
});
|
|
7070
6916
|
|
|
6917
|
+
var _excluded$e = ["fixed", "verticalMargin", "horizontalMargin", "breakout", "top", "left", "centered", "visible", "children"];
|
|
7071
6918
|
/*
|
|
7072
6919
|
The imposter is used to position content over a parent node.
|
|
7073
6920
|
Great for tooltips, modals, dialogs, etc.
|
|
@@ -7106,7 +6953,7 @@ var Imposter = function Imposter(_ref) {
|
|
|
7106
6953
|
_ref$visible = _ref.visible,
|
|
7107
6954
|
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
7108
6955
|
children = _ref.children,
|
|
7109
|
-
rest = _objectWithoutProperties(_ref,
|
|
6956
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
7110
6957
|
|
|
7111
6958
|
return /*#__PURE__*/React__default.createElement(ImposterWrapper, _extends({
|
|
7112
6959
|
fixed: fixed,
|
|
@@ -12182,16 +12029,10 @@ if (typeof window !== "undefined") {
|
|
|
12182
12029
|
}
|
|
12183
12030
|
}
|
|
12184
12031
|
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
return data;
|
|
12190
|
-
};
|
|
12191
|
-
|
|
12192
|
-
return data;
|
|
12193
|
-
}
|
|
12194
|
-
var MotionWrapper = styled__default(motion.div)(_templateObject$b(), function (_ref) {
|
|
12032
|
+
var MotionWrapper = styled__default(motion.div).withConfig({
|
|
12033
|
+
displayName: "Motionstyled__MotionWrapper",
|
|
12034
|
+
componentId: "sc-1m6r1io-0"
|
|
12035
|
+
})(["position:", ";display:", ";box-sizing:border-box;padding:", ";border:", ";border-color:", ";border-size:", ";border-style:", ";border-width:", ";border-radius:", ";background-color:", ";box-shadow:", ";min-height:", ";min-width:", ";height:", ";width:", ";text-align:", ";margin:", ";&:hover,&:focus{", ";}&:active{", ";}&:disabled{", ";}", ";"], function (_ref) {
|
|
12195
12036
|
var position = _ref.position;
|
|
12196
12037
|
return position;
|
|
12197
12038
|
}, function (_ref2) {
|
|
@@ -12256,6 +12097,7 @@ var MotionWrapper = styled__default(motion.div)(_templateObject$b(), function (_
|
|
|
12256
12097
|
return extraStyles;
|
|
12257
12098
|
});
|
|
12258
12099
|
|
|
12100
|
+
var _excluded$f = ["position", "padding", "children"];
|
|
12259
12101
|
/*
|
|
12260
12102
|
Catch-all component for creating animations with Framer Motion library
|
|
12261
12103
|
Wraps the framer motion "motion.div" with styled components and allows for passing
|
|
@@ -12297,7 +12139,7 @@ var Motion = function Motion(_ref) {
|
|
|
12297
12139
|
_ref$padding = _ref.padding,
|
|
12298
12140
|
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
12299
12141
|
children = _ref.children,
|
|
12300
|
-
rest = _objectWithoutProperties(_ref,
|
|
12142
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
12301
12143
|
|
|
12302
12144
|
return /*#__PURE__*/React__default.createElement(MotionWrapper, _extends({
|
|
12303
12145
|
position: position,
|
|
@@ -12305,16 +12147,10 @@ var Motion = function Motion(_ref) {
|
|
|
12305
12147
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
12306
12148
|
};
|
|
12307
12149
|
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
return data;
|
|
12313
|
-
};
|
|
12314
|
-
|
|
12315
|
-
return data;
|
|
12316
|
-
}
|
|
12317
|
-
var ReelStyled = styled__default.div(_templateObject$c(), function (_ref) {
|
|
12150
|
+
var ReelStyled = styled__default.div.withConfig({
|
|
12151
|
+
displayName: "Reelstyled__ReelStyled",
|
|
12152
|
+
componentId: "sc-bhf05j-0"
|
|
12153
|
+
})(["display:flex;overflow-x:", ";padding:", ";height:", ";justify-content:", ";> * + *{margin-left:", ";}> *{flex:0 0 ", ";}"], function (_ref) {
|
|
12318
12154
|
var disableScroll = _ref.disableScroll;
|
|
12319
12155
|
return disableScroll ? "hidden" : "auto";
|
|
12320
12156
|
}, function (_ref2) {
|
|
@@ -12334,6 +12170,8 @@ var ReelStyled = styled__default.div(_templateObject$c(), function (_ref) {
|
|
|
12334
12170
|
return childWidth;
|
|
12335
12171
|
});
|
|
12336
12172
|
|
|
12173
|
+
var _excluded$g = ["childGap", "height", "childWidth", "padding", "justifyContent", "disableScroll", "children"];
|
|
12174
|
+
|
|
12337
12175
|
var Reel = function Reel(_ref) {
|
|
12338
12176
|
var _ref$childGap = _ref.childGap,
|
|
12339
12177
|
childGap = _ref$childGap === void 0 ? "1rem" : _ref$childGap,
|
|
@@ -12348,7 +12186,7 @@ var Reel = function Reel(_ref) {
|
|
|
12348
12186
|
_ref$disableScroll = _ref.disableScroll,
|
|
12349
12187
|
disableScroll = _ref$disableScroll === void 0 ? false : _ref$disableScroll,
|
|
12350
12188
|
children = _ref.children,
|
|
12351
|
-
rest = _objectWithoutProperties(_ref,
|
|
12189
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
12352
12190
|
|
|
12353
12191
|
return /*#__PURE__*/React__default.createElement(ReelStyled, _extends({
|
|
12354
12192
|
childGap: childGap,
|
|
@@ -12563,25 +12401,6 @@ var fallbackValues$1 = {
|
|
|
12563
12401
|
activeColor: activeColor
|
|
12564
12402
|
};
|
|
12565
12403
|
|
|
12566
|
-
function _templateObject2$5() {
|
|
12567
|
-
var data = _taggedTemplateLiteral(["\n width: ", "px;\n height: ", "px;\n"]);
|
|
12568
|
-
|
|
12569
|
-
_templateObject2$5 = function _templateObject2() {
|
|
12570
|
-
return data;
|
|
12571
|
-
};
|
|
12572
|
-
|
|
12573
|
-
return data;
|
|
12574
|
-
}
|
|
12575
|
-
|
|
12576
|
-
function _templateObject$d() {
|
|
12577
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"]);
|
|
12578
|
-
|
|
12579
|
-
_templateObject$d = function _templateObject() {
|
|
12580
|
-
return data;
|
|
12581
|
-
};
|
|
12582
|
-
|
|
12583
|
-
return data;
|
|
12584
|
-
}
|
|
12585
12404
|
var rotate = posed.div({
|
|
12586
12405
|
fixed: {
|
|
12587
12406
|
rotate: "0deg"
|
|
@@ -12597,8 +12416,14 @@ var rotate = posed.div({
|
|
|
12597
12416
|
}
|
|
12598
12417
|
}
|
|
12599
12418
|
});
|
|
12600
|
-
var SpinnerContainer = styled__default.div(
|
|
12601
|
-
|
|
12419
|
+
var SpinnerContainer = styled__default.div.withConfig({
|
|
12420
|
+
displayName: "Spinner__SpinnerContainer",
|
|
12421
|
+
componentId: "sc-jphte-0"
|
|
12422
|
+
})(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
|
|
12423
|
+
var SpinnerIconWrapper = styled__default(rotate).withConfig({
|
|
12424
|
+
displayName: "Spinner__SpinnerIconWrapper",
|
|
12425
|
+
componentId: "sc-jphte-1"
|
|
12426
|
+
})(["width:", "px;height:", "px;"], function (_ref) {
|
|
12602
12427
|
var isMobile = _ref.isMobile;
|
|
12603
12428
|
return isMobile ? "18" : "21";
|
|
12604
12429
|
}, function (_ref2) {
|
|
@@ -12641,25 +12466,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12641
12466
|
}))))));
|
|
12642
12467
|
};
|
|
12643
12468
|
|
|
12644
|
-
|
|
12645
|
-
var data = _taggedTemplateLiteral([""]);
|
|
12646
|
-
|
|
12647
|
-
_templateObject2$6 = function _templateObject2() {
|
|
12648
|
-
return data;
|
|
12649
|
-
};
|
|
12650
|
-
|
|
12651
|
-
return data;
|
|
12652
|
-
}
|
|
12653
|
-
|
|
12654
|
-
function _templateObject$e() {
|
|
12655
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"]);
|
|
12656
|
-
|
|
12657
|
-
_templateObject$e = function _templateObject() {
|
|
12658
|
-
return data;
|
|
12659
|
-
};
|
|
12660
|
-
|
|
12661
|
-
return data;
|
|
12662
|
-
}
|
|
12469
|
+
var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
12663
12470
|
var rotate$1 = posed.div({
|
|
12664
12471
|
fixed: {
|
|
12665
12472
|
rotate: "0deg"
|
|
@@ -12675,8 +12482,14 @@ var rotate$1 = posed.div({
|
|
|
12675
12482
|
}
|
|
12676
12483
|
}
|
|
12677
12484
|
});
|
|
12678
|
-
var SpinnerContainer$1 = styled__default.div(
|
|
12679
|
-
|
|
12485
|
+
var SpinnerContainer$1 = styled__default.div.withConfig({
|
|
12486
|
+
displayName: "ButtonWithAction__SpinnerContainer",
|
|
12487
|
+
componentId: "sc-1ffs4ga-0"
|
|
12488
|
+
})(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
|
|
12489
|
+
var SpinnerIconWrapper$1 = styled__default(rotate$1).withConfig({
|
|
12490
|
+
displayName: "ButtonWithAction__SpinnerIconWrapper",
|
|
12491
|
+
componentId: "sc-1ffs4ga-1"
|
|
12492
|
+
})([""]);
|
|
12680
12493
|
|
|
12681
12494
|
var Spinner = function Spinner(_ref) {
|
|
12682
12495
|
var isMobile = _ref.isMobile;
|
|
@@ -12721,7 +12534,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12721
12534
|
extraStyles = _ref2$extraStyles === void 0 ? "" : _ref2$extraStyles,
|
|
12722
12535
|
tabIndex = _ref2.tabIndex,
|
|
12723
12536
|
children = _ref2.children,
|
|
12724
|
-
rest = _objectWithoutProperties(_ref2,
|
|
12537
|
+
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12725
12538
|
|
|
12726
12539
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
12727
12540
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
@@ -13697,27 +13510,14 @@ var GenericCard = function GenericCard() {
|
|
|
13697
13510
|
})))));
|
|
13698
13511
|
};
|
|
13699
13512
|
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
|
|
13704
|
-
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
}
|
|
13709
|
-
|
|
13710
|
-
function _templateObject$f() {
|
|
13711
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"]);
|
|
13712
|
-
|
|
13713
|
-
_templateObject$f = function _templateObject() {
|
|
13714
|
-
return data;
|
|
13715
|
-
};
|
|
13716
|
-
|
|
13717
|
-
return data;
|
|
13718
|
-
}
|
|
13719
|
-
var BankItemWrapper = styled__default.div(_templateObject$f());
|
|
13720
|
-
var BankAccountText = styled__default.h4(_templateObject2$7(), CHARADE_GREY);
|
|
13513
|
+
var BankItemWrapper = styled__default.div.withConfig({
|
|
13514
|
+
displayName: "PaymentIcon__BankItemWrapper",
|
|
13515
|
+
componentId: "sc-1k0jl35-0"
|
|
13516
|
+
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
13517
|
+
var BankAccountText = styled__default.h4.withConfig({
|
|
13518
|
+
displayName: "PaymentIcon__BankAccountText",
|
|
13519
|
+
componentId: "sc-1k0jl35-1"
|
|
13520
|
+
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
|
|
13721
13521
|
var CHECKING = "CHECKING";
|
|
13722
13522
|
var SAVINGS = "SAVINGS";
|
|
13723
13523
|
|
|
@@ -15995,16 +15795,10 @@ var Alert = function Alert(_ref) {
|
|
|
15995
15795
|
|
|
15996
15796
|
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$4, "info");
|
|
15997
15797
|
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
return data;
|
|
16003
|
-
};
|
|
16004
|
-
|
|
16005
|
-
return data;
|
|
16006
|
-
}
|
|
16007
|
-
var HeadingText = styled__default.h1(_templateObject$g(), function (_ref) {
|
|
15798
|
+
var HeadingText = styled__default.h1.withConfig({
|
|
15799
|
+
displayName: "Headingstyled__HeadingText",
|
|
15800
|
+
componentId: "sc-1a3jd28-0"
|
|
15801
|
+
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
16008
15802
|
var fontSize = _ref.fontSize;
|
|
16009
15803
|
return fontSize;
|
|
16010
15804
|
}, function (_ref2) {
|
|
@@ -16044,6 +15838,8 @@ var fallbackValues$5 = {
|
|
|
16044
15838
|
fontSize: fontSize$1
|
|
16045
15839
|
};
|
|
16046
15840
|
|
|
15841
|
+
var _excluded$i = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
15842
|
+
|
|
16047
15843
|
var Heading = function Heading(_ref) {
|
|
16048
15844
|
var themeValues = _ref.themeValues,
|
|
16049
15845
|
_ref$weight = _ref.weight,
|
|
@@ -16062,7 +15858,7 @@ var Heading = function Heading(_ref) {
|
|
|
16062
15858
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
16063
15859
|
dataQa = _ref.dataQa,
|
|
16064
15860
|
children = _ref.children,
|
|
16065
|
-
rest = _objectWithoutProperties(_ref,
|
|
15861
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
16066
15862
|
|
|
16067
15863
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
16068
15864
|
variant: variant,
|
|
@@ -16142,10 +15938,19 @@ function _assertThisInitialized(self) {
|
|
|
16142
15938
|
return self;
|
|
16143
15939
|
}
|
|
16144
15940
|
|
|
15941
|
+
function _setPrototypeOf(o, p) {
|
|
15942
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
15943
|
+
o.__proto__ = p;
|
|
15944
|
+
return o;
|
|
15945
|
+
};
|
|
15946
|
+
|
|
15947
|
+
return _setPrototypeOf(o, p);
|
|
15948
|
+
}
|
|
15949
|
+
|
|
16145
15950
|
function _inheritsLoose(subClass, superClass) {
|
|
16146
15951
|
subClass.prototype = Object.create(superClass.prototype);
|
|
16147
15952
|
subClass.prototype.constructor = subClass;
|
|
16148
|
-
subClass
|
|
15953
|
+
_setPrototypeOf(subClass, superClass);
|
|
16149
15954
|
}
|
|
16150
15955
|
|
|
16151
15956
|
function _getPrototypeOf(o) {
|
|
@@ -16155,15 +15960,6 @@ function _getPrototypeOf(o) {
|
|
|
16155
15960
|
return _getPrototypeOf(o);
|
|
16156
15961
|
}
|
|
16157
15962
|
|
|
16158
|
-
function _setPrototypeOf(o, p) {
|
|
16159
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
16160
|
-
o.__proto__ = p;
|
|
16161
|
-
return o;
|
|
16162
|
-
};
|
|
16163
|
-
|
|
16164
|
-
return _setPrototypeOf(o, p);
|
|
16165
|
-
}
|
|
16166
|
-
|
|
16167
15963
|
function _isNativeFunction(fn) {
|
|
16168
15964
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
16169
15965
|
}
|
|
@@ -16174,7 +15970,7 @@ function _isNativeReflectConstruct() {
|
|
|
16174
15970
|
if (typeof Proxy === "function") return true;
|
|
16175
15971
|
|
|
16176
15972
|
try {
|
|
16177
|
-
|
|
15973
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
16178
15974
|
return true;
|
|
16179
15975
|
} catch (e) {
|
|
16180
15976
|
return false;
|
|
@@ -16314,7 +16110,9 @@ var ERRORS = {
|
|
|
16314
16110
|
"73": "Please provide a valid CSS variable.\n\n",
|
|
16315
16111
|
"74": "CSS variable not found and no default was provided.\n\n",
|
|
16316
16112
|
"75": "important requires a valid style object, got a %s instead.\n\n",
|
|
16317
|
-
"76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n"
|
|
16113
|
+
"76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",
|
|
16114
|
+
"77": "remToPx expects a value in \"rem\" but you provided it in \"%s\".\n\n",
|
|
16115
|
+
"78": "base must be set in \"px\" or \"%\" but you set it in \"%s\".\n"
|
|
16318
16116
|
};
|
|
16319
16117
|
/**
|
|
16320
16118
|
* super basic version of sprintf
|
|
@@ -16656,7 +16454,7 @@ function parseToRgb(color) {
|
|
|
16656
16454
|
};
|
|
16657
16455
|
}
|
|
16658
16456
|
|
|
16659
|
-
var rgbaMatched = rgbaRegex.exec(normalizedColor);
|
|
16457
|
+
var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
|
|
16660
16458
|
|
|
16661
16459
|
if (rgbaMatched) {
|
|
16662
16460
|
return {
|
|
@@ -16687,7 +16485,7 @@ function parseToRgb(color) {
|
|
|
16687
16485
|
};
|
|
16688
16486
|
}
|
|
16689
16487
|
|
|
16690
|
-
var hslaMatched = hslaRegex.exec(normalizedColor);
|
|
16488
|
+
var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
|
|
16691
16489
|
|
|
16692
16490
|
if (hslaMatched) {
|
|
16693
16491
|
var _hue = parseInt("" + hslaMatched[1], 10);
|
|
@@ -16933,11 +16731,13 @@ var fallbackValues$7 = {
|
|
|
16933
16731
|
linkColor: linkColor
|
|
16934
16732
|
};
|
|
16935
16733
|
|
|
16734
|
+
var _excluded$j = ["variant", "themeValues", "children"];
|
|
16735
|
+
|
|
16936
16736
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
16937
16737
|
var variant = _ref.variant,
|
|
16938
16738
|
themeValues = _ref.themeValues,
|
|
16939
16739
|
children = _ref.children,
|
|
16940
|
-
props = _objectWithoutProperties(_ref,
|
|
16740
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
16941
16741
|
|
|
16942
16742
|
var shadowRegistry = {
|
|
16943
16743
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
@@ -16995,15 +16795,7 @@ var fallbackValues$9 = {
|
|
|
16995
16795
|
externalLinkColor: externalLinkColor
|
|
16996
16796
|
};
|
|
16997
16797
|
|
|
16998
|
-
|
|
16999
|
-
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 text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"]);
|
|
17000
|
-
|
|
17001
|
-
_templateObject$h = function _templateObject() {
|
|
17002
|
-
return data;
|
|
17003
|
-
};
|
|
17004
|
-
|
|
17005
|
-
return data;
|
|
17006
|
-
}
|
|
16798
|
+
var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
|
|
17007
16799
|
/*
|
|
17008
16800
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
17009
16801
|
unrecognized DOM attributes.
|
|
@@ -17015,10 +16807,13 @@ var StyledExternalLink = styled__default(function (_ref) {
|
|
|
17015
16807
|
var hoverColor = _ref.hoverColor,
|
|
17016
16808
|
activeColor = _ref.activeColor,
|
|
17017
16809
|
extrastyles = _ref.extrastyles,
|
|
17018
|
-
props = _objectWithoutProperties(_ref,
|
|
16810
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
17019
16811
|
|
|
17020
16812
|
return /*#__PURE__*/React__default.createElement("a", props);
|
|
17021
|
-
})(
|
|
16813
|
+
}).withConfig({
|
|
16814
|
+
displayName: "ExternalLinkstyled__StyledExternalLink",
|
|
16815
|
+
componentId: "sc-m1q2m2-0"
|
|
16816
|
+
})(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
|
|
17022
16817
|
var size = _ref2.size;
|
|
17023
16818
|
return size;
|
|
17024
16819
|
}, function (_ref3) {
|
|
@@ -17081,15 +16876,7 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
17081
16876
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
17082
16877
|
};
|
|
17083
16878
|
|
|
17084
|
-
|
|
17085
|
-
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 color: ", ";\n text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"]);
|
|
17086
|
-
|
|
17087
|
-
_templateObject$i = function _templateObject() {
|
|
17088
|
-
return data;
|
|
17089
|
-
};
|
|
17090
|
-
|
|
17091
|
-
return data;
|
|
17092
|
-
}
|
|
16879
|
+
var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
17093
16880
|
/*
|
|
17094
16881
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
17095
16882
|
unrecognized DOM attributes.
|
|
@@ -17103,10 +16890,13 @@ var StyledInternalLink = styled__default(function (_ref) {
|
|
|
17103
16890
|
active = _ref.active,
|
|
17104
16891
|
color = _ref.color,
|
|
17105
16892
|
extrastyles = _ref.extrastyles,
|
|
17106
|
-
props = _objectWithoutProperties(_ref,
|
|
16893
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
17107
16894
|
|
|
17108
16895
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, props);
|
|
17109
|
-
})(
|
|
16896
|
+
}).withConfig({
|
|
16897
|
+
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
16898
|
+
componentId: "sc-cuqxud-0"
|
|
16899
|
+
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
|
|
17110
16900
|
var color = _ref2.color,
|
|
17111
16901
|
active = _ref2.active,
|
|
17112
16902
|
activeColor = _ref2.activeColor;
|
|
@@ -18781,6 +18571,8 @@ _curry2(function test(pattern, str) {
|
|
|
18781
18571
|
|
|
18782
18572
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
18783
18573
|
|
|
18574
|
+
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab"];
|
|
18575
|
+
|
|
18784
18576
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
18785
18577
|
var _ref$url = _ref.url,
|
|
18786
18578
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -18792,7 +18584,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
18792
18584
|
linkExtraStyles = _ref.linkExtraStyles,
|
|
18793
18585
|
_ref$newTab = _ref.newTab,
|
|
18794
18586
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
18795
|
-
otherProps = _objectWithoutProperties(_ref,
|
|
18587
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
18796
18588
|
|
|
18797
18589
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
18798
18590
|
var children = _ref2.children,
|
|
@@ -18848,16 +18640,10 @@ var fallbackValues$a = {
|
|
|
18848
18640
|
fontSize: fontSize$4
|
|
18849
18641
|
};
|
|
18850
18642
|
|
|
18851
|
-
|
|
18852
|
-
|
|
18853
|
-
|
|
18854
|
-
|
|
18855
|
-
return data;
|
|
18856
|
-
};
|
|
18857
|
-
|
|
18858
|
-
return data;
|
|
18859
|
-
}
|
|
18860
|
-
var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
|
|
18643
|
+
var ParagraphText = styled__default.p.withConfig({
|
|
18644
|
+
displayName: "Paragraphstyled__ParagraphText",
|
|
18645
|
+
componentId: "sc-17g98kx-0"
|
|
18646
|
+
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";margin:", ";", ""], function (_ref) {
|
|
18861
18647
|
var fontSize = _ref.fontSize;
|
|
18862
18648
|
return fontSize;
|
|
18863
18649
|
}, function (_ref2) {
|
|
@@ -18877,6 +18663,8 @@ var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
|
|
|
18877
18663
|
return extraStyles;
|
|
18878
18664
|
});
|
|
18879
18665
|
|
|
18666
|
+
var _excluded$n = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
18667
|
+
|
|
18880
18668
|
var Paragraph = function Paragraph(_ref) {
|
|
18881
18669
|
var themeValues = _ref.themeValues,
|
|
18882
18670
|
_ref$weight = _ref.weight,
|
|
@@ -18890,7 +18678,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
18890
18678
|
dataQa = _ref.dataQa,
|
|
18891
18679
|
children = _ref.children,
|
|
18892
18680
|
as = _ref.as,
|
|
18893
|
-
rest = _objectWithoutProperties(_ref,
|
|
18681
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
18894
18682
|
|
|
18895
18683
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
18896
18684
|
weight: weight,
|
|
@@ -19153,127 +18941,33 @@ var fallbackValues$c = {
|
|
|
19153
18941
|
disabledCheckedStyles: disabledCheckedStyles
|
|
19154
18942
|
};
|
|
19155
18943
|
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
|
|
19166
|
-
|
|
19167
|
-
|
|
19168
|
-
|
|
19169
|
-
_templateObject10 = function _templateObject10() {
|
|
19170
|
-
return data;
|
|
19171
|
-
};
|
|
19172
|
-
|
|
19173
|
-
return data;
|
|
19174
|
-
}
|
|
19175
|
-
|
|
19176
|
-
function _templateObject9() {
|
|
19177
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19178
|
-
|
|
19179
|
-
_templateObject9 = function _templateObject9() {
|
|
19180
|
-
return data;
|
|
19181
|
-
};
|
|
19182
|
-
|
|
19183
|
-
return data;
|
|
19184
|
-
}
|
|
19185
|
-
|
|
19186
|
-
function _templateObject8() {
|
|
19187
|
-
var data = _taggedTemplateLiteral(["\n ", " ", "\n "]);
|
|
19188
|
-
|
|
19189
|
-
_templateObject8 = function _templateObject8() {
|
|
19190
|
-
return data;
|
|
19191
|
-
};
|
|
19192
|
-
|
|
19193
|
-
return data;
|
|
19194
|
-
}
|
|
19195
|
-
|
|
19196
|
-
function _templateObject7$1() {
|
|
19197
|
-
var data = _taggedTemplateLiteral(["\n display: inline-block;\n margin-right: 16px;\n width: 24px;\n height: 24px;\n border-radius: 2px;\n transition: all 150ms;\n\n ", " {\n visibility: ", ";\n }\n\n ", ";\n"]);
|
|
19198
|
-
|
|
19199
|
-
_templateObject7$1 = function _templateObject7() {
|
|
19200
|
-
return data;
|
|
19201
|
-
};
|
|
19202
|
-
|
|
19203
|
-
return data;
|
|
19204
|
-
}
|
|
19205
|
-
|
|
19206
|
-
function _templateObject6$1() {
|
|
19207
|
-
var data = _taggedTemplateLiteral(["\n border: 0;\n clip: rect(0 0 0 0);\n clippath: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n"]);
|
|
19208
|
-
|
|
19209
|
-
_templateObject6$1 = function _templateObject6() {
|
|
19210
|
-
return data;
|
|
19211
|
-
};
|
|
19212
|
-
|
|
19213
|
-
return data;
|
|
19214
|
-
}
|
|
19215
|
-
|
|
19216
|
-
function _templateObject5$1() {
|
|
19217
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19218
|
-
|
|
19219
|
-
_templateObject5$1 = function _templateObject5() {
|
|
19220
|
-
return data;
|
|
19221
|
-
};
|
|
19222
|
-
|
|
19223
|
-
return data;
|
|
19224
|
-
}
|
|
19225
|
-
|
|
19226
|
-
function _templateObject4$1() {
|
|
19227
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19228
|
-
|
|
19229
|
-
_templateObject4$1 = function _templateObject4() {
|
|
19230
|
-
return data;
|
|
19231
|
-
};
|
|
19232
|
-
|
|
19233
|
-
return data;
|
|
19234
|
-
}
|
|
19235
|
-
|
|
19236
|
-
function _templateObject3$3() {
|
|
19237
|
-
var data = _taggedTemplateLiteral(["\n fill: none;\n stroke-width: 2px;\n stroke: ", ";\n"]);
|
|
19238
|
-
|
|
19239
|
-
_templateObject3$3 = function _templateObject3() {
|
|
19240
|
-
return data;
|
|
19241
|
-
};
|
|
19242
|
-
|
|
19243
|
-
return data;
|
|
19244
|
-
}
|
|
19245
|
-
|
|
19246
|
-
function _templateObject2$8() {
|
|
19247
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"]);
|
|
19248
|
-
|
|
19249
|
-
_templateObject2$8 = function _templateObject2() {
|
|
19250
|
-
return data;
|
|
19251
|
-
};
|
|
19252
|
-
|
|
19253
|
-
return data;
|
|
19254
|
-
}
|
|
19255
|
-
|
|
19256
|
-
function _templateObject$k() {
|
|
19257
|
-
var data = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"]);
|
|
19258
|
-
|
|
19259
|
-
_templateObject$k = function _templateObject() {
|
|
19260
|
-
return data;
|
|
19261
|
-
};
|
|
19262
|
-
|
|
19263
|
-
return data;
|
|
19264
|
-
}
|
|
19265
|
-
var CheckboxContainer = styled__default.div(_templateObject$k());
|
|
19266
|
-
var CheckboxLabelContainer = styled__default.label(_templateObject2$8());
|
|
19267
|
-
var CheckboxIcon = styled__default.svg(_templateObject3$3(), function (_ref) {
|
|
18944
|
+
var CheckboxContainer = styled__default.div.withConfig({
|
|
18945
|
+
displayName: "Checkbox__CheckboxContainer",
|
|
18946
|
+
componentId: "sc-36kqbv-0"
|
|
18947
|
+
})(["display:inline-block;vertical-align:middle;"]);
|
|
18948
|
+
var CheckboxLabelContainer = styled__default.label.withConfig({
|
|
18949
|
+
displayName: "Checkbox__CheckboxLabelContainer",
|
|
18950
|
+
componentId: "sc-36kqbv-1"
|
|
18951
|
+
})(["display:flex;align-items:center;"]);
|
|
18952
|
+
var CheckboxIcon = styled__default.svg.withConfig({
|
|
18953
|
+
displayName: "Checkbox__CheckboxIcon",
|
|
18954
|
+
componentId: "sc-36kqbv-2"
|
|
18955
|
+
})(["fill:none;stroke-width:2px;stroke:", ";"], function (_ref) {
|
|
19268
18956
|
var disabled = _ref.disabled,
|
|
19269
18957
|
disabledCheckColor = _ref.disabledCheckColor,
|
|
19270
18958
|
checkColor = _ref.checkColor;
|
|
19271
|
-
return disabled ? styled.css(
|
|
18959
|
+
return disabled ? styled.css(["", ""], disabledCheckColor) : styled.css(["", ""], checkColor);
|
|
19272
18960
|
});
|
|
19273
18961
|
var HiddenCheckbox = styled__default.input.attrs({
|
|
19274
18962
|
type: "checkbox"
|
|
19275
|
-
})(
|
|
19276
|
-
|
|
18963
|
+
}).withConfig({
|
|
18964
|
+
displayName: "Checkbox__HiddenCheckbox",
|
|
18965
|
+
componentId: "sc-36kqbv-3"
|
|
18966
|
+
})(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;"]);
|
|
18967
|
+
var StyledCheckbox = styled__default.div.withConfig({
|
|
18968
|
+
displayName: "Checkbox__StyledCheckbox",
|
|
18969
|
+
componentId: "sc-36kqbv-4"
|
|
18970
|
+
})(["display:inline-block;margin-right:16px;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
|
|
19277
18971
|
var checked = _ref2.checked;
|
|
19278
18972
|
return checked ? "visible" : "hidden";
|
|
19279
18973
|
}, function (_ref3) {
|
|
@@ -19287,7 +18981,7 @@ var StyledCheckbox = styled__default.div(_templateObject7$1(), CheckboxIcon, fun
|
|
|
19287
18981
|
errorStyles = _ref3.errorStyles,
|
|
19288
18982
|
disabledStyles = _ref3.disabledStyles,
|
|
19289
18983
|
disabledCheckedStyles = _ref3.disabledCheckedStyles;
|
|
19290
|
-
return error ? styled.css(
|
|
18984
|
+
return error ? styled.css(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? styled.css(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(["", " ", ""], checkedStyles, focused && focusedStyles) : styled.css(["", " ", ""], defaultStyles, focused && focusedStyles);
|
|
19291
18985
|
});
|
|
19292
18986
|
|
|
19293
18987
|
var Checkbox = function Checkbox(_ref4) {
|
|
@@ -19412,38 +19106,25 @@ to the one generated by name-that-color.
|
|
|
19412
19106
|
var PEWTER_GREY$1 = "#DFE1E4";
|
|
19413
19107
|
var MARINER_BLUE$1 = "#2E75D2";
|
|
19414
19108
|
|
|
19415
|
-
function _templateObject2$9() {
|
|
19416
|
-
var data = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n background-color: ", ";\n border-radius: 8px;\n"]);
|
|
19417
|
-
|
|
19418
|
-
_templateObject2$9 = function _templateObject2() {
|
|
19419
|
-
return data;
|
|
19420
|
-
};
|
|
19421
|
-
|
|
19422
|
-
return data;
|
|
19423
|
-
}
|
|
19424
|
-
|
|
19425
|
-
function _templateObject$l() {
|
|
19426
|
-
var data = _taggedTemplateLiteral(["\n height: 24px;\n width: 24px;\n border: 1px solid\n ", ";\n border-radius: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 10px;\n min-width: 24px;\n min-height: 24px;\n"]);
|
|
19427
|
-
|
|
19428
|
-
_templateObject$l = function _templateObject() {
|
|
19429
|
-
return data;
|
|
19430
|
-
};
|
|
19431
|
-
|
|
19432
|
-
return data;
|
|
19433
|
-
}
|
|
19434
19109
|
var defaultTheme = {
|
|
19435
19110
|
theme: {
|
|
19436
19111
|
accentColor: MARINER_BLUE$1,
|
|
19437
19112
|
inactiveColor: PEWTER_GREY$1
|
|
19438
19113
|
}
|
|
19439
19114
|
};
|
|
19440
|
-
var RadioButtonBorder = styled__default.div(
|
|
19115
|
+
var RadioButtonBorder = styled__default.div.withConfig({
|
|
19116
|
+
displayName: "radio-button__RadioButtonBorder",
|
|
19117
|
+
componentId: "sc-8odgi0-0"
|
|
19118
|
+
})(["height:24px;width:24px;border:1px solid ", ";border-radius:12px;display:flex;justify-content:center;align-items:center;margin:10px;min-width:24px;min-height:24px;"], function (_ref) {
|
|
19441
19119
|
var isSelected = _ref.isSelected,
|
|
19442
19120
|
theme = _ref.theme;
|
|
19443
19121
|
return isSelected ? theme.accentColor : theme.inactiveColor;
|
|
19444
19122
|
});
|
|
19445
19123
|
RadioButtonBorder.defaultProps = defaultTheme;
|
|
19446
|
-
var RadioButtonCenter = styled__default.div(
|
|
19124
|
+
var RadioButtonCenter = styled__default.div.withConfig({
|
|
19125
|
+
displayName: "radio-button__RadioButtonCenter",
|
|
19126
|
+
componentId: "sc-8odgi0-1"
|
|
19127
|
+
})(["height:16px;width:16px;background-color:", ";border-radius:8px;"], function (_ref2) {
|
|
19447
19128
|
var theme = _ref2.theme;
|
|
19448
19129
|
return theme.accentColor;
|
|
19449
19130
|
});
|
|
@@ -19459,38 +19140,18 @@ var RadioButton = function RadioButton(_ref3) {
|
|
|
19459
19140
|
}, isSelected && /*#__PURE__*/React__default.createElement(RadioButtonCenter, null));
|
|
19460
19141
|
};
|
|
19461
19142
|
|
|
19462
|
-
|
|
19463
|
-
|
|
19464
|
-
|
|
19465
|
-
|
|
19466
|
-
|
|
19467
|
-
|
|
19468
|
-
|
|
19469
|
-
|
|
19470
|
-
|
|
19471
|
-
|
|
19472
|
-
|
|
19473
|
-
|
|
19474
|
-
|
|
19475
|
-
_templateObject2$a = function _templateObject2() {
|
|
19476
|
-
return data;
|
|
19477
|
-
};
|
|
19478
|
-
|
|
19479
|
-
return data;
|
|
19480
|
-
}
|
|
19481
|
-
|
|
19482
|
-
function _templateObject$m() {
|
|
19483
|
-
var data = _taggedTemplateLiteral(["\n width: 2rem;\n"]);
|
|
19484
|
-
|
|
19485
|
-
_templateObject$m = function _templateObject() {
|
|
19486
|
-
return data;
|
|
19487
|
-
};
|
|
19488
|
-
|
|
19489
|
-
return data;
|
|
19490
|
-
}
|
|
19491
|
-
var CheckboxItemIcon = styled__default.img(_templateObject$m());
|
|
19492
|
-
var HiddenCheckboxInput = styled__default.input(_templateObject2$a());
|
|
19493
|
-
var CheckboxLabel = styled__default.label(_templateObject3$4());
|
|
19143
|
+
var CheckboxItemIcon = styled__default.img.withConfig({
|
|
19144
|
+
displayName: "CheckboxList__CheckboxItemIcon",
|
|
19145
|
+
componentId: "sc-1yakme1-0"
|
|
19146
|
+
})(["width:2rem;"]);
|
|
19147
|
+
var HiddenCheckboxInput = styled__default.input.withConfig({
|
|
19148
|
+
displayName: "CheckboxList__HiddenCheckboxInput",
|
|
19149
|
+
componentId: "sc-1yakme1-1"
|
|
19150
|
+
})(["opacity:0;position:absolute;z-index:-2;cursor:pointer;"]);
|
|
19151
|
+
var CheckboxLabel = styled__default.label.withConfig({
|
|
19152
|
+
displayName: "CheckboxList__CheckboxLabel",
|
|
19153
|
+
componentId: "sc-1yakme1-2"
|
|
19154
|
+
})(["position:relative;z-index:5;&:focus{outline:none;}"]);
|
|
19494
19155
|
|
|
19495
19156
|
var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
19496
19157
|
var text = _ref.text,
|
|
@@ -19633,57 +19294,27 @@ var fallbackValues$e = {
|
|
|
19633
19294
|
hoverColor: hoverColor$3
|
|
19634
19295
|
};
|
|
19635
19296
|
|
|
19636
|
-
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
|
|
19640
|
-
return data;
|
|
19641
|
-
};
|
|
19642
|
-
|
|
19643
|
-
return data;
|
|
19644
|
-
}
|
|
19645
|
-
|
|
19646
|
-
function _templateObject3$5() {
|
|
19647
|
-
var data = _taggedTemplateLiteral(["\n background-color: ", ";\n text-align: start;\n border-width: 0px;\n border-color: transparent;\n box-shadow: none;\n padding: 1rem;\n box-sizing: border-box;\n width: 100%;\n cursor: ", ";\n\n &:hover {\n background-color: ", ";\n }\n &:focus {\n background-color: ", ";\n outline: none;\n }\n"]);
|
|
19648
|
-
|
|
19649
|
-
_templateObject3$5 = function _templateObject3() {
|
|
19650
|
-
return data;
|
|
19651
|
-
};
|
|
19652
|
-
|
|
19653
|
-
return data;
|
|
19654
|
-
}
|
|
19655
|
-
|
|
19656
|
-
function _templateObject2$b() {
|
|
19657
|
-
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: ", ";\n min-width: 100%;\n max-height: ", ";\n overflow-y: scroll;\n z-index: 1;\n box-sizing: border-box;\n &:focus {\n outline: none;\n }\n"]);
|
|
19658
|
-
|
|
19659
|
-
_templateObject2$b = function _templateObject2() {
|
|
19660
|
-
return data;
|
|
19661
|
-
};
|
|
19662
|
-
|
|
19663
|
-
return data;
|
|
19664
|
-
}
|
|
19665
|
-
|
|
19666
|
-
function _templateObject$n() {
|
|
19667
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
|
|
19668
|
-
|
|
19669
|
-
_templateObject$n = function _templateObject() {
|
|
19670
|
-
return data;
|
|
19671
|
-
};
|
|
19672
|
-
|
|
19673
|
-
return data;
|
|
19674
|
-
}
|
|
19675
|
-
var IconWrapper = styled__default.div(_templateObject$n(), function (_ref) {
|
|
19297
|
+
var IconWrapper = styled__default.div.withConfig({
|
|
19298
|
+
displayName: "Dropdown__IconWrapper",
|
|
19299
|
+
componentId: "sc-pn6m0h-0"
|
|
19300
|
+
})(["display:flex;flex-direction:column;justify-content:center;transition:transform 0.3s ease;", ""], function (_ref) {
|
|
19676
19301
|
var open = _ref.open;
|
|
19677
19302
|
return open ? "transform: rotate(-180deg)" : "";
|
|
19678
19303
|
});
|
|
19679
|
-
var DropdownContentWrapper = styled__default.div(
|
|
19304
|
+
var DropdownContentWrapper = styled__default.div.withConfig({
|
|
19305
|
+
displayName: "Dropdown__DropdownContentWrapper",
|
|
19306
|
+
componentId: "sc-pn6m0h-1"
|
|
19307
|
+
})(["transform-origin:0 0;border:1px solid ", ";border-radius:2px;background-color:", ";padding:8px 0 8px;position:absolute;width:", ";min-width:100%;max-height:", ";overflow-y:scroll;z-index:1;box-sizing:border-box;&:focus{outline:none;}"], GREY_CHATEAU, WHITE, function (_ref2) {
|
|
19680
19308
|
var widthFitOptions = _ref2.widthFitOptions;
|
|
19681
19309
|
return widthFitOptions ? "fit-content" : "100%";
|
|
19682
19310
|
}, function (_ref3) {
|
|
19683
19311
|
var maxHeight = _ref3.maxHeight;
|
|
19684
19312
|
return maxHeight || "400px";
|
|
19685
19313
|
});
|
|
19686
|
-
var DropdownItemWrapper = styled__default.div(
|
|
19314
|
+
var DropdownItemWrapper = styled__default.div.withConfig({
|
|
19315
|
+
displayName: "Dropdown__DropdownItemWrapper",
|
|
19316
|
+
componentId: "sc-pn6m0h-2"
|
|
19317
|
+
})(["background-color:", ";text-align:start;border-width:0px;border-color:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;width:100%;cursor:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:none;}"], function (_ref4) {
|
|
19687
19318
|
var selected = _ref4.selected,
|
|
19688
19319
|
themeValues = _ref4.themeValues;
|
|
19689
19320
|
return selected ? themeValues.selectedColor : WHITE;
|
|
@@ -19701,7 +19332,10 @@ var DropdownItemWrapper = styled__default.div(_templateObject3$5(), function (_r
|
|
|
19701
19332
|
themeValues = _ref7.themeValues;
|
|
19702
19333
|
return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
|
|
19703
19334
|
});
|
|
19704
|
-
var SearchInput = styled__default.input(
|
|
19335
|
+
var SearchInput = styled__default.input.withConfig({
|
|
19336
|
+
displayName: "Dropdown__SearchInput",
|
|
19337
|
+
componentId: "sc-pn6m0h-3"
|
|
19338
|
+
})(["border:none;background-color:", ";font-size:16px;height:24px;"], function (_ref8) {
|
|
19705
19339
|
var themeValues = _ref8.themeValues;
|
|
19706
19340
|
return themeValues.hoverColor && themeValues.hoverColor;
|
|
19707
19341
|
});
|
|
@@ -19921,37 +19555,14 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19921
19555
|
|
|
19922
19556
|
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$e);
|
|
19923
19557
|
|
|
19924
|
-
|
|
19925
|
-
|
|
19926
|
-
|
|
19927
|
-
|
|
19928
|
-
|
|
19929
|
-
|
|
19930
|
-
|
|
19931
|
-
|
|
19932
|
-
}
|
|
19933
|
-
|
|
19934
|
-
function _templateObject2$c() {
|
|
19935
|
-
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"]);
|
|
19936
|
-
|
|
19937
|
-
_templateObject2$c = function _templateObject2() {
|
|
19938
|
-
return data;
|
|
19939
|
-
};
|
|
19940
|
-
|
|
19941
|
-
return data;
|
|
19942
|
-
}
|
|
19943
|
-
|
|
19944
|
-
function _templateObject$o() {
|
|
19945
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n > * + * {\n margin-top: 0.25rem;\n }\n"]);
|
|
19946
|
-
|
|
19947
|
-
_templateObject$o = function _templateObject() {
|
|
19948
|
-
return data;
|
|
19949
|
-
};
|
|
19950
|
-
|
|
19951
|
-
return data;
|
|
19952
|
-
}
|
|
19953
|
-
var SelectContainer = styled__default.div(_templateObject$o());
|
|
19954
|
-
var SelectField = styled__default.select(_templateObject2$c(), function (_ref) {
|
|
19558
|
+
var SelectContainer = styled__default.div.withConfig({
|
|
19559
|
+
displayName: "FormSelectstyled__SelectContainer",
|
|
19560
|
+
componentId: "sc-hkrqrv-0"
|
|
19561
|
+
})(["width:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;> * + *{margin-top:0.25rem;}"]);
|
|
19562
|
+
var SelectField = styled__default.select.withConfig({
|
|
19563
|
+
displayName: "FormSelectstyled__SelectField",
|
|
19564
|
+
componentId: "sc-hkrqrv-1"
|
|
19565
|
+
})(["border:1px solid ", ";border-radius:2px;height:48px;width:100%;padding:0.75rem 1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;&:focus{border:1px solid ", ";}"], function (_ref) {
|
|
19955
19566
|
var field = _ref.field,
|
|
19956
19567
|
showErrors = _ref.showErrors;
|
|
19957
19568
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : GHOST_GREY;
|
|
@@ -19962,7 +19573,10 @@ var SelectField = styled__default.select(_templateObject2$c(), function (_ref) {
|
|
|
19962
19573
|
var themeValues = _ref3.themeValues;
|
|
19963
19574
|
return themeValues.color && themeValues.color;
|
|
19964
19575
|
}, MATISSE_BLUE);
|
|
19965
|
-
var SelectOption = styled__default.option(
|
|
19576
|
+
var SelectOption = styled__default.option.withConfig({
|
|
19577
|
+
displayName: "FormSelectstyled__SelectOption",
|
|
19578
|
+
componentId: "sc-hkrqrv-2"
|
|
19579
|
+
})([""]);
|
|
19966
19580
|
|
|
19967
19581
|
var linkColor$1 = {
|
|
19968
19582
|
"default": "".concat(MATISSE_BLUE),
|
|
@@ -20866,16 +20480,10 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
20866
20480
|
});
|
|
20867
20481
|
};
|
|
20868
20482
|
|
|
20869
|
-
|
|
20870
|
-
|
|
20871
|
-
|
|
20872
|
-
|
|
20873
|
-
return data;
|
|
20874
|
-
};
|
|
20875
|
-
|
|
20876
|
-
return data;
|
|
20877
|
-
}
|
|
20878
|
-
var DetailText = styled__default.p(_templateObject$p(), function (_ref) {
|
|
20483
|
+
var DetailText = styled__default.p.withConfig({
|
|
20484
|
+
displayName: "Detailstyled__DetailText",
|
|
20485
|
+
componentId: "sc-vn1h4n-0"
|
|
20486
|
+
})(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
20879
20487
|
var fontSize = _ref.fontSize;
|
|
20880
20488
|
return fontSize;
|
|
20881
20489
|
}, function (_ref2) {
|
|
@@ -20926,6 +20534,7 @@ var mobileFallbackValues = {
|
|
|
20926
20534
|
};
|
|
20927
20535
|
var MOBILE_BREAKPOINT = 768;
|
|
20928
20536
|
|
|
20537
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
20929
20538
|
/*
|
|
20930
20539
|
New responsive text component for Detail elements
|
|
20931
20540
|
(Block level text elements which are smaller than "Title" elements)
|
|
@@ -20975,7 +20584,7 @@ var Detail = function Detail(_ref) {
|
|
|
20975
20584
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
20976
20585
|
dataQa = _ref.dataQa,
|
|
20977
20586
|
children = _ref.children,
|
|
20978
|
-
rest = _objectWithoutProperties(_ref,
|
|
20587
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
20979
20588
|
|
|
20980
20589
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
20981
20590
|
variant: variant,
|
|
@@ -21428,66 +21037,12 @@ var fallbackValues$i = {
|
|
|
21428
21037
|
formFooterPanel: formFooterPanel
|
|
21429
21038
|
};
|
|
21430
21039
|
|
|
21431
|
-
|
|
21432
|
-
|
|
21433
|
-
|
|
21434
|
-
|
|
21435
|
-
|
|
21436
|
-
|
|
21437
|
-
|
|
21438
|
-
return data;
|
|
21439
|
-
}
|
|
21440
|
-
|
|
21441
|
-
function _templateObject5$2() {
|
|
21442
|
-
var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
|
|
21443
|
-
|
|
21444
|
-
_templateObject5$2 = function _templateObject5() {
|
|
21445
|
-
return data;
|
|
21446
|
-
};
|
|
21447
|
-
|
|
21448
|
-
return data;
|
|
21449
|
-
}
|
|
21450
|
-
|
|
21451
|
-
function _templateObject4$3() {
|
|
21452
|
-
var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\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 outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
|
|
21453
|
-
|
|
21454
|
-
_templateObject4$3 = function _templateObject4() {
|
|
21455
|
-
return data;
|
|
21456
|
-
};
|
|
21457
|
-
|
|
21458
|
-
return data;
|
|
21459
|
-
}
|
|
21460
|
-
|
|
21461
|
-
function _templateObject3$7() {
|
|
21462
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
21463
|
-
|
|
21464
|
-
_templateObject3$7 = function _templateObject3() {
|
|
21465
|
-
return data;
|
|
21466
|
-
};
|
|
21467
|
-
|
|
21468
|
-
return data;
|
|
21469
|
-
}
|
|
21470
|
-
|
|
21471
|
-
function _templateObject2$d() {
|
|
21472
|
-
var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
|
|
21473
|
-
|
|
21474
|
-
_templateObject2$d = function _templateObject2() {
|
|
21475
|
-
return data;
|
|
21476
|
-
};
|
|
21477
|
-
|
|
21478
|
-
return data;
|
|
21479
|
-
}
|
|
21480
|
-
|
|
21481
|
-
function _templateObject$q() {
|
|
21482
|
-
var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\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 font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n ", "\n transition: background 0.3s ease;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
|
|
21483
|
-
|
|
21484
|
-
_templateObject$q = function _templateObject() {
|
|
21485
|
-
return data;
|
|
21486
|
-
};
|
|
21487
|
-
|
|
21488
|
-
return data;
|
|
21489
|
-
}
|
|
21490
|
-
var InputField = styled__default.input(_templateObject$q(), function (_ref) {
|
|
21040
|
+
var _excluded$p = ["showErrors", "themeValues"],
|
|
21041
|
+
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "extraStyles"];
|
|
21042
|
+
var InputField = styled__default.input.withConfig({
|
|
21043
|
+
displayName: "FormInput__InputField",
|
|
21044
|
+
componentId: "sc-l094r1-0"
|
|
21045
|
+
})(["border:1px solid ", ";border-radius:2px;height:", ";width:100%;padding:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;", " transition:background 0.3s ease;&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
21491
21046
|
var field = _ref.field,
|
|
21492
21047
|
showErrors = _ref.showErrors,
|
|
21493
21048
|
themeValues = _ref.themeValues;
|
|
@@ -21507,19 +21062,22 @@ var InputField = styled__default.input(_templateObject$q(), function (_ref) {
|
|
|
21507
21062
|
return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
|
|
21508
21063
|
}, ROYAL_BLUE, function (_ref6) {
|
|
21509
21064
|
var disabled = _ref6.disabled;
|
|
21510
|
-
return disabled && styled.css(
|
|
21065
|
+
return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
|
|
21511
21066
|
}, function (_ref7) {
|
|
21512
21067
|
var extraStyles = _ref7.extraStyles;
|
|
21513
|
-
return styled.css(
|
|
21068
|
+
return styled.css(["", ""], extraStyles);
|
|
21514
21069
|
}); // eslint-disable-next-line no-unused-vars
|
|
21515
21070
|
|
|
21516
21071
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
21517
21072
|
var showErrors = _ref8.showErrors,
|
|
21518
21073
|
themeValues = _ref8.themeValues,
|
|
21519
|
-
props = _objectWithoutProperties(_ref8,
|
|
21074
|
+
props = _objectWithoutProperties(_ref8, _excluded$p);
|
|
21520
21075
|
|
|
21521
21076
|
return /*#__PURE__*/React__default.createElement(src_1, props);
|
|
21522
|
-
})(
|
|
21077
|
+
}).withConfig({
|
|
21078
|
+
displayName: "FormInput__FormattedInputField",
|
|
21079
|
+
componentId: "sc-l094r1-1"
|
|
21080
|
+
})(["border:1px solid ", ";border-radius:2px;height:", ";width:100%;padding:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref9) {
|
|
21523
21081
|
var field = _ref9.field,
|
|
21524
21082
|
showErrors = _ref9.showErrors,
|
|
21525
21083
|
themeValues = _ref9.themeValues;
|
|
@@ -21535,10 +21093,10 @@ var FormattedInputField = styled__default(function (_ref8) {
|
|
|
21535
21093
|
return themeValues.color && themeValues.color;
|
|
21536
21094
|
}, ROYAL_BLUE, function (_ref13) {
|
|
21537
21095
|
var disabled = _ref13.disabled;
|
|
21538
|
-
return disabled && styled.css(
|
|
21096
|
+
return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
|
|
21539
21097
|
}, function (_ref14) {
|
|
21540
21098
|
var extraStyles = _ref14.extraStyles;
|
|
21541
|
-
return styled.css(
|
|
21099
|
+
return styled.css(["", ""], extraStyles);
|
|
21542
21100
|
});
|
|
21543
21101
|
|
|
21544
21102
|
var FormInput = function FormInput(_ref15) {
|
|
@@ -21563,7 +21121,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21563
21121
|
background = _ref15.background,
|
|
21564
21122
|
customHeight = _ref15.customHeight,
|
|
21565
21123
|
extraStyles = _ref15.extraStyles,
|
|
21566
|
-
props = _objectWithoutProperties(_ref15,
|
|
21124
|
+
props = _objectWithoutProperties(_ref15, _excluded2);
|
|
21567
21125
|
|
|
21568
21126
|
var _useState = React.useState(false),
|
|
21569
21127
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -21671,6 +21229,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21671
21229
|
|
|
21672
21230
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$i, "default");
|
|
21673
21231
|
|
|
21232
|
+
var _excluded$q = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
21233
|
+
|
|
21674
21234
|
var FormInputRow = function FormInputRow(_ref) {
|
|
21675
21235
|
var _ref$breakpoint = _ref.breakpoint,
|
|
21676
21236
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -21679,7 +21239,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
21679
21239
|
largeChild = _ref.largeChild,
|
|
21680
21240
|
largeChildSize = _ref.largeChildSize,
|
|
21681
21241
|
children = _ref.children,
|
|
21682
|
-
rest = _objectWithoutProperties(_ref,
|
|
21242
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
21683
21243
|
|
|
21684
21244
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
21685
21245
|
padding: "0"
|
|
@@ -21691,12 +21251,14 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
21691
21251
|
}, children));
|
|
21692
21252
|
};
|
|
21693
21253
|
|
|
21254
|
+
var _excluded$r = ["childGap", "bottomItem", "children"];
|
|
21255
|
+
|
|
21694
21256
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
21695
21257
|
var _ref$childGap = _ref.childGap,
|
|
21696
21258
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
21697
21259
|
bottomItem = _ref.bottomItem,
|
|
21698
21260
|
children = _ref.children,
|
|
21699
|
-
rest = _objectWithoutProperties(_ref,
|
|
21261
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
21700
21262
|
|
|
21701
21263
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
21702
21264
|
childGap: childGap,
|
|
@@ -21704,10 +21266,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
21704
21266
|
}, rest), children);
|
|
21705
21267
|
};
|
|
21706
21268
|
|
|
21269
|
+
var _excluded$s = ["themeValues", "children"];
|
|
21270
|
+
|
|
21707
21271
|
var FormContainer = function FormContainer(_ref) {
|
|
21708
21272
|
var themeValues = _ref.themeValues,
|
|
21709
21273
|
children = _ref.children,
|
|
21710
|
-
rest = _objectWithoutProperties(_ref,
|
|
21274
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
21711
21275
|
|
|
21712
21276
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
21713
21277
|
isMobile = _useContext.isMobile;
|
|
@@ -21809,30 +21373,17 @@ var fallbackValues$k = {
|
|
|
21809
21373
|
autopayTextColor: autopayTextColor
|
|
21810
21374
|
};
|
|
21811
21375
|
|
|
21812
|
-
function _templateObject2$e() {
|
|
21813
|
-
var data = _taggedTemplateLiteral(["\n margin-right: 16px;\n width: 30px;\n height: auto;\n display: flex;\n"]);
|
|
21814
|
-
|
|
21815
|
-
_templateObject2$e = function _templateObject2() {
|
|
21816
|
-
return data;
|
|
21817
|
-
};
|
|
21818
|
-
|
|
21819
|
-
return data;
|
|
21820
|
-
}
|
|
21821
|
-
|
|
21822
|
-
function _templateObject$r() {
|
|
21823
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"]);
|
|
21824
|
-
|
|
21825
|
-
_templateObject$r = function _templateObject() {
|
|
21826
|
-
return data;
|
|
21827
|
-
};
|
|
21828
|
-
|
|
21829
|
-
return data;
|
|
21830
|
-
}
|
|
21831
21376
|
var ACTIVE = "ACTIVE";
|
|
21832
21377
|
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
21833
21378
|
var EXPIRED = "EXPIRED";
|
|
21834
|
-
var CreditCardWrapper = styled__default.div(
|
|
21835
|
-
|
|
21379
|
+
var CreditCardWrapper = styled__default.div.withConfig({
|
|
21380
|
+
displayName: "FormattedCreditCard__CreditCardWrapper",
|
|
21381
|
+
componentId: "sc-s0ta5l-0"
|
|
21382
|
+
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
21383
|
+
var CCIconWrapper = styled__default.div.withConfig({
|
|
21384
|
+
displayName: "FormattedCreditCard__CCIconWrapper",
|
|
21385
|
+
componentId: "sc-s0ta5l-1"
|
|
21386
|
+
})(["margin-right:16px;width:30px;height:auto;display:flex;"]);
|
|
21836
21387
|
|
|
21837
21388
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
21838
21389
|
var lastFour = _ref.lastFour,
|
|
@@ -21885,38 +21436,18 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
21885
21436
|
|
|
21886
21437
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
|
|
21887
21438
|
|
|
21888
|
-
|
|
21889
|
-
|
|
21890
|
-
|
|
21891
|
-
|
|
21892
|
-
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
|
|
21896
|
-
|
|
21897
|
-
|
|
21898
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
_templateObject2$f = function _templateObject2() {
|
|
21902
|
-
return data;
|
|
21903
|
-
};
|
|
21904
|
-
|
|
21905
|
-
return data;
|
|
21906
|
-
}
|
|
21907
|
-
|
|
21908
|
-
function _templateObject$s() {
|
|
21909
|
-
var data = _taggedTemplateLiteral(["\n padding: 8px;\n display: inline-block;\n cursor: pointer;\n transition-property: opacity;\n transition-duration: 0.15s;\n transition-timing-function: linear;\n font: inherit;\n color: inherit;\n text-transform: none;\n background-color: transparent;\n border: 0;\n margin: 0;\n overflow: visible;\n\n &:focus {\n outline: none;\n }\n"]);
|
|
21910
|
-
|
|
21911
|
-
_templateObject$s = function _templateObject() {
|
|
21912
|
-
return data;
|
|
21913
|
-
};
|
|
21914
|
-
|
|
21915
|
-
return data;
|
|
21916
|
-
}
|
|
21917
|
-
var Hamburger = styled__default.button(_templateObject$s());
|
|
21918
|
-
var HamburgerBox = styled__default.span(_templateObject2$f());
|
|
21919
|
-
var HamburgerInner = styled__default.span(_templateObject3$8(), function (_ref) {
|
|
21439
|
+
var Hamburger = styled__default.button.withConfig({
|
|
21440
|
+
displayName: "HamburgerButton__Hamburger",
|
|
21441
|
+
componentId: "sc-4wlnwv-0"
|
|
21442
|
+
})(["padding:8px;display:inline-block;cursor:pointer;transition-property:opacity;transition-duration:0.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible;&:focus{outline:none;}"]);
|
|
21443
|
+
var HamburgerBox = styled__default.span.withConfig({
|
|
21444
|
+
displayName: "HamburgerButton__HamburgerBox",
|
|
21445
|
+
componentId: "sc-4wlnwv-1"
|
|
21446
|
+
})(["width:34px;height:34px;display:inline-block;position:relative;"]);
|
|
21447
|
+
var HamburgerInner = styled__default.span.withConfig({
|
|
21448
|
+
displayName: "HamburgerButton__HamburgerInner",
|
|
21449
|
+
componentId: "sc-4wlnwv-2"
|
|
21450
|
+
})(["display:block;top:auto;bottom:6px;left:2px;transition-duration:0.13s;transition-delay:0.13s;transition-timing-function:cubic-bezier(0.55,0.055,0.675,0.19);margin-top:12px;background-color:", ";&,&::before,&::after{background-color:", ";width:30px;height:3px;position:absolute;transition-property:transform;transition-duration:0.15s;transition-timing-function:ease;}&::before,&::after{content:\"\";display:block;}&::before{top:-10px;transition:top 0.12s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),transform 0.13s cubic-bezier(0.55,0.055,0.675,0.19);}&::after{bottom:-10px;top:-20px;transition:top 0.2s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),opacity 0.1s linear;}&.active,&.active::before,&.active::after{background-color:", ";}&.active{transform:translate3d(0,-10px,0) rotate(-45deg);transition-delay:0.22s;transition-timing-function:cubic-bezier(0.215,0.61,0.355,1);}&.active::after{top:0;opacity:0;transition:top 0.2s cubic-bezier(0.33333,0,0.66667,0.33333),opacity:0.1s 0.22s linear;}&.active::before{top:0;transform:rotate(-90deg);transition:top 0.1s 0.16s cubic-bezier(0.33333,0,0.66667,0.33333),transform 0.13s 0.25s cubic-bezier(0.215,0.61,0.355,1);}"], function (_ref) {
|
|
21920
21451
|
var inactiveColor = _ref.inactiveColor;
|
|
21921
21452
|
return inactiveColor;
|
|
21922
21453
|
}, function (_ref2) {
|
|
@@ -21947,16 +21478,10 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
21947
21478
|
})));
|
|
21948
21479
|
};
|
|
21949
21480
|
|
|
21950
|
-
|
|
21951
|
-
|
|
21952
|
-
|
|
21953
|
-
|
|
21954
|
-
return data;
|
|
21955
|
-
};
|
|
21956
|
-
|
|
21957
|
-
return data;
|
|
21958
|
-
}
|
|
21959
|
-
var TitleText = styled__default.h1(_templateObject$t(), function (_ref) {
|
|
21481
|
+
var TitleText = styled__default.h1.withConfig({
|
|
21482
|
+
displayName: "Titlestyled__TitleText",
|
|
21483
|
+
componentId: "sc-11lhluq-0"
|
|
21484
|
+
})(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
|
|
21960
21485
|
var fontSize = _ref.fontSize;
|
|
21961
21486
|
return fontSize;
|
|
21962
21487
|
}, function (_ref2) {
|
|
@@ -22001,6 +21526,7 @@ var mobileFallbackValues$1 = {
|
|
|
22001
21526
|
};
|
|
22002
21527
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
22003
21528
|
|
|
21529
|
+
var _excluded$t = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
22004
21530
|
/*
|
|
22005
21531
|
New responsive text component for Title elements
|
|
22006
21532
|
Size is decoupled from tag
|
|
@@ -22047,7 +21573,7 @@ var Title = function Title(_ref) {
|
|
|
22047
21573
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
22048
21574
|
dataQa = _ref.dataQa,
|
|
22049
21575
|
children = _ref.children,
|
|
22050
|
-
rest = _objectWithoutProperties(_ref,
|
|
21576
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
22051
21577
|
|
|
22052
21578
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
22053
21579
|
variant: variant,
|
|
@@ -22212,26 +21738,10 @@ var fallbackValues$o = {
|
|
|
22212
21738
|
color: color$8
|
|
22213
21739
|
};
|
|
22214
21740
|
|
|
22215
|
-
|
|
22216
|
-
|
|
22217
|
-
|
|
22218
|
-
|
|
22219
|
-
return data;
|
|
22220
|
-
};
|
|
22221
|
-
|
|
22222
|
-
return data;
|
|
22223
|
-
}
|
|
22224
|
-
|
|
22225
|
-
function _templateObject$u() {
|
|
22226
|
-
var data = _taggedTemplateLiteral(["\n animation: rotate 2s linear infinite;\n margin: -25px 0 0 -25px;\n width: ", "px;\n height: ", "px;\n & .path {\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"]);
|
|
22227
|
-
|
|
22228
|
-
_templateObject$u = function _templateObject() {
|
|
22229
|
-
return data;
|
|
22230
|
-
};
|
|
22231
|
-
|
|
22232
|
-
return data;
|
|
22233
|
-
}
|
|
22234
|
-
var SpinnerSvgAnimation = styled__default.svg(_templateObject$u(), function (_ref) {
|
|
21741
|
+
var SpinnerSvgAnimation = styled__default.svg.withConfig({
|
|
21742
|
+
displayName: "Spinner__SpinnerSvgAnimation",
|
|
21743
|
+
componentId: "sc-vhupl9-0"
|
|
21744
|
+
})(["animation:rotate 2s linear infinite;margin:-25px 0 0 -25px;width:", "px;height:", "px;& .path{stroke:", ";stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;}@keyframes rotate{100%{transform:rotate(360deg);}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"], function (_ref) {
|
|
22235
21745
|
var size = _ref.size;
|
|
22236
21746
|
return size;
|
|
22237
21747
|
}, function (_ref2) {
|
|
@@ -22241,7 +21751,10 @@ var SpinnerSvgAnimation = styled__default.svg(_templateObject$u(), function (_re
|
|
|
22241
21751
|
var color = _ref3.color;
|
|
22242
21752
|
return color;
|
|
22243
21753
|
});
|
|
22244
|
-
var SpinnerContainer$2 = styled__default.div(
|
|
21754
|
+
var SpinnerContainer$2 = styled__default.div.withConfig({
|
|
21755
|
+
displayName: "Spinner__SpinnerContainer",
|
|
21756
|
+
componentId: "sc-vhupl9-1"
|
|
21757
|
+
})(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:1;"]);
|
|
22245
21758
|
|
|
22246
21759
|
var Spinner$1 = function Spinner(_ref4) {
|
|
22247
21760
|
var _ref4$size = _ref4.size,
|
|
@@ -22276,6 +21789,8 @@ var Loading = function Loading() {
|
|
|
22276
21789
|
})))));
|
|
22277
21790
|
};
|
|
22278
21791
|
|
|
21792
|
+
var _excluded$u = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
21793
|
+
|
|
22279
21794
|
var NavFooter = function NavFooter(_ref) {
|
|
22280
21795
|
var leftContent = _ref.leftContent,
|
|
22281
21796
|
rightContent = _ref.rightContent,
|
|
@@ -22290,7 +21805,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
22290
21805
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
22291
21806
|
isMobile = _ref.isMobile,
|
|
22292
21807
|
footerWidth = _ref.footerWidth,
|
|
22293
|
-
rest = _objectWithoutProperties(_ref,
|
|
21808
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
22294
21809
|
|
|
22295
21810
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
22296
21811
|
padding: footerPadding,
|
|
@@ -22322,6 +21837,8 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
22322
21837
|
}, rightContent)))))));
|
|
22323
21838
|
};
|
|
22324
21839
|
|
|
21840
|
+
var _excluded$v = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
21841
|
+
|
|
22325
21842
|
var NavHeader = function NavHeader(_ref) {
|
|
22326
21843
|
var leftContent = _ref.leftContent,
|
|
22327
21844
|
rightContent = _ref.rightContent,
|
|
@@ -22330,7 +21847,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
22330
21847
|
isMobile = _ref.isMobile,
|
|
22331
21848
|
backgroundColor = _ref.backgroundColor,
|
|
22332
21849
|
headerWidth = _ref.headerWidth,
|
|
22333
|
-
rest = _objectWithoutProperties(_ref,
|
|
21850
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
22334
21851
|
|
|
22335
21852
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
22336
21853
|
padding: "0 16px 4px",
|
|
@@ -22356,167 +21873,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
22356
21873
|
}, rightContent))))));
|
|
22357
21874
|
};
|
|
22358
21875
|
|
|
22359
|
-
var _DEFAULT_ERROR_MESSAG;
|
|
22360
|
-
|
|
22361
|
-
function _templateObject16() {
|
|
22362
|
-
var data = _taggedTemplateLiteral(["", " is not a valid option"]);
|
|
22363
|
-
|
|
22364
|
-
_templateObject16 = function _templateObject16() {
|
|
22365
|
-
return data;
|
|
22366
|
-
};
|
|
22367
|
-
|
|
22368
|
-
return data;
|
|
22369
|
-
}
|
|
22370
|
-
|
|
22371
|
-
function _templateObject15() {
|
|
22372
|
-
var data = _taggedTemplateLiteral(["", " must match ", ""]);
|
|
22373
|
-
|
|
22374
|
-
_templateObject15 = function _templateObject15() {
|
|
22375
|
-
return data;
|
|
22376
|
-
};
|
|
22377
|
-
|
|
22378
|
-
return data;
|
|
22379
|
-
}
|
|
22380
|
-
|
|
22381
|
-
function _templateObject14() {
|
|
22382
|
-
var data = _taggedTemplateLiteral(["", " is too low"]);
|
|
22383
|
-
|
|
22384
|
-
_templateObject14 = function _templateObject14() {
|
|
22385
|
-
return data;
|
|
22386
|
-
};
|
|
22387
|
-
|
|
22388
|
-
return data;
|
|
22389
|
-
}
|
|
22390
|
-
|
|
22391
|
-
function _templateObject13() {
|
|
22392
|
-
var data = _taggedTemplateLiteral(["", " is too high"]);
|
|
22393
|
-
|
|
22394
|
-
_templateObject13 = function _templateObject13() {
|
|
22395
|
-
return data;
|
|
22396
|
-
};
|
|
22397
|
-
|
|
22398
|
-
return data;
|
|
22399
|
-
}
|
|
22400
|
-
|
|
22401
|
-
function _templateObject12() {
|
|
22402
|
-
var data = _taggedTemplateLiteral(["", " is required"]);
|
|
22403
|
-
|
|
22404
|
-
_templateObject12 = function _templateObject12() {
|
|
22405
|
-
return data;
|
|
22406
|
-
};
|
|
22407
|
-
|
|
22408
|
-
return data;
|
|
22409
|
-
}
|
|
22410
|
-
|
|
22411
|
-
function _templateObject11$1() {
|
|
22412
|
-
var data = _taggedTemplateLiteral(["", " must be only letters"]);
|
|
22413
|
-
|
|
22414
|
-
_templateObject11$1 = function _templateObject11() {
|
|
22415
|
-
return data;
|
|
22416
|
-
};
|
|
22417
|
-
|
|
22418
|
-
return data;
|
|
22419
|
-
}
|
|
22420
|
-
|
|
22421
|
-
function _templateObject10$1() {
|
|
22422
|
-
var data = _taggedTemplateLiteral(["", " must be only numbers"]);
|
|
22423
|
-
|
|
22424
|
-
_templateObject10$1 = function _templateObject10() {
|
|
22425
|
-
return data;
|
|
22426
|
-
};
|
|
22427
|
-
|
|
22428
|
-
return data;
|
|
22429
|
-
}
|
|
22430
|
-
|
|
22431
|
-
function _templateObject9$1() {
|
|
22432
|
-
var data = _taggedTemplateLiteral(["", " needs a special character"]);
|
|
22433
|
-
|
|
22434
|
-
_templateObject9$1 = function _templateObject9() {
|
|
22435
|
-
return data;
|
|
22436
|
-
};
|
|
22437
|
-
|
|
22438
|
-
return data;
|
|
22439
|
-
}
|
|
22440
|
-
|
|
22441
|
-
function _templateObject8$1() {
|
|
22442
|
-
var data = _taggedTemplateLiteral(["", " needs a lowercase letter"]);
|
|
22443
|
-
|
|
22444
|
-
_templateObject8$1 = function _templateObject8() {
|
|
22445
|
-
return data;
|
|
22446
|
-
};
|
|
22447
|
-
|
|
22448
|
-
return data;
|
|
22449
|
-
}
|
|
22450
|
-
|
|
22451
|
-
function _templateObject7$2() {
|
|
22452
|
-
var data = _taggedTemplateLiteral(["", " needs an uppercase letter"]);
|
|
22453
|
-
|
|
22454
|
-
_templateObject7$2 = function _templateObject7() {
|
|
22455
|
-
return data;
|
|
22456
|
-
};
|
|
22457
|
-
|
|
22458
|
-
return data;
|
|
22459
|
-
}
|
|
22460
|
-
|
|
22461
|
-
function _templateObject6$3() {
|
|
22462
|
-
var data = _taggedTemplateLiteral(["", " needs a number"]);
|
|
22463
|
-
|
|
22464
|
-
_templateObject6$3 = function _templateObject6() {
|
|
22465
|
-
return data;
|
|
22466
|
-
};
|
|
22467
|
-
|
|
22468
|
-
return data;
|
|
22469
|
-
}
|
|
22470
|
-
|
|
22471
|
-
function _templateObject5$3() {
|
|
22472
|
-
var data = _taggedTemplateLiteral(["", " is not a valid email address"]);
|
|
22473
|
-
|
|
22474
|
-
_templateObject5$3 = function _templateObject5() {
|
|
22475
|
-
return data;
|
|
22476
|
-
};
|
|
22477
|
-
|
|
22478
|
-
return data;
|
|
22479
|
-
}
|
|
22480
|
-
|
|
22481
|
-
function _templateObject4$4() {
|
|
22482
|
-
var data = _taggedTemplateLiteral(["", " is not a valid length"]);
|
|
22483
|
-
|
|
22484
|
-
_templateObject4$4 = function _templateObject4() {
|
|
22485
|
-
return data;
|
|
22486
|
-
};
|
|
22487
|
-
|
|
22488
|
-
return data;
|
|
22489
|
-
}
|
|
22490
|
-
|
|
22491
|
-
function _templateObject3$9() {
|
|
22492
|
-
var data = _taggedTemplateLiteral(["", " is not the right length"]);
|
|
22493
|
-
|
|
22494
|
-
_templateObject3$9 = function _templateObject3() {
|
|
22495
|
-
return data;
|
|
22496
|
-
};
|
|
22497
|
-
|
|
22498
|
-
return data;
|
|
22499
|
-
}
|
|
22500
|
-
|
|
22501
|
-
function _templateObject2$h() {
|
|
22502
|
-
var data = _taggedTemplateLiteral(["", " is too long"]);
|
|
22503
|
-
|
|
22504
|
-
_templateObject2$h = function _templateObject2() {
|
|
22505
|
-
return data;
|
|
22506
|
-
};
|
|
22507
|
-
|
|
22508
|
-
return data;
|
|
22509
|
-
}
|
|
22510
|
-
|
|
22511
|
-
function _templateObject$v() {
|
|
22512
|
-
var data = _taggedTemplateLiteral(["", " is too short"]);
|
|
22513
|
-
|
|
22514
|
-
_templateObject$v = function _templateObject() {
|
|
22515
|
-
return data;
|
|
22516
|
-
};
|
|
22517
|
-
|
|
22518
|
-
return data;
|
|
22519
|
-
}
|
|
21876
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
|
|
22520
21877
|
|
|
22521
21878
|
var MIN_LENGTH_ERROR = "error/HAS_LENGTH";
|
|
22522
21879
|
var MAX_LENGTH_ERROR = "max_length_error";
|
|
@@ -22557,7 +21914,7 @@ with interpolation.
|
|
|
22557
21914
|
*/
|
|
22558
21915
|
|
|
22559
21916
|
|
|
22560
|
-
var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject
|
|
21917
|
+
var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject || (_templateObject = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
|
|
22561
21918
|
// Neutral - has not been validated
|
|
22562
21919
|
// Invalid - has been validated and has an error
|
|
22563
21920
|
// Valid - has been validated and has no error
|
|
@@ -22817,16 +22174,10 @@ var fallbackValues$r = {
|
|
|
22817
22174
|
inactiveColor: inactiveColor
|
|
22818
22175
|
};
|
|
22819
22176
|
|
|
22820
|
-
|
|
22821
|
-
|
|
22822
|
-
|
|
22823
|
-
|
|
22824
|
-
return data;
|
|
22825
|
-
};
|
|
22826
|
-
|
|
22827
|
-
return data;
|
|
22828
|
-
}
|
|
22829
|
-
var HiddenRadioButton = styled__default.input(_templateObject$w(), function (_ref) {
|
|
22177
|
+
var HiddenRadioButton = styled__default.input.withConfig({
|
|
22178
|
+
displayName: "RadioButton__HiddenRadioButton",
|
|
22179
|
+
componentId: "sc-v6hie9-0"
|
|
22180
|
+
})(["opacity:0;position:absolute;cursor:", ";"], function (_ref) {
|
|
22830
22181
|
var disabled = _ref.disabled;
|
|
22831
22182
|
return disabled ? "auto" : "pointer";
|
|
22832
22183
|
});
|
|
@@ -33604,53 +32955,20 @@ var fallbackValues$u = {
|
|
|
33604
32955
|
leftLabelStyles: leftLabelStyles
|
|
33605
32956
|
};
|
|
33606
32957
|
|
|
33607
|
-
|
|
33608
|
-
|
|
33609
|
-
|
|
33610
|
-
|
|
33611
|
-
return data;
|
|
33612
|
-
};
|
|
33613
|
-
|
|
33614
|
-
return data;
|
|
33615
|
-
}
|
|
33616
|
-
|
|
33617
|
-
function _templateObject3$a() {
|
|
33618
|
-
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"]);
|
|
33619
|
-
|
|
33620
|
-
_templateObject3$a = function _templateObject3() {
|
|
33621
|
-
return data;
|
|
33622
|
-
};
|
|
33623
|
-
|
|
33624
|
-
return data;
|
|
33625
|
-
}
|
|
33626
|
-
|
|
33627
|
-
function _templateObject2$i() {
|
|
33628
|
-
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"]);
|
|
33629
|
-
|
|
33630
|
-
_templateObject2$i = function _templateObject2() {
|
|
33631
|
-
return data;
|
|
33632
|
-
};
|
|
33633
|
-
|
|
33634
|
-
return data;
|
|
33635
|
-
}
|
|
33636
|
-
|
|
33637
|
-
function _templateObject$x() {
|
|
33638
|
-
var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"]);
|
|
33639
|
-
|
|
33640
|
-
_templateObject$x = function _templateObject() {
|
|
33641
|
-
return data;
|
|
33642
|
-
};
|
|
33643
|
-
|
|
33644
|
-
return data;
|
|
33645
|
-
}
|
|
33646
|
-
var HiddenToggleSwitchBox = styled__default.input(_templateObject$x(), function (_ref) {
|
|
32958
|
+
var HiddenToggleSwitchBox = styled__default.input.withConfig({
|
|
32959
|
+
displayName: "ToggleSwitch__HiddenToggleSwitchBox",
|
|
32960
|
+
componentId: "sc-1t51u6v-0"
|
|
32961
|
+
})(["opacity:0;position:absolute;cursor:", ";height:24px;width:50px;", ""], function (_ref) {
|
|
33647
32962
|
var disabled = _ref.disabled;
|
|
33648
32963
|
return disabled ? "auto" : "pointer";
|
|
33649
32964
|
}, function (_ref2) {
|
|
33650
32965
|
var isMobile = _ref2.isMobile;
|
|
33651
32966
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
33652
32967
|
});
|
|
33653
|
-
var VisibleSwitchComponent = styled__default.label(
|
|
32968
|
+
var VisibleSwitchComponent = styled__default.label.withConfig({
|
|
32969
|
+
displayName: "ToggleSwitch__VisibleSwitchComponent",
|
|
32970
|
+
componentId: "sc-1t51u6v-1"
|
|
32971
|
+
})(["width:48px;height:24px;border-radius:48px;border:none;position:relative;box-sizing:border-box;cursor:", ";display:inline-block;&:hover{box-shadow:", ";}&:focus{box-shadow:0px 2px 5px 0px rgba(0,0,0,0.5);}", ""], function (_ref3) {
|
|
33654
32972
|
var disabled = _ref3.disabled;
|
|
33655
32973
|
return disabled ? "auto" : "pointer";
|
|
33656
32974
|
}, function (_ref4) {
|
|
@@ -33660,8 +32978,14 @@ var VisibleSwitchComponent = styled__default.label(_templateObject2$i(), functio
|
|
|
33660
32978
|
var isMobile = _ref5.isMobile;
|
|
33661
32979
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
33662
32980
|
});
|
|
33663
|
-
var ToggleSwitchMiddleRingComponent = styled__default.div(
|
|
33664
|
-
|
|
32981
|
+
var ToggleSwitchMiddleRingComponent = styled__default.div.withConfig({
|
|
32982
|
+
displayName: "ToggleSwitch__ToggleSwitchMiddleRingComponent",
|
|
32983
|
+
componentId: "sc-1t51u6v-2"
|
|
32984
|
+
})(["position:absolute;width:20px;height:20px;border:none;border-radius:50%;box-sizing:border-box;"]);
|
|
32985
|
+
var ToggleSwitchInnerRingComponent = styled__default.div.withConfig({
|
|
32986
|
+
displayName: "ToggleSwitch__ToggleSwitchInnerRingComponent",
|
|
32987
|
+
componentId: "sc-1t51u6v-3"
|
|
32988
|
+
})(["position:absolute;width:14px;height:14px;top:3px;left:3px;right:3px;bottom:3px;border-radius:50%;box-sizing:border-box;"]);
|
|
33665
32989
|
|
|
33666
32990
|
var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
33667
32991
|
var _ref6$isOn = _ref6.isOn,
|
|
@@ -33810,16 +33134,10 @@ var themeValues = {
|
|
|
33810
33134
|
focusBorder: focusBorder
|
|
33811
33135
|
};
|
|
33812
33136
|
|
|
33813
|
-
|
|
33814
|
-
|
|
33815
|
-
|
|
33816
|
-
|
|
33817
|
-
return data;
|
|
33818
|
-
};
|
|
33819
|
-
|
|
33820
|
-
return data;
|
|
33821
|
-
}
|
|
33822
|
-
var TypeaheadInputWrapper = styled__default.div(_templateObject$y(), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
|
|
33137
|
+
var TypeaheadInputWrapper = styled__default.div.withConfig({
|
|
33138
|
+
displayName: "TypeaheadInput__TypeaheadInputWrapper",
|
|
33139
|
+
componentId: "sc-cumjdb-0"
|
|
33140
|
+
})(["display:flex;align-content:center;align-items:center;background:", ";input{border:0;height:72px;width:100%;padding:1.5rem;padding-left:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:400;background-color:", ";color:", ";box-shadow:none;border:1px solid transparent;&:focus{border:1px solid ", ";}}"], themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
|
|
33823
33141
|
|
|
33824
33142
|
var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
33825
33143
|
var handleChange = _ref.handleChange,
|
|
@@ -33883,7 +33201,6 @@ const createValidator = (type, error) => {
|
|
|
33883
33201
|
return validator;
|
|
33884
33202
|
};
|
|
33885
33203
|
|
|
33886
|
-
console.log("dayjs", dayjs_min);
|
|
33887
33204
|
dayjs_min.extend(customParseFormat);
|
|
33888
33205
|
dayjs_min.extend(isSameOrBefore);
|
|
33889
33206
|
dayjs_min.extend(isSameOrAfter);
|
|
@@ -36017,33 +35334,20 @@ EditNameForm.reducer = reducer$2;
|
|
|
36017
35334
|
EditNameForm.mapStateToProps = mapStateToProps$3;
|
|
36018
35335
|
EditNameForm.mapDispatchToProps = mapDispatchToProps$2;
|
|
36019
35336
|
|
|
36020
|
-
|
|
36021
|
-
|
|
36022
|
-
|
|
36023
|
-
|
|
36024
|
-
return data;
|
|
36025
|
-
};
|
|
36026
|
-
|
|
36027
|
-
return data;
|
|
36028
|
-
}
|
|
36029
|
-
|
|
36030
|
-
function _templateObject$z() {
|
|
36031
|
-
var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n background: ", ";\n border-color: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"]);
|
|
36032
|
-
|
|
36033
|
-
_templateObject$z = function _templateObject() {
|
|
36034
|
-
return data;
|
|
36035
|
-
};
|
|
36036
|
-
|
|
36037
|
-
return data;
|
|
36038
|
-
}
|
|
36039
|
-
var EditableListItem = styled__default.div(_templateObject$z(), function (_ref) {
|
|
35337
|
+
var EditableListItem = styled__default.div.withConfig({
|
|
35338
|
+
displayName: "EditableListstyled__EditableListItem",
|
|
35339
|
+
componentId: "sc-10ehkz7-0"
|
|
35340
|
+
})(["box-sizing:border-box;background:", ";border-color:", ";height:", ";display:flex;justify-content:space-between;align-items:center;padding:1.5rem;:not(:last-child),:not(:first-child){box-shadow:inset 0px -1px 0px 0px rgb(202,206,216);}:first-child{border-top-left-radius:3px;border-top-right-radius:3px;}:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:none;}"], function (_ref) {
|
|
36040
35341
|
var disabled = _ref.disabled;
|
|
36041
35342
|
return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
|
|
36042
35343
|
}, GHOST_GREY, function (_ref2) {
|
|
36043
35344
|
var listItemSize = _ref2.listItemSize;
|
|
36044
35345
|
return listItemSize === "big" ? "120px" : "72px";
|
|
36045
35346
|
});
|
|
36046
|
-
var EditableListItemControls = styled__default.div(
|
|
35347
|
+
var EditableListItemControls = styled__default.div.withConfig({
|
|
35348
|
+
displayName: "EditableListstyled__EditableListItemControls",
|
|
35349
|
+
componentId: "sc-10ehkz7-1"
|
|
35350
|
+
})(["display:flex;justify-content:space-evenly;align-items:center;"]);
|
|
36047
35351
|
|
|
36048
35352
|
var ACTIVE$1 = "ACTIVE";
|
|
36049
35353
|
var EXPIRED$1 = "EXPIRED";
|
|
@@ -36099,9 +35403,9 @@ var EditableList = function EditableList(_ref) {
|
|
|
36099
35403
|
|
|
36100
35404
|
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE$1;
|
|
36101
35405
|
return /*#__PURE__*/React__default.createElement(EditableListItem, {
|
|
36102
|
-
listItemSize: !!item.id &&
|
|
35406
|
+
listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
|
|
36103
35407
|
return methodID === item.id;
|
|
36104
|
-
})
|
|
35408
|
+
}) ? "big" : listItemSize,
|
|
36105
35409
|
key: item.id || item,
|
|
36106
35410
|
disabled: expiredItem === EXPIRED$1
|
|
36107
35411
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -36153,100 +35457,17 @@ var EditableList = function EditableList(_ref) {
|
|
|
36153
35457
|
}))));
|
|
36154
35458
|
};
|
|
36155
35459
|
|
|
36156
|
-
|
|
36157
|
-
|
|
36158
|
-
|
|
36159
|
-
|
|
36160
|
-
return data;
|
|
36161
|
-
};
|
|
36162
|
-
|
|
36163
|
-
return data;
|
|
36164
|
-
}
|
|
36165
|
-
|
|
36166
|
-
function _templateObject8$2() {
|
|
36167
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"]);
|
|
36168
|
-
|
|
36169
|
-
_templateObject8$2 = function _templateObject8() {
|
|
36170
|
-
return data;
|
|
36171
|
-
};
|
|
36172
|
-
|
|
36173
|
-
return data;
|
|
36174
|
-
}
|
|
36175
|
-
|
|
36176
|
-
function _templateObject7$3() {
|
|
36177
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"]);
|
|
36178
|
-
|
|
36179
|
-
_templateObject7$3 = function _templateObject7() {
|
|
36180
|
-
return data;
|
|
36181
|
-
};
|
|
36182
|
-
|
|
36183
|
-
return data;
|
|
36184
|
-
}
|
|
36185
|
-
|
|
36186
|
-
function _templateObject6$4() {
|
|
36187
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"]);
|
|
36188
|
-
|
|
36189
|
-
_templateObject6$4 = function _templateObject6() {
|
|
36190
|
-
return data;
|
|
36191
|
-
};
|
|
36192
|
-
|
|
36193
|
-
return data;
|
|
36194
|
-
}
|
|
36195
|
-
|
|
36196
|
-
function _templateObject5$4() {
|
|
36197
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"]);
|
|
36198
|
-
|
|
36199
|
-
_templateObject5$4 = function _templateObject5() {
|
|
36200
|
-
return data;
|
|
36201
|
-
};
|
|
36202
|
-
|
|
36203
|
-
return data;
|
|
36204
|
-
}
|
|
36205
|
-
|
|
36206
|
-
function _templateObject4$6() {
|
|
36207
|
-
var data = _taggedTemplateLiteral(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"]);
|
|
36208
|
-
|
|
36209
|
-
_templateObject4$6 = function _templateObject4() {
|
|
36210
|
-
return data;
|
|
36211
|
-
};
|
|
36212
|
-
|
|
36213
|
-
return data;
|
|
36214
|
-
}
|
|
36215
|
-
|
|
36216
|
-
function _templateObject3$b() {
|
|
36217
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"]);
|
|
36218
|
-
|
|
36219
|
-
_templateObject3$b = function _templateObject3() {
|
|
36220
|
-
return data;
|
|
36221
|
-
};
|
|
36222
|
-
|
|
36223
|
-
return data;
|
|
36224
|
-
}
|
|
36225
|
-
|
|
36226
|
-
function _templateObject2$k() {
|
|
36227
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"]);
|
|
36228
|
-
|
|
36229
|
-
_templateObject2$k = function _templateObject2() {
|
|
36230
|
-
return data;
|
|
36231
|
-
};
|
|
36232
|
-
|
|
36233
|
-
return data;
|
|
36234
|
-
}
|
|
36235
|
-
|
|
36236
|
-
function _templateObject$A() {
|
|
36237
|
-
var data = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"]);
|
|
36238
|
-
|
|
36239
|
-
_templateObject$A = function _templateObject() {
|
|
36240
|
-
return data;
|
|
36241
|
-
};
|
|
36242
|
-
|
|
36243
|
-
return data;
|
|
36244
|
-
}
|
|
36245
|
-
var EditableTableContainer = styled__default.div(_templateObject$A(), function (_ref) {
|
|
35460
|
+
var EditableTableContainer = styled__default.div.withConfig({
|
|
35461
|
+
displayName: "EditableTablestyled__EditableTableContainer",
|
|
35462
|
+
componentId: "sc-fd3i2a-0"
|
|
35463
|
+
})(["display:", ";flex-direction:column;flex:1;"], function (_ref) {
|
|
36246
35464
|
var hide = _ref.hide;
|
|
36247
35465
|
return hide ? "none" : "flex";
|
|
36248
35466
|
});
|
|
36249
|
-
var EditableTableListItem = styled__default.div(
|
|
35467
|
+
var EditableTableListItem = styled__default.div.withConfig({
|
|
35468
|
+
displayName: "EditableTablestyled__EditableTableListItem",
|
|
35469
|
+
componentId: "sc-fd3i2a-1"
|
|
35470
|
+
})(["width:100%;display:flex;", ";align-items:", ";flex-direction:", ";flex:1;", ";"], function (_ref2) {
|
|
36250
35471
|
var isMobile = _ref2.isMobile;
|
|
36251
35472
|
return isMobile && "justify-content: center";
|
|
36252
35473
|
}, function (_ref3) {
|
|
@@ -36259,17 +35480,32 @@ var EditableTableListItem = styled__default.div(_templateObject2$k(), function (
|
|
|
36259
35480
|
var isMobile = _ref5.isMobile;
|
|
36260
35481
|
return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
|
|
36261
35482
|
});
|
|
36262
|
-
var EditableListItemControls$1 = styled__default.div(
|
|
36263
|
-
|
|
35483
|
+
var EditableListItemControls$1 = styled__default.div.withConfig({
|
|
35484
|
+
displayName: "EditableTablestyled__EditableListItemControls",
|
|
35485
|
+
componentId: "sc-fd3i2a-2"
|
|
35486
|
+
})(["display:flex;justify-content:space-evenly;align-items:center;"]);
|
|
35487
|
+
var EditableListAction = styled__default.div.withConfig({
|
|
35488
|
+
displayName: "EditableTablestyled__EditableListAction",
|
|
35489
|
+
componentId: "sc-fd3i2a-3"
|
|
35490
|
+
})(["color:", ";align-items:center;font-size:1rem;padding-right:1rem;cursor:pointer;display:", ";"], MATISSE_BLUE, function (_ref6) {
|
|
36264
35491
|
var hide = _ref6.hide;
|
|
36265
35492
|
return hide ? "none" : "flex";
|
|
36266
35493
|
});
|
|
36267
|
-
var ItemWrapper = styled__default.div(
|
|
36268
|
-
|
|
35494
|
+
var ItemWrapper = styled__default.div.withConfig({
|
|
35495
|
+
displayName: "EditableTablestyled__ItemWrapper",
|
|
35496
|
+
componentId: "sc-fd3i2a-4"
|
|
35497
|
+
})(["display:flex;flex-direction:row;flex:1;width:100%;border-bottom:1px solid ", ";"], GHOST_GREY);
|
|
35498
|
+
var ActionWrapper = styled__default.div.withConfig({
|
|
35499
|
+
displayName: "EditableTablestyled__ActionWrapper",
|
|
35500
|
+
componentId: "sc-fd3i2a-5"
|
|
35501
|
+
})(["display:flex;align-self:center;justify-content:flex-end;", ";flex:1;"], function (_ref7) {
|
|
36269
35502
|
var isMobile = _ref7.isMobile;
|
|
36270
35503
|
return isMobile && "display: none";
|
|
36271
35504
|
});
|
|
36272
|
-
var TableItemKey = styled__default.div(
|
|
35505
|
+
var TableItemKey = styled__default.div.withConfig({
|
|
35506
|
+
displayName: "EditableTablestyled__TableItemKey",
|
|
35507
|
+
componentId: "sc-fd3i2a-6"
|
|
35508
|
+
})(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref8) {
|
|
36273
35509
|
var isMobile = _ref8.isMobile;
|
|
36274
35510
|
return !isMobile && "flex: 1";
|
|
36275
35511
|
}, function (_ref9) {
|
|
@@ -36282,7 +35518,10 @@ var TableItemKey = styled__default.div(_templateObject7$3(), function (_ref8) {
|
|
|
36282
35518
|
var isMobile = _ref11.isMobile;
|
|
36283
35519
|
return isMobile ? "1rem" : "1.125rem";
|
|
36284
35520
|
}, STORM_GREY);
|
|
36285
|
-
var TableItemValue = styled__default.div(
|
|
35521
|
+
var TableItemValue = styled__default.div.withConfig({
|
|
35522
|
+
displayName: "EditableTablestyled__TableItemValue",
|
|
35523
|
+
componentId: "sc-fd3i2a-7"
|
|
35524
|
+
})(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref12) {
|
|
36286
35525
|
var isMobile = _ref12.isMobile;
|
|
36287
35526
|
return !isMobile && "flex: 1";
|
|
36288
35527
|
}, function (_ref13) {
|
|
@@ -36295,7 +35534,10 @@ var TableItemValue = styled__default.div(_templateObject8$2(), function (_ref12)
|
|
|
36295
35534
|
var isMobile = _ref15.isMobile;
|
|
36296
35535
|
return isMobile ? "1.125rem" : "1.0625rem";
|
|
36297
35536
|
}, BRIGHT_GREY);
|
|
36298
|
-
var TableWrapper = styled__default.div(
|
|
35537
|
+
var TableWrapper = styled__default.div.withConfig({
|
|
35538
|
+
displayName: "EditableTablestyled__TableWrapper",
|
|
35539
|
+
componentId: "sc-fd3i2a-8"
|
|
35540
|
+
})(["display:flex;flex-direction:row;flex:1;width:100%;"]);
|
|
36299
35541
|
|
|
36300
35542
|
var EditableTable = function EditableTable(_ref) {
|
|
36301
35543
|
var title = _ref.title,
|
|
@@ -39738,15 +38980,6 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
39738
38980
|
|
|
39739
38981
|
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$y, "profile");
|
|
39740
38982
|
|
|
39741
|
-
function _templateObject$B() {
|
|
39742
|
-
var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
|
|
39743
|
-
|
|
39744
|
-
_templateObject$B = function _templateObject() {
|
|
39745
|
-
return data;
|
|
39746
|
-
};
|
|
39747
|
-
|
|
39748
|
-
return data;
|
|
39749
|
-
}
|
|
39750
38983
|
var menu = posed.div({
|
|
39751
38984
|
invisible: {
|
|
39752
38985
|
left: "-100vw",
|
|
@@ -39777,7 +39010,10 @@ var menu = posed.div({
|
|
|
39777
39010
|
}
|
|
39778
39011
|
}
|
|
39779
39012
|
});
|
|
39780
|
-
var ImposterMenu = styled__default(menu)(
|
|
39013
|
+
var ImposterMenu = styled__default(menu).withConfig({
|
|
39014
|
+
displayName: "NavMenuMobile__ImposterMenu",
|
|
39015
|
+
componentId: "sc-1pf0qp7-0"
|
|
39016
|
+
})(["position:fixed;top:72px;"]);
|
|
39781
39017
|
|
|
39782
39018
|
var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
39783
39019
|
var id = _ref.id,
|
|
@@ -40510,6 +39746,9 @@ var fallbackValues$A = {
|
|
|
40510
39746
|
labeledAmountTotal: labeledAmountTotal
|
|
40511
39747
|
};
|
|
40512
39748
|
|
|
39749
|
+
var _excluded$w = ["amount"],
|
|
39750
|
+
_excluded2$1 = ["amount"];
|
|
39751
|
+
|
|
40513
39752
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
40514
39753
|
var lineItemElems = _ref.lineItemElems,
|
|
40515
39754
|
feeElems = _ref.feeElems,
|
|
@@ -40598,7 +39837,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
40598
39837
|
return fee.amount > 0;
|
|
40599
39838
|
}).map(function (_ref5) {
|
|
40600
39839
|
var amount = _ref5.amount,
|
|
40601
|
-
rest = _objectWithoutProperties(_ref5,
|
|
39840
|
+
rest = _objectWithoutProperties(_ref5, _excluded$w);
|
|
40602
39841
|
|
|
40603
39842
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
40604
39843
|
amount: displayCurrency(amount)
|
|
@@ -40607,7 +39846,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
40607
39846
|
|
|
40608
39847
|
var lineItems = _lineItems.map(function (_ref6) {
|
|
40609
39848
|
var amount = _ref6.amount,
|
|
40610
|
-
rest = _objectWithoutProperties(_ref6,
|
|
39849
|
+
rest = _objectWithoutProperties(_ref6, _excluded2$1);
|
|
40611
39850
|
|
|
40612
39851
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
40613
39852
|
amount: displayCurrency(amount)
|
|
@@ -41194,15 +40433,6 @@ var fallbackValues$C = {
|
|
|
41194
40433
|
focusStyles: focusStyles
|
|
41195
40434
|
};
|
|
41196
40435
|
|
|
41197
|
-
function _templateObject$C() {
|
|
41198
|
-
var data = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "]);
|
|
41199
|
-
|
|
41200
|
-
_templateObject$C = function _templateObject() {
|
|
41201
|
-
return data;
|
|
41202
|
-
};
|
|
41203
|
-
|
|
41204
|
-
return data;
|
|
41205
|
-
}
|
|
41206
40436
|
/*
|
|
41207
40437
|
Takes an array of section objects, each object should look like:
|
|
41208
40438
|
{
|
|
@@ -41299,7 +40529,10 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
41299
40529
|
}
|
|
41300
40530
|
};
|
|
41301
40531
|
var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
|
|
41302
|
-
var RightIcon = styled__default.img(
|
|
40532
|
+
var RightIcon = styled__default.img.withConfig({
|
|
40533
|
+
displayName: "RadioSection__RightIcon",
|
|
40534
|
+
componentId: "sc-uema02-0"
|
|
40535
|
+
})(["height:", ";width:", ";", " transition:opacity 0.3s ease;"], function (_ref2) {
|
|
41303
40536
|
var isMobile = _ref2.isMobile;
|
|
41304
40537
|
return isMobile ? "14px" : "18px";
|
|
41305
40538
|
}, function (_ref3) {
|
|
@@ -42016,16 +41249,10 @@ var fallbackValues$G = {
|
|
|
42016
41249
|
imageBackgroundColor: imageBackgroundColor
|
|
42017
41250
|
};
|
|
42018
41251
|
|
|
42019
|
-
|
|
42020
|
-
|
|
42021
|
-
|
|
42022
|
-
|
|
42023
|
-
return data;
|
|
42024
|
-
};
|
|
42025
|
-
|
|
42026
|
-
return data;
|
|
42027
|
-
}
|
|
42028
|
-
var WelcomeImage = styled__default.img(_templateObject$D());
|
|
41252
|
+
var WelcomeImage = styled__default.img.withConfig({
|
|
41253
|
+
displayName: "WelcomeModule__WelcomeImage",
|
|
41254
|
+
componentId: "sc-1d9znh4-0"
|
|
41255
|
+
})(["width:auto;height:215px;"]);
|
|
42029
41256
|
|
|
42030
41257
|
var WelcomeModule = function WelcomeModule(_ref) {
|
|
42031
41258
|
var heading = _ref.heading,
|