@zsviczian/excalidraw 0.10.0-obsidian-7 → 0.10.0-obsidian-11

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 (238) hide show
  1. package/dist/be42d56e500bdd14ae50.woff2 +1 -0
  2. package/dist/edf7912ad1921efb0e5c.woff2 +1 -0
  3. package/dist/excalidraw-assets-dev/i18n-ar-SA-json-f9621160946455b76462.js +22 -0
  4. package/dist/excalidraw-assets-dev/i18n-bg-BG-json-b32c761b9a362431e50e.js +22 -0
  5. package/dist/excalidraw-assets-dev/i18n-bn-BD-json-2a24f83ef592e6073764.js +22 -0
  6. package/dist/excalidraw-assets-dev/i18n-ca-ES-json-725c81388f2ea66dc8e1.js +22 -0
  7. package/dist/excalidraw-assets-dev/i18n-cs-CZ-json-b71ad330d7cab164891f.js +22 -0
  8. package/dist/excalidraw-assets-dev/i18n-da-DK-json-a4983751740d8265c9b3.js +22 -0
  9. package/dist/excalidraw-assets-dev/i18n-de-DE-json-4b87b0c49ae73d94c893.js +22 -0
  10. package/dist/excalidraw-assets-dev/i18n-el-GR-json-f4051582ee89b7b94567.js +22 -0
  11. package/dist/excalidraw-assets-dev/i18n-es-ES-json-5df26820f7b483a03085.js +22 -0
  12. package/dist/excalidraw-assets-dev/i18n-fa-IR-json-059e1c6403267405a2af.js +22 -0
  13. package/dist/excalidraw-assets-dev/i18n-fi-FI-json-dd991aae96ac520884d9.js +22 -0
  14. package/dist/excalidraw-assets-dev/i18n-fr-FR-json-c5c06a48e8e1a46bfc75.js +22 -0
  15. package/dist/excalidraw-assets-dev/i18n-he-IL-json-58b5a13fbbe5ef7130c8.js +22 -0
  16. package/dist/excalidraw-assets-dev/i18n-hi-IN-json-00db8d7945755fc1a042.js +22 -0
  17. package/dist/excalidraw-assets-dev/i18n-hu-HU-json-4b843703a66a790ccd51.js +22 -0
  18. package/dist/excalidraw-assets-dev/i18n-id-ID-json-593f4a01d1677bdd9914.js +22 -0
  19. package/dist/excalidraw-assets-dev/i18n-it-IT-json-bb2589d5093a440acc27.js +22 -0
  20. package/dist/excalidraw-assets-dev/i18n-ja-JP-json-0ca368b7a58f8cc96f77.js +22 -0
  21. package/dist/excalidraw-assets-dev/i18n-kab-KAB-json-b3364d3ab875a197b9fc.js +22 -0
  22. package/dist/excalidraw-assets-dev/i18n-kk-KZ-json-92fc286889aafeb15028.js +22 -0
  23. package/dist/excalidraw-assets-dev/i18n-ko-KR-json-58d8a78f6e0558f31e9d.js +22 -0
  24. package/dist/excalidraw-assets-dev/i18n-lv-LV-json-d8c07b87bdf17faeffb1.js +22 -0
  25. package/dist/excalidraw-assets-dev/i18n-my-MM-json-ffceb515ddc074c7d428.js +22 -0
  26. package/dist/excalidraw-assets-dev/i18n-nb-NO-json-cd2bc4e323e1737e1675.js +22 -0
  27. package/dist/excalidraw-assets-dev/i18n-nl-NL-json-abecfc48f3cc72659e7c.js +22 -0
  28. package/dist/excalidraw-assets-dev/i18n-nn-NO-json-69e9b034d6b20edb7022.js +22 -0
  29. package/dist/excalidraw-assets-dev/i18n-oc-FR-json-b99d37b7bfc69d6e7bfc.js +22 -0
  30. package/dist/excalidraw-assets-dev/i18n-pa-IN-json-4d08642ff4fd8368690b.js +22 -0
  31. package/dist/excalidraw-assets-dev/i18n-pl-PL-json-7569e10b0c7a31d97b5b.js +22 -0
  32. package/dist/excalidraw-assets-dev/i18n-pt-BR-json-575146bbd712bac2d9c0.js +22 -0
  33. package/dist/excalidraw-assets-dev/i18n-pt-PT-json-e300e374e83ba1221bca.js +22 -0
  34. package/dist/excalidraw-assets-dev/i18n-ro-RO-json-150126009c54589c7066.js +22 -0
  35. package/dist/excalidraw-assets-dev/i18n-ru-RU-json-67b2f448a092cb83be9a.js +22 -0
  36. package/dist/excalidraw-assets-dev/i18n-si-LK-json-51bf4181409d07f46335.js +22 -0
  37. package/dist/excalidraw-assets-dev/i18n-sk-SK-json-869b94d41c4b845f30aa.js +22 -0
  38. package/dist/excalidraw-assets-dev/i18n-sv-SE-json-65efb104752478d24a35.js +22 -0
  39. package/dist/excalidraw-assets-dev/i18n-ta-IN-json-cbb8fa76d764d56c278d.js +22 -0
  40. package/dist/excalidraw-assets-dev/i18n-tr-TR-json-7938ac27407bec8f0309.js +22 -0
  41. package/dist/excalidraw-assets-dev/i18n-uk-UA-json-63042833340affcdc97c.js +22 -0
  42. package/dist/excalidraw-assets-dev/i18n-zh-CN-json-d0ac48294062972815bd.js +22 -0
  43. package/dist/excalidraw-assets-dev/i18n-zh-HK-json-20c86a43a3497131abc2.js +22 -0
  44. package/dist/excalidraw-assets-dev/i18n-zh-TW-json-11e2cb1fa396ab4d1b06.js +22 -0
  45. package/dist/excalidraw-assets-dev/image-821afe7d20de2d2ca898.js +42 -0
  46. package/dist/excalidraw-assets-dev/{vendor-77fb22e33fe469eed254.js → vendor-a449655791956f151f51.js} +3 -3
  47. package/dist/excalidraw.development.js +377 -181
  48. package/dist/excalidraw.production.min.js +1 -1
  49. package/dist/excalidraw.production.min.js.LICENSE.txt +9 -0
  50. package/package.json +21 -21
  51. package/types/actions/manager.d.ts +1 -0
  52. package/types/actions/types.d.ts +1 -0
  53. package/types/appState.d.ts +1 -1
  54. package/types/clipboard.d.ts +2 -0
  55. package/types/components/Actions.d.ts +1 -0
  56. package/types/components/App.d.ts +1 -0
  57. package/types/components/Avatar.d.ts +1 -0
  58. package/types/components/ButtonIconSelect.d.ts +1 -0
  59. package/types/components/CheckboxItem.d.ts +1 -0
  60. package/types/components/ClearCanvas.d.ts +0 -1
  61. package/types/components/ConfirmDialog.d.ts +11 -0
  62. package/types/components/ContextMenu.d.ts +2 -0
  63. package/types/components/Dialog.d.ts +4 -2
  64. package/types/components/HintViewer.d.ts +3 -2
  65. package/types/components/Island.d.ts +1 -0
  66. package/types/components/JSONExportDialog.d.ts +1 -0
  67. package/types/components/LayerUI.d.ts +1 -0
  68. package/types/components/LibraryMenu.d.ts +18 -0
  69. package/types/components/LibraryMenuItems.d.ts +22 -0
  70. package/types/components/LibraryUnit.d.ts +6 -4
  71. package/types/components/MobileMenu.d.ts +1 -0
  72. package/types/components/Modal.d.ts +1 -0
  73. package/types/components/PasteChartDialog.d.ts +1 -1
  74. package/types/components/Popover.d.ts +1 -0
  75. package/types/components/PublishLibrary.d.ts +17 -0
  76. package/types/components/Section.d.ts +1 -0
  77. package/types/components/SingleLibraryItem.d.ts +11 -0
  78. package/types/components/ToolButton.d.ts +5 -0
  79. package/types/components/icons.d.ts +2 -0
  80. package/types/constants.d.ts +1 -0
  81. package/types/data/blob.d.ts +2 -0
  82. package/types/data/encryption.d.ts +4 -3
  83. package/types/data/filesystem.d.ts +3 -2
  84. package/types/data/json.d.ts +2 -2
  85. package/types/data/library.d.ts +1 -1
  86. package/types/data/restore.d.ts +2 -1
  87. package/types/data/types.d.ts +6 -4
  88. package/types/element/binding.d.ts +2 -0
  89. package/types/element/bounds.d.ts +8 -1
  90. package/types/element/image.d.ts +2 -0
  91. package/types/element/linearElementEditor.d.ts +1 -0
  92. package/types/element/textWysiwyg.d.ts +2 -0
  93. package/types/errors.d.ts +1 -0
  94. package/types/i18n.d.ts +1 -1
  95. package/types/keys.d.ts +2 -0
  96. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ar-SA-json-8a769802ff20ac02ac34.d.ts +2 -0
  97. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ar-SA-json-f9621160946455b76462.d.ts +2 -0
  98. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-bg-BG-json-938f803265b39b6089c6.d.ts +2 -0
  99. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-bg-BG-json-b32c761b9a362431e50e.d.ts +2 -0
  100. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-bn-BD-json-2a24f83ef592e6073764.d.ts +2 -0
  101. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-bn-BD-json-7495372d14c854de77e1.d.ts +2 -0
  102. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ca-ES-json-725c81388f2ea66dc8e1.d.ts +2 -0
  103. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ca-ES-json-7b84f8e45ce8aebef5ff.d.ts +2 -0
  104. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-cs-CZ-json-4299d1be084b3d972377.d.ts +2 -0
  105. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-cs-CZ-json-b71ad330d7cab164891f.d.ts +2 -0
  106. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-da-DK-json-1c0ef357bf0902a4413a.d.ts +2 -0
  107. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-da-DK-json-a4983751740d8265c9b3.d.ts +2 -0
  108. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-de-DE-json-1d5093a439f5a0528313.d.ts +2 -0
  109. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-de-DE-json-4b87b0c49ae73d94c893.d.ts +2 -0
  110. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-el-GR-json-3c2a6185c97a013f6855.d.ts +2 -0
  111. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-el-GR-json-f4051582ee89b7b94567.d.ts +2 -0
  112. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-es-ES-json-5df26820f7b483a03085.d.ts +2 -0
  113. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-es-ES-json-e23380f642e2298755c4.d.ts +2 -0
  114. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-fa-IR-json-059e1c6403267405a2af.d.ts +2 -0
  115. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-fa-IR-json-0908b9af416943d816fd.d.ts +2 -0
  116. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-fi-FI-json-bc7ec68e7c9fcfe90885.d.ts +2 -0
  117. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-fi-FI-json-dd991aae96ac520884d9.d.ts +2 -0
  118. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-fr-FR-json-4719cd0d6209bbdded74.d.ts +2 -0
  119. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-fr-FR-json-c5c06a48e8e1a46bfc75.d.ts +2 -0
  120. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-he-IL-json-58b5a13fbbe5ef7130c8.d.ts +2 -0
  121. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-he-IL-json-d91f3ccc3deb217f83ba.d.ts +2 -0
  122. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-hi-IN-json-00db8d7945755fc1a042.d.ts +2 -0
  123. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-hi-IN-json-249fa2a05d7c0009fdcd.d.ts +2 -0
  124. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-hu-HU-json-4b843703a66a790ccd51.d.ts +2 -0
  125. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-hu-HU-json-ed76c15c3ea70a527bc0.d.ts +2 -0
  126. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-id-ID-json-593f4a01d1677bdd9914.d.ts +2 -0
  127. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-id-ID-json-c50ad2f873784009983b.d.ts +2 -0
  128. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-it-IT-json-9809c5e4c8678465e06f.d.ts +2 -0
  129. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-it-IT-json-bb2589d5093a440acc27.d.ts +2 -0
  130. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ja-JP-json-0ca368b7a58f8cc96f77.d.ts +2 -0
  131. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ja-JP-json-72b15eb4957f3d7a0e55.d.ts +2 -0
  132. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-kab-KAB-json-b3364d3ab875a197b9fc.d.ts +2 -0
  133. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-kab-KAB-json-bcd51a97f3c342acfeb9.d.ts +2 -0
  134. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-kk-KZ-json-92fc286889aafeb15028.d.ts +2 -0
  135. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-kk-KZ-json-9d5c427ff01cc573b3f3.d.ts +2 -0
  136. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ko-KR-json-49c992ddd32a8cdae35d.d.ts +2 -0
  137. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ko-KR-json-58d8a78f6e0558f31e9d.d.ts +2 -0
  138. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-lv-LV-json-105e747498b33089e967.d.ts +2 -0
  139. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-lv-LV-json-d8c07b87bdf17faeffb1.d.ts +2 -0
  140. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-my-MM-json-42a1ca3883fa8f461d44.d.ts +2 -0
  141. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-my-MM-json-ffceb515ddc074c7d428.d.ts +2 -0
  142. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-nb-NO-json-9618bc0cdab1a44fe05d.d.ts +2 -0
  143. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-nb-NO-json-cd2bc4e323e1737e1675.d.ts +2 -0
  144. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-nl-NL-json-54fbad4a33704ebe8f26.d.ts +2 -0
  145. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-nl-NL-json-abecfc48f3cc72659e7c.d.ts +2 -0
  146. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-nn-NO-json-69e9b034d6b20edb7022.d.ts +2 -0
  147. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-nn-NO-json-e892a4416948497edbcf.d.ts +2 -0
  148. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-oc-FR-json-3cde2a88725b65d9acd3.d.ts +2 -0
  149. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-oc-FR-json-b99d37b7bfc69d6e7bfc.d.ts +2 -0
  150. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pa-IN-json-4d08642ff4fd8368690b.d.ts +2 -0
  151. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pa-IN-json-f31dd2ce682b0a08fd95.d.ts +2 -0
  152. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pl-PL-json-559f47b3e925566719fc.d.ts +2 -0
  153. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pl-PL-json-7569e10b0c7a31d97b5b.d.ts +2 -0
  154. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pt-BR-json-575146bbd712bac2d9c0.d.ts +2 -0
  155. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pt-BR-json-cbdb8b0f82e0c9cd50b2.d.ts +2 -0
  156. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pt-PT-json-74b40211c3c9d6bb53eb.d.ts +2 -0
  157. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-pt-PT-json-e300e374e83ba1221bca.d.ts +2 -0
  158. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ro-RO-json-150126009c54589c7066.d.ts +2 -0
  159. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ro-RO-json-5263a322360d0b9fdacb.d.ts +2 -0
  160. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ru-RU-json-67b2f448a092cb83be9a.d.ts +2 -0
  161. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ru-RU-json-7edf72c86b3606353720.d.ts +2 -0
  162. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-si-LK-json-51bf4181409d07f46335.d.ts +2 -0
  163. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-si-LK-json-7c25b66be37bfb264c4b.d.ts +2 -0
  164. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-sk-SK-json-869b94d41c4b845f30aa.d.ts +2 -0
  165. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-sk-SK-json-e42000d15133173f3ef6.d.ts +2 -0
  166. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-sv-SE-json-65efb104752478d24a35.d.ts +2 -0
  167. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-sv-SE-json-b38f7576e161d9af8d3d.d.ts +2 -0
  168. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ta-IN-json-5c18cdc70168f7c80731.d.ts +2 -0
  169. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-ta-IN-json-cbb8fa76d764d56c278d.d.ts +2 -0
  170. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-tr-TR-json-7938ac27407bec8f0309.d.ts +2 -0
  171. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-tr-TR-json-9e7cfa6c85af6d8059ce.d.ts +2 -0
  172. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-uk-UA-json-13ec263757fe0d5fa396.d.ts +2 -0
  173. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-uk-UA-json-63042833340affcdc97c.d.ts +2 -0
  174. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-CN-json-d0ac48294062972815bd.d.ts +2 -0
  175. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-CN-json-e775939d6e49eca5451a.d.ts +2 -0
  176. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-HK-json-20c86a43a3497131abc2.d.ts +2 -0
  177. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-HK-json-d450e3311eb9a2945bb0.d.ts +2 -0
  178. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-TW-json-11e2cb1fa396ab4d1b06.d.ts +2 -0
  179. package/types/packages/excalidraw/dist/excalidraw-assets-dev/i18n-zh-TW-json-648f871118caa12e2cf8.d.ts +2 -0
  180. package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-555eea7174da4b7a8397.d.ts +0 -0
  181. package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-821afe7d20de2d2ca898.d.ts +0 -0
  182. package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-7fcb99cece261da4983f.d.ts +0 -0
  183. package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-a449655791956f151f51.d.ts +0 -0
  184. package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-baec8918d5115a3055d3.d.ts +0 -0
  185. package/types/packages/excalidraw/webpack.prod.config.d.ts +1 -1
  186. package/types/packages/utils.d.ts +4 -2
  187. package/types/renderer/renderElement.d.ts +3 -1
  188. package/types/renderer/renderScene.d.ts +4 -1
  189. package/types/renderer/roundRect.d.ts +1 -0
  190. package/types/scene/export.d.ts +2 -0
  191. package/types/scene/scroll.d.ts +2 -0
  192. package/types/scene/zoom.d.ts +1 -0
  193. package/types/types.d.ts +16 -1
  194. package/types/utils.d.ts +4 -0
  195. package/CHANGELOG.md +0 -769
  196. package/dist/excalidraw-assets-dev/i18n-ar-SA-json-0ece5455126f826b09c4.js +0 -22
  197. package/dist/excalidraw-assets-dev/i18n-bg-BG-json-87cf896ce3a4b3816284.js +0 -22
  198. package/dist/excalidraw-assets-dev/i18n-bn-BD-json-e89e6148d8cc018c6ff7.js +0 -22
  199. package/dist/excalidraw-assets-dev/i18n-ca-ES-json-4d6ab6fee0395001aa62.js +0 -22
  200. package/dist/excalidraw-assets-dev/i18n-cs-CZ-json-d99d0bd186554d18b24c.js +0 -22
  201. package/dist/excalidraw-assets-dev/i18n-da-DK-json-66b98b0116996eb962f8.js +0 -22
  202. package/dist/excalidraw-assets-dev/i18n-de-DE-json-d5fc5b7d51df601e6a6b.js +0 -22
  203. package/dist/excalidraw-assets-dev/i18n-el-GR-json-eb87b6e5f3101d2656e8.js +0 -22
  204. package/dist/excalidraw-assets-dev/i18n-es-ES-json-dc041ea47b407a984274.js +0 -22
  205. package/dist/excalidraw-assets-dev/i18n-fa-IR-json-ce6616849573496918dc.js +0 -22
  206. package/dist/excalidraw-assets-dev/i18n-fi-FI-json-79e9c5ea4586d5a6d112.js +0 -22
  207. package/dist/excalidraw-assets-dev/i18n-fr-FR-json-3c2358c76fb7fd393071.js +0 -22
  208. package/dist/excalidraw-assets-dev/i18n-he-IL-json-de8a7a0b1661a0ded0d1.js +0 -22
  209. package/dist/excalidraw-assets-dev/i18n-hi-IN-json-11b939ee3aba50eba84f.js +0 -22
  210. package/dist/excalidraw-assets-dev/i18n-hu-HU-json-53cd860422fce9cb96f2.js +0 -22
  211. package/dist/excalidraw-assets-dev/i18n-id-ID-json-0de9014beedf8b4d382a.js +0 -22
  212. package/dist/excalidraw-assets-dev/i18n-it-IT-json-7277f948e058d476b90d.js +0 -22
  213. package/dist/excalidraw-assets-dev/i18n-ja-JP-json-bb36894a3906b80482f5.js +0 -22
  214. package/dist/excalidraw-assets-dev/i18n-kab-KAB-json-67f7a918acf9f2eb9088.js +0 -22
  215. package/dist/excalidraw-assets-dev/i18n-kk-KZ-json-73a9537c0eea3c5c83a7.js +0 -22
  216. package/dist/excalidraw-assets-dev/i18n-ko-KR-json-f1b12951d01e0de1dc09.js +0 -22
  217. package/dist/excalidraw-assets-dev/i18n-lv-LV-json-1f888a764decae85d50f.js +0 -22
  218. package/dist/excalidraw-assets-dev/i18n-my-MM-json-3420016d40d6497407cd.js +0 -22
  219. package/dist/excalidraw-assets-dev/i18n-nb-NO-json-09e51f98594b657bddd0.js +0 -22
  220. package/dist/excalidraw-assets-dev/i18n-nl-NL-json-2828c96e4882e574dd78.js +0 -22
  221. package/dist/excalidraw-assets-dev/i18n-nn-NO-json-9ef049788a490cd732bd.js +0 -22
  222. package/dist/excalidraw-assets-dev/i18n-oc-FR-json-e9d55a2cc56cb4d74b69.js +0 -22
  223. package/dist/excalidraw-assets-dev/i18n-pa-IN-json-64b88e7e8d3a840d6a01.js +0 -22
  224. package/dist/excalidraw-assets-dev/i18n-pl-PL-json-c849e5dd02692a8dce05.js +0 -22
  225. package/dist/excalidraw-assets-dev/i18n-pt-BR-json-039bb3f6f3485a54cfae.js +0 -22
  226. package/dist/excalidraw-assets-dev/i18n-pt-PT-json-6851de45808d3fe1ba37.js +0 -22
  227. package/dist/excalidraw-assets-dev/i18n-ro-RO-json-da7c37f6731033608d45.js +0 -22
  228. package/dist/excalidraw-assets-dev/i18n-ru-RU-json-7bfcb61425c673e62317.js +0 -22
  229. package/dist/excalidraw-assets-dev/i18n-si-LK-json-c638115d7d5e71e5f65f.js +0 -22
  230. package/dist/excalidraw-assets-dev/i18n-sk-SK-json-409a6e3c08bc0b0fefd6.js +0 -22
  231. package/dist/excalidraw-assets-dev/i18n-sv-SE-json-5caacc932047c14a9ac1.js +0 -22
  232. package/dist/excalidraw-assets-dev/i18n-ta-IN-json-f0fb5b62cf7e93f59d49.js +0 -22
  233. package/dist/excalidraw-assets-dev/i18n-tr-TR-json-8c8ff2c3bc2063f70e53.js +0 -22
  234. package/dist/excalidraw-assets-dev/i18n-uk-UA-json-3497d8b7367b2fa7e6b8.js +0 -22
  235. package/dist/excalidraw-assets-dev/i18n-zh-CN-json-dd3b9e1163ba6c0e8133.js +0 -22
  236. package/dist/excalidraw-assets-dev/i18n-zh-HK-json-0eeb4d6696d9f6c3c369.js +0 -22
  237. package/dist/excalidraw-assets-dev/i18n-zh-TW-json-289c9f0e6d32de4dd896.js +0 -22
  238. package/dist/excalidraw-assets-dev/image-9f771c114a0a3ad7b334.js +0 -42
package/CHANGELOG.md DELETED
@@ -1,769 +0,0 @@
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
- - Image support.
17
-
18
- NOTE: the unreleased API is highly unstable and may change significantly before the next stable release. As such it's largely undocumented at this point. You are encouraged to read through the [PR](https://github.com/excalidraw/excalidraw/pull/4011) description if you want to know more about the internals.
19
-
20
- General notes:
21
-
22
- - File data are encoded as DataURLs (base64) for portability reasons.
23
-
24
- [ExcalidrawAPI](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onLibraryChange):
25
-
26
- - 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.
27
-
28
- Excalidraw app props:
29
-
30
- - added `generateIdForFile(file: File)` optional prop so you can generate your own ids for added files.
31
- - `onChange(elements, appState, files)` prop callback is now passed `BinaryFiles` as third argument.
32
- - `onPaste(data, event)` data prop should contain `data.files` (`BinaryFiles`) if the elements pasted are referencing new files.
33
- - `initialData` object now supports additional `files` (`BinaryFiles`) attribute.
34
-
35
- Other notes:
36
-
37
- - `.excalidraw` files may now contain top-level `files` key in format of `Record<FileId, BinaryFileData>` when exporting any (image) elements.
38
- - Changes were made to various export utilityies exported from the package so that they take `files`. For now, TypeScript should help you figure the changes out.
39
-
40
- ## Excalidraw API
41
-
42
- ### Features
43
-
44
- - 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).
45
-
46
- - Support [`renderTopRightUI`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderTopRightUI) in mobile UI.
47
-
48
- - Export `THEME` constant from the package so host can use this when passing the theme.
49
-
50
- #### BREAKING CHANGE
51
-
52
- The `Appearance` type is now removed and renamed to `Theme` so `Theme` type needs to be used.
53
-
54
- ---
55
-
56
- ## 0.10.0 (2021-10-13)
57
-
58
- ## Excalidraw API
59
-
60
- - Added `onDrop: (event: React.DragEvent<HTMLDivElement>) => Promise<boolean> | boolean` callback. This callback is triggered if passed when something is dropped into the scene. You can use this callback in case you want to do something additional when the drop event occurs. This callback must return a boolean value or a Promise<boolean> value. In case you want to prevent the excalidraw drop action you must return `false`, it will stop the native excalidraw onDrop flow (nothing will be added into the scene).
61
-
62
- ### Fixes
63
-
64
- - 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).
65
-
66
- - [`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).
67
-
68
- #### BREAKING CHANGE
69
-
70
- - 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.
71
-
72
- ### Build
73
-
74
- - Enable jsx transform in webpack [#4049](https://github.com/excalidraw/excalidraw/pull/4049)
75
-
76
- ### Docs
77
-
78
- - Correct exportToBackend in README to onExportToBackend [#3952](https://github.com/excalidraw/excalidraw/pull/3952)
79
-
80
- ## Excalidraw Library
81
-
82
- **_This section lists the updates made to the excalidraw library and will not affect the integration._**
83
-
84
- ### Features
85
-
86
- - Improve freedraw shape [#3984](https://github.com/excalidraw/excalidraw/pull/3984)
87
-
88
- - Make color ARIA labels better [#3871](https://github.com/excalidraw/excalidraw/pull/3871)
89
-
90
- - Add origin trial tokens [#3853](https://github.com/excalidraw/excalidraw/pull/3853)
91
-
92
- - Re-order zoom buttons [#3837](https://github.com/excalidraw/excalidraw/pull/3837)
93
-
94
- - Add undo/redo buttons & tweak footer [#3832](https://github.com/excalidraw/excalidraw/pull/3832)
95
-
96
- - Resave to png/svg with metadata if you loaded your scene from a png/svg file [#3645](https://github.com/excalidraw/excalidraw/pull/3645)
97
-
98
- ### Fixes
99
-
100
- - Abstract and fix legacy fs [#4032](https://github.com/excalidraw/excalidraw/pull/4032)
101
-
102
- - Context menu positioning [#4025](https://github.com/excalidraw/excalidraw/pull/4025)
103
-
104
- - Added alert for bad encryption key [#3998](https://github.com/excalidraw/excalidraw/pull/3998)
105
-
106
- - OnPaste should return false to prevent paste action [#3974](https://github.com/excalidraw/excalidraw/pull/3974)
107
-
108
- - Help-icon now visible on Safari [#3939](https://github.com/excalidraw/excalidraw/pull/3939)
109
-
110
- - Permanent zoom mode [#3931](https://github.com/excalidraw/excalidraw/pull/3931)
111
-
112
- - Undo/redo buttons gap in Safari [#3836](https://github.com/excalidraw/excalidraw/pull/3836)
113
-
114
- - Prevent gradual canvas misalignment [#3833](https://github.com/excalidraw/excalidraw/pull/3833)
115
-
116
- - Color picker shortcuts not working when elements selected [#3817](https://github.com/excalidraw/excalidraw/pull/3817)
117
-
118
- ---
119
-
120
- ## 0.9.0 (2021-07-10)
121
-
122
- ## Excalidraw API
123
-
124
- - Added `onBeforeTextEdit` and `onBeforeTextSubmit` callback functions.
125
- - The `onBeforeTextEdit: (textElement: ExcalidrawTextElement) => string` callback is triggered when a text element is about to be edited. The string returned will replace the element's text. If null is returned, the TextElement will not be changed. Use this to pre-process text before editing.
126
- - The `onBeforeTextSubmit: (textElement: ExcalidrawTextElement, textToSubmit:string, isDeleted:boolean) => string` callback is triggered when the editing of a TextElement is finished, but right before the result is submitted. The string returned will replace the text element's text. Use this to post-process text after editing has finished.
127
-
128
- ### Features
129
-
130
- - [`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).
131
-
132
- #### BREAKING CHANGE
133
-
134
- - `localElements` argument is mandatory (can be `null`/`undefined`) if using TypeScript.
135
-
136
- - 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).
137
-
138
- #### BREAKING CHANGE
139
-
140
- - The attribute `metadata` is now removed as `metadata` was only used to embed scene data which is now supported with the `appState.exportEmbedScene` attribute.
141
- - [`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.
142
-
143
- - 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).
144
-
145
- - 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).
146
-
147
- - 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).
148
-
149
- Note: Earlier Excalidraw component was focussed by default on page load, you need to enable `autoFocus` prop to retain the same behaviour.
150
-
151
- - Added prop `UIOptions.canvasActions.export.renderCustomUI` to support Custom UI rendering inside export dialog [#3666](https://github.com/excalidraw/excalidraw/pull/3666).
152
- - Added prop `UIOptions.canvasActions.saveAsImage` to show/hide the **Save as image** button in the canvas actions. Defauls to `true` hence the **Save as Image** button is rendered [#3662](https://github.com/excalidraw/excalidraw/pull/3662).
153
-
154
- - 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).
155
-
156
- Also, [`UIOptions`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#UIOptions) is now memoized to avoid unnecessary rerenders.
157
-
158
- #### BREAKING CHANGE
159
-
160
- - `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.
161
- - `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.
162
-
163
- ### Fixes
164
-
165
- - Use excalidraw Id in elements so every element has unique id [#3696](https://github.com/excalidraw/excalidraw/pull/3696).
166
-
167
- ### Refactor
168
-
169
- - #### BREAKING CHANGE
170
- - Rename `UIOptions.canvasActions.saveScene` to `UIOptions.canvasActions.saveToActiveFile`[#3657](https://github.com/excalidraw/excalidraw/pull/3657).
171
- - 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).
172
- - 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.
173
-
174
- ## Excalidraw Library
175
-
176
- **_This section lists the updates made to the excalidraw library and will not affect the integration._**
177
-
178
- ### Features
179
-
180
- - Switch to selection tool on library item insert [#3773](https://github.com/excalidraw/excalidraw/pull/3773)
181
-
182
- - Show active file name when saving to current file [#3733](https://github.com/excalidraw/excalidraw/pull/3733)
183
-
184
- - Add hint around text editing [#3708](https://github.com/excalidraw/excalidraw/pull/3708)
185
-
186
- - Change library icon to be more clear [#3583](https://github.com/excalidraw/excalidraw/pull/3583)
187
-
188
- - Pass current `theme` when installing libraries [#3701](https://github.com/excalidraw/excalidraw/pull/3701)
189
-
190
- - Update virgil font [#3692](https://github.com/excalidraw/excalidraw/pull/3692)
191
-
192
- - Support exporting json to excalidraw plus [#3678](https://github.com/excalidraw/excalidraw/pull/3678)
193
-
194
- - Save exportScale in AppState [#3580](https://github.com/excalidraw/excalidraw/pull/3580)
195
-
196
- - Add shortcuts for stroke and background color picker [#3318](https://github.com/excalidraw/excalidraw/pull/3318)
197
-
198
- - Exporting redesign [#3613](https://github.com/excalidraw/excalidraw/pull/3613)
199
-
200
- - Auto-position tooltip and suport overflowing container [#3631](https://github.com/excalidraw/excalidraw/pull/3631)
201
-
202
- - Auto release @excalidraw/excalidraw-next on every change [#3614](https://github.com/excalidraw/excalidraw/pull/3614)
203
-
204
- - Allow inner-drag-selecting with cmd/ctrl [#3603](https://github.com/excalidraw/excalidraw/pull/3603)
205
-
206
- ### Fixes
207
-
208
- - view mode cursor adjustments [#3809](https://github.com/excalidraw/excalidraw/pull/3809).
209
-
210
- - Pass next release to updatePackageVersion & replace ## unreleased with new version [#3806](https://github.com/excalidraw/excalidraw/pull/3806)
211
-
212
- - Include deleted elements when passing to restore [#3802](https://github.com/excalidraw/excalidraw/pull/3802)
213
-
214
- - Import React before using jsx [#3804](https://github.com/excalidraw/excalidraw/pull/3804)
215
-
216
- - Ensure `s` and `g` shortcuts work on no selection [#3800](https://github.com/excalidraw/excalidraw/pull/3800)
217
-
218
- - Keep binding for attached arrows after changing text [#3754](https://github.com/excalidraw/excalidraw/pull/3754)
219
-
220
- - Deselect elements on viewMode toggle [#3741](https://github.com/excalidraw/excalidraw/pull/3741)
221
-
222
- - Allow pointer events for disable zen mode button [#3743](https://github.com/excalidraw/excalidraw/pull/3743)
223
-
224
- - Use rgba instead of shorthand alpha [#3688](https://github.com/excalidraw/excalidraw/pull/3688)
225
-
226
- - Color pickers not opening on mobile [#3676](https://github.com/excalidraw/excalidraw/pull/3676)
227
-
228
- - On contextMenu, use selected element regardless of z-index [#3668](https://github.com/excalidraw/excalidraw/pull/3668)
229
-
230
- - SelectedGroupIds not being stored in history [#3630](https://github.com/excalidraw/excalidraw/pull/3630)
231
-
232
- - Overscroll on touch devices [#3663](https://github.com/excalidraw/excalidraw/pull/3663)
233
-
234
- - Small UI issues around image export dialog [#3642](https://github.com/excalidraw/excalidraw/pull/3642)
235
-
236
- - Normalize linear element points on restore [#3633](https://github.com/excalidraw/excalidraw/pull/3633)
237
-
238
- - Disable pointer-events on footer-center container [#3629](https://github.com/excalidraw/excalidraw/pull/3629)
239
-
240
- ### Refactor
241
-
242
- - Delete React SyntheticEvent persist [#3700](https://github.com/excalidraw/excalidraw/pull/3700)
243
-
244
- - Code clean up [#3681](https://github.com/excalidraw/excalidraw/pull/3681)
245
-
246
- ### Performance
247
-
248
- - Improve arrow head sizing [#3480](https://github.com/excalidraw/excalidraw/pull/3480)
249
-
250
- ### Build
251
-
252
- - Add release script to update relevant files and commit for next release [#3805](https://github.com/excalidraw/excalidraw/pull/3805)
253
-
254
- - Add script to update changelog before a stable release [#3784](https://github.com/excalidraw/excalidraw/pull/3784)
255
-
256
- - Add script to update readme before stable release [#3781](https://github.com/excalidraw/excalidraw/pull/3781)
257
-
258
- ---
259
-
260
- ## 0.8.0 (2021-05-15)
261
-
262
- ## Excalidraw API
263
-
264
- **_These section lists the updates which may affect your integration, so it is recommended to go through this when upgrading the version._**
265
-
266
- ### Features
267
-
268
- - 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.
269
- - 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).
270
- - 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) .
271
-
272
- This also removes the GitHub icon, keeping it local to the https://excalidraw.com app.
273
-
274
- ### Fixes
275
-
276
- - 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).
277
-
278
- Now `appState` is also passed to [`renderFooter`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderFooter) prop.
279
-
280
- ## Excalidraw Library
281
-
282
- **_These section lists the updates made to the excalidraw library and will not affect the integration._**
283
-
284
- ### Features
285
-
286
- - Shortcut key for nerd stats [#3552](https://github.com/excalidraw/excalidraw/pull/3552).
287
- - Better rendering of curved rectangles [#3562](https://github.com/excalidraw/excalidraw/pull/3562).
288
- - Improved freedraw [#3512](https://github.com/excalidraw/excalidraw/pull/3512).
289
- - Add shortcut for dark mode [#3543](https://github.com/excalidraw/excalidraw/pull/3543).
290
- - Adds rounded icons, joins and caps.[#3521](https://github.com/excalidraw/excalidraw/pull/3521).
291
-
292
- ### Fixes
293
-
294
- - Exporting freedraw with color to svg [#3565](https://github.com/excalidraw/excalidraw/pull/3565).
295
- - Handle render errors [#3557](https://github.com/excalidraw/excalidraw/pull/3557).
296
- - Restore on paste or lib import [#3558](https://github.com/excalidraw/excalidraw/pull/3558).
297
- - Improve mobile user experience [#3508](https://github.com/excalidraw/excalidraw/pull/3508).
298
- - Prevent selecting `.visually-hidden` elements [#3501](https://github.com/excalidraw/excalidraw/pull/3501).
299
-
300
- ### Perf
301
-
302
- - Reduce SVG export size by more than half by reducing precision to 2 decimal places [#3567](https://github.com/excalidraw/excalidraw/pull/3567).
303
- - Remove `backdrop-filter` to improve perf [#3506](https://github.com/excalidraw/excalidraw/pull/3506)
304
-
305
- ---
306
-
307
- ## 0.7.0 (2021-04-26)
308
-
309
- ## Excalidraw API
310
-
311
- ### Features
312
-
313
- - [`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).
314
-
315
- #### BREAKING CHANGE
316
-
317
- - Renamed `setScrollToContent` to [`scrollToContent`](https://github.com/excalidraw/excalidraw/blob/master/src/components/App.tsx#L265).
318
-
319
- - 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).
320
-
321
- - 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.
322
-
323
- - 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.
324
-
325
- - 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).
326
-
327
- #### BREAKING CHANGE
328
-
329
- - 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).
330
-
331
- - 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).
332
-
333
- #### BREAKING CHANGE
334
-
335
- - 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).
336
-
337
- - 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`.
338
-
339
- - Add `onPaste` prop to handle custom clipboard behaviours [#3420](https://github.com/excalidraw/excalidraw/pull/3420).
340
-
341
- ### Fixes
342
-
343
- - 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).
344
- - Only handle cut/paste events inside excalidraw [#3484](https://github.com/excalidraw/excalidraw/pull/3484).
345
-
346
- - 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).
347
- - 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).
348
-
349
- - Fix library being pasted off-center [#3462](https://github.com/excalidraw/excalidraw/pull/3462).
350
-
351
- - 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).
352
-
353
- ### Refactor
354
-
355
- - #### BREAKING CHANGE
356
-
357
- - 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:
358
-
359
- ```ts
360
- const getSyncableElements = (elements: readonly ExcalidrawElement[]) =>
361
- elements.filter((el) => el.isDeleted || !isInvisiblySmallElement(el));
362
- ```
363
-
364
- ### Build
365
-
366
- - Add vendor prefixes to css rules [#3476](https://github.com/excalidraw/excalidraw/pull/3476).
367
-
368
- ## Types
369
-
370
- - Renamed the following types in case you depend on them (via [#3427](https://github.com/excalidraw/excalidraw/pull/3427)):
371
- - `DataState` → `ExportedDataState`
372
- - `LibraryData` → `ExportedLibraryData`
373
-
374
- ## Excalidraw Library
375
-
376
- ### Features
377
-
378
- - Support tab-to-indent when editing text [#3411](https://github.com/excalidraw/excalidraw/pull/3411).
379
-
380
- - 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).
381
-
382
- - Add screenshots to manifest.json [#3369](https://github.com/excalidraw/excalidraw/pull/3369).
383
-
384
- - Enable drop event on the whole component [#3406](https://github.com/excalidraw/excalidraw/pull/3406).
385
-
386
- ### Fixes
387
-
388
- - Focus on last active element when dialog closes [#3447](https://github.com/excalidraw/excalidraw/pull/3447).
389
-
390
- - Fix incorrectly caching png file handle [#3407](https://github.com/excalidraw/excalidraw/pull/3407).
391
-
392
- - Fix popover position incorrect on Safari for non-zero offsets/scroll [#3399](https://github.com/excalidraw/excalidraw/pull/3399).
393
-
394
- ---
395
-
396
- ## 0.6.0 (2021-04-04)
397
-
398
- ## Excalidraw API
399
-
400
- ### Features
401
-
402
- - 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.
403
- - 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.
404
- #### BREAKING CHANGE
405
- - `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)
406
- - Calculate offsets when excalidraw container resizes using resize observer api [#3374](https://github.com/excalidraw/excalidraw/pull/3374).
407
- - 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`.
408
- - 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).
409
- - 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).
410
- - #### BREAKING CHANGE
411
- 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.
412
- - Append `location.pathname` to `libraryReturnUrl` default url [#3325](https://github.com/excalidraw/excalidraw/pull/3325).
413
- - Support image elements [#3424](https://github.com/excalidraw/excalidraw/pull/3424).
414
-
415
- ### Build
416
-
417
- - 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.
418
- #### BREAKING CHANGE
419
- - 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`
420
-
421
- ### Refactor
422
-
423
- #### BREAKING CHANGE
424
-
425
- - 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).
426
-
427
- ## Excalidraw Library
428
-
429
- ### Features
430
-
431
- - Reopen library menu on import from file [#3383](https://github.com/excalidraw/excalidraw/pull/3383).
432
- - Don't unnecessarily prompt when installing libraries [#3329](https://github.com/excalidraw/excalidraw/pull/3329).
433
- - Add option to flip single element on the context menu [#2520](https://github.com/excalidraw/excalidraw/pull/2520).
434
- - Replace fontSize and fontFamily text with icons [#2857](https://github.com/excalidraw/excalidraw/pull/2857).
435
-
436
- ### Fixes
437
-
438
- - Export dialog canvas positioning [#3397](https://github.com/excalidraw/excalidraw/pull/3397).
439
- - Don't share collab types with core [#3353](https://github.com/excalidraw/excalidraw/pull/3353).
440
- - Support d&d of files without extension [#3168](https://github.com/excalidraw/excalidraw/pull/3168).
441
- - Positions stats for linear elements [#3331](https://github.com/excalidraw/excalidraw/pull/3331).
442
- - Debounce.flush invokes func even if never queued before [#3326](https://github.com/excalidraw/excalidraw/pull/3326).
443
- - State selection state on opening contextMenu [#3333](https://github.com/excalidraw/excalidraw/pull/3333).
444
- - Add unique key for library header to resolve dev warnings [#3316](https://github.com/excalidraw/excalidraw/pull/3316).
445
- - disallow create text in viewMode on mobile [#3219](https://github.com/excalidraw/excalidraw/pull/3219).
446
- - Make help toggle tabbable [#3310](https://github.com/excalidraw/excalidraw/pull/3310)
447
- - Show Windows share icon for Windows users [#3306](https://github.com/excalidraw/excalidraw/pull/3306).
448
- - Don't scroll to content on INIT websocket message [#3291](https://github.com/excalidraw/excalidraw/pull/3291).
449
-
450
- ### Refactor
451
-
452
- - Use arrow function where possible [#3315](https://github.com/excalidraw/excalidraw/pull/3315).
453
-
454
- ---
455
-
456
- ## 0.5.0 (2021-03-21)
457
-
458
- ## Excalidraw API
459
-
460
- ### Features
461
-
462
- - 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).
463
- - 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).
464
- - Export API `setCanvasOffsets` via `ref` to set the offsets for Excalidraw[#3265](https://github.com/excalidraw/excalidraw/pull/3265).
465
- #### BREAKING CHANGE
466
- - `offsetLeft` and `offsetTop` props have been removed now so you have to use the `setCanvasOffsets` via `ref` to achieve the same.
467
- - 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)
468
- - 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.
469
- - Support `libraryReturnUrl` prop to indicate what URL to install libraries to [#3227](https://github.com/excalidraw/excalidraw/pull/3227).
470
-
471
- ### Refactor
472
-
473
- - #### BREAKING CHANGE
474
- - Rename prop `initialData.scrollToCenter` and `setScrollToCenter` API exposed via ref to `initialData.scrollToContent` and `setScrollToContent` respectively[#3261](https://github.com/excalidraw/excalidraw/pull/3261).
475
- - Rename appearance to theme [#3237](https://github.com/excalidraw/excalidraw/pull/3237).
476
- #### BREAKING CHANGE
477
- - 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`.
478
- - The class `Appearance_dark` is renamed to `theme--dark`.
479
- - The class `Appearance_dark-background-none` is renamed to `theme--dark-background-none`.
480
-
481
- ## Excalidraw Library
482
-
483
- ### Features
484
-
485
- - Support pasting file contents & always prefer system clip [#3257](https://github.com/excalidraw/excalidraw/pull/3257)
486
- - Add label for name field and use input when editable in export dialog [#3286](https://github.com/excalidraw/excalidraw/pull/3286)
487
- - Implement the Web Share Target API [#3230](https://github.com/excalidraw/excalidraw/pull/3230).
488
-
489
- ### Fixes
490
-
491
- - Don't show export and delete when library is empty [#3288](https://github.com/excalidraw/excalidraw/pull/3288)
492
- - Overflow in textinput in export dialog [#3284](https://github.com/excalidraw/excalidraw/pull/3284).
493
- - Bail on noop updates for newElementWith [#3279](https://github.com/excalidraw/excalidraw/pull/3279).
494
- - Prevent State continuously updated when holding ctrl/cmd #3283
495
- - Debounce flush not invoked if lastArgs not defined [#3281](https://github.com/excalidraw/excalidraw/pull/3281).
496
- - Stop preventing canvas pointerdown/tapend events [#3207](https://github.com/excalidraw/excalidraw/pull/3207).
497
- - Double scrollbar on modals [#3226](https://github.com/excalidraw/excalidraw/pull/3226).
498
-
499
- ---
500
-
501
- ## 0.4.3 (2021-03-12)
502
-
503
- ## Excalidraw API
504
-
505
- ### Fixes
506
-
507
- - Allow copy of excalidraw elements only when inside excalidraw [#3206](https://github.com/excalidraw/excalidraw/pull/3206).
508
- - 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).
509
- - Scope CSS variables so that host CSS vars don't clash with excalidraw [#3199](https://github.com/excalidraw/excalidraw/pull/3199).
510
-
511
- ## Excalidraw Library
512
-
513
- - Apply correct translation when text editor overflows when zoom not 100% [#3225](https://github.com/excalidraw/excalidraw/pull/3225)
514
- - Don't overflow text beyond width of Excalidraw [#3215](https://github.com/excalidraw/excalidraw/pull/3215).
515
-
516
- ---
517
-
518
- ## 0.4.2
519
-
520
- ## Excalidraw API
521
-
522
- ### Fixes
523
-
524
- - 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).
525
- - 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).
526
- - Rerender UI on `renderFooter` prop change [#3183](https://github.com/excalidraw/excalidraw/pull/3183)
527
-
528
- ## Excalidraw Library
529
-
530
- ### Fixes
531
-
532
- - Temporarily downgrade browser-fs-access to fix legacy FS API [#3172](https://github.com/excalidraw/excalidraw/pull/3172)
533
-
534
- ---
535
-
536
- ## 0.4.1
537
-
538
- ## Excalidraw API
539
-
540
- ### Fixes
541
-
542
- - Use `Array.from` when spreading over set so that typescript transpiles correctly in the umd build[#3165](https://github.com/excalidraw/excalidraw/pull/3165).
543
-
544
- ## Excalidraw Library
545
-
546
- ### Features
547
-
548
- - Add export info on copy PNG to clipboard toast message [#3159](https://github.com/excalidraw/excalidraw/pull/3159).
549
- - Use the latest version of Virgil [#3124](https://github.com/excalidraw/excalidraw/pull/3124).
550
- - Support exporting with dark mode [#3046](https://github.com/excalidraw/excalidraw/pull/3046).
551
-
552
- ### Fixes
553
-
554
- - Cursor being leaked outside of canvas [#3161](https://github.com/excalidraw/excalidraw/pull/3161).
555
- - Hide scrollbars in zenMode [#3144](https://github.com/excalidraw/excalidraw/pull/3144).
556
-
557
- ## 0.4.0
558
-
559
- ## Excalidraw API
560
-
561
- ### Features
562
-
563
- - 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).
564
-
565
- Also now the assets will have a hash in filename so cache bursting can easily happen with version bump.
566
-
567
- - 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).
568
-
569
- - 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)
570
-
571
- ### Fixes
572
-
573
- - 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)
574
-
575
- ## Excalidraw Library
576
-
577
- ### Features
578
-
579
- - Adjust line-confirm-threshold based on zoom [#2884](https://github.com/excalidraw/excalidraw/pull/2884)
580
-
581
- ### Fixes
582
-
583
- - Hide scrollbars on mobile [#3044](https://github.com/excalidraw/excalidraw/pull/3044)
584
-
585
- ## 0.3.1
586
-
587
- ## Excalidraw API
588
-
589
- ### Fixes
590
-
591
- - Support Excalidraw inside scrollable container [#3018](https://github.com/excalidraw/excalidraw/pull/3018)
592
-
593
- ## Excalidraw Library
594
-
595
- ### Fixes
596
-
597
- - Allow to toggle between modes when view only mode to make UI consistent [#3009](https://github.com/excalidraw/excalidraw/pull/3009)
598
-
599
- ## 0.3.0
600
-
601
- ## Excalidraw API
602
-
603
- ### Features
604
-
605
- - 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.
606
- - 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.
607
- - 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).
608
- - 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.
609
- - Expose `getAppState` on `excalidrawRef` [#2834](https://github.com/excalidraw/excalidraw/pull/2834).
610
-
611
- ### Build
612
-
613
- - Remove publicPath so host can use `__webpack_public_path__` to host the assets[#2835](https://github.com/excalidraw/excalidraw/pull/2835)
614
-
615
- ## Excalidraw Library
616
-
617
- ### Features
618
-
619
- - Add the ability to clear library [#2997](https://github.com/excalidraw/excalidraw/pull/2997)
620
- - Updates to Collaboration and RTL UX [#2994](https://github.com/excalidraw/excalidraw/pull/2994)
621
- - Show toast when saving to existing file [#2988](https://github.com/excalidraw/excalidraw/pull/2988)
622
- - Support supplying custom scale when exporting canvas [#2904](https://github.com/excalidraw/excalidraw/pull/2904)
623
- - Show version in the stats dialog [#2908](https://github.com/excalidraw/excalidraw/pull/2908)
624
- - Add idle detection to collaboration feature [#2877](https://github.com/excalidraw/excalidraw/pull/2877)
625
- - Add view mode in Excalidraw [#2840](https://github.com/excalidraw/excalidraw/pull/2840)
626
- - Increase max zoom [#2881](https://github.com/excalidraw/excalidraw/pull/2881)
627
- - Remove copy & paste from context menu on desktop [#2872](https://github.com/excalidraw/excalidraw/pull/2872)
628
- - Add separators on context menu [#2659](https://github.com/excalidraw/excalidraw/pull/2659)
629
- - Add ctrl-y to redo [#2831](https://github.com/excalidraw/excalidraw/pull/2831)
630
- - Add view mode [#2840](https://github.com/excalidraw/excalidraw/pull/2840).
631
- - Remove `copy`, `cut`, and `paste` actions from contextmenu [#2872](https://github.com/excalidraw/excalidraw/pull/2872)
632
- - Support `Ctrl-Y` shortcut to redo on Windows [#2831](https://github.com/excalidraw/excalidraw/pull/2831).
633
-
634
- ### Fixes
635
-
636
- - Refresh wysiwyg position on canvas resize [#3008](https://github.com/excalidraw/excalidraw/pull/3008)
637
- - Update the `lang` attribute with the current lang. [#2995](https://github.com/excalidraw/excalidraw/pull/2995)
638
- - Rename 'Grid mode' to 'Show grid' [#2944](https://github.com/excalidraw/excalidraw/pull/2944)
639
- - Deal with users on systems that don't handle emoji [#2941](https://github.com/excalidraw/excalidraw/pull/2941)
640
- - Mobile toolbar tooltip regression [#2939](https://github.com/excalidraw/excalidraw/pull/2939)
641
- - Hide collaborator list on mobile if empty [#2938](https://github.com/excalidraw/excalidraw/pull/2938)
642
- - Toolbar unnecessarily eats too much width [#2924](https://github.com/excalidraw/excalidraw/pull/2924)
643
- - Mistakenly hardcoding scale [#2925](https://github.com/excalidraw/excalidraw/pull/2925)
644
- - Text editor not visible in dark mode [#2920](https://github.com/excalidraw/excalidraw/pull/2920)
645
- - Incorrect z-index of text editor [#2914](https://github.com/excalidraw/excalidraw/pull/2914)
646
- - Make scrollbars draggable when offsets are set [#2916](https://github.com/excalidraw/excalidraw/pull/2916)
647
- - Pointer-events being disabled on free-draw [#2912](https://github.com/excalidraw/excalidraw/pull/2912)
648
- - Track zenmode and grid mode usage [#2900](https://github.com/excalidraw/excalidraw/pull/2900)
649
- - Disable UI pointer-events on canvas drag [#2856](https://github.com/excalidraw/excalidraw/pull/2856)
650
- - Stop flooring scroll positions [#2883](https://github.com/excalidraw/excalidraw/pull/2883)
651
- - Apply initialData appState for zenmode and grid stats and refactor check param for actions [#2871](https://github.com/excalidraw/excalidraw/pull/2871)
652
- - Show correct state of Nerd stats in context menu when nerd stats dialog closed [#2874](https://github.com/excalidraw/excalidraw/pull/2874)
653
- - Remote pointers not accounting for offset [#2855](https://github.com/excalidraw/excalidraw/pull/2855)
654
- - Toggle help dialog when "shift+?" is pressed [#2828](https://github.com/excalidraw/excalidraw/pull/2828)
655
- - Add safe check for process so Excalidraw can be loaded via script [#2824](https://github.com/excalidraw/excalidraw/pull/2824)
656
- - Fix UI pointer-events not disabled when dragging on canvas [#2856](https://github.com/excalidraw/excalidraw/pull/2856).
657
- - Fix remote pointers not accounting for offset [#2855](https://github.com/excalidraw/excalidraw/pull/2855).
658
-
659
- ### Refactor
660
-
661
- - Remove duplicate key handling [#2878](https://github.com/excalidraw/excalidraw/pull/2878)
662
- - Reuse scss variables in js for SSOT [#2867](https://github.com/excalidraw/excalidraw/pull/2867)
663
- - Rename browser-nativefs to browser-fs-access [#2862](https://github.com/excalidraw/excalidraw/pull/2862)
664
- - Rewrite collabWrapper to remove TDZs and simplify [#2834](https://github.com/excalidraw/excalidraw/pull/2834)
665
-
666
- ### Chore
667
-
668
- - Use `Sentence case` for `Live collaboration`
669
-
670
- ## 0.2.1
671
-
672
- ## Excalidraw API
673
-
674
- ### Build
675
-
676
- - Bundle css files with js [#2819](https://github.com/excalidraw/excalidraw/pull/2819). The host would not need to import css files separately.
677
-
678
- ## 0.2.0
679
-
680
- ## Excalidraw API
681
-
682
- ### Features
683
-
684
- - 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.
685
-
686
- - Remove language picker, and add `langCode`, `renderFooter` [#2644](https://github.com/excalidraw/excalidraw/pull/2644):
687
- - 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.
688
- - Added [`langCode`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#langCode) prop to control the UI language.
689
- - Add support for `exportToBackend` prop to allow host apps to implement shareable links [#2612](https://github.com/excalidraw/excalidraw/pull/2612/files)
690
-
691
- ### Fixes
692
-
693
- - Hide collaboration button when the prop `onCollabButtonClick` is not provided [#2598](https://github.com/excalidraw/excalidraw/pull/2598)
694
-
695
- ## Excalidraw Library
696
-
697
- ### Features
698
-
699
- - Add toast [#2772](https://github.com/excalidraw/excalidraw/pull/2772)
700
- - Add `cmd+o` shortcut to load scene [#2732](https://github.com/excalidraw/excalidraw/pull/2732)
701
- - Require use of a preset dialog size; adjust dialog sizing [#2684](https://github.com/excalidraw/excalidraw/pull/2684)
702
- - Add line chart and paste dialog selection [#2670](https://github.com/excalidraw/excalidraw/pull/2670)
703
- - Tweak editing behavior [#2668](https://github.com/excalidraw/excalidraw/pull/2668)
704
- - Change title to Excalidraw after a timeout
705
- - Checkmark to toggle context-menu-items [#2645](https://github.com/excalidraw/excalidraw/pull/2645)
706
- - Add zoom to selection [#2522](https://github.com/excalidraw/excalidraw/pull/2522)
707
- - Insert Library items in the middle of the screen [#2527](https://github.com/excalidraw/excalidraw/pull/2527)
708
- - Show shortcut context menu [#2501](https://github.com/excalidraw/excalidraw/pull/2501)
709
- - Aligns arrowhead schemas [#2517](https://github.com/excalidraw/excalidraw/pull/2517)
710
- - Add Cut to menus [#2511](https://github.com/excalidraw/excalidraw/pull/2511)
711
- - More Arrowheads: dot, bar [#2486](https://github.com/excalidraw/excalidraw/pull/2486)
712
- - Support CSV graphs and improve the look and feel [#2495](https://github.com/excalidraw/excalidraw/pull/2495)
713
-
714
- ### Fixes
715
-
716
- - Fix compile error [#2685](https://github.com/excalidraw/excalidraw/pull/2685)
717
- - Center zoom on iPhone and iPad [#2642](https://github.com/excalidraw/excalidraw/pull/2642)
718
- - Allow text-selecting in dialogs & reset cursor [#2783](https://github.com/excalidraw/excalidraw/pull/2783)
719
- - Don't render due to zoom after unmount [#2779](https://github.com/excalidraw/excalidraw/pull/2779)
720
- - Track the chart type correctly [#2773](https://github.com/excalidraw/excalidraw/pull/2773)
721
- - Fix late-render due to debounced zoom [#2779](https://github.com/excalidraw/excalidraw/pull/2779)
722
- - Fix initialization when browser tab not focused [#2677](https://github.com/excalidraw/excalidraw/pull/2677)
723
- - Consistent case for export locale strings [#2622](https://github.com/excalidraw/excalidraw/pull/2622)
724
- - Remove unnecessary console.error as it was polluting Sentry [#2637](https://github.com/excalidraw/excalidraw/pull/2637)
725
- - Fix scroll-to-center on init for non-zero canvas offsets [#2445](https://github.com/excalidraw/excalidraw/pull/2445)
726
- - Fix resizing the pasted charts [#2586](https://github.com/excalidraw/excalidraw/pull/2586)
727
- - Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534)
728
- - Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)
729
- - Support number with commas in charts [#2636](https://github.com/excalidraw/excalidraw/pull/2636)
730
- - Don't break zoom when zooming in on UI [#2638](https://github.com/excalidraw/excalidraw/pull/2638)
731
-
732
- ### Improvements
733
-
734
- - Added Zen Mode to the context menu [#2734](https://github.com/excalidraw/excalidraw/pull/2734)
735
- - Do not reset to selection for draw tool [#2721]((https://github.com/excalidraw/excalidraw/pull/2721)
736
- - Make dialogs look more like dialogs [#2686](https://github.com/excalidraw/excalidraw/pull/2686)
737
- - Browse libraries styles fixed [#2694](https://github.com/excalidraw/excalidraw/pull/2694)
738
- - Change hint for 2-point lines on resize [#2655](https://github.com/excalidraw/excalidraw/pull/2655)
739
- - Align items in context menu [#2640](https://github.com/excalidraw/excalidraw/pull/2640)
740
- - Do not reset to selection when using the draw tool [#2721](https://github.com/excalidraw/excalidraw/pull/2721)
741
- - Display proper tooltip for 2-point lines during resize, and normalize modifier key labels in hints [#2655](https://github.com/excalidraw/excalidraw/pull/2655)
742
- - Improve error message around importing images [#2619](https://github.com/excalidraw/excalidraw/pull/2619)
743
- - Add tooltip with icon for embedding scenes [#2532](https://github.com/excalidraw/excalidraw/pull/2532)
744
- - RTL support for the stats dialog [#2530](https://github.com/excalidraw/excalidraw/pull/2530)
745
- - Expand canvas padding based on zoom. [#2515](https://github.com/excalidraw/excalidraw/pull/2515)
746
- - Hide shortcuts on pickers for mobile [#2508](https://github.com/excalidraw/excalidraw/pull/2508)
747
- - Hide stats and scrollToContent-button when mobile menus open [#2509](https://github.com/excalidraw/excalidraw/pull/2509)
748
-
749
- ### Refactor
750
-
751
- - refactor: Converting span to kbd tag [#2774](https://github.com/excalidraw/excalidraw/pull/2774)
752
- - Media queries [#2680](https://github.com/excalidraw/excalidraw/pull/2680)
753
- - Remove duplicate entry from en.json[#2654](https://github.com/excalidraw/excalidraw/pull/2654)
754
- - Remove the word toggle from labels [#2648](https://github.com/excalidraw/excalidraw/pull/2648)
755
- -
756
-
757
- ### Docs
758
-
759
- - Document some of the more exotic element props [#2673](https://github.com/excalidraw/excalidraw/pull/2673)
760
-
761
- ## 0.1.1
762
-
763
- #### Fix
764
-
765
- - Update the homepage URL so it redirects to correct readme [#2498](https://github.com/excalidraw/excalidraw/pull/2498)
766
-
767
- ## 0.1.0
768
-
769
- First release of `@excalidraw/excalidraw`