@availity/mui-chip 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,22 @@
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-chip@1.0.5...@availity/mui-chip@2.0.0) (2025-11-17)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-avatar` updated to version `1.0.5`
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
+
5
21
  ## [1.0.5](https://github.com/Availity/element/compare/@availity/mui-chip@1.0.4...@availity/mui-chip@1.0.5) (2025-10-30)
6
22
 
7
23
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { ChipProps as ChipProps$1 } from '@mui/material/Chip';
2
2
 
3
3
  type ChipProps = Omit<ChipProps$1, 'children' | 'color' | 'variant' | 'skipFocusWhenDisabled' | 'disabled' | 'size' | 'icon' | 'clickable' | 'color'>;
4
- declare const Chip: (props: ChipProps) => JSX.Element;
4
+ declare const Chip: (props: ChipProps) => React.JSX.Element;
5
5
 
6
6
  type StatusChipProps = {
7
7
  /** The color of the component.
8
8
  * @default default */
9
9
  color?: 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
10
10
  } & Omit<ChipProps$1, 'avatar' | 'children' | 'color' | 'variant' | 'skipFocusWhenDisabled' | 'disabled' | 'size' | 'icon' | 'clickable' | 'deleteIcon' | 'onDelete'>;
11
- declare const StatusChip: ({ color, ...rest }: StatusChipProps) => JSX.Element;
11
+ declare const StatusChip: ({ color, ...rest }: StatusChipProps) => React.JSX.Element;
12
12
 
13
13
  export { Chip, type ChipProps, StatusChip, type StatusChipProps };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { ChipProps as ChipProps$1 } from '@mui/material/Chip';
2
2
 
3
3
  type ChipProps = Omit<ChipProps$1, 'children' | 'color' | 'variant' | 'skipFocusWhenDisabled' | 'disabled' | 'size' | 'icon' | 'clickable' | 'color'>;
4
- declare const Chip: (props: ChipProps) => JSX.Element;
4
+ declare const Chip: (props: ChipProps) => React.JSX.Element;
5
5
 
6
6
  type StatusChipProps = {
7
7
  /** The color of the component.
8
8
  * @default default */
9
9
  color?: 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
10
10
  } & Omit<ChipProps$1, 'avatar' | 'children' | 'color' | 'variant' | 'skipFocusWhenDisabled' | 'disabled' | 'size' | 'icon' | 'clickable' | 'deleteIcon' | 'onDelete'>;
11
- declare const StatusChip: ({ color, ...rest }: StatusChipProps) => JSX.Element;
11
+ declare const StatusChip: ({ color, ...rest }: StatusChipProps) => React.JSX.Element;
12
12
 
13
13
  export { Chip, type ChipProps, StatusChip, type StatusChipProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-chip",
3
- "version": "1.0.5",
3
+ "version": "2.0.0",
4
4
  "description": "Availity MUI Chip Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,16 +40,16 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "devDependencies": {
43
- "@availity/mui-avatar": "^1.0.5",
44
- "@mui/material": "^6.4.5",
45
- "react": "18.2.0",
46
- "react-dom": "18.2.0",
43
+ "@availity/mui-avatar": "^2.0.0",
44
+ "@mui/material": "^7.3.4",
45
+ "react": "19.2.0",
46
+ "react-dom": "19.2.0",
47
47
  "tsup": "^8.4.0",
48
48
  "typescript": "^5.4.5"
49
49
  },
50
50
  "peerDependencies": {
51
- "@mui/material": "^6.4.5",
52
- "react": ">=16.3.0"
51
+ "@mui/material": "^7.0.0",
52
+ "react": ">=17.0.0"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"
package/src/lib/Chip.tsx CHANGED
@@ -5,6 +5,6 @@ export type ChipProps = Omit<
5
5
  'children' | 'color' | 'variant' | 'skipFocusWhenDisabled' | 'disabled' | 'size' | 'icon' | 'clickable' | 'color'
6
6
  >;
7
7
 
8
- export const Chip = (props: ChipProps): JSX.Element => {
8
+ export const Chip = (props: ChipProps): React.JSX.Element => {
9
9
  return <MuiChip {...props} color="default" size="medium" />;
10
10
  };
@@ -19,6 +19,6 @@ export type StatusChipProps = {
19
19
  | 'onDelete'
20
20
  >;
21
21
 
22
- export const StatusChip = ({ color = 'default', ...rest }: StatusChipProps): JSX.Element => {
22
+ export const StatusChip = ({ color = 'default', ...rest }: StatusChipProps): React.JSX.Element => {
23
23
  return <MuiChip color={color} {...rest} size="small" />;
24
24
  };