@thecb/components 5.0.0-beta.4 → 5.0.0-beta.7
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 +279 -1249
- package/package.json +3 -2
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,8 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
4977
4985
|
ERROR_COLOR: ERROR_COLOR
|
|
4978
4986
|
});
|
|
4979
4987
|
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
_templateObject3 = function _templateObject3() {
|
|
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 _templateObject, _templateObject2, _templateObject3;
|
|
4989
|
+
var TextSpan = styled__default.span(_templateObject || (_templateObject = _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"])), function (_ref) {
|
|
5010
4990
|
var fontSize = _ref.fontSize;
|
|
5011
4991
|
return fontSize;
|
|
5012
4992
|
}, function (_ref2) {
|
|
@@ -5020,11 +5000,11 @@ var TextSpan = styled__default.span(_templateObject(), function (_ref) {
|
|
|
5020
5000
|
return color;
|
|
5021
5001
|
}, function (_ref5) {
|
|
5022
5002
|
var hoverStyles = _ref5.hoverStyles;
|
|
5023
|
-
return styled.css(_templateObject2(), hoverStyles);
|
|
5003
|
+
return styled.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n "])), hoverStyles);
|
|
5024
5004
|
}, ROYAL_BLUE, function (_ref6) {
|
|
5025
5005
|
var disabled = _ref6.disabled,
|
|
5026
5006
|
disabledStyles = _ref6.disabledStyles;
|
|
5027
|
-
return disabled && styled.css(_templateObject3(), disabledStyles);
|
|
5007
|
+
return disabled && styled.css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n "])), disabledStyles);
|
|
5028
5008
|
}, function (_ref7) {
|
|
5029
5009
|
var extraStyles = _ref7.extraStyles;
|
|
5030
5010
|
return extraStyles;
|
|
@@ -6147,6 +6127,8 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
6147
6127
|
checkDeniedCards: checkDeniedCards
|
|
6148
6128
|
});
|
|
6149
6129
|
|
|
6130
|
+
var _excluded$1 = ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
6131
|
+
|
|
6150
6132
|
var Text = function Text(_ref) {
|
|
6151
6133
|
var themeValues = _ref.themeValues,
|
|
6152
6134
|
_ref$weight = _ref.weight,
|
|
@@ -6161,7 +6143,7 @@ var Text = function Text(_ref) {
|
|
|
6161
6143
|
as = _ref.as,
|
|
6162
6144
|
dataQa = _ref.dataQa,
|
|
6163
6145
|
children = _ref.children,
|
|
6164
|
-
rest = _objectWithoutProperties(_ref,
|
|
6146
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
6165
6147
|
|
|
6166
6148
|
return /*#__PURE__*/React__default.createElement(TextSpan, _extends({
|
|
6167
6149
|
fontSize: themeValues.fontSize,
|
|
@@ -6179,75 +6161,9 @@ var Text = function Text(_ref) {
|
|
|
6179
6161
|
|
|
6180
6162
|
var Text$1 = themeComponent(Text, "Text", fallbackValues, "p");
|
|
6181
6163
|
|
|
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
|
-
};
|
|
6164
|
+
var _excluded$2 = ["activeStyles", "hoverStyles", "disabledStyles", "extraStyles", "borderSize", "borderColor", "borderWidthOverride", "borderRadius", "textAlign", "boxShadow", "minHeight", "minWidth", "maxWidth", "padding", "hiddenStyles", "ariaControls", "ariaLabel"];
|
|
6208
6165
|
|
|
6209
|
-
|
|
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 _templateObject$1, _templateObject2$1, _templateObject3$1, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
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,13 @@ 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
|
-
})(_templateObject$1(), function (_ref2) {
|
|
6201
|
+
})(_templateObject$1 || (_templateObject$1 = _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"])), function (_ref2) {
|
|
6286
6202
|
var padding = _ref2.padding;
|
|
6287
6203
|
return padding;
|
|
6288
6204
|
}, function (_ref3) {
|
|
@@ -6326,30 +6242,31 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
6326
6242
|
}, function (_ref15) {
|
|
6327
6243
|
var hoverStyles = _ref15.hoverStyles,
|
|
6328
6244
|
as = _ref15.as;
|
|
6329
|
-
return styled.css(_templateObject2$1(), hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6245
|
+
return styled.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6330
6246
|
}, function (_ref16) {
|
|
6331
6247
|
var as = _ref16.as;
|
|
6332
|
-
return styled.css(_templateObject3$1(), ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
|
|
6248
|
+
return styled.css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n outline: 3px solid ", ";\n outline-offset: 2px;\n ", "\n "])), ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
|
|
6333
6249
|
}, function (_ref17) {
|
|
6334
6250
|
var activeStyles = _ref17.activeStyles,
|
|
6335
6251
|
as = _ref17.as;
|
|
6336
|
-
return styled.css(_templateObject4(), activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6252
|
+
return styled.css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6337
6253
|
}, function (_ref18) {
|
|
6338
6254
|
var disabledStyles = _ref18.disabledStyles,
|
|
6339
6255
|
as = _ref18.as;
|
|
6340
|
-
return styled.css(_templateObject5(), disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6256
|
+
return styled.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6341
6257
|
}, function (_ref19) {
|
|
6342
6258
|
var color = _ref19.color;
|
|
6343
6259
|
return color;
|
|
6344
6260
|
}, function (_ref20) {
|
|
6345
6261
|
var hiddenStyles = _ref20.hiddenStyles;
|
|
6346
|
-
return hiddenStyles && styled.css(_templateObject6());
|
|
6262
|
+
return hiddenStyles && styled.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: none;\n "])));
|
|
6347
6263
|
}, function (_ref21) {
|
|
6348
6264
|
var extraStyles = _ref21.extraStyles;
|
|
6349
|
-
return styled.css(_templateObject7(), extraStyles);
|
|
6265
|
+
return styled.css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
|
|
6350
6266
|
});
|
|
6351
6267
|
/* eslint-enable no-unused-vars */
|
|
6352
6268
|
|
|
6269
|
+
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
6270
|
/*
|
|
6354
6271
|
Box component to create generic boxes
|
|
6355
6272
|
Supply padding, border, background, and color values
|
|
@@ -6391,7 +6308,7 @@ var Box = function Box(_ref) {
|
|
|
6391
6308
|
extraStyles = _ref.extraStyles,
|
|
6392
6309
|
dataQa = _ref.dataQa,
|
|
6393
6310
|
children = _ref.children,
|
|
6394
|
-
rest = _objectWithoutProperties(_ref,
|
|
6311
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
6395
6312
|
|
|
6396
6313
|
return /*#__PURE__*/React__default.createElement(BoxWrapper, _extends({
|
|
6397
6314
|
padding: padding,
|
|
@@ -6427,16 +6344,8 @@ var Box = function Box(_ref) {
|
|
|
6427
6344
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6428
6345
|
};
|
|
6429
6346
|
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
_templateObject$2 = function _templateObject() {
|
|
6434
|
-
return data;
|
|
6435
|
-
};
|
|
6436
|
-
|
|
6437
|
-
return data;
|
|
6438
|
-
}
|
|
6439
|
-
var CenterWrapper = styled__default.div(_templateObject$2(), function (_ref) {
|
|
6347
|
+
var _templateObject$2;
|
|
6348
|
+
var CenterWrapper = styled__default.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n box-sizing: content-box;\n margin-left: auto;\n margin-right: auto;\n max-width: ", ";\n padding-left: ", ";\n padding-right: ", ";\n ", ";\n"])), function (_ref) {
|
|
6440
6349
|
var maxWidth = _ref.maxWidth;
|
|
6441
6350
|
return maxWidth;
|
|
6442
6351
|
}, function (_ref2) {
|
|
@@ -6450,6 +6359,7 @@ var CenterWrapper = styled__default.div(_templateObject$2(), function (_ref) {
|
|
|
6450
6359
|
return intrinsic ? "\n display: flex;\n flex-direction: column;\n align-items: center;\n " : "";
|
|
6451
6360
|
});
|
|
6452
6361
|
|
|
6362
|
+
var _excluded$4 = ["maxWidth", "gutters", "intrinsic", "children"];
|
|
6453
6363
|
/*
|
|
6454
6364
|
Component to horizontally center itself (with auto right and left margins)
|
|
6455
6365
|
Use intrinsic prop if you want its children that are narrower than the max-width
|
|
@@ -6462,7 +6372,7 @@ var Center = function Center(_ref) {
|
|
|
6462
6372
|
_ref$intrinsic = _ref.intrinsic,
|
|
6463
6373
|
intrinsic = _ref$intrinsic === void 0 ? false : _ref$intrinsic,
|
|
6464
6374
|
children = _ref.children,
|
|
6465
|
-
rest = _objectWithoutProperties(_ref,
|
|
6375
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
6466
6376
|
|
|
6467
6377
|
return /*#__PURE__*/React__default.createElement(CenterWrapper, _extends({
|
|
6468
6378
|
maxWidth: maxWidth,
|
|
@@ -6471,33 +6381,17 @@ var Center = function Center(_ref) {
|
|
|
6471
6381
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6472
6382
|
};
|
|
6473
6383
|
|
|
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
|
-
};
|
|
6384
|
+
var _excluded$5 = ["overflow"];
|
|
6490
6385
|
|
|
6491
|
-
|
|
6492
|
-
}
|
|
6386
|
+
var _templateObject$3, _templateObject2$2;
|
|
6493
6387
|
/* eslint-disable no-unused-vars */
|
|
6494
6388
|
|
|
6495
6389
|
var ClusterWrapper = styled__default(function (_ref) {
|
|
6496
6390
|
var overflow = _ref.overflow,
|
|
6497
|
-
props = _objectWithoutProperties(_ref,
|
|
6391
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
6498
6392
|
|
|
6499
6393
|
return /*#__PURE__*/React__default.createElement("div", props);
|
|
6500
|
-
})(_templateObject$3(), function (_ref2) {
|
|
6394
|
+
})(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n justify-self: ", ";\n align-self: ", ";\n flex-grow: ", ";\n ", ";\n"])), function (_ref2) {
|
|
6501
6395
|
var overflow = _ref2.overflow;
|
|
6502
6396
|
return overflow ? "visible" : "hidden";
|
|
6503
6397
|
}, function (_ref3) {
|
|
@@ -6513,7 +6407,7 @@ var ClusterWrapper = styled__default(function (_ref) {
|
|
|
6513
6407
|
var extraStyles = _ref6.extraStyles;
|
|
6514
6408
|
return extraStyles;
|
|
6515
6409
|
});
|
|
6516
|
-
var ClusterInnerWrapper = styled__default.div(_templateObject2$2(), function (_ref7) {
|
|
6410
|
+
var ClusterInnerWrapper = styled__default.div(_templateObject2$2 || (_templateObject2$2 = _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"])), function (_ref7) {
|
|
6517
6411
|
var nowrap = _ref7.nowrap;
|
|
6518
6412
|
return nowrap ? "nowrap" : "wrap";
|
|
6519
6413
|
}, function (_ref8) {
|
|
@@ -6536,6 +6430,7 @@ var ClusterInnerWrapper = styled__default.div(_templateObject2$2(), function (_r
|
|
|
6536
6430
|
return childGap;
|
|
6537
6431
|
});
|
|
6538
6432
|
|
|
6433
|
+
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"];
|
|
6539
6434
|
/*
|
|
6540
6435
|
Cluster components suit any groups of elements that differ in
|
|
6541
6436
|
length and are liable to wrap. Buttons that appear together at the
|
|
@@ -6559,7 +6454,7 @@ var Cluster = function Cluster(_ref) {
|
|
|
6559
6454
|
flexGrow = _ref.flexGrow,
|
|
6560
6455
|
extraStyles = _ref.extraStyles,
|
|
6561
6456
|
children = _ref.children,
|
|
6562
|
-
rest = _objectWithoutProperties(_ref,
|
|
6457
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
6563
6458
|
|
|
6564
6459
|
return /*#__PURE__*/React__default.createElement(ClusterWrapper, _extends({
|
|
6565
6460
|
overflow: overflow
|
|
@@ -6578,16 +6473,8 @@ var Cluster = function Cluster(_ref) {
|
|
|
6578
6473
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
6579
6474
|
};
|
|
6580
6475
|
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
_templateObject$4 = function _templateObject() {
|
|
6585
|
-
return data;
|
|
6586
|
-
};
|
|
6587
|
-
|
|
6588
|
-
return data;
|
|
6589
|
-
}
|
|
6590
|
-
var GridWrapper = styled__default.div(_templateObject$4(), function (_ref) {
|
|
6476
|
+
var _templateObject$4;
|
|
6477
|
+
var GridWrapper = styled__default.div(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n display: grid;\n grid-gap: ", ";\n grid-template-columns: ", ";\n\n @supports (width: min(", ", 100%)) {\n & {\n grid-template-columns: repeat(\n auto-fill,\n minmax(\n ", ",\n ", "\n )\n );\n }\n }\n"])), function (_ref) {
|
|
6591
6478
|
var columnGap = _ref.columnGap;
|
|
6592
6479
|
return columnGap;
|
|
6593
6480
|
}, function (_ref2) {
|
|
@@ -6606,6 +6493,8 @@ var GridWrapper = styled__default.div(_templateObject$4(), function (_ref) {
|
|
|
6606
6493
|
return maxColWidth;
|
|
6607
6494
|
});
|
|
6608
6495
|
|
|
6496
|
+
var _excluded$7 = ["columnGap", "minColWidth", "maxColWidth", "children"];
|
|
6497
|
+
|
|
6609
6498
|
var Grid = function Grid(_ref) {
|
|
6610
6499
|
var columnGap = _ref.columnGap,
|
|
6611
6500
|
_ref$minColWidth = _ref.minColWidth,
|
|
@@ -6613,7 +6502,7 @@ var Grid = function Grid(_ref) {
|
|
|
6613
6502
|
_ref$maxColWidth = _ref.maxColWidth,
|
|
6614
6503
|
maxColWidth = _ref$maxColWidth === void 0 ? "1fr" : _ref$maxColWidth,
|
|
6615
6504
|
children = _ref.children,
|
|
6616
|
-
rest = _objectWithoutProperties(_ref,
|
|
6505
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
6617
6506
|
|
|
6618
6507
|
var ref = React.useRef();
|
|
6619
6508
|
|
|
@@ -6641,26 +6530,10 @@ var Grid = function Grid(_ref) {
|
|
|
6641
6530
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6642
6531
|
};
|
|
6643
6532
|
|
|
6644
|
-
|
|
6645
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n box-sizing: border-box;\n margin: calc(", " / 2 * -1);\n\n > * {\n margin: calc(", " / 2);\n flex-grow: 1;\n ", ";\n ", "\n }\n\n ", "\n\n ", "\n"]);
|
|
6646
|
-
|
|
6647
|
-
_templateObject2$3 = function _templateObject2() {
|
|
6648
|
-
return data;
|
|
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"]);
|
|
6533
|
+
var _excluded$8 = ["onRight", "childGap", "contentMinWidth", "minHeight", "fullHeight"];
|
|
6656
6534
|
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
};
|
|
6660
|
-
|
|
6661
|
-
return data;
|
|
6662
|
-
}
|
|
6663
|
-
var SidebarWrapper = styled__default.div(_templateObject$5(), function (_ref) {
|
|
6535
|
+
var _templateObject$5, _templateObject2$3;
|
|
6536
|
+
var SidebarWrapper = styled__default.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n overflow: visible;\n box-sizing: border-box;\n\n ", "\n"])), function (_ref) {
|
|
6664
6537
|
var fullHeight = _ref.fullHeight;
|
|
6665
6538
|
return fullHeight ? "height: 100%;" : "";
|
|
6666
6539
|
});
|
|
@@ -6671,10 +6544,10 @@ function (_ref2) {
|
|
|
6671
6544
|
contentMinWidth = _ref2.contentMinWidth,
|
|
6672
6545
|
minHeight = _ref2.minHeight,
|
|
6673
6546
|
fullHeight = _ref2.fullHeight,
|
|
6674
|
-
props = _objectWithoutProperties(_ref2,
|
|
6547
|
+
props = _objectWithoutProperties(_ref2, _excluded$8);
|
|
6675
6548
|
|
|
6676
6549
|
return /*#__PURE__*/React__default.createElement("div", props);
|
|
6677
|
-
})(_templateObject2$3(), function (_ref3) {
|
|
6550
|
+
})(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n box-sizing: border-box;\n margin: calc(", " / 2 * -1);\n\n > * {\n margin: calc(", " / 2);\n flex-grow: 1;\n ", ";\n ", "\n }\n\n ", "\n\n ", "\n"])), function (_ref3) {
|
|
6678
6551
|
var childGap = _ref3.childGap;
|
|
6679
6552
|
return childGap;
|
|
6680
6553
|
}, function (_ref4) {
|
|
@@ -6696,6 +6569,7 @@ function (_ref2) {
|
|
|
6696
6569
|
return fullHeight ? "min-height: 100%;" : "";
|
|
6697
6570
|
});
|
|
6698
6571
|
|
|
6572
|
+
var _excluded$9 = ["childGap", "width", "sidebarOnRight", "contentMinWidth", "fullHeight", "minHeight", "children"];
|
|
6699
6573
|
/*
|
|
6700
6574
|
Component to assist in creating layouts with some element and a sidebar next to it
|
|
6701
6575
|
Sidebar takes a width value, this is the ideal target with, and what the sidebar
|
|
@@ -6721,7 +6595,7 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
6721
6595
|
fullHeight = _ref$fullHeight === void 0 ? false : _ref$fullHeight,
|
|
6722
6596
|
minHeight = _ref.minHeight,
|
|
6723
6597
|
children = _ref.children,
|
|
6724
|
-
rest = _objectWithoutProperties(_ref,
|
|
6598
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
6725
6599
|
|
|
6726
6600
|
return /*#__PURE__*/React__default.createElement(SidebarWrapper, _extends({
|
|
6727
6601
|
fullHeight: fullHeight,
|
|
@@ -6736,16 +6610,8 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
6736
6610
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
6737
6611
|
};
|
|
6738
6612
|
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
_templateObject$6 = function _templateObject() {
|
|
6743
|
-
return data;
|
|
6744
|
-
};
|
|
6745
|
-
|
|
6746
|
-
return data;
|
|
6747
|
-
}
|
|
6748
|
-
var StackWrapper = styled__default.div(_templateObject$6(), function (_ref) {
|
|
6613
|
+
var _templateObject$6;
|
|
6614
|
+
var StackWrapper = styled__default.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-direction: ", ";\n justify-content: ", ";\n height: ", ";\n\n > * {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n > * + * {\n ", "\n }\n\n ", ";\n"])), function (_ref) {
|
|
6749
6615
|
var direction = _ref.direction;
|
|
6750
6616
|
return direction;
|
|
6751
6617
|
}, function (_ref2) {
|
|
@@ -6764,6 +6630,7 @@ var StackWrapper = styled__default.div(_templateObject$6(), function (_ref) {
|
|
|
6764
6630
|
return bottomItem ? "\n > :nth-child(".concat(bottomItem, ") {\n ").concat(direction === "row" ? "margin-left: auto;" : "margin-top: auto;", "\n }\n ") : "";
|
|
6765
6631
|
});
|
|
6766
6632
|
|
|
6633
|
+
var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"];
|
|
6767
6634
|
/*
|
|
6768
6635
|
Component to impose margin-top between a list of child elements
|
|
6769
6636
|
Useful for things like sidebars and button lists
|
|
@@ -6784,7 +6651,7 @@ var Stack = function Stack(_ref) {
|
|
|
6784
6651
|
_ref$direction = _ref.direction,
|
|
6785
6652
|
direction = _ref$direction === void 0 ? "column" : _ref$direction,
|
|
6786
6653
|
justify = _ref.justify,
|
|
6787
|
-
rest = _objectWithoutProperties(_ref,
|
|
6654
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
6788
6655
|
|
|
6789
6656
|
return /*#__PURE__*/React__default.createElement(StackWrapper, _extends({
|
|
6790
6657
|
childGap: childGap,
|
|
@@ -6795,16 +6662,8 @@ var Stack = function Stack(_ref) {
|
|
|
6795
6662
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6796
6663
|
};
|
|
6797
6664
|
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
_templateObject$7 = function _templateObject() {
|
|
6802
|
-
return data;
|
|
6803
|
-
};
|
|
6804
|
-
|
|
6805
|
-
return data;
|
|
6806
|
-
}
|
|
6807
|
-
var CoverOuterContainer = styled__default.div(_templateObject$7(), function (_ref) {
|
|
6665
|
+
var _templateObject$7;
|
|
6666
|
+
var CoverOuterContainer = styled__default.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n min-height: ", ";\n padding: ", ";\n min-width: ", ";\n\n > * {\n margin-top: ", ";\n margin-bottom: ", ";\n }\n\n > :first-child {\n margin-top: 0;\n }\n\n ", "\n\n ", "\n\n > :last-child {\n margin-bottom: 0;\n }\n"])), function (_ref) {
|
|
6808
6667
|
var minHeight = _ref.minHeight;
|
|
6809
6668
|
return minHeight;
|
|
6810
6669
|
}, function (_ref2) {
|
|
@@ -6827,6 +6686,7 @@ var CoverOuterContainer = styled__default.div(_templateObject$7(), function (_re
|
|
|
6827
6686
|
return centerOverride ? "> :nth-child(2) {margin-top: 0; margin-bottom: auto;}" : "> :nth-child(2) {margin-top: auto; margin-bottom: auto;}";
|
|
6828
6687
|
});
|
|
6829
6688
|
|
|
6689
|
+
var _excluded$b = ["minHeight", "childGap", "padding", "fillCenter", "singleChild", "centerOverride", "children"];
|
|
6830
6690
|
/*
|
|
6831
6691
|
The Cover component is used when you want to have one center element
|
|
6832
6692
|
and an optional top/header element and/or an optional bottom/footer element.
|
|
@@ -6856,7 +6716,7 @@ var Cover = function Cover(_ref) {
|
|
|
6856
6716
|
singleChild = _ref.singleChild,
|
|
6857
6717
|
centerOverride = _ref.centerOverride,
|
|
6858
6718
|
children = _ref.children,
|
|
6859
|
-
rest = _objectWithoutProperties(_ref,
|
|
6719
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
6860
6720
|
|
|
6861
6721
|
return /*#__PURE__*/React__default.createElement(CoverOuterContainer, _extends({
|
|
6862
6722
|
minHeight: minHeight,
|
|
@@ -6867,21 +6727,14 @@ var Cover = function Cover(_ref) {
|
|
|
6867
6727
|
}, 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
6728
|
};
|
|
6869
6729
|
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
_templateObject$8 = function _templateObject() {
|
|
6874
|
-
return data;
|
|
6875
|
-
};
|
|
6876
|
-
|
|
6877
|
-
return data;
|
|
6878
|
-
}
|
|
6879
|
-
var FrameOuterContainer = styled__default.div(_templateObject$8(), function (_ref) {
|
|
6730
|
+
var _templateObject$8;
|
|
6731
|
+
var FrameOuterContainer = styled__default.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n padding-bottom: ", ";\n position: relative;\n\n > * {\n overflow: hidden;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n > img,\n > video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n"])), function (_ref) {
|
|
6880
6732
|
var numerator = _ref.numerator,
|
|
6881
6733
|
denominator = _ref.denominator;
|
|
6882
6734
|
return "calc((".concat(numerator, " / ").concat(denominator, ") * 100%)");
|
|
6883
6735
|
});
|
|
6884
6736
|
|
|
6737
|
+
var _excluded$c = ["numerator", "denominator", "children"];
|
|
6885
6738
|
/*
|
|
6886
6739
|
The Frame component is used for cropping content to a specific aspect ratio.
|
|
6887
6740
|
The aspect ratio is supplied by the numerator and denominator props.
|
|
@@ -6901,7 +6754,7 @@ var Frame = function Frame(_ref) {
|
|
|
6901
6754
|
_ref$denominator = _ref.denominator,
|
|
6902
6755
|
denominator = _ref$denominator === void 0 ? 1 : _ref$denominator,
|
|
6903
6756
|
children = _ref.children,
|
|
6904
|
-
rest = _objectWithoutProperties(_ref,
|
|
6757
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
6905
6758
|
|
|
6906
6759
|
return /*#__PURE__*/React__default.createElement(FrameOuterContainer, _extends({
|
|
6907
6760
|
numerator: numerator,
|
|
@@ -6909,37 +6762,9 @@ var Frame = function Frame(_ref) {
|
|
|
6909
6762
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
6910
6763
|
};
|
|
6911
6764
|
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
_templateObject3$2 = function _templateObject3() {
|
|
6916
|
-
return data;
|
|
6917
|
-
};
|
|
6918
|
-
|
|
6919
|
-
return data;
|
|
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) {
|
|
6765
|
+
var _templateObject$9, _templateObject2$4, _templateObject3$2;
|
|
6766
|
+
var SwitcherOuterContainer = styled__default.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: block;\n"])));
|
|
6767
|
+
var SwitcherInnerContainer = styled__default.div(_templateObject2$4 || (_templateObject2$4 = _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"])), function (_ref) {
|
|
6943
6768
|
var padding = _ref.padding;
|
|
6944
6769
|
return padding;
|
|
6945
6770
|
}, function (_ref2) {
|
|
@@ -6968,9 +6793,10 @@ var SwitcherInnerContainer = styled__default.div(_templateObject2$4(), function
|
|
|
6968
6793
|
return maxChildren ? "> :nth-last-child(".concat(maxChildren + 1, "), > :nth-last-child(").concat(maxChildren + 1, ") ~ * {\n flex-basis: 100%;\n }") : "";
|
|
6969
6794
|
}, function (_ref9) {
|
|
6970
6795
|
var extraStyles = _ref9.extraStyles;
|
|
6971
|
-
return styled.css(_templateObject3$2(), extraStyles);
|
|
6796
|
+
return styled.css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
|
|
6972
6797
|
});
|
|
6973
6798
|
|
|
6799
|
+
var _excluded$d = ["breakpoint", "childGap", "largeChild", "largeChildSize", "maxChildren", "maxChildrenOnly", "padding", "children", "extraStyles", "constrainMobile"];
|
|
6974
6800
|
/*
|
|
6975
6801
|
The Switcher is a component that is used to toggle between wide and narrow
|
|
6976
6802
|
layouts based on the size of the surrounding container. In the wide layout,
|
|
@@ -7019,7 +6845,7 @@ var Switcher = function Switcher(_ref) {
|
|
|
7019
6845
|
extraStyles = _ref.extraStyles,
|
|
7020
6846
|
_ref$constrainMobile = _ref.constrainMobile,
|
|
7021
6847
|
constrainMobile = _ref$constrainMobile === void 0 ? false : _ref$constrainMobile,
|
|
7022
|
-
rest = _objectWithoutProperties(_ref,
|
|
6848
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
7023
6849
|
|
|
7024
6850
|
return /*#__PURE__*/React__default.createElement(SwitcherOuterContainer, null, /*#__PURE__*/React__default.createElement(SwitcherInnerContainer, _extends({
|
|
7025
6851
|
breakpoint: breakpoint,
|
|
@@ -7034,16 +6860,8 @@ var Switcher = function Switcher(_ref) {
|
|
|
7034
6860
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
7035
6861
|
};
|
|
7036
6862
|
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
_templateObject$a = function _templateObject() {
|
|
7041
|
-
return data;
|
|
7042
|
-
};
|
|
7043
|
-
|
|
7044
|
-
return data;
|
|
7045
|
-
}
|
|
7046
|
-
var ImposterWrapper = styled__default.div(_templateObject$a(), function (_ref) {
|
|
6863
|
+
var _templateObject$a;
|
|
6864
|
+
var ImposterWrapper = styled__default.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n position: ", ";\n top: ", ";\n left: ", ";\n display: ", ";\n\n ", "\n\n ", "\n ", ";\n"])), function (_ref) {
|
|
7047
6865
|
var fixed = _ref.fixed;
|
|
7048
6866
|
return fixed ? "fixed" : "absolute";
|
|
7049
6867
|
}, function (_ref2) {
|
|
@@ -7068,6 +6886,7 @@ var ImposterWrapper = styled__default.div(_templateObject$a(), function (_ref) {
|
|
|
7068
6886
|
return extraStyles;
|
|
7069
6887
|
});
|
|
7070
6888
|
|
|
6889
|
+
var _excluded$e = ["fixed", "verticalMargin", "horizontalMargin", "breakout", "top", "left", "centered", "visible", "children"];
|
|
7071
6890
|
/*
|
|
7072
6891
|
The imposter is used to position content over a parent node.
|
|
7073
6892
|
Great for tooltips, modals, dialogs, etc.
|
|
@@ -7106,7 +6925,7 @@ var Imposter = function Imposter(_ref) {
|
|
|
7106
6925
|
_ref$visible = _ref.visible,
|
|
7107
6926
|
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
7108
6927
|
children = _ref.children,
|
|
7109
|
-
rest = _objectWithoutProperties(_ref,
|
|
6928
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
7110
6929
|
|
|
7111
6930
|
return /*#__PURE__*/React__default.createElement(ImposterWrapper, _extends({
|
|
7112
6931
|
fixed: fixed,
|
|
@@ -12182,16 +12001,8 @@ if (typeof window !== "undefined") {
|
|
|
12182
12001
|
}
|
|
12183
12002
|
}
|
|
12184
12003
|
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
_templateObject$b = function _templateObject() {
|
|
12189
|
-
return data;
|
|
12190
|
-
};
|
|
12191
|
-
|
|
12192
|
-
return data;
|
|
12193
|
-
}
|
|
12194
|
-
var MotionWrapper = styled__default(motion.div)(_templateObject$b(), function (_ref) {
|
|
12004
|
+
var _templateObject$b;
|
|
12005
|
+
var MotionWrapper = styled__default(motion.div)(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n position: ", ";\n display: ", ";\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n border-color: ", ";\n border-size: ", ";\n border-style: ", ";\n border-width: ", ";\n border-radius: ", ";\n background-color: ", ";\n box-shadow: ", ";\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n text-align: ", ";\n margin: ", ";\n\n &:hover,\n &:focus {\n ", ";\n }\n\n &:active {\n ", ";\n }\n\n &:disabled {\n ", ";\n }\n\n ", ";\n"])), function (_ref) {
|
|
12195
12006
|
var position = _ref.position;
|
|
12196
12007
|
return position;
|
|
12197
12008
|
}, function (_ref2) {
|
|
@@ -12256,6 +12067,7 @@ var MotionWrapper = styled__default(motion.div)(_templateObject$b(), function (_
|
|
|
12256
12067
|
return extraStyles;
|
|
12257
12068
|
});
|
|
12258
12069
|
|
|
12070
|
+
var _excluded$f = ["position", "padding", "children"];
|
|
12259
12071
|
/*
|
|
12260
12072
|
Catch-all component for creating animations with Framer Motion library
|
|
12261
12073
|
Wraps the framer motion "motion.div" with styled components and allows for passing
|
|
@@ -12297,7 +12109,7 @@ var Motion = function Motion(_ref) {
|
|
|
12297
12109
|
_ref$padding = _ref.padding,
|
|
12298
12110
|
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
12299
12111
|
children = _ref.children,
|
|
12300
|
-
rest = _objectWithoutProperties(_ref,
|
|
12112
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
12301
12113
|
|
|
12302
12114
|
return /*#__PURE__*/React__default.createElement(MotionWrapper, _extends({
|
|
12303
12115
|
position: position,
|
|
@@ -12305,16 +12117,8 @@ var Motion = function Motion(_ref) {
|
|
|
12305
12117
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
12306
12118
|
};
|
|
12307
12119
|
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
_templateObject$c = function _templateObject() {
|
|
12312
|
-
return data;
|
|
12313
|
-
};
|
|
12314
|
-
|
|
12315
|
-
return data;
|
|
12316
|
-
}
|
|
12317
|
-
var ReelStyled = styled__default.div(_templateObject$c(), function (_ref) {
|
|
12120
|
+
var _templateObject$c;
|
|
12121
|
+
var ReelStyled = styled__default.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n display: flex;\n overflow-x: ", ";\n padding: ", ";\n height: ", ";\n justify-content: ", ";\n\n > * + * {\n margin-left: ", ";\n }\n\n > * {\n flex: 0 0 ", ";\n }\n"])), function (_ref) {
|
|
12318
12122
|
var disableScroll = _ref.disableScroll;
|
|
12319
12123
|
return disableScroll ? "hidden" : "auto";
|
|
12320
12124
|
}, function (_ref2) {
|
|
@@ -12334,6 +12138,8 @@ var ReelStyled = styled__default.div(_templateObject$c(), function (_ref) {
|
|
|
12334
12138
|
return childWidth;
|
|
12335
12139
|
});
|
|
12336
12140
|
|
|
12141
|
+
var _excluded$g = ["childGap", "height", "childWidth", "padding", "justifyContent", "disableScroll", "children"];
|
|
12142
|
+
|
|
12337
12143
|
var Reel = function Reel(_ref) {
|
|
12338
12144
|
var _ref$childGap = _ref.childGap,
|
|
12339
12145
|
childGap = _ref$childGap === void 0 ? "1rem" : _ref$childGap,
|
|
@@ -12348,7 +12154,7 @@ var Reel = function Reel(_ref) {
|
|
|
12348
12154
|
_ref$disableScroll = _ref.disableScroll,
|
|
12349
12155
|
disableScroll = _ref$disableScroll === void 0 ? false : _ref$disableScroll,
|
|
12350
12156
|
children = _ref.children,
|
|
12351
|
-
rest = _objectWithoutProperties(_ref,
|
|
12157
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
12352
12158
|
|
|
12353
12159
|
return /*#__PURE__*/React__default.createElement(ReelStyled, _extends({
|
|
12354
12160
|
childGap: childGap,
|
|
@@ -12563,25 +12369,7 @@ var fallbackValues$1 = {
|
|
|
12563
12369
|
activeColor: activeColor
|
|
12564
12370
|
};
|
|
12565
12371
|
|
|
12566
|
-
|
|
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
|
-
}
|
|
12372
|
+
var _templateObject$d, _templateObject2$5;
|
|
12585
12373
|
var rotate = posed.div({
|
|
12586
12374
|
fixed: {
|
|
12587
12375
|
rotate: "0deg"
|
|
@@ -12597,8 +12385,8 @@ var rotate = posed.div({
|
|
|
12597
12385
|
}
|
|
12598
12386
|
}
|
|
12599
12387
|
});
|
|
12600
|
-
var SpinnerContainer = styled__default.div(_templateObject$d());
|
|
12601
|
-
var SpinnerIconWrapper = styled__default(rotate)(_templateObject2$5(), function (_ref) {
|
|
12388
|
+
var SpinnerContainer = styled__default.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"])));
|
|
12389
|
+
var SpinnerIconWrapper = styled__default(rotate)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n width: ", "px;\n height: ", "px;\n"])), function (_ref) {
|
|
12602
12390
|
var isMobile = _ref.isMobile;
|
|
12603
12391
|
return isMobile ? "18" : "21";
|
|
12604
12392
|
}, function (_ref2) {
|
|
@@ -12641,25 +12429,9 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12641
12429
|
}))))));
|
|
12642
12430
|
};
|
|
12643
12431
|
|
|
12644
|
-
|
|
12645
|
-
var data = _taggedTemplateLiteral([""]);
|
|
12646
|
-
|
|
12647
|
-
_templateObject2$6 = function _templateObject2() {
|
|
12648
|
-
return data;
|
|
12649
|
-
};
|
|
12432
|
+
var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
12650
12433
|
|
|
12651
|
-
|
|
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
|
-
}
|
|
12434
|
+
var _templateObject$e, _templateObject2$6;
|
|
12663
12435
|
var rotate$1 = posed.div({
|
|
12664
12436
|
fixed: {
|
|
12665
12437
|
rotate: "0deg"
|
|
@@ -12675,8 +12447,8 @@ var rotate$1 = posed.div({
|
|
|
12675
12447
|
}
|
|
12676
12448
|
}
|
|
12677
12449
|
});
|
|
12678
|
-
var SpinnerContainer$1 = styled__default.div(_templateObject$e());
|
|
12679
|
-
var SpinnerIconWrapper$1 = styled__default(rotate$1)(_templateObject2$6());
|
|
12450
|
+
var SpinnerContainer$1 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"])));
|
|
12451
|
+
var SpinnerIconWrapper$1 = styled__default(rotate$1)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral([""])));
|
|
12680
12452
|
|
|
12681
12453
|
var Spinner = function Spinner(_ref) {
|
|
12682
12454
|
var isMobile = _ref.isMobile;
|
|
@@ -12721,7 +12493,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12721
12493
|
extraStyles = _ref2$extraStyles === void 0 ? "" : _ref2$extraStyles,
|
|
12722
12494
|
tabIndex = _ref2.tabIndex,
|
|
12723
12495
|
children = _ref2.children,
|
|
12724
|
-
rest = _objectWithoutProperties(_ref2,
|
|
12496
|
+
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12725
12497
|
|
|
12726
12498
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
12727
12499
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
@@ -13697,27 +13469,9 @@ var GenericCard = function GenericCard() {
|
|
|
13697
13469
|
})))));
|
|
13698
13470
|
};
|
|
13699
13471
|
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
_templateObject2$7 = function _templateObject2() {
|
|
13704
|
-
return data;
|
|
13705
|
-
};
|
|
13706
|
-
|
|
13707
|
-
return data;
|
|
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);
|
|
13472
|
+
var _templateObject$f, _templateObject2$7;
|
|
13473
|
+
var BankItemWrapper = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"])));
|
|
13474
|
+
var BankAccountText = styled__default.h4(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5rem;\n text-align: left;\n margin-right: 0.5rem;\n display: inline-block;\n"])), CHARADE_GREY);
|
|
13721
13475
|
var CHECKING = "CHECKING";
|
|
13722
13476
|
var SAVINGS = "SAVINGS";
|
|
13723
13477
|
|
|
@@ -15995,16 +15749,8 @@ var Alert = function Alert(_ref) {
|
|
|
15995
15749
|
|
|
15996
15750
|
var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$4, "info");
|
|
15997
15751
|
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
_templateObject$g = function _templateObject() {
|
|
16002
|
-
return data;
|
|
16003
|
-
};
|
|
16004
|
-
|
|
16005
|
-
return data;
|
|
16006
|
-
}
|
|
16007
|
-
var HeadingText = styled__default.h1(_templateObject$g(), function (_ref) {
|
|
15752
|
+
var _templateObject$g;
|
|
15753
|
+
var HeadingText = styled__default.h1(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
|
|
16008
15754
|
var fontSize = _ref.fontSize;
|
|
16009
15755
|
return fontSize;
|
|
16010
15756
|
}, function (_ref2) {
|
|
@@ -16044,6 +15790,8 @@ var fallbackValues$5 = {
|
|
|
16044
15790
|
fontSize: fontSize$1
|
|
16045
15791
|
};
|
|
16046
15792
|
|
|
15793
|
+
var _excluded$i = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
15794
|
+
|
|
16047
15795
|
var Heading = function Heading(_ref) {
|
|
16048
15796
|
var themeValues = _ref.themeValues,
|
|
16049
15797
|
_ref$weight = _ref.weight,
|
|
@@ -16062,7 +15810,7 @@ var Heading = function Heading(_ref) {
|
|
|
16062
15810
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
16063
15811
|
dataQa = _ref.dataQa,
|
|
16064
15812
|
children = _ref.children,
|
|
16065
|
-
rest = _objectWithoutProperties(_ref,
|
|
15813
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
16066
15814
|
|
|
16067
15815
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
16068
15816
|
variant: variant,
|
|
@@ -16142,10 +15890,19 @@ function _assertThisInitialized(self) {
|
|
|
16142
15890
|
return self;
|
|
16143
15891
|
}
|
|
16144
15892
|
|
|
15893
|
+
function _setPrototypeOf(o, p) {
|
|
15894
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
15895
|
+
o.__proto__ = p;
|
|
15896
|
+
return o;
|
|
15897
|
+
};
|
|
15898
|
+
|
|
15899
|
+
return _setPrototypeOf(o, p);
|
|
15900
|
+
}
|
|
15901
|
+
|
|
16145
15902
|
function _inheritsLoose(subClass, superClass) {
|
|
16146
15903
|
subClass.prototype = Object.create(superClass.prototype);
|
|
16147
15904
|
subClass.prototype.constructor = subClass;
|
|
16148
|
-
subClass
|
|
15905
|
+
_setPrototypeOf(subClass, superClass);
|
|
16149
15906
|
}
|
|
16150
15907
|
|
|
16151
15908
|
function _getPrototypeOf(o) {
|
|
@@ -16155,15 +15912,6 @@ function _getPrototypeOf(o) {
|
|
|
16155
15912
|
return _getPrototypeOf(o);
|
|
16156
15913
|
}
|
|
16157
15914
|
|
|
16158
|
-
function _setPrototypeOf(o, p) {
|
|
16159
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
16160
|
-
o.__proto__ = p;
|
|
16161
|
-
return o;
|
|
16162
|
-
};
|
|
16163
|
-
|
|
16164
|
-
return _setPrototypeOf(o, p);
|
|
16165
|
-
}
|
|
16166
|
-
|
|
16167
15915
|
function _isNativeFunction(fn) {
|
|
16168
15916
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
16169
15917
|
}
|
|
@@ -16174,7 +15922,7 @@ function _isNativeReflectConstruct() {
|
|
|
16174
15922
|
if (typeof Proxy === "function") return true;
|
|
16175
15923
|
|
|
16176
15924
|
try {
|
|
16177
|
-
|
|
15925
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
16178
15926
|
return true;
|
|
16179
15927
|
} catch (e) {
|
|
16180
15928
|
return false;
|
|
@@ -16314,7 +16062,9 @@ var ERRORS = {
|
|
|
16314
16062
|
"73": "Please provide a valid CSS variable.\n\n",
|
|
16315
16063
|
"74": "CSS variable not found and no default was provided.\n\n",
|
|
16316
16064
|
"75": "important requires a valid style object, got a %s instead.\n\n",
|
|
16317
|
-
"76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n"
|
|
16065
|
+
"76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",
|
|
16066
|
+
"77": "remToPx expects a value in \"rem\" but you provided it in \"%s\".\n\n",
|
|
16067
|
+
"78": "base must be set in \"px\" or \"%\" but you set it in \"%s\".\n"
|
|
16318
16068
|
};
|
|
16319
16069
|
/**
|
|
16320
16070
|
* super basic version of sprintf
|
|
@@ -16656,7 +16406,7 @@ function parseToRgb(color) {
|
|
|
16656
16406
|
};
|
|
16657
16407
|
}
|
|
16658
16408
|
|
|
16659
|
-
var rgbaMatched = rgbaRegex.exec(normalizedColor);
|
|
16409
|
+
var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
|
|
16660
16410
|
|
|
16661
16411
|
if (rgbaMatched) {
|
|
16662
16412
|
return {
|
|
@@ -16687,7 +16437,7 @@ function parseToRgb(color) {
|
|
|
16687
16437
|
};
|
|
16688
16438
|
}
|
|
16689
16439
|
|
|
16690
|
-
var hslaMatched = hslaRegex.exec(normalizedColor);
|
|
16440
|
+
var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
|
|
16691
16441
|
|
|
16692
16442
|
if (hslaMatched) {
|
|
16693
16443
|
var _hue = parseInt("" + hslaMatched[1], 10);
|
|
@@ -16933,11 +16683,13 @@ var fallbackValues$7 = {
|
|
|
16933
16683
|
linkColor: linkColor
|
|
16934
16684
|
};
|
|
16935
16685
|
|
|
16686
|
+
var _excluded$j = ["variant", "themeValues", "children"];
|
|
16687
|
+
|
|
16936
16688
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
16937
16689
|
var variant = _ref.variant,
|
|
16938
16690
|
themeValues = _ref.themeValues,
|
|
16939
16691
|
children = _ref.children,
|
|
16940
|
-
props = _objectWithoutProperties(_ref,
|
|
16692
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
16941
16693
|
|
|
16942
16694
|
var shadowRegistry = {
|
|
16943
16695
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
@@ -16995,15 +16747,9 @@ var fallbackValues$9 = {
|
|
|
16995
16747
|
externalLinkColor: externalLinkColor
|
|
16996
16748
|
};
|
|
16997
16749
|
|
|
16998
|
-
|
|
16999
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n font-size: ", ";\n color: ", ";\n font-weight: ", ";\n font-family: ", ";\n line-height: ", ";\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"]);
|
|
16750
|
+
var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
|
|
17000
16751
|
|
|
17001
|
-
|
|
17002
|
-
return data;
|
|
17003
|
-
};
|
|
17004
|
-
|
|
17005
|
-
return data;
|
|
17006
|
-
}
|
|
16752
|
+
var _templateObject$h;
|
|
17007
16753
|
/*
|
|
17008
16754
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
17009
16755
|
unrecognized DOM attributes.
|
|
@@ -17015,10 +16761,10 @@ var StyledExternalLink = styled__default(function (_ref) {
|
|
|
17015
16761
|
var hoverColor = _ref.hoverColor,
|
|
17016
16762
|
activeColor = _ref.activeColor,
|
|
17017
16763
|
extrastyles = _ref.extrastyles,
|
|
17018
|
-
props = _objectWithoutProperties(_ref,
|
|
16764
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
17019
16765
|
|
|
17020
16766
|
return /*#__PURE__*/React__default.createElement("a", props);
|
|
17021
|
-
})(_templateObject$h(), function (_ref2) {
|
|
16767
|
+
})(_templateObject$h || (_templateObject$h = _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"])), function (_ref2) {
|
|
17022
16768
|
var size = _ref2.size;
|
|
17023
16769
|
return size;
|
|
17024
16770
|
}, function (_ref3) {
|
|
@@ -17081,15 +16827,9 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
17081
16827
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
17082
16828
|
};
|
|
17083
16829
|
|
|
17084
|
-
|
|
17085
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n color: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-size: ", ";\n font-family: ", ";\n margin: ", ";\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"]);
|
|
16830
|
+
var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
17086
16831
|
|
|
17087
|
-
|
|
17088
|
-
return data;
|
|
17089
|
-
};
|
|
17090
|
-
|
|
17091
|
-
return data;
|
|
17092
|
-
}
|
|
16832
|
+
var _templateObject$i;
|
|
17093
16833
|
/*
|
|
17094
16834
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
17095
16835
|
unrecognized DOM attributes.
|
|
@@ -17103,10 +16843,10 @@ var StyledInternalLink = styled__default(function (_ref) {
|
|
|
17103
16843
|
active = _ref.active,
|
|
17104
16844
|
color = _ref.color,
|
|
17105
16845
|
extrastyles = _ref.extrastyles,
|
|
17106
|
-
props = _objectWithoutProperties(_ref,
|
|
16846
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
17107
16847
|
|
|
17108
16848
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, props);
|
|
17109
|
-
})(_templateObject$i(), function (_ref2) {
|
|
16849
|
+
})(_templateObject$i || (_templateObject$i = _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"])), function (_ref2) {
|
|
17110
16850
|
var color = _ref2.color,
|
|
17111
16851
|
active = _ref2.active,
|
|
17112
16852
|
activeColor = _ref2.activeColor;
|
|
@@ -18781,6 +18521,8 @@ _curry2(function test(pattern, str) {
|
|
|
18781
18521
|
|
|
18782
18522
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
18783
18523
|
|
|
18524
|
+
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab"];
|
|
18525
|
+
|
|
18784
18526
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
18785
18527
|
var _ref$url = _ref.url,
|
|
18786
18528
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -18792,7 +18534,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
18792
18534
|
linkExtraStyles = _ref.linkExtraStyles,
|
|
18793
18535
|
_ref$newTab = _ref.newTab,
|
|
18794
18536
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
18795
|
-
otherProps = _objectWithoutProperties(_ref,
|
|
18537
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
18796
18538
|
|
|
18797
18539
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
18798
18540
|
var children = _ref2.children,
|
|
@@ -18848,16 +18590,8 @@ var fallbackValues$a = {
|
|
|
18848
18590
|
fontSize: fontSize$4
|
|
18849
18591
|
};
|
|
18850
18592
|
|
|
18851
|
-
|
|
18852
|
-
|
|
18853
|
-
|
|
18854
|
-
_templateObject$j = function _templateObject() {
|
|
18855
|
-
return data;
|
|
18856
|
-
};
|
|
18857
|
-
|
|
18858
|
-
return data;
|
|
18859
|
-
}
|
|
18860
|
-
var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
|
|
18593
|
+
var _templateObject$j;
|
|
18594
|
+
var ParagraphText = styled__default.p(_templateObject$j || (_templateObject$j = _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 margin: ", ";\n\n ", "\n"])), function (_ref) {
|
|
18861
18595
|
var fontSize = _ref.fontSize;
|
|
18862
18596
|
return fontSize;
|
|
18863
18597
|
}, function (_ref2) {
|
|
@@ -18877,6 +18611,8 @@ var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
|
|
|
18877
18611
|
return extraStyles;
|
|
18878
18612
|
});
|
|
18879
18613
|
|
|
18614
|
+
var _excluded$n = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
18615
|
+
|
|
18880
18616
|
var Paragraph = function Paragraph(_ref) {
|
|
18881
18617
|
var themeValues = _ref.themeValues,
|
|
18882
18618
|
_ref$weight = _ref.weight,
|
|
@@ -18890,7 +18626,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
18890
18626
|
dataQa = _ref.dataQa,
|
|
18891
18627
|
children = _ref.children,
|
|
18892
18628
|
as = _ref.as,
|
|
18893
|
-
rest = _objectWithoutProperties(_ref,
|
|
18629
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
18894
18630
|
|
|
18895
18631
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
18896
18632
|
weight: weight,
|
|
@@ -19153,127 +18889,19 @@ var fallbackValues$c = {
|
|
|
19153
18889
|
disabledCheckedStyles: disabledCheckedStyles
|
|
19154
18890
|
};
|
|
19155
18891
|
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
return data;
|
|
19161
|
-
};
|
|
19162
|
-
|
|
19163
|
-
return data;
|
|
19164
|
-
}
|
|
19165
|
-
|
|
19166
|
-
function _templateObject10() {
|
|
19167
|
-
var data = _taggedTemplateLiteral(["\n ", " ", "\n "]);
|
|
19168
|
-
|
|
19169
|
-
_templateObject10 = function _templateObject10() {
|
|
19170
|
-
return data;
|
|
19171
|
-
};
|
|
19172
|
-
|
|
19173
|
-
return data;
|
|
19174
|
-
}
|
|
19175
|
-
|
|
19176
|
-
function _templateObject9() {
|
|
19177
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19178
|
-
|
|
19179
|
-
_templateObject9 = function _templateObject9() {
|
|
19180
|
-
return data;
|
|
19181
|
-
};
|
|
19182
|
-
|
|
19183
|
-
return data;
|
|
19184
|
-
}
|
|
19185
|
-
|
|
19186
|
-
function _templateObject8() {
|
|
19187
|
-
var data = _taggedTemplateLiteral(["\n ", " ", "\n "]);
|
|
19188
|
-
|
|
19189
|
-
_templateObject8 = function _templateObject8() {
|
|
19190
|
-
return data;
|
|
19191
|
-
};
|
|
19192
|
-
|
|
19193
|
-
return data;
|
|
19194
|
-
}
|
|
19195
|
-
|
|
19196
|
-
function _templateObject7$1() {
|
|
19197
|
-
var data = _taggedTemplateLiteral(["\n display: inline-block;\n margin-right: 16px;\n width: 24px;\n height: 24px;\n border-radius: 2px;\n transition: all 150ms;\n\n ", " {\n visibility: ", ";\n }\n\n ", ";\n"]);
|
|
19198
|
-
|
|
19199
|
-
_templateObject7$1 = function _templateObject7() {
|
|
19200
|
-
return data;
|
|
19201
|
-
};
|
|
19202
|
-
|
|
19203
|
-
return data;
|
|
19204
|
-
}
|
|
19205
|
-
|
|
19206
|
-
function _templateObject6$1() {
|
|
19207
|
-
var data = _taggedTemplateLiteral(["\n border: 0;\n clip: rect(0 0 0 0);\n clippath: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n"]);
|
|
19208
|
-
|
|
19209
|
-
_templateObject6$1 = function _templateObject6() {
|
|
19210
|
-
return data;
|
|
19211
|
-
};
|
|
19212
|
-
|
|
19213
|
-
return data;
|
|
19214
|
-
}
|
|
19215
|
-
|
|
19216
|
-
function _templateObject5$1() {
|
|
19217
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19218
|
-
|
|
19219
|
-
_templateObject5$1 = function _templateObject5() {
|
|
19220
|
-
return data;
|
|
19221
|
-
};
|
|
19222
|
-
|
|
19223
|
-
return data;
|
|
19224
|
-
}
|
|
19225
|
-
|
|
19226
|
-
function _templateObject4$1() {
|
|
19227
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
19228
|
-
|
|
19229
|
-
_templateObject4$1 = function _templateObject4() {
|
|
19230
|
-
return data;
|
|
19231
|
-
};
|
|
19232
|
-
|
|
19233
|
-
return data;
|
|
19234
|
-
}
|
|
19235
|
-
|
|
19236
|
-
function _templateObject3$3() {
|
|
19237
|
-
var data = _taggedTemplateLiteral(["\n fill: none;\n stroke-width: 2px;\n stroke: ", ";\n"]);
|
|
19238
|
-
|
|
19239
|
-
_templateObject3$3 = function _templateObject3() {
|
|
19240
|
-
return data;
|
|
19241
|
-
};
|
|
19242
|
-
|
|
19243
|
-
return data;
|
|
19244
|
-
}
|
|
19245
|
-
|
|
19246
|
-
function _templateObject2$8() {
|
|
19247
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"]);
|
|
19248
|
-
|
|
19249
|
-
_templateObject2$8 = function _templateObject2() {
|
|
19250
|
-
return data;
|
|
19251
|
-
};
|
|
19252
|
-
|
|
19253
|
-
return data;
|
|
19254
|
-
}
|
|
19255
|
-
|
|
19256
|
-
function _templateObject$k() {
|
|
19257
|
-
var data = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"]);
|
|
19258
|
-
|
|
19259
|
-
_templateObject$k = function _templateObject() {
|
|
19260
|
-
return data;
|
|
19261
|
-
};
|
|
19262
|
-
|
|
19263
|
-
return data;
|
|
19264
|
-
}
|
|
19265
|
-
var CheckboxContainer = styled__default.div(_templateObject$k());
|
|
19266
|
-
var CheckboxLabelContainer = styled__default.label(_templateObject2$8());
|
|
19267
|
-
var CheckboxIcon = styled__default.svg(_templateObject3$3(), function (_ref) {
|
|
18892
|
+
var _templateObject$k, _templateObject2$8, _templateObject3$3, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
|
|
18893
|
+
var CheckboxContainer = styled__default.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"])));
|
|
18894
|
+
var CheckboxLabelContainer = styled__default.label(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
|
|
18895
|
+
var CheckboxIcon = styled__default.svg(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n fill: none;\n stroke-width: 2px;\n stroke: ", ";\n"])), function (_ref) {
|
|
19268
18896
|
var disabled = _ref.disabled,
|
|
19269
18897
|
disabledCheckColor = _ref.disabledCheckColor,
|
|
19270
18898
|
checkColor = _ref.checkColor;
|
|
19271
|
-
return disabled ? styled.css(_templateObject4$1(), disabledCheckColor) : styled.css(_templateObject5$1(), checkColor);
|
|
18899
|
+
return disabled ? styled.css(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n ", "\n "])), disabledCheckColor) : styled.css(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n ", "\n "])), checkColor);
|
|
19272
18900
|
});
|
|
19273
18901
|
var HiddenCheckbox = styled__default.input.attrs({
|
|
19274
18902
|
type: "checkbox"
|
|
19275
|
-
})(_templateObject6$1());
|
|
19276
|
-
var StyledCheckbox = styled__default.div(_templateObject7$1(), CheckboxIcon, function (_ref2) {
|
|
18903
|
+
})(_templateObject6$1 || (_templateObject6$1 = _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"])));
|
|
18904
|
+
var StyledCheckbox = styled__default.div(_templateObject7$1 || (_templateObject7$1 = _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"])), CheckboxIcon, function (_ref2) {
|
|
19277
18905
|
var checked = _ref2.checked;
|
|
19278
18906
|
return checked ? "visible" : "hidden";
|
|
19279
18907
|
}, function (_ref3) {
|
|
@@ -19287,7 +18915,7 @@ var StyledCheckbox = styled__default.div(_templateObject7$1(), CheckboxIcon, fun
|
|
|
19287
18915
|
errorStyles = _ref3.errorStyles,
|
|
19288
18916
|
disabledStyles = _ref3.disabledStyles,
|
|
19289
18917
|
disabledCheckedStyles = _ref3.disabledCheckedStyles;
|
|
19290
|
-
return error ? styled.css(_templateObject8(), errorStyles, focused && focusedStyles) : disabled ? styled.css(_templateObject9(), checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(_templateObject10(), checkedStyles, focused && focusedStyles) : styled.css(_templateObject11(), defaultStyles, focused && focusedStyles);
|
|
18918
|
+
return error ? styled.css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n ", " ", "\n "])), errorStyles, focused && focusedStyles) : disabled ? styled.css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n ", "\n "])), checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n ", " ", "\n "])), checkedStyles, focused && focusedStyles) : styled.css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n ", " ", "\n "])), defaultStyles, focused && focusedStyles);
|
|
19291
18919
|
});
|
|
19292
18920
|
|
|
19293
18921
|
var Checkbox = function Checkbox(_ref4) {
|
|
@@ -19412,38 +19040,20 @@ to the one generated by name-that-color.
|
|
|
19412
19040
|
var PEWTER_GREY$1 = "#DFE1E4";
|
|
19413
19041
|
var MARINER_BLUE$1 = "#2E75D2";
|
|
19414
19042
|
|
|
19415
|
-
|
|
19416
|
-
var data = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n background-color: ", ";\n border-radius: 8px;\n"]);
|
|
19417
|
-
|
|
19418
|
-
_templateObject2$9 = function _templateObject2() {
|
|
19419
|
-
return data;
|
|
19420
|
-
};
|
|
19421
|
-
|
|
19422
|
-
return data;
|
|
19423
|
-
}
|
|
19424
|
-
|
|
19425
|
-
function _templateObject$l() {
|
|
19426
|
-
var data = _taggedTemplateLiteral(["\n height: 24px;\n width: 24px;\n border: 1px solid\n ", ";\n border-radius: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 10px;\n min-width: 24px;\n min-height: 24px;\n"]);
|
|
19427
|
-
|
|
19428
|
-
_templateObject$l = function _templateObject() {
|
|
19429
|
-
return data;
|
|
19430
|
-
};
|
|
19431
|
-
|
|
19432
|
-
return data;
|
|
19433
|
-
}
|
|
19043
|
+
var _templateObject$l, _templateObject2$9;
|
|
19434
19044
|
var defaultTheme = {
|
|
19435
19045
|
theme: {
|
|
19436
19046
|
accentColor: MARINER_BLUE$1,
|
|
19437
19047
|
inactiveColor: PEWTER_GREY$1
|
|
19438
19048
|
}
|
|
19439
19049
|
};
|
|
19440
|
-
var RadioButtonBorder = styled__default.div(_templateObject$l(), function (_ref) {
|
|
19050
|
+
var RadioButtonBorder = styled__default.div(_templateObject$l || (_templateObject$l = _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"])), function (_ref) {
|
|
19441
19051
|
var isSelected = _ref.isSelected,
|
|
19442
19052
|
theme = _ref.theme;
|
|
19443
19053
|
return isSelected ? theme.accentColor : theme.inactiveColor;
|
|
19444
19054
|
});
|
|
19445
19055
|
RadioButtonBorder.defaultProps = defaultTheme;
|
|
19446
|
-
var RadioButtonCenter = styled__default.div(_templateObject2$9(), function (_ref2) {
|
|
19056
|
+
var RadioButtonCenter = styled__default.div(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n background-color: ", ";\n border-radius: 8px;\n"])), function (_ref2) {
|
|
19447
19057
|
var theme = _ref2.theme;
|
|
19448
19058
|
return theme.accentColor;
|
|
19449
19059
|
});
|
|
@@ -19459,38 +19069,10 @@ var RadioButton = function RadioButton(_ref3) {
|
|
|
19459
19069
|
}, isSelected && /*#__PURE__*/React__default.createElement(RadioButtonCenter, null));
|
|
19460
19070
|
};
|
|
19461
19071
|
|
|
19462
|
-
|
|
19463
|
-
|
|
19464
|
-
|
|
19465
|
-
|
|
19466
|
-
return data;
|
|
19467
|
-
};
|
|
19468
|
-
|
|
19469
|
-
return data;
|
|
19470
|
-
}
|
|
19471
|
-
|
|
19472
|
-
function _templateObject2$a() {
|
|
19473
|
-
var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n z-index: -2;\n cursor: pointer;\n"]);
|
|
19474
|
-
|
|
19475
|
-
_templateObject2$a = function _templateObject2() {
|
|
19476
|
-
return data;
|
|
19477
|
-
};
|
|
19478
|
-
|
|
19479
|
-
return data;
|
|
19480
|
-
}
|
|
19481
|
-
|
|
19482
|
-
function _templateObject$m() {
|
|
19483
|
-
var data = _taggedTemplateLiteral(["\n width: 2rem;\n"]);
|
|
19484
|
-
|
|
19485
|
-
_templateObject$m = function _templateObject() {
|
|
19486
|
-
return data;
|
|
19487
|
-
};
|
|
19488
|
-
|
|
19489
|
-
return data;
|
|
19490
|
-
}
|
|
19491
|
-
var CheckboxItemIcon = styled__default.img(_templateObject$m());
|
|
19492
|
-
var HiddenCheckboxInput = styled__default.input(_templateObject2$a());
|
|
19493
|
-
var CheckboxLabel = styled__default.label(_templateObject3$4());
|
|
19072
|
+
var _templateObject$m, _templateObject2$a, _templateObject3$4;
|
|
19073
|
+
var CheckboxItemIcon = styled__default.img(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n width: 2rem;\n"])));
|
|
19074
|
+
var HiddenCheckboxInput = styled__default.input(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n z-index: -2;\n cursor: pointer;\n"])));
|
|
19075
|
+
var CheckboxLabel = styled__default.label(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n position: relative;\n z-index: 5;\n &:focus {\n outline: none;\n }\n"])));
|
|
19494
19076
|
|
|
19495
19077
|
var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
19496
19078
|
var text = _ref.text,
|
|
@@ -19633,57 +19215,19 @@ var fallbackValues$e = {
|
|
|
19633
19215
|
hoverColor: hoverColor$3
|
|
19634
19216
|
};
|
|
19635
19217
|
|
|
19636
|
-
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
_templateObject4$2 = function _templateObject4() {
|
|
19640
|
-
return data;
|
|
19641
|
-
};
|
|
19642
|
-
|
|
19643
|
-
return data;
|
|
19644
|
-
}
|
|
19645
|
-
|
|
19646
|
-
function _templateObject3$5() {
|
|
19647
|
-
var data = _taggedTemplateLiteral(["\n background-color: ", ";\n text-align: start;\n border-width: 0px;\n border-color: transparent;\n box-shadow: none;\n padding: 1rem;\n box-sizing: border-box;\n width: 100%;\n cursor: ", ";\n\n &:hover {\n background-color: ", ";\n }\n &:focus {\n background-color: ", ";\n outline: none;\n }\n"]);
|
|
19648
|
-
|
|
19649
|
-
_templateObject3$5 = function _templateObject3() {
|
|
19650
|
-
return data;
|
|
19651
|
-
};
|
|
19652
|
-
|
|
19653
|
-
return data;
|
|
19654
|
-
}
|
|
19655
|
-
|
|
19656
|
-
function _templateObject2$b() {
|
|
19657
|
-
var data = _taggedTemplateLiteral(["\n transform-origin: 0 0;\n border: 1px solid ", ";\n border-radius: 2px;\n background-color: ", ";\n padding: 8px 0 8px;\n position: absolute;\n width: ", ";\n min-width: 100%;\n max-height: ", ";\n overflow-y: scroll;\n z-index: 1;\n box-sizing: border-box;\n &:focus {\n outline: none;\n }\n"]);
|
|
19658
|
-
|
|
19659
|
-
_templateObject2$b = function _templateObject2() {
|
|
19660
|
-
return data;
|
|
19661
|
-
};
|
|
19662
|
-
|
|
19663
|
-
return data;
|
|
19664
|
-
}
|
|
19665
|
-
|
|
19666
|
-
function _templateObject$n() {
|
|
19667
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
|
|
19668
|
-
|
|
19669
|
-
_templateObject$n = function _templateObject() {
|
|
19670
|
-
return data;
|
|
19671
|
-
};
|
|
19672
|
-
|
|
19673
|
-
return data;
|
|
19674
|
-
}
|
|
19675
|
-
var IconWrapper = styled__default.div(_templateObject$n(), function (_ref) {
|
|
19218
|
+
var _templateObject$n, _templateObject2$b, _templateObject3$5, _templateObject4$2;
|
|
19219
|
+
var IconWrapper = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"])), function (_ref) {
|
|
19676
19220
|
var open = _ref.open;
|
|
19677
19221
|
return open ? "transform: rotate(-180deg)" : "";
|
|
19678
19222
|
});
|
|
19679
|
-
var DropdownContentWrapper = styled__default.div(_templateObject2$b(), GREY_CHATEAU, WHITE, function (_ref2) {
|
|
19223
|
+
var DropdownContentWrapper = styled__default.div(_templateObject2$b || (_templateObject2$b = _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"])), GREY_CHATEAU, WHITE, function (_ref2) {
|
|
19680
19224
|
var widthFitOptions = _ref2.widthFitOptions;
|
|
19681
19225
|
return widthFitOptions ? "fit-content" : "100%";
|
|
19682
19226
|
}, function (_ref3) {
|
|
19683
19227
|
var maxHeight = _ref3.maxHeight;
|
|
19684
19228
|
return maxHeight || "400px";
|
|
19685
19229
|
});
|
|
19686
|
-
var DropdownItemWrapper = styled__default.div(_templateObject3$5(), function (_ref4) {
|
|
19230
|
+
var DropdownItemWrapper = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _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"])), function (_ref4) {
|
|
19687
19231
|
var selected = _ref4.selected,
|
|
19688
19232
|
themeValues = _ref4.themeValues;
|
|
19689
19233
|
return selected ? themeValues.selectedColor : WHITE;
|
|
@@ -19701,7 +19245,7 @@ var DropdownItemWrapper = styled__default.div(_templateObject3$5(), function (_r
|
|
|
19701
19245
|
themeValues = _ref7.themeValues;
|
|
19702
19246
|
return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
|
|
19703
19247
|
});
|
|
19704
|
-
var SearchInput = styled__default.input(_templateObject4$2(), function (_ref8) {
|
|
19248
|
+
var SearchInput = styled__default.input(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n border: none;\n background-color: ", ";\n font-size: 16px;\n height: 24px;\n"])), function (_ref8) {
|
|
19705
19249
|
var themeValues = _ref8.themeValues;
|
|
19706
19250
|
return themeValues.hoverColor && themeValues.hoverColor;
|
|
19707
19251
|
});
|
|
@@ -19921,37 +19465,9 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19921
19465
|
|
|
19922
19466
|
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$e);
|
|
19923
19467
|
|
|
19924
|
-
|
|
19925
|
-
|
|
19926
|
-
|
|
19927
|
-
_templateObject3$6 = function _templateObject3() {
|
|
19928
|
-
return data;
|
|
19929
|
-
};
|
|
19930
|
-
|
|
19931
|
-
return data;
|
|
19932
|
-
}
|
|
19933
|
-
|
|
19934
|
-
function _templateObject2$c() {
|
|
19935
|
-
var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: 48px;\n width: 100%;\n padding: 0.75rem 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n border: 1px solid ", ";\n }\n"]);
|
|
19936
|
-
|
|
19937
|
-
_templateObject2$c = function _templateObject2() {
|
|
19938
|
-
return data;
|
|
19939
|
-
};
|
|
19940
|
-
|
|
19941
|
-
return data;
|
|
19942
|
-
}
|
|
19943
|
-
|
|
19944
|
-
function _templateObject$o() {
|
|
19945
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n > * + * {\n margin-top: 0.25rem;\n }\n"]);
|
|
19946
|
-
|
|
19947
|
-
_templateObject$o = function _templateObject() {
|
|
19948
|
-
return data;
|
|
19949
|
-
};
|
|
19950
|
-
|
|
19951
|
-
return data;
|
|
19952
|
-
}
|
|
19953
|
-
var SelectContainer = styled__default.div(_templateObject$o());
|
|
19954
|
-
var SelectField = styled__default.select(_templateObject2$c(), function (_ref) {
|
|
19468
|
+
var _templateObject$o, _templateObject2$c, _templateObject3$6;
|
|
19469
|
+
var SelectContainer = styled__default.div(_templateObject$o || (_templateObject$o = _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"])));
|
|
19470
|
+
var SelectField = styled__default.select(_templateObject2$c || (_templateObject2$c = _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"])), function (_ref) {
|
|
19955
19471
|
var field = _ref.field,
|
|
19956
19472
|
showErrors = _ref.showErrors;
|
|
19957
19473
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : GHOST_GREY;
|
|
@@ -19962,7 +19478,7 @@ var SelectField = styled__default.select(_templateObject2$c(), function (_ref) {
|
|
|
19962
19478
|
var themeValues = _ref3.themeValues;
|
|
19963
19479
|
return themeValues.color && themeValues.color;
|
|
19964
19480
|
}, MATISSE_BLUE);
|
|
19965
|
-
var SelectOption = styled__default.option(_templateObject3$6());
|
|
19481
|
+
var SelectOption = styled__default.option(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral([""])));
|
|
19966
19482
|
|
|
19967
19483
|
var linkColor$1 = {
|
|
19968
19484
|
"default": "".concat(MATISSE_BLUE),
|
|
@@ -20866,16 +20382,8 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
20866
20382
|
});
|
|
20867
20383
|
};
|
|
20868
20384
|
|
|
20869
|
-
|
|
20870
|
-
|
|
20871
|
-
|
|
20872
|
-
_templateObject$p = function _templateObject() {
|
|
20873
|
-
return data;
|
|
20874
|
-
};
|
|
20875
|
-
|
|
20876
|
-
return data;
|
|
20877
|
-
}
|
|
20878
|
-
var DetailText = styled__default.p(_templateObject$p(), function (_ref) {
|
|
20385
|
+
var _templateObject$p;
|
|
20386
|
+
var DetailText = styled__default.p(_templateObject$p || (_templateObject$p = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
|
|
20879
20387
|
var fontSize = _ref.fontSize;
|
|
20880
20388
|
return fontSize;
|
|
20881
20389
|
}, function (_ref2) {
|
|
@@ -20926,6 +20434,7 @@ var mobileFallbackValues = {
|
|
|
20926
20434
|
};
|
|
20927
20435
|
var MOBILE_BREAKPOINT = 768;
|
|
20928
20436
|
|
|
20437
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
20929
20438
|
/*
|
|
20930
20439
|
New responsive text component for Detail elements
|
|
20931
20440
|
(Block level text elements which are smaller than "Title" elements)
|
|
@@ -20975,7 +20484,7 @@ var Detail = function Detail(_ref) {
|
|
|
20975
20484
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
20976
20485
|
dataQa = _ref.dataQa,
|
|
20977
20486
|
children = _ref.children,
|
|
20978
|
-
rest = _objectWithoutProperties(_ref,
|
|
20487
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
20979
20488
|
|
|
20980
20489
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
20981
20490
|
variant: variant,
|
|
@@ -21428,66 +20937,11 @@ var fallbackValues$i = {
|
|
|
21428
20937
|
formFooterPanel: formFooterPanel
|
|
21429
20938
|
};
|
|
21430
20939
|
|
|
21431
|
-
|
|
21432
|
-
|
|
21433
|
-
|
|
21434
|
-
_templateObject6$2 = function _templateObject6() {
|
|
21435
|
-
return data;
|
|
21436
|
-
};
|
|
21437
|
-
|
|
21438
|
-
return data;
|
|
21439
|
-
}
|
|
21440
|
-
|
|
21441
|
-
function _templateObject5$2() {
|
|
21442
|
-
var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
|
|
21443
|
-
|
|
21444
|
-
_templateObject5$2 = function _templateObject5() {
|
|
21445
|
-
return data;
|
|
21446
|
-
};
|
|
21447
|
-
|
|
21448
|
-
return data;
|
|
21449
|
-
}
|
|
21450
|
-
|
|
21451
|
-
function _templateObject4$3() {
|
|
21452
|
-
var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
|
|
21453
|
-
|
|
21454
|
-
_templateObject4$3 = function _templateObject4() {
|
|
21455
|
-
return data;
|
|
21456
|
-
};
|
|
21457
|
-
|
|
21458
|
-
return data;
|
|
21459
|
-
}
|
|
21460
|
-
|
|
21461
|
-
function _templateObject3$7() {
|
|
21462
|
-
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
21463
|
-
|
|
21464
|
-
_templateObject3$7 = function _templateObject3() {
|
|
21465
|
-
return data;
|
|
21466
|
-
};
|
|
21467
|
-
|
|
21468
|
-
return data;
|
|
21469
|
-
}
|
|
21470
|
-
|
|
21471
|
-
function _templateObject2$d() {
|
|
21472
|
-
var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
|
|
21473
|
-
|
|
21474
|
-
_templateObject2$d = function _templateObject2() {
|
|
21475
|
-
return data;
|
|
21476
|
-
};
|
|
21477
|
-
|
|
21478
|
-
return data;
|
|
21479
|
-
}
|
|
21480
|
-
|
|
21481
|
-
function _templateObject$q() {
|
|
21482
|
-
var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n ", "\n transition: background 0.3s ease;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
|
|
20940
|
+
var _excluded$p = ["showErrors", "themeValues"],
|
|
20941
|
+
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "extraStyles"];
|
|
21483
20942
|
|
|
21484
|
-
|
|
21485
|
-
|
|
21486
|
-
};
|
|
21487
|
-
|
|
21488
|
-
return data;
|
|
21489
|
-
}
|
|
21490
|
-
var InputField = styled__default.input(_templateObject$q(), function (_ref) {
|
|
20943
|
+
var _templateObject$q, _templateObject2$d, _templateObject3$7, _templateObject4$3, _templateObject5$2, _templateObject6$2;
|
|
20944
|
+
var InputField = styled__default.input(_templateObject$q || (_templateObject$q = _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"])), function (_ref) {
|
|
21491
20945
|
var field = _ref.field,
|
|
21492
20946
|
showErrors = _ref.showErrors,
|
|
21493
20947
|
themeValues = _ref.themeValues;
|
|
@@ -21507,19 +20961,19 @@ var InputField = styled__default.input(_templateObject$q(), function (_ref) {
|
|
|
21507
20961
|
return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
|
|
21508
20962
|
}, ROYAL_BLUE, function (_ref6) {
|
|
21509
20963
|
var disabled = _ref6.disabled;
|
|
21510
|
-
return disabled && styled.css(_templateObject2$d());
|
|
20964
|
+
return disabled && styled.css(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "])));
|
|
21511
20965
|
}, function (_ref7) {
|
|
21512
20966
|
var extraStyles = _ref7.extraStyles;
|
|
21513
|
-
return styled.css(_templateObject3$7(), extraStyles);
|
|
20967
|
+
return styled.css(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
|
|
21514
20968
|
}); // eslint-disable-next-line no-unused-vars
|
|
21515
20969
|
|
|
21516
20970
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
21517
20971
|
var showErrors = _ref8.showErrors,
|
|
21518
20972
|
themeValues = _ref8.themeValues,
|
|
21519
|
-
props = _objectWithoutProperties(_ref8,
|
|
20973
|
+
props = _objectWithoutProperties(_ref8, _excluded$p);
|
|
21520
20974
|
|
|
21521
20975
|
return /*#__PURE__*/React__default.createElement(src_1, props);
|
|
21522
|
-
})(_templateObject4$3(), function (_ref9) {
|
|
20976
|
+
})(_templateObject4$3 || (_templateObject4$3 = _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"])), function (_ref9) {
|
|
21523
20977
|
var field = _ref9.field,
|
|
21524
20978
|
showErrors = _ref9.showErrors,
|
|
21525
20979
|
themeValues = _ref9.themeValues;
|
|
@@ -21535,10 +20989,10 @@ var FormattedInputField = styled__default(function (_ref8) {
|
|
|
21535
20989
|
return themeValues.color && themeValues.color;
|
|
21536
20990
|
}, ROYAL_BLUE, function (_ref13) {
|
|
21537
20991
|
var disabled = _ref13.disabled;
|
|
21538
|
-
return disabled && styled.css(_templateObject5$2());
|
|
20992
|
+
return disabled && styled.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "])));
|
|
21539
20993
|
}, function (_ref14) {
|
|
21540
20994
|
var extraStyles = _ref14.extraStyles;
|
|
21541
|
-
return styled.css(_templateObject6$2(), extraStyles);
|
|
20995
|
+
return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
|
|
21542
20996
|
});
|
|
21543
20997
|
|
|
21544
20998
|
var FormInput = function FormInput(_ref15) {
|
|
@@ -21563,7 +21017,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21563
21017
|
background = _ref15.background,
|
|
21564
21018
|
customHeight = _ref15.customHeight,
|
|
21565
21019
|
extraStyles = _ref15.extraStyles,
|
|
21566
|
-
props = _objectWithoutProperties(_ref15,
|
|
21020
|
+
props = _objectWithoutProperties(_ref15, _excluded2);
|
|
21567
21021
|
|
|
21568
21022
|
var _useState = React.useState(false),
|
|
21569
21023
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -21671,6 +21125,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21671
21125
|
|
|
21672
21126
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$i, "default");
|
|
21673
21127
|
|
|
21128
|
+
var _excluded$q = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
21129
|
+
|
|
21674
21130
|
var FormInputRow = function FormInputRow(_ref) {
|
|
21675
21131
|
var _ref$breakpoint = _ref.breakpoint,
|
|
21676
21132
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -21679,7 +21135,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
21679
21135
|
largeChild = _ref.largeChild,
|
|
21680
21136
|
largeChildSize = _ref.largeChildSize,
|
|
21681
21137
|
children = _ref.children,
|
|
21682
|
-
rest = _objectWithoutProperties(_ref,
|
|
21138
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
21683
21139
|
|
|
21684
21140
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
21685
21141
|
padding: "0"
|
|
@@ -21691,12 +21147,14 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
21691
21147
|
}, children));
|
|
21692
21148
|
};
|
|
21693
21149
|
|
|
21150
|
+
var _excluded$r = ["childGap", "bottomItem", "children"];
|
|
21151
|
+
|
|
21694
21152
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
21695
21153
|
var _ref$childGap = _ref.childGap,
|
|
21696
21154
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
21697
21155
|
bottomItem = _ref.bottomItem,
|
|
21698
21156
|
children = _ref.children,
|
|
21699
|
-
rest = _objectWithoutProperties(_ref,
|
|
21157
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
21700
21158
|
|
|
21701
21159
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
21702
21160
|
childGap: childGap,
|
|
@@ -21704,10 +21162,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
21704
21162
|
}, rest), children);
|
|
21705
21163
|
};
|
|
21706
21164
|
|
|
21165
|
+
var _excluded$s = ["themeValues", "children"];
|
|
21166
|
+
|
|
21707
21167
|
var FormContainer = function FormContainer(_ref) {
|
|
21708
21168
|
var themeValues = _ref.themeValues,
|
|
21709
21169
|
children = _ref.children,
|
|
21710
|
-
rest = _objectWithoutProperties(_ref,
|
|
21170
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
21711
21171
|
|
|
21712
21172
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
21713
21173
|
isMobile = _useContext.isMobile;
|
|
@@ -21809,30 +21269,12 @@ var fallbackValues$k = {
|
|
|
21809
21269
|
autopayTextColor: autopayTextColor
|
|
21810
21270
|
};
|
|
21811
21271
|
|
|
21812
|
-
|
|
21813
|
-
var data = _taggedTemplateLiteral(["\n margin-right: 16px;\n width: 30px;\n height: auto;\n display: flex;\n"]);
|
|
21814
|
-
|
|
21815
|
-
_templateObject2$e = function _templateObject2() {
|
|
21816
|
-
return data;
|
|
21817
|
-
};
|
|
21818
|
-
|
|
21819
|
-
return data;
|
|
21820
|
-
}
|
|
21821
|
-
|
|
21822
|
-
function _templateObject$r() {
|
|
21823
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"]);
|
|
21824
|
-
|
|
21825
|
-
_templateObject$r = function _templateObject() {
|
|
21826
|
-
return data;
|
|
21827
|
-
};
|
|
21828
|
-
|
|
21829
|
-
return data;
|
|
21830
|
-
}
|
|
21272
|
+
var _templateObject$r, _templateObject2$e;
|
|
21831
21273
|
var ACTIVE = "ACTIVE";
|
|
21832
21274
|
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
21833
21275
|
var EXPIRED = "EXPIRED";
|
|
21834
|
-
var CreditCardWrapper = styled__default.div(_templateObject$r());
|
|
21835
|
-
var CCIconWrapper = styled__default.div(_templateObject2$e());
|
|
21276
|
+
var CreditCardWrapper = styled__default.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"])));
|
|
21277
|
+
var CCIconWrapper = styled__default.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteral(["\n margin-right: 16px;\n width: 30px;\n height: auto;\n display: flex;\n"])));
|
|
21836
21278
|
|
|
21837
21279
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
21838
21280
|
var lastFour = _ref.lastFour,
|
|
@@ -21885,38 +21327,10 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
21885
21327
|
|
|
21886
21328
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
|
|
21887
21329
|
|
|
21888
|
-
|
|
21889
|
-
|
|
21890
|
-
|
|
21891
|
-
|
|
21892
|
-
return data;
|
|
21893
|
-
};
|
|
21894
|
-
|
|
21895
|
-
return data;
|
|
21896
|
-
}
|
|
21897
|
-
|
|
21898
|
-
function _templateObject2$f() {
|
|
21899
|
-
var data = _taggedTemplateLiteral(["\n width: 34px;\n height: 34px;\n display: inline-block;\n position: relative;\n"]);
|
|
21900
|
-
|
|
21901
|
-
_templateObject2$f = function _templateObject2() {
|
|
21902
|
-
return data;
|
|
21903
|
-
};
|
|
21904
|
-
|
|
21905
|
-
return data;
|
|
21906
|
-
}
|
|
21907
|
-
|
|
21908
|
-
function _templateObject$s() {
|
|
21909
|
-
var data = _taggedTemplateLiteral(["\n padding: 8px;\n display: inline-block;\n cursor: pointer;\n transition-property: opacity;\n transition-duration: 0.15s;\n transition-timing-function: linear;\n font: inherit;\n color: inherit;\n text-transform: none;\n background-color: transparent;\n border: 0;\n margin: 0;\n overflow: visible;\n\n &:focus {\n outline: none;\n }\n"]);
|
|
21910
|
-
|
|
21911
|
-
_templateObject$s = function _templateObject() {
|
|
21912
|
-
return data;
|
|
21913
|
-
};
|
|
21914
|
-
|
|
21915
|
-
return data;
|
|
21916
|
-
}
|
|
21917
|
-
var Hamburger = styled__default.button(_templateObject$s());
|
|
21918
|
-
var HamburgerBox = styled__default.span(_templateObject2$f());
|
|
21919
|
-
var HamburgerInner = styled__default.span(_templateObject3$8(), function (_ref) {
|
|
21330
|
+
var _templateObject$s, _templateObject2$f, _templateObject3$8;
|
|
21331
|
+
var Hamburger = styled__default.button(_templateObject$s || (_templateObject$s = _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"])));
|
|
21332
|
+
var HamburgerBox = styled__default.span(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral(["\n width: 34px;\n height: 34px;\n display: inline-block;\n position: relative;\n"])));
|
|
21333
|
+
var HamburgerInner = styled__default.span(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n display: block;\n top: auto;\n bottom: 6px;\n left: 2px;\n transition-duration: 0.13s;\n transition-delay: 0.13s;\n transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n margin-top: 12px;\n background-color: ", ";\n\n &, &::before, &::after {\n background-color: ", ";\n width: 30px;\n height: 3px;\n position: absolute;\n transition-property: transform;\n transition-duration: 0.15s;\n transition-timing-function: ease;\n }\n\n &::before, &::after {\n content: \"\";\n display: block;\n }\n\n &::before {\n top: -10px;\n transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n &::after {\n bottom: -10px;\n top: -20px;\n transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n opacity 0.1s linear;\n }\n\n &.active, &.active::before, &.active::after {\n background-color: ", ";\n }\n\n &.active {\n transform: translate3d(0, -10px, 0) rotate(-45deg);\n transition-delay: 0.22s;\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n &.active::after {\n top: 0;\n opacity: 0;\n transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n opacity: 0.1s 0.22s linear;\n }\n\n &.active::before {\n top: 0;\n transform: rotate(-90deg);\n transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n"])), function (_ref) {
|
|
21920
21334
|
var inactiveColor = _ref.inactiveColor;
|
|
21921
21335
|
return inactiveColor;
|
|
21922
21336
|
}, function (_ref2) {
|
|
@@ -21947,16 +21361,8 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
21947
21361
|
})));
|
|
21948
21362
|
};
|
|
21949
21363
|
|
|
21950
|
-
|
|
21951
|
-
|
|
21952
|
-
|
|
21953
|
-
_templateObject$t = function _templateObject() {
|
|
21954
|
-
return data;
|
|
21955
|
-
};
|
|
21956
|
-
|
|
21957
|
-
return data;
|
|
21958
|
-
}
|
|
21959
|
-
var TitleText = styled__default.h1(_templateObject$t(), function (_ref) {
|
|
21364
|
+
var _templateObject$t;
|
|
21365
|
+
var TitleText = styled__default.h1(_templateObject$t || (_templateObject$t = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
|
|
21960
21366
|
var fontSize = _ref.fontSize;
|
|
21961
21367
|
return fontSize;
|
|
21962
21368
|
}, function (_ref2) {
|
|
@@ -22001,6 +21407,7 @@ var mobileFallbackValues$1 = {
|
|
|
22001
21407
|
};
|
|
22002
21408
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
22003
21409
|
|
|
21410
|
+
var _excluded$t = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
22004
21411
|
/*
|
|
22005
21412
|
New responsive text component for Title elements
|
|
22006
21413
|
Size is decoupled from tag
|
|
@@ -22047,7 +21454,7 @@ var Title = function Title(_ref) {
|
|
|
22047
21454
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
22048
21455
|
dataQa = _ref.dataQa,
|
|
22049
21456
|
children = _ref.children,
|
|
22050
|
-
rest = _objectWithoutProperties(_ref,
|
|
21457
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
22051
21458
|
|
|
22052
21459
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
22053
21460
|
variant: variant,
|
|
@@ -22212,26 +21619,8 @@ var fallbackValues$o = {
|
|
|
22212
21619
|
color: color$8
|
|
22213
21620
|
};
|
|
22214
21621
|
|
|
22215
|
-
|
|
22216
|
-
|
|
22217
|
-
|
|
22218
|
-
_templateObject2$g = function _templateObject2() {
|
|
22219
|
-
return data;
|
|
22220
|
-
};
|
|
22221
|
-
|
|
22222
|
-
return data;
|
|
22223
|
-
}
|
|
22224
|
-
|
|
22225
|
-
function _templateObject$u() {
|
|
22226
|
-
var data = _taggedTemplateLiteral(["\n animation: rotate 2s linear infinite;\n margin: -25px 0 0 -25px;\n width: ", "px;\n height: ", "px;\n & .path {\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"]);
|
|
22227
|
-
|
|
22228
|
-
_templateObject$u = function _templateObject() {
|
|
22229
|
-
return data;
|
|
22230
|
-
};
|
|
22231
|
-
|
|
22232
|
-
return data;
|
|
22233
|
-
}
|
|
22234
|
-
var SpinnerSvgAnimation = styled__default.svg(_templateObject$u(), function (_ref) {
|
|
21622
|
+
var _templateObject$u, _templateObject2$g;
|
|
21623
|
+
var SpinnerSvgAnimation = styled__default.svg(_templateObject$u || (_templateObject$u = _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"])), function (_ref) {
|
|
22235
21624
|
var size = _ref.size;
|
|
22236
21625
|
return size;
|
|
22237
21626
|
}, function (_ref2) {
|
|
@@ -22241,7 +21630,7 @@ var SpinnerSvgAnimation = styled__default.svg(_templateObject$u(), function (_re
|
|
|
22241
21630
|
var color = _ref3.color;
|
|
22242
21631
|
return color;
|
|
22243
21632
|
});
|
|
22244
|
-
var SpinnerContainer$2 = styled__default.div(_templateObject2$g());
|
|
21633
|
+
var SpinnerContainer$2 = styled__default.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n line-height: 1;\n"])));
|
|
22245
21634
|
|
|
22246
21635
|
var Spinner$1 = function Spinner(_ref4) {
|
|
22247
21636
|
var _ref4$size = _ref4.size,
|
|
@@ -22276,6 +21665,8 @@ var Loading = function Loading() {
|
|
|
22276
21665
|
})))));
|
|
22277
21666
|
};
|
|
22278
21667
|
|
|
21668
|
+
var _excluded$u = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
21669
|
+
|
|
22279
21670
|
var NavFooter = function NavFooter(_ref) {
|
|
22280
21671
|
var leftContent = _ref.leftContent,
|
|
22281
21672
|
rightContent = _ref.rightContent,
|
|
@@ -22290,7 +21681,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
22290
21681
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
22291
21682
|
isMobile = _ref.isMobile,
|
|
22292
21683
|
footerWidth = _ref.footerWidth,
|
|
22293
|
-
rest = _objectWithoutProperties(_ref,
|
|
21684
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
22294
21685
|
|
|
22295
21686
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
22296
21687
|
padding: footerPadding,
|
|
@@ -22322,6 +21713,8 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
22322
21713
|
}, rightContent)))))));
|
|
22323
21714
|
};
|
|
22324
21715
|
|
|
21716
|
+
var _excluded$v = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
21717
|
+
|
|
22325
21718
|
var NavHeader = function NavHeader(_ref) {
|
|
22326
21719
|
var leftContent = _ref.leftContent,
|
|
22327
21720
|
rightContent = _ref.rightContent,
|
|
@@ -22330,7 +21723,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
22330
21723
|
isMobile = _ref.isMobile,
|
|
22331
21724
|
backgroundColor = _ref.backgroundColor,
|
|
22332
21725
|
headerWidth = _ref.headerWidth,
|
|
22333
|
-
rest = _objectWithoutProperties(_ref,
|
|
21726
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
22334
21727
|
|
|
22335
21728
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
22336
21729
|
padding: "0 16px 4px",
|
|
@@ -22356,167 +21749,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
22356
21749
|
}, rightContent))))));
|
|
22357
21750
|
};
|
|
22358
21751
|
|
|
22359
|
-
var _DEFAULT_ERROR_MESSAG;
|
|
22360
|
-
|
|
22361
|
-
function _templateObject16() {
|
|
22362
|
-
var data = _taggedTemplateLiteral(["", " is not a valid option"]);
|
|
22363
|
-
|
|
22364
|
-
_templateObject16 = function _templateObject16() {
|
|
22365
|
-
return data;
|
|
22366
|
-
};
|
|
22367
|
-
|
|
22368
|
-
return data;
|
|
22369
|
-
}
|
|
22370
|
-
|
|
22371
|
-
function _templateObject15() {
|
|
22372
|
-
var data = _taggedTemplateLiteral(["", " must match ", ""]);
|
|
22373
|
-
|
|
22374
|
-
_templateObject15 = function _templateObject15() {
|
|
22375
|
-
return data;
|
|
22376
|
-
};
|
|
22377
|
-
|
|
22378
|
-
return data;
|
|
22379
|
-
}
|
|
22380
|
-
|
|
22381
|
-
function _templateObject14() {
|
|
22382
|
-
var data = _taggedTemplateLiteral(["", " is too low"]);
|
|
22383
|
-
|
|
22384
|
-
_templateObject14 = function _templateObject14() {
|
|
22385
|
-
return data;
|
|
22386
|
-
};
|
|
22387
|
-
|
|
22388
|
-
return data;
|
|
22389
|
-
}
|
|
22390
|
-
|
|
22391
|
-
function _templateObject13() {
|
|
22392
|
-
var data = _taggedTemplateLiteral(["", " is too high"]);
|
|
22393
|
-
|
|
22394
|
-
_templateObject13 = function _templateObject13() {
|
|
22395
|
-
return data;
|
|
22396
|
-
};
|
|
22397
|
-
|
|
22398
|
-
return data;
|
|
22399
|
-
}
|
|
22400
|
-
|
|
22401
|
-
function _templateObject12() {
|
|
22402
|
-
var data = _taggedTemplateLiteral(["", " is required"]);
|
|
22403
|
-
|
|
22404
|
-
_templateObject12 = function _templateObject12() {
|
|
22405
|
-
return data;
|
|
22406
|
-
};
|
|
22407
|
-
|
|
22408
|
-
return data;
|
|
22409
|
-
}
|
|
22410
|
-
|
|
22411
|
-
function _templateObject11$1() {
|
|
22412
|
-
var data = _taggedTemplateLiteral(["", " must be only letters"]);
|
|
22413
|
-
|
|
22414
|
-
_templateObject11$1 = function _templateObject11() {
|
|
22415
|
-
return data;
|
|
22416
|
-
};
|
|
22417
|
-
|
|
22418
|
-
return data;
|
|
22419
|
-
}
|
|
22420
|
-
|
|
22421
|
-
function _templateObject10$1() {
|
|
22422
|
-
var data = _taggedTemplateLiteral(["", " must be only numbers"]);
|
|
22423
|
-
|
|
22424
|
-
_templateObject10$1 = function _templateObject10() {
|
|
22425
|
-
return data;
|
|
22426
|
-
};
|
|
22427
|
-
|
|
22428
|
-
return data;
|
|
22429
|
-
}
|
|
22430
|
-
|
|
22431
|
-
function _templateObject9$1() {
|
|
22432
|
-
var data = _taggedTemplateLiteral(["", " needs a special character"]);
|
|
22433
|
-
|
|
22434
|
-
_templateObject9$1 = function _templateObject9() {
|
|
22435
|
-
return data;
|
|
22436
|
-
};
|
|
22437
|
-
|
|
22438
|
-
return data;
|
|
22439
|
-
}
|
|
22440
|
-
|
|
22441
|
-
function _templateObject8$1() {
|
|
22442
|
-
var data = _taggedTemplateLiteral(["", " needs a lowercase letter"]);
|
|
22443
|
-
|
|
22444
|
-
_templateObject8$1 = function _templateObject8() {
|
|
22445
|
-
return data;
|
|
22446
|
-
};
|
|
22447
|
-
|
|
22448
|
-
return data;
|
|
22449
|
-
}
|
|
22450
|
-
|
|
22451
|
-
function _templateObject7$2() {
|
|
22452
|
-
var data = _taggedTemplateLiteral(["", " needs an uppercase letter"]);
|
|
22453
|
-
|
|
22454
|
-
_templateObject7$2 = function _templateObject7() {
|
|
22455
|
-
return data;
|
|
22456
|
-
};
|
|
22457
|
-
|
|
22458
|
-
return data;
|
|
22459
|
-
}
|
|
22460
|
-
|
|
22461
|
-
function _templateObject6$3() {
|
|
22462
|
-
var data = _taggedTemplateLiteral(["", " needs a number"]);
|
|
22463
|
-
|
|
22464
|
-
_templateObject6$3 = function _templateObject6() {
|
|
22465
|
-
return data;
|
|
22466
|
-
};
|
|
22467
|
-
|
|
22468
|
-
return data;
|
|
22469
|
-
}
|
|
22470
|
-
|
|
22471
|
-
function _templateObject5$3() {
|
|
22472
|
-
var data = _taggedTemplateLiteral(["", " is not a valid email address"]);
|
|
22473
|
-
|
|
22474
|
-
_templateObject5$3 = function _templateObject5() {
|
|
22475
|
-
return data;
|
|
22476
|
-
};
|
|
22477
|
-
|
|
22478
|
-
return data;
|
|
22479
|
-
}
|
|
22480
|
-
|
|
22481
|
-
function _templateObject4$4() {
|
|
22482
|
-
var data = _taggedTemplateLiteral(["", " is not a valid length"]);
|
|
22483
|
-
|
|
22484
|
-
_templateObject4$4 = function _templateObject4() {
|
|
22485
|
-
return data;
|
|
22486
|
-
};
|
|
22487
|
-
|
|
22488
|
-
return data;
|
|
22489
|
-
}
|
|
22490
|
-
|
|
22491
|
-
function _templateObject3$9() {
|
|
22492
|
-
var data = _taggedTemplateLiteral(["", " is not the right length"]);
|
|
22493
|
-
|
|
22494
|
-
_templateObject3$9 = function _templateObject3() {
|
|
22495
|
-
return data;
|
|
22496
|
-
};
|
|
22497
|
-
|
|
22498
|
-
return data;
|
|
22499
|
-
}
|
|
22500
|
-
|
|
22501
|
-
function _templateObject2$h() {
|
|
22502
|
-
var data = _taggedTemplateLiteral(["", " is too long"]);
|
|
22503
|
-
|
|
22504
|
-
_templateObject2$h = function _templateObject2() {
|
|
22505
|
-
return data;
|
|
22506
|
-
};
|
|
22507
|
-
|
|
22508
|
-
return data;
|
|
22509
|
-
}
|
|
22510
|
-
|
|
22511
|
-
function _templateObject$v() {
|
|
22512
|
-
var data = _taggedTemplateLiteral(["", " is too short"]);
|
|
22513
|
-
|
|
22514
|
-
_templateObject$v = function _templateObject() {
|
|
22515
|
-
return data;
|
|
22516
|
-
};
|
|
22517
|
-
|
|
22518
|
-
return data;
|
|
22519
|
-
}
|
|
21752
|
+
var _templateObject$v, _templateObject2$h, _templateObject3$9, _templateObject4$4, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
|
|
22520
21753
|
|
|
22521
21754
|
var MIN_LENGTH_ERROR = "error/HAS_LENGTH";
|
|
22522
21755
|
var MAX_LENGTH_ERROR = "max_length_error";
|
|
@@ -22557,7 +21790,7 @@ with interpolation.
|
|
|
22557
21790
|
*/
|
|
22558
21791
|
|
|
22559
21792
|
|
|
22560
|
-
var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$v(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15(), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16(), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
|
|
21793
|
+
var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$v || (_templateObject$v = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
|
|
22561
21794
|
// Neutral - has not been validated
|
|
22562
21795
|
// Invalid - has been validated and has an error
|
|
22563
21796
|
// Valid - has been validated and has no error
|
|
@@ -22817,16 +22050,8 @@ var fallbackValues$r = {
|
|
|
22817
22050
|
inactiveColor: inactiveColor
|
|
22818
22051
|
};
|
|
22819
22052
|
|
|
22820
|
-
|
|
22821
|
-
|
|
22822
|
-
|
|
22823
|
-
_templateObject$w = function _templateObject() {
|
|
22824
|
-
return data;
|
|
22825
|
-
};
|
|
22826
|
-
|
|
22827
|
-
return data;
|
|
22828
|
-
}
|
|
22829
|
-
var HiddenRadioButton = styled__default.input(_templateObject$w(), function (_ref) {
|
|
22053
|
+
var _templateObject$w;
|
|
22054
|
+
var HiddenRadioButton = styled__default.input(_templateObject$w || (_templateObject$w = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n"])), function (_ref) {
|
|
22830
22055
|
var disabled = _ref.disabled;
|
|
22831
22056
|
return disabled ? "auto" : "pointer";
|
|
22832
22057
|
});
|
|
@@ -33604,53 +32829,15 @@ var fallbackValues$u = {
|
|
|
33604
32829
|
leftLabelStyles: leftLabelStyles
|
|
33605
32830
|
};
|
|
33606
32831
|
|
|
33607
|
-
|
|
33608
|
-
|
|
33609
|
-
|
|
33610
|
-
_templateObject4$5 = function _templateObject4() {
|
|
33611
|
-
return data;
|
|
33612
|
-
};
|
|
33613
|
-
|
|
33614
|
-
return data;
|
|
33615
|
-
}
|
|
33616
|
-
|
|
33617
|
-
function _templateObject3$a() {
|
|
33618
|
-
var data = _taggedTemplateLiteral(["\n position: absolute;\n width: 20px;\n height: 20px;\n border: none;\n border-radius: 50%;\n box-sizing: border-box;\n"]);
|
|
33619
|
-
|
|
33620
|
-
_templateObject3$a = function _templateObject3() {
|
|
33621
|
-
return data;
|
|
33622
|
-
};
|
|
33623
|
-
|
|
33624
|
-
return data;
|
|
33625
|
-
}
|
|
33626
|
-
|
|
33627
|
-
function _templateObject2$i() {
|
|
33628
|
-
var data = _taggedTemplateLiteral(["\n width: 48px;\n height: 24px;\n border-radius: 48px;\n border: none;\n position: relative;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-block;\n\n &:hover {\n box-shadow: ", ";\n }\n\n &:focus {\n box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);\n }\n\n ", "\n"]);
|
|
33629
|
-
|
|
33630
|
-
_templateObject2$i = function _templateObject2() {
|
|
33631
|
-
return data;
|
|
33632
|
-
};
|
|
33633
|
-
|
|
33634
|
-
return data;
|
|
33635
|
-
}
|
|
33636
|
-
|
|
33637
|
-
function _templateObject$x() {
|
|
33638
|
-
var data = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"]);
|
|
33639
|
-
|
|
33640
|
-
_templateObject$x = function _templateObject() {
|
|
33641
|
-
return data;
|
|
33642
|
-
};
|
|
33643
|
-
|
|
33644
|
-
return data;
|
|
33645
|
-
}
|
|
33646
|
-
var HiddenToggleSwitchBox = styled__default.input(_templateObject$x(), function (_ref) {
|
|
32832
|
+
var _templateObject$x, _templateObject2$i, _templateObject3$a, _templateObject4$5;
|
|
32833
|
+
var HiddenToggleSwitchBox = styled__default.input(_templateObject$x || (_templateObject$x = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"])), function (_ref) {
|
|
33647
32834
|
var disabled = _ref.disabled;
|
|
33648
32835
|
return disabled ? "auto" : "pointer";
|
|
33649
32836
|
}, function (_ref2) {
|
|
33650
32837
|
var isMobile = _ref2.isMobile;
|
|
33651
32838
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
33652
32839
|
});
|
|
33653
|
-
var VisibleSwitchComponent = styled__default.label(_templateObject2$i(), function (_ref3) {
|
|
32840
|
+
var VisibleSwitchComponent = styled__default.label(_templateObject2$i || (_templateObject2$i = _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"])), function (_ref3) {
|
|
33654
32841
|
var disabled = _ref3.disabled;
|
|
33655
32842
|
return disabled ? "auto" : "pointer";
|
|
33656
32843
|
}, function (_ref4) {
|
|
@@ -33660,8 +32847,8 @@ var VisibleSwitchComponent = styled__default.label(_templateObject2$i(), functio
|
|
|
33660
32847
|
var isMobile = _ref5.isMobile;
|
|
33661
32848
|
return isMobile ? "transform: scale(0.75)" : "";
|
|
33662
32849
|
});
|
|
33663
|
-
var ToggleSwitchMiddleRingComponent = styled__default.div(_templateObject3$a());
|
|
33664
|
-
var ToggleSwitchInnerRingComponent = styled__default.div(_templateObject4$5());
|
|
32850
|
+
var ToggleSwitchMiddleRingComponent = styled__default.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n position: absolute;\n width: 20px;\n height: 20px;\n border: none;\n border-radius: 50%;\n box-sizing: border-box;\n"])));
|
|
32851
|
+
var ToggleSwitchInnerRingComponent = styled__default.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n position: absolute;\n width: 14px;\n height: 14px;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n border-radius: 50%;\n box-sizing: border-box;\n"])));
|
|
33665
32852
|
|
|
33666
32853
|
var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
33667
32854
|
var _ref6$isOn = _ref6.isOn,
|
|
@@ -33810,16 +32997,8 @@ var themeValues = {
|
|
|
33810
32997
|
focusBorder: focusBorder
|
|
33811
32998
|
};
|
|
33812
32999
|
|
|
33813
|
-
|
|
33814
|
-
|
|
33815
|
-
|
|
33816
|
-
_templateObject$y = function _templateObject() {
|
|
33817
|
-
return data;
|
|
33818
|
-
};
|
|
33819
|
-
|
|
33820
|
-
return data;
|
|
33821
|
-
}
|
|
33822
|
-
var TypeaheadInputWrapper = styled__default.div(_templateObject$y(), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
|
|
33000
|
+
var _templateObject$y;
|
|
33001
|
+
var TypeaheadInputWrapper = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteral(["\n display: flex;\n align-content: center;\n align-items: center;\n background: ", ";\n\n input {\n border: 0;\n height: 72px;\n width: 100%;\n padding: 1.5rem;\n padding-left: 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: 400;\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n border: 1px solid transparent;\n\n &:focus {\n border: 1px solid ", ";\n }\n }\n"])), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
|
|
33823
33002
|
|
|
33824
33003
|
var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
33825
33004
|
var handleChange = _ref.handleChange,
|
|
@@ -33867,32 +33046,14 @@ var customParseFormat = createCommonjsModule$1(function (module, exports) {
|
|
|
33867
33046
|
!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);};}}));
|
|
33868
33047
|
});
|
|
33869
33048
|
|
|
33870
|
-
var customParseFormat$1 = /*#__PURE__*/Object.freeze({
|
|
33871
|
-
__proto__: null,
|
|
33872
|
-
'default': customParseFormat,
|
|
33873
|
-
__moduleExports: customParseFormat
|
|
33874
|
-
});
|
|
33875
|
-
|
|
33876
33049
|
var isSameOrBefore = createCommonjsModule$1(function (module, exports) {
|
|
33877
33050
|
!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)};}}));
|
|
33878
33051
|
});
|
|
33879
33052
|
|
|
33880
|
-
var isSameOrBefore$1 = /*#__PURE__*/Object.freeze({
|
|
33881
|
-
__proto__: null,
|
|
33882
|
-
'default': isSameOrBefore,
|
|
33883
|
-
__moduleExports: isSameOrBefore
|
|
33884
|
-
});
|
|
33885
|
-
|
|
33886
33053
|
var isSameOrAfter = createCommonjsModule$1(function (module, exports) {
|
|
33887
33054
|
!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)};}}));
|
|
33888
33055
|
});
|
|
33889
33056
|
|
|
33890
|
-
var isSameOrAfter$1 = /*#__PURE__*/Object.freeze({
|
|
33891
|
-
__proto__: null,
|
|
33892
|
-
'default': isSameOrAfter,
|
|
33893
|
-
__moduleExports: isSameOrAfter
|
|
33894
|
-
});
|
|
33895
|
-
|
|
33896
33057
|
/* eslint-disable no-unused-vars */
|
|
33897
33058
|
|
|
33898
33059
|
const createValidator = (type, error) => {
|
|
@@ -33901,13 +33062,9 @@ const createValidator = (type, error) => {
|
|
|
33901
33062
|
return validator;
|
|
33902
33063
|
};
|
|
33903
33064
|
|
|
33904
|
-
|
|
33905
|
-
|
|
33906
|
-
|
|
33907
|
-
.extend(isSameOrBefore$1)
|
|
33908
|
-
.extend(isSameOrAfter$1);
|
|
33909
|
-
console.log("extended", extendedDayjs);
|
|
33910
|
-
console.log("old dayjs", dayjs_min);
|
|
33065
|
+
dayjs_min.extend(customParseFormat);
|
|
33066
|
+
dayjs_min.extend(isSameOrBefore);
|
|
33067
|
+
dayjs_min.extend(isSameOrAfter);
|
|
33911
33068
|
|
|
33912
33069
|
let validatorFns = {};
|
|
33913
33070
|
|
|
@@ -36038,33 +35195,15 @@ EditNameForm.reducer = reducer$2;
|
|
|
36038
35195
|
EditNameForm.mapStateToProps = mapStateToProps$3;
|
|
36039
35196
|
EditNameForm.mapDispatchToProps = mapDispatchToProps$2;
|
|
36040
35197
|
|
|
36041
|
-
|
|
36042
|
-
|
|
36043
|
-
|
|
36044
|
-
_templateObject2$j = function _templateObject2() {
|
|
36045
|
-
return data;
|
|
36046
|
-
};
|
|
36047
|
-
|
|
36048
|
-
return data;
|
|
36049
|
-
}
|
|
36050
|
-
|
|
36051
|
-
function _templateObject$z() {
|
|
36052
|
-
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"]);
|
|
36053
|
-
|
|
36054
|
-
_templateObject$z = function _templateObject() {
|
|
36055
|
-
return data;
|
|
36056
|
-
};
|
|
36057
|
-
|
|
36058
|
-
return data;
|
|
36059
|
-
}
|
|
36060
|
-
var EditableListItem = styled__default.div(_templateObject$z(), function (_ref) {
|
|
35198
|
+
var _templateObject$z, _templateObject2$j;
|
|
35199
|
+
var EditableListItem = styled__default.div(_templateObject$z || (_templateObject$z = _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"])), function (_ref) {
|
|
36061
35200
|
var disabled = _ref.disabled;
|
|
36062
35201
|
return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
|
|
36063
35202
|
}, GHOST_GREY, function (_ref2) {
|
|
36064
35203
|
var listItemSize = _ref2.listItemSize;
|
|
36065
35204
|
return listItemSize === "big" ? "120px" : "72px";
|
|
36066
35205
|
});
|
|
36067
|
-
var EditableListItemControls = styled__default.div(_templateObject2$j());
|
|
35206
|
+
var EditableListItemControls = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
|
|
36068
35207
|
|
|
36069
35208
|
var ACTIVE$1 = "ACTIVE";
|
|
36070
35209
|
var EXPIRED$1 = "EXPIRED";
|
|
@@ -36120,9 +35259,9 @@ var EditableList = function EditableList(_ref) {
|
|
|
36120
35259
|
|
|
36121
35260
|
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE$1;
|
|
36122
35261
|
return /*#__PURE__*/React__default.createElement(EditableListItem, {
|
|
36123
|
-
listItemSize: !!item.id &&
|
|
35262
|
+
listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
|
|
36124
35263
|
return methodID === item.id;
|
|
36125
|
-
})
|
|
35264
|
+
}) ? "big" : listItemSize,
|
|
36126
35265
|
key: item.id || item,
|
|
36127
35266
|
disabled: expiredItem === EXPIRED$1
|
|
36128
35267
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -36174,100 +35313,12 @@ var EditableList = function EditableList(_ref) {
|
|
|
36174
35313
|
}))));
|
|
36175
35314
|
};
|
|
36176
35315
|
|
|
36177
|
-
|
|
36178
|
-
|
|
36179
|
-
|
|
36180
|
-
_templateObject9$2 = function _templateObject9() {
|
|
36181
|
-
return data;
|
|
36182
|
-
};
|
|
36183
|
-
|
|
36184
|
-
return data;
|
|
36185
|
-
}
|
|
36186
|
-
|
|
36187
|
-
function _templateObject8$2() {
|
|
36188
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"]);
|
|
36189
|
-
|
|
36190
|
-
_templateObject8$2 = function _templateObject8() {
|
|
36191
|
-
return data;
|
|
36192
|
-
};
|
|
36193
|
-
|
|
36194
|
-
return data;
|
|
36195
|
-
}
|
|
36196
|
-
|
|
36197
|
-
function _templateObject7$3() {
|
|
36198
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"]);
|
|
36199
|
-
|
|
36200
|
-
_templateObject7$3 = function _templateObject7() {
|
|
36201
|
-
return data;
|
|
36202
|
-
};
|
|
36203
|
-
|
|
36204
|
-
return data;
|
|
36205
|
-
}
|
|
36206
|
-
|
|
36207
|
-
function _templateObject6$4() {
|
|
36208
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"]);
|
|
36209
|
-
|
|
36210
|
-
_templateObject6$4 = function _templateObject6() {
|
|
36211
|
-
return data;
|
|
36212
|
-
};
|
|
36213
|
-
|
|
36214
|
-
return data;
|
|
36215
|
-
}
|
|
36216
|
-
|
|
36217
|
-
function _templateObject5$4() {
|
|
36218
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"]);
|
|
36219
|
-
|
|
36220
|
-
_templateObject5$4 = function _templateObject5() {
|
|
36221
|
-
return data;
|
|
36222
|
-
};
|
|
36223
|
-
|
|
36224
|
-
return data;
|
|
36225
|
-
}
|
|
36226
|
-
|
|
36227
|
-
function _templateObject4$6() {
|
|
36228
|
-
var data = _taggedTemplateLiteral(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"]);
|
|
36229
|
-
|
|
36230
|
-
_templateObject4$6 = function _templateObject4() {
|
|
36231
|
-
return data;
|
|
36232
|
-
};
|
|
36233
|
-
|
|
36234
|
-
return data;
|
|
36235
|
-
}
|
|
36236
|
-
|
|
36237
|
-
function _templateObject3$b() {
|
|
36238
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"]);
|
|
36239
|
-
|
|
36240
|
-
_templateObject3$b = function _templateObject3() {
|
|
36241
|
-
return data;
|
|
36242
|
-
};
|
|
36243
|
-
|
|
36244
|
-
return data;
|
|
36245
|
-
}
|
|
36246
|
-
|
|
36247
|
-
function _templateObject2$k() {
|
|
36248
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"]);
|
|
36249
|
-
|
|
36250
|
-
_templateObject2$k = function _templateObject2() {
|
|
36251
|
-
return data;
|
|
36252
|
-
};
|
|
36253
|
-
|
|
36254
|
-
return data;
|
|
36255
|
-
}
|
|
36256
|
-
|
|
36257
|
-
function _templateObject$A() {
|
|
36258
|
-
var data = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"]);
|
|
36259
|
-
|
|
36260
|
-
_templateObject$A = function _templateObject() {
|
|
36261
|
-
return data;
|
|
36262
|
-
};
|
|
36263
|
-
|
|
36264
|
-
return data;
|
|
36265
|
-
}
|
|
36266
|
-
var EditableTableContainer = styled__default.div(_templateObject$A(), function (_ref) {
|
|
35316
|
+
var _templateObject$A, _templateObject2$k, _templateObject3$b, _templateObject4$6, _templateObject5$4, _templateObject6$4, _templateObject7$3, _templateObject8$2, _templateObject9$2;
|
|
35317
|
+
var EditableTableContainer = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"])), function (_ref) {
|
|
36267
35318
|
var hide = _ref.hide;
|
|
36268
35319
|
return hide ? "none" : "flex";
|
|
36269
35320
|
});
|
|
36270
|
-
var EditableTableListItem = styled__default.div(_templateObject2$k(), function (_ref2) {
|
|
35321
|
+
var EditableTableListItem = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"])), function (_ref2) {
|
|
36271
35322
|
var isMobile = _ref2.isMobile;
|
|
36272
35323
|
return isMobile && "justify-content: center";
|
|
36273
35324
|
}, function (_ref3) {
|
|
@@ -36280,17 +35331,17 @@ var EditableTableListItem = styled__default.div(_templateObject2$k(), function (
|
|
|
36280
35331
|
var isMobile = _ref5.isMobile;
|
|
36281
35332
|
return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
|
|
36282
35333
|
});
|
|
36283
|
-
var EditableListItemControls$1 = styled__default.div(_templateObject3$b());
|
|
36284
|
-
var EditableListAction = styled__default.div(_templateObject4$6(), MATISSE_BLUE, function (_ref6) {
|
|
35334
|
+
var EditableListItemControls$1 = styled__default.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
|
|
35335
|
+
var EditableListAction = styled__default.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"])), MATISSE_BLUE, function (_ref6) {
|
|
36285
35336
|
var hide = _ref6.hide;
|
|
36286
35337
|
return hide ? "none" : "flex";
|
|
36287
35338
|
});
|
|
36288
|
-
var ItemWrapper = styled__default.div(_templateObject5$4(), GHOST_GREY);
|
|
36289
|
-
var ActionWrapper = styled__default.div(_templateObject6$4(), function (_ref7) {
|
|
35339
|
+
var ItemWrapper = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"])), GHOST_GREY);
|
|
35340
|
+
var ActionWrapper = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"])), function (_ref7) {
|
|
36290
35341
|
var isMobile = _ref7.isMobile;
|
|
36291
35342
|
return isMobile && "display: none";
|
|
36292
35343
|
});
|
|
36293
|
-
var TableItemKey = styled__default.div(_templateObject7$3(), function (_ref8) {
|
|
35344
|
+
var TableItemKey = styled__default.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_ref8) {
|
|
36294
35345
|
var isMobile = _ref8.isMobile;
|
|
36295
35346
|
return !isMobile && "flex: 1";
|
|
36296
35347
|
}, function (_ref9) {
|
|
@@ -36303,7 +35354,7 @@ var TableItemKey = styled__default.div(_templateObject7$3(), function (_ref8) {
|
|
|
36303
35354
|
var isMobile = _ref11.isMobile;
|
|
36304
35355
|
return isMobile ? "1rem" : "1.125rem";
|
|
36305
35356
|
}, STORM_GREY);
|
|
36306
|
-
var TableItemValue = styled__default.div(_templateObject8$2(), function (_ref12) {
|
|
35357
|
+
var TableItemValue = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_ref12) {
|
|
36307
35358
|
var isMobile = _ref12.isMobile;
|
|
36308
35359
|
return !isMobile && "flex: 1";
|
|
36309
35360
|
}, function (_ref13) {
|
|
@@ -36316,7 +35367,7 @@ var TableItemValue = styled__default.div(_templateObject8$2(), function (_ref12)
|
|
|
36316
35367
|
var isMobile = _ref15.isMobile;
|
|
36317
35368
|
return isMobile ? "1.125rem" : "1.0625rem";
|
|
36318
35369
|
}, BRIGHT_GREY);
|
|
36319
|
-
var TableWrapper = styled__default.div(_templateObject9$2());
|
|
35370
|
+
var TableWrapper = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n"])));
|
|
36320
35371
|
|
|
36321
35372
|
var EditableTable = function EditableTable(_ref) {
|
|
36322
35373
|
var title = _ref.title,
|
|
@@ -39759,15 +38810,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
39759
38810
|
|
|
39760
38811
|
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$y, "profile");
|
|
39761
38812
|
|
|
39762
|
-
|
|
39763
|
-
var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
|
|
39764
|
-
|
|
39765
|
-
_templateObject$B = function _templateObject() {
|
|
39766
|
-
return data;
|
|
39767
|
-
};
|
|
39768
|
-
|
|
39769
|
-
return data;
|
|
39770
|
-
}
|
|
38813
|
+
var _templateObject$B;
|
|
39771
38814
|
var menu = posed.div({
|
|
39772
38815
|
invisible: {
|
|
39773
38816
|
left: "-100vw",
|
|
@@ -39798,7 +38841,7 @@ var menu = posed.div({
|
|
|
39798
38841
|
}
|
|
39799
38842
|
}
|
|
39800
38843
|
});
|
|
39801
|
-
var ImposterMenu = styled__default(menu)(_templateObject$B());
|
|
38844
|
+
var ImposterMenu = styled__default(menu)(_templateObject$B || (_templateObject$B = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"])));
|
|
39802
38845
|
|
|
39803
38846
|
var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
39804
38847
|
var id = _ref.id,
|
|
@@ -40531,6 +39574,9 @@ var fallbackValues$A = {
|
|
|
40531
39574
|
labeledAmountTotal: labeledAmountTotal
|
|
40532
39575
|
};
|
|
40533
39576
|
|
|
39577
|
+
var _excluded$w = ["amount"],
|
|
39578
|
+
_excluded2$1 = ["amount"];
|
|
39579
|
+
|
|
40534
39580
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
40535
39581
|
var lineItemElems = _ref.lineItemElems,
|
|
40536
39582
|
feeElems = _ref.feeElems,
|
|
@@ -40619,7 +39665,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
40619
39665
|
return fee.amount > 0;
|
|
40620
39666
|
}).map(function (_ref5) {
|
|
40621
39667
|
var amount = _ref5.amount,
|
|
40622
|
-
rest = _objectWithoutProperties(_ref5,
|
|
39668
|
+
rest = _objectWithoutProperties(_ref5, _excluded$w);
|
|
40623
39669
|
|
|
40624
39670
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
40625
39671
|
amount: displayCurrency(amount)
|
|
@@ -40628,7 +39674,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
40628
39674
|
|
|
40629
39675
|
var lineItems = _lineItems.map(function (_ref6) {
|
|
40630
39676
|
var amount = _ref6.amount,
|
|
40631
|
-
rest = _objectWithoutProperties(_ref6,
|
|
39677
|
+
rest = _objectWithoutProperties(_ref6, _excluded2$1);
|
|
40632
39678
|
|
|
40633
39679
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
40634
39680
|
amount: displayCurrency(amount)
|
|
@@ -41215,15 +40261,7 @@ var fallbackValues$C = {
|
|
|
41215
40261
|
focusStyles: focusStyles
|
|
41216
40262
|
};
|
|
41217
40263
|
|
|
41218
|
-
|
|
41219
|
-
var data = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "]);
|
|
41220
|
-
|
|
41221
|
-
_templateObject$C = function _templateObject() {
|
|
41222
|
-
return data;
|
|
41223
|
-
};
|
|
41224
|
-
|
|
41225
|
-
return data;
|
|
41226
|
-
}
|
|
40264
|
+
var _templateObject$C;
|
|
41227
40265
|
/*
|
|
41228
40266
|
Takes an array of section objects, each object should look like:
|
|
41229
40267
|
{
|
|
@@ -41320,7 +40358,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
41320
40358
|
}
|
|
41321
40359
|
};
|
|
41322
40360
|
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 ");
|
|
41323
|
-
var RightIcon = styled__default.img(_templateObject$C(), function (_ref2) {
|
|
40361
|
+
var RightIcon = styled__default.img(_templateObject$C || (_templateObject$C = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "])), function (_ref2) {
|
|
41324
40362
|
var isMobile = _ref2.isMobile;
|
|
41325
40363
|
return isMobile ? "14px" : "18px";
|
|
41326
40364
|
}, function (_ref3) {
|
|
@@ -42037,16 +41075,8 @@ var fallbackValues$G = {
|
|
|
42037
41075
|
imageBackgroundColor: imageBackgroundColor
|
|
42038
41076
|
};
|
|
42039
41077
|
|
|
42040
|
-
|
|
42041
|
-
|
|
42042
|
-
|
|
42043
|
-
_templateObject$D = function _templateObject() {
|
|
42044
|
-
return data;
|
|
42045
|
-
};
|
|
42046
|
-
|
|
42047
|
-
return data;
|
|
42048
|
-
}
|
|
42049
|
-
var WelcomeImage = styled__default.img(_templateObject$D());
|
|
41078
|
+
var _templateObject$D;
|
|
41079
|
+
var WelcomeImage = styled__default.img(_templateObject$D || (_templateObject$D = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"])));
|
|
42050
41080
|
|
|
42051
41081
|
var WelcomeModule = function WelcomeModule(_ref) {
|
|
42052
41082
|
var heading = _ref.heading,
|