From 563fe3a0cebc10ef949dc88bb40e6461e233584d Mon Sep 17 00:00:00 2001 From: Jamie Rasmussen <112953339+jamie-rasmussen@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:14:40 -0600 Subject: [PATCH] chore(ui) add filled circle icon (#3163) --- weave-js/src/assets/icons/icon-filled-circle.svg | 3 +++ weave-js/src/components/Icon/Icon.tsx | 5 +++++ weave-js/src/components/Icon/index.ts | 1 + weave-js/src/components/Icon/types.ts | 1 + 4 files changed, 10 insertions(+) create mode 100644 weave-js/src/assets/icons/icon-filled-circle.svg diff --git a/weave-js/src/assets/icons/icon-filled-circle.svg b/weave-js/src/assets/icons/icon-filled-circle.svg new file mode 100644 index 00000000000..2b57c31558b --- /dev/null +++ b/weave-js/src/assets/icons/icon-filled-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/weave-js/src/components/Icon/Icon.tsx b/weave-js/src/components/Icon/Icon.tsx index 9c6b8f1e054..948c8a456b4 100644 --- a/weave-js/src/components/Icon/Icon.tsx +++ b/weave-js/src/components/Icon/Icon.tsx @@ -74,6 +74,7 @@ import {ReactComponent as ImportExpandUncollapse} from '../../assets/icons/icon- import {ReactComponent as ImportExportShareUpload} from '../../assets/icons/icon-export-share-upload.svg'; import {ReactComponent as ImportFacebookSocial} from '../../assets/icons/icon-facebook-social.svg'; import {ReactComponent as ImportFailed} from '../../assets/icons/icon-failed.svg'; +import {ReactComponent as ImportFilledCircle} from '../../assets/icons/icon-filled-circle.svg'; import {ReactComponent as ImportFilterAlt} from '../../assets/icons/icon-filter-alt.svg'; import {ReactComponent as ImportFlashBolt} from '../../assets/icons/icon-flash-bolt.svg'; import {ReactComponent as ImportFolderAlt} from '../../assets/icons/icon-folder-alt.svg'; @@ -499,6 +500,9 @@ export const IconFacebookSocial = (props: SVGIconProps) => ( export const IconFailed = (props: SVGIconProps) => ( ); +export const IconFilledCircle = (props: SVGIconProps) => ( + +); export const IconFilterAlt = (props: SVGIconProps) => ( ); @@ -1142,6 +1146,7 @@ const ICON_NAME_TO_ICON: Record = { 'export-share-upload': IconExportShareUpload, 'facebook-social': IconFacebookSocial, failed: IconFailed, + 'filled-circle': IconFilledCircle, 'filter-alt': IconFilterAlt, 'flash-bolt': IconFlashBolt, 'folder-alt': IconFolderAlt, diff --git a/weave-js/src/components/Icon/index.ts b/weave-js/src/components/Icon/index.ts index d061df41656..81839a71019 100644 --- a/weave-js/src/components/Icon/index.ts +++ b/weave-js/src/components/Icon/index.ts @@ -74,6 +74,7 @@ export { IconExportShareUpload, IconFacebookSocial, IconFailed, + IconFilledCircle, IconFilterAlt, IconFlashBolt, IconFolderAlt, diff --git a/weave-js/src/components/Icon/types.ts b/weave-js/src/components/Icon/types.ts index e9ea98d1c0e..55f46c52833 100644 --- a/weave-js/src/components/Icon/types.ts +++ b/weave-js/src/components/Icon/types.ts @@ -73,6 +73,7 @@ export const IconNames = { ExportShareUpload: 'export-share-upload', FacebookSocial: 'facebook-social', Failed: 'failed', + FilledCircle: 'filled-circle', FilterAlt: 'filter-alt', FlashBolt: 'flash-bolt', FolderAlt: 'folder-alt',