Skip to content

Commit

Permalink
chore(ui) add filled circle icon (#3163)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-rasmussen authored Dec 6, 2024
1 parent dd43774 commit 563fe3a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions weave-js/src/assets/icons/icon-filled-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions weave-js/src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -499,6 +500,9 @@ export const IconFacebookSocial = (props: SVGIconProps) => (
export const IconFailed = (props: SVGIconProps) => (
<ImportFailed {...updateIconProps(props)} />
);
export const IconFilledCircle = (props: SVGIconProps) => (
<ImportFilledCircle {...updateIconProps(props)} />
);
export const IconFilterAlt = (props: SVGIconProps) => (
<ImportFilterAlt {...updateIconProps(props)} />
);
Expand Down Expand Up @@ -1142,6 +1146,7 @@ const ICON_NAME_TO_ICON: Record<IconName, ElementType> = {
'export-share-upload': IconExportShareUpload,
'facebook-social': IconFacebookSocial,
failed: IconFailed,
'filled-circle': IconFilledCircle,
'filter-alt': IconFilterAlt,
'flash-bolt': IconFlashBolt,
'folder-alt': IconFolderAlt,
Expand Down
1 change: 1 addition & 0 deletions weave-js/src/components/Icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export {
IconExportShareUpload,
IconFacebookSocial,
IconFailed,
IconFilledCircle,
IconFilterAlt,
IconFlashBolt,
IconFolderAlt,
Expand Down
1 change: 1 addition & 0 deletions weave-js/src/components/Icon/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 563fe3a

Please sign in to comment.