@thecb/components 4.0.7-beta.0 → 4.0.9
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/.tool-versions +1 -0
- package/dist/index.cjs.js +1154 -148
- package/package.json +2 -1
- package/src/components/atoms/card/Card.js +121 -0
- package/src/components/atoms/card/Card.theme.js +9 -0
- package/src/components/atoms/card/index.js +37 -0
- package/src/components/atoms/icons/PropertiesAddIcon.js +1 -6
- package/src/components/atoms/index.js +1 -0
- package/src/components/atoms/placeholder/Placeholder.js +20 -7
- package/src/components/molecules/index.js +1 -0
- package/src/components/molecules/welcome-module/WelcomeModule.js +52 -0
- package/src/components/molecules/welcome-module/WelcomeModule.theme.js +15 -0
- package/src/components/molecules/welcome-module/index.js +3 -0
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js +0 -38375
- package/dist/index.esm.js.map +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13125,10 +13125,7 @@ var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
|
13125
13125
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13126
13126
|
width: 100,
|
|
13127
13127
|
height: 100,
|
|
13128
|
-
viewBox: "0 0
|
|
13129
|
-
style: {
|
|
13130
|
-
paddingLeft: "16px"
|
|
13131
|
-
}
|
|
13128
|
+
viewBox: "0 0 84 100"
|
|
13132
13129
|
}, /*#__PURE__*/React__default.createElement("title", null, "8330C897-662E-49C5-B716-3661563AA1FB@1.00x"), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
|
|
13133
13130
|
id: "prefix__a",
|
|
13134
13131
|
d: "M0 0h100v100H0z"
|
|
@@ -16267,7 +16264,198 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
16267
16264
|
})));
|
|
16268
16265
|
};
|
|
16269
16266
|
|
|
16270
|
-
var backgroundColor$1 =
|
|
16267
|
+
var backgroundColor$1 = WHITE;
|
|
16268
|
+
var iconBackgroundColor = GRECIAN_GREY;
|
|
16269
|
+
var fallbackValues$9 = {
|
|
16270
|
+
backgroundColor: backgroundColor$1,
|
|
16271
|
+
iconBackgroundColor: iconBackgroundColor
|
|
16272
|
+
};
|
|
16273
|
+
|
|
16274
|
+
var MOBILE_WIDTH = 768;
|
|
16275
|
+
|
|
16276
|
+
var throttle = function throttle(delay, fn) {
|
|
16277
|
+
var lastCall = 0;
|
|
16278
|
+
return function () {
|
|
16279
|
+
var now = new Date().getTime();
|
|
16280
|
+
|
|
16281
|
+
if (now - lastCall < delay) {
|
|
16282
|
+
return;
|
|
16283
|
+
}
|
|
16284
|
+
|
|
16285
|
+
lastCall = now;
|
|
16286
|
+
return fn.apply(void 0, arguments);
|
|
16287
|
+
};
|
|
16288
|
+
};
|
|
16289
|
+
|
|
16290
|
+
var withWindowSize = function withWindowSize(Child) {
|
|
16291
|
+
return function (_ref) {
|
|
16292
|
+
var props = _extends({}, _ref);
|
|
16293
|
+
|
|
16294
|
+
var _useState = React.useState({
|
|
16295
|
+
isMobile: window.innerWidth < MOBILE_WIDTH,
|
|
16296
|
+
mobileWidth: MOBILE_WIDTH,
|
|
16297
|
+
supportsTouch: "ontouchstart" in window || navigator.maxTouchPoints > 1
|
|
16298
|
+
}),
|
|
16299
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
16300
|
+
state = _useState2[0],
|
|
16301
|
+
setState = _useState2[1];
|
|
16302
|
+
|
|
16303
|
+
var isMobileRef = React.useRef(state.isMobile);
|
|
16304
|
+
var onResize = throttle(25, function () {
|
|
16305
|
+
var width = window.innerWidth;
|
|
16306
|
+
var newMobileState = width <= MOBILE_WIDTH;
|
|
16307
|
+
|
|
16308
|
+
if (newMobileState !== isMobileRef.current) {
|
|
16309
|
+
isMobileRef.current = newMobileState;
|
|
16310
|
+
setState({
|
|
16311
|
+
isMobile: width <= MOBILE_WIDTH,
|
|
16312
|
+
mobileWidth: MOBILE_WIDTH,
|
|
16313
|
+
supportsTouch: "ontouchstart" in window || navigator.maxTouchPoints > 1
|
|
16314
|
+
});
|
|
16315
|
+
}
|
|
16316
|
+
});
|
|
16317
|
+
React.useLayoutEffect(function () {
|
|
16318
|
+
window.addEventListener("resize", onResize);
|
|
16319
|
+
return function () {
|
|
16320
|
+
window.removeEventListener("resize", onResize);
|
|
16321
|
+
};
|
|
16322
|
+
}, []);
|
|
16323
|
+
return /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
|
|
16324
|
+
theme: state
|
|
16325
|
+
}, /*#__PURE__*/React__default.createElement(Child, props));
|
|
16326
|
+
};
|
|
16327
|
+
};
|
|
16328
|
+
|
|
16329
|
+
var CardVariantSwitcher = function CardVariantSwitcher(_ref) {
|
|
16330
|
+
var variant = _ref.variant,
|
|
16331
|
+
children = _ref.children;
|
|
16332
|
+
return variant === "vertical" ? /*#__PURE__*/React__default.createElement(React.Fragment, null, children) : /*#__PURE__*/React__default.createElement(Box, {
|
|
16333
|
+
padding: "0",
|
|
16334
|
+
extraStyles: "width: 100%"
|
|
16335
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
16336
|
+
childGap: "0",
|
|
16337
|
+
maxWidth: "100%",
|
|
16338
|
+
fullHeight: true
|
|
16339
|
+
}, children));
|
|
16340
|
+
};
|
|
16341
|
+
|
|
16342
|
+
var Card = function Card(_ref2) {
|
|
16343
|
+
var themeValues = _ref2.themeValues,
|
|
16344
|
+
icon = _ref2.icon,
|
|
16345
|
+
heading = _ref2.heading,
|
|
16346
|
+
text = _ref2.text,
|
|
16347
|
+
_ref2$cardAction = _ref2.cardAction,
|
|
16348
|
+
cardAction = _ref2$cardAction === void 0 ? "/profile" : _ref2$cardAction,
|
|
16349
|
+
buttonText = _ref2.buttonText,
|
|
16350
|
+
_ref2$variant = _ref2.variant,
|
|
16351
|
+
variant = _ref2$variant === void 0 ? "vertical" : _ref2$variant;
|
|
16352
|
+
|
|
16353
|
+
var _useContext = React.useContext(styled.ThemeContext),
|
|
16354
|
+
isMobile = _useContext.isMobile;
|
|
16355
|
+
|
|
16356
|
+
var navigate = reactRouterDom.useNavigate();
|
|
16357
|
+
|
|
16358
|
+
var renderIcon = function renderIcon(icon) {
|
|
16359
|
+
switch (icon) {
|
|
16360
|
+
case "accounts":
|
|
16361
|
+
return /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null);
|
|
16362
|
+
|
|
16363
|
+
case "properties":
|
|
16364
|
+
return /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null);
|
|
16365
|
+
|
|
16366
|
+
case "payment":
|
|
16367
|
+
return /*#__PURE__*/React__default.createElement(PaymentMethodIcon$1, null);
|
|
16368
|
+
|
|
16369
|
+
default:
|
|
16370
|
+
return /*#__PURE__*/React__default.createElement(PaymentMethodIcon$1, null);
|
|
16371
|
+
}
|
|
16372
|
+
};
|
|
16373
|
+
|
|
16374
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
16375
|
+
background: themeValues.backgroundColor,
|
|
16376
|
+
borderRadius: "4px",
|
|
16377
|
+
boxShadow: " 0px 1px 10px 0px rgb(246, 246, 249), 0px 2px 5px 0px rgb(202, 206, 216)",
|
|
16378
|
+
padding: "0",
|
|
16379
|
+
maxWidth: "100%",
|
|
16380
|
+
minHeight: "100%",
|
|
16381
|
+
minWidth: variant !== "vertical" && "300px"
|
|
16382
|
+
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
16383
|
+
singleChild: true,
|
|
16384
|
+
fillCenter: true
|
|
16385
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
16386
|
+
direction: variant === "vertical" ? "column" : "row",
|
|
16387
|
+
justify: variant === "vertical" && "center",
|
|
16388
|
+
fullHeight: true,
|
|
16389
|
+
childGap: "0"
|
|
16390
|
+
}, icon && /*#__PURE__*/React__default.createElement(Box, {
|
|
16391
|
+
padding: "0",
|
|
16392
|
+
background: themeValues.iconBackgroundColor
|
|
16393
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
16394
|
+
direction: variant === "vertical" ? "row" : "column",
|
|
16395
|
+
justify: "center",
|
|
16396
|
+
fullHeight: true
|
|
16397
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
16398
|
+
padding: variant === "vertical" ? "0.5rem 0" : isMobile ? "1rem 1.5rem" : "2rem 2.5rem"
|
|
16399
|
+
}, renderIcon(icon)))), /*#__PURE__*/React__default.createElement(CardVariantSwitcher, {
|
|
16400
|
+
variant: variant
|
|
16401
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
16402
|
+
padding: "0.5rem 1rem",
|
|
16403
|
+
width: "100%",
|
|
16404
|
+
extraStyles: "flex-grow: 1; width: 100%;"
|
|
16405
|
+
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
16406
|
+
singleChild: true,
|
|
16407
|
+
fillCenter: true
|
|
16408
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
16409
|
+
padding: "0"
|
|
16410
|
+
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
16411
|
+
variant: "h6"
|
|
16412
|
+
}, heading), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
16413
|
+
variant: "pS"
|
|
16414
|
+
}, text)))), /*#__PURE__*/React__default.createElement(Box, {
|
|
16415
|
+
padding: "0.5rem 1rem 1rem"
|
|
16416
|
+
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
16417
|
+
variant: "smallPrimary",
|
|
16418
|
+
text: buttonText,
|
|
16419
|
+
action: function action() {
|
|
16420
|
+
return navigate(cardAction);
|
|
16421
|
+
},
|
|
16422
|
+
extraStyles: "width: 100%;"
|
|
16423
|
+
}))))));
|
|
16424
|
+
};
|
|
16425
|
+
|
|
16426
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$9);
|
|
16427
|
+
|
|
16428
|
+
var cardRegistry = {
|
|
16429
|
+
accounts: function accounts(props) {
|
|
16430
|
+
return /*#__PURE__*/React__default.createElement(Card$1, _extends({
|
|
16431
|
+
icon: "accounts",
|
|
16432
|
+
heading: "Add an Account",
|
|
16433
|
+
buttonText: "Add Account",
|
|
16434
|
+
text: "Add your accounts to this profile to make your payments simple.",
|
|
16435
|
+
cardAction: "/profile/accounts"
|
|
16436
|
+
}, props));
|
|
16437
|
+
},
|
|
16438
|
+
properties: function properties(props) {
|
|
16439
|
+
return /*#__PURE__*/React__default.createElement(Card$1, _extends({
|
|
16440
|
+
icon: "properties",
|
|
16441
|
+
heading: "Add a Property",
|
|
16442
|
+
buttonText: "Add Property",
|
|
16443
|
+
text: "Add a home, car, or other types of personal or business property.",
|
|
16444
|
+
cardAction: "/profile/properties"
|
|
16445
|
+
}, props));
|
|
16446
|
+
},
|
|
16447
|
+
payment: function payment(props) {
|
|
16448
|
+
return /*#__PURE__*/React__default.createElement(Card$1, _extends({
|
|
16449
|
+
icon: "payment",
|
|
16450
|
+
heading: "Add a Payment Method",
|
|
16451
|
+
buttonText: "Add Payment Method",
|
|
16452
|
+
text: "Save cards and/or bank accounts to your profile for fast future payments.",
|
|
16453
|
+
cardAction: "/profile/settings"
|
|
16454
|
+
}, props));
|
|
16455
|
+
}
|
|
16456
|
+
};
|
|
16457
|
+
|
|
16458
|
+
var backgroundColor$2 = {
|
|
16271
16459
|
"default": "".concat(TRANSPARENT)
|
|
16272
16460
|
};
|
|
16273
16461
|
var textFontSize = {
|
|
@@ -16303,8 +16491,8 @@ var checkedStyles = {
|
|
|
16303
16491
|
var defaultStyles = {
|
|
16304
16492
|
"default": "\n background: ".concat(WHITE, "; \n border: 1px solid ").concat(GHOST_GREY, ";\n")
|
|
16305
16493
|
};
|
|
16306
|
-
var fallbackValues$
|
|
16307
|
-
backgroundColor: backgroundColor$
|
|
16494
|
+
var fallbackValues$a = {
|
|
16495
|
+
backgroundColor: backgroundColor$2,
|
|
16308
16496
|
textFontSize: textFontSize,
|
|
16309
16497
|
textFontWeight: textFontWeight,
|
|
16310
16498
|
textLineHeight: textLineHeight,
|
|
@@ -16508,7 +16696,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
16508
16696
|
}, title)));
|
|
16509
16697
|
};
|
|
16510
16698
|
|
|
16511
|
-
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$
|
|
16699
|
+
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$a, "default");
|
|
16512
16700
|
|
|
16513
16701
|
var listBackgroundColor = {
|
|
16514
16702
|
"default": "".concat(ATHENS_GREY),
|
|
@@ -16534,7 +16722,7 @@ var radioButtonInactive = {
|
|
|
16534
16722
|
"default": "".concat(GHOST_GREY),
|
|
16535
16723
|
disabled: "".concat(GHOST_GREY)
|
|
16536
16724
|
};
|
|
16537
|
-
var fallbackValues$
|
|
16725
|
+
var fallbackValues$b = {
|
|
16538
16726
|
listBackgroundColor: listBackgroundColor,
|
|
16539
16727
|
listItemColor: listItemColor,
|
|
16540
16728
|
listItemBackgroundColor: listItemBackgroundColor,
|
|
@@ -16738,7 +16926,7 @@ var CheckboxList = function CheckboxList(_ref2) {
|
|
|
16738
16926
|
})));
|
|
16739
16927
|
};
|
|
16740
16928
|
|
|
16741
|
-
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$
|
|
16929
|
+
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$b, "default");
|
|
16742
16930
|
|
|
16743
16931
|
var DropdownIcon = function DropdownIcon() {
|
|
16744
16932
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -16768,7 +16956,7 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
16768
16956
|
|
|
16769
16957
|
var selectedColor = "".concat(MATISSE_BLUE);
|
|
16770
16958
|
var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
|
|
16771
|
-
var fallbackValues$
|
|
16959
|
+
var fallbackValues$c = {
|
|
16772
16960
|
selectedColor: selectedColor,
|
|
16773
16961
|
hoverColor: hoverColor$3
|
|
16774
16962
|
};
|
|
@@ -17045,7 +17233,7 @@ var Dropdown = function Dropdown(_ref7) {
|
|
|
17045
17233
|
}))) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
|
|
17046
17234
|
};
|
|
17047
17235
|
|
|
17048
|
-
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$
|
|
17236
|
+
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$c);
|
|
17049
17237
|
|
|
17050
17238
|
function _templateObject4$3() {
|
|
17051
17239
|
var data = _taggedTemplateLiteral([""]);
|
|
@@ -17921,10 +18109,10 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
17921
18109
|
});
|
|
17922
18110
|
};
|
|
17923
18111
|
|
|
17924
|
-
var backgroundColor$
|
|
18112
|
+
var backgroundColor$3 = WHITE;
|
|
17925
18113
|
var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
17926
|
-
var fallbackValues$
|
|
17927
|
-
backgroundColor: backgroundColor$
|
|
18114
|
+
var fallbackValues$d = {
|
|
18115
|
+
backgroundColor: backgroundColor$3,
|
|
17928
18116
|
boxShadow: boxShadow
|
|
17929
18117
|
};
|
|
17930
18118
|
|
|
@@ -17944,7 +18132,7 @@ var DisplayBox = function DisplayBox(_ref) {
|
|
|
17944
18132
|
}, children));
|
|
17945
18133
|
};
|
|
17946
18134
|
|
|
17947
|
-
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$
|
|
18135
|
+
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$d);
|
|
17948
18136
|
|
|
17949
18137
|
var fontFamily$3 = {
|
|
17950
18138
|
p: "Public Sans",
|
|
@@ -17962,7 +18150,7 @@ var fontSize$4 = {
|
|
|
17962
18150
|
pXXS: "0.65rem",
|
|
17963
18151
|
pXL: "1.5rem"
|
|
17964
18152
|
};
|
|
17965
|
-
var fallbackValues$
|
|
18153
|
+
var fallbackValues$e = {
|
|
17966
18154
|
fontFamily: fontFamily$3,
|
|
17967
18155
|
fontSize: fontSize$4
|
|
17968
18156
|
};
|
|
@@ -18021,7 +18209,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
18021
18209
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
18022
18210
|
};
|
|
18023
18211
|
|
|
18024
|
-
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$
|
|
18212
|
+
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$e, "p");
|
|
18025
18213
|
|
|
18026
18214
|
var DisplayCard = function DisplayCard(_ref) {
|
|
18027
18215
|
var title = _ref.title,
|
|
@@ -18414,7 +18602,7 @@ var hoverFocusStyles = {
|
|
|
18414
18602
|
"default": "color: #0E506D; outline: none; text-decoration: underline; ",
|
|
18415
18603
|
disabled: "color: #6E727E;"
|
|
18416
18604
|
};
|
|
18417
|
-
var fallbackValues$
|
|
18605
|
+
var fallbackValues$f = {
|
|
18418
18606
|
linkColor: linkColor,
|
|
18419
18607
|
formBackgroundColor: formBackgroundColor,
|
|
18420
18608
|
inputBackgroundColor: inputBackgroundColor,
|
|
@@ -18641,7 +18829,7 @@ var FormInput = function FormInput(_ref13) {
|
|
|
18641
18829
|
}, decorator)));
|
|
18642
18830
|
};
|
|
18643
18831
|
|
|
18644
|
-
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$
|
|
18832
|
+
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$f, "default");
|
|
18645
18833
|
|
|
18646
18834
|
var FormInputRow = function FormInputRow(_ref) {
|
|
18647
18835
|
var _ref$breakpoint = _ref.breakpoint,
|
|
@@ -18676,61 +18864,6 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
18676
18864
|
}, rest), children);
|
|
18677
18865
|
};
|
|
18678
18866
|
|
|
18679
|
-
var MOBILE_WIDTH = 768;
|
|
18680
|
-
|
|
18681
|
-
var throttle = function throttle(delay, fn) {
|
|
18682
|
-
var lastCall = 0;
|
|
18683
|
-
return function () {
|
|
18684
|
-
var now = new Date().getTime();
|
|
18685
|
-
|
|
18686
|
-
if (now - lastCall < delay) {
|
|
18687
|
-
return;
|
|
18688
|
-
}
|
|
18689
|
-
|
|
18690
|
-
lastCall = now;
|
|
18691
|
-
return fn.apply(void 0, arguments);
|
|
18692
|
-
};
|
|
18693
|
-
};
|
|
18694
|
-
|
|
18695
|
-
var withWindowSize = function withWindowSize(Child) {
|
|
18696
|
-
return function (_ref) {
|
|
18697
|
-
var props = _extends({}, _ref);
|
|
18698
|
-
|
|
18699
|
-
var _useState = React.useState({
|
|
18700
|
-
isMobile: window.innerWidth < MOBILE_WIDTH,
|
|
18701
|
-
mobileWidth: MOBILE_WIDTH,
|
|
18702
|
-
supportsTouch: "ontouchstart" in window || navigator.maxTouchPoints > 1
|
|
18703
|
-
}),
|
|
18704
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18705
|
-
state = _useState2[0],
|
|
18706
|
-
setState = _useState2[1];
|
|
18707
|
-
|
|
18708
|
-
var isMobileRef = React.useRef(state.isMobile);
|
|
18709
|
-
var onResize = throttle(25, function () {
|
|
18710
|
-
var width = window.innerWidth;
|
|
18711
|
-
var newMobileState = width <= MOBILE_WIDTH;
|
|
18712
|
-
|
|
18713
|
-
if (newMobileState !== isMobileRef.current) {
|
|
18714
|
-
isMobileRef.current = newMobileState;
|
|
18715
|
-
setState({
|
|
18716
|
-
isMobile: width <= MOBILE_WIDTH,
|
|
18717
|
-
mobileWidth: MOBILE_WIDTH,
|
|
18718
|
-
supportsTouch: "ontouchstart" in window || navigator.maxTouchPoints > 1
|
|
18719
|
-
});
|
|
18720
|
-
}
|
|
18721
|
-
});
|
|
18722
|
-
React.useLayoutEffect(function () {
|
|
18723
|
-
window.addEventListener("resize", onResize);
|
|
18724
|
-
return function () {
|
|
18725
|
-
window.removeEventListener("resize", onResize);
|
|
18726
|
-
};
|
|
18727
|
-
}, []);
|
|
18728
|
-
return /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
|
|
18729
|
-
theme: state
|
|
18730
|
-
}, /*#__PURE__*/React__default.createElement(Child, props));
|
|
18731
|
-
};
|
|
18732
|
-
};
|
|
18733
|
-
|
|
18734
18867
|
var FormContainer = function FormContainer(_ref) {
|
|
18735
18868
|
var themeValues = _ref.themeValues,
|
|
18736
18869
|
children = _ref.children,
|
|
@@ -18746,7 +18879,7 @@ var FormContainer = function FormContainer(_ref) {
|
|
|
18746
18879
|
}, rest), children);
|
|
18747
18880
|
};
|
|
18748
18881
|
|
|
18749
|
-
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$
|
|
18882
|
+
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$f, "default");
|
|
18750
18883
|
|
|
18751
18884
|
var fontSize$6 = {
|
|
18752
18885
|
"default": "1rem",
|
|
@@ -18760,7 +18893,7 @@ var color$6 = {
|
|
|
18760
18893
|
"default": "".concat(CHARADE_GREY),
|
|
18761
18894
|
radio: "".concat(MINESHAFT_GREY)
|
|
18762
18895
|
};
|
|
18763
|
-
var fallbackValues$
|
|
18896
|
+
var fallbackValues$g = {
|
|
18764
18897
|
fontSize: fontSize$6,
|
|
18765
18898
|
padding: padding$1,
|
|
18766
18899
|
color: color$6
|
|
@@ -18803,11 +18936,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
18803
18936
|
}, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
|
|
18804
18937
|
};
|
|
18805
18938
|
|
|
18806
|
-
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$
|
|
18939
|
+
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$g, "default");
|
|
18807
18940
|
|
|
18808
18941
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
18809
18942
|
var autopayTextColor = "".concat(REGENT_GREY);
|
|
18810
|
-
var fallbackValues$
|
|
18943
|
+
var fallbackValues$h = {
|
|
18811
18944
|
textColor: textColor$1,
|
|
18812
18945
|
autopayTextColor: autopayTextColor
|
|
18813
18946
|
};
|
|
@@ -18860,7 +18993,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
18860
18993
|
}, "Autopay Enabled")));
|
|
18861
18994
|
};
|
|
18862
18995
|
|
|
18863
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
18996
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$h, "default");
|
|
18864
18997
|
|
|
18865
18998
|
function _templateObject3$8() {
|
|
18866
18999
|
var data = _taggedTemplateLiteral(["\n display: block;\n top: auto;\n bottom: 6px;\n left: 2px;\n transition-duration: 0.13s;\n transition-delay: 0.13s;\n transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n margin-top: 12px;\n background-color: ", ";\n\n &, &::before, &::after {\n background-color: ", ";\n width: 30px;\n height: 3px;\n position: absolute;\n transition-property: transform;\n transition-duration: 0.15s;\n transition-timing-function: ease;\n }\n\n &::before, &::after {\n content: \"\";\n display: block;\n }\n\n &::before {\n top: -10px;\n transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n &::after {\n bottom: -10px;\n top: -20px;\n transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n opacity 0.1s linear;\n }\n\n &.active, &.active::before, &.active::after {\n background-color: ", ";\n }\n\n &.active {\n transform: translate3d(0, -10px, 0) rotate(-45deg);\n transition-delay: 0.22s;\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n &.active::after {\n top: 0;\n opacity: 0;\n transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n opacity: 0.1s 0.22s linear;\n }\n\n &.active::before {\n top: 0;\n transform: rotate(-90deg);\n transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n"]);
|
|
@@ -18983,7 +19116,7 @@ var fontWeight$3 = {
|
|
|
18983
19116
|
pL: "600",
|
|
18984
19117
|
h6: "700"
|
|
18985
19118
|
};
|
|
18986
|
-
var fallbackValues$
|
|
19119
|
+
var fallbackValues$i = {
|
|
18987
19120
|
fontWeight: fontWeight$3
|
|
18988
19121
|
};
|
|
18989
19122
|
|
|
@@ -19010,7 +19143,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
19010
19143
|
}, amount));
|
|
19011
19144
|
};
|
|
19012
19145
|
|
|
19013
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
19146
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$i, "default");
|
|
19014
19147
|
|
|
19015
19148
|
var weightTitle = {
|
|
19016
19149
|
"default": "600",
|
|
@@ -19020,7 +19153,7 @@ var paragraphVariant = {
|
|
|
19020
19153
|
"default": "pL",
|
|
19021
19154
|
small: "p"
|
|
19022
19155
|
};
|
|
19023
|
-
var fallbackValues$
|
|
19156
|
+
var fallbackValues$j = {
|
|
19024
19157
|
weightTitle: weightTitle,
|
|
19025
19158
|
paragraphVariant: paragraphVariant
|
|
19026
19159
|
};
|
|
@@ -19049,10 +19182,10 @@ var LineItem = function LineItem(_ref) {
|
|
|
19049
19182
|
}, amount));
|
|
19050
19183
|
};
|
|
19051
19184
|
|
|
19052
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
19185
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$j, "default");
|
|
19053
19186
|
|
|
19054
19187
|
var color$7 = "#15749D";
|
|
19055
|
-
var fallbackValues$
|
|
19188
|
+
var fallbackValues$k = {
|
|
19056
19189
|
color: color$7
|
|
19057
19190
|
};
|
|
19058
19191
|
|
|
@@ -19104,7 +19237,7 @@ var Spinner$1 = function Spinner(_ref4) {
|
|
|
19104
19237
|
})));
|
|
19105
19238
|
};
|
|
19106
19239
|
|
|
19107
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
19240
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$k);
|
|
19108
19241
|
|
|
19109
19242
|
var Loading = function Loading() {
|
|
19110
19243
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -19518,6 +19651,818 @@ var PasswordRequirements = function PasswordRequirements(_ref) {
|
|
|
19518
19651
|
}))));
|
|
19519
19652
|
};
|
|
19520
19653
|
|
|
19654
|
+
function _extends$1() {
|
|
19655
|
+
_extends$1 = Object.assign || function (target) {
|
|
19656
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
19657
|
+
var source = arguments[i];
|
|
19658
|
+
|
|
19659
|
+
for (var key in source) {
|
|
19660
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
19661
|
+
target[key] = source[key];
|
|
19662
|
+
}
|
|
19663
|
+
}
|
|
19664
|
+
}
|
|
19665
|
+
|
|
19666
|
+
return target;
|
|
19667
|
+
};
|
|
19668
|
+
|
|
19669
|
+
return _extends$1.apply(this, arguments);
|
|
19670
|
+
}
|
|
19671
|
+
|
|
19672
|
+
function _assertThisInitialized(self) {
|
|
19673
|
+
if (self === void 0) {
|
|
19674
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19675
|
+
}
|
|
19676
|
+
|
|
19677
|
+
return self;
|
|
19678
|
+
}
|
|
19679
|
+
|
|
19680
|
+
function _inheritsLoose(subClass, superClass) {
|
|
19681
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
19682
|
+
subClass.prototype.constructor = subClass;
|
|
19683
|
+
subClass.__proto__ = superClass;
|
|
19684
|
+
}
|
|
19685
|
+
|
|
19686
|
+
function _getPrototypeOf(o) {
|
|
19687
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
19688
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
19689
|
+
};
|
|
19690
|
+
return _getPrototypeOf(o);
|
|
19691
|
+
}
|
|
19692
|
+
|
|
19693
|
+
function _setPrototypeOf(o, p) {
|
|
19694
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
19695
|
+
o.__proto__ = p;
|
|
19696
|
+
return o;
|
|
19697
|
+
};
|
|
19698
|
+
|
|
19699
|
+
return _setPrototypeOf(o, p);
|
|
19700
|
+
}
|
|
19701
|
+
|
|
19702
|
+
function _isNativeFunction(fn) {
|
|
19703
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
19704
|
+
}
|
|
19705
|
+
|
|
19706
|
+
function _isNativeReflectConstruct() {
|
|
19707
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
19708
|
+
if (Reflect.construct.sham) return false;
|
|
19709
|
+
if (typeof Proxy === "function") return true;
|
|
19710
|
+
|
|
19711
|
+
try {
|
|
19712
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
19713
|
+
return true;
|
|
19714
|
+
} catch (e) {
|
|
19715
|
+
return false;
|
|
19716
|
+
}
|
|
19717
|
+
}
|
|
19718
|
+
|
|
19719
|
+
function _construct(Parent, args, Class) {
|
|
19720
|
+
if (_isNativeReflectConstruct()) {
|
|
19721
|
+
_construct = Reflect.construct;
|
|
19722
|
+
} else {
|
|
19723
|
+
_construct = function _construct(Parent, args, Class) {
|
|
19724
|
+
var a = [null];
|
|
19725
|
+
a.push.apply(a, args);
|
|
19726
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
19727
|
+
var instance = new Constructor();
|
|
19728
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
19729
|
+
return instance;
|
|
19730
|
+
};
|
|
19731
|
+
}
|
|
19732
|
+
|
|
19733
|
+
return _construct.apply(null, arguments);
|
|
19734
|
+
}
|
|
19735
|
+
|
|
19736
|
+
function _wrapNativeSuper(Class) {
|
|
19737
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
19738
|
+
|
|
19739
|
+
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
19740
|
+
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
19741
|
+
|
|
19742
|
+
if (typeof Class !== "function") {
|
|
19743
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
19744
|
+
}
|
|
19745
|
+
|
|
19746
|
+
if (typeof _cache !== "undefined") {
|
|
19747
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
19748
|
+
|
|
19749
|
+
_cache.set(Class, Wrapper);
|
|
19750
|
+
}
|
|
19751
|
+
|
|
19752
|
+
function Wrapper() {
|
|
19753
|
+
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
19754
|
+
}
|
|
19755
|
+
|
|
19756
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
19757
|
+
constructor: {
|
|
19758
|
+
value: Wrapper,
|
|
19759
|
+
enumerable: false,
|
|
19760
|
+
writable: true,
|
|
19761
|
+
configurable: true
|
|
19762
|
+
}
|
|
19763
|
+
});
|
|
19764
|
+
return _setPrototypeOf(Wrapper, Class);
|
|
19765
|
+
};
|
|
19766
|
+
|
|
19767
|
+
return _wrapNativeSuper(Class);
|
|
19768
|
+
}
|
|
19769
|
+
|
|
19770
|
+
// based on https://github.com/styled-components/styled-components/blob/fcf6f3804c57a14dd7984dfab7bc06ee2edca044/src/utils/error.js
|
|
19771
|
+
|
|
19772
|
+
/**
|
|
19773
|
+
* Parse errors.md and turn it into a simple hash of code: message
|
|
19774
|
+
* @private
|
|
19775
|
+
*/
|
|
19776
|
+
var ERRORS = {
|
|
19777
|
+
"1": "Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",
|
|
19778
|
+
"2": "Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",
|
|
19779
|
+
"3": "Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",
|
|
19780
|
+
"4": "Couldn't generate valid rgb string from %s, it returned %s.\n\n",
|
|
19781
|
+
"5": "Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",
|
|
19782
|
+
"6": "Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",
|
|
19783
|
+
"7": "Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",
|
|
19784
|
+
"8": "Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",
|
|
19785
|
+
"9": "Please provide a number of steps to the modularScale helper.\n\n",
|
|
19786
|
+
"10": "Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",
|
|
19787
|
+
"11": "Invalid value passed as base to modularScale, expected number or em string but got \"%s\"\n\n",
|
|
19788
|
+
"12": "Expected a string ending in \"px\" or a number passed as the first argument to %s(), got \"%s\" instead.\n\n",
|
|
19789
|
+
"13": "Expected a string ending in \"px\" or a number passed as the second argument to %s(), got \"%s\" instead.\n\n",
|
|
19790
|
+
"14": "Passed invalid pixel value (\"%s\") to %s(), please pass a value like \"12px\" or 12.\n\n",
|
|
19791
|
+
"15": "Passed invalid base value (\"%s\") to %s(), please pass a value like \"12px\" or 12.\n\n",
|
|
19792
|
+
"16": "You must provide a template to this method.\n\n",
|
|
19793
|
+
"17": "You passed an unsupported selector state to this method.\n\n",
|
|
19794
|
+
"18": "minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",
|
|
19795
|
+
"19": "fromSize and toSize must be provided as stringified numbers with the same units.\n\n",
|
|
19796
|
+
"20": "expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",
|
|
19797
|
+
"21": "expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",
|
|
19798
|
+
"22": "expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",
|
|
19799
|
+
"23": "fontFace expects a name of a font-family.\n\n",
|
|
19800
|
+
"24": "fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",
|
|
19801
|
+
"25": "fontFace expects localFonts to be an array.\n\n",
|
|
19802
|
+
"26": "fontFace expects fileFormats to be an array.\n\n",
|
|
19803
|
+
"27": "radialGradient requries at least 2 color-stops to properly render.\n\n",
|
|
19804
|
+
"28": "Please supply a filename to retinaImage() as the first argument.\n\n",
|
|
19805
|
+
"29": "Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",
|
|
19806
|
+
"30": "Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",
|
|
19807
|
+
"31": "The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",
|
|
19808
|
+
"32": "To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",
|
|
19809
|
+
"33": "The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",
|
|
19810
|
+
"34": "borderRadius expects a radius value as a string or number as the second argument.\n\n",
|
|
19811
|
+
"35": "borderRadius expects one of \"top\", \"bottom\", \"left\" or \"right\" as the first argument.\n\n",
|
|
19812
|
+
"36": "Property must be a string value.\n\n",
|
|
19813
|
+
"37": "Syntax Error at %s.\n\n",
|
|
19814
|
+
"38": "Formula contains a function that needs parentheses at %s.\n\n",
|
|
19815
|
+
"39": "Formula is missing closing parenthesis at %s.\n\n",
|
|
19816
|
+
"40": "Formula has too many closing parentheses at %s.\n\n",
|
|
19817
|
+
"41": "All values in a formula must have the same unit or be unitless.\n\n",
|
|
19818
|
+
"42": "Please provide a number of steps to the modularScale helper.\n\n",
|
|
19819
|
+
"43": "Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",
|
|
19820
|
+
"44": "Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",
|
|
19821
|
+
"45": "Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",
|
|
19822
|
+
"46": "Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",
|
|
19823
|
+
"47": "minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",
|
|
19824
|
+
"48": "fromSize and toSize must be provided as stringified numbers with the same units.\n\n",
|
|
19825
|
+
"49": "Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",
|
|
19826
|
+
"50": "Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",
|
|
19827
|
+
"51": "Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",
|
|
19828
|
+
"52": "fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",
|
|
19829
|
+
"53": "fontFace expects localFonts to be an array.\n\n",
|
|
19830
|
+
"54": "fontFace expects fileFormats to be an array.\n\n",
|
|
19831
|
+
"55": "fontFace expects a name of a font-family.\n\n",
|
|
19832
|
+
"56": "linearGradient requries at least 2 color-stops to properly render.\n\n",
|
|
19833
|
+
"57": "radialGradient requries at least 2 color-stops to properly render.\n\n",
|
|
19834
|
+
"58": "Please supply a filename to retinaImage() as the first argument.\n\n",
|
|
19835
|
+
"59": "Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",
|
|
19836
|
+
"60": "Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",
|
|
19837
|
+
"61": "Property must be a string value.\n\n",
|
|
19838
|
+
"62": "borderRadius expects a radius value as a string or number as the second argument.\n\n",
|
|
19839
|
+
"63": "borderRadius expects one of \"top\", \"bottom\", \"left\" or \"right\" as the first argument.\n\n",
|
|
19840
|
+
"64": "The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",
|
|
19841
|
+
"65": "To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",
|
|
19842
|
+
"66": "The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",
|
|
19843
|
+
"67": "You must provide a template to this method.\n\n",
|
|
19844
|
+
"68": "You passed an unsupported selector state to this method.\n\n",
|
|
19845
|
+
"69": "Expected a string ending in \"px\" or a number passed as the first argument to %s(), got %s instead.\n\n",
|
|
19846
|
+
"70": "Expected a string ending in \"px\" or a number passed as the second argument to %s(), got %s instead.\n\n",
|
|
19847
|
+
"71": "Passed invalid pixel value %s to %s(), please pass a value like \"12px\" or 12.\n\n",
|
|
19848
|
+
"72": "Passed invalid base value %s to %s(), please pass a value like \"12px\" or 12.\n\n",
|
|
19849
|
+
"73": "Please provide a valid CSS variable.\n\n",
|
|
19850
|
+
"74": "CSS variable not found and no default was provided.\n\n",
|
|
19851
|
+
"75": "important requires a valid style object, got a %s instead.\n\n",
|
|
19852
|
+
"76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n"
|
|
19853
|
+
};
|
|
19854
|
+
/**
|
|
19855
|
+
* super basic version of sprintf
|
|
19856
|
+
* @private
|
|
19857
|
+
*/
|
|
19858
|
+
|
|
19859
|
+
function format() {
|
|
19860
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
19861
|
+
args[_key] = arguments[_key];
|
|
19862
|
+
}
|
|
19863
|
+
|
|
19864
|
+
var a = args[0];
|
|
19865
|
+
var b = [];
|
|
19866
|
+
var c;
|
|
19867
|
+
|
|
19868
|
+
for (c = 1; c < args.length; c += 1) {
|
|
19869
|
+
b.push(args[c]);
|
|
19870
|
+
}
|
|
19871
|
+
|
|
19872
|
+
b.forEach(function (d) {
|
|
19873
|
+
a = a.replace(/%[a-z]/, d);
|
|
19874
|
+
});
|
|
19875
|
+
return a;
|
|
19876
|
+
}
|
|
19877
|
+
/**
|
|
19878
|
+
* Create an error file out of errors.md for development and a simple web link to the full errors
|
|
19879
|
+
* in production mode.
|
|
19880
|
+
* @private
|
|
19881
|
+
*/
|
|
19882
|
+
|
|
19883
|
+
|
|
19884
|
+
var PolishedError = /*#__PURE__*/function (_Error) {
|
|
19885
|
+
_inheritsLoose(PolishedError, _Error);
|
|
19886
|
+
|
|
19887
|
+
function PolishedError(code) {
|
|
19888
|
+
var _this;
|
|
19889
|
+
|
|
19890
|
+
if (process.env.NODE_ENV === 'production') {
|
|
19891
|
+
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
|
|
19892
|
+
} else {
|
|
19893
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
19894
|
+
args[_key2 - 1] = arguments[_key2];
|
|
19895
|
+
}
|
|
19896
|
+
|
|
19897
|
+
_this = _Error.call(this, format.apply(void 0, [ERRORS[code]].concat(args))) || this;
|
|
19898
|
+
}
|
|
19899
|
+
|
|
19900
|
+
return _assertThisInitialized(_this);
|
|
19901
|
+
}
|
|
19902
|
+
|
|
19903
|
+
return PolishedError;
|
|
19904
|
+
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
19905
|
+
|
|
19906
|
+
function colorToInt(color) {
|
|
19907
|
+
return Math.round(color * 255);
|
|
19908
|
+
}
|
|
19909
|
+
|
|
19910
|
+
function convertToInt(red, green, blue) {
|
|
19911
|
+
return colorToInt(red) + "," + colorToInt(green) + "," + colorToInt(blue);
|
|
19912
|
+
}
|
|
19913
|
+
|
|
19914
|
+
function hslToRgb(hue, saturation, lightness, convert) {
|
|
19915
|
+
if (convert === void 0) {
|
|
19916
|
+
convert = convertToInt;
|
|
19917
|
+
}
|
|
19918
|
+
|
|
19919
|
+
if (saturation === 0) {
|
|
19920
|
+
// achromatic
|
|
19921
|
+
return convert(lightness, lightness, lightness);
|
|
19922
|
+
} // formulae from https://en.wikipedia.org/wiki/HSL_and_HSV
|
|
19923
|
+
|
|
19924
|
+
|
|
19925
|
+
var huePrime = (hue % 360 + 360) % 360 / 60;
|
|
19926
|
+
var chroma = (1 - Math.abs(2 * lightness - 1)) * saturation;
|
|
19927
|
+
var secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));
|
|
19928
|
+
var red = 0;
|
|
19929
|
+
var green = 0;
|
|
19930
|
+
var blue = 0;
|
|
19931
|
+
|
|
19932
|
+
if (huePrime >= 0 && huePrime < 1) {
|
|
19933
|
+
red = chroma;
|
|
19934
|
+
green = secondComponent;
|
|
19935
|
+
} else if (huePrime >= 1 && huePrime < 2) {
|
|
19936
|
+
red = secondComponent;
|
|
19937
|
+
green = chroma;
|
|
19938
|
+
} else if (huePrime >= 2 && huePrime < 3) {
|
|
19939
|
+
green = chroma;
|
|
19940
|
+
blue = secondComponent;
|
|
19941
|
+
} else if (huePrime >= 3 && huePrime < 4) {
|
|
19942
|
+
green = secondComponent;
|
|
19943
|
+
blue = chroma;
|
|
19944
|
+
} else if (huePrime >= 4 && huePrime < 5) {
|
|
19945
|
+
red = secondComponent;
|
|
19946
|
+
blue = chroma;
|
|
19947
|
+
} else if (huePrime >= 5 && huePrime < 6) {
|
|
19948
|
+
red = chroma;
|
|
19949
|
+
blue = secondComponent;
|
|
19950
|
+
}
|
|
19951
|
+
|
|
19952
|
+
var lightnessModification = lightness - chroma / 2;
|
|
19953
|
+
var finalRed = red + lightnessModification;
|
|
19954
|
+
var finalGreen = green + lightnessModification;
|
|
19955
|
+
var finalBlue = blue + lightnessModification;
|
|
19956
|
+
return convert(finalRed, finalGreen, finalBlue);
|
|
19957
|
+
}
|
|
19958
|
+
|
|
19959
|
+
var namedColorMap = {
|
|
19960
|
+
aliceblue: 'f0f8ff',
|
|
19961
|
+
antiquewhite: 'faebd7',
|
|
19962
|
+
aqua: '00ffff',
|
|
19963
|
+
aquamarine: '7fffd4',
|
|
19964
|
+
azure: 'f0ffff',
|
|
19965
|
+
beige: 'f5f5dc',
|
|
19966
|
+
bisque: 'ffe4c4',
|
|
19967
|
+
black: '000',
|
|
19968
|
+
blanchedalmond: 'ffebcd',
|
|
19969
|
+
blue: '0000ff',
|
|
19970
|
+
blueviolet: '8a2be2',
|
|
19971
|
+
brown: 'a52a2a',
|
|
19972
|
+
burlywood: 'deb887',
|
|
19973
|
+
cadetblue: '5f9ea0',
|
|
19974
|
+
chartreuse: '7fff00',
|
|
19975
|
+
chocolate: 'd2691e',
|
|
19976
|
+
coral: 'ff7f50',
|
|
19977
|
+
cornflowerblue: '6495ed',
|
|
19978
|
+
cornsilk: 'fff8dc',
|
|
19979
|
+
crimson: 'dc143c',
|
|
19980
|
+
cyan: '00ffff',
|
|
19981
|
+
darkblue: '00008b',
|
|
19982
|
+
darkcyan: '008b8b',
|
|
19983
|
+
darkgoldenrod: 'b8860b',
|
|
19984
|
+
darkgray: 'a9a9a9',
|
|
19985
|
+
darkgreen: '006400',
|
|
19986
|
+
darkgrey: 'a9a9a9',
|
|
19987
|
+
darkkhaki: 'bdb76b',
|
|
19988
|
+
darkmagenta: '8b008b',
|
|
19989
|
+
darkolivegreen: '556b2f',
|
|
19990
|
+
darkorange: 'ff8c00',
|
|
19991
|
+
darkorchid: '9932cc',
|
|
19992
|
+
darkred: '8b0000',
|
|
19993
|
+
darksalmon: 'e9967a',
|
|
19994
|
+
darkseagreen: '8fbc8f',
|
|
19995
|
+
darkslateblue: '483d8b',
|
|
19996
|
+
darkslategray: '2f4f4f',
|
|
19997
|
+
darkslategrey: '2f4f4f',
|
|
19998
|
+
darkturquoise: '00ced1',
|
|
19999
|
+
darkviolet: '9400d3',
|
|
20000
|
+
deeppink: 'ff1493',
|
|
20001
|
+
deepskyblue: '00bfff',
|
|
20002
|
+
dimgray: '696969',
|
|
20003
|
+
dimgrey: '696969',
|
|
20004
|
+
dodgerblue: '1e90ff',
|
|
20005
|
+
firebrick: 'b22222',
|
|
20006
|
+
floralwhite: 'fffaf0',
|
|
20007
|
+
forestgreen: '228b22',
|
|
20008
|
+
fuchsia: 'ff00ff',
|
|
20009
|
+
gainsboro: 'dcdcdc',
|
|
20010
|
+
ghostwhite: 'f8f8ff',
|
|
20011
|
+
gold: 'ffd700',
|
|
20012
|
+
goldenrod: 'daa520',
|
|
20013
|
+
gray: '808080',
|
|
20014
|
+
green: '008000',
|
|
20015
|
+
greenyellow: 'adff2f',
|
|
20016
|
+
grey: '808080',
|
|
20017
|
+
honeydew: 'f0fff0',
|
|
20018
|
+
hotpink: 'ff69b4',
|
|
20019
|
+
indianred: 'cd5c5c',
|
|
20020
|
+
indigo: '4b0082',
|
|
20021
|
+
ivory: 'fffff0',
|
|
20022
|
+
khaki: 'f0e68c',
|
|
20023
|
+
lavender: 'e6e6fa',
|
|
20024
|
+
lavenderblush: 'fff0f5',
|
|
20025
|
+
lawngreen: '7cfc00',
|
|
20026
|
+
lemonchiffon: 'fffacd',
|
|
20027
|
+
lightblue: 'add8e6',
|
|
20028
|
+
lightcoral: 'f08080',
|
|
20029
|
+
lightcyan: 'e0ffff',
|
|
20030
|
+
lightgoldenrodyellow: 'fafad2',
|
|
20031
|
+
lightgray: 'd3d3d3',
|
|
20032
|
+
lightgreen: '90ee90',
|
|
20033
|
+
lightgrey: 'd3d3d3',
|
|
20034
|
+
lightpink: 'ffb6c1',
|
|
20035
|
+
lightsalmon: 'ffa07a',
|
|
20036
|
+
lightseagreen: '20b2aa',
|
|
20037
|
+
lightskyblue: '87cefa',
|
|
20038
|
+
lightslategray: '789',
|
|
20039
|
+
lightslategrey: '789',
|
|
20040
|
+
lightsteelblue: 'b0c4de',
|
|
20041
|
+
lightyellow: 'ffffe0',
|
|
20042
|
+
lime: '0f0',
|
|
20043
|
+
limegreen: '32cd32',
|
|
20044
|
+
linen: 'faf0e6',
|
|
20045
|
+
magenta: 'f0f',
|
|
20046
|
+
maroon: '800000',
|
|
20047
|
+
mediumaquamarine: '66cdaa',
|
|
20048
|
+
mediumblue: '0000cd',
|
|
20049
|
+
mediumorchid: 'ba55d3',
|
|
20050
|
+
mediumpurple: '9370db',
|
|
20051
|
+
mediumseagreen: '3cb371',
|
|
20052
|
+
mediumslateblue: '7b68ee',
|
|
20053
|
+
mediumspringgreen: '00fa9a',
|
|
20054
|
+
mediumturquoise: '48d1cc',
|
|
20055
|
+
mediumvioletred: 'c71585',
|
|
20056
|
+
midnightblue: '191970',
|
|
20057
|
+
mintcream: 'f5fffa',
|
|
20058
|
+
mistyrose: 'ffe4e1',
|
|
20059
|
+
moccasin: 'ffe4b5',
|
|
20060
|
+
navajowhite: 'ffdead',
|
|
20061
|
+
navy: '000080',
|
|
20062
|
+
oldlace: 'fdf5e6',
|
|
20063
|
+
olive: '808000',
|
|
20064
|
+
olivedrab: '6b8e23',
|
|
20065
|
+
orange: 'ffa500',
|
|
20066
|
+
orangered: 'ff4500',
|
|
20067
|
+
orchid: 'da70d6',
|
|
20068
|
+
palegoldenrod: 'eee8aa',
|
|
20069
|
+
palegreen: '98fb98',
|
|
20070
|
+
paleturquoise: 'afeeee',
|
|
20071
|
+
palevioletred: 'db7093',
|
|
20072
|
+
papayawhip: 'ffefd5',
|
|
20073
|
+
peachpuff: 'ffdab9',
|
|
20074
|
+
peru: 'cd853f',
|
|
20075
|
+
pink: 'ffc0cb',
|
|
20076
|
+
plum: 'dda0dd',
|
|
20077
|
+
powderblue: 'b0e0e6',
|
|
20078
|
+
purple: '800080',
|
|
20079
|
+
rebeccapurple: '639',
|
|
20080
|
+
red: 'f00',
|
|
20081
|
+
rosybrown: 'bc8f8f',
|
|
20082
|
+
royalblue: '4169e1',
|
|
20083
|
+
saddlebrown: '8b4513',
|
|
20084
|
+
salmon: 'fa8072',
|
|
20085
|
+
sandybrown: 'f4a460',
|
|
20086
|
+
seagreen: '2e8b57',
|
|
20087
|
+
seashell: 'fff5ee',
|
|
20088
|
+
sienna: 'a0522d',
|
|
20089
|
+
silver: 'c0c0c0',
|
|
20090
|
+
skyblue: '87ceeb',
|
|
20091
|
+
slateblue: '6a5acd',
|
|
20092
|
+
slategray: '708090',
|
|
20093
|
+
slategrey: '708090',
|
|
20094
|
+
snow: 'fffafa',
|
|
20095
|
+
springgreen: '00ff7f',
|
|
20096
|
+
steelblue: '4682b4',
|
|
20097
|
+
tan: 'd2b48c',
|
|
20098
|
+
teal: '008080',
|
|
20099
|
+
thistle: 'd8bfd8',
|
|
20100
|
+
tomato: 'ff6347',
|
|
20101
|
+
turquoise: '40e0d0',
|
|
20102
|
+
violet: 'ee82ee',
|
|
20103
|
+
wheat: 'f5deb3',
|
|
20104
|
+
white: 'fff',
|
|
20105
|
+
whitesmoke: 'f5f5f5',
|
|
20106
|
+
yellow: 'ff0',
|
|
20107
|
+
yellowgreen: '9acd32'
|
|
20108
|
+
};
|
|
20109
|
+
/**
|
|
20110
|
+
* Checks if a string is a CSS named color and returns its equivalent hex value, otherwise returns the original color.
|
|
20111
|
+
* @private
|
|
20112
|
+
*/
|
|
20113
|
+
|
|
20114
|
+
function nameToHex(color) {
|
|
20115
|
+
if (typeof color !== 'string') return color;
|
|
20116
|
+
var normalizedColorName = color.toLowerCase();
|
|
20117
|
+
return namedColorMap[normalizedColorName] ? "#" + namedColorMap[normalizedColorName] : color;
|
|
20118
|
+
}
|
|
20119
|
+
|
|
20120
|
+
var hexRegex = /^#[a-fA-F0-9]{6}$/;
|
|
20121
|
+
var hexRgbaRegex = /^#[a-fA-F0-9]{8}$/;
|
|
20122
|
+
var reducedHexRegex = /^#[a-fA-F0-9]{3}$/;
|
|
20123
|
+
var reducedRgbaHexRegex = /^#[a-fA-F0-9]{4}$/;
|
|
20124
|
+
var rgbRegex = /^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i;
|
|
20125
|
+
var rgbaRegex = /^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;
|
|
20126
|
+
var hslRegex = /^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i;
|
|
20127
|
+
var hslaRegex = /^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;
|
|
20128
|
+
/**
|
|
20129
|
+
* Returns an RgbColor or RgbaColor object. This utility function is only useful
|
|
20130
|
+
* if want to extract a color component. With the color util `toColorString` you
|
|
20131
|
+
* can convert a RgbColor or RgbaColor object back to a string.
|
|
20132
|
+
*
|
|
20133
|
+
* @example
|
|
20134
|
+
* // Assigns `{ red: 255, green: 0, blue: 0 }` to color1
|
|
20135
|
+
* const color1 = parseToRgb('rgb(255, 0, 0)');
|
|
20136
|
+
* // Assigns `{ red: 92, green: 102, blue: 112, alpha: 0.75 }` to color2
|
|
20137
|
+
* const color2 = parseToRgb('hsla(210, 10%, 40%, 0.75)');
|
|
20138
|
+
*/
|
|
20139
|
+
|
|
20140
|
+
function parseToRgb(color) {
|
|
20141
|
+
if (typeof color !== 'string') {
|
|
20142
|
+
throw new PolishedError(3);
|
|
20143
|
+
}
|
|
20144
|
+
|
|
20145
|
+
var normalizedColor = nameToHex(color);
|
|
20146
|
+
|
|
20147
|
+
if (normalizedColor.match(hexRegex)) {
|
|
20148
|
+
return {
|
|
20149
|
+
red: parseInt("" + normalizedColor[1] + normalizedColor[2], 16),
|
|
20150
|
+
green: parseInt("" + normalizedColor[3] + normalizedColor[4], 16),
|
|
20151
|
+
blue: parseInt("" + normalizedColor[5] + normalizedColor[6], 16)
|
|
20152
|
+
};
|
|
20153
|
+
}
|
|
20154
|
+
|
|
20155
|
+
if (normalizedColor.match(hexRgbaRegex)) {
|
|
20156
|
+
var alpha = parseFloat((parseInt("" + normalizedColor[7] + normalizedColor[8], 16) / 255).toFixed(2));
|
|
20157
|
+
return {
|
|
20158
|
+
red: parseInt("" + normalizedColor[1] + normalizedColor[2], 16),
|
|
20159
|
+
green: parseInt("" + normalizedColor[3] + normalizedColor[4], 16),
|
|
20160
|
+
blue: parseInt("" + normalizedColor[5] + normalizedColor[6], 16),
|
|
20161
|
+
alpha: alpha
|
|
20162
|
+
};
|
|
20163
|
+
}
|
|
20164
|
+
|
|
20165
|
+
if (normalizedColor.match(reducedHexRegex)) {
|
|
20166
|
+
return {
|
|
20167
|
+
red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
|
|
20168
|
+
green: parseInt("" + normalizedColor[2] + normalizedColor[2], 16),
|
|
20169
|
+
blue: parseInt("" + normalizedColor[3] + normalizedColor[3], 16)
|
|
20170
|
+
};
|
|
20171
|
+
}
|
|
20172
|
+
|
|
20173
|
+
if (normalizedColor.match(reducedRgbaHexRegex)) {
|
|
20174
|
+
var _alpha = parseFloat((parseInt("" + normalizedColor[4] + normalizedColor[4], 16) / 255).toFixed(2));
|
|
20175
|
+
|
|
20176
|
+
return {
|
|
20177
|
+
red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
|
|
20178
|
+
green: parseInt("" + normalizedColor[2] + normalizedColor[2], 16),
|
|
20179
|
+
blue: parseInt("" + normalizedColor[3] + normalizedColor[3], 16),
|
|
20180
|
+
alpha: _alpha
|
|
20181
|
+
};
|
|
20182
|
+
}
|
|
20183
|
+
|
|
20184
|
+
var rgbMatched = rgbRegex.exec(normalizedColor);
|
|
20185
|
+
|
|
20186
|
+
if (rgbMatched) {
|
|
20187
|
+
return {
|
|
20188
|
+
red: parseInt("" + rgbMatched[1], 10),
|
|
20189
|
+
green: parseInt("" + rgbMatched[2], 10),
|
|
20190
|
+
blue: parseInt("" + rgbMatched[3], 10)
|
|
20191
|
+
};
|
|
20192
|
+
}
|
|
20193
|
+
|
|
20194
|
+
var rgbaMatched = rgbaRegex.exec(normalizedColor);
|
|
20195
|
+
|
|
20196
|
+
if (rgbaMatched) {
|
|
20197
|
+
return {
|
|
20198
|
+
red: parseInt("" + rgbaMatched[1], 10),
|
|
20199
|
+
green: parseInt("" + rgbaMatched[2], 10),
|
|
20200
|
+
blue: parseInt("" + rgbaMatched[3], 10),
|
|
20201
|
+
alpha: parseFloat("" + rgbaMatched[4])
|
|
20202
|
+
};
|
|
20203
|
+
}
|
|
20204
|
+
|
|
20205
|
+
var hslMatched = hslRegex.exec(normalizedColor);
|
|
20206
|
+
|
|
20207
|
+
if (hslMatched) {
|
|
20208
|
+
var hue = parseInt("" + hslMatched[1], 10);
|
|
20209
|
+
var saturation = parseInt("" + hslMatched[2], 10) / 100;
|
|
20210
|
+
var lightness = parseInt("" + hslMatched[3], 10) / 100;
|
|
20211
|
+
var rgbColorString = "rgb(" + hslToRgb(hue, saturation, lightness) + ")";
|
|
20212
|
+
var hslRgbMatched = rgbRegex.exec(rgbColorString);
|
|
20213
|
+
|
|
20214
|
+
if (!hslRgbMatched) {
|
|
20215
|
+
throw new PolishedError(4, normalizedColor, rgbColorString);
|
|
20216
|
+
}
|
|
20217
|
+
|
|
20218
|
+
return {
|
|
20219
|
+
red: parseInt("" + hslRgbMatched[1], 10),
|
|
20220
|
+
green: parseInt("" + hslRgbMatched[2], 10),
|
|
20221
|
+
blue: parseInt("" + hslRgbMatched[3], 10)
|
|
20222
|
+
};
|
|
20223
|
+
}
|
|
20224
|
+
|
|
20225
|
+
var hslaMatched = hslaRegex.exec(normalizedColor);
|
|
20226
|
+
|
|
20227
|
+
if (hslaMatched) {
|
|
20228
|
+
var _hue = parseInt("" + hslaMatched[1], 10);
|
|
20229
|
+
|
|
20230
|
+
var _saturation = parseInt("" + hslaMatched[2], 10) / 100;
|
|
20231
|
+
|
|
20232
|
+
var _lightness = parseInt("" + hslaMatched[3], 10) / 100;
|
|
20233
|
+
|
|
20234
|
+
var _rgbColorString = "rgb(" + hslToRgb(_hue, _saturation, _lightness) + ")";
|
|
20235
|
+
|
|
20236
|
+
var _hslRgbMatched = rgbRegex.exec(_rgbColorString);
|
|
20237
|
+
|
|
20238
|
+
if (!_hslRgbMatched) {
|
|
20239
|
+
throw new PolishedError(4, normalizedColor, _rgbColorString);
|
|
20240
|
+
}
|
|
20241
|
+
|
|
20242
|
+
return {
|
|
20243
|
+
red: parseInt("" + _hslRgbMatched[1], 10),
|
|
20244
|
+
green: parseInt("" + _hslRgbMatched[2], 10),
|
|
20245
|
+
blue: parseInt("" + _hslRgbMatched[3], 10),
|
|
20246
|
+
alpha: parseFloat("" + hslaMatched[4])
|
|
20247
|
+
};
|
|
20248
|
+
}
|
|
20249
|
+
|
|
20250
|
+
throw new PolishedError(5);
|
|
20251
|
+
}
|
|
20252
|
+
|
|
20253
|
+
/**
|
|
20254
|
+
* Reduces hex values if possible e.g. #ff8866 to #f86
|
|
20255
|
+
* @private
|
|
20256
|
+
*/
|
|
20257
|
+
var reduceHexValue = function reduceHexValue(value) {
|
|
20258
|
+
if (value.length === 7 && value[1] === value[2] && value[3] === value[4] && value[5] === value[6]) {
|
|
20259
|
+
return "#" + value[1] + value[3] + value[5];
|
|
20260
|
+
}
|
|
20261
|
+
|
|
20262
|
+
return value;
|
|
20263
|
+
};
|
|
20264
|
+
|
|
20265
|
+
function numberToHex(value) {
|
|
20266
|
+
var hex = value.toString(16);
|
|
20267
|
+
return hex.length === 1 ? "0" + hex : hex;
|
|
20268
|
+
}
|
|
20269
|
+
|
|
20270
|
+
/**
|
|
20271
|
+
* Returns a string value for the color. The returned result is the smallest possible hex notation.
|
|
20272
|
+
*
|
|
20273
|
+
* @example
|
|
20274
|
+
* // Styles as object usage
|
|
20275
|
+
* const styles = {
|
|
20276
|
+
* background: rgb(255, 205, 100),
|
|
20277
|
+
* background: rgb({ red: 255, green: 205, blue: 100 }),
|
|
20278
|
+
* }
|
|
20279
|
+
*
|
|
20280
|
+
* // styled-components usage
|
|
20281
|
+
* const div = styled.div`
|
|
20282
|
+
* background: ${rgb(255, 205, 100)};
|
|
20283
|
+
* background: ${rgb({ red: 255, green: 205, blue: 100 })};
|
|
20284
|
+
* `
|
|
20285
|
+
*
|
|
20286
|
+
* // CSS in JS Output
|
|
20287
|
+
*
|
|
20288
|
+
* element {
|
|
20289
|
+
* background: "#ffcd64";
|
|
20290
|
+
* background: "#ffcd64";
|
|
20291
|
+
* }
|
|
20292
|
+
*/
|
|
20293
|
+
function rgb(value, green, blue) {
|
|
20294
|
+
if (typeof value === 'number' && typeof green === 'number' && typeof blue === 'number') {
|
|
20295
|
+
return reduceHexValue("#" + numberToHex(value) + numberToHex(green) + numberToHex(blue));
|
|
20296
|
+
} else if (typeof value === 'object' && green === undefined && blue === undefined) {
|
|
20297
|
+
return reduceHexValue("#" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));
|
|
20298
|
+
}
|
|
20299
|
+
|
|
20300
|
+
throw new PolishedError(6);
|
|
20301
|
+
}
|
|
20302
|
+
|
|
20303
|
+
/**
|
|
20304
|
+
* Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.
|
|
20305
|
+
*
|
|
20306
|
+
* Can also be used to fade a color by passing a hex value or named CSS color along with an alpha value.
|
|
20307
|
+
*
|
|
20308
|
+
* @example
|
|
20309
|
+
* // Styles as object usage
|
|
20310
|
+
* const styles = {
|
|
20311
|
+
* background: rgba(255, 205, 100, 0.7),
|
|
20312
|
+
* background: rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 }),
|
|
20313
|
+
* background: rgba(255, 205, 100, 1),
|
|
20314
|
+
* background: rgba('#ffffff', 0.4),
|
|
20315
|
+
* background: rgba('black', 0.7),
|
|
20316
|
+
* }
|
|
20317
|
+
*
|
|
20318
|
+
* // styled-components usage
|
|
20319
|
+
* const div = styled.div`
|
|
20320
|
+
* background: ${rgba(255, 205, 100, 0.7)};
|
|
20321
|
+
* background: ${rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 })};
|
|
20322
|
+
* background: ${rgba(255, 205, 100, 1)};
|
|
20323
|
+
* background: ${rgba('#ffffff', 0.4)};
|
|
20324
|
+
* background: ${rgba('black', 0.7)};
|
|
20325
|
+
* `
|
|
20326
|
+
*
|
|
20327
|
+
* // CSS in JS Output
|
|
20328
|
+
*
|
|
20329
|
+
* element {
|
|
20330
|
+
* background: "rgba(255,205,100,0.7)";
|
|
20331
|
+
* background: "rgba(255,205,100,0.7)";
|
|
20332
|
+
* background: "#ffcd64";
|
|
20333
|
+
* background: "rgba(255,255,255,0.4)";
|
|
20334
|
+
* background: "rgba(0,0,0,0.7)";
|
|
20335
|
+
* }
|
|
20336
|
+
*/
|
|
20337
|
+
function rgba$1(firstValue, secondValue, thirdValue, fourthValue) {
|
|
20338
|
+
if (typeof firstValue === 'string' && typeof secondValue === 'number') {
|
|
20339
|
+
var rgbValue = parseToRgb(firstValue);
|
|
20340
|
+
return "rgba(" + rgbValue.red + "," + rgbValue.green + "," + rgbValue.blue + "," + secondValue + ")";
|
|
20341
|
+
} else if (typeof firstValue === 'number' && typeof secondValue === 'number' && typeof thirdValue === 'number' && typeof fourthValue === 'number') {
|
|
20342
|
+
return fourthValue >= 1 ? rgb(firstValue, secondValue, thirdValue) : "rgba(" + firstValue + "," + secondValue + "," + thirdValue + "," + fourthValue + ")";
|
|
20343
|
+
} else if (typeof firstValue === 'object' && secondValue === undefined && thirdValue === undefined && fourthValue === undefined) {
|
|
20344
|
+
return firstValue.alpha >= 1 ? rgb(firstValue.red, firstValue.green, firstValue.blue) : "rgba(" + firstValue.red + "," + firstValue.green + "," + firstValue.blue + "," + firstValue.alpha + ")";
|
|
20345
|
+
}
|
|
20346
|
+
|
|
20347
|
+
throw new PolishedError(7);
|
|
20348
|
+
}
|
|
20349
|
+
|
|
20350
|
+
// Type definitions taken from https://github.com/gcanti/flow-static-land/blob/master/src/Fun.js
|
|
20351
|
+
// eslint-disable-next-line no-unused-vars
|
|
20352
|
+
// eslint-disable-next-line no-unused-vars
|
|
20353
|
+
// eslint-disable-next-line no-redeclare
|
|
20354
|
+
function curried(f, length, acc) {
|
|
20355
|
+
return function fn() {
|
|
20356
|
+
// eslint-disable-next-line prefer-rest-params
|
|
20357
|
+
var combined = acc.concat(Array.prototype.slice.call(arguments));
|
|
20358
|
+
return combined.length >= length ? f.apply(this, combined) : curried(f, length, combined);
|
|
20359
|
+
};
|
|
20360
|
+
} // eslint-disable-next-line no-redeclare
|
|
20361
|
+
|
|
20362
|
+
|
|
20363
|
+
function curry(f) {
|
|
20364
|
+
// eslint-disable-line no-redeclare
|
|
20365
|
+
return curried(f, f.length, []);
|
|
20366
|
+
}
|
|
20367
|
+
|
|
20368
|
+
/**
|
|
20369
|
+
* Mixes the two provided colors together by calculating the average of each of the RGB components weighted to the first color by the provided weight.
|
|
20370
|
+
*
|
|
20371
|
+
* @example
|
|
20372
|
+
* // Styles as object usage
|
|
20373
|
+
* const styles = {
|
|
20374
|
+
* background: mix(0.5, '#f00', '#00f')
|
|
20375
|
+
* background: mix(0.25, '#f00', '#00f')
|
|
20376
|
+
* background: mix('0.5', 'rgba(255, 0, 0, 0.5)', '#00f')
|
|
20377
|
+
* }
|
|
20378
|
+
*
|
|
20379
|
+
* // styled-components usage
|
|
20380
|
+
* const div = styled.div`
|
|
20381
|
+
* background: ${mix(0.5, '#f00', '#00f')};
|
|
20382
|
+
* background: ${mix(0.25, '#f00', '#00f')};
|
|
20383
|
+
* background: ${mix('0.5', 'rgba(255, 0, 0, 0.5)', '#00f')};
|
|
20384
|
+
* `
|
|
20385
|
+
*
|
|
20386
|
+
* // CSS in JS Output
|
|
20387
|
+
*
|
|
20388
|
+
* element {
|
|
20389
|
+
* background: "#7f007f";
|
|
20390
|
+
* background: "#3f00bf";
|
|
20391
|
+
* background: "rgba(63, 0, 191, 0.75)";
|
|
20392
|
+
* }
|
|
20393
|
+
*/
|
|
20394
|
+
|
|
20395
|
+
function mix$1(weight, color, otherColor) {
|
|
20396
|
+
if (color === 'transparent') return otherColor;
|
|
20397
|
+
if (otherColor === 'transparent') return color;
|
|
20398
|
+
if (weight === 0) return otherColor;
|
|
20399
|
+
var parsedColor1 = parseToRgb(color);
|
|
20400
|
+
|
|
20401
|
+
var color1 = _extends$1({}, parsedColor1, {
|
|
20402
|
+
alpha: typeof parsedColor1.alpha === 'number' ? parsedColor1.alpha : 1
|
|
20403
|
+
});
|
|
20404
|
+
|
|
20405
|
+
var parsedColor2 = parseToRgb(otherColor);
|
|
20406
|
+
|
|
20407
|
+
var color2 = _extends$1({}, parsedColor2, {
|
|
20408
|
+
alpha: typeof parsedColor2.alpha === 'number' ? parsedColor2.alpha : 1
|
|
20409
|
+
}); // The formula is copied from the original Sass implementation:
|
|
20410
|
+
// http://sass-lang.com/documentation/Sass/Script/Functions.html#mix-instance_method
|
|
20411
|
+
|
|
20412
|
+
|
|
20413
|
+
var alphaDelta = color1.alpha - color2.alpha;
|
|
20414
|
+
var x = parseFloat(weight) * 2 - 1;
|
|
20415
|
+
var y = x * alphaDelta === -1 ? x : x + alphaDelta;
|
|
20416
|
+
var z = 1 + x * alphaDelta;
|
|
20417
|
+
var weight1 = (y / z + 1) / 2.0;
|
|
20418
|
+
var weight2 = 1 - weight1;
|
|
20419
|
+
var mixedColor = {
|
|
20420
|
+
red: Math.floor(color1.red * weight1 + color2.red * weight2),
|
|
20421
|
+
green: Math.floor(color1.green * weight1 + color2.green * weight2),
|
|
20422
|
+
blue: Math.floor(color1.blue * weight1 + color2.blue * weight2),
|
|
20423
|
+
alpha: color1.alpha * (parseFloat(weight) / 1.0) + color2.alpha * (1 - parseFloat(weight) / 1.0)
|
|
20424
|
+
};
|
|
20425
|
+
return rgba$1(mixedColor);
|
|
20426
|
+
} // prettier-ignore
|
|
20427
|
+
|
|
20428
|
+
|
|
20429
|
+
var curriedMix = /*#__PURE__*/curry
|
|
20430
|
+
/* ::<number | string, string, string, string> */
|
|
20431
|
+
(mix$1);
|
|
20432
|
+
|
|
20433
|
+
/**
|
|
20434
|
+
* Tints a color by mixing it with white. `tint` can produce
|
|
20435
|
+
* hue shifts, where as `lighten` manipulates the luminance channel and therefore
|
|
20436
|
+
* doesn't produce hue shifts.
|
|
20437
|
+
*
|
|
20438
|
+
* @example
|
|
20439
|
+
* // Styles as object usage
|
|
20440
|
+
* const styles = {
|
|
20441
|
+
* background: tint(0.25, '#00f')
|
|
20442
|
+
* }
|
|
20443
|
+
*
|
|
20444
|
+
* // styled-components usage
|
|
20445
|
+
* const div = styled.div`
|
|
20446
|
+
* background: ${tint(0.25, '#00f')};
|
|
20447
|
+
* `
|
|
20448
|
+
*
|
|
20449
|
+
* // CSS in JS Output
|
|
20450
|
+
*
|
|
20451
|
+
* element {
|
|
20452
|
+
* background: "#bfbfff";
|
|
20453
|
+
* }
|
|
20454
|
+
*/
|
|
20455
|
+
|
|
20456
|
+
function tint(percentage, color) {
|
|
20457
|
+
if (color === 'transparent') return color;
|
|
20458
|
+
return curriedMix(parseFloat(percentage), 'rgb(255, 255, 255)', color);
|
|
20459
|
+
} // prettier-ignore
|
|
20460
|
+
|
|
20461
|
+
|
|
20462
|
+
var curriedTint = /*#__PURE__*/curry
|
|
20463
|
+
/* ::<number | string, string, string> */
|
|
20464
|
+
(tint);
|
|
20465
|
+
|
|
19521
20466
|
var color$8 = {
|
|
19522
20467
|
"default": "".concat(CHARADE_GREY),
|
|
19523
20468
|
large: "".concat(BRIGHT_GREY)
|
|
@@ -19526,7 +20471,7 @@ var height$1 = {
|
|
|
19526
20471
|
"default": "3rem",
|
|
19527
20472
|
large: "192px"
|
|
19528
20473
|
};
|
|
19529
|
-
var fallbackValues$
|
|
20474
|
+
var fallbackValues$l = {
|
|
19530
20475
|
color: color$8,
|
|
19531
20476
|
height: height$1
|
|
19532
20477
|
};
|
|
@@ -19576,8 +20521,8 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
19576
20521
|
border: "none",
|
|
19577
20522
|
minHeight: themeValues.height,
|
|
19578
20523
|
hiddenStyles: !visible,
|
|
19579
|
-
extraStyles: "\n background: linear-gradient(\n to right,\n ".concat(STORM_GREY, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(STORM_GREY, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(STORM_GREY, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(STORM_GREY, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;"),
|
|
19580
|
-
hoverStyles: "background-color: ".concat(GRECIAN_GREY, ";")
|
|
20524
|
+
extraStyles: "\n background: linear-gradient(\n to right,\n ".concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;"),
|
|
20525
|
+
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : curriedTint(0.9, themeValues.color), ";")
|
|
19581
20526
|
}, /*#__PURE__*/React__default.createElement(Center, {
|
|
19582
20527
|
maxWidth: "300px"
|
|
19583
20528
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -19591,7 +20536,7 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
19591
20536
|
childGap: "0"
|
|
19592
20537
|
}, variant === "large" && /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement(Box, {
|
|
19593
20538
|
padding: "0",
|
|
19594
|
-
extraStyles: ".fill { \n fill: ".concat(CHARADE_GREY, "; \n } .stroke { \n stroke: ").concat(CHARADE_GREY, "; \n }")
|
|
20539
|
+
extraStyles: ".fill { \n fill: ".concat(variant === "large" ? CHARADE_GREY : themeValues.color, "; \n } .stroke { \n stroke: ").concat(variant === "large" ? CHARADE_GREY : themeValues.color, "; \n }")
|
|
19595
20540
|
}, variant === "large" ? /*#__PURE__*/React__default.createElement(Center, {
|
|
19596
20541
|
intrinsic: true
|
|
19597
20542
|
}, largeIcon === "accounts" ? /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null) : /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -19615,13 +20560,13 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
19615
20560
|
}, text)))))))))));
|
|
19616
20561
|
};
|
|
19617
20562
|
|
|
19618
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
20563
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$l, "default");
|
|
19619
20564
|
|
|
19620
|
-
var backgroundColor$
|
|
20565
|
+
var backgroundColor$4 = {
|
|
19621
20566
|
"default": "".concat(WHITE)
|
|
19622
20567
|
};
|
|
19623
|
-
var fallbackValues$
|
|
19624
|
-
backgroundColor: backgroundColor$
|
|
20568
|
+
var fallbackValues$m = {
|
|
20569
|
+
backgroundColor: backgroundColor$4
|
|
19625
20570
|
};
|
|
19626
20571
|
|
|
19627
20572
|
var ProcessingFee = function ProcessingFee(_ref) {
|
|
@@ -19648,11 +20593,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
19648
20593
|
}));
|
|
19649
20594
|
};
|
|
19650
20595
|
|
|
19651
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
20596
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$m, "default");
|
|
19652
20597
|
|
|
19653
20598
|
var activeColor$4 = "".concat(MATISSE_BLUE);
|
|
19654
20599
|
var inactiveColor = "".concat(GREY_CHATEAU);
|
|
19655
|
-
var fallbackValues$
|
|
20600
|
+
var fallbackValues$n = {
|
|
19656
20601
|
activeColor: activeColor$4,
|
|
19657
20602
|
inactiveColor: inactiveColor
|
|
19658
20603
|
};
|
|
@@ -19748,7 +20693,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
19748
20693
|
})));
|
|
19749
20694
|
};
|
|
19750
20695
|
|
|
19751
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
20696
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$n);
|
|
19752
20697
|
|
|
19753
20698
|
var borderColor$1 = {
|
|
19754
20699
|
"default": "".concat(GREY_CHATEAU)
|
|
@@ -19756,7 +20701,7 @@ var borderColor$1 = {
|
|
|
19756
20701
|
var borderSize = {
|
|
19757
20702
|
"default": "1px"
|
|
19758
20703
|
};
|
|
19759
|
-
var fallbackValues$
|
|
20704
|
+
var fallbackValues$o = {
|
|
19760
20705
|
borderColor: borderColor$1,
|
|
19761
20706
|
borderSize: borderSize
|
|
19762
20707
|
};
|
|
@@ -19773,7 +20718,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
19773
20718
|
});
|
|
19774
20719
|
};
|
|
19775
20720
|
|
|
19776
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
20721
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$o, "default");
|
|
19777
20722
|
|
|
19778
20723
|
var placeHolderOptionUS = {
|
|
19779
20724
|
text: "Please select state",
|
|
@@ -30355,7 +31300,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
30355
31300
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
30356
31301
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
30357
31302
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
30358
|
-
var fallbackValues$
|
|
31303
|
+
var fallbackValues$p = {
|
|
30359
31304
|
onBackground: onBackground,
|
|
30360
31305
|
disabledBackground: disabledBackground,
|
|
30361
31306
|
white: white,
|
|
@@ -30557,7 +31502,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
30557
31502
|
}, label))));
|
|
30558
31503
|
};
|
|
30559
31504
|
|
|
30560
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
31505
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$p);
|
|
30561
31506
|
|
|
30562
31507
|
const validatorToPredicate = (validatorFn, emptyCase) => (
|
|
30563
31508
|
value,
|
|
@@ -32383,7 +33328,7 @@ var titleColor = "#292A33";
|
|
|
32383
33328
|
var headingBackgroundColor = "transparent";
|
|
32384
33329
|
var bodyBackgroundColor = "transparent";
|
|
32385
33330
|
var focusStyles = "outline: none;";
|
|
32386
|
-
var fallbackValues$
|
|
33331
|
+
var fallbackValues$q = {
|
|
32387
33332
|
titleColor: titleColor,
|
|
32388
33333
|
headingBackgroundColor: headingBackgroundColor,
|
|
32389
33334
|
bodyBackgroundColor: bodyBackgroundColor,
|
|
@@ -32487,7 +33432,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
32487
33432
|
}, children))));
|
|
32488
33433
|
};
|
|
32489
33434
|
|
|
32490
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
33435
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$q);
|
|
32491
33436
|
|
|
32492
33437
|
var EditNameForm = function EditNameForm(_ref) {
|
|
32493
33438
|
var fields = _ref.fields,
|
|
@@ -32976,10 +33921,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
|
32976
33921
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
32977
33922
|
|
|
32978
33923
|
var textColor$2 = "#ffffff";
|
|
32979
|
-
var backgroundColor$
|
|
32980
|
-
var fallbackValues$
|
|
33924
|
+
var backgroundColor$5 = "#182848";
|
|
33925
|
+
var fallbackValues$r = {
|
|
32981
33926
|
textColor: textColor$2,
|
|
32982
|
-
backgroundColor: backgroundColor$
|
|
33927
|
+
backgroundColor: backgroundColor$5
|
|
32983
33928
|
};
|
|
32984
33929
|
|
|
32985
33930
|
var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
@@ -33021,7 +33966,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
33021
33966
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter)));
|
|
33022
33967
|
};
|
|
33023
33968
|
|
|
33024
|
-
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
33969
|
+
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$r));
|
|
33025
33970
|
|
|
33026
33971
|
var LoginForm = function LoginForm(_ref) {
|
|
33027
33972
|
var _emailErrorMessages;
|
|
@@ -33935,15 +34880,15 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
33935
34880
|
|
|
33936
34881
|
function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
33937
34882
|
|
|
33938
|
-
function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$1(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
34883
|
+
function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$1(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$1(self); }
|
|
33939
34884
|
|
|
33940
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
34885
|
+
function _getPrototypeOf$1(o) { _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$1(o); }
|
|
33941
34886
|
|
|
33942
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
34887
|
+
function _assertThisInitialized$1(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33943
34888
|
|
|
33944
|
-
function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
34889
|
+
function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$1(subClass, superClass); }
|
|
33945
34890
|
|
|
33946
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
34891
|
+
function _setPrototypeOf$1(o, p) { _setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$1(o, p); }
|
|
33947
34892
|
|
|
33948
34893
|
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
33949
34894
|
|
|
@@ -33971,27 +34916,27 @@ function (_React$Component) {
|
|
|
33971
34916
|
args[_key] = arguments[_key];
|
|
33972
34917
|
}
|
|
33973
34918
|
|
|
33974
|
-
_this = _possibleConstructorReturn$2(this, (_getPrototypeOf2 = _getPrototypeOf(Modal)).call.apply(_getPrototypeOf2, [this].concat(args)));
|
|
34919
|
+
_this = _possibleConstructorReturn$2(this, (_getPrototypeOf2 = _getPrototypeOf$1(Modal)).call.apply(_getPrototypeOf2, [this].concat(args)));
|
|
33975
34920
|
|
|
33976
|
-
_defineProperty$1(_assertThisInitialized(_this), "getApplicationNode", function () {
|
|
34921
|
+
_defineProperty$1(_assertThisInitialized$1(_this), "getApplicationNode", function () {
|
|
33977
34922
|
if (_this.props.getApplicationNode) return _this.props.getApplicationNode();
|
|
33978
34923
|
return _this.props.applicationNode;
|
|
33979
34924
|
});
|
|
33980
34925
|
|
|
33981
|
-
_defineProperty$1(_assertThisInitialized(_this), "checkUnderlayClick", function (event) {
|
|
34926
|
+
_defineProperty$1(_assertThisInitialized$1(_this), "checkUnderlayClick", function (event) {
|
|
33982
34927
|
if (_this.dialogNode && _this.dialogNode.contains(event.target) || // If the click is on the scrollbar we don't want to close the modal.
|
|
33983
34928
|
event.pageX > event.target.ownerDocument.documentElement.offsetWidth || event.pageY > event.target.ownerDocument.documentElement.offsetHeight) return;
|
|
33984
34929
|
|
|
33985
34930
|
_this.exit(event);
|
|
33986
34931
|
});
|
|
33987
34932
|
|
|
33988
|
-
_defineProperty$1(_assertThisInitialized(_this), "checkDocumentKeyDown", function (event) {
|
|
34933
|
+
_defineProperty$1(_assertThisInitialized$1(_this), "checkDocumentKeyDown", function (event) {
|
|
33989
34934
|
if (_this.props.escapeExits && (event.key === 'Escape' || event.key === 'Esc' || event.keyCode === 27)) {
|
|
33990
34935
|
_this.exit(event);
|
|
33991
34936
|
}
|
|
33992
34937
|
});
|
|
33993
34938
|
|
|
33994
|
-
_defineProperty$1(_assertThisInitialized(_this), "exit", function (event) {
|
|
34939
|
+
_defineProperty$1(_assertThisInitialized$1(_this), "exit", function (event) {
|
|
33995
34940
|
if (_this.props.onExit) {
|
|
33996
34941
|
_this.props.onExit(event);
|
|
33997
34942
|
}
|
|
@@ -34388,11 +35333,11 @@ var borderRadius = {
|
|
|
34388
35333
|
"default": "0.25rem",
|
|
34389
35334
|
largeTitle: "0.25rem"
|
|
34390
35335
|
};
|
|
34391
|
-
var backgroundColor$
|
|
35336
|
+
var backgroundColor$6 = {
|
|
34392
35337
|
"default": WHITE,
|
|
34393
35338
|
largeTitle: WHITE
|
|
34394
35339
|
};
|
|
34395
|
-
var fallbackValues$
|
|
35340
|
+
var fallbackValues$s = {
|
|
34396
35341
|
fontSize: fontSize$7,
|
|
34397
35342
|
fontWeight: fontWeight$4,
|
|
34398
35343
|
fontColor: fontColor,
|
|
@@ -34402,7 +35347,7 @@ var fallbackValues$r = {
|
|
|
34402
35347
|
titleSpacing: titleSpacing,
|
|
34403
35348
|
boxShadow: boxShadow$1,
|
|
34404
35349
|
borderRadius: borderRadius,
|
|
34405
|
-
backgroundColor: backgroundColor$
|
|
35350
|
+
backgroundColor: backgroundColor$6
|
|
34406
35351
|
};
|
|
34407
35352
|
|
|
34408
35353
|
var Module = function Module(_ref) {
|
|
@@ -34433,9 +35378,9 @@ var Module = function Module(_ref) {
|
|
|
34433
35378
|
}, children)));
|
|
34434
35379
|
};
|
|
34435
35380
|
|
|
34436
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$
|
|
35381
|
+
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$s, "default"));
|
|
34437
35382
|
|
|
34438
|
-
var backgroundColor$
|
|
35383
|
+
var backgroundColor$7 = {
|
|
34439
35384
|
profile: "#3b414d",
|
|
34440
35385
|
cms: "#3b414d"
|
|
34441
35386
|
};
|
|
@@ -34443,8 +35388,8 @@ var shadowColor = {
|
|
|
34443
35388
|
profile: "#292A33",
|
|
34444
35389
|
cms: "#292A33"
|
|
34445
35390
|
};
|
|
34446
|
-
var fallbackValues$
|
|
34447
|
-
backgroundColor: backgroundColor$
|
|
35391
|
+
var fallbackValues$t = {
|
|
35392
|
+
backgroundColor: backgroundColor$7,
|
|
34448
35393
|
shadowColor: shadowColor
|
|
34449
35394
|
};
|
|
34450
35395
|
|
|
@@ -34484,7 +35429,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
34484
35429
|
}, menuContent));
|
|
34485
35430
|
};
|
|
34486
35431
|
|
|
34487
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
35432
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$t, "profile");
|
|
34488
35433
|
|
|
34489
35434
|
function _templateObject$y() {
|
|
34490
35435
|
var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
|
|
@@ -34546,7 +35491,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
|
34546
35491
|
}, menuContent));
|
|
34547
35492
|
};
|
|
34548
35493
|
|
|
34549
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
35494
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$t, "profile");
|
|
34550
35495
|
|
|
34551
35496
|
var AccountBillIcon = function AccountBillIcon() {
|
|
34552
35497
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -36049,7 +36994,7 @@ var TitleModule = function TitleModule(_ref) {
|
|
|
36049
36994
|
var color$9 = "#15749D";
|
|
36050
36995
|
var hoverColor$4 = "#116285";
|
|
36051
36996
|
var activeColor$5 = "#0E506D";
|
|
36052
|
-
var fallbackValues$
|
|
36997
|
+
var fallbackValues$u = {
|
|
36053
36998
|
color: color$9,
|
|
36054
36999
|
hoverColor: hoverColor$4,
|
|
36055
37000
|
activeColor: activeColor$5
|
|
@@ -36120,7 +37065,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
36120
37065
|
}, modalExtraProps));
|
|
36121
37066
|
};
|
|
36122
37067
|
|
|
36123
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$
|
|
37068
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$u);
|
|
36124
37069
|
|
|
36125
37070
|
var AmountModule = function AmountModule(_ref) {
|
|
36126
37071
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -36656,7 +37601,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
36656
37601
|
}, backButton, forwardButton)));
|
|
36657
37602
|
};
|
|
36658
37603
|
|
|
36659
|
-
var backgroundColor$
|
|
37604
|
+
var backgroundColor$8 = {
|
|
36660
37605
|
"default": "transparent",
|
|
36661
37606
|
small: "transparent"
|
|
36662
37607
|
};
|
|
@@ -36672,8 +37617,8 @@ var labeledAmountTotal = {
|
|
|
36672
37617
|
"default": "h6",
|
|
36673
37618
|
small: "pL"
|
|
36674
37619
|
};
|
|
36675
|
-
var fallbackValues$
|
|
36676
|
-
backgroundColor: backgroundColor$
|
|
37620
|
+
var fallbackValues$v = {
|
|
37621
|
+
backgroundColor: backgroundColor$8,
|
|
36677
37622
|
lineItem: lineItem,
|
|
36678
37623
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
36679
37624
|
labeledAmountTotal: labeledAmountTotal
|
|
@@ -36836,7 +37781,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
36836
37781
|
});
|
|
36837
37782
|
};
|
|
36838
37783
|
|
|
36839
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
37784
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$v, "default");
|
|
36840
37785
|
|
|
36841
37786
|
var linkColor$1 = {
|
|
36842
37787
|
"default": "#357fb8",
|
|
@@ -36858,7 +37803,7 @@ var modalLinkHoverFocus = {
|
|
|
36858
37803
|
"default": "",
|
|
36859
37804
|
footer: "outline: none; text-decoration: underline;"
|
|
36860
37805
|
};
|
|
36861
|
-
var fallbackValues$
|
|
37806
|
+
var fallbackValues$w = {
|
|
36862
37807
|
linkColor: linkColor$1,
|
|
36863
37808
|
fontSize: fontSize$8,
|
|
36864
37809
|
lineHeight: lineHeight$4,
|
|
@@ -36921,7 +37866,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
36921
37866
|
});
|
|
36922
37867
|
};
|
|
36923
37868
|
|
|
36924
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
37869
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$w, "default");
|
|
36925
37870
|
|
|
36926
37871
|
function _templateObject$z() {
|
|
36927
37872
|
var data = _taggedTemplateLiteral([""]);
|
|
@@ -37307,7 +38252,7 @@ var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
|
37307
38252
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
37308
38253
|
var borderColor$2 = "".concat(GREY_CHATEAU);
|
|
37309
38254
|
var focusStyles$1 = "outline: none;";
|
|
37310
|
-
var fallbackValues$
|
|
38255
|
+
var fallbackValues$x = {
|
|
37311
38256
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
37312
38257
|
headingDisabledColor: headingDisabledColor,
|
|
37313
38258
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
@@ -37499,7 +38444,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
37499
38444
|
})));
|
|
37500
38445
|
};
|
|
37501
38446
|
|
|
37502
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
38447
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$x);
|
|
37503
38448
|
|
|
37504
38449
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
37505
38450
|
var _emailErrorMessages, _passwordErrorMessage;
|
|
@@ -37786,7 +38731,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
|
|
|
37786
38731
|
var activeTabBackground = "#FFFFFF";
|
|
37787
38732
|
var activeTabAccent = "#15749D";
|
|
37788
38733
|
var activeTabHover = "#B8D5E1";
|
|
37789
|
-
var fallbackValues$
|
|
38734
|
+
var fallbackValues$y = {
|
|
37790
38735
|
activeTabBackground: activeTabBackground,
|
|
37791
38736
|
activeTabAccent: activeTabAccent,
|
|
37792
38737
|
activeTabHover: activeTabHover
|
|
@@ -37842,9 +38787,9 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
37842
38787
|
})));
|
|
37843
38788
|
};
|
|
37844
38789
|
|
|
37845
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
38790
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$y);
|
|
37846
38791
|
|
|
37847
|
-
var backgroundColor$
|
|
38792
|
+
var backgroundColor$9 = {
|
|
37848
38793
|
"default": "#ffffff",
|
|
37849
38794
|
footer: "#ffffff"
|
|
37850
38795
|
};
|
|
@@ -37872,8 +38817,8 @@ var modalLinkHoverFocus$1 = {
|
|
|
37872
38817
|
"default": "",
|
|
37873
38818
|
footer: "outline: none; text-decoration: underline;"
|
|
37874
38819
|
};
|
|
37875
|
-
var fallbackValues$
|
|
37876
|
-
backgroundColor: backgroundColor$
|
|
38820
|
+
var fallbackValues$z = {
|
|
38821
|
+
backgroundColor: backgroundColor$9,
|
|
37877
38822
|
linkColor: linkColor$2,
|
|
37878
38823
|
border: border$2,
|
|
37879
38824
|
fontSize: fontSize$9,
|
|
@@ -37936,7 +38881,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
37936
38881
|
});
|
|
37937
38882
|
};
|
|
37938
38883
|
|
|
37939
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$
|
|
38884
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$z, "default");
|
|
37940
38885
|
|
|
37941
38886
|
function _templateObject2$l() {
|
|
37942
38887
|
var data = _taggedTemplateLiteral([""]);
|
|
@@ -38060,6 +39005,65 @@ var Timeout = function Timeout(_ref) {
|
|
|
38060
39005
|
|
|
38061
39006
|
var Timeout$1 = withWindowSize(Timeout);
|
|
38062
39007
|
|
|
39008
|
+
var fontWeight$7 = "600";
|
|
39009
|
+
var fontColor$1 = WHITE;
|
|
39010
|
+
var textAlign$1 = "left";
|
|
39011
|
+
var headerBackgroundColor = BRIGHT_GREY;
|
|
39012
|
+
var imageBackgroundColor = MATISSE_BLUE;
|
|
39013
|
+
var fallbackValues$A = {
|
|
39014
|
+
fontWeight: fontWeight$7,
|
|
39015
|
+
fontColor: fontColor$1,
|
|
39016
|
+
textAlign: textAlign$1,
|
|
39017
|
+
headerBackgroundColor: headerBackgroundColor,
|
|
39018
|
+
imageBackgroundColor: imageBackgroundColor
|
|
39019
|
+
};
|
|
39020
|
+
|
|
39021
|
+
function _templateObject$C() {
|
|
39022
|
+
var data = _taggedTemplateLiteral(["\n width: 100%;\n height: auto;\n"]);
|
|
39023
|
+
|
|
39024
|
+
_templateObject$C = function _templateObject() {
|
|
39025
|
+
return data;
|
|
39026
|
+
};
|
|
39027
|
+
|
|
39028
|
+
return data;
|
|
39029
|
+
}
|
|
39030
|
+
var WelcomeImage = styled__default.img(_templateObject$C());
|
|
39031
|
+
|
|
39032
|
+
var WelcomeModule = function WelcomeModule(_ref) {
|
|
39033
|
+
var heading = _ref.heading,
|
|
39034
|
+
isMobile = _ref.isMobile,
|
|
39035
|
+
themeValues = _ref.themeValues;
|
|
39036
|
+
var welcomeImage = "https://cb-public-assets.s3-us-west-2.amazonaws.com/profile-assets/profile-welcome-image.png";
|
|
39037
|
+
return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
39038
|
+
padding: "0"
|
|
39039
|
+
}, isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
39040
|
+
padding: "0",
|
|
39041
|
+
background: themeValues.imageBackgroundColor
|
|
39042
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
39043
|
+
justify: "center"
|
|
39044
|
+
}, /*#__PURE__*/React__default.createElement(WelcomeImage, {
|
|
39045
|
+
src: welcomeImage
|
|
39046
|
+
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
39047
|
+
background: themeValues.headerBackgroundColor
|
|
39048
|
+
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
39049
|
+
variant: "h5",
|
|
39050
|
+
weight: themeValues.fontWeight,
|
|
39051
|
+
color: themeValues.fontColor,
|
|
39052
|
+
textAlign: themeValues.textAlign,
|
|
39053
|
+
"aria-level": "3"
|
|
39054
|
+
}, heading)), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
39055
|
+
padding: "0",
|
|
39056
|
+
background: themeValues.imageBackgroundColor
|
|
39057
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
39058
|
+
justify: "center",
|
|
39059
|
+
align: "flex-end"
|
|
39060
|
+
}, /*#__PURE__*/React__default.createElement(WelcomeImage, {
|
|
39061
|
+
src: welcomeImage
|
|
39062
|
+
})))));
|
|
39063
|
+
};
|
|
39064
|
+
|
|
39065
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$A));
|
|
39066
|
+
|
|
38063
39067
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
38064
39068
|
var _ref$workflowName = _ref.workflowName,
|
|
38065
39069
|
workflowName = _ref$workflowName === void 0 ? "Test Workflow" : _ref$workflowName,
|
|
@@ -38106,7 +39110,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
38106
39110
|
};
|
|
38107
39111
|
|
|
38108
39112
|
var pageBackground = "#F6F6F9";
|
|
38109
|
-
var fallbackValues$
|
|
39113
|
+
var fallbackValues$B = {
|
|
38110
39114
|
pageBackground: pageBackground
|
|
38111
39115
|
};
|
|
38112
39116
|
|
|
@@ -38153,7 +39157,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
38153
39157
|
})));
|
|
38154
39158
|
};
|
|
38155
39159
|
|
|
38156
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
39160
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$B));
|
|
38157
39161
|
|
|
38158
39162
|
var CenterStack = function CenterStack(_ref) {
|
|
38159
39163
|
var header = _ref.header,
|
|
@@ -38195,7 +39199,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
38195
39199
|
})));
|
|
38196
39200
|
};
|
|
38197
39201
|
|
|
38198
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
39202
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$B));
|
|
38199
39203
|
|
|
38200
39204
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
38201
39205
|
var header = _ref.header,
|
|
@@ -38235,7 +39239,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
38235
39239
|
})));
|
|
38236
39240
|
};
|
|
38237
39241
|
|
|
38238
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
39242
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$B));
|
|
38239
39243
|
|
|
38240
39244
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
38241
39245
|
var header = _ref.header,
|
|
@@ -38289,7 +39293,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
38289
39293
|
})));
|
|
38290
39294
|
};
|
|
38291
39295
|
|
|
38292
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
39296
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$B));
|
|
38293
39297
|
|
|
38294
39298
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
38295
39299
|
var header = _ref.header,
|
|
@@ -38360,7 +39364,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
38360
39364
|
})));
|
|
38361
39365
|
};
|
|
38362
39366
|
|
|
38363
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
39367
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$B));
|
|
38364
39368
|
|
|
38365
39369
|
|
|
38366
39370
|
|
|
@@ -38489,7 +39493,9 @@ exports.Timeout = Timeout$1;
|
|
|
38489
39493
|
exports.TimeoutImage = TimeoutImage;
|
|
38490
39494
|
exports.ToggleSwitch = ToggleSwitch$1;
|
|
38491
39495
|
exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
|
|
39496
|
+
exports.WelcomeModule = WelcomeModule$1;
|
|
38492
39497
|
exports.WorkflowTile = WorkflowTile;
|
|
39498
|
+
exports.cardRegistry = cardRegistry;
|
|
38493
39499
|
exports.constants = index$4;
|
|
38494
39500
|
exports.createPartialAmountFormState = createPartialAmountFormState;
|
|
38495
39501
|
exports.util = index$5;
|