@dwelle/excalidraw 0.3.53 → 0.3.56

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 +12 -0
  2. package/dist/excalidraw-assets-dev/{image-73be8b3c1837ea26950c.js → image-eddc6ed66acd3a3f3d46.js} +0 -0
  3. package/dist/excalidraw.development.js +51 -51
  4. package/dist/excalidraw.production.min.js +1 -1
  5. package/package.json +4 -4
  6. package/types/actions/actionAddToLibrary.d.ts +9 -3
  7. package/types/actions/actionBoundText.d.ts +109 -0
  8. package/types/actions/actionCanvas.d.ts +26 -9
  9. package/types/actions/actionClipboard.d.ts +15 -5
  10. package/types/actions/actionDeleteSelected.d.ts +9 -3
  11. package/types/actions/actionExport.d.ts +27 -9
  12. package/types/actions/actionFinalize.d.ts +7 -3
  13. package/types/actions/actionMenu.d.ts +9 -3
  14. package/types/actions/actionProperties.d.ts +39 -13
  15. package/types/actions/actionStyles.d.ts +3 -1
  16. package/types/actions/actionToggleGridMode.d.ts +3 -1
  17. package/types/actions/actionToggleStats.d.ts +3 -1
  18. package/types/actions/actionToggleViewMode.d.ts +3 -1
  19. package/types/actions/actionToggleZenMode.d.ts +3 -1
  20. package/types/actions/index.d.ts +1 -1
  21. package/types/actions/types.d.ts +1 -1
  22. package/types/appState.d.ts +7 -3
  23. package/types/components/Actions.d.ts +5 -4
  24. package/types/components/App.d.ts +5 -4
  25. package/types/components/ToolButton.d.ts +3 -0
  26. package/types/constants.d.ts +1 -0
  27. package/types/data/restore.d.ts +1 -1
  28. package/types/element/Hyperlink.d.ts +3 -1
  29. package/types/element/dragElements.d.ts +1 -1
  30. package/types/element/linearElementEditor.d.ts +3 -1
  31. package/types/element/sizeHelpers.d.ts +2 -1
  32. package/types/element/textElement.d.ts +1 -2
  33. package/types/element/typeChecks.d.ts +2 -2
  34. package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-eddc6ed66acd3a3f3d46.d.ts +0 -0
  35. package/types/shapes.d.ts +1 -1
  36. package/types/types.d.ts +11 -2
  37. package/types/utils.d.ts +4 -2
package/CHANGELOG.md CHANGED
@@ -11,6 +11,18 @@ The change should be grouped under one of the below section and must contain PR
11
11
  Please add the latest change on the top under the correct section.
12
12
  -->
13
13
 
14
+ ## Unreleased
15
+
16
+ ### Excalidraw API
17
+
18
+ #### Refactor
19
+
20
+ - Rename `appState.elementType` to [`appState.activeTool`](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L80) which is now an object.
21
+
22
+ ##### BREAKING CHANGE
23
+
24
+ You will need to pass `activeTool` instead of `elementType` from now onwards in `appState`
25
+
14
26
  ## 0.11.0 (2022-02-17)
15
27
 
16
28
  ## Excalidraw API