@thecb/components 12.0.0-beta.7 → 12.0.0-beta.9

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.esm.js CHANGED
@@ -15091,7 +15091,8 @@ var AutopayOnIcon = function AutopayOnIcon(_ref) {
15091
15091
  xmlns: "http://www.w3.org/2000/svg",
15092
15092
  width: "12",
15093
15093
  height: "13",
15094
- viewBox: "0 0 12 13"
15094
+ viewBox: "0 0 12 13",
15095
+ "aria-hidden": "true"
15095
15096
  }, /*#__PURE__*/React__default.createElement("g", {
15096
15097
  fill: "none",
15097
15098
  fillRule: "evenodd",
@@ -21665,6 +21666,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
21665
21666
  });
21666
21667
  /* eslint-enable no-unused-vars */
21667
21668
 
21669
+ var _excluded$u = ["to", "color", "children", "active", "fontSize", "lineheight", "fontWeight", "variant", "margin", "tabIndex", "dataQa", "extraStyles", "isUnderlined", "hoverUnderline", "extraHoverStyles", "extraActiveStyles", "extraFocusStyles"];
21668
21670
  var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
21669
21671
  var _ref$to = _ref.to,
21670
21672
  to = _ref$to === void 0 ? "" : _ref$to,
@@ -21691,10 +21693,11 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
21691
21693
  _ref$extraActiveStyle = _ref.extraActiveStyles,
21692
21694
  extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
21693
21695
  _ref$extraFocusStyles = _ref.extraFocusStyles,
21694
- extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles;
21696
+ extraFocusStyles = _ref$extraFocusStyles === void 0 ? "" : _ref$extraFocusStyles,
21697
+ rest = _objectWithoutProperties(_ref, _excluded$u);
21695
21698
  var themeContext = useContext(ThemeContext);
21696
21699
  var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
21697
- return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
21700
+ return /*#__PURE__*/React__default.createElement(StyledInternalLink, _extends({
21698
21701
  to: to,
21699
21702
  color: color,
21700
21703
  lineheight: lineheight,
@@ -21714,7 +21717,7 @@ var InternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
21714
21717
  extraFocusStyles: extraFocusStyles,
21715
21718
  "data-qa": dataQa,
21716
21719
  ref: ref
21717
- }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
21720
+ }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
21718
21721
  });
21719
21722
 
21720
21723
  var Breadcrumbs = function Breadcrumbs(_ref) {
@@ -21749,7 +21752,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
21749
21752
  })));
21750
21753
  };
21751
21754
 
21752
- var _excluded$u = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
21755
+ var _excluded$v = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
21753
21756
  var ButtonWithLink = function ButtonWithLink(_ref) {
21754
21757
  var _ref$url = _ref.url,
21755
21758
  url = _ref$url === void 0 ? "/" : _ref$url,
@@ -21764,7 +21767,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
21764
21767
  _ref$newTab = _ref.newTab,
21765
21768
  newTab = _ref$newTab === void 0 ? false : _ref$newTab,
21766
21769
  dataQa = _ref.dataQa,
21767
- otherProps = _objectWithoutProperties(_ref, _excluded$u);
21770
+ otherProps = _objectWithoutProperties(_ref, _excluded$v);
21768
21771
  var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
21769
21772
  var children = _ref2.children,
21770
21773
  url = _ref2.url,
@@ -21852,7 +21855,7 @@ var ParagraphText = styled.p.withConfig({
21852
21855
  return extraStyles;
21853
21856
  });
21854
21857
 
21855
- var _excluded$v = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
21858
+ var _excluded$w = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
21856
21859
  var Paragraph = function Paragraph(_ref) {
21857
21860
  var themeValues = _ref.themeValues,
21858
21861
  _ref$weight = _ref.weight,
@@ -21866,7 +21869,7 @@ var Paragraph = function Paragraph(_ref) {
21866
21869
  dataQa = _ref.dataQa,
21867
21870
  children = _ref.children,
21868
21871
  as = _ref.as,
21869
- rest = _objectWithoutProperties(_ref, _excluded$v);
21872
+ rest = _objectWithoutProperties(_ref, _excluded$w);
21870
21873
  return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
21871
21874
  weight: weight,
21872
21875
  color: color,
@@ -22108,7 +22111,7 @@ var ENTER = 13;
22108
22111
  var ESCAPE = 27;
22109
22112
  var SPACEBAR = 32;
22110
22113
 
22111
- var _excluded$w = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
22114
+ var _excluded$x = ["title", "name", "checked", "onChange", "disabled", "themeValues", "hidden", "error", "checkboxMargin", "extraStyles", "textExtraStyles", "labelledById", "dataQa", "checkboxExtraStyles", "hasIconOverride", "icon"];
22112
22115
  var CheckboxContainer = styled.span.withConfig({
22113
22116
  displayName: "Checkbox__CheckboxContainer",
22114
22117
  componentId: "sc-36kqbv-0"
@@ -22178,7 +22181,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref5, ref) {
22178
22181
  _ref5$hasIconOverride = _ref5.hasIconOverride,
22179
22182
  hasIconOverride = _ref5$hasIconOverride === void 0 ? false : _ref5$hasIconOverride,
22180
22183
  Icon = _ref5.icon,
22181
- rest = _objectWithoutProperties(_ref5, _excluded$w);
22184
+ rest = _objectWithoutProperties(_ref5, _excluded$x);
22182
22185
  var _useState = useState(false),
22183
22186
  _useState2 = _slicedToArray(_useState, 2),
22184
22187
  focused = _useState2[0],
@@ -22534,7 +22537,7 @@ var TableRowWrapper = styled.tr.withConfig({
22534
22537
  return extraStyles;
22535
22538
  });
22536
22539
 
22537
- var _excluded$x = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
22540
+ var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
22538
22541
  var TableRow = function TableRow(_ref) {
22539
22542
  var children = _ref.children,
22540
22543
  extraStyles = _ref.extraStyles,
@@ -22544,7 +22547,7 @@ var TableRow = function TableRow(_ref) {
22544
22547
  hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
22545
22548
  onClick = _ref.onClick,
22546
22549
  themeValues = _ref.themeValues,
22547
- props = _objectWithoutProperties(_ref, _excluded$x);
22550
+ props = _objectWithoutProperties(_ref, _excluded$y);
22548
22551
  return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
22549
22552
  onClick: onClick,
22550
22553
  hoverEffect: hoverEffect,
@@ -25381,7 +25384,7 @@ var mobileFallbackValues$1 = {
25381
25384
  };
25382
25385
  var MOBILE_BREAKPOINT$1 = 768;
25383
25386
 
25384
- var _excluded$y = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25387
+ var _excluded$z = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25385
25388
  var isBelowBreakpoint$1 = window.innerWidth < MOBILE_BREAKPOINT$1;
25386
25389
  var isTouchDevice$1 = "ontouchstart" in window || navigator.maxTouchPoints > 1;
25387
25390
  var mobileDeviceDetected$1 = isBelowBreakpoint$1 && isTouchDevice$1;
@@ -25404,7 +25407,7 @@ var Detail = function Detail(_ref) {
25404
25407
  as = _ref$as === void 0 ? "p" : _ref$as,
25405
25408
  dataQa = _ref.dataQa,
25406
25409
  children = _ref.children,
25407
- rest = _objectWithoutProperties(_ref, _excluded$y);
25410
+ rest = _objectWithoutProperties(_ref, _excluded$z);
25408
25411
  return /*#__PURE__*/React__default.createElement(DetailText, _extends({
25409
25412
  variant: variant,
25410
25413
  as: as,
@@ -25794,7 +25797,7 @@ var fallbackValues$m = {
25794
25797
  formFooterPanel: formFooterPanel
25795
25798
  };
25796
25799
 
25797
- var _excluded$z = ["showErrors", "themeValues"],
25800
+ var _excluded$A = ["showErrors", "themeValues"],
25798
25801
  _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
25802
  var InputField = styled.input.withConfig({
25800
25803
  displayName: "FormInput__InputField",
@@ -25829,7 +25832,7 @@ var InputField = styled.input.withConfig({
25829
25832
  var FormattedInputField = styled(function (_ref8) {
25830
25833
  var showErrors = _ref8.showErrors,
25831
25834
  themeValues = _ref8.themeValues,
25832
- props = _objectWithoutProperties(_ref8, _excluded$z);
25835
+ props = _objectWithoutProperties(_ref8, _excluded$A);
25833
25836
  return /*#__PURE__*/React__default.createElement(FormattedInput, props);
25834
25837
  }).withConfig({
25835
25838
  displayName: "FormInput__FormattedInputField",
@@ -26034,7 +26037,7 @@ var FormInput = function FormInput(_ref15) {
26034
26037
  };
26035
26038
  var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
26036
26039
 
26037
- var _excluded$A = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26040
+ var _excluded$B = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26038
26041
  var FormInputRow = function FormInputRow(_ref) {
26039
26042
  var _ref$breakpoint = _ref.breakpoint,
26040
26043
  breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
@@ -26043,7 +26046,7 @@ var FormInputRow = function FormInputRow(_ref) {
26043
26046
  largeChild = _ref.largeChild,
26044
26047
  largeChildSize = _ref.largeChildSize,
26045
26048
  children = _ref.children,
26046
- rest = _objectWithoutProperties(_ref, _excluded$A);
26049
+ rest = _objectWithoutProperties(_ref, _excluded$B);
26047
26050
  return /*#__PURE__*/React__default.createElement(Box, _extends({
26048
26051
  padding: "0"
26049
26052
  }, rest), /*#__PURE__*/React__default.createElement(Switcher, {
@@ -26054,24 +26057,24 @@ var FormInputRow = function FormInputRow(_ref) {
26054
26057
  }, children));
26055
26058
  };
26056
26059
 
26057
- var _excluded$B = ["childGap", "bottomItem", "children"];
26060
+ var _excluded$C = ["childGap", "bottomItem", "children"];
26058
26061
  var FormInputColumn = function FormInputColumn(_ref) {
26059
26062
  var _ref$childGap = _ref.childGap,
26060
26063
  childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
26061
26064
  bottomItem = _ref.bottomItem,
26062
26065
  children = _ref.children,
26063
- rest = _objectWithoutProperties(_ref, _excluded$B);
26066
+ rest = _objectWithoutProperties(_ref, _excluded$C);
26064
26067
  return /*#__PURE__*/React__default.createElement(Stack, _extends({
26065
26068
  childGap: childGap,
26066
26069
  bottomItem: bottomItem
26067
26070
  }, rest), children);
26068
26071
  };
26069
26072
 
26070
- var _excluded$C = ["themeValues", "children"];
26073
+ var _excluded$D = ["themeValues", "children"];
26071
26074
  var FormContainer = function FormContainer(_ref) {
26072
26075
  var themeValues = _ref.themeValues,
26073
26076
  children = _ref.children,
26074
- rest = _objectWithoutProperties(_ref, _excluded$C);
26077
+ rest = _objectWithoutProperties(_ref, _excluded$D);
26075
26078
  var _useContext = useContext(ThemeContext),
26076
26079
  isMobile = _useContext.isMobile;
26077
26080
  return /*#__PURE__*/React__default.createElement(Box, _extends({
@@ -26103,7 +26106,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
26103
26106
  };
26104
26107
  var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
26105
26108
 
26106
- var _excluded$D = ["ariaLabelledBy", "labelDisplayOverride", "labelTextWhenNoError", "errorMessages", "helperModal", "field", "fieldActions", "showErrors", "themeValues", "customHeight", "extraStyles", "removeFromValue", "dataQa", "isRequired", "errorFieldExtraStyles", "showFieldErrorRow", "labelTextVariant", "errorTextVariant", "resize", "rows", "cols", "placeholder", "maxLength"];
26109
+ 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
26110
  var TextareaField = styled.textarea.withConfig({
26108
26111
  displayName: "FormTextarea__TextareaField",
26109
26112
  componentId: "sc-94tlb0-0"
@@ -26166,7 +26169,7 @@ var FormTextarea = function FormTextarea(_ref8) {
26166
26169
  cols = _ref8.cols,
26167
26170
  placeholder = _ref8.placeholder,
26168
26171
  maxLength = _ref8.maxLength,
26169
- props = _objectWithoutProperties(_ref8, _excluded$D);
26172
+ props = _objectWithoutProperties(_ref8, _excluded$E);
26170
26173
  var setValue = function setValue(value) {
26171
26174
  if (removeFromValue !== undefined) {
26172
26175
  return fieldActions.set(value.replace(removeFromValue, ""));
@@ -26571,7 +26574,7 @@ var fallbackValues$q = {
26571
26574
  fontSize: fontSize$8
26572
26575
  };
26573
26576
 
26574
- var _excluded$E = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
26577
+ var _excluded$F = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
26575
26578
  var Heading = function Heading(_ref) {
26576
26579
  var themeValues = _ref.themeValues,
26577
26580
  _ref$weight = _ref.weight,
@@ -26590,7 +26593,7 @@ var Heading = function Heading(_ref) {
26590
26593
  as = _ref$as === void 0 ? variant : _ref$as,
26591
26594
  dataQa = _ref.dataQa,
26592
26595
  children = _ref.children,
26593
- rest = _objectWithoutProperties(_ref, _excluded$E);
26596
+ rest = _objectWithoutProperties(_ref, _excluded$F);
26594
26597
  return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
26595
26598
  variant: variant,
26596
26599
  as: as,
@@ -26870,11 +26873,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
26870
26873
  }, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
26871
26874
  };
26872
26875
 
26873
- var _excluded$F = ["version"];
26876
+ var _excluded$G = ["version"];
26874
26877
  var LabeledAmount = function LabeledAmount(_ref) {
26875
26878
  var _ref$version = _ref.version,
26876
26879
  version = _ref$version === void 0 ? "v1" : _ref$version,
26877
- rest = _objectWithoutProperties(_ref, _excluded$F);
26880
+ rest = _objectWithoutProperties(_ref, _excluded$G);
26878
26881
  var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
26879
26882
  return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
26880
26883
  };
@@ -26952,7 +26955,7 @@ var Loading = function Loading() {
26952
26955
  })))));
26953
26956
  };
26954
26957
 
26955
- var _excluded$G = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
26958
+ var _excluded$H = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
26956
26959
  var NavFooter = function NavFooter(_ref) {
26957
26960
  var leftContent = _ref.leftContent,
26958
26961
  rightContent = _ref.rightContent,
@@ -26967,7 +26970,7 @@ var NavFooter = function NavFooter(_ref) {
26967
26970
  footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
26968
26971
  isMobile = _ref.isMobile,
26969
26972
  footerWidth = _ref.footerWidth,
26970
- rest = _objectWithoutProperties(_ref, _excluded$G);
26973
+ rest = _objectWithoutProperties(_ref, _excluded$H);
26971
26974
  return /*#__PURE__*/React__default.createElement(Box, _extends({
26972
26975
  padding: footerPadding,
26973
26976
  background: backgroundColor,
@@ -26998,7 +27001,7 @@ var NavFooter = function NavFooter(_ref) {
26998
27001
  }, rightContent)))))));
26999
27002
  };
27000
27003
 
27001
- var _excluded$H = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27004
+ var _excluded$I = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27002
27005
  var NavHeader = function NavHeader(_ref) {
27003
27006
  var leftContent = _ref.leftContent,
27004
27007
  rightContent = _ref.rightContent,
@@ -27007,7 +27010,7 @@ var NavHeader = function NavHeader(_ref) {
27007
27010
  isMobile = _ref.isMobile,
27008
27011
  backgroundColor = _ref.backgroundColor,
27009
27012
  headerWidth = _ref.headerWidth,
27010
- rest = _objectWithoutProperties(_ref, _excluded$H);
27013
+ rest = _objectWithoutProperties(_ref, _excluded$I);
27011
27014
  return /*#__PURE__*/React__default.createElement(Box, _extends({
27012
27015
  padding: "0 16px 4px",
27013
27016
  background: backgroundColor,
@@ -38868,7 +38871,7 @@ var LoadingPill = styled.span.withConfig({
38868
38871
  return backgroundColor;
38869
38872
  }, shineFrames);
38870
38873
 
38871
- var _excluded$I = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
38874
+ var _excluded$J = ["minWidth", "maxWidth", "exactWidth", "height", "margin", "backgroundColor", "foregroundColor"];
38872
38875
  var LoadingLine = function LoadingLine(_ref) {
38873
38876
  var minWidth = _ref.minWidth,
38874
38877
  maxWidth = _ref.maxWidth,
@@ -38882,7 +38885,7 @@ var LoadingLine = function LoadingLine(_ref) {
38882
38885
  backgroundColor = _ref$backgroundColor === void 0 ? SEASHELL_WHITE : _ref$backgroundColor,
38883
38886
  _ref$foregroundColor = _ref.foregroundColor,
38884
38887
  foregroundColor = _ref$foregroundColor === void 0 ? ALABASTER_WHITE : _ref$foregroundColor,
38885
- props = _objectWithoutProperties(_ref, _excluded$I);
38888
+ props = _objectWithoutProperties(_ref, _excluded$J);
38886
38889
  var calculatedWidth = Math.floor(Math.random() * (parseInt(maxWidth) - parseInt(minWidth) + 1) + parseInt(minWidth));
38887
38890
  return /*#__PURE__*/React__default.createElement(LoadingPill, _extends({
38888
38891
  "aria-label": "loading",
@@ -40916,7 +40919,9 @@ var EditableList = function EditableList(_ref) {
40916
40919
  _ref$editItemAriaRole = _ref.editItemAriaRole,
40917
40920
  editItemAriaRole = _ref$editItemAriaRole === void 0 ? "" : _ref$editItemAriaRole,
40918
40921
  _ref$disablePlacehold = _ref.disablePlaceholder,
40919
- disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold;
40922
+ disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold,
40923
+ _ref$getEditHref = _ref.getEditHref,
40924
+ getEditHref = _ref$getEditHref === void 0 ? null : _ref$getEditHref;
40920
40925
  var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
40921
40926
  return /*#__PURE__*/React__default.createElement(Box, {
40922
40927
  padding: listPadding,
@@ -40983,7 +40988,12 @@ var EditableList = function EditableList(_ref) {
40983
40988
  extraStyles: ":not(:first-child) { border-left: 2px solid ".concat(BOSTON_BLUE, ";}"),
40984
40989
  dataQa: qaPrefix + " Edit",
40985
40990
  key: "Edit ".concat(item.id)
40986
- }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
40991
+ }, getEditHref ? /*#__PURE__*/React__default.createElement(InternalLink, {
40992
+ to: getEditHref(item),
40993
+ fontWeight: "400",
40994
+ extraStyles: "margin: 0.5rem; min-width: 0;",
40995
+ "aria-label": "Edit ".concat(ariaLabel || itemName)
40996
+ }, "Edit") : /*#__PURE__*/React__default.createElement(ButtonWithAction, {
40987
40997
  variant: "smallGhost",
40988
40998
  text: "Edit",
40989
40999
  action: function action() {
@@ -45281,11 +45291,11 @@ var Modal$2 = function Modal(_ref) {
45281
45291
  };
45282
45292
  var ModalControlV2 = withWindowSize(Modal$2);
45283
45293
 
45284
- var _excluded$J = ["version"];
45294
+ var _excluded$K = ["version"];
45285
45295
  var Modal$3 = function Modal(_ref) {
45286
45296
  var _ref$version = _ref.version,
45287
45297
  version = _ref$version === void 0 ? "v1" : _ref$version,
45288
- rest = _objectWithoutProperties(_ref, _excluded$J);
45298
+ rest = _objectWithoutProperties(_ref, _excluded$K);
45289
45299
  var ModalControl = version === "v1" ? Modal$1 : ModalControlV2;
45290
45300
  return /*#__PURE__*/React__default.createElement(ModalControl, rest);
45291
45301
  };
@@ -45809,6 +45819,7 @@ var activeBackgroundColor$1 = CORNFLOWER_BLUE;
45809
45819
  var backgroundColor$a = LINK_WATER;
45810
45820
  var borderColor$5 = MOON_RAKER;
45811
45821
  var color$c = ROYAL_BLUE_VIVID;
45822
+ var textColor$5 = BRIGHT_GREY;
45812
45823
  var fallbackValues$L = {
45813
45824
  disabledBackgroundColor: disabledBackgroundColor$1,
45814
45825
  disabledBorderColor: disabledBorderColor$1,
@@ -45816,19 +45827,20 @@ var fallbackValues$L = {
45816
45827
  activeBackgroundColor: activeBackgroundColor$1,
45817
45828
  backgroundColor: backgroundColor$a,
45818
45829
  borderColor: borderColor$5,
45819
- color: color$c
45830
+ color: color$c,
45831
+ textColor: textColor$5
45820
45832
  };
45821
45833
 
45822
- var LinkWrapper = styled(Link).withConfig({
45823
- displayName: "LinkCardstyled__LinkWrapper",
45834
+ var StyledAnchor = styled("a").withConfig({
45835
+ displayName: "LinkCardstyled__StyledAnchor",
45824
45836
  componentId: "sc-l5q1h2-0"
45825
45837
  })(["", ""], function (_ref) {
45826
- var disabled = _ref.disabled,
45838
+ var disabled = _ref.$disabled,
45827
45839
  theme = _ref.$theme,
45828
- extraStyles = _ref.extraStyles,
45829
- disabledStyles = _ref.disabledStyles,
45830
- hoverStyles = _ref.hoverStyles,
45831
- activeStyles = _ref.activeStyles;
45840
+ extraStyles = _ref.$extraStyles,
45841
+ disabledStyles = _ref.$disabledStyles,
45842
+ hoverStyles = _ref.$hoverStyles,
45843
+ activeStyles = _ref.$activeStyles;
45832
45844
  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 ");
45833
45845
  });
45834
45846
  var Title$2 = styled(Heading$1).withConfig({
@@ -45877,27 +45889,23 @@ var LinkCard = function LinkCard(_ref) {
45877
45889
  _ref$disabled = _ref.disabled,
45878
45890
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
45879
45891
  _ref$isExternalLink = _ref.isExternalLink,
45880
- isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink,
45881
- key = _ref.key;
45882
- var _useContext = useContext(ThemeContext),
45883
- isMobile = _useContext.isMobile;
45892
+ isExternalLink = _ref$isExternalLink === void 0 ? false : _ref$isExternalLink;
45884
45893
  var regex = /\W/g;
45885
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, "-");
45886
- return /*#__PURE__*/React__default.createElement(LinkWrapper, {
45887
- key: key || locatorSlug,
45888
- as: Link,
45889
- to: disabled ? undefined : href,
45890
- role: "link",
45891
- isMobile: isMobile,
45892
- $theme: themeValues,
45893
- extraStyles: extraStyles,
45894
- hoverStyles: extraHoverStyles,
45895
- activeStyles: extraActiveStyles,
45895
+ return /*#__PURE__*/React__default.createElement(StyledAnchor, {
45896
+ key: "link-card-".concat(locatorSlug),
45897
+ href: disabled ? undefined : href,
45898
+ rel: isExternalLink ? "noopener noreferrer" : undefined,
45899
+ target: isExternalLink ? "_blank" : undefined,
45900
+ tabIndex: disabled ? -1 : 0,
45896
45901
  "aria-disabled": disabled,
45897
- disabled: disabled,
45902
+ $disabled: disabled,
45898
45903
  "aria-label": "".concat(title, ", ").concat(subtitle),
45899
45904
  "data-qa": "link-card-".concat(locatorSlug),
45900
- tabIndex: disabled ? -1 : 0
45905
+ $theme: themeValues,
45906
+ $extraStyles: disabled ? "pointer-events: none; ".concat(extraStyles) : extraStyles,
45907
+ $hoverStyles: extraHoverStyles,
45908
+ $activeStyles: extraActiveStyles
45901
45909
  }, /*#__PURE__*/React__default.createElement(Stack, {
45902
45910
  childGap: 0,
45903
45911
  bottomItem: 3,
@@ -46125,7 +46133,8 @@ var IconsModule = function IconsModule(_ref) {
46125
46133
  Icon = iconsMap[icon];
46126
46134
  }
46127
46135
  return /*#__PURE__*/React__default.createElement(Box, {
46128
- padding: "0 1rem 0 0"
46136
+ padding: "0 1rem 0 0",
46137
+ "aria-hidden": "true"
46129
46138
  }, /*#__PURE__*/React__default.createElement(Cluster, {
46130
46139
  justify: "center",
46131
46140
  align: "center"
@@ -46209,7 +46218,6 @@ var AutopayModalModule = function AutopayModalModule(_ref) {
46209
46218
  } : navigateToSettings,
46210
46219
  isLoading: deactivatingSchedule
46211
46220
  };
46212
- var modalLinkHoverFocus = "\n outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;\n ";
46213
46221
  var hoverStyles = "text-decoration: underline;";
46214
46222
  var activeStyles = "text-decoration: underline;";
46215
46223
  var renderAutoPayControl = function renderAutoPayControl() {
@@ -46244,28 +46252,25 @@ var AutopayModalModule = function AutopayModalModule(_ref) {
46244
46252
  {
46245
46253
  return /*#__PURE__*/React__default.createElement(Box, {
46246
46254
  padding: "0",
46255
+ role: "button",
46256
+ tabIndex: "0",
46247
46257
  onClick: onClick || function () {
46248
46258
  toggleModal(true);
46249
46259
  },
46260
+ onKeyDown: onKeyPress || function (e) {
46261
+ e.key === "Enter" && toggleModal(true);
46262
+ },
46250
46263
  hoverStyles: hoverStyles,
46251
46264
  activeStyles: activeStyles,
46252
- extraStyles: "cursor: pointer;"
46265
+ extraStyles: "cursor: pointer; margin-bottom: 5px;",
46266
+ dataQa: "".concat(shortPlan, " On")
46253
46267
  }, /*#__PURE__*/React__default.createElement(Cluster, {
46254
46268
  justify: isMobile ? "flex-start" : "flex-end",
46255
46269
  align: "center"
46256
46270
  }, /*#__PURE__*/React__default.createElement(AutopayOnIcon, null), /*#__PURE__*/React__default.createElement(Text$1, {
46257
46271
  variant: "pS",
46258
- onClick: onClick || function () {
46259
- return toggleModal(true);
46260
- },
46261
- onKeyPress: onKeyPress || function (e) {
46262
- e.key === "Enter" && toggleModal(true);
46263
- },
46264
- tabIndex: "0",
46265
- dataQa: "".concat(shortPlan, " On"),
46266
46272
  color: SEA_GREEN,
46267
46273
  weight: FONT_WEIGHT_REGULAR,
46268
- hoverStyles: modalLinkHoverFocus,
46269
46274
  extraStyles: "padding-left: 0.25rem;",
46270
46275
  disabled: disableActions
46271
46276
  }, "".concat(shortPlan, " ").concat(nextAutopayDate))));
@@ -47539,7 +47544,7 @@ var fallbackValues$Q = {
47539
47544
  labeledAmountTotal: labeledAmountTotal
47540
47545
  };
47541
47546
 
47542
- var _excluded$K = ["amount"],
47547
+ var _excluded$L = ["amount"],
47543
47548
  _excluded2$1 = ["amount"];
47544
47549
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
47545
47550
  var lineItemElems = _ref.lineItemElems,
@@ -47782,7 +47787,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47782
47787
  return fee.amount > 0;
47783
47788
  }).map(function (_ref5) {
47784
47789
  var amount = _ref5.amount,
47785
- rest = _objectWithoutProperties(_ref5, _excluded$K);
47790
+ rest = _objectWithoutProperties(_ref5, _excluded$L);
47786
47791
  return _objectSpread2(_objectSpread2({}, rest), {}, {
47787
47792
  amount: displayCurrency(amount)
47788
47793
  });
@@ -48219,11 +48224,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48219
48224
  }, errorMessage))))));
48220
48225
  };
48221
48226
 
48222
- var _excluded$L = ["version"];
48227
+ var _excluded$M = ["version"];
48223
48228
  var TermsAndConditions = function TermsAndConditions(_ref) {
48224
48229
  var _ref$version = _ref.version,
48225
48230
  version = _ref$version === void 0 ? "v1" : _ref$version,
48226
- rest = _objectWithoutProperties(_ref, _excluded$L);
48231
+ rest = _objectWithoutProperties(_ref, _excluded$M);
48227
48232
  var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
48228
48233
  return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
48229
48234
  };
@@ -49031,7 +49036,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
49031
49036
  }, section.content))));
49032
49037
  };
49033
49038
 
49034
- var _excluded$M = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
49039
+ var _excluded$N = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
49035
49040
 
49036
49041
  /**
49037
49042
  - The RadioSection component takes either a flat array (via the 'sections'
@@ -49081,7 +49086,7 @@ var RadioSection = function RadioSection(_ref) {
49081
49086
  _ref$groupedSections = _ref.groupedSections,
49082
49087
  groupedSections = _ref$groupedSections === void 0 ? [] : _ref$groupedSections,
49083
49088
  borderOverride = _ref.borderOverride,
49084
- rest = _objectWithoutProperties(_ref, _excluded$M);
49089
+ rest = _objectWithoutProperties(_ref, _excluded$N);
49085
49090
  var _useState = useState(null),
49086
49091
  _useState2 = _slicedToArray(_useState, 2),
49087
49092
  focused = _useState2[0],
@@ -49637,7 +49642,7 @@ var Tab = function Tab(_ref) {
49637
49642
  }, label));
49638
49643
  };
49639
49644
 
49640
- var _excluded$N = ["tabsConfig", "tabsDisplayMode", "tabsPadding", "contentPadding", "extraStyles"];
49645
+ var _excluded$O = ["tabsConfig", "tabsDisplayMode", "tabsPadding", "contentPadding", "extraStyles"];
49641
49646
  var HORIZONTAL = "horizontal";
49642
49647
  var Tabs = function Tabs(_ref) {
49643
49648
  var _tabsConfig$tabs$;
@@ -49650,7 +49655,7 @@ var Tabs = function Tabs(_ref) {
49650
49655
  contentPadding = _ref$contentPadding === void 0 ? "0" : _ref$contentPadding,
49651
49656
  _ref$extraStyles = _ref.extraStyles,
49652
49657
  extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
49653
- props = _objectWithoutProperties(_ref, _excluded$N);
49658
+ props = _objectWithoutProperties(_ref, _excluded$O);
49654
49659
  var _useState = useState(((_tabsConfig$tabs$ = tabsConfig.tabs[0]) === null || _tabsConfig$tabs$ === void 0 ? void 0 : _tabsConfig$tabs$.label) || null),
49655
49660
  _useState2 = _slicedToArray(_useState, 2),
49656
49661
  activeTab = _useState2[0],
@@ -49803,7 +49808,7 @@ var Timeout = function Timeout(_ref) {
49803
49808
  };
49804
49809
  var Timeout$1 = withWindowSize(Timeout);
49805
49810
 
49806
- var _excluded$O = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
49811
+ var _excluded$P = ["variant", "message", "toastOpen", "closeToastNotification", "extraStyles", "minWidth", "maxWidth", "height", "childGap", "backgroundColor", "role", "ariaLive", "screenReaderMessage", "showScreenReaderMessage"];
49807
49812
  var VARIANTS = {
49808
49813
  SUCCESS: "success",
49809
49814
  ERROR: "error"
@@ -49832,7 +49837,7 @@ var ToastNotification = function ToastNotification(_ref) {
49832
49837
  screenReaderMessage = _ref.screenReaderMessage,
49833
49838
  _ref$showScreenReader = _ref.showScreenReaderMessage,
49834
49839
  showScreenReaderMessage = _ref$showScreenReader === void 0 ? true : _ref$showScreenReader,
49835
- rest = _objectWithoutProperties(_ref, _excluded$O);
49840
+ rest = _objectWithoutProperties(_ref, _excluded$P);
49836
49841
  var screenReaderMessageRef = useRef();
49837
49842
  var LIVEREGION_TRANSITION_DELAY = 1000;
49838
49843
  useEffect$1(function () {
@@ -50015,7 +50020,7 @@ var PopupMenuItemContainer = styled(ButtonWithAction).withConfig({
50015
50020
  return "\n background-color: ".concat(isDeleteAction ? theme.menuItemHoverBackgroundColorDelete : theme.menuItemHoverBackgroundColor, ";\n ");
50016
50021
  });
50017
50022
 
50018
- var _excluded$P = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
50023
+ var _excluded$Q = ["id", "closeMenuCallback", "action", "themeValues", "text", "hasIcon", "isDeleteAction", "icon", "textExtraStyles", "hoverStyles", "activeStyles", "extraStyles"];
50019
50024
  var PopupMenuItem = function PopupMenuItem(_ref) {
50020
50025
  var id = _ref.id,
50021
50026
  closeMenuCallback = _ref.closeMenuCallback,
@@ -50031,7 +50036,7 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
50031
50036
  hoverStyles = _ref.hoverStyles,
50032
50037
  activeStyles = _ref.activeStyles,
50033
50038
  extraStyles = _ref.extraStyles,
50034
- rest = _objectWithoutProperties(_ref, _excluded$P);
50039
+ rest = _objectWithoutProperties(_ref, _excluded$Q);
50035
50040
  return /*#__PURE__*/React__default.createElement(PopupMenuItemContainer, _extends({
50036
50041
  id: id,
50037
50042
  role: "menuItem",
@@ -50270,7 +50275,7 @@ var ActionLinkButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
50270
50275
  });
50271
50276
  });
50272
50277
 
50273
- var _excluded$Q = ["width", "height", "color"];
50278
+ var _excluded$R = ["width", "height", "color"];
50274
50279
  var DropdownIconV2 = function DropdownIconV2(_ref) {
50275
50280
  var _ref$width = _ref.width,
50276
50281
  width = _ref$width === void 0 ? "18" : _ref$width,
@@ -50278,7 +50283,7 @@ var DropdownIconV2 = function DropdownIconV2(_ref) {
50278
50283
  height = _ref$height === void 0 ? "19" : _ref$height,
50279
50284
  _ref$color = _ref.color,
50280
50285
  color = _ref$color === void 0 ? "#292A33" : _ref$color,
50281
- props = _objectWithoutProperties(_ref, _excluded$Q);
50286
+ props = _objectWithoutProperties(_ref, _excluded$R);
50282
50287
  return /*#__PURE__*/React__default.createElement("svg", _extends({
50283
50288
  "aria-hidden": "true",
50284
50289
  width: width,
@@ -50426,7 +50431,7 @@ var SearchBox = function SearchBox(_ref) {
50426
50431
  }));
50427
50432
  };
50428
50433
 
50429
- var _excluded$R = ["width", "height", "color"];
50434
+ var _excluded$S = ["width", "height", "color"];
50430
50435
  var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
50431
50436
  var _ref$width = _ref.width,
50432
50437
  width = _ref$width === void 0 ? "18" : _ref$width,
@@ -50434,7 +50439,7 @@ var CheckboxCheckmarkIcon = function CheckboxCheckmarkIcon(_ref) {
50434
50439
  height = _ref$height === void 0 ? "18" : _ref$height,
50435
50440
  _ref$color = _ref.color,
50436
50441
  color = _ref$color === void 0 ? "#FEFEFE" : _ref$color,
50437
- props = _objectWithoutProperties(_ref, _excluded$R);
50442
+ props = _objectWithoutProperties(_ref, _excluded$S);
50438
50443
  return /*#__PURE__*/React__default.createElement("svg", _extends({
50439
50444
  xmlns: "http://www.w3.org/2000/svg",
50440
50445
  width: width,
@@ -51130,7 +51135,7 @@ var fallbackValues$11 = {
51130
51135
  justifyContent: justifyContent
51131
51136
  };
51132
51137
 
51133
- var _excluded$S = ["variant", "imageUrl", "isMobile", "theme", "extraStyles"],
51138
+ var _excluded$T = ["variant", "imageUrl", "isMobile", "theme", "extraStyles"],
51134
51139
  _excluded2$2 = ["theme", "isMobile"],
51135
51140
  _excluded3 = ["theme", "isMobile"],
51136
51141
  _excluded4 = ["theme", "isMobile"];
@@ -51153,7 +51158,7 @@ var HeroContainer = styled(function (_ref2) {
51153
51158
  isMobile = _ref2.isMobile,
51154
51159
  theme = _ref2.theme,
51155
51160
  extraStyles = _ref2.extraStyles,
51156
- props = _objectWithoutProperties(_ref2, _excluded$S);
51161
+ props = _objectWithoutProperties(_ref2, _excluded$T);
51157
51162
  return /*#__PURE__*/React__default.createElement(Box, props);
51158
51163
  }).withConfig({
51159
51164
  displayName: "HeroImagestyled__HeroContainer",
@@ -51466,12 +51471,12 @@ var TurnstileWidget = /*#__PURE__*/forwardRef(function (_ref4, ref) {
51466
51471
  var hoverColor$6 = ROYAL_BLUE;
51467
51472
  var activeColor$b = CONGRESS_BLUE;
51468
51473
  var linkColor$6 = ROYAL_BLUE_VIVID;
51469
- var textColor$5 = CHARADE_GREY;
51474
+ var textColor$6 = CHARADE_GREY;
51470
51475
  var fallbackValues$12 = {
51471
51476
  linkColor: linkColor$6,
51472
51477
  hoverColor: hoverColor$6,
51473
51478
  activeColor: activeColor$b,
51474
- textColor: textColor$5
51479
+ textColor: textColor$6
51475
51480
  };
51476
51481
 
51477
51482
  var TOOLTIP_THEME_SOURCE = "Popover";