@availity/mui-avatar 0.4.0 → 1.0.0-alpha.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,20 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.0.0-alpha.0](https://github.com/Availity/element/compare/@availity/mui-avatar@0.4.0...@availity/mui-avatar@1.0.0-alpha.0) (2025-02-24)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * upgraded to @mui/material v6
11
+ * **element:** upgraded to @mui/material v6
12
+
13
+ ### Features
14
+
15
+ * **element:** upgrade to @mui/material v6 ([cb958bb](https://github.com/Availity/element/commit/cb958bba99a4f1ee6dab323f0ff54b69e6fd3493))
16
+ * upgrade @mui/material ([571453a](https://github.com/Availity/element/commit/571453a34b21c344594ab4c03bc497d19aba942b))
17
+ * upgrade to MUI v6 ([7febd6f](https://github.com/Availity/element/commit/7febd6fd4fd58e87e1c97a832cea3b4595a35d58))
18
+
5
19
  ## [0.4.0](https://github.com/Availity/element/compare/@availity/mui-avatar@0.3.6...@availity/mui-avatar@0.4.0) (2025-02-04)
6
20
 
7
21
  ### Dependency Updates
package/dist/index.js CHANGED
@@ -77,11 +77,11 @@ var __async = (__this, __arguments, generator) => {
77
77
  };
78
78
 
79
79
  // src/index.ts
80
- var src_exports = {};
81
- __export(src_exports, {
80
+ var index_exports = {};
81
+ __export(index_exports, {
82
82
  Avatar: () => Avatar
83
83
  });
84
- module.exports = __toCommonJS(src_exports);
84
+ module.exports = __toCommonJS(index_exports);
85
85
 
86
86
  // src/lib/Avatar.tsx
87
87
  var import_Avatar = __toESM(require("@mui/material/Avatar"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-avatar",
3
- "version": "0.4.0",
3
+ "version": "1.0.0-alpha.0",
4
4
  "description": "Availity MUI Avatar Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,22 +40,22 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "devDependencies": {
43
- "@availity/mui-icon": "^0.14.0",
44
- "@mui/material": "^5.15.15",
43
+ "@availity/mui-icon": "^1.0.0-alpha.0",
44
+ "@mui/material": "^6.4.5",
45
45
  "react": "18.2.0",
46
46
  "react-dom": "18.2.0",
47
- "tsup": "^8.0.2",
47
+ "tsup": "^8.3.6",
48
48
  "typescript": "^5.4.5"
49
49
  },
50
50
  "peerDependencies": {
51
- "@availity/mui-icon": "^0.14.0",
52
- "@mui/material": "^5.11.9",
51
+ "@availity/mui-icon": "^1.0.0-alpha.0",
52
+ "@mui/material": "^6.4.5",
53
53
  "react": ">=16.3.0"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
58
  "dependencies": {
59
- "@availity/api-axios": "^9.0.6"
59
+ "@availity/api-axios": "^10.0.0"
60
60
  }
61
61
  }
@@ -3,7 +3,7 @@
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
  import { Avatar, AvatarProps } from './Avatar';
5
5
  import { HomeIcon } from '@availity/mui-icon';
6
- import Grid from '@mui/material/Unstable_Grid2';
6
+ import Grid from '@mui/material/Grid2';
7
7
 
8
8
  const meta: Meta<typeof Avatar> = {
9
9
  title: 'Components/Avatar/Avatar',
@@ -49,25 +49,25 @@ export const _IconAvatar: StoryObj<typeof Avatar> = {
49
49
  export const _Sizes: StoryObj<typeof Avatar> = {
50
50
  render: (args: AvatarProps) => (
51
51
  <Grid container spacing={1}>
52
- <Grid xs={2}>XSmall</Grid>
53
- <Grid xs={10}>
54
- <Avatar {...args} size="xs"/>
52
+ <Grid size={{ xs: 2 }}>XSmall</Grid>
53
+ <Grid size={{ xs: 10 }}>
54
+ <Avatar {...args} size="xs" />
55
55
  </Grid>
56
- <Grid xs={2}>Small</Grid>
57
- <Grid xs={10}>
58
- <Avatar {...args} size="s"/>
56
+ <Grid size={{ xs: 2 }}>Small</Grid>
57
+ <Grid size={{ xs: 10 }}>
58
+ <Avatar {...args} size="s" />
59
59
  </Grid>
60
- <Grid xs={2}>Medium</Grid>
61
- <Grid xs={10}>
62
- <Avatar {...args} size="m"/>
60
+ <Grid size={{ xs: 2 }}>Medium</Grid>
61
+ <Grid size={{ xs: 10 }}>
62
+ <Avatar {...args} size="m" />
63
63
  </Grid>
64
- <Grid xs={2}>Large</Grid>
65
- <Grid xs={10}>
66
- <Avatar {...args} size="l"/>
64
+ <Grid size={{ xs: 2 }}>Large</Grid>
65
+ <Grid size={{ xs: 10 }}>
66
+ <Avatar {...args} size="l" />
67
67
  </Grid>
68
- <Grid xs={2}>XLarge</Grid>
69
- <Grid xs={10}>
70
- <Avatar {...args} size="xl"/>
68
+ <Grid size={{ xs: 2 }}>XLarge</Grid>
69
+ <Grid size={{ xs: 10 }}>
70
+ <Avatar {...args} size="xl" />
71
71
  </Grid>
72
72
  </Grid>
73
73
  ),
@@ -76,7 +76,7 @@ export const _Sizes: StoryObj<typeof Avatar> = {
76
76
  },
77
77
  parameters: {
78
78
  controls: {
79
- include: 'children'
80
- }
81
- }
79
+ include: 'children',
80
+ },
81
+ },
82
82
  };
File without changes