@zac-apps/commons 1.3.7 → 1.3.8-beta.2

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 +7 -9
  2. package/package.json +25 -29
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/Unstable_Grid2';
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/red';
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
- xs: props.xs || props.size || 12,
119
- lg: props.lg || props.size || 6,
120
- md: props.md || 12,
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": "1.3.7",
3
+ "version": "1.3.8-beta.2",
4
4
  "scripts": {
5
5
  "rollup": "node_modules/rollup/dist/rollup.js",
6
6
  "dev": "next dev",
@@ -28,40 +28,36 @@
28
28
  "author": "ZAC",
29
29
  "license": "CC-BY-SA-4.0",
30
30
  "dependencies": {
31
- "@emotion/react": "^11.11.4",
32
- "@emotion/styled": "^11.11.0",
33
- "@mui/icons-material": "^5.15.14",
34
- "@mui/material": "^5.15.14"
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.24.3",
38
- "@rollup/plugin-babel": "^6.0.4",
39
- "@rollup/plugin-commonjs": "^25.0.7",
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": "^15.2.3",
41
+ "@rollup/plugin-node-resolve": "^16.0.3",
42
42
  "@semantic-release/git": "^10.0.1",
43
- "@semantic-release/gitlab": "^13.0.3",
44
- "@semantic-release/npm": "^12.0.0",
45
- "@storybook/addon-essentials": "^8.0.5",
46
- "@storybook/addon-interactions": "^8.0.5",
47
- "@storybook/addon-links": "^8.0.5",
48
- "@storybook/addon-onboarding": "^8.0.5",
49
- "@storybook/blocks": "^8.0.5",
50
- "@storybook/nextjs": "^8.0.5",
51
- "@storybook/react": "^8.0.5",
52
- "@storybook/test": "^8.0.5",
53
- "babel-loader": "^9.1.3",
54
- "eslint": "^8",
55
- "eslint-config-next": "14.1.4",
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": "^14.0.4",
63
- "react": "^18",
64
- "react-dom": "^18"
58
+ "next": "^15 || ^16",
59
+ "react": "^18 || ^19",
60
+ "react-dom": "^18 || ^19"
65
61
  },
66
62
  "description": "This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app)."
67
63
  }