@thecb/components 10.1.2-beta.0 → 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 +56 -82
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +57 -82
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/ShoppingCartIcon.js +22 -38
- package/src/components/atoms/icons/icons.stories.js +1 -3
- package/src/components/atoms/icons/index.d.ts +0 -1
- package/src/components/atoms/icons/index.js +1 -3
- package/src/components/atoms/icons/MultiCartIcon.d.ts +0 -1
- package/src/components/atoms/icons/MultiCartIcon.js +0 -20
package/dist/index.cjs.js
CHANGED
|
@@ -15278,37 +15278,28 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15278
15278
|
|
|
15279
15279
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15280
15280
|
|
|
15281
|
-
var
|
|
15282
|
-
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15286
|
-
|
|
15281
|
+
var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
|
|
15282
|
+
|
|
15283
|
+
var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
15284
|
+
var _ref$iconFill = _ref.iconFill,
|
|
15285
|
+
iconFill = _ref$iconFill === void 0 ? "#FFFFFF" : _ref$iconFill,
|
|
15286
|
+
_ref$iconWidth = _ref.iconWidth,
|
|
15287
|
+
iconWidth = _ref$iconWidth === void 0 ? "32" : _ref$iconWidth,
|
|
15288
|
+
_ref$iconHeight = _ref.iconHeight,
|
|
15289
|
+
iconHeight = _ref$iconHeight === void 0 ? "32" : _ref$iconHeight,
|
|
15290
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
15291
|
+
|
|
15292
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
15287
15293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
}, /*#__PURE__*/React__default.createElement("
|
|
15292
|
-
"in": "SourceGraphic",
|
|
15293
|
-
type: "matrix",
|
|
15294
|
-
values: "0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"
|
|
15295
|
-
}))), /*#__PURE__*/React__default.createElement("g", {
|
|
15296
|
-
id: "cart-badge-Icon---Cart-Empty",
|
|
15297
|
-
stroke: "none",
|
|
15298
|
-
strokeWidth: "1",
|
|
15299
|
-
fill: "none",
|
|
15300
|
-
fillRule: "evenodd"
|
|
15301
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15302
|
-
filter: "url(#cart-badge-filter-1)",
|
|
15303
|
-
id: "cart-badge-Group"
|
|
15304
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15305
|
-
transform: "translate(3.000000, 7.000000)"
|
|
15306
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15294
|
+
width: iconWidth,
|
|
15295
|
+
height: iconHeight,
|
|
15296
|
+
viewBox: "0 0 24.81 22.06"
|
|
15297
|
+
}, rest), /*#__PURE__*/React__default.createElement("path", {
|
|
15307
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",
|
|
15308
15299
|
id: "cart-badge-shopping-cart",
|
|
15309
|
-
fill:
|
|
15300
|
+
fill: iconFill,
|
|
15310
15301
|
fillRule: "nonzero"
|
|
15311
|
-
}))
|
|
15302
|
+
}));
|
|
15312
15303
|
};
|
|
15313
15304
|
|
|
15314
15305
|
var TrashIcon = function TrashIcon(_ref) {
|
|
@@ -18301,22 +18292,6 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
18301
18292
|
}));
|
|
18302
18293
|
};
|
|
18303
18294
|
|
|
18304
|
-
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
18305
|
-
var _ref$iconFill = _ref.iconFill,
|
|
18306
|
-
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
18307
|
-
iconStyle = _ref.iconStyle;
|
|
18308
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
18309
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18310
|
-
width: "20",
|
|
18311
|
-
height: "17",
|
|
18312
|
-
viewBox: "0 0 20 17",
|
|
18313
|
-
style: iconStyle
|
|
18314
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18315
|
-
d: "M22.6875 13.4336C22.6016 13.6914 22.4727 13.9062 22.3008 14.0352C22.1289 14.207 21.9141 14.25 21.6992 14.25H9.10938L9.36719 15.625H20.9258C21.2266 15.625 21.4844 15.7539 21.6992 16.0117C21.8711 16.2695 21.957 16.5703 21.9141 16.8711L21.6562 17.9453C22.0859 18.1602 22.3867 18.4609 22.6445 18.8477C22.9023 19.2344 23.0312 19.6641 23.0312 20.0938C23.0312 20.7812 22.7734 21.3398 22.3008 21.8125C21.8281 22.2852 21.2695 22.5 20.625 22.5C19.9375 22.5 19.3789 22.2852 18.9062 21.8125C18.4336 21.3398 18.2188 20.7812 18.2188 20.0938C18.2188 19.4062 18.4336 18.8477 18.9492 18.375H9.92578C10.3984 18.8477 10.6562 19.4062 10.6562 20.0938C10.6562 20.7812 10.3984 21.3398 9.92578 21.8125C9.45312 22.2852 8.89453 22.5 8.25 22.5C7.5625 22.5 7.00391 22.2852 6.53125 21.8125C6.05859 21.3398 5.84375 20.7812 5.84375 20.0938C5.84375 19.6641 5.92969 19.2773 6.14453 18.8906C6.35938 18.5469 6.66016 18.2461 7.04688 17.9883L4.03906 3.25H1.03125C0.730469 3.25 0.472656 3.16406 0.300781 2.94922C0.0859375 2.77734 0 2.51953 0 2.21875V1.53125C0 1.27344 0.0859375 1.01562 0.300781 0.800781C0.472656 0.628906 0.730469 0.5 1.03125 0.5H5.45703C5.67188 0.5 5.88672 0.585938 6.05859 0.757812C6.23047 0.929688 6.35938 1.10156 6.44531 1.31641L6.83203 3.25H23.7188C24.0625 3.25 24.3203 3.37891 24.5352 3.63672C24.707 3.89453 24.793 4.19531 24.707 4.49609L22.6875 13.4336Z",
|
|
18316
|
-
fill: iconFill
|
|
18317
|
-
}));
|
|
18318
|
-
};
|
|
18319
|
-
|
|
18320
18295
|
var color$2 = "#15749D";
|
|
18321
18296
|
var hoverColor$1 = "#116285";
|
|
18322
18297
|
var activeColor$1 = "#0E506D";
|
|
@@ -18970,7 +18945,7 @@ var mobileFallbackValues = {
|
|
|
18970
18945
|
};
|
|
18971
18946
|
var MOBILE_BREAKPOINT = 768;
|
|
18972
18947
|
|
|
18973
|
-
var _excluded$
|
|
18948
|
+
var _excluded$j = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
18974
18949
|
/*
|
|
18975
18950
|
New responsive text component for Title elements
|
|
18976
18951
|
Size is decoupled from tag
|
|
@@ -19017,7 +18992,7 @@ var Title = function Title(_ref) {
|
|
|
19017
18992
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
19018
18993
|
dataQa = _ref.dataQa,
|
|
19019
18994
|
children = _ref.children,
|
|
19020
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18995
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
19021
18996
|
|
|
19022
18997
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
19023
18998
|
variant: variant,
|
|
@@ -19924,13 +19899,13 @@ var fallbackValues$8 = {
|
|
|
19924
19899
|
linkColor: linkColor
|
|
19925
19900
|
};
|
|
19926
19901
|
|
|
19927
|
-
var _excluded$
|
|
19902
|
+
var _excluded$k = ["variant", "themeValues", "children"];
|
|
19928
19903
|
|
|
19929
19904
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
19930
19905
|
var variant = _ref.variant,
|
|
19931
19906
|
themeValues = _ref.themeValues,
|
|
19932
19907
|
children = _ref.children,
|
|
19933
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19908
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
19934
19909
|
|
|
19935
19910
|
var shadowRegistry = {
|
|
19936
19911
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
@@ -19988,7 +19963,7 @@ var fallbackValues$a = {
|
|
|
19988
19963
|
externalLinkColor: externalLinkColor
|
|
19989
19964
|
};
|
|
19990
19965
|
|
|
19991
|
-
var _excluded$
|
|
19966
|
+
var _excluded$l = ["hoverColor", "activeColor", "extrastyles"];
|
|
19992
19967
|
/*
|
|
19993
19968
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
19994
19969
|
unrecognized DOM attributes.
|
|
@@ -20000,7 +19975,7 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20000
19975
|
var hoverColor = _ref.hoverColor,
|
|
20001
19976
|
activeColor = _ref.activeColor,
|
|
20002
19977
|
extrastyles = _ref.extrastyles,
|
|
20003
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19978
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
20004
19979
|
|
|
20005
19980
|
return /*#__PURE__*/React__default.createElement("a", _extends({}, props, {
|
|
20006
19981
|
ref: ref
|
|
@@ -20076,7 +20051,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
20076
20051
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
20077
20052
|
});
|
|
20078
20053
|
|
|
20079
|
-
var _excluded$
|
|
20054
|
+
var _excluded$m = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
|
|
20080
20055
|
/*
|
|
20081
20056
|
The extracting of props and the disabling of the eslint rule is to stop React from complaining about
|
|
20082
20057
|
unrecognized DOM attributes.
|
|
@@ -20090,7 +20065,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
20090
20065
|
active = _ref.active,
|
|
20091
20066
|
color = _ref.color,
|
|
20092
20067
|
extrastyles = _ref.extrastyles,
|
|
20093
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20068
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
20094
20069
|
|
|
20095
20070
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, _extends({}, props, {
|
|
20096
20071
|
ref: ref
|
|
@@ -21776,7 +21751,7 @@ _curry2(function test(pattern, str) {
|
|
|
21776
21751
|
|
|
21777
21752
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
21778
21753
|
|
|
21779
|
-
var _excluded$
|
|
21754
|
+
var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
21780
21755
|
|
|
21781
21756
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
21782
21757
|
var _ref$url = _ref.url,
|
|
@@ -21790,7 +21765,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21790
21765
|
_ref$newTab = _ref.newTab,
|
|
21791
21766
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
21792
21767
|
dataQa = _ref.dataQa,
|
|
21793
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
21768
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
21794
21769
|
|
|
21795
21770
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
21796
21771
|
var children = _ref2.children,
|
|
@@ -21880,7 +21855,7 @@ var ParagraphText = styled__default.p.withConfig({
|
|
|
21880
21855
|
return extraStyles;
|
|
21881
21856
|
});
|
|
21882
21857
|
|
|
21883
|
-
var _excluded$
|
|
21858
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
21884
21859
|
|
|
21885
21860
|
var Paragraph = function Paragraph(_ref) {
|
|
21886
21861
|
var themeValues = _ref.themeValues,
|
|
@@ -21895,7 +21870,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
21895
21870
|
dataQa = _ref.dataQa,
|
|
21896
21871
|
children = _ref.children,
|
|
21897
21872
|
as = _ref.as,
|
|
21898
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21873
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
21899
21874
|
|
|
21900
21875
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
21901
21876
|
weight: weight,
|
|
@@ -25285,7 +25260,7 @@ var mobileFallbackValues$1 = {
|
|
|
25285
25260
|
};
|
|
25286
25261
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25287
25262
|
|
|
25288
|
-
var _excluded$
|
|
25263
|
+
var _excluded$p = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25289
25264
|
/*
|
|
25290
25265
|
New responsive text component for Detail elements
|
|
25291
25266
|
(Block level text elements which are smaller than "Title" elements)
|
|
@@ -25335,7 +25310,7 @@ var Detail = function Detail(_ref) {
|
|
|
25335
25310
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25336
25311
|
dataQa = _ref.dataQa,
|
|
25337
25312
|
children = _ref.children,
|
|
25338
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25313
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
25339
25314
|
|
|
25340
25315
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
25341
25316
|
variant: variant,
|
|
@@ -26064,7 +26039,7 @@ var fallbackValues$k = {
|
|
|
26064
26039
|
formFooterPanel: formFooterPanel
|
|
26065
26040
|
};
|
|
26066
26041
|
|
|
26067
|
-
var _excluded$
|
|
26042
|
+
var _excluded$q = ["showErrors", "themeValues"],
|
|
26068
26043
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
|
|
26069
26044
|
var InputField = styled__default.input.withConfig({
|
|
26070
26045
|
displayName: "FormInput__InputField",
|
|
@@ -26098,7 +26073,7 @@ var InputField = styled__default.input.withConfig({
|
|
|
26098
26073
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
26099
26074
|
var showErrors = _ref8.showErrors,
|
|
26100
26075
|
themeValues = _ref8.themeValues,
|
|
26101
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26076
|
+
props = _objectWithoutProperties(_ref8, _excluded$q);
|
|
26102
26077
|
|
|
26103
26078
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
26104
26079
|
}).withConfig({
|
|
@@ -26278,7 +26253,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26278
26253
|
|
|
26279
26254
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26280
26255
|
|
|
26281
|
-
var _excluded$
|
|
26256
|
+
var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26282
26257
|
|
|
26283
26258
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26284
26259
|
var _ref$breakpoint = _ref.breakpoint,
|
|
@@ -26288,7 +26263,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26288
26263
|
largeChild = _ref.largeChild,
|
|
26289
26264
|
largeChildSize = _ref.largeChildSize,
|
|
26290
26265
|
children = _ref.children,
|
|
26291
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26266
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
26292
26267
|
|
|
26293
26268
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26294
26269
|
padding: "0"
|
|
@@ -26300,14 +26275,14 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26300
26275
|
}, children));
|
|
26301
26276
|
};
|
|
26302
26277
|
|
|
26303
|
-
var _excluded$
|
|
26278
|
+
var _excluded$s = ["childGap", "bottomItem", "children"];
|
|
26304
26279
|
|
|
26305
26280
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26306
26281
|
var _ref$childGap = _ref.childGap,
|
|
26307
26282
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26308
26283
|
bottomItem = _ref.bottomItem,
|
|
26309
26284
|
children = _ref.children,
|
|
26310
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26285
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26311
26286
|
|
|
26312
26287
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
26313
26288
|
childGap: childGap,
|
|
@@ -26315,12 +26290,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
26315
26290
|
}, rest), children);
|
|
26316
26291
|
};
|
|
26317
26292
|
|
|
26318
|
-
var _excluded$
|
|
26293
|
+
var _excluded$t = ["themeValues", "children"];
|
|
26319
26294
|
|
|
26320
26295
|
var FormContainer = function FormContainer(_ref) {
|
|
26321
26296
|
var themeValues = _ref.themeValues,
|
|
26322
26297
|
children = _ref.children,
|
|
26323
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26298
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26324
26299
|
|
|
26325
26300
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26326
26301
|
isMobile = _useContext.isMobile;
|
|
@@ -26645,7 +26620,7 @@ var fallbackValues$o = {
|
|
|
26645
26620
|
fontSize: fontSize$8
|
|
26646
26621
|
};
|
|
26647
26622
|
|
|
26648
|
-
var _excluded$
|
|
26623
|
+
var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26649
26624
|
|
|
26650
26625
|
var Heading = function Heading(_ref) {
|
|
26651
26626
|
var themeValues = _ref.themeValues,
|
|
@@ -26665,7 +26640,7 @@ var Heading = function Heading(_ref) {
|
|
|
26665
26640
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26666
26641
|
dataQa = _ref.dataQa,
|
|
26667
26642
|
children = _ref.children,
|
|
26668
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26643
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26669
26644
|
|
|
26670
26645
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
26671
26646
|
variant: variant,
|
|
@@ -26872,12 +26847,12 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
26872
26847
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
26873
26848
|
};
|
|
26874
26849
|
|
|
26875
|
-
var _excluded$
|
|
26850
|
+
var _excluded$v = ["version"];
|
|
26876
26851
|
|
|
26877
26852
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26878
26853
|
var _ref$version = _ref.version,
|
|
26879
26854
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26880
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26855
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26881
26856
|
|
|
26882
26857
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26883
26858
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
@@ -27020,7 +26995,7 @@ var Loading = function Loading() {
|
|
|
27020
26995
|
})))));
|
|
27021
26996
|
};
|
|
27022
26997
|
|
|
27023
|
-
var _excluded$
|
|
26998
|
+
var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
27024
26999
|
|
|
27025
27000
|
var NavFooter = function NavFooter(_ref) {
|
|
27026
27001
|
var leftContent = _ref.leftContent,
|
|
@@ -27036,7 +27011,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27036
27011
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
27037
27012
|
isMobile = _ref.isMobile,
|
|
27038
27013
|
footerWidth = _ref.footerWidth,
|
|
27039
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27014
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
27040
27015
|
|
|
27041
27016
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27042
27017
|
padding: footerPadding,
|
|
@@ -27068,7 +27043,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27068
27043
|
}, rightContent)))))));
|
|
27069
27044
|
};
|
|
27070
27045
|
|
|
27071
|
-
var _excluded$
|
|
27046
|
+
var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27072
27047
|
|
|
27073
27048
|
var NavHeader = function NavHeader(_ref) {
|
|
27074
27049
|
var leftContent = _ref.leftContent,
|
|
@@ -27078,7 +27053,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27078
27053
|
isMobile = _ref.isMobile,
|
|
27079
27054
|
backgroundColor = _ref.backgroundColor,
|
|
27080
27055
|
headerWidth = _ref.headerWidth,
|
|
27081
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27056
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
27082
27057
|
|
|
27083
27058
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27084
27059
|
padding: "0 16px 4px",
|
|
@@ -38874,7 +38849,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
38874
38849
|
return extraStyles;
|
|
38875
38850
|
});
|
|
38876
38851
|
|
|
38877
|
-
var _excluded$
|
|
38852
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38878
38853
|
|
|
38879
38854
|
var TableRow = function TableRow(_ref) {
|
|
38880
38855
|
var children = _ref.children,
|
|
@@ -38884,7 +38859,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38884
38859
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38885
38860
|
onClick = _ref.onClick,
|
|
38886
38861
|
themeValues = _ref.themeValues,
|
|
38887
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38862
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
38888
38863
|
|
|
38889
38864
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
38890
38865
|
onClick: onClick,
|
|
@@ -47471,7 +47446,7 @@ var fallbackValues$N = {
|
|
|
47471
47446
|
labeledAmountTotal: labeledAmountTotal
|
|
47472
47447
|
};
|
|
47473
47448
|
|
|
47474
|
-
var _excluded$
|
|
47449
|
+
var _excluded$z = ["amount"],
|
|
47475
47450
|
_excluded2$1 = ["amount"];
|
|
47476
47451
|
|
|
47477
47452
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47722,7 +47697,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47722
47697
|
return fee.amount > 0;
|
|
47723
47698
|
}).map(function (_ref5) {
|
|
47724
47699
|
var amount = _ref5.amount,
|
|
47725
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47700
|
+
rest = _objectWithoutProperties(_ref5, _excluded$z);
|
|
47726
47701
|
|
|
47727
47702
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47728
47703
|
amount: displayCurrency(amount)
|
|
@@ -48146,12 +48121,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48146
48121
|
}, errorMessage))))));
|
|
48147
48122
|
};
|
|
48148
48123
|
|
|
48149
|
-
var _excluded$
|
|
48124
|
+
var _excluded$A = ["version"];
|
|
48150
48125
|
|
|
48151
48126
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48152
48127
|
var _ref$version = _ref.version,
|
|
48153
48128
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48154
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48129
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
48155
48130
|
|
|
48156
48131
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48157
48132
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48990,7 +48965,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48990
48965
|
}, section.content))));
|
|
48991
48966
|
};
|
|
48992
48967
|
|
|
48993
|
-
var _excluded$
|
|
48968
|
+
var _excluded$B = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
48994
48969
|
/**
|
|
48995
48970
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
48996
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.
|
|
@@ -49038,7 +49013,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49038
49013
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
49039
49014
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
49040
49015
|
groupedSections = _ref.groupedSections,
|
|
49041
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49016
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
49042
49017
|
|
|
49043
49018
|
var _useState = React.useState(null),
|
|
49044
49019
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -50169,7 +50144,6 @@ exports.LoginForm = LoginForm;
|
|
|
50169
50144
|
exports.Modal = Modal$1;
|
|
50170
50145
|
exports.Module = Module$1;
|
|
50171
50146
|
exports.Motion = Motion;
|
|
50172
|
-
exports.MultiCartIcon = MultiCartIcon;
|
|
50173
50147
|
exports.NavFooter = NavFooter;
|
|
50174
50148
|
exports.NavHeader = NavHeader;
|
|
50175
50149
|
exports.NavMenuDesktop = NavMenuDesktop$1;
|