refactor(icons): 迁移 components 目录图标到 lucide-react

- @chakra-ui/icons → lucide-react
- react-icons → lucide-react
- 涉及 49 个组件文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-25 12:23:19 +08:00
parent 33e9a10524
commit 6f5c6c933e
49 changed files with 250 additions and 282 deletions

View File

@@ -21,8 +21,7 @@ import {
MenuItem,
Button,
} from '@chakra-ui/react';
import { FiSend, FiRefreshCw, FiSettings, FiDownload } from 'react-icons/fi';
import { ChevronDownIcon } from '@chakra-ui/icons';
import { Send, RefreshCw, Settings, Download } from 'lucide-react';
import MessageBubble from './MessageBubble';
import { mcpService } from '../../services/mcpService';
import { logger } from '../../utils/logger';
@@ -252,14 +251,14 @@ export const ChatInterface = () => {
</HStack>
<HStack>
<IconButton
icon={<FiRefreshCw />}
icon={<RefreshCw />}
size="sm"
variant="ghost"
aria-label="清空对话"
onClick={handleClearChat}
/>
<IconButton
icon={<FiDownload />}
icon={<Download />}
size="sm"
variant="ghost"
aria-label="导出对话"
@@ -268,7 +267,7 @@ export const ChatInterface = () => {
<Menu>
<MenuButton
as={IconButton}
icon={<FiSettings />}
icon={<Settings />}
size="sm"
variant="ghost"
aria-label="设置"
@@ -360,7 +359,7 @@ export const ChatInterface = () => {
disabled={isLoading}
/>
<IconButton
icon={<FiSend />}
icon={<Send />}
colorScheme="blue"
aria-label="发送"
onClick={handleSendMessage}