@availity/mui-disclaimer 1.0.5 → 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,29 @@
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-disclaimer@1.0.6...@availity/mui-disclaimer@2.0.0) (2025-11-17)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-link` updated to version `1.0.6`
10
+ * `mui-typography` updated to version `1.0.6`
11
+
12
+ ### ⚠ BREAKING CHANGES
13
+
14
+ * @mui/material upgraded to v7
15
+ * @mui/x-* upgraded to v8
16
+ * react upgraded to v19
17
+
18
+ ### Features
19
+
20
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
21
+
22
+ ## [1.0.6](https://github.com/Availity/element/compare/@availity/mui-disclaimer@1.0.5...@availity/mui-disclaimer@1.0.6) (2025-10-30)
23
+
24
+ ### Dependency Updates
25
+
26
+ * `mui-link` updated to version `1.0.5`
27
+ * `mui-typography` updated to version `1.0.5`
5
28
  ## [1.0.5](https://github.com/Availity/element/compare/@availity/mui-disclaimer@1.0.4...@availity/mui-disclaimer@1.0.5) (2025-04-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-disclaimer",
3
- "version": "1.0.5",
3
+ "version": "2.0.0",
4
4
  "description": "Availity MUI Disclaimer Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,21 +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.1",
58
- "@availity/mui-typography": "^1.0.2"
59
- }
57
+ "@availity/mui-link": "^2.0.0",
58
+ "@availity/mui-typography": "^2.0.0"
59
+ },
60
+ "sideEffects": false
60
61
  }
@@ -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