@excalidraw/excalidraw 0.16.1-6920-3a6028b → 0.16.1-7251-baadf54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -15,10 +15,20 @@ Please add the latest change on the top under the correct section.
15
15
 
16
16
  ### Features
17
17
 
18
+ - Export [`getCommonBounds`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils#getcommonbounds) helper from the package [#7247](https://github.com/excalidraw/excalidraw/pull/7247).
19
+
20
+ - Support frames via programmatic API [#7205](https://github.com/excalidraw/excalidraw/pull/7205).
21
+
18
22
  - Export `elementsOverlappingBBox`, `isElementInsideBBox`, `elementPartiallyOverlapsWithOrContainsBBox` helpers for filtering/checking if elements within bounds. [#6727](https://github.com/excalidraw/excalidraw/pull/6727)
23
+
19
24
  - 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)
25
+
20
26
  - Add `selected` prop for `MainMenu.Item` and `MainMenu.ItemCustom` components to indicate active state. [#7078](https://github.com/excalidraw/excalidraw/pull/7078)
21
27
 
28
+ #### BREAKING CHANGES
29
+
30
+ - [`useDevice`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils#usedevice) hook's return value was changed to differentiate between `editor` and `viewport` breakpoints. [#7243](https://github.com/excalidraw/excalidraw/pull/7243)
31
+
22
32
  ## 0.16.1 (2023-09-21)
23
33
 
24
34
  ## Excalidraw Library