feat: layer panel with element tree - shows layers + elements as children with count badges, sub-layers supported

This commit is contained in:
2026-06-27 14:27:34 +02:00
parent 4303076ce4
commit affa6be151
5 changed files with 1228 additions and 183 deletions
+2
View File
@@ -124,6 +124,7 @@ export interface RightSidebarProps {
onPanelChange: (panel: RightPanel) => void;
selectedElement: CADElement | null;
layers: CADLayer[];
elements?: CADElement[];
blocks: BlockDefinition[];
activeLayerId?: string;
onSelectLayer?: (id: string) => void;
@@ -162,6 +163,7 @@ export interface PropertiesPanelProps {
export interface LayerPanelProps {
layers: CADLayer[];
elements?: CADElement[];
activeLayerId?: string;
onSelectLayer: (id: string) => void;
onAddLayer: () => void;