@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.cjs.js
CHANGED
|
@@ -21673,6 +21673,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
|
|
|
21673
21673
|
});
|
|
21674
21674
|
/* eslint-enable no-unused-vars */
|
|
21675
21675
|
|
|
21676
|
+
var _excluded$u = ["to", "color", "children", "active", "fontSize", "lineheight", "fontWeight", "variant", "margin", "tabIndex", "dataQa", "extraStyles", "isUnderlined", "hoverUnderline", "extraHoverStyles", "extraActiveStyles", "extraFocusStyles"];
|
|
21676
21677
|
var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21677
21678
|
var _ref$to = _ref.to,
|
|
21678
21679
|
to = _ref$to === void 0 ? "" : _ref$to,
|
|
@@ -21699,10 +21700,11 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
21699
21700
|
_ref$extraActiveStyle = _ref.extraActiveStyles,
|
|
21700
21701
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
21701
21702
|
_ref$extraFocusStyles = _ref.extraFocusStyles,
|
|
21702
|
-
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles
|
|
21703
|
+
extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles,
|
|
21704
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
21703
21705
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
21704
21706
|
var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
|
|
21705
|
-
return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
|
|
21707
|
+
return /*#__PURE__*/React__default.createElement(StyledInternalLink, _extends({
|
|
21706
21708
|
to: to,
|
|
21707
21709
|
color: color,
|
|
21708
21710
|
lineheight: lineheight,
|
|
@@ -21722,7 +21724,7 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
21722
21724
|
extraFocusStyles: extraFocusStyles,
|
|
21723
21725
|
"data-qa": dataQa,
|
|
21724
21726
|
ref: ref
|
|
21725
|
-
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
21727
|
+
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
21726
21728
|
});
|
|
21727
21729
|
|
|
21728
21730
|
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
@@ -21757,7 +21759,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
21757
21759
|
})));
|
|
21758
21760
|
};
|
|
21759
21761
|
|
|
21760
|
-
var _excluded$
|
|
21762
|
+
var _excluded$v = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
21761
21763
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
21762
21764
|
var _ref$url = _ref.url,
|
|
21763
21765
|
url = _ref$url === void 0 ? "/" : _ref$url,
|
|
@@ -21772,7 +21774,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
21772
21774
|
_ref$newTab = _ref.newTab,
|
|
21773
21775
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
21774
21776
|
dataQa = _ref.dataQa,
|
|
21775
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
21777
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
21776
21778
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
21777
21779
|
var children = _ref2.children,
|
|
21778
21780
|
url = _ref2.url,
|
|
@@ -21860,7 +21862,7 @@ var ParagraphText = styled__default.p.withConfig({
|
|
|
21860
21862
|
return extraStyles;
|
|
21861
21863
|
});
|
|
21862
21864
|
|
|
21863
|
-
var _excluded$
|
|
21865
|
+
var _excluded$w = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
|
|
21864
21866
|
var Paragraph = function Paragraph(_ref) {
|
|
21865
21867
|
var themeValues = _ref.themeValues,
|
|
21866
21868
|
_ref$weight = _ref.weight,
|
|
@@ -21874,7 +21876,7 @@ var Paragraph = function Paragraph(_ref) {
|
|
|
21874
21876
|
dataQa = _ref.dataQa,
|
|
21875
21877
|
children = _ref.children,
|
|
21876
21878
|
as = _ref.as,
|
|
21877
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21879
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
21878
21880
|
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
21879
21881
|
weight: weight,
|
|
21880
21882
|
color: color,
|
|
@@ -22116,7 +22118,7 @@ var ENTER = 13;
|
|
|
22116
22118
|
var ESCAPE = 27;
|
|
22117
22119
|
var SPACEBAR = 32;
|
|
22118
22120
|
|
|
22119
|
-
var _excluded$
|
|
22121
|
+
var _excluded$x = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
|
|
22120
22122
|
var CheckboxContainer = styled__default.span.withConfig({
|
|
22121
22123
|
displayName: "Checkbox__CheckboxContainer",
|
|
22122
22124
|
componentId: "sc-36kqbv-0"
|
|
@@ -22186,7 +22188,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_ref5, ref) {
|
|
|
22186
22188
|
_ref5$hasIconOverride = _ref5.hasIconOverride,
|
|
22187
22189
|
hasIconOverride = _ref5$hasIconOverride === void 0 ? false : _ref5$hasIconOverride,
|
|
22188
22190
|
Icon = _ref5.icon,
|
|
22189
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
22191
|
+
rest = _objectWithoutProperties(_ref5, _excluded$x);
|
|
22190
22192
|
var _useState = React.useState(false),
|
|
22191
22193
|
_useState2 = _slicedToArray(_useState, 2),
|
|
22192
22194
|
focused = _useState2[0],
|
|
@@ -22542,7 +22544,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
22542
22544
|
return extraStyles;
|
|
22543
22545
|
});
|
|
22544
22546
|
|
|
22545
|
-
var _excluded$
|
|
22547
|
+
var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
22546
22548
|
var TableRow = function TableRow(_ref) {
|
|
22547
22549
|
var children = _ref.children,
|
|
22548
22550
|
extraStyles = _ref.extraStyles,
|
|
@@ -22552,7 +22554,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
22552
22554
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
22553
22555
|
onClick = _ref.onClick,
|
|
22554
22556
|
themeValues = _ref.themeValues,
|
|
22555
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
22557
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
22556
22558
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
22557
22559
|
onClick: onClick,
|
|
22558
22560
|
hoverEffect: hoverEffect,
|
|
@@ -25389,7 +25391,7 @@ var mobileFallbackValues$1 = {
|
|
|
25389
25391
|
};
|
|
25390
25392
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25391
25393
|
|
|
25392
|
-
var _excluded$
|
|
25394
|
+
var _excluded$z = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25393
25395
|
var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
|
|
25394
25396
|
var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
|
|
25395
25397
|
var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$1;
|
|
@@ -25412,7 +25414,7 @@ var Detail = function Detail(_ref) {
|
|
|
25412
25414
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25413
25415
|
dataQa = _ref.dataQa,
|
|
25414
25416
|
children = _ref.children,
|
|
25415
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25417
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
25416
25418
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
25417
25419
|
variant: variant,
|
|
25418
25420
|
as: as,
|
|
@@ -25802,7 +25804,7 @@ var fallbackValues$m = {
|
|
|
25802
25804
|
formFooterPanel: formFooterPanel
|
|
25803
25805
|
};
|
|
25804
25806
|
|
|
25805
|
-
var _excluded$
|
|
25807
|
+
var _excluded$A = ["showErrors", "themeValues"],
|
|
25806
25808
|
_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"];
|
|
25807
25809
|
var InputField = styled__default.input.withConfig({
|
|
25808
25810
|
displayName: "FormInput__InputField",
|
|
@@ -25837,7 +25839,7 @@ var InputField = styled__default.input.withConfig({
|
|
|
25837
25839
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
25838
25840
|
var showErrors = _ref8.showErrors,
|
|
25839
25841
|
themeValues = _ref8.themeValues,
|
|
25840
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
25842
|
+
props = _objectWithoutProperties(_ref8, _excluded$A);
|
|
25841
25843
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
25842
25844
|
}).withConfig({
|
|
25843
25845
|
displayName: "FormInput__FormattedInputField",
|
|
@@ -26042,7 +26044,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26042
26044
|
};
|
|
26043
26045
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
|
|
26044
26046
|
|
|
26045
|
-
var _excluded$
|
|
26047
|
+
var _excluded$B = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26046
26048
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26047
26049
|
var _ref$breakpoint = _ref.breakpoint,
|
|
26048
26050
|
breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
|
|
@@ -26051,7 +26053,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26051
26053
|
largeChild = _ref.largeChild,
|
|
26052
26054
|
largeChildSize = _ref.largeChildSize,
|
|
26053
26055
|
children = _ref.children,
|
|
26054
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26056
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
26055
26057
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26056
26058
|
padding: "0"
|
|
26057
26059
|
}, rest), /*#__PURE__*/React__default.createElement(Switcher, {
|
|
@@ -26062,24 +26064,24 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26062
26064
|
}, children));
|
|
26063
26065
|
};
|
|
26064
26066
|
|
|
26065
|
-
var _excluded$
|
|
26067
|
+
var _excluded$C = ["childGap", "bottomItem", "children"];
|
|
26066
26068
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26067
26069
|
var _ref$childGap = _ref.childGap,
|
|
26068
26070
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26069
26071
|
bottomItem = _ref.bottomItem,
|
|
26070
26072
|
children = _ref.children,
|
|
26071
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26073
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
26072
26074
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
26073
26075
|
childGap: childGap,
|
|
26074
26076
|
bottomItem: bottomItem
|
|
26075
26077
|
}, rest), children);
|
|
26076
26078
|
};
|
|
26077
26079
|
|
|
26078
|
-
var _excluded$
|
|
26080
|
+
var _excluded$D = ["themeValues", "children"];
|
|
26079
26081
|
var FormContainer = function FormContainer(_ref) {
|
|
26080
26082
|
var themeValues = _ref.themeValues,
|
|
26081
26083
|
children = _ref.children,
|
|
26082
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26084
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
26083
26085
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26084
26086
|
isMobile = _useContext.isMobile;
|
|
26085
26087
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
@@ -26111,7 +26113,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
|
|
|
26111
26113
|
};
|
|
26112
26114
|
var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
|
|
26113
26115
|
|
|
26114
|
-
var _excluded$
|
|
26116
|
+
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"];
|
|
26115
26117
|
var TextareaField = styled__default.textarea.withConfig({
|
|
26116
26118
|
displayName: "FormTextarea__TextareaField",
|
|
26117
26119
|
componentId: "sc-94tlb0-0"
|
|
@@ -26174,7 +26176,7 @@ var FormTextarea = function FormTextarea(_ref8) {
|
|
|
26174
26176
|
cols = _ref8.cols,
|
|
26175
26177
|
placeholder = _ref8.placeholder,
|
|
26176
26178
|
maxLength = _ref8.maxLength,
|
|
26177
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
26179
|
+
props = _objectWithoutProperties(_ref8, _excluded$E);
|
|
26178
26180
|
var setValue = function setValue(value) {
|
|
26179
26181
|
if (removeFromValue !== undefined) {
|
|
26180
26182
|
return fieldActions.set(value.replace(removeFromValue, ""));
|
|
@@ -26314,9 +26316,13 @@ var BankItemWrapper = styled__default.div.withConfig({
|
|
|
26314
26316
|
displayName: "FormattedBankAccount__BankItemWrapper",
|
|
26315
26317
|
componentId: "sc-18hcgw4-0"
|
|
26316
26318
|
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
26319
|
+
var BankIconWrapper = styled__default.div.withConfig({
|
|
26320
|
+
displayName: "FormattedBankAccount__BankIconWrapper",
|
|
26321
|
+
componentId: "sc-18hcgw4-1"
|
|
26322
|
+
})(["margin-right:8px;width:36px;height:auto;display:flex;"]);
|
|
26317
26323
|
var BankAccountText = styled__default.h4.withConfig({
|
|
26318
26324
|
displayName: "FormattedBankAccount__BankAccountText",
|
|
26319
|
-
componentId: "sc-18hcgw4-
|
|
26325
|
+
componentId: "sc-18hcgw4-2"
|
|
26320
26326
|
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
|
|
26321
26327
|
var color = _ref.color;
|
|
26322
26328
|
return color;
|
|
@@ -26328,10 +26334,7 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26328
26334
|
accountType = _ref2.accountType,
|
|
26329
26335
|
autoPay = _ref2.autoPay,
|
|
26330
26336
|
themeValues = _ref2.themeValues;
|
|
26331
|
-
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(
|
|
26332
|
-
padding: "0.25rem 0 0 0",
|
|
26333
|
-
extraStyles: "margin-right: 1rem;"
|
|
26334
|
-
}, /*#__PURE__*/React__default.createElement(BankIcon, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26337
|
+
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(BankIconWrapper, null, /*#__PURE__*/React__default.createElement(BankIconLarge, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26335
26338
|
childGap: "0"
|
|
26336
26339
|
}, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, {
|
|
26337
26340
|
color: themeValues.textColor
|
|
@@ -26386,7 +26389,7 @@ var CardType = function CardType(_ref) {
|
|
|
26386
26389
|
var _ref2 = cardBrands[normalizedType] || cardBrands["default"],
|
|
26387
26390
|
label = _ref2.label,
|
|
26388
26391
|
IconComponent = _ref2[size];
|
|
26389
|
-
return /*#__PURE__*/React__default.createElement(
|
|
26392
|
+
return /*#__PURE__*/React__default.createElement(IconComponent, null);
|
|
26390
26393
|
};
|
|
26391
26394
|
|
|
26392
26395
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
@@ -26463,7 +26466,7 @@ var CreditCardWrapper = styled__default.div.withConfig({
|
|
|
26463
26466
|
var CCIconWrapper = styled__default.div.withConfig({
|
|
26464
26467
|
displayName: "FormattedCreditCard__CCIconWrapper",
|
|
26465
26468
|
componentId: "sc-s0ta5l-1"
|
|
26466
|
-
})(["margin-right:
|
|
26469
|
+
})(["margin-right:8px;width:36px;height:auto;display:flex;"]);
|
|
26467
26470
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
26468
26471
|
var lastFour = _ref.lastFour,
|
|
26469
26472
|
type = _ref.type,
|
|
@@ -26578,7 +26581,7 @@ var fallbackValues$q = {
|
|
|
26578
26581
|
fontSize: fontSize$8
|
|
26579
26582
|
};
|
|
26580
26583
|
|
|
26581
|
-
var _excluded$
|
|
26584
|
+
var _excluded$F = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26582
26585
|
var Heading = function Heading(_ref) {
|
|
26583
26586
|
var themeValues = _ref.themeValues,
|
|
26584
26587
|
_ref$weight = _ref.weight,
|
|
@@ -26597,7 +26600,7 @@ var Heading = function Heading(_ref) {
|
|
|
26597
26600
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26598
26601
|
dataQa = _ref.dataQa,
|
|
26599
26602
|
children = _ref.children,
|
|
26600
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26603
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
26601
26604
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
26602
26605
|
variant: variant,
|
|
26603
26606
|
as: as,
|
|
@@ -26877,11 +26880,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
|
26877
26880
|
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
26878
26881
|
};
|
|
26879
26882
|
|
|
26880
|
-
var _excluded$
|
|
26883
|
+
var _excluded$G = ["version"];
|
|
26881
26884
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26882
26885
|
var _ref$version = _ref.version,
|
|
26883
26886
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26884
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26887
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
26885
26888
|
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26886
26889
|
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
26887
26890
|
};
|
|
@@ -26959,7 +26962,7 @@ var Loading = function Loading() {
|
|
|
26959
26962
|
})))));
|
|
26960
26963
|
};
|
|
26961
26964
|
|
|
26962
|
-
var _excluded$
|
|
26965
|
+
var _excluded$H = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26963
26966
|
var NavFooter = function NavFooter(_ref) {
|
|
26964
26967
|
var leftContent = _ref.leftContent,
|
|
26965
26968
|
rightContent = _ref.rightContent,
|
|
@@ -26974,7 +26977,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26974
26977
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
26975
26978
|
isMobile = _ref.isMobile,
|
|
26976
26979
|
footerWidth = _ref.footerWidth,
|
|
26977
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26980
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
26978
26981
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26979
26982
|
padding: footerPadding,
|
|
26980
26983
|
background: backgroundColor,
|
|
@@ -27005,7 +27008,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
27005
27008
|
}, rightContent)))))));
|
|
27006
27009
|
};
|
|
27007
27010
|
|
|
27008
|
-
var _excluded$
|
|
27011
|
+
var _excluded$I = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27009
27012
|
var NavHeader = function NavHeader(_ref) {
|
|
27010
27013
|
var leftContent = _ref.leftContent,
|
|
27011
27014
|
rightContent = _ref.rightContent,
|
|
@@ -27014,7 +27017,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27014
27017
|
isMobile = _ref.isMobile,
|
|
27015
27018
|
backgroundColor = _ref.backgroundColor,
|
|
27016
27019
|
headerWidth = _ref.headerWidth,
|
|
27017
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27020
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
27018
27021
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27019
27022
|
padding: "0 16px 4px",
|
|
27020
27023
|
background: backgroundColor,
|
|
@@ -27572,7 +27575,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
27572
27575
|
borderWidth: "1px",
|
|
27573
27576
|
borderStyle: "solid",
|
|
27574
27577
|
borderRadius: "12px",
|
|
27575
|
-
margin: "6px
|
|
27578
|
+
margin: "6px 8px 6px 6px",
|
|
27576
27579
|
height: "24px",
|
|
27577
27580
|
width: "24px",
|
|
27578
27581
|
variants: buttonBorder,
|
|
@@ -38875,7 +38878,7 @@ var LoadingPill = styled__default.span.withConfig({
|
|
|
38875
38878
|
return backgroundColor;
|
|
38876
38879
|
}, shineFrames);
|
|
38877
38880
|
|
|
38878
|
-
var _excluded$
|
|
38881
|
+
var _excluded$J = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
|
|
38879
38882
|
var LoadingLine = function LoadingLine(_ref) {
|
|
38880
38883
|
var minWidth = _ref.minWidth,
|
|
38881
38884
|
maxWidth = _ref.maxWidth,
|
|
@@ -38889,7 +38892,7 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
38889
38892
|
backgroundColor = _ref$backgroundColor === void 0 ? SEASHELL_WHITE : _ref$backgroundColor,
|
|
38890
38893
|
_ref$foregroundColor = _ref.foregroundColor,
|
|
38891
38894
|
foregroundColor = _ref$foregroundColor === void 0 ? ALABASTER_WHITE : _ref$foregroundColor,
|
|
38892
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38895
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
38893
38896
|
var calculatedWidth = Math.floor(Math.random() * (parseInt(maxWidth) - parseInt(minWidth) + 1) + parseInt(minWidth));
|
|
38894
38897
|
return /*#__PURE__*/React__default.createElement(LoadingPill, _extends({
|
|
38895
38898
|
"aria-label": "loading",
|
|
@@ -40923,7 +40926,9 @@ var EditableList = function EditableList(_ref) {
|
|
|
40923
40926
|
_ref$editItemAriaRole = _ref.editItemAriaRole,
|
|
40924
40927
|
editItemAriaRole = _ref$editItemAriaRole === void 0 ? "" : _ref$editItemAriaRole,
|
|
40925
40928
|
_ref$disablePlacehold = _ref.disablePlaceholder,
|
|
40926
|
-
disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold
|
|
40929
|
+
disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold,
|
|
40930
|
+
_ref$getEditHref = _ref.getEditHref,
|
|
40931
|
+
getEditHref = _ref$getEditHref === void 0 ? null : _ref$getEditHref;
|
|
40927
40932
|
var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
|
|
40928
40933
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
40929
40934
|
padding: listPadding,
|
|
@@ -40990,7 +40995,12 @@ var EditableList = function EditableList(_ref) {
|
|
|
40990
40995
|
extraStyles: ":not(:first-child) { border-left: 2px solid ".concat(BOSTON_BLUE, ";}"),
|
|
40991
40996
|
dataQa: qaPrefix + " Edit",
|
|
40992
40997
|
key: "Edit ".concat(item.id)
|
|
40993
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
40998
|
+
}, getEditHref ? /*#__PURE__*/React__default.createElement(InternalLink, {
|
|
40999
|
+
to: getEditHref(item),
|
|
41000
|
+
fontWeight: "400",
|
|
41001
|
+
extraStyles: "margin: 0.5rem; min-width: 0;",
|
|
41002
|
+
"aria-label": "Edit ".concat(ariaLabel || itemName)
|
|
41003
|
+
}, "Edit") : /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40994
41004
|
variant: "smallGhost",
|
|
40995
41005
|
text: "Edit",
|
|
40996
41006
|
action: function action() {
|
|
@@ -45288,11 +45298,11 @@ var Modal$2 = function Modal(_ref) {
|
|
|
45288
45298
|
};
|
|
45289
45299
|
var ModalControlV2 = withWindowSize(Modal$2);
|
|
45290
45300
|
|
|
45291
|
-
var _excluded$
|
|
45301
|
+
var _excluded$K = ["version"];
|
|
45292
45302
|
var Modal$3 = function Modal(_ref) {
|
|
45293
45303
|
var _ref$version = _ref.version,
|
|
45294
45304
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
45295
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
45305
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
45296
45306
|
var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
|
|
45297
45307
|
return /*#__PURE__*/React__default.createElement(ModalControl, rest);
|
|
45298
45308
|
};
|
|
@@ -45829,33 +45839,30 @@ var fallbackValues$L = {
|
|
|
45829
45839
|
var LinkWrapper = styled__default(reactRouterDom.Link).withConfig({
|
|
45830
45840
|
displayName: "LinkCardstyled__LinkWrapper",
|
|
45831
45841
|
componentId: "sc-l5q1h2-0"
|
|
45832
|
-
})(["
|
|
45833
|
-
var
|
|
45834
|
-
theme = _ref
|
|
45835
|
-
|
|
45836
|
-
|
|
45837
|
-
|
|
45838
|
-
|
|
45839
|
-
},
|
|
45840
|
-
var isDisabled = _ref3.isDisabled,
|
|
45841
|
-
theme = _ref3.theme;
|
|
45842
|
-
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 ");
|
|
45842
|
+
})(["", ""], function (_ref) {
|
|
45843
|
+
var disabled = _ref.disabled,
|
|
45844
|
+
theme = _ref.$theme,
|
|
45845
|
+
extraStyles = _ref.extraStyles,
|
|
45846
|
+
disabledStyles = _ref.disabledStyles,
|
|
45847
|
+
hoverStyles = _ref.hoverStyles,
|
|
45848
|
+
activeStyles = _ref.activeStyles;
|
|
45849
|
+
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 ");
|
|
45843
45850
|
});
|
|
45844
45851
|
var Title$2 = styled__default(Heading$1).withConfig({
|
|
45845
45852
|
displayName: "LinkCardstyled__Title",
|
|
45846
45853
|
componentId: "sc-l5q1h2-1"
|
|
45847
|
-
})(["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 (
|
|
45848
|
-
var
|
|
45849
|
-
theme =
|
|
45850
|
-
return
|
|
45854
|
+
})(["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) {
|
|
45855
|
+
var disabled = _ref2.disabled,
|
|
45856
|
+
theme = _ref2.$theme;
|
|
45857
|
+
return disabled ? theme.disabledColor : theme.color;
|
|
45851
45858
|
});
|
|
45852
45859
|
var Subtitle = styled__default(Paragraph$1).withConfig({
|
|
45853
45860
|
displayName: "LinkCardstyled__Subtitle",
|
|
45854
45861
|
componentId: "sc-l5q1h2-2"
|
|
45855
|
-
})(["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 (
|
|
45856
|
-
var
|
|
45857
|
-
theme =
|
|
45858
|
-
return
|
|
45862
|
+
})(["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) {
|
|
45863
|
+
var disabled = _ref3.disabled,
|
|
45864
|
+
theme = _ref3.$theme;
|
|
45865
|
+
return disabled ? theme.disabledColor : theme.textColor;
|
|
45859
45866
|
});
|
|
45860
45867
|
var Footer = styled__default(Stack).withConfig({
|
|
45861
45868
|
displayName: "LinkCardstyled__Footer",
|
|
@@ -45887,24 +45894,27 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45887
45894
|
_ref$disabled = _ref.disabled,
|
|
45888
45895
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
45889
45896
|
_ref$isExternalLink = _ref.isExternalLink,
|
|
45890
|
-
isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink
|
|
45897
|
+
isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink,
|
|
45898
|
+
key = _ref.key;
|
|
45891
45899
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
45892
45900
|
isMobile = _useContext.isMobile;
|
|
45893
45901
|
var regex = /\W/g;
|
|
45894
45902
|
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, "-");
|
|
45895
45903
|
return /*#__PURE__*/React__default.createElement(LinkWrapper, {
|
|
45904
|
+
key: key || locatorSlug,
|
|
45896
45905
|
as: reactRouterDom.Link,
|
|
45897
45906
|
to: disabled ? undefined : href,
|
|
45898
45907
|
role: "link",
|
|
45899
45908
|
isMobile: isMobile,
|
|
45900
|
-
|
|
45901
|
-
theme: themeValues,
|
|
45909
|
+
$theme: themeValues,
|
|
45902
45910
|
extraStyles: extraStyles,
|
|
45903
45911
|
hoverStyles: extraHoverStyles,
|
|
45904
45912
|
activeStyles: extraActiveStyles,
|
|
45905
45913
|
"aria-disabled": disabled,
|
|
45906
|
-
|
|
45907
|
-
"aria-label": "".concat(title, ", ").concat(subtitle)
|
|
45914
|
+
disabled: disabled,
|
|
45915
|
+
"aria-label": "".concat(title, ", ").concat(subtitle),
|
|
45916
|
+
"data-qa": "link-card-".concat(locatorSlug),
|
|
45917
|
+
tabIndex: disabled ? -1 : 0
|
|
45908
45918
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
45909
45919
|
childGap: 0,
|
|
45910
45920
|
bottomItem: 3,
|
|
@@ -45919,9 +45929,9 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45919
45929
|
extraStyles: "align-items: center;"
|
|
45920
45930
|
}, /*#__PURE__*/React__default.createElement(Title$2, {
|
|
45921
45931
|
variant: titleVariant,
|
|
45922
|
-
theme: themeValues,
|
|
45932
|
+
$theme: themeValues,
|
|
45923
45933
|
margin: 0,
|
|
45924
|
-
|
|
45934
|
+
disabled: disabled
|
|
45925
45935
|
}, title), isExternalLink && /*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
|
|
45926
45936
|
linkColor: themeValues.color,
|
|
45927
45937
|
text: locatorSlug,
|
|
@@ -45934,8 +45944,8 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45934
45944
|
width: "100%"
|
|
45935
45945
|
}, /*#__PURE__*/React__default.createElement(Subtitle, {
|
|
45936
45946
|
variant: "pS",
|
|
45937
|
-
theme: themeValues,
|
|
45938
|
-
|
|
45947
|
+
$theme: themeValues,
|
|
45948
|
+
disabled: disabled
|
|
45939
45949
|
}, subtitle)), /*#__PURE__*/React__default.createElement(Box, {
|
|
45940
45950
|
background: "transparent",
|
|
45941
45951
|
borderWidthOverride: "0 0 0 0",
|
|
@@ -46132,7 +46142,8 @@ var IconsModule = function IconsModule(_ref) {
|
|
|
46132
46142
|
Icon = iconsMap[icon];
|
|
46133
46143
|
}
|
|
46134
46144
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46135
|
-
padding: "0 1rem 0 0"
|
|
46145
|
+
padding: "0 1rem 0 0",
|
|
46146
|
+
"aria-hidden": "true"
|
|
46136
46147
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
46137
46148
|
justify: "center",
|
|
46138
46149
|
align: "center"
|
|
@@ -47546,7 +47557,7 @@ var fallbackValues$Q = {
|
|
|
47546
47557
|
labeledAmountTotal: labeledAmountTotal
|
|
47547
47558
|
};
|
|
47548
47559
|
|
|
47549
|
-
var _excluded$
|
|
47560
|
+
var _excluded$L = ["amount"],
|
|
47550
47561
|
_excluded2$1 = ["amount"];
|
|
47551
47562
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
47552
47563
|
var lineItemElems = _ref.lineItemElems,
|
|
@@ -47789,7 +47800,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47789
47800
|
return fee.amount > 0;
|
|
47790
47801
|
}).map(function (_ref5) {
|
|
47791
47802
|
var amount = _ref5.amount,
|
|
47792
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47803
|
+
rest = _objectWithoutProperties(_ref5, _excluded$L);
|
|
47793
47804
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47794
47805
|
amount: displayCurrency(amount)
|
|
47795
47806
|
});
|
|
@@ -48226,11 +48237,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48226
48237
|
}, errorMessage))))));
|
|
48227
48238
|
};
|
|
48228
48239
|
|
|
48229
|
-
var _excluded$
|
|
48240
|
+
var _excluded$M = ["version"];
|
|
48230
48241
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48231
48242
|
var _ref$version = _ref.version,
|
|
48232
48243
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48233
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48244
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
48234
48245
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48235
48246
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
48236
48247
|
};
|
|
@@ -49038,7 +49049,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49038
49049
|
}, section.content))));
|
|
49039
49050
|
};
|
|
49040
49051
|
|
|
49041
|
-
var _excluded$
|
|
49052
|
+
var _excluded$N = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
|
|
49042
49053
|
|
|
49043
49054
|
/**
|
|
49044
49055
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -49088,7 +49099,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49088
49099
|
_ref$groupedSections = _ref.groupedSections,
|
|
49089
49100
|
groupedSections = _ref$groupedSections === void 0 ? [] : _ref$groupedSections,
|
|
49090
49101
|
borderOverride = _ref.borderOverride,
|
|
49091
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49102
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
49092
49103
|
var _useState = React.useState(null),
|
|
49093
49104
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49094
49105
|
focused = _useState2[0],
|
|
@@ -49644,7 +49655,7 @@ var Tab = function Tab(_ref) {
|
|
|
49644
49655
|
}, label));
|
|
49645
49656
|
};
|
|
49646
49657
|
|
|
49647
|
-
var _excluded$
|
|
49658
|
+
var _excluded$O = ["tabsConfig", "tabsDisplayMode", "tabsPadding", "contentPadding", "extraStyles"];
|
|
49648
49659
|
var HORIZONTAL = "horizontal";
|
|
49649
49660
|
var Tabs = function Tabs(_ref) {
|
|
49650
49661
|
var _tabsConfig$tabs$;
|
|
@@ -49657,7 +49668,7 @@ var Tabs = function Tabs(_ref) {
|
|
|
49657
49668
|
contentPadding = _ref$contentPadding === void 0 ? "0" : _ref$contentPadding,
|
|
49658
49669
|
_ref$extraStyles = _ref.extraStyles,
|
|
49659
49670
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
49660
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
49671
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
49661
49672
|
var _useState = React.useState(((_tabsConfig$tabs$ = tabsConfig.tabs[0]) === null || _tabsConfig$tabs$ === void 0 ? void 0 : _tabsConfig$tabs$.label) || null),
|
|
49662
49673
|
_useState2 = _slicedToArray(_useState, 2),
|
|
49663
49674
|
activeTab = _useState2[0],
|
|
@@ -49810,7 +49821,7 @@ var Timeout = function Timeout(_ref) {
|
|
|
49810
49821
|
};
|
|
49811
49822
|
var Timeout$1 = withWindowSize(Timeout);
|
|
49812
49823
|
|
|
49813
|
-
var _excluded$
|
|
49824
|
+
var _excluded$P = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
|
|
49814
49825
|
var VARIANTS = {
|
|
49815
49826
|
SUCCESS: "success",
|
|
49816
49827
|
ERROR: "error"
|
|
@@ -49839,7 +49850,7 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49839
49850
|
screenReaderMessage = _ref.screenReaderMessage,
|
|
49840
49851
|
_ref$showScreenReader = _ref.showScreenReaderMessage,
|
|
49841
49852
|
showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
|
|
49842
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
49853
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
49843
49854
|
var screenReaderMessageRef = React.useRef();
|
|
49844
49855
|
var LIVEREGION_TRANSITION_DELAY = 1000;
|
|
49845
49856
|
React.useEffect(function () {
|
|
@@ -50022,7 +50033,7 @@ var PopupMenuItemContainer = styled__default(ButtonWithAction).withConfig({
|
|
|
50022
50033
|
return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
|
|
50023
50034
|
});
|
|
50024
50035
|
|
|
50025
|
-
var _excluded$
|
|
50036
|
+
var _excluded$Q = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
|
|
50026
50037
|
var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
50027
50038
|
var id = _ref.id,
|
|
50028
50039
|
closeMenuCallback = _ref.closeMenuCallback,
|
|
@@ -50038,7 +50049,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
50038
50049
|
hoverStyles = _ref.hoverStyles,
|
|
50039
50050
|
activeStyles = _ref.activeStyles,
|
|
50040
50051
|
extraStyles = _ref.extraStyles,
|
|
50041
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
50052
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
50042
50053
|
return /*#__PURE__*/React__default.createElement(PopupMenuItemContainer, _extends({
|
|
50043
50054
|
id: id,
|
|
50044
50055
|
role: "menuItem",
|
|
@@ -50277,7 +50288,7 @@ var ActionLinkButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
50277
50288
|
});
|
|
50278
50289
|
});
|
|
50279
50290
|
|
|
50280
|
-
var _excluded$
|
|
50291
|
+
var _excluded$R = ["width", "height", "color"];
|
|
50281
50292
|
var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
50282
50293
|
var _ref$width = _ref.width,
|
|
50283
50294
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -50285,7 +50296,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
|
|
|
50285
50296
|
height = _ref$height === void 0 ? "19" : _ref$height,
|
|
50286
50297
|
_ref$color = _ref.color,
|
|
50287
50298
|
color = _ref$color === void 0 ? "#292A33" : _ref$color,
|
|
50288
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
50299
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
50289
50300
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
50290
50301
|
"aria-hidden": "true",
|
|
50291
50302
|
width: width,
|
|
@@ -50433,7 +50444,7 @@ var SearchBox = function SearchBox(_ref) {
|
|
|
50433
50444
|
}));
|
|
50434
50445
|
};
|
|
50435
50446
|
|
|
50436
|
-
var _excluded$
|
|
50447
|
+
var _excluded$S = ["width", "height", "color"];
|
|
50437
50448
|
var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
50438
50449
|
var _ref$width = _ref.width,
|
|
50439
50450
|
width = _ref$width === void 0 ? "18" : _ref$width,
|
|
@@ -50441,7 +50452,7 @@ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
|
|
|
50441
50452
|
height = _ref$height === void 0 ? "18" : _ref$height,
|
|
50442
50453
|
_ref$color = _ref.color,
|
|
50443
50454
|
color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
|
|
50444
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
50455
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
50445
50456
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
50446
50457
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50447
50458
|
width: width,
|
|
@@ -51137,7 +51148,7 @@ var fallbackValues$11 = {
|
|
|
51137
51148
|
justifyContent: justifyContent
|
|
51138
51149
|
};
|
|
51139
51150
|
|
|
51140
|
-
var _excluded$
|
|
51151
|
+
var _excluded$T = ["variant", "imageUrl", "isMobile", "theme", "extraStyles"],
|
|
51141
51152
|
_excluded2$2 = ["theme", "isMobile"],
|
|
51142
51153
|
_excluded3 = ["theme", "isMobile"],
|
|
51143
51154
|
_excluded4 = ["theme", "isMobile"];
|
|
@@ -51160,7 +51171,7 @@ var HeroContainer = styled__default(function (_ref2) {
|
|
|
51160
51171
|
isMobile = _ref2.isMobile,
|
|
51161
51172
|
theme = _ref2.theme,
|
|
51162
51173
|
extraStyles = _ref2.extraStyles,
|
|
51163
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
51174
|
+
props = _objectWithoutProperties(_ref2, _excluded$T);
|
|
51164
51175
|
return /*#__PURE__*/React__default.createElement(Box, props);
|
|
51165
51176
|
}).withConfig({
|
|
51166
51177
|
displayName: "HeroImagestyled__HeroContainer",
|