@thecb/components 11.2.12 → 11.2.13-beta.0
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 +135 -87
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +135 -87
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/ExternalLinkIcon.js +8 -1
- package/src/components/atoms/link/InternalLink.js +11 -5
- package/src/components/atoms/link/InternalLink.styled.js +22 -4
- package/src/components/atoms/link/Link.stories.js +12 -0
- package/src/components/molecules/link-card/LinkCard.js +12 -3
- package/src/components/molecules/link-card/LinkCard.stories.js +68 -1
- package/src/components/molecules/tab-sidebar/TabSidebar.js +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -13093,19 +13093,22 @@ var ErroredIcon = function ErroredIcon() {
|
|
|
13093
13093
|
}))));
|
|
13094
13094
|
};
|
|
13095
13095
|
|
|
13096
|
+
var _excluded$j = ["linkColor", "text", "ariaLabel"];
|
|
13096
13097
|
var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
|
|
13097
|
-
var linkColor = _ref.linkColor,
|
|
13098
|
+
var _ref$linkColor = _ref.linkColor,
|
|
13099
|
+
linkColor = _ref$linkColor === void 0 ? MATISSE_BLUE : _ref$linkColor,
|
|
13098
13100
|
text = _ref.text,
|
|
13099
13101
|
_ref$ariaLabel = _ref.ariaLabel,
|
|
13100
|
-
ariaLabel = _ref$ariaLabel === void 0 ? "External Link" : _ref$ariaLabel
|
|
13101
|
-
|
|
13102
|
+
ariaLabel = _ref$ariaLabel === void 0 ? "External Link" : _ref$ariaLabel,
|
|
13103
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
13104
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13102
13105
|
width: "14",
|
|
13103
13106
|
height: "14",
|
|
13104
13107
|
viewBox: "0 0 14 14",
|
|
13105
13108
|
fill: "none",
|
|
13106
13109
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13107
13110
|
"aria-label": ariaLabel
|
|
13108
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
13111
|
+
}, rest), /*#__PURE__*/React.createElement("path", {
|
|
13109
13112
|
fillRule: "evenodd",
|
|
13110
13113
|
clipRule: "evenodd",
|
|
13111
13114
|
d: "M1.86092 1.59483C1.92074 1.56953 1.98651 1.55554 2.05554 1.55554H2.6111H4.94443C5.22057 1.55554 5.44443 1.7794 5.44443 2.05554V2.6111C5.44443 2.88724 5.22057 3.1111 4.94443 3.1111H3.1111V10.8889H10.8889V9.05554C10.8889 8.7794 11.1127 8.55554 11.3889 8.55554H11.9444C12.2206 8.55554 12.4444 8.7794 12.4444 9.05554V11.9444C12.4444 12.2206 12.2206 12.4444 11.9444 12.4444H11.3889C11.3507 12.4444 11.3135 12.4401 11.2778 12.432C11.242 12.4401 11.2048 12.4444 11.1667 12.4444H2.6111H2.05554C1.7794 12.4444 1.55554 12.2206 1.55554 11.9444V11.3889V2.6111V2.05554C1.55554 2.05554 1.55554 2.05554 1.55554 2.05554C1.55554 2.01307 1.56084 1.97183 1.57081 1.93246C1.60944 1.77983 1.71826 1.65517 1.86092 1.59483ZM7.77776 2.05554C7.77776 1.7794 8.00162 1.55554 8.27776 1.55554H11.3889H11.9444C12.2206 1.55554 12.4444 1.7794 12.4444 2.05554V2.6111V5.72221C12.4444 5.99835 12.2206 6.22221 11.9444 6.22221H11.3889C11.1127 6.22221 10.8889 5.99835 10.8889 5.72221V4.26638L6.89793 8.25733C6.70267 8.45259 6.38608 8.45259 6.19082 8.25733L5.79798 7.8645C5.60272 7.66923 5.60272 7.35265 5.79798 7.15739L9.84428 3.1111H8.27776C8.00162 3.1111 7.77776 2.88724 7.77776 2.6111V2.05554Z",
|
|
@@ -13524,13 +13527,13 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
13524
13527
|
};
|
|
13525
13528
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
13526
13529
|
|
|
13527
|
-
var _excluded$
|
|
13530
|
+
var _excluded$k = ["themeValues", "color", "height"];
|
|
13528
13531
|
var EmptyCartIconV2 = function EmptyCartIconV2(_ref) {
|
|
13529
13532
|
var themeValues = _ref.themeValues,
|
|
13530
13533
|
color = _ref.color,
|
|
13531
13534
|
_ref$height = _ref.height,
|
|
13532
13535
|
height = _ref$height === void 0 ? "auto" : _ref$height,
|
|
13533
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13536
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
13534
13537
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13535
13538
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13536
13539
|
width: "126",
|
|
@@ -15249,7 +15252,7 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
15249
15252
|
}));
|
|
15250
15253
|
};
|
|
15251
15254
|
|
|
15252
|
-
var _excluded$
|
|
15255
|
+
var _excluded$l = ["iconFill", "iconWidth", "iconHeight"];
|
|
15253
15256
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
15254
15257
|
var _ref$iconFill = _ref.iconFill,
|
|
15255
15258
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
@@ -15257,7 +15260,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
15257
15260
|
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
15258
15261
|
_ref$iconHeight = _ref.iconHeight,
|
|
15259
15262
|
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
15260
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15263
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
15261
15264
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
15262
15265
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15263
15266
|
width: iconWidth,
|
|
@@ -15271,7 +15274,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
15271
15274
|
}));
|
|
15272
15275
|
};
|
|
15273
15276
|
|
|
15274
|
-
var _excluded$
|
|
15277
|
+
var _excluded$m = ["iconFill", "iconWidth", "iconHeight"];
|
|
15275
15278
|
var CloseIcon = function CloseIcon(_ref) {
|
|
15276
15279
|
var _ref$iconFill = _ref.iconFill,
|
|
15277
15280
|
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
@@ -15279,7 +15282,7 @@ var CloseIcon = function CloseIcon(_ref) {
|
|
|
15279
15282
|
iconWidth = _ref$iconWidth === void 0 ? "24px" : _ref$iconWidth,
|
|
15280
15283
|
_ref$iconHeight = _ref.iconHeight,
|
|
15281
15284
|
iconHeight = _ref$iconHeight === void 0 ? "24px" : _ref$iconHeight,
|
|
15282
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15285
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
15283
15286
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
15284
15287
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15285
15288
|
width: "24",
|
|
@@ -15722,11 +15725,11 @@ var NoResultsIcon = function NoResultsIcon(_ref) {
|
|
|
15722
15725
|
}))))));
|
|
15723
15726
|
};
|
|
15724
15727
|
|
|
15725
|
-
var _excluded$
|
|
15728
|
+
var _excluded$n = ["color"];
|
|
15726
15729
|
var AgencyIcon = function AgencyIcon(_ref) {
|
|
15727
15730
|
var _ref$color = _ref.color,
|
|
15728
15731
|
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
15729
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15732
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
15730
15733
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
15731
15734
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15732
15735
|
width: "20",
|
|
@@ -15744,7 +15747,7 @@ var AgencyIcon = function AgencyIcon(_ref) {
|
|
|
15744
15747
|
})));
|
|
15745
15748
|
};
|
|
15746
15749
|
|
|
15747
|
-
var _excluded$
|
|
15750
|
+
var _excluded$o = ["width", "height", "color"];
|
|
15748
15751
|
var PersonIcon = function PersonIcon(_ref) {
|
|
15749
15752
|
var _ref$width = _ref.width,
|
|
15750
15753
|
width = _ref$width === void 0 ? "20" : _ref$width,
|
|
@@ -15752,7 +15755,7 @@ var PersonIcon = function PersonIcon(_ref) {
|
|
|
15752
15755
|
height = _ref$height === void 0 ? "21" : _ref$height,
|
|
15753
15756
|
_ref$color = _ref.color,
|
|
15754
15757
|
color = _ref$color === void 0 ? CHARADE_GREY : _ref$color,
|
|
15755
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15758
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
15756
15759
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
15757
15760
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15758
15761
|
width: width,
|
|
@@ -15767,7 +15770,7 @@ var PersonIcon = function PersonIcon(_ref) {
|
|
|
15767
15770
|
}));
|
|
15768
15771
|
};
|
|
15769
15772
|
|
|
15770
|
-
var _excluded$
|
|
15773
|
+
var _excluded$p = ["width", "height", "color"];
|
|
15771
15774
|
var PaymentStatusIcon = function PaymentStatusIcon(_ref) {
|
|
15772
15775
|
var _ref$width = _ref.width,
|
|
15773
15776
|
width = _ref$width === void 0 ? "20" : _ref$width,
|
|
@@ -15775,7 +15778,7 @@ var PaymentStatusIcon = function PaymentStatusIcon(_ref) {
|
|
|
15775
15778
|
height = _ref$height === void 0 ? "21" : _ref$height,
|
|
15776
15779
|
_ref$color = _ref.color,
|
|
15777
15780
|
color = _ref$color === void 0 ? CHARADE_GREY : _ref$color,
|
|
15778
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15781
|
+
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
15779
15782
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
15780
15783
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15781
15784
|
width: width,
|
|
@@ -16484,7 +16487,7 @@ var mobileFallbackValues = {
|
|
|
16484
16487
|
};
|
|
16485
16488
|
var MOBILE_BREAKPOINT = 768;
|
|
16486
16489
|
|
|
16487
|
-
var _excluded$
|
|
16490
|
+
var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
16488
16491
|
var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
|
|
16489
16492
|
var isTouchDevice = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
16490
16493
|
var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice;
|
|
@@ -16507,7 +16510,7 @@ var Title = function Title(_ref) {
|
|
|
16507
16510
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
16508
16511
|
dataQa = _ref.dataQa,
|
|
16509
16512
|
children = _ref.children,
|
|
16510
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16513
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
16511
16514
|
return /*#__PURE__*/React.createElement(TitleText, _extends({
|
|
16512
16515
|
variant: variant,
|
|
16513
16516
|
as: as,
|
|
@@ -17939,12 +17942,12 @@ var fallbackValues$8 = {
|
|
|
17939
17942
|
linkColor: linkColor
|
|
17940
17943
|
};
|
|
17941
17944
|
|
|
17942
|
-
var _excluded$
|
|
17945
|
+
var _excluded$r = ["variant", "themeValues", "children"];
|
|
17943
17946
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
17944
17947
|
var variant = _ref.variant,
|
|
17945
17948
|
themeValues = _ref.themeValues,
|
|
17946
17949
|
children = _ref.children,
|
|
17947
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
17950
|
+
props = _objectWithoutProperties(_ref, _excluded$r);
|
|
17948
17951
|
var shadowRegistry = {
|
|
17949
17952
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
17950
17953
|
baseHover: "0px 1px 7px 0px ".concat(rgba$1(BLACK, 0.3), ", 0px 1px 4px 0px ").concat(rgba$1(BLACK, 0.2), ", 0px 7px 12px 0px ").concat(rgba$1(BLACK, 0.2), ";"),
|
|
@@ -18004,7 +18007,7 @@ var fallbackValues$a = {
|
|
|
18004
18007
|
externalLinkColor: externalLinkColor
|
|
18005
18008
|
};
|
|
18006
18009
|
|
|
18007
|
-
var _excluded$
|
|
18010
|
+
var _excluded$s = ["hoverColor", "activeColor", "extrastyles"];
|
|
18008
18011
|
var ROYAL_BLUE$1 = ROYAL_BLUE;
|
|
18009
18012
|
var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
|
|
18010
18013
|
|
|
@@ -18018,7 +18021,7 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18018
18021
|
var hoverColor = _ref.hoverColor,
|
|
18019
18022
|
activeColor = _ref.activeColor,
|
|
18020
18023
|
extrastyles = _ref.extrastyles,
|
|
18021
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
18024
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
18022
18025
|
return /*#__PURE__*/React.createElement("a", _extends({}, props, {
|
|
18023
18026
|
ref: ref
|
|
18024
18027
|
}));
|
|
@@ -18111,7 +18114,7 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18111
18114
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null))));
|
|
18112
18115
|
});
|
|
18113
18116
|
|
|
18114
|
-
var _excluded$
|
|
18117
|
+
var _excluded$t = ["hoverColor", "activeColor", "active", "color", "extrastyles", "underlined", "hoverUnderline", "extraHoverStyles", "extraActiveStyles", "extraFocusStyles"];
|
|
18115
18118
|
var ROYAL_BLUE$2 = ROYAL_BLUE;
|
|
18116
18119
|
var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
|
|
18117
18120
|
|
|
@@ -18127,14 +18130,19 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18127
18130
|
active = _ref.active,
|
|
18128
18131
|
color = _ref.color,
|
|
18129
18132
|
extrastyles = _ref.extrastyles,
|
|
18130
|
-
|
|
18133
|
+
underlined = _ref.underlined,
|
|
18134
|
+
hoverUnderline = _ref.hoverUnderline,
|
|
18135
|
+
extraHoverStyles = _ref.extraHoverStyles,
|
|
18136
|
+
extraActiveStyles = _ref.extraActiveStyles,
|
|
18137
|
+
extraFocusStyles = _ref.extraFocusStyles,
|
|
18138
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
18131
18139
|
return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
|
|
18132
18140
|
ref: ref
|
|
18133
18141
|
}));
|
|
18134
18142
|
})).withConfig({
|
|
18135
18143
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
18136
18144
|
componentId: "sc-cuqxud-0"
|
|
18137
|
-
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";text-decoration:", ";&:hover{color:", ";text-decoration:", ";}&:focus{outline:3px solid ", ";outline-offset:2px;text-decoration:", ";}&:active{color:", ";}", ""], function (_ref2) {
|
|
18145
|
+
})(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";text-decoration:", ";&:hover{color:", ";text-decoration:", ";", "}&:focus{outline:3px solid ", ";outline-offset:2px;text-decoration:", ";", "}&:active{color:", ";", "}", ""], function (_ref2) {
|
|
18138
18146
|
var color = _ref2.color,
|
|
18139
18147
|
active = _ref2.active,
|
|
18140
18148
|
activeColor = _ref2.activeColor;
|
|
@@ -18154,14 +18162,32 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18154
18162
|
}, function (_ref7) {
|
|
18155
18163
|
var margin = _ref7.margin;
|
|
18156
18164
|
return margin;
|
|
18157
|
-
},
|
|
18158
|
-
var
|
|
18165
|
+
}, function (_ref8) {
|
|
18166
|
+
var underlined = _ref8.underlined;
|
|
18167
|
+
return underlined ? LINK_TEXT_DECORATION$4 : "none";
|
|
18168
|
+
}, function (_ref9) {
|
|
18169
|
+
var hoverColor = _ref9.hoverColor;
|
|
18159
18170
|
return hoverColor;
|
|
18160
|
-
}, LINK_TEXT_DECORATION$4, ROYAL_BLUE$2, LINK_TEXT_DECORATION$4, function (_ref9) {
|
|
18161
|
-
var activeColor = _ref9.activeColor;
|
|
18162
|
-
return activeColor;
|
|
18163
18171
|
}, function (_ref10) {
|
|
18164
|
-
var
|
|
18172
|
+
var hoverUnderline = _ref10.hoverUnderline;
|
|
18173
|
+
return hoverUnderline ? LINK_TEXT_DECORATION$4 : "none";
|
|
18174
|
+
}, function (_ref11) {
|
|
18175
|
+
var extraHoverStyles = _ref11.extraHoverStyles;
|
|
18176
|
+
return extraHoverStyles;
|
|
18177
|
+
}, ROYAL_BLUE$2, function (_ref12) {
|
|
18178
|
+
var hoverUnderline = _ref12.hoverUnderline;
|
|
18179
|
+
return hoverUnderline ? LINK_TEXT_DECORATION$4 : "none";
|
|
18180
|
+
}, function (_ref13) {
|
|
18181
|
+
var extraFocusStyles = _ref13.extraFocusStyles;
|
|
18182
|
+
return extraFocusStyles;
|
|
18183
|
+
}, function (_ref14) {
|
|
18184
|
+
var activeColor = _ref14.activeColor;
|
|
18185
|
+
return activeColor;
|
|
18186
|
+
}, function (_ref15) {
|
|
18187
|
+
var extraActiveStyles = _ref15.extraActiveStyles;
|
|
18188
|
+
return extraActiveStyles;
|
|
18189
|
+
}, function (_ref16) {
|
|
18190
|
+
var extrastyles = _ref16.extrastyles;
|
|
18165
18191
|
return extrastyles;
|
|
18166
18192
|
});
|
|
18167
18193
|
/* eslint-enable no-unused-vars */
|
|
@@ -18183,8 +18209,16 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18183
18209
|
dataQa = _ref.dataQa,
|
|
18184
18210
|
_ref$extraStyles = _ref.extraStyles,
|
|
18185
18211
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
18186
|
-
_ref$
|
|
18187
|
-
|
|
18212
|
+
_ref$underlined = _ref.underlined,
|
|
18213
|
+
underlined = _ref$underlined === void 0 ? true : _ref$underlined,
|
|
18214
|
+
_ref$hoverUnderline = _ref.hoverUnderline,
|
|
18215
|
+
hoverUnderline = _ref$hoverUnderline === void 0 ? true : _ref$hoverUnderline,
|
|
18216
|
+
_ref$extraHoverStyles = _ref.extraHoverStyles,
|
|
18217
|
+
extraHoverStyles = _ref$extraHoverStyles === void 0 ? "" : _ref$extraHoverStyles,
|
|
18218
|
+
_ref$extraActiveStyle = _ref.extraActiveStyles,
|
|
18219
|
+
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
18220
|
+
_ref$extraFocusStyles = _ref.extraFocusStyles,
|
|
18221
|
+
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles;
|
|
18188
18222
|
var themeContext = useContext(ThemeContext);
|
|
18189
18223
|
var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
|
|
18190
18224
|
return /*#__PURE__*/React.createElement(StyledInternalLink, {
|
|
@@ -18199,7 +18233,12 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18199
18233
|
hoverColor: themeValues.hoverColor,
|
|
18200
18234
|
activeColor: themeValues.activeColor,
|
|
18201
18235
|
tabIndex: tabIndex,
|
|
18202
|
-
|
|
18236
|
+
underlined: underlined,
|
|
18237
|
+
hoverUnderline: hoverUnderline,
|
|
18238
|
+
extrastyles: extraStyles,
|
|
18239
|
+
extraHoverStyles: extraHoverStyles,
|
|
18240
|
+
extraActiveStyles: extraActiveStyles,
|
|
18241
|
+
extraFocusStyles: extraFocusStyles,
|
|
18203
18242
|
"data-qa": dataQa,
|
|
18204
18243
|
ref: ref
|
|
18205
18244
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
@@ -18237,7 +18276,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
18237
18276
|
})));
|
|
18238
18277
|
};
|
|
18239
18278
|
|
|
18240
|
-
var _excluded$
|
|
18279
|
+
var _excluded$u = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
18241
18280
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
18242
18281
|
var _ref$url = _ref.url,
|
|
18243
18282
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -18252,7 +18291,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
18252
18291
|
_ref$newTab = _ref.newTab,
|
|
18253
18292
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
18254
18293
|
dataQa = _ref.dataQa,
|
|
18255
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
18294
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
18256
18295
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
18257
18296
|
var children = _ref2.children,
|
|
18258
18297
|
url = _ref2.url,
|
|
@@ -18340,7 +18379,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
18340
18379
|
return extraStyles;
|
|
18341
18380
|
});
|
|
18342
18381
|
|
|
18343
|
-
var _excluded$
|
|
18382
|
+
var _excluded$v = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
18344
18383
|
var Paragraph = function Paragraph(_ref) {
|
|
18345
18384
|
var themeValues = _ref.themeValues,
|
|
18346
18385
|
_ref$weight = _ref.weight,
|
|
@@ -18354,7 +18393,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
18354
18393
|
dataQa = _ref.dataQa,
|
|
18355
18394
|
children = _ref.children,
|
|
18356
18395
|
as = _ref.as,
|
|
18357
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18396
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
18358
18397
|
return /*#__PURE__*/React.createElement(ParagraphText, _extends({
|
|
18359
18398
|
weight: weight,
|
|
18360
18399
|
color: color,
|
|
@@ -18596,7 +18635,7 @@ var ENTER = 13;
|
|
|
18596
18635
|
var ESCAPE = 27;
|
|
18597
18636
|
var SPACEBAR = 32;
|
|
18598
18637
|
|
|
18599
|
-
var _excluded$
|
|
18638
|
+
var _excluded$w = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
|
|
18600
18639
|
var CheckboxContainer = styled.span.withConfig({
|
|
18601
18640
|
displayName: "Checkbox__CheckboxContainer",
|
|
18602
18641
|
componentId: "sc-36kqbv-0"
|
|
@@ -18666,7 +18705,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref5, ref) {
|
|
|
18666
18705
|
_ref5$hasIconOverride = _ref5.hasIconOverride,
|
|
18667
18706
|
hasIconOverride = _ref5$hasIconOverride === void 0 ? false : _ref5$hasIconOverride,
|
|
18668
18707
|
Icon = _ref5.icon,
|
|
18669
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
18708
|
+
rest = _objectWithoutProperties(_ref5, _excluded$w);
|
|
18670
18709
|
var _useState = useState(false),
|
|
18671
18710
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18672
18711
|
focused = _useState2[0],
|
|
@@ -19022,7 +19061,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
19022
19061
|
return extraStyles;
|
|
19023
19062
|
});
|
|
19024
19063
|
|
|
19025
|
-
var _excluded$
|
|
19064
|
+
var _excluded$x = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
19026
19065
|
var TableRow = function TableRow(_ref) {
|
|
19027
19066
|
var children = _ref.children,
|
|
19028
19067
|
extraStyles = _ref.extraStyles,
|
|
@@ -19032,7 +19071,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
19032
19071
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
19033
19072
|
onClick = _ref.onClick,
|
|
19034
19073
|
themeValues = _ref.themeValues,
|
|
19035
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19074
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
19036
19075
|
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
19037
19076
|
onClick: onClick,
|
|
19038
19077
|
hoverEffect: hoverEffect,
|
|
@@ -21867,7 +21906,7 @@ var mobileFallbackValues$1 = {
|
|
|
21867
21906
|
};
|
|
21868
21907
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
21869
21908
|
|
|
21870
|
-
var _excluded$
|
|
21909
|
+
var _excluded$y = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
21871
21910
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
21872
21911
|
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
21873
21912
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$1;
|
|
@@ -21890,7 +21929,7 @@ var Detail = function Detail(_ref) {
|
|
|
21890
21929
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
21891
21930
|
dataQa = _ref.dataQa,
|
|
21892
21931
|
children = _ref.children,
|
|
21893
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21932
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
21894
21933
|
return /*#__PURE__*/React.createElement(DetailText, _extends({
|
|
21895
21934
|
variant: variant,
|
|
21896
21935
|
as: as,
|
|
@@ -22628,7 +22667,7 @@ var fallbackValues$n = {
|
|
|
22628
22667
|
formFooterPanel: formFooterPanel
|
|
22629
22668
|
};
|
|
22630
22669
|
|
|
22631
|
-
var _excluded$
|
|
22670
|
+
var _excluded$z = ["showErrors", "themeValues"],
|
|
22632
22671
|
_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"];
|
|
22633
22672
|
var InputField = styled.input.withConfig({
|
|
22634
22673
|
displayName: "FormInput__InputField",
|
|
@@ -22663,7 +22702,7 @@ var InputField = styled.input.withConfig({
|
|
|
22663
22702
|
var FormattedInputField = styled(function (_ref8) {
|
|
22664
22703
|
var showErrors = _ref8.showErrors,
|
|
22665
22704
|
themeValues = _ref8.themeValues,
|
|
22666
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
22705
|
+
props = _objectWithoutProperties(_ref8, _excluded$z);
|
|
22667
22706
|
return /*#__PURE__*/React.createElement(FormattedInput, props);
|
|
22668
22707
|
}).withConfig({
|
|
22669
22708
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -22872,7 +22911,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
22872
22911
|
};
|
|
22873
22912
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$n, "default");
|
|
22874
22913
|
|
|
22875
|
-
var _excluded$
|
|
22914
|
+
var _excluded$A = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
22876
22915
|
var FormInputRow = function FormInputRow(_ref) {
|
|
22877
22916
|
var _ref$breakpoint = _ref.breakpoint,
|
|
22878
22917
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -22881,7 +22920,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
22881
22920
|
largeChild = _ref.largeChild,
|
|
22882
22921
|
largeChildSize = _ref.largeChildSize,
|
|
22883
22922
|
children = _ref.children,
|
|
22884
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22923
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
22885
22924
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
22886
22925
|
padding: "0"
|
|
22887
22926
|
}, rest), /*#__PURE__*/React.createElement(Switcher, {
|
|
@@ -22892,24 +22931,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
22892
22931
|
}, children));
|
|
22893
22932
|
};
|
|
22894
22933
|
|
|
22895
|
-
var _excluded$
|
|
22934
|
+
var _excluded$B = ["childGap", "bottomItem", "children"];
|
|
22896
22935
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
22897
22936
|
var _ref$childGap = _ref.childGap,
|
|
22898
22937
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
22899
22938
|
bottomItem = _ref.bottomItem,
|
|
22900
22939
|
children = _ref.children,
|
|
22901
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22940
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
22902
22941
|
return /*#__PURE__*/React.createElement(Stack, _extends({
|
|
22903
22942
|
childGap: childGap,
|
|
22904
22943
|
bottomItem: bottomItem
|
|
22905
22944
|
}, rest), children);
|
|
22906
22945
|
};
|
|
22907
22946
|
|
|
22908
|
-
var _excluded$
|
|
22947
|
+
var _excluded$C = ["themeValues", "children"];
|
|
22909
22948
|
var FormContainer = function FormContainer(_ref) {
|
|
22910
22949
|
var themeValues = _ref.themeValues,
|
|
22911
22950
|
children = _ref.children,
|
|
22912
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22951
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
22913
22952
|
var _useContext = useContext(ThemeContext),
|
|
22914
22953
|
isMobile = _useContext.isMobile;
|
|
22915
22954
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
@@ -23219,7 +23258,7 @@ var fallbackValues$r = {
|
|
|
23219
23258
|
fontSize: fontSize$8
|
|
23220
23259
|
};
|
|
23221
23260
|
|
|
23222
|
-
var _excluded$
|
|
23261
|
+
var _excluded$D = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
23223
23262
|
var Heading = function Heading(_ref) {
|
|
23224
23263
|
var themeValues = _ref.themeValues,
|
|
23225
23264
|
_ref$weight = _ref.weight,
|
|
@@ -23238,7 +23277,7 @@ var Heading = function Heading(_ref) {
|
|
|
23238
23277
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
23239
23278
|
dataQa = _ref.dataQa,
|
|
23240
23279
|
children = _ref.children,
|
|
23241
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23280
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
23242
23281
|
return /*#__PURE__*/React.createElement(HeadingText, _extends({
|
|
23243
23282
|
variant: variant,
|
|
23244
23283
|
as: as,
|
|
@@ -23439,11 +23478,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
23439
23478
|
}, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
|
|
23440
23479
|
};
|
|
23441
23480
|
|
|
23442
|
-
var _excluded$
|
|
23481
|
+
var _excluded$E = ["version"];
|
|
23443
23482
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
23444
23483
|
var _ref$version = _ref.version,
|
|
23445
23484
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
23446
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23485
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
23447
23486
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
23448
23487
|
return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
|
|
23449
23488
|
};
|
|
@@ -23588,7 +23627,7 @@ var Loading = function Loading() {
|
|
|
23588
23627
|
})))));
|
|
23589
23628
|
};
|
|
23590
23629
|
|
|
23591
|
-
var _excluded$
|
|
23630
|
+
var _excluded$F = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
23592
23631
|
var NavFooter = function NavFooter(_ref) {
|
|
23593
23632
|
var leftContent = _ref.leftContent,
|
|
23594
23633
|
rightContent = _ref.rightContent,
|
|
@@ -23603,7 +23642,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
23603
23642
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
23604
23643
|
isMobile = _ref.isMobile,
|
|
23605
23644
|
footerWidth = _ref.footerWidth,
|
|
23606
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23645
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
23607
23646
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
23608
23647
|
padding: footerPadding,
|
|
23609
23648
|
background: backgroundColor,
|
|
@@ -23634,7 +23673,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
23634
23673
|
}, rightContent)))))));
|
|
23635
23674
|
};
|
|
23636
23675
|
|
|
23637
|
-
var _excluded$
|
|
23676
|
+
var _excluded$G = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
23638
23677
|
var NavHeader = function NavHeader(_ref) {
|
|
23639
23678
|
var leftContent = _ref.leftContent,
|
|
23640
23679
|
rightContent = _ref.rightContent,
|
|
@@ -23643,7 +23682,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
23643
23682
|
isMobile = _ref.isMobile,
|
|
23644
23683
|
backgroundColor = _ref.backgroundColor,
|
|
23645
23684
|
headerWidth = _ref.headerWidth,
|
|
23646
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23685
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
23647
23686
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
23648
23687
|
padding: "0 16px 4px",
|
|
23649
23688
|
background: backgroundColor,
|
|
@@ -35503,7 +35542,7 @@ var LoadingPill = styled.span.withConfig({
|
|
|
35503
35542
|
return backgroundColor;
|
|
35504
35543
|
}, shineFrames);
|
|
35505
35544
|
|
|
35506
|
-
var _excluded$
|
|
35545
|
+
var _excluded$H = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
|
|
35507
35546
|
var LoadingLine = function LoadingLine(_ref) {
|
|
35508
35547
|
var minWidth = _ref.minWidth,
|
|
35509
35548
|
maxWidth = _ref.maxWidth,
|
|
@@ -35517,7 +35556,7 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
35517
35556
|
backgroundColor = _ref$backgroundColor === void 0 ? SEASHELL_WHITE : _ref$backgroundColor,
|
|
35518
35557
|
_ref$foregroundColor = _ref.foregroundColor,
|
|
35519
35558
|
foregroundColor = _ref$foregroundColor === void 0 ? ALABASTER_WHITE : _ref$foregroundColor,
|
|
35520
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
35559
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
35521
35560
|
var calculatedWidth = Math.floor(Math.random() * (parseInt(maxWidth) - parseInt(minWidth) + 1) + parseInt(minWidth));
|
|
35522
35561
|
return /*#__PURE__*/React.createElement(LoadingPill, _extends({
|
|
35523
35562
|
"aria-label": "loading",
|
|
@@ -41594,11 +41633,11 @@ var Modal$2 = function Modal(_ref) {
|
|
|
41594
41633
|
};
|
|
41595
41634
|
var ModalControlV2 = withWindowSize(Modal$2);
|
|
41596
41635
|
|
|
41597
|
-
var _excluded$
|
|
41636
|
+
var _excluded$I = ["version"];
|
|
41598
41637
|
var Modal$3 = function Modal(_ref) {
|
|
41599
41638
|
var _ref$version = _ref.version,
|
|
41600
41639
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
41601
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
41640
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
41602
41641
|
var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
|
|
41603
41642
|
return /*#__PURE__*/React.createElement(ModalControl, rest);
|
|
41604
41643
|
};
|
|
@@ -42180,9 +42219,10 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42180
42219
|
_ref$titleVariant = _ref.titleVariant,
|
|
42181
42220
|
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant,
|
|
42182
42221
|
_ref$titlePadding = _ref.titlePadding,
|
|
42183
|
-
titlePadding = _ref$titlePadding === void 0 ? "0" : _ref$titlePadding,
|
|
42184
42222
|
_ref$disabled = _ref.disabled,
|
|
42185
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled
|
|
42223
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
42224
|
+
_ref$isExternalLink = _ref.isExternalLink,
|
|
42225
|
+
isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink;
|
|
42186
42226
|
var _useContext = useContext(ThemeContext),
|
|
42187
42227
|
isMobile = _useContext.isMobile;
|
|
42188
42228
|
var regex = /\W/g;
|
|
@@ -42212,15 +42252,22 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42212
42252
|
width: "100%"
|
|
42213
42253
|
},
|
|
42214
42254
|
fullHeight: true
|
|
42215
|
-
}, /*#__PURE__*/React.createElement(
|
|
42216
|
-
|
|
42217
|
-
|
|
42255
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
42256
|
+
direction: "row",
|
|
42257
|
+
childGap: "0.5rem"
|
|
42218
42258
|
}, /*#__PURE__*/React.createElement(Title$2, {
|
|
42219
42259
|
variant: titleVariant,
|
|
42220
42260
|
theme: themeValues,
|
|
42221
42261
|
margin: 0,
|
|
42222
42262
|
isDisabled: disabled
|
|
42223
|
-
}, title)
|
|
42263
|
+
}, title), isExternalLink && /*#__PURE__*/React.createElement(ExternalLinkIcon, {
|
|
42264
|
+
linkColor: themeValues.color,
|
|
42265
|
+
text: locatorSlug,
|
|
42266
|
+
style: {
|
|
42267
|
+
height: "1.125rem",
|
|
42268
|
+
width: "1.125rem"
|
|
42269
|
+
}
|
|
42270
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
42224
42271
|
padding: subtitlePadding,
|
|
42225
42272
|
width: "100%"
|
|
42226
42273
|
}, /*#__PURE__*/React.createElement(Subtitle, {
|
|
@@ -43820,7 +43867,7 @@ var fallbackValues$Q = {
|
|
|
43820
43867
|
labeledAmountTotal: labeledAmountTotal
|
|
43821
43868
|
};
|
|
43822
43869
|
|
|
43823
|
-
var _excluded$
|
|
43870
|
+
var _excluded$J = ["amount"],
|
|
43824
43871
|
_excluded2$1 = ["amount"];
|
|
43825
43872
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
43826
43873
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -44063,7 +44110,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
44063
44110
|
return fee.amount > 0;
|
|
44064
44111
|
}).map(function (_ref5) {
|
|
44065
44112
|
var amount = _ref5.amount,
|
|
44066
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
44113
|
+
rest = _objectWithoutProperties(_ref5, _excluded$J);
|
|
44067
44114
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
44068
44115
|
amount: displayCurrency(amount)
|
|
44069
44116
|
});
|
|
@@ -44500,11 +44547,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
44500
44547
|
}, errorMessage))))));
|
|
44501
44548
|
};
|
|
44502
44549
|
|
|
44503
|
-
var _excluded$
|
|
44550
|
+
var _excluded$K = ["version"];
|
|
44504
44551
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
44505
44552
|
var _ref$version = _ref.version,
|
|
44506
44553
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
44507
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
44554
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
44508
44555
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
44509
44556
|
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
44510
44557
|
};
|
|
@@ -45312,7 +45359,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
45312
45359
|
}, section.content))));
|
|
45313
45360
|
};
|
|
45314
45361
|
|
|
45315
|
-
var _excluded$
|
|
45362
|
+
var _excluded$L = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
|
|
45316
45363
|
|
|
45317
45364
|
/**
|
|
45318
45365
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -45362,7 +45409,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
45362
45409
|
_ref$groupedSections = _ref.groupedSections,
|
|
45363
45410
|
groupedSections = _ref$groupedSections === void 0 ? [] : _ref$groupedSections,
|
|
45364
45411
|
borderOverride = _ref.borderOverride,
|
|
45365
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
45412
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
45366
45413
|
var _useState = useState(null),
|
|
45367
45414
|
_useState2 = _slicedToArray(_useState, 2),
|
|
45368
45415
|
focused = _useState2[0],
|
|
@@ -45993,7 +46040,8 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
45993
46040
|
return /*#__PURE__*/React.createElement(InternalLink, {
|
|
45994
46041
|
to: route,
|
|
45995
46042
|
key: "".concat(route, "-").concat(index),
|
|
45996
|
-
|
|
46043
|
+
isUnderlined: false,
|
|
46044
|
+
extraStyles: "\n &:hover {\n ".concat(active ? "> * {\n background-color: ".concat(themeValues.activeTabHover, ";\n }") : "> * { \n background-color: rgba(8, 27, 43, 0.05);\n }", "}")
|
|
45997
46045
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
45998
46046
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
45999
46047
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -46054,7 +46102,7 @@ var Timeout = function Timeout(_ref) {
|
|
|
46054
46102
|
};
|
|
46055
46103
|
var Timeout$1 = withWindowSize(Timeout);
|
|
46056
46104
|
|
|
46057
|
-
var _excluded$
|
|
46105
|
+
var _excluded$M = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
|
|
46058
46106
|
var VARIANTS = {
|
|
46059
46107
|
SUCCESS: "success",
|
|
46060
46108
|
ERROR: "error"
|
|
@@ -46083,7 +46131,7 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
46083
46131
|
screenReaderMessage = _ref.screenReaderMessage,
|
|
46084
46132
|
_ref$showScreenReader = _ref.showScreenReaderMessage,
|
|
46085
46133
|
showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
|
|
46086
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
46134
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
46087
46135
|
var screenReaderMessageRef = useRef();
|
|
46088
46136
|
var LIVEREGION_TRANSITION_DELAY = 1000;
|
|
46089
46137
|
useEffect$1(function () {
|
|
@@ -46266,7 +46314,7 @@ var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
|
|
|
46266
46314
|
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
46267
46315
|
});
|
|
46268
46316
|
|
|
46269
|
-
var _excluded$
|
|
46317
|
+
var _excluded$N = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
46270
46318
|
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
46271
46319
|
var id = _ref.id,
|
|
46272
46320
|
closeMenuCallback = _ref.closeMenuCallback,
|
|
@@ -46282,7 +46330,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
46282
46330
|
hoverStyles = _ref.hoverStyles,
|
|
46283
46331
|
activeStyles = _ref.activeStyles,
|
|
46284
46332
|
extraStyles = _ref.extraStyles,
|
|
46285
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
46333
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
46286
46334
|
return /*#__PURE__*/React.createElement(PopupMenuItemContainer, _extends({
|
|
46287
46335
|
id: id,
|
|
46288
46336
|
role: "menuItem",
|
|
@@ -46521,7 +46569,7 @@ var ActionLinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
46521
46569
|
});
|
|
46522
46570
|
});
|
|
46523
46571
|
|
|
46524
|
-
var _excluded$
|
|
46572
|
+
var _excluded$O = ["width", "height", "color"];
|
|
46525
46573
|
var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
46526
46574
|
var _ref$width = _ref.width,
|
|
46527
46575
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -46529,7 +46577,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
|
46529
46577
|
height = _ref$height === void 0 ? "19" : _ref$height,
|
|
46530
46578
|
_ref$color = _ref.color,
|
|
46531
46579
|
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
46532
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
46580
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
46533
46581
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
46534
46582
|
width: width,
|
|
46535
46583
|
height: height,
|
|
@@ -46676,7 +46724,7 @@ var SearchBox = function SearchBox(_ref) {
|
|
|
46676
46724
|
}));
|
|
46677
46725
|
};
|
|
46678
46726
|
|
|
46679
|
-
var _excluded$
|
|
46727
|
+
var _excluded$P = ["width", "height", "color"];
|
|
46680
46728
|
var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
46681
46729
|
var _ref$width = _ref.width,
|
|
46682
46730
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -46684,7 +46732,7 @@ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
|
46684
46732
|
height = _ref$height === void 0 ? "18" : _ref$height,
|
|
46685
46733
|
_ref$color = _ref.color,
|
|
46686
46734
|
color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
|
|
46687
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
46735
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
46688
46736
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
46689
46737
|
xmlns: "http://www.w3.org/2000/svg",
|
|
46690
46738
|
width: width,
|
|
@@ -47380,7 +47428,7 @@ var fallbackValues$11 = {
|
|
|
47380
47428
|
justifyContent: justifyContent
|
|
47381
47429
|
};
|
|
47382
47430
|
|
|
47383
|
-
var _excluded$
|
|
47431
|
+
var _excluded$Q = ["variant", "imageUrl", "isMobile", "theme", "extraStyles"],
|
|
47384
47432
|
_excluded2$2 = ["theme", "isMobile"],
|
|
47385
47433
|
_excluded3 = ["theme", "isMobile"],
|
|
47386
47434
|
_excluded4 = ["theme", "isMobile"];
|
|
@@ -47403,7 +47451,7 @@ var HeroContainer = styled(function (_ref2) {
|
|
|
47403
47451
|
isMobile = _ref2.isMobile,
|
|
47404
47452
|
theme = _ref2.theme,
|
|
47405
47453
|
extraStyles = _ref2.extraStyles,
|
|
47406
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
47454
|
+
props = _objectWithoutProperties(_ref2, _excluded$Q);
|
|
47407
47455
|
return /*#__PURE__*/React.createElement(Box, props);
|
|
47408
47456
|
}).withConfig({
|
|
47409
47457
|
displayName: "HeroImagestyled__HeroContainer",
|