bf27743595
This PR updates APIs related to shapes in the Editor. - removes the requirement for an `id` when creating shapes - `shapesOnCurrentPage` -> `currentPageShapes` - `findAncestor` -> `findShapeAncestor` - `findCommonAncestor` -> `findCommonShapeAncestor` - Adds `getCurrentPageShapeIds` - `getAncestors` -> `getShapeAncestors` - `getClipPath` -> `getShapeClipPath` - `getGeometry` -> `getShapeGeometry` - `getHandles` -> `getShapeHandles` - `getTransform` -> `getShapeLocalTransform` - `getPageTransform` -> `getShapePageTransform` - `getOutlineSegments` -> `getShapeOutlineSegments` - `getPageBounds` -> `getShapePageBounds` - `getPageTransform` -> `getShapePageTransform` - `getParentTransform` -> `getShapeParentTransform` - `selectionBounds` -> `selectionRotatedPageBounds` ### Change Type - [x] `major` — Breaking change ### Test Plan - [x] Unit Tests |
||
---|---|---|
.. | ||
export-snapshots.spec.ts-snapshots | ||
export-snapshots.spec.ts | ||
test-camera.spec.ts | ||
test-canvas-events.spec.ts | ||
test-clipboard.spec.ts | ||
test-focus.spec.ts | ||
test-kbds.spec.ts | ||
test-routes.spec.ts | ||
test-shapes.spec.ts | ||
test-smoke.spec.ts | ||
test-text.spec.ts |