@thecb/components 11.2.3-beta.4 → 11.2.4-beta.1

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.
Files changed (25) hide show
  1. package/dist/index.cjs.js +93 -210
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +94 -210
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +1 -1
  6. package/src/components/atoms/icons/ExternalLinkIcon.js +2 -1
  7. package/src/components/atoms/layouts/Stack.js +2 -0
  8. package/src/components/atoms/layouts/Stack.styled.js +2 -0
  9. package/src/components/atoms/link/ExternalLink.js +2 -0
  10. package/src/components/atoms/link/ExternalLink.styled.js +4 -1
  11. package/src/components/atoms/link/InternalLink.js +3 -1
  12. package/src/components/atoms/link/InternalLink.styled.js +4 -1
  13. package/src/components/molecules/contact-card/ContactCard.js +59 -25
  14. package/src/components/molecules/contact-card/ContactCard.stories.js +4 -0
  15. package/src/components/molecules/contact-card/ContactCard.styled.js +20 -23
  16. package/src/components/molecules/index.js +0 -1
  17. package/src/util/general.js +0 -36
  18. package/src/components/atoms/.DS_Store +0 -0
  19. package/src/components/molecules/registration-banner/RegistrationBanner.js +0 -112
  20. package/src/components/molecules/registration-banner/RegistrationBanner.mdx +0 -15
  21. package/src/components/molecules/registration-banner/RegistrationBanner.stories.js +0 -80
  22. package/src/components/molecules/registration-banner/RegistrationBanner.styled.js +0 -43
  23. package/src/components/molecules/registration-banner/RegistrationBanner.theme.js +0 -11
  24. package/src/components/molecules/registration-banner/index.d.ts +0 -15
  25. package/src/components/molecules/registration-banner/index.js +0 -3
package/dist/index.cjs.js CHANGED
@@ -6256,38 +6256,6 @@ var adjustHexColor = function adjustHexColor(hex, percent, action) {
6256
6256
  return "#".concat(((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1).padStart(6, "0"));
6257
6257
  };
6258
6258
 
6259
- /**
6260
- * Converts a hex color code to an RGBA color string with the specified alpha value.
6261
- *
6262
- * @param {string} hex - The hex color code (e.g., "#3498db" or "3498db").
6263
- * @param {number} alpha - The alpha value (opacity) between 0 and 1.
6264
- * @returns {string} - The RGBA color string (e.g., "rgba(52, 152, 219, 0.5)").
6265
- * @throws {Error} - Throws an error if the hex code is not a valid 3 or 6-digit hex color.
6266
- */
6267
- var hexToRGBA = function hexToRGBA(hex, alpha) {
6268
- // Remove hash at the start if present
6269
- hex = hex.replace(/^\s*#/, "");
6270
-
6271
- // If hex is 3 characters, convert it to 6 characters.
6272
- if (hex.length === 3) {
6273
- hex = hex.split("").map(function (_char) {
6274
- return _char + _char;
6275
- }).join("");
6276
- }
6277
-
6278
- // Validate hex length
6279
- if (hex.length !== 6) {
6280
- throw new Error("Invalid hex color provided. Expected a 3 or 6-digit hex color.");
6281
- }
6282
-
6283
- // Parse the hex color components
6284
- var bigint = parseInt(hex, 16);
6285
- var r = bigint >> 16 & 255;
6286
- var g = bigint >> 8 & 255;
6287
- var b = bigint & 255;
6288
- return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(alpha, ")");
6289
- };
6290
-
6291
6259
  var general = /*#__PURE__*/Object.freeze({
6292
6260
  __proto__: null,
6293
6261
  noop: noop$1,
@@ -6309,8 +6277,7 @@ var general = /*#__PURE__*/Object.freeze({
6309
6277
  titleCaseString: titleCaseString,
6310
6278
  kebabCaseString: kebabCaseString,
6311
6279
  wrapIndex: wrapIndex,
6312
- adjustHexColor: adjustHexColor,
6313
- hexToRGBA: hexToRGBA
6280
+ adjustHexColor: adjustHexColor
6314
6281
  });
6315
6282
 
6316
6283
  var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
@@ -6825,7 +6792,7 @@ var Sidebar = function Sidebar(_ref) {
6825
6792
  var StackWrapper = styled__default.div.withConfig({
6826
6793
  displayName: "Stackstyled__StackWrapper",
6827
6794
  componentId: "sc-ejhezz-0"
6828
- })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
6795
+ })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";", ""], function (_ref) {
6829
6796
  var direction = _ref.direction;
6830
6797
  return direction;
6831
6798
  }, function (_ref2) {
@@ -6842,9 +6809,12 @@ var StackWrapper = styled__default.div.withConfig({
6842
6809
  var bottomItem = _ref5.bottomItem,
6843
6810
  direction = _ref5.direction;
6844
6811
  return bottomItem ? "\n > :nth-child(".concat(bottomItem, ") {\n ").concat(direction === "row" ? "margin-left: auto;" : "margin-top: auto;", "\n }\n ") : "";
6812
+ }, function (_ref6) {
6813
+ var extraStyles = _ref6.extraStyles;
6814
+ return extraStyles;
6845
6815
  });
6846
6816
 
6847
- var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify"];
6817
+ var _excluded$a = ["childGap", "bottomItem", "fullHeight", "children", "direction", "justify", "extraStyles"];
6848
6818
 
6849
6819
  /*
6850
6820
  Component to impose margin-top between a list of child elements
@@ -6866,13 +6836,15 @@ var Stack = function Stack(_ref) {
6866
6836
  _ref$direction = _ref.direction,
6867
6837
  direction = _ref$direction === void 0 ? "column" : _ref$direction,
6868
6838
  justify = _ref.justify,
6839
+ extraStyles = _ref.extraStyles,
6869
6840
  rest = _objectWithoutProperties(_ref, _excluded$a);
6870
6841
  return /*#__PURE__*/React__default.createElement(StackWrapper, _extends({
6871
6842
  childGap: childGap,
6872
6843
  bottomItem: bottomItem,
6873
6844
  fullHeight: fullHeight,
6874
6845
  direction: direction,
6875
- justify: justify
6846
+ justify: justify,
6847
+ extraStyles: extraStyles
6876
6848
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6877
6849
  };
6878
6850
 
@@ -16170,13 +16142,16 @@ var ErroredIcon = function ErroredIcon() {
16170
16142
 
16171
16143
  var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
16172
16144
  var linkColor = _ref.linkColor,
16173
- text = _ref.text;
16145
+ text = _ref.text,
16146
+ _ref$ariaLabel = _ref.ariaLabel,
16147
+ ariaLabel = _ref$ariaLabel === void 0 ? "External Link" : _ref$ariaLabel;
16174
16148
  return /*#__PURE__*/React__default.createElement("svg", {
16175
16149
  width: "14",
16176
16150
  height: "14",
16177
16151
  viewBox: "0 0 14 14",
16178
16152
  fill: "none",
16179
- xmlns: "http://www.w3.org/2000/svg"
16153
+ xmlns: "http://www.w3.org/2000/svg",
16154
+ "aria-label": ariaLabel
16180
16155
  }, /*#__PURE__*/React__default.createElement("path", {
16181
16156
  fillRule: "evenodd",
16182
16157
  clipRule: "evenodd",
@@ -22291,7 +22266,7 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
22291
22266
  })).withConfig({
22292
22267
  displayName: "ExternalLinkstyled__StyledExternalLink",
22293
22268
  componentId: "sc-m1q2m2-0"
22294
- })(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";text-decoration:", ";&:hover{color:", ";}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{color:", ";}", ""], function (_ref2) {
22269
+ })(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";text-decoration:", ";&:hover{color:", ";text-decoration:", ";}&:focus{outline:3px solid ", ";outline-offset:2px;text-decoration:", ";}&:active{color:", ";}", ""], function (_ref2) {
22295
22270
  var size = _ref2.size;
22296
22271
  return size;
22297
22272
  }, function (_ref3) {
@@ -22306,14 +22281,17 @@ var StyledExternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
22306
22281
  }, function (_ref6) {
22307
22282
  var lineheight = _ref6.lineheight;
22308
22283
  return lineheight;
22309
- }, LINK_TEXT_DECORATION$3, function (_ref7) {
22310
- var hoverColor = _ref7.hoverColor;
22284
+ }, function (_ref7) {
22285
+ var isUnderlined = _ref7.isUnderlined;
22286
+ return isUnderlined ? LINK_TEXT_DECORATION$3 : "none";
22287
+ }, function (_ref8) {
22288
+ var hoverColor = _ref8.hoverColor;
22311
22289
  return hoverColor;
22312
- }, ROYAL_BLUE$1, function (_ref8) {
22313
- var activeColor = _ref8.activeColor;
22290
+ }, LINK_TEXT_DECORATION$3, ROYAL_BLUE$1, LINK_TEXT_DECORATION$3, function (_ref9) {
22291
+ var activeColor = _ref9.activeColor;
22314
22292
  return activeColor;
22315
- }, function (_ref9) {
22316
- var extrastyles = _ref9.extrastyles;
22293
+ }, function (_ref10) {
22294
+ var extrastyles = _ref10.extrastyles;
22317
22295
  return extrastyles;
22318
22296
  });
22319
22297
  /* eslint-enable no-unused-vars */
@@ -22339,6 +22317,8 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
22339
22317
  tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
22340
22318
  dataQa = _ref.dataQa,
22341
22319
  ariaLabel = _ref.ariaLabel,
22320
+ _ref$isUnderlined = _ref.isUnderlined,
22321
+ isUnderlined = _ref$isUnderlined === void 0 ? true : _ref$isUnderlined,
22342
22322
  children = _ref.children;
22343
22323
  var themeContext = React.useContext(styled.ThemeContext);
22344
22324
  var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
@@ -22371,6 +22351,7 @@ var ExternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
22371
22351
  rel: newTab ? "noopener" : "",
22372
22352
  "data-qa": dataQa,
22373
22353
  "aria-label": ariaLabel,
22354
+ isUnderlined: isUnderlined,
22374
22355
  ref: ref
22375
22356
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null))));
22376
22357
  });
@@ -22398,7 +22379,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
22398
22379
  })).withConfig({
22399
22380
  displayName: "InternalLinkstyled__StyledInternalLink",
22400
22381
  componentId: "sc-cuqxud-0"
22401
- })(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";text-decoration:", ";&:hover{color:", ";}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{color:", ";}", ""], function (_ref2) {
22382
+ })(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";text-decoration:", ";&:hover{color:", ";text-decoration:", ";}&:focus{outline:3px solid ", ";outline-offset:2px;text-decoration:", ";}&:active{color:", ";}", ""], function (_ref2) {
22402
22383
  var color = _ref2.color,
22403
22384
  active = _ref2.active,
22404
22385
  activeColor = _ref2.activeColor;
@@ -22418,14 +22399,17 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
22418
22399
  }, function (_ref7) {
22419
22400
  var margin = _ref7.margin;
22420
22401
  return margin;
22421
- }, LINK_TEXT_DECORATION$4, function (_ref8) {
22422
- var hoverColor = _ref8.hoverColor;
22402
+ }, function (_ref8) {
22403
+ var isUnderlined = _ref8.isUnderlined;
22404
+ return isUnderlined ? LINK_TEXT_DECORATION$4 : "none";
22405
+ }, function (_ref9) {
22406
+ var hoverColor = _ref9.hoverColor;
22423
22407
  return hoverColor;
22424
- }, ROYAL_BLUE$2, function (_ref9) {
22425
- var activeColor = _ref9.activeColor;
22408
+ }, LINK_TEXT_DECORATION$4, ROYAL_BLUE$2, LINK_TEXT_DECORATION$4, function (_ref10) {
22409
+ var activeColor = _ref10.activeColor;
22426
22410
  return activeColor;
22427
- }, function (_ref10) {
22428
- var extrastyles = _ref10.extrastyles;
22411
+ }, function (_ref11) {
22412
+ var extrastyles = _ref11.extrastyles;
22429
22413
  return extrastyles;
22430
22414
  });
22431
22415
  /* eslint-enable no-unused-vars */
@@ -22446,7 +22430,9 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
22446
22430
  tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
22447
22431
  dataQa = _ref.dataQa,
22448
22432
  _ref$extraStyles = _ref.extraStyles,
22449
- extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
22433
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
22434
+ _ref$isUnderlined = _ref.isUnderlined,
22435
+ isUnderlined = _ref$isUnderlined === void 0 ? true : _ref$isUnderlined;
22450
22436
  var themeContext = React.useContext(styled.ThemeContext);
22451
22437
  var themeValues = createThemeValues(themeContext, fallbackValues$a, "Link", variant);
22452
22438
  return /*#__PURE__*/React__default.createElement(StyledInternalLink, {
@@ -22463,6 +22449,7 @@ var InternalLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
22463
22449
  tabIndex: tabIndex,
22464
22450
  extrastyles: extraStyles,
22465
22451
  "data-qa": dataQa,
22452
+ isUnderlined: isUnderlined,
22466
22453
  ref: ref
22467
22454
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
22468
22455
  });
@@ -49745,118 +49732,6 @@ var RadioSection = function RadioSection(_ref) {
49745
49732
  };
49746
49733
  var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$T);
49747
49734
 
49748
- var fallbackValues$U = {
49749
- primaryColor: ROYAL_BLUE_VIVID,
49750
- secondaryColor: CHARADE_GREY,
49751
- background: CORNFLOWER_BLUE
49752
- };
49753
-
49754
- var BannerContainer = styled__default(Cluster).withConfig({
49755
- displayName: "RegistrationBannerstyled__BannerContainer",
49756
- componentId: "sc-1m1lm4y-0"
49757
- })(["background:", ";padding:", ";"], function (_ref) {
49758
- var themeValues = _ref.themeValues;
49759
- return hexToRGBA(themeValues.background, 0.9);
49760
- }, function (_ref2) {
49761
- var isMobile = _ref2.isMobile;
49762
- return isMobile ? "1rem 2rem" : " 2rem 8.25rem";
49763
- });
49764
- var ContentContainer = styled__default(Cluster).withConfig({
49765
- displayName: "RegistrationBannerstyled__ContentContainer",
49766
- componentId: "sc-1m1lm4y-1"
49767
- })(["padding:0;width:", ";> div{flex-direction:", ";}"], function (_ref3) {
49768
- var isMobile = _ref3.isMobile;
49769
- return isMobile ? "296px" : " 1176px";
49770
- }, function (_ref4) {
49771
- var isMobile = _ref4.isMobile;
49772
- return isMobile ? "column" : "row";
49773
- });
49774
- var ButtonContainer = styled__default(Stack).withConfig({
49775
- displayName: "RegistrationBannerstyled__ButtonContainer",
49776
- componentId: "sc-1m1lm4y-2"
49777
- })(["align-items:center;> a{width:", ";}"], function (_ref5) {
49778
- var isMobile = _ref5.isMobile;
49779
- return isMobile ? "296px" : "222px";
49780
- });
49781
- var RegisterLink = styled__default(ButtonWithLink).withConfig({
49782
- displayName: "RegistrationBannerstyled__RegisterLink",
49783
- componentId: "sc-1m1lm4y-3"
49784
- })(["border-radius:100px;margin:0;width:100%;"]);
49785
- var LoginLink = styled__default(ButtonWithLink).withConfig({
49786
- displayName: "RegistrationBannerstyled__LoginLink",
49787
- componentId: "sc-1m1lm4y-4"
49788
- })(["border-radius:100px;padding:0;margin:0;width:100%;min-height:2rem;margin-top:0px;border:none;&:hover{text-decoration:none;}"]);
49789
-
49790
- var RegistrationBanner = function RegistrationBanner(_ref) {
49791
- var clientName = _ref.clientName,
49792
- extraStyles = _ref.extraStyles,
49793
- _ref$loginLink = _ref.loginLink,
49794
- loginLink = _ref$loginLink === void 0 ? "/login" : _ref$loginLink,
49795
- _ref$registrationLink = _ref.registrationLink,
49796
- registrationLink = _ref$registrationLink === void 0 ? "/registration" : _ref$registrationLink,
49797
- themeValues = _ref.themeValues,
49798
- titleAs = _ref.titleAs,
49799
- titleVariant = _ref.titleVariant;
49800
- var themeContext = React.useContext(styled.ThemeContext);
49801
- var isMobile = themeContext.isMobile;
49802
- return /*#__PURE__*/React__default.createElement(BannerContainer, {
49803
- extraStyles: extraStyles,
49804
- themeValues: themeValues,
49805
- isMobile: isMobile,
49806
- role: "banner",
49807
- "aria-label": "Registration Banner",
49808
- justify: "center"
49809
- }, /*#__PURE__*/React__default.createElement(ContentContainer, {
49810
- role: "main",
49811
- align: "center",
49812
- justify: "space-between",
49813
- overflow: "visible",
49814
- isMobile: isMobile
49815
- }, /*#__PURE__*/React__default.createElement(Box, {
49816
- padding: "0",
49817
- textAlign: "left"
49818
- }, /*#__PURE__*/React__default.createElement(Heading$1, {
49819
- as: titleAs,
49820
- color: themeValues.primaryColor,
49821
- fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
49822
- variant: titleVariant,
49823
- weight: FONT_WEIGHT_SEMIBOLD
49824
- }, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React__default.createElement(Text$1, {
49825
- extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
49826
- fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.LG,
49827
- color: themeValues.secondaryColor
49828
- }, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React__default.createElement(ButtonContainer, {
49829
- justify: "space-between",
49830
- fullHeight: true,
49831
- childGap: "0.5rem",
49832
- isMobile: isMobile
49833
- }, /*#__PURE__*/React__default.createElement(RegisterLink, {
49834
- variant: "secondary",
49835
- color: themeValues.primaryColor,
49836
- contentOverride: true,
49837
- fontWeight: FONT_WEIGHT_SEMIBOLD,
49838
- url: registrationLink
49839
- }, /*#__PURE__*/React__default.createElement(Cluster, {
49840
- justify: "center",
49841
- align: "center"
49842
- }, /*#__PURE__*/React__default.createElement(Text$1, {
49843
- extraStyles: "margin-right: 0.5rem",
49844
- fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
49845
- color: themeValues.primaryColor,
49846
- weight: FONT_WEIGHT_SEMIBOLD
49847
- }, "Register Now"), /*#__PURE__*/React__default.createElement(ArrowRightIcon, null))), /*#__PURE__*/React__default.createElement(LoginLink, {
49848
- text: "Log In",
49849
- variant: "secondary",
49850
- contentOverride: true,
49851
- url: loginLink
49852
- }, /*#__PURE__*/React__default.createElement(Text$1, {
49853
- fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.MD,
49854
- color: themeValues.primaryColor,
49855
- weight: FONT_WEIGHT_SEMIBOLD
49856
- }, "or Log In")))));
49857
- };
49858
- var RegistrationBanner$1 = withWindowSize(themeComponent(RegistrationBanner, "RegistrationBanner", fallbackValues$U));
49859
-
49860
49735
  var RegistrationForm = function RegistrationForm(_ref) {
49861
49736
  var clearOnDismount = _ref.clearOnDismount,
49862
49737
  fields = _ref.fields,
@@ -49975,13 +49850,13 @@ RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
49975
49850
 
49976
49851
  var GRECIAN_GREY$1 = GRECIAN_GREY;
49977
49852
  var bannerBackgroundColor = GRECIAN_GREY$1;
49978
- var fallbackValues$V = {
49853
+ var fallbackValues$U = {
49979
49854
  bannerBackgroundColor: bannerBackgroundColor
49980
49855
  };
49981
49856
 
49982
49857
  var ResetConfirmationForm = function ResetConfirmationForm() {
49983
49858
  var themeContext = React.useContext(styled.ThemeContext);
49984
- var themeValues = createThemeValues(themeContext, fallbackValues$V, "ResetConfirmationForm");
49859
+ var themeValues = createThemeValues(themeContext, fallbackValues$U, "ResetConfirmationForm");
49985
49860
  var isMobile = themeContext.isMobile;
49986
49861
  return /*#__PURE__*/React__default.createElement(Box, {
49987
49862
  padding: "0",
@@ -50096,13 +49971,13 @@ ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
50096
49971
 
50097
49972
  var GRECIAN_GREY$2 = GRECIAN_GREY;
50098
49973
  var bannerBackgroundColor$1 = GRECIAN_GREY$2;
50099
- var fallbackValues$W = {
49974
+ var fallbackValues$V = {
50100
49975
  bannerBackgroundColor: bannerBackgroundColor$1
50101
49976
  };
50102
49977
 
50103
49978
  var ResetPasswordSuccess = function ResetPasswordSuccess() {
50104
49979
  var themeContext = React.useContext(styled.ThemeContext);
50105
- var themeValues = createThemeValues(themeContext, fallbackValues$W, "ResetPasswordSuccess");
49980
+ var themeValues = createThemeValues(themeContext, fallbackValues$V, "ResetPasswordSuccess");
50106
49981
  var isMobile = themeContext.isMobile;
50107
49982
  return /*#__PURE__*/React__default.createElement(Box, {
50108
49983
  padding: "0",
@@ -50151,7 +50026,7 @@ var ResetPasswordSuccess$1 = withWindowSize(ResetPasswordSuccess);
50151
50026
  var activeTabBackground = "#FFFFFF";
50152
50027
  var activeTabAccent = "#15749D";
50153
50028
  var activeTabHover = "#B8D5E1";
50154
- var fallbackValues$X = {
50029
+ var fallbackValues$W = {
50155
50030
  activeTabBackground: activeTabBackground,
50156
50031
  activeTabAccent: activeTabAccent,
50157
50032
  activeTabHover: activeTabHover
@@ -50219,12 +50094,12 @@ var Tabs = function Tabs(_ref) {
50219
50094
  }, tab.content);
50220
50095
  }))));
50221
50096
  };
50222
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$X);
50097
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$W);
50223
50098
 
50224
50099
  var activeTabBackground$1 = "#FFFFFF";
50225
50100
  var activeTabAccent$1 = "#15749D";
50226
50101
  var activeTabHover$1 = "#B8D5E1";
50227
- var fallbackValues$Y = {
50102
+ var fallbackValues$X = {
50228
50103
  activeTabBackground: activeTabBackground$1,
50229
50104
  activeTabAccent: activeTabAccent$1,
50230
50105
  activeTabHover: activeTabHover$1
@@ -50281,7 +50156,7 @@ var TabSidebar = function TabSidebar(_ref) {
50281
50156
  }, text)))));
50282
50157
  })));
50283
50158
  };
50284
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$Y);
50159
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$X);
50285
50160
 
50286
50161
  var Timeout = function Timeout(_ref) {
50287
50162
  var onLogout = _ref.onLogout;
@@ -50402,7 +50277,7 @@ var fontColor$1 = WHITE;
50402
50277
  var textAlign$1 = "left";
50403
50278
  var headerBackgroundColor$1 = BRIGHT_GREY;
50404
50279
  var imageBackgroundColor$1 = MATISSE_BLUE;
50405
- var fallbackValues$Z = {
50280
+ var fallbackValues$Y = {
50406
50281
  fontWeight: fontWeight$8,
50407
50282
  fontColor: fontColor$1,
50408
50283
  textAlign: textAlign$1,
@@ -50447,7 +50322,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
50447
50322
  src: welcomeImage
50448
50323
  })))));
50449
50324
  };
50450
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$Z));
50325
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$Y));
50451
50326
 
50452
50327
  var WorkflowTile = function WorkflowTile(_ref) {
50453
50328
  var _ref$workflowName = _ref.workflowName,
@@ -50507,7 +50382,7 @@ var menuItemColorDelete = RAZZMATAZZ_RED;
50507
50382
  var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
50508
50383
  var menuItemHoverBackgroundColorDelete = BLUSH_RED;
50509
50384
  var menuItemHoverColor = ROYAL_BLUE_VIVID;
50510
- var fallbackValues$_ = {
50385
+ var fallbackValues$Z = {
50511
50386
  menuItemBackgroundColor: menuItemBackgroundColor,
50512
50387
  menuItemColor: menuItemColor,
50513
50388
  menuItemColorDelete: menuItemColorDelete,
@@ -50574,13 +50449,13 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
50574
50449
  extraStyles: textExtraStyles
50575
50450
  }, text)));
50576
50451
  };
50577
- var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$_);
50452
+ var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$Z);
50578
50453
 
50579
50454
  var hoverColor$5 = "#116285";
50580
50455
  var activeColor$a = "#0E506D";
50581
50456
  var menuTriggerColor = "#15749D";
50582
50457
  var backgroundColor$e = "white";
50583
- var fallbackValues$$ = {
50458
+ var fallbackValues$_ = {
50584
50459
  hoverColor: hoverColor$5,
50585
50460
  activeColor: activeColor$a,
50586
50461
  menuTriggerColor: menuTriggerColor,
@@ -50716,13 +50591,13 @@ var PopupMenu = function PopupMenu(_ref) {
50716
50591
  }, item));
50717
50592
  })));
50718
50593
  };
50719
- var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$$);
50594
+ var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$_);
50720
50595
 
50721
50596
  var primaryColor$1 = WHITE;
50722
50597
  var primaryHoverColor = INFO_BLUE;
50723
50598
  var secondaryColor = MATISSE_BLUE;
50724
50599
  var secondaryHoverColor = "#115D7E";
50725
- var fallbackValues$10 = {
50600
+ var fallbackValues$$ = {
50726
50601
  primaryColor: primaryColor$1,
50727
50602
  primaryHoverColor: primaryHoverColor,
50728
50603
  secondaryColor: secondaryColor,
@@ -51424,28 +51299,24 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
51424
51299
  ariaLabel: "Apply all filters"
51425
51300
  }))));
51426
51301
  };
51427
- var MultipleSelectFilter$1 = themeComponent(MultipleSelectFilter, "MultipleSelectFilter", fallbackValues$10);
51302
+ var MultipleSelectFilter$1 = themeComponent(MultipleSelectFilter, "MultipleSelectFilter", fallbackValues$$);
51428
51303
 
51304
+ var TextWrapStyles = styled.css(["word-wrap:break-word;overflow-wrap:break-word;white-space:normal;max-width:100%;"]);
51429
51305
  var Container$1 = styled__default(Box).withConfig({
51430
51306
  displayName: "ContactCardstyled__Container",
51431
51307
  componentId: "sc-1v62a1n-0"
51432
- })(["height:fit-content;display:flex;padding:1rem;flex-direction:column;align-items:flex-start;gap:1.5rem;border-radius:8px;"]);
51308
+ })(["height:fit-content;display:flex;padding:1rem;flex-direction:column;align-items:flex-start;gap:1.5rem;border-radius:8px;", ""], function (_ref) {
51309
+ var extraStyles = _ref.extraStyles;
51310
+ return extraStyles;
51311
+ });
51433
51312
  var Title$3 = styled__default(Heading$1).withConfig({
51434
51313
  displayName: "ContactCardstyled__Title",
51435
51314
  componentId: "sc-1v62a1n-1"
51436
- })(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;background-color:transparent;font-weight:", ";"], FONT_WEIGHT_SEMIBOLD);
51315
+ })(["", ""], TextWrapStyles);
51437
51316
  var Content = styled__default(Box).withConfig({
51438
51317
  displayName: "ContactCardstyled__Content",
51439
51318
  componentId: "sc-1v62a1n-2"
51440
- })(["padding:0;font-size:", ";line-height:1.313rem;overflow-wrap:normal;letter-spacing:0.14px;"], FONT_SIZE.SM);
51441
- var Footer$1 = styled__default(Stack).withConfig({
51442
- displayName: "ContactCardstyled__Footer",
51443
- componentId: "sc-1v62a1n-3"
51444
- })(["width:100%;"]);
51445
- var Divider = styled__default(Box).withConfig({
51446
- displayName: "ContactCardstyled__Divider",
51447
- componentId: "sc-1v62a1n-4"
51448
- })(["padding:0;height:1px;width:100%;"]);
51319
+ })(["word-break:break-word;padding:0;font-size:", ";line-height:1.313rem;letter-spacing:0.14px;", " p{margin:0;}p,span{line-height:1.313rem;}"], FONT_SIZE.SM, TextWrapStyles);
51449
51320
 
51450
51321
  var ContactCard = function ContactCard(_ref) {
51451
51322
  var title = _ref.title,
@@ -51471,9 +51342,10 @@ var ContactCard = function ContactCard(_ref) {
51471
51342
  var linkThemeValues = createThemeValues(themeContext, linkFallbackValues, "Link", linkVariant);
51472
51343
  return /*#__PURE__*/React__default.createElement(Container$1, {
51473
51344
  borderRadius: "8px",
51345
+ background: WHITE,
51474
51346
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.25)",
51475
51347
  dataQa: createIdFromString(title, "contact-card"),
51476
- maxWidth: isMobile ? "100%" : "208px",
51348
+ maxWidth: "100%",
51477
51349
  minWidth: isMobile ? "240px" : "208px",
51478
51350
  minHeight: "141px",
51479
51351
  padding: "1.5rem",
@@ -51494,7 +51366,8 @@ var ContactCard = function ContactCard(_ref) {
51494
51366
  }, /*#__PURE__*/React__default.createElement(Title$3, {
51495
51367
  variant: titleVariant,
51496
51368
  margin: 0,
51497
- fontSize: FONT_SIZE.MD
51369
+ fontSize: FONT_SIZE.MD,
51370
+ weight: FONT_WEIGHT_SEMIBOLD
51498
51371
  }, title)), /*#__PURE__*/React__default.createElement(Box, {
51499
51372
  padding: "0",
51500
51373
  width: "100%"
@@ -51511,33 +51384,44 @@ var ContactCard = function ContactCard(_ref) {
51511
51384
  }, /*#__PURE__*/React__default.createElement(Title$3, {
51512
51385
  variant: titleVariant,
51513
51386
  margin: 0,
51514
- fontSize: FONT_SIZE.MD
51387
+ fontSize: FONT_SIZE.MD,
51388
+ weight: FONT_WEIGHT_SEMIBOLD
51515
51389
  }, secondTitle), /*#__PURE__*/React__default.createElement(Stack, {
51516
51390
  childGap: "4px",
51517
51391
  justify: "space-between",
51518
- style: {
51519
- width: "100%"
51520
- },
51392
+ extraStyles: "width: 100%;",
51521
51393
  fullHeight: true
51522
51394
  }, links.map(function (link) {
51523
51395
  var linkID = createIdFromString(link.text, "contact-card-link");
51524
- return /*#__PURE__*/React__default.createElement(ExternalLink, {
51396
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, test(URL_TEST, link.link) ? /*#__PURE__*/React__default.createElement(ExternalLink, {
51525
51397
  key: linkID,
51526
51398
  dataQa: linkID,
51527
51399
  href: link.link,
51528
51400
  newTab: true,
51529
- extraStyles: "\n flex-direction: row;\n align-items: center;\n align-content: flex-start;\n justify-content: space-between;\n ",
51401
+ isUnderlined: false,
51402
+ extraStyles: "\n flex-direction: row;\n align-items: center;\n align-content: flex-start;\n justify-content: space-between;\n word-break: break-word;\n ".concat(TextWrapStyles, "\n "),
51530
51403
  size: FONT_SIZE.SM,
51531
51404
  lineHeight: "1.313rem"
51532
51405
  }, link.text, /*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
51533
51406
  linkColor: linkThemeValues.externalLinkColor,
51534
- text: link.text
51535
- }));
51407
+ text: link.text,
51408
+ ariaLabel: "(Opens in a new tab)"
51409
+ })) : /*#__PURE__*/React__default.createElement(InternalLink, {
51410
+ key: linkID,
51411
+ to: link.link,
51412
+ dataQa: linkID,
51413
+ fontSize: FONT_SIZE.SM,
51414
+ color: linkThemeValues.externalLinkColor,
51415
+ isUnderlined: false,
51416
+ active: false,
51417
+ lineheight: "1.313rem",
51418
+ extraStyles: "\n word-break: break-word;\n ".concat(TextWrapStyles, "\n ")
51419
+ }, link.text));
51536
51420
  })))));
51537
51421
  };
51538
51422
 
51539
51423
  var pageBackground = "#FBFCFD";
51540
- var fallbackValues$11 = {
51424
+ var fallbackValues$10 = {
51541
51425
  pageBackground: pageBackground
51542
51426
  };
51543
51427
 
@@ -51585,7 +51469,7 @@ var CenterSingle = function CenterSingle(_ref) {
51585
51469
  padding: "0"
51586
51470
  })));
51587
51471
  };
51588
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$11));
51472
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$10));
51589
51473
 
51590
51474
  var CenterStack = function CenterStack(_ref) {
51591
51475
  var header = _ref.header,
@@ -51628,7 +51512,7 @@ var CenterStack = function CenterStack(_ref) {
51628
51512
  padding: "0"
51629
51513
  })));
51630
51514
  };
51631
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$11));
51515
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$10));
51632
51516
 
51633
51517
  var CenterSingle$2 = function CenterSingle(_ref) {
51634
51518
  var header = _ref.header,
@@ -51674,7 +51558,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
51674
51558
  padding: "0"
51675
51559
  })));
51676
51560
  };
51677
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$11));
51561
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$10));
51678
51562
 
51679
51563
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
51680
51564
  var header = _ref.header,
@@ -51727,7 +51611,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
51727
51611
  padding: "0"
51728
51612
  })));
51729
51613
  };
51730
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$11));
51614
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$10));
51731
51615
 
51732
51616
  var SidebarStackContent = function SidebarStackContent(_ref) {
51733
51617
  var header = _ref.header,
@@ -51797,7 +51681,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
51797
51681
  key: "footer-box"
51798
51682
  })));
51799
51683
  };
51800
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$11));
51684
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$10));
51801
51685
 
51802
51686
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
51803
51687
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
@@ -52036,7 +51920,6 @@ exports.Reel = Reel;
52036
51920
  exports.RefundIcon = RefundIcon;
52037
51921
  exports.RefundIconMedium = RefundIconMedium;
52038
51922
  exports.RefundIconSmall = RefundIconSmall;
52039
- exports.RegistrationBanner = RegistrationBanner$1;
52040
51923
  exports.RegistrationForm = RegistrationForm;
52041
51924
  exports.RejectedIcon = RejectedIcon;
52042
51925
  exports.RejectedVelocityIcon = RejectedVelocityIcon;