@zac-apps/commons 1.3.8-beta.1 → 2.0.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.
- package/dist/index.js +7 -9
- package/package.json +23 -27
package/dist/index.js
CHANGED
|
@@ -4,18 +4,14 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
4
4
|
import Snackbar from '@mui/material/Snackbar';
|
|
5
5
|
import MuiAlert from '@mui/material/Alert';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
-
import Grid from '@mui/material/
|
|
7
|
+
import Grid from '@mui/material/Grid';
|
|
8
8
|
import Accordion from '@mui/material/Accordion';
|
|
9
9
|
import AccordionSummary from '@mui/material/AccordionSummary';
|
|
10
10
|
import AccordionDetails from '@mui/material/AccordionDetails';
|
|
11
11
|
import Typography from '@mui/material/Typography';
|
|
12
12
|
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
|
13
13
|
import { createTheme, styled } from '@mui/material/styles';
|
|
14
|
-
import red from '@mui/material/colors
|
|
15
|
-
import pink from '@mui/material/colors/pink';
|
|
16
|
-
import lightGreen from '@mui/material/colors/lightGreen';
|
|
17
|
-
import green from '@mui/material/colors/green';
|
|
18
|
-
import yellow from '@mui/material/colors/yellow';
|
|
14
|
+
import { green, yellow, pink, lightGreen, red } from '@mui/material/colors';
|
|
19
15
|
import Table from '@mui/material/Table';
|
|
20
16
|
import TableContainer from '@mui/material/TableContainer';
|
|
21
17
|
import Paper from '@mui/material/Paper';
|
|
@@ -115,9 +111,11 @@ var AppTheme = createTheme({
|
|
|
115
111
|
|
|
116
112
|
function AppCard(props) {
|
|
117
113
|
return /*#__PURE__*/jsx(Grid, {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
114
|
+
size: {
|
|
115
|
+
xs: props.xs || props.size || 12,
|
|
116
|
+
lg: props.lg || props.size || 6,
|
|
117
|
+
md: props.md || 12
|
|
118
|
+
},
|
|
121
119
|
children: /*#__PURE__*/jsxs(Accordion, {
|
|
122
120
|
defaultExpanded: !props.collapsed,
|
|
123
121
|
square: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zac-apps/commons",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"rollup": "node_modules/rollup/dist/rollup.js",
|
|
6
6
|
"dev": "next dev",
|
|
@@ -28,38 +28,34 @@
|
|
|
28
28
|
"author": "ZAC",
|
|
29
29
|
"license": "CC-BY-SA-4.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@emotion/react": "^11.
|
|
32
|
-
"@emotion/styled": "^11.
|
|
33
|
-
"@mui/icons-material": "^
|
|
34
|
-
"@mui/material": "^
|
|
31
|
+
"@emotion/react": "^11.14.0",
|
|
32
|
+
"@emotion/styled": "^11.14.1",
|
|
33
|
+
"@mui/icons-material": "^7.3.4",
|
|
34
|
+
"@mui/material": "^7.3.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
38
|
-
"@rollup/plugin-babel": "^6.0
|
|
39
|
-
"@rollup/plugin-commonjs": "^
|
|
37
|
+
"@babel/plugin-transform-runtime": "^7.28.5",
|
|
38
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
39
|
+
"@rollup/plugin-commonjs": "^28.0.9",
|
|
40
40
|
"@rollup/plugin-json": "^6.1.0",
|
|
41
|
-
"@rollup/plugin-node-resolve": "^
|
|
41
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
42
42
|
"@semantic-release/git": "^10.0.1",
|
|
43
|
-
"@semantic-release/gitlab": "^13.
|
|
44
|
-
"@semantic-release/npm": "^
|
|
45
|
-
"@storybook/addon-
|
|
46
|
-
"@storybook/addon-
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@storybook/
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
57
|
-
"rollup": "^4.13.1",
|
|
58
|
-
"semantic-release": "^23.0.6",
|
|
59
|
-
"storybook": "^8.0.5"
|
|
43
|
+
"@semantic-release/gitlab": "^13.2.9",
|
|
44
|
+
"@semantic-release/npm": "^13.1.1",
|
|
45
|
+
"@storybook/addon-links": "^10.0.0",
|
|
46
|
+
"@storybook/addon-onboarding": "^10.0.0",
|
|
47
|
+
"@storybook/nextjs": "^10.0.0",
|
|
48
|
+
"@storybook/react": "^10.0.0",
|
|
49
|
+
"babel-loader": "^10.0.0",
|
|
50
|
+
"eslint": "^9",
|
|
51
|
+
"eslint-config-next": "16.0.0",
|
|
52
|
+
"eslint-plugin-storybook": "^10.0.0",
|
|
53
|
+
"rollup": "^4.52.5",
|
|
54
|
+
"semantic-release": "^25.0.1",
|
|
55
|
+
"storybook": "^10.0.0"
|
|
60
56
|
},
|
|
61
57
|
"peerDependencies": {
|
|
62
|
-
"next": "^
|
|
58
|
+
"next": "^15 || ^16",
|
|
63
59
|
"react": "^18 || ^19",
|
|
64
60
|
"react-dom": "^18 || ^19"
|
|
65
61
|
},
|