@lobehub/icons 1.31.0 → 1.32.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.
- package/README.md +3 -3
- package/es/Magic/components/Avatar.d.ts +5 -0
- package/es/Magic/components/Avatar.js +25 -0
- package/es/Magic/components/Combine.d.ts +5 -0
- package/es/Magic/components/Combine.js +24 -0
- package/es/Magic/components/Mono.d.ts +3 -0
- package/es/Magic/components/Mono.js +41 -0
- package/es/Magic/components/Text.d.ts +3 -0
- package/es/Magic/components/Text.js +39 -0
- package/es/Magic/index.d.ts +13 -0
- package/es/Magic/index.js +12 -0
- package/es/Magic/style.d.ts +4 -0
- package/es/Magic/style.js +4 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -61,9 +61,9 @@ Contributions, corrections & requests can be made on GitHub.
|
|
61
61
|
|
62
62
|
<!-- ICON LIST -->
|
63
63
|
|
64
|
-
| Model
|
65
|
-
|
|
66
|
-
| ✅ [Ai21Labs (Jamba)](https://icons.lobehub.com/components/ai-21)<br/>✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)<br/>✅ [Claude](https://icons.lobehub.com/components/claude)<br/>✅ [CodeGeeX](https://icons.lobehub.com/components/code-gee-x)<br/>✅ [Cohere (Aya)](https://icons.lobehub.com/components/aya)<br/>✅ [Databricks (DBRX)](https://icons.lobehub.com/components/dbrx)<br/>✅ [DeepSeek](https://icons.lobehub.com/components/deep-seek)<br/>✅ [Doubao (豆包)](https://icons.lobehub.com/components/doubao)<br/>✅ [FishAudio (Bert)](https://icons.lobehub.com/components/fish-audio)<br/>✅ [Google (Gemini)](https://icons.lobehub.com/components/gemini)<br/>✅ [Google (Gemma)](https://icons.lobehub.com/components/gemma)<br/>✅ [Grok](https://icons.lobehub.com/components/grok)<br/>✅ [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)<br/>✅ [LLaVA](https://icons.lobehub.com/components/l-la-va)<br/>✅ [Minimax](https://icons.lobehub.com/components/minimax)<br/>✅ [Mistral](https://icons.lobehub.com/components/mistral)<br/>✅ [OpenAI (DALL·E)](https://icons.lobehub.com/components/dalle)<br/>✅ [OpenChat](https://icons.lobehub.com/components/open-chat)<br/>✅ [Qwen (千问)](https://icons.lobehub.com/components/qwen)<br/>✅ [RWKV](https://icons.lobehub.com/components/rwkv)<br/>✅ [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)<br/>✅ [Stepfun (阶跃星辰)](https://icons.lobehub.com/components/stepfun)<br/>✅ [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)<br/>✅ [Yi (零一万物)](https://icons.lobehub.com/components/yi)<br/>✅ [Zhipu (ChatGLM)](https://icons.lobehub.com/components/chat-glm) | ✅ [01.AI (零一万物)](https://icons.lobehub.com/components/zero-one)<br/>✅ [Ai360 (360 智脑)](https://icons.lobehub.com/components/ai-360)<br/>✅ [AiMass (紫东太初)](https://icons.lobehub.com/components/ai-mass)<br/>✅ [Alibaba](https://icons.lobehub.com/components/alibaba)<br/>✅ [AntGroup](https://icons.lobehub.com/components/ant-group)<br/>✅ [Anthropic](https://icons.lobehub.com/components/anthropic)<br/>✅ [AWS](https://icons.lobehub.com/components/aws)<br/>✅ [AWS (Bedrock)](https://icons.lobehub.com/components/bedrock)<br/>✅ [Baidu](https://icons.lobehub.com/components/baidu)<br/>✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)<br/>✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)<br/>✅ [Cloudflare (WorkersAI)](https://icons.lobehub.com/components/workers-ai)<br/>✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)<br/>✅ [Fireworks](https://icons.lobehub.com/components/fireworks)<br/>✅ [Google](https://icons.lobehub.com/components/google)<br/>✅ [Google(DeepMind)](https://icons.lobehub.com/components/deep-mind)<br/>✅ [Groq](https://icons.lobehub.com/components/groq)<br/>✅ [HuggingFace](https://icons.lobehub.com/components/hugging-face)<br/>✅ [InternLM](https://icons.lobehub.com/components/intern-lm)<br/>✅ [LM Studio](https://icons.lobehub.com/components/lm-studio)<br/>✅ [LobeHub](https://icons.lobehub.com/components/lobe-hub)<br/>✅ [Meta](https://icons.lobehub.com/components/meta)<br/>✅ [Microsoft (Azure)](https://icons.lobehub.com/components/azure)<br/>✅ [Moonshot (月之暗面)](https://icons.lobehub.com/components/moonshot)<br/>✅ [Novita](https://icons.lobehub.com/components/novita)<br/>✅ [Ollama](https://icons.lobehub.com/components/ollama)<br/>✅ [OpenAI (ChatGPT)](https://icons.lobehub.com/components/open-ai)<br/>✅ [OpenRouter](https://icons.lobehub.com/components/open-router)<br/>✅ [Perplexity](https://icons.lobehub.com/components/perplexity)<br/>✅ [Replicate](https://icons.lobehub.com/components/replicate)<br/>✅ [SiliconCloud (SiliconFlow)](https://icons.lobehub.com/components/silicon-cloud)<br/>✅ [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)<br/>✅ [Tencent](https://icons.lobehub.com/components/tencent)<br/>✅ [together.ai](https://icons.lobehub.com/components/together)<br/>✅ [Upsate](https://icons.lobehub.com/components/upsate)<br/>✅ [vLLM](https://icons.lobehub.com/components/vllm)<br/>✅ [Zeabur](https://icons.lobehub.com/components/zeabur)<br/>✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)<br/>✅ [Adobe (Firefly)](https://icons.lobehub.com/components/adobe-firefly)<br/>✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)<br/>✅ [Github](https://icons.lobehub.com/components/github)<br/>✅ [Github Copilot](https://icons.lobehub.com/components/github-copilot)<br/>✅ [Google (Colab)](https://icons.lobehub.com/components/colab)<br/>✅ [Langfuse](https://icons.lobehub.com/components/langfuse)<br/>✅ [Microsoft Copilot](https://icons.lobehub.com/components/copilot)<br/>✅ [Midjourney](https://icons.lobehub.com/components/midjourney)<br/>✅ [Nvidia (ChatWithRTX)](https://icons.lobehub.com/components/nvidia)<br/>✅ [Pollinations](https://icons.lobehub.com/components/pollinations)<br/>✅ [Qingyan (智谱清言)](https://icons.lobehub.com/components/qingyan)<br/>✅ [Suno](https://icons.lobehub.com/components/suno) |
|
64
|
+
| Model | Provider | Application |
|
65
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
66
|
+
| ✅ [Ai21Labs (Jamba)](https://icons.lobehub.com/components/ai-21)<br/>✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)<br/>✅ [Claude](https://icons.lobehub.com/components/claude)<br/>✅ [CodeGeeX](https://icons.lobehub.com/components/code-gee-x)<br/>✅ [Cohere (Aya)](https://icons.lobehub.com/components/aya)<br/>✅ [Databricks (DBRX)](https://icons.lobehub.com/components/dbrx)<br/>✅ [DeepSeek](https://icons.lobehub.com/components/deep-seek)<br/>✅ [Doubao (豆包)](https://icons.lobehub.com/components/doubao)<br/>✅ [FishAudio (Bert)](https://icons.lobehub.com/components/fish-audio)<br/>✅ [Google (Gemini)](https://icons.lobehub.com/components/gemini)<br/>✅ [Google (Gemma)](https://icons.lobehub.com/components/gemma)<br/>✅ [Grok](https://icons.lobehub.com/components/grok)<br/>✅ [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)<br/>✅ [LLaVA](https://icons.lobehub.com/components/l-la-va)<br/>✅ [Magic](https://icons.lobehub.com/components/magic)<br/>✅ [Minimax](https://icons.lobehub.com/components/minimax)<br/>✅ [Mistral](https://icons.lobehub.com/components/mistral)<br/>✅ [OpenAI (DALL·E)](https://icons.lobehub.com/components/dalle)<br/>✅ [OpenChat](https://icons.lobehub.com/components/open-chat)<br/>✅ [Qwen (千问)](https://icons.lobehub.com/components/qwen)<br/>✅ [RWKV](https://icons.lobehub.com/components/rwkv)<br/>✅ [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)<br/>✅ [Stepfun (阶跃星辰)](https://icons.lobehub.com/components/stepfun)<br/>✅ [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)<br/>✅ [Yi (零一万物)](https://icons.lobehub.com/components/yi)<br/>✅ [Zhipu (ChatGLM)](https://icons.lobehub.com/components/chat-glm) | ✅ [01.AI (零一万物)](https://icons.lobehub.com/components/zero-one)<br/>✅ [Ai360 (360 智脑)](https://icons.lobehub.com/components/ai-360)<br/>✅ [AiMass (紫东太初)](https://icons.lobehub.com/components/ai-mass)<br/>✅ [Alibaba](https://icons.lobehub.com/components/alibaba)<br/>✅ [AntGroup](https://icons.lobehub.com/components/ant-group)<br/>✅ [Anthropic](https://icons.lobehub.com/components/anthropic)<br/>✅ [AWS](https://icons.lobehub.com/components/aws)<br/>✅ [AWS (Bedrock)](https://icons.lobehub.com/components/bedrock)<br/>✅ [Baidu](https://icons.lobehub.com/components/baidu)<br/>✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)<br/>✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)<br/>✅ [Cloudflare (WorkersAI)](https://icons.lobehub.com/components/workers-ai)<br/>✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)<br/>✅ [Fireworks](https://icons.lobehub.com/components/fireworks)<br/>✅ [Google](https://icons.lobehub.com/components/google)<br/>✅ [Google(DeepMind)](https://icons.lobehub.com/components/deep-mind)<br/>✅ [Groq](https://icons.lobehub.com/components/groq)<br/>✅ [HuggingFace](https://icons.lobehub.com/components/hugging-face)<br/>✅ [InternLM](https://icons.lobehub.com/components/intern-lm)<br/>✅ [LM Studio](https://icons.lobehub.com/components/lm-studio)<br/>✅ [LobeHub](https://icons.lobehub.com/components/lobe-hub)<br/>✅ [Meta](https://icons.lobehub.com/components/meta)<br/>✅ [Microsoft (Azure)](https://icons.lobehub.com/components/azure)<br/>✅ [Moonshot (月之暗面)](https://icons.lobehub.com/components/moonshot)<br/>✅ [Novita](https://icons.lobehub.com/components/novita)<br/>✅ [Ollama](https://icons.lobehub.com/components/ollama)<br/>✅ [OpenAI (ChatGPT)](https://icons.lobehub.com/components/open-ai)<br/>✅ [OpenRouter](https://icons.lobehub.com/components/open-router)<br/>✅ [Perplexity](https://icons.lobehub.com/components/perplexity)<br/>✅ [Replicate](https://icons.lobehub.com/components/replicate)<br/>✅ [SiliconCloud (SiliconFlow)](https://icons.lobehub.com/components/silicon-cloud)<br/>✅ [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)<br/>✅ [Tencent](https://icons.lobehub.com/components/tencent)<br/>✅ [together.ai](https://icons.lobehub.com/components/together)<br/>✅ [Upsate](https://icons.lobehub.com/components/upsate)<br/>✅ [vLLM](https://icons.lobehub.com/components/vllm)<br/>✅ [Zeabur](https://icons.lobehub.com/components/zeabur)<br/>✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)<br/>✅ [Adobe (Firefly)](https://icons.lobehub.com/components/adobe-firefly)<br/>✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)<br/>✅ [Github](https://icons.lobehub.com/components/github)<br/>✅ [Github Copilot](https://icons.lobehub.com/components/github-copilot)<br/>✅ [Google (Colab)](https://icons.lobehub.com/components/colab)<br/>✅ [Langfuse](https://icons.lobehub.com/components/langfuse)<br/>✅ [Microsoft Copilot](https://icons.lobehub.com/components/copilot)<br/>✅ [Midjourney](https://icons.lobehub.com/components/midjourney)<br/>✅ [Nvidia (ChatWithRTX)](https://icons.lobehub.com/components/nvidia)<br/>✅ [Pollinations](https://icons.lobehub.com/components/pollinations)<br/>✅ [Qingyan (智谱清言)](https://icons.lobehub.com/components/qingyan)<br/>✅ [Suno](https://icons.lobehub.com/components/suno) |
|
67
67
|
|
68
68
|
<!-- ICON LIST -->
|
69
69
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
var _excluded = ["background"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
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
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../IconAvatar";
|
12
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var background = _ref.background,
|
17
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
18
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
19
|
+
Icon: Mono,
|
20
|
+
"aria-label": TITLE,
|
21
|
+
background: background || COLOR_PRIMARY,
|
22
|
+
color: '#000'
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
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; }
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
6
|
+
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); }
|
7
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
8
|
+
import { memo } from 'react';
|
9
|
+
import IconCombine from "../../IconCombine";
|
10
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
11
|
+
import Mono from "./Mono";
|
12
|
+
import Text from "./Text";
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
14
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
15
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
16
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
17
|
+
Icon: Mono,
|
18
|
+
Text: Text,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
spaceMultiple: SPACE_MULTIPLE,
|
21
|
+
textMultiple: TEXT_MULTIPLE
|
22
|
+
}, rest));
|
23
|
+
});
|
24
|
+
export default Combine;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
var _excluded = ["size", "style"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
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
|
+
import { forwardRef } from 'react';
|
11
|
+
import { TITLE } from "../style";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
14
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
15
|
+
var _ref$size = _ref.size,
|
16
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
17
|
+
style = _ref.style,
|
18
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
19
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
20
|
+
fill: "currentColor",
|
21
|
+
fillRule: "evenodd",
|
22
|
+
height: size,
|
23
|
+
ref: ref,
|
24
|
+
style: _objectSpread({
|
25
|
+
flex: 'none',
|
26
|
+
lineHeight: 1
|
27
|
+
}, style),
|
28
|
+
viewBox: "0 0 24 24",
|
29
|
+
width: size,
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
d: "M15.294 20.628c-4.8 0-8.706-3.9-8.706-8.695 0-1.168.948-2.116 2.118-2.116s2.12.948 2.12 2.116a4.47 4.47 0 004.468 4.463 4.47 4.47 0 004.468-4.463V8.97c0-1.169.95-2.116 2.12-2.116C23.051 6.854 24 7.8 24 8.97v2.963c0 4.794-3.906 8.695-8.706 8.695z"
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M2.119 17.074A2.117 2.117 0 010 14.958v-2.964C0 7.2 3.906 3.3 8.706 3.3c4.8 0 8.706 3.9 8.706 8.694a2.117 2.117 0 01-2.118 2.116 2.117 2.117 0 01-2.12-2.116 4.47 4.47 0 00-4.468-4.462 4.47 4.47 0 00-4.468 4.462v2.964a2.117 2.117 0 01-2.12 2.116z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
var _excluded = ["size", "style"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
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
|
+
import { forwardRef } from 'react';
|
11
|
+
import { TITLE } from "../style";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
14
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
15
|
+
var _ref$size = _ref.size,
|
16
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
17
|
+
style = _ref.style,
|
18
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
19
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
20
|
+
fill: "currentColor",
|
21
|
+
fillRule: "evenodd",
|
22
|
+
height: size,
|
23
|
+
ref: ref,
|
24
|
+
style: _objectSpread({
|
25
|
+
flex: 'none',
|
26
|
+
lineHeight: 1,
|
27
|
+
width: 'fit-content'
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 73 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
d: "M2 .365h3.887L11.73 14.74 17.47.365h3.808v18.261h-2.895V5.191l-5.479 13.435h-2.53L4.896 5.191v13.435H2V.366zM28.17 18.783c-2.922 0-4.878-1.435-4.878-3.913 0-2.74 1.982-4.279 5.739-4.279h3.34v-.808c0-1.487-1.07-2.4-2.923-2.4-1.67 0-2.79.782-3 1.956h-2.765c.287-2.609 2.53-4.226 5.896-4.226 3.548 0 5.582 1.696 5.582 4.852v8.661H32.71l-.235-1.904c-.913 1.2-2.19 2.06-4.304 2.06zm-2.009-4.096c0 1.122.94 1.904 2.479 1.904 2.348 0 3.704-1.382 3.73-3.443v-.47h-3.496c-1.747 0-2.713.652-2.713 2.009zM40.175 19.357c.34 1.486 1.644 2.347 3.627 2.347 2.452 0 3.834-1.174 3.834-3.73v-1.487c-.886 1.33-2.27 2.191-4.356 2.191-3.626 0-6.313-2.53-6.313-6.782 0-4.096 2.687-6.783 6.313-6.783 2.087 0 3.521.913 4.383 2.244l.313-2.087h2.451v12.808c0 3.626-2.034 5.922-6.834 5.922-3.548 0-6.026-1.643-6.287-4.643h2.87zm-.313-7.461c0 2.608 1.54 4.408 3.887 4.408 2.348 0 3.887-1.8 3.887-4.356 0-2.635-1.539-4.461-3.887-4.461s-3.887 1.826-3.887 4.409zM52.92 5.27h2.817v13.356H52.92V5.27zm-.287-3.574C52.633.704 53.39 0 54.355 0s1.722.704 1.722 1.696c0 .991-.757 1.695-1.722 1.695s-1.722-.704-1.722-1.695zM64.368 18.783c-4.043 0-6.626-2.635-6.626-6.809 0-4.122 2.661-6.86 6.705-6.86 3.443 0 5.582 1.903 6.13 4.93H67.63c-.366-1.566-1.487-2.53-3.235-2.53-2.27 0-3.757 1.825-3.757 4.46 0 2.609 1.487 4.409 3.757 4.409 1.721 0 2.87-.992 3.209-2.53h2.973c-.522 3.025-2.79 4.93-6.209 4.93z"
|
36
|
+
})]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
export default Icon;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Combine from './components/Combine';
|
3
|
+
import Mono from './components/Mono';
|
4
|
+
import Text from './components/Text';
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
6
|
+
Avatar: typeof Avatar;
|
7
|
+
Combine: typeof Combine;
|
8
|
+
Text: typeof Text;
|
9
|
+
colorPrimary: string;
|
10
|
+
title: string;
|
11
|
+
};
|
12
|
+
declare const Icons: CompoundedIcon;
|
13
|
+
export default Icons;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import Avatar from "./components/Avatar";
|
2
|
+
import Combine from "./components/Combine";
|
3
|
+
import Mono from "./components/Mono";
|
4
|
+
import Text from "./components/Text";
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
6
|
+
var Icons = Mono;
|
7
|
+
Icons.Text = Text;
|
8
|
+
Icons.Combine = Combine;
|
9
|
+
Icons.Avatar = Avatar;
|
10
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
11
|
+
Icons.title = TITLE;
|
12
|
+
export default Icons;
|
package/es/index.d.ts
CHANGED
@@ -45,6 +45,7 @@ export { default as Langfuse, type CompoundedIcon as LangfuseProps } from './Lan
|
|
45
45
|
export { default as LLaVA, type CompoundedIcon as LLaVAProps } from './LLaVA';
|
46
46
|
export { default as LmStudio, type CompoundedIcon as LmStudioProps } from './LmStudio';
|
47
47
|
export { default as LobeHub, type CompoundedIcon as LobeHubProps } from './LobeHub';
|
48
|
+
export { default as Magic, type CompoundedIcon as MagicProps } from './Magic';
|
48
49
|
export { default as Meta, type CompoundedIcon as MetaProps } from './Meta';
|
49
50
|
export { default as Midjourney, type CompoundedIcon as MidjourneyProps } from './Midjourney';
|
50
51
|
export { default as Minimax, type CompoundedIcon as MinimaxProps } from './Minimax';
|
package/es/index.js
CHANGED
@@ -45,6 +45,7 @@ export { default as Langfuse } from "./Langfuse";
|
|
45
45
|
export { default as LLaVA } from "./LLaVA";
|
46
46
|
export { default as LmStudio } from "./LmStudio";
|
47
47
|
export { default as LobeHub } from "./LobeHub";
|
48
|
+
export { default as Magic } from "./Magic";
|
48
49
|
export { default as Meta } from "./Meta";
|
49
50
|
export { default as Midjourney } from "./Midjourney";
|
50
51
|
export { default as Minimax } from "./Minimax";
|