mirror of
https://github.com/hanzoai/icons.git
synced 2026-09-24 16:59:52 +00:00
✨ feat: Add ace-step
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { FC } from 'react';
|
||||
|
||||
import Ace from '../icons/Ace';
|
||||
import Adobe from '../icons/Adobe';
|
||||
import Ai2 from '../icons/Ai2';
|
||||
import Ai21 from '../icons/Ai21';
|
||||
@@ -12,6 +13,7 @@ import Arcee from '../icons/Arcee';
|
||||
import AssemblyAI from '../icons/AssemblyAI';
|
||||
import Aws from '../icons/Aws';
|
||||
import Aya from '../icons/Aya';
|
||||
import BAAI from '../icons/BAAI';
|
||||
import Baichuan from '../icons/Baichuan';
|
||||
import BaiduCloud from '../icons/BaiduCloud';
|
||||
import Bilibili from '../icons/Bilibili';
|
||||
@@ -45,7 +47,9 @@ import Ideogram from '../icons/Ideogram';
|
||||
import Inception from '../icons/Inception';
|
||||
import Inflection from '../icons/Inflection';
|
||||
import InternLM from '../icons/InternLM';
|
||||
import Jimeng from '../icons/Jimeng';
|
||||
import Jina from '../icons/Jina';
|
||||
import Kling from '../icons/Kling';
|
||||
import Kolors from '../icons/Kolors';
|
||||
import Kwaipilot from '../icons/Kwaipilot';
|
||||
import LG from '../icons/LG';
|
||||
@@ -142,9 +146,12 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
Icon: OpenAI,
|
||||
keywords: ['^gpt-', '/gpt-', 'openai'],
|
||||
},
|
||||
{ Icon: GLMV, keywords: ['^glm-(.*)v', '/glm-(.*)v'] },
|
||||
{ Icon: ZAI, keywords: ['^glm-5', '/glm-5', '/glm5', '^glm-4', '/glm-4', '/glm4'] },
|
||||
{ Icon: ChatGLM, keywords: ['^glm-', '/glm-', 'chatglm'] },
|
||||
{ Icon: GLMV, keywords: ['^glm-(.*)v', '/glm-(.*)v', '-glm-(.*)v'] },
|
||||
{
|
||||
Icon: ZAI,
|
||||
keywords: ['^glm-5', '/glm-5', '/glm5', '-glm-4', '^glm-4', '/glm-4', '/glm4', '-glm-5'],
|
||||
},
|
||||
{ Icon: ChatGLM, keywords: ['^glm-', '/glm-', 'chatglm', '-glm-'] },
|
||||
{ Icon: CodeGeeX, keywords: ['^codegeex', '/codegeex'] },
|
||||
{ Icon: Claude, keywords: ['claude'] },
|
||||
{ Icon: Anthropic, keywords: ['anthropic'] },
|
||||
@@ -164,8 +171,8 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
{
|
||||
Icon: NanoBanana,
|
||||
keywords: [
|
||||
'gemini-3.1-pro-preview',
|
||||
'gemini-3-pro-preview',
|
||||
'gemini-3.1-flash-image-preview',
|
||||
'gemini-3-pro-image-preview',
|
||||
'gemini-\\d+(?:\\.\\d+)?-(?:flash|pro)-image-preview$',
|
||||
'nanobanana',
|
||||
'nano-banana',
|
||||
@@ -181,7 +188,7 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
{ Icon: Qiniu, keywords: ['qiniu'] },
|
||||
{
|
||||
Icon: Qwen,
|
||||
keywords: ['qwen', 'qwq', 'qvq', 'wanx', 'wan\\d/', 'wan\\d\\.\\d-', 'tongyi'],
|
||||
keywords: ['qwen', 'qwq', 'qvq', 'wanx', 'wan\\d/', 'wan\\d\\.\\d-', 'tongyi', 'gte-rerank'],
|
||||
},
|
||||
{ Icon: Minimax, keywords: ['minimax', 'abab', '^image-'] },
|
||||
{
|
||||
@@ -237,7 +244,9 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
{ Icon: Rwkv, keywords: ['rwkv', '/eagle-'] },
|
||||
{ Icon: Wenxin, keywords: ['ernie', 'irag'] },
|
||||
{ Icon: Jina, keywords: ['^jina', '/jina'] },
|
||||
{ Icon: Doubao, keywords: ['^ep-', 'doubao-', 'seedream', 'seededit', 'seedance-'] },
|
||||
{ Icon: Jimeng, keywords: ['^jimeng-', '/jimeng-', 'seedream', 'seededit', 'seedance-'] },
|
||||
{ Icon: Doubao, keywords: ['^ep-', 'doubao-'] },
|
||||
{ Icon: Kling, keywords: ['^kling', 'kling-', 'klingai'] },
|
||||
{ Icon: Hunyuan, keywords: ['hunyuan'] },
|
||||
{ Icon: FishAudio, keywords: ['^d_', '^g_', '^wd_'] },
|
||||
{ Icon: ByteDance, keywords: ['skylark', 'seed-', 'bytedance'] },
|
||||
@@ -268,7 +277,7 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
{ Icon: PaLM, keywords: ['palm'] },
|
||||
{ Icon: SenseNova, keywords: ['SenseChat', 'SenseNova'] },
|
||||
{ Icon: Grok, keywords: ['^grok-', '/grok-'] },
|
||||
{ Icon: Ideogram, keywords: ['ideogram'] },
|
||||
{ Icon: Ideogram, keywords: ['ideogram', '^v_1', '^v_2', '^v3$', '^upscale$', '^describe$'] },
|
||||
{
|
||||
Icon: Spark,
|
||||
keywords: [
|
||||
@@ -292,7 +301,7 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
{ Icon: AionLabs, keywords: ['aion-'] },
|
||||
{ Icon: AiHubMix, keywords: ['aihubmix'] },
|
||||
{ Icon: V0, keywords: ['^v0-'] },
|
||||
{ Icon: VertexAI, keywords: ['^veo-', '/veo-'] },
|
||||
{ Icon: VertexAI, keywords: ['^veo-', '/veo-', '^veo3'] },
|
||||
{ Icon: Google, keywords: ['google', 'learnlm', 'nano-banana'] },
|
||||
{ Icon: CogView, keywords: ['cogview'] },
|
||||
{ Icon: Kolors, keywords: ['kolors'] },
|
||||
@@ -301,7 +310,7 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
{ Icon: Dolphin, keywords: ['dolphin'] },
|
||||
{ Icon: IBM, keywords: ['ibm', 'granite'] },
|
||||
{ Icon: Skywork, keywords: ['skywork'] },
|
||||
{ Icon: BilibiliIndex, keywords: ['bilibili-index'] },
|
||||
{ Icon: BilibiliIndex, keywords: ['bilibili-index', 'index-tts'] },
|
||||
{ Icon: Bilibili, keywords: ['bilibili'] },
|
||||
{ Icon: LG, keywords: ['kmmlu', 'exaone', 'lgai'] },
|
||||
{ Icon: TII, keywords: ['falcon'] },
|
||||
@@ -310,4 +319,6 @@ export const rnModelMappings: RNModelMapping[] = [
|
||||
{ Icon: Kwaipilot, keywords: ['kat-'] },
|
||||
{ Icon: Nova, keywords: ['^nova-', '/nova-'] },
|
||||
{ Icon: XiaomiMiMo, keywords: ['^mimo-', '/mimo-'] },
|
||||
{ Icon: BAAI, keywords: ['^baai', '^bge-', '/beg-', 'touchd', 'robobrain'] },
|
||||
{ Icon: Ace, keywords: ['ace-step'] },
|
||||
];
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
import React, { memo } from 'react';
|
||||
|
||||
import { RNIconAvatar, type RNIconAvatarProps } from '@/features';
|
||||
|
||||
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from '../style';
|
||||
import Mono from './Mono';
|
||||
|
||||
export type AvatarProps = Omit<RNIconAvatarProps, 'Icon'>;
|
||||
|
||||
const Avatar = memo<AvatarProps>(({ background, ...rest }) => {
|
||||
return (
|
||||
<RNIconAvatar
|
||||
Icon={Mono}
|
||||
aria-label={TITLE}
|
||||
background={background || AVATAR_BACKGROUND}
|
||||
color={AVATAR_COLOR}
|
||||
iconMultiple={AVATAR_ICON_MULTIPLE}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
});
|
||||
export default Avatar;
|
||||
@@ -0,0 +1,24 @@
|
||||
import React, { memo } from 'react';
|
||||
|
||||
import { RNIconCombine, type RNIconCombineProps } from '@/features';
|
||||
|
||||
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from '../style';
|
||||
import Mono from './Mono';
|
||||
import Text from './Text';
|
||||
|
||||
export type CombineProps = Omit<RNIconCombineProps, 'Icon' | 'Text'>;
|
||||
|
||||
const Combine = memo<CombineProps>(({ ...rest }) => {
|
||||
return (
|
||||
<RNIconCombine
|
||||
Icon={Mono}
|
||||
Text={Text}
|
||||
aria-label={TITLE}
|
||||
spaceMultiple={COMBINE_SPACE_MULTIPLE}
|
||||
textMultiple={COMBINE_TEXT_MULTIPLE}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
export default Combine;
|
||||
@@ -0,0 +1,27 @@
|
||||
import React, { memo } from 'react';
|
||||
import { Path, Svg } from 'react-native-svg';
|
||||
|
||||
import type { RNIconProps } from '@/features';
|
||||
|
||||
const Icon = memo<RNIconProps>(({ size = 24, style, color = '#000000', ...rest }) => {
|
||||
return (
|
||||
<Svg
|
||||
color={color}
|
||||
fillRule="evenodd"
|
||||
height={size}
|
||||
style={style}
|
||||
viewBox="0 0 24 24"
|
||||
width={size}
|
||||
{...rest}
|
||||
>
|
||||
<Path
|
||||
d="M5.376 11.188a.1.1 0 00.07-.006.016.016 0 00.005-.008.016.016 0 00.001-.01.017.017 0 00-.005-.008.017.017 0 00-.008-.004 4.956 4.956 0 01-1.652-.442A5.61 5.61 0 011.982 1.81c.54-.6 1.224-1.072 2.05-1.415a2.59 2.59 0 01.456-.146c.036-.007.161-.038.376-.091 1.054-.266 2.115-.194 3.182.214 1.938.74 3.226 2.33 3.582 4.381.043.249.063.7.061 1.353-.004 1.748-.004 2.783.001 3.105.007.429-.018.724-.073.886-.411 1.21-2.011 1.517-2.787.484a.085.085 0 00-.107-.024 5.365 5.365 0 01-2.671.636c-.225-.004-.45-.005-.676-.004zm3.116-5.58a2.398 2.398 0 10-4.795 0 2.398 2.398 0 004.795 0zM17.922.094a.126.126 0 00-.067 0h-.002v.002h.002c1.624-.264 3.092.086 4.405 1.05.35.256.771.622.923 1.02.331.87-.064 1.816-.954 2.12-.489.167-.945.116-1.37-.153-.226-.143-.456-.407-.702-.557-.744-.448-1.533-.487-2.369-.116a.166.166 0 00-.032.02l-.506.357a.433.433 0 00-.06.053c-.447.485-.68 1.026-.697 1.623-.018.577.128 1.075.438 1.494.327.443.753.744 1.279.902.649.195 1.276.12 1.88-.225.121-.068.266-.18.435-.334.219-.197.362-.31.43-.342.782-.352 1.676-.184 2.144.588.018.03.03.062.038.097l.057.25c.111.459.096.846-.047 1.162-.107.238-.336.506-.689.803a6.141 6.141 0 01-1.247.79c-.24.12-.417.196-.53.233a5.767 5.767 0 01-2.177.26c-4.12-.276-6.528-4.79-4.467-8.374.359-.625.766-1.121 1.22-1.49a6.12 6.12 0 011.347-.854c.381-.17.82-.286 1.315-.35a.016.016 0 00.013-.014c0-.004 0-.007-.002-.01a.013.013 0 00-.008-.005zM.98 16.179a5.18 5.18 0 011.32-1.89 7.262 7.262 0 011.08-.818.318.318 0 01.071-.031c.151-.046.306-.116.465-.21a.192.192 0 01.083-.027c.092-.007.153-.026.184-.058a.159.159 0 01.063-.04c.258-.09.447-.147.57-.17a8.22 8.22 0 011.067-.117c3.163-.176 5.852 2.483 5.801 5.632-.014.837-.705 1.54-1.546 1.538l-2.23.013c-.487.002-.804-.022-.95-.072-.542-.184-1.01-.693-1.078-1.274-.08-.69.16-1.163.684-1.615a.353.353 0 01.095-.059c.35-.152.729-.21 1.134-.173a.045.045 0 00.046-.027.047.047 0 00-.011-.053c-.719-.661-1.52-.87-2.403-.627-.662.183-1.272.717-1.52 1.32-.345.844-.266 1.632.236 2.365.36.523.992.918 1.588.981.356.038.72.033 1.014.17 1.327.621 1.25 2.551-.173 2.99-.275.085-.653.096-1.134.034a5.584 5.584 0 01-3.338-1.643 1.753 1.753 0 01-.204-.242c-.083-.12-.2-.195-.28-.314-.325-.472-.556-.882-.692-1.228-.567-1.445-.563-2.878.014-4.3.016-.038.03-.056.043-.055z"
|
||||
fill={color}
|
||||
/>
|
||||
</Svg>
|
||||
);
|
||||
});
|
||||
|
||||
Icon.displayName = 'AceMono';
|
||||
|
||||
export default Icon;
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,21 @@
|
||||
import Avatar from './components/Avatar';
|
||||
import Combine from './components/Combine';
|
||||
import Mono from './components/Mono';
|
||||
import Text from './components/Text';
|
||||
import { COLOR_PRIMARY, TITLE } from './style';
|
||||
|
||||
export type CompoundedIcon = typeof Mono & {
|
||||
Avatar: typeof Avatar;
|
||||
Combine: typeof Combine;
|
||||
Text: typeof Text;
|
||||
colorPrimary: string;
|
||||
title: string;
|
||||
};
|
||||
|
||||
const Icons = Mono as CompoundedIcon;
|
||||
Icons.Text = Text;
|
||||
Icons.Combine = Combine;
|
||||
Icons.Avatar = Avatar;
|
||||
Icons.colorPrimary = COLOR_PRIMARY;
|
||||
Icons.title = TITLE;
|
||||
export default Icons;
|
||||
@@ -0,0 +1,9 @@
|
||||
export const TITLE = 'ace';
|
||||
export const COMBINE_TEXT_MULTIPLE = 0.9;
|
||||
export const COMBINE_SPACE_MULTIPLE = 0.2;
|
||||
export const COLOR_PRIMARY = '#000';
|
||||
|
||||
// Avatar constants
|
||||
export const AVATAR_BACKGROUND = COLOR_PRIMARY;
|
||||
export const AVATAR_COLOR = '#fff';
|
||||
export const AVATAR_ICON_MULTIPLE = 0.65;
|
||||
@@ -6,6 +6,7 @@ export { default as ProviderCombine } from './features/ProviderCombine';
|
||||
export { rnProviderMappings as providerMappings } from './features/providerConfig';
|
||||
export { RNModelProvider as ModelProvider } from './features/providerEnum';
|
||||
export { default as ProviderIcon } from './features/ProviderIcon';
|
||||
export { default as Ace, type CompoundedIcon as AceProps } from './icons/Ace';
|
||||
export { default as Adobe, type CompoundedIcon as AdobeProps } from './icons/Adobe';
|
||||
export {
|
||||
default as AdobeFirefly,
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
'use client';
|
||||
|
||||
import { memo } from 'react';
|
||||
|
||||
import IconAvatar, { type IconAvatarProps } from '@/features/IconAvatar';
|
||||
|
||||
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from '../style';
|
||||
import Mono from './Mono';
|
||||
|
||||
export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
|
||||
|
||||
const Avatar = memo<AvatarProps>(({ ...rest }) => {
|
||||
return (
|
||||
<IconAvatar
|
||||
Icon={Mono}
|
||||
aria-label={TITLE}
|
||||
background={AVATAR_BACKGROUND}
|
||||
color={AVATAR_COLOR}
|
||||
iconMultiple={AVATAR_ICON_MULTIPLE}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
export default Avatar;
|
||||
@@ -0,0 +1,26 @@
|
||||
'use client';
|
||||
|
||||
import { memo } from 'react';
|
||||
|
||||
import IconCombine, { type IconCombineProps } from '@/features/IconCombine';
|
||||
|
||||
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from '../style';
|
||||
import Mono from './Mono';
|
||||
import Text from './Text';
|
||||
|
||||
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
||||
|
||||
const Combine = memo<CombineProps>(({ ...rest }) => {
|
||||
return (
|
||||
<IconCombine
|
||||
Icon={Mono}
|
||||
Text={Text}
|
||||
aria-label={TITLE}
|
||||
spaceMultiple={COMBINE_SPACE_MULTIPLE}
|
||||
textMultiple={COMBINE_TEXT_MULTIPLE}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
export default Combine;
|
||||
@@ -0,0 +1,28 @@
|
||||
'use client';
|
||||
|
||||
import { memo } from 'react';
|
||||
|
||||
import type { IconType } from '@/types';
|
||||
|
||||
import { TITLE } from '../style';
|
||||
|
||||
const Icon: IconType = memo(({ size = '1em', style, ...rest }) => {
|
||||
return (
|
||||
<svg
|
||||
fill="currentColor"
|
||||
fillRule="evenodd"
|
||||
height={size}
|
||||
style={{ flex: 'none', lineHeight: 1, ...style }}
|
||||
viewBox="0 0 24 24"
|
||||
width={size}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...rest}
|
||||
>
|
||||
<title>{TITLE}</title>
|
||||
|
||||
<path d="M5.376 11.188a.1.1 0 00.07-.006.016.016 0 00.005-.008.016.016 0 00.001-.01.017.017 0 00-.005-.008.017.017 0 00-.008-.004 4.956 4.956 0 01-1.652-.442A5.61 5.61 0 011.982 1.81c.54-.6 1.224-1.072 2.05-1.415a2.59 2.59 0 01.456-.146c.036-.007.161-.038.376-.091 1.054-.266 2.115-.194 3.182.214 1.938.74 3.226 2.33 3.582 4.381.043.249.063.7.061 1.353-.004 1.748-.004 2.783.001 3.105.007.429-.018.724-.073.886-.411 1.21-2.011 1.517-2.787.484a.085.085 0 00-.107-.024 5.365 5.365 0 01-2.671.636c-.225-.004-.45-.005-.676-.004zm3.116-5.58a2.398 2.398 0 10-4.795 0 2.398 2.398 0 004.795 0zM17.922.094a.126.126 0 00-.067 0h-.002v.002h.002c1.624-.264 3.092.086 4.405 1.05.35.256.771.622.923 1.02.331.87-.064 1.816-.954 2.12-.489.167-.945.116-1.37-.153-.226-.143-.456-.407-.702-.557-.744-.448-1.533-.487-2.369-.116a.166.166 0 00-.032.02l-.506.357a.433.433 0 00-.06.053c-.447.485-.68 1.026-.697 1.623-.018.577.128 1.075.438 1.494.327.443.753.744 1.279.902.649.195 1.276.12 1.88-.225.121-.068.266-.18.435-.334.219-.197.362-.31.43-.342.782-.352 1.676-.184 2.144.588.018.03.03.062.038.097l.057.25c.111.459.096.846-.047 1.162-.107.238-.336.506-.689.803a6.141 6.141 0 01-1.247.79c-.24.12-.417.196-.53.233a5.767 5.767 0 01-2.177.26c-4.12-.276-6.528-4.79-4.467-8.374.359-.625.766-1.121 1.22-1.49a6.12 6.12 0 011.347-.854c.381-.17.82-.286 1.315-.35a.016.016 0 00.013-.014c0-.004 0-.007-.002-.01a.013.013 0 00-.008-.005zM.98 16.179a5.18 5.18 0 011.32-1.89 7.262 7.262 0 011.08-.818.318.318 0 01.071-.031c.151-.046.306-.116.465-.21a.192.192 0 01.083-.027c.092-.007.153-.026.184-.058a.159.159 0 01.063-.04c.258-.09.447-.147.57-.17a8.22 8.22 0 011.067-.117c3.163-.176 5.852 2.483 5.801 5.632-.014.837-.705 1.54-1.546 1.538l-2.23.013c-.487.002-.804-.022-.95-.072-.542-.184-1.01-.693-1.078-1.274-.08-.69.16-1.163.684-1.615a.353.353 0 01.095-.059c.35-.152.729-.21 1.134-.173a.045.045 0 00.046-.027.047.047 0 00-.011-.053c-.719-.661-1.52-.87-2.403-.627-.662.183-1.272.717-1.52 1.32-.345.844-.266 1.632.236 2.365.36.523.992.918 1.588.981.356.038.72.033 1.014.17 1.327.621 1.25 2.551-.173 2.99-.275.085-.653.096-1.134.034a5.584 5.584 0 01-3.338-1.643 1.753 1.753 0 01-.204-.242c-.083-.12-.2-.195-.28-.314-.325-.472-.556-.882-.692-1.228-.567-1.445-.563-2.878.014-4.3.016-.038.03-.056.043-.055z" />
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
export default Icon;
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,66 @@
|
||||
---
|
||||
nav: Components
|
||||
group: Model
|
||||
title: ACE
|
||||
atomId: Ace
|
||||
description: https://github.com/ace-step/ACE-Step
|
||||
---
|
||||
|
||||
## Icons
|
||||
|
||||
```tsx
|
||||
import { Ace } from '@lobehub/icons';
|
||||
import { Flexbox } from '@lobehub/ui';
|
||||
|
||||
export default () => <Ace size={64} />;
|
||||
```
|
||||
|
||||
## Text
|
||||
|
||||
```tsx
|
||||
import { Ace } from '@lobehub/icons';
|
||||
|
||||
export default () => <Ace.Text size={48} />;
|
||||
```
|
||||
|
||||
## Combine
|
||||
|
||||
```tsx
|
||||
import { Ace } from '@lobehub/icons';
|
||||
import { Flexbox } from '@lobehub/ui';
|
||||
|
||||
export default () => (
|
||||
<Flexbox gap={16} align={'flex-start'}>
|
||||
<Ace.Combine size={64} />
|
||||
</Flexbox>
|
||||
);
|
||||
```
|
||||
|
||||
## Avatars
|
||||
|
||||
```tsx
|
||||
import { Ace } from '@lobehub/icons';
|
||||
import { Flexbox } from '@lobehub/ui';
|
||||
|
||||
export default () => (
|
||||
<Flexbox gap={16} horizontal>
|
||||
<Ace.Avatar size={64} />
|
||||
<Ace.Avatar size={64} shape={'square'} />
|
||||
</Flexbox>
|
||||
);
|
||||
```
|
||||
|
||||
## Colors
|
||||
|
||||
```tsx
|
||||
import { Ace } from '@lobehub/icons';
|
||||
import { Flexbox } from '@lobehub/ui';
|
||||
|
||||
import ColorPreview from '../components/ColorPreview';
|
||||
|
||||
export default () => (
|
||||
<Flexbox gap={16} horizontal>
|
||||
<ColorPreview color={Ace.colorPrimary} />
|
||||
</Flexbox>
|
||||
);
|
||||
```
|
||||
@@ -0,0 +1,21 @@
|
||||
import Avatar from './components/Avatar';
|
||||
import Combine from './components/Combine';
|
||||
import Mono from './components/Mono';
|
||||
import Text from './components/Text';
|
||||
import { COLOR_PRIMARY, TITLE } from './style';
|
||||
|
||||
export type CompoundedIcon = typeof Mono & {
|
||||
Avatar: typeof Avatar;
|
||||
Combine: typeof Combine;
|
||||
Text: typeof Text;
|
||||
colorPrimary: string;
|
||||
title: string;
|
||||
};
|
||||
|
||||
const Icons = Mono as CompoundedIcon;
|
||||
Icons.Text = Text;
|
||||
Icons.Combine = Combine;
|
||||
Icons.Avatar = Avatar;
|
||||
Icons.colorPrimary = COLOR_PRIMARY;
|
||||
Icons.title = TITLE;
|
||||
export default Icons;
|
||||
@@ -0,0 +1,9 @@
|
||||
export const TITLE = 'ace';
|
||||
export const COMBINE_TEXT_MULTIPLE = 0.9;
|
||||
export const COMBINE_SPACE_MULTIPLE = 0.2;
|
||||
export const COLOR_PRIMARY = '#000';
|
||||
|
||||
// Avatar constants
|
||||
export const AVATAR_BACKGROUND = COLOR_PRIMARY;
|
||||
export const AVATAR_COLOR = '#fff';
|
||||
export const AVATAR_ICON_MULTIPLE = 0.65;
|
||||
@@ -1,5 +1,6 @@
|
||||
import { FC } from 'react';
|
||||
|
||||
import Ace from '@/Ace';
|
||||
import Adobe from '@/Adobe';
|
||||
import Ai2 from '@/Ai2';
|
||||
import Ai21 from '@/Ai21';
|
||||
@@ -12,6 +13,7 @@ import Arcee from '@/Arcee';
|
||||
import AssemblyAI from '@/AssemblyAI';
|
||||
import Aws from '@/Aws';
|
||||
import Aya from '@/Aya';
|
||||
import BAAI from '@/BAAI';
|
||||
import Baichuan from '@/Baichuan';
|
||||
import BaiduCloud from '@/BaiduCloud';
|
||||
import Bilibili from '@/Bilibili';
|
||||
@@ -45,7 +47,9 @@ import Ideogram from '@/Ideogram';
|
||||
import Inception from '@/Inception';
|
||||
import Inflection from '@/Inflection';
|
||||
import InternLM from '@/InternLM';
|
||||
import Jimeng from '@/Jimeng';
|
||||
import Jina from '@/Jina';
|
||||
import Kling from '@/Kling';
|
||||
import Kolors from '@/Kolors';
|
||||
import Kwaipilot from '@/Kwaipilot';
|
||||
import LG from '@/LG';
|
||||
@@ -144,9 +148,12 @@ export const modelMappings: ModelMapping[] = [
|
||||
Icon: OpenAI,
|
||||
keywords: ['^gpt-', '/gpt-', 'openai'],
|
||||
},
|
||||
{ Icon: GLMV, keywords: ['^glm-(.*)v', '/glm-(.*)v'] },
|
||||
{ Icon: ZAI, keywords: ['^glm-5', '/glm-5', '/glm5', '^glm-4', '/glm-4', '/glm4'] },
|
||||
{ Icon: ChatGLM, keywords: ['^glm-', '/glm-', 'chatglm'] },
|
||||
{ Icon: GLMV, keywords: ['^glm-(.*)v', '/glm-(.*)v', '-glm-(.*)v'] },
|
||||
{
|
||||
Icon: ZAI,
|
||||
keywords: ['^glm-5', '/glm-5', '/glm5', '-glm-4', '^glm-4', '/glm-4', '/glm4', '-glm-5'],
|
||||
},
|
||||
{ Icon: ChatGLM, keywords: ['^glm-', '/glm-', 'chatglm', '-glm-'] },
|
||||
{ Icon: CodeGeeX, keywords: ['^codegeex', '/codegeex'] },
|
||||
{ Icon: Claude, keywords: ['claude'] },
|
||||
{ Icon: Anthropic, keywords: ['anthropic'] },
|
||||
@@ -183,7 +190,7 @@ export const modelMappings: ModelMapping[] = [
|
||||
{ Icon: Qiniu, keywords: ['qiniu'] },
|
||||
{
|
||||
Icon: Qwen,
|
||||
keywords: ['qwen', 'qwq', 'qvq', 'wanx', 'wan\\d/', 'wan\\d\\.\\d-', 'tongyi'],
|
||||
keywords: ['qwen', 'qwq', 'qvq', 'wanx', 'wan\\d/', 'wan\\d\\.\\d-', 'tongyi', 'gte-rerank'],
|
||||
},
|
||||
{ Icon: Minimax, keywords: ['minimax', 'abab', '^image-'] },
|
||||
{
|
||||
@@ -239,7 +246,9 @@ export const modelMappings: ModelMapping[] = [
|
||||
{ Icon: Rwkv, keywords: ['rwkv', '/eagle-'] },
|
||||
{ Icon: Wenxin, keywords: ['ernie', 'irag'] },
|
||||
{ Icon: Jina, keywords: ['^jina', '/jina'] },
|
||||
{ Icon: Doubao, keywords: ['^ep-', 'doubao-', 'seedream', 'seededit', 'seedance-'] },
|
||||
{ Icon: Jimeng, keywords: ['^jimeng-', '/jimeng-', 'seedream', 'seededit', 'seedance-'] },
|
||||
{ Icon: Doubao, keywords: ['^ep-', 'doubao-'] },
|
||||
{ Icon: Kling, keywords: ['^kling', 'kling-', 'klingai'] },
|
||||
{ Icon: Hunyuan, keywords: ['hunyuan'] },
|
||||
{ Icon: FishAudio, keywords: ['^d_', '^g_', '^wd_'] },
|
||||
{ Icon: ByteDance, keywords: ['skylark', 'seed-', 'bytedance'] },
|
||||
@@ -270,7 +279,7 @@ export const modelMappings: ModelMapping[] = [
|
||||
{ Icon: PaLM, keywords: ['palm'] },
|
||||
{ Icon: SenseNova, keywords: ['SenseChat', 'SenseNova'] },
|
||||
{ Icon: Grok, keywords: ['^grok-', '/grok-'] },
|
||||
{ Icon: Ideogram, keywords: ['ideogram'] },
|
||||
{ Icon: Ideogram, keywords: ['ideogram', '^v_1', '^v_2', '^v3$', '^upscale$', '^describe$'] },
|
||||
{
|
||||
Icon: Spark,
|
||||
keywords: [
|
||||
@@ -294,7 +303,7 @@ export const modelMappings: ModelMapping[] = [
|
||||
{ Icon: AionLabs, keywords: ['aion-'] },
|
||||
{ Icon: AiHubMix, keywords: ['aihubmix'] },
|
||||
{ Icon: V0, keywords: ['^v0-'] },
|
||||
{ Icon: VertexAI, keywords: ['^veo-', '/veo-'] },
|
||||
{ Icon: VertexAI, keywords: ['^veo-', '/veo-', '^veo3'] },
|
||||
{ Icon: Google, keywords: ['google', 'learnlm', 'nano-banana'] },
|
||||
{ Icon: CogView, keywords: ['cogview'] },
|
||||
{ Icon: Kolors, keywords: ['kolors'] },
|
||||
@@ -303,7 +312,7 @@ export const modelMappings: ModelMapping[] = [
|
||||
{ Icon: Dolphin, keywords: ['dolphin'] },
|
||||
{ Icon: IBM, keywords: ['ibm', 'granite'] },
|
||||
{ Icon: Skywork, keywords: ['skywork'] },
|
||||
{ Icon: BilibiliIndex, keywords: ['bilibili-index'] },
|
||||
{ Icon: BilibiliIndex, keywords: ['bilibili-index', 'index-tts'] },
|
||||
{ Icon: Bilibili, keywords: ['bilibili'] },
|
||||
{ Icon: LG, keywords: ['kmmlu', 'exaone', 'lgai'] },
|
||||
{ Icon: TII, keywords: ['falcon'] },
|
||||
@@ -312,4 +321,6 @@ export const modelMappings: ModelMapping[] = [
|
||||
{ Icon: Kwaipilot, keywords: ['kat-'] },
|
||||
{ Icon: Nova, keywords: ['^nova-', '/nova-'] },
|
||||
{ Icon: XiaomiMiMo, keywords: ['^mimo-', '/mimo-'] },
|
||||
{ Icon: BAAI, keywords: ['^baai', '^bge-', '/beg-', 'touchd', 'robobrain'] },
|
||||
{ Icon: Ace, keywords: ['ace-step'] },
|
||||
];
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
export { default as Ace, type CompoundedIcon as AceProps } from './Ace';
|
||||
export { default as Adobe, type CompoundedIcon as AdobeProps } from './Adobe';
|
||||
export { default as AdobeFirefly, type CompoundedIcon as AdobeFireflyProps } from './AdobeFirefly';
|
||||
export { default as Agui, type CompoundedIcon as AguiProps } from './Agui';
|
||||
|
||||
+19
@@ -20,6 +20,25 @@ export interface IconToc {
|
||||
}
|
||||
|
||||
const toc: IconToc[] = [
|
||||
{
|
||||
color: '#000',
|
||||
desc: 'https://github.com/ace-step/ACE-Step',
|
||||
docsUrl: 'ace',
|
||||
fullTitle: 'ACE',
|
||||
group: 'model',
|
||||
id: 'Ace',
|
||||
param: {
|
||||
hasAvatar: true,
|
||||
hasBrand: false,
|
||||
hasBrandColor: false,
|
||||
hasColor: false,
|
||||
hasCombine: true,
|
||||
hasText: true,
|
||||
hasTextCn: false,
|
||||
hasTextColor: false,
|
||||
},
|
||||
title: 'ace',
|
||||
},
|
||||
{
|
||||
color: '#EB1000',
|
||||
desc: 'https://adobe.com',
|
||||
|
||||
Reference in New Issue
Block a user