@thecb/components 10.7.0-beta.1 → 10.7.0

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
@@ -49035,9 +49035,16 @@ RegistrationForm.reducer = reducer$9;
49035
49035
  RegistrationForm.mapStateToProps = mapStateToProps$a;
49036
49036
  RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
49037
49037
 
49038
+ var GRECIAN_GREY$1 = GRECIAN_GREY;
49039
+ var bannerBackgroundColor = GRECIAN_GREY$1;
49040
+ var fallbackValues$R = {
49041
+ bannerBackgroundColor: bannerBackgroundColor
49042
+ };
49043
+
49038
49044
  var ResetConfirmationForm = function ResetConfirmationForm() {
49039
- var _useContext = React.useContext(styled.ThemeContext),
49040
- isMobile = _useContext.isMobile;
49045
+ var themeContext = React.useContext(styled.ThemeContext);
49046
+ var themeValues = createThemeValues(themeContext, fallbackValues$R, "ResetConfirmationForm");
49047
+ var isMobile = themeContext.isMobile;
49041
49048
  return /*#__PURE__*/React__default.createElement(Box, {
49042
49049
  padding: "0",
49043
49050
  width: isMobile ? "auto" : "576px",
@@ -49045,7 +49052,7 @@ var ResetConfirmationForm = function ResetConfirmationForm() {
49045
49052
  background: WHITE,
49046
49053
  boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
49047
49054
  }, /*#__PURE__*/React__default.createElement(Box, {
49048
- background: GRECIAN_GREY,
49055
+ background: themeValues.bannerBackgroundColor,
49049
49056
  minWidth: "100%",
49050
49057
  padding: "0.5rem"
49051
49058
  }, /*#__PURE__*/React__default.createElement(Cluster, {
@@ -49149,9 +49156,16 @@ ResetPasswordForm.reducer = reducer$a;
49149
49156
  ResetPasswordForm.mapStateToProps = mapStateToProps$b;
49150
49157
  ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
49151
49158
 
49152
- var ResetConfirmationForm$2 = function ResetConfirmationForm() {
49153
- var _useContext = React.useContext(styled.ThemeContext),
49154
- isMobile = _useContext.isMobile;
49159
+ var GRECIAN_GREY$2 = GRECIAN_GREY;
49160
+ var bannerBackgroundColor$1 = GRECIAN_GREY$2;
49161
+ var fallbackValues$S = {
49162
+ bannerBackgroundColor: bannerBackgroundColor$1
49163
+ };
49164
+
49165
+ var ResetPasswordSuccess = function ResetPasswordSuccess() {
49166
+ var themeContext = React.useContext(styled.ThemeContext);
49167
+ var themeValues = createThemeValues(themeContext, fallbackValues$S, "ResetPasswordSuccess");
49168
+ var isMobile = themeContext.isMobile;
49155
49169
  return /*#__PURE__*/React__default.createElement(Box, {
49156
49170
  padding: "0",
49157
49171
  width: isMobile ? "auto" : "576px",
@@ -49159,7 +49173,7 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
49159
49173
  background: WHITE,
49160
49174
  boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
49161
49175
  }, /*#__PURE__*/React__default.createElement(Box, {
49162
- background: GRECIAN_GREY,
49176
+ background: themeValues.bannerBackgroundColor,
49163
49177
  minWidth: "100%",
49164
49178
  padding: "0.5rem"
49165
49179
  }, /*#__PURE__*/React__default.createElement(Cluster, {
@@ -49194,12 +49208,12 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
49194
49208
  linkExtraStyles: "width: 100%;"
49195
49209
  }))))));
49196
49210
  };
49197
- var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
49211
+ var ResetPasswordSuccess$1 = withWindowSize(ResetPasswordSuccess);
49198
49212
 
49199
49213
  var activeTabBackground = "#FFFFFF";
49200
49214
  var activeTabAccent = "#15749D";
49201
49215
  var activeTabHover = "#B8D5E1";
49202
- var fallbackValues$R = {
49216
+ var fallbackValues$T = {
49203
49217
  activeTabBackground: activeTabBackground,
49204
49218
  activeTabAccent: activeTabAccent,
49205
49219
  activeTabHover: activeTabHover
@@ -49267,12 +49281,12 @@ var Tabs = function Tabs(_ref) {
49267
49281
  }, tab.content);
49268
49282
  }))));
49269
49283
  };
49270
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$R);
49284
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$T);
49271
49285
 
49272
49286
  var activeTabBackground$1 = "#FFFFFF";
49273
49287
  var activeTabAccent$1 = "#15749D";
49274
49288
  var activeTabHover$1 = "#B8D5E1";
49275
- var fallbackValues$S = {
49289
+ var fallbackValues$U = {
49276
49290
  activeTabBackground: activeTabBackground$1,
49277
49291
  activeTabAccent: activeTabAccent$1,
49278
49292
  activeTabHover: activeTabHover$1
@@ -49327,7 +49341,7 @@ var TabSidebar = function TabSidebar(_ref) {
49327
49341
  }, text)))));
49328
49342
  })));
49329
49343
  };
49330
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$S);
49344
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$U);
49331
49345
 
49332
49346
  var Timeout = function Timeout(_ref) {
49333
49347
  var onLogout = _ref.onLogout;
@@ -49427,7 +49441,7 @@ var fontColor$1 = WHITE;
49427
49441
  var textAlign$1 = "left";
49428
49442
  var headerBackgroundColor$1 = BRIGHT_GREY;
49429
49443
  var imageBackgroundColor$1 = MATISSE_BLUE;
49430
- var fallbackValues$T = {
49444
+ var fallbackValues$V = {
49431
49445
  fontWeight: fontWeight$8,
49432
49446
  fontColor: fontColor$1,
49433
49447
  textAlign: textAlign$1,
@@ -49472,7 +49486,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
49472
49486
  src: welcomeImage
49473
49487
  })))));
49474
49488
  };
49475
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$T));
49489
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$V));
49476
49490
 
49477
49491
  var WorkflowTile = function WorkflowTile(_ref) {
49478
49492
  var _ref$workflowName = _ref.workflowName,
@@ -49532,7 +49546,7 @@ var menuItemColorDelete = RAZZMATAZZ_RED;
49532
49546
  var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
49533
49547
  var menuItemHoverBackgroundColorDelete = BLUSH_RED;
49534
49548
  var menuItemHoverColor = ROYAL_BLUE_VIVID;
49535
- var fallbackValues$U = {
49549
+ var fallbackValues$W = {
49536
49550
  menuItemBackgroundColor: menuItemBackgroundColor,
49537
49551
  menuItemColor: menuItemColor,
49538
49552
  menuItemColorDelete: menuItemColorDelete,
@@ -49599,13 +49613,13 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
49599
49613
  extraStyles: textExtraStyles
49600
49614
  }, text)));
49601
49615
  };
49602
- var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$U);
49616
+ var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$W);
49603
49617
 
49604
49618
  var hoverColor$5 = "#116285";
49605
49619
  var activeColor$9 = "#0E506D";
49606
49620
  var menuTriggerColor = "#15749D";
49607
49621
  var backgroundColor$e = "white";
49608
- var fallbackValues$V = {
49622
+ var fallbackValues$X = {
49609
49623
  hoverColor: hoverColor$5,
49610
49624
  activeColor: activeColor$9,
49611
49625
  menuTriggerColor: menuTriggerColor,
@@ -49741,10 +49755,10 @@ var PopupMenu = function PopupMenu(_ref) {
49741
49755
  }, item));
49742
49756
  })));
49743
49757
  };
49744
- var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$V);
49758
+ var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$X);
49745
49759
 
49746
49760
  var pageBackground = "#FBFCFD";
49747
- var fallbackValues$W = {
49761
+ var fallbackValues$Y = {
49748
49762
  pageBackground: pageBackground
49749
49763
  };
49750
49764
 
@@ -49792,7 +49806,7 @@ var CenterSingle = function CenterSingle(_ref) {
49792
49806
  padding: "0"
49793
49807
  })));
49794
49808
  };
49795
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
49809
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$Y));
49796
49810
 
49797
49811
  var CenterStack = function CenterStack(_ref) {
49798
49812
  var header = _ref.header,
@@ -49835,7 +49849,7 @@ var CenterStack = function CenterStack(_ref) {
49835
49849
  padding: "0"
49836
49850
  })));
49837
49851
  };
49838
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
49852
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$Y));
49839
49853
 
49840
49854
  var CenterSingle$2 = function CenterSingle(_ref) {
49841
49855
  var header = _ref.header,
@@ -49881,7 +49895,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49881
49895
  padding: "0"
49882
49896
  })));
49883
49897
  };
49884
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
49898
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$Y));
49885
49899
 
49886
49900
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
49887
49901
  var header = _ref.header,
@@ -49934,7 +49948,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
49934
49948
  padding: "0"
49935
49949
  })));
49936
49950
  };
49937
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
49951
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$Y));
49938
49952
 
49939
49953
  var SidebarStackContent = function SidebarStackContent(_ref) {
49940
49954
  var header = _ref.header,
@@ -50004,7 +50018,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
50004
50018
  key: "footer-box"
50005
50019
  })));
50006
50020
  };
50007
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
50021
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$Y));
50008
50022
 
50009
50023
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
50010
50024
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
@@ -50202,7 +50216,7 @@ exports.RejectedVelocityIcon = RejectedVelocityIcon;
50202
50216
  exports.ResetConfirmationForm = ResetConfirmationForm$1;
50203
50217
  exports.ResetPasswordForm = ResetPasswordForm;
50204
50218
  exports.ResetPasswordIcon = ResetPasswordIcon;
50205
- exports.ResetPasswordSuccess = ResetPasswordSuccess;
50219
+ exports.ResetPasswordSuccess = ResetPasswordSuccess$1;
50206
50220
  exports.RevenueManagementImage = RevenueManagementImage;
50207
50221
  exports.RoutingNumberImage = RoutingNumberImage;
50208
50222
  exports.SearchIcon = SearchIcon;