diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index 9d8926d32..9866c754b 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,11 @@ # @hi-ui/icons +## 4.0.8 + +### Patch Changes + +- 更新 icon + ## 4.0.7 ### Patch Changes diff --git a/packages/icons/icon-resources/common/filled/shield.svg b/packages/icons/icon-resources/common/filled/shield.svg new file mode 100644 index 000000000..cf504c255 --- /dev/null +++ b/packages/icons/icon-resources/common/filled/shield.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/filled/shopping-cart.svg b/packages/icons/icon-resources/common/filled/shopping-cart.svg new file mode 100644 index 000000000..b0389bd8c --- /dev/null +++ b/packages/icons/icon-resources/common/filled/shopping-cart.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/filled/voice.svg b/packages/icons/icon-resources/common/filled/voice.svg new file mode 100644 index 000000000..ee7954f86 --- /dev/null +++ b/packages/icons/icon-resources/common/filled/voice.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/chat-forwarding.svg b/packages/icons/icon-resources/common/outlined/chat-forwarding.svg new file mode 100644 index 000000000..fdb75ebe7 --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/chat-forwarding.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/freeze.svg b/packages/icons/icon-resources/common/outlined/freeze.svg new file mode 100644 index 000000000..8f784b99a --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/freeze.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/hang-up.svg b/packages/icons/icon-resources/common/outlined/hang-up.svg new file mode 100644 index 000000000..9847cd169 --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/hang-up.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/setting 36.svg b/packages/icons/icon-resources/common/outlined/setting 36.svg deleted file mode 100755 index 8a3642601..000000000 --- a/packages/icons/icon-resources/common/outlined/setting 36.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/icons/icon-resources/common/outlined/setting.svg b/packages/icons/icon-resources/common/outlined/setting.svg new file mode 100644 index 000000000..cf622a01c --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/setting.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/shield.svg b/packages/icons/icon-resources/common/outlined/shield.svg new file mode 100644 index 000000000..34447abab --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/shield.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/shopping-cart.svg b/packages/icons/icon-resources/common/outlined/shopping-cart.svg new file mode 100644 index 000000000..bed234663 --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/shopping-cart.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/switch.svg b/packages/icons/icon-resources/common/outlined/switch.svg new file mode 100644 index 000000000..5c8ac09b2 --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/switch.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/vip.svg b/packages/icons/icon-resources/common/outlined/vip.svg new file mode 100644 index 000000000..b16d548aa --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/vip.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/icon-resources/common/outlined/voice.svg b/packages/icons/icon-resources/common/outlined/voice.svg new file mode 100644 index 000000000..ca8855d6e --- /dev/null +++ b/packages/icons/icon-resources/common/outlined/voice.svg @@ -0,0 +1 @@ + diff --git a/packages/icons/package.json b/packages/icons/package.json index e3745e6ba..71402cf40 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@hi-ui/icons", - "version": "4.0.7", + "version": "4.0.8", "description": "A sub-package for @hi-ui/hiui.", "keywords": [], "author": "HiUI ", diff --git a/packages/icons/src/components/common/chat-forwarding-outlined.tsx b/packages/icons/src/components/common/chat-forwarding-outlined.tsx new file mode 100644 index 000000000..cf8d6631e --- /dev/null +++ b/packages/icons/src/components/common/chat-forwarding-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-chat-forwarding-outlined') + +export const ChatForwardingOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + ChatForwardingOutlined.displayName = 'ChatForwardingOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/freeze-outlined.tsx b/packages/icons/src/components/common/freeze-outlined.tsx new file mode 100644 index 000000000..a08809ab3 --- /dev/null +++ b/packages/icons/src/components/common/freeze-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-freeze-outlined') + +export const FreezeOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + FreezeOutlined.displayName = 'FreezeOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/hang-up-outlined.tsx b/packages/icons/src/components/common/hang-up-outlined.tsx new file mode 100644 index 000000000..05038867a --- /dev/null +++ b/packages/icons/src/components/common/hang-up-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-hang-up-outlined') + +export const HangUpOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + HangUpOutlined.displayName = 'HangUpOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/setting-outlined.tsx b/packages/icons/src/components/common/setting-outlined.tsx index 9a7dffb22..11de51a6f 100644 --- a/packages/icons/src/components/common/setting-outlined.tsx +++ b/packages/icons/src/components/common/setting-outlined.tsx @@ -12,7 +12,7 @@ export const SettingOutlined = forwardRef( const style = { fontSize: size, ...styleProp } return ( - + ) } ) diff --git a/packages/icons/src/components/common/shield-filled.tsx b/packages/icons/src/components/common/shield-filled.tsx new file mode 100644 index 000000000..ca7fea9b8 --- /dev/null +++ b/packages/icons/src/components/common/shield-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-shield-filled') + +export const ShieldFilled = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + ShieldFilled.displayName = 'ShieldFilled' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/shield-outlined.tsx b/packages/icons/src/components/common/shield-outlined.tsx new file mode 100644 index 000000000..4956732a1 --- /dev/null +++ b/packages/icons/src/components/common/shield-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-shield-outlined') + +export const ShieldOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + ShieldOutlined.displayName = 'ShieldOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/shopping-cart-filled.tsx b/packages/icons/src/components/common/shopping-cart-filled.tsx new file mode 100644 index 000000000..86e8e945e --- /dev/null +++ b/packages/icons/src/components/common/shopping-cart-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-shopping-cart-filled') + +export const ShoppingCartFilled = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + ShoppingCartFilled.displayName = 'ShoppingCartFilled' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/shopping-cart-outlined.tsx b/packages/icons/src/components/common/shopping-cart-outlined.tsx new file mode 100644 index 000000000..32cc77474 --- /dev/null +++ b/packages/icons/src/components/common/shopping-cart-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-shopping-cart-outlined') + +export const ShoppingCartOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + ShoppingCartOutlined.displayName = 'ShoppingCartOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/switch-outlined.tsx b/packages/icons/src/components/common/switch-outlined.tsx new file mode 100644 index 000000000..c9146007b --- /dev/null +++ b/packages/icons/src/components/common/switch-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-switch-outlined') + +export const SwitchOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + SwitchOutlined.displayName = 'SwitchOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/vip-outlined.tsx b/packages/icons/src/components/common/vip-outlined.tsx new file mode 100644 index 000000000..8a7906a07 --- /dev/null +++ b/packages/icons/src/components/common/vip-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-vip-outlined') + +export const VipOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + VipOutlined.displayName = 'VipOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/voice-filled.tsx b/packages/icons/src/components/common/voice-filled.tsx new file mode 100644 index 000000000..336005263 --- /dev/null +++ b/packages/icons/src/components/common/voice-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-voice-filled') + +export const VoiceFilled = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + VoiceFilled.displayName = 'VoiceFilled' +} + \ No newline at end of file diff --git a/packages/icons/src/components/common/voice-outlined.tsx b/packages/icons/src/components/common/voice-outlined.tsx new file mode 100644 index 000000000..1e43fb6e8 --- /dev/null +++ b/packages/icons/src/components/common/voice-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-voice-outlined') + +export const VoiceOutlined = forwardRef( + ({ prefixCls = _prefix, className, children, size, style: styleProp, ...rest }, ref) => { + const cls = cx(prefixCls, className) + const style = { fontSize: size, ...styleProp } + + return ( + + ) + } +) + +if (__DEV__) { + VoiceOutlined.displayName = 'VoiceOutlined' +} + \ No newline at end of file diff --git a/packages/icons/src/icon-summation.ts b/packages/icons/src/icon-summation.ts index da181541f..dc6a797fd 100644 --- a/packages/icons/src/icon-summation.ts +++ b/packages/icons/src/icon-summation.ts @@ -85,7 +85,9 @@ export { RelationFilled } from './components/common/relation-filled' export { RmbFilled } from './components/common/rmb-filled' export { SadFilled } from './components/common/sad-filled' export { SettingFilled } from './components/common/setting-filled' +export { ShieldFilled } from './components/common/shield-filled' export { ShoppingFilled } from './components/common/shopping-filled' +export { ShoppingCartFilled } from './components/common/shopping-cart-filled' export { SkinFilled } from './components/common/skin-filled' export { SoundFilled } from './components/common/sound-filled' export { StarFilled } from './components/common/star-filled' @@ -104,6 +106,7 @@ export { UnlockFilled } from './components/common/unlock-filled' export { UpdateFilled } from './components/common/update-filled' export { UserFilled } from './components/common/user-filled' export { VideoCameraFilled } from './components/common/video-camera-filled' +export { VoiceFilled } from './components/common/voice-filled' export { WebpageFilled } from './components/common/webpage-filled' export { AlarmOutlined } from './components/common/alarm-outlined' export { AlarmClockOutlined } from './components/common/alarm-clock-outlined' @@ -125,6 +128,7 @@ export { CalculatorOutlined } from './components/common/calculator-outlined' export { CalendarOutlined } from './components/common/calendar-outlined' export { CameraOutlined } from './components/common/camera-outlined' export { ChatOutlined } from './components/common/chat-outlined' +export { ChatForwardingOutlined } from './components/common/chat-forwarding-outlined' export { ClockOutlined } from './components/common/clock-outlined' export { CloseCodeOutlined } from './components/common/close-code-outlined' export { CloudOutlined } from './components/common/cloud-outlined' @@ -159,7 +163,9 @@ export { FireOutlined } from './components/common/fire-outlined' export { FlagOutlined } from './components/common/flag-outlined' export { FolderOutlined } from './components/common/folder-outlined' export { FolderOpenOutlined } from './components/common/folder-open-outlined' +export { FreezeOutlined } from './components/common/freeze-outlined' export { GlobalOutlined } from './components/common/global-outlined' +export { HangUpOutlined } from './components/common/hang-up-outlined' export { HeartOutlined } from './components/common/heart-outlined' export { HomeOutlined } from './components/common/home-outlined' export { ImportOutlined } from './components/common/import-outlined' @@ -197,8 +203,10 @@ export { SearchOutlined } from './components/common/search-outlined' export { SendOutOutlined } from './components/common/send-out-outlined' export { SettingOutlined } from './components/common/setting-outlined' export { ShareOutlined } from './components/common/share-outlined' +export { ShieldOutlined } from './components/common/shield-outlined' export { ShopOutlined } from './components/common/shop-outlined' export { ShoppingOutlined } from './components/common/shopping-outlined' +export { ShoppingCartOutlined } from './components/common/shopping-cart-outlined' export { ShowCodeOutlined } from './components/common/show-code-outlined' export { SkinOutlined } from './components/common/skin-outlined' export { SoundOutlined } from './components/common/sound-outlined' @@ -206,6 +214,7 @@ export { StarOutlined } from './components/common/star-outlined' export { StartDateOutlined } from './components/common/start-date-outlined' export { StudentOutlined } from './components/common/student-outlined' 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 { TaskOutlined } from './components/common/task-outlined' @@ -224,6 +233,8 @@ export { UserOutlined } from './components/common/user-outlined' export { UserAddOutlined } from './components/common/user-add-outlined' export { UsersOutlined } from './components/common/users-outlined' export { VideoCameraOutlined } from './components/common/video-camera-outlined' +export { VipOutlined } from './components/common/vip-outlined' +export { VoiceOutlined } from './components/common/voice-outlined' export { WebpageOutlined } from './components/common/webpage-outlined' export { WomanOutlined } from './components/common/woman-outlined' export { BarChartOutlined } from './components/data/bar-chart-outlined' diff --git a/packages/icons/stories/basic.stories.tsx b/packages/icons/stories/basic.stories.tsx index a1699f014..4f2540fbc 100644 --- a/packages/icons/stories/basic.stories.tsx +++ b/packages/icons/stories/basic.stories.tsx @@ -206,8 +206,12 @@ export const Basic = () => { { component: Icons.SettingFilled, tagName: 'SettingFilled' }, + { component: Icons.ShieldFilled, tagName: 'ShieldFilled' }, + { component: Icons.ShoppingFilled, tagName: 'ShoppingFilled' }, + { component: Icons.ShoppingCartFilled, tagName: 'ShoppingCartFilled' }, + { component: Icons.SkinFilled, tagName: 'SkinFilled' }, { component: Icons.SoundFilled, tagName: 'SoundFilled' }, @@ -244,6 +248,8 @@ export const Basic = () => { { component: Icons.VideoCameraFilled, tagName: 'VideoCameraFilled' }, + { component: Icons.VoiceFilled, tagName: 'VoiceFilled' }, + { component: Icons.WebpageFilled, tagName: 'WebpageFilled' }, ], }, @@ -294,6 +300,8 @@ export const Basic = () => { { component: Icons.ChatOutlined, tagName: 'ChatOutlined' }, + { component: Icons.ChatForwardingOutlined, tagName: 'ChatForwardingOutlined' }, + { component: Icons.ClockOutlined, tagName: 'ClockOutlined' }, { component: Icons.CloseCodeOutlined, tagName: 'CloseCodeOutlined' }, @@ -365,8 +373,12 @@ export const Basic = () => { { component: Icons.FolderOpenOutlined, tagName: 'FolderOpenOutlined' }, + { component: Icons.FreezeOutlined, tagName: 'FreezeOutlined' }, + { component: Icons.GlobalOutlined, tagName: 'GlobalOutlined' }, + { component: Icons.HangUpOutlined, tagName: 'HangUpOutlined' }, + { component: Icons.HeartOutlined, tagName: 'HeartOutlined' }, { component: Icons.HomeOutlined, tagName: 'HomeOutlined' }, @@ -441,10 +453,14 @@ export const Basic = () => { { component: Icons.ShareOutlined, tagName: 'ShareOutlined' }, + { component: Icons.ShieldOutlined, tagName: 'ShieldOutlined' }, + { component: Icons.ShopOutlined, tagName: 'ShopOutlined' }, { component: Icons.ShoppingOutlined, tagName: 'ShoppingOutlined' }, + { component: Icons.ShoppingCartOutlined, tagName: 'ShoppingCartOutlined' }, + { component: Icons.ShowCodeOutlined, tagName: 'ShowCodeOutlined' }, { component: Icons.SkinOutlined, tagName: 'SkinOutlined' }, @@ -459,6 +475,8 @@ export const Basic = () => { { component: Icons.SunOutlined, tagName: 'SunOutlined' }, + { component: Icons.SwitchOutlined, tagName: 'SwitchOutlined' }, + { component: Icons.SynchronizeOutlined, tagName: 'SynchronizeOutlined' }, { component: Icons.TagOutlined, tagName: 'TagOutlined' }, @@ -495,6 +513,10 @@ export const Basic = () => { { component: Icons.VideoCameraOutlined, tagName: 'VideoCameraOutlined' }, + { component: Icons.VipOutlined, tagName: 'VipOutlined' }, + + { component: Icons.VoiceOutlined, tagName: 'VoiceOutlined' }, + { component: Icons.WebpageOutlined, tagName: 'WebpageOutlined' }, { component: Icons.WomanOutlined, tagName: 'WomanOutlined' },