@thecb/components 10.2.4-beta.8 → 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 -273
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +64 -1
- package/dist/index.esm.js +584 -272
- 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 -33
- 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,23 +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"
|
|
12605
|
+
whitePrimary: "1.125rem 0.75rem"
|
|
12566
12606
|
};
|
|
12567
12607
|
var color$1 = {
|
|
12568
|
-
primary: WHITE,
|
|
12569
|
-
secondary: MATISSE_BLUE,
|
|
12570
|
-
back: MATISSE_BLUE,
|
|
12571
|
-
smallPrimary: WHITE,
|
|
12572
|
-
smallSecondary: MATISSE_BLUE,
|
|
12573
|
-
smallGhost: MATISSE_BLUE,
|
|
12574
|
-
ghost: MATISSE_BLUE,
|
|
12575
|
-
tertiary: MATISSE_BLUE,
|
|
12576
|
-
danger: WHITE,
|
|
12577
|
-
dangerSecondary: ERROR_COLOR,
|
|
12578
|
-
whiteSecondary: WHITE,
|
|
12579
|
-
whitePrimary: WHITE
|
|
12580
|
-
disabled: 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
|
|
12581
12620
|
};
|
|
12582
12621
|
var fontSizeVariant = {
|
|
12583
12622
|
primary: "pS",
|
|
@@ -12591,8 +12630,7 @@ var fontSizeVariant = {
|
|
|
12591
12630
|
danger: "pS",
|
|
12592
12631
|
dangerSecondary: "pS",
|
|
12593
12632
|
whiteSecondary: "pS",
|
|
12594
|
-
whitePrimary: "pS"
|
|
12595
|
-
disabled: "pS"
|
|
12633
|
+
whitePrimary: "pS"
|
|
12596
12634
|
};
|
|
12597
12635
|
var fontWeight = {
|
|
12598
12636
|
primary: "600",
|
|
@@ -12606,8 +12644,7 @@ var fontWeight = {
|
|
|
12606
12644
|
danger: "600",
|
|
12607
12645
|
dangerSecondary: "600",
|
|
12608
12646
|
whiteSecondary: "600",
|
|
12609
|
-
whitePrimary: "600"
|
|
12610
|
-
disabled: "600"
|
|
12647
|
+
whitePrimary: "600"
|
|
12611
12648
|
};
|
|
12612
12649
|
var height = {
|
|
12613
12650
|
primary: "3rem",
|
|
@@ -12621,8 +12658,7 @@ var height = {
|
|
|
12621
12658
|
danger: "3rem",
|
|
12622
12659
|
dangerSecondary: "3rem",
|
|
12623
12660
|
whiteSecondary: "3rem",
|
|
12624
|
-
whitePrimary: "auto"
|
|
12625
|
-
disabled: "3rem"
|
|
12661
|
+
whitePrimary: "auto"
|
|
12626
12662
|
};
|
|
12627
12663
|
var minWidth = {
|
|
12628
12664
|
primary: "130px",
|
|
@@ -12636,128 +12672,133 @@ var minWidth = {
|
|
|
12636
12672
|
danger: "130px",
|
|
12637
12673
|
dangerSecondary: "157px",
|
|
12638
12674
|
whiteSecondary: "160px",
|
|
12639
|
-
whitePrimary: "130px"
|
|
12640
|
-
|
|
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"
|
|
12641
12690
|
};
|
|
12642
12691
|
var backgroundColor = {
|
|
12643
|
-
primary: MATISSE_BLUE,
|
|
12644
|
-
secondary: TRANSPARENT,
|
|
12645
|
-
back: TRANSPARENT,
|
|
12646
|
-
smallPrimary: MATISSE_BLUE,
|
|
12647
|
-
smallSecondary: TRANSPARENT,
|
|
12648
|
-
smallGhost: TRANSPARENT,
|
|
12649
|
-
ghost: TRANSPARENT,
|
|
12650
|
-
tertiary: TRANSPARENT,
|
|
12651
|
-
danger: RASPBERRY,
|
|
12652
|
-
dangerSecondary: TRANSPARENT,
|
|
12653
|
-
whiteSecondary: TRANSPARENT,
|
|
12654
|
-
whitePrimary: TRANSPARENT
|
|
12655
|
-
disabled: 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
|
|
12656
12704
|
};
|
|
12657
12705
|
var border = {
|
|
12658
|
-
primary: "2px solid " + MATISSE_BLUE,
|
|
12659
|
-
secondary: "2px solid " + MATISSE_BLUE,
|
|
12660
|
-
back: "2px solid " + MATISSE_BLUE,
|
|
12661
|
-
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12662
|
-
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,
|
|
12663
12711
|
smallGhost: "none",
|
|
12664
12712
|
ghost: "none",
|
|
12665
12713
|
tertiary: "none",
|
|
12666
|
-
danger: "2px solid " + RASPBERRY,
|
|
12667
|
-
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12668
|
-
whiteSecondary: "2px solid " + WHITE,
|
|
12669
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12670
|
-
disabled: "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
|
|
12671
12718
|
};
|
|
12672
12719
|
var hoverBackgroundColor = {
|
|
12673
|
-
primary: SAPPHIRE_BLUE,
|
|
12720
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12674
12721
|
secondary: "#DBEAF0",
|
|
12675
|
-
back: TRANSPARENT,
|
|
12676
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12722
|
+
back: TRANSPARENT$1,
|
|
12723
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12677
12724
|
smallSecondary: "#DBEAF0",
|
|
12678
|
-
smallGhost: TRANSPARENT,
|
|
12679
|
-
ghost: TRANSPARENT,
|
|
12680
|
-
tertiary: TRANSPARENT,
|
|
12725
|
+
smallGhost: TRANSPARENT$1,
|
|
12726
|
+
ghost: TRANSPARENT$1,
|
|
12727
|
+
tertiary: TRANSPARENT$1,
|
|
12681
12728
|
danger: "#BA002C",
|
|
12682
12729
|
dangerSecondary: "#FAE7EE",
|
|
12683
|
-
whiteSecondary: TRANSPARENT,
|
|
12684
|
-
whitePrimary: TRANSPARENT
|
|
12685
|
-
disabled: TRANSPARENT
|
|
12730
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12731
|
+
whitePrimary: TRANSPARENT$1
|
|
12686
12732
|
};
|
|
12687
12733
|
var hoverBorderColor = {
|
|
12688
|
-
primary: SAPPHIRE_BLUE,
|
|
12689
|
-
secondary: MATISSE_BLUE,
|
|
12734
|
+
primary: SAPPHIRE_BLUE$1,
|
|
12735
|
+
secondary: MATISSE_BLUE$1,
|
|
12690
12736
|
back: "#DCEAF1",
|
|
12691
|
-
smallPrimary: SAPPHIRE_BLUE,
|
|
12692
|
-
smallSecondary: MATISSE_BLUE,
|
|
12693
|
-
smallGhost: TRANSPARENT,
|
|
12694
|
-
ghost: TRANSPARENT,
|
|
12695
|
-
tertiary: TRANSPARENT,
|
|
12737
|
+
smallPrimary: SAPPHIRE_BLUE$1,
|
|
12738
|
+
smallSecondary: MATISSE_BLUE$1,
|
|
12739
|
+
smallGhost: TRANSPARENT$1,
|
|
12740
|
+
ghost: TRANSPARENT$1,
|
|
12741
|
+
tertiary: TRANSPARENT$1,
|
|
12696
12742
|
danger: "#BA002C",
|
|
12697
12743
|
dangerSecondary: "#B10541",
|
|
12698
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12699
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12700
|
-
disabled: MANATEE_GREY
|
|
12744
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12745
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12701
12746
|
};
|
|
12702
12747
|
var hoverColor = {
|
|
12703
|
-
primary: WHITE,
|
|
12704
|
-
secondary: SAPPHIRE_BLUE,
|
|
12705
|
-
back: SAPPHIRE_BLUE,
|
|
12706
|
-
smallPrimary: WHITE,
|
|
12707
|
-
smallSecondary: SAPPHIRE_BLUE,
|
|
12708
|
-
smallGhost: SAPPHIRE_BLUE,
|
|
12709
|
-
ghost: SAPPHIRE_BLUE,
|
|
12710
|
-
tertiary: SAPPHIRE_BLUE,
|
|
12711
|
-
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,
|
|
12712
12757
|
dangerSecondary: "#B10541",
|
|
12713
|
-
whiteSecondary: WHITE,
|
|
12714
|
-
whitePrimary: WHITE
|
|
12715
|
-
disabled: MANATEE_GREY
|
|
12758
|
+
whiteSecondary: WHITE$1,
|
|
12759
|
+
whitePrimary: WHITE$1
|
|
12716
12760
|
};
|
|
12717
12761
|
var activeBackgroundColor = {
|
|
12718
|
-
primary: PEACOCK_BLUE,
|
|
12762
|
+
primary: PEACOCK_BLUE$1,
|
|
12719
12763
|
secondary: "#B8D5E1",
|
|
12720
|
-
back: TRANSPARENT,
|
|
12721
|
-
smallPrimary: PEACOCK_BLUE,
|
|
12764
|
+
back: TRANSPARENT$1,
|
|
12765
|
+
smallPrimary: PEACOCK_BLUE$1,
|
|
12722
12766
|
smallSecondary: "#B8D5E1",
|
|
12723
|
-
smallGhost: TRANSPARENT,
|
|
12724
|
-
ghost: TRANSPARENT,
|
|
12725
|
-
tertiary: TRANSPARENT,
|
|
12767
|
+
smallGhost: TRANSPARENT$1,
|
|
12768
|
+
ghost: TRANSPARENT$1,
|
|
12769
|
+
tertiary: TRANSPARENT$1,
|
|
12726
12770
|
danger: "#870000",
|
|
12727
12771
|
dangerSecondary: "#FAE7EE",
|
|
12728
|
-
whiteSecondary: TRANSPARENT,
|
|
12729
|
-
whitePrimary: TRANSPARENT
|
|
12730
|
-
disabled: TRANSPARENT
|
|
12772
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12773
|
+
whitePrimary: TRANSPARENT$1
|
|
12731
12774
|
};
|
|
12732
12775
|
var activeBorderColor = {
|
|
12733
|
-
primary: PEACOCK_BLUE,
|
|
12734
|
-
secondary: MATISSE_BLUE,
|
|
12735
|
-
back: PEACOCK_BLUE,
|
|
12736
|
-
smallPrimary: PEACOCK_BLUE,
|
|
12737
|
-
smallSecondary: MATISSE_BLUE,
|
|
12738
|
-
smallGhost: TRANSPARENT,
|
|
12739
|
-
ghost: TRANSPARENT,
|
|
12740
|
-
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,
|
|
12741
12784
|
danger: "#870000",
|
|
12742
12785
|
dangerSecondary: "#910029",
|
|
12743
|
-
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12744
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12745
|
-
disabled: TRANSPARENT
|
|
12786
|
+
whiteSecondary: "2px solid " + TRANSPARENT$1,
|
|
12787
|
+
whitePrimary: "2px solid " + TRANSPARENT$1
|
|
12746
12788
|
};
|
|
12747
12789
|
var activeColor = {
|
|
12748
|
-
primary: WHITE,
|
|
12749
|
-
secondary: MATISSE_BLUE,
|
|
12750
|
-
back: PEACOCK_BLUE,
|
|
12751
|
-
smallPrimary: WHITE,
|
|
12752
|
-
smallSecondary: PEACOCK_BLUE,
|
|
12753
|
-
smallGhost: PEACOCK_BLUE,
|
|
12754
|
-
ghost: PEACOCK_BLUE,
|
|
12755
|
-
tertiary: PEACOCK_BLUE,
|
|
12756
|
-
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,
|
|
12757
12799
|
dangerSecondary: "#910029",
|
|
12758
|
-
whiteSecondary: WHITE,
|
|
12759
|
-
whitePrimary: WHITE
|
|
12760
|
-
disabled: MANATEE_GREY
|
|
12800
|
+
whiteSecondary: WHITE$1,
|
|
12801
|
+
whitePrimary: WHITE$1
|
|
12761
12802
|
};
|
|
12762
12803
|
var fallbackValues$1 = {
|
|
12763
12804
|
padding: padding,
|
|
@@ -12766,6 +12807,7 @@ var fallbackValues$1 = {
|
|
|
12766
12807
|
fontWeight: fontWeight,
|
|
12767
12808
|
height: height,
|
|
12768
12809
|
minWidth: minWidth,
|
|
12810
|
+
textDecoration: textDecoration,
|
|
12769
12811
|
backgroundColor: backgroundColor,
|
|
12770
12812
|
border: border,
|
|
12771
12813
|
hoverBackgroundColor: hoverBackgroundColor,
|
|
@@ -12889,7 +12931,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12889
12931
|
|
|
12890
12932
|
Note: the children prop is only used if contentOverride is set to true, in which case
|
|
12891
12933
|
the text prop is ignored.
|
|
12892
|
-
|
|
12934
|
+
|
|
12893
12935
|
*/
|
|
12894
12936
|
|
|
12895
12937
|
var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
@@ -12917,13 +12959,12 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12917
12959
|
children = _ref2.children,
|
|
12918
12960
|
extraDisabledStyles = _ref2.extraDisabledStyles,
|
|
12919
12961
|
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12920
|
-
var isGhostVariant = variant === "ghost" || variant === "smallGhost";
|
|
12921
12962
|
var themeContext = useContext(ThemeContext);
|
|
12922
12963
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12923
12964
|
var isMobile = themeContext.isMobile;
|
|
12924
|
-
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n
|
|
12925
|
-
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n
|
|
12926
|
-
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 ");
|
|
12927
12968
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12928
12969
|
ref: ref,
|
|
12929
12970
|
variant: variant,
|
|
@@ -12953,8 +12994,9 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12953
12994
|
weight: themeValues.fontWeight,
|
|
12954
12995
|
variant: themeValues.fontSizeVariant,
|
|
12955
12996
|
color: themeValues.color,
|
|
12997
|
+
textDecoration: themeValues.textDecoration,
|
|
12956
12998
|
textWrap: textWrap,
|
|
12957
|
-
extraStyles:
|
|
12999
|
+
extraStyles: textExtraStyles
|
|
12958
13000
|
}, text)));
|
|
12959
13001
|
});
|
|
12960
13002
|
|
|
@@ -18258,6 +18300,84 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
18258
18300
|
}));
|
|
18259
18301
|
};
|
|
18260
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
|
+
|
|
18261
18381
|
var color$2 = "#15749D";
|
|
18262
18382
|
var hoverColor$1 = "#116285";
|
|
18263
18383
|
var activeColor$1 = "#0E506D";
|
|
@@ -18904,7 +19024,7 @@ var mobileFallbackValues = {
|
|
|
18904
19024
|
};
|
|
18905
19025
|
var MOBILE_BREAKPOINT = 768;
|
|
18906
19026
|
|
|
18907
|
-
var _excluded$
|
|
19027
|
+
var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18908
19028
|
|
|
18909
19029
|
/*
|
|
18910
19030
|
New responsive text component for Title elements
|
|
@@ -18951,7 +19071,7 @@ var Title = function Title(_ref) {
|
|
|
18951
19071
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18952
19072
|
dataQa = _ref.dataQa,
|
|
18953
19073
|
children = _ref.children,
|
|
18954
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19074
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
18955
19075
|
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
18956
19076
|
variant: variant,
|
|
18957
19077
|
as: as,
|
|
@@ -18993,15 +19113,13 @@ var background$1 = {
|
|
|
18993
19113
|
info: "".concat(INFO_BLUE),
|
|
18994
19114
|
warn: "".concat(HALF_COLONIAL_WHITE),
|
|
18995
19115
|
primary: "".concat(CORNFLOWER_BLUE),
|
|
18996
|
-
success: "".concat(HINT_GREEN)
|
|
18997
|
-
disabled: "".concat(GRECIAN_GREY)
|
|
19116
|
+
success: "".concat(HINT_GREEN)
|
|
18998
19117
|
};
|
|
18999
19118
|
var color$4 = {
|
|
19000
19119
|
info: "".concat(MATISSE_BLUE),
|
|
19001
19120
|
warn: "".concat(ZEST_ORANGE),
|
|
19002
19121
|
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
19003
|
-
success: "".concat(SEA_GREEN)
|
|
19004
|
-
disabled: "".concat(MANATEE_GREY)
|
|
19122
|
+
success: "".concat(SEA_GREEN)
|
|
19005
19123
|
};
|
|
19006
19124
|
var fallbackValues$7 = {
|
|
19007
19125
|
background: background$1,
|
|
@@ -20377,12 +20495,12 @@ var fallbackValues$8 = {
|
|
|
20377
20495
|
linkColor: linkColor
|
|
20378
20496
|
};
|
|
20379
20497
|
|
|
20380
|
-
var _excluded$
|
|
20498
|
+
var _excluded$l = ["variant", "themeValues", "children"];
|
|
20381
20499
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
20382
20500
|
var variant = _ref.variant,
|
|
20383
20501
|
themeValues = _ref.themeValues,
|
|
20384
20502
|
children = _ref.children,
|
|
20385
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20503
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
20386
20504
|
var shadowRegistry = {
|
|
20387
20505
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
20388
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), ";"),
|
|
@@ -20400,20 +20518,23 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20400
20518
|
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
|
|
20401
20519
|
|
|
20402
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;
|
|
20403
20524
|
|
|
20404
20525
|
/*
|
|
20405
20526
|
For now I'm using string values, eventually shared components library will have its own constants file
|
|
20406
20527
|
for colors/values that should be used here instead
|
|
20407
20528
|
*/
|
|
20408
20529
|
|
|
20409
|
-
var color$5 = "".concat(MATISSE_BLUE);
|
|
20410
|
-
var activeColor$2 = "".concat(STORM_GREY);
|
|
20411
|
-
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);
|
|
20412
20533
|
var fontSize$2 = "0.875rem";
|
|
20413
20534
|
var lineHeight = "1.25rem";
|
|
20414
20535
|
var fontWeight$1 = "400";
|
|
20415
20536
|
var margin = "0.5rem";
|
|
20416
|
-
var hover = "text-decoration:
|
|
20537
|
+
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
20417
20538
|
var fallbackValues$9 = {
|
|
20418
20539
|
color: color$5,
|
|
20419
20540
|
activeColor: activeColor$2,
|
|
@@ -20439,7 +20560,10 @@ var fallbackValues$a = {
|
|
|
20439
20560
|
externalLinkColor: externalLinkColor
|
|
20440
20561
|
};
|
|
20441
20562
|
|
|
20442
|
-
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
|
+
|
|
20443
20567
|
/*
|
|
20444
20568
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20445
20569
|
unrecognized DOM attributes.
|
|
@@ -20450,14 +20574,14 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20450
20574
|
var hoverColor = _ref.hoverColor,
|
|
20451
20575
|
activeColor = _ref.activeColor,
|
|
20452
20576
|
extrastyles = _ref.extrastyles,
|
|
20453
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20577
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20454
20578
|
return /*#__PURE__*/React.createElement("a", _extends({}, props, {
|
|
20455
20579
|
ref: ref
|
|
20456
20580
|
}));
|
|
20457
20581
|
})).withConfig({
|
|
20458
20582
|
displayName: "ExternalLinkstyled__StyledExternalLink",
|
|
20459
20583
|
componentId: "sc-m1q2m2-0"
|
|
20460
|
-
})(["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) {
|
|
20461
20585
|
var size = _ref2.size;
|
|
20462
20586
|
return size;
|
|
20463
20587
|
}, function (_ref3) {
|
|
@@ -20472,10 +20596,10 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20472
20596
|
}, function (_ref6) {
|
|
20473
20597
|
var lineheight = _ref6.lineheight;
|
|
20474
20598
|
return lineheight;
|
|
20475
|
-
}, function (_ref7) {
|
|
20599
|
+
}, LINK_TEXT_DECORATION$3, function (_ref7) {
|
|
20476
20600
|
var hoverColor = _ref7.hoverColor;
|
|
20477
20601
|
return hoverColor;
|
|
20478
|
-
}, ROYAL_BLUE, function (_ref8) {
|
|
20602
|
+
}, ROYAL_BLUE$1, function (_ref8) {
|
|
20479
20603
|
var activeColor = _ref8.activeColor;
|
|
20480
20604
|
return activeColor;
|
|
20481
20605
|
}, function (_ref9) {
|
|
@@ -20525,7 +20649,10 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20525
20649
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
20526
20650
|
});
|
|
20527
20651
|
|
|
20528
|
-
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
|
+
|
|
20529
20656
|
/*
|
|
20530
20657
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20531
20658
|
unrecognized DOM attributes.
|
|
@@ -20538,14 +20665,14 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20538
20665
|
active = _ref.active,
|
|
20539
20666
|
color = _ref.color,
|
|
20540
20667
|
extrastyles = _ref.extrastyles,
|
|
20541
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20668
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
20542
20669
|
return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
|
|
20543
20670
|
ref: ref
|
|
20544
20671
|
}));
|
|
20545
20672
|
})).withConfig({
|
|
20546
20673
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
20547
20674
|
componentId: "sc-cuqxud-0"
|
|
20548
|
-
})(["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) {
|
|
20549
20676
|
var color = _ref2.color,
|
|
20550
20677
|
active = _ref2.active,
|
|
20551
20678
|
activeColor = _ref2.activeColor;
|
|
@@ -20565,10 +20692,10 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20565
20692
|
}, function (_ref7) {
|
|
20566
20693
|
var margin = _ref7.margin;
|
|
20567
20694
|
return margin;
|
|
20568
|
-
}, function (_ref8) {
|
|
20695
|
+
}, LINK_TEXT_DECORATION$4, function (_ref8) {
|
|
20569
20696
|
var hoverColor = _ref8.hoverColor;
|
|
20570
20697
|
return hoverColor;
|
|
20571
|
-
}, ROYAL_BLUE, function (_ref9) {
|
|
20698
|
+
}, ROYAL_BLUE$2, function (_ref9) {
|
|
20572
20699
|
var activeColor = _ref9.activeColor;
|
|
20573
20700
|
return activeColor;
|
|
20574
20701
|
}, function (_ref10) {
|
|
@@ -20641,7 +20768,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20641
20768
|
lineheight: themeValues.lineHeight,
|
|
20642
20769
|
fontWeight: themeValues.fontWeight,
|
|
20643
20770
|
margin: themeValues.margin,
|
|
20644
|
-
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 }")
|
|
20645
20772
|
}, linkText), index < breadcrumbsList.length - 1 ? /*#__PURE__*/React.createElement(IconChevron, null) : /*#__PURE__*/React.createElement(Fragment$1, null));
|
|
20646
20773
|
})));
|
|
20647
20774
|
};
|
|
@@ -22221,9 +22348,7 @@ _curry2(function test(pattern, str) {
|
|
|
22221
22348
|
return _cloneRegExp(pattern).test(str);
|
|
22222
22349
|
});
|
|
22223
22350
|
|
|
22224
|
-
var
|
|
22225
|
-
|
|
22226
|
-
var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22351
|
+
var _excluded$o = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22227
22352
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22228
22353
|
var _ref$url = _ref.url,
|
|
22229
22354
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -22231,12 +22356,14 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22231
22356
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
22232
22357
|
_ref$fileLink = _ref.fileLink,
|
|
22233
22358
|
fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
|
|
22234
|
-
extraStyles = _ref.extraStyles,
|
|
22235
|
-
|
|
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,
|
|
22236
22363
|
_ref$newTab = _ref.newTab,
|
|
22237
22364
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22238
22365
|
dataQa = _ref.dataQa,
|
|
22239
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22366
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$o);
|
|
22240
22367
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
22241
22368
|
var children = _ref2.children,
|
|
22242
22369
|
url = _ref2.url,
|
|
@@ -22324,7 +22451,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
22324
22451
|
return extraStyles;
|
|
22325
22452
|
});
|
|
22326
22453
|
|
|
22327
|
-
var _excluded$
|
|
22454
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
22328
22455
|
var Paragraph = function Paragraph(_ref) {
|
|
22329
22456
|
var themeValues = _ref.themeValues,
|
|
22330
22457
|
_ref$weight = _ref.weight,
|
|
@@ -22338,7 +22465,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22338
22465
|
dataQa = _ref.dataQa,
|
|
22339
22466
|
children = _ref.children,
|
|
22340
22467
|
as = _ref.as,
|
|
22341
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22468
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
22342
22469
|
return /*#__PURE__*/React.createElement(ParagraphText, _extends({
|
|
22343
22470
|
weight: weight,
|
|
22344
22471
|
color: color,
|
|
@@ -25647,7 +25774,7 @@ var mobileFallbackValues$1 = {
|
|
|
25647
25774
|
};
|
|
25648
25775
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25649
25776
|
|
|
25650
|
-
var _excluded$
|
|
25777
|
+
var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25651
25778
|
|
|
25652
25779
|
/*
|
|
25653
25780
|
New responsive text component for Detail elements
|
|
@@ -25697,7 +25824,7 @@ var Detail = function Detail(_ref) {
|
|
|
25697
25824
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25698
25825
|
dataQa = _ref.dataQa,
|
|
25699
25826
|
children = _ref.children,
|
|
25700
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25827
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
25701
25828
|
return /*#__PURE__*/React.createElement(DetailText, _extends({
|
|
25702
25829
|
variant: variant,
|
|
25703
25830
|
as: as,
|
|
@@ -25836,7 +25963,7 @@ var useToastNotification = function useToastNotification() {
|
|
|
25836
25963
|
|
|
25837
25964
|
|
|
25838
25965
|
|
|
25839
|
-
var index$
|
|
25966
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
25840
25967
|
__proto__: null,
|
|
25841
25968
|
useOutsideClick: useOutsideClickHook,
|
|
25842
25969
|
useScrollTo: useScrollTo,
|
|
@@ -26407,7 +26534,7 @@ var fallbackValues$k = {
|
|
|
26407
26534
|
formFooterPanel: formFooterPanel
|
|
26408
26535
|
};
|
|
26409
26536
|
|
|
26410
|
-
var _excluded$
|
|
26537
|
+
var _excluded$r = ["showErrors", "themeValues"],
|
|
26411
26538
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26412
26539
|
var InputField = styled.input.withConfig({
|
|
26413
26540
|
displayName: "FormInput__InputField",
|
|
@@ -26442,7 +26569,7 @@ var InputField = styled.input.withConfig({
|
|
|
26442
26569
|
var FormattedInputField = styled(function (_ref8) {
|
|
26443
26570
|
var showErrors = _ref8.showErrors,
|
|
26444
26571
|
themeValues = _ref8.themeValues,
|
|
26445
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26572
|
+
props = _objectWithoutProperties(_ref8, _excluded$r);
|
|
26446
26573
|
return /*#__PURE__*/React.createElement(FormattedInput, props);
|
|
26447
26574
|
}).withConfig({
|
|
26448
26575
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26541,7 +26668,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26541
26668
|
color: themeValues.linkColor,
|
|
26542
26669
|
weight: themeValues.fontWeight,
|
|
26543
26670
|
hoverStyles: themeValues.hoverFocusStyles,
|
|
26544
|
-
extraStyles: "cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26671
|
+
extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
26545
26672
|
onClick: function onClick() {
|
|
26546
26673
|
return setShowPassword(!showPassword);
|
|
26547
26674
|
},
|
|
@@ -26614,7 +26741,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26614
26741
|
};
|
|
26615
26742
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26616
26743
|
|
|
26617
|
-
var _excluded$
|
|
26744
|
+
var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26618
26745
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26619
26746
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26620
26747
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26623,7 +26750,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26623
26750
|
largeChild = _ref.largeChild,
|
|
26624
26751
|
largeChildSize = _ref.largeChildSize,
|
|
26625
26752
|
children = _ref.children,
|
|
26626
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26753
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26627
26754
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
26628
26755
|
padding: "0"
|
|
26629
26756
|
}, rest), /*#__PURE__*/React.createElement(Switcher, {
|
|
@@ -26634,24 +26761,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26634
26761
|
}, children));
|
|
26635
26762
|
};
|
|
26636
26763
|
|
|
26637
|
-
var _excluded$
|
|
26764
|
+
var _excluded$t = ["childGap", "bottomItem", "children"];
|
|
26638
26765
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26639
26766
|
var _ref$childGap = _ref.childGap,
|
|
26640
26767
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26641
26768
|
bottomItem = _ref.bottomItem,
|
|
26642
26769
|
children = _ref.children,
|
|
26643
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26770
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26644
26771
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
26645
26772
|
childGap: childGap,
|
|
26646
26773
|
bottomItem: bottomItem
|
|
26647
26774
|
}, rest), children);
|
|
26648
26775
|
};
|
|
26649
26776
|
|
|
26650
|
-
var _excluded$
|
|
26777
|
+
var _excluded$u = ["themeValues", "children"];
|
|
26651
26778
|
var FormContainer = function FormContainer(_ref) {
|
|
26652
26779
|
var themeValues = _ref.themeValues,
|
|
26653
26780
|
children = _ref.children,
|
|
26654
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26781
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26655
26782
|
var _useContext = useContext(ThemeContext),
|
|
26656
26783
|
isMobile = _useContext.isMobile;
|
|
26657
26784
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
@@ -26961,7 +27088,7 @@ var fallbackValues$o = {
|
|
|
26961
27088
|
fontSize: fontSize$8
|
|
26962
27089
|
};
|
|
26963
27090
|
|
|
26964
|
-
var _excluded$
|
|
27091
|
+
var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26965
27092
|
var Heading = function Heading(_ref) {
|
|
26966
27093
|
var themeValues = _ref.themeValues,
|
|
26967
27094
|
_ref$weight = _ref.weight,
|
|
@@ -26980,7 +27107,7 @@ var Heading = function Heading(_ref) {
|
|
|
26980
27107
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26981
27108
|
dataQa = _ref.dataQa,
|
|
26982
27109
|
children = _ref.children,
|
|
26983
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27110
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26984
27111
|
return /*#__PURE__*/React.createElement(HeadingText, _extends({
|
|
26985
27112
|
variant: variant,
|
|
26986
27113
|
as: as,
|
|
@@ -27181,11 +27308,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
27181
27308
|
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
27182
27309
|
};
|
|
27183
27310
|
|
|
27184
|
-
var _excluded$
|
|
27311
|
+
var _excluded$w = ["version"];
|
|
27185
27312
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
27186
27313
|
var _ref$version = _ref.version,
|
|
27187
27314
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
27188
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27315
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27189
27316
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27190
27317
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
27191
27318
|
};
|
|
@@ -27322,7 +27449,7 @@ var Loading = function Loading() {
|
|
|
27322
27449
|
})))));
|
|
27323
27450
|
};
|
|
27324
27451
|
|
|
27325
|
-
var _excluded$
|
|
27452
|
+
var _excluded$x = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
27326
27453
|
var NavFooter = function NavFooter(_ref) {
|
|
27327
27454
|
var leftContent = _ref.leftContent,
|
|
27328
27455
|
rightContent = _ref.rightContent,
|
|
@@ -27337,7 +27464,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27337
27464
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27338
27465
|
isMobile = _ref.isMobile,
|
|
27339
27466
|
footerWidth = _ref.footerWidth,
|
|
27340
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27467
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27341
27468
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27342
27469
|
padding: footerPadding,
|
|
27343
27470
|
background: backgroundColor,
|
|
@@ -27368,7 +27495,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27368
27495
|
}, rightContent)))))));
|
|
27369
27496
|
};
|
|
27370
27497
|
|
|
27371
|
-
var _excluded$
|
|
27498
|
+
var _excluded$y = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27372
27499
|
var NavHeader = function NavHeader(_ref) {
|
|
27373
27500
|
var leftContent = _ref.leftContent,
|
|
27374
27501
|
rightContent = _ref.rightContent,
|
|
@@ -27377,7 +27504,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27377
27504
|
isMobile = _ref.isMobile,
|
|
27378
27505
|
backgroundColor = _ref.backgroundColor,
|
|
27379
27506
|
headerWidth = _ref.headerWidth,
|
|
27380
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27507
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
27381
27508
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27382
27509
|
padding: "0 16px 4px",
|
|
27383
27510
|
background: backgroundColor,
|
|
@@ -27588,24 +27715,23 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27588
27715
|
action = _ref.action,
|
|
27589
27716
|
destination = _ref.destination,
|
|
27590
27717
|
children = _ref.children,
|
|
27591
|
-
dataQa = _ref.dataQa
|
|
27592
|
-
_ref$disabled = _ref.disabled,
|
|
27593
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
27718
|
+
dataQa = _ref.dataQa;
|
|
27594
27719
|
return isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
27595
27720
|
to: destination,
|
|
27596
27721
|
"data-qa": dataQa,
|
|
27597
|
-
|
|
27722
|
+
style: {
|
|
27723
|
+
textDecoration: "none"
|
|
27724
|
+
}
|
|
27598
27725
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27599
27726
|
padding: "0",
|
|
27600
27727
|
minHeight: "100%",
|
|
27601
|
-
extraStyles:
|
|
27728
|
+
extraStyles: "cursor: pointer;"
|
|
27602
27729
|
}, children)) : /*#__PURE__*/React.createElement(Box, {
|
|
27603
|
-
onClick:
|
|
27730
|
+
onClick: action,
|
|
27604
27731
|
padding: "0",
|
|
27605
27732
|
minHeight: "100%",
|
|
27606
|
-
|
|
27607
|
-
|
|
27608
|
-
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27733
|
+
extraStyles: "cursor: pointer;",
|
|
27734
|
+
dataQa: dataQa
|
|
27609
27735
|
}, children);
|
|
27610
27736
|
};
|
|
27611
27737
|
var Placeholder = function Placeholder(_ref2) {
|
|
@@ -27619,16 +27745,12 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27619
27745
|
variant = _ref2.variant,
|
|
27620
27746
|
largeIcon = _ref2.largeIcon,
|
|
27621
27747
|
themeValues = _ref2.themeValues,
|
|
27622
|
-
dataQa = _ref2.dataQa
|
|
27623
|
-
_ref2$disabled = _ref2.disabled,
|
|
27624
|
-
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
|
|
27625
|
-
var tintedColor = "".concat(curriedTint$1(0.9, themeValues.color));
|
|
27748
|
+
dataQa = _ref2.dataQa;
|
|
27626
27749
|
return /*#__PURE__*/React.createElement(PlaceholderContentWrapper, {
|
|
27627
27750
|
isLink: isLink,
|
|
27628
27751
|
action: action,
|
|
27629
27752
|
destination: destination,
|
|
27630
|
-
dataQa: dataQa
|
|
27631
|
-
disabled: disabled
|
|
27753
|
+
dataQa: dataQa
|
|
27632
27754
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27633
27755
|
padding: "0",
|
|
27634
27756
|
borderRadius: "4px",
|
|
@@ -27636,14 +27758,14 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27636
27758
|
minHeight: themeValues.height,
|
|
27637
27759
|
hiddenStyles: !visible,
|
|
27638
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;"),
|
|
27639
|
-
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY :
|
|
27761
|
+
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : curriedTint$1(0.9, themeValues.color), ";")
|
|
27640
27762
|
}, /*#__PURE__*/React.createElement(Center, {
|
|
27641
27763
|
maxWidth: "300px"
|
|
27642
27764
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27643
27765
|
padding: "0",
|
|
27644
27766
|
tabIndex: "0",
|
|
27645
27767
|
onKeyPress: function onKeyPress(e) {
|
|
27646
|
-
return e.key === "Enter" &&
|
|
27768
|
+
return e.key === "Enter" && action();
|
|
27647
27769
|
}
|
|
27648
27770
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
27649
27771
|
justify: "center",
|
|
@@ -39019,14 +39141,6 @@ var NavTabs = function NavTabs(_ref) {
|
|
|
39019
39141
|
}, tabs)));
|
|
39020
39142
|
};
|
|
39021
39143
|
|
|
39022
|
-
|
|
39023
|
-
|
|
39024
|
-
var index$5 = /*#__PURE__*/Object.freeze({
|
|
39025
|
-
__proto__: null,
|
|
39026
|
-
colors: colors,
|
|
39027
|
-
fontWeights: style_constants
|
|
39028
|
-
});
|
|
39029
|
-
|
|
39030
39144
|
var shineFrames = keyframes$3(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
|
|
39031
39145
|
var LoadingPill = styled.div.withConfig({
|
|
39032
39146
|
displayName: "LoadingPillstyled__LoadingPill",
|
|
@@ -39139,7 +39253,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
39139
39253
|
return extraStyles;
|
|
39140
39254
|
});
|
|
39141
39255
|
|
|
39142
|
-
var _excluded$
|
|
39256
|
+
var _excluded$z = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
39143
39257
|
var TableRow = function TableRow(_ref) {
|
|
39144
39258
|
var children = _ref.children,
|
|
39145
39259
|
extraStyles = _ref.extraStyles,
|
|
@@ -39148,7 +39262,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39148
39262
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
39149
39263
|
onClick = _ref.onClick,
|
|
39150
39264
|
themeValues = _ref.themeValues,
|
|
39151
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
39265
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
39152
39266
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
39153
39267
|
onClick: onClick,
|
|
39154
39268
|
hoverEffect: hoverEffect,
|
|
@@ -42473,22 +42587,10 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
42473
42587
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
42474
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));
|
|
42475
42589
|
|
|
42476
|
-
var activeBackgroundColor$1 =
|
|
42477
|
-
|
|
42478
|
-
|
|
42479
|
-
|
|
42480
|
-
var backgroundColor$9 = {
|
|
42481
|
-
primary: "".concat(LINK_WATER),
|
|
42482
|
-
disabled: "".concat(ATHENS_GREY)
|
|
42483
|
-
};
|
|
42484
|
-
var borderColor$5 = {
|
|
42485
|
-
primary: "".concat(MOON_RAKER),
|
|
42486
|
-
disabled: "".concat(MANATEE_GREY)
|
|
42487
|
-
};
|
|
42488
|
-
var color$b = {
|
|
42489
|
-
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
42490
|
-
disabled: "".concat(MANATEE_GREY)
|
|
42491
|
-
};
|
|
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;
|
|
42492
42594
|
var fallbackValues$I = {
|
|
42493
42595
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42494
42596
|
backgroundColor: backgroundColor$9,
|
|
@@ -42529,9 +42631,7 @@ var Footer = styled(Stack).withConfig({
|
|
|
42529
42631
|
})(["align-items:center;width:100%;"]);
|
|
42530
42632
|
|
|
42531
42633
|
var LinkCard = function LinkCard(_ref) {
|
|
42532
|
-
var _ref$
|
|
42533
|
-
variant = _ref$variant === void 0 ? "primary" : _ref$variant,
|
|
42534
|
-
_ref$title = _ref.title,
|
|
42634
|
+
var _ref$title = _ref.title,
|
|
42535
42635
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42536
42636
|
_ref$subtitle = _ref.subtitle,
|
|
42537
42637
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
@@ -42565,8 +42665,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42565
42665
|
extraStyles: extraStyles,
|
|
42566
42666
|
hoverStyles: extraHoverStyles,
|
|
42567
42667
|
activeStyles: extraActiveStyles,
|
|
42568
|
-
onClick:
|
|
42569
|
-
"aria-disabled": variant === "disabled"
|
|
42668
|
+
onClick: onClick
|
|
42570
42669
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
42571
42670
|
childGap: 0,
|
|
42572
42671
|
bottomItem: 3,
|
|
@@ -42599,7 +42698,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42599
42698
|
justify: "space-between"
|
|
42600
42699
|
}, showLeft && !leftContent && /*#__PURE__*/React.createElement(Box, null), showLeft && leftContent, showRight && rightContent))));
|
|
42601
42700
|
};
|
|
42602
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I
|
|
42701
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
|
|
42603
42702
|
|
|
42604
42703
|
var LoginForm = function LoginForm(_ref) {
|
|
42605
42704
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -46472,10 +46571,6 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46472
46571
|
};
|
|
46473
46572
|
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
|
|
46474
46573
|
|
|
46475
|
-
var ACH_METHOD = "BANK_ACCOUNT";
|
|
46476
|
-
var CC_METHOD = "CREDIT_CARD";
|
|
46477
|
-
var CASH_METHOD = "CASH";
|
|
46478
|
-
|
|
46479
46574
|
var IconsModule = function IconsModule(_ref) {
|
|
46480
46575
|
var icon = _ref.icon,
|
|
46481
46576
|
iconDefault = _ref.iconDefault,
|
|
@@ -46555,9 +46650,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46555
46650
|
inactive = _ref.inactive,
|
|
46556
46651
|
description = _ref.description,
|
|
46557
46652
|
subDescription = _ref.subDescription,
|
|
46558
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46559
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46560
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46653
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
46561
46654
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46562
46655
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46563
46656
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
@@ -46586,7 +46679,6 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46586
46679
|
case "secondary":
|
|
46587
46680
|
{
|
|
46588
46681
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46589
|
-
disabled: isInCustomerManagement,
|
|
46590
46682
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46591
46683
|
variant: "secondary",
|
|
46592
46684
|
action: function action() {
|
|
@@ -46599,7 +46691,6 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46599
46691
|
case "tertiary":
|
|
46600
46692
|
{
|
|
46601
46693
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46602
|
-
disabled: isInCustomerManagement,
|
|
46603
46694
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46604
46695
|
variant: "tertiary",
|
|
46605
46696
|
action: function action() {
|
|
@@ -46716,9 +46807,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46716
46807
|
dueDate = _ref.dueDate,
|
|
46717
46808
|
description = _ref.description,
|
|
46718
46809
|
subDescription = _ref.subDescription,
|
|
46719
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46720
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46721
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46810
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
46722
46811
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46723
46812
|
var _useState = useState(false),
|
|
46724
46813
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46798,8 +46887,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46798
46887
|
handleAutopayAction();
|
|
46799
46888
|
},
|
|
46800
46889
|
dataQa: "Set Up Autopay",
|
|
46801
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46802
|
-
disabled: isInCustomerManagement
|
|
46890
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46803
46891
|
}) : /*#__PURE__*/React.createElement(AutopayModalModule, {
|
|
46804
46892
|
autoPayActive: autoPayEnabled,
|
|
46805
46893
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -46825,8 +46913,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46825
46913
|
},
|
|
46826
46914
|
text: "Pay Now",
|
|
46827
46915
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46828
|
-
dataQa: "Pay Now"
|
|
46829
|
-
disabled: isInCustomerManagement
|
|
46916
|
+
dataQa: "Pay Now"
|
|
46830
46917
|
}))), isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46831
46918
|
padding: "8px 0 0",
|
|
46832
46919
|
width: "100%"
|
|
@@ -46838,8 +46925,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46838
46925
|
text: "Pay Now",
|
|
46839
46926
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46840
46927
|
dataQa: "Pay Now",
|
|
46841
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
46842
|
-
disabled: isInCustomerManagement
|
|
46928
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
46843
46929
|
}))));
|
|
46844
46930
|
};
|
|
46845
46931
|
|
|
@@ -47011,9 +47097,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47011
47097
|
_ref$inactiveLookupIn = _ref.inactiveLookupInput,
|
|
47012
47098
|
inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
|
|
47013
47099
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
47014
|
-
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa
|
|
47015
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47016
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
47100
|
+
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa;
|
|
47017
47101
|
/*
|
|
47018
47102
|
The value of obligations is always an array. It can contain:
|
|
47019
47103
|
- A single obligation
|
|
@@ -47101,8 +47185,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47101
47185
|
obligationAssocID: obligationAssocID,
|
|
47102
47186
|
description: description,
|
|
47103
47187
|
subDescription: subDescription,
|
|
47104
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47105
|
-
isInCustomerManagement: isInCustomerManagement
|
|
47188
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47106
47189
|
}))), isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
47107
47190
|
obligations: obligations,
|
|
47108
47191
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47120,8 +47203,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47120
47203
|
obligationAssocID: obligationAssocID,
|
|
47121
47204
|
description: description,
|
|
47122
47205
|
subDescription: subDescription,
|
|
47123
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47124
|
-
isInCustomerManagement: isInCustomerManagement
|
|
47206
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47125
47207
|
}));
|
|
47126
47208
|
var inactiveObligation = /*#__PURE__*/React.createElement(Box, {
|
|
47127
47209
|
padding: "0",
|
|
@@ -47406,6 +47488,7 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
47406
47488
|
var Pagination = function Pagination(_ref3) {
|
|
47407
47489
|
var _ref3$activeBorderWid = _ref3.activeBorderWidth,
|
|
47408
47490
|
activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
|
|
47491
|
+
ariaLabel = _ref3.ariaLabel,
|
|
47409
47492
|
arrowColor = _ref3.arrowColor,
|
|
47410
47493
|
_ref3$borderRadius = _ref3.borderRadius,
|
|
47411
47494
|
borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
|
|
@@ -47425,11 +47508,10 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47425
47508
|
pageNext = _ref3.pageNext,
|
|
47426
47509
|
pagePrevious = _ref3.pagePrevious,
|
|
47427
47510
|
setCurrentPage = _ref3.setCurrentPage,
|
|
47428
|
-
ariaLabel = _ref3.ariaLabel,
|
|
47429
47511
|
themeValues = _ref3.themeValues;
|
|
47430
47512
|
var _useContext = useContext(ThemeContext),
|
|
47431
47513
|
isMobile = _useContext.isMobile;
|
|
47432
|
-
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 ");
|
|
47433
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 ");
|
|
47434
47516
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
47435
47517
|
justify: "center",
|
|
@@ -47610,7 +47692,7 @@ var fallbackValues$N = {
|
|
|
47610
47692
|
labeledAmountTotal: labeledAmountTotal
|
|
47611
47693
|
};
|
|
47612
47694
|
|
|
47613
|
-
var _excluded$
|
|
47695
|
+
var _excluded$A = ["amount"],
|
|
47614
47696
|
_excluded2$1 = ["amount"];
|
|
47615
47697
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47616
47698
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47850,7 +47932,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47850
47932
|
return fee.amount > 0;
|
|
47851
47933
|
}).map(function (_ref5) {
|
|
47852
47934
|
var amount = _ref5.amount,
|
|
47853
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47935
|
+
rest = _objectWithoutProperties(_ref5, _excluded$A);
|
|
47854
47936
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47855
47937
|
amount: displayCurrency(amount)
|
|
47856
47938
|
});
|
|
@@ -47967,12 +48049,16 @@ var fontWeight$7 = {
|
|
|
47967
48049
|
var modalLinkHoverFocus$1 = {
|
|
47968
48050
|
"default": "outline: none; text-decoration: underline;"
|
|
47969
48051
|
};
|
|
48052
|
+
var linkTextDecoration = {
|
|
48053
|
+
"default": LINK_TEXT_DECORATION
|
|
48054
|
+
};
|
|
47970
48055
|
var fallbackValues$O = {
|
|
47971
48056
|
linkColor: linkColor$5,
|
|
47972
48057
|
fontSize: fontSize$a,
|
|
47973
48058
|
lineHeight: lineHeight$4,
|
|
47974
48059
|
fontWeight: fontWeight$7,
|
|
47975
|
-
modalLinkHoverFocus: modalLinkHoverFocus$1
|
|
48060
|
+
modalLinkHoverFocus: modalLinkHoverFocus$1,
|
|
48061
|
+
linkTextDecoration: linkTextDecoration
|
|
47976
48062
|
};
|
|
47977
48063
|
|
|
47978
48064
|
var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
@@ -48026,6 +48112,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
48026
48112
|
color: themeValues.linkColor,
|
|
48027
48113
|
weight: themeValues.fontWeight,
|
|
48028
48114
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48115
|
+
textDecoration: themeValues.linkTextDecoration,
|
|
48029
48116
|
extraStyles: "cursor: pointer;",
|
|
48030
48117
|
role: "button",
|
|
48031
48118
|
className: "modal-trigger"
|
|
@@ -48062,6 +48149,10 @@ var modalLinkHoverFocus$2 = {
|
|
|
48062
48149
|
"default": standardInteractionStyles,
|
|
48063
48150
|
footer: standardInteractionStyles
|
|
48064
48151
|
};
|
|
48152
|
+
var modalLinkTextDecoration = {
|
|
48153
|
+
"default": LINK_TEXT_DECORATION,
|
|
48154
|
+
footer: "none"
|
|
48155
|
+
};
|
|
48065
48156
|
var fallbackValues$P = {
|
|
48066
48157
|
backgroundColor: backgroundColor$d,
|
|
48067
48158
|
linkColor: linkColor$6,
|
|
@@ -48069,7 +48160,8 @@ var fallbackValues$P = {
|
|
|
48069
48160
|
fontSize: fontSize$b,
|
|
48070
48161
|
lineHeight: lineHeight$5,
|
|
48071
48162
|
fontWeight: fontWeight$8,
|
|
48072
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
48163
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2,
|
|
48164
|
+
modalLinkTextDecoration: modalLinkTextDecoration
|
|
48073
48165
|
};
|
|
48074
48166
|
|
|
48075
48167
|
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
@@ -48126,6 +48218,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
48126
48218
|
color: themeValues.linkColor,
|
|
48127
48219
|
weight: themeValues.fontWeight,
|
|
48128
48220
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
48221
|
+
textDecoration: themeValues.modalLinkTextDecoration,
|
|
48129
48222
|
extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
|
|
48130
48223
|
role: "button" // This should always be a "button" since it opens a modal
|
|
48131
48224
|
,
|
|
@@ -48259,11 +48352,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48259
48352
|
}, errorMessage))))));
|
|
48260
48353
|
};
|
|
48261
48354
|
|
|
48262
|
-
var _excluded$
|
|
48355
|
+
var _excluded$B = ["version"];
|
|
48263
48356
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48264
48357
|
var _ref$version = _ref.version,
|
|
48265
48358
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48266
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48359
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
48267
48360
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48268
48361
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
48269
48362
|
};
|
|
@@ -49062,7 +49155,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49062
49155
|
}, section.content))));
|
|
49063
49156
|
};
|
|
49064
49157
|
|
|
49065
|
-
var _excluded$
|
|
49158
|
+
var _excluded$C = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
49066
49159
|
|
|
49067
49160
|
/**
|
|
49068
49161
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49110,7 +49203,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49110
49203
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49111
49204
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49112
49205
|
groupedSections = _ref.groupedSections,
|
|
49113
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49206
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
49114
49207
|
var _useState = useState(null),
|
|
49115
49208
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49116
49209
|
focused = _useState2[0],
|
|
@@ -49582,7 +49675,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49582
49675
|
return /*#__PURE__*/React.createElement(InternalLink, {
|
|
49583
49676
|
to: route,
|
|
49584
49677
|
key: "".concat(route, "-").concat(index),
|
|
49585
|
-
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 }", "}")
|
|
49586
49679
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
49587
49680
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
49588
49681
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -49791,8 +49884,225 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
49791
49884
|
}))));
|
|
49792
49885
|
};
|
|
49793
49886
|
|
|
49794
|
-
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;
|
|
49795
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 = {
|
|
49796
50106
|
pageBackground: pageBackground
|
|
49797
50107
|
};
|
|
49798
50108
|
|
|
@@ -49840,7 +50150,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
49840
50150
|
padding: "0"
|
|
49841
50151
|
})));
|
|
49842
50152
|
};
|
|
49843
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
50153
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
|
|
49844
50154
|
|
|
49845
50155
|
var CenterStack = function CenterStack(_ref) {
|
|
49846
50156
|
var header = _ref.header,
|
|
@@ -49883,7 +50193,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
49883
50193
|
padding: "0"
|
|
49884
50194
|
})));
|
|
49885
50195
|
};
|
|
49886
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
50196
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
|
|
49887
50197
|
|
|
49888
50198
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
49889
50199
|
var header = _ref.header,
|
|
@@ -49898,13 +50208,15 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49898
50208
|
_ref$gutters = _ref.gutters,
|
|
49899
50209
|
gutters = _ref$gutters === void 0 ? "2rem" : _ref$gutters,
|
|
49900
50210
|
_ref$fillPageVertical = _ref.fillPageVertical,
|
|
49901
|
-
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;
|
|
49902
50214
|
var themeContext = useContext(ThemeContext);
|
|
49903
50215
|
var isMobile = themeContext.isMobile;
|
|
49904
50216
|
return /*#__PURE__*/React.createElement(Box, {
|
|
49905
50217
|
padding: "0",
|
|
49906
50218
|
minWidth: "100%",
|
|
49907
|
-
background:
|
|
50219
|
+
background: background,
|
|
49908
50220
|
extraStyles: "flex-grow: 1;"
|
|
49909
50221
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
49910
50222
|
childGap: "0",
|
|
@@ -49927,7 +50239,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49927
50239
|
padding: "0"
|
|
49928
50240
|
})));
|
|
49929
50241
|
};
|
|
49930
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
50242
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
|
|
49931
50243
|
|
|
49932
50244
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
49933
50245
|
var header = _ref.header,
|
|
@@ -49980,7 +50292,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
49980
50292
|
padding: "0"
|
|
49981
50293
|
})));
|
|
49982
50294
|
};
|
|
49983
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
50295
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
|
|
49984
50296
|
|
|
49985
50297
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
49986
50298
|
var header = _ref.header,
|
|
@@ -50050,7 +50362,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
50050
50362
|
key: "footer-box"
|
|
50051
50363
|
})));
|
|
50052
50364
|
};
|
|
50053
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
50365
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
|
|
50054
50366
|
|
|
50055
50367
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
50056
50368
|
var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
@@ -50082,5 +50394,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
|
|
|
50082
50394
|
useToastNotification: useToastNotification
|
|
50083
50395
|
});
|
|
50084
50396
|
|
|
50085
|
-
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 };
|
|
50086
50398
|
//# sourceMappingURL=index.esm.js.map
|