Virtual whiteboard for sketching hand-drawn like diagrams
feat: export getCommonBounds util (#7247)
Aakansha Doshice7a84766812
diff --git a/src/packages/excalidraw/CHANGELOG.md b/src/packages/excalidraw/CHANGELOG.mdindex 474b1c9029..7f21b9cc3b 100644--- a/src/packages/excalidraw/CHANGELOG.md+++ b/src/packages/excalidraw/CHANGELOG.md@@ -15,8 +15,14 @@ Please add the latest change on the top under the correct section.### Features+- Export [`getCommonBounds`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils#getcommonbounds) helper from the package [#7247](https://github.com/excalidraw/excalidraw/pull/7247).++- Support frames via programmatic API [#7205](https://github.com/excalidraw/excalidraw/pull/7205).+- Export `elementsOverlappingBBox`, `isElementInsideBBox`, `elementPartiallyOverlapsWithOrContainsBBox` helpers for filtering/checking if elements within bounds. [#6727](https://github.com/excalidraw/excalidraw/pull/6727)+- Regenerate ids by default when using transform api and also update bindings by 0.5px to avoid possible overlapping [#7195](https://github.com/excalidraw/excalidraw/pull/7195)+- Add `selected` prop for `MainMenu.Item` and `MainMenu.ItemCustom` components to indicate active state. [#7078](https://github.com/excalidraw/excalidraw/pull/7078)#### BREAKING CHANGESdiff --git a/src/packages/excalidraw/index.tsx b/src/packages/excalidraw/index.tsxindex f0e9adc0b6..ac12c65afd 100644--- a/src/packages/excalidraw/index.tsx+++ b/src/packages/excalidraw/index.tsx@@ -254,6 +254,7 @@ export { DefaultSidebar } from "../../components/DefaultSidebar";export { normalizeLink } from "../../data/url";export { convertToExcalidrawElements } from "../../data/transform";+export { getCommonBounds } from "../../element/bounds";export {elementsOverlappingBBox,