@dwelle/excalidraw 0.3.56 → 0.3.57

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/excalidraw.development.js +41 -41
  3. package/dist/excalidraw.production.min.js +1 -1
  4. package/package.json +1 -1
  5. package/types/actions/actionAddToLibrary.d.ts +9 -3
  6. package/types/actions/actionAlign.d.ts +18 -0
  7. package/types/actions/actionBoundText.d.ts +8 -1
  8. package/types/actions/actionCanvas.d.ts +44 -11
  9. package/types/actions/actionClipboard.d.ts +22 -5
  10. package/types/actions/actionDeleteSelected.d.ts +10 -3
  11. package/types/actions/actionDistribute.d.ts +6 -0
  12. package/types/actions/actionDuplicateSelection.d.ts +3 -0
  13. package/types/actions/actionExport.d.ts +44 -9
  14. package/types/actions/actionFinalize.d.ts +5 -2
  15. package/types/actions/actionFlip.d.ts +6 -0
  16. package/types/actions/actionGroup.d.ts +6 -0
  17. package/types/actions/actionMenu.d.ts +20 -3
  18. package/types/actions/actionNavigate.d.ts +3 -0
  19. package/types/actions/actionProperties.d.ts +43 -13
  20. package/types/actions/actionSelectAll.d.ts +3 -0
  21. package/types/actions/actionStyles.d.ts +8 -1
  22. package/types/actions/actionToggleGridMode.d.ts +6 -1
  23. package/types/actions/actionToggleStats.d.ts +5 -1
  24. package/types/actions/actionToggleViewMode.d.ts +6 -1
  25. package/types/actions/actionToggleZenMode.d.ts +6 -1
  26. package/types/actions/actionZindex.d.ts +12 -0
  27. package/types/actions/manager.d.ts +3 -3
  28. package/types/actions/types.d.ts +6 -8
  29. package/types/appState.d.ts +2 -1
  30. package/types/components/App.d.ts +1 -1
  31. package/types/components/ImageExportDialog.d.ts +2 -2
  32. package/types/components/JSONExportDialog.d.ts +2 -2
  33. package/types/element/Hyperlink.d.ts +6 -2
  34. package/types/element/linearElementEditor.d.ts +2 -1
  35. package/types/scene/Scene.d.ts +1 -1
  36. package/types/types.d.ts +3 -1
  37. package/types/utils.d.ts +2 -0
package/CHANGELOG.md CHANGED
@@ -17,7 +17,13 @@ Please add the latest change on the top under the correct section.
17
17
 
18
18
  #### Refactor
19
19
 
20
- - Rename `appState.elementType` to [`appState.activeTool`](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L80) which is now an object.
20
+ - Rename `appState.elementLocked` to `appState.activeTool.locked` [#4983](https://github.com/excalidraw/excalidraw/pull/4983).
21
+
22
+ ##### BREAKING CHANGE
23
+
24
+ You will need to pass `activeTool.locked` instead of `elementType` from now onwards in `appState`.
25
+
26
+ - Rename `appState.elementType` to [`appState.activeTool`](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L80) which is now an object [#4698](https://github.com/excalidraw/excalidraw/pull/4968).
21
27
 
22
28
  ##### BREAKING CHANGE
23
29