@lobehub/icons 1.11.2 → 1.13.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 +51 -42
- package/es/Anthropic/components/Avatar.js +2 -1
- package/es/Anthropic/components/Mono.js +7 -3
- package/es/Anthropic/components/Text.js +7 -3
- package/es/Anthropic/index.d.ts +1 -0
- package/es/Anthropic/index.js +2 -1
- package/es/Anthropic/style.d.ts +2 -1
- package/es/Anthropic/style.js +2 -1
- package/es/Automatic/components/Avatar.js +2 -1
- package/es/Automatic/components/Color.js +6 -3
- package/es/Automatic/components/Combine.js +2 -1
- package/es/Automatic/components/Mono.js +6 -3
- package/es/Automatic/index.d.ts +1 -0
- package/es/Automatic/index.js +2 -1
- package/es/Automatic/style.d.ts +1 -0
- package/es/Automatic/style.js +1 -0
- package/es/Aws/components/Avatar.js +2 -1
- package/es/Aws/components/BrandColor.js +6 -3
- package/es/Aws/components/BrandMono.js +6 -3
- package/es/Aws/components/Color.js +6 -3
- package/es/Aws/components/Combine.js +2 -1
- package/es/Aws/components/Mono.js +6 -3
- package/es/Aws/components/Text.js +7 -3
- package/es/Aws/index.d.ts +1 -0
- package/es/Aws/index.js +2 -1
- package/es/Aws/style.d.ts +1 -0
- package/es/Aws/style.js +1 -0
- package/es/Azure/components/Avatar.js +2 -1
- package/es/Azure/components/Color.js +4 -1
- package/es/Azure/components/Combine.js +2 -1
- package/es/Azure/components/Mono.js +4 -1
- package/es/Azure/components/Text.js +7 -3
- package/es/Azure/index.d.ts +1 -0
- package/es/Azure/index.js +2 -1
- package/es/Azure/style.d.ts +1 -0
- package/es/Azure/style.js +1 -0
- package/es/Baichuan/components/Avatar.js +2 -1
- package/es/Baichuan/components/Color.js +5 -2
- package/es/Baichuan/components/Combine.js +2 -1
- package/es/Baichuan/components/Mono.js +7 -3
- package/es/Baichuan/components/Text.js +7 -3
- package/es/Baichuan/index.d.ts +1 -0
- package/es/Baichuan/index.js +2 -1
- package/es/Baichuan/style.d.ts +1 -0
- package/es/Baichuan/style.js +1 -0
- package/es/Bedrock/components/Avatar.js +2 -1
- package/es/Bedrock/components/Color.js +5 -2
- package/es/Bedrock/components/Combine.js +2 -2
- package/es/Bedrock/components/Mono.js +7 -3
- package/es/Bedrock/components/Text.js +7 -3
- package/es/Bedrock/index.d.ts +1 -0
- package/es/Bedrock/index.js +2 -1
- package/es/Bedrock/style.d.ts +1 -0
- package/es/Bedrock/style.js +1 -0
- package/es/Bing/components/Avatar.js +2 -1
- package/es/Bing/components/Color.js +5 -2
- package/es/Bing/components/Combine.js +2 -1
- package/es/Bing/components/Mono.js +7 -3
- package/es/Bing/components/Text.js +7 -3
- package/es/Bing/index.d.ts +1 -0
- package/es/Bing/index.js +2 -1
- package/es/Bing/style.d.ts +1 -0
- package/es/Bing/style.js +1 -0
- package/es/ChatGLM/components/Avatar.js +2 -1
- package/es/ChatGLM/components/Color.js +5 -2
- package/es/ChatGLM/components/Combine.js +2 -1
- package/es/ChatGLM/components/Mono.js +7 -3
- package/es/ChatGLM/components/Text.js +7 -3
- package/es/ChatGLM/index.d.ts +1 -0
- package/es/ChatGLM/index.js +2 -1
- package/es/ChatGLM/style.d.ts +1 -0
- package/es/ChatGLM/style.js +1 -0
- package/es/Claude/components/Avatar.d.ts +5 -0
- package/es/Claude/components/Avatar.js +20 -0
- package/es/Claude/components/Color.d.ts +3 -0
- package/es/Claude/components/Color.js +35 -0
- package/es/Claude/components/Combine.d.ts +7 -0
- package/es/Claude/components/Combine.js +26 -0
- package/es/Claude/components/Mono.d.ts +3 -0
- package/es/Claude/components/Mono.js +35 -0
- package/es/Claude/components/Text.d.ts +3 -0
- package/es/Claude/components/Text.js +35 -0
- package/es/Claude/index.d.ts +15 -0
- package/es/Claude/index.js +14 -0
- package/es/Claude/style.d.ts +4 -0
- package/es/Claude/style.js +4 -0
- package/es/Cloudflare/components/Avatar.js +2 -1
- package/es/Cloudflare/components/Color.js +6 -3
- package/es/Cloudflare/components/Combine.js +2 -1
- package/es/Cloudflare/components/Mono.js +6 -3
- package/es/Cloudflare/components/Text.js +7 -3
- package/es/Cloudflare/index.d.ts +1 -0
- package/es/Cloudflare/index.js +2 -1
- package/es/Cloudflare/style.d.ts +1 -0
- package/es/Cloudflare/style.js +1 -0
- package/es/Cohere/components/Avatar.js +2 -1
- package/es/Cohere/components/Color.js +4 -1
- package/es/Cohere/components/Combine.js +2 -1
- package/es/Cohere/components/Mono.js +4 -1
- package/es/Cohere/components/Text.js +7 -3
- package/es/Cohere/index.d.ts +1 -0
- package/es/Cohere/index.js +2 -1
- package/es/Cohere/style.d.ts +1 -0
- package/es/Cohere/style.js +1 -0
- package/es/Colab/components/Avatar.js +2 -1
- package/es/Colab/components/Color.js +6 -3
- package/es/Colab/components/Combine.js +2 -1
- package/es/Colab/components/Mono.js +7 -3
- package/es/Colab/components/Text.js +7 -3
- package/es/Colab/index.d.ts +1 -0
- package/es/Colab/index.js +2 -1
- package/es/Colab/style.d.ts +1 -0
- package/es/Colab/style.js +1 -0
- package/es/Copilot/components/Avatar.js +2 -1
- package/es/Copilot/components/Color.js +5 -2
- package/es/Copilot/components/Combine.js +2 -1
- package/es/Copilot/components/Mono.js +7 -3
- package/es/Copilot/components/Text.js +7 -3
- package/es/Copilot/index.d.ts +1 -0
- package/es/Copilot/index.js +2 -1
- package/es/Copilot/style.d.ts +1 -0
- package/es/Copilot/style.js +1 -0
- package/es/Dalle/components/Avatar.js +3 -4
- package/es/Dalle/components/Color.js +6 -3
- package/es/Dalle/components/Combine.js +2 -1
- package/es/Dalle/components/Mono.js +6 -3
- package/es/Dalle/components/Text.js +7 -3
- package/es/Dalle/index.d.ts +2 -0
- package/es/Dalle/index.js +3 -1
- package/es/Dalle/style.d.ts +2 -0
- package/es/Dalle/style.js +3 -1
- package/es/DeepMind/components/Avatar.js +2 -1
- package/es/DeepMind/components/Color.js +7 -3
- package/es/DeepMind/components/Combine.js +2 -1
- package/es/DeepMind/components/Mono.js +7 -3
- package/es/DeepMind/components/Text.js +7 -3
- package/es/DeepMind/index.d.ts +1 -0
- package/es/DeepMind/index.js +2 -1
- package/es/DeepMind/style.d.ts +1 -0
- package/es/DeepMind/style.js +1 -0
- package/es/Fireworks/components/Avatar.js +2 -1
- package/es/Fireworks/components/Combine.js +2 -1
- package/es/Fireworks/components/Mono.js +7 -3
- package/es/Fireworks/components/Text.js +7 -3
- package/es/Fireworks/index.d.ts +1 -0
- package/es/Fireworks/index.js +2 -1
- package/es/Fireworks/style.d.ts +1 -0
- package/es/Fireworks/style.js +1 -0
- package/es/Gemini/components/Avatar.js +2 -1
- package/es/Gemini/components/BrandColor.js +5 -2
- package/es/Gemini/components/BrandMono.js +7 -3
- package/es/Gemini/components/Color.js +5 -2
- package/es/Gemini/components/Combine.js +2 -1
- package/es/Gemini/components/Mono.js +7 -3
- package/es/Gemini/components/Text.js +7 -3
- package/es/Gemini/index.d.ts +1 -0
- package/es/Gemini/index.js +2 -1
- package/es/Gemini/style.d.ts +1 -0
- package/es/Gemini/style.js +1 -0
- package/es/Gemma/components/Avatar.js +2 -1
- package/es/Gemma/components/Color.js +5 -2
- package/es/Gemma/components/Combine.js +2 -1
- package/es/Gemma/components/Mono.js +7 -3
- package/es/Gemma/components/Simple.js +7 -3
- package/es/Gemma/components/Text.js +7 -3
- package/es/Gemma/index.d.ts +1 -0
- package/es/Gemma/index.js +2 -1
- package/es/Gemma/style.d.ts +1 -0
- package/es/Gemma/style.js +1 -0
- package/es/Github/components/Avatar.js +2 -1
- package/es/Github/components/Combine.js +2 -1
- package/es/Github/components/Mono.js +7 -3
- package/es/Github/components/Text.js +7 -3
- package/es/Github/index.d.ts +1 -0
- package/es/Github/index.js +2 -1
- package/es/Github/style.d.ts +1 -0
- package/es/Github/style.js +1 -0
- package/es/GithubCopilot/components/Avatar.js +2 -1
- package/es/GithubCopilot/components/Combine.js +2 -1
- package/es/GithubCopilot/components/Mono.js +7 -3
- package/es/GithubCopilot/components/Text.js +7 -3
- package/es/GithubCopilot/index.d.ts +1 -0
- package/es/GithubCopilot/index.js +2 -1
- package/es/GithubCopilot/style.d.ts +1 -0
- package/es/GithubCopilot/style.js +1 -0
- package/es/Google/components/Avatar.js +2 -1
- package/es/Google/components/BrandColor.js +6 -3
- package/es/Google/components/BrandMono.js +7 -3
- package/es/Google/components/Color.js +6 -3
- package/es/Google/components/Mono.js +7 -3
- package/es/Google/index.d.ts +1 -0
- package/es/Google/index.js +2 -1
- package/es/Google/style.d.ts +1 -0
- package/es/Google/style.js +1 -0
- package/es/Groq/components/Avatar.d.ts +5 -0
- package/es/Groq/components/Avatar.js +20 -0
- package/es/Groq/components/Mono.d.ts +3 -0
- package/es/Groq/components/Mono.js +35 -0
- package/es/Groq/components/Text.d.ts +3 -0
- package/es/Groq/components/Text.js +35 -0
- package/es/Groq/index.d.ts +11 -0
- package/es/Groq/index.js +10 -0
- package/es/Groq/style.d.ts +4 -0
- package/es/Groq/style.js +4 -0
- package/es/HuggingFace/components/Avatar.js +2 -1
- package/es/HuggingFace/components/Color.js +6 -3
- package/es/HuggingFace/components/Combine.js +2 -1
- package/es/HuggingFace/components/Mono.js +7 -3
- package/es/HuggingFace/components/Text.js +7 -3
- package/es/HuggingFace/index.d.ts +1 -0
- package/es/HuggingFace/index.js +2 -1
- package/es/HuggingFace/style.d.ts +1 -0
- package/es/HuggingFace/style.js +1 -0
- package/es/Hunyuan/components/Avatar.js +2 -1
- package/es/Hunyuan/components/Color.js +6 -3
- package/es/Hunyuan/components/Combine.js +2 -1
- package/es/Hunyuan/components/Mono.js +7 -3
- package/es/Hunyuan/components/Text.js +7 -3
- package/es/Hunyuan/index.d.ts +1 -0
- package/es/Hunyuan/index.js +2 -1
- package/es/Hunyuan/style.d.ts +1 -0
- package/es/Hunyuan/style.js +1 -0
- package/es/IconAvatar/index.d.ts +1 -1
- package/es/IconAvatar/index.js +1 -1
- package/es/LLaVA/components/Avatar.d.ts +5 -0
- package/es/LLaVA/components/Avatar.js +20 -0
- package/es/LLaVA/components/Color.d.ts +3 -0
- package/es/LLaVA/components/Color.js +365 -0
- package/es/LLaVA/components/Combine.d.ts +7 -0
- package/es/LLaVA/components/Combine.js +30 -0
- package/es/LLaVA/components/Mono.d.ts +3 -0
- package/es/LLaVA/components/Mono.js +35 -0
- package/es/LLaVA/components/Text.d.ts +3 -0
- package/es/LLaVA/components/Text.js +35 -0
- package/es/LLaVA/index.d.ts +16 -0
- package/es/LLaVA/index.js +15 -0
- package/es/LLaVA/style.d.ts +5 -0
- package/es/LLaVA/style.js +5 -0
- package/es/Meta/components/Avatar.js +2 -1
- package/es/Meta/components/BrandColor.js +5 -2
- package/es/Meta/components/BrandMono.js +7 -3
- package/es/Meta/components/Color.js +5 -2
- package/es/Meta/components/Combine.js +2 -1
- package/es/Meta/components/Mono.js +7 -3
- package/es/Meta/components/Text.js +7 -3
- package/es/Meta/index.d.ts +1 -0
- package/es/Meta/index.js +2 -1
- package/es/Meta/style.d.ts +1 -0
- package/es/Meta/style.js +1 -0
- package/es/Midjourney/components/Avatar.js +2 -1
- package/es/Midjourney/components/Combine.js +2 -1
- package/es/Midjourney/components/Mono.js +7 -3
- package/es/Midjourney/components/Text.js +7 -3
- package/es/Midjourney/index.d.ts +1 -0
- package/es/Midjourney/index.js +2 -1
- package/es/Midjourney/style.d.ts +1 -0
- package/es/Midjourney/style.js +1 -0
- package/es/Minimax/components/Avatar.js +2 -1
- package/es/Minimax/components/Color.js +5 -2
- package/es/Minimax/components/Combine.js +2 -1
- package/es/Minimax/components/Mono.js +7 -3
- package/es/Minimax/components/Text.js +7 -3
- package/es/Minimax/index.d.ts +1 -0
- package/es/Minimax/index.js +2 -1
- package/es/Minimax/style.d.ts +1 -0
- package/es/Minimax/style.js +1 -0
- package/es/Mistral/components/Avatar.js +2 -1
- package/es/Mistral/components/Color.js +6 -3
- package/es/Mistral/components/Combine.js +2 -1
- package/es/Mistral/components/Mono.js +6 -3
- package/es/Mistral/components/Text.js +7 -3
- package/es/Mistral/index.d.ts +1 -0
- package/es/Mistral/index.js +2 -1
- package/es/Mistral/style.d.ts +1 -0
- package/es/Mistral/style.js +1 -0
- package/es/Moonshot/components/Avatar.js +2 -1
- package/es/Moonshot/components/Combine.js +2 -2
- package/es/Moonshot/components/Mono.js +7 -3
- package/es/Moonshot/components/Text.js +7 -3
- package/es/Moonshot/index.d.ts +1 -0
- package/es/Moonshot/index.js +2 -1
- package/es/Moonshot/style.d.ts +1 -0
- package/es/Moonshot/style.js +1 -0
- package/es/Nvidia/components/Avatar.js +2 -1
- package/es/Nvidia/components/Color.js +7 -3
- package/es/Nvidia/components/Combine.js +2 -1
- package/es/Nvidia/components/Mono.js +7 -3
- package/es/Nvidia/components/Text.js +7 -3
- package/es/Nvidia/index.d.ts +1 -0
- package/es/Nvidia/index.js +2 -1
- package/es/Nvidia/style.d.ts +1 -0
- package/es/Nvidia/style.js +1 -0
- package/es/Ollama/components/Avatar.js +2 -1
- package/es/Ollama/components/Combine.js +2 -2
- package/es/Ollama/components/Mono.js +7 -3
- package/es/Ollama/components/Text.js +7 -3
- package/es/Ollama/index.d.ts +1 -0
- package/es/Ollama/index.js +2 -1
- package/es/Ollama/style.d.ts +1 -0
- package/es/Ollama/style.js +1 -0
- package/es/OpenAI/components/Avatar.js +2 -1
- package/es/OpenAI/components/Combine.js +2 -2
- package/es/OpenAI/components/Mono.js +7 -3
- package/es/OpenAI/components/Text.js +7 -3
- package/es/OpenAI/index.d.ts +1 -0
- package/es/OpenAI/index.js +2 -1
- package/es/OpenAI/style.d.ts +1 -0
- package/es/OpenAI/style.js +1 -0
- package/es/OpenRouter/components/Avatar.d.ts +5 -0
- package/es/OpenRouter/components/Avatar.js +22 -0
- package/es/OpenRouter/components/Combine.d.ts +5 -0
- package/es/OpenRouter/components/Combine.js +21 -0
- package/es/OpenRouter/components/Mono.d.ts +3 -0
- package/es/OpenRouter/components/Mono.js +35 -0
- package/es/OpenRouter/components/Text.d.ts +3 -0
- package/es/OpenRouter/components/Text.js +35 -0
- package/es/OpenRouter/index.d.ts +13 -0
- package/es/OpenRouter/index.js +12 -0
- package/es/OpenRouter/style.d.ts +4 -0
- package/es/OpenRouter/style.js +4 -0
- package/es/Perplexity/components/Avatar.js +2 -1
- package/es/Perplexity/components/Color.js +7 -3
- package/es/Perplexity/components/Combine.js +2 -2
- package/es/Perplexity/components/Mono.js +7 -3
- package/es/Perplexity/components/Text.js +7 -3
- package/es/Perplexity/index.d.ts +1 -0
- package/es/Perplexity/index.js +2 -1
- package/es/Perplexity/style.d.ts +1 -0
- package/es/Perplexity/style.js +1 -0
- package/es/Pollinations/components/Avatar.js +2 -1
- package/es/Pollinations/components/Combine.js +2 -1
- package/es/Pollinations/components/Mono.js +7 -3
- package/es/Pollinations/components/Text.js +7 -3
- package/es/Pollinations/index.d.ts +1 -0
- package/es/Pollinations/index.js +2 -1
- package/es/Pollinations/style.d.ts +1 -0
- package/es/Pollinations/style.js +1 -0
- package/es/Qingyan/components/Avatar.js +2 -1
- package/es/Qingyan/components/Color.js +6 -3
- package/es/Qingyan/components/Combine.js +2 -1
- package/es/Qingyan/components/Mono.js +6 -3
- package/es/Qingyan/components/Text.js +7 -3
- package/es/Qingyan/index.d.ts +1 -0
- package/es/Qingyan/index.js +2 -1
- package/es/Qingyan/style.d.ts +1 -0
- package/es/Qingyan/style.js +1 -0
- package/es/Replicate/components/Avatar.js +2 -1
- package/es/Replicate/components/BrandMono.js +7 -3
- package/es/Replicate/components/Mono.js +7 -3
- package/es/Replicate/index.d.ts +1 -0
- package/es/Replicate/index.js +2 -1
- package/es/Replicate/style.d.ts +1 -0
- package/es/Replicate/style.js +1 -0
- package/es/Spark/components/Avatar.js +2 -1
- package/es/Spark/components/Color.js +4 -1
- package/es/Spark/components/Combine.js +2 -1
- package/es/Spark/components/Mono.js +4 -1
- package/es/Spark/components/Text.js +4 -1
- package/es/Spark/index.d.ts +1 -0
- package/es/Spark/index.js +2 -1
- package/es/Spark/style.d.ts +1 -0
- package/es/Spark/style.js +1 -0
- package/es/Stability/components/Avatar.js +2 -1
- package/es/Stability/components/BrandColor.js +5 -2
- package/es/Stability/components/BrandMono.js +6 -3
- package/es/Stability/components/Color.js +5 -2
- package/es/Stability/components/Combine.js +2 -1
- package/es/Stability/components/Mono.js +6 -3
- package/es/Stability/components/Text.js +7 -3
- package/es/Stability/index.d.ts +1 -0
- package/es/Stability/index.js +2 -1
- package/es/Stability/style.d.ts +1 -0
- package/es/Stability/style.js +1 -0
- package/es/Tongyi/components/Avatar.js +2 -1
- package/es/Tongyi/components/Color.js +5 -2
- package/es/Tongyi/components/Combine.js +2 -1
- package/es/Tongyi/components/Mono.js +7 -3
- package/es/Tongyi/components/Text.js +7 -3
- package/es/Tongyi/index.d.ts +1 -0
- package/es/Tongyi/index.js +2 -1
- package/es/Tongyi/style.d.ts +1 -0
- package/es/Tongyi/style.js +1 -0
- package/es/Wenxin/components/Avatar.js +2 -1
- package/es/Wenxin/components/Color.js +5 -2
- package/es/Wenxin/components/Combine.js +2 -1
- package/es/Wenxin/components/Mono.js +7 -3
- package/es/Wenxin/components/Text.js +7 -3
- package/es/Wenxin/index.d.ts +1 -0
- package/es/Wenxin/index.js +2 -1
- package/es/Wenxin/style.d.ts +1 -0
- package/es/Wenxin/style.js +1 -0
- package/es/WorkersAI/components/Avatar.js +2 -1
- package/es/WorkersAI/components/Color.js +7 -3
- package/es/WorkersAI/components/Combine.js +2 -1
- package/es/WorkersAI/components/Mono.js +7 -3
- package/es/WorkersAI/components/Text.js +7 -3
- package/es/WorkersAI/index.d.ts +1 -0
- package/es/WorkersAI/index.js +2 -1
- package/es/WorkersAI/style.d.ts +1 -0
- package/es/WorkersAI/style.js +1 -0
- package/es/Zhipu/components/Avatar.js +2 -1
- package/es/Zhipu/components/Color.js +7 -3
- package/es/Zhipu/components/Combine.js +2 -2
- package/es/Zhipu/components/Mono.js +7 -3
- package/es/Zhipu/components/Text.js +7 -3
- package/es/Zhipu/index.d.ts +1 -0
- package/es/Zhipu/index.js +2 -1
- package/es/Zhipu/style.d.ts +1 -0
- package/es/Zhipu/style.js +1 -0
- package/es/components/Editor/Color.js +1 -1
- package/es/components/Editor/Mono.js +1 -1
- package/es/components/Editor/Text.d.ts +8 -0
- package/es/components/Editor/Text.js +47 -0
- package/es/components/Editor/index.js +10 -3
- package/es/hooks/useFillId.js +2 -2
- package/es/index.d.ts +4 -0
- package/es/index.js +4 -0
- package/package.json +10 -4
|
@@ -4,13 +4,15 @@ var _excluded = ["size", "style"];
|
|
|
4
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
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
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { TITLE } from "../style";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
11
|
var _ref$size = _ref.size,
|
|
10
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
13
|
style = _ref.style,
|
|
12
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
14
16
|
height: size,
|
|
15
17
|
ref: ref,
|
|
16
18
|
style: _objectSpread({
|
|
@@ -21,11 +23,13 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21
23
|
width: size,
|
|
22
24
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23
25
|
}, rest), {}, {
|
|
24
|
-
children: /*#__PURE__*/_jsx("
|
|
26
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
27
|
+
children: TITLE
|
|
28
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
25
29
|
d: "M20.456 9.401c-1.127 0-2.109.77-2.436 1.832h-5.198v-3.92h1.672l1.636-.916c.4.294.909.44 1.418.44a2.562 2.562 0 002.544-2.564 2.539 2.539 0 00-2.544-2.564 2.539 2.539 0 00-2.545 2.564c0 .33.073.66.182.952l-1.054.623h-1.272V1.745h-.037c-.472-.366-1.054-.586-1.635-.696h-.073a4.178 4.178 0 00-2.108.22c-.146.037-.291.11-.437.183h-.036c-.036.037-.073.037-.109.074-.618.366-1.09.879-1.454 1.465 0 .036-.036.073-.036.073l-.11.22c0 .037-.036.037-.036.073v.037H6.57c-1.054 0-2.072.44-2.799 1.172-.763.733-1.163 1.758-1.163 2.82 0 .257.037.513.073.77-.473.33-.872.769-1.163 1.282-.291.513-.436 1.062-.51 1.648a3.976 3.976 0 00.255 1.722c.218.55.546 1.062.945 1.465a4.498 4.498 0 00-.4 2.051c0 .696.182 1.392.51 2.052.327.659.763 1.172 1.308 1.611.473.367.981.623 1.563.806v-.036a4.58 4.58 0 001.745.22h.036c0 .036.036.036.036.036.328.623.837 1.099 1.454 1.465.037.037.073.037.11.073h.036c.145.074.29.147.436.184.509.22 1.09.293 1.636.256.145 0 .29-.037.472-.037h.037a4.032 4.032 0 001.635-.696V17.9h1.273l1.126.623a2.77 2.77 0 00-.181.952c0 1.392 1.126 2.565 2.544 2.565a2.539 2.539 0 002.544-2.565 2.539 2.539 0 00-2.544-2.564c-.545 0-1.018.184-1.418.44l-1.672-.916h-1.672V12.698h5.198c.327 1.062 1.272 1.831 2.436 1.831A2.562 2.562 0 0023 11.965a2.539 2.539 0 00-2.544-2.564zm-2.872-6.19c.582 0 1.09.476 1.09 1.099 0 .622-.472 1.098-1.09 1.098-.618 0-1.09-.476-1.09-1.098 0-.623.508-1.1 1.09-1.1zm0 15.165c.582 0 1.09.476 1.09 1.098 0 .623-.472 1.1-1.09 1.1-.618 0-1.09-.477-1.09-1.1 0-.622.508-1.098 1.09-1.098zm-6.216 2.857a.824.824 0 01-.4.11c-.072 0-.145.036-.181.036h-.073a2.1 2.1 0 01-.945-.11c-.363-.11-.69-.33-.981-.622-.255-.293-.473-.623-.582-.99l-.109-.549v-.256c0-.183.036-.367.109-.55.036-.073.036-.146.073-.256.036-.11.109-.22.181-.33 0-.036.037-.036.037-.073.036-.037.036-.073.072-.11.037-.037.037-.073.073-.11 0 0 0-.036.037-.036l.218-.22-.982-1.282c-.472.403-.836.879-1.054 1.428-.073.147-.145.33-.182.477v.036c-.036.073-.036.147-.036.22-.109.403-.145.842-.109 1.245-.11 0-.254 0-.364-.036-.8-.147-1.526-.55-1.999-1.172-.509-.623-.727-1.429-.654-2.235.036-.293.109-.586.218-.879l.11-.22c.035-.073.072-.146.108-.183 0 0 0-.037.037-.037.145-.256.327-.476.545-.696.581-.549 1.381-.842 2.18-.842.255 0 .51.037.764.11v-1.649c-.254-.036-.509-.073-.763-.073-.655 0-1.273.147-1.89.403-.255.11-.473.22-.691.366-.218.147-.4.293-.618.477-.109.073-.182.183-.29.293a2.917 2.917 0 01-.473-.953 2.613 2.613 0 010-1.062c.072-.366.218-.696.472-.952.218-.293.51-.513.836-.66l.655-.33-.255-.695a2.457 2.457 0 01-.145-1.136c.036-.366.181-.77.4-1.062.218-.33.508-.586.872-.77.327-.183.727-.292 1.09-.256.182 0 .364.037.546.073.363.074.654.257.945.477.29.22.509.512.654.842l1.49-.55A4.053 4.053 0 008.788 4.09a1.268 1.268 0 01-.328-.22c.146-.256.364-.513.582-.696.29-.256.654-.403 1.054-.476.327-.073.618-.037.945 0 .146.036.255.073.4.11v18.425h-.073zm9.088-8.169c-.582 0-1.09-.476-1.09-1.099 0-.586.472-1.099 1.09-1.099.618 0 1.09.477 1.09 1.1 0 .585-.472 1.098-1.09 1.098z",
|
|
26
30
|
fill: "#F38020",
|
|
27
31
|
fillRule: "nonzero"
|
|
28
|
-
})
|
|
32
|
+
})]
|
|
29
33
|
}));
|
|
30
34
|
});
|
|
31
35
|
export default Icon;
|
|
@@ -5,7 +5,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
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
6
|
import { memo } from 'react';
|
|
7
7
|
import IconCombine from "../../IconCombine";
|
|
8
|
-
import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
|
|
8
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
|
9
9
|
import Color from "./Color";
|
|
10
10
|
import Mono from "./Mono";
|
|
11
11
|
import Text from "./Text";
|
|
@@ -18,6 +18,7 @@ var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
|
18
18
|
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
19
19
|
Icon: Icon,
|
|
20
20
|
Text: Text,
|
|
21
|
+
"aria-label": TITLE,
|
|
21
22
|
spaceMultiple: SPACE_MULTIPLE,
|
|
22
23
|
textMultiple: TEXT_MULTIPLE
|
|
23
24
|
}, rest));
|
|
@@ -4,13 +4,15 @@ var _excluded = ["size", "style"];
|
|
|
4
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
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
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { TITLE } from "../style";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
11
|
var _ref$size = _ref.size,
|
|
10
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
13
|
style = _ref.style,
|
|
12
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
14
16
|
fill: "currentColor",
|
|
15
17
|
fillRule: "evenodd",
|
|
16
18
|
height: size,
|
|
@@ -23,9 +25,11 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
23
25
|
width: size,
|
|
24
26
|
xmlns: "http://www.w3.org/2000/svg"
|
|
25
27
|
}, rest), {}, {
|
|
26
|
-
children: /*#__PURE__*/_jsx("
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
27
31
|
d: "M20.456 9.401c-1.127 0-2.109.77-2.436 1.832h-5.198v-3.92h1.672l1.636-.916c.4.294.909.44 1.418.44a2.562 2.562 0 002.544-2.564 2.539 2.539 0 00-2.544-2.564 2.539 2.539 0 00-2.545 2.564c0 .33.073.66.182.952l-1.054.623h-1.272V1.745h-.037c-.472-.366-1.054-.586-1.635-.696h-.073a4.178 4.178 0 00-2.108.22c-.146.037-.291.11-.437.183h-.036c-.036.037-.073.037-.109.074-.618.366-1.09.879-1.454 1.465 0 .036-.036.073-.036.073l-.11.22c0 .037-.036.037-.036.073v.037H6.57c-1.054 0-2.072.44-2.799 1.172-.763.733-1.163 1.758-1.163 2.82 0 .257.037.513.073.77-.473.33-.872.769-1.163 1.282-.291.513-.436 1.062-.51 1.648a3.976 3.976 0 00.255 1.722c.218.55.546 1.062.945 1.465a4.498 4.498 0 00-.4 2.051c0 .696.182 1.392.51 2.052.327.659.763 1.172 1.308 1.611.473.367.981.623 1.563.806v-.036a4.58 4.58 0 001.745.22h.036c0 .036.036.036.036.036.328.623.837 1.099 1.454 1.465.037.037.073.037.11.073h.036c.145.074.29.147.436.184.509.22 1.09.293 1.636.256.145 0 .29-.037.472-.037h.037a4.032 4.032 0 001.635-.696V17.9h1.273l1.126.623a2.77 2.77 0 00-.181.952c0 1.392 1.126 2.565 2.544 2.565a2.539 2.539 0 002.544-2.565 2.539 2.539 0 00-2.544-2.564c-.545 0-1.018.184-1.418.44l-1.672-.916h-1.672V12.698h5.198c.327 1.062 1.272 1.831 2.436 1.831A2.562 2.562 0 0023 11.965a2.539 2.539 0 00-2.544-2.564zm-2.872-6.19c.582 0 1.09.476 1.09 1.099 0 .622-.472 1.098-1.09 1.098-.618 0-1.09-.476-1.09-1.098 0-.623.508-1.1 1.09-1.1zm0 15.165c.582 0 1.09.476 1.09 1.098 0 .623-.472 1.1-1.09 1.1-.618 0-1.09-.477-1.09-1.1 0-.622.508-1.098 1.09-1.098zm-6.216 2.857a.824.824 0 01-.4.11c-.072 0-.145.036-.181.036h-.073a2.1 2.1 0 01-.945-.11c-.363-.11-.69-.33-.981-.622-.255-.293-.473-.623-.582-.99l-.109-.549v-.256c0-.183.036-.367.109-.55.036-.073.036-.146.073-.256.036-.11.109-.22.181-.33 0-.036.037-.036.037-.073.036-.037.036-.073.072-.11.037-.037.037-.073.073-.11 0 0 0-.036.037-.036l.218-.22-.982-1.282c-.472.403-.836.879-1.054 1.428-.073.147-.145.33-.182.477v.036c-.036.073-.036.147-.036.22-.109.403-.145.842-.109 1.245-.11 0-.254 0-.364-.036-.8-.147-1.526-.55-1.999-1.172-.509-.623-.727-1.429-.654-2.235.036-.293.109-.586.218-.879l.11-.22c.035-.073.072-.146.108-.183 0 0 0-.037.037-.037.145-.256.327-.476.545-.696.581-.549 1.381-.842 2.18-.842.255 0 .51.037.764.11v-1.649c-.254-.036-.509-.073-.763-.073-.655 0-1.273.147-1.89.403-.255.11-.473.22-.691.366-.218.147-.4.293-.618.477-.109.073-.182.183-.29.293a2.917 2.917 0 01-.473-.953 2.613 2.613 0 010-1.062c.072-.366.218-.696.472-.952.218-.293.51-.513.836-.66l.655-.33-.255-.695a2.457 2.457 0 01-.145-1.136c.036-.366.181-.77.4-1.062.218-.33.508-.586.872-.77.327-.183.727-.292 1.09-.256.182 0 .364.037.546.073.363.074.654.257.945.477.29.22.509.512.654.842l1.49-.55A4.053 4.053 0 008.788 4.09a1.268 1.268 0 01-.328-.22c.146-.256.364-.513.582-.696.29-.256.654-.403 1.054-.476.327-.073.618-.037.945 0 .146.036.255.073.4.11v18.425h-.073zm9.088-8.169c-.582 0-1.09-.476-1.09-1.099 0-.586.472-1.099 1.09-1.099.618 0 1.09.477 1.09 1.1 0 .585-.472 1.098-1.09 1.098z"
|
|
28
|
-
})
|
|
32
|
+
})]
|
|
29
33
|
}));
|
|
30
34
|
});
|
|
31
35
|
export default Icon;
|
|
@@ -4,13 +4,15 @@ var _excluded = ["size", "style"];
|
|
|
4
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
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
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { TITLE } from "../style";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
11
|
var _ref$size = _ref.size,
|
|
10
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
13
|
style = _ref.style,
|
|
12
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
14
16
|
fill: "currentColor",
|
|
15
17
|
fillRule: "evenodd",
|
|
16
18
|
height: size,
|
|
@@ -23,9 +25,11 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
23
25
|
viewBox: "0 0 134 24",
|
|
24
26
|
xmlns: "http://www.w3.org/2000/svg"
|
|
25
27
|
}, rest), {}, {
|
|
26
|
-
children: /*#__PURE__*/_jsx("
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
27
31
|
d: "M34.127 6.765c4.391 0 7.277 2.853 7.277 7.59v.027c0 4.778-2.831 7.618-7.263 7.618-4.46 0-7.263-2.853-7.263-7.618v-.027c0-4.71 2.872-7.59 7.25-7.59zM6.281 2L9.4 16.116h.082L13.12 2h3.625l3.638 14.116h.083L23.598 2h4.281L22.64 21.7h-4.035L14.981 8.498h-.082L11.26 21.7H7.225L2 2h4.281zm27.846 7.89c-1.928 0-3.187 1.639-3.187 4.465v.027c0 2.867 1.245 4.492 3.215 4.492 1.942 0 3.187-1.639 3.187-4.492v-.027c0-2.826-1.272-4.464-3.215-4.464zm8.628 11.81h3.994v-8.191c0-2.13 1.15-3.304 3.12-3.304.574 0 1.12.082 1.449.218V6.915c-.3-.082-.711-.15-1.149-.15-1.71 0-2.9 1.05-3.337 2.853h-.083V7.065h-3.994V21.7zm29.69-14.935c4.295 0 6.99 2.907 6.99 7.33v1.23H69.34c.041 2.334 1.313 3.699 3.351 3.699 1.642 0 2.64-.901 2.928-1.72l.027-.082h3.666l-.041.15C78.819 19.529 76.795 22 72.609 22c-4.486 0-7.208-2.908-7.208-7.59v-.014c0-4.655 2.75-7.631 7.044-7.631zM56.376 2v10.922h.082l4.952-5.857h4.527l-5.54 6.293 5.814 8.342H61.6l-4.199-5.98-1.026 1.133V21.7h-3.994V2h3.994zm16.138 7.74c-1.642 0-2.873 1.093-3.133 3.072h6.224c-.246-2.02-1.436-3.071-3.091-3.071zm8.272 11.96h3.994v-8.191c0-2.13 1.15-3.304 3.119-3.304.574 0 1.121.082 1.45.218V6.915c-.301-.082-.712-.15-1.15-.15-1.709 0-2.899 1.05-3.337 2.853h-.082V7.065h-3.994V21.7zm15.522.3c3.775 0 6.415-1.884 6.415-4.75v-.015c0-2.157-1.258-3.358-4.322-4l-2.49-.532c-1.477-.314-1.983-.805-1.983-1.556v-.014c0-.942.862-1.556 2.243-1.556 1.478 0 2.34.792 2.476 1.843l.014.109h3.68v-.137c-.096-2.566-2.271-4.627-6.17-4.627-3.734 0-6.141 1.802-6.141 4.587v.013c0 2.184 1.436 3.604 4.281 4.205l2.49.519c1.436.314 1.928.764 1.928 1.542v.014c0 .942-.916 1.53-2.42 1.53-1.601 0-2.463-.67-2.723-1.817l-.027-.123H89.66l.013.123C89.99 20.13 92.246 22 96.308 22zm11.607-.3h4.336l1.491-4.778h6.976l1.491 4.778h4.336L119.665 2h-4.856l-6.894 19.7zm9.274-15.877h.082l2.49 8.013H114.7l2.49-8.013zM127.87 21.7H132V2h-4.13v19.7z"
|
|
28
|
-
})
|
|
32
|
+
})]
|
|
29
33
|
}));
|
|
30
34
|
});
|
|
31
35
|
export default Icon;
|
package/es/WorkersAI/index.d.ts
CHANGED
package/es/WorkersAI/index.js
CHANGED
|
@@ -3,11 +3,12 @@ import Color from "./components/Color";
|
|
|
3
3
|
import Combine from "./components/Combine";
|
|
4
4
|
import Mono from "./components/Mono";
|
|
5
5
|
import Text from "./components/Text";
|
|
6
|
-
import { COLOR_PRIMARY } from "./style";
|
|
6
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
7
7
|
var Icons = Mono;
|
|
8
8
|
Icons.Color = Color;
|
|
9
9
|
Icons.Text = Text;
|
|
10
10
|
Icons.Combine = Combine;
|
|
11
11
|
Icons.Avatar = Avatar;
|
|
12
12
|
Icons.colorPrimary = COLOR_PRIMARY;
|
|
13
|
+
Icons.title = TITLE;
|
|
13
14
|
export default Icons;
|
package/es/WorkersAI/style.d.ts
CHANGED
package/es/WorkersAI/style.js
CHANGED
|
@@ -5,7 +5,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
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
6
|
import { memo } from 'react';
|
|
7
7
|
import IconAvatar from "../../IconAvatar";
|
|
8
|
-
import { COLOR_PRIMARY } from "../style";
|
|
8
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
|
9
9
|
import Mono from "./Mono";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
@@ -13,6 +13,7 @@ var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
|
13
13
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
14
|
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
15
|
Icon: Mono,
|
|
16
|
+
"aria-label": TITLE,
|
|
16
17
|
background: background || COLOR_PRIMARY
|
|
17
18
|
}, rest));
|
|
18
19
|
});
|
|
@@ -4,13 +4,15 @@ var _excluded = ["size", "style"];
|
|
|
4
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
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
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { TITLE } from "../style";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
11
|
var _ref$size = _ref.size,
|
|
10
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
13
|
style = _ref.style,
|
|
12
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
14
16
|
height: size,
|
|
15
17
|
ref: ref,
|
|
16
18
|
style: _objectSpread({
|
|
@@ -21,11 +23,13 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21
23
|
width: size,
|
|
22
24
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23
25
|
}, rest), {}, {
|
|
24
|
-
children: /*#__PURE__*/_jsx("
|
|
26
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
27
|
+
children: TITLE
|
|
28
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
25
29
|
d: "M11.991 23.503a.24.24 0 00-.244.248.24.24 0 00.244.249.24.24 0 00.245-.249.24.24 0 00-.22-.247l-.025-.001zM9.671 5.365a1.697 1.697 0 011.099 2.132l-.071.172-.016.04-.018.054c-.07.16-.104.32-.104.498-.035.71.47 1.279 1.186 1.314h.366c1.309.053 2.338 1.173 2.286 2.523-.052 1.332-1.152 2.38-2.478 2.327h-.174c-.715.018-1.274.64-1.239 1.368 0 .124.018.23.053.337.209.373.54.658.96.8.75.23 1.517-.125 1.9-.782l.018-.035c.402-.64 1.17-.96 1.92-.711.854.284 1.378 1.226 1.099 2.167a1.661 1.661 0 01-2.077 1.102 1.711 1.711 0 01-.907-.711l-.017-.035c-.2-.323-.463-.58-.851-.711l-.056-.018a1.646 1.646 0 00-1.954.746 1.66 1.66 0 01-1.065.764 1.677 1.677 0 01-1.989-1.279c-.209-.906.332-1.83 1.257-2.043a1.51 1.51 0 01.296-.035h.018c.68-.071 1.151-.622 1.116-1.333a1.307 1.307 0 00-.227-.693 2.515 2.515 0 01-.366-1.403 2.39 2.39 0 01.366-1.208c.14-.195.21-.444.227-.693.018-.71-.506-1.261-1.186-1.332l-.07-.018a1.43 1.43 0 01-.299-.07l-.05-.019a1.7 1.7 0 01-1.047-2.114 1.68 1.68 0 012.094-1.101zm-5.575 10.11c.26-.264.639-.367.994-.27.355.096.633.379.728.74.095.362-.007.748-.267 1.013-.402.41-1.053.41-1.455 0a1.062 1.062 0 010-1.482zm14.845-.294c.359-.09.738.024.992.297.254.274.344.665.237 1.025-.107.36-.396.634-.756.718-.551.128-1.1-.22-1.23-.781a1.05 1.05 0 01.757-1.26zm-.064-4.39c.314.32.49.753.49 1.206 0 .452-.176.886-.49 1.206-.315.32-.74.5-1.185.5-.444 0-.87-.18-1.184-.5a1.727 1.727 0 010-2.412 1.654 1.654 0 012.369 0zm-11.243.163c.364.484.447 1.128.218 1.691a1.665 1.665 0 01-2.188.923c-.855-.36-1.26-1.358-.907-2.228a1.68 1.68 0 011.33-1.038c.593-.08 1.183.169 1.547.652zm11.545-4.221c.368 0 .708.2.892.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.892.524c-.568 0-1.03-.47-1.03-1.048 0-.579.462-1.048 1.03-1.048zm-14.358 0c.368 0 .707.2.891.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.891.524c-.569 0-1.03-.47-1.03-1.048 0-.579.461-1.048 1.03-1.048zm10.031-1.475c.925 0 1.675.764 1.675 1.706s-.75 1.705-1.675 1.705-1.674-.763-1.674-1.705c0-.942.75-1.706 1.674-1.706zm-2.626-.684c.362-.082.653-.356.761-.718a1.062 1.062 0 00-.238-1.028 1.017 1.017 0 00-.996-.294c-.547.14-.881.7-.752 1.257.13.558.675.907 1.225.783zm0 16.876c.359-.087.644-.36.75-.72a1.062 1.062 0 00-.237-1.019 1.018 1.018 0 00-.985-.301 1.037 1.037 0 00-.762.717c-.108.361-.017.754.239 1.028.245.263.606.377.953.305l.043-.01zM17.19 3.5a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64a.631.631 0 00-.628.64c0 .355.28.64.628.64zm-10.38 0a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64a.631.631 0 00-.628.64c0 .355.279.64.628.64zm-5.182 7.852a.631.631 0 00-.628.64c0 .354.28.639.628.639a.63.63 0 00.627-.606l.001-.034a.62.62 0 00-.628-.64zm5.182 9.13a.631.631 0 00-.628.64c0 .355.279.64.628.64a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm10.38.018a.631.631 0 00-.628.64c0 .355.28.64.628.64a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64zm5.182-9.148a.631.631 0 00-.628.64c0 .354.279.639.628.639a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm-.384-4.992a.24.24 0 00.244-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249c0 .142.122.249.244.249zM11.991.497a.24.24 0 00.245-.248A.24.24 0 0011.99 0a.24.24 0 00-.244.249c0 .133.108.236.223.247l.021.001zM2.011 6.36a.24.24 0 00.245-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249.24.24 0 00.244.249zm0 11.263a.24.24 0 00-.243.248.24.24 0 00.244.249.24.24 0 00.244-.249.252.252 0 00-.244-.248zm19.995-.018a.24.24 0 00-.245.248.24.24 0 00.245.25.24.24 0 00.244-.25.252.252 0 00-.244-.248z",
|
|
26
30
|
fill: "#3859FF",
|
|
27
31
|
fillRule: "nonzero"
|
|
28
|
-
})
|
|
32
|
+
})]
|
|
29
33
|
}));
|
|
30
34
|
});
|
|
31
35
|
export default Icon;
|
|
@@ -5,7 +5,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
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
6
|
import { memo } from 'react';
|
|
7
7
|
import IconCombine from "../../IconCombine";
|
|
8
|
-
import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
|
|
8
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
|
9
9
|
import Color from "./Color";
|
|
10
10
|
import Mono from "./Mono";
|
|
11
11
|
import Text from "./Text";
|
|
@@ -18,7 +18,7 @@ var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
|
18
18
|
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
19
19
|
Icon: Icon,
|
|
20
20
|
Text: Text,
|
|
21
|
-
"aria-label":
|
|
21
|
+
"aria-label": TITLE,
|
|
22
22
|
spaceMultiple: SPACE_MULTIPLE,
|
|
23
23
|
textMultiple: TEXT_MULTIPLE
|
|
24
24
|
}, rest));
|
|
@@ -4,13 +4,15 @@ var _excluded = ["size", "style"];
|
|
|
4
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
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
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { TITLE } from "../style";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
11
|
var _ref$size = _ref.size,
|
|
10
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
13
|
style = _ref.style,
|
|
12
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
14
16
|
fill: "currentColor",
|
|
15
17
|
fillRule: "evenodd",
|
|
16
18
|
height: size,
|
|
@@ -23,9 +25,11 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
23
25
|
width: size,
|
|
24
26
|
xmlns: "http://www.w3.org/2000/svg"
|
|
25
27
|
}, rest), {}, {
|
|
26
|
-
children: /*#__PURE__*/_jsx("
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
27
31
|
d: "M11.991 23.503a.24.24 0 00-.244.248.24.24 0 00.244.249.24.24 0 00.245-.249.24.24 0 00-.22-.247l-.025-.001zM9.671 5.365a1.697 1.697 0 011.099 2.132l-.071.172-.016.04-.018.054c-.07.16-.104.32-.104.498-.035.71.47 1.279 1.186 1.314h.366c1.309.053 2.338 1.173 2.286 2.523-.052 1.332-1.152 2.38-2.478 2.327h-.174c-.715.018-1.274.64-1.239 1.368 0 .124.018.23.053.337.209.373.54.658.96.8.75.23 1.517-.125 1.9-.782l.018-.035c.402-.64 1.17-.96 1.92-.711.854.284 1.378 1.226 1.099 2.167a1.661 1.661 0 01-2.077 1.102 1.711 1.711 0 01-.907-.711l-.017-.035c-.2-.323-.463-.58-.851-.711l-.056-.018a1.646 1.646 0 00-1.954.746 1.66 1.66 0 01-1.065.764 1.677 1.677 0 01-1.989-1.279c-.209-.906.332-1.83 1.257-2.043a1.51 1.51 0 01.296-.035h.018c.68-.071 1.151-.622 1.116-1.333a1.307 1.307 0 00-.227-.693 2.515 2.515 0 01-.366-1.403 2.39 2.39 0 01.366-1.208c.14-.195.21-.444.227-.693.018-.71-.506-1.261-1.186-1.332l-.07-.018a1.43 1.43 0 01-.299-.07l-.05-.019a1.7 1.7 0 01-1.047-2.114 1.68 1.68 0 012.094-1.101zm-5.575 10.11c.26-.264.639-.367.994-.27.355.096.633.379.728.74.095.362-.007.748-.267 1.013-.402.41-1.053.41-1.455 0a1.062 1.062 0 010-1.482zm14.845-.294c.359-.09.738.024.992.297.254.274.344.665.237 1.025-.107.36-.396.634-.756.718-.551.128-1.1-.22-1.23-.781a1.05 1.05 0 01.757-1.26zm-.064-4.39c.314.32.49.753.49 1.206 0 .452-.176.886-.49 1.206-.315.32-.74.5-1.185.5-.444 0-.87-.18-1.184-.5a1.727 1.727 0 010-2.412 1.654 1.654 0 012.369 0zm-11.243.163c.364.484.447 1.128.218 1.691a1.665 1.665 0 01-2.188.923c-.855-.36-1.26-1.358-.907-2.228a1.68 1.68 0 011.33-1.038c.593-.08 1.183.169 1.547.652zm11.545-4.221c.368 0 .708.2.892.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.892.524c-.568 0-1.03-.47-1.03-1.048 0-.579.462-1.048 1.03-1.048zm-14.358 0c.368 0 .707.2.891.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.891.524c-.569 0-1.03-.47-1.03-1.048 0-.579.461-1.048 1.03-1.048zm10.031-1.475c.925 0 1.675.764 1.675 1.706s-.75 1.705-1.675 1.705-1.674-.763-1.674-1.705c0-.942.75-1.706 1.674-1.706zm-2.626-.684c.362-.082.653-.356.761-.718a1.062 1.062 0 00-.238-1.028 1.017 1.017 0 00-.996-.294c-.547.14-.881.7-.752 1.257.13.558.675.907 1.225.783zm0 16.876c.359-.087.644-.36.75-.72a1.062 1.062 0 00-.237-1.019 1.018 1.018 0 00-.985-.301 1.037 1.037 0 00-.762.717c-.108.361-.017.754.239 1.028.245.263.606.377.953.305l.043-.01zM17.19 3.5a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64a.631.631 0 00-.628.64c0 .355.28.64.628.64zm-10.38 0a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64a.631.631 0 00-.628.64c0 .355.279.64.628.64zm-5.182 7.852a.631.631 0 00-.628.64c0 .354.28.639.628.639a.63.63 0 00.627-.606l.001-.034a.62.62 0 00-.628-.64zm5.182 9.13a.631.631 0 00-.628.64c0 .355.279.64.628.64a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm10.38.018a.631.631 0 00-.628.64c0 .355.28.64.628.64a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64zm5.182-9.148a.631.631 0 00-.628.64c0 .354.279.639.628.639a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm-.384-4.992a.24.24 0 00.244-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249c0 .142.122.249.244.249zM11.991.497a.24.24 0 00.245-.248A.24.24 0 0011.99 0a.24.24 0 00-.244.249c0 .133.108.236.223.247l.021.001zM2.011 6.36a.24.24 0 00.245-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249.24.24 0 00.244.249zm0 11.263a.24.24 0 00-.243.248.24.24 0 00.244.249.24.24 0 00.244-.249.252.252 0 00-.244-.248zm19.995-.018a.24.24 0 00-.245.248.24.24 0 00.245.25.24.24 0 00.244-.25.252.252 0 00-.244-.248z"
|
|
28
|
-
})
|
|
32
|
+
})]
|
|
29
33
|
}));
|
|
30
34
|
});
|
|
31
35
|
export default Icon;
|
|
@@ -4,13 +4,15 @@ var _excluded = ["size", "style"];
|
|
|
4
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
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
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { TITLE } from "../style";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
11
|
var _ref$size = _ref.size,
|
|
10
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
13
|
style = _ref.style,
|
|
12
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
14
16
|
fill: "currentColor",
|
|
15
17
|
fillRule: "evenodd",
|
|
16
18
|
height: size,
|
|
@@ -23,9 +25,11 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
23
25
|
viewBox: "0 0 64 24",
|
|
24
26
|
xmlns: "http://www.w3.org/2000/svg"
|
|
25
27
|
}, rest), {}, {
|
|
26
|
-
children: /*#__PURE__*/_jsx("
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
27
31
|
d: "M63 3.405h-2.67v17.19H63V3.405zm-6.646 0l2.76 17.19h-2.7l-.297-1.943-.149-.927c-.03-.18-.267-.329-.534-.329H53.12c-.267 0-.504.15-.534.329l-.148.927-.297 1.943H49.68l2.73-17.19h3.945zm-2.106 3.797c-.178 0-.327.15-.356.359l-.92 7.503c0 .15.118.3.267.3h2.047c.148 0 .267-.12.237-.3l-.92-7.503c-.03-.21-.177-.36-.355-.36zm-10.325 5.5a1.31 1.31 0 001.305-1.315 1.31 1.31 0 00-1.305-1.315 1.31 1.31 0 00-1.306 1.315c0 .705.55 1.28 1.242 1.314l.064.002zm-7.329.987V22h-1.78v-.777H28.97V22h-1.72v-8.31h9.345zM4.136 2l1.662.15a6.024 6.024 0 01-.564 1.405h4.955v1.554H7.786c0 .21-.03.508-.06.867l-.002.74c-.005.567-.019 1.226-.057 1.323h3.026v1.554H7.46c.505.39 1.306.927 2.344 1.645.386.239.653.448.83.538l-.978 1.554h6.853v8.61h-1.84v-.867H5.947v.867h-1.78v-8.55c-.356.15-.742.359-1.098.628a17.279 17.279 0 00-1.038-1.644c1.899-.778 3.115-1.734 3.56-2.81H2.148V8.009h3.768c.09-.508.149-2.272.149-2.9H4.403a8.78 8.78 0 01-1.305 1.644c-.119-.09-.208-.239-.356-.388-.09-.18-.327-.449-.742-.867A8.205 8.205 0 004.136 2zm20.65 7.743v8.37l.129-.15a3.36 3.36 0 01.099-.108l.039-.04c.564-.568.95-1.017 1.157-1.346.119.538.208 1.256.356 2.183-1.305 1.196-2.284 2.242-2.937 3.109l-1.098-1.704c.326-.3.475-.777.475-1.465v-6.906h-1.454V9.743h3.234zm10.028 8.46H28.97v1.555h5.845v-1.555zm-20.145-.209H5.946v1.704h8.723v-1.704zm20.145-2.75H28.97v1.644h5.845v-1.644zm-20.145-.3H5.946v1.645h8.723v-1.644zM6.717 10.91c-.415.807-1.216 1.614-2.462 2.391h5.4l-.674-.558c-.445-.366-.977-.8-1.581-1.295l-.194-.172c-.188-.164-.355-.299-.489-.366zm21.273-8.49l1.662-.39.084.124c.116.175.251.395.416.648l.272.414c.308.473.535.84.682 1.087h1.661a21.46 21.46 0 001.365-2.242l1.72.388c-.118.09-.207.27-.355.539l-.175.276c-.147.23-.371.58-.656 1.039h3.026v1.465h-3.53v5.052h3.975v1.465h-12.49v-1.465h3.856V5.737H26.27V4.272h2.878l-.302-.52c-.38-.645-.665-1.094-.855-1.333zm-10.236.986v8.58h-6.379v-8.58h6.38zm14.924 2.332h-1.572v5.082h1.572V5.737zm-16.555-.598h-3.086v5.232h3.086V5.139zM26.21 7.59l1.157-.867.155.185c.175.213.409.51.676.892.386.448.653.807.83 1.076l-1.245.957-.113-.176a45.578 45.578 0 00-1.46-2.067zm10.206-.896l1.246.867-.058.095c-.192.307-.526.777-.98 1.37l-.203.304a3.5 3.5 0 01-.36.473l-1.217-.927.418-.54c.549-.714.939-1.256 1.154-1.642zm-14.39-3.289l1.366-.927.322.41c.533.68 1.162 1.513 1.873 2.55l-1.572 1.076-.09-.152c-.21-.348-.542-.86-.995-1.534l-.073-.108a24.604 24.604 0 01-.83-1.315z"
|
|
28
|
-
})
|
|
32
|
+
})]
|
|
29
33
|
}));
|
|
30
34
|
});
|
|
31
35
|
export default Icon;
|
package/es/Zhipu/index.d.ts
CHANGED
package/es/Zhipu/index.js
CHANGED
|
@@ -3,11 +3,12 @@ import Color from "./components/Color";
|
|
|
3
3
|
import Combine from "./components/Combine";
|
|
4
4
|
import Mono from "./components/Mono";
|
|
5
5
|
import Text from "./components/Text";
|
|
6
|
-
import { COLOR_PRIMARY } from "./style";
|
|
6
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
7
7
|
var Icons = Mono;
|
|
8
8
|
Icons.Color = Color;
|
|
9
9
|
Icons.Text = Text;
|
|
10
10
|
Icons.Combine = Combine;
|
|
11
11
|
Icons.Avatar = Avatar;
|
|
12
12
|
Icons.colorPrimary = COLOR_PRIMARY;
|
|
13
|
+
Icons.title = TITLE;
|
|
13
14
|
export default Icons;
|
package/es/Zhipu/style.d.ts
CHANGED
package/es/Zhipu/style.js
CHANGED
|
@@ -40,7 +40,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
|
|
|
40
40
|
className: styles.code,
|
|
41
41
|
language: 'tsx',
|
|
42
42
|
type: 'ghost',
|
|
43
|
-
children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
|
|
43
|
+
children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\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")
|
|
44
44
|
})]
|
|
45
45
|
});
|
|
46
46
|
});
|
|
@@ -40,7 +40,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
|
|
|
40
40
|
className: styles.code,
|
|
41
41
|
language: 'tsx',
|
|
42
42
|
type: 'ghost',
|
|
43
|
-
children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
|
|
43
|
+
children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\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")
|
|
44
44
|
})]
|
|
45
45
|
});
|
|
46
46
|
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
|
|
2
|
+
var _templateObject;
|
|
3
|
+
import { Highlighter } from '@lobehub/ui';
|
|
4
|
+
import { createStyles } from 'antd-style';
|
|
5
|
+
import { memo } from 'react';
|
|
6
|
+
import { Flexbox } from 'react-layout-kit';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var useStyles = createStyles(function (_ref) {
|
|
10
|
+
var css = _ref.css;
|
|
11
|
+
return {
|
|
12
|
+
code: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n pre {\n padding: 8px !important;\n }\n\n code {\n font-size: 12px;\n text-wrap: initial;\n }\n "])))
|
|
13
|
+
};
|
|
14
|
+
});
|
|
15
|
+
var Preview = /*#__PURE__*/memo(function (_ref2) {
|
|
16
|
+
var svg = _ref2.svg,
|
|
17
|
+
title = _ref2.title,
|
|
18
|
+
viewbox = _ref2.viewbox;
|
|
19
|
+
var _useStyles = useStyles(),
|
|
20
|
+
styles = _useStyles.styles;
|
|
21
|
+
return /*#__PURE__*/_jsxs(Flexbox, {
|
|
22
|
+
flex: 'none',
|
|
23
|
+
gap: 16,
|
|
24
|
+
style: {
|
|
25
|
+
position: 'relative',
|
|
26
|
+
width: '100%'
|
|
27
|
+
},
|
|
28
|
+
children: [/*#__PURE__*/_jsx(Flexbox, {
|
|
29
|
+
align: 'center',
|
|
30
|
+
gap: 8,
|
|
31
|
+
horizontal: true,
|
|
32
|
+
children: /*#__PURE__*/_jsx("h2", {
|
|
33
|
+
style: {
|
|
34
|
+
lineHeight: 1,
|
|
35
|
+
margin: 0
|
|
36
|
+
},
|
|
37
|
+
children: title
|
|
38
|
+
})
|
|
39
|
+
}), /*#__PURE__*/_jsx(Highlighter, {
|
|
40
|
+
className: styles.code,
|
|
41
|
+
language: 'tsx',
|
|
42
|
+
type: 'ghost',
|
|
43
|
+
children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, width: 'fit-content', ...style }}\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")
|
|
44
|
+
})]
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
export default Preview;
|
|
@@ -12,6 +12,7 @@ import { useSvgo } from "./useSvgo";
|
|
|
12
12
|
import Color from "./Color";
|
|
13
13
|
import Mono from "./Mono";
|
|
14
14
|
import Preview from "./Preview";
|
|
15
|
+
import Text from "./Text";
|
|
15
16
|
import { svgIcon } from "./data";
|
|
16
17
|
import { defaultPlugins } from "./svgo";
|
|
17
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -45,11 +46,13 @@ export default (function () {
|
|
|
45
46
|
svg: {
|
|
46
47
|
rows: true,
|
|
47
48
|
value: svgIcon
|
|
48
|
-
}
|
|
49
|
+
},
|
|
50
|
+
text: false
|
|
49
51
|
}, {
|
|
50
52
|
store: levaStore
|
|
51
53
|
}),
|
|
52
|
-
svg = _useControls.svg
|
|
54
|
+
svg = _useControls.svg,
|
|
55
|
+
text = _useControls.text;
|
|
53
56
|
var config = useControls('Config', defaultPlugins, {
|
|
54
57
|
collapsed: true
|
|
55
58
|
}, {
|
|
@@ -108,7 +111,11 @@ export default (function () {
|
|
|
108
111
|
ref: monoRef,
|
|
109
112
|
svg: mono.svg,
|
|
110
113
|
title: 'Monochrome'
|
|
111
|
-
}), /*#__PURE__*/_jsx(
|
|
114
|
+
}), text ? /*#__PURE__*/_jsx(Text, {
|
|
115
|
+
svg: monoSvg,
|
|
116
|
+
title: 'Text',
|
|
117
|
+
viewbox: viewbox
|
|
118
|
+
}) : /*#__PURE__*/_jsx(Mono, {
|
|
112
119
|
svg: monoSvg,
|
|
113
120
|
title: 'Mono',
|
|
114
121
|
viewbox: viewbox
|
package/es/hooks/useFillId.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export var useFillId = function useFillId(namespace) {
|
|
2
|
-
var id = "lobe-icons-".concat(namespace, "-fill");
|
|
2
|
+
var id = "lobe-icons-".concat(namespace.toLowerCase(), "-fill");
|
|
3
3
|
return {
|
|
4
4
|
fill: "url(#".concat(id, ")"),
|
|
5
5
|
id: id
|
|
@@ -9,7 +9,7 @@ export var useFillIds = function useFillIds(namespace, length) {
|
|
|
9
9
|
var ids = Array.from({
|
|
10
10
|
length: length
|
|
11
11
|
}, function (_, i) {
|
|
12
|
-
var id = "lobe-icons-".concat(namespace, "-fill-").concat(i);
|
|
12
|
+
var id = "lobe-icons-".concat(namespace.toLowerCase(), "-fill-").concat(i);
|
|
13
13
|
return {
|
|
14
14
|
fill: "url(#".concat(id, ")"),
|
|
15
15
|
id: id
|
package/es/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { default as Baichuan, type CompoundedIcon as BaichuanProps } from './Bai
|
|
|
6
6
|
export { default as Bedrock, type CompoundedIcon as BedrockProps } from './Bedrock';
|
|
7
7
|
export { default as Bing, type CompoundedIcon as BingProps } from './Bing';
|
|
8
8
|
export { default as ChatGLM, type CompoundedIcon as ChatGLMProps } from './ChatGLM';
|
|
9
|
+
export { default as Claude, type CompoundedIcon as ClaudeProps } from './Claude';
|
|
9
10
|
export { default as Cloudflare, type CompoundedIcon as CloudflareProps } from './Cloudflare';
|
|
10
11
|
export { default as Cohere, type CompoundedIcon as CohereProps } from './Cohere';
|
|
11
12
|
export { default as Colab, type CompoundedIcon as ColabProps } from './Colab';
|
|
@@ -18,10 +19,12 @@ export { default as Gemma, type CompoundedIcon as GemmaProps } from './Gemma';
|
|
|
18
19
|
export { default as Github, type CompoundedIcon as GithubProps } from './Github';
|
|
19
20
|
export { default as GithubCopilot, type CompoundedIcon as GithubCopilotProps, } from './GithubCopilot';
|
|
20
21
|
export { default as Google, type CompoundedIcon as GoogleProps } from './Google';
|
|
22
|
+
export { default as Groq, type CompoundedIcon as GroqProps } from './Groq';
|
|
21
23
|
export { default as HuggingFace, type CompoundedIcon as HuggingFaceProps } from './HuggingFace';
|
|
22
24
|
export { default as Hunyuan, type CompoundedIcon as HunyuanProps } from './Hunyuan';
|
|
23
25
|
export { default as IconAvatar, type IconAvatarProps } from './IconAvatar';
|
|
24
26
|
export { default as IconCombine, type IconCombineProps } from './IconCombine';
|
|
27
|
+
export { default as LLaVA, type CompoundedIcon as LLaVAProps } from './LLaVA';
|
|
25
28
|
export { default as Meta, type CompoundedIcon as MetaProps } from './Meta';
|
|
26
29
|
export { default as Midjourney, type CompoundedIcon as MidjourneyProps } from './Midjourney';
|
|
27
30
|
export { default as Minimax, type CompoundedIcon as MinimaxProps } from './Minimax';
|
|
@@ -30,6 +33,7 @@ export { default as Moonshot, type CompoundedIcon as MoonshotProps } from './Moo
|
|
|
30
33
|
export { default as Nvidia, type CompoundedIcon as NvidiaProps } from './Nvidia';
|
|
31
34
|
export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama';
|
|
32
35
|
export { default as OpenAI, type CompoundedIcon as OpenAIProps } from './OpenAI';
|
|
36
|
+
export { default as OpenRouter, type CompoundedIcon as OpenRouterProps } from './OpenRouter';
|
|
33
37
|
export { default as Perplexity, type CompoundedIcon as PerplexityProps } from './Perplexity';
|
|
34
38
|
export { default as Pollinations, type CompoundedIcon as PollinationsProps } from './Pollinations';
|
|
35
39
|
export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
|
package/es/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export { default as Baichuan } from "./Baichuan";
|
|
|
6
6
|
export { default as Bedrock } from "./Bedrock";
|
|
7
7
|
export { default as Bing } from "./Bing";
|
|
8
8
|
export { default as ChatGLM } from "./ChatGLM";
|
|
9
|
+
export { default as Claude } from "./Claude";
|
|
9
10
|
export { default as Cloudflare } from "./Cloudflare";
|
|
10
11
|
export { default as Cohere } from "./Cohere";
|
|
11
12
|
export { default as Colab } from "./Colab";
|
|
@@ -18,10 +19,12 @@ export { default as Gemma } from "./Gemma";
|
|
|
18
19
|
export { default as Github } from "./Github";
|
|
19
20
|
export { default as GithubCopilot } from "./GithubCopilot";
|
|
20
21
|
export { default as Google } from "./Google";
|
|
22
|
+
export { default as Groq } from "./Groq";
|
|
21
23
|
export { default as HuggingFace } from "./HuggingFace";
|
|
22
24
|
export { default as Hunyuan } from "./Hunyuan";
|
|
23
25
|
export { default as IconAvatar } from "./IconAvatar";
|
|
24
26
|
export { default as IconCombine } from "./IconCombine";
|
|
27
|
+
export { default as LLaVA } from "./LLaVA";
|
|
25
28
|
export { default as Meta } from "./Meta";
|
|
26
29
|
export { default as Midjourney } from "./Midjourney";
|
|
27
30
|
export { default as Minimax } from "./Minimax";
|
|
@@ -30,6 +33,7 @@ export { default as Moonshot } from "./Moonshot";
|
|
|
30
33
|
export { default as Nvidia } from "./Nvidia";
|
|
31
34
|
export { default as Ollama } from "./Ollama";
|
|
32
35
|
export { default as OpenAI } from "./OpenAI";
|
|
36
|
+
export { default as OpenRouter } from "./OpenRouter";
|
|
33
37
|
export { default as Perplexity } from "./Perplexity";
|
|
34
38
|
export { default as Pollinations } from "./Pollinations";
|
|
35
39
|
export { default as Qingyan } from "./Qingyan";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"release": "semantic-release",
|
|
46
46
|
"setup": "dumi setup",
|
|
47
47
|
"start": "npm run dev",
|
|
48
|
+
"sync:md": "tsx ./scripts/genMdList.ts",
|
|
48
49
|
"test": "vitest --passWithNoTests",
|
|
49
50
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
50
51
|
"test:update": "vitest -u",
|
|
@@ -78,12 +79,13 @@
|
|
|
78
79
|
"@lobehub/lint": "latest",
|
|
79
80
|
"@lobehub/ui": "^1",
|
|
80
81
|
"@testing-library/react": "^14",
|
|
82
|
+
"@types/lodash-es": "^4",
|
|
81
83
|
"@types/pangu": "^4",
|
|
82
84
|
"@types/query-string": "^6",
|
|
83
|
-
"@types/react": "18
|
|
85
|
+
"@types/react": "18",
|
|
84
86
|
"@types/react-dom": "^18",
|
|
85
87
|
"@vitest/coverage-v8": "latest",
|
|
86
|
-
"antd": "^5
|
|
88
|
+
"antd": "^5",
|
|
87
89
|
"antd-style": "^3",
|
|
88
90
|
"babel-plugin-antd-style": "latest",
|
|
89
91
|
"commitlint": "^18",
|
|
@@ -92,10 +94,13 @@
|
|
|
92
94
|
"dumi": "^2",
|
|
93
95
|
"dumi-theme-lobehub": "latest",
|
|
94
96
|
"eslint": "^8",
|
|
95
|
-
"father": "4
|
|
97
|
+
"father": "4",
|
|
98
|
+
"front-matter": "^4",
|
|
99
|
+
"glob": "^10",
|
|
96
100
|
"husky": "^8",
|
|
97
101
|
"jsdom": "^23",
|
|
98
102
|
"lint-staged": "^15",
|
|
103
|
+
"lodash-es": "^4",
|
|
99
104
|
"lucide-react": "latest",
|
|
100
105
|
"prettier": "^3",
|
|
101
106
|
"react": "^18",
|
|
@@ -105,6 +110,7 @@
|
|
|
105
110
|
"semantic-release": "^21",
|
|
106
111
|
"stylelint": "^15",
|
|
107
112
|
"svgo-browser": "^1",
|
|
113
|
+
"tsx": "^4",
|
|
108
114
|
"typescript": "^5",
|
|
109
115
|
"vitest": "latest"
|
|
110
116
|
},
|