@thecb/components 10.7.0-beta.2 → 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
@@ -12784,8 +12784,6 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12784
12784
  var themeContext = React.useContext(styled.ThemeContext);
12785
12785
  var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
12786
12786
  var isMobile = themeContext.isMobile;
12787
- console.log("button text / theme context is", text, themeContext);
12788
- console.log("button text / theme values are", text, themeValues);
12789
12787
  var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
12790
12788
  var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
12791
12789
  var disabledStyles = "\n background-color: ".concat(themeValues.disabledBackgroundColor, ";\n border-color: ").concat(themeValues.disabledBorderColor, ";\n color: ").concat(themeValues.disabledColor, ";\n cursor: default;\n &:focus {\n outline: 3px solid ").concat(themeValues.disabledBorderColor, ";\n outline-offset: 2px;\n }\n ").concat(extraDisabledStyles, "\n ");
@@ -49037,9 +49035,16 @@ RegistrationForm.reducer = reducer$9;
49037
49035
  RegistrationForm.mapStateToProps = mapStateToProps$a;
49038
49036
  RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
49039
49037
 
49038
+ var GRECIAN_GREY$1 = GRECIAN_GREY;
49039
+ var bannerBackgroundColor = GRECIAN_GREY$1;
49040
+ var fallbackValues$R = {
49041
+ bannerBackgroundColor: bannerBackgroundColor
49042
+ };
49043
+
49040
49044
  var ResetConfirmationForm = function ResetConfirmationForm() {
49041
- var _useContext = React.useContext(styled.ThemeContext),
49042
- isMobile = _useContext.isMobile;
49045
+ var themeContext = React.useContext(styled.ThemeContext);
49046
+ var themeValues = createThemeValues(themeContext, fallbackValues$R, "ResetConfirmationForm");
49047
+ var isMobile = themeContext.isMobile;
49043
49048
  return /*#__PURE__*/React__default.createElement(Box, {
49044
49049
  padding: "0",
49045
49050
  width: isMobile ? "auto" : "576px",
@@ -49047,7 +49052,7 @@ var ResetConfirmationForm = function ResetConfirmationForm() {
49047
49052
  background: WHITE,
49048
49053
  boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
49049
49054
  }, /*#__PURE__*/React__default.createElement(Box, {
49050
- background: GRECIAN_GREY,
49055
+ background: themeValues.bannerBackgroundColor,
49051
49056
  minWidth: "100%",
49052
49057
  padding: "0.5rem"
49053
49058
  }, /*#__PURE__*/React__default.createElement(Cluster, {
@@ -49151,9 +49156,16 @@ ResetPasswordForm.reducer = reducer$a;
49151
49156
  ResetPasswordForm.mapStateToProps = mapStateToProps$b;
49152
49157
  ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
49153
49158
 
49154
- var ResetConfirmationForm$2 = function ResetConfirmationForm() {
49155
- var _useContext = React.useContext(styled.ThemeContext),
49156
- 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;
49157
49169
  return /*#__PURE__*/React__default.createElement(Box, {
49158
49170
  padding: "0",
49159
49171
  width: isMobile ? "auto" : "576px",
@@ -49161,7 +49173,7 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
49161
49173
  background: WHITE,
49162
49174
  boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
49163
49175
  }, /*#__PURE__*/React__default.createElement(Box, {
49164
- background: GRECIAN_GREY,
49176
+ background: themeValues.bannerBackgroundColor,
49165
49177
  minWidth: "100%",
49166
49178
  padding: "0.5rem"
49167
49179
  }, /*#__PURE__*/React__default.createElement(Cluster, {
@@ -49196,12 +49208,12 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
49196
49208
  linkExtraStyles: "width: 100%;"
49197
49209
  }))))));
49198
49210
  };
49199
- var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
49211
+ var ResetPasswordSuccess$1 = withWindowSize(ResetPasswordSuccess);
49200
49212
 
49201
49213
  var activeTabBackground = "#FFFFFF";
49202
49214
  var activeTabAccent = "#15749D";
49203
49215
  var activeTabHover = "#B8D5E1";
49204
- var fallbackValues$R = {
49216
+ var fallbackValues$T = {
49205
49217
  activeTabBackground: activeTabBackground,
49206
49218
  activeTabAccent: activeTabAccent,
49207
49219
  activeTabHover: activeTabHover
@@ -49269,12 +49281,12 @@ var Tabs = function Tabs(_ref) {
49269
49281
  }, tab.content);
49270
49282
  }))));
49271
49283
  };
49272
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$R);
49284
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$T);
49273
49285
 
49274
49286
  var activeTabBackground$1 = "#FFFFFF";
49275
49287
  var activeTabAccent$1 = "#15749D";
49276
49288
  var activeTabHover$1 = "#B8D5E1";
49277
- var fallbackValues$S = {
49289
+ var fallbackValues$U = {
49278
49290
  activeTabBackground: activeTabBackground$1,
49279
49291
  activeTabAccent: activeTabAccent$1,
49280
49292
  activeTabHover: activeTabHover$1
@@ -49329,7 +49341,7 @@ var TabSidebar = function TabSidebar(_ref) {
49329
49341
  }, text)))));
49330
49342
  })));
49331
49343
  };
49332
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$S);
49344
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$U);
49333
49345
 
49334
49346
  var Timeout = function Timeout(_ref) {
49335
49347
  var onLogout = _ref.onLogout;
@@ -49429,7 +49441,7 @@ var fontColor$1 = WHITE;
49429
49441
  var textAlign$1 = "left";
49430
49442
  var headerBackgroundColor$1 = BRIGHT_GREY;
49431
49443
  var imageBackgroundColor$1 = MATISSE_BLUE;
49432
- var fallbackValues$T = {
49444
+ var fallbackValues$V = {
49433
49445
  fontWeight: fontWeight$8,
49434
49446
  fontColor: fontColor$1,
49435
49447
  textAlign: textAlign$1,
@@ -49474,7 +49486,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
49474
49486
  src: welcomeImage
49475
49487
  })))));
49476
49488
  };
49477
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$T));
49489
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$V));
49478
49490
 
49479
49491
  var WorkflowTile = function WorkflowTile(_ref) {
49480
49492
  var _ref$workflowName = _ref.workflowName,
@@ -49534,7 +49546,7 @@ var menuItemColorDelete = RAZZMATAZZ_RED;
49534
49546
  var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
49535
49547
  var menuItemHoverBackgroundColorDelete = BLUSH_RED;
49536
49548
  var menuItemHoverColor = ROYAL_BLUE_VIVID;
49537
- var fallbackValues$U = {
49549
+ var fallbackValues$W = {
49538
49550
  menuItemBackgroundColor: menuItemBackgroundColor,
49539
49551
  menuItemColor: menuItemColor,
49540
49552
  menuItemColorDelete: menuItemColorDelete,
@@ -49601,13 +49613,13 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
49601
49613
  extraStyles: textExtraStyles
49602
49614
  }, text)));
49603
49615
  };
49604
- var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$U);
49616
+ var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$W);
49605
49617
 
49606
49618
  var hoverColor$5 = "#116285";
49607
49619
  var activeColor$9 = "#0E506D";
49608
49620
  var menuTriggerColor = "#15749D";
49609
49621
  var backgroundColor$e = "white";
49610
- var fallbackValues$V = {
49622
+ var fallbackValues$X = {
49611
49623
  hoverColor: hoverColor$5,
49612
49624
  activeColor: activeColor$9,
49613
49625
  menuTriggerColor: menuTriggerColor,
@@ -49743,10 +49755,10 @@ var PopupMenu = function PopupMenu(_ref) {
49743
49755
  }, item));
49744
49756
  })));
49745
49757
  };
49746
- var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$V);
49758
+ var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$X);
49747
49759
 
49748
49760
  var pageBackground = "#FBFCFD";
49749
- var fallbackValues$W = {
49761
+ var fallbackValues$Y = {
49750
49762
  pageBackground: pageBackground
49751
49763
  };
49752
49764
 
@@ -49794,7 +49806,7 @@ var CenterSingle = function CenterSingle(_ref) {
49794
49806
  padding: "0"
49795
49807
  })));
49796
49808
  };
49797
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$W));
49809
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$Y));
49798
49810
 
49799
49811
  var CenterStack = function CenterStack(_ref) {
49800
49812
  var header = _ref.header,
@@ -49837,7 +49849,7 @@ var CenterStack = function CenterStack(_ref) {
49837
49849
  padding: "0"
49838
49850
  })));
49839
49851
  };
49840
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$W));
49852
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$Y));
49841
49853
 
49842
49854
  var CenterSingle$2 = function CenterSingle(_ref) {
49843
49855
  var header = _ref.header,
@@ -49883,7 +49895,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49883
49895
  padding: "0"
49884
49896
  })));
49885
49897
  };
49886
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$W));
49898
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$Y));
49887
49899
 
49888
49900
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
49889
49901
  var header = _ref.header,
@@ -49936,7 +49948,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
49936
49948
  padding: "0"
49937
49949
  })));
49938
49950
  };
49939
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$W));
49951
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$Y));
49940
49952
 
49941
49953
  var SidebarStackContent = function SidebarStackContent(_ref) {
49942
49954
  var header = _ref.header,
@@ -50006,7 +50018,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
50006
50018
  key: "footer-box"
50007
50019
  })));
50008
50020
  };
50009
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$W));
50021
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$Y));
50010
50022
 
50011
50023
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
50012
50024
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
@@ -50204,7 +50216,7 @@ exports.RejectedVelocityIcon = RejectedVelocityIcon;
50204
50216
  exports.ResetConfirmationForm = ResetConfirmationForm$1;
50205
50217
  exports.ResetPasswordForm = ResetPasswordForm;
50206
50218
  exports.ResetPasswordIcon = ResetPasswordIcon;
50207
- exports.ResetPasswordSuccess = ResetPasswordSuccess;
50219
+ exports.ResetPasswordSuccess = ResetPasswordSuccess$1;
50208
50220
  exports.RevenueManagementImage = RevenueManagementImage;
50209
50221
  exports.RoutingNumberImage = RoutingNumberImage;
50210
50222
  exports.SearchIcon = SearchIcon;