@lobehub/icons 1.33.4 → 1.33.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,6 +58,12 @@ export var modelMappings = [{
58
58
  props: {
59
59
  type: 'gpt4'
60
60
  }
61
+ }, {
62
+ Icon: OpenAI,
63
+ keywords: ['o1-'],
64
+ props: {
65
+ type: 'o1'
66
+ }
61
67
  }, {
62
68
  Icon: Dalle,
63
69
  keywords: ['dalle']
@@ -111,7 +117,7 @@ export var modelMappings = [{
111
117
  keywords: ['pplx', 'sonar']
112
118
  }, {
113
119
  Icon: Yi,
114
- keywords: ['^yi-', '/yi-']
120
+ keywords: ['^yi-', '/yi-', '-yi-']
115
121
  }, {
116
122
  Icon: OpenRouter,
117
123
  keywords: ['^openrouter']
@@ -147,7 +153,7 @@ export var modelMappings = [{
147
153
  keywords: ['ernie']
148
154
  }, {
149
155
  Icon: Doubao,
150
- keywords: ['^doubao', 'doubao-']
156
+ keywords: ['^ep-']
151
157
  }, {
152
158
  Icon: Hunyuan,
153
159
  keywords: ['hunyuan']
@@ -180,7 +186,7 @@ export var modelMappings = [{
180
186
  keywords: ['internlm']
181
187
  }, {
182
188
  Icon: Upstage,
183
- keywords: ['^solar-']
189
+ keywords: ['^solar-', '/solar']
184
190
  }, {
185
191
  Icon: PaLM,
186
192
  keywords: ['palm']
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { type IconAvatarProps } from "../../IconAvatar";
3
3
  export interface AvatarProps extends Omit<IconAvatarProps, 'Icon'> {
4
- type?: 'normal' | 'gpt3' | 'gpt4';
4
+ type?: 'normal' | 'gpt3' | 'gpt4' | 'o1';
5
5
  }
6
6
  declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
7
7
  export default Avatar;
@@ -9,7 +9,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
9
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10
10
  import { memo } from 'react';
11
11
  import IconAvatar from "../../IconAvatar";
12
- import { COLOR_GPT_3, COLOR_GPT_4, COLOR_PRIMARY, TITLE } from "../style";
12
+ import { COLOR_GPT_3, COLOR_GPT_4, COLOR_O_1, COLOR_PRIMARY, TITLE } from "../style";
13
13
  import Mono from "./Mono";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  var Avatar = /*#__PURE__*/memo(function (_ref) {
@@ -29,6 +29,11 @@ var Avatar = /*#__PURE__*/memo(function (_ref) {
29
29
  bg = COLOR_GPT_4;
30
30
  break;
31
31
  }
32
+ case 'o1':
33
+ {
34
+ bg = COLOR_O_1;
35
+ break;
36
+ }
32
37
  default:
33
38
  {
34
39
  bg = background || COLOR_PRIMARY;
@@ -8,6 +8,7 @@ export type CompoundedIcon = typeof Mono & {
8
8
  Text: typeof Text;
9
9
  colorGpt3: string;
10
10
  colorGpt4: string;
11
+ colorO1: string;
11
12
  colorPrimary: string;
12
13
  title: string;
13
14
  };
@@ -2,7 +2,7 @@ import Avatar from "./components/Avatar";
2
2
  import Combine from "./components/Combine";
3
3
  import Mono from "./components/Mono";
4
4
  import Text from "./components/Text";
5
- import { COLOR_GPT_3, COLOR_GPT_4, COLOR_PRIMARY, TITLE } from "./style";
5
+ import { COLOR_GPT_3, COLOR_GPT_4, COLOR_O_1, COLOR_PRIMARY, TITLE } from "./style";
6
6
  var Icons = Mono;
7
7
  Icons.Text = Text;
8
8
  Icons.Combine = Combine;
@@ -10,5 +10,6 @@ Icons.Avatar = Avatar;
10
10
  Icons.colorPrimary = COLOR_PRIMARY;
11
11
  Icons.colorGpt3 = COLOR_GPT_3;
12
12
  Icons.colorGpt4 = COLOR_GPT_4;
13
+ Icons.colorO1 = COLOR_O_1;
13
14
  Icons.title = TITLE;
14
15
  export default Icons;
@@ -4,3 +4,4 @@ export declare const SPACE_MULTIPLE = 0.1;
4
4
  export declare const COLOR_PRIMARY = "#000";
5
5
  export declare const COLOR_GPT_3 = "#19C37D";
6
6
  export declare const COLOR_GPT_4 = "#AB68FF";
7
+ export declare const COLOR_O_1 = "#F9C322";
@@ -3,4 +3,5 @@ export var TEXT_MULTIPLE = 0.75;
3
3
  export var SPACE_MULTIPLE = 0.1;
4
4
  export var COLOR_PRIMARY = '#000';
5
5
  export var COLOR_GPT_3 = '#19C37D';
6
- export var COLOR_GPT_4 = '#AB68FF';
6
+ export var COLOR_GPT_4 = '#AB68FF';
7
+ export var COLOR_O_1 = '#F9C322';
@@ -23,6 +23,7 @@ export declare enum ModelProvider {
23
23
  Baichuan = "baichuan",
24
24
  Bedrock = "bedrock",
25
25
  DeepSeek = "deepseek",
26
+ Doubao = "Doubao",
26
27
  FireworksAI = "fireworksai",
27
28
  Github = "github",
28
29
  Google = "google",
@@ -6,6 +6,7 @@ import Azure from "../Azure";
6
6
  import Baichuan from "../Baichuan";
7
7
  import Bedrock from "../Bedrock";
8
8
  import DeepSeek from "../DeepSeek";
9
+ import Doubao from "../Doubao";
9
10
  import Fireworks from "../Fireworks";
10
11
  import Github from "../Github";
11
12
  import Google from "../Google";
@@ -35,6 +36,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
35
36
  ModelProvider["Baichuan"] = "baichuan";
36
37
  ModelProvider["Bedrock"] = "bedrock";
37
38
  ModelProvider["DeepSeek"] = "deepseek";
39
+ ModelProvider["Doubao"] = "Doubao";
38
40
  ModelProvider["FireworksAI"] = "fireworksai";
39
41
  ModelProvider["Github"] = "github";
40
42
  ModelProvider["Google"] = "google";
@@ -146,4 +148,7 @@ export var providerMappings = [{
146
148
  }, {
147
149
  Icon: Github,
148
150
  keywords: [ModelProvider.Github]
151
+ }, {
152
+ Icon: Doubao,
153
+ keywords: [ModelProvider.Doubao]
149
154
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "1.33.4",
3
+ "version": "1.33.5",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",