Rebuild downloads, link collection, settings, history, and statistics around a responsive desktop shell with compact account and queue tables, contextual navigation, persistent update affordances, unified overlays, and accessible keyboard interactions. Add safe history-folder reveal IPC, responsive 2560/1920/1366/1120 coverage, deterministic visual fixtures, focused component regressions, and release-tree exclusions for internal working files. Bump the public application version to 2.0.13.
61 lines
1.3 KiB
TypeScript
61 lines
1.3 KiB
TypeScript
import type { ReactElement, ReactNode } from "react";
|
|
|
|
export interface OverlayHostProps {
|
|
confirm?: ReactNode;
|
|
onlineBackup?: ReactNode;
|
|
diagnostics?: ReactNode;
|
|
deleteConfirmation?: ReactNode;
|
|
conflict?: ReactNode;
|
|
accountCreate?: ReactNode;
|
|
accountEdit?: ReactNode;
|
|
keyStats?: ReactNode;
|
|
linkPopup?: ReactNode;
|
|
update?: ReactNode;
|
|
toast?: ReactNode;
|
|
accountContextMenu?: ReactNode;
|
|
downloadContextMenu?: ReactNode;
|
|
columnContextMenu?: ReactNode;
|
|
historyContextMenu?: ReactNode;
|
|
dropOverlay?: ReactNode;
|
|
}
|
|
|
|
export function OverlayHost({
|
|
confirm,
|
|
onlineBackup,
|
|
diagnostics,
|
|
deleteConfirmation,
|
|
conflict,
|
|
accountCreate,
|
|
accountEdit,
|
|
keyStats,
|
|
linkPopup,
|
|
update,
|
|
toast,
|
|
accountContextMenu,
|
|
downloadContextMenu,
|
|
columnContextMenu,
|
|
historyContextMenu,
|
|
dropOverlay
|
|
}: OverlayHostProps): ReactElement {
|
|
return (
|
|
<div className="md-overlay-host" id="md-overlay-host">
|
|
{confirm}
|
|
{onlineBackup}
|
|
{diagnostics}
|
|
{deleteConfirmation}
|
|
{conflict}
|
|
{accountCreate}
|
|
{accountEdit}
|
|
{keyStats}
|
|
{linkPopup}
|
|
{update}
|
|
{toast}
|
|
{accountContextMenu}
|
|
{downloadContextMenu}
|
|
{columnContextMenu}
|
|
{historyContextMenu}
|
|
{dropOverlay}
|
|
</div>
|
|
);
|
|
}
|