@lobehub/icons 5.12.0 → 5.14.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 +121 -118
- package/es/Ace/index.mdx +99 -0
- package/es/Adobe/index.mdx +113 -0
- package/es/AdobeFirefly/index.mdx +101 -0
- package/es/AgentVoice/index.mdx +113 -0
- package/es/AgnesAI/index.mdx +99 -0
- package/es/Agui/index.mdx +99 -0
- package/es/Ai2/index.mdx +113 -0
- package/es/Ai21/index.mdx +138 -0
- package/es/Ai302/index.mdx +113 -0
- package/es/Ai360/index.mdx +117 -0
- package/es/AiHubMix/index.mdx +113 -0
- package/es/AiMass/index.mdx +113 -0
- package/es/AiStudio/index.mdx +109 -0
- package/es/AionLabs/index.mdx +113 -0
- package/es/AirJelly/index.mdx +113 -0
- package/es/AkashChat/index.mdx +113 -0
- package/es/AlephAlpha/index.mdx +99 -0
- package/es/Alibaba/index.mdx +126 -0
- package/es/AlibabaCloud/index.mdx +126 -0
- package/es/Amp/index.mdx +113 -0
- package/es/Anspire/components/Avatar.d.ts +5 -0
- package/es/Anspire/components/Avatar.js +25 -0
- package/es/Anspire/components/Color.d.ts +3 -0
- package/es/Anspire/components/Color.js +39 -0
- package/es/Anspire/components/Combine.d.ts +7 -0
- package/es/Anspire/components/Combine.js +30 -0
- package/es/Anspire/components/Mono.d.ts +3 -0
- package/es/Anspire/components/Mono.js +40 -0
- package/es/Anspire/components/Text.d.ts +3 -0
- package/es/Anspire/components/Text.js +41 -0
- package/es/Anspire/components/TextColor.d.ts +3 -0
- package/es/Anspire/components/TextColor.js +42 -0
- package/es/Anspire/index.d.ts +15 -0
- package/es/Anspire/index.js +14 -0
- package/es/Anspire/index.mdx +113 -0
- package/es/Anspire/style.d.ts +7 -0
- package/es/Anspire/style.js +9 -0
- package/es/AntGroup/index.mdx +126 -0
- package/es/Anthropic/index.mdx +78 -0
- package/es/Antigravity/index.mdx +113 -0
- package/es/Anyscale/index.mdx +113 -0
- package/es/Apertis/index.mdx +113 -0
- package/es/Apple/index.mdx +99 -0
- package/es/Arcee/index.mdx +113 -0
- package/es/AskVerdict/index.mdx +113 -0
- package/es/AssemblyAI/index.mdx +113 -0
- package/es/AtlasCloud/index.mdx +99 -0
- package/es/Automatic/index.mdx +117 -0
- package/es/Aws/index.mdx +136 -0
- package/es/Aya/index.mdx +113 -0
- package/es/Azure/index.mdx +113 -0
- package/es/AzureAI/index.mdx +113 -0
- package/es/BAAI/index.mdx +99 -0
- package/es/Baichuan/index.mdx +115 -0
- package/es/Baidu/index.mdx +126 -0
- package/es/BaiduCloud/index.mdx +113 -0
- package/es/Bailian/index.mdx +113 -0
- package/es/Baseten/index.mdx +99 -0
- package/es/Bedrock/index.mdx +117 -0
- package/es/Bfl/index.mdx +99 -0
- package/es/Bilibili/index.mdx +113 -0
- package/es/BilibiliIndex/index.mdx +99 -0
- package/es/Bing/index.mdx +117 -0
- package/es/Bocha/components/Avatar.d.ts +5 -0
- package/es/Bocha/components/Avatar.js +25 -0
- package/es/Bocha/components/Color.d.ts +3 -0
- package/es/Bocha/components/Color.js +46 -0
- package/es/Bocha/components/Combine.d.ts +7 -0
- package/es/Bocha/components/Combine.js +32 -0
- package/es/Bocha/components/Mono.d.ts +3 -0
- package/es/Bocha/components/Mono.js +46 -0
- package/es/Bocha/components/Text.d.ts +3 -0
- package/es/Bocha/components/Text.js +41 -0
- package/es/Bocha/index.d.ts +15 -0
- package/es/Bocha/index.js +14 -0
- package/es/Bocha/index.mdx +113 -0
- package/es/Bocha/style.d.ts +7 -0
- package/es/Bocha/style.js +9 -0
- package/es/Brave/components/Avatar.d.ts +5 -0
- package/es/Brave/components/Avatar.js +25 -0
- package/es/Brave/components/Color.d.ts +3 -0
- package/es/Brave/components/Color.js +61 -0
- package/es/Brave/components/Combine.d.ts +7 -0
- package/es/Brave/components/Combine.js +32 -0
- package/es/Brave/components/Mono.d.ts +3 -0
- package/es/Brave/components/Mono.js +40 -0
- package/es/Brave/components/Text.d.ts +3 -0
- package/es/Brave/components/Text.js +39 -0
- package/es/Brave/index.d.ts +15 -0
- package/es/Brave/index.js +14 -0
- package/es/Brave/index.mdx +113 -0
- package/es/Brave/style.d.ts +7 -0
- package/es/Brave/style.js +9 -0
- package/es/BriaAI/index.mdx +113 -0
- package/es/Browserless/components/Avatar.d.ts +5 -0
- package/es/Browserless/components/Avatar.js +25 -0
- package/es/Browserless/components/Combine.d.ts +5 -0
- package/es/Browserless/components/Combine.js +26 -0
- package/es/Browserless/components/Mono.d.ts +3 -0
- package/es/Browserless/components/Mono.js +44 -0
- package/es/Browserless/components/Text.d.ts +3 -0
- package/es/Browserless/components/Text.js +39 -0
- package/es/Browserless/index.d.ts +13 -0
- package/es/Browserless/index.js +12 -0
- package/es/Browserless/index.mdx +99 -0
- package/es/Browserless/style.d.ts +7 -0
- package/es/Browserless/style.js +9 -0
- package/es/BurnCloud/index.mdx +113 -0
- package/es/ByteDance/index.mdx +126 -0
- package/es/CapCut/index.mdx +99 -0
- package/es/CelestoAI/index.mdx +124 -0
- package/es/CentML/index.mdx +136 -0
- package/es/Cerebras/index.mdx +136 -0
- package/es/ChatGLM/index.mdx +117 -0
- package/es/CherryStudio/index.mdx +113 -0
- package/es/Civitai/index.mdx +126 -0
- package/es/Claude/index.mdx +113 -0
- package/es/ClaudeCode/index.mdx +113 -0
- package/es/Cline/index.mdx +99 -0
- package/es/Clipdrop/index.mdx +99 -0
- package/es/Cloudflare/index.mdx +113 -0
- package/es/CodeBuddy/index.mdx +117 -0
- package/es/CodeFlicker/index.mdx +113 -0
- package/es/CodeGeeX/index.mdx +117 -0
- package/es/Codex/index.mdx +113 -0
- package/es/CogVideo/index.mdx +113 -0
- package/es/CogView/index.mdx +113 -0
- package/es/Cohere/index.mdx +115 -0
- package/es/Colab/index.mdx +117 -0
- package/es/CometAPI/index.mdx +113 -0
- package/es/ComfyUI/index.mdx +113 -0
- package/es/CommandA/index.mdx +113 -0
- package/es/Copilot/index.mdx +113 -0
- package/es/CopilotKit/index.mdx +113 -0
- package/es/Coqui/index.mdx +124 -0
- package/es/Coze/index.mdx +99 -0
- package/es/CrewAI/index.mdx +136 -0
- package/es/Crusoe/index.mdx +113 -0
- package/es/Cursor/index.mdx +107 -0
- package/es/CyberCut/index.mdx +99 -0
- package/es/Dalle/index.mdx +117 -0
- package/es/Dbrx/index.mdx +136 -0
- package/es/DeepAI/index.mdx +99 -0
- package/es/DeepCogito/index.mdx +113 -0
- package/es/DeepInfra/index.mdx +113 -0
- package/es/DeepL/index.mdx +113 -0
- package/es/DeepMind/index.mdx +113 -0
- package/es/DeepSeek/index.mdx +113 -0
- package/es/Devin/index.mdx +113 -0
- package/es/Dify/index.mdx +124 -0
- package/es/Doc2X/index.mdx +113 -0
- package/es/DocSearch/index.mdx +113 -0
- package/es/Dolphin/index.mdx +99 -0
- package/es/Doubao/index.mdx +113 -0
- package/es/DreamMachine/index.mdx +99 -0
- package/es/ElevenLabs/index.mdx +99 -0
- package/es/ElevenX/index.mdx +99 -0
- package/es/EssentialAI/index.mdx +117 -0
- package/es/Exa/index.mdx +113 -0
- package/es/Fal/index.mdx +111 -0
- package/es/FastGPT/index.mdx +113 -0
- package/es/Featherless/index.mdx +113 -0
- package/es/Figma/index.mdx +113 -0
- package/es/Firecrawl/index.mdx +113 -0
- package/es/Fireworks/index.mdx +113 -0
- package/es/FishAudio/index.mdx +99 -0
- package/es/Flora/index.mdx +99 -0
- package/es/Flowith/index.mdx +99 -0
- package/es/Flux/index.mdx +99 -0
- package/es/Friendli/index.mdx +99 -0
- package/es/GLMV/index.mdx +113 -0
- package/es/Gemini/index.mdx +113 -0
- package/es/GeminiCLI/index.mdx +113 -0
- package/es/Gemma/index.mdx +128 -0
- package/es/GiteeAI/index.mdx +99 -0
- package/es/Github/index.mdx +99 -0
- package/es/GithubCopilot/index.mdx +99 -0
- package/es/Glama/index.mdx +99 -0
- package/es/Glif/index.mdx +78 -0
- package/es/Google/index.mdx +103 -0
- package/es/GoogleCloud/index.mdx +103 -0
- package/es/Goose/index.mdx +99 -0
- package/es/Gradio/index.mdx +113 -0
- package/es/Greptile/index.mdx +113 -0
- package/es/Grok/index.mdx +99 -0
- package/es/Groq/index.mdx +99 -0
- package/es/Hailuo/index.mdx +115 -0
- package/es/Haiper/index.mdx +99 -0
- package/es/HappyHorse/index.mdx +99 -0
- package/es/Hedra/index.mdx +99 -0
- package/es/HermesAgent/index.mdx +99 -0
- package/es/Higress/index.mdx +117 -0
- package/es/Huawei/index.mdx +126 -0
- package/es/HuaweiCloud/index.mdx +126 -0
- package/es/HuggingFace/index.mdx +113 -0
- package/es/Hunyuan/index.mdx +113 -0
- package/es/Hyperbolic/index.mdx +113 -0
- package/es/IBM/index.mdx +99 -0
- package/es/IFlyTekCloud/index.mdx +113 -0
- package/es/Ideogram/index.mdx +99 -0
- package/es/Inception/index.mdx +99 -0
- package/es/Inference/index.mdx +99 -0
- package/es/Infermatic/index.mdx +113 -0
- package/es/Infinigence/index.mdx +126 -0
- package/es/Inflection/index.mdx +99 -0
- package/es/InternLM/index.mdx +113 -0
- package/es/Jimeng/index.mdx +113 -0
- package/es/Jina/index.mdx +88 -0
- package/es/Junie/index.mdx +113 -0
- package/es/Kagi/components/Avatar.d.ts +5 -0
- package/es/Kagi/components/Avatar.js +25 -0
- package/es/Kagi/components/Combine.d.ts +5 -0
- package/es/Kagi/components/Combine.js +24 -0
- package/es/Kagi/components/Mono.d.ts +3 -0
- package/es/Kagi/components/Mono.js +40 -0
- package/es/Kagi/components/Text.d.ts +3 -0
- package/es/Kagi/components/Text.js +41 -0
- package/es/Kagi/index.d.ts +13 -0
- package/es/Kagi/index.js +12 -0
- package/es/Kagi/index.mdx +99 -0
- package/es/Kagi/style.d.ts +7 -0
- package/es/Kagi/style.js +9 -0
- package/es/KiloCode/index.mdx +99 -0
- package/es/Kimi/index.mdx +113 -0
- package/es/Kiro/index.mdx +113 -0
- package/es/Kling/index.mdx +115 -0
- package/es/Kluster/index.mdx +113 -0
- package/es/Kolors/index.mdx +115 -0
- package/es/Krea/index.mdx +99 -0
- package/es/KwaiKAT/index.mdx +114 -0
- package/es/Kwaipilot/index.mdx +113 -0
- package/es/LG/index.mdx +113 -0
- package/es/LLaVA/index.mdx +117 -0
- package/es/Lambda/index.mdx +99 -0
- package/es/LangChain/index.mdx +113 -0
- package/es/LangGraph/index.mdx +113 -0
- package/es/LangSmith/index.mdx +113 -0
- package/es/Langfuse/index.mdx +113 -0
- package/es/LeptonAI/index.mdx +113 -0
- package/es/Lightricks/index.mdx +99 -0
- package/es/Liquid/index.mdx +99 -0
- package/es/LiveKit/index.mdx +113 -0
- package/es/LlamaIndex/index.mdx +111 -0
- package/es/LlmApi/index.mdx +113 -0
- package/es/LmStudio/index.mdx +115 -0
- package/es/LobeHub/index.mdx +115 -0
- package/es/LongCat/index.mdx +124 -0
- package/es/Lovable/index.mdx +124 -0
- package/es/Lovart/index.mdx +99 -0
- package/es/Luma/index.mdx +113 -0
- package/es/MCP/index.mdx +99 -0
- package/es/Magic/index.mdx +99 -0
- package/es/Make/index.mdx +124 -0
- package/es/Manus/index.mdx +99 -0
- package/es/Mastra/index.mdx +99 -0
- package/es/McpSo/index.mdx +113 -0
- package/es/Menlo/index.mdx +113 -0
- package/es/Meshy/index.mdx +113 -0
- package/es/Meta/index.mdx +140 -0
- package/es/MetaAI/index.mdx +113 -0
- package/es/MetaGPT/index.mdx +99 -0
- package/es/Microsoft/index.mdx +113 -0
- package/es/Midjourney/index.mdx +99 -0
- package/es/Minimax/index.mdx +117 -0
- package/es/Mistral/index.mdx +113 -0
- package/es/ModelScope/index.mdx +115 -0
- package/es/Monica/index.mdx +128 -0
- package/es/Moonshot/index.mdx +99 -0
- package/es/Morph/index.mdx +113 -0
- package/es/Moxt/index.mdx +113 -0
- package/es/MyShell/index.mdx +113 -0
- package/es/N8n/index.mdx +124 -0
- package/es/NPLCloud/index.mdx +113 -0
- package/es/NanoBanana/index.mdx +113 -0
- package/es/Nebius/index.mdx +78 -0
- package/es/NewAPI/index.mdx +113 -0
- package/es/NotebookLM/index.mdx +99 -0
- package/es/Notion/index.mdx +99 -0
- package/es/NousResearch/index.mdx +99 -0
- package/es/Nova/index.mdx +117 -0
- package/es/NovelAI/index.mdx +99 -0
- package/es/Novita/index.mdx +113 -0
- package/es/Nvidia/index.mdx +113 -0
- package/es/Obsidian/index.mdx +113 -0
- package/es/Ollama/index.mdx +99 -0
- package/es/OpenAI/index.mdx +125 -0
- package/es/OpenChat/index.mdx +113 -0
- package/es/OpenClaw/index.mdx +124 -0
- package/es/OpenCode/index.mdx +99 -0
- package/es/OpenHands/index.mdx +113 -0
- package/es/OpenHuman/index.mdx +99 -0
- package/es/OpenRouter/index.mdx +124 -0
- package/es/OpenWebUI/index.mdx +99 -0
- package/es/PPIO/index.mdx +126 -0
- package/es/PaLM/index.mdx +113 -0
- package/es/Parasail/index.mdx +99 -0
- package/es/Perplexity/index.mdx +113 -0
- package/es/Phidata/index.mdx +113 -0
- package/es/Phind/index.mdx +99 -0
- package/es/Pi/index.mdx +99 -0
- package/es/Pika/index.mdx +99 -0
- package/es/PixVerse/index.mdx +113 -0
- package/es/Player2/index.mdx +113 -0
- package/es/Poe/index.mdx +113 -0
- package/es/Pollinations/index.mdx +99 -0
- package/es/Poolside/components/Color.js +1 -1
- package/es/Poolside/index.mdx +124 -0
- package/es/PrunaAI/index.mdx +113 -0
- package/es/PydanticAI/index.mdx +113 -0
- package/es/Qingyan/index.mdx +113 -0
- package/es/Qiniu/index.mdx +113 -0
- package/es/Qoder/index.mdx +113 -0
- package/es/Qwen/index.mdx +117 -0
- package/es/RSSHub/index.mdx +113 -0
- package/es/Railway/index.mdx +103 -0
- package/es/Recraft/index.mdx +99 -0
- package/es/Relace/index.mdx +99 -0
- package/es/Replicate/index.mdx +99 -0
- package/es/Replit/index.mdx +113 -0
- package/es/Reve/index.mdx +99 -0
- package/es/RooCode/index.mdx +99 -0
- package/es/Runway/index.mdx +99 -0
- package/es/Rwkv/index.mdx +117 -0
- package/es/SambaNova/index.mdx +113 -0
- package/es/SearXNG/components/Avatar.d.ts +5 -0
- package/es/SearXNG/components/Avatar.js +25 -0
- package/es/SearXNG/components/Color.d.ts +3 -0
- package/es/SearXNG/components/Color.js +44 -0
- package/es/SearXNG/components/Combine.d.ts +7 -0
- package/es/SearXNG/components/Combine.js +32 -0
- package/es/SearXNG/components/Mono.d.ts +3 -0
- package/es/SearXNG/components/Mono.js +43 -0
- package/es/SearXNG/components/Text.d.ts +3 -0
- package/es/SearXNG/components/Text.js +39 -0
- package/es/SearXNG/index.d.ts +15 -0
- package/es/SearXNG/index.js +14 -0
- package/es/SearXNG/index.mdx +113 -0
- package/es/SearXNG/style.d.ts +7 -0
- package/es/SearXNG/style.js +9 -0
- package/es/Search1API/index.mdx +113 -0
- package/es/SearchApi/index.mdx +99 -0
- package/es/SenseNova/index.mdx +136 -0
- package/es/SiliconCloud/index.mdx +113 -0
- package/es/SillyTavern/index.mdx +113 -0
- package/es/Skywork/index.mdx +113 -0
- package/es/Slock/index.mdx +99 -0
- package/es/Smithery/index.mdx +113 -0
- package/es/Snowflake/index.mdx +113 -0
- package/es/SophNet/index.mdx +113 -0
- package/es/Sora/index.mdx +115 -0
- package/es/Spark/index.mdx +113 -0
- package/es/SpeedAI/index.mdx +113 -0
- package/es/Stability/index.mdx +140 -0
- package/es/StateCloud/index.mdx +113 -0
- package/es/Stepfun/index.mdx +111 -0
- package/es/Straico/index.mdx +113 -0
- package/es/StreamLake/index.mdx +113 -0
- package/es/SubModel/index.mdx +113 -0
- package/es/Suno/index.mdx +99 -0
- package/es/Sync/index.mdx +99 -0
- package/es/TII/index.mdx +113 -0
- package/es/Targon/index.mdx +113 -0
- package/es/Tavily/index.mdx +113 -0
- package/es/Tencent/index.mdx +126 -0
- package/es/TencentCloud/index.mdx +113 -0
- package/es/Tiangong/index.mdx +117 -0
- package/es/Together/index.mdx +113 -0
- package/es/TopazLabs/index.mdx +99 -0
- package/es/Trae/index.mdx +113 -0
- package/es/Tripo/index.mdx +113 -0
- package/es/TuriX/index.mdx +113 -0
- package/es/Udio/index.mdx +90 -0
- package/es/Unstructured/index.mdx +113 -0
- package/es/Upstage/index.mdx +115 -0
- package/es/V0/index.mdx +68 -0
- package/es/VectorizerAI/index.mdx +109 -0
- package/es/Venice/index.mdx +124 -0
- package/es/Vercel/index.mdx +99 -0
- package/es/VertexAI/index.mdx +113 -0
- package/es/Vidu/index.mdx +117 -0
- package/es/Viggle/index.mdx +99 -0
- package/es/Vllm/index.mdx +113 -0
- package/es/Volcengine/index.mdx +113 -0
- package/es/Voyage/index.mdx +90 -0
- package/es/Wenxin/index.mdx +119 -0
- package/es/Windsurf/index.mdx +99 -0
- package/es/WorkersAI/index.mdx +113 -0
- package/es/WorldRouter/index.mdx +99 -0
- package/es/XAI/index.mdx +99 -0
- package/es/XiaomiMiMo/index.mdx +79 -0
- package/es/Xinference/index.mdx +113 -0
- package/es/Xpay/index.mdx +113 -0
- package/es/Xuanyuan/index.mdx +113 -0
- package/es/Yandex/index.mdx +78 -0
- package/es/Yi/index.mdx +113 -0
- package/es/YouMind/index.mdx +99 -0
- package/es/Yuanbao/index.mdx +113 -0
- package/es/ZAI/index.mdx +99 -0
- package/es/Zapier/index.mdx +113 -0
- package/es/Zeabur/index.mdx +113 -0
- package/es/ZenMux/index.mdx +111 -0
- package/es/Zencoder/index.mdx +113 -0
- package/es/ZeroOne/index.mdx +113 -0
- package/es/Zhipu/index.mdx +113 -0
- package/es/components/Dashboard/IconItem.js +3 -3
- package/es/components/Dashboard/utils.d.ts +1 -0
- package/es/components/Dashboard/utils.js +3 -0
- package/es/components/DocsPreview/index.d.ts +5 -0
- package/es/components/DocsPreview/index.js +153 -0
- package/es/icons.d.ts +6 -0
- package/es/icons.js +6 -0
- package/es/toc.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Zencoder
|
|
3
|
+
description: https://zencoder.ai
|
|
4
|
+
category: Application
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
import { Zencoder } from '@lobehub/icons';
|
|
8
|
+
import { Flexbox } from '@lobehub/ui';
|
|
9
|
+
|
|
10
|
+
import ColorPreview from '../components/ColorPreview';
|
|
11
|
+
import DocsPreview from '../components/DocsPreview';
|
|
12
|
+
|
|
13
|
+
## Icons
|
|
14
|
+
|
|
15
|
+
<DocsPreview>
|
|
16
|
+
{
|
|
17
|
+
<Flexbox gap={16} horizontal>
|
|
18
|
+
<Zencoder size={64} />
|
|
19
|
+
<Zencoder.Color size={64} />
|
|
20
|
+
</Flexbox>
|
|
21
|
+
}
|
|
22
|
+
</DocsPreview>
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
import { Zencoder } from '@lobehub/icons';
|
|
26
|
+
import { Flexbox } from '@lobehub/ui';
|
|
27
|
+
|
|
28
|
+
export default () => (
|
|
29
|
+
<Flexbox gap={16} horizontal>
|
|
30
|
+
<Zencoder size={64} />
|
|
31
|
+
<Zencoder.Color size={64} />
|
|
32
|
+
</Flexbox>
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Text
|
|
37
|
+
|
|
38
|
+
<DocsPreview>{<Zencoder.Text size={48} />}</DocsPreview>
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { Zencoder } from '@lobehub/icons';
|
|
42
|
+
|
|
43
|
+
export default () => <Zencoder.Text size={48} />;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Combine
|
|
47
|
+
|
|
48
|
+
<DocsPreview>
|
|
49
|
+
{
|
|
50
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
51
|
+
<Zencoder.Combine size={64} />
|
|
52
|
+
<Zencoder.Combine size={64} type={'color'} />
|
|
53
|
+
</Flexbox>
|
|
54
|
+
}
|
|
55
|
+
</DocsPreview>
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
import { Zencoder } from '@lobehub/icons';
|
|
59
|
+
import { Flexbox } from '@lobehub/ui';
|
|
60
|
+
|
|
61
|
+
export default () => (
|
|
62
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
63
|
+
<Zencoder.Combine size={64} />
|
|
64
|
+
<Zencoder.Combine size={64} type={'color'} />
|
|
65
|
+
</Flexbox>
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Avatars
|
|
70
|
+
|
|
71
|
+
<DocsPreview>
|
|
72
|
+
{
|
|
73
|
+
<Flexbox gap={16} horizontal>
|
|
74
|
+
<Zencoder.Avatar size={64} />
|
|
75
|
+
<Zencoder.Avatar size={64} shape={'square'} />
|
|
76
|
+
</Flexbox>
|
|
77
|
+
}
|
|
78
|
+
</DocsPreview>
|
|
79
|
+
|
|
80
|
+
```tsx
|
|
81
|
+
import { Zencoder } from '@lobehub/icons';
|
|
82
|
+
import { Flexbox } from '@lobehub/ui';
|
|
83
|
+
|
|
84
|
+
export default () => (
|
|
85
|
+
<Flexbox gap={16} horizontal>
|
|
86
|
+
<Zencoder.Avatar size={64} />
|
|
87
|
+
<Zencoder.Avatar size={64} shape={'square'} />
|
|
88
|
+
</Flexbox>
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Colors
|
|
93
|
+
|
|
94
|
+
<DocsPreview>
|
|
95
|
+
{
|
|
96
|
+
<Flexbox gap={16} horizontal>
|
|
97
|
+
<ColorPreview color={Zencoder.colorPrimary} />
|
|
98
|
+
</Flexbox>
|
|
99
|
+
}
|
|
100
|
+
</DocsPreview>
|
|
101
|
+
|
|
102
|
+
```tsx
|
|
103
|
+
import { Zencoder } from '@lobehub/icons';
|
|
104
|
+
import { Flexbox } from '@lobehub/ui';
|
|
105
|
+
|
|
106
|
+
import ColorPreview from '../components/ColorPreview';
|
|
107
|
+
|
|
108
|
+
export default () => (
|
|
109
|
+
<Flexbox gap={16} horizontal>
|
|
110
|
+
<ColorPreview color={Zencoder.colorPrimary} />
|
|
111
|
+
</Flexbox>
|
|
112
|
+
);
|
|
113
|
+
```
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 01.AI (零一万物)
|
|
3
|
+
description: https://lingyiwanwu.com/
|
|
4
|
+
category: Provider
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
import { ZeroOne } from '@lobehub/icons';
|
|
8
|
+
import { Flexbox } from '@lobehub/ui';
|
|
9
|
+
|
|
10
|
+
import ColorPreview from '../components/ColorPreview';
|
|
11
|
+
import DocsPreview from '../components/DocsPreview';
|
|
12
|
+
|
|
13
|
+
## Icons
|
|
14
|
+
|
|
15
|
+
<DocsPreview>
|
|
16
|
+
{
|
|
17
|
+
<Flexbox gap={16} horizontal>
|
|
18
|
+
<ZeroOne size={64} />
|
|
19
|
+
<ZeroOne.Color size={64} />
|
|
20
|
+
</Flexbox>
|
|
21
|
+
}
|
|
22
|
+
</DocsPreview>
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
import { ZeroOne } from '@lobehub/icons';
|
|
26
|
+
import { Flexbox } from '@lobehub/ui';
|
|
27
|
+
|
|
28
|
+
export default () => (
|
|
29
|
+
<Flexbox gap={16} horizontal>
|
|
30
|
+
<ZeroOne size={64} />
|
|
31
|
+
<ZeroOne.Color size={64} />
|
|
32
|
+
</Flexbox>
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Text
|
|
37
|
+
|
|
38
|
+
<DocsPreview>{<ZeroOne.Text size={48} />}</DocsPreview>
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { ZeroOne } from '@lobehub/icons';
|
|
42
|
+
|
|
43
|
+
export default () => <ZeroOne.Text size={48} />;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Combine
|
|
47
|
+
|
|
48
|
+
<DocsPreview>
|
|
49
|
+
{
|
|
50
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
51
|
+
<ZeroOne.Combine size={64} />
|
|
52
|
+
<ZeroOne.Combine size={64} type={'color'} />
|
|
53
|
+
</Flexbox>
|
|
54
|
+
}
|
|
55
|
+
</DocsPreview>
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
import { ZeroOne } from '@lobehub/icons';
|
|
59
|
+
import { Flexbox } from '@lobehub/ui';
|
|
60
|
+
|
|
61
|
+
export default () => (
|
|
62
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
63
|
+
<ZeroOne.Combine size={64} />
|
|
64
|
+
<ZeroOne.Combine size={64} type={'color'} />
|
|
65
|
+
</Flexbox>
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Avatars
|
|
70
|
+
|
|
71
|
+
<DocsPreview>
|
|
72
|
+
{
|
|
73
|
+
<Flexbox gap={16} horizontal>
|
|
74
|
+
<ZeroOne.Avatar size={64} />
|
|
75
|
+
<ZeroOne.Avatar size={64} shape={'square'} />
|
|
76
|
+
</Flexbox>
|
|
77
|
+
}
|
|
78
|
+
</DocsPreview>
|
|
79
|
+
|
|
80
|
+
```tsx
|
|
81
|
+
import { ZeroOne } from '@lobehub/icons';
|
|
82
|
+
import { Flexbox } from '@lobehub/ui';
|
|
83
|
+
|
|
84
|
+
export default () => (
|
|
85
|
+
<Flexbox gap={16} horizontal>
|
|
86
|
+
<ZeroOne.Avatar size={64} />
|
|
87
|
+
<ZeroOne.Avatar size={64} shape={'square'} />
|
|
88
|
+
</Flexbox>
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Colors
|
|
93
|
+
|
|
94
|
+
<DocsPreview>
|
|
95
|
+
{
|
|
96
|
+
<Flexbox gap={16} horizontal>
|
|
97
|
+
<ColorPreview color={ZeroOne.colorPrimary} />
|
|
98
|
+
</Flexbox>
|
|
99
|
+
}
|
|
100
|
+
</DocsPreview>
|
|
101
|
+
|
|
102
|
+
```tsx
|
|
103
|
+
import { ZeroOne } from '@lobehub/icons';
|
|
104
|
+
import { Flexbox } from '@lobehub/ui';
|
|
105
|
+
|
|
106
|
+
import ColorPreview from '../components/ColorPreview';
|
|
107
|
+
|
|
108
|
+
export default () => (
|
|
109
|
+
<Flexbox gap={16} horizontal>
|
|
110
|
+
<ColorPreview color={ZeroOne.colorPrimary} />
|
|
111
|
+
</Flexbox>
|
|
112
|
+
);
|
|
113
|
+
```
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Zhipu (智谱)
|
|
3
|
+
description: https://zhipuai.cn
|
|
4
|
+
category: Provider
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
import { Zhipu } from '@lobehub/icons';
|
|
8
|
+
import { Flexbox } from '@lobehub/ui';
|
|
9
|
+
|
|
10
|
+
import ColorPreview from '../components/ColorPreview';
|
|
11
|
+
import DocsPreview from '../components/DocsPreview';
|
|
12
|
+
|
|
13
|
+
## Icons
|
|
14
|
+
|
|
15
|
+
<DocsPreview>
|
|
16
|
+
{
|
|
17
|
+
<Flexbox gap={16} horizontal>
|
|
18
|
+
<Zhipu size={64} />
|
|
19
|
+
<Zhipu.Color size={64} />
|
|
20
|
+
</Flexbox>
|
|
21
|
+
}
|
|
22
|
+
</DocsPreview>
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
import { Zhipu } from '@lobehub/icons';
|
|
26
|
+
import { Flexbox } from '@lobehub/ui';
|
|
27
|
+
|
|
28
|
+
export default () => (
|
|
29
|
+
<Flexbox gap={16} horizontal>
|
|
30
|
+
<Zhipu size={64} />
|
|
31
|
+
<Zhipu.Color size={64} />
|
|
32
|
+
</Flexbox>
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Text
|
|
37
|
+
|
|
38
|
+
<DocsPreview>{<Zhipu.Text size={48} />}</DocsPreview>
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { Zhipu } from '@lobehub/icons';
|
|
42
|
+
|
|
43
|
+
export default () => <Zhipu.Text size={48} />;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Combine
|
|
47
|
+
|
|
48
|
+
<DocsPreview>
|
|
49
|
+
{
|
|
50
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
51
|
+
<Zhipu.Combine size={64} />
|
|
52
|
+
<Zhipu.Combine size={64} type={'color'} />
|
|
53
|
+
</Flexbox>
|
|
54
|
+
}
|
|
55
|
+
</DocsPreview>
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
import { Zhipu } from '@lobehub/icons';
|
|
59
|
+
import { Flexbox } from '@lobehub/ui';
|
|
60
|
+
|
|
61
|
+
export default () => (
|
|
62
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
63
|
+
<Zhipu.Combine size={64} />
|
|
64
|
+
<Zhipu.Combine size={64} type={'color'} />
|
|
65
|
+
</Flexbox>
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Avatars
|
|
70
|
+
|
|
71
|
+
<DocsPreview>
|
|
72
|
+
{
|
|
73
|
+
<Flexbox gap={16} horizontal>
|
|
74
|
+
<Zhipu.Avatar size={64} />
|
|
75
|
+
<Zhipu.Avatar size={64} shape={'square'} />
|
|
76
|
+
</Flexbox>
|
|
77
|
+
}
|
|
78
|
+
</DocsPreview>
|
|
79
|
+
|
|
80
|
+
```tsx
|
|
81
|
+
import { Zhipu } from '@lobehub/icons';
|
|
82
|
+
import { Flexbox } from '@lobehub/ui';
|
|
83
|
+
|
|
84
|
+
export default () => (
|
|
85
|
+
<Flexbox gap={16} horizontal>
|
|
86
|
+
<Zhipu.Avatar size={64} />
|
|
87
|
+
<Zhipu.Avatar size={64} shape={'square'} />
|
|
88
|
+
</Flexbox>
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Colors
|
|
93
|
+
|
|
94
|
+
<DocsPreview>
|
|
95
|
+
{
|
|
96
|
+
<Flexbox gap={16} horizontal>
|
|
97
|
+
<ColorPreview color={Zhipu.colorPrimary} />
|
|
98
|
+
</Flexbox>
|
|
99
|
+
}
|
|
100
|
+
</DocsPreview>
|
|
101
|
+
|
|
102
|
+
```tsx
|
|
103
|
+
import { Zhipu } from '@lobehub/icons';
|
|
104
|
+
import { Flexbox } from '@lobehub/ui';
|
|
105
|
+
|
|
106
|
+
import ColorPreview from '../components/ColorPreview';
|
|
107
|
+
|
|
108
|
+
export default () => (
|
|
109
|
+
<Flexbox gap={16} horizontal>
|
|
110
|
+
<ColorPreview color={Zhipu.colorPrimary} />
|
|
111
|
+
</Flexbox>
|
|
112
|
+
);
|
|
113
|
+
```
|
|
@@ -4,11 +4,11 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
4
4
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
5
5
|
import { ActionIcon, Block, Center, CopyButton, Flexbox, Text } from '@lobehub/ui';
|
|
6
6
|
import { createStaticStyles, cx } from 'antd-style';
|
|
7
|
-
import { Link } from 'dumi';
|
|
8
7
|
import { DownloadIcon, SearchIcon } from 'lucide-react';
|
|
9
8
|
import { readableColor } from 'polished';
|
|
10
9
|
import { memo, useCallback, useRef } from 'react';
|
|
11
|
-
import {
|
|
10
|
+
import { Link } from 'react-router';
|
|
11
|
+
import { customKebabCase, docsKebabCase } from "./utils";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
var styles = createStaticStyles(function (_ref) {
|
|
@@ -54,7 +54,7 @@ var IconItem = /*#__PURE__*/memo(function (_ref2) {
|
|
|
54
54
|
style: {
|
|
55
55
|
color: 'inherit'
|
|
56
56
|
},
|
|
57
|
-
to: "/components/".concat(
|
|
57
|
+
to: "/components/".concat(docsKebabCase(id)),
|
|
58
58
|
children: /*#__PURE__*/_jsx(Center, {
|
|
59
59
|
height: 96,
|
|
60
60
|
ref: ref,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { kebabCase } from 'es-toolkit';
|
|
2
|
+
export var docsKebabCase = function docsKebabCase(string) {
|
|
3
|
+
return string.replaceAll(/([A-Z]+)([A-Z][a-z])/g, '$1-$2').replaceAll(/([\da-z])([A-Z])/g, '$1-$2').replaceAll(/['’]/g, '').replaceAll(/[^\dA-Za-z]+/g, '-').replaceAll(/^-|-$/g, '').toLowerCase();
|
|
4
|
+
};
|
|
2
5
|
export var customKebabCase = function customKebabCase(string) {
|
|
3
6
|
var parts = string.match(/[A-Z]{2,}(?=[A-Z][a-z]+\d*|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g);
|
|
4
7
|
if (!parts) return string;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
var _templateObject;
|
|
4
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
|
+
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."); }
|
|
6
|
+
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; } }
|
|
7
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
9
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
10
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
11
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
12
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
16
|
+
import { Flexbox } from '@lobehub/ui';
|
|
17
|
+
import { createStaticStyles } from 'antd-style';
|
|
18
|
+
import { memo, useId, useLayoutEffect, useRef, useSyncExternalStore } from 'react';
|
|
19
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
+
var styles = createStaticStyles(function (_ref) {
|
|
21
|
+
var css = _ref.css,
|
|
22
|
+
cssVar = _ref.cssVar;
|
|
23
|
+
return {
|
|
24
|
+
container: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n overflow-x: auto;\n\n min-height: 160px;\n margin-block: 16px;\n padding: 32px;\n border: 1px solid ", ";\n border-radius: ", ";\n\n background: ", ";\n "])), cssVar.colorBorderSecondary, cssVar.borderRadiusLG, cssVar.colorBgContainer)
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
var getClientSnapshot = function getClientSnapshot() {
|
|
28
|
+
return true;
|
|
29
|
+
};
|
|
30
|
+
var getServerSnapshot = function getServerSnapshot() {
|
|
31
|
+
return false;
|
|
32
|
+
};
|
|
33
|
+
var unsubscribe = function unsubscribe() {};
|
|
34
|
+
var subscribe = function subscribe() {
|
|
35
|
+
return unsubscribe;
|
|
36
|
+
};
|
|
37
|
+
var namespaceSvgIds = function namespaceSvgIds(container, namespace) {
|
|
38
|
+
var _iterator = _createForOfIteratorHelper(_toConsumableArray(container.querySelectorAll('svg')).entries()),
|
|
39
|
+
_step;
|
|
40
|
+
try {
|
|
41
|
+
var _loop = function _loop() {
|
|
42
|
+
var _step$value = _slicedToArray(_step.value, 2),
|
|
43
|
+
svgIndex = _step$value[0],
|
|
44
|
+
svg = _step$value[1];
|
|
45
|
+
var idMap = new Map();
|
|
46
|
+
var _iterator2 = _createForOfIteratorHelper(svg.querySelectorAll('[id]')),
|
|
47
|
+
_step2;
|
|
48
|
+
try {
|
|
49
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
50
|
+
var element = _step2.value;
|
|
51
|
+
var currentId = element.id;
|
|
52
|
+
var namespacedId = "".concat(namespace, "-").concat(svgIndex, "-").concat(currentId);
|
|
53
|
+
idMap.set(currentId, namespacedId);
|
|
54
|
+
element.id = namespacedId;
|
|
55
|
+
}
|
|
56
|
+
} catch (err) {
|
|
57
|
+
_iterator2.e(err);
|
|
58
|
+
} finally {
|
|
59
|
+
_iterator2.f();
|
|
60
|
+
}
|
|
61
|
+
var _iterator3 = _createForOfIteratorHelper(svg.querySelectorAll('*')),
|
|
62
|
+
_step3;
|
|
63
|
+
try {
|
|
64
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
65
|
+
var _element = _step3.value;
|
|
66
|
+
var _iterator4 = _createForOfIteratorHelper(_element.getAttributeNames()),
|
|
67
|
+
_step4;
|
|
68
|
+
try {
|
|
69
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
70
|
+
var attribute = _step4.value;
|
|
71
|
+
var currentValue = _element.getAttribute(attribute);
|
|
72
|
+
if (!currentValue) continue;
|
|
73
|
+
var _nextValue = currentValue;
|
|
74
|
+
var _iterator6 = _createForOfIteratorHelper(idMap),
|
|
75
|
+
_step6;
|
|
76
|
+
try {
|
|
77
|
+
for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
|
|
78
|
+
var _step6$value = _slicedToArray(_step6.value, 2),
|
|
79
|
+
_currentId2 = _step6$value[0],
|
|
80
|
+
_namespacedId2 = _step6$value[1];
|
|
81
|
+
_nextValue = _nextValue.replaceAll("url(#".concat(_currentId2, ")"), "url(#".concat(_namespacedId2, ")"));
|
|
82
|
+
if (_nextValue === "#".concat(_currentId2)) _nextValue = "#".concat(_namespacedId2);
|
|
83
|
+
}
|
|
84
|
+
} catch (err) {
|
|
85
|
+
_iterator6.e(err);
|
|
86
|
+
} finally {
|
|
87
|
+
_iterator6.f();
|
|
88
|
+
}
|
|
89
|
+
if (attribute === 'aria-describedby' || attribute === 'aria-labelledby') {
|
|
90
|
+
_nextValue = _nextValue.split(/\s+/).map(function (id) {
|
|
91
|
+
var _idMap$get;
|
|
92
|
+
return (_idMap$get = idMap.get(id)) !== null && _idMap$get !== void 0 ? _idMap$get : id;
|
|
93
|
+
}).join(' ');
|
|
94
|
+
}
|
|
95
|
+
if (_nextValue !== currentValue) _element.setAttribute(attribute, _nextValue);
|
|
96
|
+
}
|
|
97
|
+
} catch (err) {
|
|
98
|
+
_iterator4.e(err);
|
|
99
|
+
} finally {
|
|
100
|
+
_iterator4.f();
|
|
101
|
+
}
|
|
102
|
+
if (_element.tagName.toLowerCase() === 'style' && _element.textContent) {
|
|
103
|
+
var nextValue = _element.textContent;
|
|
104
|
+
var _iterator5 = _createForOfIteratorHelper(idMap),
|
|
105
|
+
_step5;
|
|
106
|
+
try {
|
|
107
|
+
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
108
|
+
var _step5$value = _slicedToArray(_step5.value, 2),
|
|
109
|
+
_currentId = _step5$value[0],
|
|
110
|
+
_namespacedId = _step5$value[1];
|
|
111
|
+
nextValue = nextValue.replaceAll("url(#".concat(_currentId, ")"), "url(#".concat(_namespacedId, ")"));
|
|
112
|
+
}
|
|
113
|
+
} catch (err) {
|
|
114
|
+
_iterator5.e(err);
|
|
115
|
+
} finally {
|
|
116
|
+
_iterator5.f();
|
|
117
|
+
}
|
|
118
|
+
_element.textContent = nextValue;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
} catch (err) {
|
|
122
|
+
_iterator3.e(err);
|
|
123
|
+
} finally {
|
|
124
|
+
_iterator3.f();
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
128
|
+
_loop();
|
|
129
|
+
}
|
|
130
|
+
} catch (err) {
|
|
131
|
+
_iterator.e(err);
|
|
132
|
+
} finally {
|
|
133
|
+
_iterator.f();
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
var DocsPreview = /*#__PURE__*/memo(function (_ref2) {
|
|
137
|
+
var children = _ref2.children;
|
|
138
|
+
var containerRef = useRef(null);
|
|
139
|
+
var hydrated = useSyncExternalStore(subscribe, getClientSnapshot, getServerSnapshot);
|
|
140
|
+
var namespace = "docs-preview-".concat(useId().replaceAll(/\W/g, ''));
|
|
141
|
+
useLayoutEffect(function () {
|
|
142
|
+
if (hydrated && containerRef.current) namespaceSvgIds(containerRef.current, namespace);
|
|
143
|
+
}, [hydrated, namespace]);
|
|
144
|
+
return /*#__PURE__*/_jsx(Flexbox, {
|
|
145
|
+
align: 'center',
|
|
146
|
+
className: styles.container,
|
|
147
|
+
"data-docs-preview": true,
|
|
148
|
+
justify: 'center',
|
|
149
|
+
ref: containerRef,
|
|
150
|
+
children: hydrated ? children : null
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
export default DocsPreview;
|
package/es/icons.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { default as AlephAlpha, type CompoundedIcon as AlephAlphaProps } from '.
|
|
|
18
18
|
export { default as Alibaba, type CompoundedIcon as AlibabaProps } from './Alibaba';
|
|
19
19
|
export { default as AlibabaCloud, type CompoundedIcon as AlibabaCloudProps } from './AlibabaCloud';
|
|
20
20
|
export { default as Amp, type CompoundedIcon as AmpProps } from './Amp';
|
|
21
|
+
export { default as Anspire, type CompoundedIcon as AnspireProps } from './Anspire';
|
|
21
22
|
export { default as AntGroup, type CompoundedIcon as AntGroupProps } from './AntGroup';
|
|
22
23
|
export { default as Anthropic, type CompoundedIcon as AnthropicProps } from './Anthropic';
|
|
23
24
|
export { default as Antigravity, type CompoundedIcon as AntigravityProps } from './Antigravity';
|
|
@@ -44,7 +45,10 @@ export { default as Bfl, type CompoundedIcon as BflProps } from './Bfl';
|
|
|
44
45
|
export { default as Bilibili, type CompoundedIcon as BilibiliProps } from './Bilibili';
|
|
45
46
|
export { default as BilibiliIndex, type CompoundedIcon as BilibiliIndexProps, } from './BilibiliIndex';
|
|
46
47
|
export { default as Bing, type CompoundedIcon as BingProps } from './Bing';
|
|
48
|
+
export { default as Bocha, type CompoundedIcon as BochaProps } from './Bocha';
|
|
49
|
+
export { default as Brave, type CompoundedIcon as BraveProps } from './Brave';
|
|
47
50
|
export { default as BriaAI, type CompoundedIcon as BriaAIProps } from './BriaAI';
|
|
51
|
+
export { default as Browserless, type CompoundedIcon as BrowserlessProps } from './Browserless';
|
|
48
52
|
export { default as BurnCloud, type CompoundedIcon as BurnCloudProps } from './BurnCloud';
|
|
49
53
|
export { default as ByteDance, type CompoundedIcon as ByteDanceProps } from './ByteDance';
|
|
50
54
|
export { default as CapCut, type CompoundedIcon as CapCutProps } from './CapCut';
|
|
@@ -147,6 +151,7 @@ export { default as InternLM, type CompoundedIcon as InternLMProps } from './Int
|
|
|
147
151
|
export { default as Jimeng, type CompoundedIcon as JimengProps } from './Jimeng';
|
|
148
152
|
export { default as Jina, type CompoundedIcon as JinaProps } from './Jina';
|
|
149
153
|
export { default as Junie, type CompoundedIcon as JunieProps } from './Junie';
|
|
154
|
+
export { default as Kagi, type CompoundedIcon as KagiProps } from './Kagi';
|
|
150
155
|
export { default as KiloCode, type CompoundedIcon as KiloCodeProps } from './KiloCode';
|
|
151
156
|
export { default as Kimi, type CompoundedIcon as KimiProps } from './Kimi';
|
|
152
157
|
export { default as Kiro, type CompoundedIcon as KiroProps } from './Kiro';
|
|
@@ -250,6 +255,7 @@ export { default as Rwkv, type CompoundedIcon as RwkvProps } from './Rwkv';
|
|
|
250
255
|
export { default as SambaNova, type CompoundedIcon as SambaNovaProps } from './SambaNova';
|
|
251
256
|
export { default as Search1API, type CompoundedIcon as Search1APIProps } from './Search1API';
|
|
252
257
|
export { default as SearchApi, type CompoundedIcon as SearchApiProps } from './SearchApi';
|
|
258
|
+
export { default as SearXNG, type CompoundedIcon as SearXNGProps } from './SearXNG';
|
|
253
259
|
export { default as SenseNova, type CompoundedIcon as SenseNovaProps } from './SenseNova';
|
|
254
260
|
export { default as SiliconCloud, type CompoundedIcon as SiliconCloudProps } from './SiliconCloud';
|
|
255
261
|
export { default as SillyTavern, type CompoundedIcon as SillyTavernProps } from './SillyTavern';
|
package/es/icons.js
CHANGED
|
@@ -18,6 +18,7 @@ export { default as AlephAlpha } from "./AlephAlpha";
|
|
|
18
18
|
export { default as Alibaba } from "./Alibaba";
|
|
19
19
|
export { default as AlibabaCloud } from "./AlibabaCloud";
|
|
20
20
|
export { default as Amp } from "./Amp";
|
|
21
|
+
export { default as Anspire } from "./Anspire";
|
|
21
22
|
export { default as AntGroup } from "./AntGroup";
|
|
22
23
|
export { default as Anthropic } from "./Anthropic";
|
|
23
24
|
export { default as Antigravity } from "./Antigravity";
|
|
@@ -44,7 +45,10 @@ export { default as Bfl } from "./Bfl";
|
|
|
44
45
|
export { default as Bilibili } from "./Bilibili";
|
|
45
46
|
export { default as BilibiliIndex } from "./BilibiliIndex";
|
|
46
47
|
export { default as Bing } from "./Bing";
|
|
48
|
+
export { default as Bocha } from "./Bocha";
|
|
49
|
+
export { default as Brave } from "./Brave";
|
|
47
50
|
export { default as BriaAI } from "./BriaAI";
|
|
51
|
+
export { default as Browserless } from "./Browserless";
|
|
48
52
|
export { default as BurnCloud } from "./BurnCloud";
|
|
49
53
|
export { default as ByteDance } from "./ByteDance";
|
|
50
54
|
export { default as CapCut } from "./CapCut";
|
|
@@ -147,6 +151,7 @@ export { default as InternLM } from "./InternLM";
|
|
|
147
151
|
export { default as Jimeng } from "./Jimeng";
|
|
148
152
|
export { default as Jina } from "./Jina";
|
|
149
153
|
export { default as Junie } from "./Junie";
|
|
154
|
+
export { default as Kagi } from "./Kagi";
|
|
150
155
|
export { default as KiloCode } from "./KiloCode";
|
|
151
156
|
export { default as Kimi } from "./Kimi";
|
|
152
157
|
export { default as Kiro } from "./Kiro";
|
|
@@ -250,6 +255,7 @@ export { default as Rwkv } from "./Rwkv";
|
|
|
250
255
|
export { default as SambaNova } from "./SambaNova";
|
|
251
256
|
export { default as Search1API } from "./Search1API";
|
|
252
257
|
export { default as SearchApi } from "./SearchApi";
|
|
258
|
+
export { default as SearXNG } from "./SearXNG";
|
|
253
259
|
export { default as SenseNova } from "./SenseNova";
|
|
254
260
|
export { default as SiliconCloud } from "./SiliconCloud";
|
|
255
261
|
export { default as SillyTavern } from "./SillyTavern";
|