From 685e3fa2f8eabf5302ab7ebcd25cefd9f850440b Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 28 Oct 2025 16:47:43 +0530 Subject: [PATCH] [WEB-5236] chore: attachment icon revamp (#8009) * chore: iconwrapper component added * chore: attachments icon added to propel * chore: code refactor * chore: code refactor --- .../src/icons/attachments/audio-file-icon.tsx | 13 +++++++++++++ .../propel/src/icons/attachments/code-file-icon.tsx | 13 +++++++++++++ .../src/icons/attachments/document-file-icon.tsx | 13 +++++++++++++ .../src/icons/attachments/image-file-icon.tsx | 13 +++++++++++++ packages/propel/src/icons/attachments/index.ts | 5 +++++ .../src/icons/attachments/video-file-icon.tsx | 13 +++++++++++++ packages/propel/src/icons/index.ts | 1 + 7 files changed, 71 insertions(+) create mode 100644 packages/propel/src/icons/attachments/audio-file-icon.tsx create mode 100644 packages/propel/src/icons/attachments/code-file-icon.tsx create mode 100644 packages/propel/src/icons/attachments/document-file-icon.tsx create mode 100644 packages/propel/src/icons/attachments/image-file-icon.tsx create mode 100644 packages/propel/src/icons/attachments/index.ts create mode 100644 packages/propel/src/icons/attachments/video-file-icon.tsx diff --git a/packages/propel/src/icons/attachments/audio-file-icon.tsx b/packages/propel/src/icons/attachments/audio-file-icon.tsx new file mode 100644 index 0000000000..ce9477e3d3 --- /dev/null +++ b/packages/propel/src/icons/attachments/audio-file-icon.tsx @@ -0,0 +1,13 @@ +import * as React from "react"; + +import { IconWrapper } from "../icon-wrapper"; +import { ISvgIcons } from "../type"; + +export const AudioFileIcon: React.FC = ({ color = "currentColor", ...rest }) => ( + + + +); diff --git a/packages/propel/src/icons/attachments/code-file-icon.tsx b/packages/propel/src/icons/attachments/code-file-icon.tsx new file mode 100644 index 0000000000..10a52834ae --- /dev/null +++ b/packages/propel/src/icons/attachments/code-file-icon.tsx @@ -0,0 +1,13 @@ +import * as React from "react"; + +import { IconWrapper } from "../icon-wrapper"; +import { ISvgIcons } from "../type"; + +export const CodeFileIcon: React.FC = ({ color = "currentColor", ...rest }) => ( + + + +); diff --git a/packages/propel/src/icons/attachments/document-file-icon.tsx b/packages/propel/src/icons/attachments/document-file-icon.tsx new file mode 100644 index 0000000000..57dbdfbbfd --- /dev/null +++ b/packages/propel/src/icons/attachments/document-file-icon.tsx @@ -0,0 +1,13 @@ +import * as React from "react"; + +import { IconWrapper } from "../icon-wrapper"; +import { ISvgIcons } from "../type"; + +export const DocumentFileIcon: React.FC = ({ color = "currentColor", ...rest }) => ( + + + +); diff --git a/packages/propel/src/icons/attachments/image-file-icon.tsx b/packages/propel/src/icons/attachments/image-file-icon.tsx new file mode 100644 index 0000000000..0c3dd89696 --- /dev/null +++ b/packages/propel/src/icons/attachments/image-file-icon.tsx @@ -0,0 +1,13 @@ +import * as React from "react"; + +import { IconWrapper } from "../icon-wrapper"; +import { ISvgIcons } from "../type"; + +export const ImageFileIcon: React.FC = ({ color = "currentColor", ...rest }) => ( + + + +); diff --git a/packages/propel/src/icons/attachments/index.ts b/packages/propel/src/icons/attachments/index.ts new file mode 100644 index 0000000000..408dc37a31 --- /dev/null +++ b/packages/propel/src/icons/attachments/index.ts @@ -0,0 +1,5 @@ +export * from "./audio-file-icon"; +export * from "./code-file-icon"; +export * from "./document-file-icon"; +export * from "./image-file-icon"; +export * from "./video-file-icon"; diff --git a/packages/propel/src/icons/attachments/video-file-icon.tsx b/packages/propel/src/icons/attachments/video-file-icon.tsx new file mode 100644 index 0000000000..dea3397ca3 --- /dev/null +++ b/packages/propel/src/icons/attachments/video-file-icon.tsx @@ -0,0 +1,13 @@ +import * as React from "react"; + +import { IconWrapper } from "../icon-wrapper"; +import { ISvgIcons } from "../type"; + +export const VideoFileIcon: React.FC = ({ color = "currentColor", ...rest }) => ( + + + +); diff --git a/packages/propel/src/icons/index.ts b/packages/propel/src/icons/index.ts index ace2a42257..00c8f4472d 100644 --- a/packages/propel/src/icons/index.ts +++ b/packages/propel/src/icons/index.ts @@ -6,6 +6,7 @@ export * from "./actions"; export * from "./activity-icon"; export * from "./ai-icon"; export * from "./at-risk-icon"; +export * from "./attachments"; export * from "./bar-icon"; export * from "./blocked-icon"; export * from "./blocker-icon";