// EditorShell — the dual-canvas workspace, themed by the wrapping artboard.
function TopBar({ data, presence }) {
return (
);
}
function LeftRail({ data, focusBlockId, setFocusBlockId, density }) {
const [collapsed, setCollapsed] = React.useState(false);
const [open, setOpen] = React.useState({ outline: true, model: true, requirements: true });
const toggle = (k) => setOpen((s) => ({ ...s, [k]: !s[k] }));
if (collapsed) {
return (
);
}
return (
);
}
function CanvasHeader({ title, subtitle, right }) {
return (
);
}
function EditorShell({ data, density, markupStyle, diagramStyle, presence }) {
const [focusBlockId, setFocusBlockId] = React.useState(null);
return (
);
}
window.EditorShell = EditorShell;