@zac-apps/commons 1.0.5-beta.9 → 1.1.0-beta.1

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21,7 +21,6 @@ import TableContainer from '@mui/material/TableContainer';
21
21
  import Paper from '@mui/material/Paper';
22
22
  import Link, { Link as Link$2 } from 'next/link';
23
23
  import Link$1 from '@mui/material/Link';
24
- import CssBaseline from '@mui/material/CssBaseline';
25
24
  import Box from '@mui/material/Box';
26
25
  import AppBar from '@mui/material/AppBar';
27
26
  import Toolbar from '@mui/material/Toolbar';
@@ -292,7 +291,8 @@ function AppWrapper(_ref) {
292
291
  availApps = _ref.availApps,
293
292
  footerContent = _ref.footerContent,
294
293
  children = _ref.children,
295
- basePath = _ref.basePath;
294
+ basePath = _ref.basePath,
295
+ menu = _ref.menu;
296
296
  if (!basePath || basePath === null) {
297
297
  basePath = "/";
298
298
  }
@@ -300,7 +300,7 @@ function AppWrapper(_ref) {
300
300
  footerContent = "";
301
301
  }
302
302
  return /*#__PURE__*/jsxs(React__default.Fragment, {
303
- children: [/*#__PURE__*/jsx(CssBaseline, {}), /*#__PURE__*/jsx(AppMenu, {
303
+ children: [/*#__PURE__*/jsx(AppMenu, {
304
304
  title: /*#__PURE__*/jsx(Link$1, {
305
305
  sx: {
306
306
  color: AppTheme.palette.primary.contrastText
@@ -309,10 +309,10 @@ function AppWrapper(_ref) {
309
309
  component: Link$2,
310
310
  children: title
311
311
  }),
312
- children: /*#__PURE__*/jsx(NextListMenu, {
312
+ children: menu ? /*#__PURE__*/jsx(NextListMenu, {
313
313
  availApps: availApps,
314
314
  start: true
315
- })
315
+ }) : null
316
316
  }), /*#__PURE__*/jsx(Box, {
317
317
  sx: {
318
318
  p: 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zac-apps/commons",
3
- "version": "1.0.5-beta.9",
3
+ "version": "1.1.0-beta.1",
4
4
  "scripts": {
5
5
  "rollup": "node_modules/rollup/dist/rollup.js",
6
6
  "dev": "next dev",