@thecb/components 10.2.2-beta.1 → 10.2.2
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/dist/index.cjs.js +62 -58
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +62 -58
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/MultiCartIcon.js +12 -10
- package/src/components/atoms/jumbo/Jumbo.js +1 -5
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +1 -1
- package/src/components/molecules/payment-button-bar/PaymentButtonBar.js +6 -1
package/dist/index.esm.js
CHANGED
|
@@ -18220,22 +18220,25 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18220
18220
|
}));
|
|
18221
18221
|
};
|
|
18222
18222
|
|
|
18223
|
+
var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
|
|
18223
18224
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18224
18225
|
var _ref$iconFill = _ref.iconFill,
|
|
18225
18226
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18226
|
-
_ref$
|
|
18227
|
-
|
|
18228
|
-
|
|
18229
|
-
|
|
18230
|
-
|
|
18227
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
18228
|
+
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
18229
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
18230
|
+
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
18231
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
18232
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
18231
18233
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18232
18234
|
width: iconWidth,
|
|
18233
18235
|
height: iconHeight,
|
|
18234
|
-
viewBox: "0 0
|
|
18235
|
-
|
|
18236
|
-
|
|
18237
|
-
|
|
18238
|
-
fill: iconFill
|
|
18236
|
+
viewBox: "0 0 24.81 22.06"
|
|
18237
|
+
}, rest), /*#__PURE__*/React.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React.createElement("path", {
|
|
18238
|
+
d: "M18.7499553,20.499994 C19.348912,20.499994 19.8632339,20.2851508 20.2929204,19.8554643 C20.7226068,19.4257779 20.9374501,18.911456 20.9374501,18.3124993 C20.9374501,17.8958334 20.8267735,17.5117199 20.6054196,17.1601583 C20.3840658,16.8085966 20.0780771,16.5416703 19.6874531,16.3593789 L19.6874531,16.3593789 L19.9218275,15.3828187 C19.9739105,15.0963613 19.9088069,14.835945 19.7265155,14.6015706 C19.544224,14.3671962 19.3098496,14.2500089 19.0233921,14.2500089 L19.0233921,14.2500089 L8.5156047,14.2500089 L8.28123026,13.0000119 L19.7265155,13.0000119 C19.9348481,13.0000119 20.1236501,12.9349077 20.2929204,12.8046999 C20.4621906,12.6744921 20.5728678,12.4922006 20.6249508,12.2578262 L20.6249508,12.2578262 L22.4608839,4.13284556 C22.5390088,3.84638811 22.4869258,3.58597187 22.3046343,3.35159742 C22.1223429,3.11722298 21.8749478,3.00004172 21.5624486,3.00004172 L21.5624486,3.00004172 L6.21092269,3.00004172 L5.85936103,1.24222745 C5.80727802,1.03389482 5.6966008,0.858113985 5.52733057,0.714884961 C5.35806034,0.571655937 5.16925831,0.500041723 4.96092567,0.500041723 L4.96092567,0.500041723 L0.937497765,0.500041723 C0.67708152,0.500041723 0.455728279,0.591187141 0.273436848,0.773478571 C0.0911454173,0.955770002 0,1.17712324 0,1.43753949 L0,1.43753949 L0,2.062538 C0,2.32295424 0.0911454173,2.54430748 0.273436848,2.72659891 C0.455728279,2.90889035 0.67708152,3.00004172 0.937497765,3.00004172 L0.937497765,3.00004172 L3.67186625,3.00004172 L6.40623473,16.3984413 C6.06769367,16.606774 5.80076742,16.8802108 5.60545539,17.2187519 C5.41014335,17.5572929 5.31248733,17.9218752 5.31248733,18.3124993 C5.31248733,18.911456 5.52733057,19.4257779 5.95701705,19.8554643 C6.38670352,20.2851508 6.90102541,20.499994 7.49998212,20.499994 C8.09893883,20.499994 8.61326071,20.2851508 9.04294719,19.8554643 C9.47263367,19.4257779 9.6874769,18.904946 9.6874769,18.2929681 C9.6874769,17.6809901 9.46612307,17.1666689 9.02341599,16.750003 L9.02341599,16.750003 L17.2265214,16.750003 C16.7838143,17.1666689 16.5624605,17.6809901 16.5624605,18.2929681 C16.5624605,18.904946 16.7773037,19.4257779 17.2069902,19.8554643 C17.6366767,20.2851508 18.1509986,20.499994 18.7499553,20.499994 Z",
|
|
18239
|
+
id: "cart-badge-shopping-cart",
|
|
18240
|
+
fill: iconFill,
|
|
18241
|
+
fillRule: "nonzero"
|
|
18239
18242
|
}));
|
|
18240
18243
|
};
|
|
18241
18244
|
|
|
@@ -18885,7 +18888,7 @@ var mobileFallbackValues = {
|
|
|
18885
18888
|
};
|
|
18886
18889
|
var MOBILE_BREAKPOINT = 768;
|
|
18887
18890
|
|
|
18888
|
-
var _excluded$
|
|
18891
|
+
var _excluded$j = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18889
18892
|
|
|
18890
18893
|
/*
|
|
18891
18894
|
New responsive text component for Title elements
|
|
@@ -18932,7 +18935,7 @@ var Title = function Title(_ref) {
|
|
|
18932
18935
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18933
18936
|
dataQa = _ref.dataQa,
|
|
18934
18937
|
children = _ref.children,
|
|
18935
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18938
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18936
18939
|
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
18937
18940
|
variant: variant,
|
|
18938
18941
|
as: as,
|
|
@@ -20356,12 +20359,12 @@ var fallbackValues$8 = {
|
|
|
20356
20359
|
linkColor: linkColor
|
|
20357
20360
|
};
|
|
20358
20361
|
|
|
20359
|
-
var _excluded$
|
|
20362
|
+
var _excluded$k = ["variant", "themeValues", "children"];
|
|
20360
20363
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
20361
20364
|
var variant = _ref.variant,
|
|
20362
20365
|
themeValues = _ref.themeValues,
|
|
20363
20366
|
children = _ref.children,
|
|
20364
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20367
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
20365
20368
|
var shadowRegistry = {
|
|
20366
20369
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
20367
20370
|
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), ";"),
|
|
@@ -20418,7 +20421,7 @@ var fallbackValues$a = {
|
|
|
20418
20421
|
externalLinkColor: externalLinkColor
|
|
20419
20422
|
};
|
|
20420
20423
|
|
|
20421
|
-
var _excluded$
|
|
20424
|
+
var _excluded$l = ["hoverColor", "activeColor", "extrastyles"];
|
|
20422
20425
|
/*
|
|
20423
20426
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20424
20427
|
unrecognized DOM attributes.
|
|
@@ -20429,7 +20432,7 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20429
20432
|
var hoverColor = _ref.hoverColor,
|
|
20430
20433
|
activeColor = _ref.activeColor,
|
|
20431
20434
|
extrastyles = _ref.extrastyles,
|
|
20432
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20435
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
20433
20436
|
return /*#__PURE__*/React.createElement("a", _extends({}, props, {
|
|
20434
20437
|
ref: ref
|
|
20435
20438
|
}));
|
|
@@ -20504,7 +20507,7 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20504
20507
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
20505
20508
|
});
|
|
20506
20509
|
|
|
20507
|
-
var _excluded$
|
|
20510
|
+
var _excluded$m = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20508
20511
|
/*
|
|
20509
20512
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20510
20513
|
unrecognized DOM attributes.
|
|
@@ -20517,7 +20520,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20517
20520
|
active = _ref.active,
|
|
20518
20521
|
color = _ref.color,
|
|
20519
20522
|
extrastyles = _ref.extrastyles,
|
|
20520
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20523
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20521
20524
|
return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
|
|
20522
20525
|
ref: ref
|
|
20523
20526
|
}));
|
|
@@ -22202,7 +22205,7 @@ _curry2(function test(pattern, str) {
|
|
|
22202
22205
|
|
|
22203
22206
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
22204
22207
|
|
|
22205
|
-
var _excluded$
|
|
22208
|
+
var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22206
22209
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22207
22210
|
var _ref$url = _ref.url,
|
|
22208
22211
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -22215,7 +22218,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22215
22218
|
_ref$newTab = _ref.newTab,
|
|
22216
22219
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22217
22220
|
dataQa = _ref.dataQa,
|
|
22218
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22221
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
22219
22222
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
22220
22223
|
var children = _ref2.children,
|
|
22221
22224
|
url = _ref2.url,
|
|
@@ -22303,7 +22306,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
22303
22306
|
return extraStyles;
|
|
22304
22307
|
});
|
|
22305
22308
|
|
|
22306
|
-
var _excluded$
|
|
22309
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
22307
22310
|
var Paragraph = function Paragraph(_ref) {
|
|
22308
22311
|
var themeValues = _ref.themeValues,
|
|
22309
22312
|
_ref$weight = _ref.weight,
|
|
@@ -22317,7 +22320,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22317
22320
|
dataQa = _ref.dataQa,
|
|
22318
22321
|
children = _ref.children,
|
|
22319
22322
|
as = _ref.as,
|
|
22320
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22323
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
22321
22324
|
return /*#__PURE__*/React.createElement(ParagraphText, _extends({
|
|
22322
22325
|
weight: weight,
|
|
22323
22326
|
color: color,
|
|
@@ -25626,7 +25629,7 @@ var mobileFallbackValues$1 = {
|
|
|
25626
25629
|
};
|
|
25627
25630
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25628
25631
|
|
|
25629
|
-
var _excluded$
|
|
25632
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25630
25633
|
|
|
25631
25634
|
/*
|
|
25632
25635
|
New responsive text component for Detail elements
|
|
@@ -25676,7 +25679,7 @@ var Detail = function Detail(_ref) {
|
|
|
25676
25679
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25677
25680
|
dataQa = _ref.dataQa,
|
|
25678
25681
|
children = _ref.children,
|
|
25679
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25682
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
25680
25683
|
return /*#__PURE__*/React.createElement(DetailText, _extends({
|
|
25681
25684
|
variant: variant,
|
|
25682
25685
|
as: as,
|
|
@@ -26386,7 +26389,7 @@ var fallbackValues$k = {
|
|
|
26386
26389
|
formFooterPanel: formFooterPanel
|
|
26387
26390
|
};
|
|
26388
26391
|
|
|
26389
|
-
var _excluded$
|
|
26392
|
+
var _excluded$q = ["showErrors", "themeValues"],
|
|
26390
26393
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26391
26394
|
var InputField = styled.input.withConfig({
|
|
26392
26395
|
displayName: "FormInput__InputField",
|
|
@@ -26421,7 +26424,7 @@ var InputField = styled.input.withConfig({
|
|
|
26421
26424
|
var FormattedInputField = styled(function (_ref8) {
|
|
26422
26425
|
var showErrors = _ref8.showErrors,
|
|
26423
26426
|
themeValues = _ref8.themeValues,
|
|
26424
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26427
|
+
props = _objectWithoutProperties(_ref8, _excluded$q);
|
|
26425
26428
|
return /*#__PURE__*/React.createElement(FormattedInput, props);
|
|
26426
26429
|
}).withConfig({
|
|
26427
26430
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26593,7 +26596,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26593
26596
|
};
|
|
26594
26597
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26595
26598
|
|
|
26596
|
-
var _excluded$
|
|
26599
|
+
var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26597
26600
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26598
26601
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26599
26602
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26602,7 +26605,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26602
26605
|
largeChild = _ref.largeChild,
|
|
26603
26606
|
largeChildSize = _ref.largeChildSize,
|
|
26604
26607
|
children = _ref.children,
|
|
26605
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26608
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
26606
26609
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
26607
26610
|
padding: "0"
|
|
26608
26611
|
}, rest), /*#__PURE__*/React.createElement(Switcher, {
|
|
@@ -26613,24 +26616,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26613
26616
|
}, children));
|
|
26614
26617
|
};
|
|
26615
26618
|
|
|
26616
|
-
var _excluded$
|
|
26619
|
+
var _excluded$s = ["childGap", "bottomItem", "children"];
|
|
26617
26620
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26618
26621
|
var _ref$childGap = _ref.childGap,
|
|
26619
26622
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26620
26623
|
bottomItem = _ref.bottomItem,
|
|
26621
26624
|
children = _ref.children,
|
|
26622
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26625
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26623
26626
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
26624
26627
|
childGap: childGap,
|
|
26625
26628
|
bottomItem: bottomItem
|
|
26626
26629
|
}, rest), children);
|
|
26627
26630
|
};
|
|
26628
26631
|
|
|
26629
|
-
var _excluded$
|
|
26632
|
+
var _excluded$t = ["themeValues", "children"];
|
|
26630
26633
|
var FormContainer = function FormContainer(_ref) {
|
|
26631
26634
|
var themeValues = _ref.themeValues,
|
|
26632
26635
|
children = _ref.children,
|
|
26633
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26636
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26634
26637
|
var _useContext = useContext(ThemeContext),
|
|
26635
26638
|
isMobile = _useContext.isMobile;
|
|
26636
26639
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
@@ -26940,7 +26943,7 @@ var fallbackValues$o = {
|
|
|
26940
26943
|
fontSize: fontSize$8
|
|
26941
26944
|
};
|
|
26942
26945
|
|
|
26943
|
-
var _excluded$
|
|
26946
|
+
var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26944
26947
|
var Heading = function Heading(_ref) {
|
|
26945
26948
|
var themeValues = _ref.themeValues,
|
|
26946
26949
|
_ref$weight = _ref.weight,
|
|
@@ -26959,7 +26962,7 @@ var Heading = function Heading(_ref) {
|
|
|
26959
26962
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26960
26963
|
dataQa = _ref.dataQa,
|
|
26961
26964
|
children = _ref.children,
|
|
26962
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26965
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26963
26966
|
return /*#__PURE__*/React.createElement(HeadingText, _extends({
|
|
26964
26967
|
variant: variant,
|
|
26965
26968
|
as: as,
|
|
@@ -27046,9 +27049,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27046
27049
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
27047
27050
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
27048
27051
|
openCartSlider = _ref.openCartSlider,
|
|
27049
|
-
extraStyles = _ref.extraStyles
|
|
27050
|
-
cartStatusExtraStyles = _ref.cartStatusExtraStyles,
|
|
27051
|
-
cartStatusThemeValues = _ref.cartStatusThemeValues;
|
|
27052
|
+
extraStyles = _ref.extraStyles;
|
|
27052
27053
|
var _useContext = useContext(ThemeContext),
|
|
27053
27054
|
isMobile = _useContext.isMobile;
|
|
27054
27055
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -27071,8 +27072,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27071
27072
|
minHeight: "100%",
|
|
27072
27073
|
justify: isMobile && !showCartStatus ? "center" : showButton || showCartStatus ? "space-between" : "left",
|
|
27073
27074
|
align: "center",
|
|
27074
|
-
nowrap: showCartStatus
|
|
27075
|
-
extraStyles: cartStatusExtraStyles
|
|
27075
|
+
nowrap: showCartStatus
|
|
27076
27076
|
}, /*#__PURE__*/React.createElement(Title$1, {
|
|
27077
27077
|
variant: isMobile ? "small" : "large",
|
|
27078
27078
|
as: "h1",
|
|
@@ -27089,7 +27089,6 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27089
27089
|
variant: "primary",
|
|
27090
27090
|
extraStyles: "margin: 0 0 65px 0; min-width: 320px;"
|
|
27091
27091
|
}), showCartStatus && /*#__PURE__*/React.createElement(CartStatus, {
|
|
27092
|
-
themeValues: cartStatusThemeValues,
|
|
27093
27092
|
total: total,
|
|
27094
27093
|
itemsCount: itemsCount,
|
|
27095
27094
|
openCart: openCartSlider
|
|
@@ -27164,11 +27163,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
27164
27163
|
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
27165
27164
|
};
|
|
27166
27165
|
|
|
27167
|
-
var _excluded$
|
|
27166
|
+
var _excluded$v = ["version"];
|
|
27168
27167
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
27169
27168
|
var _ref$version = _ref.version,
|
|
27170
27169
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
27171
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27170
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
27172
27171
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27173
27172
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
27174
27173
|
};
|
|
@@ -27305,7 +27304,7 @@ var Loading = function Loading() {
|
|
|
27305
27304
|
})))));
|
|
27306
27305
|
};
|
|
27307
27306
|
|
|
27308
|
-
var _excluded$
|
|
27307
|
+
var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
27309
27308
|
var NavFooter = function NavFooter(_ref) {
|
|
27310
27309
|
var leftContent = _ref.leftContent,
|
|
27311
27310
|
rightContent = _ref.rightContent,
|
|
@@ -27320,7 +27319,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27320
27319
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27321
27320
|
isMobile = _ref.isMobile,
|
|
27322
27321
|
footerWidth = _ref.footerWidth,
|
|
27323
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27322
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27324
27323
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27325
27324
|
padding: footerPadding,
|
|
27326
27325
|
background: backgroundColor,
|
|
@@ -27351,7 +27350,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27351
27350
|
}, rightContent)))))));
|
|
27352
27351
|
};
|
|
27353
27352
|
|
|
27354
|
-
var _excluded$
|
|
27353
|
+
var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27355
27354
|
var NavHeader = function NavHeader(_ref) {
|
|
27356
27355
|
var leftContent = _ref.leftContent,
|
|
27357
27356
|
rightContent = _ref.rightContent,
|
|
@@ -27360,7 +27359,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27360
27359
|
isMobile = _ref.isMobile,
|
|
27361
27360
|
backgroundColor = _ref.backgroundColor,
|
|
27362
27361
|
headerWidth = _ref.headerWidth,
|
|
27363
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27362
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27364
27363
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27365
27364
|
padding: "0 16px 4px",
|
|
27366
27365
|
background: backgroundColor,
|
|
@@ -39114,7 +39113,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
39114
39113
|
return extraStyles;
|
|
39115
39114
|
});
|
|
39116
39115
|
|
|
39117
|
-
var _excluded$
|
|
39116
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
39118
39117
|
var TableRow = function TableRow(_ref) {
|
|
39119
39118
|
var children = _ref.children,
|
|
39120
39119
|
extraStyles = _ref.extraStyles,
|
|
@@ -39123,7 +39122,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39123
39122
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
39124
39123
|
onClick = _ref.onClick,
|
|
39125
39124
|
themeValues = _ref.themeValues,
|
|
39126
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
39125
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
39127
39126
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
39128
39127
|
onClick: onClick,
|
|
39129
39128
|
hoverEffect: hoverEffect,
|
|
@@ -46525,7 +46524,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46525
46524
|
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
46526
46525
|
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46527
46526
|
var deactivateText = "Stop ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46528
|
-
var activateText = "Set
|
|
46527
|
+
var activateText = "Set up ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46529
46528
|
var nextDate = dueDate || nextAutopayDate;
|
|
46530
46529
|
var modalExtraProps = {
|
|
46531
46530
|
modalHeaderText: autoPayActive ? deactivateText : activateText,
|
|
@@ -47479,7 +47478,11 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47479
47478
|
_ref$hideForwardButto = _ref.hideForwardButton,
|
|
47480
47479
|
hideForwardButton = _ref$hideForwardButto === void 0 ? false : _ref$hideForwardButto,
|
|
47481
47480
|
_ref$hideBackButton = _ref.hideBackButton,
|
|
47482
|
-
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton
|
|
47481
|
+
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton,
|
|
47482
|
+
buttonGroupStyles = _ref.buttonGroupStyles,
|
|
47483
|
+
_ref$hideAdditionalBu = _ref.hideAdditionalButton,
|
|
47484
|
+
hideAdditionalButton = _ref$hideAdditionalBu === void 0 ? false : _ref$hideAdditionalBu,
|
|
47485
|
+
additionalButton = _ref.additionalButton;
|
|
47483
47486
|
var _useContext = useContext(ThemeContext),
|
|
47484
47487
|
isMobile = _useContext.isMobile;
|
|
47485
47488
|
var backButton = !!cancelURL && !!cancelText ? /*#__PURE__*/React.createElement(ButtonWithLink, {
|
|
@@ -47525,8 +47528,9 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47525
47528
|
padding: "2.5rem 0 3.125rem 0"
|
|
47526
47529
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
47527
47530
|
justify: buttonFlexOverride ? buttonFlexOverride : !!backButton ? "space-between" : "flex-end",
|
|
47528
|
-
align: "center"
|
|
47529
|
-
|
|
47531
|
+
align: "center",
|
|
47532
|
+
extraStyles: buttonGroupStyles
|
|
47533
|
+
}, !hideBackButton && /*#__PURE__*/React.createElement(Fragment$1, null, backButton), !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton), !hideAdditionalButton && /*#__PURE__*/React.createElement(Fragment$1, null, additionalButton))));
|
|
47530
47534
|
};
|
|
47531
47535
|
|
|
47532
47536
|
var backgroundColor$c = {
|
|
@@ -47552,7 +47556,7 @@ var fallbackValues$N = {
|
|
|
47552
47556
|
labeledAmountTotal: labeledAmountTotal
|
|
47553
47557
|
};
|
|
47554
47558
|
|
|
47555
|
-
var _excluded$
|
|
47559
|
+
var _excluded$z = ["amount"],
|
|
47556
47560
|
_excluded2$1 = ["amount"];
|
|
47557
47561
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47558
47562
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47792,7 +47796,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47792
47796
|
return fee.amount > 0;
|
|
47793
47797
|
}).map(function (_ref5) {
|
|
47794
47798
|
var amount = _ref5.amount,
|
|
47795
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47799
|
+
rest = _objectWithoutProperties(_ref5, _excluded$z);
|
|
47796
47800
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47797
47801
|
amount: displayCurrency(amount)
|
|
47798
47802
|
});
|
|
@@ -48201,11 +48205,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48201
48205
|
}, errorMessage))))));
|
|
48202
48206
|
};
|
|
48203
48207
|
|
|
48204
|
-
var _excluded$
|
|
48208
|
+
var _excluded$A = ["version"];
|
|
48205
48209
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48206
48210
|
var _ref$version = _ref.version,
|
|
48207
48211
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48208
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48212
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
48209
48213
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48210
48214
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
48211
48215
|
};
|
|
@@ -49004,7 +49008,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49004
49008
|
}, section.content))));
|
|
49005
49009
|
};
|
|
49006
49010
|
|
|
49007
|
-
var _excluded$
|
|
49011
|
+
var _excluded$B = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
49008
49012
|
|
|
49009
49013
|
/**
|
|
49010
49014
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49052,7 +49056,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49052
49056
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49053
49057
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49054
49058
|
groupedSections = _ref.groupedSections,
|
|
49055
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49059
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
49056
49060
|
var _useState = useState(null),
|
|
49057
49061
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49058
49062
|
focused = _useState2[0],
|