@availity/mui-snackbar 1.0.7 → 2.0.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/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-snackbar@1.0.7...@availity/mui-snackbar@2.0.0) (2025-11-17)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-alert` updated to version `1.0.7`
10
+ * `mui-button` updated to version `1.0.7`
11
+ * `mui-layout` updated to version `1.0.7`
12
+ * `mui-transitions` updated to version `1.0.7`
13
+
14
+ ### ⚠ BREAKING CHANGES
15
+
16
+ * @mui/material upgraded to v7
17
+ * @mui/x-* upgraded to v8
18
+ * react upgraded to v19
19
+
20
+ ### Features
21
+
22
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
23
+
5
24
  ## [1.0.7](https://github.com/Availity/element/compare/@availity/mui-snackbar@1.0.6...@availity/mui-snackbar@1.0.7) (2025-10-30)
6
25
 
7
26
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -2,6 +2,6 @@ import { SnackbarProps as SnackbarProps$1, SnackbarCloseReason as SnackbarCloseR
2
2
 
3
3
  type SnackbarProps = Omit<SnackbarProps$1, 'action' | 'ContentProps' | 'message' | 'TransitionComponent' | 'transitionDuration'>;
4
4
  type SnackbarCloseReason = SnackbarCloseReason$1;
5
- declare const Snackbar: (props: SnackbarProps) => JSX.Element;
5
+ declare const Snackbar: (props: SnackbarProps) => React.JSX.Element;
6
6
 
7
7
  export { Snackbar, type SnackbarCloseReason, type SnackbarProps };
package/dist/index.d.ts CHANGED
@@ -2,6 +2,6 @@ import { SnackbarProps as SnackbarProps$1, SnackbarCloseReason as SnackbarCloseR
2
2
 
3
3
  type SnackbarProps = Omit<SnackbarProps$1, 'action' | 'ContentProps' | 'message' | 'TransitionComponent' | 'transitionDuration'>;
4
4
  type SnackbarCloseReason = SnackbarCloseReason$1;
5
- declare const Snackbar: (props: SnackbarProps) => JSX.Element;
5
+ declare const Snackbar: (props: SnackbarProps) => React.JSX.Element;
6
6
 
7
7
  export { Snackbar, type SnackbarCloseReason, type SnackbarProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-snackbar",
3
- "version": "1.0.7",
3
+ "version": "2.0.0",
4
4
  "description": "Availity MUI Snackbar Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,19 +40,19 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "devDependencies": {
43
- "@availity/mui-alert": "1.0.7",
44
- "@availity/mui-button": "1.1.5",
45
- "@availity/mui-layout": "1.0.3",
46
- "@availity/mui-transitions": "1.0.7",
47
- "@mui/material": "^6.4.5",
48
- "react": "18.2.0",
49
- "react-dom": "18.2.0",
43
+ "@availity/mui-alert": "2.0.0",
44
+ "@availity/mui-button": "2.0.0",
45
+ "@availity/mui-layout": "2.0.0",
46
+ "@availity/mui-transitions": "2.0.0",
47
+ "@mui/material": "^7.3.4",
48
+ "react": "19.2.0",
49
+ "react-dom": "19.2.0",
50
50
  "tsup": "^8.4.0",
51
51
  "typescript": "^5.4.5"
52
52
  },
53
53
  "peerDependencies": {
54
- "@mui/material": "^6.4.5",
55
- "react": ">=16.3.0"
54
+ "@mui/material": "^7.0.0",
55
+ "react": ">=17.0.0"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"
@@ -5,6 +5,6 @@ export type SnackbarProps = Omit<MuiSnackbarProps, 'action' | 'ContentProps' | '
5
5
 
6
6
  export type SnackbarCloseReason = MuiSnackbarCloseReason;
7
7
 
8
- export const Snackbar = (props: SnackbarProps): JSX.Element => {
8
+ export const Snackbar = (props: SnackbarProps): React.JSX.Element => {
9
9
  return <MuiSnackbar {...props}/>;
10
10
  };