@thecb/components 10.2.1-beta.3 → 10.2.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs.js +142 -197
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -36
- package/dist/index.esm.js +141 -196
- package/dist/index.esm.js.map +1 -1
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +49322 -0
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/breadcrumb/Breadcrumb.js +3 -4
- package/src/components/atoms/breadcrumb/Breadcrumb.theme.js +2 -5
- package/src/components/atoms/button-with-action/ButtonWithAction.js +7 -2
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +2 -22
- package/src/components/atoms/button-with-link/ButtonWithLink.js +2 -2
- package/src/components/atoms/icons/.DS_Store +0 -0
- package/src/components/atoms/link/ExternalLink.styled.js +3 -6
- package/src/components/atoms/link/InternalLink.styled.js +3 -6
- package/src/components/atoms/text/Text.styled.js +0 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +12 -10
- package/src/components/molecules/pagination/Pagination.js +7 -1
- package/src/components/molecules/pagination/Pagination.theme.js +2 -1
- package/src/components/molecules/tab-sidebar/TabSidebar.js +1 -0
- package/src/constants/index.d.ts +1 -2
- package/src/constants/index.js +3 -12
- package/src/constants/style_constants.js +1 -3
- package/src/components/molecules/pagination/Pagination.stories.js +0 -32
- package/src/constants/style_constants.d.ts +0 -11
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Citybase Components
|
|
2
2
|
|
|
3
|
-
This library contains
|
|
3
|
+
This library contains Citybase React components for use across all current and future CB applications (NFE, RMD, Kiosk, POS).
|
|
4
4
|
|
|
5
5
|
<!-- TOC -->
|
|
6
6
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -4916,7 +4916,6 @@ 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";
|
|
4920
4919
|
|
|
4921
4920
|
var style_constants = /*#__PURE__*/Object.freeze({
|
|
4922
4921
|
__proto__: null,
|
|
@@ -4927,8 +4926,7 @@ var style_constants = /*#__PURE__*/Object.freeze({
|
|
|
4927
4926
|
COMPACT_JUMBO_HEIGHT: COMPACT_JUMBO_HEIGHT,
|
|
4928
4927
|
FONT_WEIGHT_REGULAR: FONT_WEIGHT_REGULAR,
|
|
4929
4928
|
FONT_WEIGHT_BOLD: FONT_WEIGHT_BOLD,
|
|
4930
|
-
FONT_WEIGHT_SEMIBOLD: FONT_WEIGHT_SEMIBOLD
|
|
4931
|
-
LINK_TEXT_DECORATION: LINK_TEXT_DECORATION
|
|
4929
|
+
FONT_WEIGHT_SEMIBOLD: FONT_WEIGHT_SEMIBOLD
|
|
4932
4930
|
});
|
|
4933
4931
|
|
|
4934
4932
|
/*
|
|
@@ -5165,7 +5163,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5165
5163
|
var TextSpan = styled__default.span.withConfig({
|
|
5166
5164
|
displayName: "Textstyled__TextSpan",
|
|
5167
5165
|
componentId: "sc-1oy97we-0"
|
|
5168
|
-
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";
|
|
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) {
|
|
5169
5167
|
var fontSize = _ref.fontSize;
|
|
5170
5168
|
return fontSize;
|
|
5171
5169
|
}, function (_ref2) {
|
|
@@ -5178,20 +5176,17 @@ var TextSpan = styled__default.span.withConfig({
|
|
|
5178
5176
|
var color = _ref4.color;
|
|
5179
5177
|
return color;
|
|
5180
5178
|
}, function (_ref5) {
|
|
5181
|
-
var
|
|
5182
|
-
return textDecoration;
|
|
5183
|
-
}, function (_ref6) {
|
|
5184
|
-
var $textWrap = _ref6.$textWrap;
|
|
5179
|
+
var $textWrap = _ref5.$textWrap;
|
|
5185
5180
|
return $textWrap ? "initial" : "nowrap";
|
|
5186
|
-
}, function (
|
|
5187
|
-
var hoverStyles =
|
|
5181
|
+
}, function (_ref6) {
|
|
5182
|
+
var hoverStyles = _ref6.hoverStyles;
|
|
5188
5183
|
return styled.css(["", ""], hoverStyles);
|
|
5189
|
-
}, ROYAL_BLUE, function (
|
|
5190
|
-
var disabled =
|
|
5191
|
-
disabledStyles =
|
|
5184
|
+
}, ROYAL_BLUE, function (_ref7) {
|
|
5185
|
+
var disabled = _ref7.disabled,
|
|
5186
|
+
disabledStyles = _ref7.disabledStyles;
|
|
5192
5187
|
return disabled && styled.css(["", ""], disabledStyles);
|
|
5193
|
-
}, function (
|
|
5194
|
-
var extraStyles =
|
|
5188
|
+
}, function (_ref8) {
|
|
5189
|
+
var extraStyles = _ref8.extraStyles;
|
|
5195
5190
|
return extraStyles;
|
|
5196
5191
|
});
|
|
5197
5192
|
|
|
@@ -12561,43 +12556,6 @@ var Reel = function Reel(_ref) {
|
|
|
12561
12556
|
}), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
12562
12557
|
};
|
|
12563
12558
|
|
|
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;
|
|
12601
12559
|
var padding = {
|
|
12602
12560
|
primary: "0.75rem 1.5rem",
|
|
12603
12561
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12613,18 +12571,18 @@ var padding = {
|
|
|
12613
12571
|
whitePrimary: "1.125rem 0.75rem"
|
|
12614
12572
|
};
|
|
12615
12573
|
var color$1 = {
|
|
12616
|
-
primary: WHITE
|
|
12617
|
-
secondary: MATISSE_BLUE
|
|
12618
|
-
back: MATISSE_BLUE
|
|
12619
|
-
smallPrimary: WHITE
|
|
12620
|
-
smallSecondary: MATISSE_BLUE
|
|
12621
|
-
smallGhost: MATISSE_BLUE
|
|
12622
|
-
ghost: MATISSE_BLUE
|
|
12623
|
-
tertiary: MATISSE_BLUE
|
|
12624
|
-
danger: WHITE
|
|
12625
|
-
dangerSecondary: ERROR_COLOR
|
|
12626
|
-
whiteSecondary: WHITE
|
|
12627
|
-
whitePrimary: WHITE
|
|
12574
|
+
primary: WHITE,
|
|
12575
|
+
secondary: MATISSE_BLUE,
|
|
12576
|
+
back: MATISSE_BLUE,
|
|
12577
|
+
smallPrimary: WHITE,
|
|
12578
|
+
smallSecondary: MATISSE_BLUE,
|
|
12579
|
+
smallGhost: MATISSE_BLUE,
|
|
12580
|
+
ghost: MATISSE_BLUE,
|
|
12581
|
+
tertiary: MATISSE_BLUE,
|
|
12582
|
+
danger: WHITE,
|
|
12583
|
+
dangerSecondary: ERROR_COLOR,
|
|
12584
|
+
whiteSecondary: WHITE,
|
|
12585
|
+
whitePrimary: WHITE
|
|
12628
12586
|
};
|
|
12629
12587
|
var fontSizeVariant = {
|
|
12630
12588
|
primary: "pS",
|
|
@@ -12682,131 +12640,117 @@ var minWidth = {
|
|
|
12682
12640
|
whiteSecondary: "160px",
|
|
12683
12641
|
whitePrimary: "130px"
|
|
12684
12642
|
};
|
|
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"
|
|
12698
|
-
};
|
|
12699
12643
|
var backgroundColor = {
|
|
12700
|
-
primary: MATISSE_BLUE
|
|
12701
|
-
secondary: TRANSPARENT
|
|
12702
|
-
back: TRANSPARENT
|
|
12703
|
-
smallPrimary: MATISSE_BLUE
|
|
12704
|
-
smallSecondary: TRANSPARENT
|
|
12705
|
-
smallGhost: TRANSPARENT
|
|
12706
|
-
ghost: TRANSPARENT
|
|
12707
|
-
tertiary: TRANSPARENT
|
|
12708
|
-
danger: RASPBERRY
|
|
12709
|
-
dangerSecondary: TRANSPARENT
|
|
12710
|
-
whiteSecondary: TRANSPARENT
|
|
12711
|
-
whitePrimary: TRANSPARENT
|
|
12644
|
+
primary: MATISSE_BLUE,
|
|
12645
|
+
secondary: TRANSPARENT,
|
|
12646
|
+
back: TRANSPARENT,
|
|
12647
|
+
smallPrimary: MATISSE_BLUE,
|
|
12648
|
+
smallSecondary: TRANSPARENT,
|
|
12649
|
+
smallGhost: TRANSPARENT,
|
|
12650
|
+
ghost: TRANSPARENT,
|
|
12651
|
+
tertiary: TRANSPARENT,
|
|
12652
|
+
danger: RASPBERRY,
|
|
12653
|
+
dangerSecondary: TRANSPARENT,
|
|
12654
|
+
whiteSecondary: TRANSPARENT,
|
|
12655
|
+
whitePrimary: TRANSPARENT
|
|
12712
12656
|
};
|
|
12713
12657
|
var border = {
|
|
12714
|
-
primary: "2px solid " + MATISSE_BLUE
|
|
12715
|
-
secondary: "2px solid " + MATISSE_BLUE
|
|
12716
|
-
back: "2px solid " + MATISSE_BLUE
|
|
12717
|
-
smallPrimary: "2px solid " + MATISSE_BLUE
|
|
12718
|
-
smallSecondary: "2px solid " + MATISSE_BLUE
|
|
12658
|
+
primary: "2px solid " + MATISSE_BLUE,
|
|
12659
|
+
secondary: "2px solid " + MATISSE_BLUE,
|
|
12660
|
+
back: "2px solid " + MATISSE_BLUE,
|
|
12661
|
+
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12662
|
+
smallSecondary: "2px solid " + MATISSE_BLUE,
|
|
12719
12663
|
smallGhost: "none",
|
|
12720
12664
|
ghost: "none",
|
|
12721
12665
|
tertiary: "none",
|
|
12722
|
-
danger: "2px solid " + RASPBERRY
|
|
12723
|
-
dangerSecondary: "2px solid " + ERROR_COLOR
|
|
12724
|
-
whiteSecondary: "2px solid " + WHITE
|
|
12725
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12666
|
+
danger: "2px solid " + RASPBERRY,
|
|
12667
|
+
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12668
|
+
whiteSecondary: "2px solid " + WHITE,
|
|
12669
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12726
12670
|
};
|
|
12727
12671
|
var hoverBackgroundColor = {
|
|
12728
|
-
primary: SAPPHIRE_BLUE
|
|
12672
|
+
primary: SAPPHIRE_BLUE,
|
|
12729
12673
|
secondary: "#DBEAF0",
|
|
12730
|
-
back: TRANSPARENT
|
|
12731
|
-
smallPrimary: SAPPHIRE_BLUE
|
|
12674
|
+
back: TRANSPARENT,
|
|
12675
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12732
12676
|
smallSecondary: "#DBEAF0",
|
|
12733
|
-
smallGhost: TRANSPARENT
|
|
12734
|
-
ghost: TRANSPARENT
|
|
12735
|
-
tertiary: TRANSPARENT
|
|
12677
|
+
smallGhost: TRANSPARENT,
|
|
12678
|
+
ghost: TRANSPARENT,
|
|
12679
|
+
tertiary: TRANSPARENT,
|
|
12736
12680
|
danger: "#BA002C",
|
|
12737
12681
|
dangerSecondary: "#FAE7EE",
|
|
12738
|
-
whiteSecondary: TRANSPARENT
|
|
12739
|
-
whitePrimary: TRANSPARENT
|
|
12682
|
+
whiteSecondary: TRANSPARENT,
|
|
12683
|
+
whitePrimary: TRANSPARENT
|
|
12740
12684
|
};
|
|
12741
12685
|
var hoverBorderColor = {
|
|
12742
|
-
primary: SAPPHIRE_BLUE
|
|
12743
|
-
secondary: MATISSE_BLUE
|
|
12686
|
+
primary: SAPPHIRE_BLUE,
|
|
12687
|
+
secondary: MATISSE_BLUE,
|
|
12744
12688
|
back: "#DCEAF1",
|
|
12745
|
-
smallPrimary: SAPPHIRE_BLUE
|
|
12746
|
-
smallSecondary: MATISSE_BLUE
|
|
12747
|
-
smallGhost: TRANSPARENT
|
|
12748
|
-
ghost: TRANSPARENT
|
|
12749
|
-
tertiary: TRANSPARENT
|
|
12689
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12690
|
+
smallSecondary: MATISSE_BLUE,
|
|
12691
|
+
smallGhost: TRANSPARENT,
|
|
12692
|
+
ghost: TRANSPARENT,
|
|
12693
|
+
tertiary: TRANSPARENT,
|
|
12750
12694
|
danger: "#BA002C",
|
|
12751
12695
|
dangerSecondary: "#B10541",
|
|
12752
|
-
whiteSecondary: "2px solid " + TRANSPARENT
|
|
12753
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12696
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12697
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12754
12698
|
};
|
|
12755
12699
|
var hoverColor = {
|
|
12756
|
-
primary: WHITE
|
|
12757
|
-
secondary: SAPPHIRE_BLUE
|
|
12758
|
-
back: SAPPHIRE_BLUE
|
|
12759
|
-
smallPrimary: WHITE
|
|
12760
|
-
smallSecondary: SAPPHIRE_BLUE
|
|
12761
|
-
smallGhost: SAPPHIRE_BLUE
|
|
12762
|
-
ghost: SAPPHIRE_BLUE
|
|
12763
|
-
tertiary: SAPPHIRE_BLUE
|
|
12764
|
-
danger: WHITE
|
|
12700
|
+
primary: WHITE,
|
|
12701
|
+
secondary: SAPPHIRE_BLUE,
|
|
12702
|
+
back: SAPPHIRE_BLUE,
|
|
12703
|
+
smallPrimary: WHITE,
|
|
12704
|
+
smallSecondary: SAPPHIRE_BLUE,
|
|
12705
|
+
smallGhost: SAPPHIRE_BLUE,
|
|
12706
|
+
ghost: SAPPHIRE_BLUE,
|
|
12707
|
+
tertiary: SAPPHIRE_BLUE,
|
|
12708
|
+
danger: WHITE,
|
|
12765
12709
|
dangerSecondary: "#B10541",
|
|
12766
|
-
whiteSecondary: WHITE
|
|
12767
|
-
whitePrimary: WHITE
|
|
12710
|
+
whiteSecondary: WHITE,
|
|
12711
|
+
whitePrimary: WHITE
|
|
12768
12712
|
};
|
|
12769
12713
|
var activeBackgroundColor = {
|
|
12770
|
-
primary: PEACOCK_BLUE
|
|
12714
|
+
primary: PEACOCK_BLUE,
|
|
12771
12715
|
secondary: "#B8D5E1",
|
|
12772
|
-
back: TRANSPARENT
|
|
12773
|
-
smallPrimary: PEACOCK_BLUE
|
|
12716
|
+
back: TRANSPARENT,
|
|
12717
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12774
12718
|
smallSecondary: "#B8D5E1",
|
|
12775
|
-
smallGhost: TRANSPARENT
|
|
12776
|
-
ghost: TRANSPARENT
|
|
12777
|
-
tertiary: TRANSPARENT
|
|
12719
|
+
smallGhost: TRANSPARENT,
|
|
12720
|
+
ghost: TRANSPARENT,
|
|
12721
|
+
tertiary: TRANSPARENT,
|
|
12778
12722
|
danger: "#870000",
|
|
12779
12723
|
dangerSecondary: "#FAE7EE",
|
|
12780
|
-
whiteSecondary: TRANSPARENT
|
|
12781
|
-
whitePrimary: TRANSPARENT
|
|
12724
|
+
whiteSecondary: TRANSPARENT,
|
|
12725
|
+
whitePrimary: TRANSPARENT
|
|
12782
12726
|
};
|
|
12783
12727
|
var activeBorderColor = {
|
|
12784
|
-
primary: PEACOCK_BLUE
|
|
12785
|
-
secondary: MATISSE_BLUE
|
|
12786
|
-
back: PEACOCK_BLUE
|
|
12787
|
-
smallPrimary: PEACOCK_BLUE
|
|
12788
|
-
smallSecondary: MATISSE_BLUE
|
|
12789
|
-
smallGhost: TRANSPARENT
|
|
12790
|
-
ghost: TRANSPARENT
|
|
12791
|
-
tertiary: TRANSPARENT
|
|
12728
|
+
primary: PEACOCK_BLUE,
|
|
12729
|
+
secondary: MATISSE_BLUE,
|
|
12730
|
+
back: PEACOCK_BLUE,
|
|
12731
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12732
|
+
smallSecondary: MATISSE_BLUE,
|
|
12733
|
+
smallGhost: TRANSPARENT,
|
|
12734
|
+
ghost: TRANSPARENT,
|
|
12735
|
+
tertiary: TRANSPARENT,
|
|
12792
12736
|
danger: "#870000",
|
|
12793
12737
|
dangerSecondary: "#910029",
|
|
12794
|
-
whiteSecondary: "2px solid " + TRANSPARENT
|
|
12795
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12738
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12739
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12796
12740
|
};
|
|
12797
12741
|
var activeColor = {
|
|
12798
|
-
primary: WHITE
|
|
12799
|
-
secondary: MATISSE_BLUE
|
|
12800
|
-
back: PEACOCK_BLUE
|
|
12801
|
-
smallPrimary: WHITE
|
|
12802
|
-
smallSecondary: PEACOCK_BLUE
|
|
12803
|
-
smallGhost: PEACOCK_BLUE
|
|
12804
|
-
ghost: PEACOCK_BLUE
|
|
12805
|
-
tertiary: PEACOCK_BLUE
|
|
12806
|
-
danger: WHITE
|
|
12742
|
+
primary: WHITE,
|
|
12743
|
+
secondary: MATISSE_BLUE,
|
|
12744
|
+
back: PEACOCK_BLUE,
|
|
12745
|
+
smallPrimary: WHITE,
|
|
12746
|
+
smallSecondary: PEACOCK_BLUE,
|
|
12747
|
+
smallGhost: PEACOCK_BLUE,
|
|
12748
|
+
ghost: PEACOCK_BLUE,
|
|
12749
|
+
tertiary: PEACOCK_BLUE,
|
|
12750
|
+
danger: WHITE,
|
|
12807
12751
|
dangerSecondary: "#910029",
|
|
12808
|
-
whiteSecondary: WHITE
|
|
12809
|
-
whitePrimary: WHITE
|
|
12752
|
+
whiteSecondary: WHITE,
|
|
12753
|
+
whitePrimary: WHITE
|
|
12810
12754
|
};
|
|
12811
12755
|
var fallbackValues$1 = {
|
|
12812
12756
|
padding: padding,
|
|
@@ -12815,7 +12759,6 @@ var fallbackValues$1 = {
|
|
|
12815
12759
|
fontWeight: fontWeight,
|
|
12816
12760
|
height: height,
|
|
12817
12761
|
minWidth: minWidth,
|
|
12818
|
-
textDecoration: textDecoration,
|
|
12819
12762
|
backgroundColor: backgroundColor,
|
|
12820
12763
|
border: border,
|
|
12821
12764
|
hoverBackgroundColor: hoverBackgroundColor,
|
|
@@ -12939,7 +12882,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12939
12882
|
|
|
12940
12883
|
Note: the children prop is only used if contentOverride is set to true, in which case
|
|
12941
12884
|
the text prop is ignored.
|
|
12942
|
-
|
|
12885
|
+
|
|
12943
12886
|
*/
|
|
12944
12887
|
|
|
12945
12888
|
var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
@@ -12970,8 +12913,8 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12970
12913
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
12971
12914
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12972
12915
|
var isMobile = themeContext.isMobile;
|
|
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 ");
|
|
12916
|
+
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 ");
|
|
12917
|
+
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 ");
|
|
12975
12918
|
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 ");
|
|
12976
12919
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
12977
12920
|
ref: ref,
|
|
@@ -13002,7 +12945,6 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
13002
12945
|
weight: themeValues.fontWeight,
|
|
13003
12946
|
variant: themeValues.fontSizeVariant,
|
|
13004
12947
|
color: themeValues.color,
|
|
13005
|
-
textDecoration: themeValues.textDecoration,
|
|
13006
12948
|
textWrap: textWrap,
|
|
13007
12949
|
extraStyles: textExtraStyles
|
|
13008
12950
|
}, text)));
|
|
@@ -20445,23 +20387,20 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
20445
20387
|
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
|
|
20446
20388
|
|
|
20447
20389
|
// import theme from "styled-theming";
|
|
20448
|
-
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
20449
|
-
STORM_GREY$1 = STORM_GREY;
|
|
20450
|
-
var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
20451
20390
|
|
|
20452
20391
|
/*
|
|
20453
20392
|
For now I'm using string values, eventually shared components library will have its own constants file
|
|
20454
20393
|
for colors/values that should be used here instead
|
|
20455
20394
|
*/
|
|
20456
20395
|
|
|
20457
|
-
var color$5 = "".concat(MATISSE_BLUE
|
|
20458
|
-
var activeColor$2 = "".concat(STORM_GREY
|
|
20459
|
-
var activeBreadcrumbColor = "".concat(STORM_GREY
|
|
20396
|
+
var color$5 = "".concat(MATISSE_BLUE);
|
|
20397
|
+
var activeColor$2 = "".concat(STORM_GREY);
|
|
20398
|
+
var activeBreadcrumbColor = "".concat(STORM_GREY);
|
|
20460
20399
|
var fontSize$2 = "0.875rem";
|
|
20461
20400
|
var lineHeight = "1.25rem";
|
|
20462
20401
|
var fontWeight$1 = "400";
|
|
20463
20402
|
var margin = "0.5rem";
|
|
20464
|
-
var hover = "text-decoration:
|
|
20403
|
+
var hover = "text-decoration: none;";
|
|
20465
20404
|
var fallbackValues$9 = {
|
|
20466
20405
|
color: color$5,
|
|
20467
20406
|
activeColor: activeColor$2,
|
|
@@ -20488,9 +20427,6 @@ var fallbackValues$a = {
|
|
|
20488
20427
|
};
|
|
20489
20428
|
|
|
20490
20429
|
var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
|
|
20491
|
-
var ROYAL_BLUE$1 = ROYAL_BLUE;
|
|
20492
|
-
var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
|
|
20493
|
-
|
|
20494
20430
|
/*
|
|
20495
20431
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20496
20432
|
unrecognized DOM attributes.
|
|
@@ -20508,7 +20444,7 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20508
20444
|
})).withConfig({
|
|
20509
20445
|
displayName: "ExternalLinkstyled__StyledExternalLink",
|
|
20510
20446
|
componentId: "sc-m1q2m2-0"
|
|
20511
|
-
})(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", "
|
|
20447
|
+
})(["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) {
|
|
20512
20448
|
var size = _ref2.size;
|
|
20513
20449
|
return size;
|
|
20514
20450
|
}, function (_ref3) {
|
|
@@ -20523,10 +20459,10 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20523
20459
|
}, function (_ref6) {
|
|
20524
20460
|
var lineheight = _ref6.lineheight;
|
|
20525
20461
|
return lineheight;
|
|
20526
|
-
},
|
|
20462
|
+
}, function (_ref7) {
|
|
20527
20463
|
var hoverColor = _ref7.hoverColor;
|
|
20528
20464
|
return hoverColor;
|
|
20529
|
-
}, ROYAL_BLUE
|
|
20465
|
+
}, ROYAL_BLUE, function (_ref8) {
|
|
20530
20466
|
var activeColor = _ref8.activeColor;
|
|
20531
20467
|
return activeColor;
|
|
20532
20468
|
}, function (_ref9) {
|
|
@@ -20577,9 +20513,6 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20577
20513
|
});
|
|
20578
20514
|
|
|
20579
20515
|
var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20580
|
-
var ROYAL_BLUE$2 = ROYAL_BLUE;
|
|
20581
|
-
var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
|
|
20582
|
-
|
|
20583
20516
|
/*
|
|
20584
20517
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20585
20518
|
unrecognized DOM attributes.
|
|
@@ -20599,7 +20532,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20599
20532
|
})).withConfig({
|
|
20600
20533
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
20601
20534
|
componentId: "sc-cuqxud-0"
|
|
20602
|
-
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", "
|
|
20535
|
+
})(["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) {
|
|
20603
20536
|
var color = _ref2.color,
|
|
20604
20537
|
active = _ref2.active,
|
|
20605
20538
|
activeColor = _ref2.activeColor;
|
|
@@ -20619,10 +20552,10 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20619
20552
|
}, function (_ref7) {
|
|
20620
20553
|
var margin = _ref7.margin;
|
|
20621
20554
|
return margin;
|
|
20622
|
-
},
|
|
20555
|
+
}, function (_ref8) {
|
|
20623
20556
|
var hoverColor = _ref8.hoverColor;
|
|
20624
20557
|
return hoverColor;
|
|
20625
|
-
}, ROYAL_BLUE
|
|
20558
|
+
}, ROYAL_BLUE, function (_ref9) {
|
|
20626
20559
|
var activeColor = _ref9.activeColor;
|
|
20627
20560
|
return activeColor;
|
|
20628
20561
|
}, function (_ref10) {
|
|
@@ -20695,7 +20628,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
20695
20628
|
lineheight: themeValues.lineHeight,
|
|
20696
20629
|
fontWeight: themeValues.fontWeight,
|
|
20697
20630
|
margin: themeValues.margin,
|
|
20698
|
-
extraStyles: "\n text-transform: uppercase;\n ".concat(isActive.toString() === "true" && "color: ".concat(themeValues.activeBreadcrumbColor, ";\n
|
|
20631
|
+
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 }")
|
|
20699
20632
|
}, linkText), index < breadcrumbsList.length - 1 ? /*#__PURE__*/React__default.createElement(IconChevron, null) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
|
|
20700
20633
|
})));
|
|
20701
20634
|
};
|
|
@@ -22275,6 +22208,8 @@ _curry2(function test(pattern, str) {
|
|
|
22275
22208
|
return _cloneRegExp(pattern).test(str);
|
|
22276
22209
|
});
|
|
22277
22210
|
|
|
22211
|
+
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
22212
|
+
|
|
22278
22213
|
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22279
22214
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22280
22215
|
var _ref$url = _ref.url,
|
|
@@ -22283,10 +22218,8 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22283
22218
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
22284
22219
|
_ref$fileLink = _ref.fileLink,
|
|
22285
22220
|
fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
|
|
22286
|
-
|
|
22287
|
-
|
|
22288
|
-
_ref$linkExtraStyles = _ref.linkExtraStyles,
|
|
22289
|
-
linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles,
|
|
22221
|
+
extraStyles = _ref.extraStyles,
|
|
22222
|
+
linkExtraStyles = _ref.linkExtraStyles,
|
|
22290
22223
|
_ref$newTab = _ref.newTab,
|
|
22291
22224
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22292
22225
|
dataQa = _ref.dataQa,
|
|
@@ -25890,7 +25823,7 @@ var useToastNotification = function useToastNotification() {
|
|
|
25890
25823
|
|
|
25891
25824
|
|
|
25892
25825
|
|
|
25893
|
-
var index$
|
|
25826
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
25894
25827
|
__proto__: null,
|
|
25895
25828
|
useOutsideClick: useOutsideClickHook,
|
|
25896
25829
|
useScrollTo: useScrollTo,
|
|
@@ -39069,6 +39002,14 @@ var NavTabs = function NavTabs(_ref) {
|
|
|
39069
39002
|
}, tabs)));
|
|
39070
39003
|
};
|
|
39071
39004
|
|
|
39005
|
+
|
|
39006
|
+
|
|
39007
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
39008
|
+
__proto__: null,
|
|
39009
|
+
colors: colors,
|
|
39010
|
+
fontWeights: style_constants
|
|
39011
|
+
});
|
|
39012
|
+
|
|
39072
39013
|
var shineFrames = styled.keyframes(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
|
|
39073
39014
|
var LoadingPill = styled__default.div.withConfig({
|
|
39074
39015
|
displayName: "LoadingPillstyled__LoadingPill",
|
|
@@ -46499,6 +46440,10 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
46499
46440
|
};
|
|
46500
46441
|
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$K, "profile");
|
|
46501
46442
|
|
|
46443
|
+
var ACH_METHOD = "BANK_ACCOUNT";
|
|
46444
|
+
var CC_METHOD = "CREDIT_CARD";
|
|
46445
|
+
var CASH_METHOD = "CASH";
|
|
46446
|
+
|
|
46502
46447
|
var IconsModule = function IconsModule(_ref) {
|
|
46503
46448
|
var icon = _ref.icon,
|
|
46504
46449
|
iconDefault = _ref.iconDefault,
|
|
@@ -46583,17 +46528,17 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46583
46528
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46584
46529
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
46585
46530
|
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
46586
|
-
return "To
|
|
46531
|
+
return "To set up ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
|
|
46587
46532
|
};
|
|
46588
46533
|
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
46589
46534
|
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46590
|
-
var deactivateText = "
|
|
46591
|
-
var activateText = "Set Up ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
|
|
46535
|
+
var deactivateText = "Stop ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46536
|
+
var activateText = "Set Up ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46592
46537
|
var nextDate = dueDate || nextAutopayDate;
|
|
46593
46538
|
var modalExtraProps = {
|
|
46594
|
-
modalHeaderText: autoPayActive ?
|
|
46595
|
-
modalBodyText: autoPayActive ? "Are you sure you want to
|
|
46596
|
-
continueButtonText: autoPayActive ? "
|
|
46539
|
+
modalHeaderText: autoPayActive ? deactivateText : activateText,
|
|
46540
|
+
modalBodyText: autoPayActive ? "Are you sure you want to stop ".concat(plan, "? ").concat(!inactive && nextDate && nextDate !== "On" ? "Your next payment will be due on " + nextDate + "." : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
|
|
46541
|
+
continueButtonText: autoPayActive ? "Stop ".concat(shortPlan) : "Add",
|
|
46597
46542
|
useDangerButton: autoPayActive,
|
|
46598
46543
|
continueAction: autoPayActive ? function () {
|
|
46599
46544
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -47416,7 +47361,6 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
47416
47361
|
var Pagination = function Pagination(_ref3) {
|
|
47417
47362
|
var _ref3$activeBorderWid = _ref3.activeBorderWidth,
|
|
47418
47363
|
activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
|
|
47419
|
-
ariaLabel = _ref3.ariaLabel,
|
|
47420
47364
|
arrowColor = _ref3.arrowColor,
|
|
47421
47365
|
_ref3$borderRadius = _ref3.borderRadius,
|
|
47422
47366
|
borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
|
|
@@ -47436,10 +47380,11 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47436
47380
|
pageNext = _ref3.pageNext,
|
|
47437
47381
|
pagePrevious = _ref3.pagePrevious,
|
|
47438
47382
|
setCurrentPage = _ref3.setCurrentPage,
|
|
47383
|
+
ariaLabel = _ref3.ariaLabel,
|
|
47439
47384
|
themeValues = _ref3.themeValues;
|
|
47440
47385
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
47441
47386
|
isMobile = _useContext.isMobile;
|
|
47442
|
-
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 ");
|
|
47387
|
+
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 ");
|
|
47443
47388
|
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 ");
|
|
47444
47389
|
return /*#__PURE__*/React__default.createElement(Cluster, {
|
|
47445
47390
|
justify: "center",
|
|
@@ -49587,7 +49532,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49587
49532
|
return /*#__PURE__*/React__default.createElement(InternalLink, {
|
|
49588
49533
|
to: route,
|
|
49589
49534
|
key: "".concat(route, "-").concat(index),
|
|
49590
|
-
extraStyles: "&:hover {\n ".concat(active ? "> * {\n background-color: ".concat(themeValues.activeTabHover, ";\n }") : "> * { \n background-color: rgba(8, 27, 43, 0.05);\n }", "}")
|
|
49535
|
+
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 }", "}")
|
|
49591
49536
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
49592
49537
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
49593
49538
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -50297,10 +50242,10 @@ exports.WorkflowTile = WorkflowTile;
|
|
|
50297
50242
|
exports.XCircleIconMedium = XCircleIconMedium;
|
|
50298
50243
|
exports.XCircleIconSmall = XCircleIconSmall;
|
|
50299
50244
|
exports.cardRegistry = cardRegistry;
|
|
50300
|
-
exports.constants = index$
|
|
50245
|
+
exports.constants = index$5;
|
|
50301
50246
|
exports.createPartialAmountFormState = createPartialAmountFormState;
|
|
50302
50247
|
exports.createPartialAmountFormValidators = createPartialAmountFormValidators;
|
|
50303
|
-
exports.hooks = index$
|
|
50248
|
+
exports.hooks = index$4;
|
|
50304
50249
|
exports.util = index$6;
|
|
50305
50250
|
exports.withWindowSize = withWindowSize;
|
|
50306
50251
|
//# sourceMappingURL=index.cjs.js.map
|