@availity/mui-badge 0.1.4 → 0.1.6

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,15 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.1.6](https://github.com/Availity/element/compare/@availity/mui-badge@0.1.5...@availity/mui-badge@0.1.6) (2023-06-01)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **mui-badge:** add success color type ([e0de967](https://github.com/Availity/element/commit/e0de967626e2d235701bcc07b3bd8b5e2957c8d2))
11
+
12
+ ## [0.1.5](https://github.com/Availity/element/compare/@availity/mui-badge@0.1.4...@availity/mui-badge@0.1.5) (2023-05-23)
13
+
5
14
  ## [0.1.4](https://github.com/Availity/element/compare/@availity/mui-badge@0.1.3...@availity/mui-badge@0.1.4) (2023-05-19)
6
15
 
7
16
  ## [0.1.3](https://github.com/Availity/element/compare/@availity/mui-badge@0.1.2...@availity/mui-badge@0.1.3) (2023-05-19)
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { BadgeProps as BadgeProps$1 } from '@mui/material';
4
4
  interface BadgeProps extends BadgeProps$1 {
5
5
  badgeContent?: number;
6
6
  children: React.ReactNode;
7
- color?: 'primary' | 'error';
7
+ color?: 'primary' | 'error' | 'success';
8
8
  }
9
9
  declare const Badge: ({ children, color, ...rest }: BadgeProps) => JSX.Element;
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-badge",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Availity MUI Badge Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
package/src/lib/Badge.tsx CHANGED
@@ -5,7 +5,7 @@ import type { BadgeProps as MUIBadgeProps } from '@mui/material';
5
5
  export interface BadgeProps extends MUIBadgeProps {
6
6
  badgeContent?: number;
7
7
  children: React.ReactNode;
8
- color?: 'primary' | 'error';
8
+ color?: 'primary' | 'error' | 'success';
9
9
  }
10
10
 
11
11
  export const Badge = ({ children, color = 'error', ...rest }: BadgeProps): JSX.Element => (