@thecb/components 10.10.0 → 10.11.0-beta.0
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 +781 -479
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +28 -46
- package/dist/index.esm.js +779 -476
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/checkbox/Checkbox.js +10 -1
- package/src/components/atoms/dropdown/DropdownIconV2.js +49 -0
- package/src/components/atoms/form-layouts/FormInput.js +32 -22
- package/src/components/atoms/icons/AgencyIcon.js +24 -0
- package/src/components/atoms/icons/CarrotIcon.js +0 -2
- package/src/components/atoms/icons/icons.stories.js +0 -4
- package/src/components/atoms/icons/index.d.ts +0 -2
- package/src/components/atoms/icons/index.js +3 -5
- package/src/components/atoms/index.d.ts +0 -1
- package/src/components/atoms/index.js +0 -1
- package/src/components/atoms/search/Search.js +1 -1
- package/src/components/molecules/email-form/EmailForm.js +0 -7
- package/src/components/molecules/email-form/EmailForm.state.js +1 -1
- package/src/components/molecules/index.d.ts +1 -0
- package/src/components/molecules/index.js +1 -0
- package/src/components/molecules/multiple-select-filter/MultipleSelectFilter.js +450 -0
- package/src/components/molecules/multiple-select-filter/MultipleSelectFilter.stories.js +76 -0
- package/src/components/molecules/multiple-select-filter/MultipleSelectFilter.theme.js +9 -0
- package/src/components/molecules/multiple-select-filter/index.d.ts +34 -0
- package/src/components/molecules/multiple-select-filter/index.js +3 -0
- package/src/components/molecules/phone-form/PhoneForm.js +1 -7
- package/src/components/molecules/phone-form/PhoneForm.state.js +1 -1
- package/src/hooks/index.js +0 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/CaretArrowDown.d.ts +0 -9
- package/src/components/atoms/icons/CaretArrowDown.js +0 -22
- package/src/components/atoms/icons/CaretArrowUp.d.ts +0 -9
- package/src/components/atoms/icons/CaretArrowUp.js +0 -22
- package/src/components/atoms/sortable-table-heading/SortableTableHeading.js +0 -44
- package/src/components/atoms/sortable-table-heading/SortableTableHeading.stories.js +0 -19
- package/src/components/atoms/sortable-table-heading/SortableTableHeading.theme.js +0 -9
- package/src/components/atoms/sortable-table-heading/index.d.ts +0 -14
- package/src/components/atoms/sortable-table-heading/index.js +0 -3
- package/src/components/atoms/table/Table.stories.js +0 -81
- package/src/hooks/use-conditionally-add-validator/index.js +0 -20
package/dist/index.cjs.js
CHANGED
|
@@ -15225,42 +15225,6 @@ var StatusUnknownIcon = function StatusUnknownIcon() {
|
|
|
15225
15225
|
}))));
|
|
15226
15226
|
};
|
|
15227
15227
|
|
|
15228
|
-
var CaretArrowDown = function CaretArrowDown(_ref) {
|
|
15229
|
-
var color = _ref.color;
|
|
15230
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15231
|
-
width: "10",
|
|
15232
|
-
height: "7",
|
|
15233
|
-
viewBox: "0 0 10 7",
|
|
15234
|
-
fill: "none",
|
|
15235
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15236
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15237
|
-
fillRule: "evenodd",
|
|
15238
|
-
clipRule: "evenodd",
|
|
15239
|
-
d: "M9.01563 1.11612C8.82037 0.920857 8.50379 0.920857 8.30853 1.11612L4.94977 4.47488L1.59101 1.11612C1.39575 0.920857 1.07917 0.920856 0.883904 1.11612L0.353574 1.64645C0.158312 1.84171 0.158312 2.15829 0.353574 2.35356L4.06588 6.06587L4.59621 6.5962C4.79148 6.79146 5.10806 6.79146 5.30332 6.5962L5.83365 6.06587L9.54596 2.35356C9.74122 2.15829 9.74122 1.84171 9.54596 1.64645L9.01563 1.11612Z",
|
|
15240
|
-
fill: color
|
|
15241
|
-
}));
|
|
15242
|
-
};
|
|
15243
|
-
var CaretArrowDown$1 = themeComponent(CaretArrowDown, "Icons", fallbackValues$2);
|
|
15244
|
-
|
|
15245
|
-
var CaretArrowUp = function CaretArrowUp(_ref) {
|
|
15246
|
-
var color = _ref.color;
|
|
15247
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15248
|
-
width: "10",
|
|
15249
|
-
height: "7",
|
|
15250
|
-
viewBox: "0 0 10 7",
|
|
15251
|
-
fill: "none",
|
|
15252
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15253
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15254
|
-
fillRule: "evenodd",
|
|
15255
|
-
clipRule: "evenodd",
|
|
15256
|
-
d: "M0.883904 5.88388C1.07917 6.07914 1.39575 6.07914 1.59101 5.88388L4.94977 2.52512L8.30853 5.88388C8.50379 6.07914 8.82037 6.07914 9.01563 5.88388L9.54596 5.35355C9.74122 5.15829 9.74122 4.84171 9.54596 4.64644L5.83365 0.934134L5.30332 0.403804C5.10806 0.208542 4.79148 0.208542 4.59621 0.403804L4.06588 0.934134L0.353574 4.64644C0.158312 4.84171 0.158312 5.15829 0.353574 5.35355L0.883904 5.88388Z",
|
|
15257
|
-
fill: color
|
|
15258
|
-
}));
|
|
15259
|
-
};
|
|
15260
|
-
var CaretArrowUp$1 = themeComponent(CaretArrowUp, "Icons", fallbackValues$2);
|
|
15261
|
-
|
|
15262
|
-
// This differs from CaretArrowUp and CaretArrowDown in that it completes a triangular shape. It is used in the header on Navigate.
|
|
15263
|
-
|
|
15264
15228
|
var CarrotIcon = function CarrotIcon(_ref) {
|
|
15265
15229
|
var themeValues = _ref.themeValues;
|
|
15266
15230
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -18833,6 +18797,28 @@ var NoResultsIcon = function NoResultsIcon(_ref) {
|
|
|
18833
18797
|
}))))));
|
|
18834
18798
|
};
|
|
18835
18799
|
|
|
18800
|
+
var _excluded$l = ["color"];
|
|
18801
|
+
var AgencyIcon = function AgencyIcon(_ref) {
|
|
18802
|
+
var _ref$color = _ref.color,
|
|
18803
|
+
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
18804
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
18805
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
18806
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18807
|
+
width: "20",
|
|
18808
|
+
height: "21",
|
|
18809
|
+
viewBox: "0 0 20 21",
|
|
18810
|
+
fill: "none"
|
|
18811
|
+
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
18812
|
+
id: "Agency / Agency - S"
|
|
18813
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18814
|
+
id: "Icon - Agency",
|
|
18815
|
+
fillRule: "evenodd",
|
|
18816
|
+
clipRule: "evenodd",
|
|
18817
|
+
d: "M9.5625 4.375H3.875L3.875 16.625H9.5625V7.875V7V4.375ZM10.4375 7.875V16.625H16.125V7.875H10.4375ZM10.4375 7H16.125C16.6082 7 17 7.39175 17 7.875V16.625C17 17.1082 16.6082 17.5 16.125 17.5H10.4375H9.5625H3.875C3.39175 17.5 3 17.1082 3 16.625V4.375C3 3.89175 3.39175 3.5 3.875 3.5H9.5625C10.0457 3.5 10.4375 3.89175 10.4375 4.375V7ZM8.46875 6.5625H4.96875V7.4375H8.46875V6.5625ZM4.96875 8.3125H8.46875V9.1875H4.96875V8.3125ZM8.46875 10.0625H4.96875V10.9375H8.46875V10.0625ZM4.96875 11.8125H8.46875V12.6875H4.96875V11.8125ZM4.96875 13.5625H8.46875V14.4375H4.96875V13.5625ZM11.5312 10.0625H15.0312V10.9375H11.5312V10.0625ZM11.5312 11.8125H15.0312V12.6875H11.5312V11.8125ZM15.0312 13.5625H11.5312V14.4375H15.0312V13.5625Z",
|
|
18818
|
+
fill: color
|
|
18819
|
+
})));
|
|
18820
|
+
};
|
|
18821
|
+
|
|
18836
18822
|
var color$2 = "#15749D";
|
|
18837
18823
|
var hoverColor$1 = "#116285";
|
|
18838
18824
|
var activeColor$1 = "#0E506D";
|
|
@@ -19486,7 +19472,7 @@ var mobileFallbackValues = {
|
|
|
19486
19472
|
};
|
|
19487
19473
|
var MOBILE_BREAKPOINT = 768;
|
|
19488
19474
|
|
|
19489
|
-
var _excluded$
|
|
19475
|
+
var _excluded$m = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
19490
19476
|
|
|
19491
19477
|
/*
|
|
19492
19478
|
New responsive text component for Title elements
|
|
@@ -19533,7 +19519,7 @@ var Title = function Title(_ref) {
|
|
|
19533
19519
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
19534
19520
|
dataQa = _ref.dataQa,
|
|
19535
19521
|
children = _ref.children,
|
|
19536
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19522
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
19537
19523
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
19538
19524
|
variant: variant,
|
|
19539
19525
|
as: as,
|
|
@@ -20961,12 +20947,12 @@ var fallbackValues$8 = {
|
|
|
20961
20947
|
linkColor: linkColor
|
|
20962
20948
|
};
|
|
20963
20949
|
|
|
20964
|
-
var _excluded$
|
|
20950
|
+
var _excluded$n = ["variant", "themeValues", "children"];
|
|
20965
20951
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
20966
20952
|
var variant = _ref.variant,
|
|
20967
20953
|
themeValues = _ref.themeValues,
|
|
20968
20954
|
children = _ref.children,
|
|
20969
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20955
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
20970
20956
|
var shadowRegistry = {
|
|
20971
20957
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
20972
20958
|
baseHover: "0px 1px 7px 0px ".concat(rgba$1(BLACK, 0.3), ", 0px 1px 4px 0px ").concat(rgba$1(BLACK, 0.2), ", 0px 7px 12px 0px ").concat(rgba$1(BLACK, 0.2), ";"),
|
|
@@ -21026,7 +21012,7 @@ var fallbackValues$a = {
|
|
|
21026
21012
|
externalLinkColor: externalLinkColor
|
|
21027
21013
|
};
|
|
21028
21014
|
|
|
21029
|
-
var _excluded$
|
|
21015
|
+
var _excluded$o = ["hoverColor", "activeColor", "extrastyles"];
|
|
21030
21016
|
var ROYAL_BLUE$1 = ROYAL_BLUE;
|
|
21031
21017
|
var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
|
|
21032
21018
|
|
|
@@ -21040,7 +21026,7 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
21040
21026
|
var hoverColor = _ref.hoverColor,
|
|
21041
21027
|
activeColor = _ref.activeColor,
|
|
21042
21028
|
extrastyles = _ref.extrastyles,
|
|
21043
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
21029
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
21044
21030
|
return /*#__PURE__*/React__default.createElement("a", _extends({}, props, {
|
|
21045
21031
|
ref: ref
|
|
21046
21032
|
}));
|
|
@@ -21115,7 +21101,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
21115
21101
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
21116
21102
|
});
|
|
21117
21103
|
|
|
21118
|
-
var _excluded$
|
|
21104
|
+
var _excluded$p = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
21119
21105
|
var ROYAL_BLUE$2 = ROYAL_BLUE;
|
|
21120
21106
|
var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
|
|
21121
21107
|
|
|
@@ -21131,7 +21117,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
21131
21117
|
active = _ref.active,
|
|
21132
21118
|
color = _ref.color,
|
|
21133
21119
|
extrastyles = _ref.extrastyles,
|
|
21134
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
21120
|
+
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
21135
21121
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, _extends({}, props, {
|
|
21136
21122
|
ref: ref
|
|
21137
21123
|
}));
|
|
@@ -22814,7 +22800,7 @@ _curry2(function test(pattern, str) {
|
|
|
22814
22800
|
return _cloneRegExp(pattern).test(str);
|
|
22815
22801
|
});
|
|
22816
22802
|
|
|
22817
|
-
var _excluded$
|
|
22803
|
+
var _excluded$q = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22818
22804
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22819
22805
|
var _ref$url = _ref.url,
|
|
22820
22806
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -22829,7 +22815,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22829
22815
|
_ref$newTab = _ref.newTab,
|
|
22830
22816
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22831
22817
|
dataQa = _ref.dataQa,
|
|
22832
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22818
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$q);
|
|
22833
22819
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
22834
22820
|
var children = _ref2.children,
|
|
22835
22821
|
url = _ref2.url,
|
|
@@ -22917,7 +22903,7 @@ var ParagraphText = styled__default.p.withConfig({
|
|
|
22917
22903
|
return extraStyles;
|
|
22918
22904
|
});
|
|
22919
22905
|
|
|
22920
|
-
var _excluded$
|
|
22906
|
+
var _excluded$r = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
22921
22907
|
var Paragraph = function Paragraph(_ref) {
|
|
22922
22908
|
var themeValues = _ref.themeValues,
|
|
22923
22909
|
_ref$weight = _ref.weight,
|
|
@@ -22931,7 +22917,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22931
22917
|
dataQa = _ref.dataQa,
|
|
22932
22918
|
children = _ref.children,
|
|
22933
22919
|
as = _ref.as,
|
|
22934
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22920
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
22935
22921
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
22936
22922
|
weight: weight,
|
|
22937
22923
|
color: color,
|
|
@@ -23173,6 +23159,7 @@ var ENTER = 13;
|
|
|
23173
23159
|
var ESCAPE = 27;
|
|
23174
23160
|
var SPACEBAR = 32;
|
|
23175
23161
|
|
|
23162
|
+
var _excluded$s = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles"];
|
|
23176
23163
|
var CheckboxContainer = styled__default.span.withConfig({
|
|
23177
23164
|
displayName: "Checkbox__CheckboxContainer",
|
|
23178
23165
|
componentId: "sc-36kqbv-0"
|
|
@@ -23199,7 +23186,7 @@ var HiddenCheckbox = styled__default.input.attrs({
|
|
|
23199
23186
|
var StyledCheckbox = styled__default.span.withConfig({
|
|
23200
23187
|
displayName: "Checkbox__StyledCheckbox",
|
|
23201
23188
|
componentId: "sc-36kqbv-4"
|
|
23202
|
-
})(["display:inline-block;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
|
|
23189
|
+
})(["display:inline-block;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";", ""], CheckboxIcon, function (_ref2) {
|
|
23203
23190
|
var checked = _ref2.checked;
|
|
23204
23191
|
return checked ? "visible" : "hidden";
|
|
23205
23192
|
}, function (_ref3) {
|
|
@@ -23214,27 +23201,32 @@ var StyledCheckbox = styled__default.span.withConfig({
|
|
|
23214
23201
|
disabledStyles = _ref3.disabledStyles,
|
|
23215
23202
|
disabledCheckedStyles = _ref3.disabledCheckedStyles;
|
|
23216
23203
|
return error ? styled.css(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? styled.css(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(["", " ", ""], checkedStyles, focused && focusedStyles) : styled.css(["", " ", ""], defaultStyles, focused && focusedStyles);
|
|
23204
|
+
}, function (_ref4) {
|
|
23205
|
+
var checkboxExtraStyles = _ref4.checkboxExtraStyles;
|
|
23206
|
+
return styled.css(["", ""], checkboxExtraStyles);
|
|
23217
23207
|
});
|
|
23218
|
-
var Checkbox = function Checkbox(
|
|
23219
|
-
var title =
|
|
23220
|
-
name =
|
|
23221
|
-
checked =
|
|
23222
|
-
|
|
23223
|
-
onChange =
|
|
23224
|
-
|
|
23225
|
-
disabled =
|
|
23226
|
-
themeValues =
|
|
23227
|
-
|
|
23228
|
-
hidden =
|
|
23229
|
-
|
|
23230
|
-
error =
|
|
23231
|
-
|
|
23232
|
-
checkboxMargin =
|
|
23233
|
-
extraStyles =
|
|
23234
|
-
textExtraStyles =
|
|
23235
|
-
labelledById =
|
|
23236
|
-
|
|
23237
|
-
dataQa =
|
|
23208
|
+
var Checkbox = function Checkbox(_ref5) {
|
|
23209
|
+
var title = _ref5.title,
|
|
23210
|
+
name = _ref5.name,
|
|
23211
|
+
checked = _ref5.checked,
|
|
23212
|
+
_ref5$onChange = _ref5.onChange,
|
|
23213
|
+
onChange = _ref5$onChange === void 0 ? noop : _ref5$onChange,
|
|
23214
|
+
_ref5$disabled = _ref5.disabled,
|
|
23215
|
+
disabled = _ref5$disabled === void 0 ? false : _ref5$disabled,
|
|
23216
|
+
themeValues = _ref5.themeValues,
|
|
23217
|
+
_ref5$hidden = _ref5.hidden,
|
|
23218
|
+
hidden = _ref5$hidden === void 0 ? false : _ref5$hidden,
|
|
23219
|
+
_ref5$error = _ref5.error,
|
|
23220
|
+
error = _ref5$error === void 0 ? false : _ref5$error,
|
|
23221
|
+
_ref5$checkboxMargin = _ref5.checkboxMargin,
|
|
23222
|
+
checkboxMargin = _ref5$checkboxMargin === void 0 ? "0 16px 0 0" : _ref5$checkboxMargin,
|
|
23223
|
+
extraStyles = _ref5.extraStyles,
|
|
23224
|
+
textExtraStyles = _ref5.textExtraStyles,
|
|
23225
|
+
labelledById = _ref5.labelledById,
|
|
23226
|
+
_ref5$dataQa = _ref5.dataQa,
|
|
23227
|
+
dataQa = _ref5$dataQa === void 0 ? null : _ref5$dataQa,
|
|
23228
|
+
checkboxExtraStyles = _ref5.checkboxExtraStyles,
|
|
23229
|
+
rest = _objectWithoutProperties(_ref5, _excluded$s);
|
|
23238
23230
|
var _useState = React.useState(false),
|
|
23239
23231
|
_useState2 = _slicedToArray(_useState, 2),
|
|
23240
23232
|
focused = _useState2[0],
|
|
@@ -23247,7 +23239,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
23247
23239
|
var titleId = title ? "checkboxlabel-".concat(name) : undefined;
|
|
23248
23240
|
var ariaLabelledById = labelledById !== null && labelledById !== void 0 ? labelledById : titleId;
|
|
23249
23241
|
var ariaLabel = ariaLabelledById ? undefined : name;
|
|
23250
|
-
return /*#__PURE__*/React__default.createElement(Box, {
|
|
23242
|
+
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
23251
23243
|
padding: "0",
|
|
23252
23244
|
tabIndex: "0",
|
|
23253
23245
|
onFocus: function onFocus() {
|
|
@@ -23262,7 +23254,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
23262
23254
|
hiddenStyles: hidden,
|
|
23263
23255
|
background: themeValues.backgroundColor,
|
|
23264
23256
|
extraStyles: "outline: none; ".concat(extraStyles, "; margin: ").concat(checkboxMargin, ";")
|
|
23265
|
-
}, /*#__PURE__*/React__default.createElement(CheckboxLabelContainer, {
|
|
23257
|
+
}, rest), /*#__PURE__*/React__default.createElement(CheckboxLabelContainer, {
|
|
23266
23258
|
"data-qa": dataQa
|
|
23267
23259
|
}, /*#__PURE__*/React__default.createElement(CheckboxContainer, {
|
|
23268
23260
|
"data-qa": "Checkbox"
|
|
@@ -23289,7 +23281,8 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
23289
23281
|
errorStyles: themeValues.errorStyles,
|
|
23290
23282
|
disabledStyles: themeValues.disabledStyles,
|
|
23291
23283
|
disabledCheckedStyles: themeValues.disabledCheckedStyles,
|
|
23292
|
-
focusedStyles: themeValues.focusedStyles
|
|
23284
|
+
focusedStyles: themeValues.focusedStyles,
|
|
23285
|
+
checkboxExtraStyles: checkboxExtraStyles
|
|
23293
23286
|
}, /*#__PURE__*/React__default.createElement(CheckboxIcon, {
|
|
23294
23287
|
viewBox: "0 0 24 24",
|
|
23295
23288
|
disabled: disabled,
|
|
@@ -23500,176 +23493,6 @@ var CheckboxList = function CheckboxList(_ref2) {
|
|
|
23500
23493
|
};
|
|
23501
23494
|
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$e, "default");
|
|
23502
23495
|
|
|
23503
|
-
var inactiveColor = MANATEE_GREY;
|
|
23504
|
-
var activeColor$4 = CHARADE_GREY;
|
|
23505
|
-
var fallbackValues$f = {
|
|
23506
|
-
inactiveColor: inactiveColor,
|
|
23507
|
-
activeColor: activeColor$4
|
|
23508
|
-
};
|
|
23509
|
-
|
|
23510
|
-
var Table_styled = styled__default.table.withConfig({
|
|
23511
|
-
displayName: "Tablestyled",
|
|
23512
|
-
componentId: "sc-mveye7-0"
|
|
23513
|
-
})(["width:100%;table-layout:auto;border-collapse:collapse;", ""], function (_ref) {
|
|
23514
|
-
var extraStyles = _ref.extraStyles;
|
|
23515
|
-
return extraStyles;
|
|
23516
|
-
});
|
|
23517
|
-
|
|
23518
|
-
var TableBody_styled = styled__default.tbody.withConfig({
|
|
23519
|
-
displayName: "TableBodystyled",
|
|
23520
|
-
componentId: "sc-wk5osr-0"
|
|
23521
|
-
})(["", ""], function (_ref) {
|
|
23522
|
-
var extraStyles = _ref.extraStyles;
|
|
23523
|
-
return extraStyles;
|
|
23524
|
-
});
|
|
23525
|
-
|
|
23526
|
-
var TableCell_styled = styled__default.td.withConfig({
|
|
23527
|
-
displayName: "TableCellstyled",
|
|
23528
|
-
componentId: "sc-iqndn8-0"
|
|
23529
|
-
})(["padding:", ";font-size:", " white-space:nowrap;max-width:", ";overflow:hidden;text-overflow:ellipsis;&:last-child{text-align:right;}", ";"], function (_ref) {
|
|
23530
|
-
var _ref$padding = _ref.padding,
|
|
23531
|
-
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
23532
|
-
return padding;
|
|
23533
|
-
}, function (_ref2) {
|
|
23534
|
-
var _ref2$fontSize = _ref2.fontSize,
|
|
23535
|
-
fontSize = _ref2$fontSize === void 0 ? "0.875rem" : _ref2$fontSize;
|
|
23536
|
-
return fontSize;
|
|
23537
|
-
}, function (_ref3) {
|
|
23538
|
-
var _ref3$maxWidth = _ref3.maxWidth,
|
|
23539
|
-
maxWidth = _ref3$maxWidth === void 0 ? "250px" : _ref3$maxWidth;
|
|
23540
|
-
return maxWidth;
|
|
23541
|
-
}, function (_ref4) {
|
|
23542
|
-
var extraStyles = _ref4.extraStyles;
|
|
23543
|
-
return extraStyles;
|
|
23544
|
-
});
|
|
23545
|
-
|
|
23546
|
-
var backgroundColor$3 = ALABASTER_WHITE;
|
|
23547
|
-
var borderColor = GREY_CHATEAU;
|
|
23548
|
-
var fallbackValues$g = {
|
|
23549
|
-
backgroundColor: backgroundColor$3,
|
|
23550
|
-
borderColor: borderColor
|
|
23551
|
-
};
|
|
23552
|
-
|
|
23553
|
-
var StyledTableHead = styled__default.thead.withConfig({
|
|
23554
|
-
displayName: "TableHeadstyled",
|
|
23555
|
-
componentId: "sc-j8e6c1-0"
|
|
23556
|
-
})(["background-color:", ";border-bottom:", ";font-size:", ";"], function (_ref) {
|
|
23557
|
-
var backgroundColor = _ref.backgroundColor;
|
|
23558
|
-
return backgroundColor;
|
|
23559
|
-
}, function (_ref2) {
|
|
23560
|
-
var borderColor = _ref2.borderColor;
|
|
23561
|
-
return "1px solid ".concat(borderColor);
|
|
23562
|
-
}, function (_ref3) {
|
|
23563
|
-
var _ref3$fontSize = _ref3.fontSize,
|
|
23564
|
-
fontSize = _ref3$fontSize === void 0 ? "0.875rem" : _ref3$fontSize;
|
|
23565
|
-
return fontSize;
|
|
23566
|
-
});
|
|
23567
|
-
|
|
23568
|
-
var borderColor$1 = GREY_CHATEAU;
|
|
23569
|
-
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
23570
|
-
var fallbackValues$h = {
|
|
23571
|
-
borderColor: borderColor$1,
|
|
23572
|
-
hoverBackgroundColor: hoverBackgroundColor$1
|
|
23573
|
-
};
|
|
23574
|
-
|
|
23575
|
-
var TableRowWrapper = styled__default.tr.withConfig({
|
|
23576
|
-
displayName: "TableRowstyled",
|
|
23577
|
-
componentId: "sc-1tc0sav-0"
|
|
23578
|
-
})(["&:not(:last-child){border-bottom:", ";}", " ", ""], function (_ref) {
|
|
23579
|
-
var borderColor = _ref.borderColor;
|
|
23580
|
-
return "1px solid ".concat(borderColor);
|
|
23581
|
-
}, function (_ref2) {
|
|
23582
|
-
var hoverCursor = _ref2.hoverCursor,
|
|
23583
|
-
hoverEffect = _ref2.hoverEffect,
|
|
23584
|
-
hoverBackgroundColor = _ref2.hoverBackgroundColor;
|
|
23585
|
-
return hoverEffect && "&:hover {\n ".concat(hoverCursor && "cursor: pointer", ";\n background-color: ").concat(hoverBackgroundColor, ";\n }");
|
|
23586
|
-
}, function (_ref3) {
|
|
23587
|
-
var extraStyles = _ref3.extraStyles;
|
|
23588
|
-
return extraStyles;
|
|
23589
|
-
});
|
|
23590
|
-
|
|
23591
|
-
var _excluded$r = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
23592
|
-
var TableRow = function TableRow(_ref) {
|
|
23593
|
-
var children = _ref.children,
|
|
23594
|
-
extraStyles = _ref.extraStyles,
|
|
23595
|
-
_ref$hoverCursor = _ref.hoverCursor,
|
|
23596
|
-
_ref$hoverEffect = _ref.hoverEffect,
|
|
23597
|
-
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
23598
|
-
onClick = _ref.onClick,
|
|
23599
|
-
themeValues = _ref.themeValues,
|
|
23600
|
-
props = _objectWithoutProperties(_ref, _excluded$r);
|
|
23601
|
-
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
23602
|
-
onClick: onClick,
|
|
23603
|
-
hoverEffect: hoverEffect,
|
|
23604
|
-
extraStyles: extraStyles,
|
|
23605
|
-
borderColor: themeValues.borderColor,
|
|
23606
|
-
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
23607
|
-
}, props), children);
|
|
23608
|
-
};
|
|
23609
|
-
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$h);
|
|
23610
|
-
|
|
23611
|
-
var TableHead = function TableHead(_ref) {
|
|
23612
|
-
var children = _ref.children,
|
|
23613
|
-
_ref$extraStyles = _ref.extraStyles,
|
|
23614
|
-
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
23615
|
-
themeValues = _ref.themeValues;
|
|
23616
|
-
return /*#__PURE__*/React__default.createElement(StyledTableHead, {
|
|
23617
|
-
backgroundColor: themeValues.backgroundColor,
|
|
23618
|
-
borderColor: themeValues.borderColor
|
|
23619
|
-
}, /*#__PURE__*/React__default.createElement(TableRow$1, {
|
|
23620
|
-
extraStyles: extraStyles,
|
|
23621
|
-
hoverEffect: false
|
|
23622
|
-
}, children));
|
|
23623
|
-
};
|
|
23624
|
-
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$g);
|
|
23625
|
-
|
|
23626
|
-
var TableHeading = styled__default.th.withConfig({
|
|
23627
|
-
displayName: "TableHeadingstyled",
|
|
23628
|
-
componentId: "sc-1ggk38d-0"
|
|
23629
|
-
})(["padding:", ";min-width:", ";text-align:left;&:last-child{text-align:right;}", ""], function (_ref) {
|
|
23630
|
-
var _ref$padding = _ref.padding,
|
|
23631
|
-
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
23632
|
-
return padding;
|
|
23633
|
-
}, function (_ref2) {
|
|
23634
|
-
var _ref2$minWidth = _ref2.minWidth,
|
|
23635
|
-
minWidth = _ref2$minWidth === void 0 ? "initial" : _ref2$minWidth;
|
|
23636
|
-
return minWidth;
|
|
23637
|
-
}, function (_ref3) {
|
|
23638
|
-
var extraStyles = _ref3.extraStyles;
|
|
23639
|
-
return extraStyles;
|
|
23640
|
-
});
|
|
23641
|
-
|
|
23642
|
-
var SortableTableHeading = function SortableTableHeading(_ref) {
|
|
23643
|
-
var ariaControlsId = _ref.ariaControlsId,
|
|
23644
|
-
displayName = _ref.displayName,
|
|
23645
|
-
onSortChange = _ref.onSortChange,
|
|
23646
|
-
_ref$sortOrder = _ref.sortOrder,
|
|
23647
|
-
sortOrder = _ref$sortOrder === void 0 ? null : _ref$sortOrder,
|
|
23648
|
-
themeValues = _ref.themeValues,
|
|
23649
|
-
extraStyles = _ref.extraStyles;
|
|
23650
|
-
var getCaretColor = function getCaretColor(order) {
|
|
23651
|
-
if (sortOrder === order) {
|
|
23652
|
-
return themeValues.activeColor;
|
|
23653
|
-
}
|
|
23654
|
-
return themeValues.inactiveColor;
|
|
23655
|
-
};
|
|
23656
|
-
return /*#__PURE__*/React__default.createElement(TableHeading, {
|
|
23657
|
-
extraStyles: "cursor: pointer; ".concat(extraStyles),
|
|
23658
|
-
onClick: onSortChange,
|
|
23659
|
-
"aria-controls": ariaControlsId
|
|
23660
|
-
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
23661
|
-
justify: "space-between"
|
|
23662
|
-
}, displayName, /*#__PURE__*/React__default.createElement(Stack, {
|
|
23663
|
-
justify: "center",
|
|
23664
|
-
childGap: "2px"
|
|
23665
|
-
}, /*#__PURE__*/React__default.createElement(CaretArrowUp$1, {
|
|
23666
|
-
color: getCaretColor("asc")
|
|
23667
|
-
}), /*#__PURE__*/React__default.createElement(CaretArrowDown$1, {
|
|
23668
|
-
color: getCaretColor("desc")
|
|
23669
|
-
}))));
|
|
23670
|
-
};
|
|
23671
|
-
var SortableTableHeading$1 = themeComponent(SortableTableHeading, "SortableTableHeading", fallbackValues$f);
|
|
23672
|
-
|
|
23673
23496
|
var DropdownIcon = function DropdownIcon() {
|
|
23674
23497
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
23675
23498
|
version: "1.2",
|
|
@@ -25005,7 +24828,7 @@ exportTypedArrayMethod$1('at', function at(index) {
|
|
|
25005
24828
|
var selectedColor = "".concat(MATISSE_BLUE);
|
|
25006
24829
|
var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
|
|
25007
24830
|
var focusColor = "".concat(MATISSE_BLUE_DARK);
|
|
25008
|
-
var fallbackValues$
|
|
24831
|
+
var fallbackValues$f = {
|
|
25009
24832
|
selectedColor: selectedColor,
|
|
25010
24833
|
hoverColor: hoverColor$3,
|
|
25011
24834
|
focusColor: focusColor
|
|
@@ -25406,7 +25229,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
25406
25229
|
}, choice.text)));
|
|
25407
25230
|
}))) : /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
25408
25231
|
};
|
|
25409
|
-
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$
|
|
25232
|
+
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$f);
|
|
25410
25233
|
|
|
25411
25234
|
var SelectContainer = styled__default.div.withConfig({
|
|
25412
25235
|
displayName: "FormSelectstyled__SelectContainer",
|
|
@@ -25453,7 +25276,7 @@ var labelColor = {
|
|
|
25453
25276
|
"default": "".concat(CHARADE_GREY),
|
|
25454
25277
|
disabled: "".concat(CHARADE_GREY)
|
|
25455
25278
|
};
|
|
25456
|
-
var borderColor
|
|
25279
|
+
var borderColor = {
|
|
25457
25280
|
"default": "".concat(GREY_CHATEAU),
|
|
25458
25281
|
disabled: "".concat(GREY_CHATEAU)
|
|
25459
25282
|
};
|
|
@@ -25477,13 +25300,13 @@ var hoverFocusStyles = {
|
|
|
25477
25300
|
"default": "color: #0E506D; outline: none; text-decoration: underline; ",
|
|
25478
25301
|
disabled: "color: #6D717E;"
|
|
25479
25302
|
};
|
|
25480
|
-
var fallbackValues$
|
|
25303
|
+
var fallbackValues$g = {
|
|
25481
25304
|
linkColor: linkColor$1,
|
|
25482
25305
|
formBackgroundColor: formBackgroundColor,
|
|
25483
25306
|
inputBackgroundColor: inputBackgroundColor,
|
|
25484
25307
|
color: color$6,
|
|
25485
25308
|
labelColor: labelColor,
|
|
25486
|
-
borderColor: borderColor
|
|
25309
|
+
borderColor: borderColor,
|
|
25487
25310
|
lineHeight: lineHeight$1,
|
|
25488
25311
|
fontSize: fontSize$4,
|
|
25489
25312
|
errorFontSize: errorFontSize,
|
|
@@ -25589,7 +25412,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
25589
25412
|
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
25590
25413
|
})));
|
|
25591
25414
|
};
|
|
25592
|
-
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$
|
|
25415
|
+
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$g, "default");
|
|
25593
25416
|
|
|
25594
25417
|
var options = [{
|
|
25595
25418
|
text: "Afghanistan",
|
|
@@ -26412,7 +26235,7 @@ var mobileFontSize$1 = {
|
|
|
26412
26235
|
// 12px
|
|
26413
26236
|
extraSmall: "0.71428rem" // 10px
|
|
26414
26237
|
};
|
|
26415
|
-
var fallbackValues$
|
|
26238
|
+
var fallbackValues$h = {
|
|
26416
26239
|
fontFamily: fontFamily$4,
|
|
26417
26240
|
fontSize: fontSize$5
|
|
26418
26241
|
};
|
|
@@ -26422,7 +26245,7 @@ var mobileFallbackValues$1 = {
|
|
|
26422
26245
|
};
|
|
26423
26246
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
26424
26247
|
|
|
26425
|
-
var _excluded$
|
|
26248
|
+
var _excluded$t = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26426
26249
|
|
|
26427
26250
|
/*
|
|
26428
26251
|
New responsive text component for Detail elements
|
|
@@ -26453,7 +26276,7 @@ var _excluded$s = ["themeValues", "weight", "color", "margin", "textAlign", "ext
|
|
|
26453
26276
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
26454
26277
|
var isTouchDevice$2 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
26455
26278
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$2;
|
|
26456
|
-
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$
|
|
26279
|
+
var fallbacks$1 = mobileDeviceDetected$1 ? mobileFallbackValues$1 : fallbackValues$h;
|
|
26457
26280
|
var Detail = function Detail(_ref) {
|
|
26458
26281
|
var themeValues = _ref.themeValues,
|
|
26459
26282
|
_ref$weight = _ref.weight,
|
|
@@ -26472,7 +26295,7 @@ var Detail = function Detail(_ref) {
|
|
|
26472
26295
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
26473
26296
|
dataQa = _ref.dataQa,
|
|
26474
26297
|
children = _ref.children,
|
|
26475
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26298
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26476
26299
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
26477
26300
|
variant: variant,
|
|
26478
26301
|
as: as,
|
|
@@ -26489,10 +26312,10 @@ var Detail = function Detail(_ref) {
|
|
|
26489
26312
|
};
|
|
26490
26313
|
var Detail$1 = themeComponent(Detail, "Detail", fallbacks$1, "regular");
|
|
26491
26314
|
|
|
26492
|
-
var backgroundColor$
|
|
26315
|
+
var backgroundColor$3 = WHITE;
|
|
26493
26316
|
var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
26494
|
-
var fallbackValues$
|
|
26495
|
-
backgroundColor: backgroundColor$
|
|
26317
|
+
var fallbackValues$i = {
|
|
26318
|
+
backgroundColor: backgroundColor$3,
|
|
26496
26319
|
boxShadow: boxShadow
|
|
26497
26320
|
};
|
|
26498
26321
|
|
|
@@ -26514,7 +26337,7 @@ var DisplayBox = function DisplayBox(_ref) {
|
|
|
26514
26337
|
dataQa: dataQa
|
|
26515
26338
|
}, children));
|
|
26516
26339
|
};
|
|
26517
|
-
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$
|
|
26340
|
+
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$i);
|
|
26518
26341
|
|
|
26519
26342
|
/*
|
|
26520
26343
|
Hook that assigns a click event listener to the main document element
|
|
@@ -26609,34 +26432,21 @@ var useToastNotification = function useToastNotification() {
|
|
|
26609
26432
|
};
|
|
26610
26433
|
};
|
|
26611
26434
|
|
|
26612
|
-
function useConditionallyAddValidator(condition, validatorFn, addValidator, removeValidator) {
|
|
26613
|
-
React.useEffect(function () {
|
|
26614
|
-
if (condition) {
|
|
26615
|
-
addValidator(validatorFn());
|
|
26616
|
-
}
|
|
26617
|
-
return function () {
|
|
26618
|
-
// Remove validator when component unmounts
|
|
26619
|
-
removeValidator(validatorFn());
|
|
26620
|
-
};
|
|
26621
|
-
}, [condition, addValidator, removeValidator]);
|
|
26622
|
-
}
|
|
26623
|
-
|
|
26624
26435
|
|
|
26625
26436
|
|
|
26626
26437
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
26627
26438
|
__proto__: null,
|
|
26628
26439
|
useOutsideClick: useOutsideClickHook,
|
|
26629
26440
|
useScrollTo: useScrollTo,
|
|
26630
|
-
useToastNotification: useToastNotification
|
|
26631
|
-
useConditionallyAddValidator: useConditionallyAddValidator
|
|
26441
|
+
useToastNotification: useToastNotification
|
|
26632
26442
|
});
|
|
26633
26443
|
|
|
26634
26444
|
var hoverColor$4 = "#116285";
|
|
26635
|
-
var activeColor$
|
|
26445
|
+
var activeColor$4 = "#0E506D";
|
|
26636
26446
|
var popoverTriggerColor = "#15749D";
|
|
26637
|
-
var fallbackValues$
|
|
26447
|
+
var fallbackValues$j = {
|
|
26638
26448
|
hoverColor: hoverColor$4,
|
|
26639
|
-
activeColor: activeColor$
|
|
26449
|
+
activeColor: activeColor$4,
|
|
26640
26450
|
popoverTriggerColor: popoverTriggerColor
|
|
26641
26451
|
};
|
|
26642
26452
|
|
|
@@ -26784,7 +26594,7 @@ var Popover = function Popover(_ref) {
|
|
|
26784
26594
|
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
|
|
26785
26595
|
})));
|
|
26786
26596
|
};
|
|
26787
|
-
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$
|
|
26597
|
+
var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$j);
|
|
26788
26598
|
|
|
26789
26599
|
var DisplayCard = function DisplayCard(_ref) {
|
|
26790
26600
|
var title = _ref.title,
|
|
@@ -27055,83 +26865,79 @@ var createFormat = function createFormat(formats, formatChar) {
|
|
|
27055
26865
|
var FormattedInput = function FormattedInput(_ref) {
|
|
27056
26866
|
var value = _ref.value,
|
|
27057
26867
|
formatter = _ref.formatter,
|
|
27058
|
-
|
|
26868
|
+
_onChange = _ref.onChange,
|
|
27059
26869
|
props = _objectWithoutProperties$1(_ref, ["value", "formatter", "onChange"]);
|
|
27060
26870
|
|
|
27061
|
-
var _useState = React.useState(format$1(formatter)(value)),
|
|
27062
|
-
_useState2 = _slicedToArray$1(_useState, 2),
|
|
27063
|
-
formattedValue = _useState2[0],
|
|
27064
|
-
setFormattedValue = _useState2[1];
|
|
27065
|
-
|
|
27066
26871
|
var inputEl = React.useRef(null);
|
|
27067
|
-
|
|
26872
|
+
|
|
26873
|
+
var _useState = React.useState({
|
|
27068
26874
|
selectionStart: 0,
|
|
27069
26875
|
selectionEnd: 0,
|
|
27070
|
-
|
|
27071
|
-
|
|
27072
|
-
|
|
26876
|
+
rawValue: value,
|
|
26877
|
+
"delete": false,
|
|
26878
|
+
formattedValue: format$1(formatter)(value)
|
|
26879
|
+
}),
|
|
26880
|
+
_useState2 = _slicedToArray$1(_useState, 2),
|
|
26881
|
+
state = _useState2[0],
|
|
26882
|
+
setState = _useState2[1];
|
|
26883
|
+
|
|
27073
26884
|
React.useLayoutEffect(function () {
|
|
27074
26885
|
// A lot of the work here is cursor manipulation
|
|
27075
26886
|
if (inputEl.current && inputEl.current === document.activeElement) {
|
|
27076
|
-
inputEl.current.setSelectionRange(
|
|
27077
|
-
}
|
|
27078
|
-
}, [stateRefs]);
|
|
27079
|
-
|
|
27080
|
-
var handleChange = function handleChange(event) {
|
|
27081
|
-
var deleteKeyPressed = stateRefs.current.isDelete;
|
|
27082
|
-
var maxFormatExceeded = stateRefs.current.rawValue.length >= formatter.formats.length - 1;
|
|
27083
|
-
|
|
27084
|
-
if (maxFormatExceeded && !deleteKeyPressed) {
|
|
27085
|
-
return;
|
|
27086
|
-
}
|
|
27087
|
-
/* At the beginning of onChange, event.target.value is a concat of the previous formatted value
|
|
27088
|
-
* and an unformatted injection at the start, end, or in the middle (maybe a deletion). To prepare
|
|
27089
|
-
* the unformatted value for the user's onChange, the formatted string and unformatted injection need
|
|
27090
|
-
* to be separated, then unformat the formatted string, then insert (or delete) the injection from the
|
|
27091
|
-
* old unformatted value.
|
|
27092
|
-
*/
|
|
27093
|
-
|
|
27094
|
-
|
|
27095
|
-
var injectionLength = event.target.value.length - formattedValue.length;
|
|
27096
|
-
var end = stateRefs.current.selectionStart === stateRefs.current.selectionEnd ? stateRefs.current.selectionStart + injectionLength : stateRefs.current.selectionEnd - 1;
|
|
27097
|
-
var injection = event.target.value.substring(stateRefs.current.selectionStart, end); // Injection is the new unformatted piece of the input
|
|
27098
|
-
// Need to find where to put it
|
|
27099
|
-
|
|
27100
|
-
var rawInjectionPointStart = formattedToUnformattedIndex(stateRefs.current.selectionStart, stateRefs.current.rawValue, formatter);
|
|
27101
|
-
var rawInjectionPointEnd = formattedToUnformattedIndex(stateRefs.current.selectionEnd, stateRefs.current.rawValue, formatter); // Unformat the previous formatted value for injection
|
|
27102
|
-
// Using the relevant format string, strips away chars not marked with the formatChar
|
|
27103
|
-
|
|
27104
|
-
var unformattedOldValue = unformat(formatter)(formattedValue, stateRefs.current.rawValue.length); // Edit the previous unformatted value (either add, update or delete)
|
|
27105
|
-
|
|
27106
|
-
var injectIntoOldValue = inject(unformattedOldValue);
|
|
27107
|
-
var unformattedNewValue = deleteKeyPressed ? rawInjectionPointStart === rawInjectionPointEnd ? injectIntoOldValue(rawInjectionPointStart - 1, rawInjectionPointStart, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, injection);
|
|
27108
|
-
var lengthDifference = unformattedNewValue.length - stateRefs.current.rawValue.length;
|
|
27109
|
-
var rawIndex = formattedToUnformattedIndex(stateRefs.current.selectionStart, stateRefs.current.rawValue, formatter) + lengthDifference; // Find the new cursor position for the potential formatted value
|
|
27110
|
-
// Applied by useLayoutEffect
|
|
27111
|
-
|
|
27112
|
-
var newFormattedCursorPosition = stateRefs.current.selectionStart === stateRefs.current.selectionEnd ? unformattedToFormattedIndex(rawIndex, unformattedNewValue, formatter, deleteKeyPressed) : deleteKeyPressed ? stateRefs.current.selectionStart : stateRefs.current.selectionEnd;
|
|
27113
|
-
var formattedNewValue = format$1(formatter)(unformattedNewValue);
|
|
27114
|
-
setFormattedValue(formattedNewValue); // Apply the external onChange function to the raw underlying string
|
|
27115
|
-
// This is where the user generally updates the input value
|
|
27116
|
-
|
|
27117
|
-
if (onChange) {
|
|
27118
|
-
onChange(unformattedNewValue);
|
|
26887
|
+
inputEl.current.setSelectionRange(state.selectionStart, state.selectionEnd);
|
|
27119
26888
|
}
|
|
27120
|
-
};
|
|
27121
|
-
|
|
26889
|
+
});
|
|
27122
26890
|
return React__default.createElement("input", _extends$2({}, props, {
|
|
27123
26891
|
ref: inputEl,
|
|
27124
26892
|
value: format$1(formatter)(value),
|
|
27125
26893
|
onKeyDown: function onKeyDown(event) {
|
|
27126
|
-
// Keep track of the state of the input before onChange
|
|
27127
|
-
|
|
27128
|
-
|
|
26894
|
+
// Keep track of the state of the input before onChange, including if user is hitting delete
|
|
26895
|
+
setState({
|
|
26896
|
+
rawValue: value,
|
|
27129
26897
|
selectionStart: event.target.selectionStart,
|
|
27130
26898
|
selectionEnd: event.target.selectionEnd,
|
|
27131
|
-
|
|
27132
|
-
|
|
26899
|
+
"delete": event.key === "Backspace" || event.key === "Delete",
|
|
26900
|
+
formattedValue: event.target.value
|
|
26901
|
+
});
|
|
27133
26902
|
},
|
|
27134
|
-
onChange:
|
|
26903
|
+
onChange: function onChange(event) {
|
|
26904
|
+
/* At the beginning of onChange, event.target.value is a concat of the previous formatted value
|
|
26905
|
+
* and an unformatted injection at the start, end, or in the middle (maybe a deletion). To prepare
|
|
26906
|
+
* the unformatted value for the user's onChange, the formatted string and unformatted injection need
|
|
26907
|
+
* to be separated, then unformat the formatted string, then insert (or delete) the injection from the
|
|
26908
|
+
* old unformatted value.
|
|
26909
|
+
*/
|
|
26910
|
+
var injectionLength = event.target.value.length - state.formattedValue.length;
|
|
26911
|
+
var end = state.selectionStart === state.selectionEnd ? state.selectionStart + injectionLength : state.selectionEnd - 1;
|
|
26912
|
+
var injection = event.target.value.substring(state.selectionStart, end); // Injection is the new unformatted piece of the input
|
|
26913
|
+
// Need to find where to put it
|
|
26914
|
+
|
|
26915
|
+
var rawInjectionPointStart = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter);
|
|
26916
|
+
var rawInjectionPointEnd = formattedToUnformattedIndex(state.selectionEnd, state.rawValue, formatter); // Unformat the previous formatted value for injection
|
|
26917
|
+
// Using the relevant format string, strips away chars not marked with the formatChar
|
|
26918
|
+
|
|
26919
|
+
var unformattedOldValue = unformat(formatter)(state.formattedValue, state.rawValue.length); // Edit the previous unformatted value (either add, update or delete)
|
|
26920
|
+
|
|
26921
|
+
var injectIntoOldValue = inject(unformattedOldValue);
|
|
26922
|
+
var unformattedNewValue = state["delete"] ? rawInjectionPointStart === rawInjectionPointEnd ? injectIntoOldValue(rawInjectionPointStart - 1, rawInjectionPointStart, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, injection);
|
|
26923
|
+
var lengthDifference = unformattedNewValue.length - state.rawValue.length;
|
|
26924
|
+
var rawIndex = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter) + lengthDifference; // Find the new cursor position for the potential formatted value
|
|
26925
|
+
// Applied by useLayoutEffect
|
|
26926
|
+
|
|
26927
|
+
var newFormattedCursorPosition = state.selectionStart == state.selectionEnd ? unformattedToFormattedIndex(rawIndex, unformattedNewValue, formatter, state["delete"]) : state["delete"] ? state.selectionStart : state.selectionEnd;
|
|
26928
|
+
setState({
|
|
26929
|
+
selectionStart: newFormattedCursorPosition,
|
|
26930
|
+
selectionEnd: newFormattedCursorPosition,
|
|
26931
|
+
rawValue: state.rawValue,
|
|
26932
|
+
"delete": false,
|
|
26933
|
+
formattedValue: state.formattedValue
|
|
26934
|
+
}); // Apply the external onChange function to the raw underlying string
|
|
26935
|
+
// This is where the user generally updates the input value
|
|
26936
|
+
|
|
26937
|
+
if (_onChange) {
|
|
26938
|
+
_onChange(unformattedNewValue);
|
|
26939
|
+
}
|
|
26940
|
+
}
|
|
27135
26941
|
}));
|
|
27136
26942
|
};
|
|
27137
26943
|
|
|
@@ -27157,7 +26963,7 @@ var labelColor$1 = {
|
|
|
27157
26963
|
"default": "".concat(CHARADE_GREY),
|
|
27158
26964
|
disabled: "".concat(CHARADE_GREY)
|
|
27159
26965
|
};
|
|
27160
|
-
var borderColor$
|
|
26966
|
+
var borderColor$1 = {
|
|
27161
26967
|
"default": "".concat(STORM_GREY),
|
|
27162
26968
|
disabled: "".concat(STORM_GREY)
|
|
27163
26969
|
};
|
|
@@ -27184,13 +26990,13 @@ var hoverFocusStyles$1 = {
|
|
|
27184
26990
|
var formFooterPanel = {
|
|
27185
26991
|
"default": "".concat(INFO_BLUE)
|
|
27186
26992
|
};
|
|
27187
|
-
var fallbackValues$
|
|
26993
|
+
var fallbackValues$k = {
|
|
27188
26994
|
linkColor: linkColor$2,
|
|
27189
26995
|
formBackgroundColor: formBackgroundColor$1,
|
|
27190
26996
|
inputBackgroundColor: inputBackgroundColor$1,
|
|
27191
26997
|
color: color$7,
|
|
27192
26998
|
labelColor: labelColor$1,
|
|
27193
|
-
borderColor: borderColor$
|
|
26999
|
+
borderColor: borderColor$1,
|
|
27194
27000
|
lineHeight: lineHeight$2,
|
|
27195
27001
|
fontSize: fontSize$6,
|
|
27196
27002
|
errorFontSize: errorFontSize$1,
|
|
@@ -27199,8 +27005,8 @@ var fallbackValues$n = {
|
|
|
27199
27005
|
formFooterPanel: formFooterPanel
|
|
27200
27006
|
};
|
|
27201
27007
|
|
|
27202
|
-
var _excluded$
|
|
27203
|
-
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
27008
|
+
var _excluded$u = ["showErrors", "themeValues"],
|
|
27009
|
+
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired", "errorFieldExtraStyles", "showFieldErrorRow"];
|
|
27204
27010
|
var InputField = styled__default.input.withConfig({
|
|
27205
27011
|
displayName: "FormInput__InputField",
|
|
27206
27012
|
componentId: "sc-l094r1-0"
|
|
@@ -27234,7 +27040,7 @@ var InputField = styled__default.input.withConfig({
|
|
|
27234
27040
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
27235
27041
|
var showErrors = _ref8.showErrors,
|
|
27236
27042
|
themeValues = _ref8.themeValues,
|
|
27237
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
27043
|
+
props = _objectWithoutProperties(_ref8, _excluded$u);
|
|
27238
27044
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
27239
27045
|
}).withConfig({
|
|
27240
27046
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -27288,6 +27094,9 @@ var FormInput = function FormInput(_ref15) {
|
|
|
27288
27094
|
dataQa = _ref15$dataQa === void 0 ? null : _ref15$dataQa,
|
|
27289
27095
|
_ref15$isRequired = _ref15.isRequired,
|
|
27290
27096
|
isRequired = _ref15$isRequired === void 0 ? false : _ref15$isRequired,
|
|
27097
|
+
errorFieldExtraStyles = _ref15.errorFieldExtraStyles,
|
|
27098
|
+
_ref15$showFieldError = _ref15.showFieldErrorRow,
|
|
27099
|
+
showFieldErrorRow = _ref15$showFieldError === void 0 ? true : _ref15$showFieldError,
|
|
27291
27100
|
props = _objectWithoutProperties(_ref15, _excluded2);
|
|
27292
27101
|
var _useState = React.useState(false),
|
|
27293
27102
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -27413,7 +27222,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
27413
27222
|
"data-qa": dataQa || labelTextWhenNoError,
|
|
27414
27223
|
autoComplete: autocompleteValue,
|
|
27415
27224
|
required: isRequired
|
|
27416
|
-
}, props))), /*#__PURE__*/React__default.createElement(Stack, {
|
|
27225
|
+
}, props))), showFieldErrorRow && /*#__PURE__*/React__default.createElement(Stack, {
|
|
27417
27226
|
direction: "row",
|
|
27418
27227
|
justify: "space-between",
|
|
27419
27228
|
"aria-live": "polite",
|
|
@@ -27422,17 +27231,17 @@ var FormInput = function FormInput(_ref15) {
|
|
|
27422
27231
|
color: ERROR_COLOR,
|
|
27423
27232
|
variant: "pXS",
|
|
27424
27233
|
weight: themeValues.fontWeight,
|
|
27425
|
-
extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
|
|
27234
|
+
extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }\n ".concat(errorFieldExtraStyles, ";"),
|
|
27426
27235
|
id: createIdFromString(labelTextWhenNoError, "error message")
|
|
27427
27236
|
}, errorMessages[field.errors[0]]) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
27428
|
-
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
27237
|
+
extraStyles: "height: ".concat(themeValues.lineHeight, "; ").concat(errorFieldExtraStyles, ";")
|
|
27429
27238
|
}), !isMobile && decorator && /*#__PURE__*/React__default.createElement(Box, {
|
|
27430
27239
|
padding: "0 0 0 auto"
|
|
27431
27240
|
}, decorator)));
|
|
27432
27241
|
};
|
|
27433
|
-
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$
|
|
27242
|
+
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
27434
27243
|
|
|
27435
|
-
var _excluded$
|
|
27244
|
+
var _excluded$v = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
27436
27245
|
var FormInputRow = function FormInputRow(_ref) {
|
|
27437
27246
|
var _ref$breakpoint = _ref.breakpoint,
|
|
27438
27247
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -27441,7 +27250,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
27441
27250
|
largeChild = _ref.largeChild,
|
|
27442
27251
|
largeChildSize = _ref.largeChildSize,
|
|
27443
27252
|
children = _ref.children,
|
|
27444
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27253
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
27445
27254
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27446
27255
|
padding: "0"
|
|
27447
27256
|
}, rest), /*#__PURE__*/React__default.createElement(Switcher, {
|
|
@@ -27452,24 +27261,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
27452
27261
|
}, children));
|
|
27453
27262
|
};
|
|
27454
27263
|
|
|
27455
|
-
var _excluded$
|
|
27264
|
+
var _excluded$w = ["childGap", "bottomItem", "children"];
|
|
27456
27265
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
27457
27266
|
var _ref$childGap = _ref.childGap,
|
|
27458
27267
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
27459
27268
|
bottomItem = _ref.bottomItem,
|
|
27460
27269
|
children = _ref.children,
|
|
27461
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27270
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27462
27271
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
27463
27272
|
childGap: childGap,
|
|
27464
27273
|
bottomItem: bottomItem
|
|
27465
27274
|
}, rest), children);
|
|
27466
27275
|
};
|
|
27467
27276
|
|
|
27468
|
-
var _excluded$
|
|
27277
|
+
var _excluded$x = ["themeValues", "children"];
|
|
27469
27278
|
var FormContainer = function FormContainer(_ref) {
|
|
27470
27279
|
var themeValues = _ref.themeValues,
|
|
27471
27280
|
children = _ref.children,
|
|
27472
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27281
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27473
27282
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
27474
27283
|
isMobile = _useContext.isMobile;
|
|
27475
27284
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
@@ -27478,7 +27287,7 @@ var FormContainer = function FormContainer(_ref) {
|
|
|
27478
27287
|
borderRadius: "4px"
|
|
27479
27288
|
}, rest), children);
|
|
27480
27289
|
};
|
|
27481
|
-
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$
|
|
27290
|
+
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$k, "default");
|
|
27482
27291
|
|
|
27483
27292
|
var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
27484
27293
|
var themeValues = _ref.themeValues,
|
|
@@ -27499,7 +27308,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
|
27499
27308
|
text: linkText
|
|
27500
27309
|
})));
|
|
27501
27310
|
};
|
|
27502
|
-
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$
|
|
27311
|
+
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$k, "default");
|
|
27503
27312
|
|
|
27504
27313
|
var fontSize$7 = {
|
|
27505
27314
|
"default": "1rem",
|
|
@@ -27513,7 +27322,7 @@ var color$8 = {
|
|
|
27513
27322
|
"default": "".concat(CHARADE_GREY),
|
|
27514
27323
|
radio: "".concat(MINESHAFT_GREY)
|
|
27515
27324
|
};
|
|
27516
|
-
var fallbackValues$
|
|
27325
|
+
var fallbackValues$l = {
|
|
27517
27326
|
fontSize: fontSize$7,
|
|
27518
27327
|
padding: padding$1,
|
|
27519
27328
|
color: color$8
|
|
@@ -27555,11 +27364,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
27555
27364
|
dataQa: "".concat(qaPrefix, "-3")
|
|
27556
27365
|
}, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
|
|
27557
27366
|
};
|
|
27558
|
-
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$
|
|
27367
|
+
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$l, "default");
|
|
27559
27368
|
|
|
27560
27369
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
27561
27370
|
var autopayTextColor = "".concat(REGENT_GREY);
|
|
27562
|
-
var fallbackValues$
|
|
27371
|
+
var fallbackValues$m = {
|
|
27563
27372
|
textColor: textColor$1,
|
|
27564
27373
|
autopayTextColor: autopayTextColor
|
|
27565
27374
|
};
|
|
@@ -27597,11 +27406,11 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
27597
27406
|
extraStyles: "font-style: italic;"
|
|
27598
27407
|
}, "Autopay Enabled")));
|
|
27599
27408
|
};
|
|
27600
|
-
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$
|
|
27409
|
+
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$m);
|
|
27601
27410
|
|
|
27602
27411
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
27603
27412
|
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
27604
|
-
var fallbackValues$
|
|
27413
|
+
var fallbackValues$n = {
|
|
27605
27414
|
textColor: textColor$2,
|
|
27606
27415
|
autopayTextColor: autopayTextColor$1
|
|
27607
27416
|
};
|
|
@@ -27693,7 +27502,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
27693
27502
|
extraStyles: "font-style: italic;"
|
|
27694
27503
|
}, "Autopay Enabled")));
|
|
27695
27504
|
};
|
|
27696
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
27505
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$n);
|
|
27697
27506
|
|
|
27698
27507
|
var Hamburger = styled__default.button.withConfig({
|
|
27699
27508
|
displayName: "HamburgerButton__Hamburger",
|
|
@@ -27774,12 +27583,12 @@ var fontSize$8 = {
|
|
|
27774
27583
|
h5: "1.375rem",
|
|
27775
27584
|
h6: "1.25rem"
|
|
27776
27585
|
};
|
|
27777
|
-
var fallbackValues$
|
|
27586
|
+
var fallbackValues$o = {
|
|
27778
27587
|
fontFamily: fontFamily$5,
|
|
27779
27588
|
fontSize: fontSize$8
|
|
27780
27589
|
};
|
|
27781
27590
|
|
|
27782
|
-
var _excluded$
|
|
27591
|
+
var _excluded$y = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
27783
27592
|
var Heading = function Heading(_ref) {
|
|
27784
27593
|
var themeValues = _ref.themeValues,
|
|
27785
27594
|
_ref$weight = _ref.weight,
|
|
@@ -27798,7 +27607,7 @@ var Heading = function Heading(_ref) {
|
|
|
27798
27607
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
27799
27608
|
dataQa = _ref.dataQa,
|
|
27800
27609
|
children = _ref.children,
|
|
27801
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27610
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
27802
27611
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
27803
27612
|
variant: variant,
|
|
27804
27613
|
as: as,
|
|
@@ -27813,7 +27622,7 @@ var Heading = function Heading(_ref) {
|
|
|
27813
27622
|
"data-qa": dataQa
|
|
27814
27623
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
27815
27624
|
};
|
|
27816
|
-
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$
|
|
27625
|
+
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$o, "h1");
|
|
27817
27626
|
|
|
27818
27627
|
var Image = styled__default.img.withConfig({
|
|
27819
27628
|
displayName: "ImageBoxstyled__Image",
|
|
@@ -27948,7 +27757,7 @@ var fontWeight$4 = {
|
|
|
27948
27757
|
// fontsize Detail regular
|
|
27949
27758
|
large: "700" // fontsize Title small
|
|
27950
27759
|
};
|
|
27951
|
-
var fallbackValues$
|
|
27760
|
+
var fallbackValues$p = {
|
|
27952
27761
|
fontWeight: fontWeight$4
|
|
27953
27762
|
};
|
|
27954
27763
|
|
|
@@ -27999,15 +27808,15 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
27999
27808
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
28000
27809
|
};
|
|
28001
27810
|
|
|
28002
|
-
var _excluded$
|
|
27811
|
+
var _excluded$z = ["version"];
|
|
28003
27812
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
28004
27813
|
var _ref$version = _ref.version,
|
|
28005
27814
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
28006
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27815
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
28007
27816
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
28008
27817
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
28009
27818
|
};
|
|
28010
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
27819
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$p, "default");
|
|
28011
27820
|
|
|
28012
27821
|
var weightTitle = {
|
|
28013
27822
|
"default": "600",
|
|
@@ -28017,7 +27826,7 @@ var detailVariant = {
|
|
|
28017
27826
|
"default": "large",
|
|
28018
27827
|
small: "small"
|
|
28019
27828
|
};
|
|
28020
|
-
var fallbackValues$
|
|
27829
|
+
var fallbackValues$q = {
|
|
28021
27830
|
weightTitle: weightTitle,
|
|
28022
27831
|
detailVariant: detailVariant
|
|
28023
27832
|
};
|
|
@@ -28065,10 +27874,10 @@ var LineItem = function LineItem(_ref) {
|
|
|
28065
27874
|
childGap: "0.25rem"
|
|
28066
27875
|
}, visibleCustomAttrs));
|
|
28067
27876
|
};
|
|
28068
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
27877
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$q, "default");
|
|
28069
27878
|
|
|
28070
27879
|
var color$9 = "#15749D";
|
|
28071
|
-
var fallbackValues$
|
|
27880
|
+
var fallbackValues$r = {
|
|
28072
27881
|
color: color$9
|
|
28073
27882
|
};
|
|
28074
27883
|
|
|
@@ -28132,7 +27941,7 @@ var Spinner$1 = function Spinner(_ref6) {
|
|
|
28132
27941
|
strokeWidth: strokeWidth
|
|
28133
27942
|
})));
|
|
28134
27943
|
};
|
|
28135
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
27944
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$r);
|
|
28136
27945
|
|
|
28137
27946
|
var Loading = function Loading() {
|
|
28138
27947
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -28148,7 +27957,7 @@ var Loading = function Loading() {
|
|
|
28148
27957
|
})))));
|
|
28149
27958
|
};
|
|
28150
27959
|
|
|
28151
|
-
var _excluded$
|
|
27960
|
+
var _excluded$A = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
28152
27961
|
var NavFooter = function NavFooter(_ref) {
|
|
28153
27962
|
var leftContent = _ref.leftContent,
|
|
28154
27963
|
rightContent = _ref.rightContent,
|
|
@@ -28163,7 +27972,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
28163
27972
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
28164
27973
|
isMobile = _ref.isMobile,
|
|
28165
27974
|
footerWidth = _ref.footerWidth,
|
|
28166
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27975
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
28167
27976
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
28168
27977
|
padding: footerPadding,
|
|
28169
27978
|
background: backgroundColor,
|
|
@@ -28194,7 +28003,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
28194
28003
|
}, rightContent)))))));
|
|
28195
28004
|
};
|
|
28196
28005
|
|
|
28197
|
-
var _excluded$
|
|
28006
|
+
var _excluded$B = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
28198
28007
|
var NavHeader = function NavHeader(_ref) {
|
|
28199
28008
|
var leftContent = _ref.leftContent,
|
|
28200
28009
|
rightContent = _ref.rightContent,
|
|
@@ -28203,7 +28012,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
28203
28012
|
isMobile = _ref.isMobile,
|
|
28204
28013
|
backgroundColor = _ref.backgroundColor,
|
|
28205
28014
|
headerWidth = _ref.headerWidth,
|
|
28206
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
28015
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
28207
28016
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
28208
28017
|
padding: "0 16px 4px",
|
|
28209
28018
|
background: backgroundColor,
|
|
@@ -28392,7 +28201,7 @@ var height$1 = {
|
|
|
28392
28201
|
"default": "3rem",
|
|
28393
28202
|
large: "192px"
|
|
28394
28203
|
};
|
|
28395
|
-
var fallbackValues$
|
|
28204
|
+
var fallbackValues$s = {
|
|
28396
28205
|
color: color$a,
|
|
28397
28206
|
height: height$1
|
|
28398
28207
|
};
|
|
@@ -28534,13 +28343,13 @@ var Placeholder = function Placeholder(_ref4) {
|
|
|
28534
28343
|
extraStyles: "padding: 0 0 0 8px; text-align: center;"
|
|
28535
28344
|
}, text)))))))))));
|
|
28536
28345
|
};
|
|
28537
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
28346
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$s, "default");
|
|
28538
28347
|
|
|
28539
|
-
var backgroundColor$
|
|
28348
|
+
var backgroundColor$4 = {
|
|
28540
28349
|
"default": "".concat(WHITE)
|
|
28541
28350
|
};
|
|
28542
|
-
var fallbackValues$
|
|
28543
|
-
backgroundColor: backgroundColor$
|
|
28351
|
+
var fallbackValues$t = {
|
|
28352
|
+
backgroundColor: backgroundColor$4
|
|
28544
28353
|
};
|
|
28545
28354
|
|
|
28546
28355
|
var ProcessingFee = function ProcessingFee(_ref) {
|
|
@@ -28566,13 +28375,13 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
28566
28375
|
showQuitLink: false
|
|
28567
28376
|
}));
|
|
28568
28377
|
};
|
|
28569
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
28378
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$t, "default");
|
|
28570
28379
|
|
|
28571
|
-
var activeColor$
|
|
28380
|
+
var activeColor$5 = MATISSE_BLUE;
|
|
28572
28381
|
var inactiveBorderColor = GREY_CHATEAU;
|
|
28573
|
-
var fallbackValues$
|
|
28382
|
+
var fallbackValues$u = {
|
|
28574
28383
|
inactiveBorderColor: inactiveBorderColor,
|
|
28575
|
-
activeColor: activeColor$
|
|
28384
|
+
activeColor: activeColor$5
|
|
28576
28385
|
};
|
|
28577
28386
|
|
|
28578
28387
|
var HiddenRadioInput = styled__default.input.withConfig({
|
|
@@ -28653,13 +28462,13 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
28653
28462
|
inactiveBorderColor: themeValues.inactiveBorderColor
|
|
28654
28463
|
}), labelText));
|
|
28655
28464
|
};
|
|
28656
|
-
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$
|
|
28465
|
+
var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$u);
|
|
28657
28466
|
|
|
28658
|
-
var activeColor$
|
|
28659
|
-
var inactiveColor
|
|
28660
|
-
var fallbackValues$
|
|
28661
|
-
activeColor: activeColor$
|
|
28662
|
-
inactiveColor: inactiveColor
|
|
28467
|
+
var activeColor$6 = "".concat(MATISSE_BLUE);
|
|
28468
|
+
var inactiveColor = "".concat(STORM_GREY);
|
|
28469
|
+
var fallbackValues$v = {
|
|
28470
|
+
activeColor: activeColor$6,
|
|
28471
|
+
inactiveColor: inactiveColor
|
|
28663
28472
|
};
|
|
28664
28473
|
|
|
28665
28474
|
var HiddenRadioButton = styled__default.input.withConfig({
|
|
@@ -28762,11 +28571,11 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
28762
28571
|
borderRadius: "8px"
|
|
28763
28572
|
})));
|
|
28764
28573
|
};
|
|
28765
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
28574
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$v);
|
|
28766
28575
|
|
|
28767
28576
|
var searchIconColor = WHITE;
|
|
28768
28577
|
var searchIconBackgroundColor = MATISSE_BLUE;
|
|
28769
|
-
var fallbackValues$
|
|
28578
|
+
var fallbackValues$w = {
|
|
28770
28579
|
searchIconColor: searchIconColor,
|
|
28771
28580
|
searchIconBackgroundColor: searchIconBackgroundColor
|
|
28772
28581
|
};
|
|
@@ -28862,12 +28671,12 @@ var Search = function Search(_ref) {
|
|
|
28862
28671
|
size: 24
|
|
28863
28672
|
})));
|
|
28864
28673
|
};
|
|
28865
|
-
var Search$1 = themeComponent(Search, "Search", fallbackValues$
|
|
28674
|
+
var Search$1 = themeComponent(Search, "Search", fallbackValues$w);
|
|
28866
28675
|
|
|
28867
28676
|
var border$2 = {
|
|
28868
28677
|
"default": "1px solid #caced8"
|
|
28869
28678
|
};
|
|
28870
|
-
var fallbackValues$
|
|
28679
|
+
var fallbackValues$x = {
|
|
28871
28680
|
border: border$2
|
|
28872
28681
|
};
|
|
28873
28682
|
|
|
@@ -28940,16 +28749,16 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
28940
28749
|
});
|
|
28941
28750
|
}))));
|
|
28942
28751
|
};
|
|
28943
|
-
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$
|
|
28752
|
+
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$x, "default");
|
|
28944
28753
|
|
|
28945
|
-
var borderColor$
|
|
28754
|
+
var borderColor$2 = {
|
|
28946
28755
|
"default": "".concat(GREY_CHATEAU)
|
|
28947
28756
|
};
|
|
28948
28757
|
var borderSize = {
|
|
28949
28758
|
"default": "1px"
|
|
28950
28759
|
};
|
|
28951
|
-
var fallbackValues$
|
|
28952
|
-
borderColor: borderColor$
|
|
28760
|
+
var fallbackValues$y = {
|
|
28761
|
+
borderColor: borderColor$2,
|
|
28953
28762
|
borderSize: borderSize
|
|
28954
28763
|
};
|
|
28955
28764
|
|
|
@@ -28966,7 +28775,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
28966
28775
|
borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px")
|
|
28967
28776
|
});
|
|
28968
28777
|
};
|
|
28969
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
28778
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$y, "default");
|
|
28970
28779
|
|
|
28971
28780
|
var placeHolderOptionUS = {
|
|
28972
28781
|
text: "Please select state",
|
|
@@ -39552,7 +39361,7 @@ var white = "".concat(WHITE);
|
|
|
39552
39361
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
39553
39362
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
39554
39363
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
39555
|
-
var fallbackValues$
|
|
39364
|
+
var fallbackValues$z = {
|
|
39556
39365
|
onBackground: onBackground,
|
|
39557
39366
|
disabledBackground: disabledBackground,
|
|
39558
39367
|
disabledBackgroundLight: disabledBackgroundLight,
|
|
@@ -39729,7 +39538,7 @@ var ToggleSwitch = function ToggleSwitch(_ref10) {
|
|
|
39729
39538
|
padding: "0"
|
|
39730
39539
|
}, label))));
|
|
39731
39540
|
};
|
|
39732
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
39541
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$z);
|
|
39733
39542
|
|
|
39734
39543
|
var background$2 = "".concat(ATHENS_GREY);
|
|
39735
39544
|
var white$1 = "".concat(WHITE);
|
|
@@ -39771,12 +39580,12 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
|
39771
39580
|
}));
|
|
39772
39581
|
};
|
|
39773
39582
|
|
|
39774
|
-
var backgroundColor$
|
|
39583
|
+
var backgroundColor$5 = WHITE;
|
|
39775
39584
|
var imageBackgroundColor = INFO_BLUE;
|
|
39776
39585
|
var headerBackgroundColor = STORM_GREY;
|
|
39777
39586
|
var headerColor = WHITE;
|
|
39778
|
-
var fallbackValues$
|
|
39779
|
-
backgroundColor: backgroundColor$
|
|
39587
|
+
var fallbackValues$A = {
|
|
39588
|
+
backgroundColor: backgroundColor$5,
|
|
39780
39589
|
imageBackgroundColor: imageBackgroundColor,
|
|
39781
39590
|
headerBackgroundColor: headerBackgroundColor,
|
|
39782
39591
|
headerColor: headerColor
|
|
@@ -39799,7 +39608,7 @@ var CardImage = styled__default.img.withConfig({
|
|
|
39799
39608
|
var titleColor = BRIGHT_GREY;
|
|
39800
39609
|
var titleWeight = FONT_WEIGHT_BOLD;
|
|
39801
39610
|
var textColor$3 = BRIGHT_GREY;
|
|
39802
|
-
var fallbackValues$
|
|
39611
|
+
var fallbackValues$B = {
|
|
39803
39612
|
titleColor: titleColor,
|
|
39804
39613
|
titleWeight: titleWeight,
|
|
39805
39614
|
textColor: textColor$3
|
|
@@ -39823,7 +39632,7 @@ var CardText = function CardText(_ref) {
|
|
|
39823
39632
|
color: themeValues.textColor
|
|
39824
39633
|
}, text))));
|
|
39825
39634
|
};
|
|
39826
|
-
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$
|
|
39635
|
+
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$B);
|
|
39827
39636
|
|
|
39828
39637
|
var CardHeader = function CardHeader(_ref) {
|
|
39829
39638
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -39925,14 +39734,14 @@ var Card = function Card(_ref) {
|
|
|
39925
39734
|
titleVariant: titleVariant
|
|
39926
39735
|
}), children)))));
|
|
39927
39736
|
};
|
|
39928
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
39737
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$A);
|
|
39929
39738
|
|
|
39930
39739
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
39931
|
-
var activeColor$
|
|
39740
|
+
var activeColor$7 = MATISSE_BLUE;
|
|
39932
39741
|
var linkColor$3 = CHARADE_GREY;
|
|
39933
|
-
var fallbackValues$
|
|
39742
|
+
var fallbackValues$C = {
|
|
39934
39743
|
fontFamily: fontFamily$6,
|
|
39935
|
-
activeColor: activeColor$
|
|
39744
|
+
activeColor: activeColor$7,
|
|
39936
39745
|
linkColor: linkColor$3
|
|
39937
39746
|
};
|
|
39938
39747
|
|
|
@@ -39959,7 +39768,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
39959
39768
|
extraStyles: "\n border-bottom: 3px solid transparent;\n font-family: ".concat(themeValues.fontFamily, ";\n text-decoration: none;\n ").concat(isActive && !isMobile ? border : "none", ";\n &:hover {\n text-decoration: none;\n color: ").concat(themeValues.activeColor, ";\n ").concat(isMobile ? "" : "".concat(border), "\n };\n padding: 1.25rem 0;\n ")
|
|
39960
39769
|
}, label));
|
|
39961
39770
|
};
|
|
39962
|
-
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$
|
|
39771
|
+
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$C);
|
|
39963
39772
|
|
|
39964
39773
|
var NavTabs = function NavTabs(_ref) {
|
|
39965
39774
|
var tabsConfig = _ref.tabsConfig,
|
|
@@ -40057,12 +39866,12 @@ var borderRadius = {
|
|
|
40057
39866
|
largeTitle: "0.25rem",
|
|
40058
39867
|
small: "0.25rem"
|
|
40059
39868
|
};
|
|
40060
|
-
var backgroundColor$
|
|
39869
|
+
var backgroundColor$6 = {
|
|
40061
39870
|
"default": WHITE,
|
|
40062
39871
|
largeTitle: WHITE,
|
|
40063
39872
|
small: WHITE
|
|
40064
39873
|
};
|
|
40065
|
-
var fallbackValues$
|
|
39874
|
+
var fallbackValues$D = {
|
|
40066
39875
|
fontSize: fontSize$9,
|
|
40067
39876
|
fontWeight: fontWeight$5,
|
|
40068
39877
|
fontColor: fontColor,
|
|
@@ -40072,7 +39881,7 @@ var fallbackValues$G = {
|
|
|
40072
39881
|
titleSpacing: titleSpacing,
|
|
40073
39882
|
boxShadow: boxShadow$1,
|
|
40074
39883
|
borderRadius: borderRadius,
|
|
40075
|
-
backgroundColor: backgroundColor$
|
|
39884
|
+
backgroundColor: backgroundColor$6
|
|
40076
39885
|
};
|
|
40077
39886
|
|
|
40078
39887
|
/*
|
|
@@ -40142,7 +39951,7 @@ var Module = function Module(_ref) {
|
|
|
40142
39951
|
boxShadow: themeValues.boxShadow
|
|
40143
39952
|
}, children)));
|
|
40144
39953
|
};
|
|
40145
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$
|
|
39954
|
+
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$D, "default"));
|
|
40146
39955
|
|
|
40147
39956
|
var WalletName = function WalletName(_ref) {
|
|
40148
39957
|
var mainText = _ref.mainText,
|
|
@@ -40209,6 +40018,138 @@ var WalletName = function WalletName(_ref) {
|
|
|
40209
40018
|
})));
|
|
40210
40019
|
};
|
|
40211
40020
|
|
|
40021
|
+
var Table_styled = styled__default.table.withConfig({
|
|
40022
|
+
displayName: "Tablestyled",
|
|
40023
|
+
componentId: "sc-mveye7-0"
|
|
40024
|
+
})(["width:100%;table-layout:auto;border-collapse:collapse;", ""], function (_ref) {
|
|
40025
|
+
var extraStyles = _ref.extraStyles;
|
|
40026
|
+
return extraStyles;
|
|
40027
|
+
});
|
|
40028
|
+
|
|
40029
|
+
var TableBody_styled = styled__default.tbody.withConfig({
|
|
40030
|
+
displayName: "TableBodystyled",
|
|
40031
|
+
componentId: "sc-wk5osr-0"
|
|
40032
|
+
})(["", ""], function (_ref) {
|
|
40033
|
+
var extraStyles = _ref.extraStyles;
|
|
40034
|
+
return extraStyles;
|
|
40035
|
+
});
|
|
40036
|
+
|
|
40037
|
+
var TableCell_styled = styled__default.td.withConfig({
|
|
40038
|
+
displayName: "TableCellstyled",
|
|
40039
|
+
componentId: "sc-iqndn8-0"
|
|
40040
|
+
})(["padding:", ";font-size:", " white-space:nowrap;max-width:", ";overflow:hidden;text-overflow:ellipsis;&:last-child{text-align:right;}", ";"], function (_ref) {
|
|
40041
|
+
var _ref$padding = _ref.padding,
|
|
40042
|
+
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
40043
|
+
return padding;
|
|
40044
|
+
}, function (_ref2) {
|
|
40045
|
+
var _ref2$fontSize = _ref2.fontSize,
|
|
40046
|
+
fontSize = _ref2$fontSize === void 0 ? "0.875rem" : _ref2$fontSize;
|
|
40047
|
+
return fontSize;
|
|
40048
|
+
}, function (_ref3) {
|
|
40049
|
+
var _ref3$maxWidth = _ref3.maxWidth,
|
|
40050
|
+
maxWidth = _ref3$maxWidth === void 0 ? "250px" : _ref3$maxWidth;
|
|
40051
|
+
return maxWidth;
|
|
40052
|
+
}, function (_ref4) {
|
|
40053
|
+
var extraStyles = _ref4.extraStyles;
|
|
40054
|
+
return extraStyles;
|
|
40055
|
+
});
|
|
40056
|
+
|
|
40057
|
+
var backgroundColor$7 = ALABASTER_WHITE;
|
|
40058
|
+
var borderColor$3 = GREY_CHATEAU;
|
|
40059
|
+
var fallbackValues$E = {
|
|
40060
|
+
backgroundColor: backgroundColor$7,
|
|
40061
|
+
borderColor: borderColor$3
|
|
40062
|
+
};
|
|
40063
|
+
|
|
40064
|
+
var StyledTableHead = styled__default.thead.withConfig({
|
|
40065
|
+
displayName: "TableHeadstyled",
|
|
40066
|
+
componentId: "sc-j8e6c1-0"
|
|
40067
|
+
})(["background-color:", ";border-bottom:", ";font-size:", ";"], function (_ref) {
|
|
40068
|
+
var backgroundColor = _ref.backgroundColor;
|
|
40069
|
+
return backgroundColor;
|
|
40070
|
+
}, function (_ref2) {
|
|
40071
|
+
var borderColor = _ref2.borderColor;
|
|
40072
|
+
return "1px solid ".concat(borderColor);
|
|
40073
|
+
}, function (_ref3) {
|
|
40074
|
+
var _ref3$fontSize = _ref3.fontSize,
|
|
40075
|
+
fontSize = _ref3$fontSize === void 0 ? "0.875rem" : _ref3$fontSize;
|
|
40076
|
+
return fontSize;
|
|
40077
|
+
});
|
|
40078
|
+
|
|
40079
|
+
var borderColor$4 = GREY_CHATEAU;
|
|
40080
|
+
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
40081
|
+
var fallbackValues$F = {
|
|
40082
|
+
borderColor: borderColor$4,
|
|
40083
|
+
hoverBackgroundColor: hoverBackgroundColor$1
|
|
40084
|
+
};
|
|
40085
|
+
|
|
40086
|
+
var TableRowWrapper = styled__default.tr.withConfig({
|
|
40087
|
+
displayName: "TableRowstyled",
|
|
40088
|
+
componentId: "sc-1tc0sav-0"
|
|
40089
|
+
})(["&:not(:last-child){border-bottom:", ";}", " ", ""], function (_ref) {
|
|
40090
|
+
var borderColor = _ref.borderColor;
|
|
40091
|
+
return "1px solid ".concat(borderColor);
|
|
40092
|
+
}, function (_ref2) {
|
|
40093
|
+
var hoverCursor = _ref2.hoverCursor,
|
|
40094
|
+
hoverEffect = _ref2.hoverEffect,
|
|
40095
|
+
hoverBackgroundColor = _ref2.hoverBackgroundColor;
|
|
40096
|
+
return hoverEffect && "&:hover {\n ".concat(hoverCursor && "cursor: pointer", ";\n background-color: ").concat(hoverBackgroundColor, ";\n }");
|
|
40097
|
+
}, function (_ref3) {
|
|
40098
|
+
var extraStyles = _ref3.extraStyles;
|
|
40099
|
+
return extraStyles;
|
|
40100
|
+
});
|
|
40101
|
+
|
|
40102
|
+
var _excluded$C = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
40103
|
+
var TableRow = function TableRow(_ref) {
|
|
40104
|
+
var children = _ref.children,
|
|
40105
|
+
extraStyles = _ref.extraStyles,
|
|
40106
|
+
_ref$hoverCursor = _ref.hoverCursor,
|
|
40107
|
+
_ref$hoverEffect = _ref.hoverEffect,
|
|
40108
|
+
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
40109
|
+
onClick = _ref.onClick,
|
|
40110
|
+
themeValues = _ref.themeValues,
|
|
40111
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
40112
|
+
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
40113
|
+
onClick: onClick,
|
|
40114
|
+
hoverEffect: hoverEffect,
|
|
40115
|
+
extraStyles: extraStyles,
|
|
40116
|
+
borderColor: themeValues.borderColor,
|
|
40117
|
+
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
40118
|
+
}, props), children);
|
|
40119
|
+
};
|
|
40120
|
+
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$F);
|
|
40121
|
+
|
|
40122
|
+
var TableHead = function TableHead(_ref) {
|
|
40123
|
+
var children = _ref.children,
|
|
40124
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
40125
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
40126
|
+
themeValues = _ref.themeValues;
|
|
40127
|
+
return /*#__PURE__*/React__default.createElement(StyledTableHead, {
|
|
40128
|
+
backgroundColor: themeValues.backgroundColor,
|
|
40129
|
+
borderColor: themeValues.borderColor
|
|
40130
|
+
}, /*#__PURE__*/React__default.createElement(TableRow$1, {
|
|
40131
|
+
extraStyles: extraStyles,
|
|
40132
|
+
hoverEffect: false
|
|
40133
|
+
}, children));
|
|
40134
|
+
};
|
|
40135
|
+
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$E);
|
|
40136
|
+
|
|
40137
|
+
var TableHeading_styled = styled__default.th.withConfig({
|
|
40138
|
+
displayName: "TableHeadingstyled",
|
|
40139
|
+
componentId: "sc-1ggk38d-0"
|
|
40140
|
+
})(["padding:", ";min-width:", ";text-align:left;&:last-child{text-align:right;}", ""], function (_ref) {
|
|
40141
|
+
var _ref$padding = _ref.padding,
|
|
40142
|
+
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
40143
|
+
return padding;
|
|
40144
|
+
}, function (_ref2) {
|
|
40145
|
+
var _ref2$minWidth = _ref2.minWidth,
|
|
40146
|
+
minWidth = _ref2$minWidth === void 0 ? "initial" : _ref2$minWidth;
|
|
40147
|
+
return minWidth;
|
|
40148
|
+
}, function (_ref3) {
|
|
40149
|
+
var extraStyles = _ref3.extraStyles;
|
|
40150
|
+
return extraStyles;
|
|
40151
|
+
});
|
|
40152
|
+
|
|
40212
40153
|
const validatorToPredicate =
|
|
40213
40154
|
(validatorFn, emptyCase) =>
|
|
40214
40155
|
(value, ...rest) =>
|
|
@@ -41026,7 +40967,7 @@ AddressForm.mapStateToProps = mapStateToProps$1;
|
|
|
41026
40967
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
41027
40968
|
|
|
41028
40969
|
var backgroundColor$8 = "#ebeffb";
|
|
41029
|
-
var fallbackValues$
|
|
40970
|
+
var fallbackValues$G = {
|
|
41030
40971
|
backgroundColor: backgroundColor$8
|
|
41031
40972
|
};
|
|
41032
40973
|
|
|
@@ -41075,7 +41016,7 @@ var Banner = function Banner(_ref) {
|
|
|
41075
41016
|
extraStyles: isMobile && "> svg { width: 176px; }"
|
|
41076
41017
|
}, /*#__PURE__*/React__default.createElement(Image, null))));
|
|
41077
41018
|
};
|
|
41078
|
-
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$
|
|
41019
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$G);
|
|
41079
41020
|
|
|
41080
41021
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
41081
41022
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -41209,7 +41150,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
41209
41150
|
var titleColor$1 = "#292A33";
|
|
41210
41151
|
var headingBackgroundColor = "transparent";
|
|
41211
41152
|
var bodyBackgroundColor = "transparent";
|
|
41212
|
-
var fallbackValues$
|
|
41153
|
+
var fallbackValues$H = {
|
|
41213
41154
|
titleColor: titleColor$1,
|
|
41214
41155
|
headingBackgroundColor: headingBackgroundColor,
|
|
41215
41156
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -41334,7 +41275,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
41334
41275
|
"aria-labelledby": "".concat(id, "-button")
|
|
41335
41276
|
}, children))));
|
|
41336
41277
|
};
|
|
41337
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
41278
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$H);
|
|
41338
41279
|
|
|
41339
41280
|
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
41340
41281
|
var themeValues = _ref.themeValues;
|
|
@@ -41868,7 +41809,6 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
41868
41809
|
};
|
|
41869
41810
|
}, []);
|
|
41870
41811
|
}
|
|
41871
|
-
useConditionallyAddValidator(isRequired, required, actions.fields.email.addValidator, actions.fields.email.removeValidator);
|
|
41872
41812
|
var emailFieldErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
|
|
41873
41813
|
return /*#__PURE__*/React__default.createElement(FormContainer$1, {
|
|
41874
41814
|
variant: variant,
|
|
@@ -41900,7 +41840,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
41900
41840
|
|
|
41901
41841
|
var formConfig$3 = {
|
|
41902
41842
|
email: {
|
|
41903
|
-
validators: [isProbablyEmail()]
|
|
41843
|
+
validators: [required(), isProbablyEmail()]
|
|
41904
41844
|
}
|
|
41905
41845
|
};
|
|
41906
41846
|
var _createFormState$3 = createFormState(formConfig$3),
|
|
@@ -41914,7 +41854,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
41914
41854
|
|
|
41915
41855
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
41916
41856
|
var subfooterBackgroundColor = STORM_GREY;
|
|
41917
|
-
var fallbackValues$
|
|
41857
|
+
var fallbackValues$I = {
|
|
41918
41858
|
footerBackgroundColor: footerBackgroundColor,
|
|
41919
41859
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
41920
41860
|
};
|
|
@@ -41945,7 +41885,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
41945
41885
|
rightContent: rightSubfooterContent
|
|
41946
41886
|
}));
|
|
41947
41887
|
};
|
|
41948
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
41888
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$I);
|
|
41949
41889
|
|
|
41950
41890
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
41951
41891
|
var fields = _ref.fields,
|
|
@@ -41992,7 +41932,7 @@ ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
|
41992
41932
|
|
|
41993
41933
|
var textColor$4 = "#ffffff";
|
|
41994
41934
|
var backgroundColor$9 = "#182848";
|
|
41995
|
-
var fallbackValues$
|
|
41935
|
+
var fallbackValues$J = {
|
|
41996
41936
|
textColor: textColor$4,
|
|
41997
41937
|
backgroundColor: backgroundColor$9
|
|
41998
41938
|
};
|
|
@@ -42051,7 +41991,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
42051
41991
|
}, t));
|
|
42052
41992
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
42053
41993
|
};
|
|
42054
|
-
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
41994
|
+
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$J);
|
|
42055
41995
|
|
|
42056
41996
|
var AccountBillIcon = function AccountBillIcon(_ref) {
|
|
42057
41997
|
var color = _ref.color;
|
|
@@ -42467,7 +42407,7 @@ var activeBackgroundColor$1 = CORNFLOWER_BLUE;
|
|
|
42467
42407
|
var backgroundColor$a = LINK_WATER;
|
|
42468
42408
|
var borderColor$5 = MOON_RAKER;
|
|
42469
42409
|
var color$b = ROYAL_BLUE_VIVID;
|
|
42470
|
-
var fallbackValues$
|
|
42410
|
+
var fallbackValues$K = {
|
|
42471
42411
|
disabledBackgroundColor: disabledBackgroundColor$1,
|
|
42472
42412
|
disabledBorderColor: disabledBorderColor$1,
|
|
42473
42413
|
disabledColor: disabledColor$1,
|
|
@@ -42588,7 +42528,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42588
42528
|
extraStyles: "margin-right: auto;"
|
|
42589
42529
|
}), showRight && !!rightContent && rightContent))));
|
|
42590
42530
|
};
|
|
42591
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$
|
|
42531
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$K, "primary");
|
|
42592
42532
|
|
|
42593
42533
|
var LoginForm = function LoginForm(_ref) {
|
|
42594
42534
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -46576,11 +46516,11 @@ var Modal$2 = function Modal(_ref) {
|
|
|
46576
46516
|
};
|
|
46577
46517
|
var ModalControlV2 = withWindowSize(Modal$2);
|
|
46578
46518
|
|
|
46579
|
-
var _excluded$
|
|
46519
|
+
var _excluded$D = ["version"];
|
|
46580
46520
|
var Modal$3 = function Modal(_ref) {
|
|
46581
46521
|
var _ref$version = _ref.version,
|
|
46582
46522
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
46583
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
46523
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
46584
46524
|
var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
|
|
46585
46525
|
return /*#__PURE__*/React__default.createElement(ModalControl, rest);
|
|
46586
46526
|
};
|
|
@@ -46593,7 +46533,7 @@ var shadowColor = {
|
|
|
46593
46533
|
profile: "#292A33",
|
|
46594
46534
|
cms: "#292A33"
|
|
46595
46535
|
};
|
|
46596
|
-
var fallbackValues$
|
|
46536
|
+
var fallbackValues$L = {
|
|
46597
46537
|
backgroundColor: backgroundColor$b,
|
|
46598
46538
|
shadowColor: shadowColor
|
|
46599
46539
|
};
|
|
@@ -46633,7 +46573,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
46633
46573
|
onBlur: onBlur
|
|
46634
46574
|
}, menuContent));
|
|
46635
46575
|
};
|
|
46636
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
46576
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$L, "profile");
|
|
46637
46577
|
|
|
46638
46578
|
var menu = posed.div({
|
|
46639
46579
|
invisible: {
|
|
@@ -46693,7 +46633,7 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46693
46633
|
background: themeValues.backgroundColor
|
|
46694
46634
|
}, menuContent));
|
|
46695
46635
|
};
|
|
46696
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
46636
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$L, "profile");
|
|
46697
46637
|
|
|
46698
46638
|
var IconsModule = function IconsModule(_ref) {
|
|
46699
46639
|
var icon = _ref.icon,
|
|
@@ -47220,7 +47160,7 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
47220
47160
|
};
|
|
47221
47161
|
|
|
47222
47162
|
var iconColor = ROYAL_BLUE_VIVID;
|
|
47223
|
-
var fallbackValues$
|
|
47163
|
+
var fallbackValues$M = {
|
|
47224
47164
|
iconColor: iconColor
|
|
47225
47165
|
};
|
|
47226
47166
|
|
|
@@ -47442,7 +47382,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47442
47382
|
}))));
|
|
47443
47383
|
return inactive ? inactiveObligation : activeObligation;
|
|
47444
47384
|
};
|
|
47445
|
-
var Obligation$1 = themeComponent(Obligation, "Obligation", fallbackValues$
|
|
47385
|
+
var Obligation$1 = themeComponent(Obligation, "Obligation", fallbackValues$M);
|
|
47446
47386
|
|
|
47447
47387
|
var PartialAmountField = function PartialAmountField(_ref) {
|
|
47448
47388
|
var lineItem = _ref.lineItem,
|
|
@@ -47579,9 +47519,9 @@ var arrowColor = WHITE;
|
|
|
47579
47519
|
var numberColor = MATISSE_BLUE;
|
|
47580
47520
|
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
47581
47521
|
var activeBackgroundColor$2 = WHITE;
|
|
47582
|
-
var activeColor$
|
|
47583
|
-
var fallbackValues$
|
|
47584
|
-
activeColor: activeColor$
|
|
47522
|
+
var activeColor$8 = MATISSE_BLUE;
|
|
47523
|
+
var fallbackValues$N = {
|
|
47524
|
+
activeColor: activeColor$8,
|
|
47585
47525
|
activeBackgroundColor: activeBackgroundColor$2,
|
|
47586
47526
|
arrowColor: arrowColor,
|
|
47587
47527
|
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
@@ -47774,7 +47714,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47774
47714
|
buttonWidth: buttonWidth
|
|
47775
47715
|
}));
|
|
47776
47716
|
};
|
|
47777
|
-
var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$
|
|
47717
|
+
var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$N);
|
|
47778
47718
|
|
|
47779
47719
|
var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
47780
47720
|
var _ref$isForwardButtonD = _ref.isForwardButtonDisabled,
|
|
@@ -47875,14 +47815,14 @@ var labeledAmountTotal = {
|
|
|
47875
47815
|
"default": "large",
|
|
47876
47816
|
small: "small"
|
|
47877
47817
|
};
|
|
47878
|
-
var fallbackValues$
|
|
47818
|
+
var fallbackValues$O = {
|
|
47879
47819
|
backgroundColor: backgroundColor$c,
|
|
47880
47820
|
lineItem: lineItem,
|
|
47881
47821
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
47882
47822
|
labeledAmountTotal: labeledAmountTotal
|
|
47883
47823
|
};
|
|
47884
47824
|
|
|
47885
|
-
var _excluded$
|
|
47825
|
+
var _excluded$E = ["amount"],
|
|
47886
47826
|
_excluded2$1 = ["amount"];
|
|
47887
47827
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47888
47828
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -48125,7 +48065,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
48125
48065
|
return fee.amount > 0;
|
|
48126
48066
|
}).map(function (_ref5) {
|
|
48127
48067
|
var amount = _ref5.amount,
|
|
48128
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
48068
|
+
rest = _objectWithoutProperties(_ref5, _excluded$E);
|
|
48129
48069
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
48130
48070
|
amount: displayCurrency(amount)
|
|
48131
48071
|
});
|
|
@@ -48244,7 +48184,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
48244
48184
|
isError: isError
|
|
48245
48185
|
});
|
|
48246
48186
|
};
|
|
48247
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
48187
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$O, "default");
|
|
48248
48188
|
|
|
48249
48189
|
var linkColor$4 = {
|
|
48250
48190
|
"default": "#3176AA"
|
|
@@ -48264,7 +48204,7 @@ var modalLinkHoverFocus = {
|
|
|
48264
48204
|
var linkTextDecoration = {
|
|
48265
48205
|
"default": LINK_TEXT_DECORATION
|
|
48266
48206
|
};
|
|
48267
|
-
var fallbackValues$
|
|
48207
|
+
var fallbackValues$P = {
|
|
48268
48208
|
linkColor: linkColor$4,
|
|
48269
48209
|
fontSize: fontSize$a,
|
|
48270
48210
|
lineHeight: lineHeight$4,
|
|
@@ -48328,7 +48268,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
48328
48268
|
}, link)
|
|
48329
48269
|
}));
|
|
48330
48270
|
};
|
|
48331
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
48271
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$P, "default");
|
|
48332
48272
|
|
|
48333
48273
|
var backgroundColor$d = {
|
|
48334
48274
|
"default": "#ffffff",
|
|
@@ -48363,7 +48303,7 @@ var modalLinkTextDecoration = {
|
|
|
48363
48303
|
"default": LINK_TEXT_DECORATION,
|
|
48364
48304
|
footer: "none"
|
|
48365
48305
|
};
|
|
48366
|
-
var fallbackValues$
|
|
48306
|
+
var fallbackValues$Q = {
|
|
48367
48307
|
backgroundColor: backgroundColor$d,
|
|
48368
48308
|
linkColor: linkColor$5,
|
|
48369
48309
|
border: border$3,
|
|
@@ -48435,7 +48375,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48435
48375
|
className: "modal-trigger"
|
|
48436
48376
|
}, link));
|
|
48437
48377
|
};
|
|
48438
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$
|
|
48378
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$Q, "default");
|
|
48439
48379
|
|
|
48440
48380
|
var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
48441
48381
|
var onCheck = _ref.onCheck,
|
|
@@ -48562,11 +48502,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48562
48502
|
}, errorMessage))))));
|
|
48563
48503
|
};
|
|
48564
48504
|
|
|
48565
|
-
var _excluded$
|
|
48505
|
+
var _excluded$F = ["version"];
|
|
48566
48506
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48567
48507
|
var _ref$version = _ref.version,
|
|
48568
48508
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48569
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48509
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
48570
48510
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48571
48511
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
48572
48512
|
};
|
|
@@ -49104,7 +49044,6 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
49104
49044
|
};
|
|
49105
49045
|
}, []);
|
|
49106
49046
|
}
|
|
49107
|
-
useConditionallyAddValidator(isRequired, required, actions.fields.phone.addValidator, actions.fields.phone.removeValidator);
|
|
49108
49047
|
var phoneErrorMessage = _defineProperty(_defineProperty({}, required.error, "Phone number is required"), hasLength.error, "Phone number must be 10 digits");
|
|
49109
49048
|
return /*#__PURE__*/React__default.createElement(FormContainer$1, {
|
|
49110
49049
|
variant: variant,
|
|
@@ -49134,8 +49073,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
49134
49073
|
|
|
49135
49074
|
var formConfig$8 = {
|
|
49136
49075
|
phone: {
|
|
49137
|
-
validators: [hasLength(10, 10)],
|
|
49138
|
-
// 'required' validator is conditionally added based on `isRequired` prop
|
|
49076
|
+
validators: [required(), hasLength(10, 10)],
|
|
49139
49077
|
constraints: [onlyIntegers(), hasLength(0, 10)]
|
|
49140
49078
|
}
|
|
49141
49079
|
};
|
|
@@ -49201,7 +49139,7 @@ var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
|
49201
49139
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
49202
49140
|
var borderColor$6 = "".concat(GHOST_GREY);
|
|
49203
49141
|
var focusStyles = "outline: none;";
|
|
49204
|
-
var fallbackValues$
|
|
49142
|
+
var fallbackValues$R = {
|
|
49205
49143
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
49206
49144
|
headingDisabledColor: headingDisabledColor,
|
|
49207
49145
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
@@ -49368,7 +49306,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49368
49306
|
}, section.content))));
|
|
49369
49307
|
};
|
|
49370
49308
|
|
|
49371
|
-
var _excluded$
|
|
49309
|
+
var _excluded$G = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
|
|
49372
49310
|
|
|
49373
49311
|
/**
|
|
49374
49312
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49417,7 +49355,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49417
49355
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49418
49356
|
groupedSections = _ref.groupedSections,
|
|
49419
49357
|
borderOverride = _ref.borderOverride,
|
|
49420
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49358
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
49421
49359
|
var _useState = React.useState(null),
|
|
49422
49360
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49423
49361
|
focused = _useState2[0],
|
|
@@ -49504,7 +49442,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49504
49442
|
});
|
|
49505
49443
|
})));
|
|
49506
49444
|
};
|
|
49507
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
49445
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$R);
|
|
49508
49446
|
|
|
49509
49447
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
49510
49448
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -49624,13 +49562,13 @@ RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
|
49624
49562
|
|
|
49625
49563
|
var GRECIAN_GREY$1 = GRECIAN_GREY;
|
|
49626
49564
|
var bannerBackgroundColor = GRECIAN_GREY$1;
|
|
49627
|
-
var fallbackValues$
|
|
49565
|
+
var fallbackValues$S = {
|
|
49628
49566
|
bannerBackgroundColor: bannerBackgroundColor
|
|
49629
49567
|
};
|
|
49630
49568
|
|
|
49631
49569
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
49632
49570
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
49633
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
49571
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$S, "ResetConfirmationForm");
|
|
49634
49572
|
var isMobile = themeContext.isMobile;
|
|
49635
49573
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
49636
49574
|
padding: "0",
|
|
@@ -49745,13 +49683,13 @@ ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
|
49745
49683
|
|
|
49746
49684
|
var GRECIAN_GREY$2 = GRECIAN_GREY;
|
|
49747
49685
|
var bannerBackgroundColor$1 = GRECIAN_GREY$2;
|
|
49748
|
-
var fallbackValues$
|
|
49686
|
+
var fallbackValues$T = {
|
|
49749
49687
|
bannerBackgroundColor: bannerBackgroundColor$1
|
|
49750
49688
|
};
|
|
49751
49689
|
|
|
49752
49690
|
var ResetPasswordSuccess = function ResetPasswordSuccess() {
|
|
49753
49691
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
49754
|
-
var themeValues = createThemeValues(themeContext, fallbackValues$
|
|
49692
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$T, "ResetPasswordSuccess");
|
|
49755
49693
|
var isMobile = themeContext.isMobile;
|
|
49756
49694
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
49757
49695
|
padding: "0",
|
|
@@ -49800,7 +49738,7 @@ var ResetPasswordSuccess$1 = withWindowSize(ResetPasswordSuccess);
|
|
|
49800
49738
|
var activeTabBackground = "#FFFFFF";
|
|
49801
49739
|
var activeTabAccent = "#15749D";
|
|
49802
49740
|
var activeTabHover = "#B8D5E1";
|
|
49803
|
-
var fallbackValues$
|
|
49741
|
+
var fallbackValues$U = {
|
|
49804
49742
|
activeTabBackground: activeTabBackground,
|
|
49805
49743
|
activeTabAccent: activeTabAccent,
|
|
49806
49744
|
activeTabHover: activeTabHover
|
|
@@ -49868,12 +49806,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
49868
49806
|
}, tab.content);
|
|
49869
49807
|
}))));
|
|
49870
49808
|
};
|
|
49871
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
49809
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$U);
|
|
49872
49810
|
|
|
49873
49811
|
var activeTabBackground$1 = "#FFFFFF";
|
|
49874
49812
|
var activeTabAccent$1 = "#15749D";
|
|
49875
49813
|
var activeTabHover$1 = "#B8D5E1";
|
|
49876
|
-
var fallbackValues$
|
|
49814
|
+
var fallbackValues$V = {
|
|
49877
49815
|
activeTabBackground: activeTabBackground$1,
|
|
49878
49816
|
activeTabAccent: activeTabAccent$1,
|
|
49879
49817
|
activeTabHover: activeTabHover$1
|
|
@@ -49928,7 +49866,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49928
49866
|
}, text)))));
|
|
49929
49867
|
})));
|
|
49930
49868
|
};
|
|
49931
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
49869
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$V);
|
|
49932
49870
|
|
|
49933
49871
|
var Timeout = function Timeout(_ref) {
|
|
49934
49872
|
var onLogout = _ref.onLogout;
|
|
@@ -49964,7 +49902,7 @@ var Timeout = function Timeout(_ref) {
|
|
|
49964
49902
|
};
|
|
49965
49903
|
var Timeout$1 = withWindowSize(Timeout);
|
|
49966
49904
|
|
|
49967
|
-
var _excluded$
|
|
49905
|
+
var _excluded$H = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
|
|
49968
49906
|
var VARIANTS = {
|
|
49969
49907
|
SUCCESS: "success",
|
|
49970
49908
|
ERROR: "error"
|
|
@@ -49993,7 +49931,7 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49993
49931
|
screenReaderMessage = _ref.screenReaderMessage,
|
|
49994
49932
|
_ref$showScreenReader = _ref.showScreenReaderMessage,
|
|
49995
49933
|
showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
|
|
49996
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49934
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
49997
49935
|
var screenReaderMessageRef = React.useRef();
|
|
49998
49936
|
var LIVEREGION_TRANSITION_DELAY = 1000;
|
|
49999
49937
|
React.useEffect(function () {
|
|
@@ -50049,7 +49987,7 @@ var fontColor$1 = WHITE;
|
|
|
50049
49987
|
var textAlign$1 = "left";
|
|
50050
49988
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
50051
49989
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
50052
|
-
var fallbackValues$
|
|
49990
|
+
var fallbackValues$W = {
|
|
50053
49991
|
fontWeight: fontWeight$8,
|
|
50054
49992
|
fontColor: fontColor$1,
|
|
50055
49993
|
textAlign: textAlign$1,
|
|
@@ -50094,7 +50032,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
50094
50032
|
src: welcomeImage
|
|
50095
50033
|
})))));
|
|
50096
50034
|
};
|
|
50097
|
-
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
50035
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$W));
|
|
50098
50036
|
|
|
50099
50037
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
50100
50038
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -50154,7 +50092,7 @@ var menuItemColorDelete = RAZZMATAZZ_RED;
|
|
|
50154
50092
|
var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
|
|
50155
50093
|
var menuItemHoverBackgroundColorDelete = BLUSH_RED;
|
|
50156
50094
|
var menuItemHoverColor = ROYAL_BLUE_VIVID;
|
|
50157
|
-
var fallbackValues$
|
|
50095
|
+
var fallbackValues$X = {
|
|
50158
50096
|
menuItemBackgroundColor: menuItemBackgroundColor,
|
|
50159
50097
|
menuItemColor: menuItemColor,
|
|
50160
50098
|
menuItemColorDelete: menuItemColorDelete,
|
|
@@ -50176,7 +50114,7 @@ var PopupMenuItemContainer = styled__default(ButtonWithAction).withConfig({
|
|
|
50176
50114
|
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
50177
50115
|
});
|
|
50178
50116
|
|
|
50179
|
-
var _excluded$
|
|
50117
|
+
var _excluded$I = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
50180
50118
|
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
50181
50119
|
var id = _ref.id,
|
|
50182
50120
|
closeMenuCallback = _ref.closeMenuCallback,
|
|
@@ -50192,7 +50130,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
50192
50130
|
hoverStyles = _ref.hoverStyles,
|
|
50193
50131
|
activeStyles = _ref.activeStyles,
|
|
50194
50132
|
extraStyles = _ref.extraStyles,
|
|
50195
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
50133
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
50196
50134
|
return /*#__PURE__*/React__default.createElement(PopupMenuItemContainer, _extends({
|
|
50197
50135
|
id: id,
|
|
50198
50136
|
role: "menuItem",
|
|
@@ -50221,15 +50159,15 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
50221
50159
|
extraStyles: textExtraStyles
|
|
50222
50160
|
}, text)));
|
|
50223
50161
|
};
|
|
50224
|
-
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$
|
|
50162
|
+
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$X);
|
|
50225
50163
|
|
|
50226
50164
|
var hoverColor$5 = "#116285";
|
|
50227
|
-
var activeColor$
|
|
50165
|
+
var activeColor$9 = "#0E506D";
|
|
50228
50166
|
var menuTriggerColor = "#15749D";
|
|
50229
50167
|
var backgroundColor$e = "white";
|
|
50230
|
-
var fallbackValues$
|
|
50168
|
+
var fallbackValues$Y = {
|
|
50231
50169
|
hoverColor: hoverColor$5,
|
|
50232
|
-
activeColor: activeColor$
|
|
50170
|
+
activeColor: activeColor$9,
|
|
50233
50171
|
menuTriggerColor: menuTriggerColor,
|
|
50234
50172
|
backgroundColor: backgroundColor$e
|
|
50235
50173
|
};
|
|
@@ -50363,7 +50301,372 @@ var PopupMenu = function PopupMenu(_ref) {
|
|
|
50363
50301
|
}, item));
|
|
50364
50302
|
})));
|
|
50365
50303
|
};
|
|
50366
|
-
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$
|
|
50304
|
+
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$Y);
|
|
50305
|
+
|
|
50306
|
+
var primaryColor$1 = INFO_BLUE;
|
|
50307
|
+
var secondaryColor = MATISSE_BLUE;
|
|
50308
|
+
var fallbackValues$Z = {
|
|
50309
|
+
primaryColor: primaryColor$1,
|
|
50310
|
+
secondaryColor: secondaryColor
|
|
50311
|
+
};
|
|
50312
|
+
|
|
50313
|
+
var _excluded$J = ["width", "height", "color"];
|
|
50314
|
+
var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
50315
|
+
var _ref$width = _ref.width,
|
|
50316
|
+
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
50317
|
+
_ref$height = _ref.height,
|
|
50318
|
+
height = _ref$height === void 0 ? "19" : _ref$height,
|
|
50319
|
+
_ref$color = _ref.color,
|
|
50320
|
+
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
50321
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
50322
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
50323
|
+
width: width,
|
|
50324
|
+
height: height,
|
|
50325
|
+
viewBox: "0 0 ".concat(width, " ").concat(height),
|
|
50326
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
50327
|
+
fill: "none"
|
|
50328
|
+
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
50329
|
+
id: "Carrot - Down / Carrot - Down - XS"
|
|
50330
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
50331
|
+
id: "Combined Shape",
|
|
50332
|
+
fillRule: "evenodd",
|
|
50333
|
+
clipRule: "evenodd",
|
|
50334
|
+
d: "M14.1075 7.45743C13.9122 7.26217 13.5956 7.26216 13.4003 7.45743L8.99233 11.8654L4.59199 7.46509C4.39673 7.26983 4.08014 7.26983 3.88488 7.46509L3.45355 7.89643C3.25828 8.09169 3.25828 8.40827 3.45355 8.60354L8.65078 13.8008C8.84604 13.996 9.16263 13.996 9.35789 13.8008L9.78922 13.3694C9.81738 13.3413 9.84147 13.3106 9.86151 13.2781L14.5413 8.59836C14.7365 8.4031 14.7365 8.08652 14.5413 7.89126L14.1075 7.45743Z",
|
|
50335
|
+
fill: color
|
|
50336
|
+
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
50337
|
+
id: "mask0_3043_4463",
|
|
50338
|
+
style: {
|
|
50339
|
+
maskType: "luminance"
|
|
50340
|
+
},
|
|
50341
|
+
maskUnits: "userSpaceOnUse",
|
|
50342
|
+
x: "3",
|
|
50343
|
+
y: "7",
|
|
50344
|
+
width: "12",
|
|
50345
|
+
height: "7"
|
|
50346
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
50347
|
+
id: "Combined Shape_2",
|
|
50348
|
+
fillRule: "evenodd",
|
|
50349
|
+
clipRule: "evenodd",
|
|
50350
|
+
d: "M14.1075 7.45743C13.9122 7.26217 13.5956 7.26216 13.4003 7.45743L8.99233 11.8654L4.59199 7.46509C4.39673 7.26983 4.08014 7.26983 3.88488 7.46509L3.45355 7.89643C3.25828 8.09169 3.25828 8.40827 3.45355 8.60354L8.65078 13.8008C8.84604 13.996 9.16263 13.996 9.35789 13.8008L9.78922 13.3694C9.81738 13.3413 9.84147 13.3106 9.86151 13.2781L14.5413 8.59836C14.7365 8.4031 14.7365 8.08652 14.5413 7.89126L14.1075 7.45743Z",
|
|
50351
|
+
fill: "white"
|
|
50352
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
50353
|
+
mask: "url(#mask0_3043_4463)"
|
|
50354
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
50355
|
+
id: "Path",
|
|
50356
|
+
d: "M0 0.5H18V18.5H0V0.5Z",
|
|
50357
|
+
fill: color
|
|
50358
|
+
}))));
|
|
50359
|
+
};
|
|
50360
|
+
|
|
50361
|
+
var StyledContainer = styled__default.div.withConfig({
|
|
50362
|
+
displayName: "MultipleSelectFilter__StyledContainer",
|
|
50363
|
+
componentId: "sc-1wom9fl-0"
|
|
50364
|
+
})(["position:relative;box-sizing:border-box;padding:0;", ""], function (_ref) {
|
|
50365
|
+
var extraStyles = _ref.extraStyles;
|
|
50366
|
+
return extraStyles;
|
|
50367
|
+
});
|
|
50368
|
+
var StyledFilterDropdown = styled__default.div.withConfig({
|
|
50369
|
+
displayName: "MultipleSelectFilter__StyledFilterDropdown",
|
|
50370
|
+
componentId: "sc-1wom9fl-1"
|
|
50371
|
+
})(["position:absolute;top:calc(100% + 0.5rem);left:0;width:100%;background-color:white;z-index:1000;border-radius:0.25rem;box-shadow:0px 1px 0px 0px rgba(41,42,51,0.1),0px 2px 4px 0px rgba(41,42,51,0.2),0px 1px 2px 0px rgba(41,42,51,0.1);padding:0;max-width:18.625rem;"]);
|
|
50372
|
+
var StyledFilterButton = styled__default(ButtonWithAction).withConfig({
|
|
50373
|
+
displayName: "MultipleSelectFilter__StyledFilterButton",
|
|
50374
|
+
componentId: "sc-1wom9fl-2"
|
|
50375
|
+
})(["min-width:auto;min-height:2.3125rem;margin:0;padding:0.5rem;border-radius:0.25rem;box-shadow:0px 1px 2px 0px rgba(41,42,51,0.1);", " ", ""], function (_ref2) {
|
|
50376
|
+
var textColor = _ref2.textColor;
|
|
50377
|
+
return "\n color: ".concat(textColor, ";\n ");
|
|
50378
|
+
}, function (_ref3) {
|
|
50379
|
+
var backgroundColor = _ref3.backgroundColor;
|
|
50380
|
+
return "\n background-color: ".concat(backgroundColor, ";\n :hover,\n :active,\n :focus {\n background-color: ").concat(backgroundColor, ";\n }\n ");
|
|
50381
|
+
});
|
|
50382
|
+
var ScrollableOptionsList = function ScrollableOptionsList(_ref4) {
|
|
50383
|
+
var id = _ref4.id,
|
|
50384
|
+
optionsList = _ref4.optionsList,
|
|
50385
|
+
selectedOptions = _ref4.selectedOptions,
|
|
50386
|
+
themeValues = _ref4.themeValues,
|
|
50387
|
+
selectOption = _ref4.selectOption,
|
|
50388
|
+
maxSelections = _ref4.maxSelections,
|
|
50389
|
+
name = _ref4.name;
|
|
50390
|
+
var _useState = React.useState(-1),
|
|
50391
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
50392
|
+
focusedIndex = _useState2[0],
|
|
50393
|
+
setFocusedIndex = _useState2[1];
|
|
50394
|
+
var isMaxSelectionReached = maxSelections && maxSelections === (selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length);
|
|
50395
|
+
React.useEffect(function () {
|
|
50396
|
+
var activeOption = document.getElementById("".concat(name, "-option-").concat(focusedIndex));
|
|
50397
|
+
if (focusedIndex !== -1 && optionsList !== null && optionsList !== void 0 && optionsList.length && activeOption) {
|
|
50398
|
+
activeOption.focus(); // move focus to the active option
|
|
50399
|
+
}
|
|
50400
|
+
}, [focusedIndex]);
|
|
50401
|
+
var handleKeyDown = function handleKeyDown(event) {
|
|
50402
|
+
if (event.key === "ArrowDown") {
|
|
50403
|
+
event.preventDefault();
|
|
50404
|
+
setFocusedIndex(function (prevIndex) {
|
|
50405
|
+
return prevIndex < optionsList.length - 1 ? prevIndex + 1 : 0;
|
|
50406
|
+
});
|
|
50407
|
+
} else if (event.key === "ArrowUp") {
|
|
50408
|
+
event.preventDefault();
|
|
50409
|
+
setFocusedIndex(function (prevIndex) {
|
|
50410
|
+
return prevIndex > 0 ? prevIndex - 1 : optionsList.length - 1;
|
|
50411
|
+
});
|
|
50412
|
+
} else if (event.key === " ") {
|
|
50413
|
+
// Select option on spacebar press if the maximum selection hasn't been reached.
|
|
50414
|
+
event.preventDefault();
|
|
50415
|
+
if (!isMaxSelectionReached || selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.some(function (item) {
|
|
50416
|
+
var _event$target;
|
|
50417
|
+
return (item === null || item === void 0 ? void 0 : item.name) === ((_event$target = event.target) === null || _event$target === void 0 || (_event$target = _event$target.textContent) === null || _event$target === void 0 ? void 0 : _event$target.trim());
|
|
50418
|
+
})) {
|
|
50419
|
+
var optionIDArr = event.target.id.split("-");
|
|
50420
|
+
var index = +optionIDArr[optionIDArr.length - 1];
|
|
50421
|
+
selectOption(optionsList[index]);
|
|
50422
|
+
}
|
|
50423
|
+
} else if (event.key === "Tab") {
|
|
50424
|
+
// Reset focus when tabbing out of the list.
|
|
50425
|
+
setTimeout(function () {
|
|
50426
|
+
setFocusedIndex(-1);
|
|
50427
|
+
}, 500);
|
|
50428
|
+
}
|
|
50429
|
+
};
|
|
50430
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
50431
|
+
id: id,
|
|
50432
|
+
role: "listbox",
|
|
50433
|
+
padding: "0",
|
|
50434
|
+
extraStyles: "\n overflow-y: auto; \n max-height: 250px; \n display: flex; \n flex-flow: column;\n ",
|
|
50435
|
+
onKeyDown: handleKeyDown
|
|
50436
|
+
}, optionsList.map(function (option, index) {
|
|
50437
|
+
var isChecked = selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.some(function (item) {
|
|
50438
|
+
return (item === null || item === void 0 ? void 0 : item.name) === (option === null || option === void 0 ? void 0 : option.name);
|
|
50439
|
+
});
|
|
50440
|
+
var isDisabled = isMaxSelectionReached && !isChecked;
|
|
50441
|
+
var tabIndex = index === focusedIndex || index === 0 && focusedIndex === -1 ? "0" : "-1";
|
|
50442
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
50443
|
+
padding: "0",
|
|
50444
|
+
key: index,
|
|
50445
|
+
extraStyles: "\n :hover,\n :active,\n :focus {\n background-color: ".concat(themeValues.primaryColor, ";\n }\n ")
|
|
50446
|
+
}, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
50447
|
+
id: "".concat(name, "-option-").concat(index),
|
|
50448
|
+
title: option.name,
|
|
50449
|
+
name: option.name,
|
|
50450
|
+
checked: isChecked,
|
|
50451
|
+
onChange: function onChange() {
|
|
50452
|
+
return isDisabled ? noop : selectOption(option);
|
|
50453
|
+
},
|
|
50454
|
+
textExtraStyles: "font-size: 0.875rem; margin: 0;",
|
|
50455
|
+
disabled: isDisabled,
|
|
50456
|
+
extraStyles: "\n padding: 0.075rem 0.325rem; \n margin: 0;\n :hover,\n :active,\n :focus {\n background-color: ".concat(themeValues.primaryColor, ";\n }\n "),
|
|
50457
|
+
checkboxMargin: "0.3rem",
|
|
50458
|
+
role: "option",
|
|
50459
|
+
checkboxExtraStyles: "\n width: 1.375rem; \n height: 1.375rem; \n ".concat(isChecked && !isDisabled ? "background: " + themeValues.secondaryColor + ";" : ""),
|
|
50460
|
+
tabIndex: tabIndex
|
|
50461
|
+
}));
|
|
50462
|
+
}));
|
|
50463
|
+
};
|
|
50464
|
+
var MultipleSelectFilter = function MultipleSelectFilter(_ref5) {
|
|
50465
|
+
var actions = _ref5.actions,
|
|
50466
|
+
autocompleteValue = _ref5.autocompleteValue,
|
|
50467
|
+
btnContentOverride = _ref5.btnContentOverride,
|
|
50468
|
+
disabled = _ref5.disabled,
|
|
50469
|
+
extraStyles = _ref5.extraStyles,
|
|
50470
|
+
fields = _ref5.fields,
|
|
50471
|
+
filterLabel = _ref5.filterLabel,
|
|
50472
|
+
_ref5$hasIcon = _ref5.hasIcon,
|
|
50473
|
+
hasIcon = _ref5$hasIcon === void 0 ? false : _ref5$hasIcon,
|
|
50474
|
+
Icon = _ref5.icon,
|
|
50475
|
+
maxSelections = _ref5.maxSelections,
|
|
50476
|
+
_ref5$name = _ref5.name,
|
|
50477
|
+
name = _ref5$name === void 0 ? "MultipleSelectFilter" : _ref5$name,
|
|
50478
|
+
_ref5$onApply = _ref5.onApply,
|
|
50479
|
+
onApply = _ref5$onApply === void 0 ? noop : _ref5$onApply,
|
|
50480
|
+
_ref5$onClear = _ref5.onClear,
|
|
50481
|
+
onClear = _ref5$onClear === void 0 ? noop : _ref5$onClear,
|
|
50482
|
+
options = _ref5.options,
|
|
50483
|
+
_ref5$placeholder = _ref5.placeholder,
|
|
50484
|
+
placeholder = _ref5$placeholder === void 0 ? "Search" : _ref5$placeholder,
|
|
50485
|
+
_ref5$searchable = _ref5.searchable,
|
|
50486
|
+
searchable = _ref5$searchable === void 0 ? true : _ref5$searchable,
|
|
50487
|
+
selectedOptions = _ref5.selectedOptions,
|
|
50488
|
+
setSelectedOptions = _ref5.setSelectedOptions,
|
|
50489
|
+
themeValues = _ref5.themeValues,
|
|
50490
|
+
_ref5$truncateBtnText = _ref5.truncateBtnTextWidth,
|
|
50491
|
+
truncateBtnTextWidth = _ref5$truncateBtnText === void 0 ? "15rem" : _ref5$truncateBtnText;
|
|
50492
|
+
var _useState3 = React.useState([]),
|
|
50493
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
50494
|
+
itemList = _useState4[0],
|
|
50495
|
+
setItemList = _useState4[1];
|
|
50496
|
+
var _useState5 = React.useState(false),
|
|
50497
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
50498
|
+
opened = _useState6[0],
|
|
50499
|
+
setOpened = _useState6[1];
|
|
50500
|
+
var containerRef = React.useRef(null);
|
|
50501
|
+
var dropdownRef = React.useRef(null);
|
|
50502
|
+
var filterButtonID = "".concat(name, "-filter-button");
|
|
50503
|
+
var filterDropdownID = "".concat(name, "-filter-dropdown");
|
|
50504
|
+
var checkboxListID = "".concat(name, "-checkbox-list");
|
|
50505
|
+
var applyFilterButtonID = "".concat(name, "-apply-filters");
|
|
50506
|
+
var clearFilterButtonID = "".concat(name, "-clear-filters");
|
|
50507
|
+
var backgroundColor = opened ? themeValues.primaryColor : selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length ? themeValues.secondaryColor : WHITE;
|
|
50508
|
+
var contentColor = !opened && selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length ? WHITE : "#292A33";
|
|
50509
|
+
var completeOptionsList = itemList.sort(function (a, b) {
|
|
50510
|
+
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
|
|
50511
|
+
});
|
|
50512
|
+
var selectValues = function selectValues(items) {
|
|
50513
|
+
return items.map(function (item) {
|
|
50514
|
+
return item.value;
|
|
50515
|
+
});
|
|
50516
|
+
};
|
|
50517
|
+
var selectOption = function selectOption(selectedOption) {
|
|
50518
|
+
if (selectValues(selectedOptions).includes(selectedOption.value)) {
|
|
50519
|
+
var fewerOptions = selectedOptions.filter(function (option) {
|
|
50520
|
+
return option.value !== selectedOption.value;
|
|
50521
|
+
});
|
|
50522
|
+
setSelectedOptions(fewerOptions);
|
|
50523
|
+
} else {
|
|
50524
|
+
var moreOptions = selectedOptions.concat(selectedOption);
|
|
50525
|
+
setSelectedOptions(moreOptions);
|
|
50526
|
+
}
|
|
50527
|
+
};
|
|
50528
|
+
React.useEffect(function () {
|
|
50529
|
+
return setItemList(options);
|
|
50530
|
+
}, [options]);
|
|
50531
|
+
React.useEffect(function () {
|
|
50532
|
+
var filteredItems = options.filter(function (item) {
|
|
50533
|
+
var _item$name, _fields$searchTerm;
|
|
50534
|
+
return item === null || item === void 0 || (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.toLowerCase().includes(fields === null || fields === void 0 || (_fields$searchTerm = fields.searchTerm) === null || _fields$searchTerm === void 0 || (_fields$searchTerm = _fields$searchTerm.rawValue) === null || _fields$searchTerm === void 0 ? void 0 : _fields$searchTerm.toLowerCase());
|
|
50535
|
+
});
|
|
50536
|
+
// If no items are filtered, display the entire list of options.
|
|
50537
|
+
if (filteredItems !== null && filteredItems !== void 0 && filteredItems.length) {
|
|
50538
|
+
setItemList(filteredItems);
|
|
50539
|
+
} else {
|
|
50540
|
+
setItemList(options);
|
|
50541
|
+
}
|
|
50542
|
+
}, [fields.searchTerm.rawValue]);
|
|
50543
|
+
React.useEffect(function () {
|
|
50544
|
+
var handleKeyDown = function handleKeyDown(event) {
|
|
50545
|
+
if (event.key === "Escape") {
|
|
50546
|
+
event.preventDefault();
|
|
50547
|
+
}
|
|
50548
|
+
/*
|
|
50549
|
+
Close the dropdown if we hit the Escape key,
|
|
50550
|
+
or if we are tabbing forward away from the last button (apply button)
|
|
50551
|
+
or tabbing backward past the filter button.
|
|
50552
|
+
*/
|
|
50553
|
+
if (event.key === "Escape" || event.key === "Tab" && !event.shiftKey && event.target && event.target.id === applyFilterButtonID || event.key === "Tab" && event.shiftKey && event.target && event.target.id === filterButtonID) {
|
|
50554
|
+
setOpened(false);
|
|
50555
|
+
actions.fields.searchTerm.set("");
|
|
50556
|
+
onApply(selectedOptions);
|
|
50557
|
+
}
|
|
50558
|
+
};
|
|
50559
|
+
var handleClickOutside = function handleClickOutside(event) {
|
|
50560
|
+
if (containerRef.current && !containerRef.current.contains(event.target) && dropdownRef.current && !dropdownRef.current.contains(event.target)) {
|
|
50561
|
+
setOpened(false);
|
|
50562
|
+
actions.fields.searchTerm.set("");
|
|
50563
|
+
onApply(selectedOptions);
|
|
50564
|
+
}
|
|
50565
|
+
};
|
|
50566
|
+
document.addEventListener("mousedown", handleClickOutside);
|
|
50567
|
+
document.addEventListener("keydown", handleKeyDown);
|
|
50568
|
+
return function () {
|
|
50569
|
+
document.addEventListener("mousedown", handleClickOutside);
|
|
50570
|
+
document.removeEventListener("keydown", handleKeyDown);
|
|
50571
|
+
};
|
|
50572
|
+
}, []);
|
|
50573
|
+
return /*#__PURE__*/React__default.createElement(StyledContainer, {
|
|
50574
|
+
ref: containerRef,
|
|
50575
|
+
extraStyles: "".concat(extraStyles)
|
|
50576
|
+
}, /*#__PURE__*/React__default.createElement(StyledFilterButton, {
|
|
50577
|
+
id: filterButtonID,
|
|
50578
|
+
variant: "tertiary",
|
|
50579
|
+
action: function action() {
|
|
50580
|
+
actions.fields.searchTerm.set("");
|
|
50581
|
+
setOpened(!opened);
|
|
50582
|
+
},
|
|
50583
|
+
"aria-haspopup": "listbox",
|
|
50584
|
+
"aria-expanded": opened,
|
|
50585
|
+
"aria-controls": filterDropdownID,
|
|
50586
|
+
backgroundColor: backgroundColor,
|
|
50587
|
+
contentOverride: true
|
|
50588
|
+
}, btnContentOverride ? btnContentOverride : /*#__PURE__*/React__default.createElement(Center, {
|
|
50589
|
+
as: "span",
|
|
50590
|
+
style: {
|
|
50591
|
+
display: "flex",
|
|
50592
|
+
flexDirection: "row"
|
|
50593
|
+
},
|
|
50594
|
+
intrinsic: true
|
|
50595
|
+
}, hasIcon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
50596
|
+
color: contentColor
|
|
50597
|
+
}), /*#__PURE__*/React__default.createElement(Center, {
|
|
50598
|
+
as: "span",
|
|
50599
|
+
style: {
|
|
50600
|
+
display: "flex",
|
|
50601
|
+
flexDirection: "row",
|
|
50602
|
+
padding: "0 0.5rem 0 0.25rem"
|
|
50603
|
+
},
|
|
50604
|
+
intrinsic: true
|
|
50605
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
50606
|
+
variant: "pS",
|
|
50607
|
+
color: contentColor,
|
|
50608
|
+
extraStyles: "\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ".concat(truncateBtnTextWidth && "max-width:" + truncateBtnTextWidth, "\n ")
|
|
50609
|
+
}, selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length ? "".concat(filterLabel ? filterLabel + ": " : "").concat(selectedOptions[0].name) : "".concat(filterLabel ? filterLabel : "")), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
50610
|
+
color: contentColor,
|
|
50611
|
+
variant: "pS"
|
|
50612
|
+
}, selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.length && (selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) > 1 ? ", +".concat((selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) - 1, " More") : "")), /*#__PURE__*/React__default.createElement(DropdownIconV2, {
|
|
50613
|
+
color: contentColor
|
|
50614
|
+
}))), /*#__PURE__*/React__default.createElement(StyledFilterDropdown, {
|
|
50615
|
+
id: filterDropdownID,
|
|
50616
|
+
ref: dropdownRef,
|
|
50617
|
+
hidden: !opened,
|
|
50618
|
+
role: "combobox",
|
|
50619
|
+
"aria-expanded": opened,
|
|
50620
|
+
"aria-haspopup": "listbox",
|
|
50621
|
+
"aria-owns": checkboxListID
|
|
50622
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
50623
|
+
padding: "0 0 0.5rem"
|
|
50624
|
+
}, searchable && (options === null || options === void 0 ? void 0 : options.length) > 8 && /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
50625
|
+
autocompleteValue: autocompleteValue,
|
|
50626
|
+
showFieldErrorRow: false,
|
|
50627
|
+
errorMessages: {},
|
|
50628
|
+
field: fields.searchTerm,
|
|
50629
|
+
fieldActions: actions.fields.searchTerm,
|
|
50630
|
+
placeholder: placeholder,
|
|
50631
|
+
disabled: disabled,
|
|
50632
|
+
extraStyles: "\n height: 2.875rem;\n border: 0; \n border-radius: 0;\n padding: 0.45rem;\n font-size: 0.875rem;\n border-bottom: 1px solid ".concat(GHOST_GREY, ";\n ")
|
|
50633
|
+
})), /*#__PURE__*/React__default.createElement(ScrollableOptionsList, {
|
|
50634
|
+
id: checkboxListID,
|
|
50635
|
+
optionsList: completeOptionsList,
|
|
50636
|
+
selectedOptions: selectedOptions,
|
|
50637
|
+
themeValues: themeValues,
|
|
50638
|
+
selectOption: selectOption,
|
|
50639
|
+
maxSelections: maxSelections,
|
|
50640
|
+
name: name
|
|
50641
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
50642
|
+
padding: "0 0.5rem 0.0625rem 0.5rem",
|
|
50643
|
+
extraStyles: "\n max-height: 100px; \n display: flex; \n flex-flow: row; \n justify-content: space-between;\n border-top: 1px solid ".concat(GHOST_GREY, ";\n ")
|
|
50644
|
+
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
50645
|
+
action: function action() {
|
|
50646
|
+
setOpened(false);
|
|
50647
|
+
setSelectedOptions([]);
|
|
50648
|
+
actions.fields.searchTerm.set("");
|
|
50649
|
+
onClear();
|
|
50650
|
+
},
|
|
50651
|
+
variant: "tertiary",
|
|
50652
|
+
id: clearFilterButtonID,
|
|
50653
|
+
extraStyles: "\n padding: 0.2rem; \n margin: 0.5rem; \n min-height: auto; \n min-width: auto;\n ",
|
|
50654
|
+
textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, ";"),
|
|
50655
|
+
text: "Clear"
|
|
50656
|
+
}), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
50657
|
+
action: function action() {
|
|
50658
|
+
setOpened(false);
|
|
50659
|
+
actions.fields.searchTerm.set("");
|
|
50660
|
+
onApply(selectedOptions);
|
|
50661
|
+
},
|
|
50662
|
+
variant: "tertiary",
|
|
50663
|
+
id: applyFilterButtonID,
|
|
50664
|
+
extraStyles: "\n padding: 0.2rem; \n margin: 0.5rem; \n min-height: auto; \n min-width: auto;\n ",
|
|
50665
|
+
textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, ";"),
|
|
50666
|
+
text: "Apply"
|
|
50667
|
+
}))));
|
|
50668
|
+
};
|
|
50669
|
+
var MultipleSelectFilter$1 = themeComponent(MultipleSelectFilter, "MultipleSelectFilter", fallbackValues$Z);
|
|
50367
50670
|
|
|
50368
50671
|
var pageBackground = "#FBFCFD";
|
|
50369
50672
|
var fallbackValues$_ = {
|
|
@@ -50665,6 +50968,7 @@ exports.AccountsIconSmall = AccountsIconSmall$1;
|
|
|
50665
50968
|
exports.AchReturnIcon = AchReturnIcon;
|
|
50666
50969
|
exports.AddObligation = AddObligation$1;
|
|
50667
50970
|
exports.AddressForm = AddressForm;
|
|
50971
|
+
exports.AgencyIcon = AgencyIcon;
|
|
50668
50972
|
exports.Alert = Alert$1;
|
|
50669
50973
|
exports.AllocatedIcon = AllocatedIcon;
|
|
50670
50974
|
exports.AmountCallout = AmountCallout$1;
|
|
@@ -50687,8 +50991,6 @@ exports.ButtonWithAction = ButtonWithAction;
|
|
|
50687
50991
|
exports.ButtonWithLink = ButtonWithLink;
|
|
50688
50992
|
exports.CalendarIcon = CalendarIcon;
|
|
50689
50993
|
exports.Card = Card$1;
|
|
50690
|
-
exports.CaretArrowDown = CaretArrowDown$1;
|
|
50691
|
-
exports.CaretArrowUp = CaretArrowUp$1;
|
|
50692
50994
|
exports.CarrotIcon = CarrotIcon$1;
|
|
50693
50995
|
exports.CashIcon = CashIcon;
|
|
50694
50996
|
exports.Center = Center;
|
|
@@ -50774,6 +51076,7 @@ exports.Modal = Modal$3;
|
|
|
50774
51076
|
exports.Module = Module$1;
|
|
50775
51077
|
exports.Motion = Motion;
|
|
50776
51078
|
exports.MultiCartIcon = MultiCartIcon;
|
|
51079
|
+
exports.MultipleSelectFilter = MultipleSelectFilter$1;
|
|
50777
51080
|
exports.NavFooter = NavFooter;
|
|
50778
51081
|
exports.NavHeader = NavHeader;
|
|
50779
51082
|
exports.NavMenuDesktop = NavMenuDesktop$1;
|
|
@@ -50840,7 +51143,6 @@ exports.Sidebar = Sidebar;
|
|
|
50840
51143
|
exports.SidebarSingleContent = SidebarSingleContent$1;
|
|
50841
51144
|
exports.SidebarStackContent = SidebarStackContent$1;
|
|
50842
51145
|
exports.SolidDivider = SolidDivider$1;
|
|
50843
|
-
exports.SortableTableHeading = SortableTableHeading$1;
|
|
50844
51146
|
exports.Spinner = Spinner$2;
|
|
50845
51147
|
exports.Stack = Stack;
|
|
50846
51148
|
exports.StandardCheckoutImage = StandardCheckoutImage;
|
|
@@ -50855,7 +51157,7 @@ exports.Table = Table_styled;
|
|
|
50855
51157
|
exports.TableBody = TableBody_styled;
|
|
50856
51158
|
exports.TableCell = TableCell_styled;
|
|
50857
51159
|
exports.TableHead = TableHead$1;
|
|
50858
|
-
exports.TableHeading =
|
|
51160
|
+
exports.TableHeading = TableHeading_styled;
|
|
50859
51161
|
exports.TableListItem = TableListItem;
|
|
50860
51162
|
exports.TableRow = TableRow$1;
|
|
50861
51163
|
exports.Tabs = Tabs$1;
|