@lobehub/icons 1.43.0 → 1.44.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 +76 -38
- package/es/Adobe/components/Avatar.js +2 -0
- package/es/Adobe/components/Color.js +2 -0
- package/es/Adobe/components/Combine.js +2 -0
- package/es/Adobe/components/Mono.js +2 -0
- package/es/Adobe/components/Text.js +2 -0
- package/es/Adobe/index.js +2 -0
- package/es/AdobeFirefly/components/Avatar.js +2 -0
- package/es/AdobeFirefly/components/Color.js +2 -0
- package/es/AdobeFirefly/components/Combine.js +2 -0
- package/es/AdobeFirefly/components/Mono.js +2 -0
- package/es/AdobeFirefly/components/Text.js +2 -0
- package/es/AdobeFirefly/index.js +2 -0
- package/es/Ai21/components/Avatar.js +2 -0
- package/es/Ai21/components/BrandColor.js +2 -0
- package/es/Ai21/components/Combine.js +2 -0
- package/es/Ai21/components/Mono.js +2 -0
- package/es/Ai21/components/Text.js +2 -0
- package/es/Ai21/index.d.ts +0 -2
- package/es/Ai21/index.js +2 -2
- package/es/Ai360/components/Avatar.js +2 -0
- package/es/Ai360/components/Color.js +2 -0
- package/es/Ai360/components/Combine.js +2 -0
- package/es/Ai360/components/Mono.js +2 -0
- package/es/Ai360/components/Text.js +2 -0
- package/es/Ai360/index.js +2 -0
- package/es/AiMass/components/Avatar.js +2 -0
- package/es/AiMass/components/Color.js +2 -0
- package/es/AiMass/components/Combine.js +2 -0
- package/es/AiMass/components/Mono.js +2 -0
- package/es/AiMass/components/Text.js +2 -0
- package/es/AiMass/index.js +2 -0
- package/es/Alibaba/components/Avatar.js +2 -0
- package/es/Alibaba/components/BrandColor.js +2 -0
- package/es/Alibaba/components/BrandMono.js +2 -0
- package/es/Alibaba/components/Color.js +2 -0
- package/es/Alibaba/components/Mono.js +2 -0
- package/es/Alibaba/components/Text.js +2 -0
- package/es/Alibaba/components/TextCn.js +2 -0
- package/es/Alibaba/index.js +2 -0
- package/es/AntGroup/components/Avatar.js +2 -0
- package/es/AntGroup/components/BrandColor.js +2 -0
- package/es/AntGroup/components/BrandMono.js +2 -0
- package/es/AntGroup/components/Color.js +2 -0
- package/es/AntGroup/components/Mono.js +2 -0
- package/es/AntGroup/components/Text.js +2 -0
- package/es/AntGroup/components/TextCn.js +2 -0
- package/es/AntGroup/index.js +2 -0
- package/es/Anthropic/components/Avatar.js +2 -0
- package/es/Anthropic/components/Mono.js +2 -0
- package/es/Anthropic/components/Text.js +2 -0
- package/es/Anthropic/index.js +2 -0
- package/es/Automatic/components/Avatar.js +2 -0
- package/es/Automatic/components/Color.js +2 -0
- package/es/Automatic/components/Combine.js +2 -0
- package/es/Automatic/components/Mono.js +2 -0
- package/es/Automatic/index.js +2 -0
- package/es/Aws/components/Avatar.js +2 -0
- package/es/Aws/components/BrandColor.js +2 -0
- package/es/Aws/components/BrandMono.js +2 -0
- package/es/Aws/components/Color.js +2 -0
- package/es/Aws/components/Combine.js +2 -0
- package/es/Aws/components/Mono.js +2 -0
- package/es/Aws/components/Text.js +2 -0
- package/es/Aws/index.js +2 -0
- package/es/Aya/components/Avatar.js +2 -0
- package/es/Aya/components/Color.js +2 -0
- package/es/Aya/components/Combine.js +2 -0
- package/es/Aya/components/Mono.js +2 -0
- package/es/Aya/components/Text.js +2 -0
- package/es/Aya/index.js +2 -0
- package/es/Azure/components/Avatar.js +2 -0
- package/es/Azure/components/Color.js +2 -0
- package/es/Azure/components/Combine.js +2 -0
- package/es/Azure/components/Mono.js +2 -0
- package/es/Azure/components/Text.js +2 -0
- package/es/Azure/index.js +2 -0
- package/es/Baichuan/components/Avatar.js +2 -0
- package/es/Baichuan/components/Color.js +2 -0
- package/es/Baichuan/components/Combine.js +2 -0
- package/es/Baichuan/components/Mono.js +2 -0
- package/es/Baichuan/components/Text.js +2 -0
- package/es/Baichuan/index.js +2 -0
- package/es/Baidu/components/Avatar.js +2 -0
- package/es/Baidu/components/BrandColor.js +2 -0
- package/es/Baidu/components/BrandMono.js +2 -0
- package/es/Baidu/components/Color.js +2 -0
- package/es/Baidu/components/Mono.js +2 -0
- package/es/Baidu/components/Text.js +2 -0
- package/es/Baidu/components/TextCn.js +2 -0
- package/es/Baidu/index.js +2 -0
- package/es/BaiduCloud/components/Avatar.js +2 -0
- package/es/BaiduCloud/components/Color.js +2 -0
- package/es/BaiduCloud/components/Combine.js +2 -0
- package/es/BaiduCloud/components/Mono.js +2 -0
- package/es/BaiduCloud/components/Text.js +2 -0
- package/es/BaiduCloud/index.js +2 -0
- package/es/Bedrock/components/Avatar.js +2 -0
- package/es/Bedrock/components/Color.js +2 -0
- package/es/Bedrock/components/Combine.js +2 -0
- package/es/Bedrock/components/Mono.js +2 -0
- package/es/Bedrock/components/Text.js +2 -0
- package/es/Bedrock/index.js +2 -0
- package/es/Bing/components/Avatar.js +2 -0
- package/es/Bing/components/Color.js +2 -0
- package/es/Bing/components/Combine.js +2 -0
- package/es/Bing/components/Mono.js +2 -0
- package/es/Bing/components/Text.js +2 -0
- package/es/Bing/index.js +2 -0
- package/es/ByteDance/components/Avatar.js +2 -0
- package/es/ByteDance/components/BrandColor.js +2 -0
- package/es/ByteDance/components/BrandMono.js +2 -0
- package/es/ByteDance/components/Color.js +2 -0
- package/es/ByteDance/components/Mono.js +2 -0
- package/es/ByteDance/components/Text.js +2 -0
- package/es/ByteDance/components/TextCn.js +2 -0
- package/es/ByteDance/index.js +2 -0
- package/es/ChatGLM/components/Avatar.js +2 -0
- package/es/ChatGLM/components/Color.js +2 -0
- package/es/ChatGLM/components/Combine.js +2 -0
- package/es/ChatGLM/components/Mono.js +2 -0
- package/es/ChatGLM/components/Text.js +2 -0
- package/es/ChatGLM/index.js +2 -0
- package/es/Claude/components/Avatar.js +2 -0
- package/es/Claude/components/Color.js +2 -0
- package/es/Claude/components/Combine.js +2 -0
- package/es/Claude/components/Mono.js +2 -0
- package/es/Claude/components/Text.js +2 -0
- package/es/Claude/index.js +2 -0
- package/es/Cloudflare/components/Avatar.js +2 -0
- package/es/Cloudflare/components/Color.js +2 -0
- package/es/Cloudflare/components/Combine.js +2 -0
- package/es/Cloudflare/components/Mono.js +2 -0
- package/es/Cloudflare/components/Text.js +2 -0
- package/es/Cloudflare/index.js +2 -0
- package/es/CodeGeeX/components/Avatar.js +2 -0
- package/es/CodeGeeX/components/Color.js +2 -0
- package/es/CodeGeeX/components/Combine.js +2 -0
- package/es/CodeGeeX/components/Mono.js +2 -0
- package/es/CodeGeeX/components/Text.js +2 -0
- package/es/CodeGeeX/index.js +2 -0
- package/es/CogVideo/components/Avatar.js +2 -0
- package/es/CogVideo/components/Color.js +2 -0
- package/es/CogVideo/components/Combine.js +2 -0
- package/es/CogVideo/components/Mono.js +2 -0
- package/es/CogVideo/components/Text.js +2 -0
- package/es/CogVideo/index.js +2 -0
- package/es/CogView/components/Avatar.js +2 -0
- package/es/CogView/components/Color.js +2 -0
- package/es/CogView/components/Combine.js +2 -0
- package/es/CogView/components/Mono.js +2 -0
- package/es/CogView/components/Text.js +2 -0
- package/es/CogView/index.js +2 -0
- package/es/Cohere/components/Avatar.js +2 -0
- package/es/Cohere/components/Color.js +2 -0
- package/es/Cohere/components/Combine.js +2 -0
- package/es/Cohere/components/Mono.js +2 -0
- package/es/Cohere/components/Text.js +2 -0
- package/es/Cohere/index.js +2 -0
- package/es/Colab/components/Avatar.js +2 -0
- package/es/Colab/components/Color.js +2 -0
- package/es/Colab/components/Combine.js +2 -0
- package/es/Colab/components/Mono.js +2 -0
- package/es/Colab/components/Text.js +2 -0
- package/es/Colab/index.js +2 -0
- package/es/Copilot/components/Avatar.js +2 -0
- package/es/Copilot/components/Color.js +2 -0
- package/es/Copilot/components/Combine.js +2 -0
- package/es/Copilot/components/Mono.js +2 -0
- package/es/Copilot/components/Text.js +2 -0
- package/es/Copilot/index.js +2 -0
- package/es/Dalle/components/Avatar.js +2 -0
- package/es/Dalle/components/Color.js +2 -0
- package/es/Dalle/components/Combine.js +2 -0
- package/es/Dalle/components/Mono.js +2 -0
- package/es/Dalle/components/Text.js +2 -0
- package/es/Dalle/index.js +2 -0
- package/es/Dbrx/components/Avatar.js +2 -0
- package/es/Dbrx/components/BrandColor.js +2 -0
- package/es/Dbrx/components/BrandMono.js +2 -0
- package/es/Dbrx/components/Color.js +2 -0
- package/es/Dbrx/components/Combine.js +2 -0
- package/es/Dbrx/components/Mono.js +2 -0
- package/es/Dbrx/components/Text.js +2 -0
- package/es/Dbrx/index.js +2 -0
- package/es/DeepMind/components/Avatar.js +2 -0
- package/es/DeepMind/components/Color.js +2 -0
- package/es/DeepMind/components/Combine.js +2 -0
- package/es/DeepMind/components/Mono.js +2 -0
- package/es/DeepMind/components/Text.js +2 -0
- package/es/DeepMind/index.js +2 -0
- package/es/DeepSeek/components/Avatar.js +2 -0
- package/es/DeepSeek/components/Color.js +2 -0
- package/es/DeepSeek/components/Combine.js +2 -0
- package/es/DeepSeek/components/Mono.js +2 -0
- package/es/DeepSeek/components/Text.js +2 -0
- package/es/DeepSeek/index.js +2 -0
- package/es/Doubao/components/Avatar.js +2 -0
- package/es/Doubao/components/Color.js +2 -0
- package/es/Doubao/components/Combine.js +2 -0
- package/es/Doubao/components/Mono.js +2 -0
- package/es/Doubao/components/Text.js +2 -0
- package/es/Doubao/index.js +2 -0
- package/es/Fireworks/components/Avatar.js +2 -0
- package/es/Fireworks/components/Combine.js +2 -0
- package/es/Fireworks/components/Mono.js +2 -0
- package/es/Fireworks/components/Text.js +2 -0
- package/es/Fireworks/index.js +2 -0
- package/es/FishAudio/components/Avatar.js +2 -0
- package/es/FishAudio/components/Combine.js +2 -0
- package/es/FishAudio/components/Mono.js +2 -0
- package/es/FishAudio/components/Text.js +2 -0
- package/es/FishAudio/index.js +2 -0
- package/es/Flux/components/Avatar.js +2 -0
- package/es/Flux/components/Combine.js +2 -0
- package/es/Flux/components/Mono.js +2 -0
- package/es/Flux/components/Text.js +2 -0
- package/es/Flux/index.js +2 -0
- package/es/Gemini/components/Avatar.js +2 -0
- package/es/Gemini/components/BrandColor.js +2 -0
- package/es/Gemini/components/BrandMono.js +2 -0
- package/es/Gemini/components/Color.js +2 -0
- package/es/Gemini/components/Combine.js +2 -0
- package/es/Gemini/components/Mono.js +2 -0
- package/es/Gemini/components/Text.js +2 -0
- package/es/Gemini/index.js +2 -0
- package/es/Gemma/components/Avatar.js +2 -0
- package/es/Gemma/components/Color.js +2 -0
- package/es/Gemma/components/Combine.js +2 -0
- package/es/Gemma/components/Mono.js +2 -0
- package/es/Gemma/components/Simple.js +2 -0
- package/es/Gemma/components/Text.js +2 -0
- package/es/Gemma/index.js +2 -0
- package/es/GiteeAI/components/Avatar.js +2 -0
- package/es/GiteeAI/components/Combine.js +2 -0
- package/es/GiteeAI/components/Mono.js +2 -0
- package/es/GiteeAI/components/Text.js +2 -0
- package/es/GiteeAI/index.js +2 -0
- package/es/Github/components/Avatar.js +2 -0
- package/es/Github/components/Combine.js +2 -0
- package/es/Github/components/Mono.js +2 -0
- package/es/Github/components/Text.js +2 -0
- package/es/Github/index.js +2 -0
- package/es/GithubCopilot/components/Avatar.js +2 -0
- package/es/GithubCopilot/components/Combine.js +2 -0
- package/es/GithubCopilot/components/Mono.js +2 -0
- package/es/GithubCopilot/components/Text.js +2 -0
- package/es/GithubCopilot/index.js +2 -0
- package/es/Google/components/Avatar.js +2 -0
- package/es/Google/components/BrandColor.js +2 -0
- package/es/Google/components/BrandMono.js +2 -0
- package/es/Google/components/Color.js +2 -0
- package/es/Google/components/Mono.js +2 -0
- package/es/Google/index.js +2 -0
- package/es/Grok/components/Combine.js +2 -0
- package/es/Grok/components/Text.js +2 -0
- package/es/Grok/index.js +2 -0
- package/es/Groq/components/Avatar.js +2 -0
- package/es/Groq/components/Combine.js +2 -0
- package/es/Groq/components/Mono.js +2 -0
- package/es/Groq/components/Text.js +2 -0
- package/es/Groq/index.js +2 -0
- package/es/Higress/components/Avatar.js +2 -0
- package/es/Higress/components/Color.js +2 -0
- package/es/Higress/components/Combine.js +2 -0
- package/es/Higress/components/Mono.js +2 -0
- package/es/Higress/components/Text.js +2 -0
- package/es/Higress/components/TextColor.js +2 -0
- package/es/Higress/index.js +2 -0
- package/es/HuggingFace/components/Avatar.js +2 -0
- package/es/HuggingFace/components/Color.js +2 -0
- package/es/HuggingFace/components/Combine.js +2 -0
- package/es/HuggingFace/components/Mono.js +2 -0
- package/es/HuggingFace/components/Text.js +2 -0
- package/es/HuggingFace/index.js +2 -0
- package/es/Hunyuan/components/Avatar.js +2 -0
- package/es/Hunyuan/components/Color.js +2 -0
- package/es/Hunyuan/components/Combine.js +2 -0
- package/es/Hunyuan/components/Mono.js +2 -0
- package/es/Hunyuan/components/Text.js +2 -0
- package/es/Hunyuan/index.js +2 -0
- package/es/InternLM/components/Avatar.js +2 -0
- package/es/InternLM/components/Color.js +2 -0
- package/es/InternLM/components/Combine.js +2 -0
- package/es/InternLM/components/Mono.js +2 -0
- package/es/InternLM/components/Text.js +2 -0
- package/es/InternLM/index.js +2 -0
- package/es/Kling/components/Avatar.js +2 -0
- package/es/Kling/components/Color.js +2 -0
- package/es/Kling/components/Combine.js +2 -0
- package/es/Kling/components/Mono.js +2 -0
- package/es/Kling/components/Text.js +2 -0
- package/es/Kling/index.js +2 -0
- package/es/LLaVA/components/Avatar.js +2 -0
- package/es/LLaVA/components/Color.js +2 -0
- package/es/LLaVA/components/Combine.js +2 -0
- package/es/LLaVA/components/Mono.js +2 -0
- package/es/LLaVA/components/Text.js +2 -0
- package/es/LLaVA/index.js +2 -0
- package/es/Langfuse/components/Avatar.js +2 -0
- package/es/Langfuse/components/Color.js +2 -0
- package/es/Langfuse/components/Combine.js +2 -0
- package/es/Langfuse/components/Mono.js +2 -0
- package/es/Langfuse/components/Text.js +2 -0
- package/es/Langfuse/index.js +2 -0
- package/es/LmStudio/components/Avatar.js +2 -0
- package/es/LmStudio/components/Combine.js +2 -0
- package/es/LmStudio/components/Mono.js +2 -0
- package/es/LmStudio/components/Text.js +2 -0
- package/es/LmStudio/index.js +2 -0
- package/es/LobeHub/components/Avatar.js +2 -0
- package/es/LobeHub/components/Color.js +2 -0
- package/es/LobeHub/components/Combine.js +2 -0
- package/es/LobeHub/components/Mono.js +2 -0
- package/es/LobeHub/components/Text.js +2 -0
- package/es/LobeHub/index.js +2 -0
- package/es/Luma/components/Avatar.js +2 -0
- package/es/Luma/components/Color.js +2 -0
- package/es/Luma/components/Combine.js +2 -0
- package/es/Luma/components/Mono.js +2 -0
- package/es/Luma/components/Text.js +2 -0
- package/es/Luma/index.js +2 -0
- package/es/Magic/components/Avatar.js +2 -0
- package/es/Magic/components/Combine.js +2 -0
- package/es/Magic/components/Mono.js +2 -0
- package/es/Magic/components/Text.js +2 -0
- package/es/Magic/index.js +2 -0
- package/es/Meta/components/Avatar.js +2 -0
- package/es/Meta/components/BrandColor.js +2 -0
- package/es/Meta/components/BrandMono.js +2 -0
- package/es/Meta/components/Color.js +2 -0
- package/es/Meta/components/Combine.js +2 -0
- package/es/Meta/components/Mono.js +2 -0
- package/es/Meta/components/Text.js +2 -0
- package/es/Meta/index.js +2 -0
- package/es/Midjourney/components/Avatar.js +2 -0
- package/es/Midjourney/components/Combine.js +2 -0
- package/es/Midjourney/components/Mono.js +2 -0
- package/es/Midjourney/components/Text.js +2 -0
- package/es/Midjourney/index.js +2 -0
- package/es/Minimax/components/Avatar.js +2 -0
- package/es/Minimax/components/Color.js +2 -0
- package/es/Minimax/components/Combine.js +2 -0
- package/es/Minimax/components/Mono.js +2 -0
- package/es/Minimax/components/Text.js +2 -0
- package/es/Minimax/index.js +2 -0
- package/es/Mistral/components/Avatar.js +2 -0
- package/es/Mistral/components/Color.js +2 -0
- package/es/Mistral/components/Combine.js +2 -0
- package/es/Mistral/components/Mono.js +2 -0
- package/es/Mistral/components/Text.js +2 -0
- package/es/Mistral/index.js +2 -0
- package/es/Moonshot/components/Avatar.js +2 -0
- package/es/Moonshot/components/Combine.js +2 -0
- package/es/Moonshot/components/Mono.js +2 -0
- package/es/Moonshot/components/Text.js +2 -0
- package/es/Moonshot/index.js +2 -0
- package/es/Novita/components/Avatar.js +2 -0
- package/es/Novita/components/Color.js +2 -0
- package/es/Novita/components/Combine.js +2 -0
- package/es/Novita/components/Mono.js +2 -0
- package/es/Novita/components/Text.js +2 -0
- package/es/Novita/index.js +2 -0
- package/es/Nvidia/components/Avatar.js +2 -0
- package/es/Nvidia/components/Color.js +2 -0
- package/es/Nvidia/components/Combine.js +2 -0
- package/es/Nvidia/components/Mono.js +2 -0
- package/es/Nvidia/components/Text.js +2 -0
- package/es/Nvidia/index.js +2 -0
- package/es/Ollama/components/Avatar.js +2 -0
- package/es/Ollama/components/Combine.js +2 -0
- package/es/Ollama/components/Mono.js +2 -0
- package/es/Ollama/components/Text.js +2 -0
- package/es/Ollama/index.js +2 -0
- package/es/OpenAI/components/Avatar.js +2 -0
- package/es/OpenAI/components/Combine.js +2 -0
- package/es/OpenAI/components/Mono.js +2 -0
- package/es/OpenAI/components/Text.js +2 -0
- package/es/OpenAI/index.js +2 -0
- package/es/OpenChat/components/Avatar.js +2 -0
- package/es/OpenChat/components/Color.js +2 -0
- package/es/OpenChat/components/Combine.js +2 -0
- package/es/OpenChat/components/Mono.js +2 -0
- package/es/OpenChat/components/Text.js +2 -0
- package/es/OpenChat/index.js +2 -0
- package/es/OpenRouter/components/Avatar.js +2 -0
- package/es/OpenRouter/components/Combine.js +2 -0
- package/es/OpenRouter/components/Mono.js +2 -0
- package/es/OpenRouter/components/Text.js +2 -0
- package/es/OpenRouter/index.js +2 -0
- package/es/PaLM/components/Avatar.js +2 -0
- package/es/PaLM/components/Color.js +2 -0
- package/es/PaLM/components/Combine.js +2 -0
- package/es/PaLM/components/Mono.js +2 -0
- package/es/PaLM/components/Text.js +2 -0
- package/es/PaLM/index.js +2 -0
- package/es/Perplexity/components/Avatar.js +2 -0
- package/es/Perplexity/components/Color.js +2 -0
- package/es/Perplexity/components/Combine.js +2 -0
- package/es/Perplexity/components/Mono.js +2 -0
- package/es/Perplexity/components/Text.js +2 -0
- package/es/Perplexity/index.js +2 -0
- package/es/Pollinations/components/Avatar.js +2 -0
- package/es/Pollinations/components/Combine.js +2 -0
- package/es/Pollinations/components/Mono.js +2 -0
- package/es/Pollinations/components/Text.js +2 -0
- package/es/Pollinations/index.js +2 -0
- package/es/Qingyan/components/Avatar.js +2 -0
- package/es/Qingyan/components/Color.js +2 -0
- package/es/Qingyan/components/Combine.js +2 -0
- package/es/Qingyan/components/Mono.js +2 -0
- package/es/Qingyan/components/Text.js +2 -0
- package/es/Qingyan/index.js +2 -0
- package/es/Qwen/components/Avatar.js +2 -0
- package/es/Qwen/components/Color.js +2 -0
- package/es/Qwen/components/Combine.js +2 -0
- package/es/Qwen/components/Mono.js +2 -0
- package/es/Qwen/components/Text.js +2 -0
- package/es/Qwen/index.js +2 -0
- package/es/Qwen/style.d.ts +1 -1
- package/es/Qwen/style.js +1 -1
- package/es/Replicate/components/Avatar.js +2 -0
- package/es/Replicate/components/BrandMono.js +2 -0
- package/es/Replicate/components/Mono.js +2 -0
- package/es/Replicate/index.js +2 -0
- package/es/Runway/components/Avatar.js +2 -0
- package/es/Runway/components/Combine.js +2 -0
- package/es/Runway/components/Mono.js +2 -0
- package/es/Runway/components/Text.js +2 -0
- package/es/Runway/index.js +2 -0
- package/es/Rwkv/components/Avatar.js +2 -0
- package/es/Rwkv/components/Color.js +2 -0
- package/es/Rwkv/components/Combine.js +2 -0
- package/es/Rwkv/components/Mono.js +2 -0
- package/es/Rwkv/components/Text.js +2 -0
- package/es/Rwkv/index.js +2 -0
- package/es/SenseNova/components/Avatar.js +2 -0
- package/es/SenseNova/components/BrandColor.js +2 -0
- package/es/SenseNova/components/BrandMono.js +2 -0
- package/es/SenseNova/components/Color.js +2 -0
- package/es/SenseNova/components/Combine.js +2 -0
- package/es/SenseNova/components/Mono.js +2 -0
- package/es/SenseNova/components/Text.js +2 -0
- package/es/SenseNova/index.js +2 -0
- package/es/SiliconCloud/components/Avatar.js +2 -0
- package/es/SiliconCloud/components/Color.js +2 -0
- package/es/SiliconCloud/components/Combine.js +2 -0
- package/es/SiliconCloud/components/Mono.js +2 -0
- package/es/SiliconCloud/components/Text.js +2 -0
- package/es/SiliconCloud/index.js +2 -0
- package/es/Spark/components/Avatar.js +2 -0
- package/es/Spark/components/Color.js +2 -0
- package/es/Spark/components/Combine.js +2 -0
- package/es/Spark/components/Mono.js +2 -0
- package/es/Spark/components/Text.js +2 -0
- package/es/Spark/index.js +2 -0
- package/es/Stability/components/Avatar.js +2 -0
- package/es/Stability/components/BrandColor.js +2 -0
- package/es/Stability/components/BrandMono.js +2 -0
- package/es/Stability/components/Color.js +2 -0
- package/es/Stability/components/Combine.js +2 -0
- package/es/Stability/components/Mono.js +2 -0
- package/es/Stability/components/Text.js +2 -0
- package/es/Stability/index.js +2 -0
- package/es/Stepfun/components/Avatar.js +2 -0
- package/es/Stepfun/components/Color.js +2 -0
- package/es/Stepfun/components/Combine.js +2 -0
- package/es/Stepfun/components/Mono.js +2 -0
- package/es/Stepfun/components/Text.js +2 -0
- package/es/Stepfun/index.js +2 -0
- package/es/Suno/components/Avatar.js +2 -0
- package/es/Suno/components/Combine.js +2 -0
- package/es/Suno/components/Mono.js +2 -0
- package/es/Suno/components/Text.js +2 -0
- package/es/Suno/index.js +2 -0
- package/es/Tencent/components/Avatar.js +2 -0
- package/es/Tencent/components/BrandColor.js +2 -0
- package/es/Tencent/components/BrandMono.js +2 -0
- package/es/Tencent/components/Color.js +2 -0
- package/es/Tencent/components/Mono.js +2 -0
- package/es/Tencent/components/Text.js +2 -0
- package/es/Tencent/components/TextCn.js +2 -0
- package/es/Tencent/index.js +2 -0
- package/es/Together/components/Avatar.js +2 -0
- package/es/Together/components/BrandColor.js +2 -0
- package/es/Together/components/BrandMono.js +2 -0
- package/es/Together/components/Color.js +2 -0
- package/es/Together/components/Combine.js +2 -0
- package/es/Together/components/Mono.js +2 -0
- package/es/Together/components/Text.js +2 -0
- package/es/Together/index.js +2 -0
- package/es/Upstage/components/Avatar.js +2 -0
- package/es/Upstage/components/Color.js +2 -0
- package/es/Upstage/components/Combine.js +2 -0
- package/es/Upstage/components/Mono.js +2 -0
- package/es/Upstage/components/Text.js +2 -0
- package/es/Upstage/index.js +2 -0
- package/es/VertexAI/components/Avatar.js +2 -0
- package/es/VertexAI/components/Color.js +2 -0
- package/es/VertexAI/components/Combine.js +2 -0
- package/es/VertexAI/components/Mono.js +2 -0
- package/es/VertexAI/components/Text.js +2 -0
- package/es/VertexAI/index.js +2 -0
- package/es/Viggle/components/Avatar.js +2 -0
- package/es/Viggle/components/Combine.js +2 -0
- package/es/Viggle/components/Mono.js +2 -0
- package/es/Viggle/components/Text.js +2 -0
- package/es/Viggle/index.js +2 -0
- package/es/Vllm/components/Avatar.js +2 -0
- package/es/Vllm/components/Color.js +2 -0
- package/es/Vllm/components/Combine.js +2 -0
- package/es/Vllm/components/Mono.js +2 -0
- package/es/Vllm/components/Text.js +2 -0
- package/es/Vllm/index.js +2 -0
- package/es/Wenxin/components/Avatar.js +2 -0
- package/es/Wenxin/components/Color.js +2 -0
- package/es/Wenxin/components/Combine.js +2 -0
- package/es/Wenxin/components/Mono.js +2 -0
- package/es/Wenxin/components/Text.js +2 -0
- package/es/Wenxin/index.js +2 -0
- package/es/WorkersAI/components/Avatar.js +2 -0
- package/es/WorkersAI/components/Color.js +2 -0
- package/es/WorkersAI/components/Combine.js +2 -0
- package/es/WorkersAI/components/Mono.js +2 -0
- package/es/WorkersAI/components/Text.js +2 -0
- package/es/WorkersAI/index.js +2 -0
- package/es/XAI/components/Avatar.js +2 -0
- package/es/XAI/components/Combine.js +2 -0
- package/es/XAI/components/Mono.js +2 -0
- package/es/XAI/components/Text.js +2 -0
- package/es/XAI/index.js +2 -0
- package/es/Yi/components/Avatar.js +2 -0
- package/es/Yi/components/Color.js +2 -0
- package/es/Yi/components/Combine.js +2 -0
- package/es/Yi/components/Mono.js +2 -0
- package/es/Yi/index.js +2 -0
- package/es/Zeabur/components/Avatar.js +2 -0
- package/es/Zeabur/components/Color.js +2 -0
- package/es/Zeabur/components/Combine.js +2 -0
- package/es/Zeabur/components/Mono.js +2 -0
- package/es/Zeabur/components/Text.js +2 -0
- package/es/Zeabur/index.js +2 -0
- package/es/ZeroOne/components/Avatar.js +2 -0
- package/es/ZeroOne/components/Color.js +2 -0
- package/es/ZeroOne/components/Combine.js +2 -0
- package/es/ZeroOne/components/Mono.js +2 -0
- package/es/ZeroOne/components/Text.js +2 -0
- package/es/ZeroOne/index.js +2 -0
- package/es/Zhipu/components/Avatar.js +2 -0
- package/es/Zhipu/components/Color.js +2 -0
- package/es/Zhipu/components/Combine.js +2 -0
- package/es/Zhipu/components/Mono.js +2 -0
- package/es/Zhipu/components/Text.js +2 -0
- package/es/Zhipu/index.js +2 -0
- package/es/components/ColorPreview/index.js +2 -0
- package/es/components/Dashboard/IconItem.d.ts +9 -0
- package/es/components/Dashboard/IconItem.js +139 -0
- package/es/components/Dashboard/Text.js +2 -0
- package/es/components/Dashboard/index.d.ts +1 -3
- package/es/components/Dashboard/index.js +90 -32
- package/es/components/Dashboard/utils.d.ts +1 -0
- package/es/components/Dashboard/utils.js +11 -0
- package/es/components/DownloadButton/index.js +2 -0
- package/es/components/Editor/Color.js +2 -0
- package/es/components/Editor/Mono.js +2 -0
- package/es/components/Editor/Text.js +2 -0
- package/es/components/IconPreview/ColorPreview.js +2 -0
- package/es/features/IconAvatar/index.js +2 -0
- package/es/features/IconCombine/index.js +2 -0
- package/es/features/ModelIcon/index.js +2 -0
- package/es/features/ProviderCombine/index.js +2 -0
- package/es/features/ProviderIcon/index.js +2 -0
- package/es/icons.d.ts +0 -1
- package/es/icons.js +0 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -1
- package/es/toc.d.ts +11 -0
- package/es/toc.js +738 -0
- package/package.json +5 -2
- package/es/Ai21/components/Color.d.ts +0 -3
- package/es/Ai21/components/Color.js +0 -58
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["size", "style"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["type", "iconProps"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["size", "style"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["size", "style"];
|
3
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; }
|
package/es/ZeroOne/index.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["background"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["size", "style"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["type"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["size", "style"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["size", "style"];
|
3
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; }
|
package/es/Zhipu/index.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
3
|
var _templateObject, _templateObject2;
|
2
4
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
5
|
import { CopyButton, Tooltip } from '@lobehub/ui';
|
@@ -0,0 +1,139 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
4
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
5
|
+
import { ActionIcon, CopyButton } from '@lobehub/ui';
|
6
|
+
import { createStyles } from 'antd-style';
|
7
|
+
import { Link } from 'dumi';
|
8
|
+
import { DownloadIcon, SearchIcon } from 'lucide-react';
|
9
|
+
import { readableColor } from 'polished';
|
10
|
+
import { memo, useRef } from 'react';
|
11
|
+
import { Center, Flexbox } from 'react-layout-kit';
|
12
|
+
import { customKebabCase } from "./utils";
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
14
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
15
|
+
var useStyles = createStyles(function (_ref) {
|
16
|
+
var cx = _ref.cx,
|
17
|
+
css = _ref.css,
|
18
|
+
token = _ref.token;
|
19
|
+
var colorText = cx('color-text', css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n "]))));
|
20
|
+
var copy = cx('copy', css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n z-index: 1;\n display: none !important;\n "]))));
|
21
|
+
return {
|
22
|
+
card: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n border: 1px solid ", ";\n border-radius: ", "px;\n "])), token.colorBorderSecondary, token.borderRadiusLG),
|
23
|
+
color: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-family: ", ";\n border-inline-end: 1px solid ", ";\n\n &:hover {\n .color-text {\n display: none;\n }\n\n .copy {\n display: flex !important;\n }\n }\n "])), token.fontFamilyCode, token.colorBorderSecondary),
|
24
|
+
colorText: colorText,
|
25
|
+
copy: copy,
|
26
|
+
row: css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-block-start: 1px solid ", ";\n "])), token.colorFillSecondary),
|
27
|
+
title: css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin: 0;\n font-size: 16px;\n font-weight: bold;\n "]))),
|
28
|
+
titleRow: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n margin-block-start: -8px;\n\n &:hover {\n .copy {\n display: flex;\n }\n }\n "])))
|
29
|
+
};
|
30
|
+
});
|
31
|
+
var IconItem = /*#__PURE__*/memo(function (_ref2) {
|
32
|
+
var children = _ref2.children,
|
33
|
+
title = _ref2.title,
|
34
|
+
color = _ref2.color,
|
35
|
+
id = _ref2.id;
|
36
|
+
var _useStyles = useStyles(),
|
37
|
+
styles = _useStyles.styles;
|
38
|
+
var ref = useRef(null);
|
39
|
+
var handleDownload = function handleDownload() {
|
40
|
+
var _ref$current;
|
41
|
+
var svgString = String(ref === null || ref === void 0 || (_ref$current = ref.current) === null || _ref$current === void 0 || (_ref$current = _ref$current.querySelector('svg')) === null || _ref$current === void 0 ? void 0 : _ref$current.outerHTML);
|
42
|
+
var blob = new Blob([svgString], {
|
43
|
+
type: 'image/svg+xml;charset=utf-8'
|
44
|
+
});
|
45
|
+
var url = URL.createObjectURL(blob);
|
46
|
+
var downloadLink = document.createElement('a');
|
47
|
+
downloadLink.href = url;
|
48
|
+
downloadLink.download = 'icon.svg';
|
49
|
+
document.body.append(downloadLink);
|
50
|
+
downloadLink.click();
|
51
|
+
downloadLink.remove();
|
52
|
+
URL.revokeObjectURL(url);
|
53
|
+
};
|
54
|
+
return /*#__PURE__*/_jsxs(Flexbox, {
|
55
|
+
className: styles.card,
|
56
|
+
children: [/*#__PURE__*/_jsx(Link, {
|
57
|
+
style: {
|
58
|
+
color: 'inherit'
|
59
|
+
},
|
60
|
+
to: "/components/".concat(customKebabCase(id)),
|
61
|
+
children: /*#__PURE__*/_jsx(Center, {
|
62
|
+
height: 96,
|
63
|
+
ref: ref,
|
64
|
+
style: {
|
65
|
+
position: 'relative'
|
66
|
+
},
|
67
|
+
width: '100%',
|
68
|
+
children: children
|
69
|
+
})
|
70
|
+
}), /*#__PURE__*/_jsxs(Flexbox, {
|
71
|
+
align: 'center',
|
72
|
+
className: styles.titleRow,
|
73
|
+
horizontal: true,
|
74
|
+
justify: 'space-between',
|
75
|
+
paddingBlock: 8,
|
76
|
+
paddingInline: 12,
|
77
|
+
width: '100%',
|
78
|
+
children: [/*#__PURE__*/_jsx("h2", {
|
79
|
+
className: styles.title,
|
80
|
+
children: title
|
81
|
+
}), /*#__PURE__*/_jsx(CopyButton, {
|
82
|
+
className: styles.copy,
|
83
|
+
content: title,
|
84
|
+
size: 'small'
|
85
|
+
})]
|
86
|
+
}), /*#__PURE__*/_jsxs(Flexbox, {
|
87
|
+
align: 'center',
|
88
|
+
className: styles.row,
|
89
|
+
horizontal: true,
|
90
|
+
children: [/*#__PURE__*/_jsxs(Center, {
|
91
|
+
className: styles.color,
|
92
|
+
flex: 1,
|
93
|
+
height: 32,
|
94
|
+
horizontal: true,
|
95
|
+
paddingInline: 12,
|
96
|
+
style: {
|
97
|
+
background: color,
|
98
|
+
color: readableColor(color)
|
99
|
+
},
|
100
|
+
children: [/*#__PURE__*/_jsx("span", {
|
101
|
+
className: styles.colorText,
|
102
|
+
children: color.toUpperCase()
|
103
|
+
}), /*#__PURE__*/_jsx(CopyButton, {
|
104
|
+
className: styles.copy,
|
105
|
+
color: readableColor(color),
|
106
|
+
content: color.toUpperCase(),
|
107
|
+
size: 'small'
|
108
|
+
})]
|
109
|
+
}), /*#__PURE__*/_jsxs(Flexbox, {
|
110
|
+
flex: 1,
|
111
|
+
horizontal: true,
|
112
|
+
paddingInline: 12,
|
113
|
+
children: [/*#__PURE__*/_jsx(Center, {
|
114
|
+
flex: 1,
|
115
|
+
height: 32,
|
116
|
+
children: /*#__PURE__*/_jsx(Link, {
|
117
|
+
style: {
|
118
|
+
color: 'inherit'
|
119
|
+
},
|
120
|
+
to: "/components/".concat(customKebabCase(id)),
|
121
|
+
children: /*#__PURE__*/_jsx(ActionIcon, {
|
122
|
+
icon: SearchIcon,
|
123
|
+
size: 'small'
|
124
|
+
})
|
125
|
+
})
|
126
|
+
}), /*#__PURE__*/_jsx(Center, {
|
127
|
+
flex: 1,
|
128
|
+
height: 32,
|
129
|
+
onClick: handleDownload,
|
130
|
+
children: /*#__PURE__*/_jsx(ActionIcon, {
|
131
|
+
icon: DownloadIcon,
|
132
|
+
size: 'small'
|
133
|
+
})
|
134
|
+
})]
|
135
|
+
})]
|
136
|
+
})]
|
137
|
+
});
|
138
|
+
});
|
139
|
+
export default IconItem;
|
@@ -1,42 +1,100 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
|
+
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."); }
|
5
|
+
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); }
|
6
|
+
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; }
|
7
|
+
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; } }
|
8
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
3
9
|
import * as Icons from "../..";
|
4
|
-
import {
|
5
|
-
import {
|
10
|
+
import { Grid, SearchBar } from '@lobehub/ui';
|
11
|
+
import { Segmented } from 'antd';
|
12
|
+
import { useTheme } from 'antd-style';
|
13
|
+
import { memo, useMemo, useState } from 'react';
|
6
14
|
import { Flexbox } from 'react-layout-kit';
|
7
|
-
import
|
15
|
+
import IconItem from "./IconItem";
|
8
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
return {
|
16
|
-
item: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 96px;\n height: 96px;\n background: ", ";\n border: none;\n "])), token.colorBgContainer)
|
17
|
-
};
|
18
|
-
});
|
17
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
18
|
+
var ColorType = /*#__PURE__*/function (ColorType) {
|
19
|
+
ColorType["Color"] = "color";
|
20
|
+
ColorType["Mono"] = "mono";
|
21
|
+
return ColorType;
|
22
|
+
}(ColorType || {});
|
19
23
|
var Dashboard = /*#__PURE__*/memo(function () {
|
20
|
-
var
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
var theme = useTheme();
|
25
|
+
var _useState = useState(ColorType.Color),
|
26
|
+
_useState2 = _slicedToArray(_useState, 2),
|
27
|
+
type = _useState2[0],
|
28
|
+
setType = _useState2[1];
|
29
|
+
var _useState3 = useState(),
|
30
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
31
|
+
keyword = _useState4[0],
|
32
|
+
setKeyword = _useState4[1];
|
33
|
+
var iconsGroup = useMemo(function () {
|
34
|
+
return Object.entries(Icons).filter(function (_ref) {
|
35
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
36
|
+
key = _ref2[0],
|
37
|
+
Icon = _ref2[1];
|
38
|
+
if (!Icon.title) return false;
|
39
|
+
if (keyword && !key.toLowerCase().includes(keyword.toLowerCase()) && !Icon.title.toLowerCase().includes(keyword.toLowerCase())) return false;
|
40
|
+
return true;
|
41
|
+
});
|
42
|
+
}, [keyword]);
|
43
|
+
var isMono = type === ColorType.Mono;
|
44
|
+
return /*#__PURE__*/_jsxs(Flexbox, {
|
45
|
+
gap: 16,
|
27
46
|
style: {
|
28
|
-
flexWrap: 'wrap',
|
29
47
|
maxWidth: 960
|
30
48
|
},
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
49
|
+
width: '100%',
|
50
|
+
children: [/*#__PURE__*/_jsxs(Flexbox, {
|
51
|
+
align: 'center',
|
52
|
+
gap: 12,
|
53
|
+
horizontal: true,
|
54
|
+
children: [/*#__PURE__*/_jsx(SearchBar, {
|
55
|
+
defaultValue: keyword,
|
56
|
+
onSearch: function onSearch(v) {
|
57
|
+
return setKeyword(v);
|
58
|
+
},
|
59
|
+
placeholder: 'Search by brand or model keywords...',
|
60
|
+
style: {
|
61
|
+
width: '100%'
|
62
|
+
},
|
63
|
+
variant: 'filled'
|
64
|
+
}), /*#__PURE__*/_jsx(Segmented, {
|
65
|
+
defaultValue: type,
|
66
|
+
onChange: function onChange(v) {
|
67
|
+
return setType(v);
|
68
|
+
},
|
69
|
+
options: [{
|
70
|
+
label: 'Color',
|
71
|
+
value: ColorType.Color
|
72
|
+
}, {
|
73
|
+
label: 'Mono',
|
74
|
+
value: ColorType.Mono
|
75
|
+
}],
|
76
|
+
style: {
|
77
|
+
border: "1px solid ".concat(theme.colorBorder)
|
78
|
+
}
|
79
|
+
})]
|
80
|
+
}), /*#__PURE__*/_jsx(Grid, {
|
81
|
+
maxItemWidth: 200,
|
82
|
+
rows: 8,
|
83
|
+
children: iconsGroup.map(function (_ref3) {
|
84
|
+
var _ref4 = _slicedToArray(_ref3, 2),
|
85
|
+
key = _ref4[0],
|
86
|
+
Icon = _ref4[1];
|
87
|
+
var IconRender = isMono ? Icon : Icon.Color || Icon;
|
88
|
+
return /*#__PURE__*/_jsx(IconItem, {
|
89
|
+
color: Icon.colorPrimary,
|
90
|
+
id: key,
|
91
|
+
title: Icon.title,
|
92
|
+
children: /*#__PURE__*/_jsx(IconRender, {
|
93
|
+
size: 56
|
94
|
+
})
|
95
|
+
}, key);
|
96
|
+
})
|
97
|
+
})]
|
40
98
|
});
|
41
99
|
});
|
42
100
|
export default Dashboard;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const customKebabCase: (string: string) => string;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { kebabCase } from 'lodash-es';
|
2
|
+
export var customKebabCase = function customKebabCase(string) {
|
3
|
+
var parts = string.match(/[A-Z]{2,}(?=[A-Z][a-z]+\d*|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g);
|
4
|
+
if (!parts) return string;
|
5
|
+
return parts.map(function (part) {
|
6
|
+
if (/\d/.test(part)) {
|
7
|
+
return part.toLowerCase();
|
8
|
+
}
|
9
|
+
return kebabCase(part);
|
10
|
+
}).join('-');
|
11
|
+
};
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["className", "placement", "size", "onClick"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
3
|
var _templateObject, _templateObject2;
|
2
4
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
5
|
import { CopyButton } from '@lobehub/ui';
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
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; }
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["Icon", "style", "Text", "color", "size", "spaceMultiple", "textMultiple", "extra", "extraStyle", "showText", "showLogo", "extraClassName", "iconProps", "inverse"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["model", "size", "type"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["provider", "size", "type"];
|
3
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; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
'use client';
|
2
|
+
|
1
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); }
|
2
4
|
var _excluded = ["provider", "size", "type", "forceMono"];
|
3
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; }
|
package/es/icons.d.ts
CHANGED
@@ -68,7 +68,6 @@ export { default as Perplexity, type CompoundedIcon as PerplexityProps } from '.
|
|
68
68
|
export { default as Pollinations, type CompoundedIcon as PollinationsProps } from './Pollinations';
|
69
69
|
export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
|
70
70
|
export { default as Qwen, type CompoundedIcon as QwenProps } from './Qwen';
|
71
|
-
export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Qwen';
|
72
71
|
export { default as Replicate, type CompoundedIcon as ReplicateProps } from './Replicate';
|
73
72
|
export { default as Runway, type CompoundedIcon as RunwayProps } from './Runway';
|
74
73
|
export { default as Rwkv, type CompoundedIcon as RwkvProps } from './Rwkv';
|
package/es/icons.js
CHANGED
@@ -68,7 +68,6 @@ export { default as Perplexity } from "./Perplexity";
|
|
68
68
|
export { default as Pollinations } from "./Pollinations";
|
69
69
|
export { default as Qingyan } from "./Qingyan";
|
70
70
|
export { default as Qwen } from "./Qwen";
|
71
|
-
export { default as Tongyi } from "./Qwen";
|
72
71
|
export { default as Replicate } from "./Replicate";
|
73
72
|
export { default as Runway } from "./Runway";
|
74
73
|
export { default as Rwkv } from "./Rwkv";
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
package/es/toc.d.ts
ADDED