@excalidraw/excalidraw 0.16.1-6920-d3d0bd0 → 0.16.1-7251-fc9c8cd
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 +18 -0
- package/dist/excalidraw-assets/{vendor-1d7fa3a52ac368151052.js → vendor-0452b0f95a04b9622103.js} +2 -2
- package/dist/excalidraw-assets-dev/{vendor-69c110bed9124a145b63.js → vendor-2622f46640b7323f3bcc.js} +7 -7
- package/dist/excalidraw.development.js +34 -34
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/components/App.d.ts +11 -7
- package/types/constants.d.ts +0 -1
- package/types/packages/excalidraw/index.d.ts +3 -3
- package/types/types.d.ts +11 -14
- /package/dist/excalidraw-assets/{vendor-1d7fa3a52ac368151052.js.LICENSE.txt → vendor-0452b0f95a04b9622103.js.LICENSE.txt} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-1d7fa3a52ac368151052.d.ts → vendor-0452b0f95a04b9622103.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-69c110bed9124a145b63.d.ts → vendor-2622f46640b7323f3bcc.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -15,10 +15,28 @@ Please add the latest change on the top under the correct section.
|
|
|
15
15
|
|
|
16
16
|
### Features
|
|
17
17
|
|
|
18
|
+
- Support `excalidrawAPI` prop for accessing the Excalidraw API [#7251](https://github.com/excalidraw/excalidraw/pull/7251).
|
|
19
|
+
|
|
20
|
+
#### BREAKING CHANGE
|
|
21
|
+
|
|
22
|
+
- `Ref` is not supported anymore so if you are using ref, you will need to migrate to `excalidrawAPI` prop
|
|
23
|
+
|
|
24
|
+
- `ready` and `readyPromise` flags have been removed as well from the API as we realized that these flags are not being used and we are in process of cleaning up and simplify the API.
|
|
25
|
+
|
|
26
|
+
- Export [`getCommonBounds`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils#getcommonbounds) helper from the package [#7247](https://github.com/excalidraw/excalidraw/pull/7247).
|
|
27
|
+
|
|
28
|
+
- Support frames via programmatic API [#7205](https://github.com/excalidraw/excalidraw/pull/7205).
|
|
29
|
+
|
|
18
30
|
- Export `elementsOverlappingBBox`, `isElementInsideBBox`, `elementPartiallyOverlapsWithOrContainsBBox` helpers for filtering/checking if elements within bounds. [#6727](https://github.com/excalidraw/excalidraw/pull/6727)
|
|
31
|
+
|
|
19
32
|
- 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)
|
|
33
|
+
|
|
20
34
|
- Add `selected` prop for `MainMenu.Item` and `MainMenu.ItemCustom` components to indicate active state. [#7078](https://github.com/excalidraw/excalidraw/pull/7078)
|
|
21
35
|
|
|
36
|
+
#### BREAKING CHANGES
|
|
37
|
+
|
|
38
|
+
- [`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)
|
|
39
|
+
|
|
22
40
|
## 0.16.1 (2023-09-21)
|
|
23
41
|
|
|
24
42
|
## Excalidraw Library
|