@thecb/components 10.2.1-beta.3 → 10.2.1-beta.5

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
@@ -18278,22 +18278,25 @@ var KebabMenuIcon = function KebabMenuIcon() {
18278
18278
  }));
18279
18279
  };
18280
18280
 
18281
+ var _excluded$i = ["iconFill", "iconWidth", "iconHeight"];
18281
18282
  var MultiCartIcon = function MultiCartIcon(_ref) {
18282
18283
  var _ref$iconFill = _ref.iconFill,
18283
18284
  iconFill = _ref$iconFill === void 0 ? "#3B5BDB" : _ref$iconFill,
18284
- _ref$isMobile = _ref.isMobile,
18285
- isMobile = _ref$isMobile === void 0 ? true : _ref$isMobile;
18286
- var iconWidth = isMobile ? "20" : "25";
18287
- var iconHeight = isMobile ? "17" : "23";
18288
- return /*#__PURE__*/React.createElement("svg", {
18285
+ _ref$iconWidth = _ref.iconWidth,
18286
+ iconWidth = _ref$iconWidth === void 0 ? "20" : _ref$iconWidth,
18287
+ _ref$iconHeight = _ref.iconHeight,
18288
+ iconHeight = _ref$iconHeight === void 0 ? "17" : _ref$iconHeight,
18289
+ rest = _objectWithoutProperties(_ref, _excluded$i);
18290
+ return /*#__PURE__*/React.createElement("svg", _extends({
18289
18291
  xmlns: "http://www.w3.org/2000/svg",
18290
18292
  width: iconWidth,
18291
18293
  height: iconHeight,
18292
- viewBox: "0 0 ".concat(iconWidth, " ").concat(iconHeight),
18293
- fill: "none"
18294
- }, /*#__PURE__*/React.createElement("path", {
18295
- d: isMobile ? "M17.5312 9.99414C17.4648 10.1934 17.3652 10.3594 17.2324 10.459C17.0996 10.5918 16.9336 10.625 16.7676 10.625H7.03906L7.23828 11.6875H16.1699C16.4023 11.6875 16.6016 11.7871 16.7676 11.9863C16.9004 12.1855 16.9668 12.418 16.9336 12.6504L16.7344 13.4805C17.0664 13.6465 17.2988 13.8789 17.498 14.1777C17.6973 14.4766 17.7969 14.8086 17.7969 15.1406C17.7969 15.6719 17.5977 16.1035 17.2324 16.4688C16.8672 16.834 16.4355 17 15.9375 17C15.4062 17 14.9746 16.834 14.6094 16.4688C14.2441 16.1035 14.0781 15.6719 14.0781 15.1406C14.0781 14.6094 14.2441 14.1777 14.6426 13.8125H7.66992C8.03516 14.1777 8.23438 14.6094 8.23438 15.1406C8.23438 15.6719 8.03516 16.1035 7.66992 16.4688C7.30469 16.834 6.87305 17 6.375 17C5.84375 17 5.41211 16.834 5.04688 16.4688C4.68164 16.1035 4.51562 15.6719 4.51562 15.1406C4.51562 14.8086 4.58203 14.5098 4.74805 14.2109C4.91406 13.9453 5.14648 13.7129 5.44531 13.5137L3.12109 2.125H0.796875C0.564453 2.125 0.365234 2.05859 0.232422 1.89258C0.0664062 1.75977 0 1.56055 0 1.32812V0.796875C0 0.597656 0.0664062 0.398438 0.232422 0.232422C0.365234 0.0996094 0.564453 0 0.796875 0H4.2168C4.38281 0 4.54883 0.0664062 4.68164 0.199219C4.81445 0.332031 4.91406 0.464844 4.98047 0.630859L5.2793 2.125H18.3281C18.5938 2.125 18.793 2.22461 18.959 2.42383C19.0918 2.62305 19.1582 2.85547 19.0918 3.08789L17.5312 9.99414Z" : "M22.6875 13.4336C22.6016 13.6914 22.4727 13.9062 22.3008 14.0352C22.1289 14.207 21.9141 14.25 21.6992 14.25H9.10938L9.36719 15.625H20.9258C21.2266 15.625 21.4844 15.7539 21.6992 16.0117C21.8711 16.2695 21.957 16.5703 21.9141 16.8711L21.6562 17.9453C22.0859 18.1602 22.3867 18.4609 22.6445 18.8477C22.9023 19.2344 23.0312 19.6641 23.0312 20.0938C23.0312 20.7812 22.7734 21.3398 22.3008 21.8125C21.8281 22.2852 21.2695 22.5 20.625 22.5C19.9375 22.5 19.3789 22.2852 18.9062 21.8125C18.4336 21.3398 18.2188 20.7812 18.2188 20.0938C18.2188 19.4062 18.4336 18.8477 18.9492 18.375H9.92578C10.3984 18.8477 10.6562 19.4062 10.6562 20.0938C10.6562 20.7812 10.3984 21.3398 9.92578 21.8125C9.45312 22.2852 8.89453 22.5 8.25 22.5C7.5625 22.5 7.00391 22.2852 6.53125 21.8125C6.05859 21.3398 5.84375 20.7812 5.84375 20.0938C5.84375 19.6641 5.92969 19.2773 6.14453 18.8906C6.35938 18.5469 6.66016 18.2461 7.04688 17.9883L4.03906 3.25H1.03125C0.730469 3.25 0.472656 3.16406 0.300781 2.94922C0.0859375 2.77734 0 2.51953 0 2.21875V1.53125C0 1.27344 0.0859375 1.01562 0.300781 0.800781C0.472656 0.628906 0.730469 0.5 1.03125 0.5H5.45703C5.67188 0.5 5.88672 0.585938 6.05859 0.757812C6.23047 0.929688 6.35938 1.10156 6.44531 1.31641L6.83203 3.25H23.7188C24.0625 3.25 24.3203 3.37891 24.5352 3.63672C24.707 3.89453 24.793 4.19531 24.707 4.49609L22.6875 13.4336Z",
18296
- fill: iconFill
18294
+ viewBox: "0 0 24.81 22.06"
18295
+ }, rest), /*#__PURE__*/React.createElement("title", null, "Icon - Cart-Empty"), /*#__PURE__*/React.createElement("path", {
18296
+ d: "M18.7499553,20.499994 C19.348912,20.499994 19.8632339,20.2851508 20.2929204,19.8554643 C20.7226068,19.4257779 20.9374501,18.911456 20.9374501,18.3124993 C20.9374501,17.8958334 20.8267735,17.5117199 20.6054196,17.1601583 C20.3840658,16.8085966 20.0780771,16.5416703 19.6874531,16.3593789 L19.6874531,16.3593789 L19.9218275,15.3828187 C19.9739105,15.0963613 19.9088069,14.835945 19.7265155,14.6015706 C19.544224,14.3671962 19.3098496,14.2500089 19.0233921,14.2500089 L19.0233921,14.2500089 L8.5156047,14.2500089 L8.28123026,13.0000119 L19.7265155,13.0000119 C19.9348481,13.0000119 20.1236501,12.9349077 20.2929204,12.8046999 C20.4621906,12.6744921 20.5728678,12.4922006 20.6249508,12.2578262 L20.6249508,12.2578262 L22.4608839,4.13284556 C22.5390088,3.84638811 22.4869258,3.58597187 22.3046343,3.35159742 C22.1223429,3.11722298 21.8749478,3.00004172 21.5624486,3.00004172 L21.5624486,3.00004172 L6.21092269,3.00004172 L5.85936103,1.24222745 C5.80727802,1.03389482 5.6966008,0.858113985 5.52733057,0.714884961 C5.35806034,0.571655937 5.16925831,0.500041723 4.96092567,0.500041723 L4.96092567,0.500041723 L0.937497765,0.500041723 C0.67708152,0.500041723 0.455728279,0.591187141 0.273436848,0.773478571 C0.0911454173,0.955770002 0,1.17712324 0,1.43753949 L0,1.43753949 L0,2.062538 C0,2.32295424 0.0911454173,2.54430748 0.273436848,2.72659891 C0.455728279,2.90889035 0.67708152,3.00004172 0.937497765,3.00004172 L0.937497765,3.00004172 L3.67186625,3.00004172 L6.40623473,16.3984413 C6.06769367,16.606774 5.80076742,16.8802108 5.60545539,17.2187519 C5.41014335,17.5572929 5.31248733,17.9218752 5.31248733,18.3124993 C5.31248733,18.911456 5.52733057,19.4257779 5.95701705,19.8554643 C6.38670352,20.2851508 6.90102541,20.499994 7.49998212,20.499994 C8.09893883,20.499994 8.61326071,20.2851508 9.04294719,19.8554643 C9.47263367,19.4257779 9.6874769,18.904946 9.6874769,18.2929681 C9.6874769,17.6809901 9.46612307,17.1666689 9.02341599,16.750003 L9.02341599,16.750003 L17.2265214,16.750003 C16.7838143,17.1666689 16.5624605,17.6809901 16.5624605,18.2929681 C16.5624605,18.904946 16.7773037,19.4257779 17.2069902,19.8554643 C17.6366767,20.2851508 18.1509986,20.499994 18.7499553,20.499994 Z",
18297
+ id: "cart-badge-shopping-cart",
18298
+ fill: iconFill,
18299
+ fillRule: "nonzero"
18297
18300
  }));
18298
18301
  };
18299
18302
 
@@ -18943,7 +18946,7 @@ var mobileFallbackValues = {
18943
18946
  };
18944
18947
  var MOBILE_BREAKPOINT = 768;
18945
18948
 
18946
- var _excluded$i = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
18949
+ var _excluded$j = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
18947
18950
 
18948
18951
  /*
18949
18952
  New responsive text component for Title elements
@@ -18990,7 +18993,7 @@ var Title = function Title(_ref) {
18990
18993
  as = _ref$as === void 0 ? "h1" : _ref$as,
18991
18994
  dataQa = _ref.dataQa,
18992
18995
  children = _ref.children,
18993
- rest = _objectWithoutProperties(_ref, _excluded$i);
18996
+ rest = _objectWithoutProperties(_ref, _excluded$j);
18994
18997
  return /*#__PURE__*/React.createElement(TitleText, _extends({
18995
18998
  variant: variant,
18996
18999
  as: as,
@@ -20414,12 +20417,12 @@ var fallbackValues$8 = {
20414
20417
  linkColor: linkColor
20415
20418
  };
20416
20419
 
20417
- var _excluded$j = ["variant", "themeValues", "children"];
20420
+ var _excluded$k = ["variant", "themeValues", "children"];
20418
20421
  var BoxWithShadow = function BoxWithShadow(_ref) {
20419
20422
  var variant = _ref.variant,
20420
20423
  themeValues = _ref.themeValues,
20421
20424
  children = _ref.children,
20422
- props = _objectWithoutProperties(_ref, _excluded$j);
20425
+ props = _objectWithoutProperties(_ref, _excluded$k);
20423
20426
  var shadowRegistry = {
20424
20427
  baseStandard: "0px 3px 7px 2px ".concat(rgba$1(BLACK, 0.1), ", 0px 1px 2px 1px ").concat(rgba$1(BLACK, 0.1), ";"),
20425
20428
  baseHover: "0px 1px 7px 0px ".concat(rgba$1(BLACK, 0.3), ", 0px 1px 4px 0px ").concat(rgba$1(BLACK, 0.2), ", 0px 7px 12px 0px ").concat(rgba$1(BLACK, 0.2), ";"),
@@ -20479,7 +20482,7 @@ var fallbackValues$a = {
20479
20482
  externalLinkColor: externalLinkColor
20480
20483
  };
20481
20484
 
20482
- var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
20485
+ var _excluded$l = ["hoverColor", "activeColor", "extrastyles"];
20483
20486
  var ROYAL_BLUE$1 = ROYAL_BLUE;
20484
20487
  var LINK_TEXT_DECORATION$3 = LINK_TEXT_DECORATION;
20485
20488
 
@@ -20493,7 +20496,7 @@ var StyledExternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
20493
20496
  var hoverColor = _ref.hoverColor,
20494
20497
  activeColor = _ref.activeColor,
20495
20498
  extrastyles = _ref.extrastyles,
20496
- props = _objectWithoutProperties(_ref, _excluded$k);
20499
+ props = _objectWithoutProperties(_ref, _excluded$l);
20497
20500
  return /*#__PURE__*/React.createElement("a", _extends({}, props, {
20498
20501
  ref: ref
20499
20502
  }));
@@ -20568,7 +20571,7 @@ var ExternalLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
20568
20571
  }, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
20569
20572
  });
20570
20573
 
20571
- var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
20574
+ var _excluded$m = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
20572
20575
  var ROYAL_BLUE$2 = ROYAL_BLUE;
20573
20576
  var LINK_TEXT_DECORATION$4 = LINK_TEXT_DECORATION;
20574
20577
 
@@ -20584,7 +20587,7 @@ var StyledInternalLink = styled( /*#__PURE__*/forwardRef(function (_ref, ref) {
20584
20587
  active = _ref.active,
20585
20588
  color = _ref.color,
20586
20589
  extrastyles = _ref.extrastyles,
20587
- props = _objectWithoutProperties(_ref, _excluded$l);
20590
+ props = _objectWithoutProperties(_ref, _excluded$m);
20588
20591
  return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
20589
20592
  ref: ref
20590
20593
  }));
@@ -22267,7 +22270,7 @@ _curry2(function test(pattern, str) {
22267
22270
  return _cloneRegExp(pattern).test(str);
22268
22271
  });
22269
22272
 
22270
- var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22273
+ var _excluded$n = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
22271
22274
  var ButtonWithLink = function ButtonWithLink(_ref) {
22272
22275
  var _ref$url = _ref.url,
22273
22276
  url = _ref$url === void 0 ? "/" : _ref$url,
@@ -22282,7 +22285,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
22282
22285
  _ref$newTab = _ref.newTab,
22283
22286
  newTab = _ref$newTab === void 0 ? false : _ref$newTab,
22284
22287
  dataQa = _ref.dataQa,
22285
- otherProps = _objectWithoutProperties(_ref, _excluded$m);
22288
+ otherProps = _objectWithoutProperties(_ref, _excluded$n);
22286
22289
  var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
22287
22290
  var children = _ref2.children,
22288
22291
  url = _ref2.url,
@@ -22370,7 +22373,7 @@ var ParagraphText = styled.p.withConfig({
22370
22373
  return extraStyles;
22371
22374
  });
22372
22375
 
22373
- var _excluded$n = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22376
+ var _excluded$o = ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"];
22374
22377
  var Paragraph = function Paragraph(_ref) {
22375
22378
  var themeValues = _ref.themeValues,
22376
22379
  _ref$weight = _ref.weight,
@@ -22384,7 +22387,7 @@ var Paragraph = function Paragraph(_ref) {
22384
22387
  dataQa = _ref.dataQa,
22385
22388
  children = _ref.children,
22386
22389
  as = _ref.as,
22387
- rest = _objectWithoutProperties(_ref, _excluded$n);
22390
+ rest = _objectWithoutProperties(_ref, _excluded$o);
22388
22391
  return /*#__PURE__*/React.createElement(ParagraphText, _extends({
22389
22392
  weight: weight,
22390
22393
  color: color,
@@ -25693,7 +25696,7 @@ var mobileFallbackValues$1 = {
25693
25696
  };
25694
25697
  var MOBILE_BREAKPOINT$1 = 768;
25695
25698
 
25696
- var _excluded$o = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25699
+ var _excluded$p = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25697
25700
 
25698
25701
  /*
25699
25702
  New responsive text component for Detail elements
@@ -25743,7 +25746,7 @@ var Detail = function Detail(_ref) {
25743
25746
  as = _ref$as === void 0 ? "p" : _ref$as,
25744
25747
  dataQa = _ref.dataQa,
25745
25748
  children = _ref.children,
25746
- rest = _objectWithoutProperties(_ref, _excluded$o);
25749
+ rest = _objectWithoutProperties(_ref, _excluded$p);
25747
25750
  return /*#__PURE__*/React.createElement(DetailText, _extends({
25748
25751
  variant: variant,
25749
25752
  as: as,
@@ -26453,7 +26456,7 @@ var fallbackValues$k = {
26453
26456
  formFooterPanel: formFooterPanel
26454
26457
  };
26455
26458
 
26456
- var _excluded$p = ["showErrors", "themeValues"],
26459
+ var _excluded$q = ["showErrors", "themeValues"],
26457
26460
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
26458
26461
  var InputField = styled.input.withConfig({
26459
26462
  displayName: "FormInput__InputField",
@@ -26488,7 +26491,7 @@ var InputField = styled.input.withConfig({
26488
26491
  var FormattedInputField = styled(function (_ref8) {
26489
26492
  var showErrors = _ref8.showErrors,
26490
26493
  themeValues = _ref8.themeValues,
26491
- props = _objectWithoutProperties(_ref8, _excluded$p);
26494
+ props = _objectWithoutProperties(_ref8, _excluded$q);
26492
26495
  return /*#__PURE__*/React.createElement(FormattedInput, props);
26493
26496
  }).withConfig({
26494
26497
  displayName: "FormInput__FormattedInputField",
@@ -26660,7 +26663,7 @@ var FormInput = function FormInput(_ref15) {
26660
26663
  };
26661
26664
  var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
26662
26665
 
26663
- var _excluded$q = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26666
+ var _excluded$r = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26664
26667
  var FormInputRow = function FormInputRow(_ref) {
26665
26668
  var _ref$breakpoint = _ref.breakpoint,
26666
26669
  breakpoint = _ref$breakpoint === void 0 ? "30rem" : _ref$breakpoint,
@@ -26669,7 +26672,7 @@ var FormInputRow = function FormInputRow(_ref) {
26669
26672
  largeChild = _ref.largeChild,
26670
26673
  largeChildSize = _ref.largeChildSize,
26671
26674
  children = _ref.children,
26672
- rest = _objectWithoutProperties(_ref, _excluded$q);
26675
+ rest = _objectWithoutProperties(_ref, _excluded$r);
26673
26676
  return /*#__PURE__*/React.createElement(Box, _extends({
26674
26677
  padding: "0"
26675
26678
  }, rest), /*#__PURE__*/React.createElement(Switcher, {
@@ -26680,24 +26683,24 @@ var FormInputRow = function FormInputRow(_ref) {
26680
26683
  }, children));
26681
26684
  };
26682
26685
 
26683
- var _excluded$r = ["childGap", "bottomItem", "children"];
26686
+ var _excluded$s = ["childGap", "bottomItem", "children"];
26684
26687
  var FormInputColumn = function FormInputColumn(_ref) {
26685
26688
  var _ref$childGap = _ref.childGap,
26686
26689
  childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
26687
26690
  bottomItem = _ref.bottomItem,
26688
26691
  children = _ref.children,
26689
- rest = _objectWithoutProperties(_ref, _excluded$r);
26692
+ rest = _objectWithoutProperties(_ref, _excluded$s);
26690
26693
  return /*#__PURE__*/React.createElement(Stack, _extends({
26691
26694
  childGap: childGap,
26692
26695
  bottomItem: bottomItem
26693
26696
  }, rest), children);
26694
26697
  };
26695
26698
 
26696
- var _excluded$s = ["themeValues", "children"];
26699
+ var _excluded$t = ["themeValues", "children"];
26697
26700
  var FormContainer = function FormContainer(_ref) {
26698
26701
  var themeValues = _ref.themeValues,
26699
26702
  children = _ref.children,
26700
- rest = _objectWithoutProperties(_ref, _excluded$s);
26703
+ rest = _objectWithoutProperties(_ref, _excluded$t);
26701
26704
  var _useContext = useContext(ThemeContext),
26702
26705
  isMobile = _useContext.isMobile;
26703
26706
  return /*#__PURE__*/React.createElement(Box, _extends({
@@ -27007,7 +27010,7 @@ var fallbackValues$o = {
27007
27010
  fontSize: fontSize$8
27008
27011
  };
27009
27012
 
27010
- var _excluded$t = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
27013
+ var _excluded$u = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
27011
27014
  var Heading = function Heading(_ref) {
27012
27015
  var themeValues = _ref.themeValues,
27013
27016
  _ref$weight = _ref.weight,
@@ -27026,7 +27029,7 @@ var Heading = function Heading(_ref) {
27026
27029
  as = _ref$as === void 0 ? variant : _ref$as,
27027
27030
  dataQa = _ref.dataQa,
27028
27031
  children = _ref.children,
27029
- rest = _objectWithoutProperties(_ref, _excluded$t);
27032
+ rest = _objectWithoutProperties(_ref, _excluded$u);
27030
27033
  return /*#__PURE__*/React.createElement(HeadingText, _extends({
27031
27034
  variant: variant,
27032
27035
  as: as,
@@ -27113,9 +27116,7 @@ var Jumbo = function Jumbo(_ref) {
27113
27116
  _ref$showCartStatus = _ref.showCartStatus,
27114
27117
  showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
27115
27118
  openCartSlider = _ref.openCartSlider,
27116
- extraStyles = _ref.extraStyles,
27117
- cartStatusExtraStyles = _ref.cartStatusExtraStyles,
27118
- cartStatusThemeValues = _ref.cartStatusThemeValues;
27119
+ extraStyles = _ref.extraStyles;
27119
27120
  var _useContext = useContext(ThemeContext),
27120
27121
  isMobile = _useContext.isMobile;
27121
27122
  return /*#__PURE__*/React.createElement(Box, {
@@ -27138,8 +27139,7 @@ var Jumbo = function Jumbo(_ref) {
27138
27139
  minHeight: "100%",
27139
27140
  justify: isMobile && !showCartStatus ? "center" : showButton || showCartStatus ? "space-between" : "left",
27140
27141
  align: "center",
27141
- nowrap: showCartStatus,
27142
- extraStyles: cartStatusExtraStyles
27142
+ nowrap: showCartStatus
27143
27143
  }, /*#__PURE__*/React.createElement(Title$1, {
27144
27144
  variant: isMobile ? "small" : "large",
27145
27145
  as: "h1",
@@ -27156,7 +27156,6 @@ var Jumbo = function Jumbo(_ref) {
27156
27156
  variant: "primary",
27157
27157
  extraStyles: "margin: 0 0 65px 0; min-width: 320px;"
27158
27158
  }), showCartStatus && /*#__PURE__*/React.createElement(CartStatus, {
27159
- themeValues: cartStatusThemeValues,
27160
27159
  total: total,
27161
27160
  itemsCount: itemsCount,
27162
27161
  openCart: openCartSlider
@@ -27231,11 +27230,11 @@ var LabeledAmountV2 = function LabeledAmountV2(_ref) {
27231
27230
  }, /*#__PURE__*/React.createElement("span", null, label), /*#__PURE__*/React.createElement("span", null, amount));
27232
27231
  };
27233
27232
 
27234
- var _excluded$u = ["version"];
27233
+ var _excluded$v = ["version"];
27235
27234
  var LabeledAmount = function LabeledAmount(_ref) {
27236
27235
  var _ref$version = _ref.version,
27237
27236
  version = _ref$version === void 0 ? "v1" : _ref$version,
27238
- rest = _objectWithoutProperties(_ref, _excluded$u);
27237
+ rest = _objectWithoutProperties(_ref, _excluded$v);
27239
27238
  var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
27240
27239
  return /*#__PURE__*/React.createElement(LabeledAmountComponent, rest);
27241
27240
  };
@@ -27372,7 +27371,7 @@ var Loading = function Loading() {
27372
27371
  })))));
27373
27372
  };
27374
27373
 
27375
- var _excluded$v = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
27374
+ var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
27376
27375
  var NavFooter = function NavFooter(_ref) {
27377
27376
  var leftContent = _ref.leftContent,
27378
27377
  rightContent = _ref.rightContent,
@@ -27387,7 +27386,7 @@ var NavFooter = function NavFooter(_ref) {
27387
27386
  footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
27388
27387
  isMobile = _ref.isMobile,
27389
27388
  footerWidth = _ref.footerWidth,
27390
- rest = _objectWithoutProperties(_ref, _excluded$v);
27389
+ rest = _objectWithoutProperties(_ref, _excluded$w);
27391
27390
  return /*#__PURE__*/React.createElement(Box, _extends({
27392
27391
  padding: footerPadding,
27393
27392
  background: backgroundColor,
@@ -27418,7 +27417,7 @@ var NavFooter = function NavFooter(_ref) {
27418
27417
  }, rightContent)))))));
27419
27418
  };
27420
27419
 
27421
- var _excluded$w = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27420
+ var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
27422
27421
  var NavHeader = function NavHeader(_ref) {
27423
27422
  var leftContent = _ref.leftContent,
27424
27423
  rightContent = _ref.rightContent,
@@ -27427,7 +27426,7 @@ var NavHeader = function NavHeader(_ref) {
27427
27426
  isMobile = _ref.isMobile,
27428
27427
  backgroundColor = _ref.backgroundColor,
27429
27428
  headerWidth = _ref.headerWidth,
27430
- rest = _objectWithoutProperties(_ref, _excluded$w);
27429
+ rest = _objectWithoutProperties(_ref, _excluded$x);
27431
27430
  return /*#__PURE__*/React.createElement(Box, _extends({
27432
27431
  padding: "0 16px 4px",
27433
27432
  background: backgroundColor,
@@ -39173,7 +39172,7 @@ var TableRowWrapper = styled.tr.withConfig({
39173
39172
  return extraStyles;
39174
39173
  });
39175
39174
 
39176
- var _excluded$x = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
39175
+ var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
39177
39176
  var TableRow = function TableRow(_ref) {
39178
39177
  var children = _ref.children,
39179
39178
  extraStyles = _ref.extraStyles,
@@ -39182,7 +39181,7 @@ var TableRow = function TableRow(_ref) {
39182
39181
  hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
39183
39182
  onClick = _ref.onClick,
39184
39183
  themeValues = _ref.themeValues,
39185
- props = _objectWithoutProperties(_ref, _excluded$x);
39184
+ props = _objectWithoutProperties(_ref, _excluded$y);
39186
39185
  return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
39187
39186
  onClick: onClick,
39188
39187
  hoverEffect: hoverEffect,
@@ -46575,17 +46574,17 @@ var AutopayModal = function AutopayModal(_ref) {
46575
46574
  var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
46576
46575
  var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
46577
46576
  var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
46578
- return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
46577
+ return "To set up ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
46579
46578
  };
46580
46579
  var plan = isPaymentPlan ? "your payment plan" : "autopay";
46581
46580
  var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
46582
- var deactivateText = "deactivate ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
46583
- var activateText = "Set Up ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
46581
+ var deactivateText = "Stop ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
46582
+ var activateText = "Set up ".concat(shortPlan.toLowerCase(), " for ").concat(titleCaseString(description), ": ").concat(titleCaseString(subDescription));
46584
46583
  var nextDate = dueDate || nextAutopayDate;
46585
46584
  var modalExtraProps = {
46586
- modalHeaderText: autoPayActive ? titleCaseString(deactivateText) : titleCaseString(activateText),
46587
- modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
46588
- continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add",
46585
+ modalHeaderText: autoPayActive ? deactivateText : activateText,
46586
+ modalBodyText: autoPayActive ? "Are you sure you want to stop ".concat(plan, "? ").concat(!inactive && nextDate && nextDate !== "On" ? "Your next payment will be due on " + nextDate + "." : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
46587
+ continueButtonText: autoPayActive ? "Stop ".concat(shortPlan) : "Add",
46589
46588
  useDangerButton: autoPayActive,
46590
46589
  continueAction: autoPayActive ? function () {
46591
46590
  deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
@@ -47534,7 +47533,11 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
47534
47533
  _ref$hideForwardButto = _ref.hideForwardButton,
47535
47534
  hideForwardButton = _ref$hideForwardButto === void 0 ? false : _ref$hideForwardButto,
47536
47535
  _ref$hideBackButton = _ref.hideBackButton,
47537
- hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton;
47536
+ hideBackButton = _ref$hideBackButton === void 0 ? false : _ref$hideBackButton,
47537
+ buttonGroupStyles = _ref.buttonGroupStyles,
47538
+ _ref$hideAdditionalBu = _ref.hideAdditionalButton,
47539
+ hideAdditionalButton = _ref$hideAdditionalBu === void 0 ? false : _ref$hideAdditionalBu,
47540
+ additionalButton = _ref.additionalButton;
47538
47541
  var _useContext = useContext(ThemeContext),
47539
47542
  isMobile = _useContext.isMobile;
47540
47543
  var backButton = !!cancelURL && !!cancelText ? /*#__PURE__*/React.createElement(ButtonWithLink, {
@@ -47580,8 +47583,9 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
47580
47583
  padding: "2.5rem 0 3.125rem 0"
47581
47584
  }, /*#__PURE__*/React.createElement(Cluster, {
47582
47585
  justify: buttonFlexOverride ? buttonFlexOverride : !!backButton ? "space-between" : "flex-end",
47583
- align: "center"
47584
- }, !hideBackButton && /*#__PURE__*/React.createElement(Fragment$1, null, backButton), !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton))));
47586
+ align: "center",
47587
+ extraStyles: buttonGroupStyles
47588
+ }, !hideBackButton && /*#__PURE__*/React.createElement(Fragment$1, null, backButton), !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton), !hideAdditionalButton && /*#__PURE__*/React.createElement(Fragment$1, null, additionalButton))));
47585
47589
  };
47586
47590
 
47587
47591
  var backgroundColor$c = {
@@ -47607,7 +47611,7 @@ var fallbackValues$N = {
47607
47611
  labeledAmountTotal: labeledAmountTotal
47608
47612
  };
47609
47613
 
47610
- var _excluded$y = ["amount"],
47614
+ var _excluded$z = ["amount"],
47611
47615
  _excluded2$1 = ["amount"];
47612
47616
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
47613
47617
  var lineItemElems = _ref.lineItemElems,
@@ -47847,7 +47851,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
47847
47851
  return fee.amount > 0;
47848
47852
  }).map(function (_ref5) {
47849
47853
  var amount = _ref5.amount,
47850
- rest = _objectWithoutProperties(_ref5, _excluded$y);
47854
+ rest = _objectWithoutProperties(_ref5, _excluded$z);
47851
47855
  return _objectSpread2(_objectSpread2({}, rest), {}, {
47852
47856
  amount: displayCurrency(amount)
47853
47857
  });
@@ -48059,6 +48063,10 @@ var modalLinkHoverFocus$2 = {
48059
48063
  "default": standardInteractionStyles,
48060
48064
  footer: standardInteractionStyles
48061
48065
  };
48066
+ var modalLinkTextDecoration = {
48067
+ "default": LINK_TEXT_DECORATION,
48068
+ footer: "none"
48069
+ };
48062
48070
  var fallbackValues$P = {
48063
48071
  backgroundColor: backgroundColor$d,
48064
48072
  linkColor: linkColor$6,
@@ -48066,7 +48074,8 @@ var fallbackValues$P = {
48066
48074
  fontSize: fontSize$b,
48067
48075
  lineHeight: lineHeight$5,
48068
48076
  fontWeight: fontWeight$8,
48069
- modalLinkHoverFocus: modalLinkHoverFocus$2
48077
+ modalLinkHoverFocus: modalLinkHoverFocus$2,
48078
+ modalLinkTextDecoration: modalLinkTextDecoration
48070
48079
  };
48071
48080
 
48072
48081
  var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
@@ -48123,6 +48132,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
48123
48132
  color: themeValues.linkColor,
48124
48133
  weight: themeValues.fontWeight,
48125
48134
  hoverStyles: themeValues.modalLinkHoverFocus,
48135
+ textDecoration: themeValues.modalLinkTextDecoration,
48126
48136
  extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
48127
48137
  role: "button" // This should always be a "button" since it opens a modal
48128
48138
  ,
@@ -48256,11 +48266,11 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48256
48266
  }, errorMessage))))));
48257
48267
  };
48258
48268
 
48259
- var _excluded$z = ["version"];
48269
+ var _excluded$A = ["version"];
48260
48270
  var TermsAndConditions = function TermsAndConditions(_ref) {
48261
48271
  var _ref$version = _ref.version,
48262
48272
  version = _ref$version === void 0 ? "v1" : _ref$version,
48263
- rest = _objectWithoutProperties(_ref, _excluded$z);
48273
+ rest = _objectWithoutProperties(_ref, _excluded$A);
48264
48274
  var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
48265
48275
  return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
48266
48276
  };
@@ -49059,7 +49069,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
49059
49069
  }, section.content))));
49060
49070
  };
49061
49071
 
49062
- var _excluded$A = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
49072
+ var _excluded$B = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
49063
49073
 
49064
49074
  /**
49065
49075
  - The RadioSection component takes either a flat array (via the 'sections'
@@ -49107,7 +49117,7 @@ var RadioSection = function RadioSection(_ref) {
49107
49117
  _ref$isSectionRequire = _ref.isSectionRequired,
49108
49118
  isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
49109
49119
  groupedSections = _ref.groupedSections,
49110
- rest = _objectWithoutProperties(_ref, _excluded$A);
49120
+ rest = _objectWithoutProperties(_ref, _excluded$B);
49111
49121
  var _useState = useState(null),
49112
49122
  _useState2 = _slicedToArray(_useState, 2),
49113
49123
  focused = _useState2[0],