From f418ddf051128cd117d17d51b5a99b22815b9a65 Mon Sep 17 00:00:00 2001 From: Ian Date: Thu, 3 Oct 2024 14:30:22 -0400 Subject: [PATCH] (fix) O3-4018: Add fixed Information icon set --- packages/framework/esm-styleguide/mock.tsx | 2 ++ .../src/icons/icon-registration.ts | 6 +++++ .../esm-styleguide/src/icons/icons.tsx | 24 +++++++++++++++++++ .../src/icons/svgs/information--filled.svg | 3 +++ .../src/icons/svgs/information--square.svg | 5 ++++ .../src/icons/svgs/information.svg | 16 ++++--------- 6 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 packages/framework/esm-styleguide/src/icons/svgs/information--filled.svg create mode 100644 packages/framework/esm-styleguide/src/icons/svgs/information--square.svg diff --git a/packages/framework/esm-styleguide/mock.tsx b/packages/framework/esm-styleguide/mock.tsx index f1632fa87..0b5af8744 100644 --- a/packages/framework/esm-styleguide/mock.tsx +++ b/packages/framework/esm-styleguide/mock.tsx @@ -25,6 +25,8 @@ export const GroupIcon = () =>
GroupIcon
; export const GroupAccessIcon = () =>
GroupAccessIcon
; export const HospitalBedIcon = () =>
HospitalBedIcon
; export const InformationIcon = () =>
InformationIcon
; +export const InformationFilledIcon = () =>
InformationFilledIcon
; +export const InformationSquareIcon = () =>
InformationSquareIcon
; export const ImageMedicalIcon = () =>
ImageMedicalIcon
; export const InventoryManagementIcon = () =>
InventoryManagementIcon
; export const RadiologyIcon = () =>
RadiologyIcon
; diff --git a/packages/framework/esm-styleguide/src/icons/icon-registration.ts b/packages/framework/esm-styleguide/src/icons/icon-registration.ts index 614d83c7c..1e243f248 100644 --- a/packages/framework/esm-styleguide/src/icons/icon-registration.ts +++ b/packages/framework/esm-styleguide/src/icons/icon-registration.ts @@ -32,6 +32,9 @@ import group from './svgs/group.svg'; import groupAccess from './svgs/group-access.svg'; import hospitalBed from './svgs/hospital-bed.svg'; import imageMedical from './svgs/image-medical.svg'; +import information from './svgs/information.svg'; +import informationFilled from './svgs/information--filled.svg'; +import informationSquare from './svgs/information--square.svg'; import inventoryManagement from './svgs/inventory-management.svg'; import listChecked from './svgs/list-checked.svg'; import location from './svgs/location.svg'; @@ -106,6 +109,9 @@ export function setupIcons() { addSvg('omrs-icon-group-access', groupAccess); addSvg('omrs-icon-hospital-bed', hospitalBed); addSvg('omrs-icon-image-medical', imageMedical); + addSvg('omrs-icon-information', information); + addSvg('omrs-icon-information-filled', informationFilled); + addSvg('omrs-icon-information-square', informationSquare); addSvg('omrs-icon-inventory-management', inventoryManagement); addSvg('omrs-icon-list-checked', listChecked); addSvg('omrs-icon-location', location); diff --git a/packages/framework/esm-styleguide/src/icons/icons.tsx b/packages/framework/esm-styleguide/src/icons/icons.tsx index c8427c480..9487c812c 100644 --- a/packages/framework/esm-styleguide/src/icons/icons.tsx +++ b/packages/framework/esm-styleguide/src/icons/icons.tsx @@ -281,6 +281,30 @@ export const InventoryManagementIcon = memo( }), ); +/** + */ +export const InformationIcon = memo( + forwardRef(function InformationIcon(props, ref) { + return ; + }), +); + +/** + */ +export const InformationFilledIcon = memo( + forwardRef(function InformationFilledIcon(props, ref) { + return ; + }), +); + +/** + */ +export const InformationSquareIcon = memo( + forwardRef(function InformationSquareIcon(props, ref) { + return ; + }), +); + /** */ export const ListCheckedIcon = memo( diff --git a/packages/framework/esm-styleguide/src/icons/svgs/information--filled.svg b/packages/framework/esm-styleguide/src/icons/svgs/information--filled.svg new file mode 100644 index 000000000..4fcb4d0b2 --- /dev/null +++ b/packages/framework/esm-styleguide/src/icons/svgs/information--filled.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/framework/esm-styleguide/src/icons/svgs/information--square.svg b/packages/framework/esm-styleguide/src/icons/svgs/information--square.svg new file mode 100644 index 000000000..c302cae1b --- /dev/null +++ b/packages/framework/esm-styleguide/src/icons/svgs/information--square.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/framework/esm-styleguide/src/icons/svgs/information.svg b/packages/framework/esm-styleguide/src/icons/svgs/information.svg index b239698c9..12e6abc03 100644 --- a/packages/framework/esm-styleguide/src/icons/svgs/information.svg +++ b/packages/framework/esm-styleguide/src/icons/svgs/information.svg @@ -1,13 +1,5 @@ - - - - - - - - + + + +