From 4d49b4028f837ff4c756d152e99a9109af89e73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Mesnil?= <50322149+theo-mesnil@users.noreply.github.com> Date: Tue, 3 Dec 2024 09:44:33 +0100 Subject: [PATCH] feat: add Extend icon (#2632) --- icons/_assets/extend.svg | 1 + icons/src/Extend/content.json | 5 +++++ icons/src/Extend/index.tsx | 8 ++++++++ icons/src/index.d.ts | 1 + icons/src/index.ts | 1 + packages/IconFont/src/unicode.json | 3 ++- website/build-app/components/IconsList/icons.ts | 1 + 7 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 icons/_assets/extend.svg create mode 100644 icons/src/Extend/content.json create mode 100644 icons/src/Extend/index.tsx diff --git a/icons/_assets/extend.svg b/icons/_assets/extend.svg new file mode 100644 index 000000000..3a747cc0d --- /dev/null +++ b/icons/_assets/extend.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/src/Extend/content.json b/icons/src/Extend/content.json new file mode 100644 index 000000000..27c4fd312 --- /dev/null +++ b/icons/src/Extend/content.json @@ -0,0 +1,5 @@ +{ + "width": 15, + "height": 15, + "block": "" +} \ No newline at end of file diff --git a/icons/src/Extend/index.tsx b/icons/src/Extend/index.tsx new file mode 100644 index 000000000..5a20c2414 --- /dev/null +++ b/icons/src/Extend/index.tsx @@ -0,0 +1,8 @@ +import React from 'react' +import { Icon, IconProps } from '@welcome-ui/icon' + +import content from './content.json' + +export const ExtendIcon: React.FC = props => { + return +} diff --git a/icons/src/index.d.ts b/icons/src/index.d.ts index 0a13eb6c2..da429da12 100644 --- a/icons/src/index.d.ts +++ b/icons/src/index.d.ts @@ -102,6 +102,7 @@ export declare const EqualIcon: React.FC export declare const EuroCurrencyIcon: React.FC export declare const ExpandIcon: React.FC export declare const ExpandTextIcon: React.FC +export declare const ExtendIcon: React.FC export declare const ExternalLinkIcon: React.FC export declare const FacebookIcon: React.FC export declare const FactoryIcon: React.FC diff --git a/icons/src/index.ts b/icons/src/index.ts index bfacca7a1..004782746 100644 --- a/icons/src/index.ts +++ b/icons/src/index.ts @@ -100,6 +100,7 @@ export { EqualIcon } from './Equal' export { EuroCurrencyIcon } from './EuroCurrency' export { ExpandIcon } from './Expand' export { ExpandTextIcon } from './ExpandText' +export { ExtendIcon } from './Extend' export { ExternalLinkIcon } from './ExternalLink' export { FacebookIcon } from './Facebook' export { FactoryIcon } from './Factory' diff --git a/packages/IconFont/src/unicode.json b/packages/IconFont/src/unicode.json index 0b744a339..58d3f5d42 100644 --- a/packages/IconFont/src/unicode.json +++ b/packages/IconFont/src/unicode.json @@ -296,5 +296,6 @@ "arrow_line_down": "0xF228", "arrow_line_up": "0xF229", "symbol": "0xF22A", - "thunderclock": "0xF22B" + "thunderclock": "0xF22B", + "extend": "0xF22C" } \ No newline at end of file diff --git a/website/build-app/components/IconsList/icons.ts b/website/build-app/components/IconsList/icons.ts index 76c371bd4..788ed5aef 100644 --- a/website/build-app/components/IconsList/icons.ts +++ b/website/build-app/components/IconsList/icons.ts @@ -35,6 +35,7 @@ export const actions: IconProps['name'][] = [ 'collapse', 'expand', 'expand_text', + 'extend', 'external_link', 'heart', 'heart_outline',