@availity/mui-disclaimer 1.0.6 → 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,29 @@
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-disclaimer@2.0.0...@availity/mui-disclaimer@2.0.1) (2025-12-03)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-link` updated to version `2.0.0`
10
+ * `mui-typography` updated to version `2.0.0`
11
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-disclaimer@1.0.6...@availity/mui-disclaimer@2.0.0) (2025-11-17)
12
+
13
+ ### Dependency Updates
14
+
15
+ * `mui-link` updated to version `1.0.6`
16
+ * `mui-typography` updated to version `1.0.6`
17
+
18
+ ### ⚠ BREAKING CHANGES
19
+
20
+ * @mui/material upgraded to v7
21
+ * @mui/x-* upgraded to v8
22
+ * react upgraded to v19
23
+
24
+ ### Features
25
+
26
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
27
+
5
28
  ## [1.0.6](https://github.com/Availity/element/compare/@availity/mui-disclaimer@1.0.5...@availity/mui-disclaimer@1.0.6) (2025-10-30)
6
29
 
7
30
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -17,6 +17,6 @@ interface DisclaimerProps extends AvDisclaimerProps {
17
17
  /** The link to display */
18
18
  link?: LinkProps;
19
19
  }
20
- declare const Disclaimer: ({ accent, dense, description, headerText, link, ...rest }: DisclaimerProps) => JSX.Element;
20
+ declare const Disclaimer: ({ accent, dense, description, headerText, link, ...rest }: DisclaimerProps) => React.JSX.Element;
21
21
 
22
22
  export { Disclaimer, type DisclaimerProps };
package/dist/index.d.ts CHANGED
@@ -17,6 +17,6 @@ interface DisclaimerProps extends AvDisclaimerProps {
17
17
  /** The link to display */
18
18
  link?: LinkProps;
19
19
  }
20
- declare const Disclaimer: ({ accent, dense, description, headerText, link, ...rest }: DisclaimerProps) => JSX.Element;
20
+ declare const Disclaimer: ({ accent, dense, description, headerText, link, ...rest }: DisclaimerProps) => React.JSX.Element;
21
21
 
22
22
  export { Disclaimer, type DisclaimerProps };
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-disclaimer",
3
- "version": "1.0.6",
3
+ "version": "2.0.1",
4
4
  "description": "Availity MUI Disclaimer Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,22 +40,22 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "devDependencies": {
43
- "@mui/material": "^6.4.5",
44
- "react": "18.2.0",
45
- "react-dom": "18.2.0",
43
+ "@mui/material": "^7.3.4",
44
+ "react": "19.2.0",
45
+ "react-dom": "19.2.0",
46
46
  "tsup": "^8.4.0",
47
47
  "typescript": "^5.4.5"
48
48
  },
49
49
  "peerDependencies": {
50
- "@mui/material": "^6.4.5",
51
- "react": ">=16.3.0"
50
+ "@mui/material": "^7.0.0",
51
+ "react": ">=17.0.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
56
  "dependencies": {
57
- "@availity/mui-link": "^1.1.2",
58
- "@availity/mui-typography": "^1.0.3"
57
+ "@availity/mui-link": "^2.0.1",
58
+ "@availity/mui-typography": "^2.0.1"
59
59
  },
60
60
  "sideEffects": false
61
61
  }
@@ -1,6 +1,6 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
 
3
- import type { Meta, StoryObj } from '@storybook/react';
3
+ import type { Meta, StoryObj } from '@storybook/react-vite';
4
4
  import { Disclaimer, DisclaimerProps } from './Disclaimer';
5
5
 
6
6
  const meta: Meta<typeof Disclaimer> = {
@@ -58,7 +58,7 @@ export const Disclaimer = ({
58
58
  headerText,
59
59
  link,
60
60
  ...rest
61
- }: DisclaimerProps): JSX.Element => {
61
+ }: DisclaimerProps): React.JSX.Element => {
62
62
  let textVariant: 'body1' | 'body2' = 'body1';
63
63
  let headerVariant: 'h5' | 'h6' = 'h5';
64
64