@thecb/components 10.4.0-beta.0 → 10.4.0-beta.2
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 +812 -323
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +64 -1
- package/dist/index.esm.js +808 -322
- 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 +8 -4
- 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 +5 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +74 -4
- 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 +87 -74
- 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 +13 -6
- package/src/components/molecules/link-card/LinkCard.stories.js +64 -34
- package/src/components/molecules/link-card/LinkCard.styled.js +11 -4
- package/src/components/molecules/link-card/LinkCard.theme.js +20 -5
- package/src/components/molecules/obligation/Obligation.js +3 -0
- package/src/components/molecules/obligation/modules/AmountModule.js +3 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +33 -21
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +6 -3
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +20 -5
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +4 -2
- 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,87 @@ 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
|
+
STORM_GREY$1 = STORM_GREY;
|
|
12595
|
+
var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
|
|
12596
|
+
var disabledBorderColor = {
|
|
12597
|
+
primary: STORM_GREY$1,
|
|
12598
|
+
secondary: STORM_GREY$1,
|
|
12599
|
+
back: TRANSPARENT$1,
|
|
12600
|
+
smallPrimary: STORM_GREY$1,
|
|
12601
|
+
smallSecondary: STORM_GREY$1,
|
|
12602
|
+
smallGhost: TRANSPARENT$1,
|
|
12603
|
+
ghost: TRANSPARENT$1,
|
|
12604
|
+
tertiary: TRANSPARENT$1,
|
|
12605
|
+
danger: STORM_GREY$1,
|
|
12606
|
+
dangerSecondary: STORM_GREY$1,
|
|
12607
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12608
|
+
whitePrimary: TRANSPARENT$1
|
|
12609
|
+
};
|
|
12610
|
+
var disabledColor = {
|
|
12611
|
+
primary: WHITE$1,
|
|
12612
|
+
secondary: MANATEE_GREY$1,
|
|
12613
|
+
back: MANATEE_GREY$1,
|
|
12614
|
+
smallPrimary: WHITE$1,
|
|
12615
|
+
smallSecondary: MANATEE_GREY$1,
|
|
12616
|
+
smallGhost: MANATEE_GREY$1,
|
|
12617
|
+
ghost: MANATEE_GREY$1,
|
|
12618
|
+
tertiary: MANATEE_GREY$1,
|
|
12619
|
+
danger: WHITE$1,
|
|
12620
|
+
dangerSecondary: MANATEE_GREY$1,
|
|
12621
|
+
whiteSecondary: MANATEE_GREY$1,
|
|
12622
|
+
whitePrimary: MANATEE_GREY$1
|
|
12623
|
+
};
|
|
12624
|
+
var disabledBackgroundColor = {
|
|
12625
|
+
primary: MANATEE_GREY$1,
|
|
12626
|
+
secondary: TRANSPARENT$1,
|
|
12627
|
+
back: TRANSPARENT$1,
|
|
12628
|
+
smallPrimary: MANATEE_GREY$1,
|
|
12629
|
+
smallSecondary: TRANSPARENT$1,
|
|
12630
|
+
smallGhost: TRANSPARENT$1,
|
|
12631
|
+
ghost: TRANSPARENT$1,
|
|
12632
|
+
tertiary: TRANSPARENT$1,
|
|
12633
|
+
danger: MANATEE_GREY$1,
|
|
12634
|
+
dangerSecondary: TRANSPARENT$1,
|
|
12635
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12636
|
+
whitePrimary: TRANSPARENT$1
|
|
12637
|
+
};
|
|
12547
12638
|
var padding = {
|
|
12548
12639
|
primary: "0.75rem 1.5rem",
|
|
12549
12640
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12559,18 +12650,18 @@ var padding = {
|
|
|
12559
12650
|
whitePrimary: "1.125rem 0.75rem"
|
|
12560
12651
|
};
|
|
12561
12652
|
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
|
|
12653
|
+
primary: WHITE$1,
|
|
12654
|
+
secondary: MATISSE_BLUE$1,
|
|
12655
|
+
back: MATISSE_BLUE$1,
|
|
12656
|
+
smallPrimary: WHITE$1,
|
|
12657
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12658
|
+
smallGhost: MATISSE_BLUE$1,
|
|
12659
|
+
ghost: MATISSE_BLUE$1,
|
|
12660
|
+
tertiary: MATISSE_BLUE$1,
|
|
12661
|
+
danger: WHITE$1,
|
|
12662
|
+
dangerSecondary: ERROR_COLOR$1,
|
|
12663
|
+
whiteSecondary: WHITE$1,
|
|
12664
|
+
whitePrimary: WHITE$1
|
|
12574
12665
|
};
|
|
12575
12666
|
var fontSizeVariant = {
|
|
12576
12667
|
primary: "pS",
|
|
@@ -12628,117 +12719,131 @@ var minWidth = {
|
|
|
12628
12719
|
whiteSecondary: "160px",
|
|
12629
12720
|
whitePrimary: "130px"
|
|
12630
12721
|
};
|
|
12722
|
+
var textDecoration = {
|
|
12723
|
+
primary: "none",
|
|
12724
|
+
secondary: "none",
|
|
12725
|
+
back: "none",
|
|
12726
|
+
smallPrimary: "none",
|
|
12727
|
+
smallSecondary: "none",
|
|
12728
|
+
smallGhost: LINK_TEXT_DECORATION$1,
|
|
12729
|
+
ghost: LINK_TEXT_DECORATION$1,
|
|
12730
|
+
tertiary: "none",
|
|
12731
|
+
danger: "none",
|
|
12732
|
+
dangerSecondary: "none",
|
|
12733
|
+
whiteSecondary: "none",
|
|
12734
|
+
whitePrimary: "none"
|
|
12735
|
+
};
|
|
12631
12736
|
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
|
|
12737
|
+
primary: MATISSE_BLUE$1,
|
|
12738
|
+
secondary: TRANSPARENT$1,
|
|
12739
|
+
back: TRANSPARENT$1,
|
|
12740
|
+
smallPrimary: MATISSE_BLUE$1,
|
|
12741
|
+
smallSecondary: TRANSPARENT$1,
|
|
12742
|
+
smallGhost: TRANSPARENT$1,
|
|
12743
|
+
ghost: TRANSPARENT$1,
|
|
12744
|
+
tertiary: TRANSPARENT$1,
|
|
12745
|
+
danger: RASPBERRY$1,
|
|
12746
|
+
dangerSecondary: TRANSPARENT$1,
|
|
12747
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12748
|
+
whitePrimary: TRANSPARENT$1
|
|
12644
12749
|
};
|
|
12645
12750
|
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,
|
|
12751
|
+
primary: "2px solid " + MATISSE_BLUE$1,
|
|
12752
|
+
secondary: "2px solid " + MATISSE_BLUE$1,
|
|
12753
|
+
back: "2px solid " + MATISSE_BLUE$1,
|
|
12754
|
+
smallPrimary: "2px solid " + MATISSE_BLUE$1,
|
|
12755
|
+
smallSecondary: "2px solid " + MATISSE_BLUE$1,
|
|
12651
12756
|
smallGhost: "none",
|
|
12652
12757
|
ghost: "none",
|
|
12653
12758
|
tertiary: "none",
|
|
12654
|
-
danger: "2px solid " + RASPBERRY,
|
|
12655
|
-
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12656
|
-
whiteSecondary: "2px solid " + WHITE,
|
|
12657
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12759
|
+
danger: "2px solid " + RASPBERRY$1,
|
|
12760
|
+
dangerSecondary: "2px solid " + ERROR_COLOR$1,
|
|
12761
|
+
whiteSecondary: "2px solid " + WHITE$1,
|
|
12762
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12658
12763
|
};
|
|
12659
12764
|
var hoverBackgroundColor = {
|
|
12660
|
-
primary: SAPPHIRE_BLUE,
|
|
12765
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12661
12766
|
secondary: "#DBEAF0",
|
|
12662
|
-
back: TRANSPARENT,
|
|
12663
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12767
|
+
back: TRANSPARENT$1,
|
|
12768
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12664
12769
|
smallSecondary: "#DBEAF0",
|
|
12665
|
-
smallGhost: TRANSPARENT,
|
|
12666
|
-
ghost: TRANSPARENT,
|
|
12667
|
-
tertiary: TRANSPARENT,
|
|
12770
|
+
smallGhost: TRANSPARENT$1,
|
|
12771
|
+
ghost: TRANSPARENT$1,
|
|
12772
|
+
tertiary: TRANSPARENT$1,
|
|
12668
12773
|
danger: "#BA002C",
|
|
12669
12774
|
dangerSecondary: "#FAE7EE",
|
|
12670
|
-
whiteSecondary: TRANSPARENT,
|
|
12671
|
-
whitePrimary: TRANSPARENT
|
|
12775
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12776
|
+
whitePrimary: TRANSPARENT$1
|
|
12672
12777
|
};
|
|
12673
12778
|
var hoverBorderColor = {
|
|
12674
|
-
primary: SAPPHIRE_BLUE,
|
|
12675
|
-
secondary: MATISSE_BLUE,
|
|
12779
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12780
|
+
secondary: MATISSE_BLUE$1,
|
|
12676
12781
|
back: "#DCEAF1",
|
|
12677
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12678
|
-
smallSecondary: MATISSE_BLUE,
|
|
12679
|
-
smallGhost: TRANSPARENT,
|
|
12680
|
-
ghost: TRANSPARENT,
|
|
12681
|
-
tertiary: TRANSPARENT,
|
|
12782
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12783
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12784
|
+
smallGhost: TRANSPARENT$1,
|
|
12785
|
+
ghost: TRANSPARENT$1,
|
|
12786
|
+
tertiary: TRANSPARENT$1,
|
|
12682
12787
|
danger: "#BA002C",
|
|
12683
12788
|
dangerSecondary: "#B10541",
|
|
12684
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12685
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12789
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12790
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12686
12791
|
};
|
|
12687
12792
|
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,
|
|
12793
|
+
primary: WHITE$1,
|
|
12794
|
+
secondary: SAPPHIRE_BLUE$1,
|
|
12795
|
+
back: SAPPHIRE_BLUE$1,
|
|
12796
|
+
smallPrimary: WHITE$1,
|
|
12797
|
+
smallSecondary: SAPPHIRE_BLUE$1,
|
|
12798
|
+
smallGhost: SAPPHIRE_BLUE$1,
|
|
12799
|
+
ghost: SAPPHIRE_BLUE$1,
|
|
12800
|
+
tertiary: SAPPHIRE_BLUE$1,
|
|
12801
|
+
danger: WHITE$1,
|
|
12697
12802
|
dangerSecondary: "#B10541",
|
|
12698
|
-
whiteSecondary: WHITE,
|
|
12699
|
-
whitePrimary: WHITE
|
|
12803
|
+
whiteSecondary: WHITE$1,
|
|
12804
|
+
whitePrimary: WHITE$1
|
|
12700
12805
|
};
|
|
12701
12806
|
var activeBackgroundColor = {
|
|
12702
|
-
primary: PEACOCK_BLUE,
|
|
12807
|
+
primary: PEACOCK_BLUE$1,
|
|
12703
12808
|
secondary: "#B8D5E1",
|
|
12704
|
-
back: TRANSPARENT,
|
|
12705
|
-
smallPrimary: PEACOCK_BLUE,
|
|
12809
|
+
back: TRANSPARENT$1,
|
|
12810
|
+
smallPrimary: PEACOCK_BLUE$1,
|
|
12706
12811
|
smallSecondary: "#B8D5E1",
|
|
12707
|
-
smallGhost: TRANSPARENT,
|
|
12708
|
-
ghost: TRANSPARENT,
|
|
12709
|
-
tertiary: TRANSPARENT,
|
|
12812
|
+
smallGhost: TRANSPARENT$1,
|
|
12813
|
+
ghost: TRANSPARENT$1,
|
|
12814
|
+
tertiary: TRANSPARENT$1,
|
|
12710
12815
|
danger: "#870000",
|
|
12711
12816
|
dangerSecondary: "#FAE7EE",
|
|
12712
|
-
whiteSecondary: TRANSPARENT,
|
|
12713
|
-
whitePrimary: TRANSPARENT
|
|
12817
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12818
|
+
whitePrimary: TRANSPARENT$1
|
|
12714
12819
|
};
|
|
12715
12820
|
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,
|
|
12821
|
+
primary: PEACOCK_BLUE$1,
|
|
12822
|
+
secondary: MATISSE_BLUE$1,
|
|
12823
|
+
back: PEACOCK_BLUE$1,
|
|
12824
|
+
smallPrimary: PEACOCK_BLUE$1,
|
|
12825
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12826
|
+
smallGhost: TRANSPARENT$1,
|
|
12827
|
+
ghost: TRANSPARENT$1,
|
|
12828
|
+
tertiary: TRANSPARENT$1,
|
|
12724
12829
|
danger: "#870000",
|
|
12725
12830
|
dangerSecondary: "#910029",
|
|
12726
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12727
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12831
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12832
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12728
12833
|
};
|
|
12729
12834
|
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,
|
|
12835
|
+
primary: WHITE$1,
|
|
12836
|
+
secondary: MATISSE_BLUE$1,
|
|
12837
|
+
back: PEACOCK_BLUE$1,
|
|
12838
|
+
smallPrimary: WHITE$1,
|
|
12839
|
+
smallSecondary: PEACOCK_BLUE$1,
|
|
12840
|
+
smallGhost: PEACOCK_BLUE$1,
|
|
12841
|
+
ghost: PEACOCK_BLUE$1,
|
|
12842
|
+
tertiary: PEACOCK_BLUE$1,
|
|
12843
|
+
danger: WHITE$1,
|
|
12739
12844
|
dangerSecondary: "#910029",
|
|
12740
|
-
whiteSecondary: WHITE,
|
|
12741
|
-
whitePrimary: WHITE
|
|
12845
|
+
whiteSecondary: WHITE$1,
|
|
12846
|
+
whitePrimary: WHITE$1
|
|
12742
12847
|
};
|
|
12743
12848
|
var fallbackValues$1 = {
|
|
12744
12849
|
padding: padding,
|
|
@@ -12747,6 +12852,7 @@ var fallbackValues$1 = {
|
|
|
12747
12852
|
fontWeight: fontWeight,
|
|
12748
12853
|
height: height,
|
|
12749
12854
|
minWidth: minWidth,
|
|
12855
|
+
textDecoration: textDecoration,
|
|
12750
12856
|
backgroundColor: backgroundColor,
|
|
12751
12857
|
border: border,
|
|
12752
12858
|
hoverBackgroundColor: hoverBackgroundColor,
|
|
@@ -12754,7 +12860,10 @@ var fallbackValues$1 = {
|
|
|
12754
12860
|
hoverColor: hoverColor,
|
|
12755
12861
|
activeBackgroundColor: activeBackgroundColor,
|
|
12756
12862
|
activeBorderColor: activeBorderColor,
|
|
12757
|
-
activeColor: activeColor
|
|
12863
|
+
activeColor: activeColor,
|
|
12864
|
+
disabledColor: disabledColor,
|
|
12865
|
+
disabledBackgroundColor: disabledBackgroundColor,
|
|
12866
|
+
disabledBorderColor: disabledBorderColor
|
|
12758
12867
|
};
|
|
12759
12868
|
|
|
12760
12869
|
var rotate = posed.div({
|
|
@@ -12821,7 +12930,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12821
12930
|
}))))));
|
|
12822
12931
|
};
|
|
12823
12932
|
|
|
12824
|
-
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "loadingColor", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
|
|
12933
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "disabled", "loadingColor", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
|
|
12825
12934
|
var rotate$1 = posed.div({
|
|
12826
12935
|
fixed: {
|
|
12827
12936
|
rotate: "0deg"
|
|
@@ -12870,12 +12979,12 @@ var Spinner = function Spinner(_ref) {
|
|
|
12870
12979
|
|
|
12871
12980
|
Note: the children prop is only used if contentOverride is set to true, in which case
|
|
12872
12981
|
the text prop is ignored.
|
|
12873
|
-
|
|
12982
|
+
|
|
12874
12983
|
*/
|
|
12875
12984
|
|
|
12876
12985
|
var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
12877
12986
|
var _ref2$action = _ref2.action,
|
|
12878
|
-
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12987
|
+
action = _ref2$action === void 0 ? noop$1 : _ref2$action,
|
|
12879
12988
|
_ref2$variant = _ref2.variant,
|
|
12880
12989
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
12881
12990
|
text = _ref2.text,
|
|
@@ -12883,6 +12992,8 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12883
12992
|
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
12884
12993
|
_ref2$isLoading = _ref2.isLoading,
|
|
12885
12994
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
12995
|
+
_ref2$disabled = _ref2.disabled,
|
|
12996
|
+
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
12886
12997
|
_ref2$loadingColor = _ref2.loadingColor,
|
|
12887
12998
|
loadingColor = _ref2$loadingColor === void 0 ? "white" : _ref2$loadingColor,
|
|
12888
12999
|
_ref2$dataQa = _ref2.dataQa,
|
|
@@ -12899,9 +13010,9 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12899
13010
|
var themeContext = useContext(ThemeContext);
|
|
12900
13011
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12901
13012
|
var isMobile = themeContext.isMobile;
|
|
12902
|
-
var hoverStyles = "\n
|
|
12903
|
-
var activeStyles = "\n
|
|
12904
|
-
var disabledStyles = "\n
|
|
13013
|
+
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 ");
|
|
13014
|
+
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 ");
|
|
13015
|
+
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
13016
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12906
13017
|
ref: ref,
|
|
12907
13018
|
variant: variant,
|
|
@@ -12910,11 +13021,12 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12910
13021
|
minWidth: themeValues.minWidth,
|
|
12911
13022
|
background: themeValues.backgroundColor,
|
|
12912
13023
|
border: themeValues.border,
|
|
12913
|
-
hoverStyles: hoverStyles,
|
|
12914
|
-
activeStyles: activeStyles,
|
|
13024
|
+
hoverStyles: disabled ? disabledStyles : hoverStyles,
|
|
13025
|
+
activeStyles: disabled ? disabledStyles : activeStyles,
|
|
12915
13026
|
disabledStyles: disabledStyles,
|
|
13027
|
+
"aria-disabled": disabled,
|
|
12916
13028
|
as: "button",
|
|
12917
|
-
onClick: isLoading ? undefined : action,
|
|
13029
|
+
onClick: isLoading || disabled ? undefined : action,
|
|
12918
13030
|
borderRadius: "2px",
|
|
12919
13031
|
theme: themeContext,
|
|
12920
13032
|
extraStyles: "margin: 0.5rem; ".concat(extraStyles),
|
|
@@ -12929,7 +13041,8 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12929
13041
|
}) : /*#__PURE__*/React.createElement(Text$1, {
|
|
12930
13042
|
weight: themeValues.fontWeight,
|
|
12931
13043
|
variant: themeValues.fontSizeVariant,
|
|
12932
|
-
color: themeValues.color,
|
|
13044
|
+
color: disabled ? themeValues.disabledColor : themeValues.color,
|
|
13045
|
+
textDecoration: themeValues.textDecoration,
|
|
12933
13046
|
textWrap: textWrap,
|
|
12934
13047
|
extraStyles: textExtraStyles
|
|
12935
13048
|
}, text)));
|
|
@@ -12999,7 +13112,9 @@ var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$2, "in
|
|
|
12999
13112
|
// Fill color based on default "success" variant color
|
|
13000
13113
|
var AutopayIcon = function AutopayIcon(_ref) {
|
|
13001
13114
|
var _ref$fill = _ref.fill,
|
|
13002
|
-
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill
|
|
13115
|
+
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill,
|
|
13116
|
+
_ref$color = _ref.color,
|
|
13117
|
+
color = _ref$color === void 0 ? "#317D4F" : _ref$color;
|
|
13003
13118
|
return /*#__PURE__*/React.createElement("svg", {
|
|
13004
13119
|
width: "16",
|
|
13005
13120
|
height: "16",
|
|
@@ -13023,7 +13138,7 @@ var AutopayIcon = function AutopayIcon(_ref) {
|
|
|
13023
13138
|
mask: "url(#mask0_5560_39870)"
|
|
13024
13139
|
}, /*#__PURE__*/React.createElement("path", {
|
|
13025
13140
|
d: "M0 0H16V16H0V0Z",
|
|
13026
|
-
fill: fill
|
|
13141
|
+
fill: fill || color
|
|
13027
13142
|
})));
|
|
13028
13143
|
};
|
|
13029
13144
|
|
|
@@ -18213,24 +18328,105 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18213
18328
|
}));
|
|
18214
18329
|
};
|
|
18215
18330
|
|
|
18331
|
+
var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
|
|
18216
18332
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18217
18333
|
var _ref$iconFill = _ref.iconFill,
|
|
18218
18334
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18219
|
-
_ref$
|
|
18220
|
-
|
|
18221
|
-
|
|
18222
|
-
|
|
18223
|
-
|
|
18335
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
18336
|
+
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
18337
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
18338
|
+
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
18339
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
18340
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18224
18341
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18225
18342
|
width: iconWidth,
|
|
18226
18343
|
height: iconHeight,
|
|
18227
|
-
viewBox: "0 0
|
|
18344
|
+
viewBox: "0 0 24.81 22.06"
|
|
18345
|
+
}, rest), /*#__PURE__*/React.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React.createElement("path", {
|
|
18346
|
+
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",
|
|
18347
|
+
id: "cart-badge-shopping-cart",
|
|
18348
|
+
fill: iconFill,
|
|
18349
|
+
fillRule: "nonzero"
|
|
18350
|
+
}));
|
|
18351
|
+
};
|
|
18352
|
+
|
|
18353
|
+
var _excluded$j = ["iconFill", "iconWidth", "iconHeight"];
|
|
18354
|
+
var CloseIcon = function CloseIcon(_ref) {
|
|
18355
|
+
var _ref$iconFill = _ref.iconFill,
|
|
18356
|
+
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
18357
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
18358
|
+
iconWidth = _ref$iconWidth === void 0 ? "24" : _ref$iconWidth,
|
|
18359
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
18360
|
+
iconHeight = _ref$iconHeight === void 0 ? "24" : _ref$iconHeight,
|
|
18361
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18362
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18363
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18364
|
+
width: iconWidth,
|
|
18365
|
+
height: iconHeight,
|
|
18366
|
+
viewBox: "0 0 24 24",
|
|
18367
|
+
fill: "none"
|
|
18368
|
+
}, rest), /*#__PURE__*/React.createElement("title", null, "Close Icon"), /*#__PURE__*/React.createElement("path", {
|
|
18369
|
+
fillRule: "evenodd",
|
|
18370
|
+
clipRule: "evenodd",
|
|
18371
|
+
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",
|
|
18372
|
+
fill: iconFill
|
|
18373
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
18374
|
+
id: "mask0_3727_16765",
|
|
18375
|
+
style: {
|
|
18376
|
+
maskType: "luminance"
|
|
18377
|
+
},
|
|
18378
|
+
maskUnits: "userSpaceOnUse",
|
|
18379
|
+
x: "5",
|
|
18380
|
+
y: "5",
|
|
18381
|
+
width: "14",
|
|
18382
|
+
height: "14"
|
|
18383
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18384
|
+
fillRule: "evenodd",
|
|
18385
|
+
clipRule: "evenodd",
|
|
18386
|
+
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",
|
|
18228
18387
|
fill: "none"
|
|
18388
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
18389
|
+
mask: "url(#mask0_3727_16765)"
|
|
18229
18390
|
}, /*#__PURE__*/React.createElement("path", {
|
|
18230
|
-
d:
|
|
18391
|
+
d: "M0 0H24V24H0V0Z",
|
|
18231
18392
|
fill: iconFill
|
|
18393
|
+
})));
|
|
18394
|
+
};
|
|
18395
|
+
|
|
18396
|
+
var TrashIconV2 = function TrashIconV2(_ref) {
|
|
18397
|
+
var themeValues = _ref.themeValues,
|
|
18398
|
+
iconFill = _ref.iconFill;
|
|
18399
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
18400
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18401
|
+
width: "18",
|
|
18402
|
+
height: "18",
|
|
18403
|
+
viewBox: "0 0 18 18",
|
|
18404
|
+
fill: "none"
|
|
18405
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18406
|
+
fillRule: "evenodd",
|
|
18407
|
+
clipRule: "evenodd",
|
|
18408
|
+
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",
|
|
18409
|
+
fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor
|
|
18410
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
18411
|
+
id: "mask0_4292_11876",
|
|
18412
|
+
style: {
|
|
18413
|
+
maskType: "luminance"
|
|
18414
|
+
},
|
|
18415
|
+
maskUnits: "userSpaceOnUse",
|
|
18416
|
+
x: "4",
|
|
18417
|
+
y: "3",
|
|
18418
|
+
width: "10",
|
|
18419
|
+
height: "12"
|
|
18420
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18421
|
+
fillRule: "evenodd",
|
|
18422
|
+
clipRule: "evenodd",
|
|
18423
|
+
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",
|
|
18424
|
+
fill: "white"
|
|
18425
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
18426
|
+
mask: "url(#mask0_4292_11876)"
|
|
18232
18427
|
}));
|
|
18233
18428
|
};
|
|
18429
|
+
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$2, "primary");
|
|
18234
18430
|
|
|
18235
18431
|
var color$2 = "#15749D";
|
|
18236
18432
|
var hoverColor$1 = "#116285";
|
|
@@ -18878,7 +19074,7 @@ var mobileFallbackValues = {
|
|
|
18878
19074
|
};
|
|
18879
19075
|
var MOBILE_BREAKPOINT = 768;
|
|
18880
19076
|
|
|
18881
|
-
var _excluded$
|
|
19077
|
+
var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18882
19078
|
|
|
18883
19079
|
/*
|
|
18884
19080
|
New responsive text component for Title elements
|
|
@@ -18925,7 +19121,7 @@ var Title = function Title(_ref) {
|
|
|
18925
19121
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18926
19122
|
dataQa = _ref.dataQa,
|
|
18927
19123
|
children = _ref.children,
|
|
18928
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19124
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18929
19125
|
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
18930
19126
|
variant: variant,
|
|
18931
19127
|
as: as,
|
|
@@ -18967,13 +19163,15 @@ var background$1 = {
|
|
|
18967
19163
|
info: "".concat(INFO_BLUE),
|
|
18968
19164
|
warn: "".concat(HALF_COLONIAL_WHITE),
|
|
18969
19165
|
primary: "".concat(CORNFLOWER_BLUE),
|
|
18970
|
-
success: "".concat(HINT_GREEN)
|
|
19166
|
+
success: "".concat(HINT_GREEN),
|
|
19167
|
+
disabled: "".concat(GRECIAN_GREY)
|
|
18971
19168
|
};
|
|
18972
19169
|
var color$4 = {
|
|
18973
19170
|
info: "".concat(MATISSE_BLUE),
|
|
18974
19171
|
warn: "".concat(ZEST_ORANGE),
|
|
18975
19172
|
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
18976
|
-
success: "".concat(SEA_GREEN)
|
|
19173
|
+
success: "".concat(SEA_GREEN),
|
|
19174
|
+
disabled: "".concat(MANATEE_GREY)
|
|
18977
19175
|
};
|
|
18978
19176
|
var fallbackValues$7 = {
|
|
18979
19177
|
background: background$1,
|
|
@@ -18997,10 +19195,12 @@ var Badge = function Badge(_ref) {
|
|
|
18997
19195
|
return /*#__PURE__*/React.createElement(StyledBadgeContainer, {
|
|
18998
19196
|
background: themeValues.background
|
|
18999
19197
|
}, iconOnLeft && Icon && /*#__PURE__*/React.createElement(Icon, {
|
|
19198
|
+
color: themeValues.color,
|
|
19000
19199
|
fill: themeValues.color
|
|
19001
19200
|
}), /*#__PURE__*/React.createElement(StyledBadge, {
|
|
19002
19201
|
color: themeValues.color
|
|
19003
19202
|
}, label), !iconOnLeft && Icon && /*#__PURE__*/React.createElement(Icon, {
|
|
19203
|
+
color: themeValues.color,
|
|
19004
19204
|
fill: themeValues.color
|
|
19005
19205
|
}));
|
|
19006
19206
|
};
|
|
@@ -20349,12 +20549,12 @@ var fallbackValues$8 = {
|
|
|
20349
20549
|
linkColor: linkColor
|
|
20350
20550
|
};
|
|
20351
20551
|
|
|
20352
|
-
var _excluded$
|
|
20552
|
+
var _excluded$l = ["variant", "themeValues", "children"];
|
|
20353
20553
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
20354
20554
|
var variant = _ref.variant,
|
|
20355
20555
|
themeValues = _ref.themeValues,
|
|
20356
20556
|
children = _ref.children,
|
|
20357
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20557
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
20358
20558
|
var shadowRegistry = {
|
|
20359
20559
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
20360
20560
|
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 +20572,23 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20372
20572
|
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
|
|
20373
20573
|
|
|
20374
20574
|
// import theme from "styled-theming";
|
|
20575
|
+
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
20576
|
+
STORM_GREY$2 = STORM_GREY;
|
|
20577
|
+
var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
20375
20578
|
|
|
20376
20579
|
/*
|
|
20377
20580
|
For now I'm using string values, eventually shared components library will have its own constants file
|
|
20378
20581
|
for colors/values that should be used here instead
|
|
20379
20582
|
*/
|
|
20380
20583
|
|
|
20381
|
-
var color$5 = "".concat(MATISSE_BLUE);
|
|
20382
|
-
var activeColor$2 = "".concat(STORM_GREY);
|
|
20383
|
-
var activeBreadcrumbColor = "".concat(STORM_GREY);
|
|
20584
|
+
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20585
|
+
var activeColor$2 = "".concat(STORM_GREY$2);
|
|
20586
|
+
var activeBreadcrumbColor = "".concat(STORM_GREY$2);
|
|
20384
20587
|
var fontSize$2 = "0.875rem";
|
|
20385
20588
|
var lineHeight = "1.25rem";
|
|
20386
20589
|
var fontWeight$1 = "400";
|
|
20387
20590
|
var margin = "0.5rem";
|
|
20388
|
-
var hover = "text-decoration:
|
|
20591
|
+
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
20389
20592
|
var fallbackValues$9 = {
|
|
20390
20593
|
color: color$5,
|
|
20391
20594
|
activeColor: activeColor$2,
|
|
@@ -20411,7 +20614,10 @@ var fallbackValues$a = {
|
|
|
20411
20614
|
externalLinkColor: externalLinkColor
|
|
20412
20615
|
};
|
|
20413
20616
|
|
|
20414
|
-
var _excluded$
|
|
20617
|
+
var _excluded$m = ["hoverColor", "activeColor", "extrastyles"];
|
|
20618
|
+
var ROYAL_BLUE$1 = ROYAL_BLUE;
|
|
20619
|
+
var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
|
|
20620
|
+
|
|
20415
20621
|
/*
|
|
20416
20622
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20417
20623
|
unrecognized DOM attributes.
|
|
@@ -20422,14 +20628,14 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20422
20628
|
var hoverColor = _ref.hoverColor,
|
|
20423
20629
|
activeColor = _ref.activeColor,
|
|
20424
20630
|
extrastyles = _ref.extrastyles,
|
|
20425
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20631
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20426
20632
|
return /*#__PURE__*/React.createElement("a", _extends({}, props, {
|
|
20427
20633
|
ref: ref
|
|
20428
20634
|
}));
|
|
20429
20635
|
})).withConfig({
|
|
20430
20636
|
displayName: "ExternalLinkstyled__StyledExternalLink",
|
|
20431
20637
|
componentId: "sc-m1q2m2-0"
|
|
20432
|
-
})(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";&:hover{color:", ";
|
|
20638
|
+
})(["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
20639
|
var size = _ref2.size;
|
|
20434
20640
|
return size;
|
|
20435
20641
|
}, function (_ref3) {
|
|
@@ -20444,10 +20650,10 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20444
20650
|
}, function (_ref6) {
|
|
20445
20651
|
var lineheight = _ref6.lineheight;
|
|
20446
20652
|
return lineheight;
|
|
20447
|
-
}, function (_ref7) {
|
|
20653
|
+
}, LINK_TEXT_DECORATION$3, function (_ref7) {
|
|
20448
20654
|
var hoverColor = _ref7.hoverColor;
|
|
20449
20655
|
return hoverColor;
|
|
20450
|
-
}, ROYAL_BLUE, function (_ref8) {
|
|
20656
|
+
}, ROYAL_BLUE$1, function (_ref8) {
|
|
20451
20657
|
var activeColor = _ref8.activeColor;
|
|
20452
20658
|
return activeColor;
|
|
20453
20659
|
}, function (_ref9) {
|
|
@@ -20497,7 +20703,10 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20497
20703
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
20498
20704
|
});
|
|
20499
20705
|
|
|
20500
|
-
var _excluded$
|
|
20706
|
+
var _excluded$n = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20707
|
+
var ROYAL_BLUE$2 = ROYAL_BLUE;
|
|
20708
|
+
var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
|
|
20709
|
+
|
|
20501
20710
|
/*
|
|
20502
20711
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20503
20712
|
unrecognized DOM attributes.
|
|
@@ -20510,14 +20719,14 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20510
20719
|
active = _ref.active,
|
|
20511
20720
|
color = _ref.color,
|
|
20512
20721
|
extrastyles = _ref.extrastyles,
|
|
20513
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20722
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
20514
20723
|
return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
|
|
20515
20724
|
ref: ref
|
|
20516
20725
|
}));
|
|
20517
20726
|
})).withConfig({
|
|
20518
20727
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
20519
20728
|
componentId: "sc-cuqxud-0"
|
|
20520
|
-
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";
|
|
20729
|
+
})(["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
20730
|
var color = _ref2.color,
|
|
20522
20731
|
active = _ref2.active,
|
|
20523
20732
|
activeColor = _ref2.activeColor;
|
|
@@ -20537,10 +20746,10 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20537
20746
|
}, function (_ref7) {
|
|
20538
20747
|
var margin = _ref7.margin;
|
|
20539
20748
|
return margin;
|
|
20540
|
-
}, function (_ref8) {
|
|
20749
|
+
}, LINK_TEXT_DECORATION$4, function (_ref8) {
|
|
20541
20750
|
var hoverColor = _ref8.hoverColor;
|
|
20542
20751
|
return hoverColor;
|
|
20543
|
-
}, ROYAL_BLUE, function (_ref9) {
|
|
20752
|
+
}, ROYAL_BLUE$2, function (_ref9) {
|
|
20544
20753
|
var activeColor = _ref9.activeColor;
|
|
20545
20754
|
return activeColor;
|
|
20546
20755
|
}, function (_ref10) {
|
|
@@ -20613,7 +20822,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20613
20822
|
lineheight: themeValues.lineHeight,
|
|
20614
20823
|
fontWeight: themeValues.fontWeight,
|
|
20615
20824
|
margin: themeValues.margin,
|
|
20616
|
-
extraStyles: "\n text-transform: uppercase;\n ".concat(isActive.toString() === "true" && "
|
|
20825
|
+
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
20826
|
}, linkText), index < breadcrumbsList.length - 1 ? /*#__PURE__*/React.createElement(IconChevron, null) : /*#__PURE__*/React.createElement(Fragment$1, null));
|
|
20618
20827
|
})));
|
|
20619
20828
|
};
|
|
@@ -22193,9 +22402,7 @@ _curry2(function test(pattern, str) {
|
|
|
22193
22402
|
return _cloneRegExp(pattern).test(str);
|
|
22194
22403
|
});
|
|
22195
22404
|
|
|
22196
|
-
var
|
|
22197
|
-
|
|
22198
|
-
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22405
|
+
var _excluded$o = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22199
22406
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22200
22407
|
var _ref$url = _ref.url,
|
|
22201
22408
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -22203,12 +22410,14 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22203
22410
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
22204
22411
|
_ref$fileLink = _ref.fileLink,
|
|
22205
22412
|
fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
|
|
22206
|
-
extraStyles = _ref.extraStyles,
|
|
22207
|
-
|
|
22413
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
22414
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
22415
|
+
_ref$linkExtraStyles = _ref.linkExtraStyles,
|
|
22416
|
+
linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles,
|
|
22208
22417
|
_ref$newTab = _ref.newTab,
|
|
22209
22418
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22210
22419
|
dataQa = _ref.dataQa,
|
|
22211
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22420
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$o);
|
|
22212
22421
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
22213
22422
|
var children = _ref2.children,
|
|
22214
22423
|
url = _ref2.url,
|
|
@@ -22239,6 +22448,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22239
22448
|
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
|
|
22240
22449
|
dataQa: dataQa
|
|
22241
22450
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, _extends({}, otherProps, {
|
|
22451
|
+
disabled: disabled,
|
|
22242
22452
|
extraStyles: extraStyles
|
|
22243
22453
|
})));
|
|
22244
22454
|
};
|
|
@@ -22295,7 +22505,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
22295
22505
|
return extraStyles;
|
|
22296
22506
|
});
|
|
22297
22507
|
|
|
22298
|
-
var _excluded$
|
|
22508
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
22299
22509
|
var Paragraph = function Paragraph(_ref) {
|
|
22300
22510
|
var themeValues = _ref.themeValues,
|
|
22301
22511
|
_ref$weight = _ref.weight,
|
|
@@ -22309,7 +22519,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22309
22519
|
dataQa = _ref.dataQa,
|
|
22310
22520
|
children = _ref.children,
|
|
22311
22521
|
as = _ref.as,
|
|
22312
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22522
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
22313
22523
|
return /*#__PURE__*/React.createElement(ParagraphText, _extends({
|
|
22314
22524
|
weight: weight,
|
|
22315
22525
|
color: color,
|
|
@@ -22598,7 +22808,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22598
22808
|
name = _ref4.name,
|
|
22599
22809
|
checked = _ref4.checked,
|
|
22600
22810
|
_ref4$onChange = _ref4.onChange,
|
|
22601
|
-
onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
|
|
22811
|
+
onChange = _ref4$onChange === void 0 ? noop$1 : _ref4$onChange,
|
|
22602
22812
|
_ref4$disabled = _ref4.disabled,
|
|
22603
22813
|
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
22604
22814
|
themeValues = _ref4.themeValues,
|
|
@@ -22793,7 +23003,7 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22793
23003
|
padding: "0.875rem",
|
|
22794
23004
|
borderRadius: "4px",
|
|
22795
23005
|
minWidth: "30%",
|
|
22796
|
-
onClick: disabled ? noop : onSelect,
|
|
23006
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
22797
23007
|
borderColor: borderColor,
|
|
22798
23008
|
borderSize: "1px",
|
|
22799
23009
|
color: color,
|
|
@@ -22808,8 +23018,8 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22808
23018
|
name: name,
|
|
22809
23019
|
"aria-label": name,
|
|
22810
23020
|
htmlFor: "checkbox-".concat(name, "-").concat(index),
|
|
22811
|
-
onClick: disabled ? noop : onSelect,
|
|
22812
|
-
onKeyDown: disabled ? noop : onSelect,
|
|
23021
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
23022
|
+
onKeyDown: disabled ? noop$1 : onSelect,
|
|
22813
23023
|
tabIndex: 0
|
|
22814
23024
|
}, /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
22815
23025
|
theme: {
|
|
@@ -24292,7 +24502,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24292
24502
|
_ref13$disabledValues = _ref13.disabledValues,
|
|
24293
24503
|
disabledValues = _ref13$disabledValues === void 0 ? [] : _ref13$disabledValues,
|
|
24294
24504
|
_ref13$onClick = _ref13.onClick,
|
|
24295
|
-
_onClick = _ref13$onClick === void 0 ? noop : _ref13$onClick,
|
|
24505
|
+
_onClick = _ref13$onClick === void 0 ? noop$1 : _ref13$onClick,
|
|
24296
24506
|
themeValues = _ref13.themeValues,
|
|
24297
24507
|
maxHeight = _ref13.maxHeight,
|
|
24298
24508
|
_ref13$widthFitOption = _ref13.widthFitOptions,
|
|
@@ -25618,7 +25828,7 @@ var mobileFallbackValues$1 = {
|
|
|
25618
25828
|
};
|
|
25619
25829
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25620
25830
|
|
|
25621
|
-
var _excluded$
|
|
25831
|
+
var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25622
25832
|
|
|
25623
25833
|
/*
|
|
25624
25834
|
New responsive text component for Detail elements
|
|
@@ -25668,7 +25878,7 @@ var Detail = function Detail(_ref) {
|
|
|
25668
25878
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25669
25879
|
dataQa = _ref.dataQa,
|
|
25670
25880
|
children = _ref.children,
|
|
25671
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25881
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
25672
25882
|
return /*#__PURE__*/React.createElement(DetailText, _extends({
|
|
25673
25883
|
variant: variant,
|
|
25674
25884
|
as: as,
|
|
@@ -25807,7 +26017,7 @@ var useToastNotification = function useToastNotification() {
|
|
|
25807
26017
|
|
|
25808
26018
|
|
|
25809
26019
|
|
|
25810
|
-
var index$
|
|
26020
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
25811
26021
|
__proto__: null,
|
|
25812
26022
|
useOutsideClick: useOutsideClickHook,
|
|
25813
26023
|
useScrollTo: useScrollTo,
|
|
@@ -25908,7 +26118,7 @@ var Popover = function Popover(_ref) {
|
|
|
25908
26118
|
extraStyles: "position: relative; ".concat(extraStyles)
|
|
25909
26119
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
25910
26120
|
action: function action() {
|
|
25911
|
-
return noop;
|
|
26121
|
+
return noop$1;
|
|
25912
26122
|
},
|
|
25913
26123
|
onFocus: function onFocus() {
|
|
25914
26124
|
handleTogglePopover(true);
|
|
@@ -26378,7 +26588,7 @@ var fallbackValues$k = {
|
|
|
26378
26588
|
formFooterPanel: formFooterPanel
|
|
26379
26589
|
};
|
|
26380
26590
|
|
|
26381
|
-
var _excluded$
|
|
26591
|
+
var _excluded$r = ["showErrors", "themeValues"],
|
|
26382
26592
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26383
26593
|
var InputField = styled.input.withConfig({
|
|
26384
26594
|
displayName: "FormInput__InputField",
|
|
@@ -26413,7 +26623,7 @@ var InputField = styled.input.withConfig({
|
|
|
26413
26623
|
var FormattedInputField = styled(function (_ref8) {
|
|
26414
26624
|
var showErrors = _ref8.showErrors,
|
|
26415
26625
|
themeValues = _ref8.themeValues,
|
|
26416
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26626
|
+
props = _objectWithoutProperties(_ref8, _excluded$r);
|
|
26417
26627
|
return /*#__PURE__*/React.createElement(FormattedInput, props);
|
|
26418
26628
|
}).withConfig({
|
|
26419
26629
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26512,7 +26722,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26512
26722
|
color: themeValues.linkColor,
|
|
26513
26723
|
weight: themeValues.fontWeight,
|
|
26514
26724
|
hoverStyles: themeValues.hoverFocusStyles,
|
|
26515
|
-
extraStyles: "cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26725
|
+
extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26516
26726
|
onClick: function onClick() {
|
|
26517
26727
|
return setShowPassword(!showPassword);
|
|
26518
26728
|
},
|
|
@@ -26585,7 +26795,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26585
26795
|
};
|
|
26586
26796
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26587
26797
|
|
|
26588
|
-
var _excluded$
|
|
26798
|
+
var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26589
26799
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26590
26800
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26591
26801
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26594,7 +26804,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26594
26804
|
largeChild = _ref.largeChild,
|
|
26595
26805
|
largeChildSize = _ref.largeChildSize,
|
|
26596
26806
|
children = _ref.children,
|
|
26597
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26807
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26598
26808
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
26599
26809
|
padding: "0"
|
|
26600
26810
|
}, rest), /*#__PURE__*/React.createElement(Switcher, {
|
|
@@ -26605,24 +26815,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26605
26815
|
}, children));
|
|
26606
26816
|
};
|
|
26607
26817
|
|
|
26608
|
-
var _excluded$
|
|
26818
|
+
var _excluded$t = ["childGap", "bottomItem", "children"];
|
|
26609
26819
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26610
26820
|
var _ref$childGap = _ref.childGap,
|
|
26611
26821
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26612
26822
|
bottomItem = _ref.bottomItem,
|
|
26613
26823
|
children = _ref.children,
|
|
26614
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26824
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26615
26825
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
26616
26826
|
childGap: childGap,
|
|
26617
26827
|
bottomItem: bottomItem
|
|
26618
26828
|
}, rest), children);
|
|
26619
26829
|
};
|
|
26620
26830
|
|
|
26621
|
-
var _excluded$
|
|
26831
|
+
var _excluded$u = ["themeValues", "children"];
|
|
26622
26832
|
var FormContainer = function FormContainer(_ref) {
|
|
26623
26833
|
var themeValues = _ref.themeValues,
|
|
26624
26834
|
children = _ref.children,
|
|
26625
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26835
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26626
26836
|
var _useContext = useContext(ThemeContext),
|
|
26627
26837
|
isMobile = _useContext.isMobile;
|
|
26628
26838
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
@@ -26874,7 +27084,7 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
26874
27084
|
inactiveColor = _ref4.inactiveColor,
|
|
26875
27085
|
isActive = _ref4.isActive,
|
|
26876
27086
|
_ref4$onClick = _ref4.onClick,
|
|
26877
|
-
onClick = _ref4$onClick === void 0 ? noop : _ref4$onClick,
|
|
27087
|
+
onClick = _ref4$onClick === void 0 ? noop$1 : _ref4$onClick,
|
|
26878
27088
|
controls = _ref4.controls;
|
|
26879
27089
|
return /*#__PURE__*/React.createElement(Hamburger, {
|
|
26880
27090
|
className: isActive === true ? "active" : "",
|
|
@@ -26932,7 +27142,7 @@ var fallbackValues$o = {
|
|
|
26932
27142
|
fontSize: fontSize$8
|
|
26933
27143
|
};
|
|
26934
27144
|
|
|
26935
|
-
var _excluded$
|
|
27145
|
+
var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26936
27146
|
var Heading = function Heading(_ref) {
|
|
26937
27147
|
var themeValues = _ref.themeValues,
|
|
26938
27148
|
_ref$weight = _ref.weight,
|
|
@@ -26951,7 +27161,7 @@ var Heading = function Heading(_ref) {
|
|
|
26951
27161
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26952
27162
|
dataQa = _ref.dataQa,
|
|
26953
27163
|
children = _ref.children,
|
|
26954
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27164
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26955
27165
|
return /*#__PURE__*/React.createElement(HeadingText, _extends({
|
|
26956
27166
|
variant: variant,
|
|
26957
27167
|
as: as,
|
|
@@ -27038,9 +27248,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27038
27248
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
27039
27249
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
27040
27250
|
openCartSlider = _ref.openCartSlider,
|
|
27041
|
-
extraStyles = _ref.extraStyles
|
|
27042
|
-
cartStatusExtraStyles = _ref.cartStatusExtraStyles,
|
|
27043
|
-
cartStatusThemeValues = _ref.cartStatusThemeValues;
|
|
27251
|
+
extraStyles = _ref.extraStyles;
|
|
27044
27252
|
var _useContext = useContext(ThemeContext),
|
|
27045
27253
|
isMobile = _useContext.isMobile;
|
|
27046
27254
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -27063,8 +27271,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27063
27271
|
minHeight: "100%",
|
|
27064
27272
|
justify: isMobile && !showCartStatus ? "center" : showButton || showCartStatus ? "space-between" : "left",
|
|
27065
27273
|
align: "center",
|
|
27066
|
-
nowrap: showCartStatus
|
|
27067
|
-
extraStyles: cartStatusExtraStyles
|
|
27274
|
+
nowrap: showCartStatus
|
|
27068
27275
|
}, /*#__PURE__*/React.createElement(Title$1, {
|
|
27069
27276
|
variant: isMobile ? "small" : "large",
|
|
27070
27277
|
as: "h1",
|
|
@@ -27081,7 +27288,6 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27081
27288
|
variant: "primary",
|
|
27082
27289
|
extraStyles: "margin: 0 0 65px 0; min-width: 320px;"
|
|
27083
27290
|
}), showCartStatus && /*#__PURE__*/React.createElement(CartStatus, {
|
|
27084
|
-
themeValues: cartStatusThemeValues,
|
|
27085
27291
|
total: total,
|
|
27086
27292
|
itemsCount: itemsCount,
|
|
27087
27293
|
openCart: openCartSlider
|
|
@@ -27156,11 +27362,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
27156
27362
|
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
27157
27363
|
};
|
|
27158
27364
|
|
|
27159
|
-
var _excluded$
|
|
27365
|
+
var _excluded$w = ["version"];
|
|
27160
27366
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
27161
27367
|
var _ref$version = _ref.version,
|
|
27162
27368
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
27163
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27369
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27164
27370
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27165
27371
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
27166
27372
|
};
|
|
@@ -27297,7 +27503,7 @@ var Loading = function Loading() {
|
|
|
27297
27503
|
})))));
|
|
27298
27504
|
};
|
|
27299
27505
|
|
|
27300
|
-
var _excluded$
|
|
27506
|
+
var _excluded$x = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
27301
27507
|
var NavFooter = function NavFooter(_ref) {
|
|
27302
27508
|
var leftContent = _ref.leftContent,
|
|
27303
27509
|
rightContent = _ref.rightContent,
|
|
@@ -27312,7 +27518,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27312
27518
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27313
27519
|
isMobile = _ref.isMobile,
|
|
27314
27520
|
footerWidth = _ref.footerWidth,
|
|
27315
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27521
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27316
27522
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27317
27523
|
padding: footerPadding,
|
|
27318
27524
|
background: backgroundColor,
|
|
@@ -27343,7 +27549,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27343
27549
|
}, rightContent)))))));
|
|
27344
27550
|
};
|
|
27345
27551
|
|
|
27346
|
-
var _excluded$
|
|
27552
|
+
var _excluded$y = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27347
27553
|
var NavHeader = function NavHeader(_ref) {
|
|
27348
27554
|
var leftContent = _ref.leftContent,
|
|
27349
27555
|
rightContent = _ref.rightContent,
|
|
@@ -27352,7 +27558,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27352
27558
|
isMobile = _ref.isMobile,
|
|
27353
27559
|
backgroundColor = _ref.backgroundColor,
|
|
27354
27560
|
headerWidth = _ref.headerWidth,
|
|
27355
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27561
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
27356
27562
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27357
27563
|
padding: "0 16px 4px",
|
|
27358
27564
|
background: backgroundColor,
|
|
@@ -27563,20 +27769,26 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27563
27769
|
action = _ref.action,
|
|
27564
27770
|
destination = _ref.destination,
|
|
27565
27771
|
children = _ref.children,
|
|
27566
|
-
dataQa = _ref.dataQa
|
|
27772
|
+
dataQa = _ref.dataQa,
|
|
27773
|
+
_ref$disabled = _ref.disabled,
|
|
27774
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
27567
27775
|
return isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
27568
27776
|
to: destination,
|
|
27569
|
-
"data-qa": dataQa
|
|
27777
|
+
"data-qa": dataQa,
|
|
27778
|
+
style: {
|
|
27779
|
+
textDecoration: "none"
|
|
27780
|
+
}
|
|
27570
27781
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27571
27782
|
padding: "0",
|
|
27572
27783
|
minHeight: "100%",
|
|
27573
|
-
extraStyles: "cursor: pointer;"
|
|
27784
|
+
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27574
27785
|
}, children)) : /*#__PURE__*/React.createElement(Box, {
|
|
27575
|
-
onClick: action,
|
|
27786
|
+
onClick: disabled ? noop$1 : action,
|
|
27576
27787
|
padding: "0",
|
|
27577
27788
|
minHeight: "100%",
|
|
27578
|
-
|
|
27579
|
-
|
|
27789
|
+
dataQa: dataQa,
|
|
27790
|
+
"aria-disabled": disabled,
|
|
27791
|
+
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27580
27792
|
}, children);
|
|
27581
27793
|
};
|
|
27582
27794
|
var Placeholder = function Placeholder(_ref2) {
|
|
@@ -27590,12 +27802,16 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27590
27802
|
variant = _ref2.variant,
|
|
27591
27803
|
largeIcon = _ref2.largeIcon,
|
|
27592
27804
|
themeValues = _ref2.themeValues,
|
|
27593
|
-
dataQa = _ref2.dataQa
|
|
27805
|
+
dataQa = _ref2.dataQa,
|
|
27806
|
+
_ref2$disabled = _ref2.disabled,
|
|
27807
|
+
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
|
|
27808
|
+
var tintedColor = "".concat(curriedTint$1(0.9, themeValues.color));
|
|
27594
27809
|
return /*#__PURE__*/React.createElement(PlaceholderContentWrapper, {
|
|
27595
27810
|
isLink: isLink,
|
|
27596
27811
|
action: action,
|
|
27597
27812
|
destination: destination,
|
|
27598
|
-
dataQa: dataQa
|
|
27813
|
+
dataQa: dataQa,
|
|
27814
|
+
disabled: disabled
|
|
27599
27815
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27600
27816
|
padding: "0",
|
|
27601
27817
|
borderRadius: "4px",
|
|
@@ -27603,14 +27819,14 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27603
27819
|
minHeight: themeValues.height,
|
|
27604
27820
|
hiddenStyles: !visible,
|
|
27605
27821
|
extraStyles: "\n background: linear-gradient(\n to right,\n ".concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;"),
|
|
27606
|
-
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY :
|
|
27822
|
+
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : tintedColor, ";")
|
|
27607
27823
|
}, /*#__PURE__*/React.createElement(Center, {
|
|
27608
27824
|
maxWidth: "300px"
|
|
27609
27825
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27610
27826
|
padding: "0",
|
|
27611
27827
|
tabIndex: "0",
|
|
27612
27828
|
onKeyPress: function onKeyPress(e) {
|
|
27613
|
-
return e.key === "Enter" && action();
|
|
27829
|
+
return e.key === "Enter" && !disabled && action();
|
|
27614
27830
|
}
|
|
27615
27831
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
27616
27832
|
justify: "center",
|
|
@@ -27722,7 +27938,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27722
27938
|
themeValues = _ref5.themeValues,
|
|
27723
27939
|
index = _ref5.index,
|
|
27724
27940
|
_ref5$handleChange = _ref5.handleChange,
|
|
27725
|
-
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange,
|
|
27941
|
+
handleChange = _ref5$handleChange === void 0 ? noop$1 : _ref5$handleChange,
|
|
27726
27942
|
field = _ref5.field,
|
|
27727
27943
|
config = _ref5.config;
|
|
27728
27944
|
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
@@ -38606,7 +38822,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38606
38822
|
var _ref6$isOn = _ref6.isOn,
|
|
38607
38823
|
isOn = _ref6$isOn === void 0 ? false : _ref6$isOn,
|
|
38608
38824
|
_ref6$onToggle = _ref6.onToggle,
|
|
38609
|
-
onToggle = _ref6$onToggle === void 0 ? noop : _ref6$onToggle,
|
|
38825
|
+
onToggle = _ref6$onToggle === void 0 ? noop$1 : _ref6$onToggle,
|
|
38610
38826
|
_ref6$disabled = _ref6.disabled,
|
|
38611
38827
|
disabled = _ref6$disabled === void 0 ? false : _ref6$disabled,
|
|
38612
38828
|
_ref6$name = _ref6.name,
|
|
@@ -38714,15 +38930,15 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38714
38930
|
}, /*#__PURE__*/React.createElement(HiddenToggleSwitchBox, {
|
|
38715
38931
|
"aria-label": name,
|
|
38716
38932
|
checked: isOn,
|
|
38717
|
-
onChange: disabled ? noop : onToggle,
|
|
38933
|
+
onChange: disabled ? noop$1 : onToggle,
|
|
38718
38934
|
disabled: disabled,
|
|
38719
38935
|
id: "#toggle-".concat(name),
|
|
38720
38936
|
isMobile: isMobile
|
|
38721
38937
|
}), /*#__PURE__*/React.createElement(VisibleSwitch, {
|
|
38722
38938
|
name: name,
|
|
38723
38939
|
htmlFor: "#toggle-".concat(name),
|
|
38724
|
-
onClick: disabled ? noop : onToggle,
|
|
38725
|
-
onKeyDown: disabled ? noop : handleKeyDown,
|
|
38940
|
+
onClick: disabled ? noop$1 : onToggle,
|
|
38941
|
+
onKeyDown: disabled ? noop$1 : handleKeyDown,
|
|
38726
38942
|
pose: disabled ? "disabled" : isOn ? "on" : "off",
|
|
38727
38943
|
tabIndex: disabled ? -1 : 0,
|
|
38728
38944
|
disabled: disabled,
|
|
@@ -38986,14 +39202,6 @@ var NavTabs = function NavTabs(_ref) {
|
|
|
38986
39202
|
}, tabs)));
|
|
38987
39203
|
};
|
|
38988
39204
|
|
|
38989
|
-
|
|
38990
|
-
|
|
38991
|
-
var index$5 = /*#__PURE__*/Object.freeze({
|
|
38992
|
-
__proto__: null,
|
|
38993
|
-
colors: colors,
|
|
38994
|
-
fontWeights: style_constants
|
|
38995
|
-
});
|
|
38996
|
-
|
|
38997
39205
|
var shineFrames = keyframes$3(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
|
|
38998
39206
|
var LoadingPill = styled.div.withConfig({
|
|
38999
39207
|
displayName: "LoadingPillstyled__LoadingPill",
|
|
@@ -39106,7 +39314,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
39106
39314
|
return extraStyles;
|
|
39107
39315
|
});
|
|
39108
39316
|
|
|
39109
|
-
var _excluded$
|
|
39317
|
+
var _excluded$z = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
39110
39318
|
var TableRow = function TableRow(_ref) {
|
|
39111
39319
|
var children = _ref.children,
|
|
39112
39320
|
extraStyles = _ref.extraStyles,
|
|
@@ -39115,7 +39323,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39115
39323
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
39116
39324
|
onClick = _ref.onClick,
|
|
39117
39325
|
themeValues = _ref.themeValues,
|
|
39118
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
39326
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
39119
39327
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
39120
39328
|
onClick: onClick,
|
|
39121
39329
|
hoverEffect: hoverEffect,
|
|
@@ -39822,7 +40030,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
39822
40030
|
clearOnDismount = _ref.clearOnDismount,
|
|
39823
40031
|
showErrors = _ref.showErrors,
|
|
39824
40032
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
39825
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40033
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
39826
40034
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
39827
40035
|
saveToWallet = _ref.saveToWallet,
|
|
39828
40036
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40022,7 +40230,7 @@ var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
|
40022
40230
|
fields = _ref.fields,
|
|
40023
40231
|
actions = _ref.actions,
|
|
40024
40232
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40025
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40233
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40026
40234
|
showErrors = _ref.showErrors,
|
|
40027
40235
|
isMobile = _ref.isMobile,
|
|
40028
40236
|
revenueManagement = _ref.revenueManagement,
|
|
@@ -40233,8 +40441,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40233
40441
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40234
40442
|
padding: customPadding ? customPadding : "0",
|
|
40235
40443
|
background: themeValues.headingBackgroundColor,
|
|
40236
|
-
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
40237
|
-
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
40444
|
+
onClick: isMobile && supportsTouch ? noop$1 : toggleSection,
|
|
40445
|
+
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop$1,
|
|
40238
40446
|
key: "header",
|
|
40239
40447
|
hoverStyles: "cursor: pointer;",
|
|
40240
40448
|
tabIndex: "0",
|
|
@@ -40452,7 +40660,7 @@ var EditNameForm = function EditNameForm(_ref) {
|
|
|
40452
40660
|
clearOnDismount = _ref.clearOnDismount,
|
|
40453
40661
|
showErrors = _ref.showErrors,
|
|
40454
40662
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40455
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
40663
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
40456
40664
|
if (clearOnDismount) {
|
|
40457
40665
|
useEffect$1(function () {
|
|
40458
40666
|
return function () {
|
|
@@ -40792,7 +41000,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
40792
41000
|
showErrors = _ref.showErrors,
|
|
40793
41001
|
guestCheckout = _ref.guestCheckout,
|
|
40794
41002
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40795
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
41003
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40796
41004
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
40797
41005
|
saveToWallet = _ref.saveToWallet,
|
|
40798
41006
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40889,7 +41097,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
|
40889
41097
|
clearOnDismount = _ref.clearOnDismount,
|
|
40890
41098
|
showErrors = _ref.showErrors,
|
|
40891
41099
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40892
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
41100
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
40893
41101
|
if (clearOnDismount) {
|
|
40894
41102
|
useEffect$1(function () {
|
|
40895
41103
|
return function () {
|
|
@@ -42440,10 +42648,22 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
42440
42648
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
42441
42649
|
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
42650
|
|
|
42443
|
-
var activeBackgroundColor$1 =
|
|
42444
|
-
|
|
42445
|
-
|
|
42446
|
-
|
|
42651
|
+
var activeBackgroundColor$1 = {
|
|
42652
|
+
primary: "".concat(CORNFLOWER_BLUE),
|
|
42653
|
+
disabled: "".concat(TRANSPARENT)
|
|
42654
|
+
};
|
|
42655
|
+
var backgroundColor$9 = {
|
|
42656
|
+
primary: "".concat(LINK_WATER),
|
|
42657
|
+
disabled: "".concat(TRANSPARENT)
|
|
42658
|
+
};
|
|
42659
|
+
var borderColor$5 = {
|
|
42660
|
+
primary: "".concat(MOON_RAKER),
|
|
42661
|
+
disabled: "".concat(GHOST_GREY)
|
|
42662
|
+
};
|
|
42663
|
+
var color$b = {
|
|
42664
|
+
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
42665
|
+
disabled: "".concat(MANATEE_GREY)
|
|
42666
|
+
};
|
|
42447
42667
|
var fallbackValues$I = {
|
|
42448
42668
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42449
42669
|
backgroundColor: backgroundColor$9,
|
|
@@ -42454,28 +42674,34 @@ 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;&:hover,&:active{cursor:
|
|
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;&:hover,&:active{cursor:", ";box-shadow:", ";}&:hover:not(:active){", "}&:active{", "}"], function (_ref) {
|
|
42458
42678
|
var theme = _ref.theme;
|
|
42459
42679
|
return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ");
|
|
42460
42680
|
}, function (_ref2) {
|
|
42461
|
-
var
|
|
42462
|
-
return
|
|
42681
|
+
var disabled = _ref2.disabled;
|
|
42682
|
+
return disabled ? "default" : "pointer";
|
|
42463
42683
|
}, function (_ref3) {
|
|
42464
|
-
var
|
|
42465
|
-
return "\n
|
|
42684
|
+
var disabled = _ref3.disabled;
|
|
42685
|
+
return "\n ".concat(disabled ? "none" : "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 ");
|
|
42686
|
+
}, function (_ref4) {
|
|
42687
|
+
var theme = _ref4.theme;
|
|
42688
|
+
return "border: 1px solid ".concat(theme.borderColor, ";");
|
|
42689
|
+
}, function (_ref5) {
|
|
42690
|
+
var theme = _ref5.theme;
|
|
42691
|
+
return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ;");
|
|
42466
42692
|
});
|
|
42467
42693
|
var Title$2 = styled(Heading$1).withConfig({
|
|
42468
42694
|
displayName: "LinkCardstyled__Title",
|
|
42469
42695
|
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 theme =
|
|
42696
|
+
})(["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 (_ref6) {
|
|
42697
|
+
var theme = _ref6.theme;
|
|
42472
42698
|
return "color: ".concat(theme.color, ";");
|
|
42473
42699
|
});
|
|
42474
42700
|
var Subtitle = styled(Paragraph$1).withConfig({
|
|
42475
42701
|
displayName: "LinkCardstyled__Subtitle",
|
|
42476
42702
|
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 %;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (
|
|
42478
|
-
var theme =
|
|
42703
|
+
})(["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 (_ref7) {
|
|
42704
|
+
var theme = _ref7.theme;
|
|
42479
42705
|
return "color: ".concat(theme.color, ";");
|
|
42480
42706
|
});
|
|
42481
42707
|
var Footer = styled(Stack).withConfig({
|
|
@@ -42484,7 +42710,8 @@ var Footer = styled(Stack).withConfig({
|
|
|
42484
42710
|
})(["align-items:center;width:100%;"]);
|
|
42485
42711
|
|
|
42486
42712
|
var LinkCard = function LinkCard(_ref) {
|
|
42487
|
-
var _ref$
|
|
42713
|
+
var _ref$variant = _ref.variant,
|
|
42714
|
+
_ref$title = _ref.title,
|
|
42488
42715
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42489
42716
|
_ref$subtitle = _ref.subtitle,
|
|
42490
42717
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
@@ -42501,7 +42728,9 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42501
42728
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
42502
42729
|
themeValues = _ref.themeValues,
|
|
42503
42730
|
_ref$titleVariant = _ref.titleVariant,
|
|
42504
|
-
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant
|
|
42731
|
+
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant,
|
|
42732
|
+
_ref$disabled = _ref.disabled,
|
|
42733
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
42505
42734
|
var _useContext = useContext(ThemeContext),
|
|
42506
42735
|
isMobile = _useContext.isMobile;
|
|
42507
42736
|
var regex = /\W/g;
|
|
@@ -42518,7 +42747,8 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42518
42747
|
extraStyles: extraStyles,
|
|
42519
42748
|
hoverStyles: extraHoverStyles,
|
|
42520
42749
|
activeStyles: extraActiveStyles,
|
|
42521
|
-
onClick: onClick
|
|
42750
|
+
onClick: disabled ? noop$1 : onClick,
|
|
42751
|
+
disabled: disabled
|
|
42522
42752
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
42523
42753
|
childGap: 0,
|
|
42524
42754
|
bottomItem: 3,
|
|
@@ -42549,9 +42779,11 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42549
42779
|
direction: "row",
|
|
42550
42780
|
childGap: "6px",
|
|
42551
42781
|
justify: "space-between"
|
|
42552
|
-
}, showLeft &&
|
|
42782
|
+
}, showLeft && !!leftContent ? leftContent : /*#__PURE__*/React.createElement(Box, {
|
|
42783
|
+
extraStyles: "margin-right: auto;"
|
|
42784
|
+
}), showRight && !!rightContent && rightContent))));
|
|
42553
42785
|
};
|
|
42554
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
|
|
42786
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "primary");
|
|
42555
42787
|
|
|
42556
42788
|
var LoginForm = function LoginForm(_ref) {
|
|
42557
42789
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -42559,7 +42791,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
42559
42791
|
actions = _ref.actions,
|
|
42560
42792
|
showErrors = _ref.showErrors,
|
|
42561
42793
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
42562
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
42794
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
42563
42795
|
if (clearOnDismount) {
|
|
42564
42796
|
useEffect$1(function () {
|
|
42565
42797
|
return function () {
|
|
@@ -46424,10 +46656,6 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46424
46656
|
};
|
|
46425
46657
|
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
|
|
46426
46658
|
|
|
46427
|
-
var ACH_METHOD = "BANK_ACCOUNT";
|
|
46428
|
-
var CC_METHOD = "CREDIT_CARD";
|
|
46429
|
-
var CASH_METHOD = "CASH";
|
|
46430
|
-
|
|
46431
46659
|
var IconsModule = function IconsModule(_ref) {
|
|
46432
46660
|
var icon = _ref.icon,
|
|
46433
46661
|
iconDefault = _ref.iconDefault,
|
|
@@ -46507,22 +46735,24 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46507
46735
|
inactive = _ref.inactive,
|
|
46508
46736
|
description = _ref.description,
|
|
46509
46737
|
subDescription = _ref.subDescription,
|
|
46510
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46738
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46739
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46740
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46511
46741
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46512
46742
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46513
46743
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
46514
46744
|
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
46515
|
-
return "To
|
|
46745
|
+
return "To set up ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
|
|
46516
46746
|
};
|
|
46517
46747
|
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
46518
46748
|
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46519
|
-
var deactivateText = "
|
|
46520
|
-
var activateText = "Set
|
|
46749
|
+
var deactivateText = "Stop ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46750
|
+
var activateText = "Set up ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46521
46751
|
var nextDate = dueDate || nextAutopayDate;
|
|
46522
46752
|
var modalExtraProps = {
|
|
46523
|
-
modalHeaderText: autoPayActive ?
|
|
46524
|
-
modalBodyText: autoPayActive ? "Are you sure you want to
|
|
46525
|
-
continueButtonText: autoPayActive ? "
|
|
46753
|
+
modalHeaderText: autoPayActive ? deactivateText : activateText,
|
|
46754
|
+
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),
|
|
46755
|
+
continueButtonText: autoPayActive ? "Stop ".concat(shortPlan) : "Add",
|
|
46526
46756
|
useDangerButton: autoPayActive,
|
|
46527
46757
|
continueAction: autoPayActive ? function () {
|
|
46528
46758
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -46539,10 +46769,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46539
46769
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46540
46770
|
variant: "secondary",
|
|
46541
46771
|
action: function action() {
|
|
46542
|
-
toggleModal(true);
|
|
46772
|
+
isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46543
46773
|
},
|
|
46544
46774
|
dataQa: "Turn off Autopay",
|
|
46545
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;"
|
|
46775
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;",
|
|
46776
|
+
disabled: isInCustomerManagement
|
|
46546
46777
|
});
|
|
46547
46778
|
}
|
|
46548
46779
|
case "tertiary":
|
|
@@ -46551,10 +46782,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46551
46782
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46552
46783
|
variant: "tertiary",
|
|
46553
46784
|
action: function action() {
|
|
46554
|
-
toggleModal(true);
|
|
46785
|
+
isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46555
46786
|
},
|
|
46556
46787
|
dataQa: "Manage Autopay",
|
|
46557
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46788
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46789
|
+
disabled: isInCustomerManagement
|
|
46558
46790
|
});
|
|
46559
46791
|
}
|
|
46560
46792
|
case "link":
|
|
@@ -46562,7 +46794,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46562
46794
|
return /*#__PURE__*/React.createElement(Box, {
|
|
46563
46795
|
padding: "0",
|
|
46564
46796
|
onClick: function onClick() {
|
|
46565
|
-
toggleModal(true);
|
|
46797
|
+
isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46566
46798
|
},
|
|
46567
46799
|
hoverStyles: hoverStyles,
|
|
46568
46800
|
activeStyles: activeStyles,
|
|
@@ -46573,9 +46805,9 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46573
46805
|
}, /*#__PURE__*/React.createElement(AutopayOnIcon, null), /*#__PURE__*/React.createElement(Text$1, {
|
|
46574
46806
|
variant: "pS",
|
|
46575
46807
|
onClick: function onClick() {
|
|
46576
|
-
return toggleModal(true);
|
|
46808
|
+
return isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46577
46809
|
},
|
|
46578
|
-
onKeyPress: function
|
|
46810
|
+
onKeyPress: isInCustomerManagement ? noop$1 : function (e) {
|
|
46579
46811
|
e.key === "Enter" && toggleModal(true);
|
|
46580
46812
|
},
|
|
46581
46813
|
tabIndex: "0",
|
|
@@ -46583,16 +46815,17 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46583
46815
|
color: SEA_GREEN,
|
|
46584
46816
|
weight: themeValues.fontWeight,
|
|
46585
46817
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
46586
|
-
extraStyles: "padding-left: 0.25rem;"
|
|
46818
|
+
extraStyles: "padding-left: 0.25rem;",
|
|
46819
|
+
disabled: isInCustomerManagement
|
|
46587
46820
|
}, "".concat(shortPlan, " ").concat(nextAutopayDate))));
|
|
46588
46821
|
}
|
|
46589
46822
|
}
|
|
46590
46823
|
};
|
|
46591
46824
|
return /*#__PURE__*/React.createElement(Modal$1, _extends({
|
|
46592
|
-
showModal: function
|
|
46825
|
+
showModal: isInCustomerManagement ? noop$1 : function () {
|
|
46593
46826
|
return toggleModal(true);
|
|
46594
46827
|
},
|
|
46595
|
-
hideModal: function
|
|
46828
|
+
hideModal: isInCustomerManagement ? noop$1 : function () {
|
|
46596
46829
|
return toggleModal(false);
|
|
46597
46830
|
},
|
|
46598
46831
|
modalOpen: modalOpen
|
|
@@ -46612,7 +46845,9 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46612
46845
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
46613
46846
|
description = _ref.description,
|
|
46614
46847
|
subDescription = _ref.subDescription,
|
|
46615
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46848
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46849
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46850
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46616
46851
|
var _useState = useState(false),
|
|
46617
46852
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46618
46853
|
modalOpen = _useState2[0],
|
|
@@ -46642,7 +46877,8 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46642
46877
|
controlType: "link",
|
|
46643
46878
|
description: description,
|
|
46644
46879
|
subDescription: subDescription,
|
|
46645
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46880
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46881
|
+
isInCustomerManagement: isInCustomerManagement
|
|
46646
46882
|
})));
|
|
46647
46883
|
};
|
|
46648
46884
|
|
|
@@ -46719,7 +46955,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46719
46955
|
nextAutopayDate: nextAutopayDate,
|
|
46720
46956
|
description: description,
|
|
46721
46957
|
subDescription: subDescription,
|
|
46722
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46958
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46959
|
+
isInCustomerManagement: isInCustomerManagement
|
|
46723
46960
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
46724
46961
|
padding: isMobile ? "16px" : "0"
|
|
46725
46962
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
@@ -46738,7 +46975,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46738
46975
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
46739
46976
|
padding: isMobile ? "0 8px 0 0" : "0",
|
|
46740
46977
|
extraStyles: isMobile && "flex-grow: 1;"
|
|
46741
|
-
}, autoPayAvailable && !autoPayEnabled
|
|
46978
|
+
}, autoPayAvailable && !autoPayEnabled ? /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46742
46979
|
variant: "tertiary",
|
|
46743
46980
|
text: "Set Up ".concat(planType),
|
|
46744
46981
|
action: function action() {
|
|
@@ -46746,7 +46983,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46746
46983
|
handleAutopayAction();
|
|
46747
46984
|
},
|
|
46748
46985
|
dataQa: "Set Up Autopay",
|
|
46749
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46986
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46987
|
+
disabled: isInCustomerManagement
|
|
46750
46988
|
}) : /*#__PURE__*/React.createElement(AutopayModalModule, {
|
|
46751
46989
|
autoPayActive: autoPayEnabled,
|
|
46752
46990
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -46762,18 +47000,20 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46762
47000
|
dueDate: dueDate,
|
|
46763
47001
|
description: description,
|
|
46764
47002
|
subDescription: subDescription,
|
|
46765
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46766
|
-
|
|
47003
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47004
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47005
|
+
})), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46767
47006
|
padding: "0"
|
|
46768
47007
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46769
47008
|
isLoading: isLoading,
|
|
46770
|
-
action: function
|
|
47009
|
+
action: isInCustomerManagement ? noop : function () {
|
|
46771
47010
|
return handleClick(obligations);
|
|
46772
47011
|
},
|
|
46773
47012
|
text: "Pay Now",
|
|
46774
|
-
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46775
|
-
dataQa: "Pay Now"
|
|
46776
|
-
|
|
47013
|
+
variant: isMobile ? isInCustomerManagement ? "disabledSmallSecondary" : "smallSecondary" : isInCustomerManagement ? "disabledSecondary" : "secondary",
|
|
47014
|
+
dataQa: "Pay Now",
|
|
47015
|
+
disabled: isInCustomerManagement
|
|
47016
|
+
}))), isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46777
47017
|
padding: "8px 0 0",
|
|
46778
47018
|
width: "100%"
|
|
46779
47019
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
@@ -46784,7 +47024,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46784
47024
|
text: "Pay Now",
|
|
46785
47025
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46786
47026
|
dataQa: "Pay Now",
|
|
46787
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
47027
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
|
|
47028
|
+
disabled: isInCustomerManagement
|
|
46788
47029
|
}))));
|
|
46789
47030
|
};
|
|
46790
47031
|
|
|
@@ -46794,7 +47035,9 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46794
47035
|
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
46795
47036
|
removeAccount = _ref.removeAccount,
|
|
46796
47037
|
accountType = _ref.accountType,
|
|
46797
|
-
isMobile = _ref.isMobile
|
|
47038
|
+
isMobile = _ref.isMobile,
|
|
47039
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47040
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46798
47041
|
var _useState = useState(false),
|
|
46799
47042
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46800
47043
|
modalIsOpen = _useState2[0],
|
|
@@ -46828,11 +47071,12 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46828
47071
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46829
47072
|
text: "Remove",
|
|
46830
47073
|
variant: "secondary",
|
|
46831
|
-
action: function
|
|
47074
|
+
action: isInCustomerManagement ? noop : function () {
|
|
46832
47075
|
return setModalIsOpen(true);
|
|
46833
47076
|
},
|
|
46834
47077
|
dataQa: "Remove Account",
|
|
46835
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
47078
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;",
|
|
47079
|
+
disabled: isInCustomerManagement
|
|
46836
47080
|
})));
|
|
46837
47081
|
};
|
|
46838
47082
|
|
|
@@ -46852,7 +47096,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46852
47096
|
actions = _ref.actions,
|
|
46853
47097
|
description = _ref.description,
|
|
46854
47098
|
subDescription = _ref.subDescription,
|
|
46855
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
47099
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
47100
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47101
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46856
47102
|
var _useState = useState(false),
|
|
46857
47103
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46858
47104
|
modalOpen = _useState2[0],
|
|
@@ -46890,15 +47136,17 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46890
47136
|
inactive: true,
|
|
46891
47137
|
description: description,
|
|
46892
47138
|
subDescription: subDescription,
|
|
46893
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47139
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47140
|
+
isInCustomerManagement: isInCustomerManagement
|
|
46894
47141
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
46895
47142
|
padding: "0",
|
|
46896
47143
|
extraStyles: "flex-grow: 1;"
|
|
46897
47144
|
}, /*#__PURE__*/React.createElement(RemoveAccountModalModule, {
|
|
46898
47145
|
agencyName: agencyName,
|
|
46899
|
-
removeAccount: handleRemoveAccount,
|
|
47146
|
+
removeAccount: isInCustomerManagement ? noop$1 : handleRemoveAccount,
|
|
46900
47147
|
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
46901
|
-
isMobile: isMobile
|
|
47148
|
+
isMobile: isMobile,
|
|
47149
|
+
isInCustomerManagement: isInCustomerManagement
|
|
46902
47150
|
}))));
|
|
46903
47151
|
};
|
|
46904
47152
|
|
|
@@ -47028,7 +47276,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47028
47276
|
nextAutopayDate: nextAutopayDate,
|
|
47029
47277
|
description: description,
|
|
47030
47278
|
subDescription: subDescription,
|
|
47031
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47279
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47280
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47032
47281
|
}))), !isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
47033
47282
|
obligations: obligations,
|
|
47034
47283
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47122,7 +47371,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47122
47371
|
configType: config.type,
|
|
47123
47372
|
description: description,
|
|
47124
47373
|
subDescription: subDescription,
|
|
47125
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47374
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47375
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47126
47376
|
}))), isMobile && /*#__PURE__*/React.createElement(InactiveControlsModule, {
|
|
47127
47377
|
obligations: obligations,
|
|
47128
47378
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47139,7 +47389,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47139
47389
|
configType: config.type,
|
|
47140
47390
|
description: description,
|
|
47141
47391
|
subDescription: subDescription,
|
|
47142
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47392
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47393
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47143
47394
|
}))));
|
|
47144
47395
|
return inactive ? inactiveObligation : activeObligation;
|
|
47145
47396
|
};
|
|
@@ -47351,6 +47602,7 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
47351
47602
|
var Pagination = function Pagination(_ref3) {
|
|
47352
47603
|
var _ref3$activeBorderWid = _ref3.activeBorderWidth,
|
|
47353
47604
|
activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
|
|
47605
|
+
ariaLabel = _ref3.ariaLabel,
|
|
47354
47606
|
arrowColor = _ref3.arrowColor,
|
|
47355
47607
|
_ref3$borderRadius = _ref3.borderRadius,
|
|
47356
47608
|
borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
|
|
@@ -47370,11 +47622,10 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47370
47622
|
pageNext = _ref3.pageNext,
|
|
47371
47623
|
pagePrevious = _ref3.pagePrevious,
|
|
47372
47624
|
setCurrentPage = _ref3.setCurrentPage,
|
|
47373
|
-
ariaLabel = _ref3.ariaLabel,
|
|
47374
47625
|
themeValues = _ref3.themeValues;
|
|
47375
47626
|
var _useContext = useContext(ThemeContext),
|
|
47376
47627
|
isMobile = _useContext.isMobile;
|
|
47377
|
-
var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n
|
|
47628
|
+
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
47629
|
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
47630
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
47380
47631
|
justify: "center",
|
|
@@ -47421,7 +47672,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47421
47672
|
return setCurrentPage({
|
|
47422
47673
|
pageNumber: item.index
|
|
47423
47674
|
});
|
|
47424
|
-
} : noop,
|
|
47675
|
+
} : noop$1,
|
|
47425
47676
|
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
47426
47677
|
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
47427
47678
|
dataQa: index
|
|
@@ -47477,7 +47728,11 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47477
47728
|
_ref$hideForwardButto = _ref.hideForwardButton,
|
|
47478
47729
|
hideForwardButton = _ref$hideForwardButto === void 0 ? false : _ref$hideForwardButto,
|
|
47479
47730
|
_ref$hideBackButton = _ref.hideBackButton,
|
|
47480
|
-
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton
|
|
47731
|
+
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton,
|
|
47732
|
+
buttonGroupStyles = _ref.buttonGroupStyles,
|
|
47733
|
+
_ref$hideAdditionalBu = _ref.hideAdditionalButton,
|
|
47734
|
+
hideAdditionalButton = _ref$hideAdditionalBu === void 0 ? false : _ref$hideAdditionalBu,
|
|
47735
|
+
additionalButton = _ref.additionalButton;
|
|
47481
47736
|
var _useContext = useContext(ThemeContext),
|
|
47482
47737
|
isMobile = _useContext.isMobile;
|
|
47483
47738
|
var backButton = !!cancelURL && !!cancelText ? /*#__PURE__*/React.createElement(ButtonWithLink, {
|
|
@@ -47523,8 +47778,9 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47523
47778
|
padding: "2.5rem 0 3.125rem 0"
|
|
47524
47779
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
47525
47780
|
justify: buttonFlexOverride ? buttonFlexOverride : !!backButton ? "space-between" : "flex-end",
|
|
47526
|
-
align: "center"
|
|
47527
|
-
|
|
47781
|
+
align: "center",
|
|
47782
|
+
extraStyles: buttonGroupStyles
|
|
47783
|
+
}, !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
47784
|
};
|
|
47529
47785
|
|
|
47530
47786
|
var backgroundColor$c = {
|
|
@@ -47550,7 +47806,7 @@ var fallbackValues$N = {
|
|
|
47550
47806
|
labeledAmountTotal: labeledAmountTotal
|
|
47551
47807
|
};
|
|
47552
47808
|
|
|
47553
|
-
var _excluded$
|
|
47809
|
+
var _excluded$A = ["amount"],
|
|
47554
47810
|
_excluded2$1 = ["amount"];
|
|
47555
47811
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47556
47812
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47773,7 +48029,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47773
48029
|
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
47774
48030
|
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
47775
48031
|
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
47776
|
-
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
48032
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop$1 : _ref4$partialVoidActi,
|
|
47777
48033
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
47778
48034
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
47779
48035
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
@@ -47790,7 +48046,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47790
48046
|
return fee.amount > 0;
|
|
47791
48047
|
}).map(function (_ref5) {
|
|
47792
48048
|
var amount = _ref5.amount,
|
|
47793
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
48049
|
+
rest = _objectWithoutProperties(_ref5, _excluded$A);
|
|
47794
48050
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47795
48051
|
amount: displayCurrency(amount)
|
|
47796
48052
|
});
|
|
@@ -47907,12 +48163,16 @@ var fontWeight$7 = {
|
|
|
47907
48163
|
var modalLinkHoverFocus$1 = {
|
|
47908
48164
|
"default": "outline: none; text-decoration: underline;"
|
|
47909
48165
|
};
|
|
48166
|
+
var linkTextDecoration = {
|
|
48167
|
+
"default": LINK_TEXT_DECORATION
|
|
48168
|
+
};
|
|
47910
48169
|
var fallbackValues$O = {
|
|
47911
48170
|
linkColor: linkColor$5,
|
|
47912
48171
|
fontSize: fontSize$a,
|
|
47913
48172
|
lineHeight: lineHeight$4,
|
|
47914
48173
|
fontWeight: fontWeight$7,
|
|
47915
|
-
modalLinkHoverFocus: modalLinkHoverFocus$1
|
|
48174
|
+
modalLinkHoverFocus: modalLinkHoverFocus$1,
|
|
48175
|
+
linkTextDecoration: linkTextDecoration
|
|
47916
48176
|
};
|
|
47917
48177
|
|
|
47918
48178
|
var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
@@ -47966,6 +48226,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
47966
48226
|
color: themeValues.linkColor,
|
|
47967
48227
|
weight: themeValues.fontWeight,
|
|
47968
48228
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48229
|
+
textDecoration: themeValues.linkTextDecoration,
|
|
47969
48230
|
extraStyles: "cursor: pointer;",
|
|
47970
48231
|
role: "button",
|
|
47971
48232
|
className: "modal-trigger"
|
|
@@ -48002,6 +48263,10 @@ var modalLinkHoverFocus$2 = {
|
|
|
48002
48263
|
"default": standardInteractionStyles,
|
|
48003
48264
|
footer: standardInteractionStyles
|
|
48004
48265
|
};
|
|
48266
|
+
var modalLinkTextDecoration = {
|
|
48267
|
+
"default": LINK_TEXT_DECORATION,
|
|
48268
|
+
footer: "none"
|
|
48269
|
+
};
|
|
48005
48270
|
var fallbackValues$P = {
|
|
48006
48271
|
backgroundColor: backgroundColor$d,
|
|
48007
48272
|
linkColor: linkColor$6,
|
|
@@ -48009,7 +48274,8 @@ var fallbackValues$P = {
|
|
|
48009
48274
|
fontSize: fontSize$b,
|
|
48010
48275
|
lineHeight: lineHeight$5,
|
|
48011
48276
|
fontWeight: fontWeight$8,
|
|
48012
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
48277
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2,
|
|
48278
|
+
modalLinkTextDecoration: modalLinkTextDecoration
|
|
48013
48279
|
};
|
|
48014
48280
|
|
|
48015
48281
|
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
@@ -48066,6 +48332,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48066
48332
|
color: themeValues.linkColor,
|
|
48067
48333
|
weight: themeValues.fontWeight,
|
|
48068
48334
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48335
|
+
textDecoration: themeValues.modalLinkTextDecoration,
|
|
48069
48336
|
extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
|
|
48070
48337
|
role: "button" // This should always be a "button" since it opens a modal
|
|
48071
48338
|
,
|
|
@@ -48199,11 +48466,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48199
48466
|
}, errorMessage))))));
|
|
48200
48467
|
};
|
|
48201
48468
|
|
|
48202
|
-
var _excluded$
|
|
48469
|
+
var _excluded$B = ["version"];
|
|
48203
48470
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48204
48471
|
var _ref$version = _ref.version,
|
|
48205
48472
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48206
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48473
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
48207
48474
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48208
48475
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
48209
48476
|
};
|
|
@@ -48221,7 +48488,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48221
48488
|
actions = _ref.actions,
|
|
48222
48489
|
showErrors = _ref.showErrors,
|
|
48223
48490
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48224
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48491
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48225
48492
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48226
48493
|
saveToWallet = _ref.saveToWallet,
|
|
48227
48494
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48423,7 +48690,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48423
48690
|
actions = _ref.actions,
|
|
48424
48691
|
showErrors = _ref.showErrors,
|
|
48425
48692
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48426
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48693
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48427
48694
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48428
48695
|
saveToWallet = _ref.saveToWallet,
|
|
48429
48696
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48727,7 +48994,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
48727
48994
|
clearOnDismount = _ref.clearOnDismount,
|
|
48728
48995
|
showErrors = _ref.showErrors,
|
|
48729
48996
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48730
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48997
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48731
48998
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48732
48999
|
saveToWallet = _ref.saveToWallet,
|
|
48733
49000
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48803,7 +49070,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48803
49070
|
config = _ref.config,
|
|
48804
49071
|
extraStyles = _ref.extraStyles,
|
|
48805
49072
|
_ref$handleChange = _ref.handleChange,
|
|
48806
|
-
handleChange = _ref$handleChange === void 0 ? noop : _ref$handleChange,
|
|
49073
|
+
handleChange = _ref$handleChange === void 0 ? noop$1 : _ref$handleChange,
|
|
48807
49074
|
field = _ref.field,
|
|
48808
49075
|
fieldActions = _ref.fieldActions;
|
|
48809
49076
|
var setValue = function setValue(value) {
|
|
@@ -48868,7 +49135,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48868
49135
|
ariaLabelledBy = _ref.ariaLabelledBy,
|
|
48869
49136
|
isLastGroupedItemInSection = _ref.isLastGroupedItemInSection,
|
|
48870
49137
|
_ref$onKeyDown = _ref.onKeyDown,
|
|
48871
|
-
onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
|
|
49138
|
+
onKeyDown = _ref$onKeyDown === void 0 ? noop$1 : _ref$onKeyDown;
|
|
48872
49139
|
var wrapper = {
|
|
48873
49140
|
open: {
|
|
48874
49141
|
height: openHeight,
|
|
@@ -48925,12 +49192,12 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48925
49192
|
"aria-required": section.required,
|
|
48926
49193
|
"aria-labelledby": ariaLabelledBy,
|
|
48927
49194
|
"aria-describedby": ariaDescribedBy,
|
|
48928
|
-
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
49195
|
+
onClick: isMobile && supportsTouch || section.disabled ? noop$1 : function () {
|
|
48929
49196
|
return toggleOpenSection(section.id);
|
|
48930
49197
|
},
|
|
48931
49198
|
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
48932
49199
|
return toggleOpenSection(section.id);
|
|
48933
|
-
} : noop,
|
|
49200
|
+
} : noop$1,
|
|
48934
49201
|
id: "inner-radio-section-".concat(sectionIndex),
|
|
48935
49202
|
"data-qa": section.dataQa ? section.dataQa : section.id || "inner-radio-section-".concat(sectionIndex)
|
|
48936
49203
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
@@ -48960,7 +49227,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48960
49227
|
ariaDescribedBy: ariaDescribedBy,
|
|
48961
49228
|
radioOn: openSection === section.id,
|
|
48962
49229
|
radioFocused: focused === section.id,
|
|
48963
|
-
toggleRadio: section.disabled ? noop : function () {
|
|
49230
|
+
toggleRadio: section.disabled ? noop$1 : function () {
|
|
48964
49231
|
return toggleOpenSection(section.id);
|
|
48965
49232
|
},
|
|
48966
49233
|
tabIndex: "-1",
|
|
@@ -49002,7 +49269,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49002
49269
|
}, section.content))));
|
|
49003
49270
|
};
|
|
49004
49271
|
|
|
49005
|
-
var _excluded$
|
|
49272
|
+
var _excluded$C = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
49006
49273
|
|
|
49007
49274
|
/**
|
|
49008
49275
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49050,7 +49317,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49050
49317
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49051
49318
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49052
49319
|
groupedSections = _ref.groupedSections,
|
|
49053
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49320
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
49054
49321
|
var _useState = useState(null),
|
|
49055
49322
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49056
49323
|
focused = _useState2[0],
|
|
@@ -49144,7 +49411,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
49144
49411
|
fields = _ref.fields,
|
|
49145
49412
|
actions = _ref.actions,
|
|
49146
49413
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49147
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49414
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49148
49415
|
showErrors = _ref.showErrors,
|
|
49149
49416
|
isMobile = _ref.isMobile;
|
|
49150
49417
|
if (clearOnDismount) {
|
|
@@ -49304,7 +49571,7 @@ var ResetConfirmationForm$1 = withWindowSize(ResetConfirmationForm);
|
|
|
49304
49571
|
|
|
49305
49572
|
var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
49306
49573
|
var _ref$handleSubmit = _ref.handleSubmit,
|
|
49307
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49574
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49308
49575
|
clearOnDismount = _ref.clearOnDismount,
|
|
49309
49576
|
fields = _ref.fields,
|
|
49310
49577
|
actions = _ref.actions,
|
|
@@ -49522,7 +49789,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49522
49789
|
return /*#__PURE__*/React.createElement(InternalLink, {
|
|
49523
49790
|
to: route,
|
|
49524
49791
|
key: "".concat(route, "-").concat(index),
|
|
49525
|
-
extraStyles: "
|
|
49792
|
+
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
49793
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
49527
49794
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
49528
49795
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -49731,8 +49998,225 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
49731
49998
|
}))));
|
|
49732
49999
|
};
|
|
49733
50000
|
|
|
49734
|
-
var
|
|
50001
|
+
var menuItemBackgroundColor = WHITE;
|
|
50002
|
+
var menuItemColor = ROYAL_BLUE_VIVID;
|
|
50003
|
+
var menuItemColorDelete = RAZZMATAZZ_RED;
|
|
50004
|
+
var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
|
|
50005
|
+
var menuItemHoverBackgroundColorDelete = BLUSH_RED;
|
|
50006
|
+
var menuItemHoverColor = ROYAL_BLUE_VIVID;
|
|
49735
50007
|
var fallbackValues$U = {
|
|
50008
|
+
menuItemBackgroundColor: menuItemBackgroundColor,
|
|
50009
|
+
menuItemColor: menuItemColor,
|
|
50010
|
+
menuItemColorDelete: menuItemColorDelete,
|
|
50011
|
+
menuItemHoverBackgroundColor: menuItemHoverBackgroundColor,
|
|
50012
|
+
menuItemHoverBackgroundColorDelete: menuItemHoverBackgroundColorDelete,
|
|
50013
|
+
menuItemHoverColor: menuItemHoverColor
|
|
50014
|
+
};
|
|
50015
|
+
|
|
50016
|
+
var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
|
|
50017
|
+
displayName: "PopupMenuItemstyled__PopupMenuItemContainer",
|
|
50018
|
+
componentId: "sc-urj1su-0"
|
|
50019
|
+
})(["width:100%;margin:0;padding:17px 11px;margin-bottom:5px;border:0;cursor:pointer;text-decoration:none;", " &:hover,&:active{text-decoration:none;", "}"], function (_ref) {
|
|
50020
|
+
var theme = _ref.theme,
|
|
50021
|
+
isDeleteAction = _ref.isDeleteAction;
|
|
50022
|
+
return "\n background-color: ".concat(theme.menuItemBackgroundColor, ";\n color: ").concat(isDeleteAction ? theme.menuItemColorDelete : theme.menuItemColor, ";\n ");
|
|
50023
|
+
}, function (_ref2) {
|
|
50024
|
+
var theme = _ref2.theme,
|
|
50025
|
+
isDeleteAction = _ref2.isDeleteAction;
|
|
50026
|
+
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
50027
|
+
});
|
|
50028
|
+
|
|
50029
|
+
var _excluded$D = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
50030
|
+
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
50031
|
+
var id = _ref.id,
|
|
50032
|
+
closeMenuCallback = _ref.closeMenuCallback,
|
|
50033
|
+
_action = _ref.action,
|
|
50034
|
+
themeValues = _ref.themeValues,
|
|
50035
|
+
text = _ref.text,
|
|
50036
|
+
_ref$hasIcon = _ref.hasIcon,
|
|
50037
|
+
hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
|
|
50038
|
+
_ref$isDeleteAction = _ref.isDeleteAction,
|
|
50039
|
+
isDeleteAction = _ref$isDeleteAction === void 0 ? false : _ref$isDeleteAction,
|
|
50040
|
+
Icon = _ref.icon,
|
|
50041
|
+
textExtraStyles = _ref.textExtraStyles,
|
|
50042
|
+
hoverStyles = _ref.hoverStyles,
|
|
50043
|
+
activeStyles = _ref.activeStyles,
|
|
50044
|
+
extraStyles = _ref.extraStyles,
|
|
50045
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
50046
|
+
return /*#__PURE__*/React.createElement(PopupMenuItemContainer, _extends({
|
|
50047
|
+
id: id,
|
|
50048
|
+
role: "menuItem",
|
|
50049
|
+
text: text,
|
|
50050
|
+
action: function action() {
|
|
50051
|
+
_action();
|
|
50052
|
+
closeMenuCallback();
|
|
50053
|
+
},
|
|
50054
|
+
variant: "smallGhost",
|
|
50055
|
+
isDeleteAction: isDeleteAction,
|
|
50056
|
+
theme: themeValues,
|
|
50057
|
+
contentOverride: true,
|
|
50058
|
+
textExtraStyles: textExtraStyles,
|
|
50059
|
+
hoverStyles: hoverStyles,
|
|
50060
|
+
extraStyles: extraStyles,
|
|
50061
|
+
activeStyles: "outline: none; ".concat(activeStyles)
|
|
50062
|
+
}, rest), /*#__PURE__*/React.createElement(Box, {
|
|
50063
|
+
extraStyles: "\n display: flex;\n gap: 8px;\n justify-content: center;\n padding: 0;\n "
|
|
50064
|
+
}, hasIcon && /*#__PURE__*/React.createElement(Icon, {
|
|
50065
|
+
iconFill: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor
|
|
50066
|
+
}), text && /*#__PURE__*/React.createElement(Text$1, {
|
|
50067
|
+
variant: "pS",
|
|
50068
|
+
weight: FONT_WEIGHT_SEMIBOLD,
|
|
50069
|
+
fontFamily: "Public Sans, sans-serif",
|
|
50070
|
+
color: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor,
|
|
50071
|
+
extraStyles: textExtraStyles
|
|
50072
|
+
}, text)));
|
|
50073
|
+
};
|
|
50074
|
+
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$U);
|
|
50075
|
+
|
|
50076
|
+
var hoverColor$6 = "#116285";
|
|
50077
|
+
var activeColor$a = "#0E506D";
|
|
50078
|
+
var menuTriggerColor = "#15749D";
|
|
50079
|
+
var backgroundColor$e = "white";
|
|
50080
|
+
var fallbackValues$V = {
|
|
50081
|
+
hoverColor: hoverColor$6,
|
|
50082
|
+
activeColor: activeColor$a,
|
|
50083
|
+
menuTriggerColor: menuTriggerColor,
|
|
50084
|
+
backgroundColor: backgroundColor$e
|
|
50085
|
+
};
|
|
50086
|
+
|
|
50087
|
+
var PopupMenuContainer = styled(Box).withConfig({
|
|
50088
|
+
displayName: "PopupMenustyled__PopupMenuContainer",
|
|
50089
|
+
componentId: "sc-1ge13q9-0"
|
|
50090
|
+
})(["display:flex;position:relative;padding:0;"]);
|
|
50091
|
+
var PopupMenuTriggerButton = styled(ButtonWithAction).withConfig({
|
|
50092
|
+
displayName: "PopupMenustyled__PopupMenuTriggerButton",
|
|
50093
|
+
componentId: "sc-1ge13q9-1"
|
|
50094
|
+
})(["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);}"]);
|
|
50095
|
+
|
|
50096
|
+
var PopupMenu = function PopupMenu(_ref) {
|
|
50097
|
+
var _ref$menuId = _ref.menuId,
|
|
50098
|
+
menuId = _ref$menuId === void 0 ? "popup-menu" : _ref$menuId,
|
|
50099
|
+
_ref$menuItems = _ref.menuItems,
|
|
50100
|
+
menuItems = _ref$menuItems === void 0 ? [] : _ref$menuItems,
|
|
50101
|
+
themeValues = _ref.themeValues,
|
|
50102
|
+
_ref$triggerText = _ref.triggerText,
|
|
50103
|
+
triggerText = _ref$triggerText === void 0 ? "trigger text" : _ref$triggerText,
|
|
50104
|
+
_ref$hasIcon = _ref.hasIcon,
|
|
50105
|
+
hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
|
|
50106
|
+
Icon = _ref.icon,
|
|
50107
|
+
_ref$iconHelpText = _ref.iconHelpText,
|
|
50108
|
+
iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
|
|
50109
|
+
menuFocus = _ref.menuFocus,
|
|
50110
|
+
containerExtraStyles = _ref.containerExtraStyles,
|
|
50111
|
+
textExtraStyles = _ref.textExtraStyles,
|
|
50112
|
+
_ref$minWidth = _ref.minWidth,
|
|
50113
|
+
minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
|
|
50114
|
+
_ref$maxWidth = _ref.maxWidth,
|
|
50115
|
+
maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
|
|
50116
|
+
_ref$height = _ref.height,
|
|
50117
|
+
height = _ref$height === void 0 ? "auto" : _ref$height,
|
|
50118
|
+
position = _ref.position,
|
|
50119
|
+
_ref$transform = _ref.transform,
|
|
50120
|
+
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
50121
|
+
buttonExtraStyles = _ref.buttonExtraStyles,
|
|
50122
|
+
popupExtraStyles = _ref.popupExtraStyles;
|
|
50123
|
+
var hoverColor = themeValues.hoverColor,
|
|
50124
|
+
activeColor = themeValues.activeColor,
|
|
50125
|
+
menuTriggerColor = themeValues.menuTriggerColor,
|
|
50126
|
+
backgroundColor = themeValues.backgroundColor;
|
|
50127
|
+
var _ref2 = position !== null && position !== void 0 ? position : {},
|
|
50128
|
+
_ref2$top = _ref2.top,
|
|
50129
|
+
top = _ref2$top === void 0 ? "".concat(height, "px") : _ref2$top,
|
|
50130
|
+
_ref2$right = _ref2.right,
|
|
50131
|
+
right = _ref2$right === void 0 ? "auto" : _ref2$right,
|
|
50132
|
+
_ref2$bottom = _ref2.bottom,
|
|
50133
|
+
bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
|
|
50134
|
+
_ref2$left = _ref2.left,
|
|
50135
|
+
left = _ref2$left === void 0 ? "0" : _ref2$left;
|
|
50136
|
+
var _useState = useState(false),
|
|
50137
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
50138
|
+
isMenuOpen = _useState2[0],
|
|
50139
|
+
setIsMenuOpen = _useState2[1];
|
|
50140
|
+
var menuRef = useRef();
|
|
50141
|
+
var triggerRef = useRef();
|
|
50142
|
+
var toggleMenu = function toggleMenu(menuState) {
|
|
50143
|
+
return setIsMenuOpen(menuState);
|
|
50144
|
+
};
|
|
50145
|
+
useEffect$1(function () {
|
|
50146
|
+
var checkIfClickedOutside = function checkIfClickedOutside(e) {
|
|
50147
|
+
// If the menu is open and the clicked target is not within the menu or the trigger
|
|
50148
|
+
if (isMenuOpen && menuRef.current && !menuRef.current.contains(e.target) && triggerRef.current && !triggerRef.current.contains(e.target)) {
|
|
50149
|
+
toggleMenu(false);
|
|
50150
|
+
}
|
|
50151
|
+
};
|
|
50152
|
+
document.addEventListener("click", checkIfClickedOutside);
|
|
50153
|
+
return function () {
|
|
50154
|
+
document.removeEventListener("click", checkIfClickedOutside);
|
|
50155
|
+
};
|
|
50156
|
+
}, [isMenuOpen]);
|
|
50157
|
+
return /*#__PURE__*/React.createElement(PopupMenuContainer, {
|
|
50158
|
+
extraStyles: containerExtraStyles
|
|
50159
|
+
}, /*#__PURE__*/React.createElement(PopupMenuTriggerButton, {
|
|
50160
|
+
ref: triggerRef,
|
|
50161
|
+
action: function action() {
|
|
50162
|
+
toggleMenu(!isMenuOpen);
|
|
50163
|
+
},
|
|
50164
|
+
onKeyDown: function onKeyDown(e) {
|
|
50165
|
+
if (e.key === "Escape") {
|
|
50166
|
+
toggleMenu(false);
|
|
50167
|
+
}
|
|
50168
|
+
},
|
|
50169
|
+
contentOverride: true,
|
|
50170
|
+
variant: "smallGhost",
|
|
50171
|
+
tabIndex: "0",
|
|
50172
|
+
id: menuId,
|
|
50173
|
+
borderRadius: "8px",
|
|
50174
|
+
"aria-haspopup": "true",
|
|
50175
|
+
"aria-expanded": isMenuOpen,
|
|
50176
|
+
"aria-controls": "".concat(menuId, "-container"),
|
|
50177
|
+
extraStyles: buttonExtraStyles
|
|
50178
|
+
}, hasIcon && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, null), /*#__PURE__*/React.createElement(Box, {
|
|
50179
|
+
padding: "0",
|
|
50180
|
+
srOnly: true
|
|
50181
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
50182
|
+
id: "btn".concat(menuId, "_info")
|
|
50183
|
+
}, iconHelpText))), !hasIcon && /*#__PURE__*/React.createElement(Text$1, {
|
|
50184
|
+
color: menuTriggerColor,
|
|
50185
|
+
extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
|
|
50186
|
+
}, triggerText)), /*#__PURE__*/React.createElement(Box, {
|
|
50187
|
+
as: "div",
|
|
50188
|
+
id: "".concat(menuId, "-container"),
|
|
50189
|
+
ref: menuRef,
|
|
50190
|
+
onKeyDown: function onKeyDown(e) {
|
|
50191
|
+
if (e.key === "Escape") {
|
|
50192
|
+
toggleMenu(false);
|
|
50193
|
+
}
|
|
50194
|
+
},
|
|
50195
|
+
background: backgroundColor,
|
|
50196
|
+
borderRadius: "8px",
|
|
50197
|
+
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 ",
|
|
50198
|
+
role: "menu",
|
|
50199
|
+
"aria-labelledby": menuId,
|
|
50200
|
+
tabIndex: menuFocus && isMenuOpen ? "0" : "-1",
|
|
50201
|
+
minWidth: minWidth,
|
|
50202
|
+
maxWidth: maxWidth,
|
|
50203
|
+
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 ")
|
|
50204
|
+
}, menuItems.map(function (item, index) {
|
|
50205
|
+
return /*#__PURE__*/React.createElement(PopupMenuItem$1, _extends({
|
|
50206
|
+
key: index,
|
|
50207
|
+
id: "".concat(menuId, "-item-").concat(index),
|
|
50208
|
+
closeMenuCallback: function closeMenuCallback() {
|
|
50209
|
+
toggleMenu(false);
|
|
50210
|
+
// focus back to trigger button when menu closes
|
|
50211
|
+
triggerRef.current.focus();
|
|
50212
|
+
}
|
|
50213
|
+
}, item));
|
|
50214
|
+
})));
|
|
50215
|
+
};
|
|
50216
|
+
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$V);
|
|
50217
|
+
|
|
50218
|
+
var pageBackground = "#FBFCFD";
|
|
50219
|
+
var fallbackValues$W = {
|
|
49736
50220
|
pageBackground: pageBackground
|
|
49737
50221
|
};
|
|
49738
50222
|
|
|
@@ -49780,7 +50264,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
49780
50264
|
padding: "0"
|
|
49781
50265
|
})));
|
|
49782
50266
|
};
|
|
49783
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
50267
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
|
|
49784
50268
|
|
|
49785
50269
|
var CenterStack = function CenterStack(_ref) {
|
|
49786
50270
|
var header = _ref.header,
|
|
@@ -49823,7 +50307,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
49823
50307
|
padding: "0"
|
|
49824
50308
|
})));
|
|
49825
50309
|
};
|
|
49826
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
50310
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
|
|
49827
50311
|
|
|
49828
50312
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
49829
50313
|
var header = _ref.header,
|
|
@@ -49838,13 +50322,15 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49838
50322
|
_ref$gutters = _ref.gutters,
|
|
49839
50323
|
gutters = _ref$gutters === void 0 ? "2rem" : _ref$gutters,
|
|
49840
50324
|
_ref$fillPageVertical = _ref.fillPageVertical,
|
|
49841
|
-
fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical
|
|
50325
|
+
fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical,
|
|
50326
|
+
_ref$background = _ref.background,
|
|
50327
|
+
background = _ref$background === void 0 ? COOL_GREY_05 : _ref$background;
|
|
49842
50328
|
var themeContext = useContext(ThemeContext);
|
|
49843
50329
|
var isMobile = themeContext.isMobile;
|
|
49844
50330
|
return /*#__PURE__*/React.createElement(Box, {
|
|
49845
50331
|
padding: "0",
|
|
49846
50332
|
minWidth: "100%",
|
|
49847
|
-
background:
|
|
50333
|
+
background: background,
|
|
49848
50334
|
extraStyles: "flex-grow: 1;"
|
|
49849
50335
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
49850
50336
|
childGap: "0",
|
|
@@ -49867,7 +50353,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49867
50353
|
padding: "0"
|
|
49868
50354
|
})));
|
|
49869
50355
|
};
|
|
49870
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
50356
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
|
|
49871
50357
|
|
|
49872
50358
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
49873
50359
|
var header = _ref.header,
|
|
@@ -49920,7 +50406,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
49920
50406
|
padding: "0"
|
|
49921
50407
|
})));
|
|
49922
50408
|
};
|
|
49923
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
50409
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
|
|
49924
50410
|
|
|
49925
50411
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
49926
50412
|
var header = _ref.header,
|
|
@@ -49990,7 +50476,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
49990
50476
|
key: "footer-box"
|
|
49991
50477
|
})));
|
|
49992
50478
|
};
|
|
49993
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
50479
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
|
|
49994
50480
|
|
|
49995
50481
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
49996
50482
|
var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
@@ -50022,5 +50508,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
|
|
|
50022
50508
|
useToastNotification: useToastNotification
|
|
50023
50509
|
});
|
|
50024
50510
|
|
|
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$
|
|
50511
|
+
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
50512
|
//# sourceMappingURL=index.esm.js.map
|