@availity/mui-badge 1.0.3 → 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 +21 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +9 -8
- package/src/lib/Badge.tsx +1 -1
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.0](https://github.com/Availity/element/compare/@availity/mui-badge@1.0.4...@availity/mui-badge@2.0.0) (2025-11-17)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-icon` updated to version `1.0.4`
|
|
10
|
+
|
|
11
|
+
### ⚠ BREAKING CHANGES
|
|
12
|
+
|
|
13
|
+
* @mui/material upgraded to v7
|
|
14
|
+
* @mui/x-* upgraded to v8
|
|
15
|
+
* react upgraded to v19
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
|
|
20
|
+
|
|
21
|
+
## [1.0.4](https://github.com/Availity/element/compare/@availity/mui-badge@1.0.3...@availity/mui-badge@1.0.4) (2025-10-30)
|
|
22
|
+
|
|
23
|
+
### Dependency Updates
|
|
24
|
+
|
|
25
|
+
* `mui-icon` updated to version `1.0.3`
|
|
5
26
|
## [1.0.3](https://github.com/Availity/element/compare/@availity/mui-badge@1.0.2...@availity/mui-badge@1.0.3) (2025-04-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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-badge",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Availity MUI Badge Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,18 +41,19 @@
|
|
|
41
41
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@availity/mui-icon": "^
|
|
45
|
-
"@mui/material": "^
|
|
46
|
-
"react": "
|
|
47
|
-
"react-dom": "
|
|
44
|
+
"@availity/mui-icon": "^2.0.0",
|
|
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": "^
|
|
53
|
-
"react": ">=
|
|
52
|
+
"@mui/material": "^7.0.0",
|
|
53
|
+
"react": ">=17.0.0"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
|
-
}
|
|
57
|
+
},
|
|
58
|
+
"sideEffects": false
|
|
58
59
|
}
|
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>
|