@natoora-libs/core 0.2.21-dev-package-upgrades-1 → 0.2.22

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.
@@ -1015,8 +1015,9 @@ type Props = {
1015
1015
  LeftDrawer: ReactNode;
1016
1016
  leftSection?: ReactNode;
1017
1017
  rightSection?: ReactNode;
1018
+ isAuthenticated?: boolean;
1018
1019
  };
1019
- declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, rightSection, }: Props) => react_jsx_runtime.JSX.Element>;
1020
+ declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, rightSection, isAuthenticated, }: Props) => react_jsx_runtime.JSX.Element>;
1020
1021
 
1021
1022
  type IToastMessage = {
1022
1023
  toastType: 'success' | 'info' | 'warning' | 'error';
@@ -1015,8 +1015,9 @@ type Props = {
1015
1015
  LeftDrawer: ReactNode;
1016
1016
  leftSection?: ReactNode;
1017
1017
  rightSection?: ReactNode;
1018
+ isAuthenticated?: boolean;
1018
1019
  };
1019
- declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, rightSection, }: Props) => react_jsx_runtime.JSX.Element>;
1020
+ declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, rightSection, isAuthenticated, }: Props) => react_jsx_runtime.JSX.Element>;
1020
1021
 
1021
1022
  type IToastMessage = {
1022
1023
  toastType: 'success' | 'info' | 'warning' | 'error';
@@ -9537,12 +9537,13 @@ var TheToolbar = ({
9537
9537
  handleOpen,
9538
9538
  LeftDrawer,
9539
9539
  leftSection,
9540
- rightSection
9540
+ rightSection,
9541
+ isAuthenticated = true
9541
9542
  }) => {
9542
9543
  const { classes } = useStyles49();
9543
9544
  return /* @__PURE__ */ jsxs93(Box45, { children: [
9544
9545
  /* @__PURE__ */ jsx138(AppBar, { children: /* @__PURE__ */ jsxs93(Toolbar, { className: classes.topBar, children: [
9545
- /* @__PURE__ */ jsx138(
9546
+ isAuthenticated ? /* @__PURE__ */ jsx138(
9546
9547
  RoundButton_default,
9547
9548
  {
9548
9549
  className: classes.menuButton,
@@ -9550,7 +9551,7 @@ var TheToolbar = ({
9550
9551
  noStrokes: true,
9551
9552
  onClick: handleOpen
9552
9553
  }
9553
- ),
9554
+ ) : null,
9554
9555
  /* @__PURE__ */ jsx138(
9555
9556
  CompanyLogo_default,
9556
9557
  {