@dwelle/excalidraw 0.4.0-d411eb2 → 0.4.0-d4580486

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 (852) hide show
  1. package/CHANGELOG.md +691 -435
  2. package/README.md +18 -1354
  3. package/dist/browser/excalidraw-assets/ar-SA-ZG4GMNKR.js +585 -0
  4. package/dist/browser/excalidraw-assets/az-AZ-5QPIG4ZE.js +585 -0
  5. package/dist/browser/excalidraw-assets/bg-BG-GWMMOXVZ.js +585 -0
  6. package/dist/browser/excalidraw-assets/bn-BD-FFLR3TNM.js +585 -0
  7. package/dist/browser/excalidraw-assets/c4Diagram-9cddb37f-DT3MBRIQ.js +2527 -0
  8. package/dist/browser/excalidraw-assets/ca-ES-7TTPSWTV.js +585 -0
  9. package/dist/browser/excalidraw-assets/chunk-2H6Q3UHB.js +17232 -0
  10. package/dist/browser/excalidraw-assets/chunk-5XVKPBR4.js +16 -0
  11. package/dist/browser/excalidraw-assets/chunk-67KWAPOR.js +1498 -0
  12. package/dist/browser/excalidraw-assets/chunk-AZELGDJ7.js +1757 -0
  13. package/dist/browser/excalidraw-assets/chunk-E67NG25X.js +114 -0
  14. package/dist/browser/excalidraw-assets/chunk-ED7FCLMV.js +2611 -0
  15. package/dist/browser/excalidraw-assets/chunk-HG4GCABW.js +54 -0
  16. package/dist/browser/excalidraw-assets/chunk-I6H72Z5H.js +169 -0
  17. package/dist/browser/excalidraw-assets/chunk-K5VM6ZHC.js +671 -0
  18. package/dist/browser/excalidraw-assets/chunk-L5BPE74O.js +1415 -0
  19. package/dist/browser/excalidraw-assets/chunk-L5UQ5LG5.js +1806 -0
  20. package/dist/browser/excalidraw-assets/chunk-OJAFOQ6I.js +541 -0
  21. package/dist/browser/excalidraw-assets/chunk-RFZOXM2P.js +5081 -0
  22. package/dist/browser/excalidraw-assets/chunk-TA4GKHCW.js +598 -0
  23. package/dist/browser/excalidraw-assets/chunk-UZYJGJH5.js +1416 -0
  24. package/dist/browser/excalidraw-assets/chunk-WQZISTLK.js +53908 -0
  25. package/dist/browser/excalidraw-assets/chunk-YCSAT77X.js +284 -0
  26. package/dist/browser/excalidraw-assets/chunk-YVMHRGYC.js +2645 -0
  27. package/dist/browser/excalidraw-assets/classDiagram-bc733c3b-ADGQD5FE.js +164 -0
  28. package/dist/browser/excalidraw-assets/classDiagram-v2-8931bdaf-LQUNAO5F.js +326 -0
  29. package/dist/browser/excalidraw-assets/cs-CZ-ZBCV22AJ.js +585 -0
  30. package/dist/browser/excalidraw-assets/da-DK-Q4T27BFS.js +585 -0
  31. package/dist/browser/excalidraw-assets/de-DE-MBK4JIXX.js +585 -0
  32. package/dist/browser/excalidraw-assets/directory-open-01563666-XGWD52SG.js +21 -0
  33. package/dist/browser/excalidraw-assets/directory-open-4ed118d0-CW2C2TU4.js +66 -0
  34. package/dist/browser/excalidraw-assets/dist-RCLUK4RK.js +9 -0
  35. package/dist/browser/excalidraw-assets/el-GR-4IO54FJG.js +585 -0
  36. package/dist/browser/excalidraw-assets/en-O5KAMFJI.js +63 -0
  37. package/dist/browser/excalidraw-assets/erDiagram-f6946109-LOZPUYNA.js +1406 -0
  38. package/dist/browser/excalidraw-assets/es-ES-RTNHOKI6.js +585 -0
  39. package/dist/browser/excalidraw-assets/eu-ES-IPUNFIRV.js +585 -0
  40. package/dist/browser/excalidraw-assets/fa-IR-AFOLD64G.js +585 -0
  41. package/dist/browser/excalidraw-assets/fi-FI-YDIGP7ED.js +585 -0
  42. package/dist/browser/excalidraw-assets/file-open-002ab408-XIZJR36E.js +25 -0
  43. package/dist/browser/excalidraw-assets/file-open-7c801643-YIZPMU4W.js +22 -0
  44. package/dist/browser/excalidraw-assets/file-save-3189631c-BQMBD5TV.js +31 -0
  45. package/dist/browser/excalidraw-assets/file-save-745eba88-MWPDJIMB.js +34 -0
  46. package/dist/browser/excalidraw-assets/flowDiagram-93327f21-IG42SU5S.js +1396 -0
  47. package/dist/browser/excalidraw-assets/flowDiagram-v2-476db779-Y67G2FM7.js +51 -0
  48. package/dist/browser/excalidraw-assets/flowchart-elk-definition-5082a990-N6NGIBWD.js +89770 -0
  49. package/dist/browser/excalidraw-assets/fr-FR-DKTDAJMV.js +585 -0
  50. package/dist/browser/excalidraw-assets/ganttDiagram-7ce12d6b-QM7W7H3I.js +2269 -0
  51. package/dist/browser/excalidraw-assets/gitGraphDiagram-1e960c50-EKEGNJUG.js +1705 -0
  52. package/dist/browser/excalidraw-assets/gl-ES-KAW5CTCB.js +585 -0
  53. package/dist/browser/excalidraw-assets/he-IL-XFQ6PZWN.js +585 -0
  54. package/dist/browser/excalidraw-assets/hi-IN-CJGZ2R72.js +585 -0
  55. package/dist/browser/excalidraw-assets/hu-HU-LH67LOY3.js +585 -0
  56. package/dist/browser/excalidraw-assets/id-ID-L6Y7PWWN.js +585 -0
  57. package/dist/browser/excalidraw-assets/image-M2ZU44R7.css +5923 -0
  58. package/dist/browser/excalidraw-assets/image-QPILIGYC.js +20 -0
  59. package/dist/browser/excalidraw-assets/image-blob-reduce.esm-5RGBO4BD.js +2497 -0
  60. package/dist/browser/excalidraw-assets/infoDiagram-264bed3e-DGYH27DL.js +554 -0
  61. package/dist/browser/excalidraw-assets/it-IT-NYW7ZXIC.js +585 -0
  62. package/dist/browser/excalidraw-assets/ja-JP-PTAJBPX4.js +585 -0
  63. package/dist/browser/excalidraw-assets/journeyDiagram-31be0096-MOV4SXUQ.js +1249 -0
  64. package/dist/browser/excalidraw-assets/kaa-WXJRXWPF.js +585 -0
  65. package/dist/browser/excalidraw-assets/kab-KAB-ODUQXY6X.js +585 -0
  66. package/dist/browser/excalidraw-assets/kk-KZ-UXGGFOE5.js +585 -0
  67. package/dist/browser/excalidraw-assets/km-KH-KH42MBCX.js +585 -0
  68. package/dist/browser/excalidraw-assets/ko-KR-OK4WMN6E.js +585 -0
  69. package/dist/browser/excalidraw-assets/ku-TR-I6JF7FTE.js +585 -0
  70. package/dist/browser/excalidraw-assets/lt-LT-MRDJ3W6M.js +585 -0
  71. package/dist/browser/excalidraw-assets/lv-LV-GUHKIRYT.js +585 -0
  72. package/dist/browser/excalidraw-assets/mindmap-definition-4fc2557c-QD6CUNYL.js +32236 -0
  73. package/dist/browser/excalidraw-assets/mr-IN-2VY5ATS4.js +585 -0
  74. package/dist/browser/excalidraw-assets/my-MM-Q3UE7NDU.js +585 -0
  75. package/dist/browser/excalidraw-assets/nb-NO-YGVSWPTU.js +585 -0
  76. package/dist/browser/excalidraw-assets/nl-NL-JYQZFVD6.js +585 -0
  77. package/dist/browser/excalidraw-assets/nn-NO-SVCTK45S.js +585 -0
  78. package/dist/browser/excalidraw-assets/oc-FR-7S4GZ53C.js +585 -0
  79. package/dist/browser/excalidraw-assets/pa-IN-OAXG5ILZ.js +585 -0
  80. package/dist/browser/excalidraw-assets/percentages-G7XJNZNY.js +115 -0
  81. package/dist/browser/excalidraw-assets/pica-3M7LI2AU.js +1785 -0
  82. package/dist/browser/excalidraw-assets/pieDiagram-157505fe-THFWR2W3.js +795 -0
  83. package/dist/browser/excalidraw-assets/pl-PL-4LOCCO6A.js +585 -0
  84. package/dist/browser/excalidraw-assets/pt-BR-UE7QKZT7.js +585 -0
  85. package/dist/browser/excalidraw-assets/pt-PT-QRYXWDEQ.js +585 -0
  86. package/dist/browser/excalidraw-assets/quadrantDiagram-fd70f2d0-PM7WE6V7.js +1261 -0
  87. package/dist/browser/excalidraw-assets/requirementDiagram-19c99588-VQ7AQGMD.js +1154 -0
  88. package/dist/browser/excalidraw-assets/ro-RO-S6UM3GTE.js +585 -0
  89. package/dist/browser/excalidraw-assets/ru-RU-X3LZJ2PM.js +585 -0
  90. package/dist/browser/excalidraw-assets/sequenceDiagram-5dfd0049-7VLXNLQB.js +3186 -0
  91. package/dist/browser/excalidraw-assets/si-LK-47EZ7CDR.js +585 -0
  92. package/dist/browser/excalidraw-assets/sk-SK-BZTESEQ3.js +585 -0
  93. package/dist/browser/excalidraw-assets/sl-SI-UKPT7XYH.js +585 -0
  94. package/dist/browser/excalidraw-assets/stateDiagram-133e3642-TFVBMKD2.js +505 -0
  95. package/dist/browser/excalidraw-assets/stateDiagram-v2-6371a76b-HLD2VAQC.js +364 -0
  96. package/dist/browser/excalidraw-assets/sv-SE-QCQFH645.js +585 -0
  97. package/dist/browser/excalidraw-assets/ta-IN-VVBM4WJT.js +585 -0
  98. package/dist/browser/excalidraw-assets/th-TH-7BH7SJAO.js +585 -0
  99. package/dist/browser/excalidraw-assets/timeline-definition-5ed366f4-36TJ7JFQ.js +1275 -0
  100. package/dist/browser/excalidraw-assets/tr-TR-PSQK5I6C.js +585 -0
  101. package/dist/browser/excalidraw-assets/uk-UA-SPVEJS7T.js +585 -0
  102. package/dist/browser/excalidraw-assets/vi-VN-KIIQDQET.js +585 -0
  103. package/dist/browser/excalidraw-assets/zh-CN-6PVTYMG5.js +585 -0
  104. package/dist/browser/excalidraw-assets/zh-HK-V2KK262G.js +585 -0
  105. package/dist/browser/excalidraw-assets/zh-TW-VYIR3NM2.js +585 -0
  106. package/dist/browser/index.css +5923 -0
  107. package/dist/browser/index.js +137 -0
  108. package/{types → dist/packages/excalidraw}/actions/actionAddToLibrary.d.ts +215 -70
  109. package/dist/packages/excalidraw/actions/actionAddToLibrary.js +59 -0
  110. package/dist/packages/excalidraw/actions/actionAlign.d.ts +97 -0
  111. package/dist/packages/excalidraw/actions/actionAlign.js +124 -0
  112. package/dist/packages/excalidraw/actions/actionBoundText.d.ts +341 -0
  113. package/dist/packages/excalidraw/actions/actionBoundText.js +213 -0
  114. package/dist/packages/excalidraw/actions/actionCanvas.d.ts +1913 -0
  115. package/dist/packages/excalidraw/actions/actionCanvas.js +354 -0
  116. package/dist/packages/excalidraw/actions/actionClipboard.d.ts +1149 -0
  117. package/dist/packages/excalidraw/actions/actionClipboard.js +222 -0
  118. package/{types → dist/packages/excalidraw}/actions/actionDeleteSelected.d.ts +223 -75
  119. package/dist/packages/excalidraw/actions/actionDeleteSelected.js +129 -0
  120. package/dist/packages/excalidraw/actions/actionDistribute.d.ts +33 -0
  121. package/dist/packages/excalidraw/actions/actionDistribute.js +56 -0
  122. package/{types → dist/packages/excalidraw}/actions/actionDuplicateSelection.d.ts +3 -3
  123. package/dist/packages/excalidraw/actions/actionDuplicateSelection.js +181 -0
  124. package/dist/packages/excalidraw/actions/actionElementLock.d.ts +326 -0
  125. package/dist/packages/excalidraw/actions/actionElementLock.js +89 -0
  126. package/{types → dist/packages/excalidraw}/actions/actionExport.d.ts +697 -274
  127. package/dist/packages/excalidraw/actions/actionExport.js +199 -0
  128. package/{types → dist/packages/excalidraw}/actions/actionFinalize.d.ts +144 -51
  129. package/dist/packages/excalidraw/actions/actionFinalize.js +150 -0
  130. package/{types → dist/packages/excalidraw}/actions/actionFlip.d.ts +8 -10
  131. package/dist/packages/excalidraw/actions/actionFlip.js +52 -0
  132. package/dist/packages/excalidraw/actions/actionFrame.d.ts +505 -0
  133. package/dist/packages/excalidraw/actions/actionFrame.js +113 -0
  134. package/dist/packages/excalidraw/actions/actionGroup.d.ts +337 -0
  135. package/dist/packages/excalidraw/actions/actionGroup.js +162 -0
  136. package/{types → dist/packages/excalidraw}/actions/actionHistory.d.ts +1 -1
  137. package/dist/packages/excalidraw/actions/actionHistory.js +57 -0
  138. package/dist/packages/excalidraw/actions/actionLinearEditor.d.ts +163 -0
  139. package/dist/packages/excalidraw/actions/actionLinearEditor.js +41 -0
  140. package/{types → dist/packages/excalidraw}/actions/actionMenu.d.ts +212 -88
  141. package/dist/packages/excalidraw/actions/actionMenu.js +53 -0
  142. package/dist/packages/excalidraw/actions/actionNavigate.d.ts +314 -0
  143. package/dist/packages/excalidraw/actions/actionNavigate.js +43 -0
  144. package/{types → dist/packages/excalidraw}/actions/actionProperties.d.ts +961 -335
  145. package/dist/packages/excalidraw/actions/actionProperties.js +683 -0
  146. package/dist/packages/excalidraw/actions/actionSelectAll.d.ts +163 -0
  147. package/dist/packages/excalidraw/actions/actionSelectAll.js +40 -0
  148. package/{types → dist/packages/excalidraw}/actions/actionStyles.d.ts +76 -28
  149. package/dist/packages/excalidraw/actions/actionStyles.js +118 -0
  150. package/{types → dist/packages/excalidraw}/actions/actionToggleGridMode.d.ts +76 -26
  151. package/dist/packages/excalidraw/actions/actionToggleGridMode.js +27 -0
  152. package/dist/packages/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +165 -0
  153. package/dist/packages/excalidraw/actions/actionToggleObjectsSnapMode.js +26 -0
  154. package/{types → dist/packages/excalidraw}/actions/actionToggleStats.d.ts +75 -26
  155. package/dist/packages/excalidraw/actions/actionToggleStats.js +19 -0
  156. package/{types → dist/packages/excalidraw}/actions/actionToggleViewMode.d.ts +76 -26
  157. package/dist/packages/excalidraw/actions/actionToggleViewMode.js +25 -0
  158. package/{types → dist/packages/excalidraw}/actions/actionToggleZenMode.d.ts +76 -26
  159. package/dist/packages/excalidraw/actions/actionToggleZenMode.js +25 -0
  160. package/{types → dist/packages/excalidraw}/actions/actionZindex.d.ts +12 -12
  161. package/dist/packages/excalidraw/actions/actionZindex.js +86 -0
  162. package/{types → dist/packages/excalidraw}/actions/index.d.ts +4 -2
  163. package/dist/packages/excalidraw/actions/index.js +25 -0
  164. package/{types → dist/packages/excalidraw}/actions/manager.d.ts +2 -1
  165. package/dist/packages/excalidraw/actions/manager.js +110 -0
  166. package/dist/packages/excalidraw/actions/register.js +5 -0
  167. package/dist/packages/excalidraw/actions/shortcuts.d.ts +4 -0
  168. package/dist/packages/excalidraw/actions/shortcuts.js +52 -0
  169. package/dist/packages/excalidraw/actions/types.d.ts +45 -0
  170. package/dist/packages/excalidraw/align.js +36 -0
  171. package/dist/packages/excalidraw/analytics.js +30 -0
  172. package/{types → dist/packages/excalidraw}/appState.d.ts +28 -28
  173. package/dist/packages/excalidraw/appState.js +221 -0
  174. package/{types → dist/packages/excalidraw}/charts.d.ts +2 -2
  175. package/dist/packages/excalidraw/charts.js +365 -0
  176. package/dist/packages/excalidraw/clients.d.ts +5 -0
  177. package/dist/packages/excalidraw/clients.js +34 -0
  178. package/dist/packages/excalidraw/clipboard.d.ts +44 -0
  179. package/dist/packages/excalidraw/clipboard.js +351 -0
  180. package/dist/packages/excalidraw/colors.d.ts +61 -0
  181. package/dist/packages/excalidraw/colors.js +124 -0
  182. package/dist/packages/excalidraw/components/Actions.d.ts +32 -0
  183. package/dist/packages/excalidraw/components/Actions.js +127 -0
  184. package/dist/packages/excalidraw/components/Actions.scss +92 -0
  185. package/dist/packages/excalidraw/components/ActiveConfirmDialog.d.ts +5 -0
  186. package/dist/packages/excalidraw/components/ActiveConfirmDialog.js +22 -0
  187. package/{types → dist/packages/excalidraw}/components/App.d.ts +162 -52
  188. package/dist/packages/excalidraw/components/App.js +6253 -0
  189. package/dist/packages/excalidraw/components/Avatar.d.ts +12 -0
  190. package/dist/packages/excalidraw/components/Avatar.js +15 -0
  191. package/dist/packages/excalidraw/components/Avatar.scss +7 -0
  192. package/dist/packages/excalidraw/components/BraveMeasureTextError.d.ts +3 -0
  193. package/dist/packages/excalidraw/components/BraveMeasureTextError.js +6 -0
  194. package/dist/packages/excalidraw/components/Button.d.ts +17 -0
  195. package/dist/packages/excalidraw/components/Button.js +14 -0
  196. package/dist/packages/excalidraw/components/Button.scss +7 -0
  197. package/{types/components/ButtonIconSelect.d.ts → dist/packages/excalidraw/components/ButtonIconCycle.d.ts} +2 -2
  198. package/dist/packages/excalidraw/components/ButtonIconCycle.js +11 -0
  199. package/dist/packages/excalidraw/components/ButtonIconSelect.d.ts +20 -0
  200. package/dist/packages/excalidraw/components/ButtonIconSelect.js +6 -0
  201. package/dist/packages/excalidraw/components/ButtonSelect.d.ts +10 -0
  202. package/dist/packages/excalidraw/components/ButtonSelect.js +3 -0
  203. package/dist/packages/excalidraw/components/Card.js +14 -0
  204. package/dist/packages/excalidraw/components/Card.scss +57 -0
  205. package/dist/packages/excalidraw/components/CheckboxItem.js +10 -0
  206. package/dist/packages/excalidraw/components/CheckboxItem.scss +91 -0
  207. package/dist/packages/excalidraw/components/ColorPicker/ColorInput.d.ts +10 -0
  208. package/dist/packages/excalidraw/components/ColorPicker/ColorInput.js +67 -0
  209. package/dist/packages/excalidraw/components/ColorPicker/ColorPicker.d.ts +20 -0
  210. package/dist/packages/excalidraw/components/ColorPicker/ColorPicker.js +138 -0
  211. package/dist/packages/excalidraw/components/ColorPicker/ColorPicker.scss +441 -0
  212. package/dist/packages/excalidraw/components/ColorPicker/CustomColorList.d.ts +9 -0
  213. package/dist/packages/excalidraw/components/ColorPicker/CustomColorList.js +24 -0
  214. package/dist/packages/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +9 -0
  215. package/dist/packages/excalidraw/components/ColorPicker/HotkeyLabel.js +8 -0
  216. package/dist/packages/excalidraw/components/ColorPicker/Picker.d.ts +18 -0
  217. package/dist/packages/excalidraw/components/ColorPicker/Picker.js +86 -0
  218. package/dist/packages/excalidraw/components/ColorPicker/PickerColorList.d.ts +11 -0
  219. package/dist/packages/excalidraw/components/ColorPicker/PickerColorList.js +33 -0
  220. package/dist/packages/excalidraw/components/ColorPicker/PickerHeading.d.ts +5 -0
  221. package/dist/packages/excalidraw/components/ColorPicker/PickerHeading.js +3 -0
  222. package/dist/packages/excalidraw/components/ColorPicker/ShadeList.d.ts +9 -0
  223. package/dist/packages/excalidraw/components/ColorPicker/ShadeList.js +44 -0
  224. package/dist/packages/excalidraw/components/ColorPicker/TopPicks.d.ts +10 -0
  225. package/dist/packages/excalidraw/components/ColorPicker/TopPicks.js +27 -0
  226. package/dist/packages/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +21 -0
  227. package/dist/packages/excalidraw/components/ColorPicker/colorPickerUtils.js +83 -0
  228. package/dist/packages/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +21 -0
  229. package/dist/packages/excalidraw/components/ColorPicker/keyboardNavHandlers.js +174 -0
  230. package/{types → dist/packages/excalidraw}/components/ConfirmDialog.d.ts +1 -0
  231. package/dist/packages/excalidraw/components/ConfirmDialog.js +27 -0
  232. package/dist/packages/excalidraw/components/ConfirmDialog.scss +11 -0
  233. package/dist/packages/excalidraw/components/ContextMenu.d.ts +16 -0
  234. package/dist/packages/excalidraw/components/ContextMenu.js +56 -0
  235. package/dist/packages/excalidraw/components/ContextMenu.scss +98 -0
  236. package/{types → dist/packages/excalidraw}/components/DarkModeToggle.d.ts +1 -0
  237. package/dist/packages/excalidraw/components/DarkModeToggle.js +16 -0
  238. package/dist/packages/excalidraw/components/DefaultSidebar.d.ts +30 -0
  239. package/dist/packages/excalidraw/components/DefaultSidebar.js +48 -0
  240. package/{types → dist/packages/excalidraw}/components/Dialog.d.ts +3 -4
  241. package/dist/packages/excalidraw/components/Dialog.js +74 -0
  242. package/dist/packages/excalidraw/components/Dialog.scss +48 -0
  243. package/dist/packages/excalidraw/components/DialogActionButton.d.ts +10 -0
  244. package/dist/packages/excalidraw/components/DialogActionButton.js +9 -0
  245. package/dist/packages/excalidraw/components/DialogActionButton.scss +47 -0
  246. package/dist/packages/excalidraw/components/ErrorDialog.d.ts +5 -0
  247. package/dist/packages/excalidraw/components/ErrorDialog.js +18 -0
  248. package/dist/packages/excalidraw/components/ExcalidrawLogo.d.ts +16 -0
  249. package/dist/packages/excalidraw/components/ExcalidrawLogo.js +7 -0
  250. package/dist/packages/excalidraw/components/ExcalidrawLogo.scss +73 -0
  251. package/dist/packages/excalidraw/components/ExportDialog.scss +129 -0
  252. package/dist/packages/excalidraw/components/EyeDropper.d.ts +28 -0
  253. package/dist/packages/excalidraw/components/EyeDropper.js +130 -0
  254. package/dist/packages/excalidraw/components/EyeDropper.scss +48 -0
  255. package/dist/packages/excalidraw/components/FilledButton.d.ts +17 -0
  256. package/dist/packages/excalidraw/components/FilledButton.js +7 -0
  257. package/dist/packages/excalidraw/components/FilledButton.scss +191 -0
  258. package/{types → dist/packages/excalidraw}/components/FixedSideContainer.d.ts +1 -1
  259. package/dist/packages/excalidraw/components/FixedSideContainer.js +4 -0
  260. package/dist/packages/excalidraw/components/FixedSideContainer.scss +40 -0
  261. package/dist/packages/excalidraw/components/FollowMode/FollowMode.d.ts +11 -0
  262. package/dist/packages/excalidraw/components/FollowMode/FollowMode.js +7 -0
  263. package/dist/packages/excalidraw/components/FollowMode/FollowMode.scss +59 -0
  264. package/dist/packages/excalidraw/components/HandButton.d.ts +11 -0
  265. package/dist/packages/excalidraw/components/HandButton.js +9 -0
  266. package/dist/packages/excalidraw/components/HelpButton.d.ts +8 -0
  267. package/dist/packages/excalidraw/components/HelpButton.js +4 -0
  268. package/{types → dist/packages/excalidraw}/components/HelpDialog.d.ts +1 -0
  269. package/dist/packages/excalidraw/components/HelpDialog.js +79 -0
  270. package/dist/packages/excalidraw/components/HelpDialog.scss +130 -0
  271. package/dist/packages/excalidraw/components/HintViewer.d.ts +11 -0
  272. package/dist/packages/excalidraw/components/HintViewer.js +97 -0
  273. package/dist/packages/excalidraw/components/HintViewer.scss +37 -0
  274. package/dist/packages/excalidraw/components/HomeButton.d.ts +5 -0
  275. package/dist/packages/excalidraw/components/HomeButton.js +8 -0
  276. package/dist/packages/excalidraw/components/HomeButton.scss +33 -0
  277. package/{types → dist/packages/excalidraw}/components/IconPicker.d.ts +4 -2
  278. package/dist/packages/excalidraw/components/IconPicker.js +99 -0
  279. package/dist/packages/excalidraw/components/IconPicker.scss +143 -0
  280. package/dist/packages/excalidraw/components/ImageExportDialog.d.ts +14 -0
  281. package/dist/packages/excalidraw/components/ImageExportDialog.js +133 -0
  282. package/dist/packages/excalidraw/components/ImageExportDialog.scss +173 -0
  283. package/{types → dist/packages/excalidraw}/components/InitializeApp.d.ts +2 -0
  284. package/dist/packages/excalidraw/components/InitializeApp.js +16 -0
  285. package/dist/packages/excalidraw/components/InlineIcon.d.ts +4 -0
  286. package/dist/packages/excalidraw/components/InlineIcon.js +10 -0
  287. package/{types → dist/packages/excalidraw}/components/Island.d.ts +1 -1
  288. package/dist/packages/excalidraw/components/Island.js +5 -0
  289. package/dist/packages/excalidraw/components/Island.scss +16 -0
  290. package/dist/packages/excalidraw/components/JSONExportDialog.d.ts +15 -0
  291. package/dist/packages/excalidraw/components/JSONExportDialog.js +35 -0
  292. package/dist/packages/excalidraw/components/LaserTool/LaserPathManager.d.ts +28 -0
  293. package/dist/packages/excalidraw/components/LaserTool/LaserPathManager.js +228 -0
  294. package/dist/packages/excalidraw/components/LaserTool/LaserPointerButton.d.ts +11 -0
  295. package/dist/packages/excalidraw/components/LaserTool/LaserPointerButton.js +10 -0
  296. package/dist/packages/excalidraw/components/LaserTool/LaserTool.d.ts +8 -0
  297. package/dist/packages/excalidraw/components/LaserTool/LaserTool.js +15 -0
  298. package/dist/packages/excalidraw/components/LaserTool/LaserToolOverlay.scss +20 -0
  299. package/dist/packages/excalidraw/components/LayerUI.d.ts +36 -0
  300. package/dist/packages/excalidraw/components/LayerUI.js +192 -0
  301. package/dist/packages/excalidraw/components/LayerUI.scss +112 -0
  302. package/dist/packages/excalidraw/components/LibraryMenu.d.ts +24 -0
  303. package/dist/packages/excalidraw/components/LibraryMenu.js +99 -0
  304. package/dist/packages/excalidraw/components/LibraryMenu.scss +150 -0
  305. package/dist/packages/excalidraw/components/LibraryMenuBrowseButton.d.ts +8 -0
  306. package/dist/packages/excalidraw/components/LibraryMenuBrowseButton.js +8 -0
  307. package/dist/packages/excalidraw/components/LibraryMenuControlButtons.d.ts +10 -0
  308. package/dist/packages/excalidraw/components/LibraryMenuControlButtons.js +6 -0
  309. package/dist/packages/excalidraw/components/LibraryMenuHeaderContent.d.ts +18 -0
  310. package/dist/packages/excalidraw/components/LibraryMenuHeaderContent.js +126 -0
  311. package/dist/packages/excalidraw/components/LibraryMenuItems.d.ts +15 -0
  312. package/dist/packages/excalidraw/components/LibraryMenuItems.js +138 -0
  313. package/dist/packages/excalidraw/components/LibraryMenuItems.scss +99 -0
  314. package/dist/packages/excalidraw/components/LibraryMenuSection.d.ts +22 -0
  315. package/dist/packages/excalidraw/components/LibraryMenuSection.js +21 -0
  316. package/dist/packages/excalidraw/components/LibraryUnit.d.ts +15 -0
  317. package/dist/packages/excalidraw/components/LibraryUnit.js +52 -0
  318. package/dist/packages/excalidraw/components/LibraryUnit.scss +185 -0
  319. package/{types → dist/packages/excalidraw}/components/LoadingMessage.d.ts +2 -0
  320. package/dist/packages/excalidraw/components/LoadingMessage.js +24 -0
  321. package/{types → dist/packages/excalidraw}/components/LockButton.d.ts +2 -2
  322. package/dist/packages/excalidraw/components/LockButton.js +14 -0
  323. package/dist/packages/excalidraw/components/MagicButton.d.ts +10 -0
  324. package/dist/packages/excalidraw/components/MagicButton.js +9 -0
  325. package/dist/packages/excalidraw/components/MagicSettings.d.ts +9 -0
  326. package/dist/packages/excalidraw/components/MagicSettings.js +46 -0
  327. package/dist/packages/excalidraw/components/MagicSettings.scss +18 -0
  328. package/dist/packages/excalidraw/components/Menu.scss +86 -0
  329. package/dist/packages/excalidraw/components/MobileMenu.d.ts +25 -0
  330. package/dist/packages/excalidraw/components/MobileMenu.js +46 -0
  331. package/{types → dist/packages/excalidraw}/components/Modal.d.ts +1 -1
  332. package/dist/packages/excalidraw/components/Modal.js +23 -0
  333. package/dist/packages/excalidraw/components/Modal.scss +121 -0
  334. package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -0
  335. package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirm.js +31 -0
  336. package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirm.scss +126 -0
  337. package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -0
  338. package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.js +32 -0
  339. package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -0
  340. package/dist/packages/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.js +19 -0
  341. package/dist/packages/excalidraw/components/Paragraph.d.ts +5 -0
  342. package/dist/packages/excalidraw/components/Paragraph.js +4 -0
  343. package/dist/packages/excalidraw/components/PasteChartDialog.d.ts +8 -0
  344. package/dist/packages/excalidraw/components/PasteChartDialog.js +63 -0
  345. package/dist/packages/excalidraw/components/PasteChartDialog.scss +46 -0
  346. package/{types → dist/packages/excalidraw}/components/PenModeButton.d.ts +2 -1
  347. package/dist/packages/excalidraw/components/PenModeButton.js +13 -0
  348. package/{types → dist/packages/excalidraw}/components/Popover.d.ts +1 -1
  349. package/dist/packages/excalidraw/components/Popover.js +111 -0
  350. package/dist/packages/excalidraw/components/Popover.scss +8 -0
  351. package/{types → dist/packages/excalidraw}/components/ProjectName.d.ts +3 -1
  352. package/dist/packages/excalidraw/components/ProjectName.js +30 -0
  353. package/dist/packages/excalidraw/components/ProjectName.scss +25 -0
  354. package/{types → dist/packages/excalidraw}/components/PublishLibrary.d.ts +3 -2
  355. package/dist/packages/excalidraw/components/PublishLibrary.js +220 -0
  356. package/dist/packages/excalidraw/components/PublishLibrary.scss +172 -0
  357. package/dist/packages/excalidraw/components/RadioGroup.d.ts +13 -0
  358. package/dist/packages/excalidraw/components/RadioGroup.js +8 -0
  359. package/dist/packages/excalidraw/components/RadioGroup.scss +91 -0
  360. package/{types → dist/packages/excalidraw}/components/Section.d.ts +1 -1
  361. package/dist/packages/excalidraw/components/Section.js +8 -0
  362. package/dist/packages/excalidraw/components/ShareableLinkDialog.d.ts +8 -0
  363. package/dist/packages/excalidraw/components/ShareableLinkDialog.js +33 -0
  364. package/dist/packages/excalidraw/components/ShareableLinkDialog.scss +91 -0
  365. package/dist/packages/excalidraw/components/Sidebar/Sidebar.d.ts +76 -0
  366. package/dist/packages/excalidraw/components/Sidebar/Sidebar.js +145 -0
  367. package/dist/packages/excalidraw/components/Sidebar/Sidebar.scss +176 -0
  368. package/dist/packages/excalidraw/components/Sidebar/SidebarHeader.d.ts +8 -0
  369. package/dist/packages/excalidraw/components/Sidebar/SidebarHeader.js +16 -0
  370. package/dist/packages/excalidraw/components/Sidebar/SidebarTab.d.ts +9 -0
  371. package/dist/packages/excalidraw/components/Sidebar/SidebarTab.js +6 -0
  372. package/dist/packages/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +10 -0
  373. package/dist/packages/excalidraw/components/Sidebar/SidebarTabTrigger.js +6 -0
  374. package/dist/packages/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +7 -0
  375. package/dist/packages/excalidraw/components/Sidebar/SidebarTabTriggers.js +6 -0
  376. package/dist/packages/excalidraw/components/Sidebar/SidebarTabs.d.ts +7 -0
  377. package/dist/packages/excalidraw/components/Sidebar/SidebarTabs.js +17 -0
  378. package/dist/packages/excalidraw/components/Sidebar/SidebarTrigger.d.ts +7 -0
  379. package/dist/packages/excalidraw/components/Sidebar/SidebarTrigger.js +18 -0
  380. package/dist/packages/excalidraw/components/Sidebar/SidebarTrigger.scss +37 -0
  381. package/dist/packages/excalidraw/components/Sidebar/common.d.ts +33 -0
  382. package/dist/packages/excalidraw/components/Sidebar/common.js +2 -0
  383. package/{types → dist/packages/excalidraw}/components/Spinner.d.ts +3 -1
  384. package/dist/packages/excalidraw/components/Spinner.js +14 -0
  385. package/dist/packages/excalidraw/components/Spinner.scss +49 -0
  386. package/dist/packages/excalidraw/components/Stack.d.ts +16 -0
  387. package/dist/packages/excalidraw/components/Stack.js +24 -0
  388. package/dist/packages/excalidraw/components/Stack.scss +19 -0
  389. package/{types → dist/packages/excalidraw}/components/Stats.d.ts +4 -4
  390. package/dist/packages/excalidraw/components/Stats.js +13 -0
  391. package/dist/packages/excalidraw/components/Stats.scss +54 -0
  392. package/dist/packages/excalidraw/components/Switch.d.ts +10 -0
  393. package/dist/packages/excalidraw/components/Switch.js +10 -0
  394. package/dist/packages/excalidraw/components/Switch.scss +118 -0
  395. package/dist/packages/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +7 -0
  396. package/dist/packages/excalidraw/components/TTDDialog/MermaidToExcalidraw.js +58 -0
  397. package/dist/packages/excalidraw/components/TTDDialog/MermaidToExcalidraw.scss +10 -0
  398. package/dist/packages/excalidraw/components/TTDDialog/TTDDialog.d.ts +30 -0
  399. package/dist/packages/excalidraw/components/TTDDialog/TTDDialog.js +194 -0
  400. package/dist/packages/excalidraw/components/TTDDialog/TTDDialog.scss +315 -0
  401. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +9 -0
  402. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogInput.js +28 -0
  403. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +8 -0
  404. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogOutput.js +8 -0
  405. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +17 -0
  406. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanel.js +11 -0
  407. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
  408. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogPanels.js +4 -0
  409. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +2 -0
  410. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.js +5 -0
  411. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +8 -0
  412. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTab.js +6 -0
  413. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +9 -0
  414. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTrigger.js +6 -0
  415. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +7 -0
  416. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabTriggers.js +6 -0
  417. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +14 -0
  418. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTabs.js +39 -0
  419. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
  420. package/dist/packages/excalidraw/components/TTDDialog/TTDDialogTrigger.js +16 -0
  421. package/dist/packages/excalidraw/components/TTDDialog/common.d.ts +33 -0
  422. package/dist/packages/excalidraw/components/TTDDialog/common.js +92 -0
  423. package/dist/packages/excalidraw/components/TextField.d.ts +16 -0
  424. package/dist/packages/excalidraw/components/TextField.js +25 -0
  425. package/dist/packages/excalidraw/components/TextField.scss +109 -0
  426. package/dist/packages/excalidraw/components/TextInput.scss +7 -0
  427. package/{types → dist/packages/excalidraw}/components/Toast.d.ts +1 -0
  428. package/dist/packages/excalidraw/components/Toast.js +30 -0
  429. package/dist/packages/excalidraw/components/Toast.scss +49 -0
  430. package/{types → dist/packages/excalidraw}/components/ToolButton.d.ts +6 -5
  431. package/dist/packages/excalidraw/components/ToolButton.js +72 -0
  432. package/dist/packages/excalidraw/components/ToolIcon.scss +184 -0
  433. package/dist/packages/excalidraw/components/Toolbar.scss +50 -0
  434. package/{types → dist/packages/excalidraw}/components/Tooltip.d.ts +3 -2
  435. package/dist/packages/excalidraw/components/Tooltip.js +60 -0
  436. package/dist/packages/excalidraw/components/Tooltip.scss +47 -0
  437. package/dist/packages/excalidraw/components/Trans.d.ts +9 -0
  438. package/dist/packages/excalidraw/components/Trans.js +139 -0
  439. package/dist/packages/excalidraw/components/UserList.d.ts +22 -0
  440. package/dist/packages/excalidraw/components/UserList.js +96 -0
  441. package/dist/packages/excalidraw/components/UserList.scss +136 -0
  442. package/dist/packages/excalidraw/components/canvases/InteractiveCanvas.d.ts +27 -0
  443. package/dist/packages/excalidraw/components/canvases/InteractiveCanvas.js +123 -0
  444. package/dist/packages/excalidraw/components/canvases/StaticCanvas.d.ts +18 -0
  445. package/dist/packages/excalidraw/components/canvases/StaticCanvas.js +84 -0
  446. package/dist/packages/excalidraw/components/canvases/index.d.ts +3 -0
  447. package/dist/packages/excalidraw/components/canvases/index.js +3 -0
  448. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +76 -0
  449. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenu.js +24 -0
  450. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenu.scss +148 -0
  451. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +15 -0
  452. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuContent.js +21 -0
  453. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +11 -0
  454. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuGroup.js +6 -0
  455. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +25 -0
  456. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItem.js +23 -0
  457. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +7 -0
  458. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemContent.js +7 -0
  459. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +7 -0
  460. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.js +5 -0
  461. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +14 -0
  462. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuItemLink.js +9 -0
  463. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +6 -0
  464. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuSeparator.js +8 -0
  465. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +11 -0
  466. package/dist/packages/excalidraw/components/dropdownMenu/DropdownMenuTrigger.js +12 -0
  467. package/dist/packages/excalidraw/components/dropdownMenu/common.d.ts +6 -0
  468. package/dist/packages/excalidraw/components/dropdownMenu/common.js +20 -0
  469. package/dist/packages/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +3 -0
  470. package/dist/packages/excalidraw/components/dropdownMenu/dropdownMenuUtils.js +27 -0
  471. package/dist/packages/excalidraw/components/footer/Footer.d.ts +13 -0
  472. package/dist/packages/excalidraw/components/footer/Footer.js +25 -0
  473. package/dist/packages/excalidraw/components/footer/FooterCenter.d.ts +9 -0
  474. package/dist/packages/excalidraw/components/footer/FooterCenter.js +14 -0
  475. package/dist/packages/excalidraw/components/footer/FooterCenter.scss +11 -0
  476. package/dist/packages/excalidraw/components/hoc/withInternalFallback.d.ts +4 -0
  477. package/dist/packages/excalidraw/components/hoc/withInternalFallback.js +57 -0
  478. package/dist/packages/excalidraw/components/icons.d.ts +175 -0
  479. package/dist/packages/excalidraw/components/icons.js +220 -0
  480. package/dist/packages/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +10 -0
  481. package/dist/packages/excalidraw/components/live-collaboration/LiveCollaborationTrigger.js +13 -0
  482. package/dist/packages/excalidraw/components/live-collaboration/LiveCollaborationTrigger.scss +72 -0
  483. package/dist/packages/excalidraw/components/main-menu/DefaultItems.d.ts +48 -0
  484. package/dist/packages/excalidraw/components/main-menu/DefaultItems.js +119 -0
  485. package/dist/packages/excalidraw/components/main-menu/DefaultItems.scss +21 -0
  486. package/dist/packages/excalidraw/components/main-menu/MainMenu.d.ts +70 -0
  487. package/dist/packages/excalidraw/components/main-menu/MainMenu.js +36 -0
  488. package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +58 -0
  489. package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Center.js +69 -0
  490. package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +20 -0
  491. package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.Hints.js +20 -0
  492. package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +85 -0
  493. package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.js +11 -0
  494. package/dist/packages/excalidraw/components/welcome-screen/WelcomeScreen.scss +285 -0
  495. package/dist/packages/excalidraw/constants.d.ts +273 -0
  496. package/dist/packages/excalidraw/constants.js +317 -0
  497. package/dist/packages/excalidraw/context/tunnels.d.ts +20 -0
  498. package/dist/packages/excalidraw/context/tunnels.js +21 -0
  499. package/dist/packages/excalidraw/context/ui-appState.d.ts +4 -0
  500. package/dist/packages/excalidraw/context/ui-appState.js +3 -0
  501. package/dist/packages/excalidraw/css/app.scss +39 -0
  502. package/dist/packages/excalidraw/css/styles.scss +790 -0
  503. package/dist/packages/excalidraw/css/theme.scss +255 -0
  504. package/dist/packages/excalidraw/css/variables.module.scss +174 -0
  505. package/dist/packages/excalidraw/cursor.d.ts +5 -0
  506. package/dist/packages/excalidraw/cursor.js +89 -0
  507. package/dist/packages/excalidraw/data/EditorLocalStorage.d.ts +8 -0
  508. package/dist/packages/excalidraw/data/EditorLocalStorage.js +42 -0
  509. package/dist/packages/excalidraw/data/ai/types.d.ts +242 -0
  510. package/{types → dist/packages/excalidraw}/data/blob.d.ts +7 -5
  511. package/dist/packages/excalidraw/data/blob.js +378 -0
  512. package/{types → dist/packages/excalidraw}/data/encode.d.ts +1 -1
  513. package/dist/packages/excalidraw/data/encode.js +231 -0
  514. package/dist/packages/excalidraw/data/encryption.js +53 -0
  515. package/{types → dist/packages/excalidraw}/data/filesystem.d.ts +2 -1
  516. package/dist/packages/excalidraw/data/filesystem.js +65 -0
  517. package/dist/packages/excalidraw/data/image.js +91 -0
  518. package/dist/packages/excalidraw/data/index.d.ts +21 -0
  519. package/dist/packages/excalidraw/data/index.js +129 -0
  520. package/dist/packages/excalidraw/data/json.js +93 -0
  521. package/dist/packages/excalidraw/data/library.d.ts +54 -0
  522. package/dist/packages/excalidraw/data/library.js +376 -0
  523. package/dist/packages/excalidraw/data/magic.d.ts +23 -0
  524. package/dist/packages/excalidraw/data/magic.js +73 -0
  525. package/dist/packages/excalidraw/data/resave.js +23 -0
  526. package/{types → dist/packages/excalidraw}/data/restore.d.ts +10 -4
  527. package/dist/packages/excalidraw/data/restore.js +438 -0
  528. package/dist/packages/excalidraw/data/transform.d.ts +81 -0
  529. package/dist/packages/excalidraw/data/transform.js +442 -0
  530. package/{types → dist/packages/excalidraw}/data/types.d.ts +14 -1
  531. package/dist/packages/excalidraw/data/types.js +1 -0
  532. package/dist/packages/excalidraw/data/url.d.ts +7 -0
  533. package/dist/packages/excalidraw/data/url.js +30 -0
  534. package/dist/packages/excalidraw/distribute.js +58 -0
  535. package/dist/packages/excalidraw/element/ElementCanvasButtons.d.ts +7 -0
  536. package/dist/packages/excalidraw/element/ElementCanvasButtons.js +31 -0
  537. package/dist/packages/excalidraw/element/ElementCanvasButtons.scss +14 -0
  538. package/{types → dist/packages/excalidraw}/element/Hyperlink.d.ts +86 -35
  539. package/dist/packages/excalidraw/element/Hyperlink.js +350 -0
  540. package/dist/packages/excalidraw/element/Hyperlink.scss +70 -0
  541. package/{types → dist/packages/excalidraw}/element/binding.d.ts +4 -3
  542. package/dist/packages/excalidraw/element/binding.js +412 -0
  543. package/dist/packages/excalidraw/element/bounds.d.ts +75 -0
  544. package/dist/packages/excalidraw/element/bounds.js +613 -0
  545. package/{types → dist/packages/excalidraw}/element/collision.d.ts +7 -7
  546. package/dist/packages/excalidraw/element/collision.js +727 -0
  547. package/{types → dist/packages/excalidraw}/element/dragElements.d.ts +12 -2
  548. package/dist/packages/excalidraw/element/dragElements.js +119 -0
  549. package/dist/packages/excalidraw/element/embeddable.d.ts +168 -0
  550. package/dist/packages/excalidraw/element/embeddable.js +305 -0
  551. package/{types → dist/packages/excalidraw}/element/image.d.ts +11 -1
  552. package/dist/packages/excalidraw/element/image.js +91 -0
  553. package/{types → dist/packages/excalidraw}/element/index.d.ts +2 -2
  554. package/dist/packages/excalidraw/element/index.js +24 -0
  555. package/{types → dist/packages/excalidraw}/element/linearElementEditor.d.ts +123 -35
  556. package/dist/packages/excalidraw/element/linearElementEditor.js +867 -0
  557. package/{types → dist/packages/excalidraw}/element/mutateElement.d.ts +3 -2
  558. package/dist/packages/excalidraw/element/mutateElement.js +112 -0
  559. package/dist/packages/excalidraw/element/newElement.d.ts +104 -0
  560. package/dist/packages/excalidraw/element/newElement.js +389 -0
  561. package/{types → dist/packages/excalidraw}/element/resizeElements.d.ts +3 -3
  562. package/dist/packages/excalidraw/element/resizeElements.js +597 -0
  563. package/{types → dist/packages/excalidraw}/element/resizeTest.d.ts +2 -1
  564. package/dist/packages/excalidraw/element/resizeTest.js +95 -0
  565. package/dist/packages/excalidraw/element/showSelectedShapeActions.d.ts +3 -0
  566. package/dist/packages/excalidraw/element/showSelectedShapeActions.js +9 -0
  567. package/{types → dist/packages/excalidraw}/element/sizeHelpers.d.ts +8 -1
  568. package/dist/packages/excalidraw/element/sizeHelpers.js +131 -0
  569. package/dist/packages/excalidraw/element/sortElements.d.ts +2 -0
  570. package/dist/packages/excalidraw/element/sortElements.js +104 -0
  571. package/dist/packages/excalidraw/element/textElement.d.ts +78 -0
  572. package/dist/packages/excalidraw/element/textElement.js +716 -0
  573. package/{types → dist/packages/excalidraw}/element/textWysiwyg.d.ts +7 -2
  574. package/dist/packages/excalidraw/element/textWysiwyg.js +500 -0
  575. package/{types → dist/packages/excalidraw}/element/transformHandles.d.ts +16 -9
  576. package/dist/packages/excalidraw/element/transformHandles.js +155 -0
  577. package/dist/packages/excalidraw/element/typeChecks.d.ts +32 -0
  578. package/dist/packages/excalidraw/element/typeChecks.js +141 -0
  579. package/dist/packages/excalidraw/element/types.d.ts +192 -0
  580. package/dist/packages/excalidraw/element/types.js +1 -0
  581. package/{types → dist/packages/excalidraw}/emitter.d.ts +1 -2
  582. package/dist/packages/excalidraw/emitter.js +36 -0
  583. package/dist/packages/excalidraw/errors.d.ts +13 -0
  584. package/dist/packages/excalidraw/errors.js +20 -0
  585. package/dist/packages/excalidraw/frame.d.ts +57 -0
  586. package/dist/packages/excalidraw/frame.js +373 -0
  587. package/{types → dist/packages/excalidraw}/ga.d.ts +5 -5
  588. package/dist/packages/excalidraw/ga.js +268 -0
  589. package/dist/packages/excalidraw/gadirections.js +18 -0
  590. package/dist/packages/excalidraw/galines.js +32 -0
  591. package/dist/packages/excalidraw/gapoints.js +30 -0
  592. package/dist/packages/excalidraw/gatransforms.js +23 -0
  593. package/dist/packages/excalidraw/gesture.js +9 -0
  594. package/dist/packages/excalidraw/groups.d.ts +31 -0
  595. package/dist/packages/excalidraw/groups.js +225 -0
  596. package/{types → dist/packages/excalidraw}/history.d.ts +3 -3
  597. package/dist/packages/excalidraw/history.js +190 -0
  598. package/dist/packages/excalidraw/hooks/useCallbackRefState.js +6 -0
  599. package/dist/packages/excalidraw/hooks/useCreatePortalContainer.d.ts +4 -0
  600. package/dist/packages/excalidraw/hooks/useCreatePortalContainer.js +32 -0
  601. package/dist/packages/excalidraw/hooks/useLibraryItemSvg.d.ts +11 -0
  602. package/dist/packages/excalidraw/hooks/useLibraryItemSvg.js +66 -0
  603. package/dist/packages/excalidraw/hooks/useOutsideClick.d.ts +20 -0
  604. package/dist/packages/excalidraw/hooks/useOutsideClick.js +67 -0
  605. package/dist/packages/excalidraw/hooks/useScrollPosition.d.ts +2 -0
  606. package/dist/packages/excalidraw/hooks/useScrollPosition.js +23 -0
  607. package/dist/packages/excalidraw/hooks/useStable.d.ts +1 -0
  608. package/dist/packages/excalidraw/hooks/useStable.js +6 -0
  609. package/dist/packages/excalidraw/hooks/useTransition.d.ts +2 -0
  610. package/dist/packages/excalidraw/hooks/useTransition.js +7 -0
  611. package/dist/packages/excalidraw/i18n.d.ts +24 -0
  612. package/dist/packages/excalidraw/i18n.js +137 -0
  613. package/dist/packages/excalidraw/index-node.d.ts +1 -0
  614. package/dist/packages/excalidraw/index-node.js +77 -0
  615. package/dist/packages/excalidraw/index.d.ts +42 -0
  616. package/dist/packages/excalidraw/index.js +124 -0
  617. package/dist/packages/excalidraw/jotai.d.ts +34 -0
  618. package/dist/packages/excalidraw/jotai.js +18 -0
  619. package/{types → dist/packages/excalidraw}/keys.d.ts +20 -7
  620. package/dist/packages/excalidraw/keys.js +84 -0
  621. package/dist/packages/excalidraw/locales/ar-SA.json +525 -0
  622. package/dist/packages/excalidraw/locales/az-AZ.json +525 -0
  623. package/dist/packages/excalidraw/locales/bg-BG.json +525 -0
  624. package/dist/packages/excalidraw/locales/bn-BD.json +525 -0
  625. package/dist/packages/excalidraw/locales/ca-ES.json +525 -0
  626. package/dist/packages/excalidraw/locales/cs-CZ.json +525 -0
  627. package/dist/packages/excalidraw/locales/da-DK.json +525 -0
  628. package/dist/packages/excalidraw/locales/de-DE.json +525 -0
  629. package/dist/packages/excalidraw/locales/el-GR.json +525 -0
  630. package/dist/packages/excalidraw/locales/en.json +537 -0
  631. package/dist/packages/excalidraw/locales/es-ES.json +525 -0
  632. package/dist/packages/excalidraw/locales/eu-ES.json +525 -0
  633. package/dist/packages/excalidraw/locales/fa-IR.json +525 -0
  634. package/dist/packages/excalidraw/locales/fi-FI.json +525 -0
  635. package/dist/packages/excalidraw/locales/fr-FR.json +525 -0
  636. package/dist/packages/excalidraw/locales/gl-ES.json +525 -0
  637. package/dist/packages/excalidraw/locales/he-IL.json +525 -0
  638. package/dist/packages/excalidraw/locales/hi-IN.json +525 -0
  639. package/dist/packages/excalidraw/locales/hu-HU.json +525 -0
  640. package/dist/packages/excalidraw/locales/id-ID.json +525 -0
  641. package/dist/packages/excalidraw/locales/it-IT.json +525 -0
  642. package/dist/packages/excalidraw/locales/ja-JP.json +525 -0
  643. package/dist/packages/excalidraw/locales/kaa.json +525 -0
  644. package/dist/packages/excalidraw/locales/kab-KAB.json +525 -0
  645. package/dist/packages/excalidraw/locales/kk-KZ.json +525 -0
  646. package/dist/packages/excalidraw/locales/km-KH.json +525 -0
  647. package/dist/packages/excalidraw/locales/ko-KR.json +525 -0
  648. package/dist/packages/excalidraw/locales/ku-TR.json +525 -0
  649. package/dist/packages/excalidraw/locales/lt-LT.json +525 -0
  650. package/dist/packages/excalidraw/locales/lv-LV.json +525 -0
  651. package/dist/packages/excalidraw/locales/mr-IN.json +525 -0
  652. package/dist/packages/excalidraw/locales/my-MM.json +525 -0
  653. package/dist/packages/excalidraw/locales/nb-NO.json +525 -0
  654. package/dist/packages/excalidraw/locales/nl-NL.json +525 -0
  655. package/dist/packages/excalidraw/locales/nn-NO.json +525 -0
  656. package/dist/packages/excalidraw/locales/oc-FR.json +525 -0
  657. package/dist/packages/excalidraw/locales/pa-IN.json +525 -0
  658. package/dist/packages/excalidraw/locales/percentages.json +56 -0
  659. package/dist/packages/excalidraw/locales/pl-PL.json +525 -0
  660. package/dist/packages/excalidraw/locales/pt-BR.json +525 -0
  661. package/dist/packages/excalidraw/locales/pt-PT.json +525 -0
  662. package/dist/packages/excalidraw/locales/ro-RO.json +525 -0
  663. package/dist/packages/excalidraw/locales/ru-RU.json +525 -0
  664. package/dist/packages/excalidraw/locales/si-LK.json +525 -0
  665. package/dist/packages/excalidraw/locales/sk-SK.json +525 -0
  666. package/dist/packages/excalidraw/locales/sl-SI.json +525 -0
  667. package/dist/packages/excalidraw/locales/sv-SE.json +525 -0
  668. package/dist/packages/excalidraw/locales/ta-IN.json +525 -0
  669. package/dist/packages/excalidraw/locales/th-TH.json +525 -0
  670. package/dist/packages/excalidraw/locales/tr-TR.json +525 -0
  671. package/dist/packages/excalidraw/locales/uk-UA.json +525 -0
  672. package/dist/packages/excalidraw/locales/vi-VN.json +525 -0
  673. package/dist/packages/excalidraw/locales/zh-CN.json +525 -0
  674. package/dist/packages/excalidraw/locales/zh-HK.json +525 -0
  675. package/dist/packages/excalidraw/locales/zh-TW.json +525 -0
  676. package/dist/packages/excalidraw/math.d.ts +33 -0
  677. package/dist/packages/excalidraw/math.js +364 -0
  678. package/dist/packages/excalidraw/points.js +38 -0
  679. package/dist/packages/excalidraw/polyfill.js +32 -0
  680. package/dist/packages/excalidraw/random.js +11 -0
  681. package/dist/packages/excalidraw/renderer/renderElement.d.ts +26 -0
  682. package/dist/packages/excalidraw/renderer/renderElement.js +875 -0
  683. package/dist/packages/excalidraw/renderer/renderScene.d.ts +25 -0
  684. package/dist/packages/excalidraw/renderer/renderScene.js +860 -0
  685. package/dist/packages/excalidraw/renderer/renderSnaps.d.ts +2 -0
  686. package/dist/packages/excalidraw/renderer/renderSnaps.js +114 -0
  687. package/{types → dist/packages/excalidraw}/renderer/roundRect.d.ts +1 -1
  688. package/dist/packages/excalidraw/renderer/roundRect.js +28 -0
  689. package/dist/packages/excalidraw/scene/Fonts.d.ts +21 -0
  690. package/dist/packages/excalidraw/scene/Fonts.js +71 -0
  691. package/dist/packages/excalidraw/scene/Renderer.d.ts +25 -0
  692. package/dist/packages/excalidraw/scene/Renderer.js +65 -0
  693. package/dist/packages/excalidraw/scene/Scene.d.ts +67 -0
  694. package/dist/packages/excalidraw/scene/Scene.js +230 -0
  695. package/dist/packages/excalidraw/scene/Shape.d.ts +15 -0
  696. package/dist/packages/excalidraw/scene/Shape.js +322 -0
  697. package/dist/packages/excalidraw/scene/ShapeCache.d.ts +24 -0
  698. package/dist/packages/excalidraw/scene/ShapeCache.js +42 -0
  699. package/dist/packages/excalidraw/scene/comparisons.d.ts +10 -0
  700. package/dist/packages/excalidraw/scene/comparisons.js +67 -0
  701. package/dist/packages/excalidraw/scene/export.d.ts +192 -0
  702. package/dist/packages/excalidraw/scene/export.js +482 -0
  703. package/{types → dist/packages/excalidraw}/scene/index.d.ts +1 -1
  704. package/dist/packages/excalidraw/scene/index.js +5 -0
  705. package/{types → dist/packages/excalidraw}/scene/scroll.d.ts +1 -1
  706. package/dist/packages/excalidraw/scene/scroll.js +35 -0
  707. package/{types → dist/packages/excalidraw}/scene/scrollbars.d.ts +2 -6
  708. package/dist/packages/excalidraw/scene/scrollbars.js +85 -0
  709. package/dist/packages/excalidraw/scene/selection.d.ts +32 -0
  710. package/dist/packages/excalidraw/scene/selection.js +134 -0
  711. package/dist/packages/excalidraw/scene/types.d.ts +114 -0
  712. package/dist/packages/excalidraw/scene/types.js +1 -0
  713. package/dist/packages/excalidraw/scene/zoom.js +22 -0
  714. package/dist/packages/excalidraw/shapes.d.ts +63 -0
  715. package/dist/packages/excalidraw/shapes.js +84 -0
  716. package/dist/packages/excalidraw/snapping.d.ts +108 -0
  717. package/dist/packages/excalidraw/snapping.js +838 -0
  718. package/dist/packages/excalidraw/types.d.ts +586 -0
  719. package/dist/packages/excalidraw/types.js +6 -0
  720. package/dist/packages/excalidraw/utility-types.d.ts +25 -0
  721. package/dist/packages/excalidraw/utility-types.js +1 -0
  722. package/{types → dist/packages/excalidraw}/utils.d.ts +90 -13
  723. package/dist/packages/excalidraw/utils.js +668 -0
  724. package/dist/packages/excalidraw/zindex.d.ts +6 -0
  725. package/dist/packages/excalidraw/zindex.js +349 -0
  726. package/dist/packages/utils/bbox.d.ts +11 -0
  727. package/dist/packages/utils/bbox.js +42 -0
  728. package/dist/packages/utils/export.d.ts +40 -0
  729. package/dist/packages/utils/export.js +84 -0
  730. package/dist/packages/utils/withinBounds.d.ts +19 -0
  731. package/dist/packages/utils/withinBounds.js +125 -0
  732. package/dist/public/fonts/Assistant-Bold.woff2 +0 -0
  733. package/dist/public/fonts/Assistant-Medium.woff2 +0 -0
  734. package/dist/public/fonts/Assistant-Regular.woff2 +0 -0
  735. package/dist/public/fonts/Assistant-SemiBold.woff2 +0 -0
  736. package/dist/public/fonts/Cascadia.ttf +0 -0
  737. package/dist/public/fonts/FG_Virgil.ttf +0 -0
  738. package/dist/public/fonts/FG_Virgil.woff2 +0 -0
  739. package/dist/public/fonts/fonts.css +38 -0
  740. package/history.ts +265 -0
  741. package/main.js +7 -4
  742. package/package.json +64 -12
  743. package/dist/excalidraw-assets/Cascadia.woff2 +0 -0
  744. package/dist/excalidraw-assets/Virgil.woff2 +0 -0
  745. package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +0 -2
  746. package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt +0 -12
  747. package/dist/excalidraw-assets-dev/vendor-c0592035c3911af79359.js +0 -98
  748. package/dist/excalidraw.development.js +0 -3597
  749. package/dist/excalidraw.production.min.js +0 -2
  750. package/dist/excalidraw.production.min.js.LICENSE.txt +0 -18
  751. package/types/actions/actionAlign.d.ts +0 -91
  752. package/types/actions/actionBoundText.d.ts +0 -128
  753. package/types/actions/actionCanvas.d.ts +0 -901
  754. package/types/actions/actionClipboard.d.ts +0 -590
  755. package/types/actions/actionDistribute.d.ts +0 -33
  756. package/types/actions/actionGroup.d.ts +0 -45
  757. package/types/actions/actionNavigate.d.ts +0 -13
  758. package/types/actions/actionSelectAll.d.ts +0 -16
  759. package/types/actions/actionToggleLock.d.ts +0 -115
  760. package/types/actions/shortcuts.d.ts +0 -3
  761. package/types/actions/types.d.ts +0 -40
  762. package/types/clients.d.ts +0 -6
  763. package/types/clipboard.d.ts +0 -20
  764. package/types/colors.d.ts +0 -6
  765. package/types/components/Actions.d.ts +0 -23
  766. package/types/components/ActiveFile.d.ts +0 -7
  767. package/types/components/Avatar.d.ts +0 -11
  768. package/types/components/BackgroundPickerAndDarkModeToggle.d.ts +0 -9
  769. package/types/components/ClearCanvas.d.ts +0 -4
  770. package/types/components/CollabButton.d.ts +0 -7
  771. package/types/components/ColorPicker.d.ts +0 -14
  772. package/types/components/ContextMenu.d.ts +0 -28
  773. package/types/components/ErrorDialog.d.ts +0 -4
  774. package/types/components/HelpIcon.d.ts +0 -8
  775. package/types/components/HintViewer.d.ts +0 -10
  776. package/types/components/ImageExportDialog.d.ts +0 -16
  777. package/types/components/JSONExportDialog.d.ts +0 -13
  778. package/types/components/LayerUI.d.ts +0 -38
  779. package/types/components/LibraryButton.d.ts +0 -7
  780. package/types/components/LibraryMenu.d.ts +0 -17
  781. package/types/components/LibraryMenuItems.d.ts +0 -24
  782. package/types/components/LibraryUnit.d.ts +0 -12
  783. package/types/components/MobileMenu.d.ts +0 -29
  784. package/types/components/PasteChartDialog.d.ts +0 -9
  785. package/types/components/SidebarLockButton.d.ts +0 -8
  786. package/types/components/SingleLibraryItem.d.ts +0 -10
  787. package/types/components/Stack.d.ts +0 -15
  788. package/types/components/UserList.d.ts +0 -11
  789. package/types/components/icons.d.ts +0 -180
  790. package/types/constants.d.ts +0 -149
  791. package/types/data/index.d.ts +0 -13
  792. package/types/data/library.d.ts +0 -96
  793. package/types/element/bounds.d.ts +0 -27
  794. package/types/element/newElement.d.ts +0 -50
  795. package/types/element/showSelectedShapeActions.d.ts +0 -3
  796. package/types/element/textElement.d.ts +0 -26
  797. package/types/element/typeChecks.d.ts +0 -17
  798. package/types/element/types.d.ts +0 -133
  799. package/types/errors.d.ts +0 -8
  800. package/types/groups.d.ts +0 -27
  801. package/types/i18n.d.ts +0 -15
  802. package/types/jotai.d.ts +0 -122
  803. package/types/math.d.ts +0 -20
  804. package/types/packages/excalidraw/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.d.ts +0 -0
  805. package/types/packages/excalidraw/dist/excalidraw-assets-dev/vendor-c0592035c3911af79359.d.ts +0 -0
  806. package/types/packages/excalidraw/dist/excalidraw.development.d.ts +0 -2
  807. package/types/packages/excalidraw/dist/excalidraw.production.min.d.ts +0 -1
  808. package/types/packages/excalidraw/entry.d.ts +0 -1
  809. package/types/packages/excalidraw/env.d.ts +0 -1
  810. package/types/packages/excalidraw/example/App.d.ts +0 -7
  811. package/types/packages/excalidraw/example/initialData.d.ts +0 -172
  812. package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +0 -5
  813. package/types/packages/excalidraw/index.d.ts +0 -18
  814. package/types/packages/excalidraw/main.d.ts +0 -2
  815. package/types/packages/excalidraw/webpack.dev-server.config.d.ts +0 -19
  816. package/types/packages/excalidraw/webpack.dev.config.d.ts +0 -79
  817. package/types/packages/excalidraw/webpack.prod.config.d.ts +0 -92
  818. package/types/packages/utils.d.ts +0 -32
  819. package/types/renderer/renderElement.d.ts +0 -35
  820. package/types/renderer/renderScene.d.ts +0 -41
  821. package/types/scene/Scene.d.ts +0 -25
  822. package/types/scene/comparisons.d.ts +0 -11
  823. package/types/scene/export.d.ts +0 -20
  824. package/types/scene/selection.d.ts +0 -11
  825. package/types/scene/types.d.ts +0 -58
  826. package/types/shapes.d.ts +0 -38
  827. package/types/types.d.ts +0 -393
  828. package/types/zindex.d.ts +0 -6
  829. /package/{types → dist/packages/excalidraw}/actions/register.d.ts +0 -0
  830. /package/{types/packages/excalidraw/example/index.d.ts → dist/packages/excalidraw/actions/types.js} +0 -0
  831. /package/{types → dist/packages/excalidraw}/align.d.ts +0 -0
  832. /package/{types → dist/packages/excalidraw}/analytics.d.ts +0 -0
  833. /package/{types → dist/packages/excalidraw}/components/Card.d.ts +0 -0
  834. /package/{types → dist/packages/excalidraw}/components/CheckboxItem.d.ts +0 -0
  835. /package/{types/packages/excalidraw/publicPath.d.ts → dist/packages/excalidraw/data/ai/types.js} +0 -0
  836. /package/{types → dist/packages/excalidraw}/data/encryption.d.ts +0 -0
  837. /package/{types → dist/packages/excalidraw}/data/image.d.ts +0 -0
  838. /package/{types → dist/packages/excalidraw}/data/json.d.ts +0 -0
  839. /package/{types → dist/packages/excalidraw}/data/resave.d.ts +0 -0
  840. /package/{types → dist/packages/excalidraw}/distribute.d.ts +0 -0
  841. /package/{types → dist/packages/excalidraw}/gadirections.d.ts +0 -0
  842. /package/{types → dist/packages/excalidraw}/galines.d.ts +0 -0
  843. /package/{types → dist/packages/excalidraw}/gapoints.d.ts +0 -0
  844. /package/{types → dist/packages/excalidraw}/gatransforms.d.ts +0 -0
  845. /package/{types → dist/packages/excalidraw}/gesture.d.ts +0 -0
  846. /package/{types → dist/packages/excalidraw}/hooks/useCallbackRefState.d.ts +0 -0
  847. /package/{types → dist/packages/excalidraw}/points.d.ts +0 -0
  848. /package/{types → dist/packages/excalidraw}/polyfill.d.ts +0 -0
  849. /package/{types → dist/packages/excalidraw}/random.d.ts +0 -0
  850. /package/{types → dist/packages/excalidraw}/scene/zoom.d.ts +0 -0
  851. /package/dist/{excalidraw-assets-dev → public/fonts}/Cascadia.woff2 +0 -0
  852. /package/dist/{excalidraw-assets-dev → public/fonts}/Virgil.woff2 +0 -0
package/CHANGELOG.md CHANGED
@@ -13,99 +13,87 @@ Please add the latest change on the top under the correct section.
13
13
 
14
14
  ## Unreleased
15
15
 
16
- ### Excalidraw API
17
-
18
- #### Breaking Changes
16
+ - Expose `getVisibleSceneBounds` helper to get scene bounds of visible canvas area. [#7450](https://github.com/excalidraw/excalidraw/pull/7450)
19
17
 
20
- - `setToastMessage` API is now renamed to `setToast` API and the function signature is also updated [#5427](https://github.com/excalidraw/excalidraw/pull/5427). You can also pass `duration` and `closable` attributes along with `message`.
18
+ ### Breaking Changes
21
19
 
22
- ## 0.12.0 (2022-07-07)
20
+ - `appState.openDialog` type was changed from `null | string` to `null | { name: string }`. [#7336](https://github.com/excalidraw/excalidraw/pull/7336)
23
21
 
24
- ### Excalidraw API
22
+ ## 0.17.1 (2023-11-28)
25
23
 
26
- #### Features
24
+ ### Fixes
27
25
 
28
- - 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).
26
+ - Umd build for browser since it was breaking in v0.17.0 [#7349](https://github.com/excalidraw/excalidraw/pull/7349). Also make sure that when using `Vite`, the `process.env.IS_PREACT` is set as `"true"` (string) and not a boolean.
29
27
 
30
- - 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)
28
+ ```
29
+ define: {
30
+ "process.env.IS_PREACT": JSON.stringify("true"),
31
+ }
32
+ ```
31
33
 
32
- - 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).
34
+ ## Excalidraw Library
33
35
 
34
- - 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).
36
+ ### Fixes
35
37
 
36
- - 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).
38
+ - Disable caching bounds for arrow labels [#7343](https://github.com/excalidraw/excalidraw/pull/7343)
37
39
 
38
- 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.
40
+ ---
39
41
 
40
- ##### BREAKING CHANGE
42
+ ## 0.17.0 (2023-11-14)
41
43
 
42
- - 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).
44
+ ### Features
43
45
 
44
- - 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).
46
+ - Added support for disabling `image` tool (also disabling image insertion in general, though keeps support for importing from `.excalidraw` files) [#6320](https://github.com/excalidraw/excalidraw/pull/6320).
45
47
 
46
- ##### BREAKING CHANGE
48
+ For disabling `image` you need to set 👇
47
49
 
48
- - `updateScene` API no longer supports passing `libraryItems`. Instead, use the `updateLibrary` API.
50
+ ```
51
+ UIOptions.tools = {
52
+ image: false
53
+ }
54
+ ```
49
55
 
50
- - Add support for integrating custom elements [#5164](https://github.com/excalidraw/excalidraw/pull/5164).
56
+ - Support `excalidrawAPI` prop for accessing the Excalidraw API [#7251](https://github.com/excalidraw/excalidraw/pull/7251).
51
57
 
52
- - Add [`onPointerDown`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onPointerDown) callback which gets triggered on pointer down events.
53
- - Add [`onScrollChange`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onScrollChange) callback which gets triggered when scrolling the canvas.
54
- - 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.
58
+ - Export [`getCommonBounds`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils#getcommonbounds) helper from the package [#7247](https://github.com/excalidraw/excalidraw/pull/7247).
55
59
 
56
- - Exported [`loadSceneOrLibraryFromBlob`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#loadSceneOrLibraryFromBlob) function [#5057](https://github.com/excalidraw/excalidraw/pull/5057).
57
- - 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).
58
- - 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).
59
- - 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).
60
- - Expose util [`mergeLibraryItems`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#mergeLibraryItems) [#5101](https://github.com/excalidraw/excalidraw/pull/5101).
61
- - 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).
62
- - 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).
63
- - The `exportToBlob` utility now supports the `exportEmbedScene` option when generating a png image [#5047](https://github.com/excalidraw/excalidraw/pull/5047).
64
- - Exported [`restoreLibraryItems`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#restoreLibraryItems) API [#4995](https://github.com/excalidraw/excalidraw/pull/4995).
60
+ - Support frames via programmatic API [#7205](https://github.com/excalidraw/excalidraw/pull/7205).
65
61
 
66
- #### Fixes
62
+ - Export `elementsOverlappingBBox`, `isElementInsideBBox`, `elementPartiallyOverlapsWithOrContainsBBox` helpers for filtering/checking if elements within bounds. [#6727](https://github.com/excalidraw/excalidraw/pull/6727)
67
63
 
68
- - 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).
64
+ - Regenerate ids by default when using transform api and also update bindings by 0.5px to avoid possible overlapping [#7195](https://github.com/excalidraw/excalidraw/pull/7195)
69
65
 
70
- - 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).
66
+ - Add onChange, onPointerDown, onPointerUp api subscribers [#7154](https://github.com/excalidraw/excalidraw/pull/7154).
71
67
 
72
- - Use `window.EXCALIDRAW_ASSET_PATH` for fonts when exporting to svg [#5065](https://github.com/excalidraw/excalidraw/pull/5065).
73
- - Library menu now properly rerenders if open when library is updated using `updateScene({ libraryItems })` [#4995](https://github.com/excalidraw/excalidraw/pull/4995).
68
+ - Support props.locked for setActiveTool [#7153](https://github.com/excalidraw/excalidraw/pull/7153).
74
69
 
75
- #### Refactor
70
+ - Add `selected` prop for `MainMenu.Item` and `MainMenu.ItemCustom` components to indicate active state. [#7078](https://github.com/excalidraw/excalidraw/pull/7078)
76
71
 
77
- - Rename `appState.elementLocked` to `appState.activeTool.locked` [#4983](https://github.com/excalidraw/excalidraw/pull/4983).
78
- - 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.
72
+ ### Fixes
79
73
 
80
- ##### BREAKING CHANGE
74
+ - Double image dialog on image insertion [#7152](https://github.com/excalidraw/excalidraw/pull/7152).
81
75
 
82
- You will need to pass `activeTool.locked` instead of `elementType` from now onwards in `appState`.
76
+ ### Breaking Changes
83
77
 
84
- - 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).
78
+ - The `Ref` support has been removed in v0.17.0 so if you are using refs, please update the integration to use the [`excalidrawAPI`](http://localhost:3003/docs/@excalidraw/excalidraw/api/props/excalidraw-api) [#7251](https://github.com/excalidraw/excalidraw/pull/7251).
85
79
 
86
- ##### BREAKING CHANGE
80
+ - Additionally `ready` and `readyPromise` from the API have been discontinued. These APIs were found to be superfluous, and as part of the effort to streamline the APIs and maintain simplicity, they were removed in version v0.17.0 [#7251](https://github.com/excalidraw/excalidraw/pull/7251).
87
81
 
88
- You will need to pass `activeTool` instead of `elementType` from now onwards in `appState`
82
+ - [`useDevice`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils#usedevice) hook's return value was changed to differentiate between `editor` and `viewport` breakpoints. [#7243](https://github.com/excalidraw/excalidraw/pull/7243)
89
83
 
90
84
  ### Build
91
85
 
92
- - Use only named exports [#5045](https://github.com/excalidraw/excalidraw/pull/5045).
86
+ - Support Preact [#7255](https://github.com/excalidraw/excalidraw/pull/7255). The host needs to set `process.env.IS_PREACT` to `true`
93
87
 
94
- #### BREAKING CHANGE
88
+ When using `vite` or any build tools, you will have to make sure the `process` is accessible as we are accessing `process.env.IS_PREACT` to decide whether to use the `preact` build.
95
89
 
96
- You will need to import the named export from now onwards to use the component
90
+ Since `Vite` removes env variables by default, you can update the Vite config to ensure its available :point_down:
97
91
 
98
- Using bundler :point_down:
99
-
100
- ```js
101
- import { Excalidraw } from "@excalidraw/excalidraw";
102
- ```
103
-
104
- In Browser :point_down:
105
-
106
- ```js
107
- React.createElement(ExcalidrawLib.Excalidraw, opts);
108
- ```
92
+ ```
93
+ define: {
94
+ "process.env.IS_PREACT": process.env.IS_PREACT,
95
+ },
96
+ ```
109
97
 
110
98
  ## Excalidraw Library
111
99
 
@@ -113,599 +101,665 @@ React.createElement(ExcalidrawLib.Excalidraw, opts);
113
101
 
114
102
  ### Features
115
103
 
116
- - Throttle scene rendering to animation framerate [#5422](https://github.com/excalidraw/excalidraw/pull/5422)
104
+ - Allow D&D dice app domain for embeds [#7263](https://github.com/excalidraw/excalidraw/pull/7263)
117
105
 
118
- - Make toast closable and allow custom duration [#5308](https://github.com/excalidraw/excalidraw/pull/5308)
106
+ - Remove full screen shortcut [#7222](https://github.com/excalidraw/excalidraw/pull/7222)
119
107
 
120
- - Collab component state handling rewrite & fixes [#5046](https://github.com/excalidraw/excalidraw/pull/5046)
108
+ - Make adaptive-roughness less aggressive [#7250](https://github.com/excalidraw/excalidraw/pull/7250)
121
109
 
122
- - Support debugging PWA in dev [#4853](https://github.com/excalidraw/excalidraw/pull/4853)
110
+ - Render frames on export [#7210](https://github.com/excalidraw/excalidraw/pull/7210)
123
111
 
124
- - Redirect vscode.excalidraw.com to vscode marketplace [#5285](https://github.com/excalidraw/excalidraw/pull/5285)
112
+ - Support mermaid flowchart and sequence diagrams to excalidraw diagrams 🥳 [#6920](https://github.com/excalidraw/excalidraw/pull/6920)
125
113
 
126
- - Go-to-excalidrawplus button [#5202](https://github.com/excalidraw/excalidraw/pull/5202)
114
+ - Support frames via programmatic API [#7205](https://github.com/excalidraw/excalidraw/pull/7205)
127
115
 
128
- - Autoredirect to Excalidraw+ if special cookie is present [#5183](https://github.com/excalidraw/excalidraw/pull/5183)
116
+ - Make clipboard more robust and reintroduce contextmenu actions [#7198](https://github.com/excalidraw/excalidraw/pull/7198)
129
117
 
130
- - Support resubmitting published library items [#5174](https://github.com/excalidraw/excalidraw/pull/5174)
118
+ - Support giphy.com embed domain [#7192](https://github.com/excalidraw/excalidraw/pull/7192)
131
119
 
132
- - Support adding multiple library items on canvas [#5116](https://github.com/excalidraw/excalidraw/pull/5116)
120
+ - Renderer tweaks [#6698](https://github.com/excalidraw/excalidraw/pull/6698)
133
121
 
134
- - Support customType in activeTool [#5144](https://github.com/excalidraw/excalidraw/pull/5144)
122
+ - Closing of "Save to.." Dialog on Save To Disk [#7168](https://github.com/excalidraw/excalidraw/pull/7168)
135
123
 
136
- - Stop event propagation when key handled [#5091](https://github.com/excalidraw/excalidraw/pull/5091)
124
+ - Added Copy/Paste from Google Docs [#7136](https://github.com/excalidraw/excalidraw/pull/7136)
137
125
 
138
- - Rewrite library state management & related refactor [#5067](https://github.com/excalidraw/excalidraw/pull/5067)
126
+ - Remove bound-arrows from frames [#7157](https://github.com/excalidraw/excalidraw/pull/7157)
139
127
 
140
- - Delay initial loading message & tweak design [#5049](https://github.com/excalidraw/excalidraw/pull/5049)
128
+ - New dark mode theme & light theme tweaks [#7104](https://github.com/excalidraw/excalidraw/pull/7104)
141
129
 
142
- - Reconcile when saving to firebase [#4991](https://github.com/excalidraw/excalidraw/pull/4991)
130
+ - Better laser cursor for dark mode [#7132](https://github.com/excalidraw/excalidraw/pull/7132)
143
131
 
144
- - Hide trash button during collaboration [#5037](https://github.com/excalidraw/excalidraw/pull/5037)
132
+ - Laser pointer improvements [#7128](https://github.com/excalidraw/excalidraw/pull/7128)
145
133
 
146
- - Refactor local persistence & fix race condition on SW reload [#5032](https://github.com/excalidraw/excalidraw/pull/5032)
134
+ - Initial Laser Pointer MVP [#6739](https://github.com/excalidraw/excalidraw/pull/6739)
147
135
 
148
- - Element locking [#4964](https://github.com/excalidraw/excalidraw/pull/4964)
136
+ - Export `iconFillColor()` [#6996](https://github.com/excalidraw/excalidraw/pull/6996)
149
137
 
150
- - Copy to clipboard all text nodes as text [#5013](https://github.com/excalidraw/excalidraw/pull/5013)
138
+ - Element alignments - snapping [#6256](https://github.com/excalidraw/excalidraw/pull/6256)
151
139
 
152
- - Create and expose serializeLibraryAsJSON [#5009](https://github.com/excalidraw/excalidraw/pull/5009)
140
+ ### Fixes
153
141
 
154
- - Hide penMode button on reload if not enabled [#4992](https://github.com/excalidraw/excalidraw/pull/4992)
142
+ - Image insertion bugs [#7278](https://github.com/excalidraw/excalidraw/pull/7278)
155
143
 
156
- - Eraser toggle to switch back to the previous tool [#4981](https://github.com/excalidraw/excalidraw/pull/4981)
144
+ - ExportToSvg to honor frameRendering also for name not only for frame itself [#7270](https://github.com/excalidraw/excalidraw/pull/7270)
157
145
 
158
- - Save penDetected and penMode, and detect pen already on ToolButton click [#4955](https://github.com/excalidraw/excalidraw/pull/4955)
146
+ - Can't toggle penMode off due to missing typecheck in togglePenMode [#7273](https://github.com/excalidraw/excalidraw/pull/7273)
159
147
 
160
- - Support binding text to container via context menu [#4935](https://github.com/excalidraw/excalidraw/pull/4935)
148
+ - Replace hard coded font family with const value in addFrameLabelsAsTextElements [#7269](https://github.com/excalidraw/excalidraw/pull/7269)
161
149
 
162
- - Map shortcut O to ellipse and Add eraser shortcut E [#4930](https://github.com/excalidraw/excalidraw/pull/4930)
150
+ - Perf issue when ungrouping elements within frame [#7265](https://github.com/excalidraw/excalidraw/pull/7265)
163
151
 
164
- - Update eraser cursor [#4922](https://github.com/excalidraw/excalidraw/pull/4922)
152
+ - Fixes the shortcut collision between "toggleHandTool" and "distributeHorizontally" [#7189](https://github.com/excalidraw/excalidraw/pull/7189)
165
153
 
166
- - Add Eraser 🎉 [#4887](https://github.com/excalidraw/excalidraw/pull/4887)
154
+ - Allow pointer events when editing a linear element [#7238](https://github.com/excalidraw/excalidraw/pull/7238)
167
155
 
168
- - Added optional REACT_APP_WS_SERVER_URL for forks usecases [#4889](https://github.com/excalidraw/excalidraw/pull/4889)
156
+ - Make modal use viewport breakpoints [#7246](https://github.com/excalidraw/excalidraw/pull/7246)
169
157
 
170
- - Rewrite collab server connecting [#4881](https://github.com/excalidraw/excalidraw/pull/4881)
158
+ - Align input `:hover`/`:focus` with spec [#7225](https://github.com/excalidraw/excalidraw/pull/7225)
171
159
 
172
- - Support vertical text align for bound containers [#4852](https://github.com/excalidraw/excalidraw/pull/4852)
160
+ - Dialog remounting on className updates [#7224](https://github.com/excalidraw/excalidraw/pull/7224)
173
161
 
174
- - Support custom colors 🎉 [#4843](https://github.com/excalidraw/excalidraw/pull/4843)
162
+ - Don't update label position when dragging labelled arrows [#6891](https://github.com/excalidraw/excalidraw/pull/6891)
175
163
 
176
- - Support Links in Exported SVG [#4791](https://github.com/excalidraw/excalidraw/pull/4791)
164
+ - Frame add/remove/z-index ordering changes [#7194](https://github.com/excalidraw/excalidraw/pull/7194)
177
165
 
178
- - Scale font size when bound text containers resized with shift pressed [#4828](https://github.com/excalidraw/excalidraw/pull/4828)
166
+ - Element relative position when dragging multiple elements on grid [#7107](https://github.com/excalidraw/excalidraw/pull/7107)
179
167
 
180
- ### Fixes
168
+ - Freedraw non-solid bg hitbox not working [#7193](https://github.com/excalidraw/excalidraw/pull/7193)
181
169
 
182
- - Autorelease job name [#5412](https://github.com/excalidraw/excalidraw/pull/5412)
170
+ - Actions panel ux improvement [#6850](https://github.com/excalidraw/excalidraw/pull/6850)
183
171
 
184
- - Action name for autorelease [#5411](https://github.com/excalidraw/excalidraw/pull/5411)
172
+ - Better fill rendering with latest RoughJS [#7031](https://github.com/excalidraw/excalidraw/pull/7031)
185
173
 
186
- - Typecast file to fix the build [#5410](https://github.com/excalidraw/excalidraw/pull/5410)
174
+ - Fix for Strange Symbol Appearing on Canvas after Deleting Grouped Graphics (Issue #7116) [#7170](https://github.com/excalidraw/excalidraw/pull/7170)
187
175
 
188
- - File handle not persisted when importing excalidraw files [#5372](https://github.com/excalidraw/excalidraw/pull/5372)
176
+ - Attempt to fix flake in wysiwyg tests [#7173](https://github.com/excalidraw/excalidraw/pull/7173)
189
177
 
190
- - Library not scrollable when no published items installed [#5352](https://github.com/excalidraw/excalidraw/pull/5352)
178
+ - Ensure `ClipboardItem` created in the same tick to fix safari [#7066](https://github.com/excalidraw/excalidraw/pull/7066)
191
179
 
192
- - Focus traps inside popovers [#5317](https://github.com/excalidraw/excalidraw/pull/5317)
180
+ - Wysiwyg left in undefined state on reload [#7123](https://github.com/excalidraw/excalidraw/pull/7123)
193
181
 
194
- - Unable to use cmd/ctrl-delete/backspace in inputs [#5348](https://github.com/excalidraw/excalidraw/pull/5348)
182
+ - Ensure relative z-index of elements added to frame is retained [#7134](https://github.com/excalidraw/excalidraw/pull/7134)
195
183
 
196
- - Delay loading until language imported [#5344](https://github.com/excalidraw/excalidraw/pull/5344)
184
+ - Memoize static canvas on `props.renderConfig` [#7131](https://github.com/excalidraw/excalidraw/pull/7131)
197
185
 
198
- - Command to trigger release [#5347](https://github.com/excalidraw/excalidraw/pull/5347)
186
+ - Regression from #6739 preventing redirect link in view mode [#7120](https://github.com/excalidraw/excalidraw/pull/7120)
199
187
 
200
- - Remove unnecessary options passed to language detector [#5336](https://github.com/excalidraw/excalidraw/pull/5336)
188
+ - Update links to excalidraw-app [#7072](https://github.com/excalidraw/excalidraw/pull/7072)
201
189
 
202
- - Stale `appState.pendingImageElement` [#5322](https://github.com/excalidraw/excalidraw/pull/5322)
190
+ - Ensure we do not stop laser update prematurely [#7100](https://github.com/excalidraw/excalidraw/pull/7100)
203
191
 
204
- - Non-letter shortcuts being swallowed by color picker [#5316](https://github.com/excalidraw/excalidraw/pull/5316)
192
+ - Remove invisible elements safely [#7083](https://github.com/excalidraw/excalidraw/pull/7083)
205
193
 
206
- - Bind text to correct container when nested [#5307](https://github.com/excalidraw/excalidraw/pull/5307)
194
+ - Icon size in manifest [#7073](https://github.com/excalidraw/excalidraw/pull/7073)
207
195
 
208
- - Copy bound text style when copying element having bound text [#5305](https://github.com/excalidraw/excalidraw/pull/5305)
196
+ - Elements being dropped/duplicated when added to frame [#7057](https://github.com/excalidraw/excalidraw/pull/7057)
209
197
 
210
- - Copy arrow head when using copy styles [#5303](https://github.com/excalidraw/excalidraw/pull/5303)
198
+ - Frame name not editable on dbl-click [#7037](https://github.com/excalidraw/excalidraw/pull/7037)
211
199
 
212
- - Unsafely accessing draggingElement [#5216](https://github.com/excalidraw/excalidraw/pull/5216)
200
+ - Polyfill `Element.replaceChildren` [#7034](https://github.com/excalidraw/excalidraw/pull/7034)
213
201
 
214
- - Library load button does not work [#5205](https://github.com/excalidraw/excalidraw/pull/5205)
202
+ ### Refactor
215
203
 
216
- - Do not deselect when not zooming using touchscreen pinch [#5181](https://github.com/excalidraw/excalidraw/pull/5181)
204
+ - DRY out tool typing [#7086](https://github.com/excalidraw/excalidraw/pull/7086)
217
205
 
218
- - Wheel zoom normalization [#5165](https://github.com/excalidraw/excalidraw/pull/5165)
206
+ - Refactor event globals to differentiate from `lastPointerUp` [#7084](https://github.com/excalidraw/excalidraw/pull/7084)
219
207
 
220
- - Hide sidebar when `custom` tool active [#5179](https://github.com/excalidraw/excalidraw/pull/5179)
208
+ - DRY out and simplify setting active tool from toolbar [#7079](https://github.com/excalidraw/excalidraw/pull/7079)
221
209
 
222
- - Don't save deleted ExcalidrawElements to Firebase [#5108](https://github.com/excalidraw/excalidraw/pull/5108)
210
+ ### Performance
223
211
 
224
- - Eraser removed deleted elements [#5155](https://github.com/excalidraw/excalidraw/pull/5155)
212
+ - Improve element in frame check [#7124](https://github.com/excalidraw/excalidraw/pull/7124)
225
213
 
226
- - Handle `ColorPicker` parentSelector being undefined [#5152](https://github.com/excalidraw/excalidraw/pull/5152)
214
+ ---
227
215
 
228
- - Library multiselect not accounting for published state [#5132](https://github.com/excalidraw/excalidraw/pull/5132)
216
+ ## 0.16.1 (2023-09-21)
229
217
 
230
- - Chart display fix [#5154](https://github.com/excalidraw/excalidraw/pull/5154)
218
+ ## Excalidraw Library
231
219
 
232
- - Update opacity of bound text when opacity of container updated [#5142](https://github.com/excalidraw/excalidraw/pull/5142)
220
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
233
221
 
234
- - Jumping of text when typing single line in bound text [#5139](https://github.com/excalidraw/excalidraw/pull/5139)
222
+ ### Fixes
235
223
 
236
- - Remove opacity scroll wheel interaction [#5111](https://github.com/excalidraw/excalidraw/pull/5111)
224
+ - More eye-droper fixes [#7019](https://github.com/excalidraw/excalidraw/pull/7019)
237
225
 
238
- - Propagate keydown events from excalidraw-wysiwyg inputs [#5099](https://github.com/excalidraw/excalidraw/pull/5099)
226
+ ### Refactor
239
227
 
240
- - Don't bind text to container if double clicked else instead of center [#5105](https://github.com/excalidraw/excalidraw/pull/5105)
228
+ - Move excalidraw-app outside src [#6987](https://github.com/excalidraw/excalidraw/pull/6987)
241
229
 
242
- - ToolIcon height not using rem [#5092](https://github.com/excalidraw/excalidraw/pull/5092)
230
+ ---
243
231
 
244
- - Excalidraw named export type [#5078](https://github.com/excalidraw/excalidraw/pull/5078)
232
+ ## 0.16.0 (2023-09-19)
245
233
 
246
- - BoundElementIds when arrows bound to elements are deleted [#5077](https://github.com/excalidraw/excalidraw/pull/5077)
234
+ - Support creating containers, linear elements, text containers, labelled arrows and arrow bindings programatically [#6546](https://github.com/excalidraw/excalidraw/pull/6546)
235
+ - Introducing Web-Embeds (alias iframe element)[#6691](https://github.com/excalidraw/excalidraw/pull/6691)
236
+ - Added [`props.validateEmbeddable`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/props#validateEmbeddable) to customize embeddable src url validation. [#6691](https://github.com/excalidraw/excalidraw/pull/6691)
237
+ - Add support for `opts.fitToViewport` and `opts.viewportZoomFactor` in the [`ExcalidrawAPI.scrollToContent`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/props/excalidraw-api#scrolltocontent) API. [#6581](https://github.com/excalidraw/excalidraw/pull/6581).
238
+ - Properly sanitize element `link` urls. [#6728](https://github.com/excalidraw/excalidraw/pull/6728).
239
+ - Sidebar component now supports tabs — for more detailed description of new behavior and breaking changes, see the linked PR. [#6213](https://github.com/excalidraw/excalidraw/pull/6213)
240
+ - Exposed `DefaultSidebar` component to allow modifying the default sidebar, such as adding custom tabs to it. [#6213](https://github.com/excalidraw/excalidraw/pull/6213)
247
241
 
248
- - Don't merge libraryItems on updateScene [#5076](https://github.com/excalidraw/excalidraw/pull/5076)
242
+ #### BREAKING CHANGES
249
243
 
250
- - SVG metadata extraction regex on multiline elements [#5074](https://github.com/excalidraw/excalidraw/pull/5074)
244
+ - `props.renderSidebar` is removed in favor of rendering as `children`.
245
+ - `appState.isSidebarDocked` replaced with `appState.defaultSidebarDockedPreference` with slightly different semantics, and relating only to the default sidebar. You need to handle `docked` state for your custom sidebars yourself.
246
+ - Sidebar `props.dockable` is removed. To indicate dockability, supply `props.onDock()` alongside setting `props.docked`.
247
+ - `Sidebar.Header` is no longer rendered by default. You need to render it yourself.
248
+ - `props.onClose` replaced with `props.onStateChange`.
249
+ - `restore()`/`restoreAppState()` now retains `appState.openSidebar` regardless of docked state.
251
250
 
252
- - Eraser cursor showing on theme change when not using eraser [#4990](https://github.com/excalidraw/excalidraw/pull/4990)
251
+ ## Excalidraw Library
253
252
 
254
- - Update `storage.rules` [#5020](https://github.com/excalidraw/excalidraw/pull/5020)
253
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
255
254
 
256
- - Add image button not working on iPad [#5038](https://github.com/excalidraw/excalidraw/pull/5038)
255
+ ### Features
257
256
 
258
- - Ensure svg image dimensions are always set [#5044](https://github.com/excalidraw/excalidraw/pull/5044)
257
+ - allow `avif`, `jfif`, `webp`, `bmp`, `ico` image types [#6500](https://github.com/excalidraw/excalidraw/pull/6500)
258
+ - Zen-mode/go-to-plus button style tweaks [#7006](https://github.com/excalidraw/excalidraw/pull/7006)
259
259
 
260
- - Pinch zoom in view mode [#5001](https://github.com/excalidraw/excalidraw/pull/5001)
260
+ - Holding down CMD/CTRL will disable snap to grid when grid is active [#6983](https://github.com/excalidraw/excalidraw/pull/6983)
261
261
 
262
- - Select whole group on righclick & few lock-related fixes [#5022](https://github.com/excalidraw/excalidraw/pull/5022)
262
+ - Update logo [#6979](https://github.com/excalidraw/excalidraw/pull/6979)
263
263
 
264
- - Export serializeLibraryAsJSON from the package [#5017](https://github.com/excalidraw/excalidraw/pull/5017)
264
+ - Export `changeProperty()` and `getFormValue()`. [#6957](https://github.com/excalidraw/excalidraw/pull/6957)
265
265
 
266
- - Support copying PNG to clipboard on Safari [#3746](https://github.com/excalidraw/excalidraw/pull/3746)
266
+ - Partition main canvas vertically [#6759](https://github.com/excalidraw/excalidraw/pull/6759)
267
267
 
268
- - More copyText fixes [#5016](https://github.com/excalidraw/excalidraw/pull/5016)
268
+ - Support creating containers, linear elements, text containers, labelled arrows and arrow bindings programatically [#6546](https://github.com/excalidraw/excalidraw/pull/6546)
269
269
 
270
- - Copy to clipboard all text nodes as text [#5014](https://github.com/excalidraw/excalidraw/pull/5014)
270
+ - Add support for simplePDF in Web-Embeds [#6810](https://github.com/excalidraw/excalidraw/pull/6810)
271
271
 
272
- - Update cursorButton once freedraw is released [#4996](https://github.com/excalidraw/excalidraw/pull/4996)
272
+ - Add support for val.town embeds [#6821](https://github.com/excalidraw/excalidraw/pull/6821)
273
273
 
274
- - Decouple actionFinalize and actionErase [#4984](https://github.com/excalidraw/excalidraw/pull/4984)
274
+ - Render bold lines in grid [#6779](https://github.com/excalidraw/excalidraw/pull/6779)
275
275
 
276
- - Using stale state when switching tools [#4989](https://github.com/excalidraw/excalidraw/pull/4989)
276
+ - Adds support for stackblitz.com embeds [#6813](https://github.com/excalidraw/excalidraw/pull/6813)
277
277
 
278
- - UpdateWysiwygStyle updatedElement is undefined TypeError [#4980](https://github.com/excalidraw/excalidraw/pull/4980)
278
+ - Cache most of element selection [#6747](https://github.com/excalidraw/excalidraw/pull/6747)
279
279
 
280
- - Adding check for link length to prevent early return [#4982](https://github.com/excalidraw/excalidraw/pull/4982)
280
+ - Support customizing what parts of frames are rendered [#6752](https://github.com/excalidraw/excalidraw/pull/6752)
281
281
 
282
- - Show link icon for bound text containers [#4960](https://github.com/excalidraw/excalidraw/pull/4960)
282
+ - Make `appState.selectedElementIds` more stable [#6745](https://github.com/excalidraw/excalidraw/pull/6745)
283
283
 
284
- - Cancel erase elements on pointer up if eraser is not active on pointer up [#4956](https://github.com/excalidraw/excalidraw/pull/4956)
284
+ - Overwrite confirmation dialogs [#6658](https://github.com/excalidraw/excalidraw/pull/6658)
285
285
 
286
- - Restore original opacities when alt pressed while erasing [#4954](https://github.com/excalidraw/excalidraw/pull/4954)
286
+ - Simple analitycs [#6683](https://github.com/excalidraw/excalidraw/pull/6683)
287
287
 
288
- - Don't bind text to container if already present [#4946](https://github.com/excalidraw/excalidraw/pull/4946)
288
+ - Introduce frames [#6123](https://github.com/excalidraw/excalidraw/pull/6123)
289
289
 
290
- - Erase all elements which are hit with single point click [#4934](https://github.com/excalidraw/excalidraw/pull/4934)
290
+ - Add canvas-roundrect-polyfill package [#6675](https://github.com/excalidraw/excalidraw/pull/6675)
291
291
 
292
- - Add multiElement-edit finalize action to Desktop (currently only visible in Mobile view) [#4764](https://github.com/excalidraw/excalidraw/pull/4764)
292
+ - Polyfill `CanvasRenderingContext2D.roundRect` [#6673](https://github.com/excalidraw/excalidraw/pull/6673)
293
293
 
294
- - Hide eraser in view mode in desktop [#4929](https://github.com/excalidraw/excalidraw/pull/4929)
294
+ - Disable collab feature when running in iframe [#6646](https://github.com/excalidraw/excalidraw/pull/6646)
295
295
 
296
- - Undo when erasing elements by clicking [#4921](https://github.com/excalidraw/excalidraw/pull/4921)
296
+ - Assign random user name when not set [#6663](https://github.com/excalidraw/excalidraw/pull/6663)
297
297
 
298
- - Undo when erasing [#4900](https://github.com/excalidraw/excalidraw/pull/4900)
298
+ - Redesigned collab cursors [#6659](https://github.com/excalidraw/excalidraw/pull/6659)
299
299
 
300
- - Incorrectly erasing on mobile [#4899](https://github.com/excalidraw/excalidraw/pull/4899)
300
+ - Eye dropper [#6615](https://github.com/excalidraw/excalidraw/pull/6615)
301
301
 
302
- - Don't crash on drop highlighted text onto canvas [#4890](https://github.com/excalidraw/excalidraw/pull/4890)
302
+ - Redesign of Live Collaboration dialog [#6635](https://github.com/excalidraw/excalidraw/pull/6635)
303
303
 
304
- - Paste styles shortcut [#4886](https://github.com/excalidraw/excalidraw/pull/4886)
304
+ - Recover scrolled position after Library re-opening [#6624](https://github.com/excalidraw/excalidraw/pull/6624)
305
305
 
306
- - Freedraw element's background fill color missing from SVG when exporting with package API exportToSvg() [#4871](https://github.com/excalidraw/excalidraw/pull/4871)
306
+ - Clearing library cache [#6621](https://github.com/excalidraw/excalidraw/pull/6621)
307
307
 
308
- - Improve pointer syncing performance [#4883](https://github.com/excalidraw/excalidraw/pull/4883)
308
+ - Update design of ImageExportDialog [#6614](https://github.com/excalidraw/excalidraw/pull/6614)
309
309
 
310
- - Collab room initialization [#4882](https://github.com/excalidraw/excalidraw/pull/4882)
310
+ - Add flipping for multiple elements [#5578](https://github.com/excalidraw/excalidraw/pull/5578)
311
311
 
312
- - Ensure verticalAlign properties not shown when no element selected [#4860](https://github.com/excalidraw/excalidraw/pull/4860)
312
+ - Color picker redesign [#6216](https://github.com/excalidraw/excalidraw/pull/6216)
313
313
 
314
- - Binding text to non-bindable containers and not always preferring selection [#4655](https://github.com/excalidraw/excalidraw/pull/4655)
314
+ - Add "unlock all elements" to canvas contextMenu [#5894](https://github.com/excalidraw/excalidraw/pull/5894)
315
315
 
316
- - Don't show align icons for single bound container element [#4846](https://github.com/excalidraw/excalidraw/pull/4846)
316
+ - Library sidebar design tweaks [#6582](https://github.com/excalidraw/excalidraw/pull/6582)
317
317
 
318
- - Redraw text bounding box when pasting styles [#4845](https://github.com/excalidraw/excalidraw/pull/4845)
318
+ - Add Trans component for interpolating JSX in translations [#6534](https://github.com/excalidraw/excalidraw/pull/6534)
319
319
 
320
- - Restore cursor position after bound text container value updated [#4836](https://github.com/excalidraw/excalidraw/pull/4836)
320
+ - Testing simple analytics and fathom analytics for better privacy of the users [#6529](https://github.com/excalidraw/excalidraw/pull/6529)
321
321
 
322
- - Support resizing multiple bound text containers [#4824](https://github.com/excalidraw/excalidraw/pull/4824)
322
+ - Retain `seed` on shift-paste [#6509](https://github.com/excalidraw/excalidraw/pull/6509)
323
323
 
324
- - Also check overflowY: overlay in detectScroll [#4806](https://github.com/excalidraw/excalidraw/pull/4806)
324
+ - Allow `avif`, `jfif`, `webp`, `bmp`, `ico` image types (#6500
325
325
 
326
- - Stuck resizing when resizing bound text container very fast beyond threshold [#4804](https://github.com/excalidraw/excalidraw/pull/4804)
326
+ ### Fixes
327
327
 
328
- ### Refactor
328
+ - Improperly disabling UI pointer-events on canvas interaction [#7005](https://github.com/excalidraw/excalidraw/pull/7005)
329
329
 
330
- - Don't pass array to handleBindTextResize [#4826](https://github.com/excalidraw/excalidraw/pull/4826)
330
+ - Several eyeDropper fixes [#7002](https://github.com/excalidraw/excalidraw/pull/7002)
331
331
 
332
- ### Build
332
+ - IsBindableElement to affirm frames [#6900](https://github.com/excalidraw/excalidraw/pull/6900)
333
333
 
334
- - Extract all i18n files into locales folder [#5419](https://github.com/excalidraw/excalidraw/pull/5419)
334
+ - Use `device.isMobile` for sidebar trigger label breakpoint [#6994](https://github.com/excalidraw/excalidraw/pull/6994)
335
335
 
336
- - Automate release step fully [#5414](https://github.com/excalidraw/excalidraw/pull/5414)
336
+ - Export to plus url [#6980](https://github.com/excalidraw/excalidraw/pull/6980)
337
337
 
338
- - Use next and preview tags instead of separate packages for next and preview release [#5346](https://github.com/excalidraw/excalidraw/pull/5346)
338
+ - Z-index inconsistencies during addition / deletion in frames [#6914](https://github.com/excalidraw/excalidraw/pull/6914)
339
339
 
340
- - Support runtime React Jsx in @excalidraw/utils [#4866](https://github.com/excalidraw/excalidraw/pull/4866)
340
+ - Update size-limit so react is not installed as dependency [#6964](https://github.com/excalidraw/excalidraw/pull/6964)
341
341
 
342
- - Release @excalidraw/utils 0.1.1 [#4862](https://github.com/excalidraw/excalidraw/pull/4862)
342
+ - Stale labeled arrow bounds cache after editing the label [#6893](https://github.com/excalidraw/excalidraw/pull/6893)
343
343
 
344
- - Remove build packages workflow [#4835](https://github.com/excalidraw/excalidraw/pull/4835)
344
+ - Canvas flickering due to resetting canvas on skipped frames [#6960](https://github.com/excalidraw/excalidraw/pull/6960)
345
345
 
346
- ---
346
+ - Grid jittery after partition PR [#6935](https://github.com/excalidraw/excalidraw/pull/6935)
347
347
 
348
- ## 0.11.0 (2022-02-17)
348
+ - Regression in indexing when adding elements to frame [#6904](https://github.com/excalidraw/excalidraw/pull/6904)
349
349
 
350
- ## Excalidraw API
350
+ - Stabilize `selectedElementIds` when box selecting [#6912](https://github.com/excalidraw/excalidraw/pull/6912)
351
351
 
352
- ### Features
352
+ - Resetting deleted elements on duplication [#6906](https://github.com/excalidraw/excalidraw/pull/6906)
353
353
 
354
- - Add `onLinkOpen` prop which will be triggered when clicked on element hyperlink if present [#4694](https://github.com/excalidraw/excalidraw/pull/4694).
355
- - 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).
354
+ - Make canvas compos memoize appState on props they declare [#6897](https://github.com/excalidraw/excalidraw/pull/6897)
356
355
 
357
- - 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).
356
+ - Scope `--color-selection` retrieval to given instance [#6886](https://github.com/excalidraw/excalidraw/pull/6886)
358
357
 
359
- - [`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).
358
+ - Webpack config exclude statement to system agnostic [#6857](https://github.com/excalidraw/excalidraw/pull/6857)
360
359
 
361
- #### BREAKING CHANGE
360
+ - Remove `embeddable` from generic elements [#6853](https://github.com/excalidraw/excalidraw/pull/6853)
362
361
 
363
- Remove `getElementMap` util [#4306](https://github.com/excalidraw/excalidraw/pull/4306).
362
+ - Resizing arrow labels [#6789](https://github.com/excalidraw/excalidraw/pull/6789)
364
363
 
365
- - 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):
364
+ - Eye-dropper not working with app offset correctly on non-1 dPR [#6835](https://github.com/excalidraw/excalidraw/pull/6835)
366
365
 
367
- - Add `maxWidthOrHeight?: number` attribute.
368
- - `scale` returned from `getDimensions()` is now optional (default to `1`).
366
+ - Add self destroying service-worker.js to migrate everyone from CRA to Vite [#6833](https://github.com/excalidraw/excalidraw/pull/6833)
369
367
 
370
- - Image support added for host [PR](https://github.com/excalidraw/excalidraw/pull/4011)
368
+ - Forgotten REACT_APP env variables [#6834](https://github.com/excalidraw/excalidraw/pull/6834)
371
369
 
372
- General notes:
370
+ - Refresh sw when browser refreshed [#6824](https://github.com/excalidraw/excalidraw/pull/6824)
373
371
 
374
- - File data are encoded as DataURLs (base64) for portability reasons.
372
+ - Adding to selection via shift box-select [#6815](https://github.com/excalidraw/excalidraw/pull/6815)
375
373
 
376
- [ExcalidrawAPI](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onLibraryChange):
374
+ - Prevent binding focus NaN value [#6803](https://github.com/excalidraw/excalidraw/pull/6803)
377
375
 
378
- - 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.
376
+ - Use pull request in semantic workflow for better security [#6799](https://github.com/excalidraw/excalidraw/pull/6799)
379
377
 
380
- Excalidraw app props:
378
+ - Don't show `canvasBackground` label when `UIOptions.canvasActions.changeViewBackgroundColor` is false [#6781](https://github.com/excalidraw/excalidraw/pull/6781)
381
379
 
382
- - added `generateIdForFile(file: File)` optional prop so you can generate your own ids for added files.
383
- - `onChange(elements, appState, files)` prop callback is now passed `BinaryFiles` as third argument.
384
- - `onPaste(data, event)` data prop should contain `data.files` (`BinaryFiles`) if the elements pasted are referencing new files.
385
- - `initialData` object now supports additional `files` (`BinaryFiles`) attribute.
380
+ - Use subdirectory for @excalidraw/excalidraw size limit [#6787](https://github.com/excalidraw/excalidraw/pull/6787)
386
381
 
387
- Other notes:
382
+ - Use actual dock state to not close docked library on insert [#6766](https://github.com/excalidraw/excalidraw/pull/6766)
388
383
 
389
- - `.excalidraw` files may now contain top-level `files` key in format of `Record<FileId, BinaryFileData>` when exporting any (image) elements.
390
- - 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.
384
+ - UI disappears when pressing the eyedropper shortcut on mobile [#6725](https://github.com/excalidraw/excalidraw/pull/6725)
391
385
 
392
- - 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).
386
+ - Elements in non-existing frame getting removed [#6708](https://github.com/excalidraw/excalidraw/pull/6708)
393
387
 
394
- - 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).
388
+ - Scrollbars renders but disable [#6706](https://github.com/excalidraw/excalidraw/pull/6706)
395
389
 
396
- - Export `THEME` constant from the package so host can use this when passing the theme [#4055](https://github.com/excalidraw/excalidraw/pull/4055).
390
+ - Typo in chart.ts [#6696](https://github.com/excalidraw/excalidraw/pull/6696)
397
391
 
398
- #### BREAKING CHANGE
392
+ - Do not bind text to container using text tool when it has text already [#6694](https://github.com/excalidraw/excalidraw/pull/6694)
399
393
 
400
- The `Appearance` type is now removed and renamed to `Theme` so `Theme` type needs to be used.
394
+ - Don't allow binding text to images [#6693](https://github.com/excalidraw/excalidraw/pull/6693)
401
395
 
402
- ### Fixes
396
+ - Updated link for documentation page under help section [#6654](https://github.com/excalidraw/excalidraw/pull/6654)
403
397
 
404
- - 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).
405
- - 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).
406
- - 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).
398
+ - Collab username style fixes [#6668](https://github.com/excalidraw/excalidraw/pull/6668)
407
399
 
408
- ### Build
400
+ - Bound arrows not updated when rotating multiple elements [#6662](https://github.com/excalidraw/excalidraw/pull/6662)
409
401
 
410
- - Release preview package [@excalidraw/excalidraw-preview](https://www.npmjs.com/package/@excalidraw/excalidraw-preview) when triggered via comment
402
+ - Delete setCursor when resize [#6660](https://github.com/excalidraw/excalidraw/pull/6660)
411
403
 
412
- ```
413
- @excalibot trigger release
414
- ```
404
+ - Creating text while color picker open [#6651](https://github.com/excalidraw/excalidraw/pull/6651)
415
405
 
416
- [#4750](https://github.com/excalidraw/excalidraw/pull/4750).
406
+ - Cleanup textWysiwyg and getAdjustedDimensions [#6520](https://github.com/excalidraw/excalidraw/pull/6520)
417
407
 
418
- - 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)
408
+ - Eye dropper not accounting for offsets [#6640](https://github.com/excalidraw/excalidraw/pull/6640)
419
409
 
420
- - 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).
410
+ - Color picker input closing problem [#6599](https://github.com/excalidraw/excalidraw/pull/6599)
421
411
 
422
- - We're now compiling to `es2017` target. Notably, `async/await` is not compiled down to generators. [#4341](https://github.com/excalidraw/excalidraw/pull/4341).
412
+ - Export dialog shortcut toggles console on firefox [#6620](https://github.com/excalidraw/excalidraw/pull/6620)
423
413
 
424
- ---
414
+ - Add react v17 `useTransition` polyfill [#6618](https://github.com/excalidraw/excalidraw/pull/6618)
425
415
 
426
- ## Excalidraw Library
416
+ - Library dropdown visibility issue for mobile [#6613](https://github.com/excalidraw/excalidraw/pull/6613)
427
417
 
428
- **_This section lists the updates made to the excalidraw library and will not affect the integration._**
418
+ - `withInternalFallback` leaking state in multi-instance scenarios [#6602](https://github.com/excalidraw/excalidraw/pull/6602)
429
419
 
430
- ### Features
420
+ - Language list containing duplicate `en` lang [#6583](https://github.com/excalidraw/excalidraw/pull/6583)
431
421
 
432
- - Show group/group and link action in mobile [#4795](https://github.com/excalidraw/excalidraw/pull/4795)
422
+ - Garbled text displayed on avatars [#6575](https://github.com/excalidraw/excalidraw/pull/6575)
433
423
 
434
- - Support background fill for freedraw shapes [#4610](https://github.com/excalidraw/excalidraw/pull/4610)
424
+ - Assign the original text to text editor only during init [#6580](https://github.com/excalidraw/excalidraw/pull/6580)
435
425
 
436
- - Keep selected tool on canvas reset [#4728](https://github.com/excalidraw/excalidraw/pull/4728)
426
+ - I18n: Apply Trans component to publish library dialogue [#6564](https://github.com/excalidraw/excalidraw/pull/6564)
437
427
 
438
- - Make whole element clickable in view mode when it has hyperlink [#4735](https://github.com/excalidraw/excalidraw/pull/4735)
428
+ - Fix brave error i18n string and remove unused [#6561](https://github.com/excalidraw/excalidraw/pull/6561)
439
429
 
440
- - Allow any precision when zooming [#4730](https://github.com/excalidraw/excalidraw/pull/4730)
430
+ - Revert add version tags to Docker build [#6540](https://github.com/excalidraw/excalidraw/pull/6540)
441
431
 
442
- - Throttle `pointermove` events per framerate [#4727](https://github.com/excalidraw/excalidraw/pull/4727)
432
+ - Don't refresh dimensions for text containers on font load [#6523](https://github.com/excalidraw/excalidraw/pull/6523)
443
433
 
444
- - Support hyperlinks 🔥 [#4620](https://github.com/excalidraw/excalidraw/pull/4620)
434
+ - Cleanup getMaxContainerHeight and getMaxContainerWidth [#6519](https://github.com/excalidraw/excalidraw/pull/6519)
445
435
 
446
- - Added penMode for palm rejection [#4657](https://github.com/excalidraw/excalidraw/pull/4657)
436
+ - Cleanup redrawTextBoundingBox [#6518](https://github.com/excalidraw/excalidraw/pull/6518)
447
437
 
448
- - Support unbinding bound text [#4686](https://github.com/excalidraw/excalidraw/pull/4686)
438
+ - Text jumps when editing on Android Chrome [#6503](https://github.com/excalidraw/excalidraw/pull/6503)
449
439
 
450
- - Sync local storage state across tabs when out of sync [#4545](https://github.com/excalidraw/excalidraw/pull/4545)
440
+ ### Styles
451
441
 
452
- - Support contextMenuLabel to be of function type to support dynamic labels [#4654](https://github.com/excalidraw/excalidraw/pull/4654)
442
+ - Removes extra spaces [#6558](https://github.com/excalidraw/excalidraw/pull/6558)
453
443
 
454
- - Support decreasing/increasing `fontSize` via keyboard [#4553](https://github.com/excalidraw/excalidraw/pull/4553)
444
+ - Fix font family inconsistencies [#6501](https://github.com/excalidraw/excalidraw/pull/6501)
455
445
 
456
- - Link to new LP for excalidraw plus [#4549](https://github.com/excalidraw/excalidraw/pull/4549)
446
+ ### Refactor
457
447
 
458
- - Update stroke color of bounded text along with container [#4541](https://github.com/excalidraw/excalidraw/pull/4541)
448
+ - Factor out shape generation from `renderElement.ts` pt 2 [#6878](https://github.com/excalidraw/excalidraw/pull/6878)
459
449
 
460
- - Hints and shortcuts help around deep selection [#4502](https://github.com/excalidraw/excalidraw/pull/4502)
450
+ - Add typeScript support to enforce valid translation keys [#6776](https://github.com/excalidraw/excalidraw/pull/6776)
461
451
 
462
- - Support updating text properties by clicking on container [#4499](https://github.com/excalidraw/excalidraw/pull/4499)
452
+ - Simplify `ImageExportDialog` [#6578](https://github.com/excalidraw/excalidraw/pull/6578)
463
453
 
464
- - Bind text to shapes when pressing enter and support sticky notes 🎉 [#4343](https://github.com/excalidraw/excalidraw/pull/4343)
454
+ ### Performance
455
+
456
+ - Limiting the suggested binding to fix performance issue [#6877](https://github.com/excalidraw/excalidraw/pull/6877)
457
+
458
+ - Memoize rendering of library [#6622](https://github.com/excalidraw/excalidraw/pull/6622)
459
+
460
+ - Improve rendering performance for Library [#6587](https://github.com/excalidraw/excalidraw/pull/6587)
461
+
462
+ - Use `UIAppState` where possible to reduce UI rerenders [#6560](https://github.com/excalidraw/excalidraw/pull/6560)
463
+
464
+ ### Build
465
465
 
466
- - Change `boundElementIds` `boundElements` [#4404](https://github.com/excalidraw/excalidraw/pull/4404)
466
+ - Increase limit for bundle by 1kb [#6880](https://github.com/excalidraw/excalidraw/pull/6880)
467
467
 
468
- - Support selecting multiple points when editing line [#4373](https://github.com/excalidraw/excalidraw/pull/4373)
468
+ - Update to node 18 in docker [#6822](https://github.com/excalidraw/excalidraw/pull/6822)
469
469
 
470
- - Horizontally center toolbar menu [commit link](https://github.com/excalidraw/excalidraw/commit/9b8ee3cacfec239617c357693cf2a3ca9972d2cb)
470
+ - Migrate to Vite 🚀 [#6818](https://github.com/excalidraw/excalidraw/pull/6818)
471
471
 
472
- - Add support for rounded corners in diamond [#4369](https://github.com/excalidraw/excalidraw/pull/4369)
472
+ - Migrate to Vite 🚀 [#6713](https://github.com/excalidraw/excalidraw/pull/6713)
473
473
 
474
- - Allow zooming up to 3000% [#4358](https://github.com/excalidraw/excalidraw/pull/4358)
474
+ - Increase limit to 290 kB for prod bundle [#6809](https://github.com/excalidraw/excalidraw/pull/6809)
475
475
 
476
- - Stop discarding precision when rendering [#4357](https://github.com/excalidraw/excalidraw/pull/4357)
476
+ - Add version tags to Docker build [#6508](https://github.com/excalidraw/excalidraw/pull/6508)
477
477
 
478
- - Support Image binding [#4347](https://github.com/excalidraw/excalidraw/pull/4347)
478
+ ---
479
479
 
480
- - Add `element.updated` [#4070](https://github.com/excalidraw/excalidraw/pull/4070)
480
+ ## 0.15.2 (2023-04-20)
481
481
 
482
- - Compress shareLink data when uploading to json server [#4225](https://github.com/excalidraw/excalidraw/pull/4225)
482
+ ### Docs
483
483
 
484
- - Supply `version` param when installing libraries [#4305](https://github.com/excalidraw/excalidraw/pull/4305)
484
+ - Fix docs link in readme [#6486](https://github.com/excalidraw/excalidraw/pull/6486)
485
485
 
486
- - Log FS abortError to console [#4279](https://github.com/excalidraw/excalidraw/pull/4279)
486
+ ## Excalidraw Library
487
487
 
488
- - Add validation for website and remove validation for library item name [#4269](https://github.com/excalidraw/excalidraw/pull/4269)
488
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
489
489
 
490
- - Allow publishing libraries from UI [#4115](https://github.com/excalidraw/excalidraw/pull/4115)
490
+ ### Fixes
491
491
 
492
- - Create confirm dialog to use instead of window.confirm [#4256](https://github.com/excalidraw/excalidraw/pull/4256)
492
+ - Rotate the text element when binding to a rotated container [#6477](https://github.com/excalidraw/excalidraw/pull/6477)
493
493
 
494
- - Allow letters in IDs for storing files in backend [#4224](https://github.com/excalidraw/excalidraw/pull/4224)
494
+ - Support breaking words containing hyphen - [#6014](https://github.com/excalidraw/excalidraw/pull/6014)
495
495
 
496
- - Remove support for V1 unencrypted backend [#4189](https://github.com/excalidraw/excalidraw/pull/4189)
496
+ - Incorrect background fill button active state [#6491](https://github.com/excalidraw/excalidraw/pull/6491)
497
497
 
498
- - Use separate backend for local storage [#4187](https://github.com/excalidraw/excalidraw/pull/4187)
498
+ ---
499
499
 
500
- - Add hint around canvas panning [#4159](https://github.com/excalidraw/excalidraw/pull/4159)
500
+ ## 0.15.1 (2023-04-18)
501
501
 
502
- - Stop using production services for development [#4113](https://github.com/excalidraw/excalidraw/pull/4113)
502
+ ### Docs
503
503
 
504
- - Add triangle arrowhead [#4024](https://github.com/excalidraw/excalidraw/pull/4024)
504
+ - Add the readme back to the package which was mistakenly removed [#6484](https://github.com/excalidraw/excalidraw/pull/6484)
505
505
 
506
- - Add rewrite to webex landing page [#4102](https://github.com/excalidraw/excalidraw/pull/4102)
506
+ ## Excalidraw Library
507
507
 
508
- - Switch collab server [#4092](https://github.com/excalidraw/excalidraw/pull/4092)
508
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
509
509
 
510
- - Use dialog component for clear canvas instead of window confirm [#4075](https://github.com/excalidraw/excalidraw/pull/4075)
510
+ ---
511
511
 
512
- ### Fixes
512
+ ## 0.15.0 (2023-04-18)
513
513
 
514
- - 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)
514
+ ### Features
515
515
 
516
- - Add commits directly pushed to master in changelog [#4798](https://github.com/excalidraw/excalidraw/pull/4798)
516
+ - [`ExcalidrawAPI.scrollToContent`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/props/excalidraw-api#scrolltocontent) has new opts object allowing you to fit viewport to content, and animate the scrolling. [#6319](https://github.com/excalidraw/excalidraw/pull/6319)
517
517
 
518
- - Don't bump element version when adding files data [#4794](https://github.com/excalidraw/excalidraw/pull/4794)
518
+ - Expose `useI18n()` hook return an object containing `t()` i18n helper and current `langCode`. You can use this in components you render as `<Excalidraw>` children to render any of our i18n locale strings. [#6224](https://github.com/excalidraw/excalidraw/pull/6224)
519
519
 
520
- - Mobile link click [#4742](https://github.com/excalidraw/excalidraw/pull/4742)
520
+ - [`restoreElements`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restoreelements) API now takes an optional parameter `opts` which currently supports the below attributes
521
521
 
522
- - ContextMenu timer & pointers not correctly reset on iOS [#4765](https://github.com/excalidraw/excalidraw/pull/4765)
522
+ ```js
523
+ { refreshDimensions?: boolean, repairBindings?: boolean }
524
+ ```
523
525
 
524
- - Use absolute coords when rendering link popover [#4753](https://github.com/excalidraw/excalidraw/pull/4753)
526
+ The same `opts` param has been added to [`restore`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restore) API as well.
525
527
 
526
- - Changing font size when text is not selected or edited [#4751](https://github.com/excalidraw/excalidraw/pull/4751)
528
+ For more details refer to the [docs](https://docs.excalidraw.com)
527
529
 
528
- - Disable contextmenu on non-secondary `pen` events or `touch` [#4675](https://github.com/excalidraw/excalidraw/pull/4675)
530
+ #### BREAKING CHANGE
529
531
 
530
- - Mobile context menu won't show on long press [#4741](https://github.com/excalidraw/excalidraw/pull/4741)
532
+ - The optional parameter `refreshDimensions` in [`restoreElements`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restoreelements) has been removed and can be enabled via `opts`
531
533
 
532
- - Do not open links twice [#4738](https://github.com/excalidraw/excalidraw/pull/4738)
534
+ ### Fixes
533
535
 
534
- - Make link icon clickable in mobile [#4736](https://github.com/excalidraw/excalidraw/pull/4736)
536
+ - Exporting labelled arrows via export utils [#6443](https://github.com/excalidraw/excalidraw/pull/6443)
535
537
 
536
- - Apple Pen missing strokes [#4705](https://github.com/excalidraw/excalidraw/pull/4705)
538
+ ## Excalidraw Library
537
539
 
538
- - Freedraw slow movement jittery lines [#4726](https://github.com/excalidraw/excalidraw/pull/4726)
540
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
539
541
 
540
- - Disable three finger pinch zoom in penMode [#4725](https://github.com/excalidraw/excalidraw/pull/4725)
542
+ ### Features
541
543
 
542
- - Remove click listener for opening popup [#4700](https://github.com/excalidraw/excalidraw/pull/4700)
544
+ - Constrain export dialog preview size [#6475](https://github.com/excalidraw/excalidraw/pull/6475)
543
545
 
544
- - Link popup position not accounting for offsets [#4695](https://github.com/excalidraw/excalidraw/pull/4695)
546
+ - Zigzag fill easter egg [#6439](https://github.com/excalidraw/excalidraw/pull/6439)
545
547
 
546
- - PenMode darkmode style [#4692](https://github.com/excalidraw/excalidraw/pull/4692)
548
+ - Add container to multiple text elements [#6428](https://github.com/excalidraw/excalidraw/pull/6428)
547
549
 
548
- - Typing `_+` in wysiwyg not working [#4681](https://github.com/excalidraw/excalidraw/pull/4681)
550
+ - Starting migration from GA to Matomo for better privacy [#6398](https://github.com/excalidraw/excalidraw/pull/6398)
549
551
 
550
- - Keyboard-zooming in wysiwyg should zoom canvas [#4676](https://github.com/excalidraw/excalidraw/pull/4676)
552
+ - Add line height attribute to text element [#6360](https://github.com/excalidraw/excalidraw/pull/6360)
551
553
 
552
- - SceneCoordsToViewportCoords, jumping text when there is an offset [#4413](https://github.com/excalidraw/excalidraw/pull/4413) (#4630)
554
+ - Add thai lang support [#6314](https://github.com/excalidraw/excalidraw/pull/6314)
553
555
 
554
- - Right-click object menu displays partially off-screen [#4572](https://github.com/excalidraw/excalidraw/pull/4572) (#4631)
556
+ - Create bound container from text [#6301](https://github.com/excalidraw/excalidraw/pull/6301)
555
557
 
556
- - Support collaboration in bound text [#4573](https://github.com/excalidraw/excalidraw/pull/4573)
558
+ - Improve text measurements in bound containers [#6187](https://github.com/excalidraw/excalidraw/pull/6187)
557
559
 
558
- - Cmd/ctrl native browser behavior blocked in inputs [#4589](https://github.com/excalidraw/excalidraw/pull/4589)
560
+ - Bind text to container if double clicked on filled shape or stroke [#6250](https://github.com/excalidraw/excalidraw/pull/6250)
559
561
 
560
- - Use cached width when calculating min width during resize [#4585](https://github.com/excalidraw/excalidraw/pull/4585)
562
+ - Make repair and refreshDimensions configurable in restoreElements [#6238](https://github.com/excalidraw/excalidraw/pull/6238)
561
563
 
562
- - Support collaboration in bounded text [#4580](https://github.com/excalidraw/excalidraw/pull/4580)
564
+ - Show error message when not connected to internet while collabo… [#6165](https://github.com/excalidraw/excalidraw/pull/6165)
563
565
 
564
- - Port for collab server and update docs [#4569](https://github.com/excalidraw/excalidraw/pull/4569)
566
+ - Shortcut for clearCanvas confirmDialog [#6114](https://github.com/excalidraw/excalidraw/pull/6114)
565
567
 
566
- - Don't mutate the bounded text if not updated when submitted [#4543](https://github.com/excalidraw/excalidraw/pull/4543)
568
+ - Disable canvas smoothing (antialiasing) for right-angled elements [#6186](https://github.com/excalidraw/excalidraw/pull/6186)Co-authored-by: Ignacio Cuadra <67276174+ignacio-cuadra@users.noreply.github.com>
567
569
 
568
- - Prevent canvas drag while editing text [#4552](https://github.com/excalidraw/excalidraw/pull/4552)
570
+ ### Fixes
569
571
 
570
- - Support shift+P for freedraw [#4550](https://github.com/excalidraw/excalidraw/pull/4550)
572
+ - Center align text when wrapped in container via context menu [#6480](https://github.com/excalidraw/excalidraw/pull/6480)
571
573
 
572
- - Prefer spreadsheet data over image [#4533](https://github.com/excalidraw/excalidraw/pull/4533)
574
+ - Restore original container height when unbinding text which was binded via context menu [#6444](https://github.com/excalidraw/excalidraw/pull/6444)
573
575
 
574
- - Show text properties button states correctly for bounded text [#4542](https://github.com/excalidraw/excalidraw/pull/4542)
576
+ - Mark more props as optional for element [#6448](https://github.com/excalidraw/excalidraw/pull/6448)
575
577
 
576
- - Rotate bounded text when container is rotated before typing [#4535](https://github.com/excalidraw/excalidraw/pull/4535)
578
+ - Improperly cache-busting on canvas scale instead of zoom [#6473](https://github.com/excalidraw/excalidraw/pull/6473)
577
579
 
578
- - Undo should work when selecting bounded textr [#4537](https://github.com/excalidraw/excalidraw/pull/4537)
580
+ - Incorrectly duplicating items on paste/library insert [#6467](https://github.com/excalidraw/excalidraw/pull/6467)
579
581
 
580
- - Reduce padding to 5px for bounded text [#4530](https://github.com/excalidraw/excalidraw/pull/4530)
582
+ - Library ids cross-contamination on multiple insert [#6466](https://github.com/excalidraw/excalidraw/pull/6466)
581
583
 
582
- - Bound text doesn't inherit container [#4521](https://github.com/excalidraw/excalidraw/pull/4521)
584
+ - Color picker keyboard handling not working [#6464](https://github.com/excalidraw/excalidraw/pull/6464)
583
585
 
584
- - Text wrapping with grid [#4505](https://github.com/excalidraw/excalidraw/pull/4505) (#4506)
586
+ - Abort freedraw line if second touch is detected [#6440](https://github.com/excalidraw/excalidraw/pull/6440)
585
587
 
586
- - Check if process is defined before using so it works in browser [#4497](https://github.com/excalidraw/excalidraw/pull/4497)
588
+ - Utils leaking Scene state [#6461](https://github.com/excalidraw/excalidraw/pull/6461)
587
589
 
588
- - Pending review fixes for sticky notes [#4493](https://github.com/excalidraw/excalidraw/pull/4493)
590
+ - Split "Edit selected shape" shortcut [#6457](https://github.com/excalidraw/excalidraw/pull/6457)
589
591
 
590
- - Pasted elements except binded text once paste action is complete [#4472](https://github.com/excalidraw/excalidraw/pull/4472)
592
+ - Center align text when bind to container via context menu [#6451](https://github.com/excalidraw/excalidraw/pull/6451)
591
593
 
592
- - Don't select binded text when ungrouping [#4470](https://github.com/excalidraw/excalidraw/pull/4470)
594
+ - Update coords when text unbinded from its container [#6445](https://github.com/excalidraw/excalidraw/pull/6445)
593
595
 
594
- - Set height correctly when text properties updated while editing in container until first submit [#4469](https://github.com/excalidraw/excalidraw/pull/4469)
596
+ - Autoredirect to plus in prod only [#6446](https://github.com/excalidraw/excalidraw/pull/6446)
595
597
 
596
- - Align and distribute binded text in container and cleanup [#4468](https://github.com/excalidraw/excalidraw/pull/4468)
598
+ - Fixing popover overflow on small screen [#6433](https://github.com/excalidraw/excalidraw/pull/6433)
597
599
 
598
- - Move binded text when moving container using keyboard [#4466](https://github.com/excalidraw/excalidraw/pull/4466)
600
+ - Introduce baseline to fix the layout shift when switching to text editor [#6397](https://github.com/excalidraw/excalidraw/pull/6397)
599
601
 
600
- - Support dragging binded text in container selected in a group [#4462](https://github.com/excalidraw/excalidraw/pull/4462)
602
+ - Don't refresh dimensions for deleted text elements [#6438](https://github.com/excalidraw/excalidraw/pull/6438)
601
603
 
602
- - Vertically align single line when deleting text in bounded container [#4460](https://github.com/excalidraw/excalidraw/pull/4460)
604
+ - Element vanishes when zoomed in [#6417](https://github.com/excalidraw/excalidraw/pull/6417)
603
605
 
604
- - Update height correctly when updating text properties in binded text [#4459](https://github.com/excalidraw/excalidraw/pull/4459)
606
+ - Don't jump text to end when out of viewport in safari [#6416](https://github.com/excalidraw/excalidraw/pull/6416)
605
607
 
606
- - Align library item previews to center [#4447](https://github.com/excalidraw/excalidraw/pull/4447)
608
+ - GetDefaultLineHeight should return default font family line height for unknown font [#6399](https://github.com/excalidraw/excalidraw/pull/6399)
607
609
 
608
- - Vertically center align text when text deleted [#4457](https://github.com/excalidraw/excalidraw/pull/4457)
610
+ - Revert use `ideographic` textBaseline to improve layout shift when editing text" [#6400](https://github.com/excalidraw/excalidraw/pull/6400)
609
611
 
610
- - Vertically center the first line as user starts typing in container [#4454](https://github.com/excalidraw/excalidraw/pull/4454)
612
+ - Call stack size exceeded when paste large text [#6373](https://github.com/excalidraw/excalidraw/pull/6373) (#6396)
611
613
 
612
- - Switch cursor to center of container when adding text when dimensions are too small [#4452](https://github.com/excalidraw/excalidraw/pull/4452)
614
+ - Use `ideographic` textBaseline to improve layout shift when editing text [#6384](https://github.com/excalidraw/excalidraw/pull/6384)
613
615
 
614
- - Vertically center align the bounded text correctly when zoomed [#4444](https://github.com/excalidraw/excalidraw/pull/4444)
616
+ - Chrome crashing when embedding scene on chrome arm [#6383](https://github.com/excalidraw/excalidraw/pull/6383)
615
617
 
616
- - Support updating stroke color for text by typing in color picker input [#4415](https://github.com/excalidraw/excalidraw/pull/4415)
618
+ - Division by zero in findFocusPointForEllipse leads to infinite loop in wrapText freezing Excalidraw [#6377](https://github.com/excalidraw/excalidraw/pull/6377)
617
619
 
618
- - Bound text not atomic with container when changing z-index [#4414](https://github.com/excalidraw/excalidraw/pull/4414)
620
+ - Containerizing text incorrectly updates arrow bindings [#6369](https://github.com/excalidraw/excalidraw/pull/6369)
619
621
 
620
- - Update viewport coords correctly when editing text [#4416](https://github.com/excalidraw/excalidraw/pull/4416)
622
+ - Ensure export preview is centered [#6337](https://github.com/excalidraw/excalidraw/pull/6337)
621
623
 
622
- - Use word-break break-word only and update text editor height only when binded to container [#4410](https://github.com/excalidraw/excalidraw/pull/4410)
624
+ - Hide text align for labelled arrows [#6339](https://github.com/excalidraw/excalidraw/pull/6339)
623
625
 
624
- - Husky not able to execute pre-commit on windows [#4370](https://github.com/excalidraw/excalidraw/pull/4370)
626
+ - Refresh dimensions when elements loaded from shareable link and blob [#6333](https://github.com/excalidraw/excalidraw/pull/6333)
625
627
 
626
- - Make firebase config parsing not fail on undefined env [#4381](https://github.com/excalidraw/excalidraw/pull/4381)
628
+ - Show error message when measureText API breaks in brave [#6336](https://github.com/excalidraw/excalidraw/pull/6336)
627
629
 
628
- - Adding to library via contextmenu when no image is selected [#4356](https://github.com/excalidraw/excalidraw/pull/4356)
630
+ - Add an offset of 0.5px for text editor in containers [#6328](https://github.com/excalidraw/excalidraw/pull/6328)
629
631
 
630
- - Export scale quality regression [#4316](https://github.com/excalidraw/excalidraw/pull/4316)
632
+ - Move utility types out of `.d.ts` file to fix exported declaration files [#6315](https://github.com/excalidraw/excalidraw/pull/6315)
631
633
 
632
- - Remove `100%` height from tooltip container to fix layout issues [#3980](https://github.com/excalidraw/excalidraw/pull/3980)
634
+ - More jotai scopes missing [#6313](https://github.com/excalidraw/excalidraw/pull/6313)
633
635
 
634
- - Inline ENV variables when building excalidraw package [#4311](https://github.com/excalidraw/excalidraw/pull/4311)
636
+ - Provide HelpButton title prop [#6209](https://github.com/excalidraw/excalidraw/pull/6209)
635
637
 
636
- - SVG export in dark mode with embedded bitmap image [#4285](https://github.com/excalidraw/excalidraw/pull/4285)
638
+ - Respect text align when wrapping in a container [#6310](https://github.com/excalidraw/excalidraw/pull/6310)
637
639
 
638
- - New FS API not working on Linux [#4280](https://github.com/excalidraw/excalidraw/pull/4280)
640
+ - Compute bounding box correctly for text element when multiple element resizing [#6307](https://github.com/excalidraw/excalidraw/pull/6307)
639
641
 
640
- - Url -> URL for consistency [#4277](https://github.com/excalidraw/excalidraw/pull/4277)
642
+ - Use jotai scope for editor-specific atoms [#6308](https://github.com/excalidraw/excalidraw/pull/6308)
641
643
 
642
- - Prevent adding images to library via contextMenu [#4264](https://github.com/excalidraw/excalidraw/pull/4264)
644
+ - Consider arrow for bound text element [#6297](https://github.com/excalidraw/excalidraw/pull/6297)
643
645
 
644
- - Account for libraries v2 when prompting [#4263](https://github.com/excalidraw/excalidraw/pull/4263)
646
+ - Text never goes beyond max width for unbound text elements [#6288](https://github.com/excalidraw/excalidraw/pull/6288)
645
647
 
646
- - Skia rendering issues [#4200](https://github.com/excalidraw/excalidraw/pull/4200)
648
+ - Svg text baseline [#6285](https://github.com/excalidraw/excalidraw/pull/6273)
647
649
 
648
- - Ellipse roughness when `0` [#4194](https://github.com/excalidraw/excalidraw/pull/4194)
650
+ - Compute container height from bound text correctly [#6273](https://github.com/excalidraw/excalidraw/pull/6273)
649
651
 
650
- - Proper string for invalid SVG [#4191](https://github.com/excalidraw/excalidraw/pull/4191)
652
+ - Fit mobile toolbar and make scrollable [#6270](https://github.com/excalidraw/excalidraw/pull/6270)
651
653
 
652
- - Images not initialized correctly [#4157](https://github.com/excalidraw/excalidraw/pull/4157)
654
+ - Indenting via `tab` clashing with IME compositor [#6258](https://github.com/excalidraw/excalidraw/pull/6258)
653
655
 
654
- - Image-related fixes [#4147](https://github.com/excalidraw/excalidraw/pull/4147)
656
+ - Improve text wrapping inside rhombus and more fixes [#6265](https://github.com/excalidraw/excalidraw/pull/6265)
655
657
 
656
- - Rewrite collab element reconciliation to fix z-index issues [#4076](https://github.com/excalidraw/excalidraw/pull/4076)
658
+ - Improve text wrapping in ellipse and alignment [#6172](https://github.com/excalidraw/excalidraw/pull/6172)
657
659
 
658
- - Redirect excalidraw.com/about to for-webex.excalidraw.com [#4104](https://github.com/excalidraw/excalidraw/pull/4104)
660
+ - Don't allow blank space in collab name [#6211](https://github.com/excalidraw/excalidraw/pull/6211)
659
661
 
660
- - Redirect to webex LP instead of rewrite to fix SW [#4103](https://github.com/excalidraw/excalidraw/pull/4103)
662
+ - Docker build architecture:linux/amd64 error occur on linux/arm64 instance [#6197](https://github.com/excalidraw/excalidraw/pull/6197)
661
663
 
662
- - Clear image/shape cache of affected elements when adding files [#4089](https://github.com/excalidraw/excalidraw/pull/4089)
664
+ - Sort bound text elements to fix text duplication z-index error [#5130](https://github.com/excalidraw/excalidraw/pull/5130)
663
665
 
664
- - Clear `LibraryUnit` DOM on unmount [#4084](https://github.com/excalidraw/excalidraw/pull/4084)
666
+ - Hide welcome screen on mobile once user interacts [#6185](https://github.com/excalidraw/excalidraw/pull/6185)
665
667
 
666
- - Pasting images on firefox [#4085](https://github.com/excalidraw/excalidraw/pull/4085)
668
+ - Edit link in docs [#6182](https://github.com/excalidraw/excalidraw/pull/6182)
667
669
 
668
670
  ### Refactor
669
671
 
670
- - Simplify zoom by removing `zoom.translation` [#4477](https://github.com/excalidraw/excalidraw/pull/4477)
672
+ - Inline `SingleLibraryItem` into `PublishLibrary` [#6462](https://github.com/excalidraw/excalidraw/pull/6462)
671
673
 
672
- - Deduplicate encryption helpers [#4146](https://github.com/excalidraw/excalidraw/pull/4146)
674
+ - Make the example React app reusable without duplication [#6188](https://github.com/excalidraw/excalidraw/pull/6188)
673
675
 
674
676
  ### Performance
675
677
 
676
- - Cache approx line height in textwysiwg [#4651](https://github.com/excalidraw/excalidraw/pull/4651)
678
+ - Break early if the line width <= max width of the container [#6347](https://github.com/excalidraw/excalidraw/pull/6347)
677
679
 
678
680
  ### Build
679
681
 
680
- - Rename release command to 'release package' [#4783](https://github.com/excalidraw/excalidraw/pull/4783)
682
+ - Move TS and types to devDependencies [#6346](https://github.com/excalidraw/excalidraw/pull/6346)
681
683
 
682
- - Deploy excalidraw package example [#4762](https://github.com/excalidraw/excalidraw/pull/4762)
684
+ ---
683
685
 
684
- - Allow package.json changes when autoreleasing next [#4068](https://github.com/excalidraw/excalidraw/pull/4068)
686
+ ## 0.14.2 (2023-02-01)
685
687
 
686
- ---
688
+ ### Features
687
689
 
688
- ## 0.10.0 (2021-10-13)
690
+ - Welcome screen no longer renders by default, and you need to render it yourself. `UIOptions.welcomeScreen` option is now deprecated. [#6117](https://github.com/excalidraw/excalidraw/pull/6117)
691
+ - `MainMenu`, `MainMenu.Item`, and `MainMenu.ItemLink` components now all support `onSelect(event: Event): void` callback. If you call `event.preventDefault()`, it will prevent the menu from closing when an item is selected (clicked on). [#6152](https://github.com/excalidraw/excalidraw/pull/6152)
689
692
 
690
- ## Excalidraw API
693
+ ### Fixes
694
+
695
+ - declare css variable for font in excalidraw so its available in host [#6160](https://github.com/excalidraw/excalidraw/pull/6160)
696
+
697
+ ## Excalidraw Library
698
+
699
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
700
+
701
+ ### Features
702
+
703
+ - Add hand/panning tool [#6141](https://github.com/excalidraw/excalidraw/pull/6141)
704
+
705
+ - Show copy-as-png export button on firefox and show steps how to enable it [#6125](https://github.com/excalidraw/excalidraw/pull/6125)
691
706
 
692
707
  ### Fixes
693
708
 
694
- - 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).
709
+ - Horizontal padding when aligning bound text containers [#6180](https://github.com/excalidraw/excalidraw/pull/6180)
695
710
 
696
- - [`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).
711
+ - Make tunnels work in multi-instance scenarios [#6178](https://github.com/excalidraw/excalidraw/pull/6178)
697
712
 
698
- #### BREAKING CHANGE
713
+ - Add 1px width to the container to calculate more accurately [#6174](https://github.com/excalidraw/excalidraw/pull/6174)
714
+
715
+ - Quick typo fix [#6167](https://github.com/excalidraw/excalidraw/pull/6167)
716
+
717
+ - Set the width correctly using measureText in editor [#6162](https://github.com/excalidraw/excalidraw/pull/6162)
718
+
719
+ - :bug: broken emojis when wrap text [#6153](https://github.com/excalidraw/excalidraw/pull/6153)
699
720
 
700
- - 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.
721
+ - Button background and svg sizes [#6155](https://github.com/excalidraw/excalidraw/pull/6155)
722
+
723
+ ### Styles
724
+
725
+ - Change in ExportButton style [#6147](https://github.com/excalidraw/excalidraw/pull/6147) (#6148)
701
726
 
702
727
  ### Build
703
728
 
704
- - Enable jsx transform in webpack [#4049](https://github.com/excalidraw/excalidraw/pull/4049)
729
+ - Temporarily disable pre-commit [#6132](https://github.com/excalidraw/excalidraw/pull/6132)
705
730
 
706
- ### Docs
731
+ ---
732
+
733
+ ## 0.14.1 (2023-01-16)
734
+
735
+ ### Fixes
707
736
 
708
- - Correct exportToBackend in README to onExportToBackend [#3952](https://github.com/excalidraw/excalidraw/pull/3952)
737
+ - remove overflow hidden from button [#6110](https://github.com/excalidraw/excalidraw/pull/6110). This fixes the collaborator count css in the [LiveCollaborationTrigger](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#LiveCollaborationTrigger) component.
738
+
739
+ ## 0.14.0 (2023-01-13)
740
+
741
+ ### Features
742
+
743
+ - Support customization for the editor [welcome screen](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#WelcomeScreen) [#6048](https://github.com/excalidraw/excalidraw/pull/6048).
744
+
745
+ - Expose component API for the Excalidraw main menu [#6034](https://github.com/excalidraw/excalidraw/pull/6034), You can read more about its usage [here](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#MainMenu)
746
+
747
+ - Support customization for the Excalidraw [main menu](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#MainMenu) [#6034](https://github.com/excalidraw/excalidraw/pull/6034).
748
+
749
+ - [Footer](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#Footer) is now rendered as child component instead of passed as a render prop [#5970](https://github.com/excalidraw/excalidraw/pull/5970).
750
+
751
+ - Any top-level children passed to the `<Excalidraw/>` component that do not belong to one of the officially supported Excalidraw children components are now rendered directly inside the Excalidraw container (previously, they weren't rendered at all) [#6096](https://github.com/excalidraw/excalidraw/pull/6096).
752
+
753
+ - Expose [LiveCollaborationTrigger](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#LiveCollaborationTrigger) component. Replaces `props.onCollabButtonClick` [#6104](https://github.com/excalidraw/excalidraw/pull/6104).
754
+
755
+ #### BREAKING CHANGES
756
+
757
+ - `props.onCollabButtonClick` is now removed. You need to render the main menu item yourself, and optionally also render the `<LiveCollaborationTrigger>` component using [renderTopRightUI](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderTopRightUI) prop if you want to retain the canvas button at top-right.
758
+ - The prop `renderFooter` is now removed in favor of rendering as a child component.
759
+
760
+ ### Excalidraw schema
761
+
762
+ - Merged `appState.currentItemStrokeSharpness` and `appState.currentItemLinearStrokeSharpness` into `appState.currentItemRoundness`. Renamed `changeSharpness` action to `changeRoundness`. Excalidraw element's `strokeSharpness` was changed to `roundness`. Check the PR for types and more details [#5553](https://github.com/excalidraw/excalidraw/pull/5553).
709
763
 
710
764
  ## Excalidraw Library
711
765
 
@@ -713,89 +767,175 @@ React.createElement(ExcalidrawLib.Excalidraw, opts);
713
767
 
714
768
  ### Features
715
769
 
716
- - Improve freedraw shape [#3984](https://github.com/excalidraw/excalidraw/pull/3984)
770
+ - Generic button export [#6092](https://github.com/excalidraw/excalidraw/pull/6092)
771
+
772
+ - Scroll using PageUp and PageDown [#6038](https://github.com/excalidraw/excalidraw/pull/6038)
773
+
774
+ - Support shrinking text containers to original height when text removed [#6025](https://github.com/excalidraw/excalidraw/pull/6025)
717
775
 
718
- - Make color ARIA labels better [#3871](https://github.com/excalidraw/excalidraw/pull/3871)
776
+ - Move contextMenu into the component tree and control via appState [#6021](https://github.com/excalidraw/excalidraw/pull/6021)
719
777
 
720
- - Add origin trial tokens [#3853](https://github.com/excalidraw/excalidraw/pull/3853)
778
+ - Allow readonly actions to be used in viewMode [#5982](https://github.com/excalidraw/excalidraw/pull/5982)
721
779
 
722
- - Re-order zoom buttons [#3837](https://github.com/excalidraw/excalidraw/pull/3837)
780
+ - Support labels for arrow 🔥 [#5723](https://github.com/excalidraw/excalidraw/pull/5723)
723
781
 
724
- - Add undo/redo buttons & tweak footer [#3832](https://github.com/excalidraw/excalidraw/pull/3832)
782
+ - Don't add midpoint until dragged beyond a threshold [#5927](https://github.com/excalidraw/excalidraw/pull/5927)
725
783
 
726
- - Resave to png/svg with metadata if you loaded your scene from a png/svg file [#3645](https://github.com/excalidraw/excalidraw/pull/3645)
784
+ - Changed text copy/paste behaviour [#5786](https://github.com/excalidraw/excalidraw/pull/5786)
785
+
786
+ - Reintroduce `x` shortcut for `freedraw` [#5840](https://github.com/excalidraw/excalidraw/pull/5840)
787
+
788
+ - Tweak toolbar shortcuts & remove library shortcut [#5832](https://github.com/excalidraw/excalidraw/pull/5832)
789
+
790
+ - Clean unused images only after 24hrs (local-only) [#5839](https://github.com/excalidraw/excalidraw/pull/5839)
791
+
792
+ - Refetch errored/pending images on collab room init load [#5833](https://github.com/excalidraw/excalidraw/pull/5833)
793
+
794
+ - Stop deleting whole line when no point select in line editor [#5676](https://github.com/excalidraw/excalidraw/pull/5676)
795
+
796
+ - Editor redesign 🔥 [#5780](https://github.com/excalidraw/excalidraw/pull/5780)
727
797
 
728
798
  ### Fixes
729
799
 
730
- - Abstract and fix legacy fs [#4032](https://github.com/excalidraw/excalidraw/pull/4032)
800
+ - Mobile tools positioning [#6107](https://github.com/excalidraw/excalidraw/pull/6107)
731
801
 
732
- - Context menu positioning [#4025](https://github.com/excalidraw/excalidraw/pull/4025)
802
+ - Renamed folder MainMenu->main-menu and support rest props [#6103](https://github.com/excalidraw/excalidraw/pull/6103)
733
803
 
734
- - Added alert for bad encryption key [#3998](https://github.com/excalidraw/excalidraw/pull/3998)
804
+ - Use position absolute for mobile misc tools [#6099](https://github.com/excalidraw/excalidraw/pull/6099)
735
805
 
736
- - OnPaste should return false to prevent paste action [#3974](https://github.com/excalidraw/excalidraw/pull/3974)
806
+ - React.memo resolvers not accounting for all props [#6042](https://github.com/excalidraw/excalidraw/pull/6042)
737
807
 
738
- - Help-icon now visible on Safari [#3939](https://github.com/excalidraw/excalidraw/pull/3939)
808
+ - Image horizontal flip fix + improved tests [#5799](https://github.com/excalidraw/excalidraw/pull/5799)
739
809
 
740
- - Permanent zoom mode [#3931](https://github.com/excalidraw/excalidraw/pull/3931)
810
+ - Png-exporting does not preserve angles correctly for flipped images [#6085](https://github.com/excalidraw/excalidraw/pull/6085)
741
811
 
742
- - Undo/redo buttons gap in Safari [#3836](https://github.com/excalidraw/excalidraw/pull/3836)
812
+ - Stale appState of MainMenu defaultItems rendered from Actions [#6074](https://github.com/excalidraw/excalidraw/pull/6074)
743
813
 
744
- - Prevent gradual canvas misalignment [#3833](https://github.com/excalidraw/excalidraw/pull/3833)
814
+ - HelpDialog [#6072](https://github.com/excalidraw/excalidraw/pull/6072)
745
815
 
746
- - Color picker shortcuts not working when elements selected [#3817](https://github.com/excalidraw/excalidraw/pull/3817)
816
+ - Show error message on collab save failure [#6063](https://github.com/excalidraw/excalidraw/pull/6063)
747
817
 
748
- ---
818
+ - Remove ga from docker build [#6059](https://github.com/excalidraw/excalidraw/pull/6059)
749
819
 
750
- ## 0.9.0 (2021-07-10)
820
+ - Use displayName since name gets stripped off when uglifying/minifiyng in production [#6036](https://github.com/excalidraw/excalidraw/pull/6036)
751
821
 
752
- ## Excalidraw API
822
+ - Remove background from wysiwyg when editing arrow label [#6033](https://github.com/excalidraw/excalidraw/pull/6033)
753
823
 
754
- ### Features
824
+ - Use canvas measureText to calculate width in measureText [#6030](https://github.com/excalidraw/excalidraw/pull/6030)
755
825
 
756
- - [`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).
826
+ - Restoring deleted bindings [#6029](https://github.com/excalidraw/excalidraw/pull/6029)
757
827
 
758
- #### BREAKING CHANGE
828
+ - ColorPicker getColor [#5949](https://github.com/excalidraw/excalidraw/pull/5949)
759
829
 
760
- - `localElements` argument is mandatory (can be `null`/`undefined`) if using TypeScript.
830
+ - Don't push whitespace to next line when exceeding max width during wrapping and make sure to use same width of text editor on DOM when measuring dimensions [#5996](https://github.com/excalidraw/excalidraw/pull/5996)
761
831
 
762
- - 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).
832
+ - Showing `grabbing` cursor when holding `spacebar` [#6015](https://github.com/excalidraw/excalidraw/pull/6015)
763
833
 
764
- #### BREAKING CHANGE
834
+ - Resize sometimes throwing on missing null-checks [#6013](https://github.com/excalidraw/excalidraw/pull/6013)
765
835
 
766
- - The attribute `metadata` is now removed as `metadata` was only used to embed scene data which is now supported with the `appState.exportEmbedScene` attribute.
767
- - [`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.
836
+ - PWA not working after CRA@5 update [#6012](https://github.com/excalidraw/excalidraw/pull/6012)
768
837
 
769
- - 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).
838
+ - Not properly restoring element stroke and bg colors [#6002](https://github.com/excalidraw/excalidraw/pull/6002)
770
839
 
771
- - 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).
840
+ - Avatar outline on safari & center [#5997](https://github.com/excalidraw/excalidraw/pull/5997)
772
841
 
773
- - 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).
842
+ - Chart pasting not working due to removing tab characters [#5987](https://github.com/excalidraw/excalidraw/pull/5987)
774
843
 
775
- Note: Earlier Excalidraw component was focused by default on page load, you need to enable `autoFocus` prop to retain the same behaviour.
844
+ - Apply the right type of roundness when pasting styles [#5979](https://github.com/excalidraw/excalidraw/pull/5979)
776
845
 
777
- - Added prop `UIOptions.canvasActions.export.renderCustomUI` to support Custom UI rendering inside export dialog [#3666](https://github.com/excalidraw/excalidraw/pull/3666).
778
- - 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).
846
+ - Remove editor onpaste handler [#5971](https://github.com/excalidraw/excalidraw/pull/5971)
779
847
 
780
- - 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).
848
+ - Remove blank space [#5950](https://github.com/excalidraw/excalidraw/pull/5950)
781
849
 
782
- Also, [`UIOptions`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#UIOptions) is now memoized to avoid unnecessary rerenders.
850
+ - Galego and Kurdî missing in languages plus two locale typos [#5954](https://github.com/excalidraw/excalidraw/pull/5954)
783
851
 
784
- #### BREAKING CHANGE
852
+ - `ExcalidrawArrowElement` rather than `ExcalidrawArrowEleement` [#5955](https://github.com/excalidraw/excalidraw/pull/5955)
785
853
 
786
- - `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.
787
- - `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.
854
+ - RenderFooter styling [#5962](https://github.com/excalidraw/excalidraw/pull/5962)
788
855
 
789
- ### Fixes
856
+ - Repair element bindings on restore [#5956](https://github.com/excalidraw/excalidraw/pull/5956)
857
+
858
+ - Don't allow whitespaces for bound text [#5939](https://github.com/excalidraw/excalidraw/pull/5939)
859
+
860
+ - Bindings do not survive history serialization [#5942](https://github.com/excalidraw/excalidraw/pull/5942)
861
+
862
+ - Dedupe boundElement ids when container duplicated with alt+drag [#5938](https://github.com/excalidraw/excalidraw/pull/5938)
863
+
864
+ - Scale font correctly when using shift [#5935](https://github.com/excalidraw/excalidraw/pull/5935)
865
+
866
+ - Always bind to container selected by user [#5880](https://github.com/excalidraw/excalidraw/pull/5880)
867
+
868
+ - Fonts not rendered on init if `loadingdone` not fired [#5923](https://github.com/excalidraw/excalidraw/pull/5923)
869
+
870
+ - Stop replacing `del` word with `Delete` [#5897](https://github.com/excalidraw/excalidraw/pull/5897)
871
+
872
+ - Remove legacy React.render() from the editor [#5893](https://github.com/excalidraw/excalidraw/pull/5893)
873
+
874
+ - Allow adding text via enter only for text containers [#5891](https://github.com/excalidraw/excalidraw/pull/5891)
875
+
876
+ - Stop font `loadingdone` loop when rendering element SVGs [#5883](https://github.com/excalidraw/excalidraw/pull/5883)
877
+
878
+ - Refresh text dimensions only after font load done [#5878](https://github.com/excalidraw/excalidraw/pull/5878)
879
+
880
+ - Correctly paste contents parsed by `JSON.parse()` as text. [#5868](https://github.com/excalidraw/excalidraw/pull/5868)
881
+
882
+ - SVG element attributes in icons.tsx [#5871](https://github.com/excalidraw/excalidraw/pull/5871)
883
+
884
+ - Merge existing text with new when pasted [#5856](https://github.com/excalidraw/excalidraw/pull/5856)
885
+
886
+ - Disable FAST_REFRESH to fix live reload [#5852](https://github.com/excalidraw/excalidraw/pull/5852)
887
+
888
+ - Paste clipboard contents into unbound text elements [#5849](https://github.com/excalidraw/excalidraw/pull/5849)
889
+
890
+ - Compute dimensions of container correctly when text pasted on container [#5845](https://github.com/excalidraw/excalidraw/pull/5845)
790
891
 
791
- - Use excalidraw Id in elements so every element has unique id [#3696](https://github.com/excalidraw/excalidraw/pull/3696).
892
+ - Line editor points rendering below elements [#5781](https://github.com/excalidraw/excalidraw/pull/5781)
893
+
894
+ - Syncing 1-point lines to remote clients [#5677](https://github.com/excalidraw/excalidraw/pull/5677)
895
+
896
+ - Incorrectly selecting linear elements on creation while tool-locked [#5785](https://github.com/excalidraw/excalidraw/pull/5785)
897
+
898
+ - Corrected typo in toggle theme shortcut [#5813](https://github.com/excalidraw/excalidraw/pull/5813)
899
+
900
+ - Hide canvas-modifying UI in view mode [#5815](https://github.com/excalidraw/excalidraw/pull/5815)
901
+
902
+ - Fix vertical/horizntal centering icons [#5812](https://github.com/excalidraw/excalidraw/pull/5812)
903
+
904
+ - Consistent use of ZOOM_STEP [#5801](https://github.com/excalidraw/excalidraw/pull/5801)
905
+
906
+ - Multiple elements resizing regressions [#5586](https://github.com/excalidraw/excalidraw/pull/5586)
907
+
908
+ - Changelog typo [#5795](https://github.com/excalidraw/excalidraw/pull/5795)
792
909
 
793
910
  ### Refactor
794
911
 
795
- - #### BREAKING CHANGE
796
- - Rename `UIOptions.canvasActions.saveScene` to `UIOptions.canvasActions.saveToActiveFile`[#3657](https://github.com/excalidraw/excalidraw/pull/3657).
797
- - 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).
798
- - 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.
912
+ - Remove unnecessary code [#5933](https://github.com/excalidraw/excalidraw/pull/5933)
913
+
914
+ ### Build
915
+
916
+ - Move release scripts to use release branch [#5958](https://github.com/excalidraw/excalidraw/pull/5958)
917
+
918
+ - Stops ignoring .env files from docker context so env variables get set during react app build. [#5809](https://github.com/excalidraw/excalidraw/pull/5809)
919
+
920
+ ---
921
+
922
+ ## 0.13.0 (2022-10-27)
923
+
924
+ ### Excalidraw API
925
+
926
+ #### Features
927
+
928
+ - `restoreElements()` now takes an optional parameter to indicate whether we should also recalculate text element dimensions. Defaults to `true`, but since this is a potentially costly operation, you may want to disable it if you restore elements in tight loops, such as during collaboration [#5432](https://github.com/excalidraw/excalidraw/pull/5432).
929
+ - Support rendering custom sidebar using [`renderSidebar`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderSidebar) prop ([#5663](https://github.com/excalidraw/excalidraw/pull/5663)).
930
+ - Add [`toggleMenu`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#toggleMenu) prop to toggle specific menu open/close state ([#5663](https://github.com/excalidraw/excalidraw/pull/5663)).
931
+ - Support [theme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#theme) to be semi-controlled [#5660](https://github.com/excalidraw/excalidraw/pull/5660).
932
+ - Added support for storing [`customData`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#storing-custom-data-on-excalidraw-elements) on Excalidraw elements [#5592].
933
+ - Added `exportPadding?: number;` to [exportToCanvas](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exporttocanvas) and [exportToBlob](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exporttoblob). The default value of the padding is `10`.
934
+
935
+ #### Breaking Changes
936
+
937
+ - `props.UIOptions.canvasActions.theme` is now renamed to `props.UIOptions.canvasActions.toggleTheme` [#5660](https://github.com/excalidraw/excalidraw/pull/5660).
938
+ - `setToastMessage` API is now renamed to `setToast` API and the function signature is also updated [#5427](https://github.com/excalidraw/excalidraw/pull/5427). You can also pass `duration` and `closable` attributes along with `message`.
799
939
 
800
940
  ## Excalidraw Library
801
941
 
@@ -803,86 +943,202 @@ React.createElement(ExcalidrawLib.Excalidraw, opts);
803
943
 
804
944
  ### Features
805
945
 
806
- - Switch to selection tool on library item insert [#3773](https://github.com/excalidraw/excalidraw/pull/3773)
946
+ - Render library into `Sidebar` on mobile [#5774](https://github.com/excalidraw/excalidraw/pull/5774)
947
+
948
+ - Additional drag and drop image format support (webp, bmp, ico) [#5749](https://github.com/excalidraw/excalidraw/pull/5749)
949
+
950
+ - Enter and Exit line editor via context menu [#5719](https://github.com/excalidraw/excalidraw/pull/5719)
807
951
 
808
- - Show active file name when saving to current file [#3733](https://github.com/excalidraw/excalidraw/pull/3733)
952
+ - Further reduce darkmode init flash [#5701](https://github.com/excalidraw/excalidraw/pull/5701)
809
953
 
810
- - Add hint around text editing [#3708](https://github.com/excalidraw/excalidraw/pull/3708)
954
+ - Support segment midpoints in line editor [#5641](https://github.com/excalidraw/excalidraw/pull/5641)
811
955
 
812
- - Change library icon to be more clear [#3583](https://github.com/excalidraw/excalidraw/pull/3583)
956
+ - Added exportPadding to PNG (blob) export in @excalidraw/utils [#5626](https://github.com/excalidraw/excalidraw/pull/5626)
813
957
 
814
- - Pass current `theme` when installing libraries [#3701](https://github.com/excalidraw/excalidraw/pull/3701)
958
+ - Introduce ExcalidrawElements and ExcalidrawAppState provider [#5463](https://github.com/excalidraw/excalidraw/pull/5463)
815
959
 
816
- - Update virgil font [#3692](https://github.com/excalidraw/excalidraw/pull/3692)
960
+ - Enable midpoint inside linear element editor [#5564](https://github.com/excalidraw/excalidraw/pull/5564)
817
961
 
818
- - Support exporting json to excalidraw plus [#3678](https://github.com/excalidraw/excalidraw/pull/3678)
962
+ - Show a mid point for linear elements [#5534](https://github.com/excalidraw/excalidraw/pull/5534)
819
963
 
820
- - Save exportScale in AppState [#3580](https://github.com/excalidraw/excalidraw/pull/3580)
964
+ - Lock angle when editing linear elements with shift pressed [#5527](https://github.com/excalidraw/excalidraw/pull/5527)
821
965
 
822
- - Add shortcuts for stroke and background color picker [#3318](https://github.com/excalidraw/excalidraw/pull/3318)
966
+ - Redesign linear elements 🎉 [#5501](https://github.com/excalidraw/excalidraw/pull/5501)
823
967
 
824
- - Exporting redesign [#3613](https://github.com/excalidraw/excalidraw/pull/3613)
968
+ - Cursor alignment when creating linear elements with shift pressed [#5518](https://github.com/excalidraw/excalidraw/pull/5518)
825
969
 
826
- - Auto-position tooltip and support overflowing container [#3631](https://github.com/excalidraw/excalidraw/pull/3631)
970
+ - Shift-clamp when creating multi-point lines/arrows [#5500](https://github.com/excalidraw/excalidraw/pull/5500)
827
971
 
828
- - Auto release @excalidraw/excalidraw-next on every change [#3614](https://github.com/excalidraw/excalidraw/pull/3614)
972
+ - Cursor alignment when creating generic elements [#5516](https://github.com/excalidraw/excalidraw/pull/5516)
829
973
 
830
- - Allow inner-drag-selecting with cmd/ctrl [#3603](https://github.com/excalidraw/excalidraw/pull/3603)
974
+ - Make context menu scrollable [#4030](https://github.com/excalidraw/excalidraw/pull/4030)
831
975
 
832
976
  ### Fixes
833
977
 
834
- - view mode cursor adjustments [#3809](https://github.com/excalidraw/excalidraw/pull/3809).
978
+ - Ungroup short cut key [#5779](https://github.com/excalidraw/excalidraw/pull/5779)
979
+
980
+ - Replaced KeyboardEvent.code with KeyboardEvent.key for all letters [#5523](https://github.com/excalidraw/excalidraw/pull/5523)
981
+
982
+ - Free draw flip not scaling correctly [#5752](https://github.com/excalidraw/excalidraw/pull/5752)
983
+
984
+ - Wait for window focus until prompting for library install [#5751](https://github.com/excalidraw/excalidraw/pull/5751)
835
985
 
836
- - Pass next release to updatePackageVersion & replace ## unreleased with new version [#3806](https://github.com/excalidraw/excalidraw/pull/3806)
986
+ - Update perfect freehand library to fix extra dot [#5727](https://github.com/excalidraw/excalidraw/pull/5727)
837
987
 
838
- - Include deleted elements when passing to restore [#3802](https://github.com/excalidraw/excalidraw/pull/3802)
988
+ - RestoreElementWithProperties drops "parent" property [#5742](https://github.com/excalidraw/excalidraw/pull/5742)
839
989
 
840
- - Import React before using jsx [#3804](https://github.com/excalidraw/excalidraw/pull/3804)
990
+ - Horizontal text alignment for bound text when resizing [#5721](https://github.com/excalidraw/excalidraw/pull/5721)
841
991
 
842
- - Ensure `s` and `g` shortcuts work on no selection [#3800](https://github.com/excalidraw/excalidraw/pull/3800)
992
+ - Set the dimensions of bound text correctly [#5710](https://github.com/excalidraw/excalidraw/pull/5710)
843
993
 
844
- - Keep binding for attached arrows after changing text [#3754](https://github.com/excalidraw/excalidraw/pull/3754)
994
+ - Image-mirroring in export preview and in exported svg [#5700](https://github.com/excalidraw/excalidraw/pull/5700)
845
995
 
846
- - Deselect elements on viewMode toggle [#3741](https://github.com/excalidraw/excalidraw/pull/3741)
996
+ - Double state update incorrectly resetting state [#5704](https://github.com/excalidraw/excalidraw/pull/5704)
847
997
 
848
- - Allow pointer events for disable zen mode button [#3743](https://github.com/excalidraw/excalidraw/pull/3743)
998
+ - Remove no longer used code related to collab room loading [#5699](https://github.com/excalidraw/excalidraw/pull/5699)
849
999
 
850
- - Use rgba instead of shorthand alpha [#3688](https://github.com/excalidraw/excalidraw/pull/3688)
1000
+ - Revert webpack deduping to fix `@next` runtime [#5695](https://github.com/excalidraw/excalidraw/pull/5695)
851
1001
 
852
- - Color pickers not opening on mobile [#3676](https://github.com/excalidraw/excalidraw/pull/3676)
1002
+ - Move to release notes for v0.9.0 and after [#5686](https://github.com/excalidraw/excalidraw/pull/5686)
853
1003
 
854
- - On contextMenu, use selected element regardless of z-index [#3668](https://github.com/excalidraw/excalidraw/pull/3668)
1004
+ - Zen-mode exit button not working [#5682](https://github.com/excalidraw/excalidraw/pull/5682)
855
1005
 
856
- - SelectedGroupIds not being stored in history [#3630](https://github.com/excalidraw/excalidraw/pull/3630)
1006
+ - Buttons jump around on the mobile menu [#5658](https://github.com/excalidraw/excalidraw/pull/5658)
857
1007
 
858
- - Overscroll on touch devices [#3663](https://github.com/excalidraw/excalidraw/pull/3663)
1008
+ - #5622 - prevent session theme reset during collaboration [#5640](https://github.com/excalidraw/excalidraw/pull/5640)
859
1009
 
860
- - Small UI issues around image export dialog [#3642](https://github.com/excalidraw/excalidraw/pull/3642)
1010
+ - Library actions inside the sidebar [#5638](https://github.com/excalidraw/excalidraw/pull/5638)
861
1011
 
862
- - Normalize linear element points on restore [#3633](https://github.com/excalidraw/excalidraw/pull/3633)
1012
+ - Don't render library menu twice for mobile [#5636](https://github.com/excalidraw/excalidraw/pull/5636)
863
1013
 
864
- - Disable pointer-events on footer-center container [#3629](https://github.com/excalidraw/excalidraw/pull/3629)
1014
+ - Reintroduce help dialog button [#5631](https://github.com/excalidraw/excalidraw/pull/5631)
1015
+
1016
+ - Add display name to components so it doesn't show as anonymous [#5616](https://github.com/excalidraw/excalidraw/pull/5616)
1017
+
1018
+ - Improve solveQuadratic when a = 0 [#5618](https://github.com/excalidraw/excalidraw/pull/5618)
1019
+
1020
+ - Add random tiny offsets to avoid linear elements from being clipped [#5615](https://github.com/excalidraw/excalidraw/pull/5615)
1021
+
1022
+ - Crash when adding a new point in the line editor #5602 [#5606](https://github.com/excalidraw/excalidraw/pull/5606)
1023
+
1024
+ - Allow box selection of points when inside editor [#5594](https://github.com/excalidraw/excalidraw/pull/5594)
1025
+
1026
+ - Remove unnecessary conditions in pointerup for linear elements [#5575](https://github.com/excalidraw/excalidraw/pull/5575)
1027
+
1028
+ - Check if hitting link in handleSelectionOnPointerDown [#5589](https://github.com/excalidraw/excalidraw/pull/5589)
1029
+
1030
+ - Points not being normalized on single-elem resize [#5581](https://github.com/excalidraw/excalidraw/pull/5581)
1031
+
1032
+ - Deselect linear element when clicked inside bounding box outside editor [#5579](https://github.com/excalidraw/excalidraw/pull/5579)
1033
+
1034
+ - Resize multiple elements from center [#5560](https://github.com/excalidraw/excalidraw/pull/5560)
1035
+
1036
+ - Call static methods via class instead of instance in linearElementEditor [#5561](https://github.com/excalidraw/excalidraw/pull/5561)
1037
+
1038
+ - Show bounding box for 3 or more linear point elements [#5554](https://github.com/excalidraw/excalidraw/pull/5554)
1039
+
1040
+ - Cleanup the condition for dragging elements [#5555](https://github.com/excalidraw/excalidraw/pull/5555)
1041
+
1042
+ - Shareable links being merged with current scene data [#5547](https://github.com/excalidraw/excalidraw/pull/5547)
1043
+
1044
+ - Scene lookup failing when looking up by id [#5542](https://github.com/excalidraw/excalidraw/pull/5542)
1045
+
1046
+ - Remove rounding to fix jitter when shift-editing [#5543](https://github.com/excalidraw/excalidraw/pull/5543)
1047
+
1048
+ - Line deselected when shift-dragging point outside editor [#5540](https://github.com/excalidraw/excalidraw/pull/5540)
1049
+
1050
+ - Flip linear elements after redesign [#5538](https://github.com/excalidraw/excalidraw/pull/5538)
1051
+
1052
+ - Disable locking aspect ratio for box-selection [#5525](https://github.com/excalidraw/excalidraw/pull/5525)
1053
+
1054
+ - Add `title` attribute to the modal close button [#5521](https://github.com/excalidraw/excalidraw/pull/5521)
1055
+
1056
+ - Context menu positioning when component has offsets [#5520](https://github.com/excalidraw/excalidraw/pull/5520)
1057
+
1058
+ - Resolve paths in prebuild.js script [#5498](https://github.com/excalidraw/excalidraw/pull/5498)
1059
+
1060
+ - Use flushSync when moving line editor since we need to read previous value after setting state [#5508](https://github.com/excalidraw/excalidraw/pull/5508)
1061
+
1062
+ - UseLayout effect cleanup in dev mode for charts [#5505](https://github.com/excalidraw/excalidraw/pull/5505)
1063
+
1064
+ - Revert browser toast for high/low zoom [#5495](https://github.com/excalidraw/excalidraw/pull/5495)
1065
+
1066
+ - Fixing push to DockerHub [#5468](https://github.com/excalidraw/excalidraw/pull/5468)
1067
+
1068
+ - Incorrectly rendering freedraw elements [#5481](https://github.com/excalidraw/excalidraw/pull/5481)
1069
+
1070
+ - Generate types when building example [#5480](https://github.com/excalidraw/excalidraw/pull/5480)
1071
+
1072
+ - Use React.FC as react-dom is not able to infer types of Modal [#5479](https://github.com/excalidraw/excalidraw/pull/5479)
1073
+
1074
+ - Missing translation for "Scale" to Export Dialog [#5456](https://github.com/excalidraw/excalidraw/pull/5456)
1075
+
1076
+ - Add display name for Excalidraw component so it doesn't show as anonymous [#5464](https://github.com/excalidraw/excalidraw/pull/5464)
1077
+
1078
+ - Account for safe area for floating buttons on mobile [#5420](https://github.com/excalidraw/excalidraw/pull/5420)
1079
+
1080
+ - Attribute warnings in comment svg example [#5465](https://github.com/excalidraw/excalidraw/pull/5465)
1081
+
1082
+ - Check for ctrl key when wheel event triggered to only disable zooming [#5459](https://github.com/excalidraw/excalidraw/pull/5459)
1083
+
1084
+ - Disable render throttling by default & during resize [#5451](https://github.com/excalidraw/excalidraw/pull/5451)
1085
+
1086
+ - Attach wheel event to exscalidraw container only [#5443](https://github.com/excalidraw/excalidraw/pull/5443)
1087
+
1088
+ - Show toast when browser zoom is not 100% [#5304](https://github.com/excalidraw/excalidraw/pull/5304)
1089
+
1090
+ - Prevent browser zoom inside Excalidraw [#5426](https://github.com/excalidraw/excalidraw/pull/5426)
1091
+
1092
+ - Typo in changelog [#5425](https://github.com/excalidraw/excalidraw/pull/5425)
865
1093
 
866
1094
  ### Refactor
867
1095
 
868
- - Delete React SyntheticEvent persist [#3700](https://github.com/excalidraw/excalidraw/pull/3700)
1096
+ - Create a util to compute container dimensions for bound text container [#5708](https://github.com/excalidraw/excalidraw/pull/5708)
869
1097
 
870
- - Code clean up [#3681](https://github.com/excalidraw/excalidraw/pull/3681)
1098
+ - Reuse common ui dialogs and message for mobile and LayerUI [#5611](https://github.com/excalidraw/excalidraw/pull/5611)
871
1099
 
872
- ### Performance
1100
+ - Stats component [#5610](https://github.com/excalidraw/excalidraw/pull/5610)
873
1101
 
874
- - Improve arrow head sizing [#3480](https://github.com/excalidraw/excalidraw/pull/3480)
1102
+ - Move footer to its own component [#5609](https://github.com/excalidraw/excalidraw/pull/5609)
875
1103
 
876
- ### Build
1104
+ - Remove unused attribute hasHitElementInside from pointerDownState [#5591](https://github.com/excalidraw/excalidraw/pull/5591)
1105
+
1106
+ - Cleanup renderScene [#5573](https://github.com/excalidraw/excalidraw/pull/5573)
1107
+
1108
+ - Rename docs to dev-docs [#5487](https://github.com/excalidraw/excalidraw/pull/5487)
1109
+
1110
+ - Remove unnecessary if condition for linear element onKeyDown [#5486](https://github.com/excalidraw/excalidraw/pull/5486)
1111
+
1112
+ - Improve typing & check [#5415](https://github.com/excalidraw/excalidraw/pull/5415)
1113
+
1114
+ - Don't pass zenModeEnable, viewModeEnabled and toggleZenMode props to LayerUI [#5444](https://github.com/excalidraw/excalidraw/pull/5444)
877
1115
 
878
- - Add release script to update relevant files and commit for next release [#3805](https://github.com/excalidraw/excalidraw/pull/3805)
1116
+ ### Build
879
1117
 
880
- - Add script to update changelog before a stable release [#3784](https://github.com/excalidraw/excalidraw/pull/3784)
1118
+ - Add missing dependencies: pica, lodash [#5656](https://github.com/excalidraw/excalidraw/pull/5656)
881
1119
 
882
- - Add script to update readme before stable release [#3781](https://github.com/excalidraw/excalidraw/pull/3781)
1120
+ - Move dotenv to dev deps [#5472](https://github.com/excalidraw/excalidraw/pull/5472)
883
1121
 
884
1122
  ---
885
1123
 
1124
+ ## 0.12.0 (2022-07-07)
1125
+
1126
+ Check out the [release notes](https://github.com/excalidraw/excalidraw/releases/tag/v0.12.0) )
1127
+
1128
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
1129
+
1130
+ ## 0.11.0 (2022-02-17)
1131
+
1132
+ Check out the [release notes](https://github.com/excalidraw/excalidraw/releases/tag/v0.11.0)
1133
+
1134
+ ## 0.10.0 (2021-10-13)
1135
+
1136
+ Check out the [release notes](https://github.com/excalidraw/excalidraw/releases/tag/v0.10.0)
1137
+
1138
+ ## 0.9.0 (2021-07-10)
1139
+
1140
+ Check out the [release notes](https://github.com/excalidraw/excalidraw/releases/tag/v0.9.0)
1141
+
886
1142
  ## 0.8.0 (2021-05-15)
887
1143
 
888
1144
  ## Excalidraw API