From 169b259cd6320b69da952d15decd4102e59fe0a7 Mon Sep 17 00:00:00 2001 From: constanzauanini Date: Fri, 21 Feb 2025 11:34:27 -0300 Subject: [PATCH 1/3] Add note icon --- assets/icon-note.svg | 3 +++ src/components/Icon/icons/index.tsx | 4 ++++ src/components/svg/IconNote.tsx | 16 ++++++++++++++++ src/components/svg/index.ts | 1 + 4 files changed, 24 insertions(+) create mode 100644 assets/icon-note.svg create mode 100644 src/components/svg/IconNote.tsx diff --git a/assets/icon-note.svg b/assets/icon-note.svg new file mode 100644 index 000000000..c4b2fd297 --- /dev/null +++ b/assets/icon-note.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Icon/icons/index.tsx b/src/components/Icon/icons/index.tsx index b15a97d8b..3b6bea065 100644 --- a/src/components/Icon/icons/index.tsx +++ b/src/components/Icon/icons/index.tsx @@ -85,6 +85,7 @@ import MenuVertical from '../../svg/MenuVertical'; import Monitoring from '../../svg/BlobbyIconHeartMonitor'; import MonitoringNav from '../../svg/IconHeartMonitor'; import Mail from '../../svg/IconMail'; +import Note from '../../svg/IconNote'; import Notification from '../../svg/Notification'; import Organization from '../../svg/BlobbyIconOrganization'; import OrganizationNav from '../../svg/IconOrg'; @@ -109,6 +110,7 @@ import Warning from '../../svg/Warning'; import Wifi from '../../svg/IconWifi'; import IconMarker from '../../svg/IconMarker'; import WelcomeClipboard from '../../svg/WelcomeClipboard'; +import { IconNote } from '../../svg'; export type IconName = | 'blobbyGrayIconImage' @@ -198,6 +200,7 @@ export type IconName = | 'monitoring' | 'monitoringNav' | 'newOrganization' + | 'note' | 'notification' | 'organization' | 'organizationNav' @@ -314,6 +317,7 @@ const icons: Record = { monitoring: Monitoring, monitoringNav: MonitoringNav, newOrganization: WelcomeClipboard, + note: IconNote, notification: Notification, organization: Organization, organizationNav: OrganizationNav, diff --git a/src/components/svg/IconNote.tsx b/src/components/svg/IconNote.tsx new file mode 100644 index 000000000..1a1cb8daf --- /dev/null +++ b/src/components/svg/IconNote.tsx @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { SVGProps } from 'react'; +interface SVGRProps { + title?: string; + titleId?: string; +} +const SvgIconNote = ({ title, titleId, ...props }: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + +); +export default SvgIconNote; diff --git a/src/components/svg/index.ts b/src/components/svg/index.ts index a96a69998..14587e7a5 100644 --- a/src/components/svg/index.ts +++ b/src/components/svg/index.ts @@ -67,6 +67,7 @@ export { default as IconMenuHorizontal } from './IconMenuHorizontal'; export { default as IconMenu } from './IconMenu'; export { default as IconModule } from './IconModule'; export { default as IconMyLocation } from './IconMyLocation'; +export { default as IconNote } from './IconNote'; export { default as IconNursery } from './IconNursery'; export { default as IconOrg } from './IconOrg'; export { default as IconParchment } from './IconParchment'; From 8772c3452df86a3138fb9d336cb45c5c7ec32897 Mon Sep 17 00:00:00 2001 From: constanzauanini Date: Fri, 21 Feb 2025 11:42:53 -0300 Subject: [PATCH 2/3] Update index.tsx --- src/components/Icon/icons/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Icon/icons/index.tsx b/src/components/Icon/icons/index.tsx index 3b6bea065..59ef22b17 100644 --- a/src/components/Icon/icons/index.tsx +++ b/src/components/Icon/icons/index.tsx @@ -110,7 +110,6 @@ import Warning from '../../svg/Warning'; import Wifi from '../../svg/IconWifi'; import IconMarker from '../../svg/IconMarker'; import WelcomeClipboard from '../../svg/WelcomeClipboard'; -import { IconNote } from '../../svg'; export type IconName = | 'blobbyGrayIconImage' From 8c81bc963e058eb5719ff4a3c0ab4d54581f1f8d Mon Sep 17 00:00:00 2001 From: constanzauanini Date: Fri, 21 Feb 2025 11:43:06 -0300 Subject: [PATCH 3/3] Update index.tsx --- src/components/Icon/icons/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Icon/icons/index.tsx b/src/components/Icon/icons/index.tsx index 59ef22b17..7c458d50d 100644 --- a/src/components/Icon/icons/index.tsx +++ b/src/components/Icon/icons/index.tsx @@ -316,7 +316,7 @@ const icons: Record = { monitoring: Monitoring, monitoringNav: MonitoringNav, newOrganization: WelcomeClipboard, - note: IconNote, + note: Note, notification: Notification, organization: Organization, organizationNav: OrganizationNav,