chore: Remove AI avatar from Icons package (#39687)

## Description
We're removing avatar from the widget (see PR on EE).

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13809907407>
> Commit: 6296b8534f1a98e9869314728778ad45ba89dab7
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13809907407&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 12 Mar 2025 11:53:35 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Removed a custom avatar icon from the icons collection and updated its
display in visual examples.
	  
This update streamlines the available icon set, ensuring a more
consistent and focused user interface experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
vadim 2025-03-12 12:56:46 +01:00 committed by GitHub
parent b568efa137
commit 13faf4829c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 8 deletions

View File

@ -1,4 +0,0 @@
import * as React from "react";
import type { SVGProps } from "react";
const AIAvatarCustomIcon = (props: SVGProps<SVGSVGElement>) => <svg xmlns="http://www.w3.org/2000/svg" width={24} height={24} fill="none" {...props}><rect width={23} height={23} x={0.5} y={0.5} fill="#FFF7F4" rx={1.5} /><rect width={23} height={23} x={0.5} y={0.5} stroke="#FFE9E0" rx={1.5} /><path fill="#FF6D2D" d="M4.5 11a2 2 0 1 0 0 4v-4M19.5 11a2 2 0 1 1 0 4v-4" /><rect width={15} height={10} x={4.5} y={8} fill="#fff" stroke="#000" strokeMiterlimit={10} strokeWidth={0.149} rx={3} /><rect width={12} height={7} x={6} y={9.5} fill="#fff" stroke="#000" strokeMiterlimit={10} strokeWidth={0.5} rx={1.5} /><circle cx={9} cy={12} r={1} fill="#000" /><circle cx={15} cy={12} r={1} fill="#000" /><path fill="#000" d="M11.5 5.5h1V8h-1z" /><circle cx={12} cy={4.5} r={1.5} fill="#fff" stroke="#000" strokeMiterlimit={10} strokeWidth={0.149} /><path stroke="#000" strokeLinecap="round" strokeWidth={0.5} d="m10 14 .209.232A2.426 2.426 0 0 0 14 14v0" /></svg>;
export { AIAvatarCustomIcon };

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><rect width="23" height="23" x=".5" y=".5" fill="#FFF7F4" rx="1.5"/><rect width="23" height="23" x=".5" y=".5" stroke="#FFE9E0" rx="1.5"/><path fill="#FF6D2D" d="M4.5 11a2 2 0 1 0 0 4v-4M19.5 11a2 2 0 1 1 0 4v-4"/><rect width="15" height="10" x="4.5" y="8" fill="#fff" stroke="#000" stroke-miterlimit="10" stroke-width=".149" rx="3"/><rect width="12" height="7" x="6" y="9.5" fill="#fff" stroke="#000" stroke-miterlimit="10" stroke-width=".5" rx="1.5"/><circle cx="9" cy="12" r="1" fill="#000"/><circle cx="15" cy="12" r="1" fill="#000"/><path fill="#000" d="M11.5 5.5h1V8h-1z"/><circle cx="12" cy="4.5" r="1.5" fill="#fff" stroke="#000" stroke-miterlimit="10" stroke-width=".149"/><path stroke="#000" stroke-linecap="round" stroke-width=".5" d="m10 14 .209.232A2.426 2.426 0 0 0 14 14v0"/></svg>

Before

Width:  |  Height:  |  Size: 871 B

View File

@ -28,7 +28,6 @@ export { SwitchThumbnail } from "./components/Thumbnails/SwitchThumbnail";
export { TableThumbnail } from "./components/Thumbnails/TableThumbnail";
export { ToolbarButtonsThumbnail } from "./components/Thumbnails/ToolbarButtonsThumbnail";
export { ZoneThumbnail } from "./components/Thumbnails/ZoneThumbnail";
export { AIAvatarCustomIcon } from "./components/CustomIcons/AIAvatarCustomIcon";
export { EmptyStateIllustrationCustomIcon } from "./components/CustomIcons/EmptyStateIllustrationCustomIcon";
export { AIChatIcon } from "./components/Icons/AIChatIcon";
export { AudioIcon } from "./components/Icons/AudioIcon";

View File

@ -1,6 +1,5 @@
import { Meta } from "@storybook/addon-docs";
import { Flex } from "@appsmith/wds";
import { AIAvatarCustomIcon } from "../components/CustomIcons/AIAvatarCustomIcon";
import { EmptyStateIllustrationCustomIcon } from "../components/CustomIcons/EmptyStateIllustrationCustomIcon";
<Meta title="Appsmith Icons/CustomIcons" />
@ -12,7 +11,6 @@ Set of custom icons.
export const Icons = () => {
return (
<Flex gap="spacing-4" wrap="wrap">
<AIAvatarCustomIcon />
<EmptyStateIllustrationCustomIcon />
</Flex>
);