@natoora-libs/core 0.0.41 → 0.0.43

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.
@@ -941,8 +941,9 @@ type Props = {
941
941
  imageLogoLightSmall: string;
942
942
  handleOpen: () => void;
943
943
  LeftDrawer: ReactNode;
944
+ rightSection?: ReactNode;
944
945
  };
945
- declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, }: Props) => react_jsx_runtime.JSX.Element>;
946
+ declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, rightSection, }: Props) => react_jsx_runtime.JSX.Element>;
946
947
 
947
948
  type IToastMessage = {
948
949
  toastType: 'success' | 'info' | 'warning' | 'error';
@@ -941,8 +941,9 @@ type Props = {
941
941
  imageLogoLightSmall: string;
942
942
  handleOpen: () => void;
943
943
  LeftDrawer: ReactNode;
944
+ rightSection?: ReactNode;
944
945
  };
945
- declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, }: Props) => react_jsx_runtime.JSX.Element>;
946
+ declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, rightSection, }: Props) => react_jsx_runtime.JSX.Element>;
946
947
 
947
948
  type IToastMessage = {
948
949
  toastType: 'success' | 'info' | 'warning' | 'error';
@@ -361,7 +361,6 @@ var AlertDialog_default = AlertDialog;
361
361
  // src/components/AlertDialogFullScreen/AlertDialogFullScreen.tsx
362
362
  import { Button as Button2, Dialog as Dialog2, DialogActions, DialogContent } from "@mui/material";
363
363
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
364
- console.log("wqpkoe");
365
364
  var AlertDialogFullScreen = ({
366
365
  handleAlertAccept,
367
366
  handleAlertReject,
@@ -7701,38 +7700,18 @@ var useStyles51 = makeStyles51()((theme) => ({
7701
7700
  menuButton: {
7702
7701
  color: theme.palette.primary.contrastText
7703
7702
  },
7704
- searchNatoora: {
7705
- width: "100%"
7706
- },
7707
- searchIcon: {
7708
- opacity: ".5"
7709
- },
7710
- inputRoot: {
7711
- color: "inherit"
7712
- },
7713
- inputInput: {
7714
- transition: theme.transitions.create("width"),
7715
- width: "100%"
7716
- },
7717
7703
  topBar: {
7718
7704
  display: "flex",
7719
7705
  gap: theme.spacing(1),
7720
7706
  backgroundColor: colors.topBar
7721
- },
7722
- drawer: {
7723
- backgroundColor: "black"
7724
- },
7725
- drawerItem: {
7726
- maxWidth: "300px",
7727
- width: "80vw"
7728
- },
7729
- offset: theme.mixins.toolbar
7707
+ }
7730
7708
  }));
7731
7709
  var TheToolbar = ({
7732
7710
  imageLogoDarkSmall,
7733
7711
  imageLogoLightSmall,
7734
7712
  handleOpen,
7735
- LeftDrawer: LeftDrawer2
7713
+ LeftDrawer: LeftDrawer2,
7714
+ rightSection
7736
7715
  }) => {
7737
7716
  const { classes } = useStyles51();
7738
7717
  return /* @__PURE__ */ jsxs79(Box31, { children: [
@@ -7754,9 +7733,9 @@ var TheToolbar = ({
7754
7733
  imageLogoDarkSmall,
7755
7734
  imageLogoLightSmall
7756
7735
  }
7757
- )
7736
+ ),
7737
+ /* @__PURE__ */ jsx116(Box31, { ml: "auto", children: rightSection })
7758
7738
  ] }) }),
7759
- /* @__PURE__ */ jsx116(Box31, { className: classes.offset }),
7760
7739
  LeftDrawer2
7761
7740
  ] });
7762
7741
  };