@zsviczian/excalidraw 0.13.0-obsidian-1 → 0.13.0-obsidian-2

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 (45) hide show
  1. package/README.md +1 -1
  2. package/dist/excalidraw.development.js +76 -54
  3. package/dist/excalidraw.production.min.js +1 -1
  4. package/package.json +1 -1
  5. package/types/actions/actionAddToLibrary.d.ts +3 -6
  6. package/types/actions/actionBoundText.d.ts +1 -2
  7. package/types/actions/actionCanvas.d.ts +21 -25
  8. package/types/actions/actionClipboard.d.ts +14 -10
  9. package/types/actions/actionDeleteSelected.d.ts +12 -6
  10. package/types/actions/actionExport.d.ts +17 -25
  11. package/types/actions/actionFinalize.d.ts +2 -4
  12. package/types/actions/actionLinearEditor.d.ts +1 -2
  13. package/types/actions/actionMenu.d.ts +5 -6
  14. package/types/actions/actionNavigate.d.ts +1 -0
  15. package/types/actions/actionProperties.d.ts +15 -28
  16. package/types/actions/actionStyles.d.ts +1 -2
  17. package/types/actions/actionToggleGridMode.d.ts +2 -2
  18. package/types/actions/actionToggleLock.d.ts +1 -2
  19. package/types/actions/actionToggleStats.d.ts +2 -2
  20. package/types/actions/actionToggleViewMode.d.ts +2 -2
  21. package/types/actions/actionToggleZenMode.d.ts +2 -2
  22. package/types/actions/types.d.ts +4 -1
  23. package/types/appState.d.ts +8 -9
  24. package/types/clipboard.d.ts +6 -1
  25. package/types/components/App.d.ts +1 -1
  26. package/types/components/ContextMenu.d.ts +9 -10
  27. package/types/constants.d.ts +7 -5
  28. package/types/element/Hyperlink.d.ts +1 -2
  29. package/types/element/bounds.d.ts +3 -2
  30. package/types/element/linearElementEditor.d.ts +32 -5
  31. package/types/element/newElement.d.ts +2 -2
  32. package/types/element/resizeElements.d.ts +0 -1
  33. package/types/element/textElement.d.ts +17 -2
  34. package/types/element/transformHandles.d.ts +2 -3
  35. package/types/element/typeChecks.d.ts +10 -1
  36. package/types/element/types.d.ts +11 -4
  37. package/types/excalidraw-app/data/index.d.ts +8 -9
  38. package/types/excalidraw-app/data/localStorage.d.ts +8 -9
  39. package/types/math.d.ts +2 -1
  40. package/types/renderer/renderElement.d.ts +4 -3
  41. package/types/scene/Fonts.d.ts +21 -0
  42. package/types/scene/Scene.d.ts +15 -0
  43. package/types/scene/comparisons.d.ts +2 -3
  44. package/types/scene/index.d.ts +1 -1
  45. package/types/types.d.ts +2 -3
package/README.md CHANGED
@@ -933,7 +933,7 @@ This function will make sure all properties of element is correctly set and if a
933
933
 
934
934
  When `localElements` are supplied, they are used to ensure that existing restored elements reuse `version` (and increment it), and regenerate `versionNonce`. Use this when you import elements which may already be present in the scene to ensure that you do not disregard the newly imported elements if you're using element version to detect the updates.
935
935
 
936
- Parameter `refreshDimensions` indicates whether we should also recalculate text element dimensions. Defaults to `true`, but since this is a potentially costly operation, you may want to disable it if you restore elements in tight loops, such as during collaboration.
936
+ Parameter `refreshDimensions` indicates whether we should also recalculate text element dimensions. Defaults to `false`. Since this is a potentially costly operation, you may want to disable it if you restore elements in tight loops, such as during collaboration.
937
937
 
938
938
  #### `restore`
939
939