@thecb/components 10.1.2-beta.1 → 10.1.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.esm.js
CHANGED
|
@@ -15270,6 +15270,8 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15270
15270
|
|
|
15271
15271
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15272
15272
|
|
|
15273
|
+
var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
|
|
15274
|
+
|
|
15273
15275
|
var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
15274
15276
|
var _ref$iconFill = _ref.iconFill,
|
|
15275
15277
|
iconFill = _ref$iconFill === void 0 ? "#FFFFFF" : _ref$iconFill,
|
|
@@ -15277,16 +15279,18 @@ var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
|
15277
15279
|
iconWidth = _ref$iconWidth === void 0 ? "32" : _ref$iconWidth,
|
|
15278
15280
|
_ref$iconHeight = _ref.iconHeight,
|
|
15279
15281
|
iconHeight = _ref$iconHeight === void 0 ? "32" : _ref$iconHeight,
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
15283
|
+
|
|
15284
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
15282
15285
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15283
15286
|
width: iconWidth,
|
|
15284
15287
|
height: iconHeight,
|
|
15285
|
-
viewBox: "0 0
|
|
15286
|
-
|
|
15287
|
-
|
|
15288
|
-
|
|
15289
|
-
fill: iconFill
|
|
15288
|
+
viewBox: "0 0 24.81 22.06"
|
|
15289
|
+
}, rest), /*#__PURE__*/React.createElement("path", {
|
|
15290
|
+
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",
|
|
15291
|
+
id: "cart-badge-shopping-cart",
|
|
15292
|
+
fill: iconFill,
|
|
15293
|
+
fillRule: "nonzero"
|
|
15290
15294
|
}));
|
|
15291
15295
|
};
|
|
15292
15296
|
|
|
@@ -18933,7 +18937,7 @@ var mobileFallbackValues = {
|
|
|
18933
18937
|
};
|
|
18934
18938
|
var MOBILE_BREAKPOINT = 768;
|
|
18935
18939
|
|
|
18936
|
-
var _excluded$
|
|
18940
|
+
var _excluded$j = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18937
18941
|
/*
|
|
18938
18942
|
New responsive text component for Title elements
|
|
18939
18943
|
Size is decoupled from tag
|
|
@@ -18980,7 +18984,7 @@ var Title = function Title(_ref) {
|
|
|
18980
18984
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18981
18985
|
dataQa = _ref.dataQa,
|
|
18982
18986
|
children = _ref.children,
|
|
18983
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18987
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18984
18988
|
|
|
18985
18989
|
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
18986
18990
|
variant: variant,
|
|
@@ -19887,13 +19891,13 @@ var fallbackValues$8 = {
|
|
|
19887
19891
|
linkColor: linkColor
|
|
19888
19892
|
};
|
|
19889
19893
|
|
|
19890
|
-
var _excluded$
|
|
19894
|
+
var _excluded$k = ["variant", "themeValues", "children"];
|
|
19891
19895
|
|
|
19892
19896
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
19893
19897
|
var variant = _ref.variant,
|
|
19894
19898
|
themeValues = _ref.themeValues,
|
|
19895
19899
|
children = _ref.children,
|
|
19896
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19900
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
19897
19901
|
|
|
19898
19902
|
var shadowRegistry = {
|
|
19899
19903
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
@@ -19951,7 +19955,7 @@ var fallbackValues$a = {
|
|
|
19951
19955
|
externalLinkColor: externalLinkColor
|
|
19952
19956
|
};
|
|
19953
19957
|
|
|
19954
|
-
var _excluded$
|
|
19958
|
+
var _excluded$l = ["hoverColor", "activeColor", "extrastyles"];
|
|
19955
19959
|
/*
|
|
19956
19960
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
19957
19961
|
unrecognized DOM attributes.
|
|
@@ -19963,7 +19967,7 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19963
19967
|
var hoverColor = _ref.hoverColor,
|
|
19964
19968
|
activeColor = _ref.activeColor,
|
|
19965
19969
|
extrastyles = _ref.extrastyles,
|
|
19966
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19970
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
19967
19971
|
|
|
19968
19972
|
return /*#__PURE__*/React.createElement("a", _extends({}, props, {
|
|
19969
19973
|
ref: ref
|
|
@@ -20039,7 +20043,7 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20039
20043
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
20040
20044
|
});
|
|
20041
20045
|
|
|
20042
|
-
var _excluded$
|
|
20046
|
+
var _excluded$m = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20043
20047
|
/*
|
|
20044
20048
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20045
20049
|
unrecognized DOM attributes.
|
|
@@ -20053,7 +20057,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20053
20057
|
active = _ref.active,
|
|
20054
20058
|
color = _ref.color,
|
|
20055
20059
|
extrastyles = _ref.extrastyles,
|
|
20056
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20060
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20057
20061
|
|
|
20058
20062
|
return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
|
|
20059
20063
|
ref: ref
|
|
@@ -21739,7 +21743,7 @@ _curry2(function test(pattern, str) {
|
|
|
21739
21743
|
|
|
21740
21744
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
21741
21745
|
|
|
21742
|
-
var _excluded$
|
|
21746
|
+
var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
21743
21747
|
|
|
21744
21748
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
21745
21749
|
var _ref$url = _ref.url,
|
|
@@ -21753,7 +21757,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21753
21757
|
_ref$newTab = _ref.newTab,
|
|
21754
21758
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
21755
21759
|
dataQa = _ref.dataQa,
|
|
21756
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
21760
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
21757
21761
|
|
|
21758
21762
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
21759
21763
|
var children = _ref2.children,
|
|
@@ -21843,7 +21847,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
21843
21847
|
return extraStyles;
|
|
21844
21848
|
});
|
|
21845
21849
|
|
|
21846
|
-
var _excluded$
|
|
21850
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
21847
21851
|
|
|
21848
21852
|
var Paragraph = function Paragraph(_ref) {
|
|
21849
21853
|
var themeValues = _ref.themeValues,
|
|
@@ -21858,7 +21862,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
21858
21862
|
dataQa = _ref.dataQa,
|
|
21859
21863
|
children = _ref.children,
|
|
21860
21864
|
as = _ref.as,
|
|
21861
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21865
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
21862
21866
|
|
|
21863
21867
|
return /*#__PURE__*/React.createElement(ParagraphText, _extends({
|
|
21864
21868
|
weight: weight,
|
|
@@ -25248,7 +25252,7 @@ var mobileFallbackValues$1 = {
|
|
|
25248
25252
|
};
|
|
25249
25253
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25250
25254
|
|
|
25251
|
-
var _excluded$
|
|
25255
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25252
25256
|
/*
|
|
25253
25257
|
New responsive text component for Detail elements
|
|
25254
25258
|
(Block level text elements which are smaller than "Title" elements)
|
|
@@ -25298,7 +25302,7 @@ var Detail = function Detail(_ref) {
|
|
|
25298
25302
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25299
25303
|
dataQa = _ref.dataQa,
|
|
25300
25304
|
children = _ref.children,
|
|
25301
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25305
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
25302
25306
|
|
|
25303
25307
|
return /*#__PURE__*/React.createElement(DetailText, _extends({
|
|
25304
25308
|
variant: variant,
|
|
@@ -26027,7 +26031,7 @@ var fallbackValues$k = {
|
|
|
26027
26031
|
formFooterPanel: formFooterPanel
|
|
26028
26032
|
};
|
|
26029
26033
|
|
|
26030
|
-
var _excluded$
|
|
26034
|
+
var _excluded$q = ["showErrors", "themeValues"],
|
|
26031
26035
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26032
26036
|
var InputField = styled.input.withConfig({
|
|
26033
26037
|
displayName: "FormInput__InputField",
|
|
@@ -26061,7 +26065,7 @@ var InputField = styled.input.withConfig({
|
|
|
26061
26065
|
var FormattedInputField = styled(function (_ref8) {
|
|
26062
26066
|
var showErrors = _ref8.showErrors,
|
|
26063
26067
|
themeValues = _ref8.themeValues,
|
|
26064
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26068
|
+
props = _objectWithoutProperties(_ref8, _excluded$q);
|
|
26065
26069
|
|
|
26066
26070
|
return /*#__PURE__*/React.createElement(FormattedInput, props);
|
|
26067
26071
|
}).withConfig({
|
|
@@ -26241,7 +26245,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26241
26245
|
|
|
26242
26246
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26243
26247
|
|
|
26244
|
-
var _excluded$
|
|
26248
|
+
var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26245
26249
|
|
|
26246
26250
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26247
26251
|
var _ref$breakpoint = _ref.breakpoint,
|
|
@@ -26251,7 +26255,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26251
26255
|
largeChild = _ref.largeChild,
|
|
26252
26256
|
largeChildSize = _ref.largeChildSize,
|
|
26253
26257
|
children = _ref.children,
|
|
26254
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26258
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
26255
26259
|
|
|
26256
26260
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
26257
26261
|
padding: "0"
|
|
@@ -26263,14 +26267,14 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26263
26267
|
}, children));
|
|
26264
26268
|
};
|
|
26265
26269
|
|
|
26266
|
-
var _excluded$
|
|
26270
|
+
var _excluded$s = ["childGap", "bottomItem", "children"];
|
|
26267
26271
|
|
|
26268
26272
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26269
26273
|
var _ref$childGap = _ref.childGap,
|
|
26270
26274
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26271
26275
|
bottomItem = _ref.bottomItem,
|
|
26272
26276
|
children = _ref.children,
|
|
26273
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26277
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26274
26278
|
|
|
26275
26279
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
26276
26280
|
childGap: childGap,
|
|
@@ -26278,12 +26282,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
26278
26282
|
}, rest), children);
|
|
26279
26283
|
};
|
|
26280
26284
|
|
|
26281
|
-
var _excluded$
|
|
26285
|
+
var _excluded$t = ["themeValues", "children"];
|
|
26282
26286
|
|
|
26283
26287
|
var FormContainer = function FormContainer(_ref) {
|
|
26284
26288
|
var themeValues = _ref.themeValues,
|
|
26285
26289
|
children = _ref.children,
|
|
26286
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26290
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26287
26291
|
|
|
26288
26292
|
var _useContext = useContext(ThemeContext),
|
|
26289
26293
|
isMobile = _useContext.isMobile;
|
|
@@ -26608,7 +26612,7 @@ var fallbackValues$o = {
|
|
|
26608
26612
|
fontSize: fontSize$8
|
|
26609
26613
|
};
|
|
26610
26614
|
|
|
26611
|
-
var _excluded$
|
|
26615
|
+
var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26612
26616
|
|
|
26613
26617
|
var Heading = function Heading(_ref) {
|
|
26614
26618
|
var themeValues = _ref.themeValues,
|
|
@@ -26628,7 +26632,7 @@ var Heading = function Heading(_ref) {
|
|
|
26628
26632
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26629
26633
|
dataQa = _ref.dataQa,
|
|
26630
26634
|
children = _ref.children,
|
|
26631
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26635
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26632
26636
|
|
|
26633
26637
|
return /*#__PURE__*/React.createElement(HeadingText, _extends({
|
|
26634
26638
|
variant: variant,
|
|
@@ -26835,12 +26839,12 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
26835
26839
|
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
26836
26840
|
};
|
|
26837
26841
|
|
|
26838
|
-
var _excluded$
|
|
26842
|
+
var _excluded$v = ["version"];
|
|
26839
26843
|
|
|
26840
26844
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26841
26845
|
var _ref$version = _ref.version,
|
|
26842
26846
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26843
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26847
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26844
26848
|
|
|
26845
26849
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26846
26850
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
@@ -26983,7 +26987,7 @@ var Loading = function Loading() {
|
|
|
26983
26987
|
})))));
|
|
26984
26988
|
};
|
|
26985
26989
|
|
|
26986
|
-
var _excluded$
|
|
26990
|
+
var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26987
26991
|
|
|
26988
26992
|
var NavFooter = function NavFooter(_ref) {
|
|
26989
26993
|
var leftContent = _ref.leftContent,
|
|
@@ -26999,7 +27003,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26999
27003
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27000
27004
|
isMobile = _ref.isMobile,
|
|
27001
27005
|
footerWidth = _ref.footerWidth,
|
|
27002
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27006
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27003
27007
|
|
|
27004
27008
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27005
27009
|
padding: footerPadding,
|
|
@@ -27031,7 +27035,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27031
27035
|
}, rightContent)))))));
|
|
27032
27036
|
};
|
|
27033
27037
|
|
|
27034
|
-
var _excluded$
|
|
27038
|
+
var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27035
27039
|
|
|
27036
27040
|
var NavHeader = function NavHeader(_ref) {
|
|
27037
27041
|
var leftContent = _ref.leftContent,
|
|
@@ -27041,7 +27045,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27041
27045
|
isMobile = _ref.isMobile,
|
|
27042
27046
|
backgroundColor = _ref.backgroundColor,
|
|
27043
27047
|
headerWidth = _ref.headerWidth,
|
|
27044
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27048
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27045
27049
|
|
|
27046
27050
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
27047
27051
|
padding: "0 16px 4px",
|
|
@@ -38837,7 +38841,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
38837
38841
|
return extraStyles;
|
|
38838
38842
|
});
|
|
38839
38843
|
|
|
38840
|
-
var _excluded$
|
|
38844
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38841
38845
|
|
|
38842
38846
|
var TableRow = function TableRow(_ref) {
|
|
38843
38847
|
var children = _ref.children,
|
|
@@ -38847,7 +38851,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38847
38851
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38848
38852
|
onClick = _ref.onClick,
|
|
38849
38853
|
themeValues = _ref.themeValues,
|
|
38850
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38854
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
38851
38855
|
|
|
38852
38856
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
38853
38857
|
onClick: onClick,
|
|
@@ -47434,7 +47438,7 @@ var fallbackValues$N = {
|
|
|
47434
47438
|
labeledAmountTotal: labeledAmountTotal
|
|
47435
47439
|
};
|
|
47436
47440
|
|
|
47437
|
-
var _excluded$
|
|
47441
|
+
var _excluded$z = ["amount"],
|
|
47438
47442
|
_excluded2$1 = ["amount"];
|
|
47439
47443
|
|
|
47440
47444
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47685,7 +47689,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47685
47689
|
return fee.amount > 0;
|
|
47686
47690
|
}).map(function (_ref5) {
|
|
47687
47691
|
var amount = _ref5.amount,
|
|
47688
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47692
|
+
rest = _objectWithoutProperties(_ref5, _excluded$z);
|
|
47689
47693
|
|
|
47690
47694
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47691
47695
|
amount: displayCurrency(amount)
|
|
@@ -48109,12 +48113,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48109
48113
|
}, errorMessage))))));
|
|
48110
48114
|
};
|
|
48111
48115
|
|
|
48112
|
-
var _excluded$
|
|
48116
|
+
var _excluded$A = ["version"];
|
|
48113
48117
|
|
|
48114
48118
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48115
48119
|
var _ref$version = _ref.version,
|
|
48116
48120
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48117
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48121
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
48118
48122
|
|
|
48119
48123
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48120
48124
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48953,7 +48957,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48953
48957
|
}, section.content))));
|
|
48954
48958
|
};
|
|
48955
48959
|
|
|
48956
|
-
var _excluded$
|
|
48960
|
+
var _excluded$B = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
48957
48961
|
/**
|
|
48958
48962
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
48959
48963
|
prop) of section objects or a multidimensional array (via the 'groupedSections' prop) of section objects. Note that if using a multidimensional array, the nesting cannot exceed 2 levels deep.
|
|
@@ -49001,7 +49005,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49001
49005
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49002
49006
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49003
49007
|
groupedSections = _ref.groupedSections,
|
|
49004
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49008
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
49005
49009
|
|
|
49006
49010
|
var _useState = useState(null),
|
|
49007
49011
|
_useState2 = _slicedToArray(_useState, 2),
|