@thecb/components 11.2.4-beta.1 → 11.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -47257,7 +47257,7 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
47257
47257
  variant: "extraSmall",
47258
47258
  as: "p",
47259
47259
  color: BLACK
47260
- }, "This may mean the balance has been paid and was removed from the system, or that there was an error loading it. .".concat(autoPayEnabled ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button." : ""))));
47260
+ }, "This may mean that the account has been paid off or there was an error loading it. If you have questions about this account, please contact us.".concat(autoPayEnabled ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button." : ""))));
47261
47261
  };
47262
47262
 
47263
47263
  var iconColor = ROYAL_BLUE_VIVID;
@@ -49732,6 +49732,116 @@ var RadioSection = function RadioSection(_ref) {
49732
49732
  };
49733
49733
  var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$T);
49734
49734
 
49735
+ var fallbackValues$U = {
49736
+ primaryColor: ROYAL_BLUE_VIVID,
49737
+ secondaryColor: CHARADE_GREY,
49738
+ background: CORNFLOWER_BLUE
49739
+ };
49740
+
49741
+ var BannerContainer = styled__default(Cluster).withConfig({
49742
+ displayName: "RegistrationBannerstyled__BannerContainer",
49743
+ componentId: "sc-1m1lm4y-0"
49744
+ })(["background:", ";padding:", ";"], function (_ref) {
49745
+ var themeValues = _ref.themeValues;
49746
+ return adjustHexColor(themeValues.background, 10, "lighten");
49747
+ }, function (_ref2) {
49748
+ var isMobile = _ref2.isMobile;
49749
+ return isMobile ? "1rem 2rem" : " 2rem 8.25rem";
49750
+ });
49751
+ var ContentContainer = styled__default(Cluster).withConfig({
49752
+ displayName: "RegistrationBannerstyled__ContentContainer",
49753
+ componentId: "sc-1m1lm4y-1"
49754
+ })(["padding:0;width:", ";> div{flex-direction:", ";}"], function (_ref3) {
49755
+ var isMobile = _ref3.isMobile;
49756
+ return isMobile ? "296px" : " 1176px";
49757
+ }, function (_ref4) {
49758
+ var isMobile = _ref4.isMobile;
49759
+ return isMobile ? "column" : "row";
49760
+ });
49761
+ var ButtonContainer = styled__default(Stack).withConfig({
49762
+ displayName: "RegistrationBannerstyled__ButtonContainer",
49763
+ componentId: "sc-1m1lm4y-2"
49764
+ })(["align-items:center;> a{width:", ";}"], function (_ref5) {
49765
+ var isMobile = _ref5.isMobile;
49766
+ return isMobile ? "296px" : "222px";
49767
+ });
49768
+ var RegisterLink = styled__default(ButtonWithLink).withConfig({
49769
+ displayName: "RegistrationBannerstyled__RegisterLink",
49770
+ componentId: "sc-1m1lm4y-3"
49771
+ })(["border-radius:100px;margin:0;width:100%;"]);
49772
+ var LoginLink = styled__default(ButtonWithLink).withConfig({
49773
+ displayName: "RegistrationBannerstyled__LoginLink",
49774
+ componentId: "sc-1m1lm4y-4"
49775
+ })(["border-radius:100px;padding:0;margin:0;width:100%;min-height:2rem;margin-top:0px;border:none;&:hover{text-decoration:none;}"]);
49776
+
49777
+ var RegistrationBanner = function RegistrationBanner(_ref) {
49778
+ var clientName = _ref.clientName,
49779
+ extraStyles = _ref.extraStyles,
49780
+ _ref$loginLink = _ref.loginLink,
49781
+ loginLink = _ref$loginLink === void 0 ? "/login" : _ref$loginLink,
49782
+ _ref$registrationLink = _ref.registrationLink,
49783
+ registrationLink = _ref$registrationLink === void 0 ? "/registration" : _ref$registrationLink,
49784
+ themeValues = _ref.themeValues,
49785
+ titleAs = _ref.titleAs,
49786
+ titleVariant = _ref.titleVariant;
49787
+ var themeContext = React.useContext(styled.ThemeContext);
49788
+ var isMobile = themeContext.isMobile;
49789
+ return /*#__PURE__*/React__default.createElement(BannerContainer, {
49790
+ extraStyles: extraStyles,
49791
+ themeValues: themeValues,
49792
+ isMobile: isMobile,
49793
+ "aria-label": "Registration Banner",
49794
+ justify: "center"
49795
+ }, /*#__PURE__*/React__default.createElement(ContentContainer, {
49796
+ align: "center",
49797
+ justify: "space-between",
49798
+ overflow: "visible",
49799
+ isMobile: isMobile
49800
+ }, /*#__PURE__*/React__default.createElement(Box, {
49801
+ padding: "0",
49802
+ textAlign: "left"
49803
+ }, /*#__PURE__*/React__default.createElement(Heading$1, {
49804
+ as: titleAs,
49805
+ color: themeValues.primaryColor,
49806
+ fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
49807
+ variant: titleVariant,
49808
+ weight: FONT_WEIGHT_SEMIBOLD
49809
+ }, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React__default.createElement(Text$1, {
49810
+ extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
49811
+ fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.LG,
49812
+ color: themeValues.secondaryColor
49813
+ }, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React__default.createElement(ButtonContainer, {
49814
+ justify: "space-between",
49815
+ fullHeight: true,
49816
+ childGap: "0.5rem",
49817
+ isMobile: isMobile
49818
+ }, /*#__PURE__*/React__default.createElement(RegisterLink, {
49819
+ variant: "secondary",
49820
+ color: themeValues.primaryColor,
49821
+ contentOverride: true,
49822
+ fontWeight: FONT_WEIGHT_SEMIBOLD,
49823
+ url: registrationLink
49824
+ }, /*#__PURE__*/React__default.createElement(Cluster, {
49825
+ justify: "center",
49826
+ align: "center"
49827
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
49828
+ extraStyles: "margin-right: 0.5rem",
49829
+ fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
49830
+ color: themeValues.primaryColor,
49831
+ weight: FONT_WEIGHT_SEMIBOLD
49832
+ }, "Register Now"), /*#__PURE__*/React__default.createElement(ArrowRightIcon, null))), /*#__PURE__*/React__default.createElement(LoginLink, {
49833
+ text: "Log In",
49834
+ variant: "secondary",
49835
+ contentOverride: true,
49836
+ url: loginLink
49837
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
49838
+ fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.MD,
49839
+ color: themeValues.primaryColor,
49840
+ weight: FONT_WEIGHT_SEMIBOLD
49841
+ }, "or Log In")))));
49842
+ };
49843
+ var RegistrationBanner$1 = withWindowSize(themeComponent(RegistrationBanner, "RegistrationBanner", fallbackValues$U));
49844
+
49735
49845
  var RegistrationForm = function RegistrationForm(_ref) {
49736
49846
  var clearOnDismount = _ref.clearOnDismount,
49737
49847
  fields = _ref.fields,
@@ -49850,13 +49960,13 @@ RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
49850
49960
 
49851
49961
  var GRECIAN_GREY$1 = GRECIAN_GREY;
49852
49962
  var bannerBackgroundColor = GRECIAN_GREY$1;
49853
- var fallbackValues$U = {
49963
+ var fallbackValues$V = {
49854
49964
  bannerBackgroundColor: bannerBackgroundColor
49855
49965
  };
49856
49966
 
49857
49967
  var ResetConfirmationForm = function ResetConfirmationForm() {
49858
49968
  var themeContext = React.useContext(styled.ThemeContext);
49859
- var themeValues = createThemeValues(themeContext, fallbackValues$U, "ResetConfirmationForm");
49969
+ var themeValues = createThemeValues(themeContext, fallbackValues$V, "ResetConfirmationForm");
49860
49970
  var isMobile = themeContext.isMobile;
49861
49971
  return /*#__PURE__*/React__default.createElement(Box, {
49862
49972
  padding: "0",
@@ -49971,13 +50081,13 @@ ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
49971
50081
 
49972
50082
  var GRECIAN_GREY$2 = GRECIAN_GREY;
49973
50083
  var bannerBackgroundColor$1 = GRECIAN_GREY$2;
49974
- var fallbackValues$V = {
50084
+ var fallbackValues$W = {
49975
50085
  bannerBackgroundColor: bannerBackgroundColor$1
49976
50086
  };
49977
50087
 
49978
50088
  var ResetPasswordSuccess = function ResetPasswordSuccess() {
49979
50089
  var themeContext = React.useContext(styled.ThemeContext);
49980
- var themeValues = createThemeValues(themeContext, fallbackValues$V, "ResetPasswordSuccess");
50090
+ var themeValues = createThemeValues(themeContext, fallbackValues$W, "ResetPasswordSuccess");
49981
50091
  var isMobile = themeContext.isMobile;
49982
50092
  return /*#__PURE__*/React__default.createElement(Box, {
49983
50093
  padding: "0",
@@ -50026,7 +50136,7 @@ var ResetPasswordSuccess$1 = withWindowSize(ResetPasswordSuccess);
50026
50136
  var activeTabBackground = "#FFFFFF";
50027
50137
  var activeTabAccent = "#15749D";
50028
50138
  var activeTabHover = "#B8D5E1";
50029
- var fallbackValues$W = {
50139
+ var fallbackValues$X = {
50030
50140
  activeTabBackground: activeTabBackground,
50031
50141
  activeTabAccent: activeTabAccent,
50032
50142
  activeTabHover: activeTabHover
@@ -50094,12 +50204,12 @@ var Tabs = function Tabs(_ref) {
50094
50204
  }, tab.content);
50095
50205
  }))));
50096
50206
  };
50097
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$W);
50207
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$X);
50098
50208
 
50099
50209
  var activeTabBackground$1 = "#FFFFFF";
50100
50210
  var activeTabAccent$1 = "#15749D";
50101
50211
  var activeTabHover$1 = "#B8D5E1";
50102
- var fallbackValues$X = {
50212
+ var fallbackValues$Y = {
50103
50213
  activeTabBackground: activeTabBackground$1,
50104
50214
  activeTabAccent: activeTabAccent$1,
50105
50215
  activeTabHover: activeTabHover$1
@@ -50156,7 +50266,7 @@ var TabSidebar = function TabSidebar(_ref) {
50156
50266
  }, text)))));
50157
50267
  })));
50158
50268
  };
50159
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$X);
50269
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$Y);
50160
50270
 
50161
50271
  var Timeout = function Timeout(_ref) {
50162
50272
  var onLogout = _ref.onLogout;
@@ -50277,7 +50387,7 @@ var fontColor$1 = WHITE;
50277
50387
  var textAlign$1 = "left";
50278
50388
  var headerBackgroundColor$1 = BRIGHT_GREY;
50279
50389
  var imageBackgroundColor$1 = MATISSE_BLUE;
50280
- var fallbackValues$Y = {
50390
+ var fallbackValues$Z = {
50281
50391
  fontWeight: fontWeight$8,
50282
50392
  fontColor: fontColor$1,
50283
50393
  textAlign: textAlign$1,
@@ -50322,7 +50432,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
50322
50432
  src: welcomeImage
50323
50433
  })))));
50324
50434
  };
50325
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$Y));
50435
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$Z));
50326
50436
 
50327
50437
  var WorkflowTile = function WorkflowTile(_ref) {
50328
50438
  var _ref$workflowName = _ref.workflowName,
@@ -50382,7 +50492,7 @@ var menuItemColorDelete = RAZZMATAZZ_RED;
50382
50492
  var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
50383
50493
  var menuItemHoverBackgroundColorDelete = BLUSH_RED;
50384
50494
  var menuItemHoverColor = ROYAL_BLUE_VIVID;
50385
- var fallbackValues$Z = {
50495
+ var fallbackValues$_ = {
50386
50496
  menuItemBackgroundColor: menuItemBackgroundColor,
50387
50497
  menuItemColor: menuItemColor,
50388
50498
  menuItemColorDelete: menuItemColorDelete,
@@ -50449,13 +50559,13 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
50449
50559
  extraStyles: textExtraStyles
50450
50560
  }, text)));
50451
50561
  };
50452
- var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$Z);
50562
+ var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$_);
50453
50563
 
50454
50564
  var hoverColor$5 = "#116285";
50455
50565
  var activeColor$a = "#0E506D";
50456
50566
  var menuTriggerColor = "#15749D";
50457
50567
  var backgroundColor$e = "white";
50458
- var fallbackValues$_ = {
50568
+ var fallbackValues$$ = {
50459
50569
  hoverColor: hoverColor$5,
50460
50570
  activeColor: activeColor$a,
50461
50571
  menuTriggerColor: menuTriggerColor,
@@ -50591,13 +50701,13 @@ var PopupMenu = function PopupMenu(_ref) {
50591
50701
  }, item));
50592
50702
  })));
50593
50703
  };
50594
- var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$_);
50704
+ var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$$);
50595
50705
 
50596
50706
  var primaryColor$1 = WHITE;
50597
50707
  var primaryHoverColor = INFO_BLUE;
50598
50708
  var secondaryColor = MATISSE_BLUE;
50599
50709
  var secondaryHoverColor = "#115D7E";
50600
- var fallbackValues$$ = {
50710
+ var fallbackValues$10 = {
50601
50711
  primaryColor: primaryColor$1,
50602
50712
  primaryHoverColor: primaryHoverColor,
50603
50713
  secondaryColor: secondaryColor,
@@ -51299,7 +51409,7 @@ var MultipleSelectFilter = function MultipleSelectFilter(_ref) {
51299
51409
  ariaLabel: "Apply all filters"
51300
51410
  }))));
51301
51411
  };
51302
- var MultipleSelectFilter$1 = themeComponent(MultipleSelectFilter, "MultipleSelectFilter", fallbackValues$$);
51412
+ var MultipleSelectFilter$1 = themeComponent(MultipleSelectFilter, "MultipleSelectFilter", fallbackValues$10);
51303
51413
 
51304
51414
  var TextWrapStyles = styled.css(["word-wrap:break-word;overflow-wrap:break-word;white-space:normal;max-width:100%;"]);
51305
51415
  var Container$1 = styled__default(Box).withConfig({
@@ -51421,7 +51531,7 @@ var ContactCard = function ContactCard(_ref) {
51421
51531
  };
51422
51532
 
51423
51533
  var pageBackground = "#FBFCFD";
51424
- var fallbackValues$10 = {
51534
+ var fallbackValues$11 = {
51425
51535
  pageBackground: pageBackground
51426
51536
  };
51427
51537
 
@@ -51469,7 +51579,7 @@ var CenterSingle = function CenterSingle(_ref) {
51469
51579
  padding: "0"
51470
51580
  })));
51471
51581
  };
51472
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$10));
51582
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$11));
51473
51583
 
51474
51584
  var CenterStack = function CenterStack(_ref) {
51475
51585
  var header = _ref.header,
@@ -51512,7 +51622,7 @@ var CenterStack = function CenterStack(_ref) {
51512
51622
  padding: "0"
51513
51623
  })));
51514
51624
  };
51515
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$10));
51625
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$11));
51516
51626
 
51517
51627
  var CenterSingle$2 = function CenterSingle(_ref) {
51518
51628
  var header = _ref.header,
@@ -51558,7 +51668,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
51558
51668
  padding: "0"
51559
51669
  })));
51560
51670
  };
51561
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$10));
51671
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$11));
51562
51672
 
51563
51673
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
51564
51674
  var header = _ref.header,
@@ -51611,7 +51721,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
51611
51721
  padding: "0"
51612
51722
  })));
51613
51723
  };
51614
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$10));
51724
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$11));
51615
51725
 
51616
51726
  var SidebarStackContent = function SidebarStackContent(_ref) {
51617
51727
  var header = _ref.header,
@@ -51681,7 +51791,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
51681
51791
  key: "footer-box"
51682
51792
  })));
51683
51793
  };
51684
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$10));
51794
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$11));
51685
51795
 
51686
51796
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
51687
51797
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
@@ -51920,6 +52030,7 @@ exports.Reel = Reel;
51920
52030
  exports.RefundIcon = RefundIcon;
51921
52031
  exports.RefundIconMedium = RefundIconMedium;
51922
52032
  exports.RefundIconSmall = RefundIconSmall;
52033
+ exports.RegistrationBanner = RegistrationBanner$1;
51923
52034
  exports.RegistrationForm = RegistrationForm;
51924
52035
  exports.RejectedIcon = RejectedIcon;
51925
52036
  exports.RejectedVelocityIcon = RejectedVelocityIcon;