mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-03 20:34:40 +01:00 
			
		
		
		
	refactor: export everything from @excalidraw/element, don't import from subpaths (#9466)
				
					
				
			* Don't import from subpaths * Fix tests, move related tests to element
This commit is contained in:
		@@ -1,23 +1,23 @@
 | 
			
		||||
import { KEYS, updateActiveTool } from "@excalidraw/common";
 | 
			
		||||
 | 
			
		||||
import { getNonDeletedElements } from "@excalidraw/element";
 | 
			
		||||
import { fixBindingsAfterDeletion } from "@excalidraw/element/binding";
 | 
			
		||||
import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
 | 
			
		||||
import { newElementWith } from "@excalidraw/element/mutateElement";
 | 
			
		||||
import { getContainerElement } from "@excalidraw/element/textElement";
 | 
			
		||||
import { fixBindingsAfterDeletion } from "@excalidraw/element";
 | 
			
		||||
import { LinearElementEditor } from "@excalidraw/element";
 | 
			
		||||
import { newElementWith } from "@excalidraw/element";
 | 
			
		||||
import { getContainerElement } from "@excalidraw/element";
 | 
			
		||||
import {
 | 
			
		||||
  isBoundToContainer,
 | 
			
		||||
  isElbowArrow,
 | 
			
		||||
  isFrameLikeElement,
 | 
			
		||||
} from "@excalidraw/element/typeChecks";
 | 
			
		||||
import { getFrameChildren } from "@excalidraw/element/frame";
 | 
			
		||||
} from "@excalidraw/element";
 | 
			
		||||
import { getFrameChildren } from "@excalidraw/element";
 | 
			
		||||
 | 
			
		||||
import {
 | 
			
		||||
  getElementsInGroup,
 | 
			
		||||
  selectGroupsForSelectedElements,
 | 
			
		||||
} from "@excalidraw/element/groups";
 | 
			
		||||
} from "@excalidraw/element";
 | 
			
		||||
 | 
			
		||||
import { CaptureUpdateAction } from "@excalidraw/element/store";
 | 
			
		||||
import { CaptureUpdateAction } from "@excalidraw/element";
 | 
			
		||||
 | 
			
		||||
import type { ExcalidrawElement } from "@excalidraw/element/types";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user