@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.cjs.js
CHANGED
|
@@ -15278,6 +15278,8 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15278
15278
|
|
|
15279
15279
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15280
15280
|
|
|
15281
|
+
var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
|
|
15282
|
+
|
|
15281
15283
|
var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
15282
15284
|
var _ref$iconFill = _ref.iconFill,
|
|
15283
15285
|
iconFill = _ref$iconFill === void 0 ? "#FFFFFF" : _ref$iconFill,
|
|
@@ -15285,16 +15287,18 @@ var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
|
15285
15287
|
iconWidth = _ref$iconWidth === void 0 ? "32" : _ref$iconWidth,
|
|
15286
15288
|
_ref$iconHeight = _ref.iconHeight,
|
|
15287
15289
|
iconHeight = _ref$iconHeight === void 0 ? "32" : _ref$iconHeight,
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
15291
|
+
|
|
15292
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
15290
15293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15291
15294
|
width: iconWidth,
|
|
15292
15295
|
height: iconHeight,
|
|
15293
|
-
viewBox: "0 0
|
|
15294
|
-
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
fill: iconFill
|
|
15296
|
+
viewBox: "0 0 24.81 22.06"
|
|
15297
|
+
}, rest), /*#__PURE__*/React__default.createElement("path", {
|
|
15298
|
+
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",
|
|
15299
|
+
id: "cart-badge-shopping-cart",
|
|
15300
|
+
fill: iconFill,
|
|
15301
|
+
fillRule: "nonzero"
|
|
15298
15302
|
}));
|
|
15299
15303
|
};
|
|
15300
15304
|
|
|
@@ -18941,7 +18945,7 @@ var mobileFallbackValues = {
|
|
|
18941
18945
|
};
|
|
18942
18946
|
var MOBILE_BREAKPOINT = 768;
|
|
18943
18947
|
|
|
18944
|
-
var _excluded$
|
|
18948
|
+
var _excluded$j = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18945
18949
|
/*
|
|
18946
18950
|
New responsive text component for Title elements
|
|
18947
18951
|
Size is decoupled from tag
|
|
@@ -18988,7 +18992,7 @@ var Title = function Title(_ref) {
|
|
|
18988
18992
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
18989
18993
|
dataQa = _ref.dataQa,
|
|
18990
18994
|
children = _ref.children,
|
|
18991
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18995
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
18992
18996
|
|
|
18993
18997
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
18994
18998
|
variant: variant,
|
|
@@ -19895,13 +19899,13 @@ var fallbackValues$8 = {
|
|
|
19895
19899
|
linkColor: linkColor
|
|
19896
19900
|
};
|
|
19897
19901
|
|
|
19898
|
-
var _excluded$
|
|
19902
|
+
var _excluded$k = ["variant", "themeValues", "children"];
|
|
19899
19903
|
|
|
19900
19904
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
19901
19905
|
var variant = _ref.variant,
|
|
19902
19906
|
themeValues = _ref.themeValues,
|
|
19903
19907
|
children = _ref.children,
|
|
19904
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19908
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
19905
19909
|
|
|
19906
19910
|
var shadowRegistry = {
|
|
19907
19911
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
@@ -19959,7 +19963,7 @@ var fallbackValues$a = {
|
|
|
19959
19963
|
externalLinkColor: externalLinkColor
|
|
19960
19964
|
};
|
|
19961
19965
|
|
|
19962
|
-
var _excluded$
|
|
19966
|
+
var _excluded$l = ["hoverColor", "activeColor", "extrastyles"];
|
|
19963
19967
|
/*
|
|
19964
19968
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
19965
19969
|
unrecognized DOM attributes.
|
|
@@ -19971,7 +19975,7 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
19971
19975
|
var hoverColor = _ref.hoverColor,
|
|
19972
19976
|
activeColor = _ref.activeColor,
|
|
19973
19977
|
extrastyles = _ref.extrastyles,
|
|
19974
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19978
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
19975
19979
|
|
|
19976
19980
|
return /*#__PURE__*/React__default.createElement("a", _extends({}, props, {
|
|
19977
19981
|
ref: ref
|
|
@@ -20047,7 +20051,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20047
20051
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
20048
20052
|
});
|
|
20049
20053
|
|
|
20050
|
-
var _excluded$
|
|
20054
|
+
var _excluded$m = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20051
20055
|
/*
|
|
20052
20056
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20053
20057
|
unrecognized DOM attributes.
|
|
@@ -20061,7 +20065,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20061
20065
|
active = _ref.active,
|
|
20062
20066
|
color = _ref.color,
|
|
20063
20067
|
extrastyles = _ref.extrastyles,
|
|
20064
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20068
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20065
20069
|
|
|
20066
20070
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, _extends({}, props, {
|
|
20067
20071
|
ref: ref
|
|
@@ -21747,7 +21751,7 @@ _curry2(function test(pattern, str) {
|
|
|
21747
21751
|
|
|
21748
21752
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
21749
21753
|
|
|
21750
|
-
var _excluded$
|
|
21754
|
+
var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
21751
21755
|
|
|
21752
21756
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
21753
21757
|
var _ref$url = _ref.url,
|
|
@@ -21761,7 +21765,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21761
21765
|
_ref$newTab = _ref.newTab,
|
|
21762
21766
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
21763
21767
|
dataQa = _ref.dataQa,
|
|
21764
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
21768
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
21765
21769
|
|
|
21766
21770
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
21767
21771
|
var children = _ref2.children,
|
|
@@ -21851,7 +21855,7 @@ var ParagraphText = styled__default.p.withConfig({
|
|
|
21851
21855
|
return extraStyles;
|
|
21852
21856
|
});
|
|
21853
21857
|
|
|
21854
|
-
var _excluded$
|
|
21858
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
21855
21859
|
|
|
21856
21860
|
var Paragraph = function Paragraph(_ref) {
|
|
21857
21861
|
var themeValues = _ref.themeValues,
|
|
@@ -21866,7 +21870,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
21866
21870
|
dataQa = _ref.dataQa,
|
|
21867
21871
|
children = _ref.children,
|
|
21868
21872
|
as = _ref.as,
|
|
21869
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21873
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
21870
21874
|
|
|
21871
21875
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
21872
21876
|
weight: weight,
|
|
@@ -25256,7 +25260,7 @@ var mobileFallbackValues$1 = {
|
|
|
25256
25260
|
};
|
|
25257
25261
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25258
25262
|
|
|
25259
|
-
var _excluded$
|
|
25263
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25260
25264
|
/*
|
|
25261
25265
|
New responsive text component for Detail elements
|
|
25262
25266
|
(Block level text elements which are smaller than "Title" elements)
|
|
@@ -25306,7 +25310,7 @@ var Detail = function Detail(_ref) {
|
|
|
25306
25310
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25307
25311
|
dataQa = _ref.dataQa,
|
|
25308
25312
|
children = _ref.children,
|
|
25309
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25313
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
25310
25314
|
|
|
25311
25315
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
25312
25316
|
variant: variant,
|
|
@@ -26035,7 +26039,7 @@ var fallbackValues$k = {
|
|
|
26035
26039
|
formFooterPanel: formFooterPanel
|
|
26036
26040
|
};
|
|
26037
26041
|
|
|
26038
|
-
var _excluded$
|
|
26042
|
+
var _excluded$q = ["showErrors", "themeValues"],
|
|
26039
26043
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26040
26044
|
var InputField = styled__default.input.withConfig({
|
|
26041
26045
|
displayName: "FormInput__InputField",
|
|
@@ -26069,7 +26073,7 @@ var InputField = styled__default.input.withConfig({
|
|
|
26069
26073
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
26070
26074
|
var showErrors = _ref8.showErrors,
|
|
26071
26075
|
themeValues = _ref8.themeValues,
|
|
26072
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26076
|
+
props = _objectWithoutProperties(_ref8, _excluded$q);
|
|
26073
26077
|
|
|
26074
26078
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
26075
26079
|
}).withConfig({
|
|
@@ -26249,7 +26253,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26249
26253
|
|
|
26250
26254
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26251
26255
|
|
|
26252
|
-
var _excluded$
|
|
26256
|
+
var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26253
26257
|
|
|
26254
26258
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26255
26259
|
var _ref$breakpoint = _ref.breakpoint,
|
|
@@ -26259,7 +26263,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26259
26263
|
largeChild = _ref.largeChild,
|
|
26260
26264
|
largeChildSize = _ref.largeChildSize,
|
|
26261
26265
|
children = _ref.children,
|
|
26262
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26266
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
26263
26267
|
|
|
26264
26268
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26265
26269
|
padding: "0"
|
|
@@ -26271,14 +26275,14 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26271
26275
|
}, children));
|
|
26272
26276
|
};
|
|
26273
26277
|
|
|
26274
|
-
var _excluded$
|
|
26278
|
+
var _excluded$s = ["childGap", "bottomItem", "children"];
|
|
26275
26279
|
|
|
26276
26280
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26277
26281
|
var _ref$childGap = _ref.childGap,
|
|
26278
26282
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26279
26283
|
bottomItem = _ref.bottomItem,
|
|
26280
26284
|
children = _ref.children,
|
|
26281
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26285
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26282
26286
|
|
|
26283
26287
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
26284
26288
|
childGap: childGap,
|
|
@@ -26286,12 +26290,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
26286
26290
|
}, rest), children);
|
|
26287
26291
|
};
|
|
26288
26292
|
|
|
26289
|
-
var _excluded$
|
|
26293
|
+
var _excluded$t = ["themeValues", "children"];
|
|
26290
26294
|
|
|
26291
26295
|
var FormContainer = function FormContainer(_ref) {
|
|
26292
26296
|
var themeValues = _ref.themeValues,
|
|
26293
26297
|
children = _ref.children,
|
|
26294
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26298
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26295
26299
|
|
|
26296
26300
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26297
26301
|
isMobile = _useContext.isMobile;
|
|
@@ -26616,7 +26620,7 @@ var fallbackValues$o = {
|
|
|
26616
26620
|
fontSize: fontSize$8
|
|
26617
26621
|
};
|
|
26618
26622
|
|
|
26619
|
-
var _excluded$
|
|
26623
|
+
var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26620
26624
|
|
|
26621
26625
|
var Heading = function Heading(_ref) {
|
|
26622
26626
|
var themeValues = _ref.themeValues,
|
|
@@ -26636,7 +26640,7 @@ var Heading = function Heading(_ref) {
|
|
|
26636
26640
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26637
26641
|
dataQa = _ref.dataQa,
|
|
26638
26642
|
children = _ref.children,
|
|
26639
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26643
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26640
26644
|
|
|
26641
26645
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
26642
26646
|
variant: variant,
|
|
@@ -26843,12 +26847,12 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
26843
26847
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
26844
26848
|
};
|
|
26845
26849
|
|
|
26846
|
-
var _excluded$
|
|
26850
|
+
var _excluded$v = ["version"];
|
|
26847
26851
|
|
|
26848
26852
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26849
26853
|
var _ref$version = _ref.version,
|
|
26850
26854
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26851
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26855
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26852
26856
|
|
|
26853
26857
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26854
26858
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
@@ -26991,7 +26995,7 @@ var Loading = function Loading() {
|
|
|
26991
26995
|
})))));
|
|
26992
26996
|
};
|
|
26993
26997
|
|
|
26994
|
-
var _excluded$
|
|
26998
|
+
var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26995
26999
|
|
|
26996
27000
|
var NavFooter = function NavFooter(_ref) {
|
|
26997
27001
|
var leftContent = _ref.leftContent,
|
|
@@ -27007,7 +27011,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27007
27011
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27008
27012
|
isMobile = _ref.isMobile,
|
|
27009
27013
|
footerWidth = _ref.footerWidth,
|
|
27010
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27014
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27011
27015
|
|
|
27012
27016
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27013
27017
|
padding: footerPadding,
|
|
@@ -27039,7 +27043,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27039
27043
|
}, rightContent)))))));
|
|
27040
27044
|
};
|
|
27041
27045
|
|
|
27042
|
-
var _excluded$
|
|
27046
|
+
var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27043
27047
|
|
|
27044
27048
|
var NavHeader = function NavHeader(_ref) {
|
|
27045
27049
|
var leftContent = _ref.leftContent,
|
|
@@ -27049,7 +27053,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27049
27053
|
isMobile = _ref.isMobile,
|
|
27050
27054
|
backgroundColor = _ref.backgroundColor,
|
|
27051
27055
|
headerWidth = _ref.headerWidth,
|
|
27052
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27056
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27053
27057
|
|
|
27054
27058
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27055
27059
|
padding: "0 16px 4px",
|
|
@@ -38845,7 +38849,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
38845
38849
|
return extraStyles;
|
|
38846
38850
|
});
|
|
38847
38851
|
|
|
38848
|
-
var _excluded$
|
|
38852
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38849
38853
|
|
|
38850
38854
|
var TableRow = function TableRow(_ref) {
|
|
38851
38855
|
var children = _ref.children,
|
|
@@ -38855,7 +38859,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38855
38859
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38856
38860
|
onClick = _ref.onClick,
|
|
38857
38861
|
themeValues = _ref.themeValues,
|
|
38858
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38862
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
38859
38863
|
|
|
38860
38864
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
38861
38865
|
onClick: onClick,
|
|
@@ -47442,7 +47446,7 @@ var fallbackValues$N = {
|
|
|
47442
47446
|
labeledAmountTotal: labeledAmountTotal
|
|
47443
47447
|
};
|
|
47444
47448
|
|
|
47445
|
-
var _excluded$
|
|
47449
|
+
var _excluded$z = ["amount"],
|
|
47446
47450
|
_excluded2$1 = ["amount"];
|
|
47447
47451
|
|
|
47448
47452
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47693,7 +47697,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47693
47697
|
return fee.amount > 0;
|
|
47694
47698
|
}).map(function (_ref5) {
|
|
47695
47699
|
var amount = _ref5.amount,
|
|
47696
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47700
|
+
rest = _objectWithoutProperties(_ref5, _excluded$z);
|
|
47697
47701
|
|
|
47698
47702
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47699
47703
|
amount: displayCurrency(amount)
|
|
@@ -48117,12 +48121,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48117
48121
|
}, errorMessage))))));
|
|
48118
48122
|
};
|
|
48119
48123
|
|
|
48120
|
-
var _excluded$
|
|
48124
|
+
var _excluded$A = ["version"];
|
|
48121
48125
|
|
|
48122
48126
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48123
48127
|
var _ref$version = _ref.version,
|
|
48124
48128
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48125
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48129
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
48126
48130
|
|
|
48127
48131
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48128
48132
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48961,7 +48965,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48961
48965
|
}, section.content))));
|
|
48962
48966
|
};
|
|
48963
48967
|
|
|
48964
|
-
var _excluded$
|
|
48968
|
+
var _excluded$B = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
48965
48969
|
/**
|
|
48966
48970
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
48967
48971
|
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.
|
|
@@ -49009,7 +49013,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49009
49013
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49010
49014
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49011
49015
|
groupedSections = _ref.groupedSections,
|
|
49012
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49016
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
49013
49017
|
|
|
49014
49018
|
var _useState = React.useState(null),
|
|
49015
49019
|
_useState2 = _slicedToArray(_useState, 2),
|