@lobehub/icons 2.34.0 → 2.36.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 +18 -18
- package/es/Kwaipilot/components/Avatar.d.ts +5 -0
- package/es/Kwaipilot/components/Avatar.js +25 -0
- package/es/Kwaipilot/components/Color.d.ts +3 -0
- package/es/Kwaipilot/components/Color.js +82 -0
- package/es/Kwaipilot/components/Combine.d.ts +7 -0
- package/es/Kwaipilot/components/Combine.js +32 -0
- package/es/Kwaipilot/components/Mono.d.ts +3 -0
- package/es/Kwaipilot/components/Mono.js +41 -0
- package/es/Kwaipilot/components/Text.d.ts +3 -0
- package/es/Kwaipilot/components/Text.js +47 -0
- package/es/Kwaipilot/index.d.ts +15 -0
- package/es/Kwaipilot/index.js +14 -0
- package/es/Kwaipilot/style.d.ts +7 -0
- package/es/Kwaipilot/style.js +9 -0
- package/es/LongCat/components/Avatar.d.ts +5 -0
- package/es/LongCat/components/Avatar.js +25 -0
- package/es/LongCat/components/Color.d.ts +3 -0
- package/es/LongCat/components/Color.js +44 -0
- package/es/LongCat/components/Combine.d.ts +7 -0
- package/es/LongCat/components/Combine.js +32 -0
- package/es/LongCat/components/Mono.d.ts +3 -0
- package/es/LongCat/components/Mono.js +43 -0
- package/es/LongCat/components/Text.d.ts +3 -0
- package/es/LongCat/components/Text.js +40 -0
- package/es/LongCat/index.d.ts +15 -0
- package/es/LongCat/index.js +14 -0
- package/es/LongCat/style.d.ts +7 -0
- package/es/LongCat/style.js +9 -0
- package/es/components/Editor/Color.d.ts +1 -0
- package/es/components/Editor/Color.js +4 -2
- package/es/components/Editor/index.js +1 -0
- package/es/features/modelConfig.js +8 -0
- package/es/features/providerConfig.js +9 -2
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/icons.d.ts +2 -0
- package/es/icons.js +2 -0
- package/es/toc.js +36 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -118,24 +118,24 @@ Contributions, corrections & requests can be made on GitHub.
|
|
118
118
|
| <a href="https://lobehub.com/icons/kolors"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/kolors-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/kolors-color.png" /></picture><br/>Kolors (快手可图) | <a href="https://lobehub.com/icons/cloudflare"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/cloudflare-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/cloudflare-color.png" /></picture><br/>Cloudflare | <a href="https://lobehub.com/icons/gradio"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/gradio-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/gradio-color.png" /></picture><br/>Gradio |
|
119
119
|
| <a href="https://lobehub.com/icons/liquid"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/liquid.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/liquid.png" /></picture><br/>Liquid | <a href="https://lobehub.com/icons/cohere"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/cohere-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/cohere-color.png" /></picture><br/>Cohere | <a href="https://lobehub.com/icons/greptile"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/greptile-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/greptile-color.png" /></picture><br/>Greptile |
|
120
120
|
| <a href="https://lobehub.com/icons/llava"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/llava-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/llava-color.png" /></picture><br/>LLaVA | <a href="https://lobehub.com/icons/cometapi"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/cometapi-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/cometapi-color.png" /></picture><br/>Comet API | <a href="https://lobehub.com/icons/hailuo"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/hailuo-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/hailuo-color.png" /></picture><br/>Hailuo (海螺) |
|
121
|
-
| <a href="https://lobehub.com/icons/
|
122
|
-
| <a href="https://lobehub.com/icons/
|
123
|
-
| <a href="https://lobehub.com/icons/
|
124
|
-
| <a href="https://lobehub.com/icons/
|
125
|
-
| <a href="https://lobehub.com/icons/
|
126
|
-
| <a href="https://lobehub.com/icons/
|
127
|
-
| <a href="https://lobehub.com/icons/
|
128
|
-
| <a href="https://lobehub.com/icons/
|
129
|
-
| <a href="https://lobehub.com/icons/
|
130
|
-
| <a href="https://lobehub.com/icons/
|
131
|
-
| <a href="https://lobehub.com/icons/
|
132
|
-
| <a href="https://lobehub.com/icons/
|
133
|
-
| <a href="https://lobehub.com/icons/
|
134
|
-
| <a href="https://lobehub.com/icons/
|
135
|
-
| <a href="https://lobehub.com/icons/
|
136
|
-
| <a href="https://lobehub.com/icons/
|
137
|
-
| <a href="https://lobehub.com/icons/
|
138
|
-
|
|
121
|
+
| <a href="https://lobehub.com/icons/longcat"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/longcat-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/longcat-color.png" /></picture><br/>LongCat | <a href="https://lobehub.com/icons/crusoe"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/crusoe-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/crusoe-color.png" /></picture><br/>Crusoe | <a href="https://lobehub.com/icons/haiper"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/haiper.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/haiper.png" /></picture><br/>Haiper |
|
122
|
+
| <a href="https://lobehub.com/icons/magic"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/magic.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/magic.png" /></picture><br/>Magic | <a href="https://lobehub.com/icons/deepinfra"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/deepinfra-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/deepinfra-color.png" /></picture><br/>DeepInfra | <a href="https://lobehub.com/icons/hedra"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/hedra.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/hedra.png" /></picture><br/>Hedra |
|
123
|
+
| <a href="https://lobehub.com/icons/minimax"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/minimax-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/minimax-color.png" /></picture><br/>Minimax | <a href="https://lobehub.com/icons/deepmind"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/deepmind-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/deepmind-color.png" /></picture><br/>DeepMind (Google) | <a href="https://lobehub.com/icons/ideogram"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/ideogram.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/ideogram.png" /></picture><br/>Ideogram |
|
124
|
+
| <a href="https://lobehub.com/icons/mistral"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/mistral-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/mistral-color.png" /></picture><br/>Mistral | <a href="https://lobehub.com/icons/exa"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/exa-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/exa-color.png" /></picture><br/>Exa | <a href="https://lobehub.com/icons/jimeng"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/jimeng-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/jimeng-color.png" /></picture><br/>Jimeng (即梦) |
|
125
|
+
| <a href="https://lobehub.com/icons/nova"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/nova-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/nova-color.png" /></picture><br/>Nova (AWS) | <a href="https://lobehub.com/icons/fal"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/fal-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/fal-color.png" /></picture><br/>Fal | <a href="https://lobehub.com/icons/kera"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/kera.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/kera.png" /></picture><br/>Kera |
|
126
|
+
| <a href="https://lobehub.com/icons/openchat"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/openchat-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/openchat-color.png" /></picture><br/>OpenChat | <a href="https://lobehub.com/icons/featherless"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/featherless-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/featherless-color.png" /></picture><br/>Featherless.ai | <a href="https://lobehub.com/icons/kimi"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/kimi-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/kimi-color.png" /></picture><br/>Kimi |
|
127
|
+
| <a href="https://lobehub.com/icons/palm"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/palm-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/palm-color.png" /></picture><br/>PaLM (Google) | <a href="https://lobehub.com/icons/fireworks"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/fireworks-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/fireworks-color.png" /></picture><br/>Fireworks | <a href="https://lobehub.com/icons/kling"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/kling-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/kling-color.png" /></picture><br/>Kling (可灵) |
|
128
|
+
| <a href="https://lobehub.com/icons/phind"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/phind.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/phind.png" /></picture><br/>Phind | <a href="https://lobehub.com/icons/friendli"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/friendli.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/friendli.png" /></picture><br/>Friendli | <a href="https://lobehub.com/icons/langchain"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/langchain-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/langchain-color.png" /></picture><br/>LangChain |
|
129
|
+
| <a href="https://lobehub.com/icons/qwen"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/qwen-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/qwen-color.png" /></picture><br/>Qwen (千问) | <a href="https://lobehub.com/icons/giteeai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/giteeai.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/giteeai.png" /></picture><br/>GiteeAI | <a href="https://lobehub.com/icons/langfuse"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/langfuse-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/langfuse-color.png" /></picture><br/>Langfuse |
|
130
|
+
| <a href="https://lobehub.com/icons/rwkv"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/rwkv-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/rwkv-color.png" /></picture><br/>RWKV | <a href="https://lobehub.com/icons/github"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/github.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/github.png" /></picture><br/>Github | <a href="https://lobehub.com/icons/langgraph"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/langgraph-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/langgraph-color.png" /></picture><br/>LangGraph (LangChain) |
|
131
|
+
| <a href="https://lobehub.com/icons/sensenova"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/sensenova-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/sensenova-color.png" /></picture><br/>SenseNova (商汤) | <a href="https://lobehub.com/icons/google"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/google-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/google-color.png" /></picture><br/>Google | <a href="https://lobehub.com/icons/langsmith"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/langsmith-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/langsmith-color.png" /></picture><br/>LangSmith (LangChain) |
|
132
|
+
| <a href="https://lobehub.com/icons/skywork"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/skywork-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/skywork-color.png" /></picture><br/>Skywork (天工) | <a href="https://lobehub.com/icons/groq"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/groq.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/groq.png" /></picture><br/>Groq | <a href="https://lobehub.com/icons/lightricks"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/lightricks.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/lightricks.png" /></picture><br/>Lightricks |
|
133
|
+
| <a href="https://lobehub.com/icons/spark"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/spark-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/spark-color.png" /></picture><br/>Spark (讯飞星火) | <a href="https://lobehub.com/icons/higress"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/higress-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/higress-color.png" /></picture><br/>Higress | <a href="https://lobehub.com/icons/livekit"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/livekit-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/livekit-color.png" /></picture><br/>LiveKit |
|
134
|
+
| <a href="https://lobehub.com/icons/stepfun"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/stepfun-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/stepfun-color.png" /></picture><br/>Stepfun (阶跃星辰) | <a href="https://lobehub.com/icons/huggingface"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/huggingface-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/huggingface-color.png" /></picture><br/>HuggingFace | <a href="https://lobehub.com/icons/llamaindex"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/llamaindex-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/llamaindex-color.png" /></picture><br/>LlamaIndex |
|
135
|
+
| <a href="https://lobehub.com/icons/voyage"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/voyage-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/voyage-color.png" /></picture><br/>Voyage | <a href="https://lobehub.com/icons/hyperbolic"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/hyperbolic-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/hyperbolic-color.png" /></picture><br/>Hyperbolic | <a href="https://lobehub.com/icons/lovable"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/lovable-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/lovable-color.png" /></picture><br/>Lovable |
|
136
|
+
| <a href="https://lobehub.com/icons/wenxin"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/wenxin-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/wenxin-color.png" /></picture><br/>Wenxin (文心) | <a href="https://lobehub.com/icons/ibm"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/ibm.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/ibm.png" /></picture><br/>IBM (Granite) | <a href="https://lobehub.com/icons/luma"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/luma-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/luma-color.png" /></picture><br/>Luma |
|
137
|
+
| <a href="https://lobehub.com/icons/xuanyuan"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/xuanyuan-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/xuanyuan-color.png" /></picture><br/>Xuanyuan (度小满轩辕) | <a href="https://lobehub.com/icons/iflytekcloud"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/iflytekcloud-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/iflytekcloud-color.png" /></picture><br/>IFlyTekCloud (讯飞开放平台) | <a href="https://lobehub.com/icons/make"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/make-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/make-color.png" /></picture><br/>Make |
|
138
|
+
| <a href="https://lobehub.com/icons/yi"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/yi-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/yi-color.png" /></picture><br/>Yi (零一万物) | <a href="https://lobehub.com/icons/inference"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/inference.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/inference.png" /></picture><br/>Inference | <a href="https://lobehub.com/icons/manus"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/manus.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/manus.png" /></picture><br/>Manus |
|
139
139
|
| | <a href="https://lobehub.com/icons/infermatic"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/infermatic-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/infermatic-color.png" /></picture><br/>Infermatic | <a href="https://lobehub.com/icons/mastra"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/mastra.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/mastra.png" /></picture><br/>Mastra |
|
140
140
|
| | <a href="https://lobehub.com/icons/infinigence"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/infinigence-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/infinigence-color.png" /></picture><br/>Infinigence (无问芯穹) | <a href="https://lobehub.com/icons/mcp"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/mcp.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/mcp.png" /></picture><br/>MCP (Model Context Protocol) |
|
141
141
|
| | <a href="https://lobehub.com/icons/internlm"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/internlm-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/internlm-color.png" /></picture><br/>InternLM | <a href="https://lobehub.com/icons/mcpso"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/mcpso-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/mcpso-color.png" /></picture><br/>MCP.so |
|
@@ -0,0 +1,25 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
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); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Color from "./Color";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
18
|
+
Icon: Color,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
background: AVATAR_BACKGROUND,
|
21
|
+
color: AVATAR_COLOR,
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,82 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
11
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
12
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
14
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
15
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
16
|
+
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; }
|
17
|
+
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; }
|
18
|
+
import { memo } from 'react';
|
19
|
+
import { useFillIds } from "../../hooks/useFillId";
|
20
|
+
import { TITLE } from "../style";
|
21
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
22
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
23
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
24
|
+
var _ref$size = _ref.size,
|
25
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
26
|
+
style = _ref.style,
|
27
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
28
|
+
var _useFillIds = useFillIds(TITLE, 2),
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 2),
|
30
|
+
a = _useFillIds2[0],
|
31
|
+
b = _useFillIds2[1];
|
32
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
33
|
+
height: size,
|
34
|
+
style: _objectSpread({
|
35
|
+
flex: 'none',
|
36
|
+
lineHeight: 1
|
37
|
+
}, style),
|
38
|
+
viewBox: "0 0 24 24",
|
39
|
+
width: size,
|
40
|
+
xmlns: "http://www.w3.org/2000/svg"
|
41
|
+
}, rest), {}, {
|
42
|
+
children: [/*#__PURE__*/_jsx("title", {
|
43
|
+
children: TITLE
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
45
|
+
d: "M11.765.03C5.327.03.108 5.25.108 11.686c0 3.514 1.556 6.665 4.015 8.804L9.89 8.665h6.451L9.31 23.083c.807.173 1.63.26 2.455.26 6.438 0 11.657-5.22 11.657-11.658S18.202.028 11.765.028V.03z",
|
46
|
+
fill: a.fill
|
47
|
+
}), /*#__PURE__*/_jsx("path", {
|
48
|
+
d: "M4.123 20.489l6.362-13.046c.017-.036.035-.073.055-.11l.086-.18h.005a6.697 6.697 0 015.913-3.551c2.784 0 5.171 1.7 6.184 4.116-1.622-4.485-5.92-7.69-10.963-7.69C5.327.028.108 5.247.108 11.685c0 3.514 1.556 6.666 4.015 8.804z",
|
49
|
+
fill: b.fill
|
50
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
51
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
52
|
+
gradientUnits: "userSpaceOnUse",
|
53
|
+
id: a.id,
|
54
|
+
x1: "13.469",
|
55
|
+
x2: "12.557",
|
56
|
+
y1: "4.823",
|
57
|
+
y2: "21.302",
|
58
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
59
|
+
offset: ".313",
|
60
|
+
stopColor: "#9EC0E0"
|
61
|
+
}), /*#__PURE__*/_jsx("stop", {
|
62
|
+
offset: "1",
|
63
|
+
stopColor: "#fff"
|
64
|
+
})]
|
65
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
66
|
+
gradientUnits: "userSpaceOnUse",
|
67
|
+
id: b.id,
|
68
|
+
x1: "13.739",
|
69
|
+
x2: "5.647",
|
70
|
+
y1: "4.229",
|
71
|
+
y2: "17.386",
|
72
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
73
|
+
stopColor: "#fff"
|
74
|
+
}), /*#__PURE__*/_jsx("stop", {
|
75
|
+
offset: "1",
|
76
|
+
stopColor: "#BCD5EC"
|
77
|
+
})]
|
78
|
+
})]
|
79
|
+
})]
|
80
|
+
}));
|
81
|
+
});
|
82
|
+
export default Icon;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/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,32 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["type"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
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; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconCombine from "../../features/IconCombine";
|
14
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import Mono from "./Mono";
|
17
|
+
import Text from "./Text";
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
19
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
20
|
+
var _ref$type = _ref.type,
|
21
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
22
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
23
|
+
var Icon = type === 'color' ? Color : Mono;
|
24
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
25
|
+
Icon: Icon,
|
26
|
+
Text: Text,
|
27
|
+
"aria-label": TITLE,
|
28
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
29
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
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; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 24 24",
|
30
|
+
width: size,
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M11.765.03C5.327.03.108 5.25.108 11.686c0 3.514 1.556 6.665 4.015 8.804L9.89 8.665h6.451L9.31 23.083c.807.173 1.63.26 2.455.26 6.438 0 11.657-5.22 11.657-11.658S18.202.028 11.765.028V.03z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
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; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 118 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
clipRule: "evenodd",
|
36
|
+
d: "M62.811 5.778a.49.49 0 01.488.49v.937c2.205-1.652 5.138-1.882 7.797-.596h-.008a6.281 6.281 0 012.916 2.946c1.176 2.474 1.06 5.139-.306 7.305a7.176 7.176 0 01-6.1 3.372 7.158 7.158 0 01-4.299-1.43v4.708a.49.49 0 01-.488.49H60.88a.488.488 0 01-.488-.49V6.268a.49.49 0 01.488-.49h1.931zm4.681 2.914c-1.217 0-2.261.564-2.94 1.245-1.078 1.079-1.874 3.104-.558 5.255.354.578.84 1.064 1.418 1.42 2.146 1.311 4.16.523 5.237-.556l.007-.009c1.077-1.071 1.864-3.097.555-5.247a4.462 4.462 0 00-1.416-1.419c-.804-.49-1.583-.689-2.303-.689z"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
d: "M110.777 2.05a.25.25 0 01.253.255v4.138a.251.251 0 00.156.236.253.253 0 00.096.017h4.464a.252.252 0 01.254.254v2.283l-.018.095a.245.245 0 01-.236.157h-4.464a.25.25 0 00-.252.254v4.83c.001 1.64 1.161 2.953 2.785 2.953h1.931a.252.252 0 01.254.254v2.281a.264.264 0 01-.073.18.248.248 0 01-.181.074h-2.758a5.129 5.129 0 01-4.733-3.17 5.137 5.137 0 01-.387-1.961V9.739a.252.252 0 00-.255-.254h-2.116a.252.252 0 01-.254-.255V6.95a.252.252 0 01.254-.254h2.124a.251.251 0 00.254-.255V2.305a.252.252 0 01.073-.181.246.246 0 01.181-.074h2.648zM5.034 2.017a.28.28 0 01.261.174c.014.034.02.072.02.11v5.48a.284.284 0 00.17.26.281.281 0 00.304-.052l4.942-5.897a.268.268 0 01.193-.075h3.24l-.01.008c.257 0 .382.307.2.48l-6.338 8.442a.28.28 0 000 .407l8.398 8.44c.182.173.057.48-.2.48l-3.974-.058a.263.263 0 01-.19-.074l-6.26-5.83a.281.281 0 00-.474.206V20a.28.28 0 01-.282.283H2.281A.28.28 0 012 20V2.3a.285.285 0 01.281-.283h2.753z"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
clipRule: "evenodd",
|
41
|
+
d: "M41.558 6.086c2.27-.656 4.615-.234 6.446 1.153 2.709 2.052 2.844 4.766 2.873 5.326a.346.346 0 00.01.103v7.554l-.473.058h-2.387l-.056-.472v-1.004a7.23 7.23 0 01-4.3 1.428 7.16 7.16 0 01-5.76-2.873c-1.383-1.826-1.805-4.185-1.16-6.459a7.033 7.033 0 014.807-4.814zm1.988 2.623c-1.218 0-2.262.565-2.941 1.245-1.077 1.08-1.865 3.114-.547 5.264a4.273 4.273 0 001.4 1.402c2.145 1.32 4.167.532 5.245-.548l.008-.016c1.077-1.08 1.865-3.106.547-5.255a4.276 4.276 0 00-1.4-1.404c-.804-.49-1.592-.688-2.312-.688zM97.007 5.818c3.977 0 7.217 3.245 7.217 7.23 0 3.985-3.24 7.23-7.217 7.23-3.976 0-7.215-3.245-7.215-7.23 0-3.985 3.239-7.23 7.215-7.23zm0 2.922a4.31 4.31 0 00-4.299 4.307 4.31 4.31 0 004.3 4.31 4.31 4.31 0 004.3-4.308 4.315 4.315 0 00-4.3-4.309z"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M18.872 6.1c.307 0 .57.2.655.49l2.37 8.062c.034.125.214.125.247 0l2.048-6.858a.812.812 0 01.78-.582h1.426a.809.809 0 01.778.582l2.047 6.868c.034.124.216.123.25 0l2.395-8.13a.594.594 0 01.571-.432h2.089c.19 0 .364.093.48.242H35c.115.15.148.348.099.532L31.246 20a.383.383 0 01-.365.274h-2.585A.384.384 0 0127.92 20l-2.237-7.556L23.429 20a.381.381 0 01-.135.198.383.383 0 01-.229.076h-2.57a.38.38 0 01-.364-.274L16.27 6.871a.608.608 0 01.092-.532.608.608 0 01.481-.239h2.03zM56.917 8.09c.266 0 .481.195.481.427v11.329c0 .24-.214.425-.48.425h-2.335c-.266 0-.481-.193-.481-.425V8.516c0-.24.215-.426.48-.426h2.335zM80.005 8.09c.266 0 .481.193.481.426v11.33c0 .24-.215.425-.48.425h-2.337c-.265 0-.48-.193-.48-.425V8.517c0-.24.215-.425.48-.426l2.336-.001zM86.43 2a.58.58 0 01.536.359.58.58 0 01.042.223V19.69a.579.579 0 01-.355.538.582.582 0 01-.224.043h-2.146a.577.577 0 01-.58-.581V2.582a.584.584 0 01.58-.582h2.147zM55.752 2a1.98 1.98 0 011.971 1.975 1.978 1.978 0 01-1.971 1.975 1.977 1.977 0 01-1.972-1.975C53.78 2.888 54.666 2 55.75 2zM78.84 2c1.088 0 1.971.884 1.971 1.975a1.974 1.974 0 01-3.366 1.397A1.975 1.975 0 0178.839 2z"
|
44
|
+
})]
|
45
|
+
}));
|
46
|
+
});
|
47
|
+
export default Icon;
|
@@ -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
|
+
export type CompoundedIcon = typeof Mono & {
|
7
|
+
Avatar: typeof Avatar;
|
8
|
+
Color: typeof Color;
|
9
|
+
Combine: typeof Combine;
|
10
|
+
Text: typeof Text;
|
11
|
+
colorPrimary: string;
|
12
|
+
title: string;
|
13
|
+
};
|
14
|
+
declare const Icons: CompoundedIcon;
|
15
|
+
export default Icons;
|
@@ -0,0 +1,14 @@
|
|
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_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.title = TITLE;
|
14
|
+
export default Icons;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const TITLE = "Kwaipilot";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export declare const COLOR_PRIMARY = "#000";
|
5
|
+
export declare const AVATAR_BACKGROUND = "#000";
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.8;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var TITLE = 'Kwaipilot';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export var COLOR_PRIMARY = '#000';
|
5
|
+
|
6
|
+
// Avatar constants
|
7
|
+
export var AVATAR_BACKGROUND = '#000';
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.8;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
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); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Color from "./Color";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
18
|
+
Icon: Color,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
background: AVATAR_BACKGROUND,
|
21
|
+
color: AVATAR_COLOR,
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
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; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
height: size,
|
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
|
+
clipRule: "evenodd",
|
36
|
+
d: "M.507 19.883a.507.507 0 01-.489-.642L4.29 3.745a1.013 1.013 0 011.533-.578l5.622 3.687a1.013 1.013 0 001.11 0L18.2 3.165a1.013 1.013 0 011.532.58l4.25 15.497a.506.506 0 01-.49.64H18.07a6.297 6.297 0 001.53-4.115v-.177a6.09 6.09 0 00-1.513-4.017l-.697-3.495a.438.438 0 00-.694-.266L14.07 9.781a.748.748 0 01-.654.121 5.156 5.156 0 00-2.833 0 .746.746 0 01-.653-.121L7.302 7.81a.435.435 0 00-.688.269l-.675 3.652a5.36 5.36 0 00-1.539 3.76v.333c0 1.474.527 2.9 1.488 4.02l.032.038H.507z",
|
37
|
+
fill: "#29E154",
|
38
|
+
fillRule: "evenodd"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M9.213 16.843h1.52v-3.546h-1.29l-.23 3.546zm5.573 0h-1.52v-3.546h1.29l.23 3.546z"
|
41
|
+
})]
|
42
|
+
}));
|
43
|
+
});
|
44
|
+
export default Icon;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/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,32 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["type"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
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; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconCombine from "../../features/IconCombine";
|
14
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import Mono from "./Mono";
|
17
|
+
import Text from "./Text";
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
19
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
20
|
+
var _ref$type = _ref.type,
|
21
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
22
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
23
|
+
var Icon = type === 'color' ? Color : Mono;
|
24
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
25
|
+
Icon: Icon,
|
26
|
+
Text: Text,
|
27
|
+
"aria-label": TITLE,
|
28
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
29
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
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; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 24 24",
|
30
|
+
width: size,
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M.507 19.883a.507.507 0 01-.489-.642L4.29 3.745a1.013 1.013 0 011.533-.578l5.622 3.687a1.013 1.013 0 001.11 0L18.2 3.165a1.013 1.013 0 011.532.58l4.25 15.497a.506.506 0 01-.49.64H18.07a6.297 6.297 0 001.53-4.115v-.177a6.09 6.09 0 00-1.513-4.017l-.697-3.495a.438.438 0 00-.694-.266L14.07 9.781a.748.748 0 01-.654.121 5.156 5.156 0 00-2.833 0 .746.746 0 01-.653-.121L7.302 7.81a.435.435 0 00-.688.269l-.675 3.652a5.36 5.36 0 00-1.539 3.76v.333c0 1.474.527 2.9 1.488 4.02l.032.038H.507z"
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
d: "M9.213 16.843h1.52v-3.546h-1.29l-.23 3.546zm5.573 0h-1.52v-3.546h1.29l.23 3.546z"
|
40
|
+
})]
|
41
|
+
}));
|
42
|
+
});
|
43
|
+
export default Icon;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
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); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
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; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
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); }
|
10
|
+
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; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 108 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
clipRule: "evenodd",
|
36
|
+
d: "M2 19.138h12.31V15.96H5.887V2.289H2v16.849zm20.277.192c4.103 0 7.079-2.768 7.079-6.667 0-3.9-2.976-6.667-7.08-6.667-4.102 0-7.102 2.768-7.102 6.667 0 3.9 3 6.667 7.103 6.667zm0-3.08c-1.872 0-3.312-1.348-3.312-3.587s1.44-3.586 3.312-3.586c1.872 0 3.287 1.348 3.287 3.586 0 2.239-1.415 3.587-3.287 3.587zM39.698 5.996c-1.752 0-3.263.601-4.271 1.709V6.188H31.85v12.95h3.744v-6.403c0-2.383 1.296-3.49 3.095-3.49 1.656 0 2.616.963 2.616 3.057v6.836h3.743v-7.414c0-3.947-2.303-5.728-5.35-5.728zm18.645.192V7.85c-.984-1.252-2.471-1.853-4.271-1.853-3.576 0-6.455 2.479-6.455 6.258s2.88 6.258 6.455 6.258c1.68 0 3.095-.53 4.08-1.613v.554c0 2.335-1.153 3.538-3.792 3.538-1.656 0-3.456-.577-4.56-1.468l-1.487 2.696C49.825 23.399 52.2 24 54.648 24c4.655 0 7.247-2.214 7.247-7.028V6.188h-3.552zm-3.527 9.243c-1.968 0-3.408-1.276-3.408-3.177 0-1.902 1.44-3.177 3.408-3.177s3.383 1.275 3.383 3.177c0 1.901-1.415 3.177-3.383 3.177zm18.861 3.996c2.927 0 5.351-1.06 6.935-3.01l-2.496-2.31c-1.127 1.324-2.543 1.998-4.223 1.998-3.144 0-5.375-2.214-5.375-5.392 0-3.177 2.231-5.391 5.375-5.391 1.68 0 3.096.674 4.223 1.973l2.496-2.31C79.028 3.059 76.605 2 73.7 2c-5.231 0-9.119 3.635-9.119 8.713 0 5.08 3.888 8.714 9.095 8.714zM88.075 5.996c-2.064 0-4.152.553-5.567 1.564l1.343 2.624c.936-.746 2.352-1.204 3.72-1.204 2.016 0 2.975.939 2.975 2.552h-2.975c-3.936 0-5.543 1.588-5.543 3.875 0 2.238 1.8 3.923 4.823 3.923 1.896 0 3.24-.625 3.935-1.805v1.613h3.504v-7.39c0-3.923-2.28-5.752-6.215-5.752zm-.288 10.807c-1.32 0-2.112-.626-2.112-1.565 0-.866.552-1.516 2.304-1.516h2.567v1.324c-.432 1.18-1.511 1.757-2.76 1.757zm17.205-.939c-.408.313-.96.482-1.512.482-1.007 0-1.607-.602-1.607-1.71v-5.27h3.215V6.476h-3.215V3.324h-3.744v3.153h-1.992v2.888h1.992v5.32c0 3.08 1.776 4.645 4.823 4.645 1.152 0 2.28-.264 3.048-.818l-1.008-2.648z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -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
|
+
export type CompoundedIcon = typeof Mono & {
|
7
|
+
Avatar: typeof Avatar;
|
8
|
+
Color: typeof Color;
|
9
|
+
Combine: typeof Combine;
|
10
|
+
Text: typeof Text;
|
11
|
+
colorPrimary: string;
|
12
|
+
title: string;
|
13
|
+
};
|
14
|
+
declare const Icons: CompoundedIcon;
|
15
|
+
export default Icons;
|
@@ -0,0 +1,14 @@
|
|
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_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.title = TITLE;
|
14
|
+
export default Icons;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const TITLE = "LongCat";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.3;
|
4
|
+
export declare const COLOR_PRIMARY = "#fff";
|
5
|
+
export declare const AVATAR_BACKGROUND = "#fff";
|
6
|
+
export declare const AVATAR_COLOR = "#000";
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var TITLE = 'LongCat';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.3;
|
4
|
+
export var COLOR_PRIMARY = '#fff';
|
5
|
+
|
6
|
+
// Avatar constants
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
8
|
+
export var AVATAR_COLOR = '#000';
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -17,9 +17,11 @@ var useStyles = createStyles(function (_ref) {
|
|
17
17
|
var Preview = /*#__PURE__*/memo(function (_ref2) {
|
18
18
|
var svg = _ref2.svg,
|
19
19
|
title = _ref2.title,
|
20
|
-
viewbox = _ref2.viewbox
|
20
|
+
viewbox = _ref2.viewbox,
|
21
|
+
textMode = _ref2.textMode;
|
21
22
|
var _useStyles = useStyles(),
|
22
23
|
styles = _useStyles.styles;
|
24
|
+
var sizeAttributes = textMode ? "height={size}\n style={{ flex: 'none', lineHeight: 1, ...style }}" : "height={size}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n width={size}";
|
23
25
|
return /*#__PURE__*/_jsxs(Flexbox, {
|
24
26
|
flex: 'none',
|
25
27
|
gap: 16,
|
@@ -41,7 +43,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
|
|
41
43
|
}), /*#__PURE__*/_jsx(Highlighter, {
|
42
44
|
className: styles.code,
|
43
45
|
language: 'tsx',
|
44
|
-
children: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n
|
46
|
+
children: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n ".concat(sizeAttributes, "\n viewBox=\"").concat(viewbox, "\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
|
45
47
|
})]
|
46
48
|
});
|
47
49
|
});
|
@@ -40,9 +40,11 @@ import Inflection from "../Inflection";
|
|
40
40
|
import InternLM from "../InternLM";
|
41
41
|
import Jina from "../Jina";
|
42
42
|
import Kolors from "../Kolors";
|
43
|
+
import { Kwaipilot } from "../icons";
|
43
44
|
import LG from "../LG";
|
44
45
|
import LLaVA from "../LLaVA";
|
45
46
|
import Liquid from "../Liquid";
|
47
|
+
import LongCat from "../LongCat";
|
46
48
|
import Menlo from "../Menlo";
|
47
49
|
import Meta from "../Meta";
|
48
50
|
import Microsoft from "../Microsoft";
|
@@ -346,4 +348,10 @@ export var modelMappings = [{
|
|
346
348
|
}, {
|
347
349
|
Icon: Menlo,
|
348
350
|
keywords: ['menlo', 'lucy', 'jan-nano']
|
351
|
+
}, {
|
352
|
+
Icon: LongCat,
|
353
|
+
keywords: ['longcat']
|
354
|
+
}, {
|
355
|
+
Icon: Kwaipilot,
|
356
|
+
keywords: ['kat-']
|
349
357
|
}];
|
@@ -54,6 +54,7 @@ import InternLM from "../InternLM";
|
|
54
54
|
import Jina from "../Jina";
|
55
55
|
import LmStudio from "../LmStudio";
|
56
56
|
import LobeHub from "../LobeHub";
|
57
|
+
import LongCat from "../LongCat";
|
57
58
|
import Minimax from "../Minimax";
|
58
59
|
import Mistral from "../Mistral";
|
59
60
|
import ModelScope from "../ModelScope";
|
@@ -96,6 +97,7 @@ import { ModelProvider } from "./providerEnum";
|
|
96
97
|
import { jsx as _jsx } from "react/jsx-runtime";
|
97
98
|
export var providerMappings = [{
|
98
99
|
Icon: LobeHub,
|
100
|
+
combineMultiple: 1.1,
|
99
101
|
keywords: [ModelProvider.LobeHub]
|
100
102
|
}, {
|
101
103
|
Icon: Zhipu,
|
@@ -497,8 +499,9 @@ export var providerMappings = [{
|
|
497
499
|
left: /*#__PURE__*/_jsx(Ollama.Combine, {
|
498
500
|
extra: 'Cloud',
|
499
501
|
extraStyle: {
|
500
|
-
fontSize: '
|
501
|
-
|
502
|
+
fontSize: '1.3em',
|
503
|
+
fontWeight: 500,
|
504
|
+
marginLeft: '0.2em'
|
502
505
|
},
|
503
506
|
size: size * 1.16
|
504
507
|
}),
|
@@ -510,4 +513,8 @@ export var providerMappings = [{
|
|
510
513
|
}),
|
511
514
|
Icon: Ollama,
|
512
515
|
keywords: [ModelProvider.OllamaCloud]
|
516
|
+
}, {
|
517
|
+
Icon: LongCat,
|
518
|
+
combineMultiple: 1,
|
519
|
+
keywords: [ModelProvider.LongCat]
|
513
520
|
}];
|
@@ -31,6 +31,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
31
31
|
ModelProvider["Jina"] = "jina";
|
32
32
|
ModelProvider["LmStudio"] = "lmstudio";
|
33
33
|
ModelProvider["LobeHub"] = "lobehub";
|
34
|
+
ModelProvider["LongCat"] = "longcat";
|
34
35
|
ModelProvider["Minimax"] = "minimax";
|
35
36
|
ModelProvider["Mistral"] = "mistral";
|
36
37
|
ModelProvider["ModelScope"] = "modelscope";
|
package/es/icons.d.ts
CHANGED
@@ -118,6 +118,7 @@ export { default as Kimi, type CompoundedIcon as KimiProps } from './Kimi';
|
|
118
118
|
export { default as Kling, type CompoundedIcon as KlingProps } from './Kling';
|
119
119
|
export { default as Kluster, type CompoundedIcon as KlusterProps } from './Kluster';
|
120
120
|
export { default as Kolors, type CompoundedIcon as KolorsProps } from './Kolors';
|
121
|
+
export { default as Kwaipilot, type CompoundedIcon as KwaipilotProps } from './Kwaipilot';
|
121
122
|
export { default as Lambda, type CompoundedIcon as LambdaProps } from './Lambda';
|
122
123
|
export { default as LangChain, type CompoundedIcon as LangChainProps } from './LangChain';
|
123
124
|
export { default as Langfuse, type CompoundedIcon as LangfuseProps } from './Langfuse';
|
@@ -132,6 +133,7 @@ export { default as LlamaIndex, type CompoundedIcon as LlamaIndexProps } from '.
|
|
132
133
|
export { default as LLaVA, type CompoundedIcon as LLaVAProps } from './LLaVA';
|
133
134
|
export { default as LmStudio, type CompoundedIcon as LmStudioProps } from './LmStudio';
|
134
135
|
export { default as LobeHub, type CompoundedIcon as LobeHubProps } from './LobeHub';
|
136
|
+
export { default as LongCat, type CompoundedIcon as LongCatProps } from './LongCat';
|
135
137
|
export { default as Lovable, type CompoundedIcon as LovableProps } from './Lovable';
|
136
138
|
export { default as Luma, type CompoundedIcon as LumaProps } from './Luma';
|
137
139
|
export { default as Magic, type CompoundedIcon as MagicProps } from './Magic';
|
package/es/icons.js
CHANGED
@@ -118,6 +118,7 @@ export { default as Kimi } from "./Kimi";
|
|
118
118
|
export { default as Kling } from "./Kling";
|
119
119
|
export { default as Kluster } from "./Kluster";
|
120
120
|
export { default as Kolors } from "./Kolors";
|
121
|
+
export { default as Kwaipilot } from "./Kwaipilot";
|
121
122
|
export { default as Lambda } from "./Lambda";
|
122
123
|
export { default as LangChain } from "./LangChain";
|
123
124
|
export { default as Langfuse } from "./Langfuse";
|
@@ -132,6 +133,7 @@ export { default as LlamaIndex } from "./LlamaIndex";
|
|
132
133
|
export { default as LLaVA } from "./LLaVA";
|
133
134
|
export { default as LmStudio } from "./LmStudio";
|
134
135
|
export { default as LobeHub } from "./LobeHub";
|
136
|
+
export { default as LongCat } from "./LongCat";
|
135
137
|
export { default as Lovable } from "./Lovable";
|
136
138
|
export { default as Luma } from "./Luma";
|
137
139
|
export { default as Magic } from "./Magic";
|
package/es/toc.js
CHANGED
@@ -2171,6 +2171,24 @@ var toc = [{
|
|
2171
2171
|
"hasTextColor": false
|
2172
2172
|
},
|
2173
2173
|
"title": "Kolors"
|
2174
|
+
}, {
|
2175
|
+
"color": "#000",
|
2176
|
+
"desc": "https://kwaipilot.ai",
|
2177
|
+
"docsUrl": "kwaipilot",
|
2178
|
+
"fullTitle": "Kwaipilot",
|
2179
|
+
"group": "model",
|
2180
|
+
"id": "Kwaipilot",
|
2181
|
+
"param": {
|
2182
|
+
"hasAvatar": true,
|
2183
|
+
"hasBrand": false,
|
2184
|
+
"hasBrandColor": false,
|
2185
|
+
"hasColor": true,
|
2186
|
+
"hasCombine": true,
|
2187
|
+
"hasText": true,
|
2188
|
+
"hasTextCn": false,
|
2189
|
+
"hasTextColor": false
|
2190
|
+
},
|
2191
|
+
"title": "Kwaipilot"
|
2174
2192
|
}, {
|
2175
2193
|
"color": "#C00C3F",
|
2176
2194
|
"desc": "https://www.lgresearch.ai",
|
@@ -2425,6 +2443,24 @@ var toc = [{
|
|
2425
2443
|
"hasTextColor": false
|
2426
2444
|
},
|
2427
2445
|
"title": "LobeHub"
|
2446
|
+
}, {
|
2447
|
+
"color": "#fff",
|
2448
|
+
"desc": "https://longcat.chat/",
|
2449
|
+
"docsUrl": "long-cat",
|
2450
|
+
"fullTitle": "LongCat",
|
2451
|
+
"group": "model",
|
2452
|
+
"id": "LongCat",
|
2453
|
+
"param": {
|
2454
|
+
"hasAvatar": true,
|
2455
|
+
"hasBrand": false,
|
2456
|
+
"hasBrandColor": false,
|
2457
|
+
"hasColor": true,
|
2458
|
+
"hasCombine": true,
|
2459
|
+
"hasText": true,
|
2460
|
+
"hasTextCn": false,
|
2461
|
+
"hasTextColor": false
|
2462
|
+
},
|
2463
|
+
"title": "LongCat"
|
2428
2464
|
}, {
|
2429
2465
|
"color": "#000",
|
2430
2466
|
"desc": "https://lovable.dev",
|