@availity/mui-chip 1.0.5 → 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-chip@2.0.0...@availity/mui-chip@2.0.1) (2025-12-03)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-avatar` updated to version `2.0.0`
10
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-chip@1.0.5...@availity/mui-chip@2.0.0) (2025-11-17)
11
+
12
+ ### Dependency Updates
13
+
14
+ * `mui-avatar` updated to version `1.0.5`
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.5](https://github.com/Availity/element/compare/@availity/mui-chip@1.0.4...@availity/mui-chip@1.0.5) (2025-10-30)
6
27
 
7
28
  ### 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/introduction.mdx CHANGED
@@ -1,5 +1,4 @@
1
- import { Markdown } from '@storybook/blocks';
2
- import { Meta } from '@storybook/addon-docs';
1
+ import { Markdown, Meta } 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-chip",
3
- "version": "1.0.5",
3
+ "version": "2.0.1",
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.1",
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"
@@ -1,5 +1,5 @@
1
1
  import { useState } from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
2
+ import type { Meta, StoryObj } from '@storybook/react-vite';
3
3
  import { Avatar } from '@availity/mui-avatar';
4
4
  import Collapse from '@mui/material/Collapse';
5
5
  import { Chip, ChipProps } from './Chip';
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
  };
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { StatusChip, StatusChipProps } from './StatusChip';
3
3
 
4
4
  const meta: Meta<typeof StatusChip> = {
@@ -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
  };