Skip to content

Commit

Permalink
feat: 🎸 Default AvatarVariant changed to "circular"
Browse files Browse the repository at this point in the history
Avatar component no longer supports "circle" value for "variant"
property, has been replaced by "circular". As a consequence of this
minimum version of @material-ui/* in peer dependencies needed to be
updated to v4.11.3

BREAKING CHANGE: 🧨 Avatar component no longer supports "circle" value for "variant"
property, has been replaced by "circular". As a consequence of this
minimum version of @material-ui/* in peer dependencies needed to be
updated to v4.11.3

✅ Closes: 178
  • Loading branch information
luciobordonaro committed Apr 19, 2021
1 parent 756b35e commit 5eace79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
"typescript": "3.8.3"
},
"peerDependencies": {
"@material-ui/core": ">= 4.11.0 < 5",
"@material-ui/icons": ">= 4.9.0 < 5",
"@material-ui/lab": ">= 4.0.0-alpha.56 < 5",
"@material-ui/core": ">= 4.11.3 < 5",
"@material-ui/icons": ">= 4.11.2 < 5",
"@material-ui/lab": ">= 4.0.0-alpha.57 < 5",
"react": ">= 16.13.0 < 17",
"react-dom": ">= 16.13.0 < 17",
"react-intl": ">= 5.4.x < 6"
Expand Down
2 changes: 1 addition & 1 deletion src/types/Avatar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ILoadable } from "./Base";
import { Icons } from "./Icon";

export enum AvatarVariant {
default = "circle",
default = "circular",
rounded = "rounded",
squared = "square",
}
Expand Down

0 comments on commit 5eace79

Please sign in to comment.