@availity/mui-badge 1.0.4 → 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,27 @@
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-badge@2.0.0...@availity/mui-badge@2.0.1) (2025-12-03)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-icon` updated to version `2.0.0`
10
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-badge@1.0.4...@availity/mui-badge@2.0.0) (2025-11-17)
11
+
12
+ ### Dependency Updates
13
+
14
+ * `mui-icon` updated to version `1.0.4`
15
+
16
+ ### ⚠ BREAKING CHANGES
17
+
18
+ * @mui/material upgraded to v7
19
+ * @mui/x-* upgraded to v8
20
+ * react upgraded to v19
21
+
22
+ ### Features
23
+
24
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
25
+
5
26
  ## [1.0.4](https://github.com/Availity/element/compare/@availity/mui-badge@1.0.3...@availity/mui-badge@1.0.4) (2025-10-30)
6
27
 
7
28
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -6,6 +6,6 @@ interface BadgeProps extends BadgeProps$1 {
6
6
  children: React.ReactNode;
7
7
  color?: 'primary' | 'error' | 'success';
8
8
  }
9
- declare const Badge: ({ children, color, ...rest }: BadgeProps) => JSX.Element;
9
+ declare const Badge: ({ children, color, ...rest }: BadgeProps) => React.JSX.Element;
10
10
 
11
11
  export { Badge, type BadgeProps };
package/dist/index.d.ts CHANGED
@@ -6,6 +6,6 @@ interface BadgeProps extends BadgeProps$1 {
6
6
  children: React.ReactNode;
7
7
  color?: 'primary' | 'error' | 'success';
8
8
  }
9
- declare const Badge: ({ children, color, ...rest }: BadgeProps) => JSX.Element;
9
+ declare const Badge: ({ children, color, ...rest }: BadgeProps) => React.JSX.Element;
10
10
 
11
11
  export { Badge, type BadgeProps };
package/introduction.mdx CHANGED
@@ -1,5 +1,4 @@
1
- import { Markdown } from '@storybook/blocks';
2
- import { Meta, Primary, ArgTypes } from '@storybook/addon-docs';
1
+ import { Markdown, Meta, Primary, ArgTypes } 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-badge",
3
- "version": "1.0.4",
3
+ "version": "2.0.1",
4
4
  "description": "Availity MUI Badge Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -41,16 +41,16 @@
41
41
  "publish:canary": "yarn npm publish --access public --tag canary"
42
42
  },
43
43
  "devDependencies": {
44
- "@availity/mui-icon": "^1.1.1",
45
- "@mui/material": "^6.4.5",
46
- "react": "18.2.0",
47
- "react-dom": "18.2.0",
44
+ "@availity/mui-icon": "^2.0.1",
45
+ "@mui/material": "^7.3.4",
46
+ "react": "19.2.0",
47
+ "react-dom": "19.2.0",
48
48
  "tsup": "^8.4.0",
49
49
  "typescript": "^5.4.5"
50
50
  },
51
51
  "peerDependencies": {
52
- "@mui/material": "^6.4.5",
53
- "react": ">=16.3.0"
52
+ "@mui/material": "^7.0.0",
53
+ "react": ">=17.0.0"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/src/lib/Badge.tsx CHANGED
@@ -7,7 +7,7 @@ export interface BadgeProps extends MUIBadgeProps {
7
7
  color?: 'primary' | 'error' | 'success';
8
8
  }
9
9
 
10
- export const Badge = ({ children, color = 'error', ...rest }: BadgeProps): JSX.Element => (
10
+ export const Badge = ({ children, color = 'error', ...rest }: BadgeProps): React.JSX.Element => (
11
11
  <MUIBadge color={color} {...rest}>
12
12
  {children}
13
13
  </MUIBadge>