@thecb/components 10.2.2-beta.0 → 10.2.2-beta.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.cjs.js
CHANGED
|
@@ -18228,22 +18228,25 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18228
18228
|
}));
|
|
18229
18229
|
};
|
|
18230
18230
|
|
|
18231
|
+
var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
|
|
18231
18232
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18232
18233
|
var _ref$iconFill = _ref.iconFill,
|
|
18233
18234
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18234
|
-
_ref$
|
|
18235
|
-
|
|
18236
|
-
|
|
18237
|
-
|
|
18238
|
-
|
|
18235
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
18236
|
+
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
18237
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
18238
|
+
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
18239
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
18240
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
18239
18241
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18240
18242
|
width: iconWidth,
|
|
18241
18243
|
height: iconHeight,
|
|
18242
|
-
viewBox: "0 0
|
|
18243
|
-
|
|
18244
|
-
|
|
18245
|
-
|
|
18246
|
-
fill: iconFill
|
|
18244
|
+
viewBox: "0 0 24.81 22.06"
|
|
18245
|
+
}, rest), /*#__PURE__*/React__default.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React__default.createElement("path", {
|
|
18246
|
+
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",
|
|
18247
|
+
id: "cart-badge-shopping-cart",
|
|
18248
|
+
fill: iconFill,
|
|
18249
|
+
fillRule: "nonzero"
|
|
18247
18250
|
}));
|
|
18248
18251
|
};
|
|
18249
18252
|
|
|
@@ -18893,7 +18896,7 @@ var mobileFallbackValues = {
|
|
|
18893
18896
|
};
|
|
18894
18897
|
var MOBILE_BREAKPOINT = 768;
|
|
18895
18898
|
|
|
18896
|
-
var _excluded$
|
|
18899
|
+
var _excluded$j = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18897
18900
|
|
|
18898
18901
|
/*
|
|
18899
18902
|
New responsive text component for Title elements
|
|
@@ -18940,7 +18943,7 @@ var Title = function Title(_ref) {
|
|
|
18940
18943
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18941
18944
|
dataQa = _ref.dataQa,
|
|
18942
18945
|
children = _ref.children,
|
|
18943
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18946
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18944
18947
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
18945
18948
|
variant: variant,
|
|
18946
18949
|
as: as,
|
|
@@ -20364,12 +20367,12 @@ var fallbackValues$8 = {
|
|
|
20364
20367
|
linkColor: linkColor
|
|
20365
20368
|
};
|
|
20366
20369
|
|
|
20367
|
-
var _excluded$
|
|
20370
|
+
var _excluded$k = ["variant", "themeValues", "children"];
|
|
20368
20371
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
20369
20372
|
var variant = _ref.variant,
|
|
20370
20373
|
themeValues = _ref.themeValues,
|
|
20371
20374
|
children = _ref.children,
|
|
20372
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20375
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
20373
20376
|
var shadowRegistry = {
|
|
20374
20377
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
20375
20378
|
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), ";"),
|
|
@@ -20426,7 +20429,7 @@ var fallbackValues$a = {
|
|
|
20426
20429
|
externalLinkColor: externalLinkColor
|
|
20427
20430
|
};
|
|
20428
20431
|
|
|
20429
|
-
var _excluded$
|
|
20432
|
+
var _excluded$l = ["hoverColor", "activeColor", "extrastyles"];
|
|
20430
20433
|
/*
|
|
20431
20434
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20432
20435
|
unrecognized DOM attributes.
|
|
@@ -20437,7 +20440,7 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20437
20440
|
var hoverColor = _ref.hoverColor,
|
|
20438
20441
|
activeColor = _ref.activeColor,
|
|
20439
20442
|
extrastyles = _ref.extrastyles,
|
|
20440
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20443
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
20441
20444
|
return /*#__PURE__*/React__default.createElement("a", _extends({}, props, {
|
|
20442
20445
|
ref: ref
|
|
20443
20446
|
}));
|
|
@@ -20512,7 +20515,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20512
20515
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
20513
20516
|
});
|
|
20514
20517
|
|
|
20515
|
-
var _excluded$
|
|
20518
|
+
var _excluded$m = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20516
20519
|
/*
|
|
20517
20520
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20518
20521
|
unrecognized DOM attributes.
|
|
@@ -20525,7 +20528,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20525
20528
|
active = _ref.active,
|
|
20526
20529
|
color = _ref.color,
|
|
20527
20530
|
extrastyles = _ref.extrastyles,
|
|
20528
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20531
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20529
20532
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, _extends({}, props, {
|
|
20530
20533
|
ref: ref
|
|
20531
20534
|
}));
|
|
@@ -22210,7 +22213,7 @@ _curry2(function test(pattern, str) {
|
|
|
22210
22213
|
|
|
22211
22214
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
22212
22215
|
|
|
22213
|
-
var _excluded$
|
|
22216
|
+
var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
22214
22217
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
22215
22218
|
var _ref$url = _ref.url,
|
|
22216
22219
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -22223,7 +22226,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
22223
22226
|
_ref$newTab = _ref.newTab,
|
|
22224
22227
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
22225
22228
|
dataQa = _ref.dataQa,
|
|
22226
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22229
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
22227
22230
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
22228
22231
|
var children = _ref2.children,
|
|
22229
22232
|
url = _ref2.url,
|
|
@@ -22311,7 +22314,7 @@ var ParagraphText = styled__default.p.withConfig({
|
|
|
22311
22314
|
return extraStyles;
|
|
22312
22315
|
});
|
|
22313
22316
|
|
|
22314
|
-
var _excluded$
|
|
22317
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
22315
22318
|
var Paragraph = function Paragraph(_ref) {
|
|
22316
22319
|
var themeValues = _ref.themeValues,
|
|
22317
22320
|
_ref$weight = _ref.weight,
|
|
@@ -22325,7 +22328,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
22325
22328
|
dataQa = _ref.dataQa,
|
|
22326
22329
|
children = _ref.children,
|
|
22327
22330
|
as = _ref.as,
|
|
22328
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22331
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
22329
22332
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
22330
22333
|
weight: weight,
|
|
22331
22334
|
color: color,
|
|
@@ -25634,7 +25637,7 @@ var mobileFallbackValues$1 = {
|
|
|
25634
25637
|
};
|
|
25635
25638
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25636
25639
|
|
|
25637
|
-
var _excluded$
|
|
25640
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25638
25641
|
|
|
25639
25642
|
/*
|
|
25640
25643
|
New responsive text component for Detail elements
|
|
@@ -25684,7 +25687,7 @@ var Detail = function Detail(_ref) {
|
|
|
25684
25687
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25685
25688
|
dataQa = _ref.dataQa,
|
|
25686
25689
|
children = _ref.children,
|
|
25687
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25690
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
25688
25691
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
25689
25692
|
variant: variant,
|
|
25690
25693
|
as: as,
|
|
@@ -26394,7 +26397,7 @@ var fallbackValues$k = {
|
|
|
26394
26397
|
formFooterPanel: formFooterPanel
|
|
26395
26398
|
};
|
|
26396
26399
|
|
|
26397
|
-
var _excluded$
|
|
26400
|
+
var _excluded$q = ["showErrors", "themeValues"],
|
|
26398
26401
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26399
26402
|
var InputField = styled__default.input.withConfig({
|
|
26400
26403
|
displayName: "FormInput__InputField",
|
|
@@ -26429,7 +26432,7 @@ var InputField = styled__default.input.withConfig({
|
|
|
26429
26432
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
26430
26433
|
var showErrors = _ref8.showErrors,
|
|
26431
26434
|
themeValues = _ref8.themeValues,
|
|
26432
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26435
|
+
props = _objectWithoutProperties(_ref8, _excluded$q);
|
|
26433
26436
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
26434
26437
|
}).withConfig({
|
|
26435
26438
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26601,7 +26604,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26601
26604
|
};
|
|
26602
26605
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26603
26606
|
|
|
26604
|
-
var _excluded$
|
|
26607
|
+
var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26605
26608
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26606
26609
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26607
26610
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26610,7 +26613,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26610
26613
|
largeChild = _ref.largeChild,
|
|
26611
26614
|
largeChildSize = _ref.largeChildSize,
|
|
26612
26615
|
children = _ref.children,
|
|
26613
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26616
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
26614
26617
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26615
26618
|
padding: "0"
|
|
26616
26619
|
}, rest), /*#__PURE__*/React__default.createElement(Switcher, {
|
|
@@ -26621,24 +26624,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26621
26624
|
}, children));
|
|
26622
26625
|
};
|
|
26623
26626
|
|
|
26624
|
-
var _excluded$
|
|
26627
|
+
var _excluded$s = ["childGap", "bottomItem", "children"];
|
|
26625
26628
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26626
26629
|
var _ref$childGap = _ref.childGap,
|
|
26627
26630
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26628
26631
|
bottomItem = _ref.bottomItem,
|
|
26629
26632
|
children = _ref.children,
|
|
26630
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26633
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26631
26634
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
26632
26635
|
childGap: childGap,
|
|
26633
26636
|
bottomItem: bottomItem
|
|
26634
26637
|
}, rest), children);
|
|
26635
26638
|
};
|
|
26636
26639
|
|
|
26637
|
-
var _excluded$
|
|
26640
|
+
var _excluded$t = ["themeValues", "children"];
|
|
26638
26641
|
var FormContainer = function FormContainer(_ref) {
|
|
26639
26642
|
var themeValues = _ref.themeValues,
|
|
26640
26643
|
children = _ref.children,
|
|
26641
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26644
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26642
26645
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26643
26646
|
isMobile = _useContext.isMobile;
|
|
26644
26647
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
@@ -26948,7 +26951,7 @@ var fallbackValues$o = {
|
|
|
26948
26951
|
fontSize: fontSize$8
|
|
26949
26952
|
};
|
|
26950
26953
|
|
|
26951
|
-
var _excluded$
|
|
26954
|
+
var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26952
26955
|
var Heading = function Heading(_ref) {
|
|
26953
26956
|
var themeValues = _ref.themeValues,
|
|
26954
26957
|
_ref$weight = _ref.weight,
|
|
@@ -26967,7 +26970,7 @@ var Heading = function Heading(_ref) {
|
|
|
26967
26970
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26968
26971
|
dataQa = _ref.dataQa,
|
|
26969
26972
|
children = _ref.children,
|
|
26970
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26973
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26971
26974
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
26972
26975
|
variant: variant,
|
|
26973
26976
|
as: as,
|
|
@@ -27054,9 +27057,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27054
27057
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
27055
27058
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
27056
27059
|
openCartSlider = _ref.openCartSlider,
|
|
27057
|
-
extraStyles = _ref.extraStyles
|
|
27058
|
-
cartStatusExtraStyles = _ref.cartStatusExtraStyles,
|
|
27059
|
-
cartStatusThemeValues = _ref.cartStatusThemeValues;
|
|
27060
|
+
extraStyles = _ref.extraStyles;
|
|
27060
27061
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
27061
27062
|
isMobile = _useContext.isMobile;
|
|
27062
27063
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -27079,8 +27080,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27079
27080
|
minHeight: "100%",
|
|
27080
27081
|
justify: isMobile && !showCartStatus ? "center" : showButton || showCartStatus ? "space-between" : "left",
|
|
27081
27082
|
align: "center",
|
|
27082
|
-
nowrap: showCartStatus
|
|
27083
|
-
extraStyles: cartStatusExtraStyles
|
|
27083
|
+
nowrap: showCartStatus
|
|
27084
27084
|
}, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
27085
27085
|
variant: isMobile ? "small" : "large",
|
|
27086
27086
|
as: "h1",
|
|
@@ -27097,7 +27097,6 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
27097
27097
|
variant: "primary",
|
|
27098
27098
|
extraStyles: "margin: 0 0 65px 0; min-width: 320px;"
|
|
27099
27099
|
}), showCartStatus && /*#__PURE__*/React__default.createElement(CartStatus, {
|
|
27100
|
-
themeValues: cartStatusThemeValues,
|
|
27101
27100
|
total: total,
|
|
27102
27101
|
itemsCount: itemsCount,
|
|
27103
27102
|
openCart: openCartSlider
|
|
@@ -27172,11 +27171,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
27172
27171
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
27173
27172
|
};
|
|
27174
27173
|
|
|
27175
|
-
var _excluded$
|
|
27174
|
+
var _excluded$v = ["version"];
|
|
27176
27175
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
27177
27176
|
var _ref$version = _ref.version,
|
|
27178
27177
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
27179
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27178
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
27180
27179
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
27181
27180
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
27182
27181
|
};
|
|
@@ -27313,7 +27312,7 @@ var Loading = function Loading() {
|
|
|
27313
27312
|
})))));
|
|
27314
27313
|
};
|
|
27315
27314
|
|
|
27316
|
-
var _excluded$
|
|
27315
|
+
var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
27317
27316
|
var NavFooter = function NavFooter(_ref) {
|
|
27318
27317
|
var leftContent = _ref.leftContent,
|
|
27319
27318
|
rightContent = _ref.rightContent,
|
|
@@ -27328,7 +27327,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27328
27327
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27329
27328
|
isMobile = _ref.isMobile,
|
|
27330
27329
|
footerWidth = _ref.footerWidth,
|
|
27331
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27330
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27332
27331
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27333
27332
|
padding: footerPadding,
|
|
27334
27333
|
background: backgroundColor,
|
|
@@ -27359,7 +27358,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27359
27358
|
}, rightContent)))))));
|
|
27360
27359
|
};
|
|
27361
27360
|
|
|
27362
|
-
var _excluded$
|
|
27361
|
+
var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27363
27362
|
var NavHeader = function NavHeader(_ref) {
|
|
27364
27363
|
var leftContent = _ref.leftContent,
|
|
27365
27364
|
rightContent = _ref.rightContent,
|
|
@@ -27368,7 +27367,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27368
27367
|
isMobile = _ref.isMobile,
|
|
27369
27368
|
backgroundColor = _ref.backgroundColor,
|
|
27370
27369
|
headerWidth = _ref.headerWidth,
|
|
27371
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27370
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27372
27371
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27373
27372
|
padding: "0 16px 4px",
|
|
27374
27373
|
background: backgroundColor,
|
|
@@ -39122,7 +39121,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
39122
39121
|
return extraStyles;
|
|
39123
39122
|
});
|
|
39124
39123
|
|
|
39125
|
-
var _excluded$
|
|
39124
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
39126
39125
|
var TableRow = function TableRow(_ref) {
|
|
39127
39126
|
var children = _ref.children,
|
|
39128
39127
|
extraStyles = _ref.extraStyles,
|
|
@@ -39131,7 +39130,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
39131
39130
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
39132
39131
|
onClick = _ref.onClick,
|
|
39133
39132
|
themeValues = _ref.themeValues,
|
|
39134
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
39133
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
39135
39134
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
39136
39135
|
onClick: onClick,
|
|
39137
39136
|
hoverEffect: hoverEffect,
|
|
@@ -46533,7 +46532,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46533
46532
|
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
46534
46533
|
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46535
46534
|
var deactivateText = "Stop ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46536
|
-
var activateText = "Set
|
|
46535
|
+
var activateText = "Set up ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
|
|
46537
46536
|
var nextDate = dueDate || nextAutopayDate;
|
|
46538
46537
|
var modalExtraProps = {
|
|
46539
46538
|
modalHeaderText: autoPayActive ? deactivateText : activateText,
|
|
@@ -47487,7 +47486,11 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47487
47486
|
_ref$hideForwardButto = _ref.hideForwardButton,
|
|
47488
47487
|
hideForwardButton = _ref$hideForwardButto === void 0 ? false : _ref$hideForwardButto,
|
|
47489
47488
|
_ref$hideBackButton = _ref.hideBackButton,
|
|
47490
|
-
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton
|
|
47489
|
+
hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton,
|
|
47490
|
+
buttonGroupStyles = _ref.buttonGroupStyles,
|
|
47491
|
+
_ref$hideAdditionalBu = _ref.hideAdditionalButton,
|
|
47492
|
+
hideAdditionalButton = _ref$hideAdditionalBu === void 0 ? false : _ref$hideAdditionalBu,
|
|
47493
|
+
additionalButton = _ref.additionalButton;
|
|
47491
47494
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
47492
47495
|
isMobile = _useContext.isMobile;
|
|
47493
47496
|
var backButton = !!cancelURL && !!cancelText ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
|
|
@@ -47533,8 +47536,9 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47533
47536
|
padding: "2.5rem 0 3.125rem 0"
|
|
47534
47537
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
47535
47538
|
justify: buttonFlexOverride ? buttonFlexOverride : !!backButton ? "space-between" : "flex-end",
|
|
47536
|
-
align: "center"
|
|
47537
|
-
|
|
47539
|
+
align: "center",
|
|
47540
|
+
extraStyles: buttonGroupStyles
|
|
47541
|
+
}, !hideBackButton && /*#__PURE__*/React__default.createElement(React.Fragment, null, backButton), !hideForwardButton && /*#__PURE__*/React__default.createElement(React.Fragment, null, forwardButton), !hideAdditionalButton && /*#__PURE__*/React__default.createElement(React.Fragment, null, additionalButton))));
|
|
47538
47542
|
};
|
|
47539
47543
|
|
|
47540
47544
|
var backgroundColor$c = {
|
|
@@ -47560,7 +47564,7 @@ var fallbackValues$N = {
|
|
|
47560
47564
|
labeledAmountTotal: labeledAmountTotal
|
|
47561
47565
|
};
|
|
47562
47566
|
|
|
47563
|
-
var _excluded$
|
|
47567
|
+
var _excluded$z = ["amount"],
|
|
47564
47568
|
_excluded2$1 = ["amount"];
|
|
47565
47569
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47566
47570
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47800,7 +47804,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47800
47804
|
return fee.amount > 0;
|
|
47801
47805
|
}).map(function (_ref5) {
|
|
47802
47806
|
var amount = _ref5.amount,
|
|
47803
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47807
|
+
rest = _objectWithoutProperties(_ref5, _excluded$z);
|
|
47804
47808
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47805
47809
|
amount: displayCurrency(amount)
|
|
47806
47810
|
});
|
|
@@ -48209,11 +48213,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48209
48213
|
}, errorMessage))))));
|
|
48210
48214
|
};
|
|
48211
48215
|
|
|
48212
|
-
var _excluded$
|
|
48216
|
+
var _excluded$A = ["version"];
|
|
48213
48217
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48214
48218
|
var _ref$version = _ref.version,
|
|
48215
48219
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48216
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48220
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
48217
48221
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48218
48222
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
48219
48223
|
};
|
|
@@ -49012,7 +49016,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49012
49016
|
}, section.content))));
|
|
49013
49017
|
};
|
|
49014
49018
|
|
|
49015
|
-
var _excluded$
|
|
49019
|
+
var _excluded$B = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
49016
49020
|
|
|
49017
49021
|
/**
|
|
49018
49022
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49060,7 +49064,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49060
49064
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49061
49065
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49062
49066
|
groupedSections = _ref.groupedSections,
|
|
49063
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49067
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
49064
49068
|
var _useState = React.useState(null),
|
|
49065
49069
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49066
49070
|
focused = _useState2[0],
|