From fa2de798981a1374e03f77fd0f6c96df281cc4e7 Mon Sep 17 00:00:00 2001 From: zhouyun1 Date: Fri, 27 Oct 2023 11:45:52 +0800 Subject: [PATCH] chore(icons): add icon --- .../icon-resources/common/filled/car.svg | 1 + .../icon-resources/common/filled/send-out.svg | 1 + .../icon-resources/common/filled/talk.svg | 1 + .../common/outlined/data-export.svg | 1 + .../icon-resources/common/outlined/robot.svg | 1 + .../icon-resources/common/outlined/talk.svg | 1 + .../common/outlined/text-extraction.svg | 1 + .../icon-resources/edit/filled/filter 1.svg | 2 +- packages/icons/package.json | 2 +- .../src/components/common/car-filled.tsx | 23 +++++++++++++++++++ .../common/data-export-outlined.tsx | 23 +++++++++++++++++++ .../src/components/common/robot-outlined.tsx | 23 +++++++++++++++++++ .../src/components/common/send-out-filled.tsx | 23 +++++++++++++++++++ .../src/components/common/talk-filled.tsx | 23 +++++++++++++++++++ .../src/components/common/talk-outlined.tsx | 23 +++++++++++++++++++ .../common/text-extraction-outlined.tsx | 23 +++++++++++++++++++ .../src/components/edit/filter-filled.tsx | 2 +- packages/icons/src/icon-summation.ts | 7 ++++++ packages/icons/stories/basic.stories.tsx | 14 +++++++++++ 19 files changed, 192 insertions(+), 3 deletions(-) create mode 100644 packages/icons/icon-resources/common/filled/car.svg create mode 100644 packages/icons/icon-resources/common/filled/send-out.svg create mode 100644 packages/icons/icon-resources/common/filled/talk.svg create mode 100644 packages/icons/icon-resources/common/outlined/data-export.svg create mode 100644 packages/icons/icon-resources/common/outlined/robot.svg create mode 100644 packages/icons/icon-resources/common/outlined/talk.svg create mode 100644 packages/icons/icon-resources/common/outlined/text-extraction.svg create mode 100644 packages/icons/src/components/common/car-filled.tsx create mode 100644 packages/icons/src/components/common/data-export-outlined.tsx create mode 100644 packages/icons/src/components/common/robot-outlined.tsx create mode 100644 packages/icons/src/components/common/send-out-filled.tsx create mode 100644 packages/icons/src/components/common/talk-filled.tsx create mode 100644 packages/icons/src/components/common/talk-outlined.tsx create mode 100644 packages/icons/src/components/common/text-extraction-outlined.tsx diff --git a/packages/icons/icon-resources/common/filled/car.svg b/packages/icons/icon-resources/common/filled/car.svg new file mode 100644 index 000000000..0b875b5d1 --- /dev/null +++ b/packages/icons/icon-resources/common/filled/car.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/filled/send-out.svg b/packages/icons/icon-resources/common/filled/send-out.svg new file mode 100644 index 000000000..c4a38cab7 --- /dev/null +++ b/packages/icons/icon-resources/common/filled/send-out.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/filled/talk.svg b/packages/icons/icon-resources/common/filled/talk.svg new file mode 100644 index 000000000..a6fd4d4ba --- /dev/null +++ b/packages/icons/icon-resources/common/filled/talk.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/data-export.svg b/packages/icons/icon-resources/common/outlined/data-export.svg new file mode 100644 index 000000000..7c8fbbea0 --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/data-export.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/robot.svg b/packages/icons/icon-resources/common/outlined/robot.svg new file mode 100644 index 000000000..5dadbfb34 --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/robot.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/talk.svg b/packages/icons/icon-resources/common/outlined/talk.svg new file mode 100644 index 000000000..7a5640a46 --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/talk.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/text-extraction.svg b/packages/icons/icon-resources/common/outlined/text-extraction.svg new file mode 100644 index 000000000..a4916e4ba --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/text-extraction.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/edit/filled/filter 1.svg b/packages/icons/icon-resources/edit/filled/filter 1.svg index 568d4c892..b39e79f29 100755 --- a/packages/icons/icon-resources/edit/filled/filter 1.svg +++ b/packages/icons/icon-resources/edit/filled/filter 1.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/packages/icons/package.json b/packages/icons/package.json index 812897b11..1197ad008 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@hi-ui/icons", - "version": "4.0.14", + "version": "4.0.15", "description": "A sub-package for @hi-ui/hiui.", "keywords": [], "author": "HiUI ", diff --git a/packages/icons/src/components/common/car-filled.tsx b/packages/icons/src/components/common/car-filled.tsx new file mode 100644 index 000000000..7b7ed3782 --- /dev/null +++ b/packages/icons/src/components/common/car-filled.tsx @@ -0,0 +1,23 @@ + +import React, { forwardRef } from 'react' +import { cx, getPrefixCls } from '@hi-ui/classname' +import { __DEV__ } from '@hi-ui/env' +import { IconProps } from '../../@types/props' + +const _prefix = getPrefixCls('icon-car-filled') + +export const CarFilled = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + CarFilled.displayName = 'CarFilled' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/data-export-outlined.tsx b/packages/icons/src/components/common/data-export-outlined.tsx new file mode 100644 index 000000000..19fe6bf54 --- /dev/null +++ b/packages/icons/src/components/common/data-export-outlined.tsx @@ -0,0 +1,23 @@ + +import React, { forwardRef } from 'react' +import { cx, getPrefixCls } from '@hi-ui/classname' +import { __DEV__ } from '@hi-ui/env' +import { IconProps } from '../../@types/props' + +const _prefix = getPrefixCls('icon-data-export-outlined') + +export const DataExportOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + DataExportOutlined.displayName = 'DataExportOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/robot-outlined.tsx b/packages/icons/src/components/common/robot-outlined.tsx new file mode 100644 index 000000000..7c5250504 --- /dev/null +++ b/packages/icons/src/components/common/robot-outlined.tsx @@ -0,0 +1,23 @@ + +import React, { forwardRef } from 'react' +import { cx, getPrefixCls } from '@hi-ui/classname' +import { __DEV__ } from '@hi-ui/env' +import { IconProps } from '../../@types/props' + +const _prefix = getPrefixCls('icon-robot-outlined') + +export const RobotOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + RobotOutlined.displayName = 'RobotOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/send-out-filled.tsx b/packages/icons/src/components/common/send-out-filled.tsx new file mode 100644 index 000000000..0a40aa127 --- /dev/null +++ b/packages/icons/src/components/common/send-out-filled.tsx @@ -0,0 +1,23 @@ + +import React, { forwardRef } from 'react' +import { cx, getPrefixCls } from '@hi-ui/classname' +import { __DEV__ } from '@hi-ui/env' +import { IconProps } from '../../@types/props' + +const _prefix = getPrefixCls('icon-send-out-filled') + +export const SendOutFilled = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + SendOutFilled.displayName = 'SendOutFilled' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/talk-filled.tsx b/packages/icons/src/components/common/talk-filled.tsx new file mode 100644 index 000000000..312375bea --- /dev/null +++ b/packages/icons/src/components/common/talk-filled.tsx @@ -0,0 +1,23 @@ + +import React, { forwardRef } from 'react' +import { cx, getPrefixCls } from '@hi-ui/classname' +import { __DEV__ } from '@hi-ui/env' +import { IconProps } from '../../@types/props' + +const _prefix = getPrefixCls('icon-talk-filled') + +export const TalkFilled = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + TalkFilled.displayName = 'TalkFilled' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/talk-outlined.tsx b/packages/icons/src/components/common/talk-outlined.tsx new file mode 100644 index 000000000..bacaf6a9d --- /dev/null +++ b/packages/icons/src/components/common/talk-outlined.tsx @@ -0,0 +1,23 @@ + +import React, { forwardRef } from 'react' +import { cx, getPrefixCls } from '@hi-ui/classname' +import { __DEV__ } from '@hi-ui/env' +import { IconProps } from '../../@types/props' + +const _prefix = getPrefixCls('icon-talk-outlined') + +export const TalkOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + TalkOutlined.displayName = 'TalkOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/text-extraction-outlined.tsx b/packages/icons/src/components/common/text-extraction-outlined.tsx new file mode 100644 index 000000000..0c7e2a999 --- /dev/null +++ b/packages/icons/src/components/common/text-extraction-outlined.tsx @@ -0,0 +1,23 @@ + +import React, { forwardRef } from 'react' +import { cx, getPrefixCls } from '@hi-ui/classname' +import { __DEV__ } from '@hi-ui/env' +import { IconProps } from '../../@types/props' + +const _prefix = getPrefixCls('icon-text-extraction-outlined') + +export const TextExtractionOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + TextExtractionOutlined.displayName = 'TextExtractionOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/edit/filter-filled.tsx b/packages/icons/src/components/edit/filter-filled.tsx index d77235110..b89574dc0 100644 --- a/packages/icons/src/components/edit/filter-filled.tsx +++ b/packages/icons/src/components/edit/filter-filled.tsx @@ -12,7 +12,7 @@ export const FilterFilled = forwardRef( const style = { fontSize: size, ...styleProp } return ( - + ) } ) diff --git a/packages/icons/src/icon-summation.ts b/packages/icons/src/icon-summation.ts index e8dc77b67..f1ce59dfa 100644 --- a/packages/icons/src/icon-summation.ts +++ b/packages/icons/src/icon-summation.ts @@ -41,6 +41,7 @@ export { BulbFilled } from './components/common/bulb-filled' export { CalculatorFilled } from './components/common/calculator-filled' export { CalendarFilled } from './components/common/calendar-filled' export { CameraFilled } from './components/common/camera-filled' +export { CarFilled } from './components/common/car-filled' export { CertificateFilled } from './components/common/certificate-filled' export { ChatFilled } from './components/common/chat-filled' export { CloudFilled } from './components/common/cloud-filled' @@ -84,6 +85,7 @@ export { QrCodeFilled } from './components/common/qr-code-filled' export { RelationFilled } from './components/common/relation-filled' export { RmbFilled } from './components/common/rmb-filled' export { SadFilled } from './components/common/sad-filled' +export { SendOutFilled } from './components/common/send-out-filled' export { SettingFilled } from './components/common/setting-filled' export { ShieldFilled } from './components/common/shield-filled' export { ShoppingFilled } from './components/common/shopping-filled' @@ -95,6 +97,7 @@ export { StartDateFilled } from './components/common/start-date-filled' export { StudentFilled } from './components/common/student-filled' export { SunFilled } from './components/common/sun-filled' export { TagFilled } from './components/common/tag-filled' +export { TalkFilled } from './components/common/talk-filled' export { TaskFilled } from './components/common/task-filled' export { TemplateFilled } from './components/common/template-filled' export { TimeFilled } from './components/common/time-filled' @@ -138,6 +141,7 @@ export { CloudUploadOutlined } from './components/common/cloud-upload-outlined' export { CollectionOutlined } from './components/common/collection-outlined' export { CompassOutlined } from './components/common/compass-outlined' export { CustomerServiceOutlined } from './components/common/customer-service-outlined' +export { DataExportOutlined } from './components/common/data-export-outlined' export { DataMonitorOutlined } from './components/common/data-monitor-outlined' export { DiagramOutlined } from './components/common/diagram-outlined' export { DislikeOutlined } from './components/common/dislike-outlined' @@ -202,6 +206,7 @@ export { QrCodeOutlined } from './components/common/qr-code-outlined' export { RelationOutlined } from './components/common/relation-outlined' export { ResetOutlined } from './components/common/reset-outlined' export { RmbOutlined } from './components/common/rmb-outlined' +export { RobotOutlined } from './components/common/robot-outlined' export { SadOutlined } from './components/common/sad-outlined' export { ScanOutlined } from './components/common/scan-outlined' export { SealOutlined } from './components/common/seal-outlined' @@ -223,8 +228,10 @@ export { SunOutlined } from './components/common/sun-outlined' export { SwitchOutlined } from './components/common/switch-outlined' export { SynchronizeOutlined } from './components/common/synchronize-outlined' export { TagOutlined } from './components/common/tag-outlined' +export { TalkOutlined } from './components/common/talk-outlined' export { TaskOutlined } from './components/common/task-outlined' export { TemplateOutlined } from './components/common/template-outlined' +export { TextExtractionOutlined } from './components/common/text-extraction-outlined' export { TimeOutlined } from './components/common/time-outlined' export { TimeRewindOutlined } from './components/common/time-rewind-outlined' export { ToolOutlined } from './components/common/tool-outlined' diff --git a/packages/icons/stories/basic.stories.tsx b/packages/icons/stories/basic.stories.tsx index b36d1a097..e17b67d5b 100644 --- a/packages/icons/stories/basic.stories.tsx +++ b/packages/icons/stories/basic.stories.tsx @@ -118,6 +118,8 @@ export const Basic = () => { { component: Icons.CameraFilled, tagName: 'CameraFilled' }, + { component: Icons.CarFilled, tagName: 'CarFilled' }, + { component: Icons.CertificateFilled, tagName: 'CertificateFilled' }, { component: Icons.ChatFilled, tagName: 'ChatFilled' }, @@ -204,6 +206,8 @@ export const Basic = () => { { component: Icons.SadFilled, tagName: 'SadFilled' }, + { component: Icons.SendOutFilled, tagName: 'SendOutFilled' }, + { component: Icons.SettingFilled, tagName: 'SettingFilled' }, { component: Icons.ShieldFilled, tagName: 'ShieldFilled' }, @@ -226,6 +230,8 @@ export const Basic = () => { { component: Icons.TagFilled, tagName: 'TagFilled' }, + { component: Icons.TalkFilled, tagName: 'TalkFilled' }, + { component: Icons.TaskFilled, tagName: 'TaskFilled' }, { component: Icons.TemplateFilled, tagName: 'TemplateFilled' }, @@ -320,6 +326,8 @@ export const Basic = () => { { component: Icons.CollectionOutlined, tagName: 'CollectionOutlined' }, + { component: Icons.DataExportOutlined, tagName: 'DataExportOutlined' }, + { component: Icons.DataMonitorOutlined, tagName: 'DataMonitorOutlined' }, { component: Icons.DiagramOutlined, tagName: 'DiagramOutlined' }, @@ -453,6 +461,8 @@ export const Basic = () => { { component: Icons.RmbOutlined, tagName: 'RmbOutlined' }, + { component: Icons.RobotOutlined, tagName: 'RobotOutlined' }, + { component: Icons.SadOutlined, tagName: 'SadOutlined' }, { component: Icons.ScanOutlined, tagName: 'ScanOutlined' }, @@ -493,10 +503,14 @@ export const Basic = () => { { component: Icons.TagOutlined, tagName: 'TagOutlined' }, + { component: Icons.TalkOutlined, tagName: 'TalkOutlined' }, + { component: Icons.TaskOutlined, tagName: 'TaskOutlined' }, { component: Icons.TemplateOutlined, tagName: 'TemplateOutlined' }, + { component: Icons.TextExtractionOutlined, tagName: 'TextExtractionOutlined' }, + { component: Icons.TimeOutlined, tagName: 'TimeOutlined' }, { component: Icons.TimeRewindOutlined, tagName: 'TimeRewindOutlined' },