feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,15 +17,15 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { ChevronDown as ActionChevronDown } from '@/components/common/icons/ActionIcons';
|
||||
import React from 'react';
|
||||
import { ChevronDown } from 'lucide-react';
|
||||
import './collapsible-panel.css';
|
||||
|
||||
const CollapsibleHeader = ({ icon, title, isOpen, onToggle, extra }) => (
|
||||
<button
|
||||
type='button'
|
||||
aria-expanded={isOpen}
|
||||
className='w-full text-left flex items-center justify-between gap-2 cursor-pointer select-none px-5 py-4 bg-white dark:bg-gray-800 rounded-xl shadow-sm hover:shadow-md transition-all border border-gray-100 dark:border-gray-700'
|
||||
className='app-action-button w-full text-left flex items-center justify-between gap-2 cursor-pointer select-none px-5 py-4 bg-white dark:bg-gray-800 rounded-xl shadow-sm hover:shadow-md transition-all border border-gray-100 dark:border-gray-700'
|
||||
onClick={onToggle}
|
||||
>
|
||||
<span className='flex items-center gap-2 min-w-0 flex-wrap'>
|
||||
@@ -35,7 +35,7 @@ const CollapsibleHeader = ({ icon, title, isOpen, onToggle, extra }) => (
|
||||
</span>
|
||||
{extra}
|
||||
</span>
|
||||
<ChevronDown
|
||||
<ActionChevronDown
|
||||
aria-hidden='true'
|
||||
className={`w-5 h-5 flex-shrink-0 text-gray-400 transition-transform duration-300 ${isOpen ? 'rotate-180' : ''}`}
|
||||
/>
|
||||
|
||||
@@ -17,6 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
|
||||
import React from 'react';
|
||||
import {
|
||||
Button,
|
||||
@@ -27,7 +28,7 @@ import {
|
||||
Tag,
|
||||
Typography,
|
||||
} from '@/components/ui';
|
||||
import { ClipboardList, Download } from 'lucide-react';
|
||||
import { ClipboardList } from 'lucide-react';
|
||||
import { ChangeText, OrgNameCell, ReasonTags, SectionCard } from './shared';
|
||||
import {
|
||||
daysSince,
|
||||
@@ -471,7 +472,7 @@ export const ActionCenter = ({ lists, activeTab, onTabChange, cny, t }) => (
|
||||
tabBarExtraContent={
|
||||
<Button
|
||||
size='small'
|
||||
icon={<Download className='w-3.5 h-3.5' />}
|
||||
icon={<ActionDownload className='w-3.5 h-3.5' />}
|
||||
disabled={lists[activeTab].length === 0}
|
||||
onClick={() =>
|
||||
exportList(activeTab, lists[activeTab], cny, t, lists.atRisk)
|
||||
|
||||
@@ -17,13 +17,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
|
||||
import React from 'react';
|
||||
import { Banner, Button, Card, Tag, Tooltip } from '@/components/ui';
|
||||
import {
|
||||
AlertOctagon,
|
||||
AlertTriangle,
|
||||
CheckCircle2,
|
||||
Download,
|
||||
Info,
|
||||
Lightbulb,
|
||||
} from 'lucide-react';
|
||||
@@ -58,7 +58,7 @@ export const ReportHeader = ({ report, onExport, t }) => {
|
||||
</div>
|
||||
</div>
|
||||
<Button
|
||||
icon={<Download className='w-4 h-4' />}
|
||||
icon={<ActionDownload className='w-4 h-4' />}
|
||||
onClick={onExport}
|
||||
disabled={!report.orgs?.length}
|
||||
>
|
||||
|
||||
@@ -17,6 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { Download as ActionDownload } from '@/components/common/icons/ActionIcons';
|
||||
import React, { useMemo } from 'react';
|
||||
import {
|
||||
Button,
|
||||
@@ -27,7 +28,7 @@ import {
|
||||
Tag,
|
||||
Typography,
|
||||
} from '@/components/ui';
|
||||
import { Download, Search, Table2, UserCog } from 'lucide-react';
|
||||
import { Search, Table2, UserCog } from 'lucide-react';
|
||||
import { ChangeText, OrgNameCell, SectionCard } from './shared';
|
||||
import {
|
||||
ALERT_LEVELS,
|
||||
@@ -429,7 +430,7 @@ export const OrgDetailTable = ({ report, filter, setFilter, cny, t }) => {
|
||||
) : null}
|
||||
<Button
|
||||
className='ml-auto'
|
||||
icon={<Download className='w-4 h-4' />}
|
||||
icon={<ActionDownload className='w-4 h-4' />}
|
||||
onClick={onExport}
|
||||
disabled={rows.length === 0}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user