@availity/mui-snackbar 1.0.7 → 2.0.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/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [2.0.1](https://github.com/Availity/element/compare/@availity/mui-snackbar@2.0.0...@availity/mui-snackbar@2.0.1) (2025-12-03)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-alert` updated to version `2.0.0`
10
+ * `mui-button` updated to version `2.0.0`
11
+ * `mui-layout` updated to version `2.0.0`
12
+ * `mui-transitions` updated to version `2.0.0`
13
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-snackbar@1.0.7...@availity/mui-snackbar@2.0.0) (2025-11-17)
14
+
15
+ ### Dependency Updates
16
+
17
+ * `mui-alert` updated to version `1.0.7`
18
+ * `mui-button` updated to version `1.0.7`
19
+ * `mui-layout` updated to version `1.0.7`
20
+ * `mui-transitions` updated to version `1.0.7`
21
+
22
+ ### ⚠ BREAKING CHANGES
23
+
24
+ * @mui/material upgraded to v7
25
+ * @mui/x-* upgraded to v8
26
+ * react upgraded to v19
27
+
28
+ ### Features
29
+
30
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
31
+
5
32
  ## [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
33
 
7
34
  ### 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/introduction.mdx CHANGED
@@ -1,5 +1,4 @@
1
- import { Markdown } from '@storybook/blocks';
2
- import { Meta } from '@storybook/addon-docs';
1
+ import { Markdown, Meta } from '@storybook/addon-docs/blocks';
3
2
  import ReadMe from './README.md?raw';
4
3
  import CHANGELOG from './CHANGELOG.md?raw';
5
4
 
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.1",
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.1",
44
+ "@availity/mui-button": "2.0.1",
45
+ "@availity/mui-layout": "2.0.1",
46
+ "@availity/mui-transitions": "2.0.1",
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"
@@ -1,7 +1,7 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
 
3
3
  import { SyntheticEvent, useEffect, useState } from 'react';
4
- import type { Meta, StoryObj } from '@storybook/react';
4
+ import type { Meta, StoryObj } from '@storybook/react-vite';
5
5
  import { Alert, AlertTitle } from '@availity/mui-alert';
6
6
  import { Button } from '@availity/mui-button';
7
7
  import { Box, Grid } from '@availity/mui-layout';
@@ -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
  };