@thecb/components 10.4.0-beta.0 → 10.4.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs.js +847 -331
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +64 -1
- package/dist/index.esm.js +843 -330
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/badge/Badge.js +6 -2
- package/src/components/atoms/badge/Badge.stories.js +2 -1
- package/src/components/atoms/badge/Badge.theme.js +6 -2
- package/src/components/atoms/breadcrumb/Breadcrumb.js +4 -3
- package/src/components/atoms/breadcrumb/Breadcrumb.theme.js +5 -2
- package/src/components/atoms/button-with-action/ButtonWithAction.js +34 -31
- package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +29 -7
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +72 -3
- package/src/components/atoms/button-with-link/ButtonWithLink.js +7 -3
- package/src/components/atoms/form-layouts/FormInput.js +1 -1
- package/src/components/atoms/icons/AutopayIcon.js +2 -2
- package/src/components/atoms/icons/CloseIcon.d.ts +1 -0
- package/src/components/atoms/icons/CloseIcon.js +48 -0
- package/src/components/atoms/icons/MultiCartIcon.js +12 -10
- package/src/components/atoms/icons/TrashIconV2.d.ts +1 -0
- package/src/components/atoms/icons/TrashIconV2.js +41 -0
- package/src/components/atoms/icons/icons.stories.js +5 -1
- package/src/components/atoms/icons/index.d.ts +2 -0
- package/src/components/atoms/icons/index.js +5 -1
- package/src/components/atoms/jumbo/Jumbo.js +1 -5
- package/src/components/atoms/layouts/Box.js +1 -0
- package/src/components/atoms/layouts/Box.styled.js +15 -0
- package/src/components/atoms/layouts/examples/box-example/BoxExample.stories.js +2 -1
- package/src/components/atoms/link/ExternalLink.styled.js +6 -3
- package/src/components/atoms/link/InternalLink.styled.js +6 -3
- package/src/components/atoms/placeholder/Placeholder.js +1 -1
- package/src/components/atoms/placeholder/Placeholder.stories.js +2 -2
- package/src/components/atoms/text/Text.styled.js +1 -0
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +1 -0
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.stories.js +41 -0
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +10 -2
- package/src/components/molecules/index.d.ts +1 -0
- package/src/components/molecules/index.js +1 -0
- package/src/components/molecules/link-card/LinkCard.js +26 -8
- package/src/components/molecules/link-card/LinkCard.stories.js +68 -34
- package/src/components/molecules/link-card/LinkCard.styled.js +41 -25
- package/src/components/molecules/link-card/LinkCard.theme.js +28 -5
- package/src/components/molecules/obligation/Obligation.js +5 -2
- package/src/components/molecules/obligation/modules/AmountModule.js +13 -1
- package/src/components/molecules/obligation/modules/AmountModule.stories.js +3 -0
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +33 -21
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +15 -3
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +32 -9
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +10 -6
- package/src/components/molecules/pagination/Pagination.js +1 -7
- package/src/components/molecules/pagination/Pagination.stories.js +32 -0
- package/src/components/molecules/pagination/Pagination.theme.js +1 -2
- package/src/components/molecules/payment-button-bar/PaymentButtonBar.js +6 -1
- package/src/components/molecules/tab-sidebar/TabSidebar.js +2 -2
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +1 -0
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +10 -2
- package/src/components/templates/default-page-template/DefaultPageTemplate.js +3 -2
- package/src/constants/index.d.ts +2 -1
- package/src/constants/index.js +12 -3
- package/src/constants/style_constants.d.ts +11 -0
- package/src/constants/style_constants.js +3 -1
package/dist/index.esm.js
CHANGED
|
@@ -4908,6 +4908,7 @@ var COMPACT_JUMBO_HEIGHT = "65px";
|
|
|
4908
4908
|
var FONT_WEIGHT_REGULAR = "400";
|
|
4909
4909
|
var FONT_WEIGHT_BOLD = "700";
|
|
4910
4910
|
var FONT_WEIGHT_SEMIBOLD = "600";
|
|
4911
|
+
var LINK_TEXT_DECORATION = "underline solid 1px";
|
|
4911
4912
|
|
|
4912
4913
|
var style_constants = /*#__PURE__*/Object.freeze({
|
|
4913
4914
|
__proto__: null,
|
|
@@ -4918,7 +4919,8 @@ var style_constants = /*#__PURE__*/Object.freeze({
|
|
|
4918
4919
|
COMPACT_JUMBO_HEIGHT: COMPACT_JUMBO_HEIGHT,
|
|
4919
4920
|
FONT_WEIGHT_REGULAR: FONT_WEIGHT_REGULAR,
|
|
4920
4921
|
FONT_WEIGHT_BOLD: FONT_WEIGHT_BOLD,
|
|
4921
|
-
FONT_WEIGHT_SEMIBOLD: FONT_WEIGHT_SEMIBOLD
|
|
4922
|
+
FONT_WEIGHT_SEMIBOLD: FONT_WEIGHT_SEMIBOLD,
|
|
4923
|
+
LINK_TEXT_DECORATION: LINK_TEXT_DECORATION
|
|
4922
4924
|
});
|
|
4923
4925
|
|
|
4924
4926
|
/*
|
|
@@ -5155,7 +5157,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5155
5157
|
var TextSpan = styled.span.withConfig({
|
|
5156
5158
|
displayName: "Textstyled__TextSpan",
|
|
5157
5159
|
componentId: "sc-1oy97we-0"
|
|
5158
|
-
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";white-space:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
5160
|
+
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";text-decoration:", ";white-space:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
5159
5161
|
var fontSize = _ref.fontSize;
|
|
5160
5162
|
return fontSize;
|
|
5161
5163
|
}, function (_ref2) {
|
|
@@ -5168,17 +5170,20 @@ var TextSpan = styled.span.withConfig({
|
|
|
5168
5170
|
var color = _ref4.color;
|
|
5169
5171
|
return color;
|
|
5170
5172
|
}, function (_ref5) {
|
|
5171
|
-
var
|
|
5172
|
-
return
|
|
5173
|
+
var textDecoration = _ref5.textDecoration;
|
|
5174
|
+
return textDecoration;
|
|
5173
5175
|
}, function (_ref6) {
|
|
5174
|
-
var
|
|
5176
|
+
var $textWrap = _ref6.$textWrap;
|
|
5177
|
+
return $textWrap ? "initial" : "nowrap";
|
|
5178
|
+
}, function (_ref7) {
|
|
5179
|
+
var hoverStyles = _ref7.hoverStyles;
|
|
5175
5180
|
return css(["", ""], hoverStyles);
|
|
5176
|
-
}, ROYAL_BLUE, function (
|
|
5177
|
-
var disabled =
|
|
5178
|
-
disabledStyles =
|
|
5181
|
+
}, ROYAL_BLUE, function (_ref8) {
|
|
5182
|
+
var disabled = _ref8.disabled,
|
|
5183
|
+
disabledStyles = _ref8.disabledStyles;
|
|
5179
5184
|
return disabled && css(["", ""], disabledStyles);
|
|
5180
|
-
}, function (
|
|
5181
|
-
var extraStyles =
|
|
5185
|
+
}, function (_ref9) {
|
|
5186
|
+
var extraStyles = _ref9.extraStyles;
|
|
5182
5187
|
return extraStyles;
|
|
5183
5188
|
});
|
|
5184
5189
|
|
|
@@ -6198,7 +6203,7 @@ return numeral;
|
|
|
6198
6203
|
}));
|
|
6199
6204
|
});
|
|
6200
6205
|
|
|
6201
|
-
var noop = function noop() {};
|
|
6206
|
+
var noop$1 = function noop() {};
|
|
6202
6207
|
var formatMoneyString = function formatMoneyString(s) {
|
|
6203
6208
|
return numeral(s).format("$0,0.00");
|
|
6204
6209
|
};
|
|
@@ -6332,7 +6337,7 @@ var wrapIndex = function wrapIndex(index, length) {
|
|
|
6332
6337
|
|
|
6333
6338
|
var general = /*#__PURE__*/Object.freeze({
|
|
6334
6339
|
__proto__: null,
|
|
6335
|
-
noop: noop,
|
|
6340
|
+
noop: noop$1,
|
|
6336
6341
|
displayCurrency: displayCurrency,
|
|
6337
6342
|
convertCentsToMoneyInt: convertCentsToMoneyInt,
|
|
6338
6343
|
formatPercent: formatPercent,
|
|
@@ -6426,7 +6431,7 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6426
6431
|
}).withConfig({
|
|
6427
6432
|
displayName: "Boxstyled__BoxWrapper",
|
|
6428
6433
|
componentId: "sc-1f9ij0d-0"
|
|
6429
|
-
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
|
|
6434
|
+
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}&[aria-disabled=\"true\"]{", "}& *{color:", ";}", " ", ""], function (_ref2) {
|
|
6430
6435
|
var padding = _ref2.padding;
|
|
6431
6436
|
return padding;
|
|
6432
6437
|
}, function (_ref3) {
|
|
@@ -6481,18 +6486,22 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6481
6486
|
as = _ref17.as;
|
|
6482
6487
|
return css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6483
6488
|
}, function (_ref18) {
|
|
6484
|
-
var
|
|
6485
|
-
|
|
6489
|
+
var disabledStyles = _ref18.disabledStyles,
|
|
6490
|
+
as = _ref18.as;
|
|
6491
|
+
return css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6486
6492
|
}, function (_ref19) {
|
|
6487
|
-
var
|
|
6488
|
-
return
|
|
6493
|
+
var color = _ref19.color;
|
|
6494
|
+
return color;
|
|
6489
6495
|
}, function (_ref20) {
|
|
6490
|
-
var
|
|
6496
|
+
var hiddenStyles = _ref20.hiddenStyles;
|
|
6497
|
+
return hiddenStyles && css(["display:none;"]);
|
|
6498
|
+
}, function (_ref21) {
|
|
6499
|
+
var extraStyles = _ref21.extraStyles;
|
|
6491
6500
|
return css(["", ""], extraStyles);
|
|
6492
6501
|
});
|
|
6493
6502
|
/* eslint-enable no-unused-vars */
|
|
6494
6503
|
|
|
6495
|
-
var _excluded$3 = ["autocompleteValue", "padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "srOnly", "dataQa", "children"];
|
|
6504
|
+
var _excluded$3 = ["autocompleteValue", "padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "srOnly", "dataQa", "disabled", "children"];
|
|
6496
6505
|
|
|
6497
6506
|
/*
|
|
6498
6507
|
Box component to create generic boxes
|
|
@@ -6540,6 +6549,7 @@ var Box = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6540
6549
|
_ref$srOnly = _ref.srOnly,
|
|
6541
6550
|
srOnly = _ref$srOnly === void 0 ? false : _ref$srOnly,
|
|
6542
6551
|
dataQa = _ref.dataQa,
|
|
6552
|
+
_ref$disabled = _ref.disabled,
|
|
6543
6553
|
children = _ref.children,
|
|
6544
6554
|
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
6545
6555
|
return /*#__PURE__*/React.createElement(BoxWrapper, _extends({
|
|
@@ -10515,7 +10525,7 @@ var isRefObject = function (ref) {
|
|
|
10515
10525
|
return typeof ref === "object" && ref.hasOwnProperty("current");
|
|
10516
10526
|
};
|
|
10517
10527
|
|
|
10518
|
-
var noop$
|
|
10528
|
+
var noop$2 = function (v) { return v; };
|
|
10519
10529
|
var ComponentDragControls = /** @class */ (function () {
|
|
10520
10530
|
function ComponentDragControls(_a) {
|
|
10521
10531
|
var ref = _a.ref, values = _a.values, controls = _a.controls;
|
|
@@ -10543,7 +10553,7 @@ var ComponentDragControls = /** @class */ (function () {
|
|
|
10543
10553
|
* @internal
|
|
10544
10554
|
*/
|
|
10545
10555
|
this.props = {
|
|
10546
|
-
transformPagePoint: noop$
|
|
10556
|
+
transformPagePoint: noop$2,
|
|
10547
10557
|
};
|
|
10548
10558
|
/**
|
|
10549
10559
|
* References to the MotionValues used for tracking the current dragged point.
|
|
@@ -12544,6 +12554,86 @@ var Reel = function Reel(_ref) {
|
|
|
12544
12554
|
}), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
|
|
12545
12555
|
};
|
|
12546
12556
|
|
|
12557
|
+
var ACH_METHOD = "BANK_ACCOUNT";
|
|
12558
|
+
var CC_METHOD = "CREDIT_CARD";
|
|
12559
|
+
var CASH_METHOD = "CASH";
|
|
12560
|
+
|
|
12561
|
+
var general$1 = /*#__PURE__*/Object.freeze({
|
|
12562
|
+
__proto__: null,
|
|
12563
|
+
ACH_METHOD: ACH_METHOD,
|
|
12564
|
+
CC_METHOD: CC_METHOD,
|
|
12565
|
+
CASH_METHOD: CASH_METHOD
|
|
12566
|
+
});
|
|
12567
|
+
|
|
12568
|
+
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
12569
|
+
|
|
12570
|
+
var regex_constants = /*#__PURE__*/Object.freeze({
|
|
12571
|
+
__proto__: null,
|
|
12572
|
+
URL_TEST: URL_TEST
|
|
12573
|
+
});
|
|
12574
|
+
|
|
12575
|
+
|
|
12576
|
+
|
|
12577
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
12578
|
+
__proto__: null,
|
|
12579
|
+
colors: colors,
|
|
12580
|
+
general: general$1,
|
|
12581
|
+
regexConstants: regex_constants,
|
|
12582
|
+
styleConstants: style_constants,
|
|
12583
|
+
fontWeights: style_constants
|
|
12584
|
+
});
|
|
12585
|
+
|
|
12586
|
+
var WHITE$1 = WHITE,
|
|
12587
|
+
TRANSPARENT$1 = TRANSPARENT,
|
|
12588
|
+
SAPPHIRE_BLUE$1 = SAPPHIRE_BLUE,
|
|
12589
|
+
PEACOCK_BLUE$1 = PEACOCK_BLUE,
|
|
12590
|
+
MANATEE_GREY$1 = MANATEE_GREY,
|
|
12591
|
+
MATISSE_BLUE$1 = MATISSE_BLUE,
|
|
12592
|
+
RASPBERRY$1 = RASPBERRY,
|
|
12593
|
+
ERROR_COLOR$1 = ERROR_COLOR;
|
|
12594
|
+
var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
|
|
12595
|
+
var disabledBorderColor = {
|
|
12596
|
+
primary: MANATEE_GREY$1,
|
|
12597
|
+
secondary: MANATEE_GREY$1,
|
|
12598
|
+
back: TRANSPARENT$1,
|
|
12599
|
+
smallPrimary: MANATEE_GREY$1,
|
|
12600
|
+
smallSecondary: MANATEE_GREY$1,
|
|
12601
|
+
smallGhost: TRANSPARENT$1,
|
|
12602
|
+
ghost: TRANSPARENT$1,
|
|
12603
|
+
tertiary: TRANSPARENT$1,
|
|
12604
|
+
danger: MANATEE_GREY$1,
|
|
12605
|
+
dangerSecondary: MANATEE_GREY$1,
|
|
12606
|
+
whiteSecondary: MANATEE_GREY$1,
|
|
12607
|
+
whitePrimary: MANATEE_GREY$1
|
|
12608
|
+
};
|
|
12609
|
+
var disabledColor = {
|
|
12610
|
+
primary: WHITE$1,
|
|
12611
|
+
secondary: MANATEE_GREY$1,
|
|
12612
|
+
back: MANATEE_GREY$1,
|
|
12613
|
+
smallPrimary: WHITE$1,
|
|
12614
|
+
smallSecondary: MANATEE_GREY$1,
|
|
12615
|
+
smallGhost: MANATEE_GREY$1,
|
|
12616
|
+
ghost: MANATEE_GREY$1,
|
|
12617
|
+
tertiary: MANATEE_GREY$1,
|
|
12618
|
+
danger: WHITE$1,
|
|
12619
|
+
dangerSecondary: MANATEE_GREY$1,
|
|
12620
|
+
whiteSecondary: MANATEE_GREY$1,
|
|
12621
|
+
whitePrimary: MANATEE_GREY$1
|
|
12622
|
+
};
|
|
12623
|
+
var disabledBackgroundColor = {
|
|
12624
|
+
primary: MANATEE_GREY$1,
|
|
12625
|
+
secondary: TRANSPARENT$1,
|
|
12626
|
+
back: TRANSPARENT$1,
|
|
12627
|
+
smallPrimary: MANATEE_GREY$1,
|
|
12628
|
+
smallSecondary: TRANSPARENT$1,
|
|
12629
|
+
smallGhost: TRANSPARENT$1,
|
|
12630
|
+
ghost: TRANSPARENT$1,
|
|
12631
|
+
tertiary: TRANSPARENT$1,
|
|
12632
|
+
danger: MANATEE_GREY$1,
|
|
12633
|
+
dangerSecondary: TRANSPARENT$1,
|
|
12634
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12635
|
+
whitePrimary: TRANSPARENT$1
|
|
12636
|
+
};
|
|
12547
12637
|
var padding = {
|
|
12548
12638
|
primary: "0.75rem 1.5rem",
|
|
12549
12639
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12559,18 +12649,18 @@ var padding = {
|
|
|
12559
12649
|
whitePrimary: "1.125rem 0.75rem"
|
|
12560
12650
|
};
|
|
12561
12651
|
var color$1 = {
|
|
12562
|
-
primary: WHITE,
|
|
12563
|
-
secondary: MATISSE_BLUE,
|
|
12564
|
-
back: MATISSE_BLUE,
|
|
12565
|
-
smallPrimary: WHITE,
|
|
12566
|
-
smallSecondary: MATISSE_BLUE,
|
|
12567
|
-
smallGhost: MATISSE_BLUE,
|
|
12568
|
-
ghost: MATISSE_BLUE,
|
|
12569
|
-
tertiary: MATISSE_BLUE,
|
|
12570
|
-
danger: WHITE,
|
|
12571
|
-
dangerSecondary: ERROR_COLOR,
|
|
12572
|
-
whiteSecondary: WHITE,
|
|
12573
|
-
whitePrimary: WHITE
|
|
12652
|
+
primary: WHITE$1,
|
|
12653
|
+
secondary: MATISSE_BLUE$1,
|
|
12654
|
+
back: MATISSE_BLUE$1,
|
|
12655
|
+
smallPrimary: WHITE$1,
|
|
12656
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12657
|
+
smallGhost: MATISSE_BLUE$1,
|
|
12658
|
+
ghost: MATISSE_BLUE$1,
|
|
12659
|
+
tertiary: MATISSE_BLUE$1,
|
|
12660
|
+
danger: WHITE$1,
|
|
12661
|
+
dangerSecondary: ERROR_COLOR$1,
|
|
12662
|
+
whiteSecondary: WHITE$1,
|
|
12663
|
+
whitePrimary: WHITE$1
|
|
12574
12664
|
};
|
|
12575
12665
|
var fontSizeVariant = {
|
|
12576
12666
|
primary: "pS",
|
|
@@ -12628,117 +12718,131 @@ var minWidth = {
|
|
|
12628
12718
|
whiteSecondary: "160px",
|
|
12629
12719
|
whitePrimary: "130px"
|
|
12630
12720
|
};
|
|
12721
|
+
var textDecoration = {
|
|
12722
|
+
primary: "none",
|
|
12723
|
+
secondary: "none",
|
|
12724
|
+
back: "none",
|
|
12725
|
+
smallPrimary: "none",
|
|
12726
|
+
smallSecondary: "none",
|
|
12727
|
+
smallGhost: LINK_TEXT_DECORATION$1,
|
|
12728
|
+
ghost: LINK_TEXT_DECORATION$1,
|
|
12729
|
+
tertiary: "none",
|
|
12730
|
+
danger: "none",
|
|
12731
|
+
dangerSecondary: "none",
|
|
12732
|
+
whiteSecondary: "none",
|
|
12733
|
+
whitePrimary: "none"
|
|
12734
|
+
};
|
|
12631
12735
|
var backgroundColor = {
|
|
12632
|
-
primary: MATISSE_BLUE,
|
|
12633
|
-
secondary: TRANSPARENT,
|
|
12634
|
-
back: TRANSPARENT,
|
|
12635
|
-
smallPrimary: MATISSE_BLUE,
|
|
12636
|
-
smallSecondary: TRANSPARENT,
|
|
12637
|
-
smallGhost: TRANSPARENT,
|
|
12638
|
-
ghost: TRANSPARENT,
|
|
12639
|
-
tertiary: TRANSPARENT,
|
|
12640
|
-
danger: RASPBERRY,
|
|
12641
|
-
dangerSecondary: TRANSPARENT,
|
|
12642
|
-
whiteSecondary: TRANSPARENT,
|
|
12643
|
-
whitePrimary: TRANSPARENT
|
|
12736
|
+
primary: MATISSE_BLUE$1,
|
|
12737
|
+
secondary: TRANSPARENT$1,
|
|
12738
|
+
back: TRANSPARENT$1,
|
|
12739
|
+
smallPrimary: MATISSE_BLUE$1,
|
|
12740
|
+
smallSecondary: TRANSPARENT$1,
|
|
12741
|
+
smallGhost: TRANSPARENT$1,
|
|
12742
|
+
ghost: TRANSPARENT$1,
|
|
12743
|
+
tertiary: TRANSPARENT$1,
|
|
12744
|
+
danger: RASPBERRY$1,
|
|
12745
|
+
dangerSecondary: TRANSPARENT$1,
|
|
12746
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12747
|
+
whitePrimary: TRANSPARENT$1
|
|
12644
12748
|
};
|
|
12645
12749
|
var border = {
|
|
12646
|
-
primary: "2px solid " + MATISSE_BLUE,
|
|
12647
|
-
secondary: "2px solid " + MATISSE_BLUE,
|
|
12648
|
-
back: "2px solid " + MATISSE_BLUE,
|
|
12649
|
-
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12650
|
-
smallSecondary: "2px solid " + MATISSE_BLUE,
|
|
12750
|
+
primary: "2px solid " + MATISSE_BLUE$1,
|
|
12751
|
+
secondary: "2px solid " + MATISSE_BLUE$1,
|
|
12752
|
+
back: "2px solid " + MATISSE_BLUE$1,
|
|
12753
|
+
smallPrimary: "2px solid " + MATISSE_BLUE$1,
|
|
12754
|
+
smallSecondary: "2px solid " + MATISSE_BLUE$1,
|
|
12651
12755
|
smallGhost: "none",
|
|
12652
12756
|
ghost: "none",
|
|
12653
12757
|
tertiary: "none",
|
|
12654
|
-
danger: "2px solid " + RASPBERRY,
|
|
12655
|
-
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12656
|
-
whiteSecondary: "2px solid " + WHITE,
|
|
12657
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12758
|
+
danger: "2px solid " + RASPBERRY$1,
|
|
12759
|
+
dangerSecondary: "2px solid " + ERROR_COLOR$1,
|
|
12760
|
+
whiteSecondary: "2px solid " + WHITE$1,
|
|
12761
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12658
12762
|
};
|
|
12659
12763
|
var hoverBackgroundColor = {
|
|
12660
|
-
primary: SAPPHIRE_BLUE,
|
|
12764
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12661
12765
|
secondary: "#DBEAF0",
|
|
12662
|
-
back: TRANSPARENT,
|
|
12663
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12766
|
+
back: TRANSPARENT$1,
|
|
12767
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12664
12768
|
smallSecondary: "#DBEAF0",
|
|
12665
|
-
smallGhost: TRANSPARENT,
|
|
12666
|
-
ghost: TRANSPARENT,
|
|
12667
|
-
tertiary: TRANSPARENT,
|
|
12769
|
+
smallGhost: TRANSPARENT$1,
|
|
12770
|
+
ghost: TRANSPARENT$1,
|
|
12771
|
+
tertiary: TRANSPARENT$1,
|
|
12668
12772
|
danger: "#BA002C",
|
|
12669
12773
|
dangerSecondary: "#FAE7EE",
|
|
12670
|
-
whiteSecondary: TRANSPARENT,
|
|
12671
|
-
whitePrimary: TRANSPARENT
|
|
12774
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12775
|
+
whitePrimary: TRANSPARENT$1
|
|
12672
12776
|
};
|
|
12673
12777
|
var hoverBorderColor = {
|
|
12674
|
-
primary: SAPPHIRE_BLUE,
|
|
12675
|
-
secondary: MATISSE_BLUE,
|
|
12778
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12779
|
+
secondary: MATISSE_BLUE$1,
|
|
12676
12780
|
back: "#DCEAF1",
|
|
12677
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12678
|
-
smallSecondary: MATISSE_BLUE,
|
|
12679
|
-
smallGhost: TRANSPARENT,
|
|
12680
|
-
ghost: TRANSPARENT,
|
|
12681
|
-
tertiary: TRANSPARENT,
|
|
12781
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12782
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12783
|
+
smallGhost: TRANSPARENT$1,
|
|
12784
|
+
ghost: TRANSPARENT$1,
|
|
12785
|
+
tertiary: TRANSPARENT$1,
|
|
12682
12786
|
danger: "#BA002C",
|
|
12683
12787
|
dangerSecondary: "#B10541",
|
|
12684
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12685
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12788
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12789
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12686
12790
|
};
|
|
12687
12791
|
var hoverColor = {
|
|
12688
|
-
primary: WHITE,
|
|
12689
|
-
secondary: SAPPHIRE_BLUE,
|
|
12690
|
-
back: SAPPHIRE_BLUE,
|
|
12691
|
-
smallPrimary: WHITE,
|
|
12692
|
-
smallSecondary: SAPPHIRE_BLUE,
|
|
12693
|
-
smallGhost: SAPPHIRE_BLUE,
|
|
12694
|
-
ghost: SAPPHIRE_BLUE,
|
|
12695
|
-
tertiary: SAPPHIRE_BLUE,
|
|
12696
|
-
danger: WHITE,
|
|
12792
|
+
primary: WHITE$1,
|
|
12793
|
+
secondary: SAPPHIRE_BLUE$1,
|
|
12794
|
+
back: SAPPHIRE_BLUE$1,
|
|
12795
|
+
smallPrimary: WHITE$1,
|
|
12796
|
+
smallSecondary: SAPPHIRE_BLUE$1,
|
|
12797
|
+
smallGhost: SAPPHIRE_BLUE$1,
|
|
12798
|
+
ghost: SAPPHIRE_BLUE$1,
|
|
12799
|
+
tertiary: SAPPHIRE_BLUE$1,
|
|
12800
|
+
danger: WHITE$1,
|
|
12697
12801
|
dangerSecondary: "#B10541",
|
|
12698
|
-
whiteSecondary: WHITE,
|
|
12699
|
-
whitePrimary: WHITE
|
|
12802
|
+
whiteSecondary: WHITE$1,
|
|
12803
|
+
whitePrimary: WHITE$1
|
|
12700
12804
|
};
|
|
12701
12805
|
var activeBackgroundColor = {
|
|
12702
|
-
primary: PEACOCK_BLUE,
|
|
12806
|
+
primary: PEACOCK_BLUE$1,
|
|
12703
12807
|
secondary: "#B8D5E1",
|
|
12704
|
-
back: TRANSPARENT,
|
|
12705
|
-
smallPrimary: PEACOCK_BLUE,
|
|
12808
|
+
back: TRANSPARENT$1,
|
|
12809
|
+
smallPrimary: PEACOCK_BLUE$1,
|
|
12706
12810
|
smallSecondary: "#B8D5E1",
|
|
12707
|
-
smallGhost: TRANSPARENT,
|
|
12708
|
-
ghost: TRANSPARENT,
|
|
12709
|
-
tertiary: TRANSPARENT,
|
|
12811
|
+
smallGhost: TRANSPARENT$1,
|
|
12812
|
+
ghost: TRANSPARENT$1,
|
|
12813
|
+
tertiary: TRANSPARENT$1,
|
|
12710
12814
|
danger: "#870000",
|
|
12711
12815
|
dangerSecondary: "#FAE7EE",
|
|
12712
|
-
whiteSecondary: TRANSPARENT,
|
|
12713
|
-
whitePrimary: TRANSPARENT
|
|
12816
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12817
|
+
whitePrimary: TRANSPARENT$1
|
|
12714
12818
|
};
|
|
12715
12819
|
var activeBorderColor = {
|
|
12716
|
-
primary: PEACOCK_BLUE,
|
|
12717
|
-
secondary: MATISSE_BLUE,
|
|
12718
|
-
back: PEACOCK_BLUE,
|
|
12719
|
-
smallPrimary: PEACOCK_BLUE,
|
|
12720
|
-
smallSecondary: MATISSE_BLUE,
|
|
12721
|
-
smallGhost: TRANSPARENT,
|
|
12722
|
-
ghost: TRANSPARENT,
|
|
12723
|
-
tertiary: TRANSPARENT,
|
|
12820
|
+
primary: PEACOCK_BLUE$1,
|
|
12821
|
+
secondary: MATISSE_BLUE$1,
|
|
12822
|
+
back: PEACOCK_BLUE$1,
|
|
12823
|
+
smallPrimary: PEACOCK_BLUE$1,
|
|
12824
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12825
|
+
smallGhost: TRANSPARENT$1,
|
|
12826
|
+
ghost: TRANSPARENT$1,
|
|
12827
|
+
tertiary: TRANSPARENT$1,
|
|
12724
12828
|
danger: "#870000",
|
|
12725
12829
|
dangerSecondary: "#910029",
|
|
12726
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12727
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12830
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12831
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12728
12832
|
};
|
|
12729
12833
|
var activeColor = {
|
|
12730
|
-
primary: WHITE,
|
|
12731
|
-
secondary: MATISSE_BLUE,
|
|
12732
|
-
back: PEACOCK_BLUE,
|
|
12733
|
-
smallPrimary: WHITE,
|
|
12734
|
-
smallSecondary: PEACOCK_BLUE,
|
|
12735
|
-
smallGhost: PEACOCK_BLUE,
|
|
12736
|
-
ghost: PEACOCK_BLUE,
|
|
12737
|
-
tertiary: PEACOCK_BLUE,
|
|
12738
|
-
danger: WHITE,
|
|
12834
|
+
primary: WHITE$1,
|
|
12835
|
+
secondary: MATISSE_BLUE$1,
|
|
12836
|
+
back: PEACOCK_BLUE$1,
|
|
12837
|
+
smallPrimary: WHITE$1,
|
|
12838
|
+
smallSecondary: PEACOCK_BLUE$1,
|
|
12839
|
+
smallGhost: PEACOCK_BLUE$1,
|
|
12840
|
+
ghost: PEACOCK_BLUE$1,
|
|
12841
|
+
tertiary: PEACOCK_BLUE$1,
|
|
12842
|
+
danger: WHITE$1,
|
|
12739
12843
|
dangerSecondary: "#910029",
|
|
12740
|
-
whiteSecondary: WHITE,
|
|
12741
|
-
whitePrimary: WHITE
|
|
12844
|
+
whiteSecondary: WHITE$1,
|
|
12845
|
+
whitePrimary: WHITE$1
|
|
12742
12846
|
};
|
|
12743
12847
|
var fallbackValues$1 = {
|
|
12744
12848
|
padding: padding,
|
|
@@ -12747,6 +12851,7 @@ var fallbackValues$1 = {
|
|
|
12747
12851
|
fontWeight: fontWeight,
|
|
12748
12852
|
height: height,
|
|
12749
12853
|
minWidth: minWidth,
|
|
12854
|
+
textDecoration: textDecoration,
|
|
12750
12855
|
backgroundColor: backgroundColor,
|
|
12751
12856
|
border: border,
|
|
12752
12857
|
hoverBackgroundColor: hoverBackgroundColor,
|
|
@@ -12754,7 +12859,10 @@ var fallbackValues$1 = {
|
|
|
12754
12859
|
hoverColor: hoverColor,
|
|
12755
12860
|
activeBackgroundColor: activeBackgroundColor,
|
|
12756
12861
|
activeBorderColor: activeBorderColor,
|
|
12757
|
-
activeColor: activeColor
|
|
12862
|
+
activeColor: activeColor,
|
|
12863
|
+
disabledColor: disabledColor,
|
|
12864
|
+
disabledBackgroundColor: disabledBackgroundColor,
|
|
12865
|
+
disabledBorderColor: disabledBorderColor
|
|
12758
12866
|
};
|
|
12759
12867
|
|
|
12760
12868
|
var rotate = posed.div({
|
|
@@ -12821,7 +12929,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12821
12929
|
}))))));
|
|
12822
12930
|
};
|
|
12823
12931
|
|
|
12824
|
-
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "loadingColor", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
|
|
12932
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "disabled", "loadingColor", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
|
|
12825
12933
|
var rotate$1 = posed.div({
|
|
12826
12934
|
fixed: {
|
|
12827
12935
|
rotate: "0deg"
|
|
@@ -12870,12 +12978,12 @@ var Spinner = function Spinner(_ref) {
|
|
|
12870
12978
|
|
|
12871
12979
|
Note: the children prop is only used if contentOverride is set to true, in which case
|
|
12872
12980
|
the text prop is ignored.
|
|
12873
|
-
|
|
12981
|
+
|
|
12874
12982
|
*/
|
|
12875
12983
|
|
|
12876
12984
|
var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
12877
12985
|
var _ref2$action = _ref2.action,
|
|
12878
|
-
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12986
|
+
action = _ref2$action === void 0 ? noop$1 : _ref2$action,
|
|
12879
12987
|
_ref2$variant = _ref2.variant,
|
|
12880
12988
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
12881
12989
|
text = _ref2.text,
|
|
@@ -12883,6 +12991,8 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12883
12991
|
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
12884
12992
|
_ref2$isLoading = _ref2.isLoading,
|
|
12885
12993
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
12994
|
+
_ref2$disabled = _ref2.disabled,
|
|
12995
|
+
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
12886
12996
|
_ref2$loadingColor = _ref2.loadingColor,
|
|
12887
12997
|
loadingColor = _ref2$loadingColor === void 0 ? "white" : _ref2$loadingColor,
|
|
12888
12998
|
_ref2$dataQa = _ref2.dataQa,
|
|
@@ -12899,9 +13009,9 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12899
13009
|
var themeContext = useContext(ThemeContext);
|
|
12900
13010
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12901
13011
|
var isMobile = themeContext.isMobile;
|
|
12902
|
-
var hoverStyles = "\n
|
|
12903
|
-
var activeStyles = "\n
|
|
12904
|
-
var disabledStyles = "\n
|
|
13012
|
+
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
|
|
13013
|
+
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
13014
|
+
var disabledStyles = "\n background-color: ".concat(themeValues.disabledBackgroundColor, ";\n border-color: ").concat(themeValues.disabledBorderColor, ";\n color: ").concat(themeValues.disabledColor, ";\n cursor: default;\n &:focus {\n outline: 3px solid ").concat(themeValues.disabledBorderColor, ";\n outline-offset: 2px;\n }\n ").concat(extraDisabledStyles, "\n ");
|
|
12905
13015
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12906
13016
|
ref: ref,
|
|
12907
13017
|
variant: variant,
|
|
@@ -12910,11 +13020,12 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12910
13020
|
minWidth: themeValues.minWidth,
|
|
12911
13021
|
background: themeValues.backgroundColor,
|
|
12912
13022
|
border: themeValues.border,
|
|
12913
|
-
hoverStyles: hoverStyles,
|
|
12914
|
-
activeStyles: activeStyles,
|
|
13023
|
+
hoverStyles: disabled ? disabledStyles : hoverStyles,
|
|
13024
|
+
activeStyles: disabled ? disabledStyles : activeStyles,
|
|
12915
13025
|
disabledStyles: disabledStyles,
|
|
13026
|
+
"aria-disabled": disabled,
|
|
12916
13027
|
as: "button",
|
|
12917
|
-
onClick: isLoading ?
|
|
13028
|
+
onClick: isLoading || disabled ? noop$1 : action,
|
|
12918
13029
|
borderRadius: "2px",
|
|
12919
13030
|
theme: themeContext,
|
|
12920
13031
|
extraStyles: "margin: 0.5rem; ".concat(extraStyles),
|
|
@@ -12929,7 +13040,8 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12929
13040
|
}) : /*#__PURE__*/React.createElement(Text$1, {
|
|
12930
13041
|
weight: themeValues.fontWeight,
|
|
12931
13042
|
variant: themeValues.fontSizeVariant,
|
|
12932
|
-
color: themeValues.color,
|
|
13043
|
+
color: disabled ? themeValues.disabledColor : themeValues.color,
|
|
13044
|
+
textDecoration: themeValues.textDecoration,
|
|
12933
13045
|
textWrap: textWrap,
|
|
12934
13046
|
extraStyles: textExtraStyles
|
|
12935
13047
|
}, text)));
|
|
@@ -12999,7 +13111,9 @@ var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$2, "in
|
|
|
12999
13111
|
// Fill color based on default "success" variant color
|
|
13000
13112
|
var AutopayIcon = function AutopayIcon(_ref) {
|
|
13001
13113
|
var _ref$fill = _ref.fill,
|
|
13002
|
-
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill
|
|
13114
|
+
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill,
|
|
13115
|
+
_ref$color = _ref.color,
|
|
13116
|
+
color = _ref$color === void 0 ? "#317D4F" : _ref$color;
|
|
13003
13117
|
return /*#__PURE__*/React.createElement("svg", {
|
|
13004
13118
|
width: "16",
|
|
13005
13119
|
height: "16",
|
|
@@ -13023,7 +13137,7 @@ var AutopayIcon = function AutopayIcon(_ref) {
|
|
|
13023
13137
|
mask: "url(#mask0_5560_39870)"
|
|
13024
13138
|
}, /*#__PURE__*/React.createElement("path", {
|
|
13025
13139
|
d: "M0 0H16V16H0V0Z",
|
|
13026
|
-
fill: fill
|
|
13140
|
+
fill: fill || color
|
|
13027
13141
|
})));
|
|
13028
13142
|
};
|
|
13029
13143
|
|
|
@@ -18213,24 +18327,105 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18213
18327
|
}));
|
|
18214
18328
|
};
|
|
18215
18329
|
|
|
18330
|
+
var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
|
|
18216
18331
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18217
18332
|
var _ref$iconFill = _ref.iconFill,
|
|
18218
18333
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18219
|
-
_ref$
|
|
18220
|
-
|
|
18221
|
-
|
|
18222
|
-
|
|
18223
|
-
|
|
18334
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
18335
|
+
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
18336
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
18337
|
+
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
18338
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
18339
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18224
18340
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18225
18341
|
width: iconWidth,
|
|
18226
18342
|
height: iconHeight,
|
|
18227
|
-
viewBox: "0 0
|
|
18343
|
+
viewBox: "0 0 24.81 22.06"
|
|
18344
|
+
}, rest), /*#__PURE__*/React.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React.createElement("path", {
|
|
18345
|
+
d: "M18.7499553,20.499994 C19.348912,20.499994 19.8632339,20.2851508 20.2929204,19.8554643 C20.7226068,19.4257779 20.9374501,18.911456 20.9374501,18.3124993 C20.9374501,17.8958334 20.8267735,17.5117199 20.6054196,17.1601583 C20.3840658,16.8085966 20.0780771,16.5416703 19.6874531,16.3593789 L19.6874531,16.3593789 L19.9218275,15.3828187 C19.9739105,15.0963613 19.9088069,14.835945 19.7265155,14.6015706 C19.544224,14.3671962 19.3098496,14.2500089 19.0233921,14.2500089 L19.0233921,14.2500089 L8.5156047,14.2500089 L8.28123026,13.0000119 L19.7265155,13.0000119 C19.9348481,13.0000119 20.1236501,12.9349077 20.2929204,12.8046999 C20.4621906,12.6744921 20.5728678,12.4922006 20.6249508,12.2578262 L20.6249508,12.2578262 L22.4608839,4.13284556 C22.5390088,3.84638811 22.4869258,3.58597187 22.3046343,3.35159742 C22.1223429,3.11722298 21.8749478,3.00004172 21.5624486,3.00004172 L21.5624486,3.00004172 L6.21092269,3.00004172 L5.85936103,1.24222745 C5.80727802,1.03389482 5.6966008,0.858113985 5.52733057,0.714884961 C5.35806034,0.571655937 5.16925831,0.500041723 4.96092567,0.500041723 L4.96092567,0.500041723 L0.937497765,0.500041723 C0.67708152,0.500041723 0.455728279,0.591187141 0.273436848,0.773478571 C0.0911454173,0.955770002 0,1.17712324 0,1.43753949 L0,1.43753949 L0,2.062538 C0,2.32295424 0.0911454173,2.54430748 0.273436848,2.72659891 C0.455728279,2.90889035 0.67708152,3.00004172 0.937497765,3.00004172 L0.937497765,3.00004172 L3.67186625,3.00004172 L6.40623473,16.3984413 C6.06769367,16.606774 5.80076742,16.8802108 5.60545539,17.2187519 C5.41014335,17.5572929 5.31248733,17.9218752 5.31248733,18.3124993 C5.31248733,18.911456 5.52733057,19.4257779 5.95701705,19.8554643 C6.38670352,20.2851508 6.90102541,20.499994 7.49998212,20.499994 C8.09893883,20.499994 8.61326071,20.2851508 9.04294719,19.8554643 C9.47263367,19.4257779 9.6874769,18.904946 9.6874769,18.2929681 C9.6874769,17.6809901 9.46612307,17.1666689 9.02341599,16.750003 L9.02341599,16.750003 L17.2265214,16.750003 C16.7838143,17.1666689 16.5624605,17.6809901 16.5624605,18.2929681 C16.5624605,18.904946 16.7773037,19.4257779 17.2069902,19.8554643 C17.6366767,20.2851508 18.1509986,20.499994 18.7499553,20.499994 Z",
|
|
18346
|
+
id: "cart-badge-shopping-cart",
|
|
18347
|
+
fill: iconFill,
|
|
18348
|
+
fillRule: "nonzero"
|
|
18349
|
+
}));
|
|
18350
|
+
};
|
|
18351
|
+
|
|
18352
|
+
var _excluded$j = ["iconFill", "iconWidth", "iconHeight"];
|
|
18353
|
+
var CloseIcon = function CloseIcon(_ref) {
|
|
18354
|
+
var _ref$iconFill = _ref.iconFill,
|
|
18355
|
+
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
18356
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
18357
|
+
iconWidth = _ref$iconWidth === void 0 ? "24" : _ref$iconWidth,
|
|
18358
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
18359
|
+
iconHeight = _ref$iconHeight === void 0 ? "24" : _ref$iconHeight,
|
|
18360
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18361
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18362
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18363
|
+
width: iconWidth,
|
|
18364
|
+
height: iconHeight,
|
|
18365
|
+
viewBox: "0 0 24 24",
|
|
18228
18366
|
fill: "none"
|
|
18367
|
+
}, rest), /*#__PURE__*/React.createElement("title", null, "Close Icon"), /*#__PURE__*/React.createElement("path", {
|
|
18368
|
+
fillRule: "evenodd",
|
|
18369
|
+
clipRule: "evenodd",
|
|
18370
|
+
d: "M17.3033 5.98982C17.108 5.79456 16.7915 5.79456 16.5962 5.98982L12 10.586L7.40381 5.98982C7.20854 5.79456 6.89196 5.79456 6.6967 5.98982L5.98959 6.69693C5.79433 6.89219 5.79433 7.20878 5.98959 7.40404L10.5858 12.0002L5.98959 16.5964C5.79433 16.7917 5.79433 17.1083 5.98959 17.3035L6.6967 18.0106C6.89196 18.2059 7.20854 18.2059 7.40381 18.0106L12 13.4144L16.5962 18.0106C16.7915 18.2059 17.108 18.2059 17.3033 18.0106L18.0104 17.3035C18.2057 17.1083 18.2057 16.7917 18.0104 16.5964L13.4142 12.0002L18.0104 7.40404C18.2057 7.20878 18.2057 6.89219 18.0104 6.69693L17.3033 5.98982Z",
|
|
18371
|
+
fill: iconFill
|
|
18372
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
18373
|
+
id: "mask0_3727_16765",
|
|
18374
|
+
style: {
|
|
18375
|
+
maskType: "luminance"
|
|
18376
|
+
},
|
|
18377
|
+
maskUnits: "userSpaceOnUse",
|
|
18378
|
+
x: "5",
|
|
18379
|
+
y: "5",
|
|
18380
|
+
width: "14",
|
|
18381
|
+
height: "14"
|
|
18229
18382
|
}, /*#__PURE__*/React.createElement("path", {
|
|
18230
|
-
|
|
18383
|
+
fillRule: "evenodd",
|
|
18384
|
+
clipRule: "evenodd",
|
|
18385
|
+
d: "M17.3033 5.98982C17.108 5.79456 16.7915 5.79456 16.5962 5.98982L12 10.586L7.40381 5.98982C7.20854 5.79456 6.89196 5.79456 6.6967 5.98982L5.98959 6.69693C5.79433 6.89219 5.79433 7.20878 5.98959 7.40404L10.5858 12.0002L5.98959 16.5964C5.79433 16.7917 5.79433 17.1083 5.98959 17.3035L6.6967 18.0106C6.89196 18.2059 7.20854 18.2059 7.40381 18.0106L12 13.4144L16.5962 18.0106C16.7915 18.2059 17.108 18.2059 17.3033 18.0106L18.0104 17.3035C18.2057 17.1083 18.2057 16.7917 18.0104 16.5964L13.4142 12.0002L18.0104 7.40404C18.2057 7.20878 18.2057 6.89219 18.0104 6.69693L17.3033 5.98982Z",
|
|
18386
|
+
fill: "none"
|
|
18387
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
18388
|
+
mask: "url(#mask0_3727_16765)"
|
|
18389
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18390
|
+
d: "M0 0H24V24H0V0Z",
|
|
18231
18391
|
fill: iconFill
|
|
18392
|
+
})));
|
|
18393
|
+
};
|
|
18394
|
+
|
|
18395
|
+
var TrashIconV2 = function TrashIconV2(_ref) {
|
|
18396
|
+
var themeValues = _ref.themeValues,
|
|
18397
|
+
iconFill = _ref.iconFill;
|
|
18398
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
18399
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18400
|
+
width: "18",
|
|
18401
|
+
height: "18",
|
|
18402
|
+
viewBox: "0 0 18 18",
|
|
18403
|
+
fill: "none"
|
|
18404
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18405
|
+
fillRule: "evenodd",
|
|
18406
|
+
clipRule: "evenodd",
|
|
18407
|
+
d: "M11.5 4H14V6H4V4H6.5L7.21429 3H10.7857L11.5 4ZM6.99048 15C6.25714 15 5.65714 14.4857 5.65714 13.8571L4.85714 7H12.8571L12.0571 13.8571C12.0571 14.4857 11.4571 15 10.7238 15H6.99048Z",
|
|
18408
|
+
fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor
|
|
18409
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
18410
|
+
id: "mask0_4292_11876",
|
|
18411
|
+
style: {
|
|
18412
|
+
maskType: "luminance"
|
|
18413
|
+
},
|
|
18414
|
+
maskUnits: "userSpaceOnUse",
|
|
18415
|
+
x: "4",
|
|
18416
|
+
y: "3",
|
|
18417
|
+
width: "10",
|
|
18418
|
+
height: "12"
|
|
18419
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18420
|
+
fillRule: "evenodd",
|
|
18421
|
+
clipRule: "evenodd",
|
|
18422
|
+
d: "M11.5 4H14V6H4V4H6.5L7.21429 3H10.7857L11.5 4ZM6.99048 15C6.25714 15 5.65714 14.4857 5.65714 13.8571L4.85714 7H12.8571L12.0571 13.8571C12.0571 14.4857 11.4571 15 10.7238 15H6.99048Z",
|
|
18423
|
+
fill: "white"
|
|
18424
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
18425
|
+
mask: "url(#mask0_4292_11876)"
|
|
18232
18426
|
}));
|
|
18233
18427
|
};
|
|
18428
|
+
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$2, "primary");
|
|
18234
18429
|
|
|
18235
18430
|
var color$2 = "#15749D";
|
|
18236
18431
|
var hoverColor$1 = "#116285";
|
|
@@ -18878,7 +19073,7 @@ var mobileFallbackValues = {
|
|
|
18878
19073
|
};
|
|
18879
19074
|
var MOBILE_BREAKPOINT = 768;
|
|
18880
19075
|
|
|
18881
|
-
var _excluded$
|
|
19076
|
+
var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18882
19077
|
|
|
18883
19078
|
/*
|
|
18884
19079
|
New responsive text component for Title elements
|
|
@@ -18925,7 +19120,7 @@ var Title = function Title(_ref) {
|
|
|
18925
19120
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18926
19121
|
dataQa = _ref.dataQa,
|
|
18927
19122
|
children = _ref.children,
|
|
18928
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19123
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18929
19124
|
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
18930
19125
|
variant: variant,
|
|
18931
19126
|
as: as,
|
|
@@ -18967,13 +19162,15 @@ var background$1 = {
|
|
|
18967
19162
|
info: "".concat(INFO_BLUE),
|
|
18968
19163
|
warn: "".concat(HALF_COLONIAL_WHITE),
|
|
18969
19164
|
primary: "".concat(CORNFLOWER_BLUE),
|
|
18970
|
-
success: "".concat(HINT_GREEN)
|
|
19165
|
+
success: "".concat(HINT_GREEN),
|
|
19166
|
+
disabled: "".concat(GRECIAN_GREY)
|
|
18971
19167
|
};
|
|
18972
19168
|
var color$4 = {
|
|
18973
19169
|
info: "".concat(MATISSE_BLUE),
|
|
18974
19170
|
warn: "".concat(ZEST_ORANGE),
|
|
18975
19171
|
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
18976
|
-
success: "".concat(SEA_GREEN)
|
|
19172
|
+
success: "".concat(SEA_GREEN),
|
|
19173
|
+
disabled: "".concat(MANATEE_GREY)
|
|
18977
19174
|
};
|
|
18978
19175
|
var fallbackValues$7 = {
|
|
18979
19176
|
background: background$1,
|
|
@@ -18997,10 +19194,12 @@ var Badge = function Badge(_ref) {
|
|
|
18997
19194
|
return /*#__PURE__*/React.createElement(StyledBadgeContainer, {
|
|
18998
19195
|
background: themeValues.background
|
|
18999
19196
|
}, iconOnLeft && Icon && /*#__PURE__*/React.createElement(Icon, {
|
|
19197
|
+
color: themeValues.color,
|
|
19000
19198
|
fill: themeValues.color
|
|
19001
19199
|
}), /*#__PURE__*/React.createElement(StyledBadge, {
|
|
19002
19200
|
color: themeValues.color
|
|
19003
19201
|
}, label), !iconOnLeft && Icon && /*#__PURE__*/React.createElement(Icon, {
|
|
19202
|
+
color: themeValues.color,
|
|
19004
19203
|
fill: themeValues.color
|
|
19005
19204
|
}));
|
|
19006
19205
|
};
|
|
@@ -20349,12 +20548,12 @@ var fallbackValues$8 = {
|
|
|
20349
20548
|
linkColor: linkColor
|
|
20350
20549
|
};
|
|
20351
20550
|
|
|
20352
|
-
var _excluded$
|
|
20551
|
+
var _excluded$l = ["variant", "themeValues", "children"];
|
|
20353
20552
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
20354
20553
|
var variant = _ref.variant,
|
|
20355
20554
|
themeValues = _ref.themeValues,
|
|
20356
20555
|
children = _ref.children,
|
|
20357
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20556
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
20358
20557
|
var shadowRegistry = {
|
|
20359
20558
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
20360
20559
|
baseHover: "0px 1px 7px 0px ".concat(rgba$1(BLACK, 0.3), ", 0px 1px 4px 0px ").concat(rgba$1(BLACK, 0.2), ", 0px 7px 12px 0px ").concat(rgba$1(BLACK, 0.2), ";"),
|
|
@@ -20372,20 +20571,23 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20372
20571
|
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
|
|
20373
20572
|
|
|
20374
20573
|
// import theme from "styled-theming";
|
|
20574
|
+
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
20575
|
+
STORM_GREY$1 = STORM_GREY;
|
|
20576
|
+
var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
20375
20577
|
|
|
20376
20578
|
/*
|
|
20377
20579
|
For now I'm using string values, eventually shared components library will have its own constants file
|
|
20378
20580
|
for colors/values that should be used here instead
|
|
20379
20581
|
*/
|
|
20380
20582
|
|
|
20381
|
-
var color$5 = "".concat(MATISSE_BLUE);
|
|
20382
|
-
var activeColor$2 = "".concat(STORM_GREY);
|
|
20383
|
-
var activeBreadcrumbColor = "".concat(STORM_GREY);
|
|
20583
|
+
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20584
|
+
var activeColor$2 = "".concat(STORM_GREY$1);
|
|
20585
|
+
var activeBreadcrumbColor = "".concat(STORM_GREY$1);
|
|
20384
20586
|
var fontSize$2 = "0.875rem";
|
|
20385
20587
|
var lineHeight = "1.25rem";
|
|
20386
20588
|
var fontWeight$1 = "400";
|
|
20387
20589
|
var margin = "0.5rem";
|
|
20388
|
-
var hover = "text-decoration:
|
|
20590
|
+
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
20389
20591
|
var fallbackValues$9 = {
|
|
20390
20592
|
color: color$5,
|
|
20391
20593
|
activeColor: activeColor$2,
|
|
@@ -20411,7 +20613,10 @@ var fallbackValues$a = {
|
|
|
20411
20613
|
externalLinkColor: externalLinkColor
|
|
20412
20614
|
};
|
|
20413
20615
|
|
|
20414
|
-
var _excluded$
|
|
20616
|
+
var _excluded$m = ["hoverColor", "activeColor", "extrastyles"];
|
|
20617
|
+
var ROYAL_BLUE$1 = ROYAL_BLUE;
|
|
20618
|
+
var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
|
|
20619
|
+
|
|
20415
20620
|
/*
|
|
20416
20621
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20417
20622
|
unrecognized DOM attributes.
|
|
@@ -20422,14 +20627,14 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20422
20627
|
var hoverColor = _ref.hoverColor,
|
|
20423
20628
|
activeColor = _ref.activeColor,
|
|
20424
20629
|
extrastyles = _ref.extrastyles,
|
|
20425
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20630
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20426
20631
|
return /*#__PURE__*/React.createElement("a", _extends({}, props, {
|
|
20427
20632
|
ref: ref
|
|
20428
20633
|
}));
|
|
20429
20634
|
})).withConfig({
|
|
20430
20635
|
displayName: "ExternalLinkstyled__StyledExternalLink",
|
|
20431
20636
|
componentId: "sc-m1q2m2-0"
|
|
20432
|
-
})(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";&:hover{color:", ";
|
|
20637
|
+
})(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";text-decoration:", ";&:hover{color:", ";}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{color:", ";}", ""], function (_ref2) {
|
|
20433
20638
|
var size = _ref2.size;
|
|
20434
20639
|
return size;
|
|
20435
20640
|
}, function (_ref3) {
|
|
@@ -20444,10 +20649,10 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20444
20649
|
}, function (_ref6) {
|
|
20445
20650
|
var lineheight = _ref6.lineheight;
|
|
20446
20651
|
return lineheight;
|
|
20447
|
-
}, function (_ref7) {
|
|
20652
|
+
}, LINK_TEXT_DECORATION$3, function (_ref7) {
|
|
20448
20653
|
var hoverColor = _ref7.hoverColor;
|
|
20449
20654
|
return hoverColor;
|
|
20450
|
-
}, ROYAL_BLUE, function (_ref8) {
|
|
20655
|
+
}, ROYAL_BLUE$1, function (_ref8) {
|
|
20451
20656
|
var activeColor = _ref8.activeColor;
|
|
20452
20657
|
return activeColor;
|
|
20453
20658
|
}, function (_ref9) {
|
|
@@ -20497,7 +20702,10 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20497
20702
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
20498
20703
|
});
|
|
20499
20704
|
|
|
20500
|
-
var _excluded$
|
|
20705
|
+
var _excluded$n = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20706
|
+
var ROYAL_BLUE$2 = ROYAL_BLUE;
|
|
20707
|
+
var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
|
|
20708
|
+
|
|
20501
20709
|
/*
|
|
20502
20710
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20503
20711
|
unrecognized DOM attributes.
|
|
@@ -20510,14 +20718,14 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20510
20718
|
active = _ref.active,
|
|
20511
20719
|
color = _ref.color,
|
|
20512
20720
|
extrastyles = _ref.extrastyles,
|
|
20513
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20721
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
20514
20722
|
return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
|
|
20515
20723
|
ref: ref
|
|
20516
20724
|
}));
|
|
20517
20725
|
})).withConfig({
|
|
20518
20726
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
20519
20727
|
componentId: "sc-cuqxud-0"
|
|
20520
|
-
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";
|
|
20728
|
+
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";text-decoration:", ";&:hover{color:", ";}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{color:", ";}", ""], function (_ref2) {
|
|
20521
20729
|
var color = _ref2.color,
|
|
20522
20730
|
active = _ref2.active,
|
|
20523
20731
|
activeColor = _ref2.activeColor;
|
|
@@ -20537,10 +20745,10 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20537
20745
|
}, function (_ref7) {
|
|
20538
20746
|
var margin = _ref7.margin;
|
|
20539
20747
|
return margin;
|
|
20540
|
-
}, function (_ref8) {
|
|
20748
|
+
}, LINK_TEXT_DECORATION$4, function (_ref8) {
|
|
20541
20749
|
var hoverColor = _ref8.hoverColor;
|
|
20542
20750
|
return hoverColor;
|
|
20543
|
-
}, ROYAL_BLUE, function (_ref9) {
|
|
20751
|
+
}, ROYAL_BLUE$2, function (_ref9) {
|
|
20544
20752
|
var activeColor = _ref9.activeColor;
|
|
20545
20753
|
return activeColor;
|
|
20546
20754
|
}, function (_ref10) {
|
|
@@ -20613,7 +20821,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20613
20821
|
lineheight: themeValues.lineHeight,
|
|
20614
20822
|
fontWeight: themeValues.fontWeight,
|
|
20615
20823
|
margin: themeValues.margin,
|
|
20616
|
-
extraStyles: "\n text-transform: uppercase;\n ".concat(isActive.toString() === "true" && "
|
|
20824
|
+
extraStyles: "\n text-transform: uppercase;\n text-decoration: none;\n ".concat(isActive.toString() === "true" && "color: ".concat(themeValues.activeBreadcrumbColor, ";\n pointer-events: none;\n "), "\n &:first-child {\n margin-left: 0;\n }\n &:active {\n color: ").concat(themeValues.activeColor, ";\n }")
|
|
20617
20825
|
}, linkText), index < breadcrumbsList.length - 1 ? /*#__PURE__*/React.createElement(IconChevron, null) : /*#__PURE__*/React.createElement(Fragment$1, null));
|
|
20618
20826
|
})));
|
|
20619
20827
|
};
|
|
@@ -22193,9 +22401,7 @@ _curry2(function test(pattern, str) {
|
|
|
22193
22401
|
return _cloneRegExp(pattern).test(str);
|
|
22194
22402
|
});
|
|
22195
22403
|
|
|
22196
|
-
var
|
|
22197
|
-
|
|
22198
|
-
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22404
|
+
var _excluded$o = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22199
22405
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22200
22406
|
var _ref$url = _ref.url,
|
|
22201
22407
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -22203,12 +22409,14 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22203
22409
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
22204
22410
|
_ref$fileLink = _ref.fileLink,
|
|
22205
22411
|
fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
|
|
22206
|
-
extraStyles = _ref.extraStyles,
|
|
22207
|
-
|
|
22412
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
22413
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
22414
|
+
_ref$linkExtraStyles = _ref.linkExtraStyles,
|
|
22415
|
+
linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles,
|
|
22208
22416
|
_ref$newTab = _ref.newTab,
|
|
22209
22417
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22210
22418
|
dataQa = _ref.dataQa,
|
|
22211
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22419
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$o);
|
|
22212
22420
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
22213
22421
|
var children = _ref2.children,
|
|
22214
22422
|
url = _ref2.url,
|
|
@@ -22239,6 +22447,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22239
22447
|
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
|
|
22240
22448
|
dataQa: dataQa
|
|
22241
22449
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, _extends({}, otherProps, {
|
|
22450
|
+
disabled: disabled,
|
|
22242
22451
|
extraStyles: extraStyles
|
|
22243
22452
|
})));
|
|
22244
22453
|
};
|
|
@@ -22295,7 +22504,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
22295
22504
|
return extraStyles;
|
|
22296
22505
|
});
|
|
22297
22506
|
|
|
22298
|
-
var _excluded$
|
|
22507
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
22299
22508
|
var Paragraph = function Paragraph(_ref) {
|
|
22300
22509
|
var themeValues = _ref.themeValues,
|
|
22301
22510
|
_ref$weight = _ref.weight,
|
|
@@ -22309,7 +22518,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22309
22518
|
dataQa = _ref.dataQa,
|
|
22310
22519
|
children = _ref.children,
|
|
22311
22520
|
as = _ref.as,
|
|
22312
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22521
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
22313
22522
|
return /*#__PURE__*/React.createElement(ParagraphText, _extends({
|
|
22314
22523
|
weight: weight,
|
|
22315
22524
|
color: color,
|
|
@@ -22598,7 +22807,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22598
22807
|
name = _ref4.name,
|
|
22599
22808
|
checked = _ref4.checked,
|
|
22600
22809
|
_ref4$onChange = _ref4.onChange,
|
|
22601
|
-
onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
|
|
22810
|
+
onChange = _ref4$onChange === void 0 ? noop$1 : _ref4$onChange,
|
|
22602
22811
|
_ref4$disabled = _ref4.disabled,
|
|
22603
22812
|
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
22604
22813
|
themeValues = _ref4.themeValues,
|
|
@@ -22793,7 +23002,7 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22793
23002
|
padding: "0.875rem",
|
|
22794
23003
|
borderRadius: "4px",
|
|
22795
23004
|
minWidth: "30%",
|
|
22796
|
-
onClick: disabled ? noop : onSelect,
|
|
23005
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
22797
23006
|
borderColor: borderColor,
|
|
22798
23007
|
borderSize: "1px",
|
|
22799
23008
|
color: color,
|
|
@@ -22808,8 +23017,8 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22808
23017
|
name: name,
|
|
22809
23018
|
"aria-label": name,
|
|
22810
23019
|
htmlFor: "checkbox-".concat(name, "-").concat(index),
|
|
22811
|
-
onClick: disabled ? noop : onSelect,
|
|
22812
|
-
onKeyDown: disabled ? noop : onSelect,
|
|
23020
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
23021
|
+
onKeyDown: disabled ? noop$1 : onSelect,
|
|
22813
23022
|
tabIndex: 0
|
|
22814
23023
|
}, /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
22815
23024
|
theme: {
|
|
@@ -24292,7 +24501,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24292
24501
|
_ref13$disabledValues = _ref13.disabledValues,
|
|
24293
24502
|
disabledValues = _ref13$disabledValues === void 0 ? [] : _ref13$disabledValues,
|
|
24294
24503
|
_ref13$onClick = _ref13.onClick,
|
|
24295
|
-
_onClick = _ref13$onClick === void 0 ? noop : _ref13$onClick,
|
|
24504
|
+
_onClick = _ref13$onClick === void 0 ? noop$1 : _ref13$onClick,
|
|
24296
24505
|
themeValues = _ref13.themeValues,
|
|
24297
24506
|
maxHeight = _ref13.maxHeight,
|
|
24298
24507
|
_ref13$widthFitOption = _ref13.widthFitOptions,
|
|
@@ -25618,7 +25827,7 @@ var mobileFallbackValues$1 = {
|
|
|
25618
25827
|
};
|
|
25619
25828
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25620
25829
|
|
|
25621
|
-
var _excluded$
|
|
25830
|
+
var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25622
25831
|
|
|
25623
25832
|
/*
|
|
25624
25833
|
New responsive text component for Detail elements
|
|
@@ -25668,7 +25877,7 @@ var Detail = function Detail(_ref) {
|
|
|
25668
25877
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25669
25878
|
dataQa = _ref.dataQa,
|
|
25670
25879
|
children = _ref.children,
|
|
25671
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25880
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
25672
25881
|
return /*#__PURE__*/React.createElement(DetailText, _extends({
|
|
25673
25882
|
variant: variant,
|
|
25674
25883
|
as: as,
|
|
@@ -25807,7 +26016,7 @@ var useToastNotification = function useToastNotification() {
|
|
|
25807
26016
|
|
|
25808
26017
|
|
|
25809
26018
|
|
|
25810
|
-
var index$
|
|
26019
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
25811
26020
|
__proto__: null,
|
|
25812
26021
|
useOutsideClick: useOutsideClickHook,
|
|
25813
26022
|
useScrollTo: useScrollTo,
|
|
@@ -25908,7 +26117,7 @@ var Popover = function Popover(_ref) {
|
|
|
25908
26117
|
extraStyles: "position: relative; ".concat(extraStyles)
|
|
25909
26118
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
25910
26119
|
action: function action() {
|
|
25911
|
-
return noop;
|
|
26120
|
+
return noop$1;
|
|
25912
26121
|
},
|
|
25913
26122
|
onFocus: function onFocus() {
|
|
25914
26123
|
handleTogglePopover(true);
|
|
@@ -26378,7 +26587,7 @@ var fallbackValues$k = {
|
|
|
26378
26587
|
formFooterPanel: formFooterPanel
|
|
26379
26588
|
};
|
|
26380
26589
|
|
|
26381
|
-
var _excluded$
|
|
26590
|
+
var _excluded$r = ["showErrors", "themeValues"],
|
|
26382
26591
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26383
26592
|
var InputField = styled.input.withConfig({
|
|
26384
26593
|
displayName: "FormInput__InputField",
|
|
@@ -26413,7 +26622,7 @@ var InputField = styled.input.withConfig({
|
|
|
26413
26622
|
var FormattedInputField = styled(function (_ref8) {
|
|
26414
26623
|
var showErrors = _ref8.showErrors,
|
|
26415
26624
|
themeValues = _ref8.themeValues,
|
|
26416
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26625
|
+
props = _objectWithoutProperties(_ref8, _excluded$r);
|
|
26417
26626
|
return /*#__PURE__*/React.createElement(FormattedInput, props);
|
|
26418
26627
|
}).withConfig({
|
|
26419
26628
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26512,7 +26721,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26512
26721
|
color: themeValues.linkColor,
|
|
26513
26722
|
weight: themeValues.fontWeight,
|
|
26514
26723
|
hoverStyles: themeValues.hoverFocusStyles,
|
|
26515
|
-
extraStyles: "cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26724
|
+
extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26516
26725
|
onClick: function onClick() {
|
|
26517
26726
|
return setShowPassword(!showPassword);
|
|
26518
26727
|
},
|
|
@@ -26585,7 +26794,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26585
26794
|
};
|
|
26586
26795
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26587
26796
|
|
|
26588
|
-
var _excluded$
|
|
26797
|
+
var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26589
26798
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26590
26799
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26591
26800
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26594,7 +26803,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26594
26803
|
largeChild = _ref.largeChild,
|
|
26595
26804
|
largeChildSize = _ref.largeChildSize,
|
|
26596
26805
|
children = _ref.children,
|
|
26597
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26806
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26598
26807
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
26599
26808
|
padding: "0"
|
|
26600
26809
|
}, rest), /*#__PURE__*/React.createElement(Switcher, {
|
|
@@ -26605,24 +26814,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26605
26814
|
}, children));
|
|
26606
26815
|
};
|
|
26607
26816
|
|
|
26608
|
-
var _excluded$
|
|
26817
|
+
var _excluded$t = ["childGap", "bottomItem", "children"];
|
|
26609
26818
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26610
26819
|
var _ref$childGap = _ref.childGap,
|
|
26611
26820
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26612
26821
|
bottomItem = _ref.bottomItem,
|
|
26613
26822
|
children = _ref.children,
|
|
26614
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26823
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26615
26824
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
26616
26825
|
childGap: childGap,
|
|
26617
26826
|
bottomItem: bottomItem
|
|
26618
26827
|
}, rest), children);
|
|
26619
26828
|
};
|
|
26620
26829
|
|
|
26621
|
-
var _excluded$
|
|
26830
|
+
var _excluded$u = ["themeValues", "children"];
|
|
26622
26831
|
var FormContainer = function FormContainer(_ref) {
|
|
26623
26832
|
var themeValues = _ref.themeValues,
|
|
26624
26833
|
children = _ref.children,
|
|
26625
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26834
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26626
26835
|
var _useContext = useContext(ThemeContext),
|
|
26627
26836
|
isMobile = _useContext.isMobile;
|
|
26628
26837
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
@@ -26874,7 +27083,7 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
26874
27083
|
inactiveColor = _ref4.inactiveColor,
|
|
26875
27084
|
isActive = _ref4.isActive,
|
|
26876
27085
|
_ref4$onClick = _ref4.onClick,
|
|
26877
|
-
onClick = _ref4$onClick === void 0 ? noop : _ref4$onClick,
|
|
27086
|
+
onClick = _ref4$onClick === void 0 ? noop$1 : _ref4$onClick,
|
|
26878
27087
|
controls = _ref4.controls;
|
|
26879
27088
|
return /*#__PURE__*/React.createElement(Hamburger, {
|
|
26880
27089
|
className: isActive === true ? "active" : "",
|
|
@@ -26932,7 +27141,7 @@ var fallbackValues$o = {
|
|
|
26932
27141
|
fontSize: fontSize$8
|
|
26933
27142
|
};
|
|
26934
27143
|
|
|
26935
|
-
var _excluded$
|
|
27144
|
+
var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26936
27145
|
var Heading = function Heading(_ref) {
|
|
26937
27146
|
var themeValues = _ref.themeValues,
|
|
26938
27147
|
_ref$weight = _ref.weight,
|
|
@@ -26951,7 +27160,7 @@ var Heading = function Heading(_ref) {
|
|
|
26951
27160
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26952
27161
|
dataQa = _ref.dataQa,
|
|
26953
27162
|
children = _ref.children,
|
|
26954
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27163
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26955
27164
|
return /*#__PURE__*/React.createElement(HeadingText, _extends({
|
|
26956
27165
|
variant: variant,
|
|
26957
27166
|
as: as,
|
|
@@ -27038,9 +27247,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27038
27247
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
27039
27248
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
27040
27249
|
openCartSlider = _ref.openCartSlider,
|
|
27041
|
-
extraStyles = _ref.extraStyles
|
|
27042
|
-
cartStatusExtraStyles = _ref.cartStatusExtraStyles,
|
|
27043
|
-
cartStatusThemeValues = _ref.cartStatusThemeValues;
|
|
27250
|
+
extraStyles = _ref.extraStyles;
|
|
27044
27251
|
var _useContext = useContext(ThemeContext),
|
|
27045
27252
|
isMobile = _useContext.isMobile;
|
|
27046
27253
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -27063,8 +27270,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27063
27270
|
minHeight: "100%",
|
|
27064
27271
|
justify: isMobile && !showCartStatus ? "center" : showButton || showCartStatus ? "space-between" : "left",
|
|
27065
27272
|
align: "center",
|
|
27066
|
-
nowrap: showCartStatus
|
|
27067
|
-
extraStyles: cartStatusExtraStyles
|
|
27273
|
+
nowrap: showCartStatus
|
|
27068
27274
|
}, /*#__PURE__*/React.createElement(Title$1, {
|
|
27069
27275
|
variant: isMobile ? "small" : "large",
|
|
27070
27276
|
as: "h1",
|
|
@@ -27081,7 +27287,6 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27081
27287
|
variant: "primary",
|
|
27082
27288
|
extraStyles: "margin: 0 0 65px 0; min-width: 320px;"
|
|
27083
27289
|
}), showCartStatus && /*#__PURE__*/React.createElement(CartStatus, {
|
|
27084
|
-
themeValues: cartStatusThemeValues,
|
|
27085
27290
|
total: total,
|
|
27086
27291
|
itemsCount: itemsCount,
|
|
27087
27292
|
openCart: openCartSlider
|
|
@@ -27156,11 +27361,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
27156
27361
|
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
27157
27362
|
};
|
|
27158
27363
|
|
|
27159
|
-
var _excluded$
|
|
27364
|
+
var _excluded$w = ["version"];
|
|
27160
27365
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
27161
27366
|
var _ref$version = _ref.version,
|
|
27162
27367
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
27163
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27368
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27164
27369
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27165
27370
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
27166
27371
|
};
|
|
@@ -27297,7 +27502,7 @@ var Loading = function Loading() {
|
|
|
27297
27502
|
})))));
|
|
27298
27503
|
};
|
|
27299
27504
|
|
|
27300
|
-
var _excluded$
|
|
27505
|
+
var _excluded$x = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
27301
27506
|
var NavFooter = function NavFooter(_ref) {
|
|
27302
27507
|
var leftContent = _ref.leftContent,
|
|
27303
27508
|
rightContent = _ref.rightContent,
|
|
@@ -27312,7 +27517,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27312
27517
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27313
27518
|
isMobile = _ref.isMobile,
|
|
27314
27519
|
footerWidth = _ref.footerWidth,
|
|
27315
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27520
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27316
27521
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27317
27522
|
padding: footerPadding,
|
|
27318
27523
|
background: backgroundColor,
|
|
@@ -27343,7 +27548,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27343
27548
|
}, rightContent)))))));
|
|
27344
27549
|
};
|
|
27345
27550
|
|
|
27346
|
-
var _excluded$
|
|
27551
|
+
var _excluded$y = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27347
27552
|
var NavHeader = function NavHeader(_ref) {
|
|
27348
27553
|
var leftContent = _ref.leftContent,
|
|
27349
27554
|
rightContent = _ref.rightContent,
|
|
@@ -27352,7 +27557,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27352
27557
|
isMobile = _ref.isMobile,
|
|
27353
27558
|
backgroundColor = _ref.backgroundColor,
|
|
27354
27559
|
headerWidth = _ref.headerWidth,
|
|
27355
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27560
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
27356
27561
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27357
27562
|
padding: "0 16px 4px",
|
|
27358
27563
|
background: backgroundColor,
|
|
@@ -27566,7 +27771,10 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27566
27771
|
dataQa = _ref.dataQa;
|
|
27567
27772
|
return isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
27568
27773
|
to: destination,
|
|
27569
|
-
"data-qa": dataQa
|
|
27774
|
+
"data-qa": dataQa,
|
|
27775
|
+
style: {
|
|
27776
|
+
textDecoration: "none"
|
|
27777
|
+
}
|
|
27570
27778
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27571
27779
|
padding: "0",
|
|
27572
27780
|
minHeight: "100%",
|
|
@@ -27722,7 +27930,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27722
27930
|
themeValues = _ref5.themeValues,
|
|
27723
27931
|
index = _ref5.index,
|
|
27724
27932
|
_ref5$handleChange = _ref5.handleChange,
|
|
27725
|
-
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange,
|
|
27933
|
+
handleChange = _ref5$handleChange === void 0 ? noop$1 : _ref5$handleChange,
|
|
27726
27934
|
field = _ref5.field,
|
|
27727
27935
|
config = _ref5.config;
|
|
27728
27936
|
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
@@ -38606,7 +38814,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38606
38814
|
var _ref6$isOn = _ref6.isOn,
|
|
38607
38815
|
isOn = _ref6$isOn === void 0 ? false : _ref6$isOn,
|
|
38608
38816
|
_ref6$onToggle = _ref6.onToggle,
|
|
38609
|
-
onToggle = _ref6$onToggle === void 0 ? noop : _ref6$onToggle,
|
|
38817
|
+
onToggle = _ref6$onToggle === void 0 ? noop$1 : _ref6$onToggle,
|
|
38610
38818
|
_ref6$disabled = _ref6.disabled,
|
|
38611
38819
|
disabled = _ref6$disabled === void 0 ? false : _ref6$disabled,
|
|
38612
38820
|
_ref6$name = _ref6.name,
|
|
@@ -38714,15 +38922,15 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38714
38922
|
}, /*#__PURE__*/React.createElement(HiddenToggleSwitchBox, {
|
|
38715
38923
|
"aria-label": name,
|
|
38716
38924
|
checked: isOn,
|
|
38717
|
-
onChange: disabled ? noop : onToggle,
|
|
38925
|
+
onChange: disabled ? noop$1 : onToggle,
|
|
38718
38926
|
disabled: disabled,
|
|
38719
38927
|
id: "#toggle-".concat(name),
|
|
38720
38928
|
isMobile: isMobile
|
|
38721
38929
|
}), /*#__PURE__*/React.createElement(VisibleSwitch, {
|
|
38722
38930
|
name: name,
|
|
38723
38931
|
htmlFor: "#toggle-".concat(name),
|
|
38724
|
-
onClick: disabled ? noop : onToggle,
|
|
38725
|
-
onKeyDown: disabled ? noop : handleKeyDown,
|
|
38932
|
+
onClick: disabled ? noop$1 : onToggle,
|
|
38933
|
+
onKeyDown: disabled ? noop$1 : handleKeyDown,
|
|
38726
38934
|
pose: disabled ? "disabled" : isOn ? "on" : "off",
|
|
38727
38935
|
tabIndex: disabled ? -1 : 0,
|
|
38728
38936
|
disabled: disabled,
|
|
@@ -38986,14 +39194,6 @@ var NavTabs = function NavTabs(_ref) {
|
|
|
38986
39194
|
}, tabs)));
|
|
38987
39195
|
};
|
|
38988
39196
|
|
|
38989
|
-
|
|
38990
|
-
|
|
38991
|
-
var index$5 = /*#__PURE__*/Object.freeze({
|
|
38992
|
-
__proto__: null,
|
|
38993
|
-
colors: colors,
|
|
38994
|
-
fontWeights: style_constants
|
|
38995
|
-
});
|
|
38996
|
-
|
|
38997
39197
|
var shineFrames = keyframes$3(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
|
|
38998
39198
|
var LoadingPill = styled.div.withConfig({
|
|
38999
39199
|
displayName: "LoadingPillstyled__LoadingPill",
|
|
@@ -39106,7 +39306,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
39106
39306
|
return extraStyles;
|
|
39107
39307
|
});
|
|
39108
39308
|
|
|
39109
|
-
var _excluded$
|
|
39309
|
+
var _excluded$z = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
39110
39310
|
var TableRow = function TableRow(_ref) {
|
|
39111
39311
|
var children = _ref.children,
|
|
39112
39312
|
extraStyles = _ref.extraStyles,
|
|
@@ -39115,7 +39315,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39115
39315
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
39116
39316
|
onClick = _ref.onClick,
|
|
39117
39317
|
themeValues = _ref.themeValues,
|
|
39118
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
39318
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
39119
39319
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
39120
39320
|
onClick: onClick,
|
|
39121
39321
|
hoverEffect: hoverEffect,
|
|
@@ -39822,7 +40022,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
39822
40022
|
clearOnDismount = _ref.clearOnDismount,
|
|
39823
40023
|
showErrors = _ref.showErrors,
|
|
39824
40024
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
39825
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40025
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
39826
40026
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
39827
40027
|
saveToWallet = _ref.saveToWallet,
|
|
39828
40028
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40022,7 +40222,7 @@ var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
|
40022
40222
|
fields = _ref.fields,
|
|
40023
40223
|
actions = _ref.actions,
|
|
40024
40224
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40025
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40225
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40026
40226
|
showErrors = _ref.showErrors,
|
|
40027
40227
|
isMobile = _ref.isMobile,
|
|
40028
40228
|
revenueManagement = _ref.revenueManagement,
|
|
@@ -40233,8 +40433,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40233
40433
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40234
40434
|
padding: customPadding ? customPadding : "0",
|
|
40235
40435
|
background: themeValues.headingBackgroundColor,
|
|
40236
|
-
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
40237
|
-
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
40436
|
+
onClick: isMobile && supportsTouch ? noop$1 : toggleSection,
|
|
40437
|
+
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop$1,
|
|
40238
40438
|
key: "header",
|
|
40239
40439
|
hoverStyles: "cursor: pointer;",
|
|
40240
40440
|
tabIndex: "0",
|
|
@@ -40452,7 +40652,7 @@ var EditNameForm = function EditNameForm(_ref) {
|
|
|
40452
40652
|
clearOnDismount = _ref.clearOnDismount,
|
|
40453
40653
|
showErrors = _ref.showErrors,
|
|
40454
40654
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40455
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
40655
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
40456
40656
|
if (clearOnDismount) {
|
|
40457
40657
|
useEffect$1(function () {
|
|
40458
40658
|
return function () {
|
|
@@ -40792,7 +40992,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
40792
40992
|
showErrors = _ref.showErrors,
|
|
40793
40993
|
guestCheckout = _ref.guestCheckout,
|
|
40794
40994
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40795
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40995
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40796
40996
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
40797
40997
|
saveToWallet = _ref.saveToWallet,
|
|
40798
40998
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40889,7 +41089,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
|
40889
41089
|
clearOnDismount = _ref.clearOnDismount,
|
|
40890
41090
|
showErrors = _ref.showErrors,
|
|
40891
41091
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40892
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
41092
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
40893
41093
|
if (clearOnDismount) {
|
|
40894
41094
|
useEffect$1(function () {
|
|
40895
41095
|
return function () {
|
|
@@ -42440,11 +42640,31 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
42440
42640
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
42441
42641
|
var iconsMap = (_iconsMap = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_iconsMap, ACCOUNTS_GENERIC_ICON, AccountGenericIcon), ACCOUNTS_CONSTRUCTION_ICON, AccountConstructionIcon), ACCOUNTS_HEALTH_ICON, AccountMedicalIcon), ACCOUNTS_DENTAL_ICON, AccountDentalIcon), ACCOUNTS_UTILITY_ELECTRIC_ICON, AccountElectricIcon), ACCOUNTS_UTILITY_GARBAGE_ICON, AccountGarbageIcon), ACCOUNTS_UTILITY_GAS_ICON, AccountGasIcon), ACCOUNTS_UTILITY_WATER_ICON, AccountWaterIcon), PROPERTIES_PERSONAL_ICON, PropertyPersonalIcon), PROPERTIES_GARAGE_ICON, PropertyGarageIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_iconsMap, PROPERTIES_BUSINESS_ICON, PropertyBusinessIcon), PROPERTIES_STOREFRONT_ICON, PropertyStorefrontIcon), PROPERTIES_APARTMENT_ICON, PropertyApartmentIcon), PROPERTIES_LAND_ICON, PropertyLandIcon), PROPERTIES_CAR_ICON, PropertyCarIcon), PROPERTIES_MOTORCYCLE_ICON, PropertyMotorcycleIcon), PROPERTIES_COMMERCIAL_AUTO_ICON, PropertyCommercialVehicleIcon), MISC_BILL_ICON, AccountBillIcon));
|
|
42442
42642
|
|
|
42443
|
-
var
|
|
42444
|
-
|
|
42445
|
-
|
|
42446
|
-
var
|
|
42643
|
+
var disabledBackgroundColor$1 = {
|
|
42644
|
+
primary: TRANSPARENT
|
|
42645
|
+
};
|
|
42646
|
+
var disabledBorderColor$1 = {
|
|
42647
|
+
primary: GHOST_GREY
|
|
42648
|
+
};
|
|
42649
|
+
var disabledColor$1 = {
|
|
42650
|
+
primary: MANATEE_GREY
|
|
42651
|
+
};
|
|
42652
|
+
var activeBackgroundColor$1 = {
|
|
42653
|
+
primary: CORNFLOWER_BLUE
|
|
42654
|
+
};
|
|
42655
|
+
var backgroundColor$9 = {
|
|
42656
|
+
primary: LINK_WATER
|
|
42657
|
+
};
|
|
42658
|
+
var borderColor$5 = {
|
|
42659
|
+
primary: MOON_RAKER
|
|
42660
|
+
};
|
|
42661
|
+
var color$b = {
|
|
42662
|
+
primary: ROYAL_BLUE_VIVID
|
|
42663
|
+
};
|
|
42447
42664
|
var fallbackValues$I = {
|
|
42665
|
+
disabledBackgroundColor: disabledBackgroundColor$1,
|
|
42666
|
+
disabledBorderColor: disabledBorderColor$1,
|
|
42667
|
+
disabledColor: disabledColor$1,
|
|
42448
42668
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42449
42669
|
backgroundColor: backgroundColor$9,
|
|
42450
42670
|
borderColor: borderColor$5,
|
|
@@ -42454,29 +42674,30 @@ var fallbackValues$I = {
|
|
|
42454
42674
|
var Container = styled(Box).withConfig({
|
|
42455
42675
|
displayName: "LinkCardstyled__Container",
|
|
42456
42676
|
componentId: "sc-l5q1h2-0"
|
|
42457
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;align-self:stretch;border-radius:8px;", " transition:all .2s ease-in-out
|
|
42458
|
-
var
|
|
42459
|
-
|
|
42677
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;align-self:stretch;border-radius:8px;", " transition:all .2s ease-in-out;", ""], function (_ref) {
|
|
42678
|
+
var isDisabled = _ref.isDisabled,
|
|
42679
|
+
theme = _ref.theme;
|
|
42680
|
+
return "\n background-color: ".concat(isDisabled ? theme.disabledBackgroundColor : theme.backgroundColor, ";\n border: 1px solid ").concat(isDisabled ? theme.disabledBorderColor : theme.borderColor, ";\n ");
|
|
42460
42681
|
}, function (_ref2) {
|
|
42461
|
-
var
|
|
42462
|
-
|
|
42463
|
-
},
|
|
42464
|
-
var theme = _ref3.theme;
|
|
42465
|
-
return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.color, ";\n ;");
|
|
42682
|
+
var isDisabled = _ref2.isDisabled,
|
|
42683
|
+
theme = _ref2.theme;
|
|
42684
|
+
return isDisabled ? "\n &:hover,\n &:active {\n cursor: default;\n box-shadow: none;\n border: 1px solid ".concat(theme.disabledBorderColor, ";\n }\n ") : "\n &:hover,\n &:active {\n cursor: pointer;\n box-shadow: 0px 0px 0px 0px rgba(41, 42, 51, 0.1),\n 0px 5px 11px 0px rgba(41, 42, 51, 0.1),\n 0px 4px 19px 0px rgba(41, 42, 51, 0.09),\n 0px 27px 26px 0px rgba(41, 42, 51, 0.05),\n 0px 56px 31px 0px rgba(41, 42, 51, 0.01),\n 0px 80px 33px 0px rgba(41, 42, 51, 0);\n }\n\n &:hover:not(:active) {\n border: 1px solid ".concat(theme.borderColor, ";\n }\n\n &:active {\n background-color: ").concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n }\n ");
|
|
42466
42685
|
});
|
|
42467
42686
|
var Title$2 = styled(Heading$1).withConfig({
|
|
42468
42687
|
displayName: "LinkCardstyled__Title",
|
|
42469
42688
|
componentId: "sc-l5q1h2-1"
|
|
42470
|
-
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (
|
|
42471
|
-
var
|
|
42472
|
-
|
|
42689
|
+
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref3) {
|
|
42690
|
+
var isDisabled = _ref3.isDisabled,
|
|
42691
|
+
theme = _ref3.theme;
|
|
42692
|
+
return "color: ".concat(isDisabled ? theme.disabledColor : theme.color, ";");
|
|
42473
42693
|
});
|
|
42474
42694
|
var Subtitle = styled(Paragraph$1).withConfig({
|
|
42475
42695
|
displayName: "LinkCardstyled__Subtitle",
|
|
42476
42696
|
componentId: "sc-l5q1h2-2"
|
|
42477
|
-
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150
|
|
42478
|
-
var
|
|
42479
|
-
|
|
42697
|
+
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150%;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref4) {
|
|
42698
|
+
var isDisabled = _ref4.isDisabled,
|
|
42699
|
+
theme = _ref4.theme;
|
|
42700
|
+
return "color: ".concat(isDisabled ? theme.disabledColor : theme.color, ";");
|
|
42480
42701
|
});
|
|
42481
42702
|
var Footer = styled(Stack).withConfig({
|
|
42482
42703
|
displayName: "LinkCardstyled__Footer",
|
|
@@ -42501,7 +42722,9 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42501
42722
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
42502
42723
|
themeValues = _ref.themeValues,
|
|
42503
42724
|
_ref$titleVariant = _ref.titleVariant,
|
|
42504
|
-
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant
|
|
42725
|
+
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant,
|
|
42726
|
+
_ref$disabled = _ref.disabled,
|
|
42727
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
42505
42728
|
var _useContext = useContext(ThemeContext),
|
|
42506
42729
|
isMobile = _useContext.isMobile;
|
|
42507
42730
|
var regex = /\W/g;
|
|
@@ -42518,7 +42741,11 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42518
42741
|
extraStyles: extraStyles,
|
|
42519
42742
|
hoverStyles: extraHoverStyles,
|
|
42520
42743
|
activeStyles: extraActiveStyles,
|
|
42521
|
-
onClick: onClick
|
|
42744
|
+
onClick: disabled ? noop$1 : onClick,
|
|
42745
|
+
"aria-disabled": disabled,
|
|
42746
|
+
isDisabled: disabled,
|
|
42747
|
+
role: "group",
|
|
42748
|
+
"aria-label": "".concat(title, ", ").concat(subtitle)
|
|
42522
42749
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
42523
42750
|
childGap: 0,
|
|
42524
42751
|
bottomItem: 3,
|
|
@@ -42533,13 +42760,15 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42533
42760
|
}, /*#__PURE__*/React.createElement(Title$2, {
|
|
42534
42761
|
variant: titleVariant,
|
|
42535
42762
|
theme: themeValues,
|
|
42536
|
-
margin: 0
|
|
42763
|
+
margin: 0,
|
|
42764
|
+
isDisabled: disabled
|
|
42537
42765
|
}, title)), /*#__PURE__*/React.createElement(Box, {
|
|
42538
42766
|
padding: "0 0 40px",
|
|
42539
42767
|
width: "100%"
|
|
42540
42768
|
}, /*#__PURE__*/React.createElement(Subtitle, {
|
|
42541
42769
|
variant: "pS",
|
|
42542
|
-
theme: themeValues
|
|
42770
|
+
theme: themeValues,
|
|
42771
|
+
isDisabled: disabled
|
|
42543
42772
|
}, subtitle)), /*#__PURE__*/React.createElement(Box, {
|
|
42544
42773
|
background: "transparent",
|
|
42545
42774
|
borderWidthOverride: "0 0 0 0",
|
|
@@ -42549,9 +42778,11 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42549
42778
|
direction: "row",
|
|
42550
42779
|
childGap: "6px",
|
|
42551
42780
|
justify: "space-between"
|
|
42552
|
-
}, showLeft &&
|
|
42781
|
+
}, showLeft && !!leftContent ? leftContent : /*#__PURE__*/React.createElement(Box, {
|
|
42782
|
+
extraStyles: "margin-right: auto;"
|
|
42783
|
+
}), showRight && !!rightContent && rightContent))));
|
|
42553
42784
|
};
|
|
42554
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
|
|
42785
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "primary");
|
|
42555
42786
|
|
|
42556
42787
|
var LoginForm = function LoginForm(_ref) {
|
|
42557
42788
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -42559,7 +42790,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
42559
42790
|
actions = _ref.actions,
|
|
42560
42791
|
showErrors = _ref.showErrors,
|
|
42561
42792
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
42562
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
42793
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
42563
42794
|
if (clearOnDismount) {
|
|
42564
42795
|
useEffect$1(function () {
|
|
42565
42796
|
return function () {
|
|
@@ -46424,10 +46655,6 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46424
46655
|
};
|
|
46425
46656
|
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
|
|
46426
46657
|
|
|
46427
|
-
var ACH_METHOD = "BANK_ACCOUNT";
|
|
46428
|
-
var CC_METHOD = "CREDIT_CARD";
|
|
46429
|
-
var CASH_METHOD = "CASH";
|
|
46430
|
-
|
|
46431
46658
|
var IconsModule = function IconsModule(_ref) {
|
|
46432
46659
|
var icon = _ref.icon,
|
|
46433
46660
|
iconDefault = _ref.iconDefault,
|
|
@@ -46507,22 +46734,27 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46507
46734
|
inactive = _ref.inactive,
|
|
46508
46735
|
description = _ref.description,
|
|
46509
46736
|
subDescription = _ref.subDescription,
|
|
46510
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46737
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46738
|
+
_ref$disableActions = _ref.disableActions,
|
|
46739
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions,
|
|
46740
|
+
_action = _ref.action,
|
|
46741
|
+
_onClick = _ref.onClick,
|
|
46742
|
+
onKeyPress = _ref.onKeyPress;
|
|
46511
46743
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46512
46744
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46513
46745
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
46514
46746
|
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
46515
|
-
return "To
|
|
46747
|
+
return "To set up ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
|
|
46516
46748
|
};
|
|
46517
46749
|
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
46518
46750
|
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46519
|
-
var deactivateText = "
|
|
46520
|
-
var activateText = "Set
|
|
46751
|
+
var deactivateText = "Stop ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46752
|
+
var activateText = "Set up ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46521
46753
|
var nextDate = dueDate || nextAutopayDate;
|
|
46522
46754
|
var modalExtraProps = {
|
|
46523
|
-
modalHeaderText: autoPayActive ?
|
|
46524
|
-
modalBodyText: autoPayActive ? "Are you sure you want to
|
|
46525
|
-
continueButtonText: autoPayActive ? "
|
|
46755
|
+
modalHeaderText: autoPayActive ? deactivateText : activateText,
|
|
46756
|
+
modalBodyText: autoPayActive ? "Are you sure you want to stop ".concat(plan, "? ").concat(!inactive && nextDate && nextDate !== "On" ? "Your next payment will be due on " + nextDate + "." : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
|
|
46757
|
+
continueButtonText: autoPayActive ? "Stop ".concat(shortPlan) : "Add",
|
|
46526
46758
|
useDangerButton: autoPayActive,
|
|
46527
46759
|
continueAction: autoPayActive ? function () {
|
|
46528
46760
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -46539,10 +46771,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46539
46771
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46540
46772
|
variant: "secondary",
|
|
46541
46773
|
action: function action() {
|
|
46542
|
-
toggleModal(true);
|
|
46774
|
+
_action || toggleModal(true);
|
|
46543
46775
|
},
|
|
46544
46776
|
dataQa: "Turn off Autopay",
|
|
46545
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;"
|
|
46777
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;",
|
|
46778
|
+
disabled: disableActions
|
|
46546
46779
|
});
|
|
46547
46780
|
}
|
|
46548
46781
|
case "tertiary":
|
|
@@ -46551,10 +46784,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46551
46784
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46552
46785
|
variant: "tertiary",
|
|
46553
46786
|
action: function action() {
|
|
46554
|
-
toggleModal(true);
|
|
46787
|
+
_action || toggleModal(true);
|
|
46555
46788
|
},
|
|
46556
46789
|
dataQa: "Manage Autopay",
|
|
46557
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46790
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46791
|
+
disabled: disableActions
|
|
46558
46792
|
});
|
|
46559
46793
|
}
|
|
46560
46794
|
case "link":
|
|
@@ -46562,7 +46796,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46562
46796
|
return /*#__PURE__*/React.createElement(Box, {
|
|
46563
46797
|
padding: "0",
|
|
46564
46798
|
onClick: function onClick() {
|
|
46565
|
-
toggleModal(true);
|
|
46799
|
+
_onClick || toggleModal(true);
|
|
46566
46800
|
},
|
|
46567
46801
|
hoverStyles: hoverStyles,
|
|
46568
46802
|
activeStyles: activeStyles,
|
|
@@ -46573,9 +46807,9 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46573
46807
|
}, /*#__PURE__*/React.createElement(AutopayOnIcon, null), /*#__PURE__*/React.createElement(Text$1, {
|
|
46574
46808
|
variant: "pS",
|
|
46575
46809
|
onClick: function onClick() {
|
|
46576
|
-
return toggleModal(true);
|
|
46810
|
+
return _onClick || toggleModal(true);
|
|
46577
46811
|
},
|
|
46578
|
-
onKeyPress: function
|
|
46812
|
+
onKeyPress: onKeyPress || function (e) {
|
|
46579
46813
|
e.key === "Enter" && toggleModal(true);
|
|
46580
46814
|
},
|
|
46581
46815
|
tabIndex: "0",
|
|
@@ -46583,16 +46817,17 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46583
46817
|
color: SEA_GREEN,
|
|
46584
46818
|
weight: themeValues.fontWeight,
|
|
46585
46819
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
46586
|
-
extraStyles: "padding-left: 0.25rem;"
|
|
46820
|
+
extraStyles: "padding-left: 0.25rem;",
|
|
46821
|
+
disabled: disableActions
|
|
46587
46822
|
}, "".concat(shortPlan, " ").concat(nextAutopayDate))));
|
|
46588
46823
|
}
|
|
46589
46824
|
}
|
|
46590
46825
|
};
|
|
46591
46826
|
return /*#__PURE__*/React.createElement(Modal$1, _extends({
|
|
46592
|
-
showModal: function
|
|
46827
|
+
showModal: disableActions ? noop$1 : function () {
|
|
46593
46828
|
return toggleModal(true);
|
|
46594
46829
|
},
|
|
46595
|
-
hideModal: function
|
|
46830
|
+
hideModal: disableActions ? noop$1 : function () {
|
|
46596
46831
|
return toggleModal(false);
|
|
46597
46832
|
},
|
|
46598
46833
|
modalOpen: modalOpen
|
|
@@ -46612,7 +46847,9 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46612
46847
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
46613
46848
|
description = _ref.description,
|
|
46614
46849
|
subDescription = _ref.subDescription,
|
|
46615
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46850
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46851
|
+
_ref$disableActions = _ref.disableActions,
|
|
46852
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46616
46853
|
var _useState = useState(false),
|
|
46617
46854
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46618
46855
|
modalOpen = _useState2[0],
|
|
@@ -46642,7 +46879,17 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46642
46879
|
controlType: "link",
|
|
46643
46880
|
description: description,
|
|
46644
46881
|
subDescription: subDescription,
|
|
46645
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46882
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46883
|
+
disableActions: disableActions,
|
|
46884
|
+
action: function action() {
|
|
46885
|
+
return disableActions ? noop$1 : toggleModal(true);
|
|
46886
|
+
},
|
|
46887
|
+
onClick: function onClick() {
|
|
46888
|
+
return disableActions ? noop$1 : toggleModal(true);
|
|
46889
|
+
},
|
|
46890
|
+
onKeyPress: disableActions ? noop$1 : function (e) {
|
|
46891
|
+
e.key === "Enter" && toggleModal(true);
|
|
46892
|
+
}
|
|
46646
46893
|
})));
|
|
46647
46894
|
};
|
|
46648
46895
|
|
|
@@ -46665,8 +46912,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46665
46912
|
description = _ref.description,
|
|
46666
46913
|
subDescription = _ref.subDescription,
|
|
46667
46914
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46668
|
-
_ref$
|
|
46669
|
-
|
|
46915
|
+
_ref$disableActions = _ref.disableActions,
|
|
46916
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46670
46917
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46671
46918
|
var _useState = useState(false),
|
|
46672
46919
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46719,7 +46966,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46719
46966
|
nextAutopayDate: nextAutopayDate,
|
|
46720
46967
|
description: description,
|
|
46721
46968
|
subDescription: subDescription,
|
|
46722
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46969
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46970
|
+
disableActions: disableActions
|
|
46723
46971
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
46724
46972
|
padding: isMobile ? "16px" : "0"
|
|
46725
46973
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
@@ -46732,21 +46980,24 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46732
46980
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46733
46981
|
variant: "tertiary",
|
|
46734
46982
|
text: config.type === "ACCOUNT" ? "Account Details" : "Property Details",
|
|
46735
|
-
action: handleDetailsClick,
|
|
46983
|
+
action: disableActions ? noop$1 : handleDetailsClick,
|
|
46736
46984
|
dataQa: "Account Details",
|
|
46737
46985
|
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46738
46986
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
46739
46987
|
padding: isMobile ? "0 8px 0 0" : "0",
|
|
46740
46988
|
extraStyles: isMobile && "flex-grow: 1;"
|
|
46741
|
-
}, autoPayAvailable && !autoPayEnabled
|
|
46989
|
+
}, autoPayAvailable && !autoPayEnabled ? /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46742
46990
|
variant: "tertiary",
|
|
46743
46991
|
text: "Set Up ".concat(planType),
|
|
46744
46992
|
action: function action() {
|
|
46745
|
-
|
|
46746
|
-
|
|
46993
|
+
if (!disableActions) {
|
|
46994
|
+
setDetailedObligation(obligations, config, obligationAssocID);
|
|
46995
|
+
handleAutopayAction();
|
|
46996
|
+
}
|
|
46747
46997
|
},
|
|
46748
46998
|
dataQa: "Set Up Autopay",
|
|
46749
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46999
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
47000
|
+
disabled: disableActions
|
|
46750
47001
|
}) : /*#__PURE__*/React.createElement(AutopayModalModule, {
|
|
46751
47002
|
autoPayActive: autoPayEnabled,
|
|
46752
47003
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -46762,29 +47013,39 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46762
47013
|
dueDate: dueDate,
|
|
46763
47014
|
description: description,
|
|
46764
47015
|
subDescription: subDescription,
|
|
46765
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46766
|
-
|
|
47016
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47017
|
+
disableActions: disableActions,
|
|
47018
|
+
action: disableActions ? noop$1 : toggleModal(true),
|
|
47019
|
+
onClick: disableActions ? noop$1 : toggleModal(true),
|
|
47020
|
+
onKeyPress: disableActions ? noop$1 : function (e) {
|
|
47021
|
+
e.key === "Enter" && toggleModal(true);
|
|
47022
|
+
}
|
|
47023
|
+
})), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46767
47024
|
padding: "0"
|
|
46768
47025
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46769
47026
|
isLoading: isLoading,
|
|
46770
|
-
action: function
|
|
47027
|
+
action: disableActions ? noop$1 : function () {
|
|
46771
47028
|
return handleClick(obligations);
|
|
46772
47029
|
},
|
|
46773
47030
|
text: "Pay Now",
|
|
46774
47031
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46775
|
-
dataQa: "Pay Now"
|
|
46776
|
-
|
|
47032
|
+
dataQa: "Pay Now",
|
|
47033
|
+
disabled: disableActions
|
|
47034
|
+
}))), isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46777
47035
|
padding: "8px 0 0",
|
|
46778
47036
|
width: "100%"
|
|
46779
47037
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46780
47038
|
isLoading: isLoading,
|
|
46781
47039
|
action: function action() {
|
|
46782
|
-
return
|
|
47040
|
+
return disableActions ? noop$1 : function () {
|
|
47041
|
+
return handleClick(obligations);
|
|
47042
|
+
};
|
|
46783
47043
|
},
|
|
46784
47044
|
text: "Pay Now",
|
|
46785
47045
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46786
47046
|
dataQa: "Pay Now",
|
|
46787
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
47047
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
|
|
47048
|
+
disabled: disableActions
|
|
46788
47049
|
}))));
|
|
46789
47050
|
};
|
|
46790
47051
|
|
|
@@ -46794,7 +47055,9 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46794
47055
|
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
46795
47056
|
removeAccount = _ref.removeAccount,
|
|
46796
47057
|
accountType = _ref.accountType,
|
|
46797
|
-
isMobile = _ref.isMobile
|
|
47058
|
+
isMobile = _ref.isMobile,
|
|
47059
|
+
_ref$disableActions = _ref.disableActions,
|
|
47060
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46798
47061
|
var _useState = useState(false),
|
|
46799
47062
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46800
47063
|
modalIsOpen = _useState2[0],
|
|
@@ -46807,10 +47070,10 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46807
47070
|
}, "".concat(agencyName, " - ")) : "";
|
|
46808
47071
|
var identifier = accountType === "Account" && obligations.length > 1 ? "accounts" : accountType === "Property" && obligations.length > 1 ? "properties" : accountType.toLowerCase();
|
|
46809
47072
|
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
46810
|
-
showModal: function
|
|
47073
|
+
showModal: disableActions ? noop : function () {
|
|
46811
47074
|
return setModalIsOpen(true);
|
|
46812
47075
|
},
|
|
46813
|
-
hideModal: function
|
|
47076
|
+
hideModal: disableActions ? noop : function () {
|
|
46814
47077
|
return setModalIsOpen(false);
|
|
46815
47078
|
},
|
|
46816
47079
|
modalOpen: modalIsOpen,
|
|
@@ -46818,8 +47081,10 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46818
47081
|
modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, "? Any autopay scheduled against ").concat(obligations.length > 1 ? "them" : "it", " will be deactivated."),
|
|
46819
47082
|
continueButtonText: "Remove",
|
|
46820
47083
|
continueAction: function continueAction() {
|
|
46821
|
-
|
|
46822
|
-
|
|
47084
|
+
if (!disableActions) {
|
|
47085
|
+
removeAccount();
|
|
47086
|
+
setModalIsOpen(false);
|
|
47087
|
+
}
|
|
46823
47088
|
},
|
|
46824
47089
|
useDangerButton: true
|
|
46825
47090
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -46828,11 +47093,12 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46828
47093
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46829
47094
|
text: "Remove",
|
|
46830
47095
|
variant: "secondary",
|
|
46831
|
-
action: function
|
|
47096
|
+
action: disableActions ? noop : function () {
|
|
46832
47097
|
return setModalIsOpen(true);
|
|
46833
47098
|
},
|
|
46834
47099
|
dataQa: "Remove Account",
|
|
46835
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
47100
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;",
|
|
47101
|
+
disabled: disableActions
|
|
46836
47102
|
})));
|
|
46837
47103
|
};
|
|
46838
47104
|
|
|
@@ -46852,7 +47118,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46852
47118
|
actions = _ref.actions,
|
|
46853
47119
|
description = _ref.description,
|
|
46854
47120
|
subDescription = _ref.subDescription,
|
|
46855
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
47121
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
47122
|
+
_ref$disableActions = _ref.disableActions,
|
|
47123
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46856
47124
|
var _useState = useState(false),
|
|
46857
47125
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46858
47126
|
modalOpen = _useState2[0],
|
|
@@ -46890,15 +47158,22 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46890
47158
|
inactive: true,
|
|
46891
47159
|
description: description,
|
|
46892
47160
|
subDescription: subDescription,
|
|
46893
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47161
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47162
|
+
disableActions: disableActions,
|
|
47163
|
+
action: disableActions ? noop$1 : toggleModal(true),
|
|
47164
|
+
onClick: disableActions ? noop$1 : toggleModal(true),
|
|
47165
|
+
onKeyPress: disableActions ? noop$1 : function (e) {
|
|
47166
|
+
e.key === "Enter" && toggleModal(true);
|
|
47167
|
+
}
|
|
46894
47168
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
46895
47169
|
padding: "0",
|
|
46896
47170
|
extraStyles: "flex-grow: 1;"
|
|
46897
47171
|
}, /*#__PURE__*/React.createElement(RemoveAccountModalModule, {
|
|
46898
47172
|
agencyName: agencyName,
|
|
46899
|
-
removeAccount: handleRemoveAccount,
|
|
47173
|
+
removeAccount: disableActions ? noop$1 : handleRemoveAccount,
|
|
46900
47174
|
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
46901
|
-
isMobile: isMobile
|
|
47175
|
+
isMobile: isMobile,
|
|
47176
|
+
disableActions: disableActions
|
|
46902
47177
|
}))));
|
|
46903
47178
|
};
|
|
46904
47179
|
|
|
@@ -47028,7 +47303,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47028
47303
|
nextAutopayDate: nextAutopayDate,
|
|
47029
47304
|
description: description,
|
|
47030
47305
|
subDescription: subDescription,
|
|
47031
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47306
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47307
|
+
disableActions: isInCustomerManagement
|
|
47032
47308
|
}))), !isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
47033
47309
|
obligations: obligations,
|
|
47034
47310
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47047,7 +47323,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47047
47323
|
description: description,
|
|
47048
47324
|
subDescription: subDescription,
|
|
47049
47325
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47050
|
-
|
|
47326
|
+
disableActions: isInCustomerManagement
|
|
47051
47327
|
}))), isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
47052
47328
|
obligations: obligations,
|
|
47053
47329
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47066,7 +47342,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47066
47342
|
description: description,
|
|
47067
47343
|
subDescription: subDescription,
|
|
47068
47344
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47069
|
-
|
|
47345
|
+
disableActions: isInCustomerManagement
|
|
47070
47346
|
}));
|
|
47071
47347
|
var inactiveObligation = /*#__PURE__*/React.createElement(Box, {
|
|
47072
47348
|
padding: "0",
|
|
@@ -47122,7 +47398,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47122
47398
|
configType: config.type,
|
|
47123
47399
|
description: description,
|
|
47124
47400
|
subDescription: subDescription,
|
|
47125
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47401
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47402
|
+
disableActions: isInCustomerManagement
|
|
47126
47403
|
}))), isMobile && /*#__PURE__*/React.createElement(InactiveControlsModule, {
|
|
47127
47404
|
obligations: obligations,
|
|
47128
47405
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47139,7 +47416,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47139
47416
|
configType: config.type,
|
|
47140
47417
|
description: description,
|
|
47141
47418
|
subDescription: subDescription,
|
|
47142
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47419
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47420
|
+
disableActions: isInCustomerManagement
|
|
47143
47421
|
}))));
|
|
47144
47422
|
return inactive ? inactiveObligation : activeObligation;
|
|
47145
47423
|
};
|
|
@@ -47351,6 +47629,7 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
47351
47629
|
var Pagination = function Pagination(_ref3) {
|
|
47352
47630
|
var _ref3$activeBorderWid = _ref3.activeBorderWidth,
|
|
47353
47631
|
activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
|
|
47632
|
+
ariaLabel = _ref3.ariaLabel,
|
|
47354
47633
|
arrowColor = _ref3.arrowColor,
|
|
47355
47634
|
_ref3$borderRadius = _ref3.borderRadius,
|
|
47356
47635
|
borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
|
|
@@ -47370,11 +47649,10 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47370
47649
|
pageNext = _ref3.pageNext,
|
|
47371
47650
|
pagePrevious = _ref3.pagePrevious,
|
|
47372
47651
|
setCurrentPage = _ref3.setCurrentPage,
|
|
47373
|
-
ariaLabel = _ref3.ariaLabel,
|
|
47374
47652
|
themeValues = _ref3.themeValues;
|
|
47375
47653
|
var _useContext = useContext(ThemeContext),
|
|
47376
47654
|
isMobile = _useContext.isMobile;
|
|
47377
|
-
var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n
|
|
47655
|
+
var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n > * > span {\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, "\n }\n margin: 0;\n &:hover {\n background-color: ").concat(themeValues.hoverBackgroundColor, "\n }\n ");
|
|
47378
47656
|
var currentPageStyles = "\n border: ".concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.activeColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n &:focus {\n box-shadow: none;\n }\n &:hover {\n background-color: initial;\n border: ").concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n }\n ");
|
|
47379
47657
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
47380
47658
|
justify: "center",
|
|
@@ -47421,7 +47699,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47421
47699
|
return setCurrentPage({
|
|
47422
47700
|
pageNumber: item.index
|
|
47423
47701
|
});
|
|
47424
|
-
} : noop,
|
|
47702
|
+
} : noop$1,
|
|
47425
47703
|
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
47426
47704
|
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
47427
47705
|
dataQa: index
|
|
@@ -47477,7 +47755,11 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47477
47755
|
_ref$hideForwardButto = _ref.hideForwardButton,
|
|
47478
47756
|
hideForwardButton = _ref$hideForwardButto === void 0 ? false : _ref$hideForwardButto,
|
|
47479
47757
|
_ref$hideBackButton = _ref.hideBackButton,
|
|
47480
|
-
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton
|
|
47758
|
+
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton,
|
|
47759
|
+
buttonGroupStyles = _ref.buttonGroupStyles,
|
|
47760
|
+
_ref$hideAdditionalBu = _ref.hideAdditionalButton,
|
|
47761
|
+
hideAdditionalButton = _ref$hideAdditionalBu === void 0 ? false : _ref$hideAdditionalBu,
|
|
47762
|
+
additionalButton = _ref.additionalButton;
|
|
47481
47763
|
var _useContext = useContext(ThemeContext),
|
|
47482
47764
|
isMobile = _useContext.isMobile;
|
|
47483
47765
|
var backButton = !!cancelURL && !!cancelText ? /*#__PURE__*/React.createElement(ButtonWithLink, {
|
|
@@ -47523,8 +47805,9 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47523
47805
|
padding: "2.5rem 0 3.125rem 0"
|
|
47524
47806
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
47525
47807
|
justify: buttonFlexOverride ? buttonFlexOverride : !!backButton ? "space-between" : "flex-end",
|
|
47526
|
-
align: "center"
|
|
47527
|
-
|
|
47808
|
+
align: "center",
|
|
47809
|
+
extraStyles: buttonGroupStyles
|
|
47810
|
+
}, !hideBackButton && /*#__PURE__*/React.createElement(Fragment$1, null, backButton), !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton), !hideAdditionalButton && /*#__PURE__*/React.createElement(Fragment$1, null, additionalButton))));
|
|
47528
47811
|
};
|
|
47529
47812
|
|
|
47530
47813
|
var backgroundColor$c = {
|
|
@@ -47550,7 +47833,7 @@ var fallbackValues$N = {
|
|
|
47550
47833
|
labeledAmountTotal: labeledAmountTotal
|
|
47551
47834
|
};
|
|
47552
47835
|
|
|
47553
|
-
var _excluded$
|
|
47836
|
+
var _excluded$A = ["amount"],
|
|
47554
47837
|
_excluded2$1 = ["amount"];
|
|
47555
47838
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47556
47839
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47773,7 +48056,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47773
48056
|
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
47774
48057
|
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
47775
48058
|
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
47776
|
-
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
48059
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop$1 : _ref4$partialVoidActi,
|
|
47777
48060
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
47778
48061
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
47779
48062
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
@@ -47790,7 +48073,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47790
48073
|
return fee.amount > 0;
|
|
47791
48074
|
}).map(function (_ref5) {
|
|
47792
48075
|
var amount = _ref5.amount,
|
|
47793
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
48076
|
+
rest = _objectWithoutProperties(_ref5, _excluded$A);
|
|
47794
48077
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47795
48078
|
amount: displayCurrency(amount)
|
|
47796
48079
|
});
|
|
@@ -47907,12 +48190,16 @@ var fontWeight$7 = {
|
|
|
47907
48190
|
var modalLinkHoverFocus$1 = {
|
|
47908
48191
|
"default": "outline: none; text-decoration: underline;"
|
|
47909
48192
|
};
|
|
48193
|
+
var linkTextDecoration = {
|
|
48194
|
+
"default": LINK_TEXT_DECORATION
|
|
48195
|
+
};
|
|
47910
48196
|
var fallbackValues$O = {
|
|
47911
48197
|
linkColor: linkColor$5,
|
|
47912
48198
|
fontSize: fontSize$a,
|
|
47913
48199
|
lineHeight: lineHeight$4,
|
|
47914
48200
|
fontWeight: fontWeight$7,
|
|
47915
|
-
modalLinkHoverFocus: modalLinkHoverFocus$1
|
|
48201
|
+
modalLinkHoverFocus: modalLinkHoverFocus$1,
|
|
48202
|
+
linkTextDecoration: linkTextDecoration
|
|
47916
48203
|
};
|
|
47917
48204
|
|
|
47918
48205
|
var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
@@ -47966,6 +48253,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
47966
48253
|
color: themeValues.linkColor,
|
|
47967
48254
|
weight: themeValues.fontWeight,
|
|
47968
48255
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48256
|
+
textDecoration: themeValues.linkTextDecoration,
|
|
47969
48257
|
extraStyles: "cursor: pointer;",
|
|
47970
48258
|
role: "button",
|
|
47971
48259
|
className: "modal-trigger"
|
|
@@ -48002,6 +48290,10 @@ var modalLinkHoverFocus$2 = {
|
|
|
48002
48290
|
"default": standardInteractionStyles,
|
|
48003
48291
|
footer: standardInteractionStyles
|
|
48004
48292
|
};
|
|
48293
|
+
var modalLinkTextDecoration = {
|
|
48294
|
+
"default": LINK_TEXT_DECORATION,
|
|
48295
|
+
footer: "none"
|
|
48296
|
+
};
|
|
48005
48297
|
var fallbackValues$P = {
|
|
48006
48298
|
backgroundColor: backgroundColor$d,
|
|
48007
48299
|
linkColor: linkColor$6,
|
|
@@ -48009,7 +48301,8 @@ var fallbackValues$P = {
|
|
|
48009
48301
|
fontSize: fontSize$b,
|
|
48010
48302
|
lineHeight: lineHeight$5,
|
|
48011
48303
|
fontWeight: fontWeight$8,
|
|
48012
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
48304
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2,
|
|
48305
|
+
modalLinkTextDecoration: modalLinkTextDecoration
|
|
48013
48306
|
};
|
|
48014
48307
|
|
|
48015
48308
|
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
@@ -48066,6 +48359,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48066
48359
|
color: themeValues.linkColor,
|
|
48067
48360
|
weight: themeValues.fontWeight,
|
|
48068
48361
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48362
|
+
textDecoration: themeValues.modalLinkTextDecoration,
|
|
48069
48363
|
extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
|
|
48070
48364
|
role: "button" // This should always be a "button" since it opens a modal
|
|
48071
48365
|
,
|
|
@@ -48199,11 +48493,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48199
48493
|
}, errorMessage))))));
|
|
48200
48494
|
};
|
|
48201
48495
|
|
|
48202
|
-
var _excluded$
|
|
48496
|
+
var _excluded$B = ["version"];
|
|
48203
48497
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48204
48498
|
var _ref$version = _ref.version,
|
|
48205
48499
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48206
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48500
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
48207
48501
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48208
48502
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
48209
48503
|
};
|
|
@@ -48221,7 +48515,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48221
48515
|
actions = _ref.actions,
|
|
48222
48516
|
showErrors = _ref.showErrors,
|
|
48223
48517
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48224
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48518
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48225
48519
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48226
48520
|
saveToWallet = _ref.saveToWallet,
|
|
48227
48521
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48423,7 +48717,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48423
48717
|
actions = _ref.actions,
|
|
48424
48718
|
showErrors = _ref.showErrors,
|
|
48425
48719
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48426
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48720
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48427
48721
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48428
48722
|
saveToWallet = _ref.saveToWallet,
|
|
48429
48723
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48727,7 +49021,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
48727
49021
|
clearOnDismount = _ref.clearOnDismount,
|
|
48728
49022
|
showErrors = _ref.showErrors,
|
|
48729
49023
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48730
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49024
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48731
49025
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48732
49026
|
saveToWallet = _ref.saveToWallet,
|
|
48733
49027
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48803,7 +49097,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48803
49097
|
config = _ref.config,
|
|
48804
49098
|
extraStyles = _ref.extraStyles,
|
|
48805
49099
|
_ref$handleChange = _ref.handleChange,
|
|
48806
|
-
handleChange = _ref$handleChange === void 0 ? noop : _ref$handleChange,
|
|
49100
|
+
handleChange = _ref$handleChange === void 0 ? noop$1 : _ref$handleChange,
|
|
48807
49101
|
field = _ref.field,
|
|
48808
49102
|
fieldActions = _ref.fieldActions;
|
|
48809
49103
|
var setValue = function setValue(value) {
|
|
@@ -48868,7 +49162,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48868
49162
|
ariaLabelledBy = _ref.ariaLabelledBy,
|
|
48869
49163
|
isLastGroupedItemInSection = _ref.isLastGroupedItemInSection,
|
|
48870
49164
|
_ref$onKeyDown = _ref.onKeyDown,
|
|
48871
|
-
onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
|
|
49165
|
+
onKeyDown = _ref$onKeyDown === void 0 ? noop$1 : _ref$onKeyDown;
|
|
48872
49166
|
var wrapper = {
|
|
48873
49167
|
open: {
|
|
48874
49168
|
height: openHeight,
|
|
@@ -48925,12 +49219,12 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48925
49219
|
"aria-required": section.required,
|
|
48926
49220
|
"aria-labelledby": ariaLabelledBy,
|
|
48927
49221
|
"aria-describedby": ariaDescribedBy,
|
|
48928
|
-
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
49222
|
+
onClick: isMobile && supportsTouch || section.disabled ? noop$1 : function () {
|
|
48929
49223
|
return toggleOpenSection(section.id);
|
|
48930
49224
|
},
|
|
48931
49225
|
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
48932
49226
|
return toggleOpenSection(section.id);
|
|
48933
|
-
} : noop,
|
|
49227
|
+
} : noop$1,
|
|
48934
49228
|
id: "inner-radio-section-".concat(sectionIndex),
|
|
48935
49229
|
"data-qa": section.dataQa ? section.dataQa : section.id || "inner-radio-section-".concat(sectionIndex)
|
|
48936
49230
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
@@ -48960,7 +49254,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48960
49254
|
ariaDescribedBy: ariaDescribedBy,
|
|
48961
49255
|
radioOn: openSection === section.id,
|
|
48962
49256
|
radioFocused: focused === section.id,
|
|
48963
|
-
toggleRadio: section.disabled ? noop : function () {
|
|
49257
|
+
toggleRadio: section.disabled ? noop$1 : function () {
|
|
48964
49258
|
return toggleOpenSection(section.id);
|
|
48965
49259
|
},
|
|
48966
49260
|
tabIndex: "-1",
|
|
@@ -49002,7 +49296,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49002
49296
|
}, section.content))));
|
|
49003
49297
|
};
|
|
49004
49298
|
|
|
49005
|
-
var _excluded$
|
|
49299
|
+
var _excluded$C = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
49006
49300
|
|
|
49007
49301
|
/**
|
|
49008
49302
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49050,7 +49344,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49050
49344
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49051
49345
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49052
49346
|
groupedSections = _ref.groupedSections,
|
|
49053
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49347
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
49054
49348
|
var _useState = useState(null),
|
|
49055
49349
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49056
49350
|
focused = _useState2[0],
|
|
@@ -49144,7 +49438,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
49144
49438
|
fields = _ref.fields,
|
|
49145
49439
|
actions = _ref.actions,
|
|
49146
49440
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49147
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49441
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49148
49442
|
showErrors = _ref.showErrors,
|
|
49149
49443
|
isMobile = _ref.isMobile;
|
|
49150
49444
|
if (clearOnDismount) {
|
|
@@ -49304,7 +49598,7 @@ var ResetConfirmationForm$1 = withWindowSize(ResetConfirmationForm);
|
|
|
49304
49598
|
|
|
49305
49599
|
var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
49306
49600
|
var _ref$handleSubmit = _ref.handleSubmit,
|
|
49307
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49601
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49308
49602
|
clearOnDismount = _ref.clearOnDismount,
|
|
49309
49603
|
fields = _ref.fields,
|
|
49310
49604
|
actions = _ref.actions,
|
|
@@ -49522,7 +49816,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49522
49816
|
return /*#__PURE__*/React.createElement(InternalLink, {
|
|
49523
49817
|
to: route,
|
|
49524
49818
|
key: "".concat(route, "-").concat(index),
|
|
49525
|
-
extraStyles: "
|
|
49819
|
+
extraStyles: "text-decoration: none;\n &:hover {\n ".concat(active ? "> * {\n background-color: ".concat(themeValues.activeTabHover, ";\n }") : "> * { \n background-color: rgba(8, 27, 43, 0.05);\n }", "}")
|
|
49526
49820
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
49527
49821
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
49528
49822
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -49731,8 +50025,225 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
49731
50025
|
}))));
|
|
49732
50026
|
};
|
|
49733
50027
|
|
|
49734
|
-
var
|
|
50028
|
+
var menuItemBackgroundColor = WHITE;
|
|
50029
|
+
var menuItemColor = ROYAL_BLUE_VIVID;
|
|
50030
|
+
var menuItemColorDelete = RAZZMATAZZ_RED;
|
|
50031
|
+
var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
|
|
50032
|
+
var menuItemHoverBackgroundColorDelete = BLUSH_RED;
|
|
50033
|
+
var menuItemHoverColor = ROYAL_BLUE_VIVID;
|
|
49735
50034
|
var fallbackValues$U = {
|
|
50035
|
+
menuItemBackgroundColor: menuItemBackgroundColor,
|
|
50036
|
+
menuItemColor: menuItemColor,
|
|
50037
|
+
menuItemColorDelete: menuItemColorDelete,
|
|
50038
|
+
menuItemHoverBackgroundColor: menuItemHoverBackgroundColor,
|
|
50039
|
+
menuItemHoverBackgroundColorDelete: menuItemHoverBackgroundColorDelete,
|
|
50040
|
+
menuItemHoverColor: menuItemHoverColor
|
|
50041
|
+
};
|
|
50042
|
+
|
|
50043
|
+
var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
|
|
50044
|
+
displayName: "PopupMenuItemstyled__PopupMenuItemContainer",
|
|
50045
|
+
componentId: "sc-urj1su-0"
|
|
50046
|
+
})(["width:100%;margin:0;padding:17px 11px;margin-bottom:5px;border:0;cursor:pointer;text-decoration:none;", " &:hover,&:active{text-decoration:none;", "}"], function (_ref) {
|
|
50047
|
+
var theme = _ref.theme,
|
|
50048
|
+
isDeleteAction = _ref.isDeleteAction;
|
|
50049
|
+
return "\n background-color: ".concat(theme.menuItemBackgroundColor, ";\n color: ").concat(isDeleteAction ? theme.menuItemColorDelete : theme.menuItemColor, ";\n ");
|
|
50050
|
+
}, function (_ref2) {
|
|
50051
|
+
var theme = _ref2.theme,
|
|
50052
|
+
isDeleteAction = _ref2.isDeleteAction;
|
|
50053
|
+
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
50054
|
+
});
|
|
50055
|
+
|
|
50056
|
+
var _excluded$D = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
50057
|
+
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
50058
|
+
var id = _ref.id,
|
|
50059
|
+
closeMenuCallback = _ref.closeMenuCallback,
|
|
50060
|
+
_action = _ref.action,
|
|
50061
|
+
themeValues = _ref.themeValues,
|
|
50062
|
+
text = _ref.text,
|
|
50063
|
+
_ref$hasIcon = _ref.hasIcon,
|
|
50064
|
+
hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
|
|
50065
|
+
_ref$isDeleteAction = _ref.isDeleteAction,
|
|
50066
|
+
isDeleteAction = _ref$isDeleteAction === void 0 ? false : _ref$isDeleteAction,
|
|
50067
|
+
Icon = _ref.icon,
|
|
50068
|
+
textExtraStyles = _ref.textExtraStyles,
|
|
50069
|
+
hoverStyles = _ref.hoverStyles,
|
|
50070
|
+
activeStyles = _ref.activeStyles,
|
|
50071
|
+
extraStyles = _ref.extraStyles,
|
|
50072
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
50073
|
+
return /*#__PURE__*/React.createElement(PopupMenuItemContainer, _extends({
|
|
50074
|
+
id: id,
|
|
50075
|
+
role: "menuItem",
|
|
50076
|
+
text: text,
|
|
50077
|
+
action: function action() {
|
|
50078
|
+
_action();
|
|
50079
|
+
closeMenuCallback();
|
|
50080
|
+
},
|
|
50081
|
+
variant: "smallGhost",
|
|
50082
|
+
isDeleteAction: isDeleteAction,
|
|
50083
|
+
theme: themeValues,
|
|
50084
|
+
contentOverride: true,
|
|
50085
|
+
textExtraStyles: textExtraStyles,
|
|
50086
|
+
hoverStyles: hoverStyles,
|
|
50087
|
+
extraStyles: extraStyles,
|
|
50088
|
+
activeStyles: "outline: none; ".concat(activeStyles)
|
|
50089
|
+
}, rest), /*#__PURE__*/React.createElement(Box, {
|
|
50090
|
+
extraStyles: "\n display: flex;\n gap: 8px;\n justify-content: center;\n padding: 0;\n "
|
|
50091
|
+
}, hasIcon && /*#__PURE__*/React.createElement(Icon, {
|
|
50092
|
+
iconFill: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor
|
|
50093
|
+
}), text && /*#__PURE__*/React.createElement(Text$1, {
|
|
50094
|
+
variant: "pS",
|
|
50095
|
+
weight: FONT_WEIGHT_SEMIBOLD,
|
|
50096
|
+
fontFamily: "Public Sans, sans-serif",
|
|
50097
|
+
color: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor,
|
|
50098
|
+
extraStyles: textExtraStyles
|
|
50099
|
+
}, text)));
|
|
50100
|
+
};
|
|
50101
|
+
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$U);
|
|
50102
|
+
|
|
50103
|
+
var hoverColor$6 = "#116285";
|
|
50104
|
+
var activeColor$a = "#0E506D";
|
|
50105
|
+
var menuTriggerColor = "#15749D";
|
|
50106
|
+
var backgroundColor$e = "white";
|
|
50107
|
+
var fallbackValues$V = {
|
|
50108
|
+
hoverColor: hoverColor$6,
|
|
50109
|
+
activeColor: activeColor$a,
|
|
50110
|
+
menuTriggerColor: menuTriggerColor,
|
|
50111
|
+
backgroundColor: backgroundColor$e
|
|
50112
|
+
};
|
|
50113
|
+
|
|
50114
|
+
var PopupMenuContainer = styled(Box).withConfig({
|
|
50115
|
+
displayName: "PopupMenustyled__PopupMenuContainer",
|
|
50116
|
+
componentId: "sc-1ge13q9-0"
|
|
50117
|
+
})(["display:flex;position:relative;padding:0;"]);
|
|
50118
|
+
var PopupMenuTriggerButton = styled(ButtonWithAction).withConfig({
|
|
50119
|
+
displayName: "PopupMenustyled__PopupMenuTriggerButton",
|
|
50120
|
+
componentId: "sc-1ge13q9-1"
|
|
50121
|
+
})(["padding:10px 15px;min-width:auto;&:active,&:focus{outline:none;border:1px solid rgba(196,206,244,1);background-color:rgba(235,239,251,1);}"]);
|
|
50122
|
+
|
|
50123
|
+
var PopupMenu = function PopupMenu(_ref) {
|
|
50124
|
+
var _ref$menuId = _ref.menuId,
|
|
50125
|
+
menuId = _ref$menuId === void 0 ? "popup-menu" : _ref$menuId,
|
|
50126
|
+
_ref$menuItems = _ref.menuItems,
|
|
50127
|
+
menuItems = _ref$menuItems === void 0 ? [] : _ref$menuItems,
|
|
50128
|
+
themeValues = _ref.themeValues,
|
|
50129
|
+
_ref$triggerText = _ref.triggerText,
|
|
50130
|
+
triggerText = _ref$triggerText === void 0 ? "trigger text" : _ref$triggerText,
|
|
50131
|
+
_ref$hasIcon = _ref.hasIcon,
|
|
50132
|
+
hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
|
|
50133
|
+
Icon = _ref.icon,
|
|
50134
|
+
_ref$iconHelpText = _ref.iconHelpText,
|
|
50135
|
+
iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
|
|
50136
|
+
menuFocus = _ref.menuFocus,
|
|
50137
|
+
containerExtraStyles = _ref.containerExtraStyles,
|
|
50138
|
+
textExtraStyles = _ref.textExtraStyles,
|
|
50139
|
+
_ref$minWidth = _ref.minWidth,
|
|
50140
|
+
minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
|
|
50141
|
+
_ref$maxWidth = _ref.maxWidth,
|
|
50142
|
+
maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
|
|
50143
|
+
_ref$height = _ref.height,
|
|
50144
|
+
height = _ref$height === void 0 ? "auto" : _ref$height,
|
|
50145
|
+
position = _ref.position,
|
|
50146
|
+
_ref$transform = _ref.transform,
|
|
50147
|
+
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
50148
|
+
buttonExtraStyles = _ref.buttonExtraStyles,
|
|
50149
|
+
popupExtraStyles = _ref.popupExtraStyles;
|
|
50150
|
+
var hoverColor = themeValues.hoverColor,
|
|
50151
|
+
activeColor = themeValues.activeColor,
|
|
50152
|
+
menuTriggerColor = themeValues.menuTriggerColor,
|
|
50153
|
+
backgroundColor = themeValues.backgroundColor;
|
|
50154
|
+
var _ref2 = position !== null && position !== void 0 ? position : {},
|
|
50155
|
+
_ref2$top = _ref2.top,
|
|
50156
|
+
top = _ref2$top === void 0 ? "".concat(height, "px") : _ref2$top,
|
|
50157
|
+
_ref2$right = _ref2.right,
|
|
50158
|
+
right = _ref2$right === void 0 ? "auto" : _ref2$right,
|
|
50159
|
+
_ref2$bottom = _ref2.bottom,
|
|
50160
|
+
bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
|
|
50161
|
+
_ref2$left = _ref2.left,
|
|
50162
|
+
left = _ref2$left === void 0 ? "0" : _ref2$left;
|
|
50163
|
+
var _useState = useState(false),
|
|
50164
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
50165
|
+
isMenuOpen = _useState2[0],
|
|
50166
|
+
setIsMenuOpen = _useState2[1];
|
|
50167
|
+
var menuRef = useRef();
|
|
50168
|
+
var triggerRef = useRef();
|
|
50169
|
+
var toggleMenu = function toggleMenu(menuState) {
|
|
50170
|
+
return setIsMenuOpen(menuState);
|
|
50171
|
+
};
|
|
50172
|
+
useEffect$1(function () {
|
|
50173
|
+
var checkIfClickedOutside = function checkIfClickedOutside(e) {
|
|
50174
|
+
// If the menu is open and the clicked target is not within the menu or the trigger
|
|
50175
|
+
if (isMenuOpen && menuRef.current && !menuRef.current.contains(e.target) && triggerRef.current && !triggerRef.current.contains(e.target)) {
|
|
50176
|
+
toggleMenu(false);
|
|
50177
|
+
}
|
|
50178
|
+
};
|
|
50179
|
+
document.addEventListener("click", checkIfClickedOutside);
|
|
50180
|
+
return function () {
|
|
50181
|
+
document.removeEventListener("click", checkIfClickedOutside);
|
|
50182
|
+
};
|
|
50183
|
+
}, [isMenuOpen]);
|
|
50184
|
+
return /*#__PURE__*/React.createElement(PopupMenuContainer, {
|
|
50185
|
+
extraStyles: containerExtraStyles
|
|
50186
|
+
}, /*#__PURE__*/React.createElement(PopupMenuTriggerButton, {
|
|
50187
|
+
ref: triggerRef,
|
|
50188
|
+
action: function action() {
|
|
50189
|
+
toggleMenu(!isMenuOpen);
|
|
50190
|
+
},
|
|
50191
|
+
onKeyDown: function onKeyDown(e) {
|
|
50192
|
+
if (e.key === "Escape") {
|
|
50193
|
+
toggleMenu(false);
|
|
50194
|
+
}
|
|
50195
|
+
},
|
|
50196
|
+
contentOverride: true,
|
|
50197
|
+
variant: "smallGhost",
|
|
50198
|
+
tabIndex: "0",
|
|
50199
|
+
id: menuId,
|
|
50200
|
+
borderRadius: "8px",
|
|
50201
|
+
"aria-haspopup": "true",
|
|
50202
|
+
"aria-expanded": isMenuOpen,
|
|
50203
|
+
"aria-controls": "".concat(menuId, "-container"),
|
|
50204
|
+
extraStyles: buttonExtraStyles
|
|
50205
|
+
}, hasIcon && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, null), /*#__PURE__*/React.createElement(Box, {
|
|
50206
|
+
padding: "0",
|
|
50207
|
+
srOnly: true
|
|
50208
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
50209
|
+
id: "btn".concat(menuId, "_info")
|
|
50210
|
+
}, iconHelpText))), !hasIcon && /*#__PURE__*/React.createElement(Text$1, {
|
|
50211
|
+
color: menuTriggerColor,
|
|
50212
|
+
extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
|
|
50213
|
+
}, triggerText)), /*#__PURE__*/React.createElement(Box, {
|
|
50214
|
+
as: "div",
|
|
50215
|
+
id: "".concat(menuId, "-container"),
|
|
50216
|
+
ref: menuRef,
|
|
50217
|
+
onKeyDown: function onKeyDown(e) {
|
|
50218
|
+
if (e.key === "Escape") {
|
|
50219
|
+
toggleMenu(false);
|
|
50220
|
+
}
|
|
50221
|
+
},
|
|
50222
|
+
background: backgroundColor,
|
|
50223
|
+
borderRadius: "8px",
|
|
50224
|
+
boxShadow: "\n 0px 7px 32px 0px rgba(41, 42, 51, 0.2),\n 0px 1px 4px 0px rgba(41, 42, 51, 0.2),\n 0px 1px 8px -1px rgba(41, 42, 51, 0.3);\n ",
|
|
50225
|
+
role: "menu",
|
|
50226
|
+
"aria-labelledby": menuId,
|
|
50227
|
+
tabIndex: menuFocus && isMenuOpen ? "0" : "-1",
|
|
50228
|
+
minWidth: minWidth,
|
|
50229
|
+
maxWidth: maxWidth,
|
|
50230
|
+
extraStyles: "\n display: ".concat(isMenuOpen ? "block" : "none", ";\n position: absolute;\n padding: 8px 8px 3px 8px;\n top: ").concat(top, "; \n left: ").concat(left, ";\n right: ").concat(right, ";\n bottom: ").concat(bottom, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ").concat(popupExtraStyles, ";\n ")
|
|
50231
|
+
}, menuItems.map(function (item, index) {
|
|
50232
|
+
return /*#__PURE__*/React.createElement(PopupMenuItem$1, _extends({
|
|
50233
|
+
key: index,
|
|
50234
|
+
id: "".concat(menuId, "-item-").concat(index),
|
|
50235
|
+
closeMenuCallback: function closeMenuCallback() {
|
|
50236
|
+
toggleMenu(false);
|
|
50237
|
+
// focus back to trigger button when menu closes
|
|
50238
|
+
triggerRef.current.focus();
|
|
50239
|
+
}
|
|
50240
|
+
}, item));
|
|
50241
|
+
})));
|
|
50242
|
+
};
|
|
50243
|
+
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$V);
|
|
50244
|
+
|
|
50245
|
+
var pageBackground = "#FBFCFD";
|
|
50246
|
+
var fallbackValues$W = {
|
|
49736
50247
|
pageBackground: pageBackground
|
|
49737
50248
|
};
|
|
49738
50249
|
|
|
@@ -49780,7 +50291,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
49780
50291
|
padding: "0"
|
|
49781
50292
|
})));
|
|
49782
50293
|
};
|
|
49783
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
50294
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
|
|
49784
50295
|
|
|
49785
50296
|
var CenterStack = function CenterStack(_ref) {
|
|
49786
50297
|
var header = _ref.header,
|
|
@@ -49823,7 +50334,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
49823
50334
|
padding: "0"
|
|
49824
50335
|
})));
|
|
49825
50336
|
};
|
|
49826
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
50337
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
|
|
49827
50338
|
|
|
49828
50339
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
49829
50340
|
var header = _ref.header,
|
|
@@ -49838,13 +50349,15 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49838
50349
|
_ref$gutters = _ref.gutters,
|
|
49839
50350
|
gutters = _ref$gutters === void 0 ? "2rem" : _ref$gutters,
|
|
49840
50351
|
_ref$fillPageVertical = _ref.fillPageVertical,
|
|
49841
|
-
fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical
|
|
50352
|
+
fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical,
|
|
50353
|
+
_ref$background = _ref.background,
|
|
50354
|
+
background = _ref$background === void 0 ? COOL_GREY_05 : _ref$background;
|
|
49842
50355
|
var themeContext = useContext(ThemeContext);
|
|
49843
50356
|
var isMobile = themeContext.isMobile;
|
|
49844
50357
|
return /*#__PURE__*/React.createElement(Box, {
|
|
49845
50358
|
padding: "0",
|
|
49846
50359
|
minWidth: "100%",
|
|
49847
|
-
background:
|
|
50360
|
+
background: background,
|
|
49848
50361
|
extraStyles: "flex-grow: 1;"
|
|
49849
50362
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
49850
50363
|
childGap: "0",
|
|
@@ -49867,7 +50380,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49867
50380
|
padding: "0"
|
|
49868
50381
|
})));
|
|
49869
50382
|
};
|
|
49870
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
50383
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
|
|
49871
50384
|
|
|
49872
50385
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
49873
50386
|
var header = _ref.header,
|
|
@@ -49920,7 +50433,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
49920
50433
|
padding: "0"
|
|
49921
50434
|
})));
|
|
49922
50435
|
};
|
|
49923
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
50436
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
|
|
49924
50437
|
|
|
49925
50438
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
49926
50439
|
var header = _ref.header,
|
|
@@ -49990,7 +50503,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
49990
50503
|
key: "footer-box"
|
|
49991
50504
|
})));
|
|
49992
50505
|
};
|
|
49993
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
50506
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
|
|
49994
50507
|
|
|
49995
50508
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
49996
50509
|
var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
@@ -50022,5 +50535,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
|
|
|
50022
50535
|
useToastNotification: useToastNotification
|
|
50023
50536
|
});
|
|
50024
50537
|
|
|
50025
|
-
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, MultiCartIcon, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$
|
|
50538
|
+
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, CloseIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, MultiCartIcon, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, PopupMenu$1 as PopupMenu, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TrashIconV2$1 as TrashIconV2, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$4 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$5 as hooks, index$6 as util, withWindowSize };
|
|
50026
50539
|
//# sourceMappingURL=index.esm.js.map
|