@lobehub/icons 1.35.1 → 1.35.3

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.
@@ -11,6 +11,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
11
11
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
12
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
13
13
  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; }
14
+ import { memo } from 'react';
14
15
  import Ai21 from "../Ai21";
15
16
  import Ai360 from "../Ai360";
16
17
  import AiMass from "../AiMass";
@@ -28,6 +29,7 @@ import Gemini from "../Gemini";
28
29
  import Github from "../Github";
29
30
  import Google from "../Google";
30
31
  import Groq from "../Groq";
32
+ import HuggingFace from "../HuggingFace";
31
33
  import Hunyuan from "../Hunyuan";
32
34
  import LobeHub from "../LobeHub";
33
35
  import Minimax from "../Minimax";
@@ -48,7 +50,7 @@ import Upstage from "../Upstage";
48
50
  import Wenxin from "../Wenxin";
49
51
  import ZeroOne from "../ZeroOne";
50
52
  import Zhipu from "../Zhipu";
51
- import _Combine from "./ProviderCombine/Combine";
53
+ import Combine from "./ProviderCombine/Combine";
52
54
  import { ModelProvider } from "./providerEnum";
53
55
  import { jsx as _jsx } from "react/jsx-runtime";
54
56
  export var providerMappings = [{
@@ -59,13 +61,13 @@ export var providerMappings = [{
59
61
  combineMultiple: 1.25,
60
62
  keywords: [ModelProvider.ZhiPu]
61
63
  }, {
62
- Combine: function Combine(_ref) {
64
+ Combine: /*#__PURE__*/memo(function (_ref) {
63
65
  var _ref$size = _ref.size,
64
66
  size = _ref$size === void 0 ? 24 : _ref$size,
65
67
  _ref$type = _ref.type,
66
68
  type = _ref$type === void 0 ? 'color' : _ref$type,
67
69
  props = _objectWithoutProperties(_ref, _excluded);
68
- return /*#__PURE__*/_jsx(_Combine, _objectSpread({
70
+ return /*#__PURE__*/_jsx(Combine, _objectSpread({
69
71
  left: type === 'color' ? /*#__PURE__*/_jsx(Aws.Color, {
70
72
  size: size * 1.2
71
73
  }) : /*#__PURE__*/_jsx(Aws, {
@@ -77,7 +79,7 @@ export var providerMappings = [{
77
79
  }),
78
80
  size: size
79
81
  }, props));
80
- },
82
+ }),
81
83
  Icon: Bedrock,
82
84
  combineMultiple: 1.1,
83
85
  keywords: [ModelProvider.Bedrock]
@@ -86,13 +88,13 @@ export var providerMappings = [{
86
88
  combineMultiple: 1.16,
87
89
  keywords: [ModelProvider.DeepSeek]
88
90
  }, {
89
- Combine: function Combine(_ref2) {
91
+ Combine: /*#__PURE__*/memo(function (_ref2) {
90
92
  var _ref2$size = _ref2.size,
91
93
  size = _ref2$size === void 0 ? 24 : _ref2$size,
92
94
  _ref2$type = _ref2.type,
93
95
  type = _ref2$type === void 0 ? 'color' : _ref2$type,
94
96
  props = _objectWithoutProperties(_ref2, _excluded2);
95
- return /*#__PURE__*/_jsx(_Combine, _objectSpread({
97
+ return /*#__PURE__*/_jsx(Combine, _objectSpread({
96
98
  left: type === 'color' ? /*#__PURE__*/_jsx(Google.BrandColor, {
97
99
  size: size * 0.95
98
100
  }) : /*#__PURE__*/_jsx(Google.Brand, {
@@ -104,18 +106,18 @@ export var providerMappings = [{
104
106
  }),
105
107
  size: size
106
108
  }, props));
107
- },
109
+ }),
108
110
  Icon: Google,
109
111
  combineMultiple: 0.92,
110
112
  keywords: [ModelProvider.Google]
111
113
  }, {
112
- Combine: function Combine(_ref3) {
114
+ Combine: /*#__PURE__*/memo(function (_ref3) {
113
115
  var _ref3$size = _ref3.size,
114
116
  size = _ref3$size === void 0 ? 24 : _ref3$size,
115
117
  _ref3$type = _ref3.type,
116
118
  type = _ref3$type === void 0 ? 'color' : _ref3$type,
117
119
  props = _objectWithoutProperties(_ref3, _excluded3);
118
- return /*#__PURE__*/_jsx(_Combine, _objectSpread({
120
+ return /*#__PURE__*/_jsx(Combine, _objectSpread({
119
121
  left: /*#__PURE__*/_jsx(Azure.Combine, {
120
122
  size: size * 0.92,
121
123
  type: type
@@ -125,7 +127,7 @@ export var providerMappings = [{
125
127
  }),
126
128
  size: size
127
129
  }, props));
128
- },
130
+ }),
129
131
  Icon: Azure,
130
132
  keywords: [ModelProvider.Azure]
131
133
  }, {
@@ -154,13 +156,13 @@ export var providerMappings = [{
154
156
  combineMultiple: 1.08,
155
157
  keywords: [ModelProvider.Mistral]
156
158
  }, {
157
- Combine: function Combine(_ref4) {
159
+ Combine: /*#__PURE__*/memo(function (_ref4) {
158
160
  var _ref4$size = _ref4.size,
159
161
  size = _ref4$size === void 0 ? 24 : _ref4$size,
160
162
  _ref4$type = _ref4.type,
161
163
  type = _ref4$type === void 0 ? 'color' : _ref4$type,
162
164
  props = _objectWithoutProperties(_ref4, _excluded4);
163
- return /*#__PURE__*/_jsx(_Combine, _objectSpread({
165
+ return /*#__PURE__*/_jsx(Combine, _objectSpread({
164
166
  left: /*#__PURE__*/_jsx(Anthropic.Text, {
165
167
  size: size * 0.75
166
168
  }),
@@ -170,7 +172,7 @@ export var providerMappings = [{
170
172
  }),
171
173
  size: size
172
174
  }, props));
173
- },
175
+ }),
174
176
  Icon: Anthropic,
175
177
  combineMultiple: 0.83,
176
178
  keywords: [ModelProvider.Anthropic]
@@ -238,13 +240,13 @@ export var providerMappings = [{
238
240
  Icon: Hunyuan,
239
241
  keywords: [ModelProvider.Hunyuan]
240
242
  }, {
241
- Combine: function Combine(_ref5) {
243
+ Combine: /*#__PURE__*/memo(function (_ref5) {
242
244
  var _ref5$size = _ref5.size,
243
245
  size = _ref5$size === void 0 ? 24 : _ref5$size,
244
246
  _ref5$type = _ref5.type,
245
247
  type = _ref5$type === void 0 ? 'color' : _ref5$type,
246
248
  props = _objectWithoutProperties(_ref5, _excluded5);
247
- return /*#__PURE__*/_jsx(_Combine, _objectSpread({
249
+ return /*#__PURE__*/_jsx(Combine, _objectSpread({
248
250
  left: /*#__PURE__*/_jsx(BaiduCloud.Combine, {
249
251
  size: size * 0.9,
250
252
  type: type
@@ -256,11 +258,15 @@ export var providerMappings = [{
256
258
  }, props)),
257
259
  size: size
258
260
  }, props));
259
- },
261
+ }),
260
262
  Icon: Wenxin,
261
263
  keywords: [ModelProvider.Wenxin]
262
264
  }, {
263
265
  Icon: SenseNova,
264
266
  combineMultiple: 0.95,
265
267
  keywords: [ModelProvider.SenseNova]
268
+ }, {
269
+ Icon: HuggingFace,
270
+ combineMultiple: 1.16,
271
+ keywords: [ModelProvider.HuggingFace]
266
272
  }];
@@ -11,6 +11,7 @@ export declare enum ModelProvider {
11
11
  Github = "github",
12
12
  Google = "google",
13
13
  Groq = "groq",
14
+ HuggingFace = "huggingface",
14
15
  Hunyuan = "hunyuan",
15
16
  LobeHub = "lobehub",
16
17
  Minimax = "minimax",
@@ -11,6 +11,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
11
11
  ModelProvider["Github"] = "github";
12
12
  ModelProvider["Google"] = "google";
13
13
  ModelProvider["Groq"] = "groq";
14
+ ModelProvider["HuggingFace"] = "huggingface";
14
15
  ModelProvider["Hunyuan"] = "hunyuan";
15
16
  ModelProvider["LobeHub"] = "lobehub";
16
17
  ModelProvider["Minimax"] = "minimax";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "1.35.1",
3
+ "version": "1.35.3",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",