@lobehub/icons 1.37.1 → 1.38.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/Grok/components/Avatar.d.ts +1 -5
- package/es/Grok/components/Avatar.js +1 -26
- package/es/Grok/components/Combine.js +1 -4
- package/es/Grok/components/Mono.d.ts +1 -3
- package/es/Grok/components/Mono.js +1 -39
- package/es/Grok/components/Text.js +2 -2
- package/es/XAI/components/Avatar.d.ts +5 -0
- package/es/XAI/components/Avatar.js +26 -0
- package/es/XAI/components/Combine.d.ts +5 -0
- package/es/XAI/components/Combine.js +27 -0
- package/es/XAI/components/Mono.d.ts +3 -0
- package/es/XAI/components/Mono.js +39 -0
- package/es/XAI/components/Text.d.ts +3 -0
- package/es/XAI/components/Text.js +38 -0
- package/es/XAI/index.d.ts +13 -0
- package/es/XAI/index.js +12 -0
- package/es/XAI/style.d.ts +4 -0
- package/es/XAI/style.js +4 -0
- package/es/features/modelConfig.js +4 -0
- package/es/features/providerConfig.js +5 -0
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -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/>✅ [Aya (Cohere)](https://icons.lobehub.com/components/aya)<br/>✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)<br/>✅ [ChatGLM (智谱)](https://icons.lobehub.com/components/chat-glm)<br/>✅ [Claude](https://icons.lobehub.com/components/claude)<br/>✅ [CodeGeeX](https://icons.lobehub.com/components/code-gee-x)<br/>✅ [DALL·E (OpenAI)](https://icons.lobehub.com/components/dalle)<br/>✅ [DBRX (Databricks)](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/>✅ [Flux (black forest labs)](https://icons.lobehub.com/components/flux)<br/>✅ [Gemini (Google)](https://icons.lobehub.com/components/gemini)<br/>✅ [Gemma (Google)](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/>✅ [OpenChat](https://icons.lobehub.com/components/open-chat)<br/>✅ [PaLM (Google)](https://icons.lobehub.com/components/pa-lm)<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) | ✅ [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/>✅ [Baidu](https://icons.lobehub.com/components/baidu)<br/>✅ [BaiduCloud (百度智能云)](https://icons.lobehub.com/components/baidu-cloud)<br/>✅ [Bedrock (AWS)](https://icons.lobehub.com/components/bedrock)<br/>✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)<br/>✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)<br/>✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)<br/>✅ [DeepMind (Google)](https://icons.lobehub.com/components/deep-mind)<br/>✅ [Fireworks](https://icons.lobehub.com/components/fireworks)<br/>✅ [Github](https://icons.lobehub.com/components/github)<br/>✅ [Google](https://icons.lobehub.com/components/google)<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/>✅ [SenseNova](https://icons.lobehub.com/components/sense-nova)<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/>✅ [Upstage](https://icons.lobehub.com/components/upstage)<br/>✅ [VertexAI (Google)](https://icons.lobehub.com/components/vertex-ai)<br/>✅ [vLLM](https://icons.lobehub.com/components/vllm)<br/>✅ [WorkersAI (Cloudflare)](https://icons.lobehub.com/components/workers-ai)<br/>✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)<br/>✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)<br/>✅ [Firefly (Adobe)](https://icons.lobehub.com/components/adobe-firefly)<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)<br/>✅ [Zeabur](https://icons.lobehub.com/components/zeabur) |
|
64
|
+
| Model | Provider | Application |
|
65
|
+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
66
|
+
| ✅ [Ai21Labs (Jamba)](https://icons.lobehub.com/components/ai-21)<br/>✅ [Aya (Cohere)](https://icons.lobehub.com/components/aya)<br/>✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)<br/>✅ [ChatGLM (智谱)](https://icons.lobehub.com/components/chat-glm)<br/>✅ [Claude](https://icons.lobehub.com/components/claude)<br/>✅ [CodeGeeX](https://icons.lobehub.com/components/code-gee-x)<br/>✅ [DALL·E (OpenAI)](https://icons.lobehub.com/components/dalle)<br/>✅ [DBRX (Databricks)](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/>✅ [Flux (black forest labs)](https://icons.lobehub.com/components/flux)<br/>✅ [Gemini (Google)](https://icons.lobehub.com/components/gemini)<br/>✅ [Gemma (Google)](https://icons.lobehub.com/components/gemma)<br/>✅ [Grok (xAI)](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/>✅ [OpenChat](https://icons.lobehub.com/components/open-chat)<br/>✅ [PaLM (Google)](https://icons.lobehub.com/components/pa-lm)<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) | ✅ [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/>✅ [Baidu](https://icons.lobehub.com/components/baidu)<br/>✅ [BaiduCloud (百度智能云)](https://icons.lobehub.com/components/baidu-cloud)<br/>✅ [Bedrock (AWS)](https://icons.lobehub.com/components/bedrock)<br/>✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)<br/>✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)<br/>✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)<br/>✅ [DeepMind (Google)](https://icons.lobehub.com/components/deep-mind)<br/>✅ [Fireworks](https://icons.lobehub.com/components/fireworks)<br/>✅ [Github](https://icons.lobehub.com/components/github)<br/>✅ [Google](https://icons.lobehub.com/components/google)<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/>✅ [SenseNova](https://icons.lobehub.com/components/sense-nova)<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/>✅ [Upstage](https://icons.lobehub.com/components/upstage)<br/>✅ [VertexAI (Google)](https://icons.lobehub.com/components/vertex-ai)<br/>✅ [vLLM](https://icons.lobehub.com/components/vllm)<br/>✅ [WorkersAI (Cloudflare)](https://icons.lobehub.com/components/workers-ai)<br/>✅ [xAI](https://icons.lobehub.com/components/xai)<br/>✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)<br/>✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)<br/>✅ [Firefly (Adobe)](https://icons.lobehub.com/components/adobe-firefly)<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)<br/>✅ [Zeabur](https://icons.lobehub.com/components/zeabur) |
|
67
67
|
|
68
68
|
<!-- ICON LIST -->
|
69
69
|
|
@@ -1,5 +1 @@
|
|
1
|
-
|
2
|
-
import { type IconAvatarProps } from "../../features/IconAvatar";
|
3
|
-
export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
|
4
|
-
declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
|
5
|
-
export default Avatar;
|
1
|
+
export { default } from "../../XAI/components/Avatar";
|
@@ -1,26 +1 @@
|
|
1
|
-
|
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 "../../features/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
|
-
iconMultiple: 0.65
|
24
|
-
}, rest));
|
25
|
-
});
|
26
|
-
export default Avatar;
|
1
|
+
export { default } from "../../XAI/components/Avatar";
|
@@ -1,39 +1 @@
|
|
1
|
-
|
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: "M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"
|
36
|
-
})]
|
37
|
-
}));
|
38
|
-
});
|
39
|
-
export default Icon;
|
1
|
+
export { default } from "../../XAI/components/Mono";
|
@@ -25,13 +25,13 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
25
25
|
flex: 'none',
|
26
26
|
lineHeight: 1
|
27
27
|
}, style),
|
28
|
-
viewBox: "0 0
|
28
|
+
viewBox: "0 0 60 24",
|
29
29
|
xmlns: "http://www.w3.org/2000/svg"
|
30
30
|
}, rest), {}, {
|
31
31
|
children: [/*#__PURE__*/_jsx("title", {
|
32
32
|
children: TITLE
|
33
33
|
}), /*#__PURE__*/_jsx("path", {
|
34
|
-
d: "
|
34
|
+
d: "M46.461 2.48h2.294v11.093l6.453-5.84h2.8l-4.933 4.614 5.466 9.173h-2.64l-4.56-7.813-2.586 2.32v5.493H46.46V2.48zM36.632 21.947c-1.049 0-1.982-.17-2.8-.507a5.75 5.75 0 01-2.08-1.44c-.569-.622-1.004-1.387-1.306-2.293-.303-.907-.454-1.92-.454-3.04s.16-2.133.48-3.04c.32-.907.774-1.68 1.36-2.32A5.85 5.85 0 0133.94 7.84c.836-.355 1.76-.533 2.773-.533 1.031 0 1.956.169 2.774.506a5.602 5.602 0 012.08 1.467c.586.622 1.03 1.378 1.333 2.267.302.889.453 1.893.453 3.013 0 1.138-.16 2.16-.48 3.067-.302.907-.746 1.68-1.333 2.32a5.826 5.826 0 01-2.107 1.493c-.835.338-1.769.507-2.8.507zm.027-1.92c.747 0 1.387-.134 1.92-.4.533-.267.969-.64 1.307-1.12.355-.48.613-1.05.773-1.707a9.6 9.6 0 00.24-2.213c0-.782-.08-1.502-.24-2.16-.16-.658-.418-1.218-.773-1.68a3.467 3.467 0 00-1.307-1.12c-.533-.267-1.173-.4-1.92-.4-.747 0-1.387.133-1.92.4a3.76 3.76 0 00-1.307 1.12c-.338.462-.586 1.022-.746 1.68a9.257 9.257 0 00-.24 2.187c0 .8.08 1.528.24 2.186.16.658.408 1.227.746 1.707s.774.853 1.307 1.12c.533.267 1.173.4 1.92.4zM21.435 7.733h2.294v2.134c.515-.765 1.12-1.351 1.813-1.76a4.287 4.287 0 012.213-.614c.48 0 .89.036 1.227.107l-.293 2.16a5.521 5.521 0 00-.534-.08 2.997 2.997 0 00-.586-.053c-.427 0-.863.08-1.307.24a3.406 3.406 0 00-1.253.746 3.945 3.945 0 00-.934 1.174c-.213.444-.32.96-.32 1.546v8.187h-2.32V7.733zM11.013 11.733h7.12v7.627a8.826 8.826 0 01-1.6 1.173c-.569.32-1.173.596-1.813.827-.622.213-1.271.373-1.947.48-.657.107-1.306.16-1.946.16-1.405 0-2.658-.222-3.76-.667a7.754 7.754 0 01-2.774-1.973c-.746-.853-1.315-1.893-1.706-3.12C2.196 14.996 2 13.591 2 12.027c0-1.6.213-3.023.64-4.267.427-1.244 1.013-2.293 1.76-3.147a7.581 7.581 0 012.72-1.946C8.169 2.222 9.316 2 10.56 2c1.067 0 2.009.133 2.827.4.817.249 1.51.613 2.08 1.093a5.912 5.912 0 011.44 1.734c.373.657.657 1.395.853 2.213l-2.373.4a6.753 6.753 0 00-.587-1.52 3.71 3.71 0 00-.907-1.173c-.373-.338-.835-.596-1.386-.774-.534-.177-1.183-.266-1.947-.266-.996 0-1.867.195-2.613.586a5.051 5.051 0 00-1.867 1.6c-.498.694-.88 1.53-1.147 2.507-.249.96-.373 2.027-.373 3.2s.124 2.249.373 3.227c.25.96.631 1.786 1.147 2.48a5.385 5.385 0 001.973 1.6c.783.373 1.707.56 2.774.56.96 0 1.857-.116 2.693-.347a6.842 6.842 0 002.293-1.093v-4.56h-4.8v-2.134z"
|
35
35
|
})]
|
36
36
|
}));
|
37
37
|
});
|
@@ -0,0 +1,26 @@
|
|
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 "../../features/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
|
+
iconMultiple: 0.65
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Avatar;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
5
|
+
export default Combine;
|
@@ -0,0 +1,27 @@
|
|
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 "../../features/IconCombine";
|
10
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
11
|
+
import Avatar from "./Avatar";
|
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: Avatar,
|
18
|
+
Text: Text,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
iconProps: {
|
21
|
+
shape: 'square'
|
22
|
+
},
|
23
|
+
spaceMultiple: SPACE_MULTIPLE,
|
24
|
+
textMultiple: TEXT_MULTIPLE
|
25
|
+
}, rest));
|
26
|
+
});
|
27
|
+
export default Combine;
|
@@ -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
|
+
}, 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: "M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"
|
36
|
+
})]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
export default Icon;
|
@@ -0,0 +1,38 @@
|
|
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 41 24",
|
29
|
+
xmlns: "http://www.w3.org/2000/svg"
|
30
|
+
}, rest), {}, {
|
31
|
+
children: [/*#__PURE__*/_jsx("title", {
|
32
|
+
children: TITLE
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
34
|
+
d: "M36.867 2h2.577v20h-2.577V2zM23.875 2h2.717l7.759 20H31.55l-2.101-5.574h-8.571L18.777 22h-2.69l7.788-20zm4.79 12.185l-3.53-9.272-3.473 9.272h7.003zM7.35 14.381L2.504 7.518h2.857l3.446 5.126 3.585-5.126h2.605l-4.762 6.835L15.501 22h-2.829l-3.977-5.854L4.689 22H2l5.35-7.619z"
|
35
|
+
})]
|
36
|
+
}));
|
37
|
+
});
|
38
|
+
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;
|
package/es/XAI/index.js
ADDED
@@ -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/XAI/style.js
ADDED
@@ -21,6 +21,7 @@ import Flux from "../Flux";
|
|
21
21
|
import Gemini from "../Gemini";
|
22
22
|
import Gemma from "../Gemma";
|
23
23
|
import Google from "../Google";
|
24
|
+
import Grok from "../Grok";
|
24
25
|
import Hunyuan from "../Hunyuan";
|
25
26
|
import InternLM from "../InternLM";
|
26
27
|
import LLaVA from "../LLaVA";
|
@@ -197,6 +198,9 @@ export var modelMappings = [{
|
|
197
198
|
}, {
|
198
199
|
Icon: SenseNova,
|
199
200
|
keywords: ['SenseChat']
|
201
|
+
}, {
|
202
|
+
Icon: Grok,
|
203
|
+
keywords: ['^grok-']
|
200
204
|
}, {
|
201
205
|
Icon: Spark,
|
202
206
|
keywords: ['spark', 'general$', 'generalv3$', 'generalv3.5$', '4.0ultra$', 'pro-128k$', '^max-32k$', '^lite$']
|
@@ -49,6 +49,7 @@ import Stepfun from "../Stepfun";
|
|
49
49
|
import Together from "../Together";
|
50
50
|
import Upstage from "../Upstage";
|
51
51
|
import Wenxin from "../Wenxin";
|
52
|
+
import XAI from "../XAI";
|
52
53
|
import ZeroOne from "../ZeroOne";
|
53
54
|
import Zhipu from "../Zhipu";
|
54
55
|
import Combine from "./ProviderCombine/Combine";
|
@@ -273,4 +274,8 @@ export var providerMappings = [{
|
|
273
274
|
}, {
|
274
275
|
Icon: LmStudio,
|
275
276
|
keywords: [ModelProvider.LmStudio]
|
277
|
+
}, {
|
278
|
+
Icon: XAI,
|
279
|
+
combineMultiple: 0.85,
|
280
|
+
keywords: [ModelProvider.XAI]
|
276
281
|
}];
|
@@ -32,6 +32,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
32
32
|
ModelProvider["TogetherAI"] = "togetherai";
|
33
33
|
ModelProvider["Upstage"] = "upstage";
|
34
34
|
ModelProvider["Wenxin"] = "wenxin";
|
35
|
+
ModelProvider["XAI"] = "xai";
|
35
36
|
ModelProvider["ZeroOne"] = "zeroone";
|
36
37
|
ModelProvider["ZhiPu"] = "zhipu";
|
37
38
|
return ModelProvider;
|
package/es/index.d.ts
CHANGED
@@ -88,6 +88,7 @@ export { default as VertexAI, type CompoundedIcon as VertexAIProps } from './Ver
|
|
88
88
|
export { default as Vllm, type CompoundedIcon as VllmProps } from './Vllm';
|
89
89
|
export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
|
90
90
|
export { default as WorkersAI, type CompoundedIcon as WorkersAIProps } from './WorkersAI';
|
91
|
+
export { default as XAI, type CompoundedIcon as XAIProps } from './XAI';
|
91
92
|
export { default as Yi, type CompoundedIcon as YiProps } from './Yi';
|
92
93
|
export { default as Zeabur, type CompoundedIcon as ZeaburProps } from './Zeabur';
|
93
94
|
export { default as ZeroOne, type CompoundedIcon as ZeroOneProps } from './ZeroOne';
|
package/es/index.js
CHANGED
@@ -87,6 +87,7 @@ export { default as VertexAI } from "./VertexAI";
|
|
87
87
|
export { default as Vllm } from "./Vllm";
|
88
88
|
export { default as Wenxin } from "./Wenxin";
|
89
89
|
export { default as WorkersAI } from "./WorkersAI";
|
90
|
+
export { default as XAI } from "./XAI";
|
90
91
|
export { default as Yi } from "./Yi";
|
91
92
|
export { default as Zeabur } from "./Zeabur";
|
92
93
|
export { default as ZeroOne } from "./ZeroOne";
|