@lobehub/icons 1.30.0 → 1.31.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/IconCombine/index.d.ts +1 -0
- package/es/IconCombine/index.js +19 -9
- package/es/ModelIcon/const.js +6 -2
- package/es/ProviderCombine/const.js +7 -2
- package/es/ProviderIcon/const.d.ts +1 -0
- package/es/ProviderIcon/const.js +7 -2
- package/es/Qwen/components/Text.js +39 -0
- package/es/{Tongyi → Qwen}/style.d.ts +1 -1
- package/es/{Tongyi → Qwen}/style.js +1 -1
- package/es/Upsate/components/Avatar.d.ts +5 -0
- package/es/Upsate/components/Avatar.js +26 -0
- package/es/Upsate/components/Color.d.ts +3 -0
- package/es/Upsate/components/Color.js +57 -0
- package/es/Upsate/components/Combine.d.ts +7 -0
- package/es/Upsate/components/Combine.js +31 -0
- package/es/Upsate/components/Mono.d.ts +3 -0
- package/es/{Tongyi/components/Text.js → Upsate/components/Mono.js} +24 -4
- package/es/Upsate/components/Text.d.ts +3 -0
- package/es/Upsate/components/Text.js +39 -0
- package/es/Upsate/index.d.ts +16 -0
- package/es/Upsate/index.js +15 -0
- package/es/Upsate/style.d.ts +5 -0
- package/es/Upsate/style.js +5 -0
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/package.json +1 -1
- /package/es/{Tongyi → Qwen}/components/Avatar.d.ts +0 -0
- /package/es/{Tongyi → Qwen}/components/Avatar.js +0 -0
- /package/es/{Tongyi → Qwen}/components/Color.d.ts +0 -0
- /package/es/{Tongyi → Qwen}/components/Color.js +0 -0
- /package/es/{Tongyi → Qwen}/components/Combine.d.ts +0 -0
- /package/es/{Tongyi → Qwen}/components/Combine.js +0 -0
- /package/es/{Tongyi → Qwen}/components/Mono.d.ts +0 -0
- /package/es/{Tongyi → Qwen}/components/Mono.js +0 -0
- /package/es/{Tongyi → Qwen}/components/Text.d.ts +0 -0
- /package/es/{Tongyi → Qwen}/index.d.ts +0 -0
- /package/es/{Tongyi → Qwen}/index.js +0 -0
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/>✅ [
|
|
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/>✅ [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
|
|
package/es/IconCombine/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = ["Icon", "style", "Text", "color", "size", "spaceMultiple", "textMultiple", "extra", "extraStyle", "showText", "showLogo", "extraClassName", "iconProps"];
|
|
2
|
+
var _excluded = ["Icon", "style", "Text", "color", "size", "spaceMultiple", "textMultiple", "extra", "extraStyle", "showText", "showLogo", "extraClassName", "iconProps", "inverse"];
|
|
3
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
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
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; }
|
|
@@ -10,6 +10,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
10
10
|
import { forwardRef } from 'react';
|
|
11
11
|
import { Flexbox } from 'react-layout-kit';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
15
|
var IconCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
15
16
|
var Icon = _ref.Icon,
|
|
@@ -30,7 +31,20 @@ var IconCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
30
31
|
showLogo = _ref$showLogo === void 0 ? true : _ref$showLogo,
|
|
31
32
|
extraClassName = _ref.extraClassName,
|
|
32
33
|
iconProps = _ref.iconProps,
|
|
34
|
+
inverse = _ref.inverse,
|
|
33
35
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
36
|
+
var logo = showLogo && /*#__PURE__*/_jsx(Icon, _objectSpread(_objectSpread({
|
|
37
|
+
size: size
|
|
38
|
+
}, iconProps), {}, {
|
|
39
|
+
style: inverse ? _objectSpread({
|
|
40
|
+
marginLeft: size * spaceMultiple
|
|
41
|
+
}, iconProps === null || iconProps === void 0 ? void 0 : iconProps.style) : _objectSpread({
|
|
42
|
+
marginRight: size * spaceMultiple
|
|
43
|
+
}, iconProps === null || iconProps === void 0 ? void 0 : iconProps.style)
|
|
44
|
+
}));
|
|
45
|
+
var text = showText && Text && /*#__PURE__*/_jsx(Text, {
|
|
46
|
+
size: size * textMultiple
|
|
47
|
+
});
|
|
34
48
|
return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
|
|
35
49
|
align: 'center',
|
|
36
50
|
flex: 'none',
|
|
@@ -41,14 +55,10 @@ var IconCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
41
55
|
color: color
|
|
42
56
|
}, style)
|
|
43
57
|
}, rest), {}, {
|
|
44
|
-
children: [
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
marginRight: size * spaceMultiple
|
|
49
|
-
}, iconProps === null || iconProps === void 0 ? void 0 : iconProps.style)
|
|
50
|
-
})), showText && Text && /*#__PURE__*/_jsx(Text, {
|
|
51
|
-
size: size * textMultiple
|
|
58
|
+
children: [inverse ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
59
|
+
children: [text, logo]
|
|
60
|
+
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
61
|
+
children: [logo, text]
|
|
52
62
|
}), extra && /*#__PURE__*/_jsx("span", {
|
|
53
63
|
className: extraClassName,
|
|
54
64
|
style: _objectSpread({
|
package/es/ModelIcon/const.js
CHANGED
|
@@ -27,11 +27,12 @@ import OpenAI from "../OpenAI";
|
|
|
27
27
|
import OpenChat from "../OpenChat";
|
|
28
28
|
import OpenRouter from "../OpenRouter";
|
|
29
29
|
import Perplexity from "../Perplexity";
|
|
30
|
+
import Qwen from "../Qwen";
|
|
30
31
|
import Rwkv from "../Rwkv";
|
|
31
32
|
import Spark from "../Spark";
|
|
32
33
|
import Stability from "../Stability";
|
|
33
34
|
import Stepfun from "../Stepfun";
|
|
34
|
-
import
|
|
35
|
+
import Upsate from "../Upsate";
|
|
35
36
|
import Wenxin from "../Wenxin";
|
|
36
37
|
import Yi from "../Yi";
|
|
37
38
|
|
|
@@ -84,7 +85,7 @@ export var modelMappings = [{
|
|
|
84
85
|
Icon: Moonshot,
|
|
85
86
|
keywords: ['moonshot']
|
|
86
87
|
}, {
|
|
87
|
-
Icon:
|
|
88
|
+
Icon: Qwen,
|
|
88
89
|
keywords: ['qwen']
|
|
89
90
|
}, {
|
|
90
91
|
Icon: Minimax,
|
|
@@ -158,4 +159,7 @@ export var modelMappings = [{
|
|
|
158
159
|
}, {
|
|
159
160
|
Icon: InternLM,
|
|
160
161
|
keywords: ['internlm']
|
|
162
|
+
}, {
|
|
163
|
+
Icon: Upsate,
|
|
164
|
+
keywords: ['^solar-']
|
|
161
165
|
}];
|
|
@@ -36,10 +36,11 @@ import OpenAI from "../OpenAI";
|
|
|
36
36
|
import OpenRouter from "../OpenRouter";
|
|
37
37
|
import Perplexity from "../Perplexity";
|
|
38
38
|
import { ModelProvider } from "../ProviderIcon/const";
|
|
39
|
+
import Qwen from "../Qwen";
|
|
39
40
|
import SiliconCloud from "../SiliconCloud";
|
|
40
41
|
import Stepfun from "../Stepfun";
|
|
41
42
|
import Together from "../Together";
|
|
42
|
-
import
|
|
43
|
+
import Upsate from "../Upsate";
|
|
43
44
|
import ZeroOne from "../ZeroOne";
|
|
44
45
|
import Zhipu from "../Zhipu";
|
|
45
46
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -196,7 +197,7 @@ export var providerMappings = [{
|
|
|
196
197
|
Icon: Together.Combine,
|
|
197
198
|
keywords: [ModelProvider.TogetherAI]
|
|
198
199
|
}, {
|
|
199
|
-
Icon:
|
|
200
|
+
Icon: Qwen.Combine,
|
|
200
201
|
keywords: [ModelProvider.Qwen]
|
|
201
202
|
}, {
|
|
202
203
|
Icon: Stepfun.Combine,
|
|
@@ -222,4 +223,8 @@ export var providerMappings = [{
|
|
|
222
223
|
Icon: SiliconCloud.Combine,
|
|
223
224
|
keywords: [ModelProvider.SiliconCloud],
|
|
224
225
|
multiple: 0.75
|
|
226
|
+
}, {
|
|
227
|
+
Icon: Upsate.Combine,
|
|
228
|
+
keywords: [ModelProvider.Upsate],
|
|
229
|
+
multiple: 0.9
|
|
225
230
|
}];
|
package/es/ProviderIcon/const.js
CHANGED
|
@@ -16,10 +16,11 @@ import Ollama from "../Ollama";
|
|
|
16
16
|
import OpenAI from "../OpenAI";
|
|
17
17
|
import OpenRouter from "../OpenRouter";
|
|
18
18
|
import Perplexity from "../Perplexity";
|
|
19
|
+
import Qwen from "../Qwen";
|
|
19
20
|
import SiliconCloud from "../SiliconCloud";
|
|
20
21
|
import Stepfun from "../Stepfun";
|
|
21
22
|
import Together from "../Together";
|
|
22
|
-
import
|
|
23
|
+
import Upsate from "../Upsate";
|
|
23
24
|
import ZeroOne from "../ZeroOne";
|
|
24
25
|
import Zhipu from "../Zhipu";
|
|
25
26
|
export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
@@ -45,6 +46,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
|
45
46
|
ModelProvider["Stepfun"] = "stepfun";
|
|
46
47
|
ModelProvider["Taichu"] = "taichu";
|
|
47
48
|
ModelProvider["TogetherAI"] = "togetherai";
|
|
49
|
+
ModelProvider["Upsate"] = "upsate";
|
|
48
50
|
ModelProvider["ZeroOne"] = "zeroone";
|
|
49
51
|
ModelProvider["ZhiPu"] = "zhipu";
|
|
50
52
|
return ModelProvider;
|
|
@@ -104,7 +106,7 @@ export var providerMappings = [{
|
|
|
104
106
|
Icon: Together,
|
|
105
107
|
keywords: [ModelProvider.TogetherAI]
|
|
106
108
|
}, {
|
|
107
|
-
Icon:
|
|
109
|
+
Icon: Qwen,
|
|
108
110
|
keywords: [ModelProvider.Qwen]
|
|
109
111
|
}, {
|
|
110
112
|
Icon: Stepfun,
|
|
@@ -121,4 +123,7 @@ export var providerMappings = [{
|
|
|
121
123
|
}, {
|
|
122
124
|
Icon: SiliconCloud,
|
|
123
125
|
keywords: [ModelProvider.SiliconCloud]
|
|
126
|
+
}, {
|
|
127
|
+
Icon: Upsate,
|
|
128
|
+
keywords: [ModelProvider.Upsate]
|
|
124
129
|
}];
|
|
@@ -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 75 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: "M11.425 14.13h3.642l1.529 1.795a7.89 7.89 0 002.166-2.832 8.36 8.36 0 00.771-3.562c0-2.03-.624-3.664-1.874-4.905-1.24-1.25-2.884-1.874-4.931-1.874-1.028 0-1.99.186-2.885.558A6.99 6.99 0 007.45 4.932 8.576 8.576 0 005.656 7.67a8.354 8.354 0 00-.625 3.19c0 2.003.611 3.643 1.834 4.919 1.223 1.276 2.779 1.914 4.666 1.914.39 0 .793-.031 1.21-.093.425-.062.868-.16 1.329-.293l-2.645-3.177zM18.07 22l-2.127-2.46c-.753.293-1.48.51-2.18.652a9.84 9.84 0 01-2.073.226c-2.97 0-5.326-.85-7.072-2.552C2.873 16.164 2 13.865 2 10.966c0-1.577.28-3.052.837-4.426a10.148 10.148 0 012.406-3.576A10.427 10.427 0 018.713.758C10.025.253 11.429 0 12.927 0c2.915 0 5.25.86 7.005 2.579 1.755 1.72 2.632 4.01 2.632 6.872 0 1.764-.354 3.399-1.063 4.905a10.156 10.156 0 01-3.031 3.776L21.714 22H18.07zm5.743-14.675h2.884l2.047 6.433.054.16c.248.789.38 1.373.399 1.755.097-.302.221-.62.372-.958.16-.345.354-.713.585-1.103l4.227-7.218 2.06 7.43c.08.275.146.559.2.851.053.293.097.63.133 1.01.132-.372.265-.708.398-1.01.142-.3.28-.562.412-.784l3.816-6.567h3.243L36.097 20.71l-2.127-7.045a8.683 8.683 0 01-.213-.798 17.846 17.846 0 01-.146-.97 69.17 69.17 0 01-.519 1.063c-.15.302-.265.514-.345.638l-4.28 7.112-4.653-13.385zm24.392 4.785h6.5c-.026-.85-.292-1.52-.797-2.007-.496-.497-1.166-.745-2.008-.745-.957 0-1.768.248-2.432.745-.665.496-1.086 1.165-1.263 2.007zm6.34 3.948l2.061 1.608c-.735.966-1.533 1.67-2.392 2.114-.86.443-1.848.665-2.965.665-1.87 0-3.38-.563-4.533-1.689-1.152-1.134-1.728-2.623-1.728-4.466 0-2.162.66-3.935 1.98-5.317 1.33-1.391 3.018-2.087 5.066-2.087 1.71 0 3.07.532 4.08 1.595 1.02 1.055 1.53 2.473 1.53 4.254 0 .15-.01.345-.027.585-.01.23-.027.51-.054.837h-9.61c0 1.143.288 2.056.864 2.738.576.674 1.342 1.01 2.3 1.01.664 0 1.293-.159 1.887-.478a4.633 4.633 0 001.542-1.369zm14.317 3.868l.957-7.244c.018-.133.031-.27.04-.412.009-.151.013-.368.013-.652 0-.824-.2-1.453-.598-1.887-.399-.444-.98-.665-1.741-.665-1.188 0-2.118.385-2.792 1.156-.673.763-1.112 1.937-1.316 3.523l-.797 6.181H59.77l1.661-12.601h2.752l-.213 1.515c.727-.664 1.476-1.156 2.247-1.475a6.5 6.5 0 012.486-.479c1.293 0 2.3.341 3.017 1.024.727.673 1.09 1.622 1.09 2.845 0 .31-.018.673-.053 1.09-.036.407-.089.886-.16 1.435l-.877 6.647h-2.858z"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
export default Icon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TITLE = "Tongyi";
|
|
2
|
-
export declare const TEXT_MULTIPLE = 0.
|
|
2
|
+
export declare const TEXT_MULTIPLE = 0.7;
|
|
3
3
|
export declare const SPACE_MULTIPLE = 0.2;
|
|
4
4
|
export declare const COLOR_PRIMARY = "#615ced";
|
|
5
5
|
export declare const COLOR_GRADIENT = "linear-gradient(to right, #00055F, #6F69F7)";
|
|
@@ -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 "../../IconAvatar";
|
|
12
|
+
import { COLOR_GRADIENT, 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_GRADIENT,
|
|
22
|
+
color: '#fff',
|
|
23
|
+
iconMultiple: 0.6
|
|
24
|
+
}, rest));
|
|
25
|
+
});
|
|
26
|
+
export default Avatar;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { useFillId } from "../../hooks/useFillId";
|
|
12
|
+
import { TITLE } from "../style";
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
16
|
+
var _ref$size = _ref.size,
|
|
17
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
18
|
+
style = _ref.style,
|
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
var _useFillId = useFillId(TITLE),
|
|
21
|
+
fill = _useFillId.fill,
|
|
22
|
+
id = _useFillId.id;
|
|
23
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
24
|
+
height: size,
|
|
25
|
+
ref: ref,
|
|
26
|
+
style: _objectSpread({
|
|
27
|
+
flex: 'none',
|
|
28
|
+
lineHeight: 1
|
|
29
|
+
}, style),
|
|
30
|
+
viewBox: "0 0 24 24",
|
|
31
|
+
width: size,
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
33
|
+
}, rest), {}, {
|
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
35
|
+
children: TITLE
|
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
37
|
+
d: "M19.763 0l-.373 1.297h2.594L22.354 0h-2.591zM16.192 2.27l-.376 1.298h5.52l.37-1.298h-5.514zM12.897 4.54l-.376 1.298h8.166l.37-1.298h-8.16zM2.85 6.81l-.377 1.298h17.565l.37-1.297H2.848zM3.884 9.081l-.376 1.297H19.39l.37-1.297H3.882zM4.088 24l.376-1.297H1.866L1.5 24h2.588zM7.662 21.73l.376-1.297H2.515L2.15 21.73h5.513zM10.957 19.459l.376-1.297h-8.17l-.366 1.297h8.16zM21.005 17.189l.376-1.297H3.812l-.366 1.297h17.559zM19.967 14.919l.376-1.297H4.461l-.366 1.297h15.872zM18.786 12.649l.376-1.297H4.26l-.366 1.297h14.893z",
|
|
38
|
+
fill: fill
|
|
39
|
+
}), /*#__PURE__*/_jsx("defs", {
|
|
40
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
|
41
|
+
gradientUnits: "userSpaceOnUse",
|
|
42
|
+
id: id,
|
|
43
|
+
x1: "11.927",
|
|
44
|
+
x2: "11.927",
|
|
45
|
+
y2: "24",
|
|
46
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
47
|
+
offset: "0",
|
|
48
|
+
stopColor: "#AEBCFE"
|
|
49
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
50
|
+
offset: "1",
|
|
51
|
+
stopColor: "#805DFA"
|
|
52
|
+
})]
|
|
53
|
+
})
|
|
54
|
+
})]
|
|
55
|
+
}));
|
|
56
|
+
});
|
|
57
|
+
export default Icon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../IconCombine";
|
|
3
|
+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
|
|
4
|
+
type?: 'color' | 'mono';
|
|
5
|
+
}
|
|
6
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
|
7
|
+
export default Combine;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = ["type"];
|
|
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 IconCombine from "../../IconCombine";
|
|
12
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
|
13
|
+
import Color from "./Color";
|
|
14
|
+
import Mono from "./Mono";
|
|
15
|
+
import Text from "./Text";
|
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
18
|
+
var _ref$type = _ref.type,
|
|
19
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
22
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
23
|
+
Icon: Icon,
|
|
24
|
+
Text: Text,
|
|
25
|
+
"aria-label": TITLE,
|
|
26
|
+
inverse: true,
|
|
27
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
28
|
+
textMultiple: TEXT_MULTIPLE
|
|
29
|
+
}, rest));
|
|
30
|
+
});
|
|
31
|
+
export default Combine;
|
|
@@ -23,16 +23,36 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
23
23
|
ref: ref,
|
|
24
24
|
style: _objectSpread({
|
|
25
25
|
flex: 'none',
|
|
26
|
-
lineHeight: 1
|
|
27
|
-
width: 'fit-content'
|
|
26
|
+
lineHeight: 1
|
|
28
27
|
}, style),
|
|
29
|
-
viewBox: "0 0
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
width: size,
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg"
|
|
31
31
|
}, rest), {}, {
|
|
32
32
|
children: [/*#__PURE__*/_jsx("title", {
|
|
33
33
|
children: TITLE
|
|
34
34
|
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
-
d: "
|
|
35
|
+
d: "M19.763 0l-.373 1.297h2.594L22.354 0h-2.591z"
|
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
37
|
+
d: "M16.192 2.27l-.376 1.298h5.52l.37-1.298h-5.514z"
|
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
39
|
+
d: "M12.897 4.54l-.377 1.298h8.167l.37-1.297h-8.16z"
|
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
41
|
+
d: "M2.85 6.81l-.377 1.298h17.565l.37-1.297H2.85z"
|
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
43
|
+
d: "M3.884 9.081l-.376 1.297H19.39l.37-1.297H3.883z"
|
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
45
|
+
d: "M4.088 24l.376-1.297H1.866L1.5 24h2.588z"
|
|
46
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
47
|
+
d: "M7.662 21.73l.376-1.298H2.515L2.15 21.73h5.513z"
|
|
48
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
49
|
+
d: "M10.957 19.46l.377-1.298h-8.17l-.367 1.297h8.16z"
|
|
50
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
51
|
+
d: "M21.005 17.19l.376-1.298H3.812l-.366 1.297h17.559z"
|
|
52
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
53
|
+
d: "M19.967 14.919l.376-1.297H4.461l-.366 1.297h15.872z"
|
|
54
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
55
|
+
d: "M18.787 12.649l.376-1.298H4.26l-.366 1.298h14.893z"
|
|
36
56
|
})]
|
|
37
57
|
}));
|
|
38
58
|
});
|
|
@@ -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 87 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: "M43.583 14.44c0 .731 0 3.44 2.975 3.44a4.13 4.13 0 002.382-.654v-1.72h-.046a3.586 3.586 0 01-1.598.457c-1.141 0-1.415-.822-1.415-2.412V8.612h3.226V6.725h-3.226V2.944h-.046L43.59 4.686v2.04h-1.856v1.886h1.856v5.829h-.007zM66.486 17.454a4.339 4.339 0 002.093-.457 4.42 4.42 0 001.636-1.384v.875c0 2.275-1.378 3.515-3.387 3.515a7.316 7.316 0 01-4.58-1.606h-.046v2.085a7.636 7.636 0 004.802 1.514c3.249 0 5.493-1.97 5.493-5.942V6.725H70.74l-.252 1.864a4.305 4.305 0 00-1.613-1.628 4.196 4.196 0 00-2.222-.533c-2.792 0-5.15 2.177-5.15 5.51 0 3.332 2.29 5.508 4.983 5.508v.008zm.64-9.047c2.061 0 3.21 1.72 3.21 3.508s-1.148 3.56-3.21 3.56c-2.215 0-3.273-1.727-3.273-3.56 0-1.834.982-3.508 3.273-3.508zM11.245 2H6.078l-.525 1.857h5.152L11.245 2zM59.897 10.173c0-2.823-2.313-3.767-4.58-3.736a7.354 7.354 0 00-4.277 1.56l-.068 2.07h.045a6.07 6.07 0 014.147-1.606c1.53 0 2.496.479 2.496 1.552s-.944 1.172-2.61 1.172c-2.519 0-4.801.798-4.801 3.355 0 2.2 1.917 3.401 3.98 3.401a4.203 4.203 0 002.122-.479 4.195 4.195 0 001.59-1.484l.206 1.674h1.765v-7.48h-.015zm-2.123 3.081c0 .396-.091.784-.243 1.15-.16.357-.389.684-.678.95-.289.267-.624.48-.996.609a2.85 2.85 0 01-1.157.167c-1.103 0-2.214-.502-2.214-1.605s1.042-1.606 2.397-1.606c1.354 0 2.381-.144 2.891-.799v1.15-.016zM79.764 6.375c-.761 0-1.515.145-2.214.442a5.582 5.582 0 00-3.074 3.142 5.436 5.436 0 00-.366 2.199c0 3.455 2.39 5.768 5.821 5.768a6.563 6.563 0 004.375-1.583v-1.956h-.046a5.781 5.781 0 01-1.948 1.195 5.864 5.864 0 01-2.266.335c-2.116 0-3.478-1.164-3.478-2.283 0-.662.517-.753 1.18-.753h6.992v-2.268a4.735 4.735 0 00-1.651-3.081 4.88 4.88 0 00-3.333-1.15l.008-.007zm-1.69 4.824a2.621 2.621 0 00-1.689.502c.137-1.947 1.187-3.317 3.173-3.317a2.82 2.82 0 012.085.776c.274.259.487.578.624.936.145.35.213.73.198 1.103h-4.39zM27.323 6.352a4.746 4.746 0 00-1.933.464 4.642 4.642 0 00-1.567 1.225l.616-2.138h-4.954l-.54 1.872h2.572l-1.567 5.463c-2.511 1.43-3.592 1.903-4.132 1.903-.54 0-.723-.305-.54-.921l2.35-8.317h-2.35l-1.796 6.247c-2.016 2.169-3.036 2.99-4.109 2.99S7.92 14.297 8.3 12.943l1.963-7.039H2.525L2 7.768h5.478-.076l-1.529 5.394c-.662 2.306.365 4.018 2.32 4.018 1.477 0 2.8-.944 4.84-3.424l-.053.205c-.563 2.047.205 3.219 2.092 3.219.92 0 2.017-.365 4.193-1.545l-1.819 6.354h2.374l2.146-7.488c.198.86.64 1.636 1.27 2.253l.214.19.053.046.122.09c.73.518 1.605.785 2.495.77 3.204 0 5.631-2.71 5.631-6.293 0-3.059-1.758-5.212-4.436-5.212l.008.007zm-1.4 9.527c-1.644 0-2.839-1.172-2.839-3.173 0-2.313 1.576-4.383 3.66-4.383 1.667 0 2.77 1.255 2.77 3.211 0 2.45-1.53 4.337-3.584 4.337l-.007.008zM40.958 14.555c0-2.184-1.986-2.846-3.63-3.371-1.179-.373-2.183-.7-2.183-1.499 0-.799.76-1.309 2.008-1.309 1.142 0 2.245.365 3.166 1.035h.045V7.448a6.256 6.256 0 00-3.317-.959c-2.42 0-4.018 1.309-4.018 3.356 0 2.047 1.85 2.693 3.455 3.21 1.232.404 2.328.754 2.328 1.705 0 .83-.844 1.355-2.153 1.355a6.508 6.508 0 01-3.729-1.355h-.076v1.963a7.615 7.615 0 004.048 1.187c2.268 0 4.056-1.172 4.056-3.355z"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
export default Icon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Color from './components/Color';
|
|
3
|
+
import Combine from './components/Combine';
|
|
4
|
+
import Mono from './components/Mono';
|
|
5
|
+
import Text from './components/Text';
|
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
|
7
|
+
Avatar: typeof Avatar;
|
|
8
|
+
Color: typeof Color;
|
|
9
|
+
Combine: typeof Combine;
|
|
10
|
+
Text: typeof Text;
|
|
11
|
+
colorGradient: string;
|
|
12
|
+
colorPrimary: string;
|
|
13
|
+
title: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Icons: CompoundedIcon;
|
|
16
|
+
export default Icons;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Color from "./components/Color";
|
|
3
|
+
import Combine from "./components/Combine";
|
|
4
|
+
import Mono from "./components/Mono";
|
|
5
|
+
import Text from "./components/Text";
|
|
6
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY, TITLE } from "./style";
|
|
7
|
+
var Icons = Mono;
|
|
8
|
+
Icons.Color = Color;
|
|
9
|
+
Icons.Text = Text;
|
|
10
|
+
Icons.Combine = Combine;
|
|
11
|
+
Icons.Avatar = Avatar;
|
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
13
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
|
14
|
+
Icons.title = TITLE;
|
|
15
|
+
export default Icons;
|
package/es/index.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export { default as ProviderCombine, type ProviderCombineProps } from './Provide
|
|
|
65
65
|
export { default as ProviderIcon, type ProviderIconProps } from './ProviderIcon';
|
|
66
66
|
export { ModelProvider, type ModelProviderKey, providerMappings } from './ProviderIcon/const';
|
|
67
67
|
export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
|
|
68
|
+
export { default as Qwen, type CompoundedIcon as QwenProps } from './Qwen';
|
|
69
|
+
export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Qwen';
|
|
68
70
|
export { default as Replicate, type CompoundedIcon as ReplicateProps } from './Replicate';
|
|
69
71
|
export { default as Rwkv, type CompoundedIcon as RwkvProps } from './Rwkv';
|
|
70
72
|
export { default as SiliconCloud, type CompoundedIcon as SiliconCloudProps } from './SiliconCloud';
|
|
@@ -74,8 +76,8 @@ export { default as Stepfun, type CompoundedIcon as StepfunProps } from './Stepf
|
|
|
74
76
|
export { default as Suno, type CompoundedIcon as SunoProps } from './Suno';
|
|
75
77
|
export { default as Tencent, type CompoundedIcon as TencentProps } from './Tencent';
|
|
76
78
|
export { default as Together, type CompoundedIcon as TogetherProps } from './Together';
|
|
77
|
-
export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Tongyi';
|
|
78
79
|
export type { IconType } from './types';
|
|
80
|
+
export { default as Upsate, type CompoundedIcon as UpsateProps } from './Upsate';
|
|
79
81
|
export { default as Vllm, type CompoundedIcon as VllmProps } from './Vllm';
|
|
80
82
|
export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
|
|
81
83
|
export { default as WorkersAI, type CompoundedIcon as WorkersAIProps } from './WorkersAI';
|
package/es/index.js
CHANGED
|
@@ -65,6 +65,8 @@ export { default as ProviderCombine } from "./ProviderCombine";
|
|
|
65
65
|
export { default as ProviderIcon } from "./ProviderIcon";
|
|
66
66
|
export { ModelProvider, providerMappings } from "./ProviderIcon/const";
|
|
67
67
|
export { default as Qingyan } from "./Qingyan";
|
|
68
|
+
export { default as Qwen } from "./Qwen";
|
|
69
|
+
export { default as Tongyi } from "./Qwen";
|
|
68
70
|
export { default as Replicate } from "./Replicate";
|
|
69
71
|
export { default as Rwkv } from "./Rwkv";
|
|
70
72
|
export { default as SiliconCloud } from "./SiliconCloud";
|
|
@@ -74,7 +76,7 @@ export { default as Stepfun } from "./Stepfun";
|
|
|
74
76
|
export { default as Suno } from "./Suno";
|
|
75
77
|
export { default as Tencent } from "./Tencent";
|
|
76
78
|
export { default as Together } from "./Together";
|
|
77
|
-
export { default as
|
|
79
|
+
export { default as Upsate } from "./Upsate";
|
|
78
80
|
export { default as Vllm } from "./Vllm";
|
|
79
81
|
export { default as Wenxin } from "./Wenxin";
|
|
80
82
|
export { default as WorkersAI } from "./WorkersAI";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|