@zac-apps/commons 1.0.5-beta.9 → 1.1.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.js +5 -5
- package/package.json +10 -12
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(
|
|
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
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"rollup": "node_modules/rollup/dist/rollup.js",
|
|
6
6
|
"dev": "next dev",
|
|
@@ -28,10 +28,8 @@
|
|
|
28
28
|
"author": "ZAC",
|
|
29
29
|
"license": "CC-BY-SA-4.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@fontsource/roboto": "^5.0.8",
|
|
32
31
|
"@mui/icons-material": "^5.15.0",
|
|
33
|
-
"@mui/material": "^5.15.0"
|
|
34
|
-
"@mui/x-date-pickers": "^6.18.5"
|
|
32
|
+
"@mui/material": "^5.15.0"
|
|
35
33
|
},
|
|
36
34
|
"devDependencies": {
|
|
37
35
|
"@babel/plugin-transform-runtime": "^7.23.6",
|
|
@@ -42,21 +40,21 @@
|
|
|
42
40
|
"@semantic-release/git": "^10.0.1",
|
|
43
41
|
"@semantic-release/gitlab": "^12.1.1",
|
|
44
42
|
"@semantic-release/npm": "^11.0.2",
|
|
45
|
-
"@storybook/addon-essentials": "^7.6.
|
|
46
|
-
"@storybook/addon-interactions": "^7.6.
|
|
47
|
-
"@storybook/addon-links": "^7.6.
|
|
43
|
+
"@storybook/addon-essentials": "^7.6.5",
|
|
44
|
+
"@storybook/addon-interactions": "^7.6.5",
|
|
45
|
+
"@storybook/addon-links": "^7.6.5",
|
|
48
46
|
"@storybook/addon-onboarding": "^1.0.10",
|
|
49
|
-
"@storybook/blocks": "^7.6.
|
|
50
|
-
"@storybook/nextjs": "^7.6.
|
|
51
|
-
"@storybook/react": "^7.6.
|
|
52
|
-
"@storybook/test": "^7.6.
|
|
47
|
+
"@storybook/blocks": "^7.6.5",
|
|
48
|
+
"@storybook/nextjs": "^7.6.5",
|
|
49
|
+
"@storybook/react": "^7.6.5",
|
|
50
|
+
"@storybook/test": "^7.6.5",
|
|
53
51
|
"babel-loader": "^9.1.3",
|
|
54
52
|
"eslint": "^8",
|
|
55
53
|
"eslint-config-next": "14.0.4",
|
|
56
54
|
"eslint-plugin-storybook": "^0.6.15",
|
|
57
55
|
"rollup": "^4.9.0",
|
|
58
56
|
"semantic-release": "^22.0.12",
|
|
59
|
-
"storybook": "^7.6.
|
|
57
|
+
"storybook": "^7.6.5"
|
|
60
58
|
},
|
|
61
59
|
"peerDependencies": {
|
|
62
60
|
"next": "^14.0.4",
|