@dwelle/excalidraw 0.3.37 → 0.3.41

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 (42) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/excalidraw-assets-dev/{image-8825d180ee32659f8996.js → image-89cddf27ef982ca154dc.js} +0 -0
  3. package/dist/excalidraw.development.js +85 -31
  4. package/dist/excalidraw.production.min.js +1 -1
  5. package/package.json +1 -1
  6. package/types/actions/actionAddToLibrary.d.ts +9 -12
  7. package/types/actions/actionCanvas.d.ts +40 -47
  8. package/types/actions/actionClipboard.d.ts +15 -20
  9. package/types/actions/actionDeleteSelected.d.ts +9 -12
  10. package/types/actions/actionExport.d.ts +27 -36
  11. package/types/actions/actionFinalize.d.ts +6 -8
  12. package/types/actions/actionMenu.d.ts +9 -12
  13. package/types/actions/actionProperties.d.ts +36 -48
  14. package/types/actions/actionStyles.d.ts +3 -4
  15. package/types/actions/actionToggleGridMode.d.ts +3 -4
  16. package/types/actions/actionToggleStats.d.ts +3 -4
  17. package/types/actions/actionToggleViewMode.d.ts +3 -4
  18. package/types/actions/actionToggleZenMode.d.ts +3 -4
  19. package/types/actions/actionUnbindText.d.ts +11 -0
  20. package/types/actions/index.d.ts +2 -0
  21. package/types/actions/shortcuts.d.ts +1 -1
  22. package/types/actions/types.d.ts +1 -1
  23. package/types/appState.d.ts +0 -4
  24. package/types/components/App.d.ts +11 -2
  25. package/types/components/LayerUI.d.ts +2 -1
  26. package/types/components/MobileMenu.d.ts +2 -1
  27. package/types/components/PenModeButton.d.ts +13 -0
  28. package/types/components/Tooltip.d.ts +7 -0
  29. package/types/components/icons.d.ts +1 -0
  30. package/types/constants.d.ts +1 -0
  31. package/types/element/Hyperlink.d.ts +117 -0
  32. package/types/element/collision.d.ts +1 -0
  33. package/types/element/linearElementEditor.d.ts +4 -6
  34. package/types/element/newElement.d.ts +1 -1
  35. package/types/element/textWysiwyg.d.ts +1 -3
  36. package/types/element/types.d.ts +1 -0
  37. package/types/keys.d.ts +1 -0
  38. package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-89cddf27ef982ca154dc.d.ts +0 -0
  39. package/types/renderer/renderElement.d.ts +1 -0
  40. package/types/scene/index.d.ts +1 -1
  41. package/types/scene/zoom.d.ts +12 -5
  42. package/types/types.d.ts +4 -4
package/CHANGELOG.md CHANGED
@@ -68,6 +68,7 @@ Please add the latest change on the top under the correct section.
68
68
 
69
69
  ### Fixes
70
70
 
71
+ - Reset `unmounted` state on the component once component mounts to fix the mounting/unmounting repeatedly when used with `useEffect` [#4682](https://github.com/excalidraw/excalidraw/pull/4682).
71
72
  - Panning the canvas using `mousewheel-drag` and `space-drag` now prevents the browser from scrolling the container/page [#4489](https://github.com/excalidraw/excalidraw/pull/4489).
72
73
  - Scope drag and drop events to Excalidraw container to prevent overriding host application drag and drop events.
73
74