扩展状态弹窗承接提示类 notice
扩展 PlatformStatusDialog 支持标题栏提示与关闭路径 PlatformEntryFlowShellImpl 改用共享状态弹窗承接泥点提示与作品不可用提示 RpgCreationEntityEditorShared 改用共享状态弹窗承接编辑器提示 补充状态弹窗与编辑器提示测试并更新文档记录
This commit is contained in:
@@ -102,6 +102,7 @@ import { PlatformModalCloseButton } from '../common/PlatformModalCloseButton';
|
||||
import { PlatformOverlayBadge } from '../common/PlatformOverlayBadge';
|
||||
import { PlatformPillBadge } from '../common/PlatformPillBadge';
|
||||
import { PlatformSlotBadge } from '../common/PlatformSlotBadge';
|
||||
import { PlatformStatusDialog } from '../common/PlatformStatusDialog';
|
||||
import { PlatformStatusMessage } from '../common/PlatformStatusMessage';
|
||||
import { PlatformSubpanel } from '../common/PlatformSubpanel';
|
||||
import { PlatformUploadPreviewCard } from '../common/PlatformUploadPreviewCard';
|
||||
@@ -1494,16 +1495,27 @@ function EditorNoticeDialog({
|
||||
onClose: () => void;
|
||||
}) {
|
||||
return (
|
||||
<UnifiedConfirmDialog
|
||||
open
|
||||
<PlatformStatusDialog
|
||||
status="error"
|
||||
title="提示"
|
||||
description={message}
|
||||
onClose={onClose}
|
||||
confirmLabel="知道了"
|
||||
overlayClassName="z-[140] !items-center"
|
||||
showHeader
|
||||
showCloseButton
|
||||
closeOnBackdrop
|
||||
closeOnEscape
|
||||
action={{
|
||||
label: '知道了',
|
||||
onClick: onClose,
|
||||
surface: 'platform',
|
||||
size: 'sm',
|
||||
fullWidth: false,
|
||||
className: 'min-h-0 rounded-full px-4 py-2',
|
||||
}}
|
||||
zIndexClassName="z-[140]"
|
||||
overlayClassName="rpg-editor-notice-dialog-overlay !items-center"
|
||||
panelClassName="platform-remap-surface rounded-[1.5rem]"
|
||||
>
|
||||
{message}
|
||||
</UnifiedConfirmDialog>
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user