chore: add new avatar component (#15882)

Related to https://github.com/coder/coder/issues/14997

- Add a new `Avatar` component based on the [new avatar
design](https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=711-383&t=xqxOSUk48GvDsjGK-0).
- Deprecate existent `Avatar` component.
This commit is contained in:
Bruno Quaresma
2024-12-17 05:55:31 -03:00
committed by GitHub
parent 468ffd9919
commit badebc79cb
33 changed files with 424 additions and 165 deletions
@@ -2,7 +2,10 @@ import { css } from "@emotion/css";
import { useTheme } from "@emotion/react";
import Button, { type ButtonProps } from "@mui/material/Button";
import IconButton, { type IconButtonProps } from "@mui/material/IconButton";
import { type AvatarProps, ExternalAvatar } from "components/Avatar/Avatar";
import {
type AvatarProps,
ExternalAvatar,
} from "components/deprecated/Avatar/Avatar";
import {
type FC,
type ForwardedRef,