@thecb/components 11.2.11 → 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 +139 -87
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +139 -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 +15 -4
- package/src/components/molecules/link-card/LinkCard.stories.js +68 -1
- package/src/components/molecules/tab-sidebar/TabSidebar.js +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -13101,19 +13101,22 @@ var ErroredIcon = function ErroredIcon() {
|
|
|
13101
13101
|
}))));
|
|
13102
13102
|
};
|
|
13103
13103
|
|
|
13104
|
+
var _excluded$j = ["linkColor", "text", "ariaLabel"];
|
|
13104
13105
|
var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
|
|
13105
|
-
var linkColor = _ref.linkColor,
|
|
13106
|
+
var _ref$linkColor = _ref.linkColor,
|
|
13107
|
+
linkColor = _ref$linkColor === void 0 ? MATISSE_BLUE : _ref$linkColor,
|
|
13106
13108
|
text = _ref.text,
|
|
13107
13109
|
_ref$ariaLabel = _ref.ariaLabel,
|
|
13108
|
-
ariaLabel = _ref$ariaLabel === void 0 ? "External Link" : _ref$ariaLabel
|
|
13109
|
-
|
|
13110
|
+
ariaLabel = _ref$ariaLabel === void 0 ? "External Link" : _ref$ariaLabel,
|
|
13111
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
13112
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
13110
13113
|
width: "14",
|
|
13111
13114
|
height: "14",
|
|
13112
13115
|
viewBox: "0 0 14 14",
|
|
13113
13116
|
fill: "none",
|
|
13114
13117
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13115
13118
|
"aria-label": ariaLabel
|
|
13116
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13119
|
+
}, rest), /*#__PURE__*/React__default.createElement("path", {
|
|
13117
13120
|
fillRule: "evenodd",
|
|
13118
13121
|
clipRule: "evenodd",
|
|
13119
13122
|
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",
|
|
@@ -13532,13 +13535,13 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
13532
13535
|
};
|
|
13533
13536
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
13534
13537
|
|
|
13535
|
-
var _excluded$
|
|
13538
|
+
var _excluded$k = ["themeValues", "color", "height"];
|
|
13536
13539
|
var EmptyCartIconV2 = function EmptyCartIconV2(_ref) {
|
|
13537
13540
|
var themeValues = _ref.themeValues,
|
|
13538
13541
|
color = _ref.color,
|
|
13539
13542
|
_ref$height = _ref.height,
|
|
13540
13543
|
height = _ref$height === void 0 ? "auto" : _ref$height,
|
|
13541
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13544
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
13542
13545
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
13543
13546
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13544
13547
|
width: "126",
|
|
@@ -15257,7 +15260,7 @@ var KebabMenuIcon = function KebabMenuIcon() {
|
|
|
15257
15260
|
}));
|
|
15258
15261
|
};
|
|
15259
15262
|
|
|
15260
|
-
var _excluded$
|
|
15263
|
+
var _excluded$l = ["iconFill", "iconWidth", "iconHeight"];
|
|
15261
15264
|
var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
15262
15265
|
var _ref$iconFill = _ref.iconFill,
|
|
15263
15266
|
iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
|
|
@@ -15265,7 +15268,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
15265
15268
|
iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
|
|
15266
15269
|
_ref$iconHeight = _ref.iconHeight,
|
|
15267
15270
|
iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
|
|
15268
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15271
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
15269
15272
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
15270
15273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15271
15274
|
width: iconWidth,
|
|
@@ -15279,7 +15282,7 @@ var MultiCartIcon = function MultiCartIcon(_ref) {
|
|
|
15279
15282
|
}));
|
|
15280
15283
|
};
|
|
15281
15284
|
|
|
15282
|
-
var _excluded$
|
|
15285
|
+
var _excluded$m = ["iconFill", "iconWidth", "iconHeight"];
|
|
15283
15286
|
var CloseIcon = function CloseIcon(_ref) {
|
|
15284
15287
|
var _ref$iconFill = _ref.iconFill,
|
|
15285
15288
|
iconFill = _ref$iconFill === void 0 ? "#3B414D" : _ref$iconFill,
|
|
@@ -15287,7 +15290,7 @@ var CloseIcon = function CloseIcon(_ref) {
|
|
|
15287
15290
|
iconWidth = _ref$iconWidth === void 0 ? "24px" : _ref$iconWidth,
|
|
15288
15291
|
_ref$iconHeight = _ref.iconHeight,
|
|
15289
15292
|
iconHeight = _ref$iconHeight === void 0 ? "24px" : _ref$iconHeight,
|
|
15290
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15293
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
15291
15294
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
15292
15295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15293
15296
|
width: "24",
|
|
@@ -15730,11 +15733,11 @@ var NoResultsIcon = function NoResultsIcon(_ref) {
|
|
|
15730
15733
|
}))))));
|
|
15731
15734
|
};
|
|
15732
15735
|
|
|
15733
|
-
var _excluded$
|
|
15736
|
+
var _excluded$n = ["color"];
|
|
15734
15737
|
var AgencyIcon = function AgencyIcon(_ref) {
|
|
15735
15738
|
var _ref$color = _ref.color,
|
|
15736
15739
|
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
15737
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15740
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
15738
15741
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
15739
15742
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15740
15743
|
width: "20",
|
|
@@ -15752,7 +15755,7 @@ var AgencyIcon = function AgencyIcon(_ref) {
|
|
|
15752
15755
|
})));
|
|
15753
15756
|
};
|
|
15754
15757
|
|
|
15755
|
-
var _excluded$
|
|
15758
|
+
var _excluded$o = ["width", "height", "color"];
|
|
15756
15759
|
var PersonIcon = function PersonIcon(_ref) {
|
|
15757
15760
|
var _ref$width = _ref.width,
|
|
15758
15761
|
width = _ref$width === void 0 ? "20" : _ref$width,
|
|
@@ -15760,7 +15763,7 @@ var PersonIcon = function PersonIcon(_ref) {
|
|
|
15760
15763
|
height = _ref$height === void 0 ? "21" : _ref$height,
|
|
15761
15764
|
_ref$color = _ref.color,
|
|
15762
15765
|
color = _ref$color === void 0 ? CHARADE_GREY : _ref$color,
|
|
15763
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15766
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
15764
15767
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
15765
15768
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15766
15769
|
width: width,
|
|
@@ -15775,7 +15778,7 @@ var PersonIcon = function PersonIcon(_ref) {
|
|
|
15775
15778
|
}));
|
|
15776
15779
|
};
|
|
15777
15780
|
|
|
15778
|
-
var _excluded$
|
|
15781
|
+
var _excluded$p = ["width", "height", "color"];
|
|
15779
15782
|
var PaymentStatusIcon = function PaymentStatusIcon(_ref) {
|
|
15780
15783
|
var _ref$width = _ref.width,
|
|
15781
15784
|
width = _ref$width === void 0 ? "20" : _ref$width,
|
|
@@ -15783,7 +15786,7 @@ var PaymentStatusIcon = function PaymentStatusIcon(_ref) {
|
|
|
15783
15786
|
height = _ref$height === void 0 ? "21" : _ref$height,
|
|
15784
15787
|
_ref$color = _ref.color,
|
|
15785
15788
|
color = _ref$color === void 0 ? CHARADE_GREY : _ref$color,
|
|
15786
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15789
|
+
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
15787
15790
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
15788
15791
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15789
15792
|
width: width,
|
|
@@ -16492,7 +16495,7 @@ var mobileFallbackValues = {
|
|
|
16492
16495
|
};
|
|
16493
16496
|
var MOBILE_BREAKPOINT = 768;
|
|
16494
16497
|
|
|
16495
|
-
var _excluded$
|
|
16498
|
+
var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
16496
16499
|
var isBelowBreakpoint = window.innerWidth < MOBILE_BREAKPOINT;
|
|
16497
16500
|
var isTouchDevice = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
16498
16501
|
var mobileDeviceDetected = isBelowBreakpoint && isTouchDevice;
|
|
@@ -16515,7 +16518,7 @@ var Title = function Title(_ref) {
|
|
|
16515
16518
|
as = _ref$as === void 0 ? "h1" : _ref$as,
|
|
16516
16519
|
dataQa = _ref.dataQa,
|
|
16517
16520
|
children = _ref.children,
|
|
16518
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16521
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
16519
16522
|
return /*#__PURE__*/React__default.createElement(TitleText, _extends({
|
|
16520
16523
|
variant: variant,
|
|
16521
16524
|
as: as,
|
|
@@ -17947,12 +17950,12 @@ var fallbackValues$8 = {
|
|
|
17947
17950
|
linkColor: linkColor
|
|
17948
17951
|
};
|
|
17949
17952
|
|
|
17950
|
-
var _excluded$
|
|
17953
|
+
var _excluded$r = ["variant", "themeValues", "children"];
|
|
17951
17954
|
var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
17952
17955
|
var variant = _ref.variant,
|
|
17953
17956
|
themeValues = _ref.themeValues,
|
|
17954
17957
|
children = _ref.children,
|
|
17955
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
17958
|
+
props = _objectWithoutProperties(_ref, _excluded$r);
|
|
17956
17959
|
var shadowRegistry = {
|
|
17957
17960
|
baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
|
|
17958
17961
|
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), ";"),
|
|
@@ -18012,7 +18015,7 @@ var fallbackValues$a = {
|
|
|
18012
18015
|
externalLinkColor: externalLinkColor
|
|
18013
18016
|
};
|
|
18014
18017
|
|
|
18015
|
-
var _excluded$
|
|
18018
|
+
var _excluded$s = ["hoverColor", "activeColor", "extrastyles"];
|
|
18016
18019
|
var ROYAL_BLUE$1 = ROYAL_BLUE;
|
|
18017
18020
|
var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
|
|
18018
18021
|
|
|
@@ -18026,7 +18029,7 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
18026
18029
|
var hoverColor = _ref.hoverColor,
|
|
18027
18030
|
activeColor = _ref.activeColor,
|
|
18028
18031
|
extrastyles = _ref.extrastyles,
|
|
18029
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
18032
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
18030
18033
|
return /*#__PURE__*/React__default.createElement("a", _extends({}, props, {
|
|
18031
18034
|
ref: ref
|
|
18032
18035
|
}));
|
|
@@ -18119,7 +18122,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
18119
18122
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null))));
|
|
18120
18123
|
});
|
|
18121
18124
|
|
|
18122
|
-
var _excluded$
|
|
18125
|
+
var _excluded$t = ["hoverColor", "activeColor", "active", "color", "extrastyles", "underlined", "hoverUnderline", "extraHoverStyles", "extraActiveStyles", "extraFocusStyles"];
|
|
18123
18126
|
var ROYAL_BLUE$2 = ROYAL_BLUE;
|
|
18124
18127
|
var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
|
|
18125
18128
|
|
|
@@ -18135,14 +18138,19 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
18135
18138
|
active = _ref.active,
|
|
18136
18139
|
color = _ref.color,
|
|
18137
18140
|
extrastyles = _ref.extrastyles,
|
|
18138
|
-
|
|
18141
|
+
underlined = _ref.underlined,
|
|
18142
|
+
hoverUnderline = _ref.hoverUnderline,
|
|
18143
|
+
extraHoverStyles = _ref.extraHoverStyles,
|
|
18144
|
+
extraActiveStyles = _ref.extraActiveStyles,
|
|
18145
|
+
extraFocusStyles = _ref.extraFocusStyles,
|
|
18146
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
18139
18147
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, _extends({}, props, {
|
|
18140
18148
|
ref: ref
|
|
18141
18149
|
}));
|
|
18142
18150
|
})).withConfig({
|
|
18143
18151
|
displayName: "InternalLinkstyled__StyledInternalLink",
|
|
18144
18152
|
componentId: "sc-cuqxud-0"
|
|
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) {
|
|
18153
|
+
})(["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) {
|
|
18146
18154
|
var color = _ref2.color,
|
|
18147
18155
|
active = _ref2.active,
|
|
18148
18156
|
activeColor = _ref2.activeColor;
|
|
@@ -18162,14 +18170,32 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
18162
18170
|
}, function (_ref7) {
|
|
18163
18171
|
var margin = _ref7.margin;
|
|
18164
18172
|
return margin;
|
|
18165
|
-
},
|
|
18166
|
-
var
|
|
18173
|
+
}, function (_ref8) {
|
|
18174
|
+
var underlined = _ref8.underlined;
|
|
18175
|
+
return underlined ? LINK_TEXT_DECORATION$4 : "none";
|
|
18176
|
+
}, function (_ref9) {
|
|
18177
|
+
var hoverColor = _ref9.hoverColor;
|
|
18167
18178
|
return hoverColor;
|
|
18168
|
-
}, LINK_TEXT_DECORATION$4, ROYAL_BLUE$2, LINK_TEXT_DECORATION$4, function (_ref9) {
|
|
18169
|
-
var activeColor = _ref9.activeColor;
|
|
18170
|
-
return activeColor;
|
|
18171
18179
|
}, function (_ref10) {
|
|
18172
|
-
var
|
|
18180
|
+
var hoverUnderline = _ref10.hoverUnderline;
|
|
18181
|
+
return hoverUnderline ? LINK_TEXT_DECORATION$4 : "none";
|
|
18182
|
+
}, function (_ref11) {
|
|
18183
|
+
var extraHoverStyles = _ref11.extraHoverStyles;
|
|
18184
|
+
return extraHoverStyles;
|
|
18185
|
+
}, ROYAL_BLUE$2, function (_ref12) {
|
|
18186
|
+
var hoverUnderline = _ref12.hoverUnderline;
|
|
18187
|
+
return hoverUnderline ? LINK_TEXT_DECORATION$4 : "none";
|
|
18188
|
+
}, function (_ref13) {
|
|
18189
|
+
var extraFocusStyles = _ref13.extraFocusStyles;
|
|
18190
|
+
return extraFocusStyles;
|
|
18191
|
+
}, function (_ref14) {
|
|
18192
|
+
var activeColor = _ref14.activeColor;
|
|
18193
|
+
return activeColor;
|
|
18194
|
+
}, function (_ref15) {
|
|
18195
|
+
var extraActiveStyles = _ref15.extraActiveStyles;
|
|
18196
|
+
return extraActiveStyles;
|
|
18197
|
+
}, function (_ref16) {
|
|
18198
|
+
var extrastyles = _ref16.extrastyles;
|
|
18173
18199
|
return extrastyles;
|
|
18174
18200
|
});
|
|
18175
18201
|
/* eslint-enable no-unused-vars */
|
|
@@ -18191,8 +18217,16 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
18191
18217
|
dataQa = _ref.dataQa,
|
|
18192
18218
|
_ref$extraStyles = _ref.extraStyles,
|
|
18193
18219
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
18194
|
-
_ref$
|
|
18195
|
-
|
|
18220
|
+
_ref$underlined = _ref.underlined,
|
|
18221
|
+
underlined = _ref$underlined === void 0 ? true : _ref$underlined,
|
|
18222
|
+
_ref$hoverUnderline = _ref.hoverUnderline,
|
|
18223
|
+
hoverUnderline = _ref$hoverUnderline === void 0 ? true : _ref$hoverUnderline,
|
|
18224
|
+
_ref$extraHoverStyles = _ref.extraHoverStyles,
|
|
18225
|
+
extraHoverStyles = _ref$extraHoverStyles === void 0 ? "" : _ref$extraHoverStyles,
|
|
18226
|
+
_ref$extraActiveStyle = _ref.extraActiveStyles,
|
|
18227
|
+
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
18228
|
+
_ref$extraFocusStyles = _ref.extraFocusStyles,
|
|
18229
|
+
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles;
|
|
18196
18230
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
18197
18231
|
var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
|
|
18198
18232
|
return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
|
|
@@ -18207,7 +18241,12 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
18207
18241
|
hoverColor: themeValues.hoverColor,
|
|
18208
18242
|
activeColor: themeValues.activeColor,
|
|
18209
18243
|
tabIndex: tabIndex,
|
|
18210
|
-
|
|
18244
|
+
underlined: underlined,
|
|
18245
|
+
hoverUnderline: hoverUnderline,
|
|
18246
|
+
extrastyles: extraStyles,
|
|
18247
|
+
extraHoverStyles: extraHoverStyles,
|
|
18248
|
+
extraActiveStyles: extraActiveStyles,
|
|
18249
|
+
extraFocusStyles: extraFocusStyles,
|
|
18211
18250
|
"data-qa": dataQa,
|
|
18212
18251
|
ref: ref
|
|
18213
18252
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
@@ -18245,7 +18284,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
18245
18284
|
})));
|
|
18246
18285
|
};
|
|
18247
18286
|
|
|
18248
|
-
var _excluded$
|
|
18287
|
+
var _excluded$u = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
18249
18288
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
18250
18289
|
var _ref$url = _ref.url,
|
|
18251
18290
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -18260,7 +18299,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
18260
18299
|
_ref$newTab = _ref.newTab,
|
|
18261
18300
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
18262
18301
|
dataQa = _ref.dataQa,
|
|
18263
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
18302
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
18264
18303
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
18265
18304
|
var children = _ref2.children,
|
|
18266
18305
|
url = _ref2.url,
|
|
@@ -18348,7 +18387,7 @@ var ParagraphText = styled__default.p.withConfig({
|
|
|
18348
18387
|
return extraStyles;
|
|
18349
18388
|
});
|
|
18350
18389
|
|
|
18351
|
-
var _excluded$
|
|
18390
|
+
var _excluded$v = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
18352
18391
|
var Paragraph = function Paragraph(_ref) {
|
|
18353
18392
|
var themeValues = _ref.themeValues,
|
|
18354
18393
|
_ref$weight = _ref.weight,
|
|
@@ -18362,7 +18401,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
18362
18401
|
dataQa = _ref.dataQa,
|
|
18363
18402
|
children = _ref.children,
|
|
18364
18403
|
as = _ref.as,
|
|
18365
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18404
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
18366
18405
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
18367
18406
|
weight: weight,
|
|
18368
18407
|
color: color,
|
|
@@ -18604,7 +18643,7 @@ var ENTER = 13;
|
|
|
18604
18643
|
var ESCAPE = 27;
|
|
18605
18644
|
var SPACEBAR = 32;
|
|
18606
18645
|
|
|
18607
|
-
var _excluded$
|
|
18646
|
+
var _excluded$w = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
|
|
18608
18647
|
var CheckboxContainer = styled__default.span.withConfig({
|
|
18609
18648
|
displayName: "Checkbox__CheckboxContainer",
|
|
18610
18649
|
componentId: "sc-36kqbv-0"
|
|
@@ -18674,7 +18713,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_ref5, ref) {
|
|
|
18674
18713
|
_ref5$hasIconOverride = _ref5.hasIconOverride,
|
|
18675
18714
|
hasIconOverride = _ref5$hasIconOverride === void 0 ? false : _ref5$hasIconOverride,
|
|
18676
18715
|
Icon = _ref5.icon,
|
|
18677
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
18716
|
+
rest = _objectWithoutProperties(_ref5, _excluded$w);
|
|
18678
18717
|
var _useState = React.useState(false),
|
|
18679
18718
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18680
18719
|
focused = _useState2[0],
|
|
@@ -19030,7 +19069,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
19030
19069
|
return extraStyles;
|
|
19031
19070
|
});
|
|
19032
19071
|
|
|
19033
|
-
var _excluded$
|
|
19072
|
+
var _excluded$x = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
19034
19073
|
var TableRow = function TableRow(_ref) {
|
|
19035
19074
|
var children = _ref.children,
|
|
19036
19075
|
extraStyles = _ref.extraStyles,
|
|
@@ -19040,7 +19079,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
19040
19079
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
19041
19080
|
onClick = _ref.onClick,
|
|
19042
19081
|
themeValues = _ref.themeValues,
|
|
19043
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
19082
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
19044
19083
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
19045
19084
|
onClick: onClick,
|
|
19046
19085
|
hoverEffect: hoverEffect,
|
|
@@ -21875,7 +21914,7 @@ var mobileFallbackValues$1 = {
|
|
|
21875
21914
|
};
|
|
21876
21915
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
21877
21916
|
|
|
21878
|
-
var _excluded$
|
|
21917
|
+
var _excluded$y = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
21879
21918
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
21880
21919
|
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
21881
21920
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$1;
|
|
@@ -21898,7 +21937,7 @@ var Detail = function Detail(_ref) {
|
|
|
21898
21937
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
21899
21938
|
dataQa = _ref.dataQa,
|
|
21900
21939
|
children = _ref.children,
|
|
21901
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21940
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
21902
21941
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
21903
21942
|
variant: variant,
|
|
21904
21943
|
as: as,
|
|
@@ -22636,7 +22675,7 @@ var fallbackValues$n = {
|
|
|
22636
22675
|
formFooterPanel: formFooterPanel
|
|
22637
22676
|
};
|
|
22638
22677
|
|
|
22639
|
-
var _excluded$
|
|
22678
|
+
var _excluded$z = ["showErrors", "themeValues"],
|
|
22640
22679
|
_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"];
|
|
22641
22680
|
var InputField = styled__default.input.withConfig({
|
|
22642
22681
|
displayName: "FormInput__InputField",
|
|
@@ -22671,7 +22710,7 @@ var InputField = styled__default.input.withConfig({
|
|
|
22671
22710
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
22672
22711
|
var showErrors = _ref8.showErrors,
|
|
22673
22712
|
themeValues = _ref8.themeValues,
|
|
22674
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
22713
|
+
props = _objectWithoutProperties(_ref8, _excluded$z);
|
|
22675
22714
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
22676
22715
|
}).withConfig({
|
|
22677
22716
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -22880,7 +22919,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
22880
22919
|
};
|
|
22881
22920
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$n, "default");
|
|
22882
22921
|
|
|
22883
|
-
var _excluded$
|
|
22922
|
+
var _excluded$A = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
22884
22923
|
var FormInputRow = function FormInputRow(_ref) {
|
|
22885
22924
|
var _ref$breakpoint = _ref.breakpoint,
|
|
22886
22925
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -22889,7 +22928,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
22889
22928
|
largeChild = _ref.largeChild,
|
|
22890
22929
|
largeChildSize = _ref.largeChildSize,
|
|
22891
22930
|
children = _ref.children,
|
|
22892
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22931
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
22893
22932
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
22894
22933
|
padding: "0"
|
|
22895
22934
|
}, rest), /*#__PURE__*/React__default.createElement(Switcher, {
|
|
@@ -22900,24 +22939,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
22900
22939
|
}, children));
|
|
22901
22940
|
};
|
|
22902
22941
|
|
|
22903
|
-
var _excluded$
|
|
22942
|
+
var _excluded$B = ["childGap", "bottomItem", "children"];
|
|
22904
22943
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
22905
22944
|
var _ref$childGap = _ref.childGap,
|
|
22906
22945
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
22907
22946
|
bottomItem = _ref.bottomItem,
|
|
22908
22947
|
children = _ref.children,
|
|
22909
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22948
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
22910
22949
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
22911
22950
|
childGap: childGap,
|
|
22912
22951
|
bottomItem: bottomItem
|
|
22913
22952
|
}, rest), children);
|
|
22914
22953
|
};
|
|
22915
22954
|
|
|
22916
|
-
var _excluded$
|
|
22955
|
+
var _excluded$C = ["themeValues", "children"];
|
|
22917
22956
|
var FormContainer = function FormContainer(_ref) {
|
|
22918
22957
|
var themeValues = _ref.themeValues,
|
|
22919
22958
|
children = _ref.children,
|
|
22920
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22959
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
22921
22960
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
22922
22961
|
isMobile = _useContext.isMobile;
|
|
22923
22962
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
@@ -23227,7 +23266,7 @@ var fallbackValues$r = {
|
|
|
23227
23266
|
fontSize: fontSize$8
|
|
23228
23267
|
};
|
|
23229
23268
|
|
|
23230
|
-
var _excluded$
|
|
23269
|
+
var _excluded$D = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
23231
23270
|
var Heading = function Heading(_ref) {
|
|
23232
23271
|
var themeValues = _ref.themeValues,
|
|
23233
23272
|
_ref$weight = _ref.weight,
|
|
@@ -23246,7 +23285,7 @@ var Heading = function Heading(_ref) {
|
|
|
23246
23285
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
23247
23286
|
dataQa = _ref.dataQa,
|
|
23248
23287
|
children = _ref.children,
|
|
23249
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23288
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
23250
23289
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
23251
23290
|
variant: variant,
|
|
23252
23291
|
as: as,
|
|
@@ -23447,11 +23486,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
23447
23486
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
23448
23487
|
};
|
|
23449
23488
|
|
|
23450
|
-
var _excluded$
|
|
23489
|
+
var _excluded$E = ["version"];
|
|
23451
23490
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
23452
23491
|
var _ref$version = _ref.version,
|
|
23453
23492
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
23454
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23493
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
23455
23494
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
23456
23495
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
23457
23496
|
};
|
|
@@ -23596,7 +23635,7 @@ var Loading = function Loading() {
|
|
|
23596
23635
|
})))));
|
|
23597
23636
|
};
|
|
23598
23637
|
|
|
23599
|
-
var _excluded$
|
|
23638
|
+
var _excluded$F = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
23600
23639
|
var NavFooter = function NavFooter(_ref) {
|
|
23601
23640
|
var leftContent = _ref.leftContent,
|
|
23602
23641
|
rightContent = _ref.rightContent,
|
|
@@ -23611,7 +23650,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
23611
23650
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
23612
23651
|
isMobile = _ref.isMobile,
|
|
23613
23652
|
footerWidth = _ref.footerWidth,
|
|
23614
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23653
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
23615
23654
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
23616
23655
|
padding: footerPadding,
|
|
23617
23656
|
background: backgroundColor,
|
|
@@ -23642,7 +23681,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
23642
23681
|
}, rightContent)))))));
|
|
23643
23682
|
};
|
|
23644
23683
|
|
|
23645
|
-
var _excluded$
|
|
23684
|
+
var _excluded$G = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
23646
23685
|
var NavHeader = function NavHeader(_ref) {
|
|
23647
23686
|
var leftContent = _ref.leftContent,
|
|
23648
23687
|
rightContent = _ref.rightContent,
|
|
@@ -23651,7 +23690,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
23651
23690
|
isMobile = _ref.isMobile,
|
|
23652
23691
|
backgroundColor = _ref.backgroundColor,
|
|
23653
23692
|
headerWidth = _ref.headerWidth,
|
|
23654
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
23693
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
23655
23694
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
23656
23695
|
padding: "0 16px 4px",
|
|
23657
23696
|
background: backgroundColor,
|
|
@@ -35511,7 +35550,7 @@ var LoadingPill = styled__default.span.withConfig({
|
|
|
35511
35550
|
return backgroundColor;
|
|
35512
35551
|
}, shineFrames);
|
|
35513
35552
|
|
|
35514
|
-
var _excluded$
|
|
35553
|
+
var _excluded$H = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
|
|
35515
35554
|
var LoadingLine = function LoadingLine(_ref) {
|
|
35516
35555
|
var minWidth = _ref.minWidth,
|
|
35517
35556
|
maxWidth = _ref.maxWidth,
|
|
@@ -35525,7 +35564,7 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
35525
35564
|
backgroundColor = _ref$backgroundColor === void 0 ? SEASHELL_WHITE : _ref$backgroundColor,
|
|
35526
35565
|
_ref$foregroundColor = _ref.foregroundColor,
|
|
35527
35566
|
foregroundColor = _ref$foregroundColor === void 0 ? ALABASTER_WHITE : _ref$foregroundColor,
|
|
35528
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
35567
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
35529
35568
|
var calculatedWidth = Math.floor(Math.random() * (parseInt(maxWidth) - parseInt(minWidth) + 1) + parseInt(minWidth));
|
|
35530
35569
|
return /*#__PURE__*/React__default.createElement(LoadingPill, _extends({
|
|
35531
35570
|
"aria-label": "loading",
|
|
@@ -41602,11 +41641,11 @@ var Modal$2 = function Modal(_ref) {
|
|
|
41602
41641
|
};
|
|
41603
41642
|
var ModalControlV2 = withWindowSize(Modal$2);
|
|
41604
41643
|
|
|
41605
|
-
var _excluded$
|
|
41644
|
+
var _excluded$I = ["version"];
|
|
41606
41645
|
var Modal$3 = function Modal(_ref) {
|
|
41607
41646
|
var _ref$version = _ref.version,
|
|
41608
41647
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
41609
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
41648
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
41610
41649
|
var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
|
|
41611
41650
|
return /*#__PURE__*/React__default.createElement(ModalControl, rest);
|
|
41612
41651
|
};
|
|
@@ -42171,6 +42210,8 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42171
42210
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42172
42211
|
_ref$subtitle = _ref.subtitle,
|
|
42173
42212
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
42213
|
+
_ref$subtitlePadding = _ref.subtitlePadding,
|
|
42214
|
+
subtitlePadding = _ref$subtitlePadding === void 0 ? "0 0 40px" : _ref$subtitlePadding,
|
|
42174
42215
|
showLeft = _ref.showLeft,
|
|
42175
42216
|
leftContent = _ref.leftContent,
|
|
42176
42217
|
showRight = _ref.showRight,
|
|
@@ -42185,8 +42226,11 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42185
42226
|
themeValues = _ref.themeValues,
|
|
42186
42227
|
_ref$titleVariant = _ref.titleVariant,
|
|
42187
42228
|
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant,
|
|
42229
|
+
_ref$titlePadding = _ref.titlePadding,
|
|
42188
42230
|
_ref$disabled = _ref.disabled,
|
|
42189
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled
|
|
42231
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
42232
|
+
_ref$isExternalLink = _ref.isExternalLink,
|
|
42233
|
+
isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink;
|
|
42190
42234
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
42191
42235
|
isMobile = _useContext.isMobile;
|
|
42192
42236
|
var regex = /\W/g;
|
|
@@ -42216,16 +42260,23 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42216
42260
|
width: "100%"
|
|
42217
42261
|
},
|
|
42218
42262
|
fullHeight: true
|
|
42219
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
42220
|
-
|
|
42221
|
-
|
|
42263
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
42264
|
+
direction: "row",
|
|
42265
|
+
childGap: "0.5rem"
|
|
42222
42266
|
}, /*#__PURE__*/React__default.createElement(Title$2, {
|
|
42223
42267
|
variant: titleVariant,
|
|
42224
42268
|
theme: themeValues,
|
|
42225
42269
|
margin: 0,
|
|
42226
42270
|
isDisabled: disabled
|
|
42227
|
-
}, title)
|
|
42228
|
-
|
|
42271
|
+
}, title), isExternalLink && /*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
|
|
42272
|
+
linkColor: themeValues.color,
|
|
42273
|
+
text: locatorSlug,
|
|
42274
|
+
style: {
|
|
42275
|
+
height: "1.125rem",
|
|
42276
|
+
width: "1.125rem"
|
|
42277
|
+
}
|
|
42278
|
+
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
42279
|
+
padding: subtitlePadding,
|
|
42229
42280
|
width: "100%"
|
|
42230
42281
|
}, /*#__PURE__*/React__default.createElement(Subtitle, {
|
|
42231
42282
|
variant: "pS",
|
|
@@ -43824,7 +43875,7 @@ var fallbackValues$Q = {
|
|
|
43824
43875
|
labeledAmountTotal: labeledAmountTotal
|
|
43825
43876
|
};
|
|
43826
43877
|
|
|
43827
|
-
var _excluded$
|
|
43878
|
+
var _excluded$J = ["amount"],
|
|
43828
43879
|
_excluded2$1 = ["amount"];
|
|
43829
43880
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
43830
43881
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -44067,7 +44118,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
44067
44118
|
return fee.amount > 0;
|
|
44068
44119
|
}).map(function (_ref5) {
|
|
44069
44120
|
var amount = _ref5.amount,
|
|
44070
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
44121
|
+
rest = _objectWithoutProperties(_ref5, _excluded$J);
|
|
44071
44122
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
44072
44123
|
amount: displayCurrency(amount)
|
|
44073
44124
|
});
|
|
@@ -44504,11 +44555,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
44504
44555
|
}, errorMessage))))));
|
|
44505
44556
|
};
|
|
44506
44557
|
|
|
44507
|
-
var _excluded$
|
|
44558
|
+
var _excluded$K = ["version"];
|
|
44508
44559
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
44509
44560
|
var _ref$version = _ref.version,
|
|
44510
44561
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
44511
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
44562
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
44512
44563
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
44513
44564
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
44514
44565
|
};
|
|
@@ -45316,7 +45367,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
45316
45367
|
}, section.content))));
|
|
45317
45368
|
};
|
|
45318
45369
|
|
|
45319
|
-
var _excluded$
|
|
45370
|
+
var _excluded$L = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
|
|
45320
45371
|
|
|
45321
45372
|
/**
|
|
45322
45373
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -45366,7 +45417,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
45366
45417
|
_ref$groupedSections = _ref.groupedSections,
|
|
45367
45418
|
groupedSections = _ref$groupedSections === void 0 ? [] : _ref$groupedSections,
|
|
45368
45419
|
borderOverride = _ref.borderOverride,
|
|
45369
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
45420
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
45370
45421
|
var _useState = React.useState(null),
|
|
45371
45422
|
_useState2 = _slicedToArray(_useState, 2),
|
|
45372
45423
|
focused = _useState2[0],
|
|
@@ -45997,7 +46048,8 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
45997
46048
|
return /*#__PURE__*/React__default.createElement(InternalLink, {
|
|
45998
46049
|
to: route,
|
|
45999
46050
|
key: "".concat(route, "-").concat(index),
|
|
46000
|
-
|
|
46051
|
+
isUnderlined: false,
|
|
46052
|
+
extraStyles: "\n &:hover {\n ".concat(active ? "> * {\n background-color: ".concat(themeValues.activeTabHover, ";\n }") : "> * { \n background-color: rgba(8, 27, 43, 0.05);\n }", "}")
|
|
46001
46053
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
46002
46054
|
padding: isMobile ? "6px 4px" : "18px 16px",
|
|
46003
46055
|
background: active ? themeValues.activeTabBackground : "transparent",
|
|
@@ -46058,7 +46110,7 @@ var Timeout = function Timeout(_ref) {
|
|
|
46058
46110
|
};
|
|
46059
46111
|
var Timeout$1 = withWindowSize(Timeout);
|
|
46060
46112
|
|
|
46061
|
-
var _excluded$
|
|
46113
|
+
var _excluded$M = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
|
|
46062
46114
|
var VARIANTS = {
|
|
46063
46115
|
SUCCESS: "success",
|
|
46064
46116
|
ERROR: "error"
|
|
@@ -46087,7 +46139,7 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
46087
46139
|
screenReaderMessage = _ref.screenReaderMessage,
|
|
46088
46140
|
_ref$showScreenReader = _ref.showScreenReaderMessage,
|
|
46089
46141
|
showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
|
|
46090
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
46142
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
46091
46143
|
var screenReaderMessageRef = React.useRef();
|
|
46092
46144
|
var LIVEREGION_TRANSITION_DELAY = 1000;
|
|
46093
46145
|
React.useEffect(function () {
|
|
@@ -46270,7 +46322,7 @@ var PopupMenuItemContainer = styled__default(ButtonWithAction).withConfig({
|
|
|
46270
46322
|
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
46271
46323
|
});
|
|
46272
46324
|
|
|
46273
|
-
var _excluded$
|
|
46325
|
+
var _excluded$N = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
46274
46326
|
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
46275
46327
|
var id = _ref.id,
|
|
46276
46328
|
closeMenuCallback = _ref.closeMenuCallback,
|
|
@@ -46286,7 +46338,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
46286
46338
|
hoverStyles = _ref.hoverStyles,
|
|
46287
46339
|
activeStyles = _ref.activeStyles,
|
|
46288
46340
|
extraStyles = _ref.extraStyles,
|
|
46289
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
46341
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
46290
46342
|
return /*#__PURE__*/React__default.createElement(PopupMenuItemContainer, _extends({
|
|
46291
46343
|
id: id,
|
|
46292
46344
|
role: "menuItem",
|
|
@@ -46525,7 +46577,7 @@ var ActionLinkButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
46525
46577
|
});
|
|
46526
46578
|
});
|
|
46527
46579
|
|
|
46528
|
-
var _excluded$
|
|
46580
|
+
var _excluded$O = ["width", "height", "color"];
|
|
46529
46581
|
var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
46530
46582
|
var _ref$width = _ref.width,
|
|
46531
46583
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -46533,7 +46585,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
|
46533
46585
|
height = _ref$height === void 0 ? "19" : _ref$height,
|
|
46534
46586
|
_ref$color = _ref.color,
|
|
46535
46587
|
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
46536
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
46588
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
46537
46589
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
46538
46590
|
width: width,
|
|
46539
46591
|
height: height,
|
|
@@ -46680,7 +46732,7 @@ var SearchBox = function SearchBox(_ref) {
|
|
|
46680
46732
|
}));
|
|
46681
46733
|
};
|
|
46682
46734
|
|
|
46683
|
-
var _excluded$
|
|
46735
|
+
var _excluded$P = ["width", "height", "color"];
|
|
46684
46736
|
var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
46685
46737
|
var _ref$width = _ref.width,
|
|
46686
46738
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -46688,7 +46740,7 @@ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
|
46688
46740
|
height = _ref$height === void 0 ? "18" : _ref$height,
|
|
46689
46741
|
_ref$color = _ref.color,
|
|
46690
46742
|
color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
|
|
46691
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
46743
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
46692
46744
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
46693
46745
|
xmlns: "http://www.w3.org/2000/svg",
|
|
46694
46746
|
width: width,
|
|
@@ -47384,7 +47436,7 @@ var fallbackValues$11 = {
|
|
|
47384
47436
|
justifyContent: justifyContent
|
|
47385
47437
|
};
|
|
47386
47438
|
|
|
47387
|
-
var _excluded$
|
|
47439
|
+
var _excluded$Q = ["variant", "imageUrl", "isMobile", "theme", "extraStyles"],
|
|
47388
47440
|
_excluded2$2 = ["theme", "isMobile"],
|
|
47389
47441
|
_excluded3 = ["theme", "isMobile"],
|
|
47390
47442
|
_excluded4 = ["theme", "isMobile"];
|
|
@@ -47407,7 +47459,7 @@ var HeroContainer = styled__default(function (_ref2) {
|
|
|
47407
47459
|
isMobile = _ref2.isMobile,
|
|
47408
47460
|
theme = _ref2.theme,
|
|
47409
47461
|
extraStyles = _ref2.extraStyles,
|
|
47410
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
47462
|
+
props = _objectWithoutProperties(_ref2, _excluded$Q);
|
|
47411
47463
|
return /*#__PURE__*/React__default.createElement(Box, props);
|
|
47412
47464
|
}).withConfig({
|
|
47413
47465
|
displayName: "HeroImagestyled__HeroContainer",
|