Correct Hub and Engine component geometry

This commit is contained in:
DCCONSTRUCTIONS
2026-07-10 03:14:43 +03:00
parent 73629d68c3
commit 4a9ad01ea6
28 changed files with 922 additions and 167 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ export interface InspectorSectionSpec {
group?: string;
content: ReactNode;
disabled?: boolean;
tone?: "default" | "accent";
}
export interface InspectorProps {
@@ -64,6 +65,7 @@ export function Inspector({
className="nodedc-inspector__section-trigger"
data-open={isOpen ? "true" : undefined}
data-active={activeId === section.id ? "true" : undefined}
data-tone={section.tone === "accent" ? "accent" : undefined}
aria-expanded={isOpen}
disabled={section.disabled}
onClick={() => toggle(section.id)}
@@ -98,4 +100,3 @@ export function ControlRow({ label, children, layout = "inline", className }: Co
</div>
);
}