@thecb/components 10.2.4-beta.9 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs.js +588 -287
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +64 -1
- package/dist/index.esm.js +584 -286
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/badge/Badge.stories.js +1 -2
- package/src/components/atoms/badge/Badge.theme.js +4 -8
- 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 +6 -14
- package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +0 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +37 -47
- package/src/components/atoms/button-with-link/ButtonWithLink.js +2 -2
- package/src/components/atoms/form-layouts/FormInput.js +1 -1
- package/src/components/atoms/icons/CloseIcon.d.ts +1 -0
- package/src/components/atoms/icons/CloseIcon.js +48 -0
- 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/layouts/Box.js +0 -1
- package/src/components/atoms/layouts/examples/box-example/BoxExample.stories.js +1 -2
- 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 +74 -87
- package/src/components/atoms/placeholder/Placeholder.stories.js +9 -22
- 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 +2 -5
- package/src/components/molecules/link-card/LinkCard.stories.js +34 -62
- package/src/components/molecules/link-card/LinkCard.theme.js +5 -19
- package/src/components/molecules/obligation/Obligation.js +1 -4
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +1 -4
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +1 -5
- 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/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/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
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
|
|
|
@@ -6496,7 +6501,7 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6496
6501
|
});
|
|
6497
6502
|
/* eslint-enable no-unused-vars */
|
|
6498
6503
|
|
|
6499
|
-
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", "
|
|
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", "children"];
|
|
6500
6505
|
|
|
6501
6506
|
/*
|
|
6502
6507
|
Box component to create generic boxes
|
|
@@ -6544,7 +6549,6 @@ var Box = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6544
6549
|
_ref$srOnly = _ref.srOnly,
|
|
6545
6550
|
srOnly = _ref$srOnly === void 0 ? false : _ref$srOnly,
|
|
6546
6551
|
dataQa = _ref.dataQa,
|
|
6547
|
-
_ref$disabled = _ref.disabled,
|
|
6548
6552
|
children = _ref.children,
|
|
6549
6553
|
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
6550
6554
|
return /*#__PURE__*/React.createElement(BoxWrapper, _extends({
|
|
@@ -12549,6 +12553,43 @@ var Reel = function Reel(_ref) {
|
|
|
12549
12553
|
}), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
|
|
12550
12554
|
};
|
|
12551
12555
|
|
|
12556
|
+
var ACH_METHOD = "BANK_ACCOUNT";
|
|
12557
|
+
var CC_METHOD = "CREDIT_CARD";
|
|
12558
|
+
var CASH_METHOD = "CASH";
|
|
12559
|
+
|
|
12560
|
+
var general$1 = /*#__PURE__*/Object.freeze({
|
|
12561
|
+
__proto__: null,
|
|
12562
|
+
ACH_METHOD: ACH_METHOD,
|
|
12563
|
+
CC_METHOD: CC_METHOD,
|
|
12564
|
+
CASH_METHOD: CASH_METHOD
|
|
12565
|
+
});
|
|
12566
|
+
|
|
12567
|
+
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
12568
|
+
|
|
12569
|
+
var regex_constants = /*#__PURE__*/Object.freeze({
|
|
12570
|
+
__proto__: null,
|
|
12571
|
+
URL_TEST: URL_TEST
|
|
12572
|
+
});
|
|
12573
|
+
|
|
12574
|
+
|
|
12575
|
+
|
|
12576
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
12577
|
+
__proto__: null,
|
|
12578
|
+
colors: colors,
|
|
12579
|
+
general: general$1,
|
|
12580
|
+
regexConstants: regex_constants,
|
|
12581
|
+
styleConstants: style_constants,
|
|
12582
|
+
fontWeights: style_constants
|
|
12583
|
+
});
|
|
12584
|
+
|
|
12585
|
+
var WHITE$1 = WHITE,
|
|
12586
|
+
TRANSPARENT$1 = TRANSPARENT,
|
|
12587
|
+
SAPPHIRE_BLUE$1 = SAPPHIRE_BLUE,
|
|
12588
|
+
PEACOCK_BLUE$1 = PEACOCK_BLUE,
|
|
12589
|
+
MATISSE_BLUE$1 = MATISSE_BLUE,
|
|
12590
|
+
RASPBERRY$1 = RASPBERRY,
|
|
12591
|
+
ERROR_COLOR$1 = ERROR_COLOR;
|
|
12592
|
+
var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
|
|
12552
12593
|
var padding = {
|
|
12553
12594
|
primary: "0.75rem 1.5rem",
|
|
12554
12595
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12561,25 +12602,21 @@ var padding = {
|
|
|
12561
12602
|
danger: "0.75rem 1.5rem",
|
|
12562
12603
|
dangerSecondary: "0.75rem 1.5rem",
|
|
12563
12604
|
whiteSecondary: "0.75rem 2rem",
|
|
12564
|
-
whitePrimary: "1.125rem 0.75rem"
|
|
12565
|
-
disabled: "0.75rem 1.5rem",
|
|
12566
|
-
smallDisabled: "0.75rem 1rem"
|
|
12605
|
+
whitePrimary: "1.125rem 0.75rem"
|
|
12567
12606
|
};
|
|
12568
12607
|
var color$1 = {
|
|
12569
|
-
primary: WHITE,
|
|
12570
|
-
secondary: MATISSE_BLUE,
|
|
12571
|
-
back: MATISSE_BLUE,
|
|
12572
|
-
smallPrimary: WHITE,
|
|
12573
|
-
smallSecondary: MATISSE_BLUE,
|
|
12574
|
-
smallGhost: MATISSE_BLUE,
|
|
12575
|
-
ghost: MATISSE_BLUE,
|
|
12576
|
-
tertiary: MATISSE_BLUE,
|
|
12577
|
-
danger: WHITE,
|
|
12578
|
-
dangerSecondary: ERROR_COLOR,
|
|
12579
|
-
whiteSecondary: WHITE,
|
|
12580
|
-
whitePrimary: WHITE
|
|
12581
|
-
disabled: MANATEE_GREY,
|
|
12582
|
-
smallDisabled: MANATEE_GREY
|
|
12608
|
+
primary: WHITE$1,
|
|
12609
|
+
secondary: MATISSE_BLUE$1,
|
|
12610
|
+
back: MATISSE_BLUE$1,
|
|
12611
|
+
smallPrimary: WHITE$1,
|
|
12612
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12613
|
+
smallGhost: MATISSE_BLUE$1,
|
|
12614
|
+
ghost: MATISSE_BLUE$1,
|
|
12615
|
+
tertiary: MATISSE_BLUE$1,
|
|
12616
|
+
danger: WHITE$1,
|
|
12617
|
+
dangerSecondary: ERROR_COLOR$1,
|
|
12618
|
+
whiteSecondary: WHITE$1,
|
|
12619
|
+
whitePrimary: WHITE$1
|
|
12583
12620
|
};
|
|
12584
12621
|
var fontSizeVariant = {
|
|
12585
12622
|
primary: "pS",
|
|
@@ -12593,9 +12630,7 @@ var fontSizeVariant = {
|
|
|
12593
12630
|
danger: "pS",
|
|
12594
12631
|
dangerSecondary: "pS",
|
|
12595
12632
|
whiteSecondary: "pS",
|
|
12596
|
-
whitePrimary: "pS"
|
|
12597
|
-
disabled: "pS",
|
|
12598
|
-
smallDisabled: "pS"
|
|
12633
|
+
whitePrimary: "pS"
|
|
12599
12634
|
};
|
|
12600
12635
|
var fontWeight = {
|
|
12601
12636
|
primary: "600",
|
|
@@ -12609,9 +12644,7 @@ var fontWeight = {
|
|
|
12609
12644
|
danger: "600",
|
|
12610
12645
|
dangerSecondary: "600",
|
|
12611
12646
|
whiteSecondary: "600",
|
|
12612
|
-
whitePrimary: "600"
|
|
12613
|
-
disabled: "600",
|
|
12614
|
-
smallDisabled: "600"
|
|
12647
|
+
whitePrimary: "600"
|
|
12615
12648
|
};
|
|
12616
12649
|
var height = {
|
|
12617
12650
|
primary: "3rem",
|
|
@@ -12625,9 +12658,7 @@ var height = {
|
|
|
12625
12658
|
danger: "3rem",
|
|
12626
12659
|
dangerSecondary: "3rem",
|
|
12627
12660
|
whiteSecondary: "3rem",
|
|
12628
|
-
whitePrimary: "auto"
|
|
12629
|
-
disabled: "3rem",
|
|
12630
|
-
smallDisabled: "2.5rem"
|
|
12661
|
+
whitePrimary: "auto"
|
|
12631
12662
|
};
|
|
12632
12663
|
var minWidth = {
|
|
12633
12664
|
primary: "130px",
|
|
@@ -12641,137 +12672,133 @@ var minWidth = {
|
|
|
12641
12672
|
danger: "130px",
|
|
12642
12673
|
dangerSecondary: "157px",
|
|
12643
12674
|
whiteSecondary: "160px",
|
|
12644
|
-
whitePrimary: "130px"
|
|
12645
|
-
|
|
12646
|
-
|
|
12675
|
+
whitePrimary: "130px"
|
|
12676
|
+
};
|
|
12677
|
+
var textDecoration = {
|
|
12678
|
+
primary: "none",
|
|
12679
|
+
secondary: "none",
|
|
12680
|
+
back: "none",
|
|
12681
|
+
smallPrimary: "none",
|
|
12682
|
+
smallSecondary: "none",
|
|
12683
|
+
smallGhost: LINK_TEXT_DECORATION$1,
|
|
12684
|
+
ghost: LINK_TEXT_DECORATION$1,
|
|
12685
|
+
tertiary: "none",
|
|
12686
|
+
danger: "none",
|
|
12687
|
+
dangerSecondary: "none",
|
|
12688
|
+
whiteSecondary: "none",
|
|
12689
|
+
whitePrimary: "none"
|
|
12647
12690
|
};
|
|
12648
12691
|
var backgroundColor = {
|
|
12649
|
-
primary: MATISSE_BLUE,
|
|
12650
|
-
secondary: TRANSPARENT,
|
|
12651
|
-
back: TRANSPARENT,
|
|
12652
|
-
smallPrimary: MATISSE_BLUE,
|
|
12653
|
-
smallSecondary: TRANSPARENT,
|
|
12654
|
-
smallGhost: TRANSPARENT,
|
|
12655
|
-
ghost: TRANSPARENT,
|
|
12656
|
-
tertiary: TRANSPARENT,
|
|
12657
|
-
danger: RASPBERRY,
|
|
12658
|
-
dangerSecondary: TRANSPARENT,
|
|
12659
|
-
whiteSecondary: TRANSPARENT,
|
|
12660
|
-
whitePrimary: TRANSPARENT
|
|
12661
|
-
disabled: GRECIAN_GREY,
|
|
12662
|
-
smallDisabled: GRECIAN_GREY
|
|
12692
|
+
primary: MATISSE_BLUE$1,
|
|
12693
|
+
secondary: TRANSPARENT$1,
|
|
12694
|
+
back: TRANSPARENT$1,
|
|
12695
|
+
smallPrimary: MATISSE_BLUE$1,
|
|
12696
|
+
smallSecondary: TRANSPARENT$1,
|
|
12697
|
+
smallGhost: TRANSPARENT$1,
|
|
12698
|
+
ghost: TRANSPARENT$1,
|
|
12699
|
+
tertiary: TRANSPARENT$1,
|
|
12700
|
+
danger: RASPBERRY$1,
|
|
12701
|
+
dangerSecondary: TRANSPARENT$1,
|
|
12702
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12703
|
+
whitePrimary: TRANSPARENT$1
|
|
12663
12704
|
};
|
|
12664
12705
|
var border = {
|
|
12665
|
-
primary: "2px solid " + MATISSE_BLUE,
|
|
12666
|
-
secondary: "2px solid " + MATISSE_BLUE,
|
|
12667
|
-
back: "2px solid " + MATISSE_BLUE,
|
|
12668
|
-
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12669
|
-
smallSecondary: "2px solid " + MATISSE_BLUE,
|
|
12706
|
+
primary: "2px solid " + MATISSE_BLUE$1,
|
|
12707
|
+
secondary: "2px solid " + MATISSE_BLUE$1,
|
|
12708
|
+
back: "2px solid " + MATISSE_BLUE$1,
|
|
12709
|
+
smallPrimary: "2px solid " + MATISSE_BLUE$1,
|
|
12710
|
+
smallSecondary: "2px solid " + MATISSE_BLUE$1,
|
|
12670
12711
|
smallGhost: "none",
|
|
12671
12712
|
ghost: "none",
|
|
12672
12713
|
tertiary: "none",
|
|
12673
|
-
danger: "2px solid " + RASPBERRY,
|
|
12674
|
-
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12675
|
-
whiteSecondary: "2px solid " + WHITE,
|
|
12676
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12677
|
-
disabled: "2px solid " + MANATEE_GREY,
|
|
12678
|
-
smallDisabled: "2px solid " + MANATEE_GREY
|
|
12714
|
+
danger: "2px solid " + RASPBERRY$1,
|
|
12715
|
+
dangerSecondary: "2px solid " + ERROR_COLOR$1,
|
|
12716
|
+
whiteSecondary: "2px solid " + WHITE$1,
|
|
12717
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12679
12718
|
};
|
|
12680
12719
|
var hoverBackgroundColor = {
|
|
12681
|
-
primary: SAPPHIRE_BLUE,
|
|
12720
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12682
12721
|
secondary: "#DBEAF0",
|
|
12683
|
-
back: TRANSPARENT,
|
|
12684
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12722
|
+
back: TRANSPARENT$1,
|
|
12723
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12685
12724
|
smallSecondary: "#DBEAF0",
|
|
12686
|
-
smallGhost: TRANSPARENT,
|
|
12687
|
-
ghost: TRANSPARENT,
|
|
12688
|
-
tertiary: TRANSPARENT,
|
|
12725
|
+
smallGhost: TRANSPARENT$1,
|
|
12726
|
+
ghost: TRANSPARENT$1,
|
|
12727
|
+
tertiary: TRANSPARENT$1,
|
|
12689
12728
|
danger: "#BA002C",
|
|
12690
12729
|
dangerSecondary: "#FAE7EE",
|
|
12691
|
-
whiteSecondary: TRANSPARENT,
|
|
12692
|
-
whitePrimary: TRANSPARENT
|
|
12693
|
-
disabled: TRANSPARENT,
|
|
12694
|
-
smallDisabled: TRANSPARENT
|
|
12730
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12731
|
+
whitePrimary: TRANSPARENT$1
|
|
12695
12732
|
};
|
|
12696
12733
|
var hoverBorderColor = {
|
|
12697
|
-
primary: SAPPHIRE_BLUE,
|
|
12698
|
-
secondary: MATISSE_BLUE,
|
|
12734
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12735
|
+
secondary: MATISSE_BLUE$1,
|
|
12699
12736
|
back: "#DCEAF1",
|
|
12700
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12701
|
-
smallSecondary: MATISSE_BLUE,
|
|
12702
|
-
smallGhost: TRANSPARENT,
|
|
12703
|
-
ghost: TRANSPARENT,
|
|
12704
|
-
tertiary: TRANSPARENT,
|
|
12737
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12738
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12739
|
+
smallGhost: TRANSPARENT$1,
|
|
12740
|
+
ghost: TRANSPARENT$1,
|
|
12741
|
+
tertiary: TRANSPARENT$1,
|
|
12705
12742
|
danger: "#BA002C",
|
|
12706
12743
|
dangerSecondary: "#B10541",
|
|
12707
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12708
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12709
|
-
disabled: MANATEE_GREY,
|
|
12710
|
-
smallDisabled: MANATEE_GREY
|
|
12744
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12745
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12711
12746
|
};
|
|
12712
12747
|
var hoverColor = {
|
|
12713
|
-
primary: WHITE,
|
|
12714
|
-
secondary: SAPPHIRE_BLUE,
|
|
12715
|
-
back: SAPPHIRE_BLUE,
|
|
12716
|
-
smallPrimary: WHITE,
|
|
12717
|
-
smallSecondary: SAPPHIRE_BLUE,
|
|
12718
|
-
smallGhost: SAPPHIRE_BLUE,
|
|
12719
|
-
ghost: SAPPHIRE_BLUE,
|
|
12720
|
-
tertiary: SAPPHIRE_BLUE,
|
|
12721
|
-
danger: WHITE,
|
|
12748
|
+
primary: WHITE$1,
|
|
12749
|
+
secondary: SAPPHIRE_BLUE$1,
|
|
12750
|
+
back: SAPPHIRE_BLUE$1,
|
|
12751
|
+
smallPrimary: WHITE$1,
|
|
12752
|
+
smallSecondary: SAPPHIRE_BLUE$1,
|
|
12753
|
+
smallGhost: SAPPHIRE_BLUE$1,
|
|
12754
|
+
ghost: SAPPHIRE_BLUE$1,
|
|
12755
|
+
tertiary: SAPPHIRE_BLUE$1,
|
|
12756
|
+
danger: WHITE$1,
|
|
12722
12757
|
dangerSecondary: "#B10541",
|
|
12723
|
-
whiteSecondary: WHITE,
|
|
12724
|
-
whitePrimary: WHITE
|
|
12725
|
-
disabled: MANATEE_GREY,
|
|
12726
|
-
smallDisabled: MANATEE_GREY
|
|
12758
|
+
whiteSecondary: WHITE$1,
|
|
12759
|
+
whitePrimary: WHITE$1
|
|
12727
12760
|
};
|
|
12728
12761
|
var activeBackgroundColor = {
|
|
12729
|
-
primary: PEACOCK_BLUE,
|
|
12762
|
+
primary: PEACOCK_BLUE$1,
|
|
12730
12763
|
secondary: "#B8D5E1",
|
|
12731
|
-
back: TRANSPARENT,
|
|
12732
|
-
smallPrimary: PEACOCK_BLUE,
|
|
12764
|
+
back: TRANSPARENT$1,
|
|
12765
|
+
smallPrimary: PEACOCK_BLUE$1,
|
|
12733
12766
|
smallSecondary: "#B8D5E1",
|
|
12734
|
-
smallGhost: TRANSPARENT,
|
|
12735
|
-
ghost: TRANSPARENT,
|
|
12736
|
-
tertiary: TRANSPARENT,
|
|
12767
|
+
smallGhost: TRANSPARENT$1,
|
|
12768
|
+
ghost: TRANSPARENT$1,
|
|
12769
|
+
tertiary: TRANSPARENT$1,
|
|
12737
12770
|
danger: "#870000",
|
|
12738
12771
|
dangerSecondary: "#FAE7EE",
|
|
12739
|
-
whiteSecondary: TRANSPARENT,
|
|
12740
|
-
whitePrimary: TRANSPARENT
|
|
12741
|
-
disabled: TRANSPARENT,
|
|
12742
|
-
smallDisabled: TRANSPARENT
|
|
12772
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12773
|
+
whitePrimary: TRANSPARENT$1
|
|
12743
12774
|
};
|
|
12744
12775
|
var activeBorderColor = {
|
|
12745
|
-
primary: PEACOCK_BLUE,
|
|
12746
|
-
secondary: MATISSE_BLUE,
|
|
12747
|
-
back: PEACOCK_BLUE,
|
|
12748
|
-
smallPrimary: PEACOCK_BLUE,
|
|
12749
|
-
smallSecondary: MATISSE_BLUE,
|
|
12750
|
-
smallGhost: TRANSPARENT,
|
|
12751
|
-
ghost: TRANSPARENT,
|
|
12752
|
-
tertiary: TRANSPARENT,
|
|
12776
|
+
primary: PEACOCK_BLUE$1,
|
|
12777
|
+
secondary: MATISSE_BLUE$1,
|
|
12778
|
+
back: PEACOCK_BLUE$1,
|
|
12779
|
+
smallPrimary: PEACOCK_BLUE$1,
|
|
12780
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12781
|
+
smallGhost: TRANSPARENT$1,
|
|
12782
|
+
ghost: TRANSPARENT$1,
|
|
12783
|
+
tertiary: TRANSPARENT$1,
|
|
12753
12784
|
danger: "#870000",
|
|
12754
12785
|
dangerSecondary: "#910029",
|
|
12755
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12756
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12757
|
-
disabled: TRANSPARENT,
|
|
12758
|
-
smallDisabled: TRANSPARENT
|
|
12786
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12787
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12759
12788
|
};
|
|
12760
12789
|
var activeColor = {
|
|
12761
|
-
primary: WHITE,
|
|
12762
|
-
secondary: MATISSE_BLUE,
|
|
12763
|
-
back: PEACOCK_BLUE,
|
|
12764
|
-
smallPrimary: WHITE,
|
|
12765
|
-
smallSecondary: PEACOCK_BLUE,
|
|
12766
|
-
smallGhost: PEACOCK_BLUE,
|
|
12767
|
-
ghost: PEACOCK_BLUE,
|
|
12768
|
-
tertiary: PEACOCK_BLUE,
|
|
12769
|
-
danger: WHITE,
|
|
12790
|
+
primary: WHITE$1,
|
|
12791
|
+
secondary: MATISSE_BLUE$1,
|
|
12792
|
+
back: PEACOCK_BLUE$1,
|
|
12793
|
+
smallPrimary: WHITE$1,
|
|
12794
|
+
smallSecondary: PEACOCK_BLUE$1,
|
|
12795
|
+
smallGhost: PEACOCK_BLUE$1,
|
|
12796
|
+
ghost: PEACOCK_BLUE$1,
|
|
12797
|
+
tertiary: PEACOCK_BLUE$1,
|
|
12798
|
+
danger: WHITE$1,
|
|
12770
12799
|
dangerSecondary: "#910029",
|
|
12771
|
-
whiteSecondary: WHITE,
|
|
12772
|
-
whitePrimary: WHITE
|
|
12773
|
-
disabled: MANATEE_GREY,
|
|
12774
|
-
smallDisabled: MANATEE_GREY
|
|
12800
|
+
whiteSecondary: WHITE$1,
|
|
12801
|
+
whitePrimary: WHITE$1
|
|
12775
12802
|
};
|
|
12776
12803
|
var fallbackValues$1 = {
|
|
12777
12804
|
padding: padding,
|
|
@@ -12780,6 +12807,7 @@ var fallbackValues$1 = {
|
|
|
12780
12807
|
fontWeight: fontWeight,
|
|
12781
12808
|
height: height,
|
|
12782
12809
|
minWidth: minWidth,
|
|
12810
|
+
textDecoration: textDecoration,
|
|
12783
12811
|
backgroundColor: backgroundColor,
|
|
12784
12812
|
border: border,
|
|
12785
12813
|
hoverBackgroundColor: hoverBackgroundColor,
|
|
@@ -12903,7 +12931,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12903
12931
|
|
|
12904
12932
|
Note: the children prop is only used if contentOverride is set to true, in which case
|
|
12905
12933
|
the text prop is ignored.
|
|
12906
|
-
|
|
12934
|
+
|
|
12907
12935
|
*/
|
|
12908
12936
|
|
|
12909
12937
|
var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
@@ -12931,13 +12959,12 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12931
12959
|
children = _ref2.children,
|
|
12932
12960
|
extraDisabledStyles = _ref2.extraDisabledStyles,
|
|
12933
12961
|
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12934
|
-
var isGhostVariant = variant === "ghost" || variant === "smallGhost";
|
|
12935
12962
|
var themeContext = useContext(ThemeContext);
|
|
12936
12963
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12937
12964
|
var isMobile = themeContext.isMobile;
|
|
12938
|
-
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n
|
|
12939
|
-
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n
|
|
12940
|
-
var disabledStyles = "\n background-color:
|
|
12965
|
+
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n cursor: pointer;\n ");
|
|
12966
|
+
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n ");
|
|
12967
|
+
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n outline: 3px solid #6D717E;\n outline-offset: 2px;\n }\n ".concat(extraDisabledStyles, "\n ");
|
|
12941
12968
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12942
12969
|
ref: ref,
|
|
12943
12970
|
variant: variant,
|
|
@@ -12967,8 +12994,9 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12967
12994
|
weight: themeValues.fontWeight,
|
|
12968
12995
|
variant: themeValues.fontSizeVariant,
|
|
12969
12996
|
color: themeValues.color,
|
|
12997
|
+
textDecoration: themeValues.textDecoration,
|
|
12970
12998
|
textWrap: textWrap,
|
|
12971
|
-
extraStyles:
|
|
12999
|
+
extraStyles: textExtraStyles
|
|
12972
13000
|
}, text)));
|
|
12973
13001
|
});
|
|
12974
13002
|
|
|
@@ -18272,6 +18300,84 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18272
18300
|
}));
|
|
18273
18301
|
};
|
|
18274
18302
|
|
|
18303
|
+
var _excluded$j = ["iconFill", "iconWidth", "iconHeight"];
|
|
18304
|
+
var CloseIcon = function CloseIcon(_ref) {
|
|
18305
|
+
var _ref$iconFill = _ref.iconFill,
|
|
18306
|
+
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
18307
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
18308
|
+
iconWidth = _ref$iconWidth === void 0 ? "24" : _ref$iconWidth,
|
|
18309
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
18310
|
+
iconHeight = _ref$iconHeight === void 0 ? "24" : _ref$iconHeight,
|
|
18311
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18312
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18313
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18314
|
+
width: iconWidth,
|
|
18315
|
+
height: iconHeight,
|
|
18316
|
+
viewBox: "0 0 24 24",
|
|
18317
|
+
fill: "none"
|
|
18318
|
+
}, rest), /*#__PURE__*/React.createElement("title", null, "Close Icon"), /*#__PURE__*/React.createElement("path", {
|
|
18319
|
+
fillRule: "evenodd",
|
|
18320
|
+
clipRule: "evenodd",
|
|
18321
|
+
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",
|
|
18322
|
+
fill: iconFill
|
|
18323
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
18324
|
+
id: "mask0_3727_16765",
|
|
18325
|
+
style: {
|
|
18326
|
+
maskType: "luminance"
|
|
18327
|
+
},
|
|
18328
|
+
maskUnits: "userSpaceOnUse",
|
|
18329
|
+
x: "5",
|
|
18330
|
+
y: "5",
|
|
18331
|
+
width: "14",
|
|
18332
|
+
height: "14"
|
|
18333
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18334
|
+
fillRule: "evenodd",
|
|
18335
|
+
clipRule: "evenodd",
|
|
18336
|
+
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",
|
|
18337
|
+
fill: "none"
|
|
18338
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
18339
|
+
mask: "url(#mask0_3727_16765)"
|
|
18340
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18341
|
+
d: "M0 0H24V24H0V0Z",
|
|
18342
|
+
fill: iconFill
|
|
18343
|
+
})));
|
|
18344
|
+
};
|
|
18345
|
+
|
|
18346
|
+
var TrashIconV2 = function TrashIconV2(_ref) {
|
|
18347
|
+
var themeValues = _ref.themeValues,
|
|
18348
|
+
iconFill = _ref.iconFill;
|
|
18349
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
18350
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18351
|
+
width: "18",
|
|
18352
|
+
height: "18",
|
|
18353
|
+
viewBox: "0 0 18 18",
|
|
18354
|
+
fill: "none"
|
|
18355
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18356
|
+
fillRule: "evenodd",
|
|
18357
|
+
clipRule: "evenodd",
|
|
18358
|
+
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",
|
|
18359
|
+
fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor
|
|
18360
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
18361
|
+
id: "mask0_4292_11876",
|
|
18362
|
+
style: {
|
|
18363
|
+
maskType: "luminance"
|
|
18364
|
+
},
|
|
18365
|
+
maskUnits: "userSpaceOnUse",
|
|
18366
|
+
x: "4",
|
|
18367
|
+
y: "3",
|
|
18368
|
+
width: "10",
|
|
18369
|
+
height: "12"
|
|
18370
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18371
|
+
fillRule: "evenodd",
|
|
18372
|
+
clipRule: "evenodd",
|
|
18373
|
+
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",
|
|
18374
|
+
fill: "white"
|
|
18375
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
18376
|
+
mask: "url(#mask0_4292_11876)"
|
|
18377
|
+
}));
|
|
18378
|
+
};
|
|
18379
|
+
var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$2, "primary");
|
|
18380
|
+
|
|
18275
18381
|
var color$2 = "#15749D";
|
|
18276
18382
|
var hoverColor$1 = "#116285";
|
|
18277
18383
|
var activeColor$1 = "#0E506D";
|
|
@@ -18918,7 +19024,7 @@ var mobileFallbackValues = {
|
|
|
18918
19024
|
};
|
|
18919
19025
|
var MOBILE_BREAKPOINT = 768;
|
|
18920
19026
|
|
|
18921
|
-
var _excluded$
|
|
19027
|
+
var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18922
19028
|
|
|
18923
19029
|
/*
|
|
18924
19030
|
New responsive text component for Title elements
|
|
@@ -18965,7 +19071,7 @@ var Title = function Title(_ref) {
|
|
|
18965
19071
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18966
19072
|
dataQa = _ref.dataQa,
|
|
18967
19073
|
children = _ref.children,
|
|
18968
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19074
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18969
19075
|
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
18970
19076
|
variant: variant,
|
|
18971
19077
|
as: as,
|
|
@@ -19007,15 +19113,13 @@ var background$1 = {
|
|
|
19007
19113
|
info: "".concat(INFO_BLUE),
|
|
19008
19114
|
warn: "".concat(HALF_COLONIAL_WHITE),
|
|
19009
19115
|
primary: "".concat(CORNFLOWER_BLUE),
|
|
19010
|
-
success: "".concat(HINT_GREEN)
|
|
19011
|
-
disabled: "".concat(GRECIAN_GREY)
|
|
19116
|
+
success: "".concat(HINT_GREEN)
|
|
19012
19117
|
};
|
|
19013
19118
|
var color$4 = {
|
|
19014
19119
|
info: "".concat(MATISSE_BLUE),
|
|
19015
19120
|
warn: "".concat(ZEST_ORANGE),
|
|
19016
19121
|
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
19017
|
-
success: "".concat(SEA_GREEN)
|
|
19018
|
-
disabled: "".concat(MANATEE_GREY)
|
|
19122
|
+
success: "".concat(SEA_GREEN)
|
|
19019
19123
|
};
|
|
19020
19124
|
var fallbackValues$7 = {
|
|
19021
19125
|
background: background$1,
|
|
@@ -20391,12 +20495,12 @@ var fallbackValues$8 = {
|
|
|
20391
20495
|
linkColor: linkColor
|
|
20392
20496
|
};
|
|
20393
20497
|
|
|
20394
|
-
var _excluded$
|
|
20498
|
+
var _excluded$l = ["variant", "themeValues", "children"];
|
|
20395
20499
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
20396
20500
|
var variant = _ref.variant,
|
|
20397
20501
|
themeValues = _ref.themeValues,
|
|
20398
20502
|
children = _ref.children,
|
|
20399
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20503
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
20400
20504
|
var shadowRegistry = {
|
|
20401
20505
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
20402
20506
|
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), ";"),
|
|
@@ -20414,20 +20518,23 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20414
20518
|
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
|
|
20415
20519
|
|
|
20416
20520
|
// import theme from "styled-theming";
|
|
20521
|
+
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
20522
|
+
STORM_GREY$1 = STORM_GREY;
|
|
20523
|
+
var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
20417
20524
|
|
|
20418
20525
|
/*
|
|
20419
20526
|
For now I'm using string values, eventually shared components library will have its own constants file
|
|
20420
20527
|
for colors/values that should be used here instead
|
|
20421
20528
|
*/
|
|
20422
20529
|
|
|
20423
|
-
var color$5 = "".concat(MATISSE_BLUE);
|
|
20424
|
-
var activeColor$2 = "".concat(STORM_GREY);
|
|
20425
|
-
var activeBreadcrumbColor = "".concat(STORM_GREY);
|
|
20530
|
+
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20531
|
+
var activeColor$2 = "".concat(STORM_GREY$1);
|
|
20532
|
+
var activeBreadcrumbColor = "".concat(STORM_GREY$1);
|
|
20426
20533
|
var fontSize$2 = "0.875rem";
|
|
20427
20534
|
var lineHeight = "1.25rem";
|
|
20428
20535
|
var fontWeight$1 = "400";
|
|
20429
20536
|
var margin = "0.5rem";
|
|
20430
|
-
var hover = "text-decoration:
|
|
20537
|
+
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
20431
20538
|
var fallbackValues$9 = {
|
|
20432
20539
|
color: color$5,
|
|
20433
20540
|
activeColor: activeColor$2,
|
|
@@ -20453,7 +20560,10 @@ var fallbackValues$a = {
|
|
|
20453
20560
|
externalLinkColor: externalLinkColor
|
|
20454
20561
|
};
|
|
20455
20562
|
|
|
20456
|
-
var _excluded$
|
|
20563
|
+
var _excluded$m = ["hoverColor", "activeColor", "extrastyles"];
|
|
20564
|
+
var ROYAL_BLUE$1 = ROYAL_BLUE;
|
|
20565
|
+
var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
|
|
20566
|
+
|
|
20457
20567
|
/*
|
|
20458
20568
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20459
20569
|
unrecognized DOM attributes.
|
|
@@ -20464,14 +20574,14 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20464
20574
|
var hoverColor = _ref.hoverColor,
|
|
20465
20575
|
activeColor = _ref.activeColor,
|
|
20466
20576
|
extrastyles = _ref.extrastyles,
|
|
20467
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20577
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20468
20578
|
return /*#__PURE__*/React.createElement("a", _extends({}, props, {
|
|
20469
20579
|
ref: ref
|
|
20470
20580
|
}));
|
|
20471
20581
|
})).withConfig({
|
|
20472
20582
|
displayName: "ExternalLinkstyled__StyledExternalLink",
|
|
20473
20583
|
componentId: "sc-m1q2m2-0"
|
|
20474
|
-
})(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";&:hover{color:", ";
|
|
20584
|
+
})(["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) {
|
|
20475
20585
|
var size = _ref2.size;
|
|
20476
20586
|
return size;
|
|
20477
20587
|
}, function (_ref3) {
|
|
@@ -20486,10 +20596,10 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20486
20596
|
}, function (_ref6) {
|
|
20487
20597
|
var lineheight = _ref6.lineheight;
|
|
20488
20598
|
return lineheight;
|
|
20489
|
-
}, function (_ref7) {
|
|
20599
|
+
}, LINK_TEXT_DECORATION$3, function (_ref7) {
|
|
20490
20600
|
var hoverColor = _ref7.hoverColor;
|
|
20491
20601
|
return hoverColor;
|
|
20492
|
-
}, ROYAL_BLUE, function (_ref8) {
|
|
20602
|
+
}, ROYAL_BLUE$1, function (_ref8) {
|
|
20493
20603
|
var activeColor = _ref8.activeColor;
|
|
20494
20604
|
return activeColor;
|
|
20495
20605
|
}, function (_ref9) {
|
|
@@ -20539,7 +20649,10 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20539
20649
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
20540
20650
|
});
|
|
20541
20651
|
|
|
20542
|
-
var _excluded$
|
|
20652
|
+
var _excluded$n = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20653
|
+
var ROYAL_BLUE$2 = ROYAL_BLUE;
|
|
20654
|
+
var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
|
|
20655
|
+
|
|
20543
20656
|
/*
|
|
20544
20657
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20545
20658
|
unrecognized DOM attributes.
|
|
@@ -20552,14 +20665,14 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20552
20665
|
active = _ref.active,
|
|
20553
20666
|
color = _ref.color,
|
|
20554
20667
|
extrastyles = _ref.extrastyles,
|
|
20555
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20668
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
20556
20669
|
return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
|
|
20557
20670
|
ref: ref
|
|
20558
20671
|
}));
|
|
20559
20672
|
})).withConfig({
|
|
20560
20673
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
20561
20674
|
componentId: "sc-cuqxud-0"
|
|
20562
|
-
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";
|
|
20675
|
+
})(["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) {
|
|
20563
20676
|
var color = _ref2.color,
|
|
20564
20677
|
active = _ref2.active,
|
|
20565
20678
|
activeColor = _ref2.activeColor;
|
|
@@ -20579,10 +20692,10 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20579
20692
|
}, function (_ref7) {
|
|
20580
20693
|
var margin = _ref7.margin;
|
|
20581
20694
|
return margin;
|
|
20582
|
-
}, function (_ref8) {
|
|
20695
|
+
}, LINK_TEXT_DECORATION$4, function (_ref8) {
|
|
20583
20696
|
var hoverColor = _ref8.hoverColor;
|
|
20584
20697
|
return hoverColor;
|
|
20585
|
-
}, ROYAL_BLUE, function (_ref9) {
|
|
20698
|
+
}, ROYAL_BLUE$2, function (_ref9) {
|
|
20586
20699
|
var activeColor = _ref9.activeColor;
|
|
20587
20700
|
return activeColor;
|
|
20588
20701
|
}, function (_ref10) {
|
|
@@ -20655,7 +20768,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20655
20768
|
lineheight: themeValues.lineHeight,
|
|
20656
20769
|
fontWeight: themeValues.fontWeight,
|
|
20657
20770
|
margin: themeValues.margin,
|
|
20658
|
-
extraStyles: "\n text-transform: uppercase;\n ".concat(isActive.toString() === "true" && "
|
|
20771
|
+
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 }")
|
|
20659
20772
|
}, linkText), index < breadcrumbsList.length - 1 ? /*#__PURE__*/React.createElement(IconChevron, null) : /*#__PURE__*/React.createElement(Fragment$1, null));
|
|
20660
20773
|
})));
|
|
20661
20774
|
};
|
|
@@ -22235,9 +22348,7 @@ _curry2(function test(pattern, str) {
|
|
|
22235
22348
|
return _cloneRegExp(pattern).test(str);
|
|
22236
22349
|
});
|
|
22237
22350
|
|
|
22238
|
-
var
|
|
22239
|
-
|
|
22240
|
-
var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22351
|
+
var _excluded$o = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22241
22352
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22242
22353
|
var _ref$url = _ref.url,
|
|
22243
22354
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -22245,12 +22356,14 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22245
22356
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
22246
22357
|
_ref$fileLink = _ref.fileLink,
|
|
22247
22358
|
fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
|
|
22248
|
-
extraStyles = _ref.extraStyles,
|
|
22249
|
-
|
|
22359
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
22360
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
22361
|
+
_ref$linkExtraStyles = _ref.linkExtraStyles,
|
|
22362
|
+
linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles,
|
|
22250
22363
|
_ref$newTab = _ref.newTab,
|
|
22251
22364
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22252
22365
|
dataQa = _ref.dataQa,
|
|
22253
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22366
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$o);
|
|
22254
22367
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
22255
22368
|
var children = _ref2.children,
|
|
22256
22369
|
url = _ref2.url,
|
|
@@ -22338,7 +22451,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
22338
22451
|
return extraStyles;
|
|
22339
22452
|
});
|
|
22340
22453
|
|
|
22341
|
-
var _excluded$
|
|
22454
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
22342
22455
|
var Paragraph = function Paragraph(_ref) {
|
|
22343
22456
|
var themeValues = _ref.themeValues,
|
|
22344
22457
|
_ref$weight = _ref.weight,
|
|
@@ -22352,7 +22465,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22352
22465
|
dataQa = _ref.dataQa,
|
|
22353
22466
|
children = _ref.children,
|
|
22354
22467
|
as = _ref.as,
|
|
22355
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22468
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
22356
22469
|
return /*#__PURE__*/React.createElement(ParagraphText, _extends({
|
|
22357
22470
|
weight: weight,
|
|
22358
22471
|
color: color,
|
|
@@ -25661,7 +25774,7 @@ var mobileFallbackValues$1 = {
|
|
|
25661
25774
|
};
|
|
25662
25775
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25663
25776
|
|
|
25664
|
-
var _excluded$
|
|
25777
|
+
var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25665
25778
|
|
|
25666
25779
|
/*
|
|
25667
25780
|
New responsive text component for Detail elements
|
|
@@ -25711,7 +25824,7 @@ var Detail = function Detail(_ref) {
|
|
|
25711
25824
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25712
25825
|
dataQa = _ref.dataQa,
|
|
25713
25826
|
children = _ref.children,
|
|
25714
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25827
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
25715
25828
|
return /*#__PURE__*/React.createElement(DetailText, _extends({
|
|
25716
25829
|
variant: variant,
|
|
25717
25830
|
as: as,
|
|
@@ -25850,7 +25963,7 @@ var useToastNotification = function useToastNotification() {
|
|
|
25850
25963
|
|
|
25851
25964
|
|
|
25852
25965
|
|
|
25853
|
-
var index$
|
|
25966
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
25854
25967
|
__proto__: null,
|
|
25855
25968
|
useOutsideClick: useOutsideClickHook,
|
|
25856
25969
|
useScrollTo: useScrollTo,
|
|
@@ -26421,7 +26534,7 @@ var fallbackValues$k = {
|
|
|
26421
26534
|
formFooterPanel: formFooterPanel
|
|
26422
26535
|
};
|
|
26423
26536
|
|
|
26424
|
-
var _excluded$
|
|
26537
|
+
var _excluded$r = ["showErrors", "themeValues"],
|
|
26425
26538
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26426
26539
|
var InputField = styled.input.withConfig({
|
|
26427
26540
|
displayName: "FormInput__InputField",
|
|
@@ -26456,7 +26569,7 @@ var InputField = styled.input.withConfig({
|
|
|
26456
26569
|
var FormattedInputField = styled(function (_ref8) {
|
|
26457
26570
|
var showErrors = _ref8.showErrors,
|
|
26458
26571
|
themeValues = _ref8.themeValues,
|
|
26459
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26572
|
+
props = _objectWithoutProperties(_ref8, _excluded$r);
|
|
26460
26573
|
return /*#__PURE__*/React.createElement(FormattedInput, props);
|
|
26461
26574
|
}).withConfig({
|
|
26462
26575
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26555,7 +26668,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26555
26668
|
color: themeValues.linkColor,
|
|
26556
26669
|
weight: themeValues.fontWeight,
|
|
26557
26670
|
hoverStyles: themeValues.hoverFocusStyles,
|
|
26558
|
-
extraStyles: "cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26671
|
+
extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26559
26672
|
onClick: function onClick() {
|
|
26560
26673
|
return setShowPassword(!showPassword);
|
|
26561
26674
|
},
|
|
@@ -26628,7 +26741,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26628
26741
|
};
|
|
26629
26742
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26630
26743
|
|
|
26631
|
-
var _excluded$
|
|
26744
|
+
var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26632
26745
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26633
26746
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26634
26747
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26637,7 +26750,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26637
26750
|
largeChild = _ref.largeChild,
|
|
26638
26751
|
largeChildSize = _ref.largeChildSize,
|
|
26639
26752
|
children = _ref.children,
|
|
26640
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26753
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26641
26754
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
26642
26755
|
padding: "0"
|
|
26643
26756
|
}, rest), /*#__PURE__*/React.createElement(Switcher, {
|
|
@@ -26648,24 +26761,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26648
26761
|
}, children));
|
|
26649
26762
|
};
|
|
26650
26763
|
|
|
26651
|
-
var _excluded$
|
|
26764
|
+
var _excluded$t = ["childGap", "bottomItem", "children"];
|
|
26652
26765
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26653
26766
|
var _ref$childGap = _ref.childGap,
|
|
26654
26767
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26655
26768
|
bottomItem = _ref.bottomItem,
|
|
26656
26769
|
children = _ref.children,
|
|
26657
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26770
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26658
26771
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
26659
26772
|
childGap: childGap,
|
|
26660
26773
|
bottomItem: bottomItem
|
|
26661
26774
|
}, rest), children);
|
|
26662
26775
|
};
|
|
26663
26776
|
|
|
26664
|
-
var _excluded$
|
|
26777
|
+
var _excluded$u = ["themeValues", "children"];
|
|
26665
26778
|
var FormContainer = function FormContainer(_ref) {
|
|
26666
26779
|
var themeValues = _ref.themeValues,
|
|
26667
26780
|
children = _ref.children,
|
|
26668
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26781
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26669
26782
|
var _useContext = useContext(ThemeContext),
|
|
26670
26783
|
isMobile = _useContext.isMobile;
|
|
26671
26784
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
@@ -26975,7 +27088,7 @@ var fallbackValues$o = {
|
|
|
26975
27088
|
fontSize: fontSize$8
|
|
26976
27089
|
};
|
|
26977
27090
|
|
|
26978
|
-
var _excluded$
|
|
27091
|
+
var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26979
27092
|
var Heading = function Heading(_ref) {
|
|
26980
27093
|
var themeValues = _ref.themeValues,
|
|
26981
27094
|
_ref$weight = _ref.weight,
|
|
@@ -26994,7 +27107,7 @@ var Heading = function Heading(_ref) {
|
|
|
26994
27107
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26995
27108
|
dataQa = _ref.dataQa,
|
|
26996
27109
|
children = _ref.children,
|
|
26997
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27110
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26998
27111
|
return /*#__PURE__*/React.createElement(HeadingText, _extends({
|
|
26999
27112
|
variant: variant,
|
|
27000
27113
|
as: as,
|
|
@@ -27195,11 +27308,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
27195
27308
|
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
27196
27309
|
};
|
|
27197
27310
|
|
|
27198
|
-
var _excluded$
|
|
27311
|
+
var _excluded$w = ["version"];
|
|
27199
27312
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
27200
27313
|
var _ref$version = _ref.version,
|
|
27201
27314
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
27202
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27315
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27203
27316
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27204
27317
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
27205
27318
|
};
|
|
@@ -27336,7 +27449,7 @@ var Loading = function Loading() {
|
|
|
27336
27449
|
})))));
|
|
27337
27450
|
};
|
|
27338
27451
|
|
|
27339
|
-
var _excluded$
|
|
27452
|
+
var _excluded$x = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
27340
27453
|
var NavFooter = function NavFooter(_ref) {
|
|
27341
27454
|
var leftContent = _ref.leftContent,
|
|
27342
27455
|
rightContent = _ref.rightContent,
|
|
@@ -27351,7 +27464,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27351
27464
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27352
27465
|
isMobile = _ref.isMobile,
|
|
27353
27466
|
footerWidth = _ref.footerWidth,
|
|
27354
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27467
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27355
27468
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27356
27469
|
padding: footerPadding,
|
|
27357
27470
|
background: backgroundColor,
|
|
@@ -27382,7 +27495,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27382
27495
|
}, rightContent)))))));
|
|
27383
27496
|
};
|
|
27384
27497
|
|
|
27385
|
-
var _excluded$
|
|
27498
|
+
var _excluded$y = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27386
27499
|
var NavHeader = function NavHeader(_ref) {
|
|
27387
27500
|
var leftContent = _ref.leftContent,
|
|
27388
27501
|
rightContent = _ref.rightContent,
|
|
@@ -27391,7 +27504,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27391
27504
|
isMobile = _ref.isMobile,
|
|
27392
27505
|
backgroundColor = _ref.backgroundColor,
|
|
27393
27506
|
headerWidth = _ref.headerWidth,
|
|
27394
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27507
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
27395
27508
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27396
27509
|
padding: "0 16px 4px",
|
|
27397
27510
|
background: backgroundColor,
|
|
@@ -27602,24 +27715,23 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27602
27715
|
action = _ref.action,
|
|
27603
27716
|
destination = _ref.destination,
|
|
27604
27717
|
children = _ref.children,
|
|
27605
|
-
dataQa = _ref.dataQa
|
|
27606
|
-
_ref$disabled = _ref.disabled,
|
|
27607
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
27718
|
+
dataQa = _ref.dataQa;
|
|
27608
27719
|
return isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
27609
27720
|
to: destination,
|
|
27610
27721
|
"data-qa": dataQa,
|
|
27611
|
-
|
|
27722
|
+
style: {
|
|
27723
|
+
textDecoration: "none"
|
|
27724
|
+
}
|
|
27612
27725
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27613
27726
|
padding: "0",
|
|
27614
27727
|
minHeight: "100%",
|
|
27615
|
-
extraStyles:
|
|
27728
|
+
extraStyles: "cursor: pointer;"
|
|
27616
27729
|
}, children)) : /*#__PURE__*/React.createElement(Box, {
|
|
27617
|
-
onClick:
|
|
27730
|
+
onClick: action,
|
|
27618
27731
|
padding: "0",
|
|
27619
27732
|
minHeight: "100%",
|
|
27620
|
-
|
|
27621
|
-
|
|
27622
|
-
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27733
|
+
extraStyles: "cursor: pointer;",
|
|
27734
|
+
dataQa: dataQa
|
|
27623
27735
|
}, children);
|
|
27624
27736
|
};
|
|
27625
27737
|
var Placeholder = function Placeholder(_ref2) {
|
|
@@ -27633,16 +27745,12 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27633
27745
|
variant = _ref2.variant,
|
|
27634
27746
|
largeIcon = _ref2.largeIcon,
|
|
27635
27747
|
themeValues = _ref2.themeValues,
|
|
27636
|
-
dataQa = _ref2.dataQa
|
|
27637
|
-
_ref2$disabled = _ref2.disabled,
|
|
27638
|
-
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
|
|
27639
|
-
var tintedColor = "".concat(curriedTint$1(0.9, themeValues.color));
|
|
27748
|
+
dataQa = _ref2.dataQa;
|
|
27640
27749
|
return /*#__PURE__*/React.createElement(PlaceholderContentWrapper, {
|
|
27641
27750
|
isLink: isLink,
|
|
27642
27751
|
action: action,
|
|
27643
27752
|
destination: destination,
|
|
27644
|
-
dataQa: dataQa
|
|
27645
|
-
disabled: disabled
|
|
27753
|
+
dataQa: dataQa
|
|
27646
27754
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27647
27755
|
padding: "0",
|
|
27648
27756
|
borderRadius: "4px",
|
|
@@ -27650,14 +27758,14 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27650
27758
|
minHeight: themeValues.height,
|
|
27651
27759
|
hiddenStyles: !visible,
|
|
27652
27760
|
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;"),
|
|
27653
|
-
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY :
|
|
27761
|
+
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : curriedTint$1(0.9, themeValues.color), ";")
|
|
27654
27762
|
}, /*#__PURE__*/React.createElement(Center, {
|
|
27655
27763
|
maxWidth: "300px"
|
|
27656
27764
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27657
27765
|
padding: "0",
|
|
27658
27766
|
tabIndex: "0",
|
|
27659
27767
|
onKeyPress: function onKeyPress(e) {
|
|
27660
|
-
return e.key === "Enter" &&
|
|
27768
|
+
return e.key === "Enter" && action();
|
|
27661
27769
|
}
|
|
27662
27770
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
27663
27771
|
justify: "center",
|
|
@@ -39033,14 +39141,6 @@ var NavTabs = function NavTabs(_ref) {
|
|
|
39033
39141
|
}, tabs)));
|
|
39034
39142
|
};
|
|
39035
39143
|
|
|
39036
|
-
|
|
39037
|
-
|
|
39038
|
-
var index$5 = /*#__PURE__*/Object.freeze({
|
|
39039
|
-
__proto__: null,
|
|
39040
|
-
colors: colors,
|
|
39041
|
-
fontWeights: style_constants
|
|
39042
|
-
});
|
|
39043
|
-
|
|
39044
39144
|
var shineFrames = keyframes$3(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
|
|
39045
39145
|
var LoadingPill = styled.div.withConfig({
|
|
39046
39146
|
displayName: "LoadingPillstyled__LoadingPill",
|
|
@@ -39153,7 +39253,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
39153
39253
|
return extraStyles;
|
|
39154
39254
|
});
|
|
39155
39255
|
|
|
39156
|
-
var _excluded$
|
|
39256
|
+
var _excluded$z = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
39157
39257
|
var TableRow = function TableRow(_ref) {
|
|
39158
39258
|
var children = _ref.children,
|
|
39159
39259
|
extraStyles = _ref.extraStyles,
|
|
@@ -39162,7 +39262,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39162
39262
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
39163
39263
|
onClick = _ref.onClick,
|
|
39164
39264
|
themeValues = _ref.themeValues,
|
|
39165
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
39265
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
39166
39266
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
39167
39267
|
onClick: onClick,
|
|
39168
39268
|
hoverEffect: hoverEffect,
|
|
@@ -42487,22 +42587,10 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
42487
42587
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
42488
42588
|
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));
|
|
42489
42589
|
|
|
42490
|
-
var activeBackgroundColor$1 =
|
|
42491
|
-
|
|
42492
|
-
|
|
42493
|
-
|
|
42494
|
-
var backgroundColor$9 = {
|
|
42495
|
-
primary: "".concat(LINK_WATER),
|
|
42496
|
-
disabled: "".concat(ATHENS_GREY)
|
|
42497
|
-
};
|
|
42498
|
-
var borderColor$5 = {
|
|
42499
|
-
primary: "".concat(MOON_RAKER),
|
|
42500
|
-
disabled: "".concat(MANATEE_GREY)
|
|
42501
|
-
};
|
|
42502
|
-
var color$b = {
|
|
42503
|
-
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
42504
|
-
disabled: "".concat(MANATEE_GREY)
|
|
42505
|
-
};
|
|
42590
|
+
var activeBackgroundColor$1 = CORNFLOWER_BLUE;
|
|
42591
|
+
var backgroundColor$9 = LINK_WATER;
|
|
42592
|
+
var borderColor$5 = MOON_RAKER;
|
|
42593
|
+
var color$b = ROYAL_BLUE_VIVID;
|
|
42506
42594
|
var fallbackValues$I = {
|
|
42507
42595
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42508
42596
|
backgroundColor: backgroundColor$9,
|
|
@@ -42543,9 +42631,7 @@ var Footer = styled(Stack).withConfig({
|
|
|
42543
42631
|
})(["align-items:center;width:100%;"]);
|
|
42544
42632
|
|
|
42545
42633
|
var LinkCard = function LinkCard(_ref) {
|
|
42546
|
-
var _ref$
|
|
42547
|
-
variant = _ref$variant === void 0 ? "primary" : _ref$variant,
|
|
42548
|
-
_ref$title = _ref.title,
|
|
42634
|
+
var _ref$title = _ref.title,
|
|
42549
42635
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42550
42636
|
_ref$subtitle = _ref.subtitle,
|
|
42551
42637
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
@@ -42579,8 +42665,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42579
42665
|
extraStyles: extraStyles,
|
|
42580
42666
|
hoverStyles: extraHoverStyles,
|
|
42581
42667
|
activeStyles: extraActiveStyles,
|
|
42582
|
-
onClick:
|
|
42583
|
-
"aria-disabled": variant === "disabled"
|
|
42668
|
+
onClick: onClick
|
|
42584
42669
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
42585
42670
|
childGap: 0,
|
|
42586
42671
|
bottomItem: 3,
|
|
@@ -42613,7 +42698,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42613
42698
|
justify: "space-between"
|
|
42614
42699
|
}, showLeft && !leftContent && /*#__PURE__*/React.createElement(Box, null), showLeft && leftContent, showRight && rightContent))));
|
|
42615
42700
|
};
|
|
42616
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I
|
|
42701
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
|
|
42617
42702
|
|
|
42618
42703
|
var LoginForm = function LoginForm(_ref) {
|
|
42619
42704
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -46486,10 +46571,6 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46486
46571
|
};
|
|
46487
46572
|
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
|
|
46488
46573
|
|
|
46489
|
-
var ACH_METHOD = "BANK_ACCOUNT";
|
|
46490
|
-
var CC_METHOD = "CREDIT_CARD";
|
|
46491
|
-
var CASH_METHOD = "CASH";
|
|
46492
|
-
|
|
46493
46574
|
var IconsModule = function IconsModule(_ref) {
|
|
46494
46575
|
var icon = _ref.icon,
|
|
46495
46576
|
iconDefault = _ref.iconDefault,
|
|
@@ -46569,9 +46650,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46569
46650
|
inactive = _ref.inactive,
|
|
46570
46651
|
description = _ref.description,
|
|
46571
46652
|
subDescription = _ref.subDescription,
|
|
46572
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46573
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46574
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46653
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
46575
46654
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46576
46655
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46577
46656
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
@@ -46600,7 +46679,6 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46600
46679
|
case "secondary":
|
|
46601
46680
|
{
|
|
46602
46681
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46603
|
-
disabled: isInCustomerManagement,
|
|
46604
46682
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46605
46683
|
variant: "secondary",
|
|
46606
46684
|
action: function action() {
|
|
@@ -46613,7 +46691,6 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46613
46691
|
case "tertiary":
|
|
46614
46692
|
{
|
|
46615
46693
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46616
|
-
disabled: isInCustomerManagement,
|
|
46617
46694
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46618
46695
|
variant: "tertiary",
|
|
46619
46696
|
action: function action() {
|
|
@@ -46730,9 +46807,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46730
46807
|
dueDate = _ref.dueDate,
|
|
46731
46808
|
description = _ref.description,
|
|
46732
46809
|
subDescription = _ref.subDescription,
|
|
46733
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46734
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46735
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46810
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
46736
46811
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46737
46812
|
var _useState = useState(false),
|
|
46738
46813
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46812,8 +46887,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46812
46887
|
handleAutopayAction();
|
|
46813
46888
|
},
|
|
46814
46889
|
dataQa: "Set Up Autopay",
|
|
46815
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46816
|
-
disabled: isInCustomerManagement
|
|
46890
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46817
46891
|
}) : /*#__PURE__*/React.createElement(AutopayModalModule, {
|
|
46818
46892
|
autoPayActive: autoPayEnabled,
|
|
46819
46893
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -46839,8 +46913,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46839
46913
|
},
|
|
46840
46914
|
text: "Pay Now",
|
|
46841
46915
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46842
|
-
dataQa: "Pay Now"
|
|
46843
|
-
disabled: isInCustomerManagement
|
|
46916
|
+
dataQa: "Pay Now"
|
|
46844
46917
|
}))), isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46845
46918
|
padding: "8px 0 0",
|
|
46846
46919
|
width: "100%"
|
|
@@ -46852,8 +46925,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46852
46925
|
text: "Pay Now",
|
|
46853
46926
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46854
46927
|
dataQa: "Pay Now",
|
|
46855
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
46856
|
-
disabled: isInCustomerManagement
|
|
46928
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
46857
46929
|
}))));
|
|
46858
46930
|
};
|
|
46859
46931
|
|
|
@@ -47025,9 +47097,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47025
47097
|
_ref$inactiveLookupIn = _ref.inactiveLookupInput,
|
|
47026
47098
|
inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
|
|
47027
47099
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
47028
|
-
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa
|
|
47029
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47030
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
47100
|
+
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa;
|
|
47031
47101
|
/*
|
|
47032
47102
|
The value of obligations is always an array. It can contain:
|
|
47033
47103
|
- A single obligation
|
|
@@ -47115,8 +47185,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47115
47185
|
obligationAssocID: obligationAssocID,
|
|
47116
47186
|
description: description,
|
|
47117
47187
|
subDescription: subDescription,
|
|
47118
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47119
|
-
isInCustomerManagement: isInCustomerManagement
|
|
47188
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47120
47189
|
}))), isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
47121
47190
|
obligations: obligations,
|
|
47122
47191
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47134,8 +47203,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47134
47203
|
obligationAssocID: obligationAssocID,
|
|
47135
47204
|
description: description,
|
|
47136
47205
|
subDescription: subDescription,
|
|
47137
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47138
|
-
isInCustomerManagement: isInCustomerManagement
|
|
47206
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47139
47207
|
}));
|
|
47140
47208
|
var inactiveObligation = /*#__PURE__*/React.createElement(Box, {
|
|
47141
47209
|
padding: "0",
|
|
@@ -47420,6 +47488,7 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
47420
47488
|
var Pagination = function Pagination(_ref3) {
|
|
47421
47489
|
var _ref3$activeBorderWid = _ref3.activeBorderWidth,
|
|
47422
47490
|
activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
|
|
47491
|
+
ariaLabel = _ref3.ariaLabel,
|
|
47423
47492
|
arrowColor = _ref3.arrowColor,
|
|
47424
47493
|
_ref3$borderRadius = _ref3.borderRadius,
|
|
47425
47494
|
borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
|
|
@@ -47439,11 +47508,10 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47439
47508
|
pageNext = _ref3.pageNext,
|
|
47440
47509
|
pagePrevious = _ref3.pagePrevious,
|
|
47441
47510
|
setCurrentPage = _ref3.setCurrentPage,
|
|
47442
|
-
ariaLabel = _ref3.ariaLabel,
|
|
47443
47511
|
themeValues = _ref3.themeValues;
|
|
47444
47512
|
var _useContext = useContext(ThemeContext),
|
|
47445
47513
|
isMobile = _useContext.isMobile;
|
|
47446
|
-
var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n
|
|
47514
|
+
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 ");
|
|
47447
47515
|
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 ");
|
|
47448
47516
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
47449
47517
|
justify: "center",
|
|
@@ -47624,7 +47692,7 @@ var fallbackValues$N = {
|
|
|
47624
47692
|
labeledAmountTotal: labeledAmountTotal
|
|
47625
47693
|
};
|
|
47626
47694
|
|
|
47627
|
-
var _excluded$
|
|
47695
|
+
var _excluded$A = ["amount"],
|
|
47628
47696
|
_excluded2$1 = ["amount"];
|
|
47629
47697
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47630
47698
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47864,7 +47932,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47864
47932
|
return fee.amount > 0;
|
|
47865
47933
|
}).map(function (_ref5) {
|
|
47866
47934
|
var amount = _ref5.amount,
|
|
47867
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47935
|
+
rest = _objectWithoutProperties(_ref5, _excluded$A);
|
|
47868
47936
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47869
47937
|
amount: displayCurrency(amount)
|
|
47870
47938
|
});
|
|
@@ -47981,12 +48049,16 @@ var fontWeight$7 = {
|
|
|
47981
48049
|
var modalLinkHoverFocus$1 = {
|
|
47982
48050
|
"default": "outline: none; text-decoration: underline;"
|
|
47983
48051
|
};
|
|
48052
|
+
var linkTextDecoration = {
|
|
48053
|
+
"default": LINK_TEXT_DECORATION
|
|
48054
|
+
};
|
|
47984
48055
|
var fallbackValues$O = {
|
|
47985
48056
|
linkColor: linkColor$5,
|
|
47986
48057
|
fontSize: fontSize$a,
|
|
47987
48058
|
lineHeight: lineHeight$4,
|
|
47988
48059
|
fontWeight: fontWeight$7,
|
|
47989
|
-
modalLinkHoverFocus: modalLinkHoverFocus$1
|
|
48060
|
+
modalLinkHoverFocus: modalLinkHoverFocus$1,
|
|
48061
|
+
linkTextDecoration: linkTextDecoration
|
|
47990
48062
|
};
|
|
47991
48063
|
|
|
47992
48064
|
var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
@@ -48040,6 +48112,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
48040
48112
|
color: themeValues.linkColor,
|
|
48041
48113
|
weight: themeValues.fontWeight,
|
|
48042
48114
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48115
|
+
textDecoration: themeValues.linkTextDecoration,
|
|
48043
48116
|
extraStyles: "cursor: pointer;",
|
|
48044
48117
|
role: "button",
|
|
48045
48118
|
className: "modal-trigger"
|
|
@@ -48076,6 +48149,10 @@ var modalLinkHoverFocus$2 = {
|
|
|
48076
48149
|
"default": standardInteractionStyles,
|
|
48077
48150
|
footer: standardInteractionStyles
|
|
48078
48151
|
};
|
|
48152
|
+
var modalLinkTextDecoration = {
|
|
48153
|
+
"default": LINK_TEXT_DECORATION,
|
|
48154
|
+
footer: "none"
|
|
48155
|
+
};
|
|
48079
48156
|
var fallbackValues$P = {
|
|
48080
48157
|
backgroundColor: backgroundColor$d,
|
|
48081
48158
|
linkColor: linkColor$6,
|
|
@@ -48083,7 +48160,8 @@ var fallbackValues$P = {
|
|
|
48083
48160
|
fontSize: fontSize$b,
|
|
48084
48161
|
lineHeight: lineHeight$5,
|
|
48085
48162
|
fontWeight: fontWeight$8,
|
|
48086
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
48163
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2,
|
|
48164
|
+
modalLinkTextDecoration: modalLinkTextDecoration
|
|
48087
48165
|
};
|
|
48088
48166
|
|
|
48089
48167
|
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
@@ -48140,6 +48218,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48140
48218
|
color: themeValues.linkColor,
|
|
48141
48219
|
weight: themeValues.fontWeight,
|
|
48142
48220
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48221
|
+
textDecoration: themeValues.modalLinkTextDecoration,
|
|
48143
48222
|
extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
|
|
48144
48223
|
role: "button" // This should always be a "button" since it opens a modal
|
|
48145
48224
|
,
|
|
@@ -48273,11 +48352,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48273
48352
|
}, errorMessage))))));
|
|
48274
48353
|
};
|
|
48275
48354
|
|
|
48276
|
-
var _excluded$
|
|
48355
|
+
var _excluded$B = ["version"];
|
|
48277
48356
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48278
48357
|
var _ref$version = _ref.version,
|
|
48279
48358
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48280
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48359
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
48281
48360
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48282
48361
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
48283
48362
|
};
|
|
@@ -49076,7 +49155,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49076
49155
|
}, section.content))));
|
|
49077
49156
|
};
|
|
49078
49157
|
|
|
49079
|
-
var _excluded$
|
|
49158
|
+
var _excluded$C = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
49080
49159
|
|
|
49081
49160
|
/**
|
|
49082
49161
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49124,7 +49203,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49124
49203
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49125
49204
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49126
49205
|
groupedSections = _ref.groupedSections,
|
|
49127
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49206
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
49128
49207
|
var _useState = useState(null),
|
|
49129
49208
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49130
49209
|
focused = _useState2[0],
|
|
@@ -49596,7 +49675,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49596
49675
|
return /*#__PURE__*/React.createElement(InternalLink, {
|
|
49597
49676
|
to: route,
|
|
49598
49677
|
key: "".concat(route, "-").concat(index),
|
|
49599
|
-
extraStyles: "
|
|
49678
|
+
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 }", "}")
|
|
49600
49679
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
49601
49680
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
49602
49681
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -49805,8 +49884,225 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
49805
49884
|
}))));
|
|
49806
49885
|
};
|
|
49807
49886
|
|
|
49808
|
-
var
|
|
49887
|
+
var menuItemBackgroundColor = WHITE;
|
|
49888
|
+
var menuItemColor = ROYAL_BLUE_VIVID;
|
|
49889
|
+
var menuItemColorDelete = RAZZMATAZZ_RED;
|
|
49890
|
+
var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
|
|
49891
|
+
var menuItemHoverBackgroundColorDelete = BLUSH_RED;
|
|
49892
|
+
var menuItemHoverColor = ROYAL_BLUE_VIVID;
|
|
49809
49893
|
var fallbackValues$U = {
|
|
49894
|
+
menuItemBackgroundColor: menuItemBackgroundColor,
|
|
49895
|
+
menuItemColor: menuItemColor,
|
|
49896
|
+
menuItemColorDelete: menuItemColorDelete,
|
|
49897
|
+
menuItemHoverBackgroundColor: menuItemHoverBackgroundColor,
|
|
49898
|
+
menuItemHoverBackgroundColorDelete: menuItemHoverBackgroundColorDelete,
|
|
49899
|
+
menuItemHoverColor: menuItemHoverColor
|
|
49900
|
+
};
|
|
49901
|
+
|
|
49902
|
+
var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
|
|
49903
|
+
displayName: "PopupMenuItemstyled__PopupMenuItemContainer",
|
|
49904
|
+
componentId: "sc-urj1su-0"
|
|
49905
|
+
})(["width:100%;margin:0;padding:17px 11px;margin-bottom:5px;border:0;cursor:pointer;text-decoration:none;", " &:hover,&:active{text-decoration:none;", "}"], function (_ref) {
|
|
49906
|
+
var theme = _ref.theme,
|
|
49907
|
+
isDeleteAction = _ref.isDeleteAction;
|
|
49908
|
+
return "\n background-color: ".concat(theme.menuItemBackgroundColor, ";\n color: ").concat(isDeleteAction ? theme.menuItemColorDelete : theme.menuItemColor, ";\n ");
|
|
49909
|
+
}, function (_ref2) {
|
|
49910
|
+
var theme = _ref2.theme,
|
|
49911
|
+
isDeleteAction = _ref2.isDeleteAction;
|
|
49912
|
+
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
49913
|
+
});
|
|
49914
|
+
|
|
49915
|
+
var _excluded$D = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
49916
|
+
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
49917
|
+
var id = _ref.id,
|
|
49918
|
+
closeMenuCallback = _ref.closeMenuCallback,
|
|
49919
|
+
_action = _ref.action,
|
|
49920
|
+
themeValues = _ref.themeValues,
|
|
49921
|
+
text = _ref.text,
|
|
49922
|
+
_ref$hasIcon = _ref.hasIcon,
|
|
49923
|
+
hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
|
|
49924
|
+
_ref$isDeleteAction = _ref.isDeleteAction,
|
|
49925
|
+
isDeleteAction = _ref$isDeleteAction === void 0 ? false : _ref$isDeleteAction,
|
|
49926
|
+
Icon = _ref.icon,
|
|
49927
|
+
textExtraStyles = _ref.textExtraStyles,
|
|
49928
|
+
hoverStyles = _ref.hoverStyles,
|
|
49929
|
+
activeStyles = _ref.activeStyles,
|
|
49930
|
+
extraStyles = _ref.extraStyles,
|
|
49931
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
49932
|
+
return /*#__PURE__*/React.createElement(PopupMenuItemContainer, _extends({
|
|
49933
|
+
id: id,
|
|
49934
|
+
role: "menuItem",
|
|
49935
|
+
text: text,
|
|
49936
|
+
action: function action() {
|
|
49937
|
+
_action();
|
|
49938
|
+
closeMenuCallback();
|
|
49939
|
+
},
|
|
49940
|
+
variant: "smallGhost",
|
|
49941
|
+
isDeleteAction: isDeleteAction,
|
|
49942
|
+
theme: themeValues,
|
|
49943
|
+
contentOverride: true,
|
|
49944
|
+
textExtraStyles: textExtraStyles,
|
|
49945
|
+
hoverStyles: hoverStyles,
|
|
49946
|
+
extraStyles: extraStyles,
|
|
49947
|
+
activeStyles: "outline: none; ".concat(activeStyles)
|
|
49948
|
+
}, rest), /*#__PURE__*/React.createElement(Box, {
|
|
49949
|
+
extraStyles: "\n display: flex;\n gap: 8px;\n justify-content: center;\n padding: 0;\n "
|
|
49950
|
+
}, hasIcon && /*#__PURE__*/React.createElement(Icon, {
|
|
49951
|
+
iconFill: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor
|
|
49952
|
+
}), text && /*#__PURE__*/React.createElement(Text$1, {
|
|
49953
|
+
variant: "pS",
|
|
49954
|
+
weight: FONT_WEIGHT_SEMIBOLD,
|
|
49955
|
+
fontFamily: "Public Sans, sans-serif",
|
|
49956
|
+
color: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor,
|
|
49957
|
+
extraStyles: textExtraStyles
|
|
49958
|
+
}, text)));
|
|
49959
|
+
};
|
|
49960
|
+
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$U);
|
|
49961
|
+
|
|
49962
|
+
var hoverColor$6 = "#116285";
|
|
49963
|
+
var activeColor$a = "#0E506D";
|
|
49964
|
+
var menuTriggerColor = "#15749D";
|
|
49965
|
+
var backgroundColor$e = "white";
|
|
49966
|
+
var fallbackValues$V = {
|
|
49967
|
+
hoverColor: hoverColor$6,
|
|
49968
|
+
activeColor: activeColor$a,
|
|
49969
|
+
menuTriggerColor: menuTriggerColor,
|
|
49970
|
+
backgroundColor: backgroundColor$e
|
|
49971
|
+
};
|
|
49972
|
+
|
|
49973
|
+
var PopupMenuContainer = styled(Box).withConfig({
|
|
49974
|
+
displayName: "PopupMenustyled__PopupMenuContainer",
|
|
49975
|
+
componentId: "sc-1ge13q9-0"
|
|
49976
|
+
})(["display:flex;position:relative;padding:0;"]);
|
|
49977
|
+
var PopupMenuTriggerButton = styled(ButtonWithAction).withConfig({
|
|
49978
|
+
displayName: "PopupMenustyled__PopupMenuTriggerButton",
|
|
49979
|
+
componentId: "sc-1ge13q9-1"
|
|
49980
|
+
})(["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);}"]);
|
|
49981
|
+
|
|
49982
|
+
var PopupMenu = function PopupMenu(_ref) {
|
|
49983
|
+
var _ref$menuId = _ref.menuId,
|
|
49984
|
+
menuId = _ref$menuId === void 0 ? "popup-menu" : _ref$menuId,
|
|
49985
|
+
_ref$menuItems = _ref.menuItems,
|
|
49986
|
+
menuItems = _ref$menuItems === void 0 ? [] : _ref$menuItems,
|
|
49987
|
+
themeValues = _ref.themeValues,
|
|
49988
|
+
_ref$triggerText = _ref.triggerText,
|
|
49989
|
+
triggerText = _ref$triggerText === void 0 ? "trigger text" : _ref$triggerText,
|
|
49990
|
+
_ref$hasIcon = _ref.hasIcon,
|
|
49991
|
+
hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
|
|
49992
|
+
Icon = _ref.icon,
|
|
49993
|
+
_ref$iconHelpText = _ref.iconHelpText,
|
|
49994
|
+
iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
|
|
49995
|
+
menuFocus = _ref.menuFocus,
|
|
49996
|
+
containerExtraStyles = _ref.containerExtraStyles,
|
|
49997
|
+
textExtraStyles = _ref.textExtraStyles,
|
|
49998
|
+
_ref$minWidth = _ref.minWidth,
|
|
49999
|
+
minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
|
|
50000
|
+
_ref$maxWidth = _ref.maxWidth,
|
|
50001
|
+
maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
|
|
50002
|
+
_ref$height = _ref.height,
|
|
50003
|
+
height = _ref$height === void 0 ? "auto" : _ref$height,
|
|
50004
|
+
position = _ref.position,
|
|
50005
|
+
_ref$transform = _ref.transform,
|
|
50006
|
+
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
50007
|
+
buttonExtraStyles = _ref.buttonExtraStyles,
|
|
50008
|
+
popupExtraStyles = _ref.popupExtraStyles;
|
|
50009
|
+
var hoverColor = themeValues.hoverColor,
|
|
50010
|
+
activeColor = themeValues.activeColor,
|
|
50011
|
+
menuTriggerColor = themeValues.menuTriggerColor,
|
|
50012
|
+
backgroundColor = themeValues.backgroundColor;
|
|
50013
|
+
var _ref2 = position !== null && position !== void 0 ? position : {},
|
|
50014
|
+
_ref2$top = _ref2.top,
|
|
50015
|
+
top = _ref2$top === void 0 ? "".concat(height, "px") : _ref2$top,
|
|
50016
|
+
_ref2$right = _ref2.right,
|
|
50017
|
+
right = _ref2$right === void 0 ? "auto" : _ref2$right,
|
|
50018
|
+
_ref2$bottom = _ref2.bottom,
|
|
50019
|
+
bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
|
|
50020
|
+
_ref2$left = _ref2.left,
|
|
50021
|
+
left = _ref2$left === void 0 ? "0" : _ref2$left;
|
|
50022
|
+
var _useState = useState(false),
|
|
50023
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
50024
|
+
isMenuOpen = _useState2[0],
|
|
50025
|
+
setIsMenuOpen = _useState2[1];
|
|
50026
|
+
var menuRef = useRef();
|
|
50027
|
+
var triggerRef = useRef();
|
|
50028
|
+
var toggleMenu = function toggleMenu(menuState) {
|
|
50029
|
+
return setIsMenuOpen(menuState);
|
|
50030
|
+
};
|
|
50031
|
+
useEffect$1(function () {
|
|
50032
|
+
var checkIfClickedOutside = function checkIfClickedOutside(e) {
|
|
50033
|
+
// If the menu is open and the clicked target is not within the menu or the trigger
|
|
50034
|
+
if (isMenuOpen && menuRef.current && !menuRef.current.contains(e.target) && triggerRef.current && !triggerRef.current.contains(e.target)) {
|
|
50035
|
+
toggleMenu(false);
|
|
50036
|
+
}
|
|
50037
|
+
};
|
|
50038
|
+
document.addEventListener("click", checkIfClickedOutside);
|
|
50039
|
+
return function () {
|
|
50040
|
+
document.removeEventListener("click", checkIfClickedOutside);
|
|
50041
|
+
};
|
|
50042
|
+
}, [isMenuOpen]);
|
|
50043
|
+
return /*#__PURE__*/React.createElement(PopupMenuContainer, {
|
|
50044
|
+
extraStyles: containerExtraStyles
|
|
50045
|
+
}, /*#__PURE__*/React.createElement(PopupMenuTriggerButton, {
|
|
50046
|
+
ref: triggerRef,
|
|
50047
|
+
action: function action() {
|
|
50048
|
+
toggleMenu(!isMenuOpen);
|
|
50049
|
+
},
|
|
50050
|
+
onKeyDown: function onKeyDown(e) {
|
|
50051
|
+
if (e.key === "Escape") {
|
|
50052
|
+
toggleMenu(false);
|
|
50053
|
+
}
|
|
50054
|
+
},
|
|
50055
|
+
contentOverride: true,
|
|
50056
|
+
variant: "smallGhost",
|
|
50057
|
+
tabIndex: "0",
|
|
50058
|
+
id: menuId,
|
|
50059
|
+
borderRadius: "8px",
|
|
50060
|
+
"aria-haspopup": "true",
|
|
50061
|
+
"aria-expanded": isMenuOpen,
|
|
50062
|
+
"aria-controls": "".concat(menuId, "-container"),
|
|
50063
|
+
extraStyles: buttonExtraStyles
|
|
50064
|
+
}, hasIcon && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, null), /*#__PURE__*/React.createElement(Box, {
|
|
50065
|
+
padding: "0",
|
|
50066
|
+
srOnly: true
|
|
50067
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
50068
|
+
id: "btn".concat(menuId, "_info")
|
|
50069
|
+
}, iconHelpText))), !hasIcon && /*#__PURE__*/React.createElement(Text$1, {
|
|
50070
|
+
color: menuTriggerColor,
|
|
50071
|
+
extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
|
|
50072
|
+
}, triggerText)), /*#__PURE__*/React.createElement(Box, {
|
|
50073
|
+
as: "div",
|
|
50074
|
+
id: "".concat(menuId, "-container"),
|
|
50075
|
+
ref: menuRef,
|
|
50076
|
+
onKeyDown: function onKeyDown(e) {
|
|
50077
|
+
if (e.key === "Escape") {
|
|
50078
|
+
toggleMenu(false);
|
|
50079
|
+
}
|
|
50080
|
+
},
|
|
50081
|
+
background: backgroundColor,
|
|
50082
|
+
borderRadius: "8px",
|
|
50083
|
+
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 ",
|
|
50084
|
+
role: "menu",
|
|
50085
|
+
"aria-labelledby": menuId,
|
|
50086
|
+
tabIndex: menuFocus && isMenuOpen ? "0" : "-1",
|
|
50087
|
+
minWidth: minWidth,
|
|
50088
|
+
maxWidth: maxWidth,
|
|
50089
|
+
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 ")
|
|
50090
|
+
}, menuItems.map(function (item, index) {
|
|
50091
|
+
return /*#__PURE__*/React.createElement(PopupMenuItem$1, _extends({
|
|
50092
|
+
key: index,
|
|
50093
|
+
id: "".concat(menuId, "-item-").concat(index),
|
|
50094
|
+
closeMenuCallback: function closeMenuCallback() {
|
|
50095
|
+
toggleMenu(false);
|
|
50096
|
+
// focus back to trigger button when menu closes
|
|
50097
|
+
triggerRef.current.focus();
|
|
50098
|
+
}
|
|
50099
|
+
}, item));
|
|
50100
|
+
})));
|
|
50101
|
+
};
|
|
50102
|
+
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$V);
|
|
50103
|
+
|
|
50104
|
+
var pageBackground = "#FBFCFD";
|
|
50105
|
+
var fallbackValues$W = {
|
|
49810
50106
|
pageBackground: pageBackground
|
|
49811
50107
|
};
|
|
49812
50108
|
|
|
@@ -49854,7 +50150,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
49854
50150
|
padding: "0"
|
|
49855
50151
|
})));
|
|
49856
50152
|
};
|
|
49857
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
50153
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
|
|
49858
50154
|
|
|
49859
50155
|
var CenterStack = function CenterStack(_ref) {
|
|
49860
50156
|
var header = _ref.header,
|
|
@@ -49897,7 +50193,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
49897
50193
|
padding: "0"
|
|
49898
50194
|
})));
|
|
49899
50195
|
};
|
|
49900
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
50196
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
|
|
49901
50197
|
|
|
49902
50198
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
49903
50199
|
var header = _ref.header,
|
|
@@ -49912,13 +50208,15 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49912
50208
|
_ref$gutters = _ref.gutters,
|
|
49913
50209
|
gutters = _ref$gutters === void 0 ? "2rem" : _ref$gutters,
|
|
49914
50210
|
_ref$fillPageVertical = _ref.fillPageVertical,
|
|
49915
|
-
fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical
|
|
50211
|
+
fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical,
|
|
50212
|
+
_ref$background = _ref.background,
|
|
50213
|
+
background = _ref$background === void 0 ? COOL_GREY_05 : _ref$background;
|
|
49916
50214
|
var themeContext = useContext(ThemeContext);
|
|
49917
50215
|
var isMobile = themeContext.isMobile;
|
|
49918
50216
|
return /*#__PURE__*/React.createElement(Box, {
|
|
49919
50217
|
padding: "0",
|
|
49920
50218
|
minWidth: "100%",
|
|
49921
|
-
background:
|
|
50219
|
+
background: background,
|
|
49922
50220
|
extraStyles: "flex-grow: 1;"
|
|
49923
50221
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
49924
50222
|
childGap: "0",
|
|
@@ -49941,7 +50239,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49941
50239
|
padding: "0"
|
|
49942
50240
|
})));
|
|
49943
50241
|
};
|
|
49944
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
50242
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
|
|
49945
50243
|
|
|
49946
50244
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
49947
50245
|
var header = _ref.header,
|
|
@@ -49994,7 +50292,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
49994
50292
|
padding: "0"
|
|
49995
50293
|
})));
|
|
49996
50294
|
};
|
|
49997
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
50295
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
|
|
49998
50296
|
|
|
49999
50297
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
50000
50298
|
var header = _ref.header,
|
|
@@ -50064,7 +50362,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
50064
50362
|
key: "footer-box"
|
|
50065
50363
|
})));
|
|
50066
50364
|
};
|
|
50067
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
50365
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
|
|
50068
50366
|
|
|
50069
50367
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
50070
50368
|
var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
@@ -50096,5 +50394,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
|
|
|
50096
50394
|
useToastNotification: useToastNotification
|
|
50097
50395
|
});
|
|
50098
50396
|
|
|
50099
|
-
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$
|
|
50397
|
+
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 };
|
|
50100
50398
|
//# sourceMappingURL=index.esm.js.map
|