抽取平台批量操作工具栏
新增 PlatformBatchActionToolbar 和组件测试 项目页选择模式底部工具栏复用平台批量工具栏 更新 TRACKING 记录批量操作组件收口
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
type EditorProjectSnapshot,
|
||||
} from '../../services/image-editor/editorProjectClient';
|
||||
import { PlatformActionButton } from '../common/PlatformActionButton';
|
||||
import { PlatformBatchActionToolbar } from '../common/PlatformBatchActionToolbar';
|
||||
import { PlatformEmptyState } from '../common/PlatformEmptyState';
|
||||
import {
|
||||
PlatformFloatingMenu,
|
||||
@@ -374,7 +375,7 @@ export function ProjectGalleryView({ onOpenProject }: ProjectGalleryViewProps) {
|
||||
</UnifiedModal>
|
||||
|
||||
{isSelectionMode ? (
|
||||
<div className="project-gallery__batch-toolbar" role="toolbar" aria-label="批量操作">
|
||||
<PlatformBatchActionToolbar>
|
||||
<PlatformActionButton
|
||||
tone="secondary"
|
||||
size="sm"
|
||||
@@ -407,7 +408,7 @@ export function ProjectGalleryView({ onOpenProject }: ProjectGalleryViewProps) {
|
||||
<PlatformActionButton tone="secondary" size="sm" onClick={closeSelectionMode}>
|
||||
取消
|
||||
</PlatformActionButton>
|
||||
</div>
|
||||
</PlatformBatchActionToolbar>
|
||||
) : null}
|
||||
</main>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user