feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 LobeHub
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,28 @@
|
||||
# Audited brand icons
|
||||
|
||||
The generated `lobehub.js` contains the 30 brands supported by `LobeHubIcon`
|
||||
and their existing Mono, Color, Text, Avatar and Combine variants, where provided
|
||||
upstream. SVG paths and brand metadata come from **@lobehub/icons 1.97.2**
|
||||
([upstream](https://github.com/lobehub/lobe-icons)); see the original MIT `LICENSE`.
|
||||
`manifest.json` records the version, brand list and each generated file's SHA-256.
|
||||
`primitives.js` exposes only Mono/Color SVGs for Home and the rendering helpers;
|
||||
`shared-*.js` shares their SVG implementations with the lazily loaded variants.
|
||||
Do not import `lobehub.js` from those eager entry points.
|
||||
|
||||
This is a generated visual asset, not a second UI framework. Its only runtime
|
||||
imports are React and three local adapters under `components/common/brand-icons`.
|
||||
Avatar containers use Ant Design. Theme-aware variants read the existing app
|
||||
theme. No Lobe UI, Radix, Floating UI, antd-style or layout-kit runtime is needed.
|
||||
|
||||
Do not edit generated paths or metadata manually. To reproduce:
|
||||
|
||||
1. Download the pinned source with `npm pack @lobehub/icons@1.97.2 --pack-destination <temporary-directory>`.
|
||||
2. Extract that tarball into the temporary directory using `tar -xf <tarball> -C <temporary-directory>`.
|
||||
3. Run `npm run vendor:icons -- <temporary-directory>/package` from the repository root.
|
||||
4. Run `npm run check:ui`, then compare all supported variants in light and dark themes.
|
||||
|
||||
The generator rejects unexpected external dependencies. Updating the upstream
|
||||
version requires reviewing the generator pin, license, brand APIs and output.
|
||||
Keep source packages and browser evidence outside tracked source. The normal
|
||||
application install and build use the checked-in assets and never download
|
||||
the upstream package.
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"source": "@lobehub/icons",
|
||||
"version": "1.97.2",
|
||||
"license": "MIT",
|
||||
"brands": [
|
||||
"OpenAI",
|
||||
"Claude",
|
||||
"Gemini",
|
||||
"Moonshot",
|
||||
"Zhipu",
|
||||
"Qwen",
|
||||
"DeepSeek",
|
||||
"Minimax",
|
||||
"Wenxin",
|
||||
"Spark",
|
||||
"Midjourney",
|
||||
"Hunyuan",
|
||||
"Cohere",
|
||||
"Cloudflare",
|
||||
"Ai360",
|
||||
"Yi",
|
||||
"Jina",
|
||||
"Mistral",
|
||||
"XAI",
|
||||
"Ollama",
|
||||
"Doubao",
|
||||
"Suno",
|
||||
"Xinference",
|
||||
"OpenRouter",
|
||||
"Dify",
|
||||
"Coze",
|
||||
"SiliconCloud",
|
||||
"Kling",
|
||||
"Perplexity",
|
||||
"Replicate"
|
||||
],
|
||||
"moduleCount": 204,
|
||||
"files": {
|
||||
"lobehub.js": "e048c7076a0c5a3a10508aa19a946877b0b65c497f1f8635d1ad5983b4dc065d",
|
||||
"primitives.js": "cbab18ff82b8613288089b0242458e44183c99aa417c906e4bc1453fb62a649b",
|
||||
"shared-2YS4Y76I.js": "3a395caca1c4d9d75756a2e897a6e71333d1fde2dd75d5234edfc5c898ab7d05"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
// Generated from @lobehub/icons@1.97.2. See LICENSE and README.md.
|
||||
import {
|
||||
Color_default,
|
||||
Color_default10,
|
||||
Color_default11,
|
||||
Color_default12,
|
||||
Color_default13,
|
||||
Color_default14,
|
||||
Color_default15,
|
||||
Color_default16,
|
||||
Color_default17,
|
||||
Color_default18,
|
||||
Color_default19,
|
||||
Color_default2,
|
||||
Color_default20,
|
||||
Color_default3,
|
||||
Color_default4,
|
||||
Color_default5,
|
||||
Color_default6,
|
||||
Color_default7,
|
||||
Color_default8,
|
||||
Color_default9,
|
||||
Mono_default,
|
||||
Mono_default10,
|
||||
Mono_default11,
|
||||
Mono_default12,
|
||||
Mono_default13,
|
||||
Mono_default14,
|
||||
Mono_default15,
|
||||
Mono_default16,
|
||||
Mono_default17,
|
||||
Mono_default18,
|
||||
Mono_default19,
|
||||
Mono_default2,
|
||||
Mono_default20,
|
||||
Mono_default21,
|
||||
Mono_default22,
|
||||
Mono_default23,
|
||||
Mono_default24,
|
||||
Mono_default25,
|
||||
Mono_default26,
|
||||
Mono_default27,
|
||||
Mono_default28,
|
||||
Mono_default29,
|
||||
Mono_default3,
|
||||
Mono_default30,
|
||||
Mono_default4,
|
||||
Mono_default5,
|
||||
Mono_default6,
|
||||
Mono_default7,
|
||||
Mono_default8,
|
||||
Mono_default9,
|
||||
} from './shared-2YS4Y76I.js';
|
||||
export {
|
||||
Color_default12 as Ai360Color,
|
||||
Mono_default15 as Ai360Mono,
|
||||
Color_default as ClaudeColor,
|
||||
Mono_default2 as ClaudeMono,
|
||||
Color_default11 as CloudflareColor,
|
||||
Mono_default14 as CloudflareMono,
|
||||
Color_default10 as CohereColor,
|
||||
Mono_default13 as CohereMono,
|
||||
Mono_default26 as CozeMono,
|
||||
Color_default5 as DeepSeekColor,
|
||||
Mono_default7 as DeepSeekMono,
|
||||
Color_default17 as DifyColor,
|
||||
Mono_default25 as DifyMono,
|
||||
Color_default15 as DoubaoColor,
|
||||
Mono_default21 as DoubaoMono,
|
||||
Color_default2 as GeminiColor,
|
||||
Mono_default3 as GeminiMono,
|
||||
Color_default9 as HunyuanColor,
|
||||
Mono_default12 as HunyuanMono,
|
||||
Mono_default17 as JinaMono,
|
||||
Color_default19 as KlingColor,
|
||||
Mono_default28 as KlingMono,
|
||||
Mono_default11 as MidjourneyMono,
|
||||
Color_default6 as MinimaxColor,
|
||||
Mono_default8 as MinimaxMono,
|
||||
Color_default14 as MistralColor,
|
||||
Mono_default18 as MistralMono,
|
||||
Mono_default4 as MoonshotMono,
|
||||
Mono_default20 as OllamaMono,
|
||||
Mono_default as OpenAIMono,
|
||||
Mono_default24 as OpenRouterMono,
|
||||
Color_default20 as PerplexityColor,
|
||||
Mono_default29 as PerplexityMono,
|
||||
Color_default4 as QwenColor,
|
||||
Mono_default6 as QwenMono,
|
||||
Mono_default30 as ReplicateMono,
|
||||
Color_default18 as SiliconCloudColor,
|
||||
Mono_default27 as SiliconCloudMono,
|
||||
Color_default8 as SparkColor,
|
||||
Mono_default10 as SparkMono,
|
||||
Mono_default22 as SunoMono,
|
||||
Color_default7 as WenxinColor,
|
||||
Mono_default9 as WenxinMono,
|
||||
Mono_default19 as XAIMono,
|
||||
Color_default16 as XinferenceColor,
|
||||
Mono_default23 as XinferenceMono,
|
||||
Color_default13 as YiColor,
|
||||
Mono_default16 as YiMono,
|
||||
Color_default3 as ZhipuColor,
|
||||
Mono_default5 as ZhipuMono,
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user