From 54f142d20662e81078a96735c505fe9f17a7b106 Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:10:32 +0300 Subject: [PATCH 1/8] add IconAlertCircle16 --- .../icons/AlertCircle/AlertCircle16.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/components/icons/AlertCircle/AlertCircle16.tsx diff --git a/src/components/icons/AlertCircle/AlertCircle16.tsx b/src/components/icons/AlertCircle/AlertCircle16.tsx new file mode 100644 index 0000000..39424b1 --- /dev/null +++ b/src/components/icons/AlertCircle/AlertCircle16.tsx @@ -0,0 +1,23 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconAlertCircle16: FC = ({ + size = 16, + color = 'currentColor', +}) => ( + + + +); From 5d00fd40894d7870fcf14968086d00b22567de9e Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:10:46 +0300 Subject: [PATCH 2/8] add IconAlertCircle24 --- .../icons/AlertCircle/AlertCircle24.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/components/icons/AlertCircle/AlertCircle24.tsx diff --git a/src/components/icons/AlertCircle/AlertCircle24.tsx b/src/components/icons/AlertCircle/AlertCircle24.tsx new file mode 100644 index 0000000..92456e7 --- /dev/null +++ b/src/components/icons/AlertCircle/AlertCircle24.tsx @@ -0,0 +1,23 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconAlertCircle24: FC = ({ + size = 24, + color = 'currentColor', +}) => ( + + + +); From e9638b22077fd670054013a0e77cc4a75e12b8ca Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:10:51 +0300 Subject: [PATCH 3/8] add IconAlertCircle32 --- .../icons/AlertCircle/AlertCircle32.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/components/icons/AlertCircle/AlertCircle32.tsx diff --git a/src/components/icons/AlertCircle/AlertCircle32.tsx b/src/components/icons/AlertCircle/AlertCircle32.tsx new file mode 100644 index 0000000..9c0ce3a --- /dev/null +++ b/src/components/icons/AlertCircle/AlertCircle32.tsx @@ -0,0 +1,23 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconAlertCircle32: FC = ({ + size = 32, + color = 'currentColor', +}) => ( + + + +); From 619be1290ba00b4b32fb0f4829f15633ece78268 Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:13:05 +0300 Subject: [PATCH 4/8] fix: add IconAlertCircle --- .../icons/AlertCircle/AlertCircle.tsx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/components/icons/AlertCircle/AlertCircle.tsx diff --git a/src/components/icons/AlertCircle/AlertCircle.tsx b/src/components/icons/AlertCircle/AlertCircle.tsx new file mode 100644 index 0000000..0b18025 --- /dev/null +++ b/src/components/icons/AlertCircle/AlertCircle.tsx @@ -0,0 +1,21 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; +import { IconAlertCircle16 } from './AlertCircle16'; +import { IconAlertCircle24 } from './AlertCircle24'; +import { IconAlertCircle32 } from './AlertCircle32'; + +export const IconAlertCircle: FC = ({ + size = 16, + color = 'currentColor', +}) => { + switch (size.toString()) { + case '16': + return ; + case '24': + return ; + case '32': + return ; + default: + return ; + } +}; From 7ed72d5ab4340ca9ff3f38242f35aa54b73a5112 Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:13:12 +0300 Subject: [PATCH 5/8] add IconAlertCircle story --- src/stories/icons/IconAlertCircle.stories.tsx | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/stories/icons/IconAlertCircle.stories.tsx diff --git a/src/stories/icons/IconAlertCircle.stories.tsx b/src/stories/icons/IconAlertCircle.stories.tsx new file mode 100644 index 0000000..b5580b9 --- /dev/null +++ b/src/stories/icons/IconAlertCircle.stories.tsx @@ -0,0 +1,20 @@ +import React from 'react'; +import { ComponentStory, ComponentMeta } from '@storybook/react'; + +import { IconAlertCircle } from '../../components/icons/AlertCircle/AlertCircle'; + +export default { + title: 'Example/Icons/AlertCircle', + component: IconAlertCircle, +} as ComponentMeta; + +const Template: ComponentStory = args => ( + +); + +export const ArrowLeft = Template.bind({}); +ArrowLeft.storyName = 'AlertCircle'; +ArrowLeft.args = { + color: 'white', + size: 32, +}; From da4a107e990907237bb88b86266786598c24d4c9 Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:13:18 +0300 Subject: [PATCH 6/8] remove IconAlertCircle --- src/components/icons/AlertCircle.tsx | 71 ---------------------------- 1 file changed, 71 deletions(-) delete mode 100644 src/components/icons/AlertCircle.tsx diff --git a/src/components/icons/AlertCircle.tsx b/src/components/icons/AlertCircle.tsx deleted file mode 100644 index 6d8a911..0000000 --- a/src/components/icons/AlertCircle.tsx +++ /dev/null @@ -1,71 +0,0 @@ -import React, { FC } from 'react'; -import { IIconProps } from './type'; - -export const IconAlertCricle: FC = ({ - size = 16, - color = 'currentColor', -}) => { - const size16 = ( - - - - ); - - const size24 = ( - - - - ); - - const size32 = ( - - - - ); - - switch (size.toString()) { - case '16': - return size16; - case '24': - return size24; - case '32': - return size32; - default: - return size16; - } -}; From 0779512fb7849bdb2e8d04f1427218026343b590 Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:13:30 +0300 Subject: [PATCH 7/8] export AlertCircle --- src/components/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/index.ts b/src/components/index.ts index f0d1a17..633eed9 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -155,8 +155,12 @@ export * from './icons/giv-economy/Farm'; export * from './icons/giv-economy/Garden'; export * from './icons/giv-economy/Stream'; +export * from './icons/AlertCircle/AlertCircle'; +export * from './icons/AlertCircle/AlertCircle16'; +export * from './icons/AlertCircle/AlertCircle24'; +export * from './icons/AlertCircle/AlertCircle32'; + export * from './icons/Archiving'; -export * from './icons/AlertCircle'; export * from './icons/AlertTriangle'; export * from './icons/Bell'; export * from './icons/BellOutline'; From 5ba778916b9afb100b7bb11da70f6e0cd8f86498 Mon Sep 17 00:00:00 2001 From: Cherik Date: Fri, 4 Nov 2022 17:14:26 +0300 Subject: [PATCH 8/8] update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e2478a8..b5f2bb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@giveth/ui-design-system", - "version": "1.8.29", + "version": "1.8.30", "files": [ "/lib" ],