From 097ed5573794cfbc0c973f6f71e0755a3e02ad44 Mon Sep 17 00:00:00 2001 From: Earl Munyua <142984533+Munyua123@users.noreply.github.com> Date: Wed, 6 Nov 2024 21:13:26 +0300 Subject: [PATCH] (fix) O3-4170: Add the Syringe Icon to CarbonMRS (#1196) --- packages/framework/esm-framework/docs/API.md | 19 ++++++++++++++----- packages/framework/esm-styleguide/mock.tsx | 1 + .../src/icons/icon-registration.ts | 3 ++- .../esm-styleguide/src/icons/icons.tsx | 8 ++++++++ .../esm-styleguide/src/icons/svgs/syringe.svg | 5 +++++ 5 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 packages/framework/esm-styleguide/src/icons/svgs/syringe.svg diff --git a/packages/framework/esm-framework/docs/API.md b/packages/framework/esm-framework/docs/API.md index 2d91d0146..bd612e714 100644 --- a/packages/framework/esm-framework/docs/API.md +++ b/packages/framework/esm-framework/docs/API.md @@ -1173,7 +1173,7 @@ ___ #### Defined in -[packages/framework/esm-styleguide/src/icons/icons.tsx:630](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L630) +[packages/framework/esm-styleguide/src/icons/icons.tsx:630](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L638) ___ @@ -1233,7 +1233,7 @@ ___ #### Defined in -[packages/framework/esm-styleguide/src/icons/icons.tsx:635](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L635) +[packages/framework/esm-styleguide/src/icons/icons.tsx:635](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L643) ___ @@ -1427,7 +1427,7 @@ Note this is an alias for ListCheckedIcon #### Defined in -[packages/framework/esm-styleguide/src/icons/icons.tsx:642](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L642) +[packages/framework/esm-styleguide/src/icons/icons.tsx:642](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L650) ___ @@ -1815,7 +1815,7 @@ ___ #### Defined in -[packages/framework/esm-styleguide/src/icons/icons.tsx:639](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L639) +[packages/framework/esm-styleguide/src/icons/icons.tsx:639](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L655) ___ @@ -1899,7 +1899,7 @@ Note this is an alias for ShoppingCartArrowDownIcon #### Defined in -[packages/framework/esm-styleguide/src/icons/icons.tsx:654](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L654) +[packages/framework/esm-styleguide/src/icons/icons.tsx:654](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L662) ___ @@ -1949,6 +1949,15 @@ ___ ___ +### SyringeIcon + +• `Const` **SyringeIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\> + +#### Defined in + +[packages/framework/esm-styleguide/src/icons/icons.tsx:471](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L627) + +___ ### TableIcon • `Const` **TableIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\> diff --git a/packages/framework/esm-styleguide/mock.tsx b/packages/framework/esm-styleguide/mock.tsx index fb9ed50e5..c47ab780e 100644 --- a/packages/framework/esm-styleguide/mock.tsx +++ b/packages/framework/esm-styleguide/mock.tsx @@ -48,6 +48,7 @@ export const PenIcon = () =>