@thecb/components 10.7.1-beta.0 → 10.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +136 -90
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +135 -89
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/alert/Alert.js +10 -1
- package/src/components/molecules/obligation/Obligation.js +7 -2
- package/src/components/molecules/obligation/Obligation.theme.js +7 -0
- package/src/components/molecules/obligation/modules/AmountModule.js +1 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +11 -11
- package/src/components/molecules/obligation/modules/IconModule.js +3 -7
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +1 -1
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +3 -7
- package/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +15 -3
- package/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.theme.js +9 -0
- package/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +17 -5
- package/src/components/molecules/reset-password-success/ResetPasswordSuccess.theme.js +9 -0
- package/src/components/molecules/toast-notification/ToastNotification.js +74 -43
- package/src/constants/style_constants.js +12 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
- package/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +0 -20
package/dist/index.cjs.js
CHANGED
|
@@ -4937,6 +4937,18 @@ var SPACING = {
|
|
|
4937
4937
|
// Figma: Spacing/XS
|
|
4938
4938
|
MD: "1.5rem" // Figma: Spacing/Normal
|
|
4939
4939
|
};
|
|
4940
|
+
var SCREEN_READER_ONLY = {
|
|
4941
|
+
border: 0,
|
|
4942
|
+
clip: "rect(0 0 0 0)",
|
|
4943
|
+
clipPath: "inset(50%)",
|
|
4944
|
+
height: "1px",
|
|
4945
|
+
margin: "-1px",
|
|
4946
|
+
overflow: "hidden",
|
|
4947
|
+
padding: 0,
|
|
4948
|
+
position: "absolute",
|
|
4949
|
+
width: "1px",
|
|
4950
|
+
whiteSpace: "nowrap"
|
|
4951
|
+
};
|
|
4940
4952
|
|
|
4941
4953
|
var style_constants = /*#__PURE__*/Object.freeze({
|
|
4942
4954
|
__proto__: null,
|
|
@@ -4952,7 +4964,8 @@ var style_constants = /*#__PURE__*/Object.freeze({
|
|
|
4952
4964
|
JUMBO_HEIGHT: JUMBO_HEIGHT,
|
|
4953
4965
|
SPACER_HEIGHT: SPACER_HEIGHT,
|
|
4954
4966
|
LINK_TEXT_DECORATION: LINK_TEXT_DECORATION,
|
|
4955
|
-
SPACING: SPACING
|
|
4967
|
+
SPACING: SPACING,
|
|
4968
|
+
SCREEN_READER_ONLY: SCREEN_READER_ONLY
|
|
4956
4969
|
});
|
|
4957
4970
|
|
|
4958
4971
|
/*
|
|
@@ -19325,7 +19338,14 @@ var Alert = function Alert(_ref) {
|
|
|
19325
19338
|
}, showQuitLink && /*#__PURE__*/React__default.createElement(Box, {
|
|
19326
19339
|
padding: "0",
|
|
19327
19340
|
minHeight: "100%",
|
|
19328
|
-
onClick: onLinkClick
|
|
19341
|
+
onClick: onLinkClick,
|
|
19342
|
+
onKeyDown: function onKeyDown(e) {
|
|
19343
|
+
return e.key === "Enter" && onLinkClick();
|
|
19344
|
+
},
|
|
19345
|
+
role: "button",
|
|
19346
|
+
tabIndex: 0,
|
|
19347
|
+
"aria-label": "Close Alert: ".concat(heading),
|
|
19348
|
+
extraStyles: "cursor: pointer;"
|
|
19329
19349
|
}, /*#__PURE__*/React__default.createElement(IconQuit, null))))));
|
|
19330
19350
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
19331
19351
|
padding: padding,
|
|
@@ -46374,15 +46394,13 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46374
46394
|
};
|
|
46375
46395
|
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
|
|
46376
46396
|
|
|
46377
|
-
// Uses the theme values (singleIconColor) for the other icons, located in /atoms/icons
|
|
46378
|
-
|
|
46379
46397
|
var IconsModule = function IconsModule(_ref) {
|
|
46380
46398
|
var icon = _ref.icon,
|
|
46381
46399
|
iconDefault = _ref.iconDefault,
|
|
46382
46400
|
configIconMap = _ref.configIconMap,
|
|
46383
46401
|
iconValue = _ref.iconValue,
|
|
46384
46402
|
customAttributes = _ref.customAttributes,
|
|
46385
|
-
|
|
46403
|
+
iconColor = _ref.iconColor;
|
|
46386
46404
|
var Icon;
|
|
46387
46405
|
if (_typeof(icon) === "object") {
|
|
46388
46406
|
var _configIconMap$iconID;
|
|
@@ -46398,10 +46416,9 @@ var IconsModule = function IconsModule(_ref) {
|
|
|
46398
46416
|
justify: "center",
|
|
46399
46417
|
align: "center"
|
|
46400
46418
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
46401
|
-
color:
|
|
46419
|
+
color: iconColor
|
|
46402
46420
|
})));
|
|
46403
46421
|
};
|
|
46404
|
-
var IconModule = themeComponent(IconsModule, "Icon", fallbackValues$2, "primary");
|
|
46405
46422
|
|
|
46406
46423
|
var TitleModule = function TitleModule(_ref) {
|
|
46407
46424
|
var title = _ref.title,
|
|
@@ -46426,22 +46443,7 @@ var TitleModule = function TitleModule(_ref) {
|
|
|
46426
46443
|
}, subtitle)));
|
|
46427
46444
|
};
|
|
46428
46445
|
|
|
46429
|
-
var
|
|
46430
|
-
var hoverColor$5 = "#116285";
|
|
46431
|
-
var activeColor$8 = "#0E506D";
|
|
46432
|
-
var linkColor$4 = "#3176AA";
|
|
46433
|
-
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
46434
|
-
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
46435
|
-
var fallbackValues$L = {
|
|
46436
|
-
color: color$c,
|
|
46437
|
-
hoverColor: hoverColor$5,
|
|
46438
|
-
activeColor: activeColor$8,
|
|
46439
|
-
linkColor: linkColor$4,
|
|
46440
|
-
fontWeight: fontWeight$6,
|
|
46441
|
-
modalLinkHoverFocus: modalLinkHoverFocus
|
|
46442
|
-
};
|
|
46443
|
-
|
|
46444
|
-
var AutopayModal = function AutopayModal(_ref) {
|
|
46446
|
+
var AutopayModalModule = function AutopayModalModule(_ref) {
|
|
46445
46447
|
var autoPayActive = _ref.autoPayActive,
|
|
46446
46448
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
46447
46449
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
@@ -46452,7 +46454,6 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46452
46454
|
_ref$controlType = _ref.controlType,
|
|
46453
46455
|
controlType = _ref$controlType === void 0 ? "tertiary" : _ref$controlType,
|
|
46454
46456
|
isMobile = _ref.isMobile,
|
|
46455
|
-
themeValues = _ref.themeValues,
|
|
46456
46457
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
46457
46458
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
46458
46459
|
dueDate = _ref.dueDate,
|
|
@@ -46486,6 +46487,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46486
46487
|
toggleModal(false);
|
|
46487
46488
|
} : navigateToSettings
|
|
46488
46489
|
};
|
|
46490
|
+
var modalLinkHoverFocus = "\n outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;\n ";
|
|
46489
46491
|
var hoverStyles = "text-decoration: underline;";
|
|
46490
46492
|
var activeStyles = "text-decoration: underline;";
|
|
46491
46493
|
var renderAutoPayControl = function renderAutoPayControl() {
|
|
@@ -46540,8 +46542,8 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46540
46542
|
tabIndex: "0",
|
|
46541
46543
|
dataQa: "".concat(shortPlan, " On"),
|
|
46542
46544
|
color: SEA_GREEN,
|
|
46543
|
-
weight:
|
|
46544
|
-
hoverStyles:
|
|
46545
|
+
weight: FONT_WEIGHT_REGULAR,
|
|
46546
|
+
hoverStyles: modalLinkHoverFocus,
|
|
46545
46547
|
extraStyles: "padding-left: 0.25rem;",
|
|
46546
46548
|
disabled: disableActions
|
|
46547
46549
|
}, "".concat(shortPlan, " ").concat(nextAutopayDate))));
|
|
@@ -46558,7 +46560,6 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46558
46560
|
modalOpen: modalOpen
|
|
46559
46561
|
}, modalExtraProps), renderAutoPayControl());
|
|
46560
46562
|
};
|
|
46561
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$L);
|
|
46562
46563
|
|
|
46563
46564
|
var AmountModule = function AmountModule(_ref) {
|
|
46564
46565
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -46661,9 +46662,6 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46661
46662
|
setDetailedObligation(obligations, config, obligationAssocID);
|
|
46662
46663
|
navigateToDetailedObligation(detailsSlug);
|
|
46663
46664
|
};
|
|
46664
|
-
var handlePayNowClick = disableActions ? noop : function () {
|
|
46665
|
-
return handleClick(obligations);
|
|
46666
|
-
};
|
|
46667
46665
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46668
46666
|
padding: isMobile ? "0" : "16px 0 0",
|
|
46669
46667
|
minWidth: "100%",
|
|
@@ -46745,7 +46743,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46745
46743
|
padding: "0"
|
|
46746
46744
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46747
46745
|
isLoading: isLoading,
|
|
46748
|
-
action:
|
|
46746
|
+
action: disableActions ? noop : function () {
|
|
46747
|
+
return handleClick(obligations);
|
|
46748
|
+
},
|
|
46749
46749
|
text: "Pay Now",
|
|
46750
46750
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46751
46751
|
dataQa: "Pay Now",
|
|
@@ -46755,7 +46755,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46755
46755
|
width: "100%"
|
|
46756
46756
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46757
46757
|
isLoading: isLoading,
|
|
46758
|
-
action:
|
|
46758
|
+
action: disableActions ? noop : function () {
|
|
46759
|
+
return handleClick(obligations);
|
|
46760
|
+
},
|
|
46759
46761
|
text: "Pay Now",
|
|
46760
46762
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46761
46763
|
dataQa: "Pay Now",
|
|
@@ -46916,6 +46918,11 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
46916
46918
|
}, "This may mean that the balance has been paid, or there was an error loading it.".concat(autoPayEnabled ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button." : ""))));
|
|
46917
46919
|
};
|
|
46918
46920
|
|
|
46921
|
+
var iconColor = ROYAL_BLUE_VIVID;
|
|
46922
|
+
var fallbackValues$L = {
|
|
46923
|
+
iconColor: iconColor
|
|
46924
|
+
};
|
|
46925
|
+
|
|
46919
46926
|
var Obligation = function Obligation(_ref) {
|
|
46920
46927
|
var _obligations$, _firstObligation$cust;
|
|
46921
46928
|
var config = _ref.config,
|
|
@@ -46943,7 +46950,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
46943
46950
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
46944
46951
|
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa,
|
|
46945
46952
|
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46946
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana
|
|
46953
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana,
|
|
46954
|
+
themeValues = _ref.themeValues;
|
|
46947
46955
|
/*
|
|
46948
46956
|
The value of obligations is always an array. It can contain:
|
|
46949
46957
|
- A single obligation
|
|
@@ -46988,12 +46996,13 @@ var Obligation = function Obligation(_ref) {
|
|
|
46988
46996
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
46989
46997
|
justify: "flex-start",
|
|
46990
46998
|
align: "center"
|
|
46991
|
-
}, !isMobile && /*#__PURE__*/React__default.createElement(
|
|
46999
|
+
}, !isMobile && /*#__PURE__*/React__default.createElement(IconsModule, {
|
|
46992
47000
|
icon: config.icon,
|
|
46993
47001
|
iconDefault: config.iconDefault,
|
|
46994
47002
|
configIconMap: config.iconMap,
|
|
46995
47003
|
iconValue: config.iconValue,
|
|
46996
|
-
customAttributes: customAttributes
|
|
47004
|
+
customAttributes: customAttributes,
|
|
47005
|
+
iconColor: themeValues.iconColor
|
|
46997
47006
|
}), /*#__PURE__*/React__default.createElement(TitleModule, {
|
|
46998
47007
|
title: description,
|
|
46999
47008
|
subtitle: subDescription,
|
|
@@ -47080,12 +47089,13 @@ var Obligation = function Obligation(_ref) {
|
|
|
47080
47089
|
justify: "flex-start",
|
|
47081
47090
|
align: "center",
|
|
47082
47091
|
nowrap: true
|
|
47083
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
47092
|
+
}, /*#__PURE__*/React__default.createElement(IconsModule, {
|
|
47084
47093
|
icon: config.icon,
|
|
47085
47094
|
iconDefault: config.iconDefault,
|
|
47086
47095
|
configIconMap: config.iconMap,
|
|
47087
47096
|
iconValue: config.iconValue,
|
|
47088
|
-
customAttributes: customAttributes
|
|
47097
|
+
customAttributes: customAttributes,
|
|
47098
|
+
iconColor: themeValues.iconColor
|
|
47089
47099
|
}), /*#__PURE__*/React__default.createElement(InactiveTitleModule, {
|
|
47090
47100
|
title: inactiveLookupTitle,
|
|
47091
47101
|
subtitle: "".concat(inactiveLookupInput, ": ").concat(inactiveLookupValue),
|
|
@@ -47131,6 +47141,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47131
47141
|
}))));
|
|
47132
47142
|
return inactive ? inactiveObligation : activeObligation;
|
|
47133
47143
|
};
|
|
47144
|
+
var Obligation$1 = themeComponent(Obligation, "Obligation", fallbackValues$L);
|
|
47134
47145
|
|
|
47135
47146
|
var PartialAmountField = function PartialAmountField(_ref) {
|
|
47136
47147
|
var lineItem = _ref.lineItem,
|
|
@@ -47267,9 +47278,9 @@ var arrowColor = WHITE;
|
|
|
47267
47278
|
var numberColor = MATISSE_BLUE;
|
|
47268
47279
|
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
47269
47280
|
var activeBackgroundColor$2 = WHITE;
|
|
47270
|
-
var activeColor$
|
|
47281
|
+
var activeColor$8 = MATISSE_BLUE;
|
|
47271
47282
|
var fallbackValues$M = {
|
|
47272
|
-
activeColor: activeColor$
|
|
47283
|
+
activeColor: activeColor$8,
|
|
47273
47284
|
activeBackgroundColor: activeBackgroundColor$2,
|
|
47274
47285
|
arrowColor: arrowColor,
|
|
47275
47286
|
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
@@ -47932,7 +47943,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47932
47943
|
};
|
|
47933
47944
|
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$N, "default");
|
|
47934
47945
|
|
|
47935
|
-
var linkColor$
|
|
47946
|
+
var linkColor$4 = {
|
|
47936
47947
|
"default": "#3176AA"
|
|
47937
47948
|
};
|
|
47938
47949
|
var fontSize$a = {
|
|
@@ -47941,21 +47952,21 @@ var fontSize$a = {
|
|
|
47941
47952
|
var lineHeight$4 = {
|
|
47942
47953
|
"default": "1.5rem"
|
|
47943
47954
|
};
|
|
47944
|
-
var fontWeight$
|
|
47955
|
+
var fontWeight$6 = {
|
|
47945
47956
|
"default": FONT_WEIGHT_REGULAR
|
|
47946
47957
|
};
|
|
47947
|
-
var modalLinkHoverFocus
|
|
47958
|
+
var modalLinkHoverFocus = {
|
|
47948
47959
|
"default": "outline: none; text-decoration: underline;"
|
|
47949
47960
|
};
|
|
47950
47961
|
var linkTextDecoration = {
|
|
47951
47962
|
"default": LINK_TEXT_DECORATION
|
|
47952
47963
|
};
|
|
47953
47964
|
var fallbackValues$O = {
|
|
47954
|
-
linkColor: linkColor$
|
|
47965
|
+
linkColor: linkColor$4,
|
|
47955
47966
|
fontSize: fontSize$a,
|
|
47956
47967
|
lineHeight: lineHeight$4,
|
|
47957
|
-
fontWeight: fontWeight$
|
|
47958
|
-
modalLinkHoverFocus: modalLinkHoverFocus
|
|
47968
|
+
fontWeight: fontWeight$6,
|
|
47969
|
+
modalLinkHoverFocus: modalLinkHoverFocus,
|
|
47959
47970
|
linkTextDecoration: linkTextDecoration
|
|
47960
47971
|
};
|
|
47961
47972
|
|
|
@@ -48020,7 +48031,7 @@ var backgroundColor$d = {
|
|
|
48020
48031
|
"default": "#ffffff",
|
|
48021
48032
|
footer: "#ffffff"
|
|
48022
48033
|
};
|
|
48023
|
-
var linkColor$
|
|
48034
|
+
var linkColor$5 = {
|
|
48024
48035
|
"default": "#3176AA",
|
|
48025
48036
|
footer: "#ffffff"
|
|
48026
48037
|
};
|
|
@@ -48036,12 +48047,12 @@ var lineHeight$5 = {
|
|
|
48036
48047
|
"default": "1.5rem",
|
|
48037
48048
|
footer: "1.25rem"
|
|
48038
48049
|
};
|
|
48039
|
-
var fontWeight$
|
|
48050
|
+
var fontWeight$7 = {
|
|
48040
48051
|
"default": FONT_WEIGHT_REGULAR,
|
|
48041
48052
|
footer: FONT_WEIGHT_SEMIBOLD
|
|
48042
48053
|
};
|
|
48043
48054
|
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
48044
|
-
var modalLinkHoverFocus$
|
|
48055
|
+
var modalLinkHoverFocus$1 = {
|
|
48045
48056
|
"default": standardInteractionStyles,
|
|
48046
48057
|
footer: standardInteractionStyles
|
|
48047
48058
|
};
|
|
@@ -48051,12 +48062,12 @@ var modalLinkTextDecoration = {
|
|
|
48051
48062
|
};
|
|
48052
48063
|
var fallbackValues$P = {
|
|
48053
48064
|
backgroundColor: backgroundColor$d,
|
|
48054
|
-
linkColor: linkColor$
|
|
48065
|
+
linkColor: linkColor$5,
|
|
48055
48066
|
border: border$3,
|
|
48056
48067
|
fontSize: fontSize$b,
|
|
48057
48068
|
lineHeight: lineHeight$5,
|
|
48058
|
-
fontWeight: fontWeight$
|
|
48059
|
-
modalLinkHoverFocus: modalLinkHoverFocus$
|
|
48069
|
+
fontWeight: fontWeight$7,
|
|
48070
|
+
modalLinkHoverFocus: modalLinkHoverFocus$1,
|
|
48060
48071
|
modalLinkTextDecoration: modalLinkTextDecoration
|
|
48061
48072
|
};
|
|
48062
48073
|
|
|
@@ -49304,9 +49315,16 @@ RegistrationForm.reducer = reducer$9;
|
|
|
49304
49315
|
RegistrationForm.mapStateToProps = mapStateToProps$a;
|
|
49305
49316
|
RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
49306
49317
|
|
|
49318
|
+
var GRECIAN_GREY$1 = GRECIAN_GREY;
|
|
49319
|
+
var bannerBackgroundColor = GRECIAN_GREY$1;
|
|
49320
|
+
var fallbackValues$R = {
|
|
49321
|
+
bannerBackgroundColor: bannerBackgroundColor
|
|
49322
|
+
};
|
|
49323
|
+
|
|
49307
49324
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
49308
|
-
var
|
|
49309
|
-
|
|
49325
|
+
var themeContext = React.useContext(styled.ThemeContext);
|
|
49326
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$R, "ResetConfirmationForm");
|
|
49327
|
+
var isMobile = themeContext.isMobile;
|
|
49310
49328
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
49311
49329
|
padding: "0",
|
|
49312
49330
|
width: isMobile ? "auto" : "576px",
|
|
@@ -49314,7 +49332,7 @@ var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
|
49314
49332
|
background: WHITE,
|
|
49315
49333
|
boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
49316
49334
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
49317
|
-
background:
|
|
49335
|
+
background: themeValues.bannerBackgroundColor,
|
|
49318
49336
|
minWidth: "100%",
|
|
49319
49337
|
padding: "0.5rem"
|
|
49320
49338
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -49418,9 +49436,16 @@ ResetPasswordForm.reducer = reducer$a;
|
|
|
49418
49436
|
ResetPasswordForm.mapStateToProps = mapStateToProps$b;
|
|
49419
49437
|
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
49420
49438
|
|
|
49421
|
-
var
|
|
49422
|
-
|
|
49423
|
-
|
|
49439
|
+
var GRECIAN_GREY$2 = GRECIAN_GREY;
|
|
49440
|
+
var bannerBackgroundColor$1 = GRECIAN_GREY$2;
|
|
49441
|
+
var fallbackValues$S = {
|
|
49442
|
+
bannerBackgroundColor: bannerBackgroundColor$1
|
|
49443
|
+
};
|
|
49444
|
+
|
|
49445
|
+
var ResetPasswordSuccess = function ResetPasswordSuccess() {
|
|
49446
|
+
var themeContext = React.useContext(styled.ThemeContext);
|
|
49447
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$S, "ResetPasswordSuccess");
|
|
49448
|
+
var isMobile = themeContext.isMobile;
|
|
49424
49449
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
49425
49450
|
padding: "0",
|
|
49426
49451
|
width: isMobile ? "auto" : "576px",
|
|
@@ -49428,7 +49453,7 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
|
49428
49453
|
background: WHITE,
|
|
49429
49454
|
boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
49430
49455
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
49431
|
-
background:
|
|
49456
|
+
background: themeValues.bannerBackgroundColor,
|
|
49432
49457
|
minWidth: "100%",
|
|
49433
49458
|
padding: "0.5rem"
|
|
49434
49459
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -49463,12 +49488,12 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
|
49463
49488
|
linkExtraStyles: "width: 100%;"
|
|
49464
49489
|
}))))));
|
|
49465
49490
|
};
|
|
49466
|
-
var ResetPasswordSuccess = withWindowSize(
|
|
49491
|
+
var ResetPasswordSuccess$1 = withWindowSize(ResetPasswordSuccess);
|
|
49467
49492
|
|
|
49468
49493
|
var activeTabBackground = "#FFFFFF";
|
|
49469
49494
|
var activeTabAccent = "#15749D";
|
|
49470
49495
|
var activeTabHover = "#B8D5E1";
|
|
49471
|
-
var fallbackValues$
|
|
49496
|
+
var fallbackValues$T = {
|
|
49472
49497
|
activeTabBackground: activeTabBackground,
|
|
49473
49498
|
activeTabAccent: activeTabAccent,
|
|
49474
49499
|
activeTabHover: activeTabHover
|
|
@@ -49536,12 +49561,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
49536
49561
|
}, tab.content);
|
|
49537
49562
|
}))));
|
|
49538
49563
|
};
|
|
49539
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
49564
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$T);
|
|
49540
49565
|
|
|
49541
49566
|
var activeTabBackground$1 = "#FFFFFF";
|
|
49542
49567
|
var activeTabAccent$1 = "#15749D";
|
|
49543
49568
|
var activeTabHover$1 = "#B8D5E1";
|
|
49544
|
-
var fallbackValues$
|
|
49569
|
+
var fallbackValues$U = {
|
|
49545
49570
|
activeTabBackground: activeTabBackground$1,
|
|
49546
49571
|
activeTabAccent: activeTabAccent$1,
|
|
49547
49572
|
activeTabHover: activeTabHover$1
|
|
@@ -49596,7 +49621,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49596
49621
|
}, text)))));
|
|
49597
49622
|
})));
|
|
49598
49623
|
};
|
|
49599
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
49624
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$U);
|
|
49600
49625
|
|
|
49601
49626
|
var Timeout = function Timeout(_ref) {
|
|
49602
49627
|
var onLogout = _ref.onLogout;
|
|
@@ -49632,7 +49657,7 @@ var Timeout = function Timeout(_ref) {
|
|
|
49632
49657
|
};
|
|
49633
49658
|
var Timeout$1 = withWindowSize(Timeout);
|
|
49634
49659
|
|
|
49635
|
-
var _excluded$F = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive"];
|
|
49660
|
+
var _excluded$F = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
|
|
49636
49661
|
var VARIANTS = {
|
|
49637
49662
|
SUCCESS: "success",
|
|
49638
49663
|
ERROR: "error"
|
|
@@ -49655,11 +49680,28 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49655
49680
|
childGap = _ref$childGap === void 0 ? "1rem" : _ref$childGap,
|
|
49656
49681
|
backgroundColor = _ref.backgroundColor,
|
|
49657
49682
|
_ref$role = _ref.role,
|
|
49658
|
-
role = _ref$role === void 0 ? "
|
|
49683
|
+
role = _ref$role === void 0 ? "status" : _ref$role,
|
|
49659
49684
|
_ref$ariaLive = _ref.ariaLive,
|
|
49660
49685
|
ariaLive = _ref$ariaLive === void 0 ? "polite" : _ref$ariaLive,
|
|
49686
|
+
screenReaderMessage = _ref.screenReaderMessage,
|
|
49687
|
+
_ref$showScreenReader = _ref.showScreenReaderMessage,
|
|
49688
|
+
showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
|
|
49661
49689
|
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
49662
|
-
|
|
49690
|
+
var screenReaderMessageRef = React.useRef();
|
|
49691
|
+
var LIVEREGION_TRANSITION_DELAY = 1000;
|
|
49692
|
+
React.useEffect(function () {
|
|
49693
|
+
if (showScreenReaderMessage) {
|
|
49694
|
+
var timeout = setTimeout(function () {
|
|
49695
|
+
if (screenReaderMessageRef.current) {
|
|
49696
|
+
screenReaderMessageRef.current.textContent = "".concat(screenReaderMessage ? screenReaderMessage : message ? message : "");
|
|
49697
|
+
}
|
|
49698
|
+
}, LIVEREGION_TRANSITION_DELAY);
|
|
49699
|
+
return function () {
|
|
49700
|
+
return clearTimeout(timeout);
|
|
49701
|
+
};
|
|
49702
|
+
}
|
|
49703
|
+
}, [showScreenReaderMessage, screenReaderMessage, message]);
|
|
49704
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
49663
49705
|
onClick: closeToastNotification,
|
|
49664
49706
|
onKeyDown: function onKeyDown(e) {
|
|
49665
49707
|
return e.key === "Enter" && closeToastNotification();
|
|
@@ -49672,9 +49714,7 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49672
49714
|
padding: "0rem 1rem",
|
|
49673
49715
|
borderRadius: "4px",
|
|
49674
49716
|
boxShadow: generateShadows().standard.base,
|
|
49675
|
-
extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n ")
|
|
49676
|
-
role: role,
|
|
49677
|
-
"aria-live": ariaLive
|
|
49717
|
+
extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n ")
|
|
49678
49718
|
}, rest), /*#__PURE__*/React__default.createElement(Cluster, {
|
|
49679
49719
|
align: "center",
|
|
49680
49720
|
childGap: childGap,
|
|
@@ -49688,16 +49728,22 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49688
49728
|
}, /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
49689
49729
|
weight: FONT_WEIGHT_SEMIBOLD,
|
|
49690
49730
|
extraStyles: "word-break: break-word;"
|
|
49691
|
-
}, message))), /*#__PURE__*/React__default.createElement(IconQuitLarge, null)))
|
|
49731
|
+
}, message))), /*#__PURE__*/React__default.createElement(IconQuitLarge, null))), showScreenReaderMessage && /*#__PURE__*/React__default.createElement("span", {
|
|
49732
|
+
ref: screenReaderMessageRef,
|
|
49733
|
+
style: SCREEN_READER_ONLY,
|
|
49734
|
+
role: role,
|
|
49735
|
+
"aria-live": ariaLive,
|
|
49736
|
+
"aria-atomic": true
|
|
49737
|
+
}));
|
|
49692
49738
|
};
|
|
49693
49739
|
|
|
49694
|
-
var fontWeight$
|
|
49740
|
+
var fontWeight$8 = "600";
|
|
49695
49741
|
var fontColor$1 = WHITE;
|
|
49696
49742
|
var textAlign$1 = "left";
|
|
49697
49743
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
49698
49744
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
49699
|
-
var fallbackValues$
|
|
49700
|
-
fontWeight: fontWeight$
|
|
49745
|
+
var fallbackValues$V = {
|
|
49746
|
+
fontWeight: fontWeight$8,
|
|
49701
49747
|
fontColor: fontColor$1,
|
|
49702
49748
|
textAlign: textAlign$1,
|
|
49703
49749
|
headerBackgroundColor: headerBackgroundColor$1,
|
|
@@ -49741,7 +49787,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
49741
49787
|
src: welcomeImage
|
|
49742
49788
|
})))));
|
|
49743
49789
|
};
|
|
49744
|
-
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
49790
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$V));
|
|
49745
49791
|
|
|
49746
49792
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
49747
49793
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -49801,7 +49847,7 @@ var menuItemColorDelete = RAZZMATAZZ_RED;
|
|
|
49801
49847
|
var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
|
|
49802
49848
|
var menuItemHoverBackgroundColorDelete = BLUSH_RED;
|
|
49803
49849
|
var menuItemHoverColor = ROYAL_BLUE_VIVID;
|
|
49804
|
-
var fallbackValues$
|
|
49850
|
+
var fallbackValues$W = {
|
|
49805
49851
|
menuItemBackgroundColor: menuItemBackgroundColor,
|
|
49806
49852
|
menuItemColor: menuItemColor,
|
|
49807
49853
|
menuItemColorDelete: menuItemColorDelete,
|
|
@@ -49868,15 +49914,15 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
49868
49914
|
extraStyles: textExtraStyles
|
|
49869
49915
|
}, text)));
|
|
49870
49916
|
};
|
|
49871
|
-
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$
|
|
49917
|
+
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$W);
|
|
49872
49918
|
|
|
49873
|
-
var hoverColor$
|
|
49874
|
-
var activeColor$
|
|
49919
|
+
var hoverColor$5 = "#116285";
|
|
49920
|
+
var activeColor$9 = "#0E506D";
|
|
49875
49921
|
var menuTriggerColor = "#15749D";
|
|
49876
49922
|
var backgroundColor$e = "white";
|
|
49877
|
-
var fallbackValues$
|
|
49878
|
-
hoverColor: hoverColor$
|
|
49879
|
-
activeColor: activeColor$
|
|
49923
|
+
var fallbackValues$X = {
|
|
49924
|
+
hoverColor: hoverColor$5,
|
|
49925
|
+
activeColor: activeColor$9,
|
|
49880
49926
|
menuTriggerColor: menuTriggerColor,
|
|
49881
49927
|
backgroundColor: backgroundColor$e
|
|
49882
49928
|
};
|
|
@@ -50010,10 +50056,10 @@ var PopupMenu = function PopupMenu(_ref) {
|
|
|
50010
50056
|
}, item));
|
|
50011
50057
|
})));
|
|
50012
50058
|
};
|
|
50013
|
-
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$
|
|
50059
|
+
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$X);
|
|
50014
50060
|
|
|
50015
50061
|
var pageBackground = "#FBFCFD";
|
|
50016
|
-
var fallbackValues$
|
|
50062
|
+
var fallbackValues$Y = {
|
|
50017
50063
|
pageBackground: pageBackground
|
|
50018
50064
|
};
|
|
50019
50065
|
|
|
@@ -50061,7 +50107,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
50061
50107
|
padding: "0"
|
|
50062
50108
|
})));
|
|
50063
50109
|
};
|
|
50064
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
50110
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$Y));
|
|
50065
50111
|
|
|
50066
50112
|
var CenterStack = function CenterStack(_ref) {
|
|
50067
50113
|
var header = _ref.header,
|
|
@@ -50104,7 +50150,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
50104
50150
|
padding: "0"
|
|
50105
50151
|
})));
|
|
50106
50152
|
};
|
|
50107
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
50153
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$Y));
|
|
50108
50154
|
|
|
50109
50155
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
50110
50156
|
var header = _ref.header,
|
|
@@ -50150,7 +50196,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
50150
50196
|
padding: "0"
|
|
50151
50197
|
})));
|
|
50152
50198
|
};
|
|
50153
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
50199
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$Y));
|
|
50154
50200
|
|
|
50155
50201
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
50156
50202
|
var header = _ref.header,
|
|
@@ -50203,7 +50249,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
50203
50249
|
padding: "0"
|
|
50204
50250
|
})));
|
|
50205
50251
|
};
|
|
50206
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
50252
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$Y));
|
|
50207
50253
|
|
|
50208
50254
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
50209
50255
|
var header = _ref.header,
|
|
@@ -50273,7 +50319,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
50273
50319
|
key: "footer-box"
|
|
50274
50320
|
})));
|
|
50275
50321
|
};
|
|
50276
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
50322
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$Y));
|
|
50277
50323
|
|
|
50278
50324
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
50279
50325
|
var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
@@ -50427,7 +50473,7 @@ exports.NavTabs = NavTabs;
|
|
|
50427
50473
|
exports.NoCustomerResultsIcon = NoCustomerResultsIcon;
|
|
50428
50474
|
exports.NoPaymentResultsIcon = NoPaymentResultsIcon;
|
|
50429
50475
|
exports.NotFoundIcon = NotFoundIcon;
|
|
50430
|
-
exports.Obligation = Obligation;
|
|
50476
|
+
exports.Obligation = Obligation$1;
|
|
50431
50477
|
exports.ObligationIcons = iconsMap;
|
|
50432
50478
|
exports.Pagination = Pagination$1;
|
|
50433
50479
|
exports.Paragraph = Paragraph$1;
|
|
@@ -50471,7 +50517,7 @@ exports.RejectedVelocityIcon = RejectedVelocityIcon;
|
|
|
50471
50517
|
exports.ResetConfirmationForm = ResetConfirmationForm$1;
|
|
50472
50518
|
exports.ResetPasswordForm = ResetPasswordForm;
|
|
50473
50519
|
exports.ResetPasswordIcon = ResetPasswordIcon;
|
|
50474
|
-
exports.ResetPasswordSuccess = ResetPasswordSuccess;
|
|
50520
|
+
exports.ResetPasswordSuccess = ResetPasswordSuccess$1;
|
|
50475
50521
|
exports.RevenueManagementImage = RevenueManagementImage;
|
|
50476
50522
|
exports.RoutingNumberImage = RoutingNumberImage;
|
|
50477
50523
|
exports.SearchIcon = SearchIcon;
|