@thecb/components 11.11.1-beta.2 → 11.11.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 +64 -61
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +64 -61
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/card-type/CardType.js +1 -5
- package/src/components/atoms/formatted-bank-account/FormattedBankAccount.js +11 -5
- package/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +30 -30
- package/src/components/atoms/link/InternalLink.js +3 -1
- package/src/components/molecules/radio-section/radio-button/RadioButton.js +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -21665,6 +21665,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21665
21665
|
});
|
|
21666
21666
|
/* eslint-enable no-unused-vars */
|
|
21667
21667
|
|
|
21668
|
+
var _excluded$u = ["to", "color", "children", "active", "fontSize", "lineheight", "fontWeight", "variant", "margin", "tabIndex", "dataQa", "extraStyles", "isUnderlined", "hoverUnderline", "extraHoverStyles", "extraActiveStyles", "extraFocusStyles"];
|
|
21668
21669
|
var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
21669
21670
|
var _ref$to = _ref.to,
|
|
21670
21671
|
to = _ref$to === void 0 ? "" : _ref$to,
|
|
@@ -21691,10 +21692,11 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21691
21692
|
_ref$extraActiveStyle = _ref.extraActiveStyles,
|
|
21692
21693
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
21693
21694
|
_ref$extraFocusStyles = _ref.extraFocusStyles,
|
|
21694
|
-
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles
|
|
21695
|
+
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles,
|
|
21696
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
21695
21697
|
var themeContext = useContext(ThemeContext);
|
|
21696
21698
|
var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
|
|
21697
|
-
return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
|
|
21699
|
+
return /*#__PURE__*/React__default.createElement(StyledInternalLink, _extends({
|
|
21698
21700
|
to: to,
|
|
21699
21701
|
color: color,
|
|
21700
21702
|
lineheight: lineheight,
|
|
@@ -21714,7 +21716,7 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21714
21716
|
extraFocusStyles: extraFocusStyles,
|
|
21715
21717
|
"data-qa": dataQa,
|
|
21716
21718
|
ref: ref
|
|
21717
|
-
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
21719
|
+
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
21718
21720
|
});
|
|
21719
21721
|
|
|
21720
21722
|
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
@@ -21749,7 +21751,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
21749
21751
|
})));
|
|
21750
21752
|
};
|
|
21751
21753
|
|
|
21752
|
-
var _excluded$
|
|
21754
|
+
var _excluded$v = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
21753
21755
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
21754
21756
|
var _ref$url = _ref.url,
|
|
21755
21757
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -21764,7 +21766,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21764
21766
|
_ref$newTab = _ref.newTab,
|
|
21765
21767
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
21766
21768
|
dataQa = _ref.dataQa,
|
|
21767
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
21769
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
21768
21770
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
21769
21771
|
var children = _ref2.children,
|
|
21770
21772
|
url = _ref2.url,
|
|
@@ -21852,7 +21854,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
21852
21854
|
return extraStyles;
|
|
21853
21855
|
});
|
|
21854
21856
|
|
|
21855
|
-
var _excluded$
|
|
21857
|
+
var _excluded$w = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
21856
21858
|
var Paragraph = function Paragraph(_ref) {
|
|
21857
21859
|
var themeValues = _ref.themeValues,
|
|
21858
21860
|
_ref$weight = _ref.weight,
|
|
@@ -21866,7 +21868,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
21866
21868
|
dataQa = _ref.dataQa,
|
|
21867
21869
|
children = _ref.children,
|
|
21868
21870
|
as = _ref.as,
|
|
21869
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21871
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
21870
21872
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
21871
21873
|
weight: weight,
|
|
21872
21874
|
color: color,
|
|
@@ -22108,7 +22110,7 @@ var ENTER = 13;
|
|
|
22108
22110
|
var ESCAPE = 27;
|
|
22109
22111
|
var SPACEBAR = 32;
|
|
22110
22112
|
|
|
22111
|
-
var _excluded$
|
|
22113
|
+
var _excluded$x = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
|
|
22112
22114
|
var CheckboxContainer = styled.span.withConfig({
|
|
22113
22115
|
displayName: "Checkbox__CheckboxContainer",
|
|
22114
22116
|
componentId: "sc-36kqbv-0"
|
|
@@ -22178,7 +22180,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref5, ref) {
|
|
|
22178
22180
|
_ref5$hasIconOverride = _ref5.hasIconOverride,
|
|
22179
22181
|
hasIconOverride = _ref5$hasIconOverride === void 0 ? false : _ref5$hasIconOverride,
|
|
22180
22182
|
Icon = _ref5.icon,
|
|
22181
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
22183
|
+
rest = _objectWithoutProperties(_ref5, _excluded$x);
|
|
22182
22184
|
var _useState = useState(false),
|
|
22183
22185
|
_useState2 = _slicedToArray(_useState, 2),
|
|
22184
22186
|
focused = _useState2[0],
|
|
@@ -22534,7 +22536,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
22534
22536
|
return extraStyles;
|
|
22535
22537
|
});
|
|
22536
22538
|
|
|
22537
|
-
var _excluded$
|
|
22539
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
22538
22540
|
var TableRow = function TableRow(_ref) {
|
|
22539
22541
|
var children = _ref.children,
|
|
22540
22542
|
extraStyles = _ref.extraStyles,
|
|
@@ -22544,7 +22546,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
22544
22546
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
22545
22547
|
onClick = _ref.onClick,
|
|
22546
22548
|
themeValues = _ref.themeValues,
|
|
22547
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
22549
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
22548
22550
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
22549
22551
|
onClick: onClick,
|
|
22550
22552
|
hoverEffect: hoverEffect,
|
|
@@ -25381,7 +25383,7 @@ var mobileFallbackValues$1 = {
|
|
|
25381
25383
|
};
|
|
25382
25384
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25383
25385
|
|
|
25384
|
-
var _excluded$
|
|
25386
|
+
var _excluded$z = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25385
25387
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
25386
25388
|
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
25387
25389
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$1;
|
|
@@ -25404,7 +25406,7 @@ var Detail = function Detail(_ref) {
|
|
|
25404
25406
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25405
25407
|
dataQa = _ref.dataQa,
|
|
25406
25408
|
children = _ref.children,
|
|
25407
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25409
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
25408
25410
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
25409
25411
|
variant: variant,
|
|
25410
25412
|
as: as,
|
|
@@ -25794,7 +25796,7 @@ var fallbackValues$m = {
|
|
|
25794
25796
|
formFooterPanel: formFooterPanel
|
|
25795
25797
|
};
|
|
25796
25798
|
|
|
25797
|
-
var _excluded$
|
|
25799
|
+
var _excluded$A = ["showErrors", "themeValues"],
|
|
25798
25800
|
_excluded2 = ["ariaLabelledBy", "type", "labelDisplayOverride", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired", "errorFieldExtraStyles", "showFieldErrorRow", "labelTextVariant", "errorTextVariant"];
|
|
25799
25801
|
var InputField = styled.input.withConfig({
|
|
25800
25802
|
displayName: "FormInput__InputField",
|
|
@@ -25829,7 +25831,7 @@ var InputField = styled.input.withConfig({
|
|
|
25829
25831
|
var FormattedInputField = styled(function (_ref8) {
|
|
25830
25832
|
var showErrors = _ref8.showErrors,
|
|
25831
25833
|
themeValues = _ref8.themeValues,
|
|
25832
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
25834
|
+
props = _objectWithoutProperties(_ref8, _excluded$A);
|
|
25833
25835
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
25834
25836
|
}).withConfig({
|
|
25835
25837
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26034,7 +26036,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26034
26036
|
};
|
|
26035
26037
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
|
|
26036
26038
|
|
|
26037
|
-
var _excluded$
|
|
26039
|
+
var _excluded$B = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26038
26040
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26039
26041
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26040
26042
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26043,7 +26045,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26043
26045
|
largeChild = _ref.largeChild,
|
|
26044
26046
|
largeChildSize = _ref.largeChildSize,
|
|
26045
26047
|
children = _ref.children,
|
|
26046
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26048
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
26047
26049
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26048
26050
|
padding: "0"
|
|
26049
26051
|
}, rest), /*#__PURE__*/React__default.createElement(Switcher, {
|
|
@@ -26054,24 +26056,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26054
26056
|
}, children));
|
|
26055
26057
|
};
|
|
26056
26058
|
|
|
26057
|
-
var _excluded$
|
|
26059
|
+
var _excluded$C = ["childGap", "bottomItem", "children"];
|
|
26058
26060
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26059
26061
|
var _ref$childGap = _ref.childGap,
|
|
26060
26062
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26061
26063
|
bottomItem = _ref.bottomItem,
|
|
26062
26064
|
children = _ref.children,
|
|
26063
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26065
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
26064
26066
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
26065
26067
|
childGap: childGap,
|
|
26066
26068
|
bottomItem: bottomItem
|
|
26067
26069
|
}, rest), children);
|
|
26068
26070
|
};
|
|
26069
26071
|
|
|
26070
|
-
var _excluded$
|
|
26072
|
+
var _excluded$D = ["themeValues", "children"];
|
|
26071
26073
|
var FormContainer = function FormContainer(_ref) {
|
|
26072
26074
|
var themeValues = _ref.themeValues,
|
|
26073
26075
|
children = _ref.children,
|
|
26074
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26076
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
26075
26077
|
var _useContext = useContext(ThemeContext),
|
|
26076
26078
|
isMobile = _useContext.isMobile;
|
|
26077
26079
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
@@ -26103,7 +26105,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
|
26103
26105
|
};
|
|
26104
26106
|
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
|
|
26105
26107
|
|
|
26106
|
-
var _excluded$
|
|
26108
|
+
var _excluded$E = ["ariaLabelledBy", "labelDisplayOverride", "labelTextWhenNoError", "errorMessages", "helperModal", "field", "fieldActions", "showErrors", "themeValues", "customHeight", "extraStyles", "removeFromValue", "dataQa", "isRequired", "errorFieldExtraStyles", "showFieldErrorRow", "labelTextVariant", "errorTextVariant", "resize", "rows", "cols", "placeholder", "maxLength"];
|
|
26107
26109
|
var TextareaField = styled.textarea.withConfig({
|
|
26108
26110
|
displayName: "FormTextarea__TextareaField",
|
|
26109
26111
|
componentId: "sc-94tlb0-0"
|
|
@@ -26166,7 +26168,7 @@ var FormTextarea = function FormTextarea(_ref8) {
|
|
|
26166
26168
|
cols = _ref8.cols,
|
|
26167
26169
|
placeholder = _ref8.placeholder,
|
|
26168
26170
|
maxLength = _ref8.maxLength,
|
|
26169
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26171
|
+
props = _objectWithoutProperties(_ref8, _excluded$E);
|
|
26170
26172
|
var setValue = function setValue(value) {
|
|
26171
26173
|
if (removeFromValue !== undefined) {
|
|
26172
26174
|
return fieldActions.set(value.replace(removeFromValue, ""));
|
|
@@ -26306,9 +26308,13 @@ var BankItemWrapper = styled.div.withConfig({
|
|
|
26306
26308
|
displayName: "FormattedBankAccount__BankItemWrapper",
|
|
26307
26309
|
componentId: "sc-18hcgw4-0"
|
|
26308
26310
|
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
26311
|
+
var BankIconWrapper = styled.div.withConfig({
|
|
26312
|
+
displayName: "FormattedBankAccount__BankIconWrapper",
|
|
26313
|
+
componentId: "sc-18hcgw4-1"
|
|
26314
|
+
})(["margin-right:8px;width:36px;height:auto;display:flex;"]);
|
|
26309
26315
|
var BankAccountText = styled.h4.withConfig({
|
|
26310
26316
|
displayName: "FormattedBankAccount__BankAccountText",
|
|
26311
|
-
componentId: "sc-18hcgw4-
|
|
26317
|
+
componentId: "sc-18hcgw4-2"
|
|
26312
26318
|
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
|
|
26313
26319
|
var color = _ref.color;
|
|
26314
26320
|
return color;
|
|
@@ -26320,10 +26326,7 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26320
26326
|
accountType = _ref2.accountType,
|
|
26321
26327
|
autoPay = _ref2.autoPay,
|
|
26322
26328
|
themeValues = _ref2.themeValues;
|
|
26323
|
-
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(
|
|
26324
|
-
padding: "0.25rem 0 0 0",
|
|
26325
|
-
extraStyles: "margin-right: 1rem;"
|
|
26326
|
-
}, /*#__PURE__*/React__default.createElement(BankIcon, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26329
|
+
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(BankIconWrapper, null, /*#__PURE__*/React__default.createElement(BankIconLarge, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26327
26330
|
childGap: "0"
|
|
26328
26331
|
}, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, {
|
|
26329
26332
|
color: themeValues.textColor
|
|
@@ -26378,7 +26381,7 @@ var CardType = function CardType(_ref) {
|
|
|
26378
26381
|
var _ref2 = cardBrands[normalizedType] || cardBrands["default"],
|
|
26379
26382
|
label = _ref2.label,
|
|
26380
26383
|
IconComponent = _ref2[size];
|
|
26381
|
-
return /*#__PURE__*/React__default.createElement(
|
|
26384
|
+
return /*#__PURE__*/React__default.createElement(IconComponent, null);
|
|
26382
26385
|
};
|
|
26383
26386
|
|
|
26384
26387
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
@@ -26455,7 +26458,7 @@ var CreditCardWrapper = styled.div.withConfig({
|
|
|
26455
26458
|
var CCIconWrapper = styled.div.withConfig({
|
|
26456
26459
|
displayName: "FormattedCreditCard__CCIconWrapper",
|
|
26457
26460
|
componentId: "sc-s0ta5l-1"
|
|
26458
|
-
})(["margin-right:
|
|
26461
|
+
})(["margin-right:8px;width:36px;height:auto;display:flex;"]);
|
|
26459
26462
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
26460
26463
|
var lastFour = _ref.lastFour,
|
|
26461
26464
|
type = _ref.type,
|
|
@@ -26570,7 +26573,7 @@ var fallbackValues$q = {
|
|
|
26570
26573
|
fontSize: fontSize$8
|
|
26571
26574
|
};
|
|
26572
26575
|
|
|
26573
|
-
var _excluded$
|
|
26576
|
+
var _excluded$F = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26574
26577
|
var Heading = function Heading(_ref) {
|
|
26575
26578
|
var themeValues = _ref.themeValues,
|
|
26576
26579
|
_ref$weight = _ref.weight,
|
|
@@ -26589,7 +26592,7 @@ var Heading = function Heading(_ref) {
|
|
|
26589
26592
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26590
26593
|
dataQa = _ref.dataQa,
|
|
26591
26594
|
children = _ref.children,
|
|
26592
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26595
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
26593
26596
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
26594
26597
|
variant: variant,
|
|
26595
26598
|
as: as,
|
|
@@ -26869,11 +26872,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
26869
26872
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
26870
26873
|
};
|
|
26871
26874
|
|
|
26872
|
-
var _excluded$
|
|
26875
|
+
var _excluded$G = ["version"];
|
|
26873
26876
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26874
26877
|
var _ref$version = _ref.version,
|
|
26875
26878
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26876
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26879
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
26877
26880
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26878
26881
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
26879
26882
|
};
|
|
@@ -26951,7 +26954,7 @@ var Loading = function Loading() {
|
|
|
26951
26954
|
})))));
|
|
26952
26955
|
};
|
|
26953
26956
|
|
|
26954
|
-
var _excluded$
|
|
26957
|
+
var _excluded$H = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26955
26958
|
var NavFooter = function NavFooter(_ref) {
|
|
26956
26959
|
var leftContent = _ref.leftContent,
|
|
26957
26960
|
rightContent = _ref.rightContent,
|
|
@@ -26966,7 +26969,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26966
26969
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
26967
26970
|
isMobile = _ref.isMobile,
|
|
26968
26971
|
footerWidth = _ref.footerWidth,
|
|
26969
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26972
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
26970
26973
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26971
26974
|
padding: footerPadding,
|
|
26972
26975
|
background: backgroundColor,
|
|
@@ -26997,7 +27000,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26997
27000
|
}, rightContent)))))));
|
|
26998
27001
|
};
|
|
26999
27002
|
|
|
27000
|
-
var _excluded$
|
|
27003
|
+
var _excluded$I = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27001
27004
|
var NavHeader = function NavHeader(_ref) {
|
|
27002
27005
|
var leftContent = _ref.leftContent,
|
|
27003
27006
|
rightContent = _ref.rightContent,
|
|
@@ -27006,7 +27009,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27006
27009
|
isMobile = _ref.isMobile,
|
|
27007
27010
|
backgroundColor = _ref.backgroundColor,
|
|
27008
27011
|
headerWidth = _ref.headerWidth,
|
|
27009
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27012
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
27010
27013
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27011
27014
|
padding: "0 16px 4px",
|
|
27012
27015
|
background: backgroundColor,
|
|
@@ -27564,7 +27567,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27564
27567
|
borderWidth: "1px",
|
|
27565
27568
|
borderStyle: "solid",
|
|
27566
27569
|
borderRadius: "12px",
|
|
27567
|
-
margin: "6px
|
|
27570
|
+
margin: "6px 8px 6px 6px",
|
|
27568
27571
|
height: "24px",
|
|
27569
27572
|
width: "24px",
|
|
27570
27573
|
variants: buttonBorder,
|
|
@@ -38867,7 +38870,7 @@ var LoadingPill = styled.span.withConfig({
|
|
|
38867
38870
|
return backgroundColor;
|
|
38868
38871
|
}, shineFrames);
|
|
38869
38872
|
|
|
38870
|
-
var _excluded$
|
|
38873
|
+
var _excluded$J = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
|
|
38871
38874
|
var LoadingLine = function LoadingLine(_ref) {
|
|
38872
38875
|
var minWidth = _ref.minWidth,
|
|
38873
38876
|
maxWidth = _ref.maxWidth,
|
|
@@ -38881,7 +38884,7 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
38881
38884
|
backgroundColor = _ref$backgroundColor === void 0 ? SEASHELL_WHITE : _ref$backgroundColor,
|
|
38882
38885
|
_ref$foregroundColor = _ref.foregroundColor,
|
|
38883
38886
|
foregroundColor = _ref$foregroundColor === void 0 ? ALABASTER_WHITE : _ref$foregroundColor,
|
|
38884
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38887
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
38885
38888
|
var calculatedWidth = Math.floor(Math.random() * (parseInt(maxWidth) - parseInt(minWidth) + 1) + parseInt(minWidth));
|
|
38886
38889
|
return /*#__PURE__*/React__default.createElement(LoadingPill, _extends({
|
|
38887
38890
|
"aria-label": "loading",
|
|
@@ -45287,11 +45290,11 @@ var Modal$2 = function Modal(_ref) {
|
|
|
45287
45290
|
};
|
|
45288
45291
|
var ModalControlV2 = withWindowSize(Modal$2);
|
|
45289
45292
|
|
|
45290
|
-
var _excluded$
|
|
45293
|
+
var _excluded$K = ["version"];
|
|
45291
45294
|
var Modal$3 = function Modal(_ref) {
|
|
45292
45295
|
var _ref$version = _ref.version,
|
|
45293
45296
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
45294
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
45297
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
45295
45298
|
var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
|
|
45296
45299
|
return /*#__PURE__*/React__default.createElement(ModalControl, rest);
|
|
45297
45300
|
};
|
|
@@ -47547,7 +47550,7 @@ var fallbackValues$Q = {
|
|
|
47547
47550
|
labeledAmountTotal: labeledAmountTotal
|
|
47548
47551
|
};
|
|
47549
47552
|
|
|
47550
|
-
var _excluded$
|
|
47553
|
+
var _excluded$L = ["amount"],
|
|
47551
47554
|
_excluded2$1 = ["amount"];
|
|
47552
47555
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47553
47556
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47790,7 +47793,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47790
47793
|
return fee.amount > 0;
|
|
47791
47794
|
}).map(function (_ref5) {
|
|
47792
47795
|
var amount = _ref5.amount,
|
|
47793
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47796
|
+
rest = _objectWithoutProperties(_ref5, _excluded$L);
|
|
47794
47797
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47795
47798
|
amount: displayCurrency(amount)
|
|
47796
47799
|
});
|
|
@@ -48227,11 +48230,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48227
48230
|
}, errorMessage))))));
|
|
48228
48231
|
};
|
|
48229
48232
|
|
|
48230
|
-
var _excluded$
|
|
48233
|
+
var _excluded$M = ["version"];
|
|
48231
48234
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48232
48235
|
var _ref$version = _ref.version,
|
|
48233
48236
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48234
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48237
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
48235
48238
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48236
48239
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
48237
48240
|
};
|
|
@@ -49039,7 +49042,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49039
49042
|
}, section.content))));
|
|
49040
49043
|
};
|
|
49041
49044
|
|
|
49042
|
-
var _excluded$
|
|
49045
|
+
var _excluded$N = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
|
|
49043
49046
|
|
|
49044
49047
|
/**
|
|
49045
49048
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49089,7 +49092,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49089
49092
|
_ref$groupedSections = _ref.groupedSections,
|
|
49090
49093
|
groupedSections = _ref$groupedSections === void 0 ? [] : _ref$groupedSections,
|
|
49091
49094
|
borderOverride = _ref.borderOverride,
|
|
49092
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49095
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
49093
49096
|
var _useState = useState(null),
|
|
49094
49097
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49095
49098
|
focused = _useState2[0],
|
|
@@ -49645,7 +49648,7 @@ var Tab = function Tab(_ref) {
|
|
|
49645
49648
|
}, label));
|
|
49646
49649
|
};
|
|
49647
49650
|
|
|
49648
|
-
var _excluded$
|
|
49651
|
+
var _excluded$O = ["tabsConfig", "tabsDisplayMode", "tabsPadding", "contentPadding", "extraStyles"];
|
|
49649
49652
|
var HORIZONTAL = "horizontal";
|
|
49650
49653
|
var Tabs = function Tabs(_ref) {
|
|
49651
49654
|
var _tabsConfig$tabs$;
|
|
@@ -49658,7 +49661,7 @@ var Tabs = function Tabs(_ref) {
|
|
|
49658
49661
|
contentPadding = _ref$contentPadding === void 0 ? "0" : _ref$contentPadding,
|
|
49659
49662
|
_ref$extraStyles = _ref.extraStyles,
|
|
49660
49663
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
49661
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
49664
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
49662
49665
|
var _useState = useState(((_tabsConfig$tabs$ = tabsConfig.tabs[0]) === null || _tabsConfig$tabs$ === void 0 ? void 0 : _tabsConfig$tabs$.label) || null),
|
|
49663
49666
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49664
49667
|
activeTab = _useState2[0],
|
|
@@ -49811,7 +49814,7 @@ var Timeout = function Timeout(_ref) {
|
|
|
49811
49814
|
};
|
|
49812
49815
|
var Timeout$1 = withWindowSize(Timeout);
|
|
49813
49816
|
|
|
49814
|
-
var _excluded$
|
|
49817
|
+
var _excluded$P = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
|
|
49815
49818
|
var VARIANTS = {
|
|
49816
49819
|
SUCCESS: "success",
|
|
49817
49820
|
ERROR: "error"
|
|
@@ -49840,7 +49843,7 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49840
49843
|
screenReaderMessage = _ref.screenReaderMessage,
|
|
49841
49844
|
_ref$showScreenReader = _ref.showScreenReaderMessage,
|
|
49842
49845
|
showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
|
|
49843
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49846
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
49844
49847
|
var screenReaderMessageRef = useRef();
|
|
49845
49848
|
var LIVEREGION_TRANSITION_DELAY = 1000;
|
|
49846
49849
|
useEffect$1(function () {
|
|
@@ -50023,7 +50026,7 @@ var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
|
|
|
50023
50026
|
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
50024
50027
|
});
|
|
50025
50028
|
|
|
50026
|
-
var _excluded$
|
|
50029
|
+
var _excluded$Q = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
50027
50030
|
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
50028
50031
|
var id = _ref.id,
|
|
50029
50032
|
closeMenuCallback = _ref.closeMenuCallback,
|
|
@@ -50039,7 +50042,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
50039
50042
|
hoverStyles = _ref.hoverStyles,
|
|
50040
50043
|
activeStyles = _ref.activeStyles,
|
|
50041
50044
|
extraStyles = _ref.extraStyles,
|
|
50042
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
50045
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
50043
50046
|
return /*#__PURE__*/React__default.createElement(PopupMenuItemContainer, _extends({
|
|
50044
50047
|
id: id,
|
|
50045
50048
|
role: "menuItem",
|
|
@@ -50278,7 +50281,7 @@ var ActionLinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
50278
50281
|
});
|
|
50279
50282
|
});
|
|
50280
50283
|
|
|
50281
|
-
var _excluded$
|
|
50284
|
+
var _excluded$R = ["width", "height", "color"];
|
|
50282
50285
|
var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
50283
50286
|
var _ref$width = _ref.width,
|
|
50284
50287
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -50286,7 +50289,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
|
50286
50289
|
height = _ref$height === void 0 ? "19" : _ref$height,
|
|
50287
50290
|
_ref$color = _ref.color,
|
|
50288
50291
|
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
50289
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
50292
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
50290
50293
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
50291
50294
|
"aria-hidden": "true",
|
|
50292
50295
|
width: width,
|
|
@@ -50434,7 +50437,7 @@ var SearchBox = function SearchBox(_ref) {
|
|
|
50434
50437
|
}));
|
|
50435
50438
|
};
|
|
50436
50439
|
|
|
50437
|
-
var _excluded$
|
|
50440
|
+
var _excluded$S = ["width", "height", "color"];
|
|
50438
50441
|
var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
50439
50442
|
var _ref$width = _ref.width,
|
|
50440
50443
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -50442,7 +50445,7 @@ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
|
50442
50445
|
height = _ref$height === void 0 ? "18" : _ref$height,
|
|
50443
50446
|
_ref$color = _ref.color,
|
|
50444
50447
|
color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
|
|
50445
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
50448
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
50446
50449
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
50447
50450
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50448
50451
|
width: width,
|
|
@@ -51138,7 +51141,7 @@ var fallbackValues$11 = {
|
|
|
51138
51141
|
justifyContent: justifyContent
|
|
51139
51142
|
};
|
|
51140
51143
|
|
|
51141
|
-
var _excluded$
|
|
51144
|
+
var _excluded$T = ["variant", "imageUrl", "isMobile", "theme", "extraStyles"],
|
|
51142
51145
|
_excluded2$2 = ["theme", "isMobile"],
|
|
51143
51146
|
_excluded3 = ["theme", "isMobile"],
|
|
51144
51147
|
_excluded4 = ["theme", "isMobile"];
|
|
@@ -51161,7 +51164,7 @@ var HeroContainer = styled(function (_ref2) {
|
|
|
51161
51164
|
isMobile = _ref2.isMobile,
|
|
51162
51165
|
theme = _ref2.theme,
|
|
51163
51166
|
extraStyles = _ref2.extraStyles,
|
|
51164
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
51167
|
+
props = _objectWithoutProperties(_ref2, _excluded$T);
|
|
51165
51168
|
return /*#__PURE__*/React__default.createElement(Box, props);
|
|
51166
51169
|
}).withConfig({
|
|
51167
51170
|
displayName: "HeroImagestyled__HeroContainer",
|