@thecb/components 12.0.0-beta.6 → 12.0.0-beta.8
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 +103 -92
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +103 -92
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/atoms/card-type/CardType.js +1 -5
- package/src/components/atoms/formatted-bank-account/FormattedBankAccount.js +11 -5
- package/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +30 -30
- package/src/components/atoms/link/InternalLink.js +3 -1
- package/src/components/molecules/editable-list/EditableList.js +22 -9
- package/src/components/molecules/link-card/LinkCard.js +11 -8
- package/src/components/molecules/link-card/LinkCard.stories.js +6 -147
- package/src/components/molecules/link-card/LinkCard.styled.js +27 -17
- package/src/components/molecules/obligation/modules/IconModule.js +1 -1
- package/src/components/molecules/radio-section/radio-button/RadioButton.js +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -21665,6 +21665,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21665
21665
|
});
|
|
21666
21666
|
/* eslint-enable no-unused-vars */
|
|
21667
21667
|
|
|
21668
|
+
var _excluded$u = ["to", "color", "children", "active", "fontSize", "lineheight", "fontWeight", "variant", "margin", "tabIndex", "dataQa", "extraStyles", "isUnderlined", "hoverUnderline", "extraHoverStyles", "extraActiveStyles", "extraFocusStyles"];
|
|
21668
21669
|
var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
21669
21670
|
var _ref$to = _ref.to,
|
|
21670
21671
|
to = _ref$to === void 0 ? "" : _ref$to,
|
|
@@ -21691,10 +21692,11 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21691
21692
|
_ref$extraActiveStyle = _ref.extraActiveStyles,
|
|
21692
21693
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
21693
21694
|
_ref$extraFocusStyles = _ref.extraFocusStyles,
|
|
21694
|
-
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles
|
|
21695
|
+
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles,
|
|
21696
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
21695
21697
|
var themeContext = useContext(ThemeContext);
|
|
21696
21698
|
var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
|
|
21697
|
-
return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
|
|
21699
|
+
return /*#__PURE__*/React__default.createElement(StyledInternalLink, _extends({
|
|
21698
21700
|
to: to,
|
|
21699
21701
|
color: color,
|
|
21700
21702
|
lineheight: lineheight,
|
|
@@ -21714,7 +21716,7 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21714
21716
|
extraFocusStyles: extraFocusStyles,
|
|
21715
21717
|
"data-qa": dataQa,
|
|
21716
21718
|
ref: ref
|
|
21717
|
-
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
21719
|
+
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
21718
21720
|
});
|
|
21719
21721
|
|
|
21720
21722
|
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
@@ -21749,7 +21751,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
21749
21751
|
})));
|
|
21750
21752
|
};
|
|
21751
21753
|
|
|
21752
|
-
var _excluded$
|
|
21754
|
+
var _excluded$v = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
21753
21755
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
21754
21756
|
var _ref$url = _ref.url,
|
|
21755
21757
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -21764,7 +21766,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21764
21766
|
_ref$newTab = _ref.newTab,
|
|
21765
21767
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
21766
21768
|
dataQa = _ref.dataQa,
|
|
21767
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
21769
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
21768
21770
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
21769
21771
|
var children = _ref2.children,
|
|
21770
21772
|
url = _ref2.url,
|
|
@@ -21852,7 +21854,7 @@ var ParagraphText = styled.p.withConfig({
|
|
|
21852
21854
|
return extraStyles;
|
|
21853
21855
|
});
|
|
21854
21856
|
|
|
21855
|
-
var _excluded$
|
|
21857
|
+
var _excluded$w = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
21856
21858
|
var Paragraph = function Paragraph(_ref) {
|
|
21857
21859
|
var themeValues = _ref.themeValues,
|
|
21858
21860
|
_ref$weight = _ref.weight,
|
|
@@ -21866,7 +21868,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
21866
21868
|
dataQa = _ref.dataQa,
|
|
21867
21869
|
children = _ref.children,
|
|
21868
21870
|
as = _ref.as,
|
|
21869
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21871
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
21870
21872
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
21871
21873
|
weight: weight,
|
|
21872
21874
|
color: color,
|
|
@@ -22108,7 +22110,7 @@ var ENTER = 13;
|
|
|
22108
22110
|
var ESCAPE = 27;
|
|
22109
22111
|
var SPACEBAR = 32;
|
|
22110
22112
|
|
|
22111
|
-
var _excluded$
|
|
22113
|
+
var _excluded$x = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
|
|
22112
22114
|
var CheckboxContainer = styled.span.withConfig({
|
|
22113
22115
|
displayName: "Checkbox__CheckboxContainer",
|
|
22114
22116
|
componentId: "sc-36kqbv-0"
|
|
@@ -22178,7 +22180,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref5, ref) {
|
|
|
22178
22180
|
_ref5$hasIconOverride = _ref5.hasIconOverride,
|
|
22179
22181
|
hasIconOverride = _ref5$hasIconOverride === void 0 ? false : _ref5$hasIconOverride,
|
|
22180
22182
|
Icon = _ref5.icon,
|
|
22181
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
22183
|
+
rest = _objectWithoutProperties(_ref5, _excluded$x);
|
|
22182
22184
|
var _useState = useState(false),
|
|
22183
22185
|
_useState2 = _slicedToArray(_useState, 2),
|
|
22184
22186
|
focused = _useState2[0],
|
|
@@ -22534,7 +22536,7 @@ var TableRowWrapper = styled.tr.withConfig({
|
|
|
22534
22536
|
return extraStyles;
|
|
22535
22537
|
});
|
|
22536
22538
|
|
|
22537
|
-
var _excluded$
|
|
22539
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
22538
22540
|
var TableRow = function TableRow(_ref) {
|
|
22539
22541
|
var children = _ref.children,
|
|
22540
22542
|
extraStyles = _ref.extraStyles,
|
|
@@ -22544,7 +22546,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
22544
22546
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
22545
22547
|
onClick = _ref.onClick,
|
|
22546
22548
|
themeValues = _ref.themeValues,
|
|
22547
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
22549
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
22548
22550
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
22549
22551
|
onClick: onClick,
|
|
22550
22552
|
hoverEffect: hoverEffect,
|
|
@@ -25381,7 +25383,7 @@ var mobileFallbackValues$1 = {
|
|
|
25381
25383
|
};
|
|
25382
25384
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25383
25385
|
|
|
25384
|
-
var _excluded$
|
|
25386
|
+
var _excluded$z = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25385
25387
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
25386
25388
|
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
25387
25389
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$1;
|
|
@@ -25404,7 +25406,7 @@ var Detail = function Detail(_ref) {
|
|
|
25404
25406
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25405
25407
|
dataQa = _ref.dataQa,
|
|
25406
25408
|
children = _ref.children,
|
|
25407
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25409
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
25408
25410
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
25409
25411
|
variant: variant,
|
|
25410
25412
|
as: as,
|
|
@@ -25794,7 +25796,7 @@ var fallbackValues$m = {
|
|
|
25794
25796
|
formFooterPanel: formFooterPanel
|
|
25795
25797
|
};
|
|
25796
25798
|
|
|
25797
|
-
var _excluded$
|
|
25799
|
+
var _excluded$A = ["showErrors", "themeValues"],
|
|
25798
25800
|
_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"];
|
|
25799
25801
|
var InputField = styled.input.withConfig({
|
|
25800
25802
|
displayName: "FormInput__InputField",
|
|
@@ -25829,7 +25831,7 @@ var InputField = styled.input.withConfig({
|
|
|
25829
25831
|
var FormattedInputField = styled(function (_ref8) {
|
|
25830
25832
|
var showErrors = _ref8.showErrors,
|
|
25831
25833
|
themeValues = _ref8.themeValues,
|
|
25832
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
25834
|
+
props = _objectWithoutProperties(_ref8, _excluded$A);
|
|
25833
25835
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
25834
25836
|
}).withConfig({
|
|
25835
25837
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26034,7 +26036,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26034
26036
|
};
|
|
26035
26037
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
|
|
26036
26038
|
|
|
26037
|
-
var _excluded$
|
|
26039
|
+
var _excluded$B = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26038
26040
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26039
26041
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26040
26042
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26043,7 +26045,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26043
26045
|
largeChild = _ref.largeChild,
|
|
26044
26046
|
largeChildSize = _ref.largeChildSize,
|
|
26045
26047
|
children = _ref.children,
|
|
26046
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26048
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
26047
26049
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26048
26050
|
padding: "0"
|
|
26049
26051
|
}, rest), /*#__PURE__*/React__default.createElement(Switcher, {
|
|
@@ -26054,24 +26056,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26054
26056
|
}, children));
|
|
26055
26057
|
};
|
|
26056
26058
|
|
|
26057
|
-
var _excluded$
|
|
26059
|
+
var _excluded$C = ["childGap", "bottomItem", "children"];
|
|
26058
26060
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26059
26061
|
var _ref$childGap = _ref.childGap,
|
|
26060
26062
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26061
26063
|
bottomItem = _ref.bottomItem,
|
|
26062
26064
|
children = _ref.children,
|
|
26063
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26065
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
26064
26066
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
26065
26067
|
childGap: childGap,
|
|
26066
26068
|
bottomItem: bottomItem
|
|
26067
26069
|
}, rest), children);
|
|
26068
26070
|
};
|
|
26069
26071
|
|
|
26070
|
-
var _excluded$
|
|
26072
|
+
var _excluded$D = ["themeValues", "children"];
|
|
26071
26073
|
var FormContainer = function FormContainer(_ref) {
|
|
26072
26074
|
var themeValues = _ref.themeValues,
|
|
26073
26075
|
children = _ref.children,
|
|
26074
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26076
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
26075
26077
|
var _useContext = useContext(ThemeContext),
|
|
26076
26078
|
isMobile = _useContext.isMobile;
|
|
26077
26079
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
@@ -26103,7 +26105,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
|
26103
26105
|
};
|
|
26104
26106
|
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
|
|
26105
26107
|
|
|
26106
|
-
var _excluded$
|
|
26108
|
+
var _excluded$E = ["ariaLabelledBy", "labelDisplayOverride", "labelTextWhenNoError", "errorMessages", "helperModal", "field", "fieldActions", "showErrors", "themeValues", "customHeight", "extraStyles", "removeFromValue", "dataQa", "isRequired", "errorFieldExtraStyles", "showFieldErrorRow", "labelTextVariant", "errorTextVariant", "resize", "rows", "cols", "placeholder", "maxLength"];
|
|
26107
26109
|
var TextareaField = styled.textarea.withConfig({
|
|
26108
26110
|
displayName: "FormTextarea__TextareaField",
|
|
26109
26111
|
componentId: "sc-94tlb0-0"
|
|
@@ -26166,7 +26168,7 @@ var FormTextarea = function FormTextarea(_ref8) {
|
|
|
26166
26168
|
cols = _ref8.cols,
|
|
26167
26169
|
placeholder = _ref8.placeholder,
|
|
26168
26170
|
maxLength = _ref8.maxLength,
|
|
26169
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26171
|
+
props = _objectWithoutProperties(_ref8, _excluded$E);
|
|
26170
26172
|
var setValue = function setValue(value) {
|
|
26171
26173
|
if (removeFromValue !== undefined) {
|
|
26172
26174
|
return fieldActions.set(value.replace(removeFromValue, ""));
|
|
@@ -26306,9 +26308,13 @@ var BankItemWrapper = styled.div.withConfig({
|
|
|
26306
26308
|
displayName: "FormattedBankAccount__BankItemWrapper",
|
|
26307
26309
|
componentId: "sc-18hcgw4-0"
|
|
26308
26310
|
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
26311
|
+
var BankIconWrapper = styled.div.withConfig({
|
|
26312
|
+
displayName: "FormattedBankAccount__BankIconWrapper",
|
|
26313
|
+
componentId: "sc-18hcgw4-1"
|
|
26314
|
+
})(["margin-right:8px;width:36px;height:auto;display:flex;"]);
|
|
26309
26315
|
var BankAccountText = styled.h4.withConfig({
|
|
26310
26316
|
displayName: "FormattedBankAccount__BankAccountText",
|
|
26311
|
-
componentId: "sc-18hcgw4-
|
|
26317
|
+
componentId: "sc-18hcgw4-2"
|
|
26312
26318
|
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
|
|
26313
26319
|
var color = _ref.color;
|
|
26314
26320
|
return color;
|
|
@@ -26320,10 +26326,7 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26320
26326
|
accountType = _ref2.accountType,
|
|
26321
26327
|
autoPay = _ref2.autoPay,
|
|
26322
26328
|
themeValues = _ref2.themeValues;
|
|
26323
|
-
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(
|
|
26324
|
-
padding: "0.25rem 0 0 0",
|
|
26325
|
-
extraStyles: "margin-right: 1rem;"
|
|
26326
|
-
}, /*#__PURE__*/React__default.createElement(BankIcon, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26329
|
+
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(BankIconWrapper, null, /*#__PURE__*/React__default.createElement(BankIconLarge, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26327
26330
|
childGap: "0"
|
|
26328
26331
|
}, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, {
|
|
26329
26332
|
color: themeValues.textColor
|
|
@@ -26378,7 +26381,7 @@ var CardType = function CardType(_ref) {
|
|
|
26378
26381
|
var _ref2 = cardBrands[normalizedType] || cardBrands["default"],
|
|
26379
26382
|
label = _ref2.label,
|
|
26380
26383
|
IconComponent = _ref2[size];
|
|
26381
|
-
return /*#__PURE__*/React__default.createElement(
|
|
26384
|
+
return /*#__PURE__*/React__default.createElement(IconComponent, null);
|
|
26382
26385
|
};
|
|
26383
26386
|
|
|
26384
26387
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
@@ -26455,7 +26458,7 @@ var CreditCardWrapper = styled.div.withConfig({
|
|
|
26455
26458
|
var CCIconWrapper = styled.div.withConfig({
|
|
26456
26459
|
displayName: "FormattedCreditCard__CCIconWrapper",
|
|
26457
26460
|
componentId: "sc-s0ta5l-1"
|
|
26458
|
-
})(["margin-right:
|
|
26461
|
+
})(["margin-right:8px;width:36px;height:auto;display:flex;"]);
|
|
26459
26462
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
26460
26463
|
var lastFour = _ref.lastFour,
|
|
26461
26464
|
type = _ref.type,
|
|
@@ -26570,7 +26573,7 @@ var fallbackValues$q = {
|
|
|
26570
26573
|
fontSize: fontSize$8
|
|
26571
26574
|
};
|
|
26572
26575
|
|
|
26573
|
-
var _excluded$
|
|
26576
|
+
var _excluded$F = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26574
26577
|
var Heading = function Heading(_ref) {
|
|
26575
26578
|
var themeValues = _ref.themeValues,
|
|
26576
26579
|
_ref$weight = _ref.weight,
|
|
@@ -26589,7 +26592,7 @@ var Heading = function Heading(_ref) {
|
|
|
26589
26592
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26590
26593
|
dataQa = _ref.dataQa,
|
|
26591
26594
|
children = _ref.children,
|
|
26592
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26595
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
26593
26596
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
26594
26597
|
variant: variant,
|
|
26595
26598
|
as: as,
|
|
@@ -26869,11 +26872,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
26869
26872
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
26870
26873
|
};
|
|
26871
26874
|
|
|
26872
|
-
var _excluded$
|
|
26875
|
+
var _excluded$G = ["version"];
|
|
26873
26876
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26874
26877
|
var _ref$version = _ref.version,
|
|
26875
26878
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26876
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26879
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
26877
26880
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26878
26881
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
26879
26882
|
};
|
|
@@ -26951,7 +26954,7 @@ var Loading = function Loading() {
|
|
|
26951
26954
|
})))));
|
|
26952
26955
|
};
|
|
26953
26956
|
|
|
26954
|
-
var _excluded$
|
|
26957
|
+
var _excluded$H = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26955
26958
|
var NavFooter = function NavFooter(_ref) {
|
|
26956
26959
|
var leftContent = _ref.leftContent,
|
|
26957
26960
|
rightContent = _ref.rightContent,
|
|
@@ -26966,7 +26969,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26966
26969
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
26967
26970
|
isMobile = _ref.isMobile,
|
|
26968
26971
|
footerWidth = _ref.footerWidth,
|
|
26969
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26972
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
26970
26973
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26971
26974
|
padding: footerPadding,
|
|
26972
26975
|
background: backgroundColor,
|
|
@@ -26997,7 +27000,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26997
27000
|
}, rightContent)))))));
|
|
26998
27001
|
};
|
|
26999
27002
|
|
|
27000
|
-
var _excluded$
|
|
27003
|
+
var _excluded$I = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27001
27004
|
var NavHeader = function NavHeader(_ref) {
|
|
27002
27005
|
var leftContent = _ref.leftContent,
|
|
27003
27006
|
rightContent = _ref.rightContent,
|
|
@@ -27006,7 +27009,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27006
27009
|
isMobile = _ref.isMobile,
|
|
27007
27010
|
backgroundColor = _ref.backgroundColor,
|
|
27008
27011
|
headerWidth = _ref.headerWidth,
|
|
27009
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27012
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
27010
27013
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27011
27014
|
padding: "0 16px 4px",
|
|
27012
27015
|
background: backgroundColor,
|
|
@@ -27564,7 +27567,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27564
27567
|
borderWidth: "1px",
|
|
27565
27568
|
borderStyle: "solid",
|
|
27566
27569
|
borderRadius: "12px",
|
|
27567
|
-
margin: "6px
|
|
27570
|
+
margin: "6px 8px 6px 6px",
|
|
27568
27571
|
height: "24px",
|
|
27569
27572
|
width: "24px",
|
|
27570
27573
|
variants: buttonBorder,
|
|
@@ -38867,7 +38870,7 @@ var LoadingPill = styled.span.withConfig({
|
|
|
38867
38870
|
return backgroundColor;
|
|
38868
38871
|
}, shineFrames);
|
|
38869
38872
|
|
|
38870
|
-
var _excluded$
|
|
38873
|
+
var _excluded$J = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
|
|
38871
38874
|
var LoadingLine = function LoadingLine(_ref) {
|
|
38872
38875
|
var minWidth = _ref.minWidth,
|
|
38873
38876
|
maxWidth = _ref.maxWidth,
|
|
@@ -38881,7 +38884,7 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
38881
38884
|
backgroundColor = _ref$backgroundColor === void 0 ? SEASHELL_WHITE : _ref$backgroundColor,
|
|
38882
38885
|
_ref$foregroundColor = _ref.foregroundColor,
|
|
38883
38886
|
foregroundColor = _ref$foregroundColor === void 0 ? ALABASTER_WHITE : _ref$foregroundColor,
|
|
38884
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38887
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
38885
38888
|
var calculatedWidth = Math.floor(Math.random() * (parseInt(maxWidth) - parseInt(minWidth) + 1) + parseInt(minWidth));
|
|
38886
38889
|
return /*#__PURE__*/React__default.createElement(LoadingPill, _extends({
|
|
38887
38890
|
"aria-label": "loading",
|
|
@@ -40915,7 +40918,9 @@ var EditableList = function EditableList(_ref) {
|
|
|
40915
40918
|
_ref$editItemAriaRole = _ref.editItemAriaRole,
|
|
40916
40919
|
editItemAriaRole = _ref$editItemAriaRole === void 0 ? "" : _ref$editItemAriaRole,
|
|
40917
40920
|
_ref$disablePlacehold = _ref.disablePlaceholder,
|
|
40918
|
-
disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold
|
|
40921
|
+
disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold,
|
|
40922
|
+
_ref$getEditHref = _ref.getEditHref,
|
|
40923
|
+
getEditHref = _ref$getEditHref === void 0 ? null : _ref$getEditHref;
|
|
40919
40924
|
var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
|
|
40920
40925
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
40921
40926
|
padding: listPadding,
|
|
@@ -40982,7 +40987,12 @@ var EditableList = function EditableList(_ref) {
|
|
|
40982
40987
|
extraStyles: ":not(:first-child) { border-left: 2px solid ".concat(BOSTON_BLUE, ";}"),
|
|
40983
40988
|
dataQa: qaPrefix + " Edit",
|
|
40984
40989
|
key: "Edit ".concat(item.id)
|
|
40985
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
40990
|
+
}, getEditHref ? /*#__PURE__*/React__default.createElement(InternalLink, {
|
|
40991
|
+
to: getEditHref(item),
|
|
40992
|
+
fontWeight: "400",
|
|
40993
|
+
extraStyles: "margin: 0.5rem; min-width: 0;",
|
|
40994
|
+
"aria-label": "Edit ".concat(ariaLabel || itemName)
|
|
40995
|
+
}, "Edit") : /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40986
40996
|
variant: "smallGhost",
|
|
40987
40997
|
text: "Edit",
|
|
40988
40998
|
action: function action() {
|
|
@@ -45280,11 +45290,11 @@ var Modal$2 = function Modal(_ref) {
|
|
|
45280
45290
|
};
|
|
45281
45291
|
var ModalControlV2 = withWindowSize(Modal$2);
|
|
45282
45292
|
|
|
45283
|
-
var _excluded$
|
|
45293
|
+
var _excluded$K = ["version"];
|
|
45284
45294
|
var Modal$3 = function Modal(_ref) {
|
|
45285
45295
|
var _ref$version = _ref.version,
|
|
45286
45296
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
45287
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
45297
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
45288
45298
|
var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
|
|
45289
45299
|
return /*#__PURE__*/React__default.createElement(ModalControl, rest);
|
|
45290
45300
|
};
|
|
@@ -45821,33 +45831,30 @@ var fallbackValues$L = {
|
|
|
45821
45831
|
var LinkWrapper = styled(Link).withConfig({
|
|
45822
45832
|
displayName: "LinkCardstyled__LinkWrapper",
|
|
45823
45833
|
componentId: "sc-l5q1h2-0"
|
|
45824
|
-
})(["
|
|
45825
|
-
var
|
|
45826
|
-
theme = _ref
|
|
45827
|
-
|
|
45828
|
-
|
|
45829
|
-
|
|
45830
|
-
|
|
45831
|
-
},
|
|
45832
|
-
var isDisabled = _ref3.isDisabled,
|
|
45833
|
-
theme = _ref3.theme;
|
|
45834
|
-
return isDisabled ? "\n &:hover,\n &:active {\n cursor: default;\n box-shadow: none;\n border: 1px solid ".concat(theme.disabledBorderColor, ";\n }\n ") : "\n &:hover,\n &:active {\n cursor: pointer;\n box-shadow: 0px 0px 0px 0px rgba(41, 42, 51, 0.1),\n 0px 5px 11px 0px rgba(41, 42, 51, 0.1),\n 0px 4px 19px 0px rgba(41, 42, 51, 0.09),\n 0px 27px 26px 0px rgba(41, 42, 51, 0.05),\n 0px 56px 31px 0px rgba(41, 42, 51, 0.01),\n 0px 80px 33px 0px rgba(41, 42, 51, 0);\n }\n\n &:hover:not(:active) {\n border: 1px solid ".concat(theme.borderColor, ";\n }\n\n &:active {\n background-color: ").concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n }\n ");
|
|
45834
|
+
})(["", ""], function (_ref) {
|
|
45835
|
+
var disabled = _ref.disabled,
|
|
45836
|
+
theme = _ref.$theme,
|
|
45837
|
+
extraStyles = _ref.extraStyles,
|
|
45838
|
+
disabledStyles = _ref.disabledStyles,
|
|
45839
|
+
hoverStyles = _ref.hoverStyles,
|
|
45840
|
+
activeStyles = _ref.activeStyles;
|
|
45841
|
+
return "\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 40px;\n flex-shrink: 0;\n padding: 24px;\n align-self: stretch;\n border-radius: 8px;\n text-decoration: none;\n background-color: ".concat(disabled ? theme.disabledBackgroundColor : theme.backgroundColor, ";\n border: 1px solid\n ").concat(disabled ? theme.disabledBorderColor : theme.borderColor, ";\n transition: all 0.2s ease-in-out;\n ").concat(extraStyles || "", "\n\n ").concat(disabled ? "\n &:hover,\n &:active {\n cursor: default;\n box-shadow: none;\n border: 1px solid ".concat(theme.disabledBorderColor, ";\n ").concat(disabledStyles || "", "\n }\n ") : "\n &:hover,\n &:active {\n cursor: pointer;\n box-shadow: 0px 0px 0px 0px rgba(41, 42, 51, 0.1),\n 0px 5px 11px 0px rgba(41, 42, 51, 0.1),\n 0px 4px 19px 0px rgba(41, 42, 51, 0.09),\n 0px 27px 26px 0px rgba(41, 42, 51, 0.05),\n 0px 56px 31px 0px rgba(41, 42, 51, 0.01),\n 0px 80px 33px 0px rgba(41, 42, 51, 0);\n }\n ".concat(hoverStyles || "", "\n\n &:hover:not(:active) {\n border: 1px solid ").concat(theme.borderColor, ";\n }\n\n &:active {\n background-color: ").concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ").concat(activeStyles || "", "\n }\n "), "\n ");
|
|
45835
45842
|
});
|
|
45836
45843
|
var Title$2 = styled(Heading$1).withConfig({
|
|
45837
45844
|
displayName: "LinkCardstyled__Title",
|
|
45838
45845
|
componentId: "sc-l5q1h2-1"
|
|
45839
|
-
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (
|
|
45840
|
-
var
|
|
45841
|
-
theme =
|
|
45842
|
-
return
|
|
45846
|
+
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";color:", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref2) {
|
|
45847
|
+
var disabled = _ref2.disabled,
|
|
45848
|
+
theme = _ref2.$theme;
|
|
45849
|
+
return disabled ? theme.disabledColor : theme.color;
|
|
45843
45850
|
});
|
|
45844
45851
|
var Subtitle = styled(Paragraph$1).withConfig({
|
|
45845
45852
|
displayName: "LinkCardstyled__Subtitle",
|
|
45846
45853
|
componentId: "sc-l5q1h2-2"
|
|
45847
|
-
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150%;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_REGULAR, function (
|
|
45848
|
-
var
|
|
45849
|
-
theme =
|
|
45850
|
-
return
|
|
45854
|
+
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150%;letter-spacing:0.14px;font-weight:", ";color:", ";"], FONT_WEIGHT_REGULAR, function (_ref3) {
|
|
45855
|
+
var disabled = _ref3.disabled,
|
|
45856
|
+
theme = _ref3.$theme;
|
|
45857
|
+
return disabled ? theme.disabledColor : theme.textColor;
|
|
45851
45858
|
});
|
|
45852
45859
|
var Footer = styled(Stack).withConfig({
|
|
45853
45860
|
displayName: "LinkCardstyled__Footer",
|
|
@@ -45879,24 +45886,27 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45879
45886
|
_ref$disabled = _ref.disabled,
|
|
45880
45887
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
45881
45888
|
_ref$isExternalLink = _ref.isExternalLink,
|
|
45882
|
-
isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink
|
|
45889
|
+
isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink,
|
|
45890
|
+
key = _ref.key;
|
|
45883
45891
|
var _useContext = useContext(ThemeContext),
|
|
45884
45892
|
isMobile = _useContext.isMobile;
|
|
45885
45893
|
var regex = /\W/g;
|
|
45886
45894
|
var locatorSlug = title === null || title === void 0 || (_title$toLowerCase = title.toLowerCase) === null || _title$toLowerCase === void 0 || (_title$toLowerCase = _title$toLowerCase.call(title)) === null || _title$toLowerCase === void 0 || (_title$toLowerCase$re = _title$toLowerCase.replaceAll) === null || _title$toLowerCase$re === void 0 ? void 0 : _title$toLowerCase$re.call(_title$toLowerCase, regex, "-");
|
|
45887
45895
|
return /*#__PURE__*/React__default.createElement(LinkWrapper, {
|
|
45896
|
+
key: key || locatorSlug,
|
|
45888
45897
|
as: Link,
|
|
45889
45898
|
to: disabled ? undefined : href,
|
|
45890
45899
|
role: "link",
|
|
45891
45900
|
isMobile: isMobile,
|
|
45892
|
-
|
|
45893
|
-
theme: themeValues,
|
|
45901
|
+
$theme: themeValues,
|
|
45894
45902
|
extraStyles: extraStyles,
|
|
45895
45903
|
hoverStyles: extraHoverStyles,
|
|
45896
45904
|
activeStyles: extraActiveStyles,
|
|
45897
45905
|
"aria-disabled": disabled,
|
|
45898
|
-
|
|
45899
|
-
"aria-label": "".concat(title, ", ").concat(subtitle)
|
|
45906
|
+
disabled: disabled,
|
|
45907
|
+
"aria-label": "".concat(title, ", ").concat(subtitle),
|
|
45908
|
+
"data-qa": "link-card-".concat(locatorSlug),
|
|
45909
|
+
tabIndex: disabled ? -1 : 0
|
|
45900
45910
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
45901
45911
|
childGap: 0,
|
|
45902
45912
|
bottomItem: 3,
|
|
@@ -45911,9 +45921,9 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45911
45921
|
extraStyles: "align-items: center;"
|
|
45912
45922
|
}, /*#__PURE__*/React__default.createElement(Title$2, {
|
|
45913
45923
|
variant: titleVariant,
|
|
45914
|
-
theme: themeValues,
|
|
45924
|
+
$theme: themeValues,
|
|
45915
45925
|
margin: 0,
|
|
45916
|
-
|
|
45926
|
+
disabled: disabled
|
|
45917
45927
|
}, title), isExternalLink && /*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
|
|
45918
45928
|
linkColor: themeValues.color,
|
|
45919
45929
|
text: locatorSlug,
|
|
@@ -45926,8 +45936,8 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45926
45936
|
width: "100%"
|
|
45927
45937
|
}, /*#__PURE__*/React__default.createElement(Subtitle, {
|
|
45928
45938
|
variant: "pS",
|
|
45929
|
-
theme: themeValues,
|
|
45930
|
-
|
|
45939
|
+
$theme: themeValues,
|
|
45940
|
+
disabled: disabled
|
|
45931
45941
|
}, subtitle)), /*#__PURE__*/React__default.createElement(Box, {
|
|
45932
45942
|
background: "transparent",
|
|
45933
45943
|
borderWidthOverride: "0 0 0 0",
|
|
@@ -46124,7 +46134,8 @@ var IconsModule = function IconsModule(_ref) {
|
|
|
46124
46134
|
Icon = iconsMap[icon];
|
|
46125
46135
|
}
|
|
46126
46136
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46127
|
-
padding: "0 1rem 0 0"
|
|
46137
|
+
padding: "0 1rem 0 0",
|
|
46138
|
+
"aria-hidden": "true"
|
|
46128
46139
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
46129
46140
|
justify: "center",
|
|
46130
46141
|
align: "center"
|
|
@@ -47538,7 +47549,7 @@ var fallbackValues$Q = {
|
|
|
47538
47549
|
labeledAmountTotal: labeledAmountTotal
|
|
47539
47550
|
};
|
|
47540
47551
|
|
|
47541
|
-
var _excluded$
|
|
47552
|
+
var _excluded$L = ["amount"],
|
|
47542
47553
|
_excluded2$1 = ["amount"];
|
|
47543
47554
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47544
47555
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47781,7 +47792,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47781
47792
|
return fee.amount > 0;
|
|
47782
47793
|
}).map(function (_ref5) {
|
|
47783
47794
|
var amount = _ref5.amount,
|
|
47784
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47795
|
+
rest = _objectWithoutProperties(_ref5, _excluded$L);
|
|
47785
47796
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47786
47797
|
amount: displayCurrency(amount)
|
|
47787
47798
|
});
|
|
@@ -48218,11 +48229,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48218
48229
|
}, errorMessage))))));
|
|
48219
48230
|
};
|
|
48220
48231
|
|
|
48221
|
-
var _excluded$
|
|
48232
|
+
var _excluded$M = ["version"];
|
|
48222
48233
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48223
48234
|
var _ref$version = _ref.version,
|
|
48224
48235
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48225
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48236
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
48226
48237
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48227
48238
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
48228
48239
|
};
|
|
@@ -49030,7 +49041,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49030
49041
|
}, section.content))));
|
|
49031
49042
|
};
|
|
49032
49043
|
|
|
49033
|
-
var _excluded$
|
|
49044
|
+
var _excluded$N = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
|
|
49034
49045
|
|
|
49035
49046
|
/**
|
|
49036
49047
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49080,7 +49091,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49080
49091
|
_ref$groupedSections = _ref.groupedSections,
|
|
49081
49092
|
groupedSections = _ref$groupedSections === void 0 ? [] : _ref$groupedSections,
|
|
49082
49093
|
borderOverride = _ref.borderOverride,
|
|
49083
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49094
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
49084
49095
|
var _useState = useState(null),
|
|
49085
49096
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49086
49097
|
focused = _useState2[0],
|
|
@@ -49636,7 +49647,7 @@ var Tab = function Tab(_ref) {
|
|
|
49636
49647
|
}, label));
|
|
49637
49648
|
};
|
|
49638
49649
|
|
|
49639
|
-
var _excluded$
|
|
49650
|
+
var _excluded$O = ["tabsConfig", "tabsDisplayMode", "tabsPadding", "contentPadding", "extraStyles"];
|
|
49640
49651
|
var HORIZONTAL = "horizontal";
|
|
49641
49652
|
var Tabs = function Tabs(_ref) {
|
|
49642
49653
|
var _tabsConfig$tabs$;
|
|
@@ -49649,7 +49660,7 @@ var Tabs = function Tabs(_ref) {
|
|
|
49649
49660
|
contentPadding = _ref$contentPadding === void 0 ? "0" : _ref$contentPadding,
|
|
49650
49661
|
_ref$extraStyles = _ref.extraStyles,
|
|
49651
49662
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
49652
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
49663
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
49653
49664
|
var _useState = useState(((_tabsConfig$tabs$ = tabsConfig.tabs[0]) === null || _tabsConfig$tabs$ === void 0 ? void 0 : _tabsConfig$tabs$.label) || null),
|
|
49654
49665
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49655
49666
|
activeTab = _useState2[0],
|
|
@@ -49802,7 +49813,7 @@ var Timeout = function Timeout(_ref) {
|
|
|
49802
49813
|
};
|
|
49803
49814
|
var Timeout$1 = withWindowSize(Timeout);
|
|
49804
49815
|
|
|
49805
|
-
var _excluded$
|
|
49816
|
+
var _excluded$P = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
|
|
49806
49817
|
var VARIANTS = {
|
|
49807
49818
|
SUCCESS: "success",
|
|
49808
49819
|
ERROR: "error"
|
|
@@ -49831,7 +49842,7 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49831
49842
|
screenReaderMessage = _ref.screenReaderMessage,
|
|
49832
49843
|
_ref$showScreenReader = _ref.showScreenReaderMessage,
|
|
49833
49844
|
showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
|
|
49834
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49845
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
49835
49846
|
var screenReaderMessageRef = useRef();
|
|
49836
49847
|
var LIVEREGION_TRANSITION_DELAY = 1000;
|
|
49837
49848
|
useEffect$1(function () {
|
|
@@ -50014,7 +50025,7 @@ var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
|
|
|
50014
50025
|
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
50015
50026
|
});
|
|
50016
50027
|
|
|
50017
|
-
var _excluded$
|
|
50028
|
+
var _excluded$Q = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
50018
50029
|
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
50019
50030
|
var id = _ref.id,
|
|
50020
50031
|
closeMenuCallback = _ref.closeMenuCallback,
|
|
@@ -50030,7 +50041,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
50030
50041
|
hoverStyles = _ref.hoverStyles,
|
|
50031
50042
|
activeStyles = _ref.activeStyles,
|
|
50032
50043
|
extraStyles = _ref.extraStyles,
|
|
50033
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
50044
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
50034
50045
|
return /*#__PURE__*/React__default.createElement(PopupMenuItemContainer, _extends({
|
|
50035
50046
|
id: id,
|
|
50036
50047
|
role: "menuItem",
|
|
@@ -50269,7 +50280,7 @@ var ActionLinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
50269
50280
|
});
|
|
50270
50281
|
});
|
|
50271
50282
|
|
|
50272
|
-
var _excluded$
|
|
50283
|
+
var _excluded$R = ["width", "height", "color"];
|
|
50273
50284
|
var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
50274
50285
|
var _ref$width = _ref.width,
|
|
50275
50286
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -50277,7 +50288,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
|
50277
50288
|
height = _ref$height === void 0 ? "19" : _ref$height,
|
|
50278
50289
|
_ref$color = _ref.color,
|
|
50279
50290
|
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
50280
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
50291
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
50281
50292
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
50282
50293
|
"aria-hidden": "true",
|
|
50283
50294
|
width: width,
|
|
@@ -50425,7 +50436,7 @@ var SearchBox = function SearchBox(_ref) {
|
|
|
50425
50436
|
}));
|
|
50426
50437
|
};
|
|
50427
50438
|
|
|
50428
|
-
var _excluded$
|
|
50439
|
+
var _excluded$S = ["width", "height", "color"];
|
|
50429
50440
|
var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
50430
50441
|
var _ref$width = _ref.width,
|
|
50431
50442
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -50433,7 +50444,7 @@ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
|
50433
50444
|
height = _ref$height === void 0 ? "18" : _ref$height,
|
|
50434
50445
|
_ref$color = _ref.color,
|
|
50435
50446
|
color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
|
|
50436
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
50447
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
50437
50448
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
50438
50449
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50439
50450
|
width: width,
|
|
@@ -51129,7 +51140,7 @@ var fallbackValues$11 = {
|
|
|
51129
51140
|
justifyContent: justifyContent
|
|
51130
51141
|
};
|
|
51131
51142
|
|
|
51132
|
-
var _excluded$
|
|
51143
|
+
var _excluded$T = ["variant", "imageUrl", "isMobile", "theme", "extraStyles"],
|
|
51133
51144
|
_excluded2$2 = ["theme", "isMobile"],
|
|
51134
51145
|
_excluded3 = ["theme", "isMobile"],
|
|
51135
51146
|
_excluded4 = ["theme", "isMobile"];
|
|
@@ -51152,7 +51163,7 @@ var HeroContainer = styled(function (_ref2) {
|
|
|
51152
51163
|
isMobile = _ref2.isMobile,
|
|
51153
51164
|
theme = _ref2.theme,
|
|
51154
51165
|
extraStyles = _ref2.extraStyles,
|
|
51155
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
51166
|
+
props = _objectWithoutProperties(_ref2, _excluded$T);
|
|
51156
51167
|
return /*#__PURE__*/React__default.createElement(Box, props);
|
|
51157
51168
|
}).withConfig({
|
|
51158
51169
|
displayName: "HeroImagestyled__HeroContainer",
|