@lobehub/icons 2.2.0 → 2.3.0

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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { type IconAvatarProps } from "../../features/IconAvatar";
3
3
  export interface AvatarProps extends Omit<IconAvatarProps, 'Icon'> {
4
- type?: 'normal' | 'gpt3' | 'gpt4' | 'o1' | 'o3';
4
+ type?: 'normal' | 'gpt3' | 'gpt4' | 'o1' | 'o3' | 'platform';
5
5
  }
6
6
  declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
7
7
  export default Avatar;
@@ -11,7 +11,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
11
11
  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; }
12
12
  import { memo } from 'react';
13
13
  import IconAvatar from "../../features/IconAvatar";
14
- import { COLOR_GPT_3, COLOR_GPT_4, COLOR_O_1, COLOR_PRIMARY, TITLE } from "../style";
14
+ import { COLOR_GPT_3, COLOR_GPT_4, COLOR_O_1, COLOR_PLATFORM, COLOR_PRIMARY, TITLE } from "../style";
15
15
  import Mono from "./Mono";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  var Avatar = /*#__PURE__*/memo(function (_ref) {
@@ -37,6 +37,11 @@ var Avatar = /*#__PURE__*/memo(function (_ref) {
37
37
  bg = COLOR_O_1;
38
38
  break;
39
39
  }
40
+ case 'platform':
41
+ {
42
+ bg = COLOR_PLATFORM;
43
+ break;
44
+ }
40
45
  default:
41
46
  {
42
47
  bg = background || COLOR_PRIMARY;
@@ -9,6 +9,7 @@ export type CompoundedIcon = typeof Mono & {
9
9
  colorGpt3: string;
10
10
  colorGpt4: string;
11
11
  colorO1: string;
12
+ colorPlatform?: string;
12
13
  colorPrimary: string;
13
14
  title: string;
14
15
  };
@@ -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_O_1, COLOR_PRIMARY, TITLE } from "./style";
5
+ import { COLOR_GPT_3, COLOR_GPT_4, COLOR_O_1, COLOR_PLATFORM, COLOR_PRIMARY, TITLE } from "./style";
6
6
  var Icons = Mono;
7
7
  Icons.Text = Text;
8
8
  Icons.Combine = Combine;
@@ -11,5 +11,6 @@ Icons.colorPrimary = COLOR_PRIMARY;
11
11
  Icons.colorGpt3 = COLOR_GPT_3;
12
12
  Icons.colorGpt4 = COLOR_GPT_4;
13
13
  Icons.colorO1 = COLOR_O_1;
14
+ Icons.colorPlatform = COLOR_PLATFORM;
14
15
  Icons.title = TITLE;
15
16
  export default Icons;
@@ -5,3 +5,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
7
  export declare const COLOR_O_1 = "#F9C322";
8
+ export declare const COLOR_PLATFORM = "#0000FE";
@@ -4,4 +4,5 @@ export var SPACE_MULTIPLE = 0.1;
4
4
  export var COLOR_PRIMARY = '#000';
5
5
  export var COLOR_GPT_3 = '#19C37D';
6
6
  export var COLOR_GPT_4 = '#AB68FF';
7
- export var COLOR_O_1 = '#F9C322';
7
+ export var COLOR_O_1 = '#F9C322';
8
+ export var COLOR_PLATFORM = '#0000FE';
@@ -1,8 +1,10 @@
1
1
  import Adobe from "../Adobe";
2
2
  import Ai21 from "../Ai21";
3
3
  import Ai360 from "../Ai360";
4
+ import AiHubMix from "../AiHubMix";
4
5
  import AiMass from "../AiMass";
5
6
  import AionLabs from "../AionLabs";
7
+ import Anthropic from "../Anthropic";
6
8
  import AssemblyAI from "../AssemblyAI";
7
9
  import Aws from "../Aws";
8
10
  import Aya from "../Aya";
@@ -51,6 +53,7 @@ import Stepfun from "../Stepfun";
51
53
  import Suno from "../Suno";
52
54
  import Udio from "../Udio";
53
55
  import Upstage from "../Upstage";
56
+ import VertexAI from "../VertexAI";
54
57
  import Voyage from "../Voyage";
55
58
  import Wenxin from "../Wenxin";
56
59
  import Yi from "../Yi";
@@ -81,16 +84,25 @@ export var modelMappings = [{
81
84
  keywords: ['dalle', 'dall-e']
82
85
  }, {
83
86
  Icon: OpenAI,
84
- keywords: ['^gpt-', '/gpt-', 'openai', 'text-embedding-', 'tts-', 'whisper-']
87
+ keywords: ['text-embedding-', 'tts-', 'whisper-', 'codex', 'davinci', 'babbage', 'omni-moderation', 'text-moderation', 'text-adb', 'computer-use'],
88
+ props: {
89
+ type: 'platform'
90
+ }
91
+ }, {
92
+ Icon: OpenAI,
93
+ keywords: ['^gpt-', '/gpt-', 'openai']
85
94
  }, {
86
95
  Icon: ChatGLM,
87
- keywords: ['glm-', 'chatglm']
96
+ keywords: ['^glm-', '/glm-', 'chatglm']
88
97
  }, {
89
98
  Icon: CodeGeeX,
90
- keywords: ['^codegeex']
99
+ keywords: ['^codegeex', '/codegeex']
91
100
  }, {
92
101
  Icon: Claude,
93
102
  keywords: ['claude']
103
+ }, {
104
+ Icon: Anthropic,
105
+ keywords: ['anthropic']
94
106
  }, {
95
107
  Icon: Aws,
96
108
  keywords: ['titan']
@@ -109,11 +121,9 @@ export var modelMappings = [{
109
121
  }, {
110
122
  Icon: Gemini,
111
123
  keywords: ['gemini']
112
- },
113
- // google is imagen-4.0-ultra-generate-exp-05-20; fal is imagen4/preview
114
- {
124
+ }, {
115
125
  Icon: DeepMind,
116
- keywords: ['^imagen-', '^imagen\\d/']
126
+ keywords: ['^imagen-', '/imagen-', '^imagen\\d/']
117
127
  }, {
118
128
  Icon: Gemma,
119
129
  keywords: ['gemma']
@@ -173,7 +183,7 @@ export var modelMappings = [{
173
183
  keywords: ['ernie']
174
184
  }, {
175
185
  Icon: Jina,
176
- keywords: ['^jina']
186
+ keywords: ['^jina', '/jina']
177
187
  }, {
178
188
  Icon: Doubao,
179
189
  keywords: ['^ep-', 'doubao-']
@@ -197,7 +207,7 @@ export var modelMappings = [{
197
207
  keywords: ['suno']
198
208
  }, {
199
209
  Icon: Microsoft,
200
- keywords: ['wizardlm', 'phi3', 'phi4', '^/phi-', '^phi-']
210
+ keywords: ['wizardlm', '/phi-', '^phi-', '-phi-']
201
211
  }, {
202
212
  Icon: Adobe,
203
213
  keywords: ['firefly']
@@ -210,15 +220,12 @@ export var modelMappings = [{
210
220
  }, {
211
221
  Icon: PaLM,
212
222
  keywords: ['palm']
213
- }, {
214
- Icon: Google,
215
- keywords: ['google']
216
223
  }, {
217
224
  Icon: SenseNova,
218
225
  keywords: ['SenseChat', 'SenseNova']
219
226
  }, {
220
227
  Icon: Grok,
221
- keywords: ['^grok-']
228
+ keywords: ['^grok-', '/grok-']
222
229
  }, {
223
230
  Icon: Ideogram,
224
231
  keywords: ['ideogram']
@@ -246,4 +253,13 @@ export var modelMappings = [{
246
253
  }, {
247
254
  Icon: AionLabs,
248
255
  keywords: ['aion-']
256
+ }, {
257
+ Icon: AiHubMix,
258
+ keywords: ['aihubmix']
259
+ }, {
260
+ Icon: VertexAI,
261
+ keywords: ['^veo-', '/veo-']
262
+ }, {
263
+ Icon: Google,
264
+ keywords: ['google']
249
265
  }];
@@ -4,7 +4,8 @@ var _excluded = ["size", "type"],
4
4
  _excluded3 = ["size", "type"],
5
5
  _excluded4 = ["size", "type"],
6
6
  _excluded5 = ["size", "type"],
7
- _excluded6 = ["size", "type"];
7
+ _excluded6 = ["size", "type"],
8
+ _excluded7 = ["size", "type"];
8
9
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
10
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
11
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -15,7 +16,9 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
15
16
  import { memo } from 'react';
16
17
  import Ai21 from "../Ai21";
17
18
  import Ai360 from "../Ai360";
19
+ import AiHubMix from "../AiHubMix";
18
20
  import AiMass from "../AiMass";
21
+ import AlibabaCloud from "../AlibabaCloud";
19
22
  import Anthropic from "../Anthropic";
20
23
  import Aws from "../Aws";
21
24
  import Azure from "../Azure";
@@ -219,7 +222,26 @@ export var providerMappings = [{
219
222
  combineMultiple: 1.1,
220
223
  keywords: [ModelProvider.Qiniu]
221
224
  }, {
222
- Icon: Qwen,
225
+ Combine: /*#__PURE__*/memo(function (_ref5) {
226
+ var _ref5$size = _ref5.size,
227
+ size = _ref5$size === void 0 ? 24 : _ref5$size,
228
+ _ref5$type = _ref5.type,
229
+ type = _ref5$type === void 0 ? 'color' : _ref5$type,
230
+ props = _objectWithoutProperties(_ref5, _excluded5);
231
+ return /*#__PURE__*/_jsx(Combine, _objectSpread({
232
+ left: /*#__PURE__*/_jsx(AlibabaCloud.Combine, {
233
+ size: size,
234
+ type: type
235
+ }),
236
+ right: /*#__PURE__*/_jsx(Qwen.Combine, {
237
+ size: size * 0.9,
238
+ type: type
239
+ }),
240
+ size: size
241
+ }, props));
242
+ }),
243
+ Icon: AlibabaCloud,
244
+ combineMultiple: 1.1,
223
245
  keywords: [ModelProvider.Qwen]
224
246
  }, {
225
247
  Icon: Stepfun,
@@ -274,12 +296,12 @@ export var providerMappings = [{
274
296
  Icon: TencentCloud,
275
297
  keywords: [ModelProvider.TencentCloud]
276
298
  }, {
277
- Combine: /*#__PURE__*/memo(function (_ref5) {
278
- var _ref5$size = _ref5.size,
279
- size = _ref5$size === void 0 ? 24 : _ref5$size,
280
- _ref5$type = _ref5.type,
281
- type = _ref5$type === void 0 ? 'color' : _ref5$type,
282
- props = _objectWithoutProperties(_ref5, _excluded5);
299
+ Combine: /*#__PURE__*/memo(function (_ref6) {
300
+ var _ref6$size = _ref6.size,
301
+ size = _ref6$size === void 0 ? 24 : _ref6$size,
302
+ _ref6$type = _ref6.type,
303
+ type = _ref6$type === void 0 ? 'color' : _ref6$type,
304
+ props = _objectWithoutProperties(_ref6, _excluded6);
283
305
  return /*#__PURE__*/_jsx(Combine, _objectSpread({
284
306
  left: /*#__PURE__*/_jsx(BaiduCloud.Combine, {
285
307
  size: size * 0.9,
@@ -311,12 +333,12 @@ export var providerMappings = [{
311
333
  combineMultiple: 0.85,
312
334
  keywords: [ModelProvider.XAI]
313
335
  }, {
314
- Combine: /*#__PURE__*/memo(function (_ref6) {
315
- var _ref6$size = _ref6.size,
316
- size = _ref6$size === void 0 ? 24 : _ref6$size,
317
- _ref6$type = _ref6.type,
318
- type = _ref6$type === void 0 ? 'color' : _ref6$type,
319
- props = _objectWithoutProperties(_ref6, _excluded6);
336
+ Combine: /*#__PURE__*/memo(function (_ref7) {
337
+ var _ref7$size = _ref7.size,
338
+ size = _ref7$size === void 0 ? 24 : _ref7$size,
339
+ _ref7$type = _ref7.type,
340
+ type = _ref7$type === void 0 ? 'color' : _ref7$type,
341
+ props = _objectWithoutProperties(_ref7, _excluded7);
320
342
  return /*#__PURE__*/_jsx(Combine, _objectSpread({
321
343
  left: /*#__PURE__*/_jsx(Cloudflare.Combine, {
322
344
  size: size * 1.1,
@@ -389,4 +411,8 @@ export var providerMappings = [{
389
411
  }, {
390
412
  Icon: Fal,
391
413
  keywords: [ModelProvider.Fal]
414
+ }, {
415
+ Icon: AiHubMix,
416
+ combineMultiple: 0.9,
417
+ keywords: [ModelProvider.AiHubMix]
392
418
  }];
@@ -1,6 +1,7 @@
1
1
  export declare enum ModelProvider {
2
2
  Ai21 = "ai21",
3
3
  Ai360 = "ai360",
4
+ AiHubMix = "aihubmix",
4
5
  Anthropic = "anthropic",
5
6
  Azure = "azure",
6
7
  AzureAI = "azureai",
@@ -1,6 +1,7 @@
1
1
  export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
2
2
  ModelProvider["Ai21"] = "ai21";
3
3
  ModelProvider["Ai360"] = "ai360";
4
+ ModelProvider["AiHubMix"] = "aihubmix";
4
5
  ModelProvider["Anthropic"] = "anthropic";
5
6
  ModelProvider["Azure"] = "azure";
6
7
  ModelProvider["AzureAI"] = "azureai";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",