feat: Add BOM tree view and BOM item editor components

- Introduced new components for BOM tree view and BOM item editor, enhancing the data management capabilities within the application.
- Updated the ComponentsPanel to include these new components with appropriate descriptions and default sizes.
- Integrated the BOM item editor into the V2PropertiesPanel for seamless editing of BOM items.
- Adjusted the SplitLineComponent to improve the handling of canvas split positions, ensuring better user experience during component interactions.
This commit is contained in:
DDD1542
2026-02-24 10:49:23 +09:00
parent 5ec689101e
commit 27853a9447
13 changed files with 2258 additions and 522 deletions

View File

@@ -123,8 +123,8 @@ export const SplitLineComponent: React.FC<SplitLineComponentProps> = ({
const startOffset = dragOffset;
const scaleFactor = getScaleFactor();
const cw = detectCanvasWidth();
const MIN_POS = 50;
const MAX_POS = cw - 50;
const MIN_POS = Math.max(50, cw * 0.15);
const MAX_POS = cw - Math.max(50, cw * 0.15);
setIsDragging(true);
setCanvasSplit({ isDragging: true });