@thecb/components 10.2.4-beta.9 → 10.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +2 -2
  2. package/dist/index.cjs.js +588 -287
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.d.ts +64 -1
  5. package/dist/index.esm.js +584 -286
  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 -47
  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,25 +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",
12574
- smallDisabled: "0.75rem 1rem"
12613
+ whitePrimary: "1.125rem 0.75rem"
12575
12614
  };
12576
12615
  var color$1 = {
12577
- primary: WHITE,
12578
- secondary: MATISSE_BLUE,
12579
- back: MATISSE_BLUE,
12580
- smallPrimary: WHITE,
12581
- smallSecondary: MATISSE_BLUE,
12582
- smallGhost: MATISSE_BLUE,
12583
- ghost: MATISSE_BLUE,
12584
- tertiary: MATISSE_BLUE,
12585
- danger: WHITE,
12586
- dangerSecondary: ERROR_COLOR,
12587
- whiteSecondary: WHITE,
12588
- whitePrimary: WHITE,
12589
- disabled: MANATEE_GREY,
12590
- smallDisabled: 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
12591
12628
  };
12592
12629
  var fontSizeVariant = {
12593
12630
  primary: "pS",
@@ -12601,9 +12638,7 @@ var fontSizeVariant = {
12601
12638
  danger: "pS",
12602
12639
  dangerSecondary: "pS",
12603
12640
  whiteSecondary: "pS",
12604
- whitePrimary: "pS",
12605
- disabled: "pS",
12606
- smallDisabled: "pS"
12641
+ whitePrimary: "pS"
12607
12642
  };
12608
12643
  var fontWeight = {
12609
12644
  primary: "600",
@@ -12617,9 +12652,7 @@ var fontWeight = {
12617
12652
  danger: "600",
12618
12653
  dangerSecondary: "600",
12619
12654
  whiteSecondary: "600",
12620
- whitePrimary: "600",
12621
- disabled: "600",
12622
- smallDisabled: "600"
12655
+ whitePrimary: "600"
12623
12656
  };
12624
12657
  var height = {
12625
12658
  primary: "3rem",
@@ -12633,9 +12666,7 @@ var height = {
12633
12666
  danger: "3rem",
12634
12667
  dangerSecondary: "3rem",
12635
12668
  whiteSecondary: "3rem",
12636
- whitePrimary: "auto",
12637
- disabled: "3rem",
12638
- smallDisabled: "2.5rem"
12669
+ whitePrimary: "auto"
12639
12670
  };
12640
12671
  var minWidth = {
12641
12672
  primary: "130px",
@@ -12649,137 +12680,133 @@ var minWidth = {
12649
12680
  danger: "130px",
12650
12681
  dangerSecondary: "157px",
12651
12682
  whiteSecondary: "160px",
12652
- whitePrimary: "130px",
12653
- disabled: "130px",
12654
- smallDisabled: "100px"
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"
12655
12698
  };
12656
12699
  var backgroundColor = {
12657
- primary: MATISSE_BLUE,
12658
- secondary: TRANSPARENT,
12659
- back: TRANSPARENT,
12660
- smallPrimary: MATISSE_BLUE,
12661
- smallSecondary: TRANSPARENT,
12662
- smallGhost: TRANSPARENT,
12663
- ghost: TRANSPARENT,
12664
- tertiary: TRANSPARENT,
12665
- danger: RASPBERRY,
12666
- dangerSecondary: TRANSPARENT,
12667
- whiteSecondary: TRANSPARENT,
12668
- whitePrimary: TRANSPARENT,
12669
- disabled: GRECIAN_GREY,
12670
- smallDisabled: 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
12671
12712
  };
12672
12713
  var border = {
12673
- primary: "2px solid " + MATISSE_BLUE,
12674
- secondary: "2px solid " + MATISSE_BLUE,
12675
- back: "2px solid " + MATISSE_BLUE,
12676
- smallPrimary: "2px solid " + MATISSE_BLUE,
12677
- 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,
12678
12719
  smallGhost: "none",
12679
12720
  ghost: "none",
12680
12721
  tertiary: "none",
12681
- danger: "2px solid " + RASPBERRY,
12682
- dangerSecondary: "2px solid " + ERROR_COLOR,
12683
- whiteSecondary: "2px solid " + WHITE,
12684
- whitePrimary: "2px solid " + TRANSPARENT,
12685
- disabled: "2px solid " + MANATEE_GREY,
12686
- smallDisabled: "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
12687
12726
  };
12688
12727
  var hoverBackgroundColor = {
12689
- primary: SAPPHIRE_BLUE,
12728
+ primary: SAPPHIRE_BLUE$1,
12690
12729
  secondary: "#DBEAF0",
12691
- back: TRANSPARENT,
12692
- smallPrimary: SAPPHIRE_BLUE,
12730
+ back: TRANSPARENT$1,
12731
+ smallPrimary: SAPPHIRE_BLUE$1,
12693
12732
  smallSecondary: "#DBEAF0",
12694
- smallGhost: TRANSPARENT,
12695
- ghost: TRANSPARENT,
12696
- tertiary: TRANSPARENT,
12733
+ smallGhost: TRANSPARENT$1,
12734
+ ghost: TRANSPARENT$1,
12735
+ tertiary: TRANSPARENT$1,
12697
12736
  danger: "#BA002C",
12698
12737
  dangerSecondary: "#FAE7EE",
12699
- whiteSecondary: TRANSPARENT,
12700
- whitePrimary: TRANSPARENT,
12701
- disabled: TRANSPARENT,
12702
- smallDisabled: TRANSPARENT
12738
+ whiteSecondary: TRANSPARENT$1,
12739
+ whitePrimary: TRANSPARENT$1
12703
12740
  };
12704
12741
  var hoverBorderColor = {
12705
- primary: SAPPHIRE_BLUE,
12706
- secondary: MATISSE_BLUE,
12742
+ primary: SAPPHIRE_BLUE$1,
12743
+ secondary: MATISSE_BLUE$1,
12707
12744
  back: "#DCEAF1",
12708
- smallPrimary: SAPPHIRE_BLUE,
12709
- smallSecondary: MATISSE_BLUE,
12710
- smallGhost: TRANSPARENT,
12711
- ghost: TRANSPARENT,
12712
- tertiary: TRANSPARENT,
12745
+ smallPrimary: SAPPHIRE_BLUE$1,
12746
+ smallSecondary: MATISSE_BLUE$1,
12747
+ smallGhost: TRANSPARENT$1,
12748
+ ghost: TRANSPARENT$1,
12749
+ tertiary: TRANSPARENT$1,
12713
12750
  danger: "#BA002C",
12714
12751
  dangerSecondary: "#B10541",
12715
- whiteSecondary: "2px solid " + TRANSPARENT,
12716
- whitePrimary: "2px solid " + TRANSPARENT,
12717
- disabled: MANATEE_GREY,
12718
- smallDisabled: MANATEE_GREY
12752
+ whiteSecondary: "2px solid " + TRANSPARENT$1,
12753
+ whitePrimary: "2px solid " + TRANSPARENT$1
12719
12754
  };
12720
12755
  var hoverColor = {
12721
- primary: WHITE,
12722
- secondary: SAPPHIRE_BLUE,
12723
- back: SAPPHIRE_BLUE,
12724
- smallPrimary: WHITE,
12725
- smallSecondary: SAPPHIRE_BLUE,
12726
- smallGhost: SAPPHIRE_BLUE,
12727
- ghost: SAPPHIRE_BLUE,
12728
- tertiary: SAPPHIRE_BLUE,
12729
- 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,
12730
12765
  dangerSecondary: "#B10541",
12731
- whiteSecondary: WHITE,
12732
- whitePrimary: WHITE,
12733
- disabled: MANATEE_GREY,
12734
- smallDisabled: MANATEE_GREY
12766
+ whiteSecondary: WHITE$1,
12767
+ whitePrimary: WHITE$1
12735
12768
  };
12736
12769
  var activeBackgroundColor = {
12737
- primary: PEACOCK_BLUE,
12770
+ primary: PEACOCK_BLUE$1,
12738
12771
  secondary: "#B8D5E1",
12739
- back: TRANSPARENT,
12740
- smallPrimary: PEACOCK_BLUE,
12772
+ back: TRANSPARENT$1,
12773
+ smallPrimary: PEACOCK_BLUE$1,
12741
12774
  smallSecondary: "#B8D5E1",
12742
- smallGhost: TRANSPARENT,
12743
- ghost: TRANSPARENT,
12744
- tertiary: TRANSPARENT,
12775
+ smallGhost: TRANSPARENT$1,
12776
+ ghost: TRANSPARENT$1,
12777
+ tertiary: TRANSPARENT$1,
12745
12778
  danger: "#870000",
12746
12779
  dangerSecondary: "#FAE7EE",
12747
- whiteSecondary: TRANSPARENT,
12748
- whitePrimary: TRANSPARENT,
12749
- disabled: TRANSPARENT,
12750
- smallDisabled: TRANSPARENT
12780
+ whiteSecondary: TRANSPARENT$1,
12781
+ whitePrimary: TRANSPARENT$1
12751
12782
  };
12752
12783
  var activeBorderColor = {
12753
- primary: PEACOCK_BLUE,
12754
- secondary: MATISSE_BLUE,
12755
- back: PEACOCK_BLUE,
12756
- smallPrimary: PEACOCK_BLUE,
12757
- smallSecondary: MATISSE_BLUE,
12758
- smallGhost: TRANSPARENT,
12759
- ghost: TRANSPARENT,
12760
- 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,
12761
12792
  danger: "#870000",
12762
12793
  dangerSecondary: "#910029",
12763
- whiteSecondary: "2px solid " + TRANSPARENT,
12764
- whitePrimary: "2px solid " + TRANSPARENT,
12765
- disabled: TRANSPARENT,
12766
- smallDisabled: TRANSPARENT
12794
+ whiteSecondary: "2px solid " + TRANSPARENT$1,
12795
+ whitePrimary: "2px solid " + TRANSPARENT$1
12767
12796
  };
12768
12797
  var activeColor = {
12769
- primary: WHITE,
12770
- secondary: MATISSE_BLUE,
12771
- back: PEACOCK_BLUE,
12772
- smallPrimary: WHITE,
12773
- smallSecondary: PEACOCK_BLUE,
12774
- smallGhost: PEACOCK_BLUE,
12775
- ghost: PEACOCK_BLUE,
12776
- tertiary: PEACOCK_BLUE,
12777
- 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,
12778
12807
  dangerSecondary: "#910029",
12779
- whiteSecondary: WHITE,
12780
- whitePrimary: WHITE,
12781
- disabled: MANATEE_GREY,
12782
- smallDisabled: MANATEE_GREY
12808
+ whiteSecondary: WHITE$1,
12809
+ whitePrimary: WHITE$1
12783
12810
  };
12784
12811
  var fallbackValues$1 = {
12785
12812
  padding: padding,
@@ -12788,6 +12815,7 @@ var fallbackValues$1 = {
12788
12815
  fontWeight: fontWeight,
12789
12816
  height: height,
12790
12817
  minWidth: minWidth,
12818
+ textDecoration: textDecoration,
12791
12819
  backgroundColor: backgroundColor,
12792
12820
  border: border,
12793
12821
  hoverBackgroundColor: hoverBackgroundColor,
@@ -12911,7 +12939,7 @@ var Spinner = function Spinner(_ref) {
12911
12939
 
12912
12940
  Note: the children prop is only used if contentOverride is set to true, in which case
12913
12941
  the text prop is ignored.
12914
-
12942
+
12915
12943
  */
12916
12944
 
12917
12945
  var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
@@ -12939,13 +12967,12 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12939
12967
  children = _ref2.children,
12940
12968
  extraDisabledStyles = _ref2.extraDisabledStyles,
12941
12969
  rest = _objectWithoutProperties(_ref2, _excluded$h);
12942
- var isGhostVariant = variant === "ghost" || variant === "smallGhost";
12943
12970
  var themeContext = React.useContext(styled.ThemeContext);
12944
12971
  var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
12945
12972
  var isMobile = themeContext.isMobile;
12946
- 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 ");
12947
- 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 ");
12948
- 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 ");
12949
12976
  return /*#__PURE__*/React__default.createElement(Box, _extends({
12950
12977
  ref: ref,
12951
12978
  variant: variant,
@@ -12975,8 +13002,9 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12975
13002
  weight: themeValues.fontWeight,
12976
13003
  variant: themeValues.fontSizeVariant,
12977
13004
  color: themeValues.color,
13005
+ textDecoration: themeValues.textDecoration,
12978
13006
  textWrap: textWrap,
12979
- extraStyles: disabled ? textExtraStyles + disabledStyles : textExtraStyles
13007
+ extraStyles: textExtraStyles
12980
13008
  }, text)));
12981
13009
  });
12982
13010
 
@@ -18280,6 +18308,84 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
18280
18308
  }));
18281
18309
  };
18282
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
+
18283
18389
  var color$2 = "#15749D";
18284
18390
  var hoverColor$1 = "#116285";
18285
18391
  var activeColor$1 = "#0E506D";
@@ -18926,7 +19032,7 @@ var mobileFallbackValues = {
18926
19032
  };
18927
19033
  var MOBILE_BREAKPOINT = 768;
18928
19034
 
18929
- 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"];
18930
19036
 
18931
19037
  /*
18932
19038
  New responsive text component for Title elements
@@ -18973,7 +19079,7 @@ var Title = function Title(_ref) {
18973
19079
  as = _ref$as === void 0 ? "h1" : _ref$as,
18974
19080
  dataQa = _ref.dataQa,
18975
19081
  children = _ref.children,
18976
- rest = _objectWithoutProperties(_ref, _excluded$j);
19082
+ rest = _objectWithoutProperties(_ref, _excluded$k);
18977
19083
  return /*#__PURE__*/React__default.createElement(TitleText, _extends({
18978
19084
  variant: variant,
18979
19085
  as: as,
@@ -19015,15 +19121,13 @@ var background$1 = {
19015
19121
  info: "".concat(INFO_BLUE),
19016
19122
  warn: "".concat(HALF_COLONIAL_WHITE),
19017
19123
  primary: "".concat(CORNFLOWER_BLUE),
19018
- success: "".concat(HINT_GREEN),
19019
- disabled: "".concat(GRECIAN_GREY)
19124
+ success: "".concat(HINT_GREEN)
19020
19125
  };
19021
19126
  var color$4 = {
19022
19127
  info: "".concat(MATISSE_BLUE),
19023
19128
  warn: "".concat(ZEST_ORANGE),
19024
19129
  primary: "".concat(ROYAL_BLUE_VIVID),
19025
- success: "".concat(SEA_GREEN),
19026
- disabled: "".concat(MANATEE_GREY)
19130
+ success: "".concat(SEA_GREEN)
19027
19131
  };
19028
19132
  var fallbackValues$7 = {
19029
19133
  background: background$1,
@@ -20399,12 +20503,12 @@ var fallbackValues$8 = {
20399
20503
  linkColor: linkColor
20400
20504
  };
20401
20505
 
20402
- var _excluded$k = ["variant", "themeValues", "children"];
20506
+ var _excluded$l = ["variant", "themeValues", "children"];
20403
20507
  var BoxWithShadow = function BoxWithShadow(_ref) {
20404
20508
  var variant = _ref.variant,
20405
20509
  themeValues = _ref.themeValues,
20406
20510
  children = _ref.children,
20407
- props = _objectWithoutProperties(_ref, _excluded$k);
20511
+ props = _objectWithoutProperties(_ref, _excluded$l);
20408
20512
  var shadowRegistry = {
20409
20513
  baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
20410
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), ";"),
@@ -20422,20 +20526,23 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
20422
20526
  var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
20423
20527
 
20424
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;
20425
20532
 
20426
20533
  /*
20427
20534
  For now I'm using string values, eventually shared components library will have its own constants file
20428
20535
  for colors/values that should be used here instead
20429
20536
  */
20430
20537
 
20431
- var color$5 = "".concat(MATISSE_BLUE);
20432
- var activeColor$2 = "".concat(STORM_GREY);
20433
- 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);
20434
20541
  var fontSize$2 = "0.875rem";
20435
20542
  var lineHeight = "1.25rem";
20436
20543
  var fontWeight$1 = "400";
20437
20544
  var margin = "0.5rem";
20438
- var hover = "text-decoration: none;";
20545
+ var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
20439
20546
  var fallbackValues$9 = {
20440
20547
  color: color$5,
20441
20548
  activeColor: activeColor$2,
@@ -20461,7 +20568,10 @@ var fallbackValues$a = {
20461
20568
  externalLinkColor: externalLinkColor
20462
20569
  };
20463
20570
 
20464
- 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
+
20465
20575
  /*
20466
20576
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
20467
20577
  unrecognized DOM attributes.
@@ -20472,14 +20582,14 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20472
20582
  var hoverColor = _ref.hoverColor,
20473
20583
  activeColor = _ref.activeColor,
20474
20584
  extrastyles = _ref.extrastyles,
20475
- props = _objectWithoutProperties(_ref, _excluded$l);
20585
+ props = _objectWithoutProperties(_ref, _excluded$m);
20476
20586
  return /*#__PURE__*/React__default.createElement("a", _extends({}, props, {
20477
20587
  ref: ref
20478
20588
  }));
20479
20589
  })).withConfig({
20480
20590
  displayName: "ExternalLinkstyled__StyledExternalLink",
20481
20591
  componentId: "sc-m1q2m2-0"
20482
- })(["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) {
20483
20593
  var size = _ref2.size;
20484
20594
  return size;
20485
20595
  }, function (_ref3) {
@@ -20494,10 +20604,10 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20494
20604
  }, function (_ref6) {
20495
20605
  var lineheight = _ref6.lineheight;
20496
20606
  return lineheight;
20497
- }, function (_ref7) {
20607
+ }, LINK_TEXT_DECORATION$3, function (_ref7) {
20498
20608
  var hoverColor = _ref7.hoverColor;
20499
20609
  return hoverColor;
20500
- }, ROYAL_BLUE, function (_ref8) {
20610
+ }, ROYAL_BLUE$1, function (_ref8) {
20501
20611
  var activeColor = _ref8.activeColor;
20502
20612
  return activeColor;
20503
20613
  }, function (_ref9) {
@@ -20547,7 +20657,10 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
20547
20657
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
20548
20658
  });
20549
20659
 
20550
- 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
+
20551
20664
  /*
20552
20665
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
20553
20666
  unrecognized DOM attributes.
@@ -20560,14 +20673,14 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20560
20673
  active = _ref.active,
20561
20674
  color = _ref.color,
20562
20675
  extrastyles = _ref.extrastyles,
20563
- props = _objectWithoutProperties(_ref, _excluded$m);
20676
+ props = _objectWithoutProperties(_ref, _excluded$n);
20564
20677
  return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, _extends({}, props, {
20565
20678
  ref: ref
20566
20679
  }));
20567
20680
  })).withConfig({
20568
20681
  displayName: "InternalLinkstyled__StyledInternalLink",
20569
20682
  componentId: "sc-cuqxud-0"
20570
- })(["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) {
20571
20684
  var color = _ref2.color,
20572
20685
  active = _ref2.active,
20573
20686
  activeColor = _ref2.activeColor;
@@ -20587,10 +20700,10 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
20587
20700
  }, function (_ref7) {
20588
20701
  var margin = _ref7.margin;
20589
20702
  return margin;
20590
- }, function (_ref8) {
20703
+ }, LINK_TEXT_DECORATION$4, function (_ref8) {
20591
20704
  var hoverColor = _ref8.hoverColor;
20592
20705
  return hoverColor;
20593
- }, ROYAL_BLUE, function (_ref9) {
20706
+ }, ROYAL_BLUE$2, function (_ref9) {
20594
20707
  var activeColor = _ref9.activeColor;
20595
20708
  return activeColor;
20596
20709
  }, function (_ref10) {
@@ -20663,7 +20776,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
20663
20776
  lineheight: themeValues.lineHeight,
20664
20777
  fontWeight: themeValues.fontWeight,
20665
20778
  margin: themeValues.margin,
20666
- 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 }")
20667
20780
  }, linkText), index < breadcrumbsList.length - 1 ? /*#__PURE__*/React__default.createElement(IconChevron, null) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
20668
20781
  })));
20669
20782
  };
@@ -22243,9 +22356,7 @@ _curry2(function test(pattern, str) {
22243
22356
  return _cloneRegExp(pattern).test(str);
22244
22357
  });
22245
22358
 
22246
- var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
22247
-
22248
- var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22359
+ var _excluded$o = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22249
22360
  var ButtonWithLink = function ButtonWithLink(_ref) {
22250
22361
  var _ref$url = _ref.url,
22251
22362
  url = _ref$url === void 0 ? "/" : _ref$url,
@@ -22253,12 +22364,14 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
22253
22364
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
22254
22365
  _ref$fileLink = _ref.fileLink,
22255
22366
  fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
22256
- extraStyles = _ref.extraStyles,
22257
- 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,
22258
22371
  _ref$newTab = _ref.newTab,
22259
22372
  newTab = _ref$newTab === void 0 ? false : _ref$newTab,
22260
22373
  dataQa = _ref.dataQa,
22261
- otherProps = _objectWithoutProperties(_ref, _excluded$n);
22374
+ otherProps = _objectWithoutProperties(_ref, _excluded$o);
22262
22375
  var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
22263
22376
  var children = _ref2.children,
22264
22377
  url = _ref2.url,
@@ -22346,7 +22459,7 @@ var ParagraphText = styled__default.p.withConfig({
22346
22459
  return extraStyles;
22347
22460
  });
22348
22461
 
22349
- var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22462
+ var _excluded$p = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22350
22463
  var Paragraph = function Paragraph(_ref) {
22351
22464
  var themeValues = _ref.themeValues,
22352
22465
  _ref$weight = _ref.weight,
@@ -22360,7 +22473,7 @@ var Paragraph = function Paragraph(_ref) {
22360
22473
  dataQa = _ref.dataQa,
22361
22474
  children = _ref.children,
22362
22475
  as = _ref.as,
22363
- rest = _objectWithoutProperties(_ref, _excluded$o);
22476
+ rest = _objectWithoutProperties(_ref, _excluded$p);
22364
22477
  return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
22365
22478
  weight: weight,
22366
22479
  color: color,
@@ -25669,7 +25782,7 @@ var mobileFallbackValues$1 = {
25669
25782
  };
25670
25783
  var MOBILE_BREAKPOINT$1 = 768;
25671
25784
 
25672
- 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"];
25673
25786
 
25674
25787
  /*
25675
25788
  New responsive text component for Detail elements
@@ -25719,7 +25832,7 @@ var Detail = function Detail(_ref) {
25719
25832
  as = _ref$as === void 0 ? "p" : _ref$as,
25720
25833
  dataQa = _ref.dataQa,
25721
25834
  children = _ref.children,
25722
- rest = _objectWithoutProperties(_ref, _excluded$p);
25835
+ rest = _objectWithoutProperties(_ref, _excluded$q);
25723
25836
  return /*#__PURE__*/React__default.createElement(DetailText, _extends({
25724
25837
  variant: variant,
25725
25838
  as: as,
@@ -25858,7 +25971,7 @@ var useToastNotification = function useToastNotification() {
25858
25971
 
25859
25972
 
25860
25973
 
25861
- var index$4 = /*#__PURE__*/Object.freeze({
25974
+ var index$5 = /*#__PURE__*/Object.freeze({
25862
25975
  __proto__: null,
25863
25976
  useOutsideClick: useOutsideClickHook,
25864
25977
  useScrollTo: useScrollTo,
@@ -26429,7 +26542,7 @@ var fallbackValues$k = {
26429
26542
  formFooterPanel: formFooterPanel
26430
26543
  };
26431
26544
 
26432
- var _excluded$q = ["showErrors", "themeValues"],
26545
+ var _excluded$r = ["showErrors", "themeValues"],
26433
26546
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
26434
26547
  var InputField = styled__default.input.withConfig({
26435
26548
  displayName: "FormInput__InputField",
@@ -26464,7 +26577,7 @@ var InputField = styled__default.input.withConfig({
26464
26577
  var FormattedInputField = styled__default(function (_ref8) {
26465
26578
  var showErrors = _ref8.showErrors,
26466
26579
  themeValues = _ref8.themeValues,
26467
- props = _objectWithoutProperties(_ref8, _excluded$q);
26580
+ props = _objectWithoutProperties(_ref8, _excluded$r);
26468
26581
  return /*#__PURE__*/React__default.createElement(FormattedInput, props);
26469
26582
  }).withConfig({
26470
26583
  displayName: "FormInput__FormattedInputField",
@@ -26563,7 +26676,7 @@ var FormInput = function FormInput(_ref15) {
26563
26676
  color: themeValues.linkColor,
26564
26677
  weight: themeValues.fontWeight,
26565
26678
  hoverStyles: themeValues.hoverFocusStyles,
26566
- extraStyles: "cursor: pointer; &:focus { outline-offset: -2px; }",
26679
+ extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
26567
26680
  onClick: function onClick() {
26568
26681
  return setShowPassword(!showPassword);
26569
26682
  },
@@ -26636,7 +26749,7 @@ var FormInput = function FormInput(_ref15) {
26636
26749
  };
26637
26750
  var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
26638
26751
 
26639
- var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26752
+ var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26640
26753
  var FormInputRow = function FormInputRow(_ref) {
26641
26754
  var _ref$breakpoint = _ref.breakpoint,
26642
26755
  breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
@@ -26645,7 +26758,7 @@ var FormInputRow = function FormInputRow(_ref) {
26645
26758
  largeChild = _ref.largeChild,
26646
26759
  largeChildSize = _ref.largeChildSize,
26647
26760
  children = _ref.children,
26648
- rest = _objectWithoutProperties(_ref, _excluded$r);
26761
+ rest = _objectWithoutProperties(_ref, _excluded$s);
26649
26762
  return /*#__PURE__*/React__default.createElement(Box, _extends({
26650
26763
  padding: "0"
26651
26764
  }, rest), /*#__PURE__*/React__default.createElement(Switcher, {
@@ -26656,24 +26769,24 @@ var FormInputRow = function FormInputRow(_ref) {
26656
26769
  }, children));
26657
26770
  };
26658
26771
 
26659
- var _excluded$s = ["childGap", "bottomItem", "children"];
26772
+ var _excluded$t = ["childGap", "bottomItem", "children"];
26660
26773
  var FormInputColumn = function FormInputColumn(_ref) {
26661
26774
  var _ref$childGap = _ref.childGap,
26662
26775
  childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
26663
26776
  bottomItem = _ref.bottomItem,
26664
26777
  children = _ref.children,
26665
- rest = _objectWithoutProperties(_ref, _excluded$s);
26778
+ rest = _objectWithoutProperties(_ref, _excluded$t);
26666
26779
  return /*#__PURE__*/React__default.createElement(Stack, _extends({
26667
26780
  childGap: childGap,
26668
26781
  bottomItem: bottomItem
26669
26782
  }, rest), children);
26670
26783
  };
26671
26784
 
26672
- var _excluded$t = ["themeValues", "children"];
26785
+ var _excluded$u = ["themeValues", "children"];
26673
26786
  var FormContainer = function FormContainer(_ref) {
26674
26787
  var themeValues = _ref.themeValues,
26675
26788
  children = _ref.children,
26676
- rest = _objectWithoutProperties(_ref, _excluded$t);
26789
+ rest = _objectWithoutProperties(_ref, _excluded$u);
26677
26790
  var _useContext = React.useContext(styled.ThemeContext),
26678
26791
  isMobile = _useContext.isMobile;
26679
26792
  return /*#__PURE__*/React__default.createElement(Box, _extends({
@@ -26983,7 +27096,7 @@ var fallbackValues$o = {
26983
27096
  fontSize: fontSize$8
26984
27097
  };
26985
27098
 
26986
- 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"];
26987
27100
  var Heading = function Heading(_ref) {
26988
27101
  var themeValues = _ref.themeValues,
26989
27102
  _ref$weight = _ref.weight,
@@ -27002,7 +27115,7 @@ var Heading = function Heading(_ref) {
27002
27115
  as = _ref$as === void 0 ? variant : _ref$as,
27003
27116
  dataQa = _ref.dataQa,
27004
27117
  children = _ref.children,
27005
- rest = _objectWithoutProperties(_ref, _excluded$u);
27118
+ rest = _objectWithoutProperties(_ref, _excluded$v);
27006
27119
  return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
27007
27120
  variant: variant,
27008
27121
  as: as,
@@ -27203,11 +27316,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
27203
27316
  }, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
27204
27317
  };
27205
27318
 
27206
- var _excluded$v = ["version"];
27319
+ var _excluded$w = ["version"];
27207
27320
  var LabeledAmount = function LabeledAmount(_ref) {
27208
27321
  var _ref$version = _ref.version,
27209
27322
  version = _ref$version === void 0 ? "v1" : _ref$version,
27210
- rest = _objectWithoutProperties(_ref, _excluded$v);
27323
+ rest = _objectWithoutProperties(_ref, _excluded$w);
27211
27324
  var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
27212
27325
  return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
27213
27326
  };
@@ -27344,7 +27457,7 @@ var Loading = function Loading() {
27344
27457
  })))));
27345
27458
  };
27346
27459
 
27347
- 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"];
27348
27461
  var NavFooter = function NavFooter(_ref) {
27349
27462
  var leftContent = _ref.leftContent,
27350
27463
  rightContent = _ref.rightContent,
@@ -27359,7 +27472,7 @@ var NavFooter = function NavFooter(_ref) {
27359
27472
  footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
27360
27473
  isMobile = _ref.isMobile,
27361
27474
  footerWidth = _ref.footerWidth,
27362
- rest = _objectWithoutProperties(_ref, _excluded$w);
27475
+ rest = _objectWithoutProperties(_ref, _excluded$x);
27363
27476
  return /*#__PURE__*/React__default.createElement(Box, _extends({
27364
27477
  padding: footerPadding,
27365
27478
  background: backgroundColor,
@@ -27390,7 +27503,7 @@ var NavFooter = function NavFooter(_ref) {
27390
27503
  }, rightContent)))))));
27391
27504
  };
27392
27505
 
27393
- var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27506
+ var _excluded$y = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27394
27507
  var NavHeader = function NavHeader(_ref) {
27395
27508
  var leftContent = _ref.leftContent,
27396
27509
  rightContent = _ref.rightContent,
@@ -27399,7 +27512,7 @@ var NavHeader = function NavHeader(_ref) {
27399
27512
  isMobile = _ref.isMobile,
27400
27513
  backgroundColor = _ref.backgroundColor,
27401
27514
  headerWidth = _ref.headerWidth,
27402
- rest = _objectWithoutProperties(_ref, _excluded$x);
27515
+ rest = _objectWithoutProperties(_ref, _excluded$y);
27403
27516
  return /*#__PURE__*/React__default.createElement(Box, _extends({
27404
27517
  padding: "0 16px 4px",
27405
27518
  background: backgroundColor,
@@ -27610,24 +27723,23 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
27610
27723
  action = _ref.action,
27611
27724
  destination = _ref.destination,
27612
27725
  children = _ref.children,
27613
- dataQa = _ref.dataQa,
27614
- _ref$disabled = _ref.disabled,
27615
- disabled = _ref$disabled === void 0 ? false : _ref$disabled;
27726
+ dataQa = _ref.dataQa;
27616
27727
  return isLink ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
27617
27728
  to: destination,
27618
27729
  "data-qa": dataQa,
27619
- "aria-disabled": disabled
27730
+ style: {
27731
+ textDecoration: "none"
27732
+ }
27620
27733
  }, /*#__PURE__*/React__default.createElement(Box, {
27621
27734
  padding: "0",
27622
27735
  minHeight: "100%",
27623
- extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
27736
+ extraStyles: "cursor: pointer;"
27624
27737
  }, children)) : /*#__PURE__*/React__default.createElement(Box, {
27625
- onClick: disabled ? noop : action,
27738
+ onClick: action,
27626
27739
  padding: "0",
27627
27740
  minHeight: "100%",
27628
- dataQa: dataQa,
27629
- "aria-disabled": disabled,
27630
- extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
27741
+ extraStyles: "cursor: pointer;",
27742
+ dataQa: dataQa
27631
27743
  }, children);
27632
27744
  };
27633
27745
  var Placeholder = function Placeholder(_ref2) {
@@ -27641,16 +27753,12 @@ var Placeholder = function Placeholder(_ref2) {
27641
27753
  variant = _ref2.variant,
27642
27754
  largeIcon = _ref2.largeIcon,
27643
27755
  themeValues = _ref2.themeValues,
27644
- dataQa = _ref2.dataQa,
27645
- _ref2$disabled = _ref2.disabled,
27646
- disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
27647
- var tintedColor = "".concat(curriedTint$1(0.9, themeValues.color));
27756
+ dataQa = _ref2.dataQa;
27648
27757
  return /*#__PURE__*/React__default.createElement(PlaceholderContentWrapper, {
27649
27758
  isLink: isLink,
27650
27759
  action: action,
27651
27760
  destination: destination,
27652
- dataQa: dataQa,
27653
- disabled: disabled
27761
+ dataQa: dataQa
27654
27762
  }, /*#__PURE__*/React__default.createElement(Box, {
27655
27763
  padding: "0",
27656
27764
  borderRadius: "4px",
@@ -27658,14 +27766,14 @@ var Placeholder = function Placeholder(_ref2) {
27658
27766
  minHeight: themeValues.height,
27659
27767
  hiddenStyles: !visible,
27660
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;"),
27661
- hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : tintedColor, ";")
27769
+ hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : curriedTint$1(0.9, themeValues.color), ";")
27662
27770
  }, /*#__PURE__*/React__default.createElement(Center, {
27663
27771
  maxWidth: "300px"
27664
27772
  }, /*#__PURE__*/React__default.createElement(Box, {
27665
27773
  padding: "0",
27666
27774
  tabIndex: "0",
27667
27775
  onKeyPress: function onKeyPress(e) {
27668
- return e.key === "Enter" && !disabled && action();
27776
+ return e.key === "Enter" && action();
27669
27777
  }
27670
27778
  }, /*#__PURE__*/React__default.createElement(Cluster, {
27671
27779
  justify: "center",
@@ -39041,14 +39149,6 @@ var NavTabs = function NavTabs(_ref) {
39041
39149
  }, tabs)));
39042
39150
  };
39043
39151
 
39044
-
39045
-
39046
- var index$5 = /*#__PURE__*/Object.freeze({
39047
- __proto__: null,
39048
- colors: colors,
39049
- fontWeights: style_constants
39050
- });
39051
-
39052
39152
  var shineFrames = styled.keyframes(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
39053
39153
  var LoadingPill = styled__default.div.withConfig({
39054
39154
  displayName: "LoadingPillstyled__LoadingPill",
@@ -39161,7 +39261,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
39161
39261
  return extraStyles;
39162
39262
  });
39163
39263
 
39164
- var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
39264
+ var _excluded$z = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
39165
39265
  var TableRow = function TableRow(_ref) {
39166
39266
  var children = _ref.children,
39167
39267
  extraStyles = _ref.extraStyles,
@@ -39170,7 +39270,7 @@ var TableRow = function TableRow(_ref) {
39170
39270
  hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
39171
39271
  onClick = _ref.onClick,
39172
39272
  themeValues = _ref.themeValues,
39173
- props = _objectWithoutProperties(_ref, _excluded$y);
39273
+ props = _objectWithoutProperties(_ref, _excluded$z);
39174
39274
  return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
39175
39275
  onClick: onClick,
39176
39276
  hoverEffect: hoverEffect,
@@ -42495,22 +42595,10 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
42495
42595
  var MISC_BILL_ICON = "MISC_SINGLE_BILL";
42496
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));
42497
42597
 
42498
- var activeBackgroundColor$1 = {
42499
- primary: "".concat(CORNFLOWER_BLUE),
42500
- disabled: "".concat(ATHENS_GREY)
42501
- };
42502
- var backgroundColor$9 = {
42503
- primary: "".concat(LINK_WATER),
42504
- disabled: "".concat(ATHENS_GREY)
42505
- };
42506
- var borderColor$5 = {
42507
- primary: "".concat(MOON_RAKER),
42508
- disabled: "".concat(MANATEE_GREY)
42509
- };
42510
- var color$b = {
42511
- primary: "".concat(ROYAL_BLUE_VIVID),
42512
- disabled: "".concat(MANATEE_GREY)
42513
- };
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;
42514
42602
  var fallbackValues$I = {
42515
42603
  activeBackgroundColor: activeBackgroundColor$1,
42516
42604
  backgroundColor: backgroundColor$9,
@@ -42551,9 +42639,7 @@ var Footer = styled__default(Stack).withConfig({
42551
42639
  })(["align-items:center;width:100%;"]);
42552
42640
 
42553
42641
  var LinkCard = function LinkCard(_ref) {
42554
- var _ref$variant = _ref.variant,
42555
- variant = _ref$variant === void 0 ? "primary" : _ref$variant,
42556
- _ref$title = _ref.title,
42642
+ var _ref$title = _ref.title,
42557
42643
  title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
42558
42644
  _ref$subtitle = _ref.subtitle,
42559
42645
  subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
@@ -42587,8 +42673,7 @@ var LinkCard = function LinkCard(_ref) {
42587
42673
  extraStyles: extraStyles,
42588
42674
  hoverStyles: extraHoverStyles,
42589
42675
  activeStyles: extraActiveStyles,
42590
- onClick: variant === "disabled" ? noop : onClick,
42591
- "aria-disabled": variant === "disabled"
42676
+ onClick: onClick
42592
42677
  }, /*#__PURE__*/React__default.createElement(Stack, {
42593
42678
  childGap: 0,
42594
42679
  bottomItem: 3,
@@ -42621,7 +42706,7 @@ var LinkCard = function LinkCard(_ref) {
42621
42706
  justify: "space-between"
42622
42707
  }, showLeft && !leftContent && /*#__PURE__*/React__default.createElement(Box, null), showLeft && leftContent, showRight && rightContent))));
42623
42708
  };
42624
- var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "primary");
42709
+ var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
42625
42710
 
42626
42711
  var LoginForm = function LoginForm(_ref) {
42627
42712
  var clearOnDismount = _ref.clearOnDismount,
@@ -46494,10 +46579,6 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
46494
46579
  };
46495
46580
  var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
46496
46581
 
46497
- var ACH_METHOD = "BANK_ACCOUNT";
46498
- var CC_METHOD = "CREDIT_CARD";
46499
- var CASH_METHOD = "CASH";
46500
-
46501
46582
  var IconsModule = function IconsModule(_ref) {
46502
46583
  var icon = _ref.icon,
46503
46584
  iconDefault = _ref.iconDefault,
@@ -46577,9 +46658,7 @@ var AutopayModal = function AutopayModal(_ref) {
46577
46658
  inactive = _ref.inactive,
46578
46659
  description = _ref.description,
46579
46660
  subDescription = _ref.subDescription,
46580
- allowedPaymentInstruments = _ref.allowedPaymentInstruments,
46581
- _ref$isInCustomerMana = _ref.isInCustomerManagement,
46582
- isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
46661
+ allowedPaymentInstruments = _ref.allowedPaymentInstruments;
46583
46662
  var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
46584
46663
  var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
46585
46664
  var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
@@ -46608,7 +46687,6 @@ var AutopayModal = function AutopayModal(_ref) {
46608
46687
  case "secondary":
46609
46688
  {
46610
46689
  return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
46611
- disabled: isInCustomerManagement,
46612
46690
  text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
46613
46691
  variant: "secondary",
46614
46692
  action: function action() {
@@ -46621,7 +46699,6 @@ var AutopayModal = function AutopayModal(_ref) {
46621
46699
  case "tertiary":
46622
46700
  {
46623
46701
  return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
46624
- disabled: isInCustomerManagement,
46625
46702
  text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
46626
46703
  variant: "tertiary",
46627
46704
  action: function action() {
@@ -46738,9 +46815,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46738
46815
  dueDate = _ref.dueDate,
46739
46816
  description = _ref.description,
46740
46817
  subDescription = _ref.subDescription,
46741
- allowedPaymentInstruments = _ref.allowedPaymentInstruments,
46742
- _ref$isInCustomerMana = _ref.isInCustomerManagement,
46743
- isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
46818
+ allowedPaymentInstruments = _ref.allowedPaymentInstruments;
46744
46819
  var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
46745
46820
  var _useState = React.useState(false),
46746
46821
  _useState2 = _slicedToArray(_useState, 2),
@@ -46820,8 +46895,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46820
46895
  handleAutopayAction();
46821
46896
  },
46822
46897
  dataQa: "Set Up Autopay",
46823
- extraStyles: isMobile && "flex-grow: 1; width: 100%;",
46824
- disabled: isInCustomerManagement
46898
+ extraStyles: isMobile && "flex-grow: 1; width: 100%;"
46825
46899
  }) : /*#__PURE__*/React__default.createElement(AutopayModalModule, {
46826
46900
  autoPayActive: autoPayEnabled,
46827
46901
  autoPaySchedule: autoPaySchedule,
@@ -46847,8 +46921,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46847
46921
  },
46848
46922
  text: "Pay Now",
46849
46923
  variant: isMobile ? "smallSecondary" : "secondary",
46850
- dataQa: "Pay Now",
46851
- disabled: isInCustomerManagement
46924
+ dataQa: "Pay Now"
46852
46925
  }))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
46853
46926
  padding: "8px 0 0",
46854
46927
  width: "100%"
@@ -46860,8 +46933,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
46860
46933
  text: "Pay Now",
46861
46934
  variant: isMobile ? "smallSecondary" : "secondary",
46862
46935
  dataQa: "Pay Now",
46863
- extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
46864
- disabled: isInCustomerManagement
46936
+ extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
46865
46937
  }))));
46866
46938
  };
46867
46939
 
@@ -47033,9 +47105,7 @@ var Obligation = function Obligation(_ref) {
47033
47105
  _ref$inactiveLookupIn = _ref.inactiveLookupInput,
47034
47106
  inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
47035
47107
  _ref$inactiveLookupVa = _ref.inactiveLookupValue,
47036
- inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa,
47037
- _ref$isInCustomerMana = _ref.isInCustomerManagement,
47038
- isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
47108
+ inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa;
47039
47109
  /*
47040
47110
  The value of obligations is always an array. It can contain:
47041
47111
  - A single obligation
@@ -47123,8 +47193,7 @@ var Obligation = function Obligation(_ref) {
47123
47193
  obligationAssocID: obligationAssocID,
47124
47194
  description: description,
47125
47195
  subDescription: subDescription,
47126
- allowedPaymentInstruments: allowedPaymentInstruments,
47127
- isInCustomerManagement: isInCustomerManagement
47196
+ allowedPaymentInstruments: allowedPaymentInstruments
47128
47197
  }))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
47129
47198
  obligations: obligations,
47130
47199
  autoPayEnabled: autoPayEnabled,
@@ -47142,8 +47211,7 @@ var Obligation = function Obligation(_ref) {
47142
47211
  obligationAssocID: obligationAssocID,
47143
47212
  description: description,
47144
47213
  subDescription: subDescription,
47145
- allowedPaymentInstruments: allowedPaymentInstruments,
47146
- isInCustomerManagement: isInCustomerManagement
47214
+ allowedPaymentInstruments: allowedPaymentInstruments
47147
47215
  }));
47148
47216
  var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
47149
47217
  padding: "0",
@@ -47428,6 +47496,7 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
47428
47496
  var Pagination = function Pagination(_ref3) {
47429
47497
  var _ref3$activeBorderWid = _ref3.activeBorderWidth,
47430
47498
  activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
47499
+ ariaLabel = _ref3.ariaLabel,
47431
47500
  arrowColor = _ref3.arrowColor,
47432
47501
  _ref3$borderRadius = _ref3.borderRadius,
47433
47502
  borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
@@ -47447,11 +47516,10 @@ var Pagination = function Pagination(_ref3) {
47447
47516
  pageNext = _ref3.pageNext,
47448
47517
  pagePrevious = _ref3.pagePrevious,
47449
47518
  setCurrentPage = _ref3.setCurrentPage,
47450
- ariaLabel = _ref3.ariaLabel,
47451
47519
  themeValues = _ref3.themeValues;
47452
47520
  var _useContext = React.useContext(styled.ThemeContext),
47453
47521
  isMobile = _useContext.isMobile;
47454
- 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 ");
47455
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 ");
47456
47524
  return /*#__PURE__*/React__default.createElement(Cluster, {
47457
47525
  justify: "center",
@@ -47632,7 +47700,7 @@ var fallbackValues$N = {
47632
47700
  labeledAmountTotal: labeledAmountTotal
47633
47701
  };
47634
47702
 
47635
- var _excluded$z = ["amount"],
47703
+ var _excluded$A = ["amount"],
47636
47704
  _excluded2$1 = ["amount"];
47637
47705
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
47638
47706
  var lineItemElems = _ref.lineItemElems,
@@ -47872,7 +47940,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47872
47940
  return fee.amount > 0;
47873
47941
  }).map(function (_ref5) {
47874
47942
  var amount = _ref5.amount,
47875
- rest = _objectWithoutProperties(_ref5, _excluded$z);
47943
+ rest = _objectWithoutProperties(_ref5, _excluded$A);
47876
47944
  return _objectSpread2(_objectSpread2({}, rest), {}, {
47877
47945
  amount: displayCurrency(amount)
47878
47946
  });
@@ -47989,12 +48057,16 @@ var fontWeight$7 = {
47989
48057
  var modalLinkHoverFocus$1 = {
47990
48058
  "default": "outline: none; text-decoration: underline;"
47991
48059
  };
48060
+ var linkTextDecoration = {
48061
+ "default": LINK_TEXT_DECORATION
48062
+ };
47992
48063
  var fallbackValues$O = {
47993
48064
  linkColor: linkColor$5,
47994
48065
  fontSize: fontSize$a,
47995
48066
  lineHeight: lineHeight$4,
47996
48067
  fontWeight: fontWeight$7,
47997
- modalLinkHoverFocus: modalLinkHoverFocus$1
48068
+ modalLinkHoverFocus: modalLinkHoverFocus$1,
48069
+ linkTextDecoration: linkTextDecoration
47998
48070
  };
47999
48071
 
48000
48072
  var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
@@ -48048,6 +48120,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
48048
48120
  color: themeValues.linkColor,
48049
48121
  weight: themeValues.fontWeight,
48050
48122
  hoverStyles: themeValues.modalLinkHoverFocus,
48123
+ textDecoration: themeValues.linkTextDecoration,
48051
48124
  extraStyles: "cursor: pointer;",
48052
48125
  role: "button",
48053
48126
  className: "modal-trigger"
@@ -48084,6 +48157,10 @@ var modalLinkHoverFocus$2 = {
48084
48157
  "default": standardInteractionStyles,
48085
48158
  footer: standardInteractionStyles
48086
48159
  };
48160
+ var modalLinkTextDecoration = {
48161
+ "default": LINK_TEXT_DECORATION,
48162
+ footer: "none"
48163
+ };
48087
48164
  var fallbackValues$P = {
48088
48165
  backgroundColor: backgroundColor$d,
48089
48166
  linkColor: linkColor$6,
@@ -48091,7 +48168,8 @@ var fallbackValues$P = {
48091
48168
  fontSize: fontSize$b,
48092
48169
  lineHeight: lineHeight$5,
48093
48170
  fontWeight: fontWeight$8,
48094
- modalLinkHoverFocus: modalLinkHoverFocus$2
48171
+ modalLinkHoverFocus: modalLinkHoverFocus$2,
48172
+ modalLinkTextDecoration: modalLinkTextDecoration
48095
48173
  };
48096
48174
 
48097
48175
  var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
@@ -48148,6 +48226,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
48148
48226
  color: themeValues.linkColor,
48149
48227
  weight: themeValues.fontWeight,
48150
48228
  hoverStyles: themeValues.modalLinkHoverFocus,
48229
+ textDecoration: themeValues.modalLinkTextDecoration,
48151
48230
  extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
48152
48231
  role: "button" // This should always be a "button" since it opens a modal
48153
48232
  ,
@@ -48281,11 +48360,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48281
48360
  }, errorMessage))))));
48282
48361
  };
48283
48362
 
48284
- var _excluded$A = ["version"];
48363
+ var _excluded$B = ["version"];
48285
48364
  var TermsAndConditions = function TermsAndConditions(_ref) {
48286
48365
  var _ref$version = _ref.version,
48287
48366
  version = _ref$version === void 0 ? "v1" : _ref$version,
48288
- rest = _objectWithoutProperties(_ref, _excluded$A);
48367
+ rest = _objectWithoutProperties(_ref, _excluded$B);
48289
48368
  var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
48290
48369
  return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
48291
48370
  };
@@ -49084,7 +49163,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
49084
49163
  }, section.content))));
49085
49164
  };
49086
49165
 
49087
- 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"];
49088
49167
 
49089
49168
  /**
49090
49169
  - The RadioSection component takes either a flat array (via the 'sections'
@@ -49132,7 +49211,7 @@ var RadioSection = function RadioSection(_ref) {
49132
49211
  _ref$isSectionRequire = _ref.isSectionRequired,
49133
49212
  isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
49134
49213
  groupedSections = _ref.groupedSections,
49135
- rest = _objectWithoutProperties(_ref, _excluded$B);
49214
+ rest = _objectWithoutProperties(_ref, _excluded$C);
49136
49215
  var _useState = React.useState(null),
49137
49216
  _useState2 = _slicedToArray(_useState, 2),
49138
49217
  focused = _useState2[0],
@@ -49604,7 +49683,7 @@ var TabSidebar = function TabSidebar(_ref) {
49604
49683
  return /*#__PURE__*/React__default.createElement(InternalLink, {
49605
49684
  to: route,
49606
49685
  key: "".concat(route, "-").concat(index),
49607
- 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 }", "}")
49608
49687
  }, /*#__PURE__*/React__default.createElement(Box, {
49609
49688
  padding: isMobile ? "6px 4px" : "18px 16px",
49610
49689
  background: active ? themeValues.activeTabBackground : "transparent",
@@ -49813,8 +49892,225 @@ var WorkflowTile = function WorkflowTile(_ref) {
49813
49892
  }))));
49814
49893
  };
49815
49894
 
49816
- 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;
49817
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 = {
49818
50114
  pageBackground: pageBackground
49819
50115
  };
49820
50116
 
@@ -49862,7 +50158,7 @@ var CenterSingle = function CenterSingle(_ref) {
49862
50158
  padding: "0"
49863
50159
  })));
49864
50160
  };
49865
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$U));
50161
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
49866
50162
 
49867
50163
  var CenterStack = function CenterStack(_ref) {
49868
50164
  var header = _ref.header,
@@ -49905,7 +50201,7 @@ var CenterStack = function CenterStack(_ref) {
49905
50201
  padding: "0"
49906
50202
  })));
49907
50203
  };
49908
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$U));
50204
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
49909
50205
 
49910
50206
  var CenterSingle$2 = function CenterSingle(_ref) {
49911
50207
  var header = _ref.header,
@@ -49920,13 +50216,15 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49920
50216
  _ref$gutters = _ref.gutters,
49921
50217
  gutters = _ref$gutters === void 0 ? "2rem" : _ref$gutters,
49922
50218
  _ref$fillPageVertical = _ref.fillPageVertical,
49923
- 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;
49924
50222
  var themeContext = React.useContext(styled.ThemeContext);
49925
50223
  var isMobile = themeContext.isMobile;
49926
50224
  return /*#__PURE__*/React__default.createElement(Box, {
49927
50225
  padding: "0",
49928
50226
  minWidth: "100%",
49929
- background: COOL_GREY_05,
50227
+ background: background,
49930
50228
  extraStyles: "flex-grow: 1;"
49931
50229
  }, /*#__PURE__*/React__default.createElement(Cover, {
49932
50230
  childGap: "0",
@@ -49949,7 +50247,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49949
50247
  padding: "0"
49950
50248
  })));
49951
50249
  };
49952
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$U));
50250
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
49953
50251
 
49954
50252
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
49955
50253
  var header = _ref.header,
@@ -50002,7 +50300,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
50002
50300
  padding: "0"
50003
50301
  })));
50004
50302
  };
50005
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$U));
50303
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
50006
50304
 
50007
50305
  var SidebarStackContent = function SidebarStackContent(_ref) {
50008
50306
  var header = _ref.header,
@@ -50072,7 +50370,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
50072
50370
  key: "footer-box"
50073
50371
  })));
50074
50372
  };
50075
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$U));
50373
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
50076
50374
 
50077
50375
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
50078
50376
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
@@ -50150,6 +50448,7 @@ exports.Checkbox = Checkbox$1;
50150
50448
  exports.CheckboxList = CheckboxList$1;
50151
50449
  exports.CheckmarkIcon = CheckmarkIcon;
50152
50450
  exports.ChevronIcon = ChevronIcon$1;
50451
+ exports.CloseIcon = CloseIcon;
50153
50452
  exports.Cluster = Cluster;
50154
50453
  exports.CollapsibleSection = CollapsibleSection$1;
50155
50454
  exports.Copyable = Copyable;
@@ -50244,6 +50543,7 @@ exports.Placeholder = Placeholder$1;
50244
50543
  exports.PlusCircleIcon = PlusCircleIcon;
50245
50544
  exports.PointOfSaleImage = PointOfSaleImage;
50246
50545
  exports.Popover = Popover$1;
50546
+ exports.PopupMenu = PopupMenu$1;
50247
50547
  exports.ProcessingFee = ProcessingFee$1;
50248
50548
  exports.ProfileIcon = ProfileIcon$1;
50249
50549
  exports.ProfileIconSmall = ProfileIconSmall$1;
@@ -50302,6 +50602,7 @@ exports.Title = Title$1;
50302
50602
  exports.ToastNotification = ToastNotification;
50303
50603
  exports.ToggleSwitch = ToggleSwitch$1;
50304
50604
  exports.TrashIcon = TrashIcon$1;
50605
+ exports.TrashIconV2 = TrashIconV2$1;
50305
50606
  exports.TypeaheadInput = TypeaheadInput;
50306
50607
  exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
50307
50608
  exports.VoidedIcon = VoidedIcon;
@@ -50314,10 +50615,10 @@ exports.WorkflowTile = WorkflowTile;
50314
50615
  exports.XCircleIconMedium = XCircleIconMedium;
50315
50616
  exports.XCircleIconSmall = XCircleIconSmall;
50316
50617
  exports.cardRegistry = cardRegistry;
50317
- exports.constants = index$5;
50618
+ exports.constants = index$4;
50318
50619
  exports.createPartialAmountFormState = createPartialAmountFormState;
50319
50620
  exports.createPartialAmountFormValidators = createPartialAmountFormValidators;
50320
- exports.hooks = index$4;
50621
+ exports.hooks = index$5;
50321
50622
  exports.util = index$6;
50322
50623
  exports.withWindowSize = withWindowSize;
50323
50624
  //# sourceMappingURL=index.cjs.js.map