@excalidraw/excalidraw 0.10.0 → 0.11.0-5346-59101a1

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 (404) hide show
  1. package/CHANGELOG.md +1153 -0
  2. package/README.md +537 -119
  3. package/README_NEXT.md +1345 -0
  4. package/dist/excalidraw-assets/i18n-ar-SA-json-f37c9765d6ba9c94db28.js +1 -0
  5. package/dist/excalidraw-assets/i18n-bg-BG-json-d8c72e41cf02e763b54c.js +1 -0
  6. package/dist/excalidraw-assets/i18n-bn-BD-json-246ddff2b69891d1399d.js +1 -0
  7. package/dist/excalidraw-assets/i18n-ca-ES-json-2583291c4633e96df9d6.js +1 -0
  8. package/dist/excalidraw-assets/i18n-cs-CZ-json-7fb82d30a7139f991154.js +1 -0
  9. package/dist/excalidraw-assets/i18n-da-DK-json-5f58e2d75044deee8410.js +1 -0
  10. package/dist/excalidraw-assets/i18n-de-DE-json-20912cca3094f0524a21.js +1 -0
  11. package/dist/excalidraw-assets/i18n-el-GR-json-96277306136a9ee3d56c.js +1 -0
  12. package/dist/excalidraw-assets/i18n-es-ES-json-2d9209d0d8b45e340212.js +1 -0
  13. package/dist/excalidraw-assets/i18n-eu-ES-json-40142a580d932c8cb50d.js +1 -0
  14. package/dist/excalidraw-assets/i18n-fa-IR-json-5aa04fe7e238f87f3607.js +1 -0
  15. package/dist/excalidraw-assets/i18n-fi-FI-json-2e5665a625fe47e2a60f.js +1 -0
  16. package/dist/excalidraw-assets/i18n-fr-FR-json-ad79d60ccbf7da435101.js +1 -0
  17. package/dist/excalidraw-assets/i18n-he-IL-json-5aa3ca202abb250e82bd.js +1 -0
  18. package/dist/excalidraw-assets/i18n-hi-IN-json-8fe2d63926e008f5725c.js +1 -0
  19. package/dist/excalidraw-assets/i18n-hu-HU-json-78e1c51d6d92ed32aa2f.js +1 -0
  20. package/dist/excalidraw-assets/i18n-id-ID-json-6c529ed7cc3d5353bdc0.js +1 -0
  21. package/dist/excalidraw-assets/i18n-it-IT-json-7c39e59e8682963a7851.js +1 -0
  22. package/dist/excalidraw-assets/i18n-ja-JP-json-2263e6c8e274763d04cc.js +1 -0
  23. package/dist/excalidraw-assets/i18n-kab-KAB-json-9974a930bde67748d79a.js +1 -0
  24. package/dist/excalidraw-assets/i18n-kk-KZ-json-b1da82815e51b638b28e.js +1 -0
  25. package/dist/excalidraw-assets/i18n-ko-KR-json-36dce31f57535a3884fc.js +1 -0
  26. package/dist/excalidraw-assets/i18n-lt-LT-json-7e4b8147241a2807a1f1.js +1 -0
  27. package/dist/excalidraw-assets/i18n-lv-LV-json-0292c4b3153e02ba01cc.js +1 -0
  28. package/dist/excalidraw-assets/i18n-mr-IN-json-85e3bad5588e60eda6ed.js +1 -0
  29. package/dist/excalidraw-assets/i18n-my-MM-json-a50d126ec63009915802.js +1 -0
  30. package/dist/excalidraw-assets/i18n-nb-NO-json-dd7cd6513e3d00551949.js +1 -0
  31. package/dist/excalidraw-assets/i18n-nl-NL-json-a2e36932c7b397dfdf8b.js +1 -0
  32. package/dist/excalidraw-assets/i18n-nn-NO-json-76159e8cfa136255e657.js +1 -0
  33. package/dist/excalidraw-assets/i18n-oc-FR-json-8fcbd2e5e589bc9b3f05.js +1 -0
  34. package/dist/excalidraw-assets/i18n-pa-IN-json-664d068563584bb41ae4.js +1 -0
  35. package/dist/excalidraw-assets/i18n-pl-PL-json-17d817993f240f65dc1f.js +1 -0
  36. package/dist/excalidraw-assets/i18n-pt-BR-json-dfbe3455644130e9851c.js +1 -0
  37. package/dist/excalidraw-assets/i18n-pt-PT-json-bda935fce18a7b179bcb.js +1 -0
  38. package/dist/excalidraw-assets/i18n-ro-RO-json-3473997bac53931c8b1c.js +1 -0
  39. package/dist/excalidraw-assets/i18n-ru-RU-json-2a58c91c91fbb9009a4a.js +1 -0
  40. package/dist/excalidraw-assets/i18n-si-LK-json-0ad49043e4c810f4e8f2.js +1 -0
  41. package/dist/excalidraw-assets/i18n-sk-SK-json-6a88d3cef7420263d448.js +1 -0
  42. package/dist/excalidraw-assets/i18n-sl-SI-json-d883f256ad475721b51e.js +1 -0
  43. package/dist/excalidraw-assets/i18n-sv-SE-json-ab9784b6a181e4b3e52b.js +1 -0
  44. package/dist/excalidraw-assets/i18n-ta-IN-json-49b6bc876b7703f493e7.js +1 -0
  45. package/dist/excalidraw-assets/i18n-tr-TR-json-e6a720f75140ee82da6d.js +1 -0
  46. package/dist/excalidraw-assets/i18n-uk-UA-json-1d95323ec8040114490e.js +1 -0
  47. package/dist/excalidraw-assets/i18n-zh-CN-json-facce09827627d918c14.js +1 -0
  48. package/dist/excalidraw-assets/i18n-zh-HK-json-a6e21fe69a6a6f8c8ea6.js +1 -0
  49. package/dist/excalidraw-assets/i18n-zh-TW-json-37610fbce479c7f8cef2.js +1 -0
  50. package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +2 -0
  51. package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt +12 -0
  52. package/dist/excalidraw-assets-dev/i18n-ar-SA-json-505ef559f47ea6b69719.js +22 -0
  53. package/dist/excalidraw-assets-dev/i18n-bg-BG-json-bcb00de8d85335103437.js +22 -0
  54. package/dist/excalidraw-assets-dev/i18n-bn-BD-json-20cb88b768b6656f69a0.js +22 -0
  55. package/dist/excalidraw-assets-dev/i18n-ca-ES-json-c0a2946ac526da48c821.js +22 -0
  56. package/dist/excalidraw-assets-dev/i18n-cs-CZ-json-3b57cc3db37bad8747c9.js +22 -0
  57. package/dist/excalidraw-assets-dev/i18n-da-DK-json-9fd1d27b5e867510c0c4.js +22 -0
  58. package/dist/excalidraw-assets-dev/i18n-de-DE-json-80aa4aed6cc5f0f47bec.js +22 -0
  59. package/dist/excalidraw-assets-dev/i18n-el-GR-json-08221c6f5387a7ef440e.js +22 -0
  60. package/dist/excalidraw-assets-dev/i18n-es-ES-json-bb7d7aa7840ad87ac15d.js +22 -0
  61. package/dist/excalidraw-assets-dev/i18n-eu-ES-json-1aff52bfd1a98cc073a3.js +22 -0
  62. package/dist/excalidraw-assets-dev/i18n-fa-IR-json-1af59f1130dd499b2aee.js +22 -0
  63. package/dist/excalidraw-assets-dev/i18n-fi-FI-json-874b4f80c8cb7c54ba9e.js +22 -0
  64. package/dist/excalidraw-assets-dev/i18n-fr-FR-json-b55b922b008349e24e30.js +22 -0
  65. package/dist/excalidraw-assets-dev/i18n-he-IL-json-e16fce9c2852e89a31f2.js +22 -0
  66. package/dist/excalidraw-assets-dev/i18n-hi-IN-json-96d1324664dcf226249e.js +22 -0
  67. package/dist/excalidraw-assets-dev/i18n-hu-HU-json-5e29c373127695ccfe28.js +22 -0
  68. package/dist/excalidraw-assets-dev/i18n-id-ID-json-c3b8c47e9f2cd5a218a4.js +22 -0
  69. package/dist/excalidraw-assets-dev/i18n-it-IT-json-c4ba0fd51730152b3389.js +22 -0
  70. package/dist/excalidraw-assets-dev/i18n-ja-JP-json-4fb9df48c7c2aca8709b.js +22 -0
  71. package/dist/excalidraw-assets-dev/i18n-kab-KAB-json-56a2f5b742bb44d84587.js +22 -0
  72. package/dist/excalidraw-assets-dev/i18n-kk-KZ-json-69f5849187a51635aa55.js +22 -0
  73. package/dist/excalidraw-assets-dev/i18n-ko-KR-json-be749d83561b4547fca0.js +22 -0
  74. package/dist/excalidraw-assets-dev/i18n-lt-LT-json-f74d8fbb36e64d164cb3.js +22 -0
  75. package/dist/excalidraw-assets-dev/i18n-lv-LV-json-05cafa9d59e825d37a30.js +22 -0
  76. package/dist/excalidraw-assets-dev/i18n-mr-IN-json-4df0aaed6b5bd9c354bf.js +22 -0
  77. package/dist/excalidraw-assets-dev/i18n-my-MM-json-10cd0a77755d74cc2d88.js +22 -0
  78. package/dist/excalidraw-assets-dev/i18n-nb-NO-json-0328d43c8eb21619f1ef.js +22 -0
  79. package/dist/excalidraw-assets-dev/i18n-nl-NL-json-ce7bba8e06a59e62a4d0.js +22 -0
  80. package/dist/excalidraw-assets-dev/i18n-nn-NO-json-64d56d9257aa9516e081.js +22 -0
  81. package/dist/excalidraw-assets-dev/i18n-oc-FR-json-efae2c9bbbc42a6f6c70.js +22 -0
  82. package/dist/excalidraw-assets-dev/i18n-pa-IN-json-6378d9552735e33a9fe3.js +22 -0
  83. package/dist/excalidraw-assets-dev/i18n-pl-PL-json-ed1bf39b6b8f8061299d.js +22 -0
  84. package/dist/excalidraw-assets-dev/i18n-pt-BR-json-2a02a619bfa9700ce852.js +22 -0
  85. package/dist/excalidraw-assets-dev/i18n-pt-PT-json-d28b9a54ff94e15ff9bb.js +22 -0
  86. package/dist/excalidraw-assets-dev/i18n-ro-RO-json-00d5715f05aa3063960a.js +22 -0
  87. package/dist/excalidraw-assets-dev/i18n-ru-RU-json-ac0637166d5b462e339f.js +22 -0
  88. package/dist/excalidraw-assets-dev/i18n-si-LK-json-63d7c3f1c548dd28b002.js +22 -0
  89. package/dist/excalidraw-assets-dev/i18n-sk-SK-json-42cdbcaa7b9a48f2d39f.js +22 -0
  90. package/dist/excalidraw-assets-dev/i18n-sl-SI-json-56b1f2e0db09f030df1d.js +22 -0
  91. package/dist/excalidraw-assets-dev/i18n-sv-SE-json-3eb8200f34c205bc6564.js +22 -0
  92. package/dist/excalidraw-assets-dev/i18n-ta-IN-json-6d1328c5b1be8952f272.js +22 -0
  93. package/dist/excalidraw-assets-dev/i18n-tr-TR-json-f19e7eace448e972fc37.js +22 -0
  94. package/dist/excalidraw-assets-dev/i18n-uk-UA-json-da0e1d496b320531f5dc.js +22 -0
  95. package/dist/excalidraw-assets-dev/i18n-zh-CN-json-84fc26b884a0a83892c9.js +22 -0
  96. package/dist/excalidraw-assets-dev/i18n-zh-HK-json-07799e9c9378a2263273.js +22 -0
  97. package/dist/excalidraw-assets-dev/i18n-zh-TW-json-61c7460fdc361e477121.js +22 -0
  98. package/dist/excalidraw-assets-dev/vendor-c0592035c3911af79359.js +98 -0
  99. package/dist/excalidraw.development.js +975 -286
  100. package/dist/excalidraw.production.min.js +1 -1
  101. package/dist/excalidraw.production.min.js.LICENSE.txt +9 -2
  102. package/package.json +32 -25
  103. package/types/actions/actionAddToLibrary.d.ts +298 -1
  104. package/types/actions/actionAlign.d.ts +91 -6
  105. package/types/actions/actionBoundText.d.ts +123 -0
  106. package/types/actions/actionCanvas.d.ts +861 -8
  107. package/types/actions/actionClipboard.d.ts +563 -4
  108. package/types/actions/actionDeleteSelected.d.ts +323 -1
  109. package/types/actions/actionDistribute.d.ts +33 -2
  110. package/types/actions/actionDuplicateSelection.d.ts +22 -1
  111. package/types/actions/actionExport.d.ts +956 -8
  112. package/types/actions/actionFinalize.d.ts +206 -1
  113. package/types/actions/actionFlip.d.ts +35 -2
  114. package/types/actions/actionGroup.d.ts +45 -2
  115. package/types/actions/actionMenu.d.ts +334 -4
  116. package/types/actions/actionNavigate.d.ts +14 -1
  117. package/types/actions/actionProperties.d.ts +1389 -12
  118. package/types/actions/actionSelectAll.d.ts +15 -1
  119. package/types/actions/actionStyles.d.ts +125 -2
  120. package/types/actions/actionToggleGridMode.d.ts +111 -1
  121. package/types/actions/actionToggleLock.d.ts +17 -0
  122. package/types/actions/actionToggleStats.d.ts +109 -1
  123. package/types/actions/actionToggleViewMode.d.ts +110 -1
  124. package/types/actions/actionToggleZenMode.d.ts +110 -1
  125. package/types/actions/actionZindex.d.ts +67 -4
  126. package/types/actions/index.d.ts +5 -2
  127. package/types/actions/manager.d.ts +6 -14
  128. package/types/actions/register.d.ts +3 -1
  129. package/types/actions/shortcuts.d.ts +2 -1
  130. package/types/actions/types.d.ts +13 -22
  131. package/types/align.d.ts +0 -1
  132. package/types/analytics.d.ts +1 -1
  133. package/types/appState.d.ts +27 -11
  134. package/types/charts.d.ts +8 -0
  135. package/types/clipboard.d.ts +5 -4
  136. package/types/components/Actions.d.ts +9 -5
  137. package/types/components/App.d.ts +67 -16
  138. package/types/components/Avatar.d.ts +3 -2
  139. package/types/components/ButtonIconSelect.d.ts +1 -0
  140. package/types/components/Card.d.ts +1 -1
  141. package/types/components/CheckboxItem.d.ts +2 -1
  142. package/types/components/ClearCanvas.d.ts +5 -0
  143. package/types/components/ColorPicker.d.ts +6 -1
  144. package/types/components/ConfirmDialog.d.ts +11 -0
  145. package/types/components/ContextMenu.d.ts +3 -0
  146. package/types/components/DarkModeToggle.d.ts +3 -3
  147. package/types/components/Dialog.d.ts +4 -2
  148. package/types/components/HintViewer.d.ts +3 -2
  149. package/types/components/ImageExportDialog.d.ts +5 -4
  150. package/types/components/InitializeApp.d.ts +2 -10
  151. package/types/components/JSONExportDialog.d.ts +6 -5
  152. package/types/components/LayerUI.d.ts +12 -5
  153. package/types/components/LibraryButton.d.ts +1 -0
  154. package/types/components/LibraryMenu.d.ts +18 -0
  155. package/types/components/LibraryMenuItems.d.ts +24 -0
  156. package/types/components/LibraryUnit.d.ts +9 -5
  157. package/types/components/LoadingMessage.d.ts +3 -1
  158. package/types/components/LockButton.d.ts +1 -0
  159. package/types/components/MobileMenu.d.ts +8 -2
  160. package/types/components/Modal.d.ts +1 -0
  161. package/types/components/PasteChartDialog.d.ts +1 -1
  162. package/types/components/PenModeButton.d.ts +13 -0
  163. package/types/components/Popover.d.ts +5 -1
  164. package/types/components/PublishLibrary.d.ts +17 -0
  165. package/types/components/SidebarLockButton.d.ts +9 -0
  166. package/types/components/SingleLibraryItem.d.ts +11 -0
  167. package/types/components/Spinner.d.ts +7 -0
  168. package/types/components/Stack.d.ts +1 -1
  169. package/types/components/ToolButton.d.ts +13 -2
  170. package/types/components/Tooltip.d.ts +9 -1
  171. package/types/components/UserList.d.ts +6 -5
  172. package/types/components/icons.d.ts +57 -40
  173. package/types/constants.d.ts +42 -8
  174. package/types/data/blob.d.ts +40 -4
  175. package/types/data/encode.d.ts +29 -1
  176. package/types/data/encryption.d.ts +9 -0
  177. package/types/data/filesystem.d.ts +5 -5
  178. package/types/data/index.d.ts +2 -2
  179. package/types/data/json.d.ts +8 -9
  180. package/types/data/library.d.ts +90 -8
  181. package/types/data/resave.d.ts +3 -3
  182. package/types/data/restore.d.ts +5 -3
  183. package/types/data/types.d.ts +9 -4
  184. package/types/{disitrubte.d.ts → distribute.d.ts} +0 -1
  185. package/types/element/Hyperlink.d.ts +131 -0
  186. package/types/element/bounds.d.ts +12 -1
  187. package/types/element/collision.d.ts +4 -2
  188. package/types/element/dragElements.d.ts +3 -5
  189. package/types/element/image.d.ts +22 -0
  190. package/types/element/index.d.ts +2 -4
  191. package/types/element/linearElementEditor.d.ts +142 -9
  192. package/types/element/mutateElement.d.ts +2 -2
  193. package/types/element/newElement.d.ts +8 -3
  194. package/types/element/resizeElements.d.ts +3 -3
  195. package/types/element/sizeHelpers.d.ts +2 -1
  196. package/types/element/textElement.d.ts +26 -2
  197. package/types/element/textWysiwyg.d.ts +6 -5
  198. package/types/element/typeChecks.d.ts +11 -5
  199. package/types/element/types.d.ts +35 -8
  200. package/types/galines.d.ts +1 -1
  201. package/types/groups.d.ts +1 -0
  202. package/types/i18n.d.ts +1 -1
  203. package/types/jotai.d.ts +120 -0
  204. package/types/keys.d.ts +10 -3
  205. package/types/packages/excalidraw/dist/{excalidraw-assets-dev/vendor-1f85eb76a52b1d218411.d.ts → excalidraw-assets/i18n-ar-SA-json-f37c9765d6ba9c94db28.d.ts} +0 -0
  206. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-ar-SA-json-a98b3a07a69a56aa6ddc.d.ts → i18n-bg-BG-json-d8c72e41cf02e763b54c.d.ts} +0 -0
  207. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-bg-BG-json-63af3f6053ca50d0c1a3.d.ts → i18n-bn-BD-json-246ddff2b69891d1399d.d.ts} +0 -0
  208. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-ca-ES-json-6f613ec62c184eed761c.d.ts → i18n-ca-ES-json-2583291c4633e96df9d6.d.ts} +0 -0
  209. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-cs-CZ-json-c485bdbc1ad44e51f1f1.d.ts → i18n-cs-CZ-json-7fb82d30a7139f991154.d.ts} +0 -0
  210. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-da-DK-json-fdc74fe43abb7f09253d.d.ts → i18n-da-DK-json-5f58e2d75044deee8410.d.ts} +0 -0
  211. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-de-DE-json-2984c3ea70efb6a7673c.d.ts → i18n-de-DE-json-20912cca3094f0524a21.d.ts} +0 -0
  212. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-el-GR-json-ef1babaff2ea7b0ca48c.d.ts → i18n-el-GR-json-96277306136a9ee3d56c.d.ts} +0 -0
  213. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-es-ES-json-770832e8199e76bcea31.d.ts → i18n-es-ES-json-2d9209d0d8b45e340212.d.ts} +0 -0
  214. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-fa-IR-json-5d17bed42e8aa3e26778.d.ts → i18n-eu-ES-json-40142a580d932c8cb50d.d.ts} +0 -0
  215. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-fi-FI-json-1856fe5f0aa5f6733c71.d.ts → i18n-fa-IR-json-5aa04fe7e238f87f3607.d.ts} +0 -0
  216. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-fr-FR-json-7e2c395dc072fbeb4dc8.d.ts → i18n-fi-FI-json-2e5665a625fe47e2a60f.d.ts} +0 -0
  217. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-he-IL-json-c22c852f5d1007b76cfd.d.ts → i18n-fr-FR-json-ad79d60ccbf7da435101.d.ts} +0 -0
  218. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-hi-IN-json-3577c3ff017e2af147ee.d.ts → i18n-he-IL-json-5aa3ca202abb250e82bd.d.ts} +0 -0
  219. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-hu-HU-json-2173dae4a84d3f943a3d.d.ts → i18n-hi-IN-json-8fe2d63926e008f5725c.d.ts} +0 -0
  220. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-id-ID-json-36ef4139fdc39bd473e9.d.ts → i18n-hu-HU-json-78e1c51d6d92ed32aa2f.d.ts} +0 -0
  221. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-it-IT-json-55de4a420bc2799d63ac.d.ts → i18n-id-ID-json-6c529ed7cc3d5353bdc0.d.ts} +0 -0
  222. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-ja-JP-json-10da607a92dd9ee4b6b1.d.ts → i18n-it-IT-json-7c39e59e8682963a7851.d.ts} +0 -0
  223. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-kab-KAB-json-72dfe5e520fb843a911e.d.ts → i18n-ja-JP-json-2263e6c8e274763d04cc.d.ts} +0 -0
  224. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-kk-KZ-json-72a00814a5ea1bc1bd4d.d.ts → i18n-kab-KAB-json-9974a930bde67748d79a.d.ts} +0 -0
  225. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-ko-KR-json-530261d88e915f413822.d.ts → i18n-kk-KZ-json-b1da82815e51b638b28e.d.ts} +0 -0
  226. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-lv-LV-json-efdf3550b88b63639a73.d.ts → i18n-ko-KR-json-36dce31f57535a3884fc.d.ts} +0 -0
  227. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-my-MM-json-9c8f0251105b94363a8f.d.ts → i18n-lt-LT-json-7e4b8147241a2807a1f1.d.ts} +0 -0
  228. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-nb-NO-json-102950eb1c0d17b2be82.d.ts → i18n-lv-LV-json-0292c4b3153e02ba01cc.d.ts} +0 -0
  229. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-nl-NL-json-220f20ddbd7092a3a948.d.ts → i18n-mr-IN-json-85e3bad5588e60eda6ed.d.ts} +0 -0
  230. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-nn-NO-json-5b64fbe09ec2fdc5c686.d.ts → i18n-my-MM-json-a50d126ec63009915802.d.ts} +0 -0
  231. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-oc-FR-json-3fb584025bb45201012f.d.ts → i18n-nb-NO-json-dd7cd6513e3d00551949.d.ts} +0 -0
  232. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-pa-IN-json-b7ad703689a54409b91a.d.ts → i18n-nl-NL-json-a2e36932c7b397dfdf8b.d.ts} +0 -0
  233. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-pl-PL-json-589514e9da02be71829e.d.ts → i18n-nn-NO-json-76159e8cfa136255e657.d.ts} +0 -0
  234. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-pt-BR-json-5eb00d985874b4016992.d.ts → i18n-oc-FR-json-8fcbd2e5e589bc9b3f05.d.ts} +0 -0
  235. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-pt-PT-json-fb8bc9b15f2d232ce452.d.ts → i18n-pa-IN-json-664d068563584bb41ae4.d.ts} +0 -0
  236. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-ro-RO-json-dc651de2037f6a904212.d.ts → i18n-pl-PL-json-17d817993f240f65dc1f.d.ts} +0 -0
  237. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-ru-RU-json-1620932d8cf3b49dbac7.d.ts → i18n-pt-BR-json-dfbe3455644130e9851c.d.ts} +0 -0
  238. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-sk-SK-json-4fc55e97187d84b3e35f.d.ts → i18n-pt-PT-json-bda935fce18a7b179bcb.d.ts} +0 -0
  239. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-sv-SE-json-5fd1ff062cab18b6c3ec.d.ts → i18n-ro-RO-json-3473997bac53931c8b1c.d.ts} +0 -0
  240. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-tr-TR-json-60da00067a54eacae6ea.d.ts → i18n-ru-RU-json-2a58c91c91fbb9009a4a.d.ts} +0 -0
  241. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-uk-UA-json-3398bd8076ace43903a4.d.ts → i18n-si-LK-json-0ad49043e4c810f4e8f2.d.ts} +0 -0
  242. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-zh-CN-json-9b20d01d442a9938174a.d.ts → i18n-sk-SK-json-6a88d3cef7420263d448.d.ts} +0 -0
  243. package/types/packages/excalidraw/dist/excalidraw-assets/{i18n-zh-TW-json-93a8203eb30054101fcc.d.ts → i18n-sl-SI-json-d883f256ad475721b51e.d.ts} +0 -0
  244. package/types/packages/excalidraw/dist/excalidraw-assets/{image-02a1f3ecd6baf42daaa6.d.ts → i18n-sv-SE-json-ab9784b6a181e4b3e52b.d.ts} +0 -0
  245. package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-881ef50682618d9bd3d3.d.ts → i18n-ta-IN-json-49b6bc876b7703f493e7.d.ts} +0 -0
  246. package/types/packages/excalidraw/dist/excalidraw-assets/i18n-tr-TR-json-e6a720f75140ee82da6d.d.ts +0 -0
  247. package/types/packages/excalidraw/dist/excalidraw-assets/i18n-uk-UA-json-1d95323ec8040114490e.d.ts +0 -0
  248. package/types/packages/excalidraw/dist/excalidraw-assets/i18n-zh-CN-json-facce09827627d918c14.d.ts +0 -0
  249. package/types/packages/excalidraw/dist/excalidraw-assets/i18n-zh-HK-json-a6e21fe69a6a6f8c8ea6.d.ts +0 -0
  250. package/types/packages/excalidraw/dist/excalidraw-assets/i18n-zh-TW-json-37610fbce479c7f8cef2.d.ts +0 -0
  251. package/types/packages/excalidraw/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.d.ts +0 -0
  252. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-ar-SA-json-65bc67ce1607e71d3c60.d.ts → i18n-ar-SA-json-505ef559f47ea6b69719.d.ts} +0 -0
  253. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-bg-BG-json-2e34234671c3f27e834b.d.ts → i18n-bg-BG-json-bcb00de8d85335103437.d.ts} +0 -0
  254. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-ca-ES-json-fc2729f9ec4a48ef830f.d.ts → i18n-bn-BD-json-20cb88b768b6656f69a0.d.ts} +0 -0
  255. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-cs-CZ-json-a5b54f27dd83c625e776.d.ts → i18n-ca-ES-json-c0a2946ac526da48c821.d.ts} +0 -0
  256. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-da-DK-json-2e18fec0eace18cc9d20.d.ts → i18n-cs-CZ-json-3b57cc3db37bad8747c9.d.ts} +0 -0
  257. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-de-DE-json-28622f2358ee065e8411.d.ts → i18n-da-DK-json-9fd1d27b5e867510c0c4.d.ts} +0 -0
  258. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-el-GR-json-3d9a940ed9491b9addc3.d.ts → i18n-de-DE-json-80aa4aed6cc5f0f47bec.d.ts} +0 -0
  259. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-es-ES-json-db6707f20cd2518ad8b3.d.ts → i18n-el-GR-json-08221c6f5387a7ef440e.d.ts} +0 -0
  260. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-fa-IR-json-72cd5824085f3bfcb7a1.d.ts → i18n-es-ES-json-bb7d7aa7840ad87ac15d.d.ts} +0 -0
  261. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-fi-FI-json-1b66bec37676ad9aab1e.d.ts → i18n-eu-ES-json-1aff52bfd1a98cc073a3.d.ts} +0 -0
  262. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-fr-FR-json-843f8bcc26ecf3185344.d.ts → i18n-fa-IR-json-1af59f1130dd499b2aee.d.ts} +0 -0
  263. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-he-IL-json-2679793593de22336d48.d.ts → i18n-fi-FI-json-874b4f80c8cb7c54ba9e.d.ts} +0 -0
  264. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-hi-IN-json-732a1e3f06a5fbb83e8d.d.ts → i18n-fr-FR-json-b55b922b008349e24e30.d.ts} +0 -0
  265. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-hu-HU-json-d6b3d837d675d7375c1e.d.ts → i18n-he-IL-json-e16fce9c2852e89a31f2.d.ts} +0 -0
  266. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-id-ID-json-328fc20f45af18fbbc5b.d.ts → i18n-hi-IN-json-96d1324664dcf226249e.d.ts} +0 -0
  267. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-it-IT-json-6cfbb19fada476d23814.d.ts → i18n-hu-HU-json-5e29c373127695ccfe28.d.ts} +0 -0
  268. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-ja-JP-json-6c84ee63e3effba0eb0a.d.ts → i18n-id-ID-json-c3b8c47e9f2cd5a218a4.d.ts} +0 -0
  269. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-kab-KAB-json-404827528be2a446449d.d.ts → i18n-it-IT-json-c4ba0fd51730152b3389.d.ts} +0 -0
  270. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-kk-KZ-json-03875b16f2b5b4121983.d.ts → i18n-ja-JP-json-4fb9df48c7c2aca8709b.d.ts} +0 -0
  271. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-ko-KR-json-7cd7bfaf5e2b39bd15d8.d.ts → i18n-kab-KAB-json-56a2f5b742bb44d84587.d.ts} +0 -0
  272. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-lv-LV-json-af0cfb3eca967f0fe675.d.ts → i18n-kk-KZ-json-69f5849187a51635aa55.d.ts} +0 -0
  273. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-my-MM-json-b06767407455ca2f4c3f.d.ts → i18n-ko-KR-json-be749d83561b4547fca0.d.ts} +0 -0
  274. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-nb-NO-json-560905b77e939b594348.d.ts → i18n-lt-LT-json-f74d8fbb36e64d164cb3.d.ts} +0 -0
  275. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-nl-NL-json-f132a70ab7b920ac4d8f.d.ts → i18n-lv-LV-json-05cafa9d59e825d37a30.d.ts} +0 -0
  276. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-nn-NO-json-35e531bd3a461f0d1ceb.d.ts → i18n-mr-IN-json-4df0aaed6b5bd9c354bf.d.ts} +0 -0
  277. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-oc-FR-json-68dad2b665d95463621d.d.ts → i18n-my-MM-json-10cd0a77755d74cc2d88.d.ts} +0 -0
  278. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-pa-IN-json-6bec1f7f94b1cf3633f9.d.ts → i18n-nb-NO-json-0328d43c8eb21619f1ef.d.ts} +0 -0
  279. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-pl-PL-json-0b282a1f23c3aa2e8bbb.d.ts → i18n-nl-NL-json-ce7bba8e06a59e62a4d0.d.ts} +0 -0
  280. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-pt-BR-json-cb9dae4e4d99080bbd4c.d.ts → i18n-nn-NO-json-64d56d9257aa9516e081.d.ts} +0 -0
  281. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-pt-PT-json-cabfa4db01426846387f.d.ts → i18n-oc-FR-json-efae2c9bbbc42a6f6c70.d.ts} +0 -0
  282. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-ro-RO-json-0fc304e943c3727d3069.d.ts → i18n-pa-IN-json-6378d9552735e33a9fe3.d.ts} +0 -0
  283. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-ru-RU-json-aae276923a7448546ba9.d.ts → i18n-pl-PL-json-ed1bf39b6b8f8061299d.d.ts} +0 -0
  284. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-sk-SK-json-6672eb5c84a0d06bd3c2.d.ts → i18n-pt-BR-json-2a02a619bfa9700ce852.d.ts} +0 -0
  285. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-sv-SE-json-3738297ef992b7a4e69c.d.ts → i18n-pt-PT-json-d28b9a54ff94e15ff9bb.d.ts} +0 -0
  286. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-tr-TR-json-bc5117a1ab430f3e7fc5.d.ts → i18n-ro-RO-json-00d5715f05aa3063960a.d.ts} +0 -0
  287. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-uk-UA-json-24701ab6a0a1747281aa.d.ts → i18n-ru-RU-json-ac0637166d5b462e339f.d.ts} +0 -0
  288. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-zh-CN-json-77fd3d2d5c8b490cd9c9.d.ts → i18n-si-LK-json-63d7c3f1c548dd28b002.d.ts} +0 -0
  289. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{i18n-zh-TW-json-744589603e44fd0ca7ea.d.ts → i18n-sk-SK-json-42cdbcaa7b9a48f2d39f.d.ts} +0 -0
  290. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-sl-SI-json-56b1f2e0db09f030df1d.d.ts +2 -0
  291. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-sv-SE-json-3eb8200f34c205bc6564.d.ts +2 -0
  292. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ta-IN-json-6d1328c5b1be8952f272.d.ts +2 -0
  293. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-tr-TR-json-f19e7eace448e972fc37.d.ts +2 -0
  294. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-uk-UA-json-da0e1d496b320531f5dc.d.ts +2 -0
  295. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-CN-json-84fc26b884a0a83892c9.d.ts +2 -0
  296. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-HK-json-07799e9c9378a2263273.d.ts +2 -0
  297. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-TW-json-61c7460fdc361e477121.d.ts +2 -0
  298. package/types/packages/excalidraw/dist/excalidraw-assets-dev/{image-0ad20139bba28f28b031.d.ts → vendor-c0592035c3911af79359.d.ts} +0 -0
  299. package/types/packages/excalidraw/dist/excalidraw.production.min.d.ts +1 -3
  300. package/types/packages/excalidraw/entry.d.ts +0 -2
  301. package/types/packages/excalidraw/env.d.ts +1 -0
  302. package/types/packages/excalidraw/example/App.d.ts +8 -0
  303. package/types/packages/excalidraw/example/index.d.ts +1 -0
  304. package/types/packages/excalidraw/example/initialData.d.ts +172 -0
  305. package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +5 -0
  306. package/types/packages/excalidraw/index.d.ts +9 -7
  307. package/types/packages/excalidraw/webpack.dev-server.config.d.ts +19 -0
  308. package/types/packages/excalidraw/webpack.dev.config.d.ts +6 -8
  309. package/types/packages/excalidraw/webpack.prod.config.d.ts +7 -8
  310. package/types/packages/utils.d.ts +19 -9
  311. package/types/renderer/renderElement.d.ts +17 -5
  312. package/types/renderer/renderScene.d.ts +5 -9
  313. package/types/scene/Scene.d.ts +2 -3
  314. package/types/scene/comparisons.d.ts +3 -2
  315. package/types/scene/export.d.ts +4 -4
  316. package/types/scene/index.d.ts +2 -2
  317. package/types/scene/selection.d.ts +1 -1
  318. package/types/scene/types.d.ts +16 -8
  319. package/types/scene/zoom.d.ts +12 -5
  320. package/types/shapes.d.ts +7 -3
  321. package/types/types.d.ts +120 -25
  322. package/types/utils.d.ts +48 -8
  323. package/types/zindex.d.ts +2 -2
  324. package/dist/excalidraw-assets/i18n-ar-SA-json-a98b3a07a69a56aa6ddc.js +0 -1
  325. package/dist/excalidraw-assets/i18n-bg-BG-json-63af3f6053ca50d0c1a3.js +0 -1
  326. package/dist/excalidraw-assets/i18n-ca-ES-json-6f613ec62c184eed761c.js +0 -1
  327. package/dist/excalidraw-assets/i18n-cs-CZ-json-c485bdbc1ad44e51f1f1.js +0 -1
  328. package/dist/excalidraw-assets/i18n-da-DK-json-fdc74fe43abb7f09253d.js +0 -1
  329. package/dist/excalidraw-assets/i18n-de-DE-json-2984c3ea70efb6a7673c.js +0 -1
  330. package/dist/excalidraw-assets/i18n-el-GR-json-ef1babaff2ea7b0ca48c.js +0 -1
  331. package/dist/excalidraw-assets/i18n-es-ES-json-770832e8199e76bcea31.js +0 -1
  332. package/dist/excalidraw-assets/i18n-fa-IR-json-5d17bed42e8aa3e26778.js +0 -1
  333. package/dist/excalidraw-assets/i18n-fi-FI-json-1856fe5f0aa5f6733c71.js +0 -1
  334. package/dist/excalidraw-assets/i18n-fr-FR-json-7e2c395dc072fbeb4dc8.js +0 -1
  335. package/dist/excalidraw-assets/i18n-he-IL-json-c22c852f5d1007b76cfd.js +0 -1
  336. package/dist/excalidraw-assets/i18n-hi-IN-json-3577c3ff017e2af147ee.js +0 -1
  337. package/dist/excalidraw-assets/i18n-hu-HU-json-2173dae4a84d3f943a3d.js +0 -1
  338. package/dist/excalidraw-assets/i18n-id-ID-json-36ef4139fdc39bd473e9.js +0 -1
  339. package/dist/excalidraw-assets/i18n-it-IT-json-55de4a420bc2799d63ac.js +0 -1
  340. package/dist/excalidraw-assets/i18n-ja-JP-json-10da607a92dd9ee4b6b1.js +0 -1
  341. package/dist/excalidraw-assets/i18n-kab-KAB-json-72dfe5e520fb843a911e.js +0 -1
  342. package/dist/excalidraw-assets/i18n-kk-KZ-json-72a00814a5ea1bc1bd4d.js +0 -1
  343. package/dist/excalidraw-assets/i18n-ko-KR-json-530261d88e915f413822.js +0 -1
  344. package/dist/excalidraw-assets/i18n-lv-LV-json-efdf3550b88b63639a73.js +0 -1
  345. package/dist/excalidraw-assets/i18n-my-MM-json-9c8f0251105b94363a8f.js +0 -1
  346. package/dist/excalidraw-assets/i18n-nb-NO-json-102950eb1c0d17b2be82.js +0 -1
  347. package/dist/excalidraw-assets/i18n-nl-NL-json-220f20ddbd7092a3a948.js +0 -1
  348. package/dist/excalidraw-assets/i18n-nn-NO-json-5b64fbe09ec2fdc5c686.js +0 -1
  349. package/dist/excalidraw-assets/i18n-oc-FR-json-3fb584025bb45201012f.js +0 -1
  350. package/dist/excalidraw-assets/i18n-pa-IN-json-b7ad703689a54409b91a.js +0 -1
  351. package/dist/excalidraw-assets/i18n-pl-PL-json-589514e9da02be71829e.js +0 -1
  352. package/dist/excalidraw-assets/i18n-pt-BR-json-5eb00d985874b4016992.js +0 -1
  353. package/dist/excalidraw-assets/i18n-pt-PT-json-fb8bc9b15f2d232ce452.js +0 -1
  354. package/dist/excalidraw-assets/i18n-ro-RO-json-dc651de2037f6a904212.js +0 -1
  355. package/dist/excalidraw-assets/i18n-ru-RU-json-1620932d8cf3b49dbac7.js +0 -1
  356. package/dist/excalidraw-assets/i18n-sk-SK-json-4fc55e97187d84b3e35f.js +0 -1
  357. package/dist/excalidraw-assets/i18n-sv-SE-json-5fd1ff062cab18b6c3ec.js +0 -1
  358. package/dist/excalidraw-assets/i18n-tr-TR-json-60da00067a54eacae6ea.js +0 -1
  359. package/dist/excalidraw-assets/i18n-uk-UA-json-3398bd8076ace43903a4.js +0 -1
  360. package/dist/excalidraw-assets/i18n-zh-CN-json-9b20d01d442a9938174a.js +0 -1
  361. package/dist/excalidraw-assets/i18n-zh-TW-json-93a8203eb30054101fcc.js +0 -1
  362. package/dist/excalidraw-assets/image-02a1f3ecd6baf42daaa6.js +0 -1
  363. package/dist/excalidraw-assets/vendor-881ef50682618d9bd3d3.js +0 -2
  364. package/dist/excalidraw-assets/vendor-881ef50682618d9bd3d3.js.LICENSE.txt +0 -1
  365. package/dist/excalidraw-assets-dev/i18n-ar-SA-json-65bc67ce1607e71d3c60.js +0 -22
  366. package/dist/excalidraw-assets-dev/i18n-bg-BG-json-2e34234671c3f27e834b.js +0 -22
  367. package/dist/excalidraw-assets-dev/i18n-ca-ES-json-fc2729f9ec4a48ef830f.js +0 -22
  368. package/dist/excalidraw-assets-dev/i18n-cs-CZ-json-a5b54f27dd83c625e776.js +0 -22
  369. package/dist/excalidraw-assets-dev/i18n-da-DK-json-2e18fec0eace18cc9d20.js +0 -22
  370. package/dist/excalidraw-assets-dev/i18n-de-DE-json-28622f2358ee065e8411.js +0 -22
  371. package/dist/excalidraw-assets-dev/i18n-el-GR-json-3d9a940ed9491b9addc3.js +0 -22
  372. package/dist/excalidraw-assets-dev/i18n-es-ES-json-db6707f20cd2518ad8b3.js +0 -22
  373. package/dist/excalidraw-assets-dev/i18n-fa-IR-json-72cd5824085f3bfcb7a1.js +0 -22
  374. package/dist/excalidraw-assets-dev/i18n-fi-FI-json-1b66bec37676ad9aab1e.js +0 -22
  375. package/dist/excalidraw-assets-dev/i18n-fr-FR-json-843f8bcc26ecf3185344.js +0 -22
  376. package/dist/excalidraw-assets-dev/i18n-he-IL-json-2679793593de22336d48.js +0 -22
  377. package/dist/excalidraw-assets-dev/i18n-hi-IN-json-732a1e3f06a5fbb83e8d.js +0 -22
  378. package/dist/excalidraw-assets-dev/i18n-hu-HU-json-d6b3d837d675d7375c1e.js +0 -22
  379. package/dist/excalidraw-assets-dev/i18n-id-ID-json-328fc20f45af18fbbc5b.js +0 -22
  380. package/dist/excalidraw-assets-dev/i18n-it-IT-json-6cfbb19fada476d23814.js +0 -22
  381. package/dist/excalidraw-assets-dev/i18n-ja-JP-json-6c84ee63e3effba0eb0a.js +0 -22
  382. package/dist/excalidraw-assets-dev/i18n-kab-KAB-json-404827528be2a446449d.js +0 -22
  383. package/dist/excalidraw-assets-dev/i18n-kk-KZ-json-03875b16f2b5b4121983.js +0 -22
  384. package/dist/excalidraw-assets-dev/i18n-ko-KR-json-7cd7bfaf5e2b39bd15d8.js +0 -22
  385. package/dist/excalidraw-assets-dev/i18n-lv-LV-json-af0cfb3eca967f0fe675.js +0 -22
  386. package/dist/excalidraw-assets-dev/i18n-my-MM-json-b06767407455ca2f4c3f.js +0 -22
  387. package/dist/excalidraw-assets-dev/i18n-nb-NO-json-560905b77e939b594348.js +0 -22
  388. package/dist/excalidraw-assets-dev/i18n-nl-NL-json-f132a70ab7b920ac4d8f.js +0 -22
  389. package/dist/excalidraw-assets-dev/i18n-nn-NO-json-35e531bd3a461f0d1ceb.js +0 -22
  390. package/dist/excalidraw-assets-dev/i18n-oc-FR-json-68dad2b665d95463621d.js +0 -22
  391. package/dist/excalidraw-assets-dev/i18n-pa-IN-json-6bec1f7f94b1cf3633f9.js +0 -22
  392. package/dist/excalidraw-assets-dev/i18n-pl-PL-json-0b282a1f23c3aa2e8bbb.js +0 -22
  393. package/dist/excalidraw-assets-dev/i18n-pt-BR-json-cb9dae4e4d99080bbd4c.js +0 -22
  394. package/dist/excalidraw-assets-dev/i18n-pt-PT-json-cabfa4db01426846387f.js +0 -22
  395. package/dist/excalidraw-assets-dev/i18n-ro-RO-json-0fc304e943c3727d3069.js +0 -22
  396. package/dist/excalidraw-assets-dev/i18n-ru-RU-json-aae276923a7448546ba9.js +0 -22
  397. package/dist/excalidraw-assets-dev/i18n-sk-SK-json-6672eb5c84a0d06bd3c2.js +0 -22
  398. package/dist/excalidraw-assets-dev/i18n-sv-SE-json-3738297ef992b7a4e69c.js +0 -22
  399. package/dist/excalidraw-assets-dev/i18n-tr-TR-json-bc5117a1ab430f3e7fc5.js +0 -22
  400. package/dist/excalidraw-assets-dev/i18n-uk-UA-json-24701ab6a0a1747281aa.js +0 -22
  401. package/dist/excalidraw-assets-dev/i18n-zh-CN-json-77fd3d2d5c8b490cd9c9.js +0 -22
  402. package/dist/excalidraw-assets-dev/i18n-zh-TW-json-744589603e44fd0ca7ea.js +0 -22
  403. package/dist/excalidraw-assets-dev/image-0ad20139bba28f28b031.js +0 -32
  404. package/dist/excalidraw-assets-dev/vendor-1f85eb76a52b1d218411.js +0 -323
package/CHANGELOG.md ADDED
@@ -0,0 +1,1153 @@
1
+ # Changelog
2
+
3
+ <!--
4
+ Guidelines for changelog:
5
+ The change should be grouped under one of the below section and must contain PR link.
6
+ - Features: For new features.
7
+ - Fixes: For bug fixes.
8
+ - Chore: Changes for non src files example package.json.
9
+ - Refactor: For any refactoring.
10
+
11
+ Please add the latest change on the top under the correct section.
12
+ -->
13
+
14
+ ## Unreleased
15
+
16
+ ### Excalidraw API
17
+
18
+ #### Features
19
+
20
+ - Add `[UIOptions.dockedSidebarBreakpoint]`(https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#dockedSidebarBreakpoint) to customize at which point to break from the docked sidebar [#5274](https://github.com/excalidraw/excalidraw/pull/5274).
21
+
22
+ - Added support for supplying user `id` in the Collaborator object (see `collaborators` in [`updateScene()`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#updateScene)), which will be used to deduplicate users when rendering collaborator avatar list. Cursors will still be rendered for every user. [#5309](https://github.com/excalidraw/excalidraw/pull/5309)
23
+
24
+ - Export API to [set](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#setCursor) and [reset](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#resetCursor) mouse cursor on the canvas [#5215](https://github.com/excalidraw/excalidraw/pull/5215).
25
+
26
+ - Export [`sceneCoordsToViewportCoords`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onPointerDown) and [`viewportCoordsToSceneCoords`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onPointerDown) utilities [#5187](https://github.com/excalidraw/excalidraw/pull/5187).
27
+
28
+ - Added [`useHandleLibrary`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#useHandleLibrary) hook to automatically handle importing of libraries when `#addLibrary` URL hash key is present, and potentially for initializing library as well [#5115](https://github.com/excalidraw/excalidraw/pull/5115).
29
+
30
+ Also added [`parseLibraryTokensFromUrl`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#parseLibraryTokensFromUrl) to help in manually importing library from URL if desired.
31
+
32
+ ##### BREAKING CHANGE
33
+
34
+ - Libraries are no longer automatically initialized from URL when `#addLibrary` hash key is present. Host apps now need to handle this themselves with the help of either of the above APIs (`useHandleLibrary` is recommended).
35
+
36
+ - Added [`updateLibrary`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#updateLibrary) API to update (replace/merge) the library [#5115](https://github.com/excalidraw/excalidraw/pull/5115).
37
+
38
+ ##### BREAKING CHANGE
39
+
40
+ - `updateScene` API no longer supports passing `libraryItems`. Instead, use the `updateLibrary` API.
41
+
42
+ - Add support for integrating custom elements [#5164](https://github.com/excalidraw/excalidraw/pull/5164).
43
+
44
+ - Add [`onPointerDown`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onPointerDown) callback which gets triggered on pointer down events.
45
+ - Add [`onScrollChange`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onScrollChange) callback which gets triggered when scrolling the canvas.
46
+ - Add API [`setActiveTool`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#setActiveTool) which host can call to set the active tool.
47
+
48
+ - Exported [`loadSceneOrLibraryFromBlob`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#loadSceneOrLibraryFromBlob) function [#5057](https://github.com/excalidraw/excalidraw/pull/5057).
49
+ - Export [`MIME_TYPES`](https://github.com/excalidraw/excalidraw/blob/master/src/constants.ts#L92) supported by Excalidraw [#5135](https://github.com/excalidraw/excalidraw/pull/5135).
50
+ - Support [`avatarUrl`](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L50) for collaborators. Now onwards host can pass `avatarUrl` to render the customized avatar for collaborators [#5114](https://github.com/excalidraw/excalidraw/pull/5114), renamed in [#5177](https://github.com/excalidraw/excalidraw/pull/5177).
51
+ - Support `libraryItems` argument in `initialData.libraryItems` and `updateScene({ libraryItems })` to be a Promise resolving to `LibraryItems`, and support functional update of `libraryItems` in [`updateScene({ libraryItems })`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#updateScene). [#5101](https://github.com/excalidraw/excalidraw/pull/5101).
52
+ - Expose util [`mergeLibraryItems`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#mergeLibraryItems) [#5101](https://github.com/excalidraw/excalidraw/pull/5101).
53
+ - Expose util [`exportToClipboard`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToClipboard) which allows to copy the scene contents to clipboard as `svg`, `png` or `json` [#5103](https://github.com/excalidraw/excalidraw/pull/5103).
54
+ - Expose `window.EXCALIDRAW_EXPORT_SOURCE` which you can use to overwrite the `source` field in exported data [#5095](https://github.com/excalidraw/excalidraw/pull/5095).
55
+ - The `exportToBlob` utility now supports the `exportEmbedScene` option when generating a png image [#5047](https://github.com/excalidraw/excalidraw/pull/5047).
56
+ - Exported [`restoreLibraryItems`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#restoreLibraryItems) API [#4995](https://github.com/excalidraw/excalidraw/pull/4995).
57
+
58
+ #### Fixes
59
+
60
+ - Allow returning `null ` in [`renderFooter`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderFooter) prop [#5282](https://github.com/excalidraw/excalidraw/pull/5282).
61
+
62
+ - Use `window.EXCALIDRAW_ASSET_PATH` for fonts when exporting to svg [#5065](https://github.com/excalidraw/excalidraw/pull/5065).
63
+ - Library menu now properly rerenders if open when library is updated using `updateScene({ libraryItems })` [#4995](https://github.com/excalidraw/excalidraw/pull/4995).
64
+
65
+ #### Refactor
66
+
67
+ - Rename `appState.elementLocked` to `appState.activeTool.locked` [#4983](https://github.com/excalidraw/excalidraw/pull/4983).
68
+ - Expose [`serializeLibraryAsJSON`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#serializeLibraryAsJSON) helper that we use when saving Excalidraw Library to a file.
69
+
70
+ ##### BREAKING CHANGE
71
+
72
+ You will need to pass `activeTool.locked` instead of `elementType` from now onwards in `appState`.
73
+
74
+ - 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).
75
+
76
+ ##### BREAKING CHANGE
77
+
78
+ You will need to pass `activeTool` instead of `elementType` from now onwards in `appState`
79
+
80
+ ### Build
81
+
82
+ - Use only named exports [#5045](https://github.com/excalidraw/excalidraw/pull/5045).
83
+
84
+ #### BREAKING CHANGE
85
+
86
+ You will need to import the named export from now onwards to use the component
87
+
88
+ Using bundler :point_down:
89
+
90
+ ```js
91
+ import { Excalidraw } from "@excalidraw/excalidraw";
92
+ ```
93
+
94
+ In Browser :point_down:
95
+
96
+ ```js
97
+ React.createElement(ExcalidrawLib.Excalidraw, opts);
98
+ ```
99
+
100
+ ### Excalidraw Library
101
+
102
+ #### Chore
103
+
104
+ - Transpile `browser-fs-access` dependency so that its `for await` syntax doesn't force es2018 requirement onto dependent projects [#5041](https://github.com/excalidraw/excalidraw/pull/5041).
105
+
106
+ ## 0.11.0 (2022-02-17)
107
+
108
+ ## Excalidraw API
109
+
110
+ ### Features
111
+
112
+ - Add `onLinkOpen` prop which will be triggered when clicked on element hyperlink if present [#4694](https://github.com/excalidraw/excalidraw/pull/4694).
113
+ - Support updating library using [`updateScene`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#updateScene) API [#4546](https://github.com/excalidraw/excalidraw/pull/4546).
114
+
115
+ - Introduced primary colors to the app. The colors can be overridden. Check [readme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#customizing-styles) on how to do so [#4387](https://github.com/excalidraw/excalidraw/pull/4387).
116
+
117
+ - [`exportToBlob`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToBlob) now automatically sets `appState.exportBackground` to `true` if exporting to `image/jpeg` MIME type (to ensure that alpha channel is not compressed to black color) [#4342](https://github.com/excalidraw/excalidraw/pull/4342).
118
+
119
+ #### BREAKING CHANGE
120
+
121
+ Remove `getElementMap` util [#4306](https://github.com/excalidraw/excalidraw/pull/4306).
122
+
123
+ - Changes to [`exportToCanvas`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToCanvas) util function [#4321](https://github.com/excalidraw/excalidraw/pull/4321):
124
+
125
+ - Add `maxWidthOrHeight?: number` attribute.
126
+ - `scale` returned from `getDimensions()` is now optional (default to `1`).
127
+
128
+ - Image support added for host [PR](https://github.com/excalidraw/excalidraw/pull/4011)
129
+
130
+ General notes:
131
+
132
+ - File data are encoded as DataURLs (base64) for portability reasons.
133
+
134
+ [ExcalidrawAPI](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onLibraryChange):
135
+
136
+ - added `getFiles()` to get current `BinaryFiles` (`Record<FileId, BinaryFileData>`). It may contain files that aren't referenced by any element, so if you're persisting the files to a storage, you should compare them against stored elements.
137
+
138
+ Excalidraw app props:
139
+
140
+ - added `generateIdForFile(file: File)` optional prop so you can generate your own ids for added files.
141
+ - `onChange(elements, appState, files)` prop callback is now passed `BinaryFiles` as third argument.
142
+ - `onPaste(data, event)` data prop should contain `data.files` (`BinaryFiles`) if the elements pasted are referencing new files.
143
+ - `initialData` object now supports additional `files` (`BinaryFiles`) attribute.
144
+
145
+ Other notes:
146
+
147
+ - `.excalidraw` files may now contain top-level `files` key in format of `Record<FileId, BinaryFileData>` when exporting any (image) elements.
148
+ - Changes were made to various export utilities exported from the package so that they take `files`, you can refer to the docs for the same.
149
+
150
+ - Export [`isLinearElement`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#isLinearElement) and [`getNonDeletedElements`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#getNonDeletedElements) [#4072](https://github.com/excalidraw/excalidraw/pull/4072).
151
+
152
+ - Support [`renderTopRightUI`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderTopRightUI) in mobile UI [#4065](https://github.com/excalidraw/excalidraw/pull/4065).
153
+
154
+ - Export `THEME` constant from the package so host can use this when passing the theme [#4055](https://github.com/excalidraw/excalidraw/pull/4055).
155
+
156
+ #### BREAKING CHANGE
157
+
158
+ The `Appearance` type is now removed and renamed to `Theme` so `Theme` type needs to be used.
159
+
160
+ ### Fixes
161
+
162
+ - 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).
163
+ - 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).
164
+ - Scope drag and drop events to Excalidraw container to prevent overriding host application drag and drop events [#4445](https://github.com/excalidraw/excalidraw/pull/4445).
165
+
166
+ ### Build
167
+
168
+ - Release preview package [@excalidraw/excalidraw-preview](https://www.npmjs.com/package/@excalidraw/excalidraw-preview) when triggered via comment
169
+
170
+ ```
171
+ @excalibot trigger release
172
+ ```
173
+
174
+ [#4750](https://github.com/excalidraw/excalidraw/pull/4750).
175
+
176
+ - Added an example to test and develop the package [locally](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#Development) using `yarn start` [#4488](https://github.com/excalidraw/excalidraw/pull/4488)
177
+
178
+ - Remove `file-loader` so font assets are not duplicated by webpack and use webpack asset modules for font generation [#4380](https://github.com/excalidraw/excalidraw/pull/4380).
179
+
180
+ - We're now compiling to `es2017` target. Notably, `async/await` is not compiled down to generators. [#4341](https://github.com/excalidraw/excalidraw/pull/4341).
181
+
182
+ ---
183
+
184
+ ## Excalidraw Library
185
+
186
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
187
+
188
+ ### Features
189
+
190
+ - Show group/group and link action in mobile [#4795](https://github.com/excalidraw/excalidraw/pull/4795)
191
+
192
+ - Support background fill for freedraw shapes [#4610](https://github.com/excalidraw/excalidraw/pull/4610)
193
+
194
+ - Keep selected tool on canvas reset [#4728](https://github.com/excalidraw/excalidraw/pull/4728)
195
+
196
+ - Make whole element clickable in view mode when it has hyperlink [#4735](https://github.com/excalidraw/excalidraw/pull/4735)
197
+
198
+ - Allow any precision when zooming [#4730](https://github.com/excalidraw/excalidraw/pull/4730)
199
+
200
+ - Throttle `pointermove` events per framerate [#4727](https://github.com/excalidraw/excalidraw/pull/4727)
201
+
202
+ - Support hyperlinks 🔥 [#4620](https://github.com/excalidraw/excalidraw/pull/4620)
203
+
204
+ - Added penMode for palm rejection [#4657](https://github.com/excalidraw/excalidraw/pull/4657)
205
+
206
+ - Support unbinding bound text [#4686](https://github.com/excalidraw/excalidraw/pull/4686)
207
+
208
+ - Sync local storage state across tabs when out of sync [#4545](https://github.com/excalidraw/excalidraw/pull/4545)
209
+
210
+ - Support contextMenuLabel to be of function type to support dynamic labels [#4654](https://github.com/excalidraw/excalidraw/pull/4654)
211
+
212
+ - Support decreasing/increasing `fontSize` via keyboard [#4553](https://github.com/excalidraw/excalidraw/pull/4553)
213
+
214
+ - Link to new LP for excalidraw plus [#4549](https://github.com/excalidraw/excalidraw/pull/4549)
215
+
216
+ - Update stroke color of bounded text along with container [#4541](https://github.com/excalidraw/excalidraw/pull/4541)
217
+
218
+ - Hints and shortcuts help around deep selection [#4502](https://github.com/excalidraw/excalidraw/pull/4502)
219
+
220
+ - Support updating text properties by clicking on container [#4499](https://github.com/excalidraw/excalidraw/pull/4499)
221
+
222
+ - Bind text to shapes when pressing enter and support sticky notes 🎉 [#4343](https://github.com/excalidraw/excalidraw/pull/4343)
223
+
224
+ - Change `boundElementIds` → `boundElements` [#4404](https://github.com/excalidraw/excalidraw/pull/4404)
225
+
226
+ - Support selecting multiple points when editing line [#4373](https://github.com/excalidraw/excalidraw/pull/4373)
227
+
228
+ - Horizontally center toolbar menu [commit link](https://github.com/excalidraw/excalidraw/commit/9b8ee3cacfec239617c357693cf2a3ca9972d2cb)
229
+
230
+ - Add support for rounded corners in diamond [#4369](https://github.com/excalidraw/excalidraw/pull/4369)
231
+
232
+ - Allow zooming up to 3000% [#4358](https://github.com/excalidraw/excalidraw/pull/4358)
233
+
234
+ - Stop discarding precision when rendering [#4357](https://github.com/excalidraw/excalidraw/pull/4357)
235
+
236
+ - Support Image binding [#4347](https://github.com/excalidraw/excalidraw/pull/4347)
237
+
238
+ - Add `element.updated` [#4070](https://github.com/excalidraw/excalidraw/pull/4070)
239
+
240
+ - Compress shareLink data when uploading to json server [#4225](https://github.com/excalidraw/excalidraw/pull/4225)
241
+
242
+ - Supply `version` param when installing libraries [#4305](https://github.com/excalidraw/excalidraw/pull/4305)
243
+
244
+ - Log FS abortError to console [#4279](https://github.com/excalidraw/excalidraw/pull/4279)
245
+
246
+ - Add validation for website and remove validation for library item name [#4269](https://github.com/excalidraw/excalidraw/pull/4269)
247
+
248
+ - Allow publishing libraries from UI [#4115](https://github.com/excalidraw/excalidraw/pull/4115)
249
+
250
+ - Create confirm dialog to use instead of window.confirm [#4256](https://github.com/excalidraw/excalidraw/pull/4256)
251
+
252
+ - Allow letters in IDs for storing files in backend [#4224](https://github.com/excalidraw/excalidraw/pull/4224)
253
+
254
+ - Remove support for V1 unencrypted backend [#4189](https://github.com/excalidraw/excalidraw/pull/4189)
255
+
256
+ - Use separate backend for local storage [#4187](https://github.com/excalidraw/excalidraw/pull/4187)
257
+
258
+ - Add hint around canvas panning [#4159](https://github.com/excalidraw/excalidraw/pull/4159)
259
+
260
+ - Stop using production services for development [#4113](https://github.com/excalidraw/excalidraw/pull/4113)
261
+
262
+ - Add triangle arrowhead [#4024](https://github.com/excalidraw/excalidraw/pull/4024)
263
+
264
+ - Add rewrite to webex landing page [#4102](https://github.com/excalidraw/excalidraw/pull/4102)
265
+
266
+ - Switch collab server [#4092](https://github.com/excalidraw/excalidraw/pull/4092)
267
+
268
+ - Use dialog component for clear canvas instead of window confirm [#4075](https://github.com/excalidraw/excalidraw/pull/4075)
269
+
270
+ ### Fixes
271
+
272
+ - Rename --color-primary-chubb to --color-primary-contrast-offset and fallback to primary color if not present [#4803](https://github.com/excalidraw/excalidraw/pull/4803)
273
+
274
+ - Add commits directly pushed to master in changelog [#4798](https://github.com/excalidraw/excalidraw/pull/4798)
275
+
276
+ - Don't bump element version when adding files data [#4794](https://github.com/excalidraw/excalidraw/pull/4794)
277
+
278
+ - Mobile link click [#4742](https://github.com/excalidraw/excalidraw/pull/4742)
279
+
280
+ - ContextMenu timer & pointers not correctly reset on iOS [#4765](https://github.com/excalidraw/excalidraw/pull/4765)
281
+
282
+ - Use absolute coords when rendering link popover [#4753](https://github.com/excalidraw/excalidraw/pull/4753)
283
+
284
+ - Changing font size when text is not selected or edited [#4751](https://github.com/excalidraw/excalidraw/pull/4751)
285
+
286
+ - Disable contextmenu on non-secondary `pen` events or `touch` [#4675](https://github.com/excalidraw/excalidraw/pull/4675)
287
+
288
+ - Mobile context menu won't show on long press [#4741](https://github.com/excalidraw/excalidraw/pull/4741)
289
+
290
+ - Do not open links twice [#4738](https://github.com/excalidraw/excalidraw/pull/4738)
291
+
292
+ - Make link icon clickable in mobile [#4736](https://github.com/excalidraw/excalidraw/pull/4736)
293
+
294
+ - Apple Pen missing strokes [#4705](https://github.com/excalidraw/excalidraw/pull/4705)
295
+
296
+ - Freedraw slow movement jittery lines [#4726](https://github.com/excalidraw/excalidraw/pull/4726)
297
+
298
+ - Disable three finger pinch zoom in penMode [#4725](https://github.com/excalidraw/excalidraw/pull/4725)
299
+
300
+ - Remove click listener for opening popup [#4700](https://github.com/excalidraw/excalidraw/pull/4700)
301
+
302
+ - Link popup position not accounting for offsets [#4695](https://github.com/excalidraw/excalidraw/pull/4695)
303
+
304
+ - PenMode darkmode style [#4692](https://github.com/excalidraw/excalidraw/pull/4692)
305
+
306
+ - Typing `_+` in wysiwyg not working [#4681](https://github.com/excalidraw/excalidraw/pull/4681)
307
+
308
+ - Keyboard-zooming in wysiwyg should zoom canvas [#4676](https://github.com/excalidraw/excalidraw/pull/4676)
309
+
310
+ - SceneCoordsToViewportCoords, jumping text when there is an offset [#4413](https://github.com/excalidraw/excalidraw/pull/4413) (#4630)
311
+
312
+ - Right-click object menu displays partially off-screen [#4572](https://github.com/excalidraw/excalidraw/pull/4572) (#4631)
313
+
314
+ - Support collaboration in bound text [#4573](https://github.com/excalidraw/excalidraw/pull/4573)
315
+
316
+ - Cmd/ctrl native browser behavior blocked in inputs [#4589](https://github.com/excalidraw/excalidraw/pull/4589)
317
+
318
+ - Use cached width when calculating min width during resize [#4585](https://github.com/excalidraw/excalidraw/pull/4585)
319
+
320
+ - Support collaboration in bounded text [#4580](https://github.com/excalidraw/excalidraw/pull/4580)
321
+
322
+ - Port for collab server and update docs [#4569](https://github.com/excalidraw/excalidraw/pull/4569)
323
+
324
+ - Don't mutate the bounded text if not updated when submitted [#4543](https://github.com/excalidraw/excalidraw/pull/4543)
325
+
326
+ - Prevent canvas drag while editing text [#4552](https://github.com/excalidraw/excalidraw/pull/4552)
327
+
328
+ - Support shift+P for freedraw [#4550](https://github.com/excalidraw/excalidraw/pull/4550)
329
+
330
+ - Prefer spreadsheet data over image [#4533](https://github.com/excalidraw/excalidraw/pull/4533)
331
+
332
+ - Show text properties button states correctly for bounded text [#4542](https://github.com/excalidraw/excalidraw/pull/4542)
333
+
334
+ - Rotate bounded text when container is rotated before typing [#4535](https://github.com/excalidraw/excalidraw/pull/4535)
335
+
336
+ - Undo should work when selecting bounded textr [#4537](https://github.com/excalidraw/excalidraw/pull/4537)
337
+
338
+ - Reduce padding to 5px for bounded text [#4530](https://github.com/excalidraw/excalidraw/pull/4530)
339
+
340
+ - Bound text doesn't inherit container [#4521](https://github.com/excalidraw/excalidraw/pull/4521)
341
+
342
+ - Text wrapping with grid [#4505](https://github.com/excalidraw/excalidraw/pull/4505) (#4506)
343
+
344
+ - Check if process is defined before using so it works in browser [#4497](https://github.com/excalidraw/excalidraw/pull/4497)
345
+
346
+ - Pending review fixes for sticky notes [#4493](https://github.com/excalidraw/excalidraw/pull/4493)
347
+
348
+ - Pasted elements except binded text once paste action is complete [#4472](https://github.com/excalidraw/excalidraw/pull/4472)
349
+
350
+ - Don't select binded text when ungrouping [#4470](https://github.com/excalidraw/excalidraw/pull/4470)
351
+
352
+ - Set height correctly when text properties updated while editing in container until first submit [#4469](https://github.com/excalidraw/excalidraw/pull/4469)
353
+
354
+ - Align and distribute binded text in container and cleanup [#4468](https://github.com/excalidraw/excalidraw/pull/4468)
355
+
356
+ - Move binded text when moving container using keyboard [#4466](https://github.com/excalidraw/excalidraw/pull/4466)
357
+
358
+ - Support dragging binded text in container selected in a group [#4462](https://github.com/excalidraw/excalidraw/pull/4462)
359
+
360
+ - Vertically align single line when deleting text in bounded container [#4460](https://github.com/excalidraw/excalidraw/pull/4460)
361
+
362
+ - Update height correctly when updating text properties in binded text [#4459](https://github.com/excalidraw/excalidraw/pull/4459)
363
+
364
+ - Align library item previews to center [#4447](https://github.com/excalidraw/excalidraw/pull/4447)
365
+
366
+ - Vertically center align text when text deleted [#4457](https://github.com/excalidraw/excalidraw/pull/4457)
367
+
368
+ - Vertically center the first line as user starts typing in container [#4454](https://github.com/excalidraw/excalidraw/pull/4454)
369
+
370
+ - Switch cursor to center of container when adding text when dimensions are too small [#4452](https://github.com/excalidraw/excalidraw/pull/4452)
371
+
372
+ - Vertically center align the bounded text correctly when zoomed [#4444](https://github.com/excalidraw/excalidraw/pull/4444)
373
+
374
+ - Support updating stroke color for text by typing in color picker input [#4415](https://github.com/excalidraw/excalidraw/pull/4415)
375
+
376
+ - Bound text not atomic with container when changing z-index [#4414](https://github.com/excalidraw/excalidraw/pull/4414)
377
+
378
+ - Update viewport coords correctly when editing text [#4416](https://github.com/excalidraw/excalidraw/pull/4416)
379
+
380
+ - Use word-break break-word only and update text editor height only when binded to container [#4410](https://github.com/excalidraw/excalidraw/pull/4410)
381
+
382
+ - Husky not able to execute pre-commit on windows [#4370](https://github.com/excalidraw/excalidraw/pull/4370)
383
+
384
+ - Make firebase config parsing not fail on undefined env [#4381](https://github.com/excalidraw/excalidraw/pull/4381)
385
+
386
+ - Adding to library via contextmenu when no image is selected [#4356](https://github.com/excalidraw/excalidraw/pull/4356)
387
+
388
+ - Export scale quality regression [#4316](https://github.com/excalidraw/excalidraw/pull/4316)
389
+
390
+ - Remove `100%` height from tooltip container to fix layout issues [#3980](https://github.com/excalidraw/excalidraw/pull/3980)
391
+
392
+ - Inline ENV variables when building excalidraw package [#4311](https://github.com/excalidraw/excalidraw/pull/4311)
393
+
394
+ - SVG export in dark mode with embedded bitmap image [#4285](https://github.com/excalidraw/excalidraw/pull/4285)
395
+
396
+ - New FS API not working on Linux [#4280](https://github.com/excalidraw/excalidraw/pull/4280)
397
+
398
+ - Url -> URL for consistency [#4277](https://github.com/excalidraw/excalidraw/pull/4277)
399
+
400
+ - Prevent adding images to library via contextMenu [#4264](https://github.com/excalidraw/excalidraw/pull/4264)
401
+
402
+ - Account for libraries v2 when prompting [#4263](https://github.com/excalidraw/excalidraw/pull/4263)
403
+
404
+ - Skia rendering issues [#4200](https://github.com/excalidraw/excalidraw/pull/4200)
405
+
406
+ - Ellipse roughness when `0` [#4194](https://github.com/excalidraw/excalidraw/pull/4194)
407
+
408
+ - Proper string for invalid SVG [#4191](https://github.com/excalidraw/excalidraw/pull/4191)
409
+
410
+ - Images not initialized correctly [#4157](https://github.com/excalidraw/excalidraw/pull/4157)
411
+
412
+ - Image-related fixes [#4147](https://github.com/excalidraw/excalidraw/pull/4147)
413
+
414
+ - Rewrite collab element reconciliation to fix z-index issues [#4076](https://github.com/excalidraw/excalidraw/pull/4076)
415
+
416
+ - Redirect excalidraw.com/about to for-webex.excalidraw.com [#4104](https://github.com/excalidraw/excalidraw/pull/4104)
417
+
418
+ - Redirect to webex LP instead of rewrite to fix SW [#4103](https://github.com/excalidraw/excalidraw/pull/4103)
419
+
420
+ - Clear image/shape cache of affected elements when adding files [#4089](https://github.com/excalidraw/excalidraw/pull/4089)
421
+
422
+ - Clear `LibraryUnit` DOM on unmount [#4084](https://github.com/excalidraw/excalidraw/pull/4084)
423
+
424
+ - Pasting images on firefox [#4085](https://github.com/excalidraw/excalidraw/pull/4085)
425
+
426
+ ### Refactor
427
+
428
+ - Simplify zoom by removing `zoom.translation` [#4477](https://github.com/excalidraw/excalidraw/pull/4477)
429
+
430
+ - Deduplicate encryption helpers [#4146](https://github.com/excalidraw/excalidraw/pull/4146)
431
+
432
+ ### Performance
433
+
434
+ - Cache approx line height in textwysiwg [#4651](https://github.com/excalidraw/excalidraw/pull/4651)
435
+
436
+ ### Build
437
+
438
+ - Rename release command to 'release package' [#4783](https://github.com/excalidraw/excalidraw/pull/4783)
439
+
440
+ - Deploy excalidraw package example [#4762](https://github.com/excalidraw/excalidraw/pull/4762)
441
+
442
+ - Allow package.json changes when autoreleasing next [#4068](https://github.com/excalidraw/excalidraw/pull/4068)
443
+
444
+ ---
445
+
446
+ ## 0.10.0 (2021-10-13)
447
+
448
+ ## Excalidraw API
449
+
450
+ ### Fixes
451
+
452
+ - Don't show save file to disk button in export dialog when `saveFileToDisk` passed as `false` in [`UIOptions.canvasActions.export`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportOpts) [#4073](https://github.com/excalidraw/excalidraw/pull/4073).
453
+
454
+ - [`onPaste`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onPaste) prop should return false to prevent the native excalidraw paste action [#3974](https://github.com/excalidraw/excalidraw/pull/3974).
455
+
456
+ #### BREAKING CHANGE
457
+
458
+ - Earlier the paste action was prevented when the prop [`onPaste`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onPaste) returned true, but now it should return false to prevent the paste action. This was done to make it semantically more correct and intuitive.
459
+
460
+ ### Build
461
+
462
+ - Enable jsx transform in webpack [#4049](https://github.com/excalidraw/excalidraw/pull/4049)
463
+
464
+ ### Docs
465
+
466
+ - Correct exportToBackend in README to onExportToBackend [#3952](https://github.com/excalidraw/excalidraw/pull/3952)
467
+
468
+ ## Excalidraw Library
469
+
470
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
471
+
472
+ ### Features
473
+
474
+ - Improve freedraw shape [#3984](https://github.com/excalidraw/excalidraw/pull/3984)
475
+
476
+ - Make color ARIA labels better [#3871](https://github.com/excalidraw/excalidraw/pull/3871)
477
+
478
+ - Add origin trial tokens [#3853](https://github.com/excalidraw/excalidraw/pull/3853)
479
+
480
+ - Re-order zoom buttons [#3837](https://github.com/excalidraw/excalidraw/pull/3837)
481
+
482
+ - Add undo/redo buttons & tweak footer [#3832](https://github.com/excalidraw/excalidraw/pull/3832)
483
+
484
+ - Resave to png/svg with metadata if you loaded your scene from a png/svg file [#3645](https://github.com/excalidraw/excalidraw/pull/3645)
485
+
486
+ ### Fixes
487
+
488
+ - Abstract and fix legacy fs [#4032](https://github.com/excalidraw/excalidraw/pull/4032)
489
+
490
+ - Context menu positioning [#4025](https://github.com/excalidraw/excalidraw/pull/4025)
491
+
492
+ - Added alert for bad encryption key [#3998](https://github.com/excalidraw/excalidraw/pull/3998)
493
+
494
+ - OnPaste should return false to prevent paste action [#3974](https://github.com/excalidraw/excalidraw/pull/3974)
495
+
496
+ - Help-icon now visible on Safari [#3939](https://github.com/excalidraw/excalidraw/pull/3939)
497
+
498
+ - Permanent zoom mode [#3931](https://github.com/excalidraw/excalidraw/pull/3931)
499
+
500
+ - Undo/redo buttons gap in Safari [#3836](https://github.com/excalidraw/excalidraw/pull/3836)
501
+
502
+ - Prevent gradual canvas misalignment [#3833](https://github.com/excalidraw/excalidraw/pull/3833)
503
+
504
+ - Color picker shortcuts not working when elements selected [#3817](https://github.com/excalidraw/excalidraw/pull/3817)
505
+
506
+ ---
507
+
508
+ ## 0.9.0 (2021-07-10)
509
+
510
+ ## Excalidraw API
511
+
512
+ ### Features
513
+
514
+ - [`restore(data, localAppState, localElements)`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#restore) and [`restoreElements(elements, localElements)`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#restoreElements) now take `localElements` argument which will be used to ensure existing elements' versions are used and incremented. This fixes an issue where importing the same file would resolve to elements with older versions, potentially causing issues when reconciling [#3797](https://github.com/excalidraw/excalidraw/pull/3797).
515
+
516
+ #### BREAKING CHANGE
517
+
518
+ - `localElements` argument is mandatory (can be `null`/`undefined`) if using TypeScript.
519
+
520
+ - Support `appState.exportEmbedScene` attribute in [`exportToSvg`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToSvg) which allows to embed the scene data [#3777](https://github.com/excalidraw/excalidraw/pull/3777).
521
+
522
+ #### BREAKING CHANGE
523
+
524
+ - The attribute `metadata` is now removed as `metadata` was only used to embed scene data which is now supported with the `appState.exportEmbedScene` attribute.
525
+ - [`exportToSvg`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToSvg) now resolves to a promise which resolves to `svg` of the exported drawing.
526
+
527
+ - Expose [`loadLibraryFromBlob`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#loadLibraryFromBlobY), [`loadFromBlob`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#loadFromBlob), and [`getFreeDrawSvgPath`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#getFreeDrawSvgPath) [#3764](https://github.com/excalidraw/excalidraw/pull/3764).
528
+
529
+ - Expose [`FONT_FAMILY`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#FONT_FAMILY) so that consumer can use when passing `initialData.appState.currentItemFontFamily` [#3710](https://github.com/excalidraw/excalidraw/pull/3710).
530
+
531
+ - Added prop [`autoFocus`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#autoFocus) to focus the excalidraw component on page load when enabled, defaults to false [#3691](https://github.com/excalidraw/excalidraw/pull/3691).
532
+
533
+ Note: Earlier Excalidraw component was focused by default on page load, you need to enable `autoFocus` prop to retain the same behaviour.
534
+
535
+ - Added prop `UIOptions.canvasActions.export.renderCustomUI` to support Custom UI rendering inside export dialog [#3666](https://github.com/excalidraw/excalidraw/pull/3666).
536
+ - Added prop `UIOptions.canvasActions.saveAsImage` to show/hide the **Save as image** button in the canvas actions. Defaults to `true` hence the **Save as Image** button is rendered [#3662](https://github.com/excalidraw/excalidraw/pull/3662).
537
+
538
+ - Export dialog can be customised with [`UiOptions.canvasActions.export`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportOpts) [#3658](https://github.com/excalidraw/excalidraw/pull/3658).
539
+
540
+ Also, [`UIOptions`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#UIOptions) is now memoized to avoid unnecessary rerenders.
541
+
542
+ #### BREAKING CHANGE
543
+
544
+ - `UIOptions.canvasActions.saveAsScene` is now renamed to `UiOptions.canvasActions.export.saveFileToDisk`. Defaults to `true` hence the **save file to disk** button is rendered inside the export dialog.
545
+ - `exportToBackend` is now renamed to `UIOptions.canvasActions.export.exportToBackend`. If this prop is not passed, the **shareable-link** button will not be rendered, same as before.
546
+
547
+ ### Fixes
548
+
549
+ - Use excalidraw Id in elements so every element has unique id [#3696](https://github.com/excalidraw/excalidraw/pull/3696).
550
+
551
+ ### Refactor
552
+
553
+ - #### BREAKING CHANGE
554
+ - Rename `UIOptions.canvasActions.saveScene` to `UIOptions.canvasActions.saveToActiveFile`[#3657](https://github.com/excalidraw/excalidraw/pull/3657).
555
+ - Removed `shouldAddWatermark: boolean` attribute from options for [export](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#export-utilities) APIs [#3639](https://github.com/excalidraw/excalidraw/pull/3639).
556
+ - Removed `appState.shouldAddWatermark` so in case you were passing `shouldAddWatermark` in [initialData.AppState](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L42) it will not work anymore.
557
+
558
+ ## Excalidraw Library
559
+
560
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
561
+
562
+ ### Features
563
+
564
+ - Switch to selection tool on library item insert [#3773](https://github.com/excalidraw/excalidraw/pull/3773)
565
+
566
+ - Show active file name when saving to current file [#3733](https://github.com/excalidraw/excalidraw/pull/3733)
567
+
568
+ - Add hint around text editing [#3708](https://github.com/excalidraw/excalidraw/pull/3708)
569
+
570
+ - Change library icon to be more clear [#3583](https://github.com/excalidraw/excalidraw/pull/3583)
571
+
572
+ - Pass current `theme` when installing libraries [#3701](https://github.com/excalidraw/excalidraw/pull/3701)
573
+
574
+ - Update virgil font [#3692](https://github.com/excalidraw/excalidraw/pull/3692)
575
+
576
+ - Support exporting json to excalidraw plus [#3678](https://github.com/excalidraw/excalidraw/pull/3678)
577
+
578
+ - Save exportScale in AppState [#3580](https://github.com/excalidraw/excalidraw/pull/3580)
579
+
580
+ - Add shortcuts for stroke and background color picker [#3318](https://github.com/excalidraw/excalidraw/pull/3318)
581
+
582
+ - Exporting redesign [#3613](https://github.com/excalidraw/excalidraw/pull/3613)
583
+
584
+ - Auto-position tooltip and support overflowing container [#3631](https://github.com/excalidraw/excalidraw/pull/3631)
585
+
586
+ - Auto release @excalidraw/excalidraw-next on every change [#3614](https://github.com/excalidraw/excalidraw/pull/3614)
587
+
588
+ - Allow inner-drag-selecting with cmd/ctrl [#3603](https://github.com/excalidraw/excalidraw/pull/3603)
589
+
590
+ ### Fixes
591
+
592
+ - view mode cursor adjustments [#3809](https://github.com/excalidraw/excalidraw/pull/3809).
593
+
594
+ - Pass next release to updatePackageVersion & replace ## unreleased with new version [#3806](https://github.com/excalidraw/excalidraw/pull/3806)
595
+
596
+ - Include deleted elements when passing to restore [#3802](https://github.com/excalidraw/excalidraw/pull/3802)
597
+
598
+ - Import React before using jsx [#3804](https://github.com/excalidraw/excalidraw/pull/3804)
599
+
600
+ - Ensure `s` and `g` shortcuts work on no selection [#3800](https://github.com/excalidraw/excalidraw/pull/3800)
601
+
602
+ - Keep binding for attached arrows after changing text [#3754](https://github.com/excalidraw/excalidraw/pull/3754)
603
+
604
+ - Deselect elements on viewMode toggle [#3741](https://github.com/excalidraw/excalidraw/pull/3741)
605
+
606
+ - Allow pointer events for disable zen mode button [#3743](https://github.com/excalidraw/excalidraw/pull/3743)
607
+
608
+ - Use rgba instead of shorthand alpha [#3688](https://github.com/excalidraw/excalidraw/pull/3688)
609
+
610
+ - Color pickers not opening on mobile [#3676](https://github.com/excalidraw/excalidraw/pull/3676)
611
+
612
+ - On contextMenu, use selected element regardless of z-index [#3668](https://github.com/excalidraw/excalidraw/pull/3668)
613
+
614
+ - SelectedGroupIds not being stored in history [#3630](https://github.com/excalidraw/excalidraw/pull/3630)
615
+
616
+ - Overscroll on touch devices [#3663](https://github.com/excalidraw/excalidraw/pull/3663)
617
+
618
+ - Small UI issues around image export dialog [#3642](https://github.com/excalidraw/excalidraw/pull/3642)
619
+
620
+ - Normalize linear element points on restore [#3633](https://github.com/excalidraw/excalidraw/pull/3633)
621
+
622
+ - Disable pointer-events on footer-center container [#3629](https://github.com/excalidraw/excalidraw/pull/3629)
623
+
624
+ ### Refactor
625
+
626
+ - Delete React SyntheticEvent persist [#3700](https://github.com/excalidraw/excalidraw/pull/3700)
627
+
628
+ - Code clean up [#3681](https://github.com/excalidraw/excalidraw/pull/3681)
629
+
630
+ ### Performance
631
+
632
+ - Improve arrow head sizing [#3480](https://github.com/excalidraw/excalidraw/pull/3480)
633
+
634
+ ### Build
635
+
636
+ - Add release script to update relevant files and commit for next release [#3805](https://github.com/excalidraw/excalidraw/pull/3805)
637
+
638
+ - Add script to update changelog before a stable release [#3784](https://github.com/excalidraw/excalidraw/pull/3784)
639
+
640
+ - Add script to update readme before stable release [#3781](https://github.com/excalidraw/excalidraw/pull/3781)
641
+
642
+ ---
643
+
644
+ ## 0.8.0 (2021-05-15)
645
+
646
+ ## Excalidraw API
647
+
648
+ **_These section lists the updates which may affect your integration, so it is recommended to go through this when upgrading the version._**
649
+
650
+ ### Features
651
+
652
+ - Support updating any `appState` properties in [`updateScene`](https://github.com/excalidraw/excalidraw/blob/master/src/components/App.tsx#L282) API. Earlier only `appState.viewBackgroundColor` was supported, now any attribute can be updated with this API.
653
+ - Expose [`serializeAsJSON`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#serializeAsJSON) helper that we use when saving Excalidraw scene to a file [#3538](https://github.com/excalidraw/excalidraw/pull/3538).
654
+ - Add support to render custom UI in the top right corner via [`renderTopRightUI`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderTopRightUI) prop [#3539](https://github.com/excalidraw/excalidraw/pull/3539), [#3572](https://github.com/excalidraw/excalidraw/pull/3572) .
655
+
656
+ This also removes the GitHub icon, keeping it local to the https://excalidraw.com app.
657
+
658
+ ### Fixes
659
+
660
+ - The encryption shield icon is now removed from excalidraw package as it was specific to excalidraw app and is now rendered via [`renderFooter`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderFooter) prop. In case you were hiding this icon earlier, you need not do that anymore [#3577](https://github.com/excalidraw/excalidraw/pull/3577).
661
+
662
+ Now `appState` is also passed to [`renderFooter`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderFooter) prop.
663
+
664
+ ## Excalidraw Library
665
+
666
+ **_These section lists the updates made to the excalidraw library and will not affect the integration._**
667
+
668
+ ### Features
669
+
670
+ - Shortcut key for nerd stats [#3552](https://github.com/excalidraw/excalidraw/pull/3552).
671
+ - Better rendering of curved rectangles [#3562](https://github.com/excalidraw/excalidraw/pull/3562).
672
+ - Improved freedraw [#3512](https://github.com/excalidraw/excalidraw/pull/3512).
673
+ - Add shortcut for dark mode [#3543](https://github.com/excalidraw/excalidraw/pull/3543).
674
+ - Adds rounded icons, joins and caps.[#3521](https://github.com/excalidraw/excalidraw/pull/3521).
675
+
676
+ ### Fixes
677
+
678
+ - Exporting freedraw with color to svg [#3565](https://github.com/excalidraw/excalidraw/pull/3565).
679
+ - Handle render errors [#3557](https://github.com/excalidraw/excalidraw/pull/3557).
680
+ - Restore on paste or lib import [#3558](https://github.com/excalidraw/excalidraw/pull/3558).
681
+ - Improve mobile user experience [#3508](https://github.com/excalidraw/excalidraw/pull/3508).
682
+ - Prevent selecting `.visually-hidden` elements [#3501](https://github.com/excalidraw/excalidraw/pull/3501).
683
+
684
+ ### Perf
685
+
686
+ - Reduce SVG export size by more than half by reducing precision to 2 decimal places [#3567](https://github.com/excalidraw/excalidraw/pull/3567).
687
+ - Remove `backdrop-filter` to improve perf [#3506](https://github.com/excalidraw/excalidraw/pull/3506)
688
+
689
+ ---
690
+
691
+ ## 0.7.0 (2021-04-26)
692
+
693
+ ## Excalidraw API
694
+
695
+ ### Features
696
+
697
+ - [`scrollToContent`](https://github.com/excalidraw/excalidraw/blob/master/src/components/App.tsx#L265) API now supports passing just a single Excalidraw element, or none at all (which will default to current elements on the scene) [#3482](https://github.com/excalidraw/excalidraw/pull/3482).
698
+
699
+ #### BREAKING CHANGE
700
+
701
+ - Renamed `setScrollToContent` to [`scrollToContent`](https://github.com/excalidraw/excalidraw/blob/master/src/components/App.tsx#L265).
702
+
703
+ - Make library local to given excalidraw instance (previously, all instances on the same page shared one global library) [#3451](https://github.com/excalidraw/excalidraw/pull/3451).
704
+
705
+ - Added prop [onLibraryChange](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onLibraryChange) which if supplied will be called when library is updated.
706
+
707
+ - Added attribute `libraryItems` to prop [initialData](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#initialdata) which can be used to load excalidraw with existing library items.
708
+
709
+ - Assign a [unique id](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#Id) to the excalidraw component. The id can be accessed via [`ref`](https://github.com/excalidraw/excalidraw/blob/master/src/components/App.tsx#L298).
710
+
711
+ #### BREAKING CHANGE
712
+
713
+ - From now on the host application is responsible for [persisting the library](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onLibraryChange) to LocalStorage (or elsewhere), and [importing it on mount](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#initialdata).
714
+
715
+ - Bind the keyboard events to component and added a prop [`handleKeyboardGlobally`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#handleKeyboardGlobally) which if set to true will bind the keyboard events to document [#3430](https://github.com/excalidraw/excalidraw/pull/3430).
716
+
717
+ #### BREAKING CHANGE
718
+
719
+ - Earlier keyboard events were bind to document but now its bind to Excalidraw component by default. So you will need to set [`handleKeyboardGlobally`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#handleKeyboardGlobally) to true if you want the previous behaviour (bind the keyboard events to document).
720
+
721
+ - Recompute offsets on `scroll` of the nearest scrollable container [#3408](https://github.com/excalidraw/excalidraw/pull/3408). This can be disabled by setting [`detectScroll`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#detectScroll) to `false`.
722
+
723
+ - Add `onPaste` prop to handle custom clipboard behaviours [#3420](https://github.com/excalidraw/excalidraw/pull/3420).
724
+
725
+ ### Fixes
726
+
727
+ - Changing z-index of elements (sorting them below/above other elements) now updates their `version` and `versionNonce` (only applies to the selected elements). This fix will allow you account for z-index changes if you're syncing just the elements that changed (and not the whole scene) [#3483](https://github.com/excalidraw/excalidraw/pull/3483).
728
+ - Only handle cut/paste events inside excalidraw [#3484](https://github.com/excalidraw/excalidraw/pull/3484).
729
+
730
+ - Make history local to a given Excalidraw instance. This fixes a case where history was getting shared when you have multiple Excalidraw components on the same page [#3481](https://github.com/excalidraw/excalidraw/pull/3481).
731
+ - Use active Excalidraw component when editing text. This fixes a case where text editing was not working when you have multiple Excalidraw components on the same page [#3478](https://github.com/excalidraw/excalidraw/pull/3478).
732
+
733
+ - Fix library being pasted off-center [#3462](https://github.com/excalidraw/excalidraw/pull/3462).
734
+
735
+ - When switching theme, apply it only to the active Excalidraw component. This fixes a case where the theme was getting applied to the first Excalidraw component if you had multiple Excalidraw components on the same page [#3446](https://github.com/excalidraw/excalidraw/pull/3446).
736
+
737
+ ### Refactor
738
+
739
+ - #### BREAKING CHANGE
740
+
741
+ - Removed exposing `getSyncableElements` helper which was specific to excalidraw app collab implementation [#3471](https://github.com/excalidraw/excalidraw/pull/3471). If you happened to use it, you can easily reimplement it yourself using the newly exposed [isInvisiblySmallElement](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#isInvisiblySmallElement) helper:
742
+
743
+ ```ts
744
+ const getSyncableElements = (elements: readonly ExcalidrawElement[]) =>
745
+ elements.filter((el) => el.isDeleted || !isInvisiblySmallElement(el));
746
+ ```
747
+
748
+ ### Build
749
+
750
+ - Add vendor prefixes to css rules [#3476](https://github.com/excalidraw/excalidraw/pull/3476).
751
+
752
+ ## Types
753
+
754
+ - Renamed the following types in case you depend on them (via [#3427](https://github.com/excalidraw/excalidraw/pull/3427)):
755
+ - `DataState` → `ExportedDataState`
756
+ - `LibraryData` → `ExportedLibraryData`
757
+
758
+ ## Excalidraw Library
759
+
760
+ ### Features
761
+
762
+ - Support tab-to-indent when editing text [#3411](https://github.com/excalidraw/excalidraw/pull/3411).
763
+
764
+ - App now breaks into mobile view using the component dimensions, not viewport dimensions. This fixes a case where the app would break sooner than necessary when the component's size is smaller than viewport [#3414](https://github.com/excalidraw/excalidraw/pull/3414).
765
+
766
+ - Add screenshots to manifest.json [#3369](https://github.com/excalidraw/excalidraw/pull/3369).
767
+
768
+ - Enable drop event on the whole component [#3406](https://github.com/excalidraw/excalidraw/pull/3406).
769
+
770
+ ### Fixes
771
+
772
+ - Focus on last active element when dialog closes [#3447](https://github.com/excalidraw/excalidraw/pull/3447).
773
+
774
+ - Fix incorrectly caching png file handle [#3407](https://github.com/excalidraw/excalidraw/pull/3407).
775
+
776
+ - Fix popover position incorrect on Safari for non-zero offsets/scroll [#3399](https://github.com/excalidraw/excalidraw/pull/3399).
777
+
778
+ ---
779
+
780
+ ## 0.6.0 (2021-04-04)
781
+
782
+ ## Excalidraw API
783
+
784
+ ### Features
785
+
786
+ - Add `UIOptions` prop to customise `canvas actions` which includes customising `background color picker`, `clear canvas`, `export`, `load`, `save`, `save as` & `theme toggle` [#3364](https://github.com/excalidraw/excalidraw/pull/3364). Check the [readme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#uioptions) for more details.
787
+ - Calculate `width/height` of canvas based on excalidraw component (".excalidraw" selector) & also resize and update offsets whenever the dimensions of excalidraw component gets updated [#3379](https://github.com/excalidraw/excalidraw/pull/3379). You also don't need to add a resize handler anymore for excalidraw as its handled now in excalidraw itself.
788
+ #### BREAKING CHANGE
789
+ - `width/height` props have been removed. Instead now it takes `100%` of `width` and `height` of the container so you need to make sure the container in which you are rendering Excalidraw has non zero dimensions (It should have non zero width and height so Excalidraw can match the dimensions of containing block)
790
+ - Calculate offsets when excalidraw container resizes using resize observer api [#3374](https://github.com/excalidraw/excalidraw/pull/3374).
791
+ - Export types for the package so now it can be used with typescript [#3337](https://github.com/excalidraw/excalidraw/pull/3337). The types are available at `@excalidraw/excalidraw/types`.
792
+ - Add `renderCustomStats` prop to render extra stats on host, and expose `setToastMessage` API via refs which can be used to show toast with custom message [#3360](https://github.com/excalidraw/excalidraw/pull/3360).
793
+ - Support passing a CSRF token when importing libraries to prevent prompting before installation. The token is passed from [https://libraries.excalidraw.com](https://libraries.excalidraw.com/) using the `token` URL key [#3329](https://github.com/excalidraw/excalidraw/pull/3329).
794
+ - #### BREAKING CHANGE
795
+ Use `location.hash` when importing libraries to fix installation issues. This will require host apps to add a `hashchange` listener and call the newly exposed `excalidrawAPI.importLibrary(url)` API when applicable [#3320](https://github.com/excalidraw/excalidraw/pull/3320). Check the [readme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#importlibrary) for more details.
796
+ - Append `location.pathname` to `libraryReturnUrl` default url [#3325](https://github.com/excalidraw/excalidraw/pull/3325).
797
+ - Support image elements [#3424](https://github.com/excalidraw/excalidraw/pull/3424).
798
+
799
+ ### Build
800
+
801
+ - Expose separate builds for dev and prod and support source maps in dev build [#3330](https://github.com/excalidraw/excalidraw/pull/3330). Check the [readme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#installation) for more details.
802
+ #### BREAKING CHANGE
803
+ - If you are using script tag to embed excalidraw then the name of the file will have to be updated to `excalidraw.production.min.js` instead of `excalidraw.min.js`. If you want to use dev build you can use `excalidraw.development.js`
804
+
805
+ ### Refactor
806
+
807
+ #### BREAKING CHANGE
808
+
809
+ - Rename the API `setCanvasOffsets` exposed via [`ref`](https://github.com/excalidraw/excalidraw/blob/master/src/components/App.tsx#L265) to `refresh` [#3398](https://github.com/excalidraw/excalidraw/pull/3398).
810
+
811
+ ## Excalidraw Library
812
+
813
+ ### Features
814
+
815
+ - Reopen library menu on import from file [#3383](https://github.com/excalidraw/excalidraw/pull/3383).
816
+ - Don't unnecessarily prompt when installing libraries [#3329](https://github.com/excalidraw/excalidraw/pull/3329).
817
+ - Add option to flip single element on the context menu [#2520](https://github.com/excalidraw/excalidraw/pull/2520).
818
+ - Replace fontSize and fontFamily text with icons [#2857](https://github.com/excalidraw/excalidraw/pull/2857).
819
+
820
+ ### Fixes
821
+
822
+ - Export dialog canvas positioning [#3397](https://github.com/excalidraw/excalidraw/pull/3397).
823
+ - Don't share collab types with core [#3353](https://github.com/excalidraw/excalidraw/pull/3353).
824
+ - Support d&d of files without extension [#3168](https://github.com/excalidraw/excalidraw/pull/3168).
825
+ - Positions stats for linear elements [#3331](https://github.com/excalidraw/excalidraw/pull/3331).
826
+ - Debounce.flush invokes func even if never queued before [#3326](https://github.com/excalidraw/excalidraw/pull/3326).
827
+ - State selection state on opening contextMenu [#3333](https://github.com/excalidraw/excalidraw/pull/3333).
828
+ - Add unique key for library header to resolve dev warnings [#3316](https://github.com/excalidraw/excalidraw/pull/3316).
829
+ - disallow create text in viewMode on mobile [#3219](https://github.com/excalidraw/excalidraw/pull/3219).
830
+ - Make help toggle tabbable [#3310](https://github.com/excalidraw/excalidraw/pull/3310)
831
+ - Show Windows share icon for Windows users [#3306](https://github.com/excalidraw/excalidraw/pull/3306).
832
+ - Don't scroll to content on INIT websocket message [#3291](https://github.com/excalidraw/excalidraw/pull/3291).
833
+
834
+ ### Refactor
835
+
836
+ - Use arrow function where possible [#3315](https://github.com/excalidraw/excalidraw/pull/3315).
837
+
838
+ ---
839
+
840
+ ## 0.5.0 (2021-03-21)
841
+
842
+ ## Excalidraw API
843
+
844
+ ### Features
845
+
846
+ - Set the target to `window.name` if present during excalidraw libraries installation so it opens in same tab for the host. If `window.name` is not set it will open in a new tab [#3299](https://github.com/excalidraw/excalidraw/pull/3299).
847
+ - Add `name` prop to indicate the name of the drawing which will be used when exporting the drawing. When supplied, the value takes precedence over `intialData.appState.name`, the `name` will be fully controlled by host app and the users won't be able to edit from within Excalidraw [#3273](https://github.com/excalidraw/excalidraw/pull/3273).
848
+ - Export API `setCanvasOffsets` via `ref` to set the offsets for Excalidraw[#3265](https://github.com/excalidraw/excalidraw/pull/3265).
849
+ #### BREAKING CHANGE
850
+ - `offsetLeft` and `offsetTop` props have been removed now so you have to use the `setCanvasOffsets` via `ref` to achieve the same.
851
+ - Export API to export the drawing to canvas, svg and blob [#3258](https://github.com/excalidraw/excalidraw/pull/3258). For more info you can check the [readme](https://github.com/excalidraw/excalidraw/tree/master/src/packages/excalidraw/README.md#user-content-export-utils)
852
+ - Add a `theme` prop to indicate Excalidraw's theme. [#3228](https://github.com/excalidraw/excalidraw/pull/3228). When this prop is passed, the theme is fully controlled by host app.
853
+ - Support `libraryReturnUrl` prop to indicate what URL to install libraries to [#3227](https://github.com/excalidraw/excalidraw/pull/3227).
854
+
855
+ ### Refactor
856
+
857
+ - #### BREAKING CHANGE
858
+ - Rename prop `initialData.scrollToCenter` and `setScrollToCenter` API exposed via ref to `initialData.scrollToContent` and `setScrollToContent` respectively[#3261](https://github.com/excalidraw/excalidraw/pull/3261).
859
+ - Rename appearance to theme [#3237](https://github.com/excalidraw/excalidraw/pull/3237).
860
+ #### BREAKING CHANGE
861
+ - Since `appState.appearance` is renamed to `appState.theme` so wherever `appState.appearance` including `initialData.appState.appearance` should be renamed to `appState.theme` and `initialData.appState.theme` respectively. If the `appearance` was persisted earlier, now it needs to passed as `theme`.
862
+ - The class `Appearance_dark` is renamed to `theme--dark`.
863
+ - The class `Appearance_dark-background-none` is renamed to `theme--dark-background-none`.
864
+
865
+ ## Excalidraw Library
866
+
867
+ ### Features
868
+
869
+ - Support pasting file contents & always prefer system clip [#3257](https://github.com/excalidraw/excalidraw/pull/3257)
870
+ - Add label for name field and use input when editable in export dialog [#3286](https://github.com/excalidraw/excalidraw/pull/3286)
871
+ - Implement the Web Share Target API [#3230](https://github.com/excalidraw/excalidraw/pull/3230).
872
+
873
+ ### Fixes
874
+
875
+ - Don't show export and delete when library is empty [#3288](https://github.com/excalidraw/excalidraw/pull/3288)
876
+ - Overflow in textinput in export dialog [#3284](https://github.com/excalidraw/excalidraw/pull/3284).
877
+ - Bail on noop updates for newElementWith [#3279](https://github.com/excalidraw/excalidraw/pull/3279).
878
+ - Prevent State continuously updated when holding ctrl/cmd #3283
879
+ - Debounce flush not invoked if lastArgs not defined [#3281](https://github.com/excalidraw/excalidraw/pull/3281).
880
+ - Stop preventing canvas pointerdown/tapend events [#3207](https://github.com/excalidraw/excalidraw/pull/3207).
881
+ - Double scrollbar on modals [#3226](https://github.com/excalidraw/excalidraw/pull/3226).
882
+
883
+ ---
884
+
885
+ ## 0.4.3 (2021-03-12)
886
+
887
+ ## Excalidraw API
888
+
889
+ ### Fixes
890
+
891
+ - Allow copy of excalidraw elements only when inside excalidraw [#3206](https://github.com/excalidraw/excalidraw/pull/3206).
892
+ - Position text editor absolute and fix the offsets so it doesn't remain fixed when the container is scrolled [#3200](https://github.com/excalidraw/excalidraw/pull/3200).
893
+ - Scope CSS variables so that host CSS vars don't clash with excalidraw [#3199](https://github.com/excalidraw/excalidraw/pull/3199).
894
+
895
+ ## Excalidraw Library
896
+
897
+ - Apply correct translation when text editor overflows when zoom not 100% [#3225](https://github.com/excalidraw/excalidraw/pull/3225)
898
+ - Don't overflow text beyond width of Excalidraw [#3215](https://github.com/excalidraw/excalidraw/pull/3215).
899
+
900
+ ---
901
+
902
+ ## 0.4.2
903
+
904
+ ## Excalidraw API
905
+
906
+ ### Fixes
907
+
908
+ - Wrap excalidraw in position relative so host need not do it anymore & hide scrollbars in zen mode [#3174](https://github.com/excalidraw/excalidraw/pull/3174).
909
+ - Reduce the scroll debounce timeout to `100ms` so `offsets` gets updated faster if changed when container scrolled [#3182](https://github.com/excalidraw/excalidraw/pull/3182).
910
+ - Rerender UI on `renderFooter` prop change [#3183](https://github.com/excalidraw/excalidraw/pull/3183)
911
+
912
+ ## Excalidraw Library
913
+
914
+ ### Fixes
915
+
916
+ - Temporarily downgrade browser-fs-access to fix legacy FS API [#3172](https://github.com/excalidraw/excalidraw/pull/3172)
917
+
918
+ ---
919
+
920
+ ## 0.4.1
921
+
922
+ ## Excalidraw API
923
+
924
+ ### Fixes
925
+
926
+ - Use `Array.from` when spreading over set so that typescript transpiles correctly in the umd build[#3165](https://github.com/excalidraw/excalidraw/pull/3165).
927
+
928
+ ## Excalidraw Library
929
+
930
+ ### Features
931
+
932
+ - Add export info on copy PNG to clipboard toast message [#3159](https://github.com/excalidraw/excalidraw/pull/3159).
933
+ - Use the latest version of Virgil [#3124](https://github.com/excalidraw/excalidraw/pull/3124).
934
+ - Support exporting with dark mode [#3046](https://github.com/excalidraw/excalidraw/pull/3046).
935
+
936
+ ### Fixes
937
+
938
+ - Cursor being leaked outside of canvas [#3161](https://github.com/excalidraw/excalidraw/pull/3161).
939
+ - Hide scrollbars in zenMode [#3144](https://github.com/excalidraw/excalidraw/pull/3144).
940
+
941
+ ## 0.4.0
942
+
943
+ ## Excalidraw API
944
+
945
+ ### Features
946
+
947
+ - Expose `window.EXCALIDRAW_ASSET_PATH` which host can use to load assets from a different URL. By default it will be loaded from `https://unpkg.com/@excalidraw/excalidraw{currentVersion}/dist/`[#3068](https://github.com/excalidraw/excalidraw/pull/3068).
948
+
949
+ Also now the assets will have a hash in filename so cache bursting can easily happen with version bump.
950
+
951
+ - Add support for `scrollToCenter` in [initialData](https://github.com/excalidraw/excalidraw/blob/master/src/element/types.ts#L18) so host can control whether to scroll to center on mount [#3070](https://github.com/excalidraw/excalidraw/pull/3070).
952
+
953
+ - Export [`restore`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L182), [`restoreAppState`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L144) and [`restoreElements`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L128) to host [#3049](https://github.com/excalidraw/excalidraw/pull/3049)
954
+
955
+ ### Fixes
956
+
957
+ - Show user state only when [userState](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L35) is passed on remote pointers during collaboration [#3050](https://github.com/excalidraw/excalidraw/pull/3050)
958
+
959
+ ## Excalidraw Library
960
+
961
+ ### Features
962
+
963
+ - Adjust line-confirm-threshold based on zoom [#2884](https://github.com/excalidraw/excalidraw/pull/2884)
964
+
965
+ ### Fixes
966
+
967
+ - Hide scrollbars on mobile [#3044](https://github.com/excalidraw/excalidraw/pull/3044)
968
+
969
+ ## 0.3.1
970
+
971
+ ## Excalidraw API
972
+
973
+ ### Fixes
974
+
975
+ - Support Excalidraw inside scrollable container [#3018](https://github.com/excalidraw/excalidraw/pull/3018)
976
+
977
+ ## Excalidraw Library
978
+
979
+ ### Fixes
980
+
981
+ - Allow to toggle between modes when view only mode to make UI consistent [#3009](https://github.com/excalidraw/excalidraw/pull/3009)
982
+
983
+ ## 0.3.0
984
+
985
+ ## Excalidraw API
986
+
987
+ ### Features
988
+
989
+ - Allow host to pass [color](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L36) for [collaborator](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L27) [#2943](https://github.com/excalidraw/excalidraw/pull/2943). The unused prop `user` is now removed.
990
+ - Add `zenModeEnabled` and `gridModeEnabled` prop which enables zen mode and grid mode respectively [#2901](https://github.com/excalidraw/excalidraw/pull/2901). When this prop is used, the zen mode / grid mode will be fully controlled by the host app.
991
+ - Allow host to pass [userState](https://github.com/excalidraw/excalidraw/blob/6967d8c9851c65bb8873e2f97387749976bbe326/src/types.ts#L35) for [collaborator](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L27) to show the current user state [#2877](https://github.com/excalidraw/excalidraw/pull/2877).
992
+ - Add `viewModeEnabled` prop which enabled the view mode [#2840](https://github.com/excalidraw/excalidraw/pull/2840). When this prop is used, the view mode will not show up in context menu is so it is fully controlled by host.
993
+ - Expose `getAppState` on `excalidrawRef` [#2834](https://github.com/excalidraw/excalidraw/pull/2834).
994
+
995
+ ### Build
996
+
997
+ - Remove publicPath so host can use `__webpack_public_path__` to host the assets[#2835](https://github.com/excalidraw/excalidraw/pull/2835)
998
+
999
+ ## Excalidraw Library
1000
+
1001
+ ### Features
1002
+
1003
+ - Add the ability to clear library [#2997](https://github.com/excalidraw/excalidraw/pull/2997)
1004
+ - Updates to Collaboration and RTL UX [#2994](https://github.com/excalidraw/excalidraw/pull/2994)
1005
+ - Show toast when saving to existing file [#2988](https://github.com/excalidraw/excalidraw/pull/2988)
1006
+ - Support supplying custom scale when exporting canvas [#2904](https://github.com/excalidraw/excalidraw/pull/2904)
1007
+ - Show version in the stats dialog [#2908](https://github.com/excalidraw/excalidraw/pull/2908)
1008
+ - Add idle detection to collaboration feature [#2877](https://github.com/excalidraw/excalidraw/pull/2877)
1009
+ - Add view mode in Excalidraw [#2840](https://github.com/excalidraw/excalidraw/pull/2840)
1010
+ - Increase max zoom [#2881](https://github.com/excalidraw/excalidraw/pull/2881)
1011
+ - Remove copy & paste from context menu on desktop [#2872](https://github.com/excalidraw/excalidraw/pull/2872)
1012
+ - Add separators on context menu [#2659](https://github.com/excalidraw/excalidraw/pull/2659)
1013
+ - Add ctrl-y to redo [#2831](https://github.com/excalidraw/excalidraw/pull/2831)
1014
+ - Add view mode [#2840](https://github.com/excalidraw/excalidraw/pull/2840).
1015
+ - Remove `copy`, `cut`, and `paste` actions from contextmenu [#2872](https://github.com/excalidraw/excalidraw/pull/2872)
1016
+ - Support `Ctrl-Y` shortcut to redo on Windows [#2831](https://github.com/excalidraw/excalidraw/pull/2831).
1017
+
1018
+ ### Fixes
1019
+
1020
+ - Refresh wysiwyg position on canvas resize [#3008](https://github.com/excalidraw/excalidraw/pull/3008)
1021
+ - Update the `lang` attribute with the current lang. [#2995](https://github.com/excalidraw/excalidraw/pull/2995)
1022
+ - Rename 'Grid mode' to 'Show grid' [#2944](https://github.com/excalidraw/excalidraw/pull/2944)
1023
+ - Deal with users on systems that don't handle emoji [#2941](https://github.com/excalidraw/excalidraw/pull/2941)
1024
+ - Mobile toolbar tooltip regression [#2939](https://github.com/excalidraw/excalidraw/pull/2939)
1025
+ - Hide collaborator list on mobile if empty [#2938](https://github.com/excalidraw/excalidraw/pull/2938)
1026
+ - Toolbar unnecessarily eats too much width [#2924](https://github.com/excalidraw/excalidraw/pull/2924)
1027
+ - Mistakenly hardcoding scale [#2925](https://github.com/excalidraw/excalidraw/pull/2925)
1028
+ - Text editor not visible in dark mode [#2920](https://github.com/excalidraw/excalidraw/pull/2920)
1029
+ - Incorrect z-index of text editor [#2914](https://github.com/excalidraw/excalidraw/pull/2914)
1030
+ - Make scrollbars draggable when offsets are set [#2916](https://github.com/excalidraw/excalidraw/pull/2916)
1031
+ - Pointer-events being disabled on free-draw [#2912](https://github.com/excalidraw/excalidraw/pull/2912)
1032
+ - Track zenmode and grid mode usage [#2900](https://github.com/excalidraw/excalidraw/pull/2900)
1033
+ - Disable UI pointer-events on canvas drag [#2856](https://github.com/excalidraw/excalidraw/pull/2856)
1034
+ - Stop flooring scroll positions [#2883](https://github.com/excalidraw/excalidraw/pull/2883)
1035
+ - Apply initialData appState for zenmode and grid stats and refactor check param for actions [#2871](https://github.com/excalidraw/excalidraw/pull/2871)
1036
+ - Show correct state of Nerd stats in context menu when nerd stats dialog closed [#2874](https://github.com/excalidraw/excalidraw/pull/2874)
1037
+ - Remote pointers not accounting for offset [#2855](https://github.com/excalidraw/excalidraw/pull/2855)
1038
+ - Toggle help dialog when "shift+?" is pressed [#2828](https://github.com/excalidraw/excalidraw/pull/2828)
1039
+ - Add safe check for process so Excalidraw can be loaded via script [#2824](https://github.com/excalidraw/excalidraw/pull/2824)
1040
+ - Fix UI pointer-events not disabled when dragging on canvas [#2856](https://github.com/excalidraw/excalidraw/pull/2856).
1041
+ - Fix remote pointers not accounting for offset [#2855](https://github.com/excalidraw/excalidraw/pull/2855).
1042
+
1043
+ ### Refactor
1044
+
1045
+ - Remove duplicate key handling [#2878](https://github.com/excalidraw/excalidraw/pull/2878)
1046
+ - Reuse scss variables in js for SSOT [#2867](https://github.com/excalidraw/excalidraw/pull/2867)
1047
+ - Rename browser-nativefs to browser-fs-access [#2862](https://github.com/excalidraw/excalidraw/pull/2862)
1048
+ - Rewrite collabWrapper to remove TDZs and simplify [#2834](https://github.com/excalidraw/excalidraw/pull/2834)
1049
+
1050
+ ### Chore
1051
+
1052
+ - Use `Sentence case` for `Live collaboration`
1053
+
1054
+ ## 0.2.1
1055
+
1056
+ ## Excalidraw API
1057
+
1058
+ ### Build
1059
+
1060
+ - Bundle css files with js [#2819](https://github.com/excalidraw/excalidraw/pull/2819). The host would not need to import css files separately.
1061
+
1062
+ ## 0.2.0
1063
+
1064
+ ## Excalidraw API
1065
+
1066
+ ### Features
1067
+
1068
+ - Exported few [Extra API's](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#extra-apis) which can be used by the host to communicate with Excalidraw.
1069
+
1070
+ - Remove language picker, and add `langCode`, `renderFooter` [#2644](https://github.com/excalidraw/excalidraw/pull/2644):
1071
+ - BREAKING: removed the language picker from UI. It is now the host app's responsibility to implement a language picker if desirable, using the newly added [`renderFooter`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderFooter) prop. The reasoning is that the i18n should be controlled by the app itself, not by the nested Excalidraw component.
1072
+ - Added [`langCode`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#langCode) prop to control the UI language.
1073
+ - Add support for `exportToBackend` prop to allow host apps to implement shareable links [#2612](https://github.com/excalidraw/excalidraw/pull/2612/files)
1074
+
1075
+ ### Fixes
1076
+
1077
+ - Hide collaboration button when the prop `onCollabButtonClick` is not provided [#2598](https://github.com/excalidraw/excalidraw/pull/2598)
1078
+
1079
+ ## Excalidraw Library
1080
+
1081
+ ### Features
1082
+
1083
+ - Add toast [#2772](https://github.com/excalidraw/excalidraw/pull/2772)
1084
+ - Add `cmd+o` shortcut to load scene [#2732](https://github.com/excalidraw/excalidraw/pull/2732)
1085
+ - Require use of a preset dialog size; adjust dialog sizing [#2684](https://github.com/excalidraw/excalidraw/pull/2684)
1086
+ - Add line chart and paste dialog selection [#2670](https://github.com/excalidraw/excalidraw/pull/2670)
1087
+ - Tweak editing behavior [#2668](https://github.com/excalidraw/excalidraw/pull/2668)
1088
+ - Change title to Excalidraw after a timeout
1089
+ - Checkmark to toggle context-menu-items [#2645](https://github.com/excalidraw/excalidraw/pull/2645)
1090
+ - Add zoom to selection [#2522](https://github.com/excalidraw/excalidraw/pull/2522)
1091
+ - Insert Library items in the middle of the screen [#2527](https://github.com/excalidraw/excalidraw/pull/2527)
1092
+ - Show shortcut context menu [#2501](https://github.com/excalidraw/excalidraw/pull/2501)
1093
+ - Aligns arrowhead schemas [#2517](https://github.com/excalidraw/excalidraw/pull/2517)
1094
+ - Add Cut to menus [#2511](https://github.com/excalidraw/excalidraw/pull/2511)
1095
+ - More Arrowheads: dot, bar [#2486](https://github.com/excalidraw/excalidraw/pull/2486)
1096
+ - Support CSV graphs and improve the look and feel [#2495](https://github.com/excalidraw/excalidraw/pull/2495)
1097
+
1098
+ ### Fixes
1099
+
1100
+ - Fix compile error [#2685](https://github.com/excalidraw/excalidraw/pull/2685)
1101
+ - Center zoom on iPhone and iPad [#2642](https://github.com/excalidraw/excalidraw/pull/2642)
1102
+ - Allow text-selecting in dialogs & reset cursor [#2783](https://github.com/excalidraw/excalidraw/pull/2783)
1103
+ - Don't render due to zoom after unmount [#2779](https://github.com/excalidraw/excalidraw/pull/2779)
1104
+ - Track the chart type correctly [#2773](https://github.com/excalidraw/excalidraw/pull/2773)
1105
+ - Fix late-render due to debounced zoom [#2779](https://github.com/excalidraw/excalidraw/pull/2779)
1106
+ - Fix initialization when browser tab not focused [#2677](https://github.com/excalidraw/excalidraw/pull/2677)
1107
+ - Consistent case for export locale strings [#2622](https://github.com/excalidraw/excalidraw/pull/2622)
1108
+ - Remove unnecessary console.error as it was polluting Sentry [#2637](https://github.com/excalidraw/excalidraw/pull/2637)
1109
+ - Fix scroll-to-center on init for non-zero canvas offsets [#2445](https://github.com/excalidraw/excalidraw/pull/2445)
1110
+ - Fix resizing the pasted charts [#2586](https://github.com/excalidraw/excalidraw/pull/2586)
1111
+ - Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534)
1112
+ - Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)
1113
+ - Support number with commas in charts [#2636](https://github.com/excalidraw/excalidraw/pull/2636)
1114
+ - Don't break zoom when zooming in on UI [#2638](https://github.com/excalidraw/excalidraw/pull/2638)
1115
+
1116
+ ### Improvements
1117
+
1118
+ - Added Zen Mode to the context menu [#2734](https://github.com/excalidraw/excalidraw/pull/2734)
1119
+ - Do not reset to selection for draw tool [#2721]((https://github.com/excalidraw/excalidraw/pull/2721)
1120
+ - Make dialogs look more like dialogs [#2686](https://github.com/excalidraw/excalidraw/pull/2686)
1121
+ - Browse libraries styles fixed [#2694](https://github.com/excalidraw/excalidraw/pull/2694)
1122
+ - Change hint for 2-point lines on resize [#2655](https://github.com/excalidraw/excalidraw/pull/2655)
1123
+ - Align items in context menu [#2640](https://github.com/excalidraw/excalidraw/pull/2640)
1124
+ - Do not reset to selection when using the draw tool [#2721](https://github.com/excalidraw/excalidraw/pull/2721)
1125
+ - Display proper tooltip for 2-point lines during resize, and normalize modifier key labels in hints [#2655](https://github.com/excalidraw/excalidraw/pull/2655)
1126
+ - Improve error message around importing images [#2619](https://github.com/excalidraw/excalidraw/pull/2619)
1127
+ - Add tooltip with icon for embedding scenes [#2532](https://github.com/excalidraw/excalidraw/pull/2532)
1128
+ - RTL support for the stats dialog [#2530](https://github.com/excalidraw/excalidraw/pull/2530)
1129
+ - Expand canvas padding based on zoom. [#2515](https://github.com/excalidraw/excalidraw/pull/2515)
1130
+ - Hide shortcuts on pickers for mobile [#2508](https://github.com/excalidraw/excalidraw/pull/2508)
1131
+ - Hide stats and scrollToContent-button when mobile menus open [#2509](https://github.com/excalidraw/excalidraw/pull/2509)
1132
+
1133
+ ### Refactor
1134
+
1135
+ - refactor: Converting span to kbd tag [#2774](https://github.com/excalidraw/excalidraw/pull/2774)
1136
+ - Media queries [#2680](https://github.com/excalidraw/excalidraw/pull/2680)
1137
+ - Remove duplicate entry from en.json[#2654](https://github.com/excalidraw/excalidraw/pull/2654)
1138
+ - Remove the word toggle from labels [#2648](https://github.com/excalidraw/excalidraw/pull/2648)
1139
+ -
1140
+
1141
+ ### Docs
1142
+
1143
+ - Document some of the more exotic element props [#2673](https://github.com/excalidraw/excalidraw/pull/2673)
1144
+
1145
+ ## 0.1.1
1146
+
1147
+ #### Fix
1148
+
1149
+ - Update the homepage URL so it redirects to correct readme [#2498](https://github.com/excalidraw/excalidraw/pull/2498)
1150
+
1151
+ ## 0.1.0
1152
+
1153
+ First release of `@excalidraw/excalidraw`