@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.
Files changed (57) hide show
  1. package/README.md +2 -2
  2. package/dist/index.cjs.js +588 -273
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.d.ts +64 -1
  5. package/dist/index.esm.js +584 -272
  6. package/dist/index.esm.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/components/atoms/badge/Badge.stories.js +1 -2
  9. package/src/components/atoms/badge/Badge.theme.js +4 -8
  10. package/src/components/atoms/breadcrumb/Breadcrumb.js +4 -3
  11. package/src/components/atoms/breadcrumb/Breadcrumb.theme.js +5 -2
  12. package/src/components/atoms/button-with-action/ButtonWithAction.js +6 -14
  13. package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +0 -1
  14. package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +37 -33
  15. package/src/components/atoms/button-with-link/ButtonWithLink.js +2 -2
  16. package/src/components/atoms/form-layouts/FormInput.js +1 -1
  17. package/src/components/atoms/icons/CloseIcon.d.ts +1 -0
  18. package/src/components/atoms/icons/CloseIcon.js +48 -0
  19. package/src/components/atoms/icons/TrashIconV2.d.ts +1 -0
  20. package/src/components/atoms/icons/TrashIconV2.js +41 -0
  21. package/src/components/atoms/icons/icons.stories.js +5 -1
  22. package/src/components/atoms/icons/index.d.ts +2 -0
  23. package/src/components/atoms/icons/index.js +5 -1
  24. package/src/components/atoms/layouts/Box.js +0 -1
  25. package/src/components/atoms/layouts/examples/box-example/BoxExample.stories.js +1 -2
  26. package/src/components/atoms/link/ExternalLink.styled.js +6 -3
  27. package/src/components/atoms/link/InternalLink.styled.js +6 -3
  28. package/src/components/atoms/placeholder/Placeholder.js +74 -87
  29. package/src/components/atoms/placeholder/Placeholder.stories.js +9 -22
  30. package/src/components/atoms/text/Text.styled.js +1 -0
  31. package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +1 -0
  32. package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.stories.js +41 -0
  33. package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +10 -2
  34. package/src/components/molecules/index.d.ts +1 -0
  35. package/src/components/molecules/index.js +1 -0
  36. package/src/components/molecules/link-card/LinkCard.js +2 -5
  37. package/src/components/molecules/link-card/LinkCard.stories.js +34 -62
  38. package/src/components/molecules/link-card/LinkCard.theme.js +5 -19
  39. package/src/components/molecules/obligation/Obligation.js +1 -4
  40. package/src/components/molecules/obligation/modules/AutopayModalModule.js +1 -4
  41. package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +1 -5
  42. package/src/components/molecules/pagination/Pagination.js +1 -7
  43. package/src/components/molecules/pagination/Pagination.stories.js +32 -0
  44. package/src/components/molecules/pagination/Pagination.theme.js +1 -2
  45. package/src/components/molecules/tab-sidebar/TabSidebar.js +2 -2
  46. package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +1 -0
  47. package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +10 -2
  48. package/src/components/templates/default-page-template/DefaultPageTemplate.js +3 -2
  49. package/src/constants/index.d.ts +2 -1
  50. package/src/constants/index.js +12 -3
  51. package/src/constants/style_constants.d.ts +11 -0
  52. package/src/constants/style_constants.js +3 -1
  53. package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
  54. package/src/.DS_Store +0 -0
  55. package/src/components/.DS_Store +0 -0
  56. package/src/components/atoms/.DS_Store +0 -0
  57. package/src/components/atoms/icons/.DS_Store +0 -0
package/dist/index.cjs.js CHANGED
@@ -4916,6 +4916,7 @@ var COMPACT_JUMBO_HEIGHT = "65px";
4916
4916
  var FONT_WEIGHT_REGULAR = "400";
4917
4917
  var FONT_WEIGHT_BOLD = "700";
4918
4918
  var FONT_WEIGHT_SEMIBOLD = "600";
4919
+ var LINK_TEXT_DECORATION = "underline solid 1px";
4919
4920
 
4920
4921
  var style_constants = /*#__PURE__*/Object.freeze({
4921
4922
  __proto__: null,
@@ -4926,7 +4927,8 @@ var style_constants = /*#__PURE__*/Object.freeze({
4926
4927
  COMPACT_JUMBO_HEIGHT: COMPACT_JUMBO_HEIGHT,
4927
4928
  FONT_WEIGHT_REGULAR: FONT_WEIGHT_REGULAR,
4928
4929
  FONT_WEIGHT_BOLD: FONT_WEIGHT_BOLD,
4929
- FONT_WEIGHT_SEMIBOLD: FONT_WEIGHT_SEMIBOLD
4930
+ FONT_WEIGHT_SEMIBOLD: FONT_WEIGHT_SEMIBOLD,
4931
+ LINK_TEXT_DECORATION: LINK_TEXT_DECORATION
4930
4932
  });
4931
4933
 
4932
4934
  /*
@@ -5163,7 +5165,7 @@ var colors = /*#__PURE__*/Object.freeze({
5163
5165
  var TextSpan = styled__default.span.withConfig({
5164
5166
  displayName: "Textstyled__TextSpan",
5165
5167
  componentId: "sc-1oy97we-0"
5166
- })(["--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) {
5168
+ })(["--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) {
5167
5169
  var fontSize = _ref.fontSize;
5168
5170
  return fontSize;
5169
5171
  }, function (_ref2) {
@@ -5176,17 +5178,20 @@ var TextSpan = styled__default.span.withConfig({
5176
5178
  var color = _ref4.color;
5177
5179
  return color;
5178
5180
  }, function (_ref5) {
5179
- var $textWrap = _ref5.$textWrap;
5180
- return $textWrap ? "initial" : "nowrap";
5181
+ var textDecoration = _ref5.textDecoration;
5182
+ return textDecoration;
5181
5183
  }, function (_ref6) {
5182
- var hoverStyles = _ref6.hoverStyles;
5184
+ var $textWrap = _ref6.$textWrap;
5185
+ return $textWrap ? "initial" : "nowrap";
5186
+ }, function (_ref7) {
5187
+ var hoverStyles = _ref7.hoverStyles;
5183
5188
  return styled.css(["", ""], hoverStyles);
5184
- }, ROYAL_BLUE, function (_ref7) {
5185
- var disabled = _ref7.disabled,
5186
- disabledStyles = _ref7.disabledStyles;
5189
+ }, ROYAL_BLUE, function (_ref8) {
5190
+ var disabled = _ref8.disabled,
5191
+ disabledStyles = _ref8.disabledStyles;
5187
5192
  return disabled && styled.css(["", ""], disabledStyles);
5188
- }, function (_ref8) {
5189
- var extraStyles = _ref8.extraStyles;
5193
+ }, function (_ref9) {
5194
+ var extraStyles = _ref9.extraStyles;
5190
5195
  return extraStyles;
5191
5196
  });
5192
5197
 
@@ -6504,7 +6509,7 @@ var BoxWrapper = styled__default(function (_ref) {
6504
6509
  });
6505
6510
  /* eslint-enable no-unused-vars */
6506
6511
 
6507
- var _excluded$3 = ["autocompleteValue", "padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "srOnly", "dataQa", "disabled", "children"];
6512
+ 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"];
6508
6513
 
6509
6514
  /*
6510
6515
  Box component to create generic boxes
@@ -6552,7 +6557,6 @@ var Box = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6552
6557
  _ref$srOnly = _ref.srOnly,
6553
6558
  srOnly = _ref$srOnly === void 0 ? false : _ref$srOnly,
6554
6559
  dataQa = _ref.dataQa,
6555
- _ref$disabled = _ref.disabled,
6556
6560
  children = _ref.children,
6557
6561
  rest = _objectWithoutProperties(_ref, _excluded$3);
6558
6562
  return /*#__PURE__*/React__default.createElement(BoxWrapper, _extends({
@@ -12557,6 +12561,43 @@ var Reel = function Reel(_ref) {
12557
12561
  }), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
12558
12562
  };
12559
12563
 
12564
+ var ACH_METHOD = "BANK_ACCOUNT";
12565
+ var CC_METHOD = "CREDIT_CARD";
12566
+ var CASH_METHOD = "CASH";
12567
+
12568
+ var general$1 = /*#__PURE__*/Object.freeze({
12569
+ __proto__: null,
12570
+ ACH_METHOD: ACH_METHOD,
12571
+ CC_METHOD: CC_METHOD,
12572
+ CASH_METHOD: CASH_METHOD
12573
+ });
12574
+
12575
+ var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
12576
+
12577
+ var regex_constants = /*#__PURE__*/Object.freeze({
12578
+ __proto__: null,
12579
+ URL_TEST: URL_TEST
12580
+ });
12581
+
12582
+
12583
+
12584
+ var index$4 = /*#__PURE__*/Object.freeze({
12585
+ __proto__: null,
12586
+ colors: colors,
12587
+ general: general$1,
12588
+ regexConstants: regex_constants,
12589
+ styleConstants: style_constants,
12590
+ fontWeights: style_constants
12591
+ });
12592
+
12593
+ var WHITE$1 = WHITE,
12594
+ TRANSPARENT$1 = TRANSPARENT,
12595
+ SAPPHIRE_BLUE$1 = SAPPHIRE_BLUE,
12596
+ PEACOCK_BLUE$1 = PEACOCK_BLUE,
12597
+ MATISSE_BLUE$1 = MATISSE_BLUE,
12598
+ RASPBERRY$1 = RASPBERRY,
12599
+ ERROR_COLOR$1 = ERROR_COLOR;
12600
+ var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
12560
12601
  var padding = {
12561
12602
  primary: "0.75rem 1.5rem",
12562
12603
  secondary: "0.75rem 1.5rem",
@@ -12569,23 +12610,21 @@ var padding = {
12569
12610
  danger: "0.75rem 1.5rem",
12570
12611
  dangerSecondary: "0.75rem 1.5rem",
12571
12612
  whiteSecondary: "0.75rem 2rem",
12572
- whitePrimary: "1.125rem 0.75rem",
12573
- disabled: "0.75rem 1.5rem"
12613
+ whitePrimary: "1.125rem 0.75rem"
12574
12614
  };
12575
12615
  var color$1 = {
12576
- primary: WHITE,
12577
- secondary: MATISSE_BLUE,
12578
- back: MATISSE_BLUE,
12579
- smallPrimary: WHITE,
12580
- smallSecondary: MATISSE_BLUE,
12581
- smallGhost: MATISSE_BLUE,
12582
- ghost: MATISSE_BLUE,
12583
- tertiary: MATISSE_BLUE,
12584
- danger: WHITE,
12585
- dangerSecondary: ERROR_COLOR,
12586
- whiteSecondary: WHITE,
12587
- whitePrimary: WHITE,
12588
- disabled: MANATEE_GREY
12616
+ primary: WHITE$1,
12617
+ secondary: MATISSE_BLUE$1,
12618
+ back: MATISSE_BLUE$1,
12619
+ smallPrimary: WHITE$1,
12620
+ smallSecondary: MATISSE_BLUE$1,
12621
+ smallGhost: MATISSE_BLUE$1,
12622
+ ghost: MATISSE_BLUE$1,
12623
+ tertiary: MATISSE_BLUE$1,
12624
+ danger: WHITE$1,
12625
+ dangerSecondary: ERROR_COLOR$1,
12626
+ whiteSecondary: WHITE$1,
12627
+ whitePrimary: WHITE$1
12589
12628
  };
12590
12629
  var fontSizeVariant = {
12591
12630
  primary: "pS",
@@ -12599,8 +12638,7 @@ var fontSizeVariant = {
12599
12638
  danger: "pS",
12600
12639
  dangerSecondary: "pS",
12601
12640
  whiteSecondary: "pS",
12602
- whitePrimary: "pS",
12603
- disabled: "pS"
12641
+ whitePrimary: "pS"
12604
12642
  };
12605
12643
  var fontWeight = {
12606
12644
  primary: "600",
@@ -12614,8 +12652,7 @@ var fontWeight = {
12614
12652
  danger: "600",
12615
12653
  dangerSecondary: "600",
12616
12654
  whiteSecondary: "600",
12617
- whitePrimary: "600",
12618
- disabled: "600"
12655
+ whitePrimary: "600"
12619
12656
  };
12620
12657
  var height = {
12621
12658
  primary: "3rem",
@@ -12629,8 +12666,7 @@ var height = {
12629
12666
  danger: "3rem",
12630
12667
  dangerSecondary: "3rem",
12631
12668
  whiteSecondary: "3rem",
12632
- whitePrimary: "auto",
12633
- disabled: "3rem"
12669
+ whitePrimary: "auto"
12634
12670
  };
12635
12671
  var minWidth = {
12636
12672
  primary: "130px",
@@ -12644,128 +12680,133 @@ var minWidth = {
12644
12680
  danger: "130px",
12645
12681
  dangerSecondary: "157px",
12646
12682
  whiteSecondary: "160px",
12647
- whitePrimary: "130px",
12648
- disabled: "130px"
12683
+ whitePrimary: "130px"
12684
+ };
12685
+ var textDecoration = {
12686
+ primary: "none",
12687
+ secondary: "none",
12688
+ back: "none",
12689
+ smallPrimary: "none",
12690
+ smallSecondary: "none",
12691
+ smallGhost: LINK_TEXT_DECORATION$1,
12692
+ ghost: LINK_TEXT_DECORATION$1,
12693
+ tertiary: "none",
12694
+ danger: "none",
12695
+ dangerSecondary: "none",
12696
+ whiteSecondary: "none",
12697
+ whitePrimary: "none"
12649
12698
  };
12650
12699
  var backgroundColor = {
12651
- primary: MATISSE_BLUE,
12652
- secondary: TRANSPARENT,
12653
- back: TRANSPARENT,
12654
- smallPrimary: MATISSE_BLUE,
12655
- smallSecondary: TRANSPARENT,
12656
- smallGhost: TRANSPARENT,
12657
- ghost: TRANSPARENT,
12658
- tertiary: TRANSPARENT,
12659
- danger: RASPBERRY,
12660
- dangerSecondary: TRANSPARENT,
12661
- whiteSecondary: TRANSPARENT,
12662
- whitePrimary: TRANSPARENT,
12663
- disabled: GRECIAN_GREY
12700
+ primary: MATISSE_BLUE$1,
12701
+ secondary: TRANSPARENT$1,
12702
+ back: TRANSPARENT$1,
12703
+ smallPrimary: MATISSE_BLUE$1,
12704
+ smallSecondary: TRANSPARENT$1,
12705
+ smallGhost: TRANSPARENT$1,
12706
+ ghost: TRANSPARENT$1,
12707
+ tertiary: TRANSPARENT$1,
12708
+ danger: RASPBERRY$1,
12709
+ dangerSecondary: TRANSPARENT$1,
12710
+ whiteSecondary: TRANSPARENT$1,
12711
+ whitePrimary: TRANSPARENT$1
12664
12712
  };
12665
12713
  var border = {
12666
- primary: "2px solid " + MATISSE_BLUE,
12667
- secondary: "2px solid " + MATISSE_BLUE,
12668
- back: "2px solid " + MATISSE_BLUE,
12669
- smallPrimary: "2px solid " + MATISSE_BLUE,
12670
- smallSecondary: "2px solid " + MATISSE_BLUE,
12714
+ primary: "2px solid " + MATISSE_BLUE$1,
12715
+ secondary: "2px solid " + MATISSE_BLUE$1,
12716
+ back: "2px solid " + MATISSE_BLUE$1,
12717
+ smallPrimary: "2px solid " + MATISSE_BLUE$1,
12718
+ smallSecondary: "2px solid " + MATISSE_BLUE$1,
12671
12719
  smallGhost: "none",
12672
12720
  ghost: "none",
12673
12721
  tertiary: "none",
12674
- danger: "2px solid " + RASPBERRY,
12675
- dangerSecondary: "2px solid " + ERROR_COLOR,
12676
- whiteSecondary: "2px solid " + WHITE,
12677
- whitePrimary: "2px solid " + TRANSPARENT,
12678
- disabled: "2px solid " + MANATEE_GREY
12722
+ danger: "2px solid " + RASPBERRY$1,
12723
+ dangerSecondary: "2px solid " + ERROR_COLOR$1,
12724
+ whiteSecondary: "2px solid " + WHITE$1,
12725
+ whitePrimary: "2px solid " + TRANSPARENT$1
12679
12726
  };
12680
12727
  var hoverBackgroundColor = {
12681
- primary: SAPPHIRE_BLUE,
12728
+ primary: SAPPHIRE_BLUE$1,
12682
12729
  secondary: "#DBEAF0",
12683
- back: TRANSPARENT,
12684
- smallPrimary: SAPPHIRE_BLUE,
12730
+ back: TRANSPARENT$1,
12731
+ smallPrimary: SAPPHIRE_BLUE$1,
12685
12732
  smallSecondary: "#DBEAF0",
12686
- smallGhost: TRANSPARENT,
12687
- ghost: TRANSPARENT,
12688
- tertiary: TRANSPARENT,
12733
+ smallGhost: TRANSPARENT$1,
12734
+ ghost: TRANSPARENT$1,
12735
+ tertiary: TRANSPARENT$1,
12689
12736
  danger: "#BA002C",
12690
12737
  dangerSecondary: "#FAE7EE",
12691
- whiteSecondary: TRANSPARENT,
12692
- whitePrimary: TRANSPARENT,
12693
- disabled: TRANSPARENT
12738
+ whiteSecondary: TRANSPARENT$1,
12739
+ whitePrimary: TRANSPARENT$1
12694
12740
  };
12695
12741
  var hoverBorderColor = {
12696
- primary: SAPPHIRE_BLUE,
12697
- secondary: MATISSE_BLUE,
12742
+ primary: SAPPHIRE_BLUE$1,
12743
+ secondary: MATISSE_BLUE$1,
12698
12744
  back: "#DCEAF1",
12699
- smallPrimary: SAPPHIRE_BLUE,
12700
- smallSecondary: MATISSE_BLUE,
12701
- smallGhost: TRANSPARENT,
12702
- ghost: TRANSPARENT,
12703
- tertiary: TRANSPARENT,
12745
+ smallPrimary: SAPPHIRE_BLUE$1,
12746
+ smallSecondary: MATISSE_BLUE$1,
12747
+ smallGhost: TRANSPARENT$1,
12748
+ ghost: TRANSPARENT$1,
12749
+ tertiary: TRANSPARENT$1,
12704
12750
  danger: "#BA002C",
12705
12751
  dangerSecondary: "#B10541",
12706
- whiteSecondary: "2px solid " + TRANSPARENT,
12707
- whitePrimary: "2px solid " + TRANSPARENT,
12708
- disabled: MANATEE_GREY
12752
+ whiteSecondary: "2px solid " + TRANSPARENT$1,
12753
+ whitePrimary: "2px solid " + TRANSPARENT$1
12709
12754
  };
12710
12755
  var hoverColor = {
12711
- primary: WHITE,
12712
- secondary: SAPPHIRE_BLUE,
12713
- back: SAPPHIRE_BLUE,
12714
- smallPrimary: WHITE,
12715
- smallSecondary: SAPPHIRE_BLUE,
12716
- smallGhost: SAPPHIRE_BLUE,
12717
- ghost: SAPPHIRE_BLUE,
12718
- tertiary: SAPPHIRE_BLUE,
12719
- danger: WHITE,
12756
+ primary: WHITE$1,
12757
+ secondary: SAPPHIRE_BLUE$1,
12758
+ back: SAPPHIRE_BLUE$1,
12759
+ smallPrimary: WHITE$1,
12760
+ smallSecondary: SAPPHIRE_BLUE$1,
12761
+ smallGhost: SAPPHIRE_BLUE$1,
12762
+ ghost: SAPPHIRE_BLUE$1,
12763
+ tertiary: SAPPHIRE_BLUE$1,
12764
+ danger: WHITE$1,
12720
12765
  dangerSecondary: "#B10541",
12721
- whiteSecondary: WHITE,
12722
- whitePrimary: WHITE,
12723
- disabled: MANATEE_GREY
12766
+ whiteSecondary: WHITE$1,
12767
+ whitePrimary: WHITE$1
12724
12768
  };
12725
12769
  var activeBackgroundColor = {
12726
- primary: PEACOCK_BLUE,
12770
+ primary: PEACOCK_BLUE$1,
12727
12771
  secondary: "#B8D5E1",
12728
- back: TRANSPARENT,
12729
- smallPrimary: PEACOCK_BLUE,
12772
+ back: TRANSPARENT$1,
12773
+ smallPrimary: PEACOCK_BLUE$1,
12730
12774
  smallSecondary: "#B8D5E1",
12731
- smallGhost: TRANSPARENT,
12732
- ghost: TRANSPARENT,
12733
- tertiary: TRANSPARENT,
12775
+ smallGhost: TRANSPARENT$1,
12776
+ ghost: TRANSPARENT$1,
12777
+ tertiary: TRANSPARENT$1,
12734
12778
  danger: "#870000",
12735
12779
  dangerSecondary: "#FAE7EE",
12736
- whiteSecondary: TRANSPARENT,
12737
- whitePrimary: TRANSPARENT,
12738
- disabled: TRANSPARENT
12780
+ whiteSecondary: TRANSPARENT$1,
12781
+ whitePrimary: TRANSPARENT$1
12739
12782
  };
12740
12783
  var activeBorderColor = {
12741
- primary: PEACOCK_BLUE,
12742
- secondary: MATISSE_BLUE,
12743
- back: PEACOCK_BLUE,
12744
- smallPrimary: PEACOCK_BLUE,
12745
- smallSecondary: MATISSE_BLUE,
12746
- smallGhost: TRANSPARENT,
12747
- ghost: TRANSPARENT,
12748
- tertiary: TRANSPARENT,
12784
+ primary: PEACOCK_BLUE$1,
12785
+ secondary: MATISSE_BLUE$1,
12786
+ back: PEACOCK_BLUE$1,
12787
+ smallPrimary: PEACOCK_BLUE$1,
12788
+ smallSecondary: MATISSE_BLUE$1,
12789
+ smallGhost: TRANSPARENT$1,
12790
+ ghost: TRANSPARENT$1,
12791
+ tertiary: TRANSPARENT$1,
12749
12792
  danger: "#870000",
12750
12793
  dangerSecondary: "#910029",
12751
- whiteSecondary: "2px solid " + TRANSPARENT,
12752
- whitePrimary: "2px solid " + TRANSPARENT,
12753
- disabled: TRANSPARENT
12794
+ whiteSecondary: "2px solid " + TRANSPARENT$1,
12795
+ whitePrimary: "2px solid " + TRANSPARENT$1
12754
12796
  };
12755
12797
  var activeColor = {
12756
- primary: WHITE,
12757
- secondary: MATISSE_BLUE,
12758
- back: PEACOCK_BLUE,
12759
- smallPrimary: WHITE,
12760
- smallSecondary: PEACOCK_BLUE,
12761
- smallGhost: PEACOCK_BLUE,
12762
- ghost: PEACOCK_BLUE,
12763
- tertiary: PEACOCK_BLUE,
12764
- danger: WHITE,
12798
+ primary: WHITE$1,
12799
+ secondary: MATISSE_BLUE$1,
12800
+ back: PEACOCK_BLUE$1,
12801
+ smallPrimary: WHITE$1,
12802
+ smallSecondary: PEACOCK_BLUE$1,
12803
+ smallGhost: PEACOCK_BLUE$1,
12804
+ ghost: PEACOCK_BLUE$1,
12805
+ tertiary: PEACOCK_BLUE$1,
12806
+ danger: WHITE$1,
12765
12807
  dangerSecondary: "#910029",
12766
- whiteSecondary: WHITE,
12767
- whitePrimary: WHITE,
12768
- disabled: MANATEE_GREY
12808
+ whiteSecondary: WHITE$1,
12809
+ whitePrimary: WHITE$1
12769
12810
  };
12770
12811
  var fallbackValues$1 = {
12771
12812
  padding: padding,
@@ -12774,6 +12815,7 @@ var fallbackValues$1 = {
12774
12815
  fontWeight: fontWeight,
12775
12816
  height: height,
12776
12817
  minWidth: minWidth,
12818
+ textDecoration: textDecoration,
12777
12819
  backgroundColor: backgroundColor,
12778
12820
  border: border,
12779
12821
  hoverBackgroundColor: hoverBackgroundColor,
@@ -12897,7 +12939,7 @@ var Spinner = function Spinner(_ref) {
12897
12939
 
12898
12940
  Note: the children prop is only used if contentOverride is set to true, in which case
12899
12941
  the text prop is ignored.
12900
-
12942
+
12901
12943
  */
12902
12944
 
12903
12945
  var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
@@ -12925,13 +12967,12 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12925
12967
  children = _ref2.children,
12926
12968
  extraDisabledStyles = _ref2.extraDisabledStyles,
12927
12969
  rest = _objectWithoutProperties(_ref2, _excluded$h);
12928
- var isGhostVariant = variant === "ghost" || variant === "smallGhost";
12929
12970
  var themeContext = React.useContext(styled.ThemeContext);
12930
12971
  var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
12931
12972
  var isMobile = themeContext.isMobile;
12932
- var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
12933
- var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
12934
- var disabledStyles = "\n background-color: ".concat(isGhostVariant ? "transparent;" : "#6D717E;", ";\n border-color: ").concat(isGhostVariant ? "transparent;" : "#6D717E;", ";\n color: ").concat(isGhostVariant ? "#6D717E;" : "#FFFFFF", ";\n cursor: default;\n &:focus {\n outline: 3px solid #6D717E;\n outline-offset: 2px;\n }\n ").concat(extraDisabledStyles, "\n ");
12973
+ 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 ");
12974
+ var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n ");
12975
+ 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 ");
12935
12976
  return /*#__PURE__*/React__default.createElement(Box, _extends({
12936
12977
  ref: ref,
12937
12978
  variant: variant,
@@ -12961,8 +13002,9 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12961
13002
  weight: themeValues.fontWeight,
12962
13003
  variant: themeValues.fontSizeVariant,
12963
13004
  color: themeValues.color,
13005
+ textDecoration: themeValues.textDecoration,
12964
13006
  textWrap: textWrap,
12965
- extraStyles: disabled ? textExtraStyles + disabledStyles : textExtraStyles
13007
+ extraStyles: textExtraStyles
12966
13008
  }, text)));
12967
13009
  });
12968
13010
 
@@ -18266,6 +18308,84 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
18266
18308
  }));
18267
18309
  };
18268
18310
 
18311
+ var _excluded$j = ["iconFill", "iconWidth", "iconHeight"];
18312
+ var CloseIcon = function CloseIcon(_ref) {
18313
+ var _ref$iconFill = _ref.iconFill,
18314
+ iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
18315
+ _ref$iconWidth = _ref.iconWidth,
18316
+ iconWidth = _ref$iconWidth === void 0 ? "24" : _ref$iconWidth,
18317
+ _ref$iconHeight = _ref.iconHeight,
18318
+ iconHeight = _ref$iconHeight === void 0 ? "24" : _ref$iconHeight,
18319
+ rest = _objectWithoutProperties(_ref, _excluded$j);
18320
+ return /*#__PURE__*/React__default.createElement("svg", _extends({
18321
+ xmlns: "http://www.w3.org/2000/svg",
18322
+ width: iconWidth,
18323
+ height: iconHeight,
18324
+ viewBox: "0 0 24 24",
18325
+ fill: "none"
18326
+ }, rest), /*#__PURE__*/React__default.createElement("title", null, "Close Icon"), /*#__PURE__*/React__default.createElement("path", {
18327
+ fillRule: "evenodd",
18328
+ clipRule: "evenodd",
18329
+ 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",
18330
+ fill: iconFill
18331
+ }), /*#__PURE__*/React__default.createElement("mask", {
18332
+ id: "mask0_3727_16765",
18333
+ style: {
18334
+ maskType: "luminance"
18335
+ },
18336
+ maskUnits: "userSpaceOnUse",
18337
+ x: "5",
18338
+ y: "5",
18339
+ width: "14",
18340
+ height: "14"
18341
+ }, /*#__PURE__*/React__default.createElement("path", {
18342
+ fillRule: "evenodd",
18343
+ clipRule: "evenodd",
18344
+ 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",
18345
+ fill: "none"
18346
+ })), /*#__PURE__*/React__default.createElement("g", {
18347
+ mask: "url(#mask0_3727_16765)"
18348
+ }, /*#__PURE__*/React__default.createElement("path", {
18349
+ d: "M0 0H24V24H0V0Z",
18350
+ fill: iconFill
18351
+ })));
18352
+ };
18353
+
18354
+ var TrashIconV2 = function TrashIconV2(_ref) {
18355
+ var themeValues = _ref.themeValues,
18356
+ iconFill = _ref.iconFill;
18357
+ return /*#__PURE__*/React__default.createElement("svg", {
18358
+ xmlns: "http://www.w3.org/2000/svg",
18359
+ width: "18",
18360
+ height: "18",
18361
+ viewBox: "0 0 18 18",
18362
+ fill: "none"
18363
+ }, /*#__PURE__*/React__default.createElement("path", {
18364
+ fillRule: "evenodd",
18365
+ clipRule: "evenodd",
18366
+ 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",
18367
+ fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor
18368
+ }), /*#__PURE__*/React__default.createElement("mask", {
18369
+ id: "mask0_4292_11876",
18370
+ style: {
18371
+ maskType: "luminance"
18372
+ },
18373
+ maskUnits: "userSpaceOnUse",
18374
+ x: "4",
18375
+ y: "3",
18376
+ width: "10",
18377
+ height: "12"
18378
+ }, /*#__PURE__*/React__default.createElement("path", {
18379
+ fillRule: "evenodd",
18380
+ clipRule: "evenodd",
18381
+ 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",
18382
+ fill: "white"
18383
+ })), /*#__PURE__*/React__default.createElement("g", {
18384
+ mask: "url(#mask0_4292_11876)"
18385
+ }));
18386
+ };
18387
+ var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$2, "primary");
18388
+
18269
18389
  var color$2 = "#15749D";
18270
18390
  var hoverColor$1 = "#116285";
18271
18391
  var activeColor$1 = "#0E506D";
@@ -18912,7 +19032,7 @@ var mobileFallbackValues = {
18912
19032
  };
18913
19033
  var MOBILE_BREAKPOINT = 768;
18914
19034
 
18915
- var _excluded$j = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
19035
+ var _excluded$k = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
18916
19036
 
18917
19037
  /*
18918
19038
  New responsive text component for Title elements
@@ -18959,7 +19079,7 @@ var Title = function Title(_ref) {
18959
19079
  as = _ref$as === void 0 ? "h1" : _ref$as,
18960
19080
  dataQa = _ref.dataQa,
18961
19081
  children = _ref.children,
18962
- rest = _objectWithoutProperties(_ref, _excluded$j);
19082
+ rest = _objectWithoutProperties(_ref, _excluded$k);
18963
19083
  return /*#__PURE__*/React__default.createElement(TitleText, _extends({
18964
19084
  variant: variant,
18965
19085
  as: as,
@@ -19001,15 +19121,13 @@ var background$1 = {
19001
19121
  info: "".concat(INFO_BLUE),
19002
19122
  warn: "".concat(HALF_COLONIAL_WHITE),
19003
19123
  primary: "".concat(CORNFLOWER_BLUE),
19004
- success: "".concat(HINT_GREEN),
19005
- disabled: "".concat(GRECIAN_GREY)
19124
+ success: "".concat(HINT_GREEN)
19006
19125
  };
19007
19126
  var color$4 = {
19008
19127
  info: "".concat(MATISSE_BLUE),
19009
19128
  warn: "".concat(ZEST_ORANGE),
19010
19129
  primary: "".concat(ROYAL_BLUE_VIVID),
19011
- success: "".concat(SEA_GREEN),
19012
- disabled: "".concat(MANATEE_GREY)
19130
+ success: "".concat(SEA_GREEN)
19013
19131
  };
19014
19132
  var fallbackValues$7 = {
19015
19133
  background: background$1,
@@ -20385,12 +20503,12 @@ var fallbackValues$8 = {
20385
20503
  linkColor: linkColor
20386
20504
  };
20387
20505
 
20388
- var _excluded$k = ["variant", "themeValues", "children"];
20506
+ var _excluded$l = ["variant", "themeValues", "children"];
20389
20507
  var BoxWithShadow = function BoxWithShadow(_ref) {
20390
20508
  var variant = _ref.variant,
20391
20509
  themeValues = _ref.themeValues,
20392
20510
  children = _ref.children,
20393
- props = _objectWithoutProperties(_ref, _excluded$k);
20511
+ props = _objectWithoutProperties(_ref, _excluded$l);
20394
20512
  var shadowRegistry = {
20395
20513
  baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
20396
20514
  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), ";"),
@@ -20408,20 +20526,23 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
20408
20526
  var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
20409
20527
 
20410
20528
  // import theme from "styled-theming";
20529
+ var MATISSE_BLUE$2 = MATISSE_BLUE,
20530
+ STORM_GREY$1 = STORM_GREY;
20531
+ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
20411
20532
 
20412
20533
  /*
20413
20534
  For now I'm using string values, eventually shared components library will have its own constants file
20414
20535
  for colors/values that should be used here instead
20415
20536
  */
20416
20537
 
20417
- var color$5 = "".concat(MATISSE_BLUE);
20418
- var activeColor$2 = "".concat(STORM_GREY);
20419
- var activeBreadcrumbColor = "".concat(STORM_GREY);
20538
+ var color$5 = "".concat(MATISSE_BLUE$2);
20539
+ var activeColor$2 = "".concat(STORM_GREY$1);
20540
+ var activeBreadcrumbColor = "".concat(STORM_GREY$1);
20420
20541
  var fontSize$2 = "0.875rem";
20421
20542
  var lineHeight = "1.25rem";
20422
20543
  var fontWeight$1 = "400";
20423
20544
  var margin = "0.5rem";
20424
- var hover = "text-decoration: none;";
20545
+ var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
20425
20546
  var fallbackValues$9 = {
20426
20547
  color: color$5,
20427
20548
  activeColor: activeColor$2,
@@ -20447,7 +20568,10 @@ var fallbackValues$a = {
20447
20568
  externalLinkColor: externalLinkColor
20448
20569
  };
20449
20570
 
20450
- var _excluded$l = ["hoverColor", "activeColor", "extrastyles"];
20571
+ var _excluded$m = ["hoverColor", "activeColor", "extrastyles"];
20572
+ var ROYAL_BLUE$1 = ROYAL_BLUE;
20573
+ var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
20574
+
20451
20575
  /*
20452
20576
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
20453
20577
  unrecognized DOM attributes.
@@ -20458,14 +20582,14 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20458
20582
  var hoverColor = _ref.hoverColor,
20459
20583
  activeColor = _ref.activeColor,
20460
20584
  extrastyles = _ref.extrastyles,
20461
- props = _objectWithoutProperties(_ref, _excluded$l);
20585
+ props = _objectWithoutProperties(_ref, _excluded$m);
20462
20586
  return /*#__PURE__*/React__default.createElement("a", _extends({}, props, {
20463
20587
  ref: ref
20464
20588
  }));
20465
20589
  })).withConfig({
20466
20590
  displayName: "ExternalLinkstyled__StyledExternalLink",
20467
20591
  componentId: "sc-m1q2m2-0"
20468
- })(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
20592
+ })(["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) {
20469
20593
  var size = _ref2.size;
20470
20594
  return size;
20471
20595
  }, function (_ref3) {
@@ -20480,10 +20604,10 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20480
20604
  }, function (_ref6) {
20481
20605
  var lineheight = _ref6.lineheight;
20482
20606
  return lineheight;
20483
- }, function (_ref7) {
20607
+ }, LINK_TEXT_DECORATION$3, function (_ref7) {
20484
20608
  var hoverColor = _ref7.hoverColor;
20485
20609
  return hoverColor;
20486
- }, ROYAL_BLUE, function (_ref8) {
20610
+ }, ROYAL_BLUE$1, function (_ref8) {
20487
20611
  var activeColor = _ref8.activeColor;
20488
20612
  return activeColor;
20489
20613
  }, function (_ref9) {
@@ -20533,7 +20657,10 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
20533
20657
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
20534
20658
  });
20535
20659
 
20536
- var _excluded$m = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
20660
+ var _excluded$n = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
20661
+ var ROYAL_BLUE$2 = ROYAL_BLUE;
20662
+ var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
20663
+
20537
20664
  /*
20538
20665
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
20539
20666
  unrecognized DOM attributes.
@@ -20546,14 +20673,14 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20546
20673
  active = _ref.active,
20547
20674
  color = _ref.color,
20548
20675
  extrastyles = _ref.extrastyles,
20549
- props = _objectWithoutProperties(_ref, _excluded$m);
20676
+ props = _objectWithoutProperties(_ref, _excluded$n);
20550
20677
  return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, _extends({}, props, {
20551
20678
  ref: ref
20552
20679
  }));
20553
20680
  })).withConfig({
20554
20681
  displayName: "InternalLinkstyled__StyledInternalLink",
20555
20682
  componentId: "sc-cuqxud-0"
20556
- })(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
20683
+ })(["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) {
20557
20684
  var color = _ref2.color,
20558
20685
  active = _ref2.active,
20559
20686
  activeColor = _ref2.activeColor;
@@ -20573,10 +20700,10 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20573
20700
  }, function (_ref7) {
20574
20701
  var margin = _ref7.margin;
20575
20702
  return margin;
20576
- }, function (_ref8) {
20703
+ }, LINK_TEXT_DECORATION$4, function (_ref8) {
20577
20704
  var hoverColor = _ref8.hoverColor;
20578
20705
  return hoverColor;
20579
- }, ROYAL_BLUE, function (_ref9) {
20706
+ }, ROYAL_BLUE$2, function (_ref9) {
20580
20707
  var activeColor = _ref9.activeColor;
20581
20708
  return activeColor;
20582
20709
  }, function (_ref10) {
@@ -20649,7 +20776,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
20649
20776
  lineheight: themeValues.lineHeight,
20650
20777
  fontWeight: themeValues.fontWeight,
20651
20778
  margin: themeValues.margin,
20652
- extraStyles: "\n text-transform: uppercase;\n ".concat(isActive.toString() === "true" && "pointer-events: none;\n color: ".concat(themeValues.activeBreadcrumbColor, ";\n "), "\n &:first-child {\n margin-left: 0;\n }\n &:active {\n color: ").concat(themeValues.activeColor, "; \n }")
20779
+ 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 }")
20653
20780
  }, linkText), index < breadcrumbsList.length - 1 ? /*#__PURE__*/React__default.createElement(IconChevron, null) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
20654
20781
  })));
20655
20782
  };
@@ -22229,9 +22356,7 @@ _curry2(function test(pattern, str) {
22229
22356
  return _cloneRegExp(pattern).test(str);
22230
22357
  });
22231
22358
 
22232
- var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
22233
-
22234
- var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22359
+ var _excluded$o = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22235
22360
  var ButtonWithLink = function ButtonWithLink(_ref) {
22236
22361
  var _ref$url = _ref.url,
22237
22362
  url = _ref$url === void 0 ? "/" : _ref$url,
@@ -22239,12 +22364,14 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
22239
22364
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
22240
22365
  _ref$fileLink = _ref.fileLink,
22241
22366
  fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
22242
- extraStyles = _ref.extraStyles,
22243
- linkExtraStyles = _ref.linkExtraStyles,
22367
+ _ref$extraStyles = _ref.extraStyles,
22368
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
22369
+ _ref$linkExtraStyles = _ref.linkExtraStyles,
22370
+ linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles,
22244
22371
  _ref$newTab = _ref.newTab,
22245
22372
  newTab = _ref$newTab === void 0 ? false : _ref$newTab,
22246
22373
  dataQa = _ref.dataQa,
22247
- otherProps = _objectWithoutProperties(_ref, _excluded$n);
22374
+ otherProps = _objectWithoutProperties(_ref, _excluded$o);
22248
22375
  var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
22249
22376
  var children = _ref2.children,
22250
22377
  url = _ref2.url,
@@ -22332,7 +22459,7 @@ var ParagraphText = styled__default.p.withConfig({
22332
22459
  return extraStyles;
22333
22460
  });
22334
22461
 
22335
- var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22462
+ var _excluded$p = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22336
22463
  var Paragraph = function Paragraph(_ref) {
22337
22464
  var themeValues = _ref.themeValues,
22338
22465
  _ref$weight = _ref.weight,
@@ -22346,7 +22473,7 @@ var Paragraph = function Paragraph(_ref) {
22346
22473
  dataQa = _ref.dataQa,
22347
22474
  children = _ref.children,
22348
22475
  as = _ref.as,
22349
- rest = _objectWithoutProperties(_ref, _excluded$o);
22476
+ rest = _objectWithoutProperties(_ref, _excluded$p);
22350
22477
  return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
22351
22478
  weight: weight,
22352
22479
  color: color,
@@ -25655,7 +25782,7 @@ var mobileFallbackValues$1 = {
25655
25782
  };
25656
25783
  var MOBILE_BREAKPOINT$1 = 768;
25657
25784
 
25658
- var _excluded$p = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25785
+ var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25659
25786
 
25660
25787
  /*
25661
25788
  New responsive text component for Detail elements
@@ -25705,7 +25832,7 @@ var Detail = function Detail(_ref) {
25705
25832
  as = _ref$as === void 0 ? "p" : _ref$as,
25706
25833
  dataQa = _ref.dataQa,
25707
25834
  children = _ref.children,
25708
- rest = _objectWithoutProperties(_ref, _excluded$p);
25835
+ rest = _objectWithoutProperties(_ref, _excluded$q);
25709
25836
  return /*#__PURE__*/React__default.createElement(DetailText, _extends({
25710
25837
  variant: variant,
25711
25838
  as: as,
@@ -25844,7 +25971,7 @@ var useToastNotification = function useToastNotification() {
25844
25971
 
25845
25972
 
25846
25973
 
25847
- var index$4 = /*#__PURE__*/Object.freeze({
25974
+ var index$5 = /*#__PURE__*/Object.freeze({
25848
25975
  __proto__: null,
25849
25976
  useOutsideClick: useOutsideClickHook,
25850
25977
  useScrollTo: useScrollTo,
@@ -26415,7 +26542,7 @@ var fallbackValues$k = {
26415
26542
  formFooterPanel: formFooterPanel
26416
26543
  };
26417
26544
 
26418
- var _excluded$q = ["showErrors", "themeValues"],
26545
+ var _excluded$r = ["showErrors", "themeValues"],
26419
26546
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
26420
26547
  var InputField = styled__default.input.withConfig({
26421
26548
  displayName: "FormInput__InputField",
@@ -26450,7 +26577,7 @@ var InputField = styled__default.input.withConfig({
26450
26577
  var FormattedInputField = styled__default(function (_ref8) {
26451
26578
  var showErrors = _ref8.showErrors,
26452
26579
  themeValues = _ref8.themeValues,
26453
- props = _objectWithoutProperties(_ref8, _excluded$q);
26580
+ props = _objectWithoutProperties(_ref8, _excluded$r);
26454
26581
  return /*#__PURE__*/React__default.createElement(FormattedInput, props);
26455
26582
  }).withConfig({
26456
26583
  displayName: "FormInput__FormattedInputField",
@@ -26549,7 +26676,7 @@ var FormInput = function FormInput(_ref15) {
26549
26676
  color: themeValues.linkColor,
26550
26677
  weight: themeValues.fontWeight,
26551
26678
  hoverStyles: themeValues.hoverFocusStyles,
26552
- extraStyles: "cursor: pointer; &:focus { outline-offset: -2px; }",
26679
+ extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
26553
26680
  onClick: function onClick() {
26554
26681
  return setShowPassword(!showPassword);
26555
26682
  },
@@ -26622,7 +26749,7 @@ var FormInput = function FormInput(_ref15) {
26622
26749
  };
26623
26750
  var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
26624
26751
 
26625
- var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26752
+ var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26626
26753
  var FormInputRow = function FormInputRow(_ref) {
26627
26754
  var _ref$breakpoint = _ref.breakpoint,
26628
26755
  breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
@@ -26631,7 +26758,7 @@ var FormInputRow = function FormInputRow(_ref) {
26631
26758
  largeChild = _ref.largeChild,
26632
26759
  largeChildSize = _ref.largeChildSize,
26633
26760
  children = _ref.children,
26634
- rest = _objectWithoutProperties(_ref, _excluded$r);
26761
+ rest = _objectWithoutProperties(_ref, _excluded$s);
26635
26762
  return /*#__PURE__*/React__default.createElement(Box, _extends({
26636
26763
  padding: "0"
26637
26764
  }, rest), /*#__PURE__*/React__default.createElement(Switcher, {
@@ -26642,24 +26769,24 @@ var FormInputRow = function FormInputRow(_ref) {
26642
26769
  }, children));
26643
26770
  };
26644
26771
 
26645
- var _excluded$s = ["childGap", "bottomItem", "children"];
26772
+ var _excluded$t = ["childGap", "bottomItem", "children"];
26646
26773
  var FormInputColumn = function FormInputColumn(_ref) {
26647
26774
  var _ref$childGap = _ref.childGap,
26648
26775
  childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
26649
26776
  bottomItem = _ref.bottomItem,
26650
26777
  children = _ref.children,
26651
- rest = _objectWithoutProperties(_ref, _excluded$s);
26778
+ rest = _objectWithoutProperties(_ref, _excluded$t);
26652
26779
  return /*#__PURE__*/React__default.createElement(Stack, _extends({
26653
26780
  childGap: childGap,
26654
26781
  bottomItem: bottomItem
26655
26782
  }, rest), children);
26656
26783
  };
26657
26784
 
26658
- var _excluded$t = ["themeValues", "children"];
26785
+ var _excluded$u = ["themeValues", "children"];
26659
26786
  var FormContainer = function FormContainer(_ref) {
26660
26787
  var themeValues = _ref.themeValues,
26661
26788
  children = _ref.children,
26662
- rest = _objectWithoutProperties(_ref, _excluded$t);
26789
+ rest = _objectWithoutProperties(_ref, _excluded$u);
26663
26790
  var _useContext = React.useContext(styled.ThemeContext),
26664
26791
  isMobile = _useContext.isMobile;
26665
26792
  return /*#__PURE__*/React__default.createElement(Box, _extends({
@@ -26969,7 +27096,7 @@ var fallbackValues$o = {
26969
27096
  fontSize: fontSize$8
26970
27097
  };
26971
27098
 
26972
- var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
27099
+ var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
26973
27100
  var Heading = function Heading(_ref) {
26974
27101
  var themeValues = _ref.themeValues,
26975
27102
  _ref$weight = _ref.weight,
@@ -26988,7 +27115,7 @@ var Heading = function Heading(_ref) {
26988
27115
  as = _ref$as === void 0 ? variant : _ref$as,
26989
27116
  dataQa = _ref.dataQa,
26990
27117
  children = _ref.children,
26991
- rest = _objectWithoutProperties(_ref, _excluded$u);
27118
+ rest = _objectWithoutProperties(_ref, _excluded$v);
26992
27119
  return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
26993
27120
  variant: variant,
26994
27121
  as: as,
@@ -27189,11 +27316,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
27189
27316
  }, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
27190
27317
  };
27191
27318
 
27192
- var _excluded$v = ["version"];
27319
+ var _excluded$w = ["version"];
27193
27320
  var LabeledAmount = function LabeledAmount(_ref) {
27194
27321
  var _ref$version = _ref.version,
27195
27322
  version = _ref$version === void 0 ? "v1" : _ref$version,
27196
- rest = _objectWithoutProperties(_ref, _excluded$v);
27323
+ rest = _objectWithoutProperties(_ref, _excluded$w);
27197
27324
  var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
27198
27325
  return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
27199
27326
  };
@@ -27330,7 +27457,7 @@ var Loading = function Loading() {
27330
27457
  })))));
27331
27458
  };
27332
27459
 
27333
- var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
27460
+ var _excluded$x = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
27334
27461
  var NavFooter = function NavFooter(_ref) {
27335
27462
  var leftContent = _ref.leftContent,
27336
27463
  rightContent = _ref.rightContent,
@@ -27345,7 +27472,7 @@ var NavFooter = function NavFooter(_ref) {
27345
27472
  footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
27346
27473
  isMobile = _ref.isMobile,
27347
27474
  footerWidth = _ref.footerWidth,
27348
- rest = _objectWithoutProperties(_ref, _excluded$w);
27475
+ rest = _objectWithoutProperties(_ref, _excluded$x);
27349
27476
  return /*#__PURE__*/React__default.createElement(Box, _extends({
27350
27477
  padding: footerPadding,
27351
27478
  background: backgroundColor,
@@ -27376,7 +27503,7 @@ var NavFooter = function NavFooter(_ref) {
27376
27503
  }, rightContent)))))));
27377
27504
  };
27378
27505
 
27379
- var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27506
+ var _excluded$y = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27380
27507
  var NavHeader = function NavHeader(_ref) {
27381
27508
  var leftContent = _ref.leftContent,
27382
27509
  rightContent = _ref.rightContent,
@@ -27385,7 +27512,7 @@ var NavHeader = function NavHeader(_ref) {
27385
27512
  isMobile = _ref.isMobile,
27386
27513
  backgroundColor = _ref.backgroundColor,
27387
27514
  headerWidth = _ref.headerWidth,
27388
- rest = _objectWithoutProperties(_ref, _excluded$x);
27515
+ rest = _objectWithoutProperties(_ref, _excluded$y);
27389
27516
  return /*#__PURE__*/React__default.createElement(Box, _extends({
27390
27517
  padding: "0 16px 4px",
27391
27518
  background: backgroundColor,
@@ -27596,24 +27723,23 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
27596
27723
  action = _ref.action,
27597
27724
  destination = _ref.destination,
27598
27725
  children = _ref.children,
27599
- dataQa = _ref.dataQa,
27600
- _ref$disabled = _ref.disabled,
27601
- disabled = _ref$disabled === void 0 ? false : _ref$disabled;
27726
+ dataQa = _ref.dataQa;
27602
27727
  return isLink ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
27603
27728
  to: destination,
27604
27729
  "data-qa": dataQa,
27605
- "aria-disabled": disabled
27730
+ style: {
27731
+ textDecoration: "none"
27732
+ }
27606
27733
  }, /*#__PURE__*/React__default.createElement(Box, {
27607
27734
  padding: "0",
27608
27735
  minHeight: "100%",
27609
- extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
27736
+ extraStyles: "cursor: pointer;"
27610
27737
  }, children)) : /*#__PURE__*/React__default.createElement(Box, {
27611
- onClick: disabled ? noop : action,
27738
+ onClick: action,
27612
27739
  padding: "0",
27613
27740
  minHeight: "100%",
27614
- dataQa: dataQa,
27615
- "aria-disabled": disabled,
27616
- extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
27741
+ extraStyles: "cursor: pointer;",
27742
+ dataQa: dataQa
27617
27743
  }, children);
27618
27744
  };
27619
27745
  var Placeholder = function Placeholder(_ref2) {
@@ -27627,16 +27753,12 @@ var Placeholder = function Placeholder(_ref2) {
27627
27753
  variant = _ref2.variant,
27628
27754
  largeIcon = _ref2.largeIcon,
27629
27755
  themeValues = _ref2.themeValues,
27630
- dataQa = _ref2.dataQa,
27631
- _ref2$disabled = _ref2.disabled,
27632
- disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
27633
- var tintedColor = "".concat(curriedTint$1(0.9, themeValues.color));
27756
+ dataQa = _ref2.dataQa;
27634
27757
  return /*#__PURE__*/React__default.createElement(PlaceholderContentWrapper, {
27635
27758
  isLink: isLink,
27636
27759
  action: action,
27637
27760
  destination: destination,
27638
- dataQa: dataQa,
27639
- disabled: disabled
27761
+ dataQa: dataQa
27640
27762
  }, /*#__PURE__*/React__default.createElement(Box, {
27641
27763
  padding: "0",
27642
27764
  borderRadius: "4px",
@@ -27644,14 +27766,14 @@ var Placeholder = function Placeholder(_ref2) {
27644
27766
  minHeight: themeValues.height,
27645
27767
  hiddenStyles: !visible,
27646
27768
  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;"),
27647
- hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : tintedColor, ";")
27769
+ hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : curriedTint$1(0.9, themeValues.color), ";")
27648
27770
  }, /*#__PURE__*/React__default.createElement(Center, {
27649
27771
  maxWidth: "300px"
27650
27772
  }, /*#__PURE__*/React__default.createElement(Box, {
27651
27773
  padding: "0",
27652
27774
  tabIndex: "0",
27653
27775
  onKeyPress: function onKeyPress(e) {
27654
- return e.key === "Enter" && !disabled && action();
27776
+ return e.key === "Enter" && action();
27655
27777
  }
27656
27778
  }, /*#__PURE__*/React__default.createElement(Cluster, {
27657
27779
  justify: "center",
@@ -39027,14 +39149,6 @@ var NavTabs = function NavTabs(_ref) {
39027
39149
  }, tabs)));
39028
39150
  };
39029
39151
 
39030
-
39031
-
39032
- var index$5 = /*#__PURE__*/Object.freeze({
39033
- __proto__: null,
39034
- colors: colors,
39035
- fontWeights: style_constants
39036
- });
39037
-
39038
39152
  var shineFrames = styled.keyframes(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
39039
39153
  var LoadingPill = styled__default.div.withConfig({
39040
39154
  displayName: "LoadingPillstyled__LoadingPill",
@@ -39147,7 +39261,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
39147
39261
  return extraStyles;
39148
39262
  });
39149
39263
 
39150
- var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
39264
+ var _excluded$z = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
39151
39265
  var TableRow = function TableRow(_ref) {
39152
39266
  var children = _ref.children,
39153
39267
  extraStyles = _ref.extraStyles,
@@ -39156,7 +39270,7 @@ var TableRow = function TableRow(_ref) {
39156
39270
  hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
39157
39271
  onClick = _ref.onClick,
39158
39272
  themeValues = _ref.themeValues,
39159
- props = _objectWithoutProperties(_ref, _excluded$y);
39273
+ props = _objectWithoutProperties(_ref, _excluded$z);
39160
39274
  return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
39161
39275
  onClick: onClick,
39162
39276
  hoverEffect: hoverEffect,
@@ -42481,22 +42595,10 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
42481
42595
  var MISC_BILL_ICON = "MISC_SINGLE_BILL";
42482
42596
  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));
42483
42597
 
42484
- var activeBackgroundColor$1 = {
42485
- primary: "".concat(CORNFLOWER_BLUE),
42486
- disabled: "".concat(ATHENS_GREY)
42487
- };
42488
- var backgroundColor$9 = {
42489
- primary: "".concat(LINK_WATER),
42490
- disabled: "".concat(ATHENS_GREY)
42491
- };
42492
- var borderColor$5 = {
42493
- primary: "".concat(MOON_RAKER),
42494
- disabled: "".concat(MANATEE_GREY)
42495
- };
42496
- var color$b = {
42497
- primary: "".concat(ROYAL_BLUE_VIVID),
42498
- disabled: "".concat(MANATEE_GREY)
42499
- };
42598
+ var activeBackgroundColor$1 = CORNFLOWER_BLUE;
42599
+ var backgroundColor$9 = LINK_WATER;
42600
+ var borderColor$5 = MOON_RAKER;
42601
+ var color$b = ROYAL_BLUE_VIVID;
42500
42602
  var fallbackValues$I = {
42501
42603
  activeBackgroundColor: activeBackgroundColor$1,
42502
42604
  backgroundColor: backgroundColor$9,
@@ -42537,9 +42639,7 @@ var Footer = styled__default(Stack).withConfig({
42537
42639
  })(["align-items:center;width:100%;"]);
42538
42640
 
42539
42641
  var LinkCard = function LinkCard(_ref) {
42540
- var _ref$variant = _ref.variant,
42541
- variant = _ref$variant === void 0 ? "primary" : _ref$variant,
42542
- _ref$title = _ref.title,
42642
+ var _ref$title = _ref.title,
42543
42643
  title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
42544
42644
  _ref$subtitle = _ref.subtitle,
42545
42645
  subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
@@ -42573,8 +42673,7 @@ var LinkCard = function LinkCard(_ref) {
42573
42673
  extraStyles: extraStyles,
42574
42674
  hoverStyles: extraHoverStyles,
42575
42675
  activeStyles: extraActiveStyles,
42576
- onClick: variant === "disabled" ? noop : onClick,
42577
- "aria-disabled": variant === "disabled"
42676
+ onClick: onClick
42578
42677
  }, /*#__PURE__*/React__default.createElement(Stack, {
42579
42678
  childGap: 0,
42580
42679
  bottomItem: 3,
@@ -42607,7 +42706,7 @@ var LinkCard = function LinkCard(_ref) {
42607
42706
  justify: "space-between"
42608
42707
  }, showLeft && !leftContent && /*#__PURE__*/React__default.createElement(Box, null), showLeft && leftContent, showRight && rightContent))));
42609
42708
  };
42610
- var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "primary");
42709
+ var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
42611
42710
 
42612
42711
  var LoginForm = function LoginForm(_ref) {
42613
42712
  var clearOnDismount = _ref.clearOnDismount,
@@ -46480,10 +46579,6 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
46480
46579
  };
46481
46580
  var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
46482
46581
 
46483
- var ACH_METHOD = "BANK_ACCOUNT";
46484
- var CC_METHOD = "CREDIT_CARD";
46485
- var CASH_METHOD = "CASH";
46486
-
46487
46582
  var IconsModule = function IconsModule(_ref) {
46488
46583
  var icon = _ref.icon,
46489
46584
  iconDefault = _ref.iconDefault,
@@ -46563,9 +46658,7 @@ var AutopayModal = function AutopayModal(_ref) {
46563
46658
  inactive = _ref.inactive,
46564
46659
  description = _ref.description,
46565
46660
  subDescription = _ref.subDescription,
46566
- allowedPaymentInstruments = _ref.allowedPaymentInstruments,
46567
- _ref$isInCustomerMana = _ref.isInCustomerManagement,
46568
- isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
46661
+ allowedPaymentInstruments = _ref.allowedPaymentInstruments;
46569
46662
  var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
46570
46663
  var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
46571
46664
  var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
@@ -46594,7 +46687,6 @@ var AutopayModal = function AutopayModal(_ref) {
46594
46687
  case "secondary":
46595
46688
  {
46596
46689
  return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
46597
- disabled: isInCustomerManagement,
46598
46690
  text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
46599
46691
  variant: "secondary",
46600
46692
  action: function action() {
@@ -46607,7 +46699,6 @@ var AutopayModal = function AutopayModal(_ref) {
46607
46699
  case "tertiary":
46608
46700
  {
46609
46701
  return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
46610
- disabled: isInCustomerManagement,
46611
46702
  text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
46612
46703
  variant: "tertiary",
46613
46704
  action: function action() {
@@ -46724,9 +46815,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46724
46815
  dueDate = _ref.dueDate,
46725
46816
  description = _ref.description,
46726
46817
  subDescription = _ref.subDescription,
46727
- allowedPaymentInstruments = _ref.allowedPaymentInstruments,
46728
- _ref$isInCustomerMana = _ref.isInCustomerManagement,
46729
- isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
46818
+ allowedPaymentInstruments = _ref.allowedPaymentInstruments;
46730
46819
  var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
46731
46820
  var _useState = React.useState(false),
46732
46821
  _useState2 = _slicedToArray(_useState, 2),
@@ -46806,8 +46895,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46806
46895
  handleAutopayAction();
46807
46896
  },
46808
46897
  dataQa: "Set Up Autopay",
46809
- extraStyles: isMobile && "flex-grow: 1; width: 100%;",
46810
- disabled: isInCustomerManagement
46898
+ extraStyles: isMobile && "flex-grow: 1; width: 100%;"
46811
46899
  }) : /*#__PURE__*/React__default.createElement(AutopayModalModule, {
46812
46900
  autoPayActive: autoPayEnabled,
46813
46901
  autoPaySchedule: autoPaySchedule,
@@ -46833,8 +46921,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46833
46921
  },
46834
46922
  text: "Pay Now",
46835
46923
  variant: isMobile ? "smallSecondary" : "secondary",
46836
- dataQa: "Pay Now",
46837
- disabled: isInCustomerManagement
46924
+ dataQa: "Pay Now"
46838
46925
  }))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
46839
46926
  padding: "8px 0 0",
46840
46927
  width: "100%"
@@ -46846,8 +46933,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46846
46933
  text: "Pay Now",
46847
46934
  variant: isMobile ? "smallSecondary" : "secondary",
46848
46935
  dataQa: "Pay Now",
46849
- extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
46850
- disabled: isInCustomerManagement
46936
+ extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
46851
46937
  }))));
46852
46938
  };
46853
46939
 
@@ -47019,9 +47105,7 @@ var Obligation = function Obligation(_ref) {
47019
47105
  _ref$inactiveLookupIn = _ref.inactiveLookupInput,
47020
47106
  inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
47021
47107
  _ref$inactiveLookupVa = _ref.inactiveLookupValue,
47022
- inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa,
47023
- _ref$isInCustomerMana = _ref.isInCustomerManagement,
47024
- isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
47108
+ inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa;
47025
47109
  /*
47026
47110
  The value of obligations is always an array. It can contain:
47027
47111
  - A single obligation
@@ -47109,8 +47193,7 @@ var Obligation = function Obligation(_ref) {
47109
47193
  obligationAssocID: obligationAssocID,
47110
47194
  description: description,
47111
47195
  subDescription: subDescription,
47112
- allowedPaymentInstruments: allowedPaymentInstruments,
47113
- isInCustomerManagement: isInCustomerManagement
47196
+ allowedPaymentInstruments: allowedPaymentInstruments
47114
47197
  }))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
47115
47198
  obligations: obligations,
47116
47199
  autoPayEnabled: autoPayEnabled,
@@ -47128,8 +47211,7 @@ var Obligation = function Obligation(_ref) {
47128
47211
  obligationAssocID: obligationAssocID,
47129
47212
  description: description,
47130
47213
  subDescription: subDescription,
47131
- allowedPaymentInstruments: allowedPaymentInstruments,
47132
- isInCustomerManagement: isInCustomerManagement
47214
+ allowedPaymentInstruments: allowedPaymentInstruments
47133
47215
  }));
47134
47216
  var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
47135
47217
  padding: "0",
@@ -47414,6 +47496,7 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
47414
47496
  var Pagination = function Pagination(_ref3) {
47415
47497
  var _ref3$activeBorderWid = _ref3.activeBorderWidth,
47416
47498
  activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
47499
+ ariaLabel = _ref3.ariaLabel,
47417
47500
  arrowColor = _ref3.arrowColor,
47418
47501
  _ref3$borderRadius = _ref3.borderRadius,
47419
47502
  borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
@@ -47433,11 +47516,10 @@ var Pagination = function Pagination(_ref3) {
47433
47516
  pageNext = _ref3.pageNext,
47434
47517
  pagePrevious = _ref3.pagePrevious,
47435
47518
  setCurrentPage = _ref3.setCurrentPage,
47436
- ariaLabel = _ref3.ariaLabel,
47437
47519
  themeValues = _ref3.themeValues;
47438
47520
  var _useContext = React.useContext(styled.ThemeContext),
47439
47521
  isMobile = _useContext.isMobile;
47440
- var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\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 ");
47522
+ 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 ");
47441
47523
  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 ");
47442
47524
  return /*#__PURE__*/React__default.createElement(Cluster, {
47443
47525
  justify: "center",
@@ -47618,7 +47700,7 @@ var fallbackValues$N = {
47618
47700
  labeledAmountTotal: labeledAmountTotal
47619
47701
  };
47620
47702
 
47621
- var _excluded$z = ["amount"],
47703
+ var _excluded$A = ["amount"],
47622
47704
  _excluded2$1 = ["amount"];
47623
47705
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
47624
47706
  var lineItemElems = _ref.lineItemElems,
@@ -47858,7 +47940,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47858
47940
  return fee.amount > 0;
47859
47941
  }).map(function (_ref5) {
47860
47942
  var amount = _ref5.amount,
47861
- rest = _objectWithoutProperties(_ref5, _excluded$z);
47943
+ rest = _objectWithoutProperties(_ref5, _excluded$A);
47862
47944
  return _objectSpread2(_objectSpread2({}, rest), {}, {
47863
47945
  amount: displayCurrency(amount)
47864
47946
  });
@@ -47975,12 +48057,16 @@ var fontWeight$7 = {
47975
48057
  var modalLinkHoverFocus$1 = {
47976
48058
  "default": "outline: none; text-decoration: underline;"
47977
48059
  };
48060
+ var linkTextDecoration = {
48061
+ "default": LINK_TEXT_DECORATION
48062
+ };
47978
48063
  var fallbackValues$O = {
47979
48064
  linkColor: linkColor$5,
47980
48065
  fontSize: fontSize$a,
47981
48066
  lineHeight: lineHeight$4,
47982
48067
  fontWeight: fontWeight$7,
47983
- modalLinkHoverFocus: modalLinkHoverFocus$1
48068
+ modalLinkHoverFocus: modalLinkHoverFocus$1,
48069
+ linkTextDecoration: linkTextDecoration
47984
48070
  };
47985
48071
 
47986
48072
  var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
@@ -48034,6 +48120,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
48034
48120
  color: themeValues.linkColor,
48035
48121
  weight: themeValues.fontWeight,
48036
48122
  hoverStyles: themeValues.modalLinkHoverFocus,
48123
+ textDecoration: themeValues.linkTextDecoration,
48037
48124
  extraStyles: "cursor: pointer;",
48038
48125
  role: "button",
48039
48126
  className: "modal-trigger"
@@ -48070,6 +48157,10 @@ var modalLinkHoverFocus$2 = {
48070
48157
  "default": standardInteractionStyles,
48071
48158
  footer: standardInteractionStyles
48072
48159
  };
48160
+ var modalLinkTextDecoration = {
48161
+ "default": LINK_TEXT_DECORATION,
48162
+ footer: "none"
48163
+ };
48073
48164
  var fallbackValues$P = {
48074
48165
  backgroundColor: backgroundColor$d,
48075
48166
  linkColor: linkColor$6,
@@ -48077,7 +48168,8 @@ var fallbackValues$P = {
48077
48168
  fontSize: fontSize$b,
48078
48169
  lineHeight: lineHeight$5,
48079
48170
  fontWeight: fontWeight$8,
48080
- modalLinkHoverFocus: modalLinkHoverFocus$2
48171
+ modalLinkHoverFocus: modalLinkHoverFocus$2,
48172
+ modalLinkTextDecoration: modalLinkTextDecoration
48081
48173
  };
48082
48174
 
48083
48175
  var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
@@ -48134,6 +48226,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
48134
48226
  color: themeValues.linkColor,
48135
48227
  weight: themeValues.fontWeight,
48136
48228
  hoverStyles: themeValues.modalLinkHoverFocus,
48229
+ textDecoration: themeValues.modalLinkTextDecoration,
48137
48230
  extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
48138
48231
  role: "button" // This should always be a "button" since it opens a modal
48139
48232
  ,
@@ -48267,11 +48360,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48267
48360
  }, errorMessage))))));
48268
48361
  };
48269
48362
 
48270
- var _excluded$A = ["version"];
48363
+ var _excluded$B = ["version"];
48271
48364
  var TermsAndConditions = function TermsAndConditions(_ref) {
48272
48365
  var _ref$version = _ref.version,
48273
48366
  version = _ref$version === void 0 ? "v1" : _ref$version,
48274
- rest = _objectWithoutProperties(_ref, _excluded$A);
48367
+ rest = _objectWithoutProperties(_ref, _excluded$B);
48275
48368
  var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
48276
48369
  return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
48277
48370
  };
@@ -49070,7 +49163,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
49070
49163
  }, section.content))));
49071
49164
  };
49072
49165
 
49073
- var _excluded$B = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
49166
+ var _excluded$C = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
49074
49167
 
49075
49168
  /**
49076
49169
  - The RadioSection component takes either a flat array (via the 'sections'
@@ -49118,7 +49211,7 @@ var RadioSection = function RadioSection(_ref) {
49118
49211
  _ref$isSectionRequire = _ref.isSectionRequired,
49119
49212
  isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
49120
49213
  groupedSections = _ref.groupedSections,
49121
- rest = _objectWithoutProperties(_ref, _excluded$B);
49214
+ rest = _objectWithoutProperties(_ref, _excluded$C);
49122
49215
  var _useState = React.useState(null),
49123
49216
  _useState2 = _slicedToArray(_useState, 2),
49124
49217
  focused = _useState2[0],
@@ -49590,7 +49683,7 @@ var TabSidebar = function TabSidebar(_ref) {
49590
49683
  return /*#__PURE__*/React__default.createElement(InternalLink, {
49591
49684
  to: route,
49592
49685
  key: "".concat(route, "-").concat(index),
49593
- extraStyles: "&:hover {\n text-decoration: none; \n ".concat(active ? "> * {\n background-color: ".concat(themeValues.activeTabHover, ";\n }") : "> * { \n background-color: rgba(8, 27, 43, 0.05);\n }", "}")
49686
+ 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 }", "}")
49594
49687
  }, /*#__PURE__*/React__default.createElement(Box, {
49595
49688
  padding: isMobile ? "6px 4px" : "18px 16px",
49596
49689
  background: active ? themeValues.activeTabBackground : "transparent",
@@ -49799,8 +49892,225 @@ var WorkflowTile = function WorkflowTile(_ref) {
49799
49892
  }))));
49800
49893
  };
49801
49894
 
49802
- var pageBackground = "#FBFCFD";
49895
+ var menuItemBackgroundColor = WHITE;
49896
+ var menuItemColor = ROYAL_BLUE_VIVID;
49897
+ var menuItemColorDelete = RAZZMATAZZ_RED;
49898
+ var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
49899
+ var menuItemHoverBackgroundColorDelete = BLUSH_RED;
49900
+ var menuItemHoverColor = ROYAL_BLUE_VIVID;
49803
49901
  var fallbackValues$U = {
49902
+ menuItemBackgroundColor: menuItemBackgroundColor,
49903
+ menuItemColor: menuItemColor,
49904
+ menuItemColorDelete: menuItemColorDelete,
49905
+ menuItemHoverBackgroundColor: menuItemHoverBackgroundColor,
49906
+ menuItemHoverBackgroundColorDelete: menuItemHoverBackgroundColorDelete,
49907
+ menuItemHoverColor: menuItemHoverColor
49908
+ };
49909
+
49910
+ var PopupMenuItemContainer = styled__default(ButtonWithAction).withConfig({
49911
+ displayName: "PopupMenuItemstyled__PopupMenuItemContainer",
49912
+ componentId: "sc-urj1su-0"
49913
+ })(["width:100%;margin:0;padding:17px 11px;margin-bottom:5px;border:0;cursor:pointer;text-decoration:none;", " &:hover,&:active{text-decoration:none;", "}"], function (_ref) {
49914
+ var theme = _ref.theme,
49915
+ isDeleteAction = _ref.isDeleteAction;
49916
+ return "\n background-color: ".concat(theme.menuItemBackgroundColor, ";\n color: ").concat(isDeleteAction ? theme.menuItemColorDelete : theme.menuItemColor, ";\n ");
49917
+ }, function (_ref2) {
49918
+ var theme = _ref2.theme,
49919
+ isDeleteAction = _ref2.isDeleteAction;
49920
+ return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
49921
+ });
49922
+
49923
+ var _excluded$D = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
49924
+ var PopupMenuItem = function PopupMenuItem(_ref) {
49925
+ var id = _ref.id,
49926
+ closeMenuCallback = _ref.closeMenuCallback,
49927
+ _action = _ref.action,
49928
+ themeValues = _ref.themeValues,
49929
+ text = _ref.text,
49930
+ _ref$hasIcon = _ref.hasIcon,
49931
+ hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
49932
+ _ref$isDeleteAction = _ref.isDeleteAction,
49933
+ isDeleteAction = _ref$isDeleteAction === void 0 ? false : _ref$isDeleteAction,
49934
+ Icon = _ref.icon,
49935
+ textExtraStyles = _ref.textExtraStyles,
49936
+ hoverStyles = _ref.hoverStyles,
49937
+ activeStyles = _ref.activeStyles,
49938
+ extraStyles = _ref.extraStyles,
49939
+ rest = _objectWithoutProperties(_ref, _excluded$D);
49940
+ return /*#__PURE__*/React__default.createElement(PopupMenuItemContainer, _extends({
49941
+ id: id,
49942
+ role: "menuItem",
49943
+ text: text,
49944
+ action: function action() {
49945
+ _action();
49946
+ closeMenuCallback();
49947
+ },
49948
+ variant: "smallGhost",
49949
+ isDeleteAction: isDeleteAction,
49950
+ theme: themeValues,
49951
+ contentOverride: true,
49952
+ textExtraStyles: textExtraStyles,
49953
+ hoverStyles: hoverStyles,
49954
+ extraStyles: extraStyles,
49955
+ activeStyles: "outline: none; ".concat(activeStyles)
49956
+ }, rest), /*#__PURE__*/React__default.createElement(Box, {
49957
+ extraStyles: "\n display: flex;\n gap: 8px;\n justify-content: center;\n padding: 0;\n "
49958
+ }, hasIcon && /*#__PURE__*/React__default.createElement(Icon, {
49959
+ iconFill: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor
49960
+ }), text && /*#__PURE__*/React__default.createElement(Text$1, {
49961
+ variant: "pS",
49962
+ weight: FONT_WEIGHT_SEMIBOLD,
49963
+ fontFamily: "Public Sans, sans-serif",
49964
+ color: isDeleteAction ? themeValues.menuItemColorDelete : themeValues.menuItemColor,
49965
+ extraStyles: textExtraStyles
49966
+ }, text)));
49967
+ };
49968
+ var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$U);
49969
+
49970
+ var hoverColor$6 = "#116285";
49971
+ var activeColor$a = "#0E506D";
49972
+ var menuTriggerColor = "#15749D";
49973
+ var backgroundColor$e = "white";
49974
+ var fallbackValues$V = {
49975
+ hoverColor: hoverColor$6,
49976
+ activeColor: activeColor$a,
49977
+ menuTriggerColor: menuTriggerColor,
49978
+ backgroundColor: backgroundColor$e
49979
+ };
49980
+
49981
+ var PopupMenuContainer = styled__default(Box).withConfig({
49982
+ displayName: "PopupMenustyled__PopupMenuContainer",
49983
+ componentId: "sc-1ge13q9-0"
49984
+ })(["display:flex;position:relative;padding:0;"]);
49985
+ var PopupMenuTriggerButton = styled__default(ButtonWithAction).withConfig({
49986
+ displayName: "PopupMenustyled__PopupMenuTriggerButton",
49987
+ componentId: "sc-1ge13q9-1"
49988
+ })(["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);}"]);
49989
+
49990
+ var PopupMenu = function PopupMenu(_ref) {
49991
+ var _ref$menuId = _ref.menuId,
49992
+ menuId = _ref$menuId === void 0 ? "popup-menu" : _ref$menuId,
49993
+ _ref$menuItems = _ref.menuItems,
49994
+ menuItems = _ref$menuItems === void 0 ? [] : _ref$menuItems,
49995
+ themeValues = _ref.themeValues,
49996
+ _ref$triggerText = _ref.triggerText,
49997
+ triggerText = _ref$triggerText === void 0 ? "trigger text" : _ref$triggerText,
49998
+ _ref$hasIcon = _ref.hasIcon,
49999
+ hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
50000
+ Icon = _ref.icon,
50001
+ _ref$iconHelpText = _ref.iconHelpText,
50002
+ iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
50003
+ menuFocus = _ref.menuFocus,
50004
+ containerExtraStyles = _ref.containerExtraStyles,
50005
+ textExtraStyles = _ref.textExtraStyles,
50006
+ _ref$minWidth = _ref.minWidth,
50007
+ minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
50008
+ _ref$maxWidth = _ref.maxWidth,
50009
+ maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
50010
+ _ref$height = _ref.height,
50011
+ height = _ref$height === void 0 ? "auto" : _ref$height,
50012
+ position = _ref.position,
50013
+ _ref$transform = _ref.transform,
50014
+ transform = _ref$transform === void 0 ? "none" : _ref$transform,
50015
+ buttonExtraStyles = _ref.buttonExtraStyles,
50016
+ popupExtraStyles = _ref.popupExtraStyles;
50017
+ var hoverColor = themeValues.hoverColor,
50018
+ activeColor = themeValues.activeColor,
50019
+ menuTriggerColor = themeValues.menuTriggerColor,
50020
+ backgroundColor = themeValues.backgroundColor;
50021
+ var _ref2 = position !== null && position !== void 0 ? position : {},
50022
+ _ref2$top = _ref2.top,
50023
+ top = _ref2$top === void 0 ? "".concat(height, "px") : _ref2$top,
50024
+ _ref2$right = _ref2.right,
50025
+ right = _ref2$right === void 0 ? "auto" : _ref2$right,
50026
+ _ref2$bottom = _ref2.bottom,
50027
+ bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
50028
+ _ref2$left = _ref2.left,
50029
+ left = _ref2$left === void 0 ? "0" : _ref2$left;
50030
+ var _useState = React.useState(false),
50031
+ _useState2 = _slicedToArray(_useState, 2),
50032
+ isMenuOpen = _useState2[0],
50033
+ setIsMenuOpen = _useState2[1];
50034
+ var menuRef = React.useRef();
50035
+ var triggerRef = React.useRef();
50036
+ var toggleMenu = function toggleMenu(menuState) {
50037
+ return setIsMenuOpen(menuState);
50038
+ };
50039
+ React.useEffect(function () {
50040
+ var checkIfClickedOutside = function checkIfClickedOutside(e) {
50041
+ // If the menu is open and the clicked target is not within the menu or the trigger
50042
+ if (isMenuOpen && menuRef.current && !menuRef.current.contains(e.target) && triggerRef.current && !triggerRef.current.contains(e.target)) {
50043
+ toggleMenu(false);
50044
+ }
50045
+ };
50046
+ document.addEventListener("click", checkIfClickedOutside);
50047
+ return function () {
50048
+ document.removeEventListener("click", checkIfClickedOutside);
50049
+ };
50050
+ }, [isMenuOpen]);
50051
+ return /*#__PURE__*/React__default.createElement(PopupMenuContainer, {
50052
+ extraStyles: containerExtraStyles
50053
+ }, /*#__PURE__*/React__default.createElement(PopupMenuTriggerButton, {
50054
+ ref: triggerRef,
50055
+ action: function action() {
50056
+ toggleMenu(!isMenuOpen);
50057
+ },
50058
+ onKeyDown: function onKeyDown(e) {
50059
+ if (e.key === "Escape") {
50060
+ toggleMenu(false);
50061
+ }
50062
+ },
50063
+ contentOverride: true,
50064
+ variant: "smallGhost",
50065
+ tabIndex: "0",
50066
+ id: menuId,
50067
+ borderRadius: "8px",
50068
+ "aria-haspopup": "true",
50069
+ "aria-expanded": isMenuOpen,
50070
+ "aria-controls": "".concat(menuId, "-container"),
50071
+ extraStyles: buttonExtraStyles
50072
+ }, hasIcon && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, null), /*#__PURE__*/React__default.createElement(Box, {
50073
+ padding: "0",
50074
+ srOnly: true
50075
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
50076
+ id: "btn".concat(menuId, "_info")
50077
+ }, iconHelpText))), !hasIcon && /*#__PURE__*/React__default.createElement(Text$1, {
50078
+ color: menuTriggerColor,
50079
+ extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
50080
+ }, triggerText)), /*#__PURE__*/React__default.createElement(Box, {
50081
+ as: "div",
50082
+ id: "".concat(menuId, "-container"),
50083
+ ref: menuRef,
50084
+ onKeyDown: function onKeyDown(e) {
50085
+ if (e.key === "Escape") {
50086
+ toggleMenu(false);
50087
+ }
50088
+ },
50089
+ background: backgroundColor,
50090
+ borderRadius: "8px",
50091
+ 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 ",
50092
+ role: "menu",
50093
+ "aria-labelledby": menuId,
50094
+ tabIndex: menuFocus && isMenuOpen ? "0" : "-1",
50095
+ minWidth: minWidth,
50096
+ maxWidth: maxWidth,
50097
+ 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 ")
50098
+ }, menuItems.map(function (item, index) {
50099
+ return /*#__PURE__*/React__default.createElement(PopupMenuItem$1, _extends({
50100
+ key: index,
50101
+ id: "".concat(menuId, "-item-").concat(index),
50102
+ closeMenuCallback: function closeMenuCallback() {
50103
+ toggleMenu(false);
50104
+ // focus back to trigger button when menu closes
50105
+ triggerRef.current.focus();
50106
+ }
50107
+ }, item));
50108
+ })));
50109
+ };
50110
+ var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$V);
50111
+
50112
+ var pageBackground = "#FBFCFD";
50113
+ var fallbackValues$W = {
49804
50114
  pageBackground: pageBackground
49805
50115
  };
49806
50116
 
@@ -49848,7 +50158,7 @@ var CenterSingle = function CenterSingle(_ref) {
49848
50158
  padding: "0"
49849
50159
  })));
49850
50160
  };
49851
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$U));
50161
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
49852
50162
 
49853
50163
  var CenterStack = function CenterStack(_ref) {
49854
50164
  var header = _ref.header,
@@ -49891,7 +50201,7 @@ var CenterStack = function CenterStack(_ref) {
49891
50201
  padding: "0"
49892
50202
  })));
49893
50203
  };
49894
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$U));
50204
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
49895
50205
 
49896
50206
  var CenterSingle$2 = function CenterSingle(_ref) {
49897
50207
  var header = _ref.header,
@@ -49906,13 +50216,15 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49906
50216
  _ref$gutters = _ref.gutters,
49907
50217
  gutters = _ref$gutters === void 0 ? "2rem" : _ref$gutters,
49908
50218
  _ref$fillPageVertical = _ref.fillPageVertical,
49909
- fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical;
50219
+ fillPageVertical = _ref$fillPageVertical === void 0 ? false : _ref$fillPageVertical,
50220
+ _ref$background = _ref.background,
50221
+ background = _ref$background === void 0 ? COOL_GREY_05 : _ref$background;
49910
50222
  var themeContext = React.useContext(styled.ThemeContext);
49911
50223
  var isMobile = themeContext.isMobile;
49912
50224
  return /*#__PURE__*/React__default.createElement(Box, {
49913
50225
  padding: "0",
49914
50226
  minWidth: "100%",
49915
- background: COOL_GREY_05,
50227
+ background: background,
49916
50228
  extraStyles: "flex-grow: 1;"
49917
50229
  }, /*#__PURE__*/React__default.createElement(Cover, {
49918
50230
  childGap: "0",
@@ -49935,7 +50247,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49935
50247
  padding: "0"
49936
50248
  })));
49937
50249
  };
49938
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$U));
50250
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
49939
50251
 
49940
50252
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
49941
50253
  var header = _ref.header,
@@ -49988,7 +50300,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
49988
50300
  padding: "0"
49989
50301
  })));
49990
50302
  };
49991
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$U));
50303
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
49992
50304
 
49993
50305
  var SidebarStackContent = function SidebarStackContent(_ref) {
49994
50306
  var header = _ref.header,
@@ -50058,7 +50370,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
50058
50370
  key: "footer-box"
50059
50371
  })));
50060
50372
  };
50061
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$U));
50373
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
50062
50374
 
50063
50375
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
50064
50376
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
@@ -50136,6 +50448,7 @@ exports.Checkbox = Checkbox$1;
50136
50448
  exports.CheckboxList = CheckboxList$1;
50137
50449
  exports.CheckmarkIcon = CheckmarkIcon;
50138
50450
  exports.ChevronIcon = ChevronIcon$1;
50451
+ exports.CloseIcon = CloseIcon;
50139
50452
  exports.Cluster = Cluster;
50140
50453
  exports.CollapsibleSection = CollapsibleSection$1;
50141
50454
  exports.Copyable = Copyable;
@@ -50230,6 +50543,7 @@ exports.Placeholder = Placeholder$1;
50230
50543
  exports.PlusCircleIcon = PlusCircleIcon;
50231
50544
  exports.PointOfSaleImage = PointOfSaleImage;
50232
50545
  exports.Popover = Popover$1;
50546
+ exports.PopupMenu = PopupMenu$1;
50233
50547
  exports.ProcessingFee = ProcessingFee$1;
50234
50548
  exports.ProfileIcon = ProfileIcon$1;
50235
50549
  exports.ProfileIconSmall = ProfileIconSmall$1;
@@ -50288,6 +50602,7 @@ exports.Title = Title$1;
50288
50602
  exports.ToastNotification = ToastNotification;
50289
50603
  exports.ToggleSwitch = ToggleSwitch$1;
50290
50604
  exports.TrashIcon = TrashIcon$1;
50605
+ exports.TrashIconV2 = TrashIconV2$1;
50291
50606
  exports.TypeaheadInput = TypeaheadInput;
50292
50607
  exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
50293
50608
  exports.VoidedIcon = VoidedIcon;
@@ -50300,10 +50615,10 @@ exports.WorkflowTile = WorkflowTile;
50300
50615
  exports.XCircleIconMedium = XCircleIconMedium;
50301
50616
  exports.XCircleIconSmall = XCircleIconSmall;
50302
50617
  exports.cardRegistry = cardRegistry;
50303
- exports.constants = index$5;
50618
+ exports.constants = index$4;
50304
50619
  exports.createPartialAmountFormState = createPartialAmountFormState;
50305
50620
  exports.createPartialAmountFormValidators = createPartialAmountFormValidators;
50306
- exports.hooks = index$4;
50621
+ exports.hooks = index$5;
50307
50622
  exports.util = index$6;
50308
50623
  exports.withWindowSize = withWindowSize;
50309
50624
  //# sourceMappingURL=index.cjs.js.map