@thecb/components 4.6.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 +543 -1252
- 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/atoms/icons/index.js +1 -3
- package/src/components/molecules/.DS_Store +0 -0
- package/src/components/molecules/payment-form-card/PaymentFormCard.js +7 -2
- package/src/components/molecules/payment-form-card/PaymentFormCard.state.js +3 -2
- 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/src/components/atoms/icons/CashIcon.js +0 -21
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
|
|
|
@@ -15477,24 +15277,6 @@ var WarningIconXS = function WarningIconXS() {
|
|
|
15477
15277
|
})))));
|
|
15478
15278
|
};
|
|
15479
15279
|
|
|
15480
|
-
var CashIcon = function CashIcon() {
|
|
15481
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15482
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15483
|
-
width: "36",
|
|
15484
|
-
height: "24",
|
|
15485
|
-
fill: "none",
|
|
15486
|
-
viewBox: "0 0 36 24"
|
|
15487
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
15488
|
-
width: "36",
|
|
15489
|
-
height: "24",
|
|
15490
|
-
fill: "#E8FFEF",
|
|
15491
|
-
rx: "1"
|
|
15492
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15493
|
-
fill: "#317D4F",
|
|
15494
|
-
d: "M17.178 5.464v1.372c-1.799.294-3.115 1.407-3.094 3.08.021 1.645 1.05 2.597 2.611 2.884l1.617.308c.924.182 1.365.406 1.365 1.085 0 .609-.553 1.092-1.484 1.092-1.036 0-1.743-.455-1.932-1.267l-2.478.021c.175 1.834 1.414 2.8 3.374 3.038v1.197h2.023V17.07c1.876-.266 3.024-1.33 3.024-2.877 0-1.617-.798-2.751-2.702-3.178l-1.603-.357c-.994-.231-1.267-.497-1.267-1.029 0-.546.511-1.015 1.596-1.015 1.015 0 1.302.511 1.393 1.267l2.415-.014c.05-1.484-1.043-2.695-2.835-3.024V5.464h-2.023z"
|
|
15495
|
-
}));
|
|
15496
|
-
};
|
|
15497
|
-
|
|
15498
15280
|
var color$2 = "#15749D";
|
|
15499
15281
|
var hoverColor$1 = "#116285";
|
|
15500
15282
|
var activeColor$1 = "#0E506D";
|
|
@@ -16013,16 +15795,10 @@ var Alert = function Alert(_ref) {
|
|
|
16013
15795
|
|
|
16014
15796
|
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$4, "info");
|
|
16015
15797
|
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
return data;
|
|
16021
|
-
};
|
|
16022
|
-
|
|
16023
|
-
return data;
|
|
16024
|
-
}
|
|
16025
|
-
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) {
|
|
16026
15802
|
var fontSize = _ref.fontSize;
|
|
16027
15803
|
return fontSize;
|
|
16028
15804
|
}, function (_ref2) {
|
|
@@ -16062,6 +15838,8 @@ var fallbackValues$5 = {
|
|
|
16062
15838
|
fontSize: fontSize$1
|
|
16063
15839
|
};
|
|
16064
15840
|
|
|
15841
|
+
var _excluded$i = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
15842
|
+
|
|
16065
15843
|
var Heading = function Heading(_ref) {
|
|
16066
15844
|
var themeValues = _ref.themeValues,
|
|
16067
15845
|
_ref$weight = _ref.weight,
|
|
@@ -16080,7 +15858,7 @@ var Heading = function Heading(_ref) {
|
|
|
16080
15858
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
16081
15859
|
dataQa = _ref.dataQa,
|
|
16082
15860
|
children = _ref.children,
|
|
16083
|
-
rest = _objectWithoutProperties(_ref,
|
|
15861
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
16084
15862
|
|
|
16085
15863
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
16086
15864
|
variant: variant,
|
|
@@ -16160,10 +15938,19 @@ function _assertThisInitialized(self) {
|
|
|
16160
15938
|
return self;
|
|
16161
15939
|
}
|
|
16162
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
|
+
|
|
16163
15950
|
function _inheritsLoose(subClass, superClass) {
|
|
16164
15951
|
subClass.prototype = Object.create(superClass.prototype);
|
|
16165
15952
|
subClass.prototype.constructor = subClass;
|
|
16166
|
-
subClass
|
|
15953
|
+
_setPrototypeOf(subClass, superClass);
|
|
16167
15954
|
}
|
|
16168
15955
|
|
|
16169
15956
|
function _getPrototypeOf(o) {
|
|
@@ -16173,15 +15960,6 @@ function _getPrototypeOf(o) {
|
|
|
16173
15960
|
return _getPrototypeOf(o);
|
|
16174
15961
|
}
|
|
16175
15962
|
|
|
16176
|
-
function _setPrototypeOf(o, p) {
|
|
16177
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
16178
|
-
o.__proto__ = p;
|
|
16179
|
-
return o;
|
|
16180
|
-
};
|
|
16181
|
-
|
|
16182
|
-
return _setPrototypeOf(o, p);
|
|
16183
|
-
}
|
|
16184
|
-
|
|
16185
15963
|
function _isNativeFunction(fn) {
|
|
16186
15964
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
16187
15965
|
}
|
|
@@ -16192,7 +15970,7 @@ function _isNativeReflectConstruct() {
|
|
|
16192
15970
|
if (typeof Proxy === "function") return true;
|
|
16193
15971
|
|
|
16194
15972
|
try {
|
|
16195
|
-
|
|
15973
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
16196
15974
|
return true;
|
|
16197
15975
|
} catch (e) {
|
|
16198
15976
|
return false;
|
|
@@ -16332,7 +16110,9 @@ var ERRORS = {
|
|
|
16332
16110
|
"73": "Please provide a valid CSS variable.\n\n",
|
|
16333
16111
|
"74": "CSS variable not found and no default was provided.\n\n",
|
|
16334
16112
|
"75": "important requires a valid style object, got a %s instead.\n\n",
|
|
16335
|
-
"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"
|
|
16336
16116
|
};
|
|
16337
16117
|
/**
|
|
16338
16118
|
* super basic version of sprintf
|
|
@@ -16674,7 +16454,7 @@ function parseToRgb(color) {
|
|
|
16674
16454
|
};
|
|
16675
16455
|
}
|
|
16676
16456
|
|
|
16677
|
-
var rgbaMatched = rgbaRegex.exec(normalizedColor);
|
|
16457
|
+
var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
|
|
16678
16458
|
|
|
16679
16459
|
if (rgbaMatched) {
|
|
16680
16460
|
return {
|
|
@@ -16705,7 +16485,7 @@ function parseToRgb(color) {
|
|
|
16705
16485
|
};
|
|
16706
16486
|
}
|
|
16707
16487
|
|
|
16708
|
-
var hslaMatched = hslaRegex.exec(normalizedColor);
|
|
16488
|
+
var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
|
|
16709
16489
|
|
|
16710
16490
|
if (hslaMatched) {
|
|
16711
16491
|
var _hue = parseInt("" + hslaMatched[1], 10);
|
|
@@ -16951,11 +16731,13 @@ var fallbackValues$7 = {
|
|
|
16951
16731
|
linkColor: linkColor
|
|
16952
16732
|
};
|
|
16953
16733
|
|
|
16734
|
+
var _excluded$j = ["variant", "themeValues", "children"];
|
|
16735
|
+
|
|
16954
16736
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
16955
16737
|
var variant = _ref.variant,
|
|
16956
16738
|
themeValues = _ref.themeValues,
|
|
16957
16739
|
children = _ref.children,
|
|
16958
|
-
props = _objectWithoutProperties(_ref,
|
|
16740
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
16959
16741
|
|
|
16960
16742
|
var shadowRegistry = {
|
|
16961
16743
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
@@ -17013,15 +16795,7 @@ var fallbackValues$9 = {
|
|
|
17013
16795
|
externalLinkColor: externalLinkColor
|
|
17014
16796
|
};
|
|
17015
16797
|
|
|
17016
|
-
|
|
17017
|
-
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"]);
|
|
17018
|
-
|
|
17019
|
-
_templateObject$h = function _templateObject() {
|
|
17020
|
-
return data;
|
|
17021
|
-
};
|
|
17022
|
-
|
|
17023
|
-
return data;
|
|
17024
|
-
}
|
|
16798
|
+
var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
|
|
17025
16799
|
/*
|
|
17026
16800
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
17027
16801
|
unrecognized DOM attributes.
|
|
@@ -17033,10 +16807,13 @@ var StyledExternalLink = styled__default(function (_ref) {
|
|
|
17033
16807
|
var hoverColor = _ref.hoverColor,
|
|
17034
16808
|
activeColor = _ref.activeColor,
|
|
17035
16809
|
extrastyles = _ref.extrastyles,
|
|
17036
|
-
props = _objectWithoutProperties(_ref,
|
|
16810
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
17037
16811
|
|
|
17038
16812
|
return /*#__PURE__*/React__default.createElement("a", props);
|
|
17039
|
-
})(
|
|
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) {
|
|
17040
16817
|
var size = _ref2.size;
|
|
17041
16818
|
return size;
|
|
17042
16819
|
}, function (_ref3) {
|
|
@@ -17099,15 +16876,7 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
17099
16876
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
17100
16877
|
};
|
|
17101
16878
|
|
|
17102
|
-
|
|
17103
|
-
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"]);
|
|
17104
|
-
|
|
17105
|
-
_templateObject$i = function _templateObject() {
|
|
17106
|
-
return data;
|
|
17107
|
-
};
|
|
17108
|
-
|
|
17109
|
-
return data;
|
|
17110
|
-
}
|
|
16879
|
+
var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
17111
16880
|
/*
|
|
17112
16881
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
17113
16882
|
unrecognized DOM attributes.
|
|
@@ -17121,10 +16890,13 @@ var StyledInternalLink = styled__default(function (_ref) {
|
|
|
17121
16890
|
active = _ref.active,
|
|
17122
16891
|
color = _ref.color,
|
|
17123
16892
|
extrastyles = _ref.extrastyles,
|
|
17124
|
-
props = _objectWithoutProperties(_ref,
|
|
16893
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
17125
16894
|
|
|
17126
16895
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, props);
|
|
17127
|
-
})(
|
|
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) {
|
|
17128
16900
|
var color = _ref2.color,
|
|
17129
16901
|
active = _ref2.active,
|
|
17130
16902
|
activeColor = _ref2.activeColor;
|
|
@@ -18799,6 +18571,8 @@ _curry2(function test(pattern, str) {
|
|
|
18799
18571
|
|
|
18800
18572
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
18801
18573
|
|
|
18574
|
+
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab"];
|
|
18575
|
+
|
|
18802
18576
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
18803
18577
|
var _ref$url = _ref.url,
|
|
18804
18578
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -18810,7 +18584,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
18810
18584
|
linkExtraStyles = _ref.linkExtraStyles,
|
|
18811
18585
|
_ref$newTab = _ref.newTab,
|
|
18812
18586
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
18813
|
-
otherProps = _objectWithoutProperties(_ref,
|
|
18587
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
18814
18588
|
|
|
18815
18589
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
18816
18590
|
var children = _ref2.children,
|
|
@@ -18866,16 +18640,10 @@ var fallbackValues$a = {
|
|
|
18866
18640
|
fontSize: fontSize$4
|
|
18867
18641
|
};
|
|
18868
18642
|
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
|
|
18872
|
-
|
|
18873
|
-
return data;
|
|
18874
|
-
};
|
|
18875
|
-
|
|
18876
|
-
return data;
|
|
18877
|
-
}
|
|
18878
|
-
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) {
|
|
18879
18647
|
var fontSize = _ref.fontSize;
|
|
18880
18648
|
return fontSize;
|
|
18881
18649
|
}, function (_ref2) {
|
|
@@ -18895,6 +18663,8 @@ var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
|
|
|
18895
18663
|
return extraStyles;
|
|
18896
18664
|
});
|
|
18897
18665
|
|
|
18666
|
+
var _excluded$n = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
18667
|
+
|
|
18898
18668
|
var Paragraph = function Paragraph(_ref) {
|
|
18899
18669
|
var themeValues = _ref.themeValues,
|
|
18900
18670
|
_ref$weight = _ref.weight,
|
|
@@ -18908,7 +18678,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
18908
18678
|
dataQa = _ref.dataQa,
|
|
18909
18679
|
children = _ref.children,
|
|
18910
18680
|
as = _ref.as,
|
|
18911
|
-
rest = _objectWithoutProperties(_ref,
|
|
18681
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
18912
18682
|
|
|
18913
18683
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
18914
18684
|
weight: weight,
|
|
@@ -19171,127 +18941,33 @@ var fallbackValues$c = {
|
|
|
19171
18941
|
disabledCheckedStyles: disabledCheckedStyles
|
|
19172
18942
|
};
|
|
19173
18943
|
|
|
19174
|
-
|
|
19175
|
-
|
|
19176
|
-
|
|
19177
|
-
|
|
19178
|
-
|
|
19179
|
-
|
|
19180
|
-
|
|
19181
|
-
|
|
19182
|
-
|
|
19183
|
-
|
|
19184
|
-
|
|
19185
|
-
|
|
19186
|
-
|
|
19187
|
-
_templateObject10 = function _templateObject10() {
|
|
19188
|
-
return data;
|
|
19189
|
-
};
|
|
19190
|
-
|
|
19191
|
-
return data;
|
|
19192
|
-
}
|
|
19193
|
-
|
|
19194
|
-
function _templateObject9() {
|
|
19195
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19196
|
-
|
|
19197
|
-
_templateObject9 = function _templateObject9() {
|
|
19198
|
-
return data;
|
|
19199
|
-
};
|
|
19200
|
-
|
|
19201
|
-
return data;
|
|
19202
|
-
}
|
|
19203
|
-
|
|
19204
|
-
function _templateObject8() {
|
|
19205
|
-
var data = _taggedTemplateLiteral(["\n ", " ", "\n "]);
|
|
19206
|
-
|
|
19207
|
-
_templateObject8 = function _templateObject8() {
|
|
19208
|
-
return data;
|
|
19209
|
-
};
|
|
19210
|
-
|
|
19211
|
-
return data;
|
|
19212
|
-
}
|
|
19213
|
-
|
|
19214
|
-
function _templateObject7$1() {
|
|
19215
|
-
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"]);
|
|
19216
|
-
|
|
19217
|
-
_templateObject7$1 = function _templateObject7() {
|
|
19218
|
-
return data;
|
|
19219
|
-
};
|
|
19220
|
-
|
|
19221
|
-
return data;
|
|
19222
|
-
}
|
|
19223
|
-
|
|
19224
|
-
function _templateObject6$1() {
|
|
19225
|
-
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"]);
|
|
19226
|
-
|
|
19227
|
-
_templateObject6$1 = function _templateObject6() {
|
|
19228
|
-
return data;
|
|
19229
|
-
};
|
|
19230
|
-
|
|
19231
|
-
return data;
|
|
19232
|
-
}
|
|
19233
|
-
|
|
19234
|
-
function _templateObject5$1() {
|
|
19235
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19236
|
-
|
|
19237
|
-
_templateObject5$1 = function _templateObject5() {
|
|
19238
|
-
return data;
|
|
19239
|
-
};
|
|
19240
|
-
|
|
19241
|
-
return data;
|
|
19242
|
-
}
|
|
19243
|
-
|
|
19244
|
-
function _templateObject4$1() {
|
|
19245
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19246
|
-
|
|
19247
|
-
_templateObject4$1 = function _templateObject4() {
|
|
19248
|
-
return data;
|
|
19249
|
-
};
|
|
19250
|
-
|
|
19251
|
-
return data;
|
|
19252
|
-
}
|
|
19253
|
-
|
|
19254
|
-
function _templateObject3$3() {
|
|
19255
|
-
var data = _taggedTemplateLiteral(["\n fill: none;\n stroke-width: 2px;\n stroke: ", ";\n"]);
|
|
19256
|
-
|
|
19257
|
-
_templateObject3$3 = function _templateObject3() {
|
|
19258
|
-
return data;
|
|
19259
|
-
};
|
|
19260
|
-
|
|
19261
|
-
return data;
|
|
19262
|
-
}
|
|
19263
|
-
|
|
19264
|
-
function _templateObject2$8() {
|
|
19265
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"]);
|
|
19266
|
-
|
|
19267
|
-
_templateObject2$8 = function _templateObject2() {
|
|
19268
|
-
return data;
|
|
19269
|
-
};
|
|
19270
|
-
|
|
19271
|
-
return data;
|
|
19272
|
-
}
|
|
19273
|
-
|
|
19274
|
-
function _templateObject$k() {
|
|
19275
|
-
var data = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"]);
|
|
19276
|
-
|
|
19277
|
-
_templateObject$k = function _templateObject() {
|
|
19278
|
-
return data;
|
|
19279
|
-
};
|
|
19280
|
-
|
|
19281
|
-
return data;
|
|
19282
|
-
}
|
|
19283
|
-
var CheckboxContainer = styled__default.div(_templateObject$k());
|
|
19284
|
-
var CheckboxLabelContainer = styled__default.label(_templateObject2$8());
|
|
19285
|
-
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) {
|
|
19286
18956
|
var disabled = _ref.disabled,
|
|
19287
18957
|
disabledCheckColor = _ref.disabledCheckColor,
|
|
19288
18958
|
checkColor = _ref.checkColor;
|
|
19289
|
-
return disabled ? styled.css(
|
|
18959
|
+
return disabled ? styled.css(["", ""], disabledCheckColor) : styled.css(["", ""], checkColor);
|
|
19290
18960
|
});
|
|
19291
18961
|
var HiddenCheckbox = styled__default.input.attrs({
|
|
19292
18962
|
type: "checkbox"
|
|
19293
|
-
})(
|
|
19294
|
-
|
|
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) {
|
|
19295
18971
|
var checked = _ref2.checked;
|
|
19296
18972
|
return checked ? "visible" : "hidden";
|
|
19297
18973
|
}, function (_ref3) {
|
|
@@ -19305,7 +18981,7 @@ var StyledCheckbox = styled__default.div(_templateObject7$1(), CheckboxIcon, fun
|
|
|
19305
18981
|
errorStyles = _ref3.errorStyles,
|
|
19306
18982
|
disabledStyles = _ref3.disabledStyles,
|
|
19307
18983
|
disabledCheckedStyles = _ref3.disabledCheckedStyles;
|
|
19308
|
-
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);
|
|
19309
18985
|
});
|
|
19310
18986
|
|
|
19311
18987
|
var Checkbox = function Checkbox(_ref4) {
|
|
@@ -19430,38 +19106,25 @@ to the one generated by name-that-color.
|
|
|
19430
19106
|
var PEWTER_GREY$1 = "#DFE1E4";
|
|
19431
19107
|
var MARINER_BLUE$1 = "#2E75D2";
|
|
19432
19108
|
|
|
19433
|
-
function _templateObject2$9() {
|
|
19434
|
-
var data = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n background-color: ", ";\n border-radius: 8px;\n"]);
|
|
19435
|
-
|
|
19436
|
-
_templateObject2$9 = function _templateObject2() {
|
|
19437
|
-
return data;
|
|
19438
|
-
};
|
|
19439
|
-
|
|
19440
|
-
return data;
|
|
19441
|
-
}
|
|
19442
|
-
|
|
19443
|
-
function _templateObject$l() {
|
|
19444
|
-
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"]);
|
|
19445
|
-
|
|
19446
|
-
_templateObject$l = function _templateObject() {
|
|
19447
|
-
return data;
|
|
19448
|
-
};
|
|
19449
|
-
|
|
19450
|
-
return data;
|
|
19451
|
-
}
|
|
19452
19109
|
var defaultTheme = {
|
|
19453
19110
|
theme: {
|
|
19454
19111
|
accentColor: MARINER_BLUE$1,
|
|
19455
19112
|
inactiveColor: PEWTER_GREY$1
|
|
19456
19113
|
}
|
|
19457
19114
|
};
|
|
19458
|
-
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) {
|
|
19459
19119
|
var isSelected = _ref.isSelected,
|
|
19460
19120
|
theme = _ref.theme;
|
|
19461
19121
|
return isSelected ? theme.accentColor : theme.inactiveColor;
|
|
19462
19122
|
});
|
|
19463
19123
|
RadioButtonBorder.defaultProps = defaultTheme;
|
|
19464
|
-
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) {
|
|
19465
19128
|
var theme = _ref2.theme;
|
|
19466
19129
|
return theme.accentColor;
|
|
19467
19130
|
});
|
|
@@ -19477,38 +19140,18 @@ var RadioButton = function RadioButton(_ref3) {
|
|
|
19477
19140
|
}, isSelected && /*#__PURE__*/React__default.createElement(RadioButtonCenter, null));
|
|
19478
19141
|
};
|
|
19479
19142
|
|
|
19480
|
-
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
|
|
19486
|
-
|
|
19487
|
-
|
|
19488
|
-
|
|
19489
|
-
|
|
19490
|
-
|
|
19491
|
-
|
|
19492
|
-
|
|
19493
|
-
_templateObject2$a = function _templateObject2() {
|
|
19494
|
-
return data;
|
|
19495
|
-
};
|
|
19496
|
-
|
|
19497
|
-
return data;
|
|
19498
|
-
}
|
|
19499
|
-
|
|
19500
|
-
function _templateObject$m() {
|
|
19501
|
-
var data = _taggedTemplateLiteral(["\n width: 2rem;\n"]);
|
|
19502
|
-
|
|
19503
|
-
_templateObject$m = function _templateObject() {
|
|
19504
|
-
return data;
|
|
19505
|
-
};
|
|
19506
|
-
|
|
19507
|
-
return data;
|
|
19508
|
-
}
|
|
19509
|
-
var CheckboxItemIcon = styled__default.img(_templateObject$m());
|
|
19510
|
-
var HiddenCheckboxInput = styled__default.input(_templateObject2$a());
|
|
19511
|
-
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;}"]);
|
|
19512
19155
|
|
|
19513
19156
|
var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
19514
19157
|
var text = _ref.text,
|
|
@@ -19651,57 +19294,27 @@ var fallbackValues$e = {
|
|
|
19651
19294
|
hoverColor: hoverColor$3
|
|
19652
19295
|
};
|
|
19653
19296
|
|
|
19654
|
-
|
|
19655
|
-
|
|
19656
|
-
|
|
19657
|
-
|
|
19658
|
-
return data;
|
|
19659
|
-
};
|
|
19660
|
-
|
|
19661
|
-
return data;
|
|
19662
|
-
}
|
|
19663
|
-
|
|
19664
|
-
function _templateObject3$5() {
|
|
19665
|
-
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"]);
|
|
19666
|
-
|
|
19667
|
-
_templateObject3$5 = function _templateObject3() {
|
|
19668
|
-
return data;
|
|
19669
|
-
};
|
|
19670
|
-
|
|
19671
|
-
return data;
|
|
19672
|
-
}
|
|
19673
|
-
|
|
19674
|
-
function _templateObject2$b() {
|
|
19675
|
-
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"]);
|
|
19676
|
-
|
|
19677
|
-
_templateObject2$b = function _templateObject2() {
|
|
19678
|
-
return data;
|
|
19679
|
-
};
|
|
19680
|
-
|
|
19681
|
-
return data;
|
|
19682
|
-
}
|
|
19683
|
-
|
|
19684
|
-
function _templateObject$n() {
|
|
19685
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
|
|
19686
|
-
|
|
19687
|
-
_templateObject$n = function _templateObject() {
|
|
19688
|
-
return data;
|
|
19689
|
-
};
|
|
19690
|
-
|
|
19691
|
-
return data;
|
|
19692
|
-
}
|
|
19693
|
-
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) {
|
|
19694
19301
|
var open = _ref.open;
|
|
19695
19302
|
return open ? "transform: rotate(-180deg)" : "";
|
|
19696
19303
|
});
|
|
19697
|
-
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) {
|
|
19698
19308
|
var widthFitOptions = _ref2.widthFitOptions;
|
|
19699
19309
|
return widthFitOptions ? "fit-content" : "100%";
|
|
19700
19310
|
}, function (_ref3) {
|
|
19701
19311
|
var maxHeight = _ref3.maxHeight;
|
|
19702
19312
|
return maxHeight || "400px";
|
|
19703
19313
|
});
|
|
19704
|
-
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) {
|
|
19705
19318
|
var selected = _ref4.selected,
|
|
19706
19319
|
themeValues = _ref4.themeValues;
|
|
19707
19320
|
return selected ? themeValues.selectedColor : WHITE;
|
|
@@ -19719,7 +19332,10 @@ var DropdownItemWrapper = styled__default.div(_templateObject3$5(), function (_r
|
|
|
19719
19332
|
themeValues = _ref7.themeValues;
|
|
19720
19333
|
return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
|
|
19721
19334
|
});
|
|
19722
|
-
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) {
|
|
19723
19339
|
var themeValues = _ref8.themeValues;
|
|
19724
19340
|
return themeValues.hoverColor && themeValues.hoverColor;
|
|
19725
19341
|
});
|
|
@@ -19939,37 +19555,14 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19939
19555
|
|
|
19940
19556
|
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$e);
|
|
19941
19557
|
|
|
19942
|
-
|
|
19943
|
-
|
|
19944
|
-
|
|
19945
|
-
|
|
19946
|
-
|
|
19947
|
-
|
|
19948
|
-
|
|
19949
|
-
|
|
19950
|
-
}
|
|
19951
|
-
|
|
19952
|
-
function _templateObject2$c() {
|
|
19953
|
-
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"]);
|
|
19954
|
-
|
|
19955
|
-
_templateObject2$c = function _templateObject2() {
|
|
19956
|
-
return data;
|
|
19957
|
-
};
|
|
19958
|
-
|
|
19959
|
-
return data;
|
|
19960
|
-
}
|
|
19961
|
-
|
|
19962
|
-
function _templateObject$o() {
|
|
19963
|
-
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"]);
|
|
19964
|
-
|
|
19965
|
-
_templateObject$o = function _templateObject() {
|
|
19966
|
-
return data;
|
|
19967
|
-
};
|
|
19968
|
-
|
|
19969
|
-
return data;
|
|
19970
|
-
}
|
|
19971
|
-
var SelectContainer = styled__default.div(_templateObject$o());
|
|
19972
|
-
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) {
|
|
19973
19566
|
var field = _ref.field,
|
|
19974
19567
|
showErrors = _ref.showErrors;
|
|
19975
19568
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : GHOST_GREY;
|
|
@@ -19980,7 +19573,10 @@ var SelectField = styled__default.select(_templateObject2$c(), function (_ref) {
|
|
|
19980
19573
|
var themeValues = _ref3.themeValues;
|
|
19981
19574
|
return themeValues.color && themeValues.color;
|
|
19982
19575
|
}, MATISSE_BLUE);
|
|
19983
|
-
var SelectOption = styled__default.option(
|
|
19576
|
+
var SelectOption = styled__default.option.withConfig({
|
|
19577
|
+
displayName: "FormSelectstyled__SelectOption",
|
|
19578
|
+
componentId: "sc-hkrqrv-2"
|
|
19579
|
+
})([""]);
|
|
19984
19580
|
|
|
19985
19581
|
var linkColor$1 = {
|
|
19986
19582
|
"default": "".concat(MATISSE_BLUE),
|
|
@@ -20884,16 +20480,10 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
20884
20480
|
});
|
|
20885
20481
|
};
|
|
20886
20482
|
|
|
20887
|
-
|
|
20888
|
-
|
|
20889
|
-
|
|
20890
|
-
|
|
20891
|
-
return data;
|
|
20892
|
-
};
|
|
20893
|
-
|
|
20894
|
-
return data;
|
|
20895
|
-
}
|
|
20896
|
-
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) {
|
|
20897
20487
|
var fontSize = _ref.fontSize;
|
|
20898
20488
|
return fontSize;
|
|
20899
20489
|
}, function (_ref2) {
|
|
@@ -20944,6 +20534,7 @@ var mobileFallbackValues = {
|
|
|
20944
20534
|
};
|
|
20945
20535
|
var MOBILE_BREAKPOINT = 768;
|
|
20946
20536
|
|
|
20537
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
20947
20538
|
/*
|
|
20948
20539
|
New responsive text component for Detail elements
|
|
20949
20540
|
(Block level text elements which are smaller than "Title" elements)
|
|
@@ -20993,7 +20584,7 @@ var Detail = function Detail(_ref) {
|
|
|
20993
20584
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
20994
20585
|
dataQa = _ref.dataQa,
|
|
20995
20586
|
children = _ref.children,
|
|
20996
|
-
rest = _objectWithoutProperties(_ref,
|
|
20587
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
20997
20588
|
|
|
20998
20589
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
20999
20590
|
variant: variant,
|
|
@@ -21446,66 +21037,12 @@ var fallbackValues$i = {
|
|
|
21446
21037
|
formFooterPanel: formFooterPanel
|
|
21447
21038
|
};
|
|
21448
21039
|
|
|
21449
|
-
|
|
21450
|
-
|
|
21451
|
-
|
|
21452
|
-
|
|
21453
|
-
|
|
21454
|
-
|
|
21455
|
-
|
|
21456
|
-
return data;
|
|
21457
|
-
}
|
|
21458
|
-
|
|
21459
|
-
function _templateObject5$2() {
|
|
21460
|
-
var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
|
|
21461
|
-
|
|
21462
|
-
_templateObject5$2 = function _templateObject5() {
|
|
21463
|
-
return data;
|
|
21464
|
-
};
|
|
21465
|
-
|
|
21466
|
-
return data;
|
|
21467
|
-
}
|
|
21468
|
-
|
|
21469
|
-
function _templateObject4$3() {
|
|
21470
|
-
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"]);
|
|
21471
|
-
|
|
21472
|
-
_templateObject4$3 = function _templateObject4() {
|
|
21473
|
-
return data;
|
|
21474
|
-
};
|
|
21475
|
-
|
|
21476
|
-
return data;
|
|
21477
|
-
}
|
|
21478
|
-
|
|
21479
|
-
function _templateObject3$7() {
|
|
21480
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
21481
|
-
|
|
21482
|
-
_templateObject3$7 = function _templateObject3() {
|
|
21483
|
-
return data;
|
|
21484
|
-
};
|
|
21485
|
-
|
|
21486
|
-
return data;
|
|
21487
|
-
}
|
|
21488
|
-
|
|
21489
|
-
function _templateObject2$d() {
|
|
21490
|
-
var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
|
|
21491
|
-
|
|
21492
|
-
_templateObject2$d = function _templateObject2() {
|
|
21493
|
-
return data;
|
|
21494
|
-
};
|
|
21495
|
-
|
|
21496
|
-
return data;
|
|
21497
|
-
}
|
|
21498
|
-
|
|
21499
|
-
function _templateObject$q() {
|
|
21500
|
-
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"]);
|
|
21501
|
-
|
|
21502
|
-
_templateObject$q = function _templateObject() {
|
|
21503
|
-
return data;
|
|
21504
|
-
};
|
|
21505
|
-
|
|
21506
|
-
return data;
|
|
21507
|
-
}
|
|
21508
|
-
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) {
|
|
21509
21046
|
var field = _ref.field,
|
|
21510
21047
|
showErrors = _ref.showErrors,
|
|
21511
21048
|
themeValues = _ref.themeValues;
|
|
@@ -21525,19 +21062,22 @@ var InputField = styled__default.input(_templateObject$q(), function (_ref) {
|
|
|
21525
21062
|
return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
|
|
21526
21063
|
}, ROYAL_BLUE, function (_ref6) {
|
|
21527
21064
|
var disabled = _ref6.disabled;
|
|
21528
|
-
return disabled && styled.css(
|
|
21065
|
+
return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
|
|
21529
21066
|
}, function (_ref7) {
|
|
21530
21067
|
var extraStyles = _ref7.extraStyles;
|
|
21531
|
-
return styled.css(
|
|
21068
|
+
return styled.css(["", ""], extraStyles);
|
|
21532
21069
|
}); // eslint-disable-next-line no-unused-vars
|
|
21533
21070
|
|
|
21534
21071
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
21535
21072
|
var showErrors = _ref8.showErrors,
|
|
21536
21073
|
themeValues = _ref8.themeValues,
|
|
21537
|
-
props = _objectWithoutProperties(_ref8,
|
|
21074
|
+
props = _objectWithoutProperties(_ref8, _excluded$p);
|
|
21538
21075
|
|
|
21539
21076
|
return /*#__PURE__*/React__default.createElement(src_1, props);
|
|
21540
|
-
})(
|
|
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) {
|
|
21541
21081
|
var field = _ref9.field,
|
|
21542
21082
|
showErrors = _ref9.showErrors,
|
|
21543
21083
|
themeValues = _ref9.themeValues;
|
|
@@ -21553,10 +21093,10 @@ var FormattedInputField = styled__default(function (_ref8) {
|
|
|
21553
21093
|
return themeValues.color && themeValues.color;
|
|
21554
21094
|
}, ROYAL_BLUE, function (_ref13) {
|
|
21555
21095
|
var disabled = _ref13.disabled;
|
|
21556
|
-
return disabled && styled.css(
|
|
21096
|
+
return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
|
|
21557
21097
|
}, function (_ref14) {
|
|
21558
21098
|
var extraStyles = _ref14.extraStyles;
|
|
21559
|
-
return styled.css(
|
|
21099
|
+
return styled.css(["", ""], extraStyles);
|
|
21560
21100
|
});
|
|
21561
21101
|
|
|
21562
21102
|
var FormInput = function FormInput(_ref15) {
|
|
@@ -21581,7 +21121,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21581
21121
|
background = _ref15.background,
|
|
21582
21122
|
customHeight = _ref15.customHeight,
|
|
21583
21123
|
extraStyles = _ref15.extraStyles,
|
|
21584
|
-
props = _objectWithoutProperties(_ref15,
|
|
21124
|
+
props = _objectWithoutProperties(_ref15, _excluded2);
|
|
21585
21125
|
|
|
21586
21126
|
var _useState = React.useState(false),
|
|
21587
21127
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -21689,6 +21229,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21689
21229
|
|
|
21690
21230
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$i, "default");
|
|
21691
21231
|
|
|
21232
|
+
var _excluded$q = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
21233
|
+
|
|
21692
21234
|
var FormInputRow = function FormInputRow(_ref) {
|
|
21693
21235
|
var _ref$breakpoint = _ref.breakpoint,
|
|
21694
21236
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -21697,7 +21239,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
21697
21239
|
largeChild = _ref.largeChild,
|
|
21698
21240
|
largeChildSize = _ref.largeChildSize,
|
|
21699
21241
|
children = _ref.children,
|
|
21700
|
-
rest = _objectWithoutProperties(_ref,
|
|
21242
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
21701
21243
|
|
|
21702
21244
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
21703
21245
|
padding: "0"
|
|
@@ -21709,12 +21251,14 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
21709
21251
|
}, children));
|
|
21710
21252
|
};
|
|
21711
21253
|
|
|
21254
|
+
var _excluded$r = ["childGap", "bottomItem", "children"];
|
|
21255
|
+
|
|
21712
21256
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
21713
21257
|
var _ref$childGap = _ref.childGap,
|
|
21714
21258
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
21715
21259
|
bottomItem = _ref.bottomItem,
|
|
21716
21260
|
children = _ref.children,
|
|
21717
|
-
rest = _objectWithoutProperties(_ref,
|
|
21261
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
21718
21262
|
|
|
21719
21263
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
21720
21264
|
childGap: childGap,
|
|
@@ -21722,10 +21266,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
21722
21266
|
}, rest), children);
|
|
21723
21267
|
};
|
|
21724
21268
|
|
|
21269
|
+
var _excluded$s = ["themeValues", "children"];
|
|
21270
|
+
|
|
21725
21271
|
var FormContainer = function FormContainer(_ref) {
|
|
21726
21272
|
var themeValues = _ref.themeValues,
|
|
21727
21273
|
children = _ref.children,
|
|
21728
|
-
rest = _objectWithoutProperties(_ref,
|
|
21274
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
21729
21275
|
|
|
21730
21276
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
21731
21277
|
isMobile = _useContext.isMobile;
|
|
@@ -21827,30 +21373,17 @@ var fallbackValues$k = {
|
|
|
21827
21373
|
autopayTextColor: autopayTextColor
|
|
21828
21374
|
};
|
|
21829
21375
|
|
|
21830
|
-
function _templateObject2$e() {
|
|
21831
|
-
var data = _taggedTemplateLiteral(["\n margin-right: 16px;\n width: 30px;\n height: auto;\n display: flex;\n"]);
|
|
21832
|
-
|
|
21833
|
-
_templateObject2$e = function _templateObject2() {
|
|
21834
|
-
return data;
|
|
21835
|
-
};
|
|
21836
|
-
|
|
21837
|
-
return data;
|
|
21838
|
-
}
|
|
21839
|
-
|
|
21840
|
-
function _templateObject$r() {
|
|
21841
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"]);
|
|
21842
|
-
|
|
21843
|
-
_templateObject$r = function _templateObject() {
|
|
21844
|
-
return data;
|
|
21845
|
-
};
|
|
21846
|
-
|
|
21847
|
-
return data;
|
|
21848
|
-
}
|
|
21849
21376
|
var ACTIVE = "ACTIVE";
|
|
21850
21377
|
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
21851
21378
|
var EXPIRED = "EXPIRED";
|
|
21852
|
-
var CreditCardWrapper = styled__default.div(
|
|
21853
|
-
|
|
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;"]);
|
|
21854
21387
|
|
|
21855
21388
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
21856
21389
|
var lastFour = _ref.lastFour,
|
|
@@ -21903,38 +21436,18 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
21903
21436
|
|
|
21904
21437
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
|
|
21905
21438
|
|
|
21906
|
-
|
|
21907
|
-
|
|
21908
|
-
|
|
21909
|
-
|
|
21910
|
-
|
|
21911
|
-
|
|
21912
|
-
|
|
21913
|
-
|
|
21914
|
-
|
|
21915
|
-
|
|
21916
|
-
|
|
21917
|
-
|
|
21918
|
-
|
|
21919
|
-
_templateObject2$f = function _templateObject2() {
|
|
21920
|
-
return data;
|
|
21921
|
-
};
|
|
21922
|
-
|
|
21923
|
-
return data;
|
|
21924
|
-
}
|
|
21925
|
-
|
|
21926
|
-
function _templateObject$s() {
|
|
21927
|
-
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"]);
|
|
21928
|
-
|
|
21929
|
-
_templateObject$s = function _templateObject() {
|
|
21930
|
-
return data;
|
|
21931
|
-
};
|
|
21932
|
-
|
|
21933
|
-
return data;
|
|
21934
|
-
}
|
|
21935
|
-
var Hamburger = styled__default.button(_templateObject$s());
|
|
21936
|
-
var HamburgerBox = styled__default.span(_templateObject2$f());
|
|
21937
|
-
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) {
|
|
21938
21451
|
var inactiveColor = _ref.inactiveColor;
|
|
21939
21452
|
return inactiveColor;
|
|
21940
21453
|
}, function (_ref2) {
|
|
@@ -21965,16 +21478,10 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
21965
21478
|
})));
|
|
21966
21479
|
};
|
|
21967
21480
|
|
|
21968
|
-
|
|
21969
|
-
|
|
21970
|
-
|
|
21971
|
-
|
|
21972
|
-
return data;
|
|
21973
|
-
};
|
|
21974
|
-
|
|
21975
|
-
return data;
|
|
21976
|
-
}
|
|
21977
|
-
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) {
|
|
21978
21485
|
var fontSize = _ref.fontSize;
|
|
21979
21486
|
return fontSize;
|
|
21980
21487
|
}, function (_ref2) {
|
|
@@ -22019,6 +21526,7 @@ var mobileFallbackValues$1 = {
|
|
|
22019
21526
|
};
|
|
22020
21527
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
22021
21528
|
|
|
21529
|
+
var _excluded$t = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
22022
21530
|
/*
|
|
22023
21531
|
New responsive text component for Title elements
|
|
22024
21532
|
Size is decoupled from tag
|
|
@@ -22065,7 +21573,7 @@ var Title = function Title(_ref) {
|
|
|
22065
21573
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
22066
21574
|
dataQa = _ref.dataQa,
|
|
22067
21575
|
children = _ref.children,
|
|
22068
|
-
rest = _objectWithoutProperties(_ref,
|
|
21576
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
22069
21577
|
|
|
22070
21578
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
22071
21579
|
variant: variant,
|
|
@@ -22230,26 +21738,10 @@ var fallbackValues$o = {
|
|
|
22230
21738
|
color: color$8
|
|
22231
21739
|
};
|
|
22232
21740
|
|
|
22233
|
-
|
|
22234
|
-
|
|
22235
|
-
|
|
22236
|
-
|
|
22237
|
-
return data;
|
|
22238
|
-
};
|
|
22239
|
-
|
|
22240
|
-
return data;
|
|
22241
|
-
}
|
|
22242
|
-
|
|
22243
|
-
function _templateObject$u() {
|
|
22244
|
-
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"]);
|
|
22245
|
-
|
|
22246
|
-
_templateObject$u = function _templateObject() {
|
|
22247
|
-
return data;
|
|
22248
|
-
};
|
|
22249
|
-
|
|
22250
|
-
return data;
|
|
22251
|
-
}
|
|
22252
|
-
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) {
|
|
22253
21745
|
var size = _ref.size;
|
|
22254
21746
|
return size;
|
|
22255
21747
|
}, function (_ref2) {
|
|
@@ -22259,7 +21751,10 @@ var SpinnerSvgAnimation = styled__default.svg(_templateObject$u(), function (_re
|
|
|
22259
21751
|
var color = _ref3.color;
|
|
22260
21752
|
return color;
|
|
22261
21753
|
});
|
|
22262
|
-
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;"]);
|
|
22263
21758
|
|
|
22264
21759
|
var Spinner$1 = function Spinner(_ref4) {
|
|
22265
21760
|
var _ref4$size = _ref4.size,
|
|
@@ -22294,6 +21789,8 @@ var Loading = function Loading() {
|
|
|
22294
21789
|
})))));
|
|
22295
21790
|
};
|
|
22296
21791
|
|
|
21792
|
+
var _excluded$u = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
21793
|
+
|
|
22297
21794
|
var NavFooter = function NavFooter(_ref) {
|
|
22298
21795
|
var leftContent = _ref.leftContent,
|
|
22299
21796
|
rightContent = _ref.rightContent,
|
|
@@ -22308,7 +21805,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
22308
21805
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
22309
21806
|
isMobile = _ref.isMobile,
|
|
22310
21807
|
footerWidth = _ref.footerWidth,
|
|
22311
|
-
rest = _objectWithoutProperties(_ref,
|
|
21808
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
22312
21809
|
|
|
22313
21810
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
22314
21811
|
padding: footerPadding,
|
|
@@ -22340,6 +21837,8 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
22340
21837
|
}, rightContent)))))));
|
|
22341
21838
|
};
|
|
22342
21839
|
|
|
21840
|
+
var _excluded$v = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
21841
|
+
|
|
22343
21842
|
var NavHeader = function NavHeader(_ref) {
|
|
22344
21843
|
var leftContent = _ref.leftContent,
|
|
22345
21844
|
rightContent = _ref.rightContent,
|
|
@@ -22348,7 +21847,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
22348
21847
|
isMobile = _ref.isMobile,
|
|
22349
21848
|
backgroundColor = _ref.backgroundColor,
|
|
22350
21849
|
headerWidth = _ref.headerWidth,
|
|
22351
|
-
rest = _objectWithoutProperties(_ref,
|
|
21850
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
22352
21851
|
|
|
22353
21852
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
22354
21853
|
padding: "0 16px 4px",
|
|
@@ -22374,167 +21873,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
22374
21873
|
}, rightContent))))));
|
|
22375
21874
|
};
|
|
22376
21875
|
|
|
22377
|
-
var _DEFAULT_ERROR_MESSAG;
|
|
22378
|
-
|
|
22379
|
-
function _templateObject16() {
|
|
22380
|
-
var data = _taggedTemplateLiteral(["", " is not a valid option"]);
|
|
22381
|
-
|
|
22382
|
-
_templateObject16 = function _templateObject16() {
|
|
22383
|
-
return data;
|
|
22384
|
-
};
|
|
22385
|
-
|
|
22386
|
-
return data;
|
|
22387
|
-
}
|
|
22388
|
-
|
|
22389
|
-
function _templateObject15() {
|
|
22390
|
-
var data = _taggedTemplateLiteral(["", " must match ", ""]);
|
|
22391
|
-
|
|
22392
|
-
_templateObject15 = function _templateObject15() {
|
|
22393
|
-
return data;
|
|
22394
|
-
};
|
|
22395
|
-
|
|
22396
|
-
return data;
|
|
22397
|
-
}
|
|
22398
|
-
|
|
22399
|
-
function _templateObject14() {
|
|
22400
|
-
var data = _taggedTemplateLiteral(["", " is too low"]);
|
|
22401
|
-
|
|
22402
|
-
_templateObject14 = function _templateObject14() {
|
|
22403
|
-
return data;
|
|
22404
|
-
};
|
|
22405
|
-
|
|
22406
|
-
return data;
|
|
22407
|
-
}
|
|
22408
|
-
|
|
22409
|
-
function _templateObject13() {
|
|
22410
|
-
var data = _taggedTemplateLiteral(["", " is too high"]);
|
|
22411
|
-
|
|
22412
|
-
_templateObject13 = function _templateObject13() {
|
|
22413
|
-
return data;
|
|
22414
|
-
};
|
|
22415
|
-
|
|
22416
|
-
return data;
|
|
22417
|
-
}
|
|
22418
|
-
|
|
22419
|
-
function _templateObject12() {
|
|
22420
|
-
var data = _taggedTemplateLiteral(["", " is required"]);
|
|
22421
|
-
|
|
22422
|
-
_templateObject12 = function _templateObject12() {
|
|
22423
|
-
return data;
|
|
22424
|
-
};
|
|
22425
|
-
|
|
22426
|
-
return data;
|
|
22427
|
-
}
|
|
22428
|
-
|
|
22429
|
-
function _templateObject11$1() {
|
|
22430
|
-
var data = _taggedTemplateLiteral(["", " must be only letters"]);
|
|
22431
|
-
|
|
22432
|
-
_templateObject11$1 = function _templateObject11() {
|
|
22433
|
-
return data;
|
|
22434
|
-
};
|
|
22435
|
-
|
|
22436
|
-
return data;
|
|
22437
|
-
}
|
|
22438
|
-
|
|
22439
|
-
function _templateObject10$1() {
|
|
22440
|
-
var data = _taggedTemplateLiteral(["", " must be only numbers"]);
|
|
22441
|
-
|
|
22442
|
-
_templateObject10$1 = function _templateObject10() {
|
|
22443
|
-
return data;
|
|
22444
|
-
};
|
|
22445
|
-
|
|
22446
|
-
return data;
|
|
22447
|
-
}
|
|
22448
|
-
|
|
22449
|
-
function _templateObject9$1() {
|
|
22450
|
-
var data = _taggedTemplateLiteral(["", " needs a special character"]);
|
|
22451
|
-
|
|
22452
|
-
_templateObject9$1 = function _templateObject9() {
|
|
22453
|
-
return data;
|
|
22454
|
-
};
|
|
22455
|
-
|
|
22456
|
-
return data;
|
|
22457
|
-
}
|
|
22458
|
-
|
|
22459
|
-
function _templateObject8$1() {
|
|
22460
|
-
var data = _taggedTemplateLiteral(["", " needs a lowercase letter"]);
|
|
22461
|
-
|
|
22462
|
-
_templateObject8$1 = function _templateObject8() {
|
|
22463
|
-
return data;
|
|
22464
|
-
};
|
|
22465
|
-
|
|
22466
|
-
return data;
|
|
22467
|
-
}
|
|
22468
|
-
|
|
22469
|
-
function _templateObject7$2() {
|
|
22470
|
-
var data = _taggedTemplateLiteral(["", " needs an uppercase letter"]);
|
|
22471
|
-
|
|
22472
|
-
_templateObject7$2 = function _templateObject7() {
|
|
22473
|
-
return data;
|
|
22474
|
-
};
|
|
22475
|
-
|
|
22476
|
-
return data;
|
|
22477
|
-
}
|
|
22478
|
-
|
|
22479
|
-
function _templateObject6$3() {
|
|
22480
|
-
var data = _taggedTemplateLiteral(["", " needs a number"]);
|
|
22481
|
-
|
|
22482
|
-
_templateObject6$3 = function _templateObject6() {
|
|
22483
|
-
return data;
|
|
22484
|
-
};
|
|
22485
|
-
|
|
22486
|
-
return data;
|
|
22487
|
-
}
|
|
22488
|
-
|
|
22489
|
-
function _templateObject5$3() {
|
|
22490
|
-
var data = _taggedTemplateLiteral(["", " is not a valid email address"]);
|
|
22491
|
-
|
|
22492
|
-
_templateObject5$3 = function _templateObject5() {
|
|
22493
|
-
return data;
|
|
22494
|
-
};
|
|
22495
|
-
|
|
22496
|
-
return data;
|
|
22497
|
-
}
|
|
22498
|
-
|
|
22499
|
-
function _templateObject4$4() {
|
|
22500
|
-
var data = _taggedTemplateLiteral(["", " is not a valid length"]);
|
|
22501
|
-
|
|
22502
|
-
_templateObject4$4 = function _templateObject4() {
|
|
22503
|
-
return data;
|
|
22504
|
-
};
|
|
22505
|
-
|
|
22506
|
-
return data;
|
|
22507
|
-
}
|
|
22508
|
-
|
|
22509
|
-
function _templateObject3$9() {
|
|
22510
|
-
var data = _taggedTemplateLiteral(["", " is not the right length"]);
|
|
22511
|
-
|
|
22512
|
-
_templateObject3$9 = function _templateObject3() {
|
|
22513
|
-
return data;
|
|
22514
|
-
};
|
|
22515
|
-
|
|
22516
|
-
return data;
|
|
22517
|
-
}
|
|
22518
|
-
|
|
22519
|
-
function _templateObject2$h() {
|
|
22520
|
-
var data = _taggedTemplateLiteral(["", " is too long"]);
|
|
22521
|
-
|
|
22522
|
-
_templateObject2$h = function _templateObject2() {
|
|
22523
|
-
return data;
|
|
22524
|
-
};
|
|
22525
|
-
|
|
22526
|
-
return data;
|
|
22527
|
-
}
|
|
22528
|
-
|
|
22529
|
-
function _templateObject$v() {
|
|
22530
|
-
var data = _taggedTemplateLiteral(["", " is too short"]);
|
|
22531
|
-
|
|
22532
|
-
_templateObject$v = function _templateObject() {
|
|
22533
|
-
return data;
|
|
22534
|
-
};
|
|
22535
|
-
|
|
22536
|
-
return data;
|
|
22537
|
-
}
|
|
21876
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
|
|
22538
21877
|
|
|
22539
21878
|
var MIN_LENGTH_ERROR = "error/HAS_LENGTH";
|
|
22540
21879
|
var MAX_LENGTH_ERROR = "max_length_error";
|
|
@@ -22575,7 +21914,7 @@ with interpolation.
|
|
|
22575
21914
|
*/
|
|
22576
21915
|
|
|
22577
21916
|
|
|
22578
|
-
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
|
|
22579
21918
|
// Neutral - has not been validated
|
|
22580
21919
|
// Invalid - has been validated and has an error
|
|
22581
21920
|
// Valid - has been validated and has no error
|
|
@@ -22835,16 +22174,10 @@ var fallbackValues$r = {
|
|
|
22835
22174
|
inactiveColor: inactiveColor
|
|
22836
22175
|
};
|
|
22837
22176
|
|
|
22838
|
-
|
|
22839
|
-
|
|
22840
|
-
|
|
22841
|
-
|
|
22842
|
-
return data;
|
|
22843
|
-
};
|
|
22844
|
-
|
|
22845
|
-
return data;
|
|
22846
|
-
}
|
|
22847
|
-
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) {
|
|
22848
22181
|
var disabled = _ref.disabled;
|
|
22849
22182
|
return disabled ? "auto" : "pointer";
|
|
22850
22183
|
});
|
|
@@ -33622,53 +32955,20 @@ var fallbackValues$u = {
|
|
|
33622
32955
|
leftLabelStyles: leftLabelStyles
|
|
33623
32956
|
};
|
|
33624
32957
|
|
|
33625
|
-
|
|
33626
|
-
|
|
33627
|
-
|
|
33628
|
-
|
|
33629
|
-
return data;
|
|
33630
|
-
};
|
|
33631
|
-
|
|
33632
|
-
return data;
|
|
33633
|
-
}
|
|
33634
|
-
|
|
33635
|
-
function _templateObject3$a() {
|
|
33636
|
-
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"]);
|
|
33637
|
-
|
|
33638
|
-
_templateObject3$a = function _templateObject3() {
|
|
33639
|
-
return data;
|
|
33640
|
-
};
|
|
33641
|
-
|
|
33642
|
-
return data;
|
|
33643
|
-
}
|
|
33644
|
-
|
|
33645
|
-
function _templateObject2$i() {
|
|
33646
|
-
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"]);
|
|
33647
|
-
|
|
33648
|
-
_templateObject2$i = function _templateObject2() {
|
|
33649
|
-
return data;
|
|
33650
|
-
};
|
|
33651
|
-
|
|
33652
|
-
return data;
|
|
33653
|
-
}
|
|
33654
|
-
|
|
33655
|
-
function _templateObject$x() {
|
|
33656
|
-
var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"]);
|
|
33657
|
-
|
|
33658
|
-
_templateObject$x = function _templateObject() {
|
|
33659
|
-
return data;
|
|
33660
|
-
};
|
|
33661
|
-
|
|
33662
|
-
return data;
|
|
33663
|
-
}
|
|
33664
|
-
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) {
|
|
33665
32962
|
var disabled = _ref.disabled;
|
|
33666
32963
|
return disabled ? "auto" : "pointer";
|
|
33667
32964
|
}, function (_ref2) {
|
|
33668
32965
|
var isMobile = _ref2.isMobile;
|
|
33669
32966
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
33670
32967
|
});
|
|
33671
|
-
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) {
|
|
33672
32972
|
var disabled = _ref3.disabled;
|
|
33673
32973
|
return disabled ? "auto" : "pointer";
|
|
33674
32974
|
}, function (_ref4) {
|
|
@@ -33678,8 +32978,14 @@ var VisibleSwitchComponent = styled__default.label(_templateObject2$i(), functio
|
|
|
33678
32978
|
var isMobile = _ref5.isMobile;
|
|
33679
32979
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
33680
32980
|
});
|
|
33681
|
-
var ToggleSwitchMiddleRingComponent = styled__default.div(
|
|
33682
|
-
|
|
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;"]);
|
|
33683
32989
|
|
|
33684
32990
|
var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
33685
32991
|
var _ref6$isOn = _ref6.isOn,
|
|
@@ -33828,16 +33134,10 @@ var themeValues = {
|
|
|
33828
33134
|
focusBorder: focusBorder
|
|
33829
33135
|
};
|
|
33830
33136
|
|
|
33831
|
-
|
|
33832
|
-
|
|
33833
|
-
|
|
33834
|
-
|
|
33835
|
-
return data;
|
|
33836
|
-
};
|
|
33837
|
-
|
|
33838
|
-
return data;
|
|
33839
|
-
}
|
|
33840
|
-
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);
|
|
33841
33141
|
|
|
33842
33142
|
var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
33843
33143
|
var handleChange = _ref.handleChange,
|
|
@@ -33871,6 +33171,28 @@ const validatorToPredicate = (validatorFn, emptyCase) => (
|
|
|
33871
33171
|
...rest
|
|
33872
33172
|
) => (value === "" ? emptyCase : validatorFn(value, ...rest));
|
|
33873
33173
|
|
|
33174
|
+
var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
33175
|
+
|
|
33176
|
+
function createCommonjsModule$1(fn, module) {
|
|
33177
|
+
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
33178
|
+
}
|
|
33179
|
+
|
|
33180
|
+
var dayjs_min = createCommonjsModule$1(function (module, exports) {
|
|
33181
|
+
!function(t,e){module.exports=e();}(commonjsGlobal$1,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",v={};v[D]=M;var p=function(t){return t instanceof _},S=function(t,e,n){var r;if(!t)return D;if("string"==typeof t)v[t]&&(r=t),e&&(v[t]=e,r=t);else {var i=t.name;v[i]=t,r=i;}return !n&&r&&(D=r),r||!n&&D},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,v=(y<D?y+7:y)-D;return $(r?m-v:m+(6-v),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].substr(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,D=O.m(this,M);return D=(l={},l[c]=D/12,l[f]=D,l[h]=D/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?D:O.a(D)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return v[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=v[D],w.Ls=v,w.p={},w}));
|
|
33182
|
+
});
|
|
33183
|
+
|
|
33184
|
+
var customParseFormat = createCommonjsModule$1(function (module, exports) {
|
|
33185
|
+
!function(t,e){module.exports=e();}(commonjsGlobal$1,(function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^\s\d-_:/()]+/,o={},s=function(t){return (t=+t)+(t>68?1900:2e3)};var a=function(t){return function(e){this[t]=+e;}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t);}],u=function(t){var e=o[t];return e&&(e.indexOf?e:e.s.concat(e.f))},h=function(t,e){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(t.indexOf(r(i,0,e))>-1){n=i>12;break}}else n=t===(e?"pm":"PM");return n},d={A:[i,function(t){this.afternoon=h(t,!1);}],a:[i,function(t){this.afternoon=h(t,!0);}],S:[/\d/,function(t){this.milliseconds=100*+t;}],SS:[n,function(t){this.milliseconds=10*+t;}],SSS:[/\d{3}/,function(t){this.milliseconds=+t;}],s:[r,a("seconds")],ss:[r,a("seconds")],m:[r,a("minutes")],mm:[r,a("minutes")],H:[r,a("hours")],h:[r,a("hours")],HH:[r,a("hours")],hh:[r,a("hours")],D:[r,a("day")],DD:[n,a("day")],Do:[i,function(t){var e=o.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var r=1;r<=31;r+=1)e(r).replace(/\[|\]/g,"")===t&&(this.day=r);}],M:[r,a("month")],MM:[n,a("month")],MMM:[i,function(t){var e=u("months"),n=(u("monthsShort")||e.map((function(t){return t.substr(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n;}],MMMM:[i,function(t){var e=u("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e;}],Y:[/[+-]?\d+/,a("year")],YY:[n,function(t){this.year=s(t);}],YYYY:[/\d{4}/,a("year")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,r){var o=r&&r.toUpperCase();return n||i[r]||t[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),a=s.length,f=0;f<a;f+=1){var u=s[f],h=d[u],c=h&&h[0],l=h&&h[1];s[f]=l?{regex:c,parser:l}:u.replace(/^\[|\]$/g,"");}return function(t){for(var e={},n=0,r=0;n<a;n+=1){var i=s[n];if("string"==typeof i)r+=i.length;else {var o=i.regex,f=i.parser,u=t.substr(r),h=o.exec(u)[0];f.call(e,h),t=t.replace(h,"");}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon;}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(s=t.parseTwoDigitYear);var r=e.prototype,i=r.parse;r.parse=function(t){var e=t.date,r=t.utc,s=t.args;this.$u=r;var a=s[1];if("string"==typeof a){var f=!0===s[2],u=!0===s[3],h=f||u,d=s[2];u&&(d=s[2]),o=this.$locale(),!f&&d&&(o=n.Ls[d]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var r=c(e)(t),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,u=r.seconds,h=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=u||0,g=h||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(t){return new Date("")}}(e,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),h&&e!=this.format(a)&&(this.$d=new Date("")),o={};}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(""));}else i.call(this,t);};}}));
|
|
33186
|
+
});
|
|
33187
|
+
|
|
33188
|
+
var isSameOrBefore = createCommonjsModule$1(function (module, exports) {
|
|
33189
|
+
!function(e,i){module.exports=i();}(commonjsGlobal$1,(function(){return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)};}}));
|
|
33190
|
+
});
|
|
33191
|
+
|
|
33192
|
+
var isSameOrAfter = createCommonjsModule$1(function (module, exports) {
|
|
33193
|
+
!function(e,t){module.exports=t();}(commonjsGlobal$1,(function(){return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)};}}));
|
|
33194
|
+
});
|
|
33195
|
+
|
|
33874
33196
|
/* eslint-disable no-unused-vars */
|
|
33875
33197
|
|
|
33876
33198
|
const createValidator = (type, error) => {
|
|
@@ -33879,6 +33201,10 @@ const createValidator = (type, error) => {
|
|
|
33879
33201
|
return validator;
|
|
33880
33202
|
};
|
|
33881
33203
|
|
|
33204
|
+
dayjs_min.extend(customParseFormat);
|
|
33205
|
+
dayjs_min.extend(isSameOrBefore);
|
|
33206
|
+
dayjs_min.extend(isSameOrAfter);
|
|
33207
|
+
|
|
33882
33208
|
let validatorFns = {};
|
|
33883
33209
|
|
|
33884
33210
|
const REQUIRED = "validator/REQUIRED";
|
|
@@ -34088,6 +33414,62 @@ validatorFns[HAS_LENGTH] = (value, args, form) => {
|
|
|
34088
33414
|
return max >= valueLength && valueLength >= min;
|
|
34089
33415
|
};
|
|
34090
33416
|
|
|
33417
|
+
const DATE_BEFORE_TODAY = "validator/DATE_BEFORE_TODAY";
|
|
33418
|
+
const DATE_BEFORE_TODAY_ERROR = "error/DATE_BEFORE_TODAY";
|
|
33419
|
+
const dateBeforeToday = createValidator(
|
|
33420
|
+
DATE_BEFORE_TODAY,
|
|
33421
|
+
DATE_BEFORE_TODAY_ERROR
|
|
33422
|
+
);
|
|
33423
|
+
validatorFns[DATE_BEFORE_TODAY] = (value, args, form) => {
|
|
33424
|
+
if (value === "") {
|
|
33425
|
+
return true;
|
|
33426
|
+
}
|
|
33427
|
+
const dateFormat = args[0];
|
|
33428
|
+
const unit = args[1];
|
|
33429
|
+
const inclusive = args[2] || false;
|
|
33430
|
+
|
|
33431
|
+
if (dateFormat == undefined || unit == undefined) {
|
|
33432
|
+
throw new Error(
|
|
33433
|
+
"Date format and unit need to be defined for dateBeforeToday, one or both are undefined"
|
|
33434
|
+
);
|
|
33435
|
+
}
|
|
33436
|
+
const now = dayjs_min();
|
|
33437
|
+
const dateValue = dayjs_min(value, dateFormat);
|
|
33438
|
+
|
|
33439
|
+
if (inclusive === true) {
|
|
33440
|
+
return dateValue.isSameOrBefore(now, unit);
|
|
33441
|
+
}
|
|
33442
|
+
return dateValue.isBefore(now, unit);
|
|
33443
|
+
};
|
|
33444
|
+
|
|
33445
|
+
const DATE_AFTER_TODAY = "validator/DATE_AFTER_TODAY";
|
|
33446
|
+
const DATE_AFTER_TODAY_ERROR = "error/DATE_AFTER_TODAY";
|
|
33447
|
+
const dateAfterToday = createValidator(
|
|
33448
|
+
DATE_AFTER_TODAY,
|
|
33449
|
+
DATE_AFTER_TODAY_ERROR
|
|
33450
|
+
);
|
|
33451
|
+
validatorFns[DATE_AFTER_TODAY] = (value, args, form) => {
|
|
33452
|
+
if (value === "") {
|
|
33453
|
+
return true;
|
|
33454
|
+
}
|
|
33455
|
+
const dateFormat = args[0];
|
|
33456
|
+
const unit = args[1];
|
|
33457
|
+
const inclusive = args[2] || false;
|
|
33458
|
+
|
|
33459
|
+
if (dateFormat == undefined || unit == undefined) {
|
|
33460
|
+
throw new Error(
|
|
33461
|
+
"Date format and unit need to be defined for dateAfterToday, one or both are undefined"
|
|
33462
|
+
);
|
|
33463
|
+
}
|
|
33464
|
+
const now = dayjs_min();
|
|
33465
|
+
const dateValue = dayjs_min(value, dateFormat);
|
|
33466
|
+
|
|
33467
|
+
if (inclusive === true) {
|
|
33468
|
+
return dateValue.isSameOrAfter(now, unit);
|
|
33469
|
+
}
|
|
33470
|
+
return dateValue.isAfter(now, unit);
|
|
33471
|
+
};
|
|
33472
|
+
|
|
34091
33473
|
const MATCHES_REGEX = "validator/MATCHES_REGEX";
|
|
34092
33474
|
const MATCHES_REGEX_ERROR = "error/MATCHES_REGEX";
|
|
34093
33475
|
const matchesRegex = createValidator(MATCHES_REGEX, MATCHES_REGEX_ERROR);
|
|
@@ -35952,33 +35334,20 @@ EditNameForm.reducer = reducer$2;
|
|
|
35952
35334
|
EditNameForm.mapStateToProps = mapStateToProps$3;
|
|
35953
35335
|
EditNameForm.mapDispatchToProps = mapDispatchToProps$2;
|
|
35954
35336
|
|
|
35955
|
-
|
|
35956
|
-
|
|
35957
|
-
|
|
35958
|
-
|
|
35959
|
-
return data;
|
|
35960
|
-
};
|
|
35961
|
-
|
|
35962
|
-
return data;
|
|
35963
|
-
}
|
|
35964
|
-
|
|
35965
|
-
function _templateObject$z() {
|
|
35966
|
-
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"]);
|
|
35967
|
-
|
|
35968
|
-
_templateObject$z = function _templateObject() {
|
|
35969
|
-
return data;
|
|
35970
|
-
};
|
|
35971
|
-
|
|
35972
|
-
return data;
|
|
35973
|
-
}
|
|
35974
|
-
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) {
|
|
35975
35341
|
var disabled = _ref.disabled;
|
|
35976
35342
|
return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
|
|
35977
35343
|
}, GHOST_GREY, function (_ref2) {
|
|
35978
35344
|
var listItemSize = _ref2.listItemSize;
|
|
35979
35345
|
return listItemSize === "big" ? "120px" : "72px";
|
|
35980
35346
|
});
|
|
35981
|
-
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;"]);
|
|
35982
35351
|
|
|
35983
35352
|
var ACTIVE$1 = "ACTIVE";
|
|
35984
35353
|
var EXPIRED$1 = "EXPIRED";
|
|
@@ -36034,9 +35403,9 @@ var EditableList = function EditableList(_ref) {
|
|
|
36034
35403
|
|
|
36035
35404
|
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE$1;
|
|
36036
35405
|
return /*#__PURE__*/React__default.createElement(EditableListItem, {
|
|
36037
|
-
listItemSize: !!item.id &&
|
|
35406
|
+
listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
|
|
36038
35407
|
return methodID === item.id;
|
|
36039
|
-
})
|
|
35408
|
+
}) ? "big" : listItemSize,
|
|
36040
35409
|
key: item.id || item,
|
|
36041
35410
|
disabled: expiredItem === EXPIRED$1
|
|
36042
35411
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -36088,100 +35457,17 @@ var EditableList = function EditableList(_ref) {
|
|
|
36088
35457
|
}))));
|
|
36089
35458
|
};
|
|
36090
35459
|
|
|
36091
|
-
|
|
36092
|
-
|
|
36093
|
-
|
|
36094
|
-
|
|
36095
|
-
return data;
|
|
36096
|
-
};
|
|
36097
|
-
|
|
36098
|
-
return data;
|
|
36099
|
-
}
|
|
36100
|
-
|
|
36101
|
-
function _templateObject8$2() {
|
|
36102
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"]);
|
|
36103
|
-
|
|
36104
|
-
_templateObject8$2 = function _templateObject8() {
|
|
36105
|
-
return data;
|
|
36106
|
-
};
|
|
36107
|
-
|
|
36108
|
-
return data;
|
|
36109
|
-
}
|
|
36110
|
-
|
|
36111
|
-
function _templateObject7$3() {
|
|
36112
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"]);
|
|
36113
|
-
|
|
36114
|
-
_templateObject7$3 = function _templateObject7() {
|
|
36115
|
-
return data;
|
|
36116
|
-
};
|
|
36117
|
-
|
|
36118
|
-
return data;
|
|
36119
|
-
}
|
|
36120
|
-
|
|
36121
|
-
function _templateObject6$4() {
|
|
36122
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"]);
|
|
36123
|
-
|
|
36124
|
-
_templateObject6$4 = function _templateObject6() {
|
|
36125
|
-
return data;
|
|
36126
|
-
};
|
|
36127
|
-
|
|
36128
|
-
return data;
|
|
36129
|
-
}
|
|
36130
|
-
|
|
36131
|
-
function _templateObject5$4() {
|
|
36132
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"]);
|
|
36133
|
-
|
|
36134
|
-
_templateObject5$4 = function _templateObject5() {
|
|
36135
|
-
return data;
|
|
36136
|
-
};
|
|
36137
|
-
|
|
36138
|
-
return data;
|
|
36139
|
-
}
|
|
36140
|
-
|
|
36141
|
-
function _templateObject4$6() {
|
|
36142
|
-
var data = _taggedTemplateLiteral(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"]);
|
|
36143
|
-
|
|
36144
|
-
_templateObject4$6 = function _templateObject4() {
|
|
36145
|
-
return data;
|
|
36146
|
-
};
|
|
36147
|
-
|
|
36148
|
-
return data;
|
|
36149
|
-
}
|
|
36150
|
-
|
|
36151
|
-
function _templateObject3$b() {
|
|
36152
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"]);
|
|
36153
|
-
|
|
36154
|
-
_templateObject3$b = function _templateObject3() {
|
|
36155
|
-
return data;
|
|
36156
|
-
};
|
|
36157
|
-
|
|
36158
|
-
return data;
|
|
36159
|
-
}
|
|
36160
|
-
|
|
36161
|
-
function _templateObject2$k() {
|
|
36162
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"]);
|
|
36163
|
-
|
|
36164
|
-
_templateObject2$k = function _templateObject2() {
|
|
36165
|
-
return data;
|
|
36166
|
-
};
|
|
36167
|
-
|
|
36168
|
-
return data;
|
|
36169
|
-
}
|
|
36170
|
-
|
|
36171
|
-
function _templateObject$A() {
|
|
36172
|
-
var data = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"]);
|
|
36173
|
-
|
|
36174
|
-
_templateObject$A = function _templateObject() {
|
|
36175
|
-
return data;
|
|
36176
|
-
};
|
|
36177
|
-
|
|
36178
|
-
return data;
|
|
36179
|
-
}
|
|
36180
|
-
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) {
|
|
36181
35464
|
var hide = _ref.hide;
|
|
36182
35465
|
return hide ? "none" : "flex";
|
|
36183
35466
|
});
|
|
36184
|
-
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) {
|
|
36185
35471
|
var isMobile = _ref2.isMobile;
|
|
36186
35472
|
return isMobile && "justify-content: center";
|
|
36187
35473
|
}, function (_ref3) {
|
|
@@ -36194,17 +35480,32 @@ var EditableTableListItem = styled__default.div(_templateObject2$k(), function (
|
|
|
36194
35480
|
var isMobile = _ref5.isMobile;
|
|
36195
35481
|
return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
|
|
36196
35482
|
});
|
|
36197
|
-
var EditableListItemControls$1 = styled__default.div(
|
|
36198
|
-
|
|
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) {
|
|
36199
35491
|
var hide = _ref6.hide;
|
|
36200
35492
|
return hide ? "none" : "flex";
|
|
36201
35493
|
});
|
|
36202
|
-
var ItemWrapper = styled__default.div(
|
|
36203
|
-
|
|
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) {
|
|
36204
35502
|
var isMobile = _ref7.isMobile;
|
|
36205
35503
|
return isMobile && "display: none";
|
|
36206
35504
|
});
|
|
36207
|
-
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) {
|
|
36208
35509
|
var isMobile = _ref8.isMobile;
|
|
36209
35510
|
return !isMobile && "flex: 1";
|
|
36210
35511
|
}, function (_ref9) {
|
|
@@ -36217,7 +35518,10 @@ var TableItemKey = styled__default.div(_templateObject7$3(), function (_ref8) {
|
|
|
36217
35518
|
var isMobile = _ref11.isMobile;
|
|
36218
35519
|
return isMobile ? "1rem" : "1.125rem";
|
|
36219
35520
|
}, STORM_GREY);
|
|
36220
|
-
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) {
|
|
36221
35525
|
var isMobile = _ref12.isMobile;
|
|
36222
35526
|
return !isMobile && "flex: 1";
|
|
36223
35527
|
}, function (_ref13) {
|
|
@@ -36230,7 +35534,10 @@ var TableItemValue = styled__default.div(_templateObject8$2(), function (_ref12)
|
|
|
36230
35534
|
var isMobile = _ref15.isMobile;
|
|
36231
35535
|
return isMobile ? "1.125rem" : "1.0625rem";
|
|
36232
35536
|
}, BRIGHT_GREY);
|
|
36233
|
-
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%;"]);
|
|
36234
35541
|
|
|
36235
35542
|
var EditableTable = function EditableTable(_ref) {
|
|
36236
35543
|
var title = _ref.title,
|
|
@@ -39673,15 +38980,6 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
39673
38980
|
|
|
39674
38981
|
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$y, "profile");
|
|
39675
38982
|
|
|
39676
|
-
function _templateObject$B() {
|
|
39677
|
-
var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
|
|
39678
|
-
|
|
39679
|
-
_templateObject$B = function _templateObject() {
|
|
39680
|
-
return data;
|
|
39681
|
-
};
|
|
39682
|
-
|
|
39683
|
-
return data;
|
|
39684
|
-
}
|
|
39685
38983
|
var menu = posed.div({
|
|
39686
38984
|
invisible: {
|
|
39687
38985
|
left: "-100vw",
|
|
@@ -39712,7 +39010,10 @@ var menu = posed.div({
|
|
|
39712
39010
|
}
|
|
39713
39011
|
}
|
|
39714
39012
|
});
|
|
39715
|
-
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;"]);
|
|
39716
39017
|
|
|
39717
39018
|
var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
39718
39019
|
var id = _ref.id,
|
|
@@ -40445,6 +39746,9 @@ var fallbackValues$A = {
|
|
|
40445
39746
|
labeledAmountTotal: labeledAmountTotal
|
|
40446
39747
|
};
|
|
40447
39748
|
|
|
39749
|
+
var _excluded$w = ["amount"],
|
|
39750
|
+
_excluded2$1 = ["amount"];
|
|
39751
|
+
|
|
40448
39752
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
40449
39753
|
var lineItemElems = _ref.lineItemElems,
|
|
40450
39754
|
feeElems = _ref.feeElems,
|
|
@@ -40533,7 +39837,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
40533
39837
|
return fee.amount > 0;
|
|
40534
39838
|
}).map(function (_ref5) {
|
|
40535
39839
|
var amount = _ref5.amount,
|
|
40536
|
-
rest = _objectWithoutProperties(_ref5,
|
|
39840
|
+
rest = _objectWithoutProperties(_ref5, _excluded$w);
|
|
40537
39841
|
|
|
40538
39842
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
40539
39843
|
amount: displayCurrency(amount)
|
|
@@ -40542,7 +39846,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
40542
39846
|
|
|
40543
39847
|
var lineItems = _lineItems.map(function (_ref6) {
|
|
40544
39848
|
var amount = _ref6.amount,
|
|
40545
|
-
rest = _objectWithoutProperties(_ref6,
|
|
39849
|
+
rest = _objectWithoutProperties(_ref6, _excluded2$1);
|
|
40546
39850
|
|
|
40547
39851
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
40548
39852
|
amount: displayCurrency(amount)
|
|
@@ -40925,7 +40229,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
40925
40229
|
var nameOnCardErrors = _defineProperty({}, required.error, "Name is required");
|
|
40926
40230
|
|
|
40927
40231
|
var creditCardNumberErrors = (_creditCardNumberErro = {}, _defineProperty(_creditCardNumberErro, required.error, "Credit card number is required"), _defineProperty(_creditCardNumberErro, hasLength.error, "Credit card number is invalid"), _defineProperty(_creditCardNumberErro, matchesRegex.error, "".concat(displayCardBrand(fields.creditCardNumber.rawValue), " is not accepted")), _creditCardNumberErro);
|
|
40928
|
-
var expirationDateErrors = (_expirationDateErrors = {}, _defineProperty(_expirationDateErrors, required.error, "Expiration date is required"), _defineProperty(_expirationDateErrors, hasLength.error, "Expiration date is invalid"), _defineProperty(_expirationDateErrors,
|
|
40232
|
+
var expirationDateErrors = (_expirationDateErrors = {}, _defineProperty(_expirationDateErrors, required.error, "Expiration date is required"), _defineProperty(_expirationDateErrors, hasLength.error, "Expiration date is invalid"), _defineProperty(_expirationDateErrors, dateAfterToday.error, "Expiration date is invalid"), _expirationDateErrors);
|
|
40929
40233
|
var cvvErrors = (_cvvErrors = {}, _defineProperty(_cvvErrors, required.error, "CVV is required"), _defineProperty(_cvvErrors, hasLength.error, "CVV is invalid"), _cvvErrors);
|
|
40930
40234
|
var zipCodeErrors = (_zipCodeErrors = {}, _defineProperty(_zipCodeErrors, required.error, "Zip code is required"), _defineProperty(_zipCodeErrors, hasLength.error, "Zip code is invalid"), _zipCodeErrors);
|
|
40931
40235
|
|
|
@@ -41031,7 +40335,7 @@ var formConfig$8 = {
|
|
|
41031
40335
|
constraints: [onlyIntegers(), hasLength(0, 16)]
|
|
41032
40336
|
},
|
|
41033
40337
|
expirationDate: {
|
|
41034
|
-
validators: [required(), hasLength(4, 4),
|
|
40338
|
+
validators: [required(), hasLength(4, 4), dateAfterToday("MM/YY", "month", true)],
|
|
41035
40339
|
constraints: [onlyIntegers(), hasLength(0, 4)]
|
|
41036
40340
|
},
|
|
41037
40341
|
cvv: {
|
|
@@ -41129,15 +40433,6 @@ var fallbackValues$C = {
|
|
|
41129
40433
|
focusStyles: focusStyles
|
|
41130
40434
|
};
|
|
41131
40435
|
|
|
41132
|
-
function _templateObject$C() {
|
|
41133
|
-
var data = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "]);
|
|
41134
|
-
|
|
41135
|
-
_templateObject$C = function _templateObject() {
|
|
41136
|
-
return data;
|
|
41137
|
-
};
|
|
41138
|
-
|
|
41139
|
-
return data;
|
|
41140
|
-
}
|
|
41141
40436
|
/*
|
|
41142
40437
|
Takes an array of section objects, each object should look like:
|
|
41143
40438
|
{
|
|
@@ -41234,7 +40529,10 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
41234
40529
|
}
|
|
41235
40530
|
};
|
|
41236
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 ");
|
|
41237
|
-
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) {
|
|
41238
40536
|
var isMobile = _ref2.isMobile;
|
|
41239
40537
|
return isMobile ? "14px" : "18px";
|
|
41240
40538
|
}, function (_ref3) {
|
|
@@ -41951,16 +41249,10 @@ var fallbackValues$G = {
|
|
|
41951
41249
|
imageBackgroundColor: imageBackgroundColor
|
|
41952
41250
|
};
|
|
41953
41251
|
|
|
41954
|
-
|
|
41955
|
-
|
|
41956
|
-
|
|
41957
|
-
|
|
41958
|
-
return data;
|
|
41959
|
-
};
|
|
41960
|
-
|
|
41961
|
-
return data;
|
|
41962
|
-
}
|
|
41963
|
-
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;"]);
|
|
41964
41256
|
|
|
41965
41257
|
var WelcomeModule = function WelcomeModule(_ref) {
|
|
41966
41258
|
var heading = _ref.heading,
|
|
@@ -42336,7 +41628,6 @@ exports.ButtonWithAction = ButtonWithAction;
|
|
|
42336
41628
|
exports.ButtonWithLink = ButtonWithLink;
|
|
42337
41629
|
exports.CalendarIcon = CalendarIcon;
|
|
42338
41630
|
exports.CarrotIcon = CarrotIcon$1;
|
|
42339
|
-
exports.CashIcon = CashIcon;
|
|
42340
41631
|
exports.Center = Center;
|
|
42341
41632
|
exports.CenterSingle = CenterSingle$1;
|
|
42342
41633
|
exports.CenterStack = CenterStack$1;
|