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
@@ -1,7 +1,7 @@
import { visuallyHidden } from "@mui/utils";
import type { WorkspaceResource } from "api/typesGenerated";
import { Avatar } from "components/Avatar/Avatar";
import { ExternalImage } from "components/ExternalImage/ExternalImage";
import { Avatar } from "components/deprecated/Avatar/Avatar";
import { type FC, useId } from "react";
import { getResourceIconPath } from "utils/workspace";