@7shifts/sous-chef 3.76.0-beta.2 → 3.76.0-beta.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.css +13 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +17 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +16 -7
- package/dist/index.modern.js.map +1 -1
- package/dist/layout/PageLayout/PageLayout.d.ts +2 -1
- package/dist/layout/PageLayout/types.d.ts +1 -1
- package/dist/layout/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ type Props = {
|
|
|
4
4
|
title: ReactNode;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
menu: PageLayoutMenu[];
|
|
7
|
+
sideNavContent?: ReactNode;
|
|
7
8
|
};
|
|
8
|
-
declare const PageLayout: ({ title, children, menu }: Props) => React.JSX.Element;
|
|
9
|
+
declare const PageLayout: ({ title, children, menu, sideNavContent }: Props) => React.JSX.Element;
|
|
9
10
|
export default PageLayout;
|
|
@@ -3,7 +3,7 @@ export type PageLayoutMenu = {
|
|
|
3
3
|
to: string;
|
|
4
4
|
label: string;
|
|
5
5
|
badge: ReactNode;
|
|
6
|
-
isVisible
|
|
6
|
+
isVisible?: boolean;
|
|
7
7
|
isActive: boolean;
|
|
8
8
|
/** When `true` it will skip client side routing and let the browser handle the transition normally (as if it were an `<a href>`). */
|
|
9
9
|
reloadDocument?: boolean;
|
package/dist/layout/index.d.ts
CHANGED