@excalidraw/excalidraw 0.18.0-508de2f3a → 0.18.0-51ca8ab

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 (619) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/README.md +111 -14
  3. package/dist/dev/{chunk-FB2NA5UG.js → chunk-6JJSWC4C.js} +1 -1
  4. package/dist/dev/{chunk-FB2NA5UG.js.map → chunk-6JJSWC4C.js.map} +2 -2
  5. package/dist/dev/{chunk-3JWCK6AW.js → chunk-ESK25D3N.js} +1072 -575
  6. package/dist/dev/chunk-ESK25D3N.js.map +7 -0
  7. package/dist/dev/{chunk-QF5FRM6O.js → chunk-KY5OFS4H.js} +135 -30
  8. package/dist/dev/chunk-KY5OFS4H.js.map +7 -0
  9. package/dist/dev/chunk-URPEKBQ3.js +69 -0
  10. package/dist/dev/chunk-URPEKBQ3.js.map +7 -0
  11. package/dist/dev/{chunk-BVDPDK7J.js → chunk-Y3BTNZQY.js} +2 -2
  12. package/dist/dev/{chunk-BVDPDK7J.js.map → chunk-Y3BTNZQY.js.map} +1 -1
  13. package/dist/dev/components/TTDDialog/CodeMirrorEditor-XRUBL3LG.js +259 -0
  14. package/dist/dev/components/TTDDialog/CodeMirrorEditor-XRUBL3LG.js.map +7 -0
  15. package/dist/dev/data/{image-CNYZRAWA.js → image-I3PLRYWY.js} +3 -3
  16. package/dist/dev/index.css +2039 -697
  17. package/dist/dev/index.css.map +3 -3
  18. package/dist/dev/index.js +20518 -12281
  19. package/dist/dev/index.js.map +4 -4
  20. package/dist/dev/locales/{ar-SA-XORAP2EK.js → ar-SA-AGVJN2FU.js} +354 -142
  21. package/dist/dev/locales/ar-SA-AGVJN2FU.js.map +7 -0
  22. package/dist/dev/locales/{az-AZ-NAUU3Z4Y.js → az-AZ-62IXPX5D.js} +296 -84
  23. package/dist/dev/locales/az-AZ-62IXPX5D.js.map +7 -0
  24. package/dist/dev/locales/{bg-BG-AAABLFCY.js → bg-BG-UBDZF4KA.js} +284 -72
  25. package/dist/dev/locales/bg-BG-UBDZF4KA.js.map +7 -0
  26. package/dist/dev/locales/{bn-BD-PM4AC5WG.js → bn-BD-4TAUVZOD.js} +264 -52
  27. package/dist/dev/locales/bn-BD-4TAUVZOD.js.map +7 -0
  28. package/dist/dev/locales/bn-IN-PUGL2LDE.js +798 -0
  29. package/dist/dev/locales/bn-IN-PUGL2LDE.js.map +7 -0
  30. package/dist/dev/locales/{ca-ES-YNNMFRQX.js → ca-ES-GEEW5L7T.js} +331 -119
  31. package/dist/dev/locales/ca-ES-GEEW5L7T.js.map +7 -0
  32. package/dist/dev/locales/{cs-CZ-DGZA5IKG.js → cs-CZ-LNVE3QM5.js} +284 -72
  33. package/dist/dev/locales/cs-CZ-LNVE3QM5.js.map +7 -0
  34. package/dist/dev/locales/{da-DK-N76F4QAJ.js → da-DK-CAYJG7FJ.js} +353 -141
  35. package/dist/dev/locales/da-DK-CAYJG7FJ.js.map +7 -0
  36. package/dist/dev/locales/de-CH-GCXOD4LK.js +798 -0
  37. package/dist/dev/locales/de-CH-GCXOD4LK.js.map +7 -0
  38. package/dist/dev/locales/{de-DE-DMRXZ2SZ.js → de-DE-CGDBECYD.js} +255 -43
  39. package/dist/dev/locales/de-DE-CGDBECYD.js.map +7 -0
  40. package/dist/dev/locales/{el-GR-HIKPLEXI.js → el-GR-G5QZC24A.js} +329 -117
  41. package/dist/dev/locales/el-GR-G5QZC24A.js.map +7 -0
  42. package/dist/dev/locales/{en-SMAPCEOQ.js → en-BYFCZL7X.js} +10 -2
  43. package/dist/dev/locales/{es-ES-AQYVXC32.js → es-ES-UMEOH76W.js} +268 -56
  44. package/dist/dev/locales/es-ES-UMEOH76W.js.map +7 -0
  45. package/dist/dev/locales/{eu-ES-3TOEU5DE.js → eu-ES-IWRZXJC5.js} +266 -54
  46. package/dist/dev/locales/eu-ES-IWRZXJC5.js.map +7 -0
  47. package/dist/dev/locales/{fa-IR-527GAKUP.js → fa-IR-QOYVIIJA.js} +341 -129
  48. package/dist/dev/locales/fa-IR-QOYVIIJA.js.map +7 -0
  49. package/dist/dev/locales/{fi-FI-M3WLVDFP.js → fi-FI-BXRW65OA.js} +295 -83
  50. package/dist/dev/locales/fi-FI-BXRW65OA.js.map +7 -0
  51. package/dist/dev/locales/{fr-FR-YE4VDJFI.js → fr-FR-R2QH5VCW.js} +259 -47
  52. package/dist/dev/locales/fr-FR-R2QH5VCW.js.map +7 -0
  53. package/dist/dev/locales/{gl-ES-KMXUYGUN.js → gl-ES-4ES3ZADP.js} +267 -55
  54. package/dist/dev/locales/gl-ES-4ES3ZADP.js.map +7 -0
  55. package/dist/dev/locales/he-IL-TRQRRYPH.js +798 -0
  56. package/dist/dev/locales/he-IL-TRQRRYPH.js.map +7 -0
  57. package/dist/dev/locales/hi-IN-U46BOJEC.js +798 -0
  58. package/dist/dev/locales/hi-IN-U46BOJEC.js.map +7 -0
  59. package/dist/dev/locales/{hu-HU-VIYZI3X4.js → hu-HU-JDULJ6XL.js} +291 -79
  60. package/dist/dev/locales/hu-HU-JDULJ6XL.js.map +7 -0
  61. package/dist/dev/locales/{id-ID-22TWZNLA.js → id-ID-BLIXNCUT.js} +300 -88
  62. package/dist/dev/locales/id-ID-BLIXNCUT.js.map +7 -0
  63. package/dist/dev/locales/{it-IT-MDEQ2SG3.js → it-IT-6TBW7RUK.js} +258 -46
  64. package/dist/dev/locales/it-IT-6TBW7RUK.js.map +7 -0
  65. package/dist/dev/locales/{ja-JP-K2DI4W6B.js → ja-JP-6HYAQFYX.js} +302 -90
  66. package/dist/dev/locales/ja-JP-6HYAQFYX.js.map +7 -0
  67. package/dist/dev/locales/{kaa-6BPSNM3R.js → kaa-Z5UP62XJ.js} +257 -45
  68. package/dist/dev/locales/kaa-Z5UP62XJ.js.map +7 -0
  69. package/dist/dev/locales/{kab-KAB-2S7ZURK7.js → kab-KAB-Z7STWQKS.js} +266 -54
  70. package/dist/dev/locales/kab-KAB-Z7STWQKS.js.map +7 -0
  71. package/dist/dev/locales/{kk-KZ-UJPYGRQQ.js → kk-KZ-BWHY45DX.js} +230 -18
  72. package/dist/dev/locales/kk-KZ-BWHY45DX.js.map +7 -0
  73. package/dist/dev/locales/{km-KH-M5T5JKUE.js → km-KH-HGLNWNRU.js} +254 -42
  74. package/dist/dev/locales/km-KH-HGLNWNRU.js.map +7 -0
  75. package/dist/dev/locales/{ko-KR-RQX37SNF.js → ko-KR-CO36WKPC.js} +273 -61
  76. package/dist/dev/locales/ko-KR-CO36WKPC.js.map +7 -0
  77. package/dist/dev/locales/{ku-TR-5XJDIERL.js → ku-TR-AACVIARC.js} +254 -42
  78. package/dist/dev/locales/ku-TR-AACVIARC.js.map +7 -0
  79. package/dist/dev/locales/{lt-LT-MGUBX6CA.js → lt-LT-CFYYFLDV.js} +234 -22
  80. package/dist/dev/locales/lt-LT-CFYYFLDV.js.map +7 -0
  81. package/dist/dev/locales/{lv-LV-MD7N5VHD.js → lv-LV-QCBBOFFU.js} +252 -40
  82. package/dist/dev/locales/lv-LV-QCBBOFFU.js.map +7 -0
  83. package/dist/dev/locales/{mr-IN-4XWMNGQC.js → mr-IN-B2CM5GK5.js} +260 -48
  84. package/dist/dev/locales/mr-IN-B2CM5GK5.js.map +7 -0
  85. package/dist/dev/locales/{my-MM-O4Z74GN5.js → my-MM-756BNN36.js} +236 -24
  86. package/dist/dev/locales/my-MM-756BNN36.js.map +7 -0
  87. package/dist/dev/locales/{nb-NO-BMB73KRH.js → nb-NO-5BLHQI4J.js} +275 -63
  88. package/dist/dev/locales/nb-NO-5BLHQI4J.js.map +7 -0
  89. package/dist/dev/locales/nl-NL-225BLGAH.js +798 -0
  90. package/dist/dev/locales/nl-NL-225BLGAH.js.map +7 -0
  91. package/dist/dev/locales/{nn-NO-NCORG7TS.js → nn-NO-4J7MR6GH.js} +256 -44
  92. package/dist/dev/locales/nn-NO-4J7MR6GH.js.map +7 -0
  93. package/dist/dev/locales/{oc-FR-ATFBDMF6.js → oc-FR-XCETH7KF.js} +276 -64
  94. package/dist/dev/locales/oc-FR-XCETH7KF.js.map +7 -0
  95. package/dist/dev/locales/{pa-IN-D2I375G4.js → pa-IN-32NBAN5L.js} +246 -34
  96. package/dist/dev/locales/pa-IN-32NBAN5L.js.map +7 -0
  97. package/dist/dev/locales/{percentages-YKFLWNK2.js → percentages-ZRLRVMSI.js} +2 -2
  98. package/dist/dev/locales/{pl-PL-YJHOWAAW.js → pl-PL-R6OJ54BT.js} +270 -58
  99. package/dist/dev/locales/pl-PL-R6OJ54BT.js.map +7 -0
  100. package/dist/dev/locales/{pt-BR-APOPYZJ7.js → pt-BR-7AFGAKGR.js} +292 -80
  101. package/dist/dev/locales/pt-BR-7AFGAKGR.js.map +7 -0
  102. package/dist/dev/locales/pt-PT-S6BMW6MY.js +798 -0
  103. package/dist/dev/locales/pt-PT-S6BMW6MY.js.map +7 -0
  104. package/dist/dev/locales/{ro-RO-L575VRQA.js → ro-RO-4JVGQHS2.js} +259 -47
  105. package/dist/dev/locales/ro-RO-4JVGQHS2.js.map +7 -0
  106. package/dist/dev/locales/{ru-RU-BLG6HZG5.js → ru-RU-IESI752T.js} +310 -98
  107. package/dist/dev/locales/ru-RU-IESI752T.js.map +7 -0
  108. package/dist/dev/locales/si-LK-H75E7PKD.js +798 -0
  109. package/dist/dev/locales/si-LK-H75E7PKD.js.map +7 -0
  110. package/dist/dev/locales/{sk-SK-DY6IPO5U.js → sk-SK-EUK2NR2F.js} +256 -44
  111. package/dist/dev/locales/sk-SK-EUK2NR2F.js.map +7 -0
  112. package/dist/dev/locales/{sl-SI-5DZSRA47.js → sl-SI-AKW7R5PW.js} +253 -41
  113. package/dist/dev/locales/sl-SI-AKW7R5PW.js.map +7 -0
  114. package/dist/dev/locales/{sv-SE-V32YHALQ.js → sv-SE-QIBOOXLJ.js} +258 -46
  115. package/dist/dev/locales/sv-SE-QIBOOXLJ.js.map +7 -0
  116. package/dist/dev/locales/{ta-IN-5JRAGQAO.js → ta-IN-LBK2NQ5K.js} +311 -99
  117. package/dist/dev/locales/ta-IN-LBK2NQ5K.js.map +7 -0
  118. package/dist/dev/locales/{th-TH-55ACRHDJ.js → th-TH-YJ2E6GVT.js} +343 -131
  119. package/dist/dev/locales/th-TH-YJ2E6GVT.js.map +7 -0
  120. package/dist/dev/locales/{tr-TR-7QYBXDBO.js → tr-TR-Y5GO2XJW.js} +310 -98
  121. package/dist/dev/locales/tr-TR-Y5GO2XJW.js.map +7 -0
  122. package/dist/dev/locales/{uk-UA-TJS2TMRH.js → uk-UA-XYAFHHJW.js} +284 -72
  123. package/dist/dev/locales/uk-UA-XYAFHHJW.js.map +7 -0
  124. package/dist/dev/locales/{si-LK-KT7GGO6D.js → uz-UZ-LF3CBRYE.js} +267 -55
  125. package/dist/dev/locales/uz-UZ-LF3CBRYE.js.map +7 -0
  126. package/dist/dev/locales/vi-VN-WDPZEUOJ.js +798 -0
  127. package/dist/dev/locales/vi-VN-WDPZEUOJ.js.map +7 -0
  128. package/dist/dev/locales/{zh-CN-4MXUOFTH.js → zh-CN-SZ37453H.js} +255 -43
  129. package/dist/dev/locales/zh-CN-SZ37453H.js.map +7 -0
  130. package/dist/dev/locales/{zh-HK-RBTGIU3U.js → zh-HK-QDQ5QNBC.js} +230 -18
  131. package/dist/dev/locales/zh-HK-QDQ5QNBC.js.map +7 -0
  132. package/dist/dev/locales/{zh-TW-U5VF4CCU.js → zh-TW-CYU6GFBV.js} +260 -48
  133. package/dist/dev/locales/zh-TW-CYU6GFBV.js.map +7 -0
  134. package/dist/dev/subset-shared.chunk.js +2 -2
  135. package/dist/dev/subset-worker.chunk.js +2 -2
  136. package/dist/prod/chunk-3PELD44J.js +1 -0
  137. package/dist/prod/{chunk-XRPJNYI4.js → chunk-A66AFZZU.js} +1 -1
  138. package/dist/prod/chunk-LQP5375W.js +4 -0
  139. package/dist/prod/chunk-RLJP2BVF.js +12 -0
  140. package/dist/prod/{chunk-LS7FJGPW.js → chunk-Z5NKEFVG.js} +8 -8
  141. package/dist/prod/components/TTDDialog/CodeMirrorEditor-UCMRAMCV.js +1 -0
  142. package/dist/prod/data/image-VPMHVTQG.js +1 -0
  143. package/dist/prod/index.css +1 -1
  144. package/dist/prod/index.js +44 -27
  145. package/dist/prod/locales/ar-SA-NXDWD63E.js +8 -0
  146. package/dist/prod/locales/az-AZ-MXSORGZV.js +1 -0
  147. package/dist/prod/locales/bg-BG-O6MV2KSF.js +5 -0
  148. package/dist/prod/locales/bn-BD-T2VJNT7N.js +3 -0
  149. package/dist/prod/locales/bn-IN-MMW2ORAC.js +3 -0
  150. package/dist/prod/locales/ca-ES-MKBCGNOG.js +8 -0
  151. package/dist/prod/locales/cs-CZ-V77HGUP7.js +7 -0
  152. package/dist/prod/locales/da-DK-I5RFNTM4.js +2 -0
  153. package/dist/prod/locales/de-CH-WLRDEVBV.js +7 -0
  154. package/dist/prod/locales/de-DE-DTI4WUSC.js +7 -0
  155. package/dist/prod/locales/el-GR-ZXDJ2OS4.js +7 -0
  156. package/dist/prod/locales/en-W2XZHOH3.js +1 -0
  157. package/dist/prod/locales/es-ES-DYQHAD43.js +7 -0
  158. package/dist/prod/locales/eu-ES-QDSYU5Y3.js +7 -0
  159. package/dist/prod/locales/fa-IR-26LZG4PM.js +9 -0
  160. package/dist/prod/locales/fi-FI-6YS4KDE4.js +6 -0
  161. package/dist/prod/locales/fr-FR-BRLLPTZC.js +12 -0
  162. package/dist/prod/locales/gl-ES-OKUZTLYG.js +6 -0
  163. package/dist/prod/locales/he-IL-26MGYIU7.js +8 -0
  164. package/dist/prod/locales/hi-IN-Q4ZOGTP2.js +3 -0
  165. package/dist/prod/locales/hu-HU-P2OXPSN5.js +3 -0
  166. package/dist/prod/locales/id-ID-2EIKXYN6.js +8 -0
  167. package/dist/prod/locales/it-IT-4CFKVXI2.js +12 -0
  168. package/dist/prod/locales/ja-JP-MAND2Z4V.js +7 -0
  169. package/dist/prod/locales/kaa-HQRTCXTJ.js +1 -0
  170. package/dist/prod/locales/kab-KAB-JKIKKTGH.js +4 -0
  171. package/dist/prod/locales/kk-KZ-HXQ63ZFC.js +1 -0
  172. package/dist/prod/locales/km-KH-PKL3LSGX.js +7 -0
  173. package/dist/prod/locales/ko-KR-KXLREZX3.js +5 -0
  174. package/dist/prod/locales/ku-TR-MJ4IER3X.js +6 -0
  175. package/dist/prod/locales/lt-LT-H6WFQ6FJ.js +3 -0
  176. package/dist/prod/locales/lv-LV-GOCK6SJW.js +4 -0
  177. package/dist/prod/locales/mr-IN-IXVLDMEQ.js +9 -0
  178. package/dist/prod/locales/my-MM-YG6MYTTD.js +1 -0
  179. package/dist/prod/locales/nb-NO-XGWJISD2.js +8 -0
  180. package/dist/prod/locales/nl-NL-XVDVCPNC.js +13 -0
  181. package/dist/prod/locales/nn-NO-EMX5MJX5.js +4 -0
  182. package/dist/prod/locales/oc-FR-ROEINTVO.js +4 -0
  183. package/dist/prod/locales/pa-IN-ZYN6SUDY.js +4 -0
  184. package/dist/prod/locales/percentages-5DKR754L.js +1 -0
  185. package/dist/prod/locales/pl-PL-6VTG7PHC.js +12 -0
  186. package/dist/prod/locales/pt-BR-5YFKRR5G.js +6 -0
  187. package/dist/prod/locales/pt-PT-GEIXXZ67.js +8 -0
  188. package/dist/prod/locales/ro-RO-E2P6TFZI.js +12 -0
  189. package/dist/prod/locales/ru-RU-YBIIY43T.js +10 -0
  190. package/dist/prod/locales/si-LK-673C2CI2.js +1 -0
  191. package/dist/prod/locales/sk-SK-CKZHQ4AP.js +7 -0
  192. package/dist/prod/locales/sl-SI-557H2GWM.js +6 -0
  193. package/dist/prod/locales/sv-SE-XOPKKDWS.js +8 -0
  194. package/dist/prod/locales/ta-IN-XBH7DQI3.js +6 -0
  195. package/dist/prod/locales/th-TH-TOCWH3R4.js +1 -0
  196. package/dist/prod/locales/tr-TR-GXW6CYY5.js +4 -0
  197. package/dist/prod/locales/uk-UA-IJKTNUDG.js +6 -0
  198. package/dist/prod/locales/uz-UZ-TBZZEA4V.js +1 -0
  199. package/dist/prod/locales/vi-VN-MULSGNVB.js +7 -0
  200. package/dist/prod/locales/zh-CN-MVX3E32U.js +11 -0
  201. package/dist/prod/locales/zh-HK-JNU5RLIE.js +1 -0
  202. package/dist/prod/locales/zh-TW-LENVCA6T.js +9 -0
  203. package/dist/prod/subset-shared.chunk.js +1 -1
  204. package/dist/prod/subset-worker.chunk.js +1 -1
  205. package/dist/types/common/debug.d.ts +21 -0
  206. package/dist/types/common/src/appEventBus.d.ts +27 -0
  207. package/dist/types/common/src/bounds.d.ts +10 -0
  208. package/dist/types/common/src/colors.d.ts +59 -39
  209. package/dist/types/common/src/constants.d.ts +46 -33
  210. package/dist/types/common/src/editorInterface.d.ts +34 -0
  211. package/dist/types/common/src/font-metadata.d.ts +1 -3
  212. package/dist/types/common/src/index.d.ts +5 -0
  213. package/dist/types/common/src/keys.d.ts +1 -1
  214. package/dist/types/common/src/utility-types.d.ts +0 -1
  215. package/dist/types/common/src/utils.d.ts +46 -76
  216. package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
  217. package/dist/types/element/src/Scene.d.ts +10 -6
  218. package/dist/types/element/src/arrowheads.d.ts +3 -0
  219. package/dist/types/element/src/arrows/focus.d.ts +27 -0
  220. package/dist/types/element/src/arrows/helpers.d.ts +5 -0
  221. package/dist/types/element/src/binding.d.ts +67 -48
  222. package/dist/types/element/src/bounds.d.ts +25 -18
  223. package/dist/types/element/src/collision.d.ts +7 -2
  224. package/dist/types/element/src/comparisons.d.ts +8 -7
  225. package/dist/types/element/src/delta.d.ts +4 -5
  226. package/dist/types/element/src/distribute.d.ts +2 -1
  227. package/dist/types/element/src/dragElements.d.ts +3 -3
  228. package/dist/types/element/src/duplicate.d.ts +4 -3
  229. package/dist/types/element/src/elbowArrow.d.ts +2 -0
  230. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  231. package/dist/types/element/src/frame.d.ts +12 -7
  232. package/dist/types/element/src/heading.d.ts +2 -1
  233. package/dist/types/element/src/image.d.ts +1 -11
  234. package/dist/types/element/src/index.d.ts +5 -3
  235. package/dist/types/element/src/linearElementEditor.d.ts +23 -22
  236. package/dist/types/element/src/mutateElement.d.ts +5 -2
  237. package/dist/types/element/src/newElement.d.ts +7 -6
  238. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  239. package/dist/types/element/src/renderElement.d.ts +4 -7
  240. package/dist/types/element/src/resizeElements.d.ts +10 -10
  241. package/dist/types/element/src/resizeTest.d.ts +6 -5
  242. package/dist/types/element/src/selection.d.ts +10 -10
  243. package/dist/types/element/src/shape.d.ts +9 -8
  244. package/dist/types/element/src/store.d.ts +5 -0
  245. package/dist/types/element/src/textElement.d.ts +2 -2
  246. package/dist/types/element/src/textMeasurements.d.ts +1 -3
  247. package/dist/types/element/src/textWrapping.d.ts +26 -0
  248. package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
  249. package/dist/types/element/src/transformHandles.d.ts +8 -27
  250. package/dist/types/element/src/typeChecks.d.ts +5 -7
  251. package/dist/types/element/src/types.d.ts +18 -13
  252. package/dist/types/element/src/utils.d.ts +9 -4
  253. package/dist/types/element/src/zindex.d.ts +7 -1
  254. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +140 -174
  255. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
  256. package/dist/types/excalidraw/actions/actionBoundText.d.ts +100 -123
  257. package/dist/types/excalidraw/actions/actionCanvas.d.ts +520 -1193
  258. package/dist/types/excalidraw/actions/actionClipboard.d.ts +102 -866
  259. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +48 -60
  260. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +157 -195
  261. package/dist/types/excalidraw/actions/actionDeselect.d.ts +161 -0
  262. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
  263. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
  264. package/dist/types/excalidraw/actions/actionElementLink.d.ts +40 -58
  265. package/dist/types/excalidraw/actions/actionElementLock.d.ts +98 -121
  266. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +49 -61
  267. package/dist/types/excalidraw/actions/actionExport.d.ts +179 -1407
  268. package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -394
  269. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
  270. package/dist/types/excalidraw/actions/actionFrame.d.ts +278 -360
  271. package/dist/types/excalidraw/actions/actionGroup.d.ts +103 -134
  272. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +142 -191
  273. package/dist/types/excalidraw/actions/actionLink.d.ts +46 -58
  274. package/dist/types/excalidraw/actions/actionMenu.d.ts +39 -423
  275. package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -359
  276. package/dist/types/excalidraw/actions/actionProperties.d.ts +166 -2510
  277. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +51 -67
  278. package/dist/types/excalidraw/actions/actionStyles.d.ts +48 -59
  279. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  280. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +174 -0
  281. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +48 -60
  282. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +174 -0
  283. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +48 -60
  284. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +37 -55
  285. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  286. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +48 -60
  287. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +48 -60
  288. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +49 -61
  289. package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
  290. package/dist/types/excalidraw/actions/index.d.ts +5 -2
  291. package/dist/types/excalidraw/actions/register.d.ts +2 -2
  292. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  293. package/dist/types/excalidraw/actions/types.d.ts +4 -4
  294. package/dist/types/excalidraw/{animated-trail.d.ts → animatedTrail.d.ts} +4 -3
  295. package/dist/types/excalidraw/appState.d.ts +24 -15
  296. package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
  297. package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
  298. package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
  299. package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
  300. package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
  301. package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
  302. package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
  303. package/dist/types/excalidraw/charts/index.d.ts +7 -0
  304. package/dist/types/excalidraw/clipboard.d.ts +57 -19
  305. package/dist/types/excalidraw/components/Actions.d.ts +22 -5
  306. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
  307. package/dist/types/excalidraw/components/App.d.ts +168 -103
  308. package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
  309. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +1 -1
  310. package/dist/types/excalidraw/components/Card.d.ts +1 -3
  311. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -4
  312. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
  313. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  314. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  315. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  316. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -2
  317. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
  318. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  319. package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
  320. package/dist/types/excalidraw/components/CommandPalette/types.d.ts +2 -4
  321. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +3 -3
  322. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  323. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
  324. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  325. package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
  326. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  327. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -2
  328. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -2
  329. package/dist/types/excalidraw/components/FilledButton.d.ts +2 -1
  330. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  331. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
  332. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
  333. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
  334. package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
  335. package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
  336. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  337. package/dist/types/excalidraw/components/Island.d.ts +7 -0
  338. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  339. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  340. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
  341. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
  342. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  343. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
  344. package/dist/types/excalidraw/components/LinkButton.d.ts +4 -0
  345. package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
  346. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
  347. package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  348. package/dist/types/excalidraw/components/Modal.d.ts +0 -1
  349. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
  350. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
  351. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
  352. package/dist/types/excalidraw/components/Popover.d.ts +2 -1
  353. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +2 -1
  354. package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
  355. package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
  356. package/dist/types/excalidraw/components/Range.d.ts +10 -4
  357. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
  358. package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
  359. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
  360. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +16 -22
  361. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
  362. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
  363. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
  364. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
  365. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
  366. package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
  367. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
  368. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
  369. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
  370. package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
  371. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  372. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
  373. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +23 -0
  374. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
  375. package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +27 -0
  376. package/dist/types/excalidraw/components/TTDDialog/Chat/index.d.ts +3 -0
  377. package/dist/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts +8 -0
  378. package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
  379. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +3 -2
  380. package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +13 -0
  381. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +12 -29
  382. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
  383. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
  384. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +13 -9
  385. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
  386. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
  387. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
  388. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -3
  389. package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
  390. package/dist/types/excalidraw/components/TTDDialog/TTDWelcomeMessage.d.ts +1 -0
  391. package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +9 -0
  392. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +16 -16
  393. package/dist/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts +13 -0
  394. package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +14 -0
  395. package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +7 -0
  396. package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
  397. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +95 -0
  398. package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
  399. package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +24 -0
  400. package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
  401. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
  402. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
  403. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
  404. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  405. package/dist/types/excalidraw/components/Toast.d.ts +11 -7
  406. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  407. package/dist/types/excalidraw/components/Trans.d.ts +2 -2
  408. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +8 -4
  409. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -0
  410. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  411. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +47 -35
  412. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +7 -5
  413. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
  414. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +13 -22
  415. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
  416. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +5 -4
  417. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -2
  418. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
  419. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
  420. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts +23 -0
  421. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts +8 -0
  422. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts +12 -0
  423. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
  424. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +2 -2
  425. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -0
  426. package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
  427. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
  428. package/dist/types/excalidraw/components/icons.d.ts +51 -21
  429. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +4 -3
  430. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +24 -3
  431. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +39 -35
  432. package/dist/types/excalidraw/components/shapes.d.ts +209 -1
  433. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
  434. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
  435. package/dist/types/excalidraw/data/blob.d.ts +331 -12
  436. package/dist/types/excalidraw/data/encode.d.ts +4 -4
  437. package/dist/types/excalidraw/data/encryption.d.ts +5 -5
  438. package/dist/types/excalidraw/data/filesystem.d.ts +5 -7
  439. package/dist/types/excalidraw/data/index.d.ts +4 -5
  440. package/dist/types/excalidraw/data/json.d.ts +172 -4
  441. package/dist/types/excalidraw/data/library.d.ts +25 -10
  442. package/dist/types/excalidraw/data/resave.d.ts +7 -2
  443. package/dist/types/excalidraw/data/restore.d.ts +25 -10
  444. package/dist/types/excalidraw/data/types.d.ts +4 -1
  445. package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
  446. package/dist/types/excalidraw/eraser/index.d.ts +2 -3
  447. package/dist/types/excalidraw/errors.d.ts +14 -0
  448. package/dist/types/excalidraw/hooks/useAppStateValue.d.ts +29 -0
  449. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +2 -2
  450. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
  451. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
  452. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  453. package/dist/types/excalidraw/i18n.d.ts +2 -2
  454. package/dist/types/excalidraw/index.d.ts +33 -10
  455. package/dist/types/excalidraw/{laser-trails.d.ts → laserTrails.d.ts} +5 -7
  456. package/dist/types/excalidraw/lasso/index.d.ts +2 -3
  457. package/dist/types/excalidraw/renderer/animation.d.ts +16 -0
  458. package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
  459. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
  460. package/dist/types/excalidraw/scene/Renderer.d.ts +428 -18
  461. package/dist/types/excalidraw/scene/export.d.ts +2 -2
  462. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  463. package/dist/types/excalidraw/scene/types.d.ts +22 -5
  464. package/dist/types/excalidraw/shortcut.d.ts +1 -0
  465. package/dist/types/excalidraw/snapping.d.ts +5 -5
  466. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
  467. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
  468. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
  469. package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
  470. package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
  471. package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
  472. package/dist/types/excalidraw/types.d.ts +290 -40
  473. package/dist/types/excalidraw/viewport.d.ts +316 -0
  474. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +7 -3
  475. package/dist/types/fractional-indexing/src/index.d.ts +29 -0
  476. package/dist/types/laser-pointer/src/index.d.ts +2 -0
  477. package/dist/types/laser-pointer/src/math.d.ts +16 -0
  478. package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
  479. package/dist/types/laser-pointer/src/state.d.ts +35 -0
  480. package/dist/types/math/src/constants.d.ts +0 -1
  481. package/dist/types/math/src/curve.d.ts +4 -1
  482. package/dist/types/math/src/point.d.ts +8 -2
  483. package/dist/types/math/src/polygon.d.ts +2 -2
  484. package/dist/types/math/src/range.d.ts +1 -3
  485. package/dist/types/math/src/segment.d.ts +4 -3
  486. package/dist/types/math/src/types.d.ts +25 -1
  487. package/dist/types/utils/src/export.d.ts +5 -5
  488. package/dist/types/utils/src/index.d.ts +1 -2
  489. package/dist/types/utils/src/shape.d.ts +6 -6
  490. package/package.json +14 -12
  491. package/dist/dev/chunk-3JWCK6AW.js.map +0 -7
  492. package/dist/dev/chunk-MFAYKRVR.js +0 -66
  493. package/dist/dev/chunk-MFAYKRVR.js.map +0 -7
  494. package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
  495. package/dist/dev/locales/ar-SA-XORAP2EK.js.map +0 -7
  496. package/dist/dev/locales/az-AZ-NAUU3Z4Y.js.map +0 -7
  497. package/dist/dev/locales/bg-BG-AAABLFCY.js.map +0 -7
  498. package/dist/dev/locales/bn-BD-PM4AC5WG.js.map +0 -7
  499. package/dist/dev/locales/ca-ES-YNNMFRQX.js.map +0 -7
  500. package/dist/dev/locales/cs-CZ-DGZA5IKG.js.map +0 -7
  501. package/dist/dev/locales/da-DK-N76F4QAJ.js.map +0 -7
  502. package/dist/dev/locales/de-DE-DMRXZ2SZ.js.map +0 -7
  503. package/dist/dev/locales/el-GR-HIKPLEXI.js.map +0 -7
  504. package/dist/dev/locales/es-ES-AQYVXC32.js.map +0 -7
  505. package/dist/dev/locales/eu-ES-3TOEU5DE.js.map +0 -7
  506. package/dist/dev/locales/fa-IR-527GAKUP.js.map +0 -7
  507. package/dist/dev/locales/fi-FI-M3WLVDFP.js.map +0 -7
  508. package/dist/dev/locales/fr-FR-YE4VDJFI.js.map +0 -7
  509. package/dist/dev/locales/gl-ES-KMXUYGUN.js.map +0 -7
  510. package/dist/dev/locales/he-IL-4MU5N22B.js +0 -586
  511. package/dist/dev/locales/he-IL-4MU5N22B.js.map +0 -7
  512. package/dist/dev/locales/hi-IN-ZHZNZWFC.js +0 -586
  513. package/dist/dev/locales/hi-IN-ZHZNZWFC.js.map +0 -7
  514. package/dist/dev/locales/hu-HU-VIYZI3X4.js.map +0 -7
  515. package/dist/dev/locales/id-ID-22TWZNLA.js.map +0 -7
  516. package/dist/dev/locales/it-IT-MDEQ2SG3.js.map +0 -7
  517. package/dist/dev/locales/ja-JP-K2DI4W6B.js.map +0 -7
  518. package/dist/dev/locales/kaa-6BPSNM3R.js.map +0 -7
  519. package/dist/dev/locales/kab-KAB-2S7ZURK7.js.map +0 -7
  520. package/dist/dev/locales/kk-KZ-UJPYGRQQ.js.map +0 -7
  521. package/dist/dev/locales/km-KH-M5T5JKUE.js.map +0 -7
  522. package/dist/dev/locales/ko-KR-RQX37SNF.js.map +0 -7
  523. package/dist/dev/locales/ku-TR-5XJDIERL.js.map +0 -7
  524. package/dist/dev/locales/lt-LT-MGUBX6CA.js.map +0 -7
  525. package/dist/dev/locales/lv-LV-MD7N5VHD.js.map +0 -7
  526. package/dist/dev/locales/mr-IN-4XWMNGQC.js.map +0 -7
  527. package/dist/dev/locales/my-MM-O4Z74GN5.js.map +0 -7
  528. package/dist/dev/locales/nb-NO-BMB73KRH.js.map +0 -7
  529. package/dist/dev/locales/nl-NL-F2257BLQ.js +0 -586
  530. package/dist/dev/locales/nl-NL-F2257BLQ.js.map +0 -7
  531. package/dist/dev/locales/nn-NO-NCORG7TS.js.map +0 -7
  532. package/dist/dev/locales/oc-FR-ATFBDMF6.js.map +0 -7
  533. package/dist/dev/locales/pa-IN-D2I375G4.js.map +0 -7
  534. package/dist/dev/locales/pl-PL-YJHOWAAW.js.map +0 -7
  535. package/dist/dev/locales/pt-BR-APOPYZJ7.js.map +0 -7
  536. package/dist/dev/locales/pt-PT-W56WCN7P.js +0 -586
  537. package/dist/dev/locales/pt-PT-W56WCN7P.js.map +0 -7
  538. package/dist/dev/locales/ro-RO-L575VRQA.js.map +0 -7
  539. package/dist/dev/locales/ru-RU-BLG6HZG5.js.map +0 -7
  540. package/dist/dev/locales/si-LK-KT7GGO6D.js.map +0 -7
  541. package/dist/dev/locales/sk-SK-DY6IPO5U.js.map +0 -7
  542. package/dist/dev/locales/sl-SI-5DZSRA47.js.map +0 -7
  543. package/dist/dev/locales/sv-SE-V32YHALQ.js.map +0 -7
  544. package/dist/dev/locales/ta-IN-5JRAGQAO.js.map +0 -7
  545. package/dist/dev/locales/th-TH-55ACRHDJ.js.map +0 -7
  546. package/dist/dev/locales/tr-TR-7QYBXDBO.js.map +0 -7
  547. package/dist/dev/locales/uk-UA-TJS2TMRH.js.map +0 -7
  548. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js +0 -586
  549. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js.map +0 -7
  550. package/dist/dev/locales/zh-CN-4MXUOFTH.js.map +0 -7
  551. package/dist/dev/locales/zh-HK-RBTGIU3U.js.map +0 -7
  552. package/dist/dev/locales/zh-TW-U5VF4CCU.js.map +0 -7
  553. package/dist/prod/chunk-2HQY2INW.js +0 -4
  554. package/dist/prod/chunk-I4UNSFV6.js +0 -12
  555. package/dist/prod/chunk-Z3N5DIM6.js +0 -1
  556. package/dist/prod/data/image-DYRE7ZKS.js +0 -1
  557. package/dist/prod/locales/ar-SA-G6X2FPQ2.js +0 -10
  558. package/dist/prod/locales/az-AZ-76LH7QW2.js +0 -1
  559. package/dist/prod/locales/bg-BG-XCXSNQG7.js +0 -5
  560. package/dist/prod/locales/bn-BD-2XOGV67Q.js +0 -5
  561. package/dist/prod/locales/ca-ES-6MX7JW3Y.js +0 -8
  562. package/dist/prod/locales/cs-CZ-2BRQDIVT.js +0 -11
  563. package/dist/prod/locales/da-DK-5WZEPLOC.js +0 -5
  564. package/dist/prod/locales/de-DE-XR44H4JA.js +0 -8
  565. package/dist/prod/locales/el-GR-BZB4AONW.js +0 -10
  566. package/dist/prod/locales/en-TYY6KWIJ.js +0 -1
  567. package/dist/prod/locales/es-ES-U4NZUMDT.js +0 -9
  568. package/dist/prod/locales/eu-ES-A7QVB2H4.js +0 -11
  569. package/dist/prod/locales/fa-IR-HGAKTJCU.js +0 -8
  570. package/dist/prod/locales/fi-FI-Z5N7JZ37.js +0 -6
  571. package/dist/prod/locales/fr-FR-RHASNOE6.js +0 -9
  572. package/dist/prod/locales/gl-ES-HMX3MZ6V.js +0 -10
  573. package/dist/prod/locales/he-IL-6SHJWFNN.js +0 -10
  574. package/dist/prod/locales/hi-IN-IWLTKZ5I.js +0 -4
  575. package/dist/prod/locales/hu-HU-A5ZG7DT2.js +0 -7
  576. package/dist/prod/locales/id-ID-SAP4L64H.js +0 -10
  577. package/dist/prod/locales/it-IT-JPQ66NNP.js +0 -11
  578. package/dist/prod/locales/ja-JP-DBVTYXUO.js +0 -8
  579. package/dist/prod/locales/kaa-6HZHGXH3.js +0 -1
  580. package/dist/prod/locales/kab-KAB-ZGHBKWFO.js +0 -8
  581. package/dist/prod/locales/kk-KZ-P5N5QNE5.js +0 -1
  582. package/dist/prod/locales/km-KH-HSX4SM5Z.js +0 -11
  583. package/dist/prod/locales/ko-KR-MTYHY66A.js +0 -9
  584. package/dist/prod/locales/ku-TR-6OUDTVRD.js +0 -9
  585. package/dist/prod/locales/lt-LT-XHIRWOB4.js +0 -3
  586. package/dist/prod/locales/lv-LV-5QDEKY6T.js +0 -7
  587. package/dist/prod/locales/mr-IN-CRQNXWMA.js +0 -13
  588. package/dist/prod/locales/my-MM-5M5IBNSE.js +0 -1
  589. package/dist/prod/locales/nb-NO-T6EIAALU.js +0 -10
  590. package/dist/prod/locales/nl-NL-IS3SIHDZ.js +0 -8
  591. package/dist/prod/locales/nn-NO-6E72VCQL.js +0 -8
  592. package/dist/prod/locales/oc-FR-POXYY2M6.js +0 -8
  593. package/dist/prod/locales/pa-IN-N4M65BXN.js +0 -4
  594. package/dist/prod/locales/percentages-BXMCSKIN.js +0 -1
  595. package/dist/prod/locales/pl-PL-T2D74RX3.js +0 -9
  596. package/dist/prod/locales/pt-BR-5N22H2LF.js +0 -9
  597. package/dist/prod/locales/pt-PT-UZXXM6DQ.js +0 -9
  598. package/dist/prod/locales/ro-RO-JPDTUUEW.js +0 -11
  599. package/dist/prod/locales/ru-RU-B4JR7IUQ.js +0 -9
  600. package/dist/prod/locales/si-LK-N5RQ5JYF.js +0 -1
  601. package/dist/prod/locales/sk-SK-C5VTKIMK.js +0 -6
  602. package/dist/prod/locales/sl-SI-NN7IZMDC.js +0 -6
  603. package/dist/prod/locales/sv-SE-XGPEYMSR.js +0 -10
  604. package/dist/prod/locales/ta-IN-2NMHFXQM.js +0 -9
  605. package/dist/prod/locales/th-TH-HPSO5L25.js +0 -2
  606. package/dist/prod/locales/tr-TR-DEFEU3FU.js +0 -7
  607. package/dist/prod/locales/uk-UA-QMV73CPH.js +0 -6
  608. package/dist/prod/locales/vi-VN-M7AON7JQ.js +0 -5
  609. package/dist/prod/locales/zh-CN-LNUGB5OW.js +0 -10
  610. package/dist/prod/locales/zh-HK-E62DVLB3.js +0 -1
  611. package/dist/prod/locales/zh-TW-RAJ6MFWO.js +0 -9
  612. package/dist/types/excalidraw/animation-frame-handler.d.ts +0 -16
  613. package/dist/types/excalidraw/charts.d.ts +0 -27
  614. package/dist/types/excalidraw/scene/scroll.d.ts +0 -23
  615. package/dist/types/utils/src/bbox.d.ts +0 -9
  616. package/dist/types/utils/src/withinBounds.d.ts +0 -19
  617. /package/dist/dev/data/{image-CNYZRAWA.js.map → image-I3PLRYWY.js.map} +0 -0
  618. /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-BYFCZL7X.js.map} +0 -0
  619. /package/dist/dev/locales/{percentages-YKFLWNK2.js.map → percentages-ZRLRVMSI.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -11,8 +11,139 @@ The change should be grouped under one of the below section and must contain PR
11
11
  Please add the latest change on the top under the correct section.
12
12
  -->
13
13
 
14
+ ## Unreleased
15
+
16
+ ## Excalidraw API
17
+
18
+ ### Viewport control & scroll/zoom locking
19
+
20
+ `ExcalidrawAPI.scrollToContent` was rebuilt into `ExcalidrawAPI.setViewport()` — a single API for navigating the viewport (`fit: "scale-down" | "contain" | "none"`), locking scroll/zoom to a target (with rubberband overscroll), fitting around the rendered editor UI, and initializing the viewport on scene load [#11554](https://github.com/excalidraw/excalidraw/pull/11554).
21
+
22
+ #### Breaking changes
23
+
24
+ - `ExcalidrawAPI.scrollToContent(target?, opts?)` was replaced with `ExcalidrawAPI.setViewport(opts | null)`.
25
+
26
+ ```tsx
27
+ // before
28
+ excalidrawAPI.scrollToContent(element, {
29
+ fitToViewport: true,
30
+ animate: true,
31
+ });
32
+ // after
33
+ excalidrawAPI.setViewport({ target: element, fit: "contain" });
34
+ ```
35
+
36
+ - `target` is required and no longer defaults to the whole scene — pass `target: excalidrawAPI.getSceneElements()` for the old default. Besides element(s) or an element id / element-link URL, it now also accepts `Bounds` and `{ x, y, width?, height? }` rects (missing dimensions default to the viewport size). Deleted and non-scene elements in the target are filtered out with a console warning.
37
+ - `fitToContent` / `fitToViewport` were replaced by `fit: "scale-down" | "contain"` respectively, defaulting to `"scale-down"` (zoomed so the target fits, at most 100%). For the old default behavior of recentering on the target at the current zoom, pass `fit: "none"`.
38
+ - `animate` / `duration` were replaced by `animation: boolean | { duration?: number }`. Navigation now animates by default over 250ms (previously it jumped unless `animate: true`, and animated over 500ms) — pass `animation: false` to jump instantly.
39
+ - `canvasOffsets` was replaced by `offsets`, which also accepts UI-derived offsets (see Features below).
40
+ - `viewportZoomFactor`, `minZoom`, and `maxZoom` are no longer supported.
41
+
42
+ - `zoomToFitBounds` takes `fit: "scale-down" | "contain" | "none"` instead of `fitToViewport` / `viewportZoomFactor`, and no longer rounds the resulting zoom down to the nearest 10% step by default — pass `steppedZoom: true` to keep the old rounding.
43
+
44
+ #### Features
45
+
46
+ - `setViewport({ ..., lock })` locks the viewport to the resolved target: `lock.scroll` constrains panning to the target box and `lock.zoom` makes the resolved zoom the minimum zoom (zooming in stays allowed). When the navigation is animated, the lock is installed once the viewport settles. `setViewport(null)` clears an active lock without navigating; a navigation without `lock` also supersedes a previously installed one.
47
+
48
+ - `lock.overscroll` adds a rubberband to the lock: panning can overshoot the constraint by the given amount (viewport px, zoom-independent) and snaps back once the interaction settles — on touch, once the multi-finger gesture ends. Defaults to `true` = `DEFAULT_OVERSCROLL` (150px, exported from the package root); pass a number to customize, or `false` / `0` for a rigid lock. Zooming is always hard-clamped against the lock, gliding along its edge instead of overscrolling.
49
+
50
+ - Added `<Excalidraw initialState={{ viewport }} />` for initializing the viewport (and optionally installing a lock) once on scene load. Accepts the same options as `setViewport` except `animation`, and takes precedence over `initialData.scrollToContent`.
51
+
52
+ - The `offsets` option (on `setViewport` and `initialState.viewport`) insets the usable viewport per side so targets aren't fitted underneath overlaid UI. It combines static pixel sides with `ui: true | ViewportOffsetsOptions`, which measures the currently rendered editor UI (toolbar, styles panel, sidebar…) — with configurable padding, per-side overrides, and reserving space for currently-hidden surfaces (`reserve: { stylesPanel?: boolean; sidebar?: boolean }`). The same measurement is exposed through the new `ExcalidrawAPI.getViewportOffsets(opts?)`, and custom UI rendered inside the editor container can opt into being measured via the `data-viewport-ui="top" | "bottom" | "side"` attribute.
53
+
54
+ ### Breaking changes
55
+
56
+ - Theme changes initiated by the default UI are now delegated to `<Excalidraw onThemeChange={(theme) => ...} />` when supplied. If `onThemeChange` is not supplied, light/dark theme toggling still falls back to updating the internal editor state.
57
+
58
+ - `MainMenu.DefaultItems.ToggleTheme` no longer accepts the item-level `onSelect` callback. Host apps that need to control light/dark/system theme should pass `onThemeChange` to `<Excalidraw />` instead.
59
+ - `MainMenu.DefaultItems.ToggleTheme` with system theme support now uses `allowSystemTheme` together with `theme={Theme | "system"}` only to render the selected value. For the regular light/dark item, pass `allowSystemTheme={false}`.
60
+ - `CommandPalette.defaultItems.toggleTheme` was removed. The default theme command is now rendered by the command palette itself when `UIOptions.canvasActions.toggleTheme` enables the action (see below).
61
+ - `UIOptions.canvasActions.toggleTheme` still controls default theme UI availability. When it is `null`, it defaults to `true` if `props.theme` is omitted or `props.onThemeChange` is supplied, and otherwise defaults to disabled.
62
+
63
+ - Renamed the `excalidrawAPI` prop to `onExcalidrawAPI`.
64
+ - `onExcalidrawAPI` is now called on mount (instead of during constructor), and later on unmount (with `null` value). The API may be removed altogether in the future (you can use `onMount` & `onUnmount` to manage the `ExcalidrawAPI` object (e.g. to cache it to a global state), already).
65
+
66
+ ### Features
67
+
68
+ - Added `ExcalidrawAPI.isDestroyed` flag. Set to `true` once the editor unmounts. Calling any `get*` method, `onStateChange`, or `onEvent` on a destroyed API instance will throw in development and `console.error` in production. The `ExcalidrawAPI` will be reset to `null` on unmount, but to be extra safe, you should check `ExcalidrawAPI.isDestroyed` before calling these methods to guard against subtle race conditions in your code.
69
+
70
+ - Added `onMount`, `onInitialize`, and `onUnmount` props. `onMount` receives `{ excalidrawAPI, container }` once the editor root is mounted. `onInitialize` fires once the initial scene has loaded. `onUnmount` fires just before unmounting.
71
+
72
+ - Same events are also accessible imperatively through `api.onEvent(...)`.
73
+
74
+ ```tsx
75
+ <Excalidraw
76
+ onExcalidrawAPI={(api) => {
77
+ api.onEvent("editor:mount", ({ excalidrawAPI, container }) => {
78
+ console.log(container);
79
+ });
80
+
81
+ api.onEvent("editor:initialize").then((readyApi) => {
82
+ readyApi.setViewport({
83
+ target: readyApi.getSceneElements(),
84
+ animation: false,
85
+ });
86
+ });
87
+ }}
88
+ />
89
+ ```
90
+
91
+ Note that in future releases, most, if not all, `excalidrawAPI.on*` subscriptions will be removed in favor of `excalidrawAPI.onEvent(name)`.
92
+
93
+ - Also added `"editor:unmount"` lifecycle event, only accessible via `api.onEvent("editor:unmount")`.
94
+
95
+ - Exported `<ExcalidrawAPIProvider/>`, `useExcalidrawAPI()`, `useExcalidrawStateValue(prop | props | selectorFunction)`, and `useOnExcalidrawStateChange(prop | props | selectorFunction, callback)` from the package. The imperative API also now exposes `onStateChange(prop | props | selectorFunction, callback?)`, and `onEvent(name, callback)`.
96
+
97
+ ```tsx
98
+ <ExcalidrawAPIProvider>
99
+ <Excalidraw />
100
+ <Logger />
101
+ </ExcalidrawAPIProvider>;
102
+
103
+ function Logger() {
104
+ // initially null before the ExcalidrawAPIProvider initializes after
105
+ // <Excalidraw/> renders
106
+ // When <Excalidraw/> unmounts, is reset back to null
107
+ const api = useExcalidrawAPI();
108
+
109
+ useExcalidrawStateValue("viewModeEnabled", (viewModeEnabled) => {
110
+ console.log("view mode changed:", viewModeEnabled);
111
+ });
112
+
113
+ React.useEffect(() => {
114
+ if (api) {
115
+ console.log("editor instance id:", api.id);
116
+ }
117
+ }, [api]);
118
+
119
+ return null;
120
+ }
121
+ ```
122
+
123
+ - Added `onExport` so host apps can delay JSON export until async work completes. The handler receives the export data plus an `AbortSignal`, and may return a `Promise` or an async generator that yields progress updates for the built-in toast UI.
124
+
125
+ ```tsx
126
+ <Excalidraw
127
+ onExport={async function* (_type, { files }, { signal }) {
128
+ yield { type: "progress", message: "Waiting for images..." };
129
+
130
+ await waitForImagesToLoad(files, signal);
131
+
132
+ if (signal.aborted) {
133
+ return;
134
+ }
135
+
136
+ yield { type: "progress", message: "Export ready", progress: 1 };
137
+ }}
138
+ />
139
+ ```
140
+
14
141
  ## Excalidraw Library
15
142
 
143
+ ### Breaking changes
144
+
145
+ - `getClosestElementBounds` is no longer exported from `@excalidraw/element`. Use `getCommonBounds` / `getElementBounds` from `@excalidraw/element`, or reimplement the closest-target distance check with `getElementBounds` if you need the same behavior [#11554](https://github.com/excalidraw/excalidraw/pull/11554).
146
+
16
147
  ## 0.18.0 (2025-03-11)
17
148
 
18
149
  ### Highlights
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Excalidraw
2
2
 
3
- **Excalidraw** is exported as a component to be directly embedded in your project.
3
+ **Excalidraw** is exported as a React component that you can embed directly in your app.
4
4
 
5
5
  ## Installation
6
6
 
7
- Use `npm` or `yarn` to install the package.
7
+ Install the package together with its React peer dependencies.
8
8
 
9
9
  ```bash
10
10
  npm install react react-dom @excalidraw/excalidraw
@@ -12,34 +12,131 @@ npm install react react-dom @excalidraw/excalidraw
12
12
  yarn add react react-dom @excalidraw/excalidraw
13
13
  ```
14
14
 
15
- > **Note**: If you don't want to wait for the next stable release and try out the unreleased changes, use `@excalidraw/excalidraw@next`.
15
+ > **Note**: If you want to try unreleased changes, use `@excalidraw/excalidraw@next`.
16
16
 
17
- #### Self-hosting fonts
17
+ ## Quick start
18
18
 
19
- By default, Excalidraw will try to download all the used fonts from the [CDN](https://esm.run/@excalidraw/excalidraw/dist/prod).
19
+ The minimum working setup has two easy-to-miss requirements:
20
20
 
21
- For self-hosting purposes, you'll have to copy the content of the folder `node_modules/@excalidraw/excalidraw/dist/prod/fonts` to the path where your assets should be served from (i.e. `public/` directory in your project). In that case, you should also set `window.EXCALIDRAW_ASSET_PATH` to the very same path, i.e. `/` in case it's in the root:
21
+ 1. Import the package CSS:
22
22
 
23
- ```js
24
- <script>window.EXCALIDRAW_ASSET_PATH = "/";</script>
23
+ ```ts
24
+ import "@excalidraw/excalidraw/index.css";
25
25
  ```
26
26
 
27
- ### Dimensions of Excalidraw
27
+ 2. Render Excalidraw inside a container with a non-zero height.
28
28
 
29
- Excalidraw takes _100%_ of `width` and `height` of the containing block so make sure the container in which you render Excalidraw has non zero dimensions.
29
+ ```tsx
30
+ import { Excalidraw } from "@excalidraw/excalidraw";
31
+ import "@excalidraw/excalidraw/index.css";
32
+
33
+ export default function App() {
34
+ return (
35
+ <div style={{ height: "100vh" }}>
36
+ <Excalidraw />
37
+ </div>
38
+ );
39
+ }
40
+ ```
41
+
42
+ Excalidraw fills `100%` of the width and height of its parent. If the parent has no height, the canvas will not be visible.
43
+
44
+ ## Next.js / SSR frameworks
45
+
46
+ Excalidraw should be rendered on the client. In SSR frameworks such as Next.js, use a client component and load it dynamically with SSR disabled.
47
+
48
+ ```tsx
49
+ // app/components/ExcalidrawClient.tsx
50
+ "use client";
51
+
52
+ import { Excalidraw } from "@excalidraw/excalidraw";
53
+ import "@excalidraw/excalidraw/index.css";
54
+
55
+ export default function ExcalidrawClient() {
56
+ return (
57
+ <div style={{ height: "100vh" }}>
58
+ <Excalidraw />
59
+ </div>
60
+ );
61
+ }
62
+ ```
63
+
64
+ ```tsx
65
+ // app/page.tsx
66
+ import dynamic from "next/dynamic";
67
+
68
+ const ExcalidrawClient = dynamic(
69
+ () => import("./components/ExcalidrawClient"),
70
+ { ssr: false },
71
+ );
72
+
73
+ export default function Page() {
74
+ return <ExcalidrawClient />;
75
+ }
76
+ ```
77
+
78
+ See the local examples for complete setups:
79
+
80
+ - [examples/with-nextjs](https://github.com/excalidraw/excalidraw/tree/master/examples/with-nextjs)
81
+ - [examples/with-script-in-browser](https://github.com/excalidraw/excalidraw/tree/master/examples/with-script-in-browser)
82
+
83
+ ## LLM / agent tips
84
+
85
+ If an LLM or coding agent is setting up Excalidraw, these shortcuts usually save more time than re-prompting:
86
+
87
+ - Start with a plain `<Excalidraw />` in a `100vh` container. Add refs, `initialData`, persistence, or custom UI only after the base embed works.
88
+ - If the canvas is blank, check the CSS import and parent height first. Those are the two most common integration failures.
89
+ - In Next.js or other SSR frameworks, assume client-only rendering first. Use `"use client"` and `dynamic(..., { ssr: false })` before debugging hydration or `window is not defined` errors.
90
+ - If imports or entrypoints are unclear, inspect `node_modules/@excalidraw/excalidraw/package.json`. The installed package exports are the source of truth.
91
+ - Do not set `window.EXCALIDRAW_ASSET_PATH` unless you are intentionally self-hosting fonts/assets.
92
+ - When docs and generated code drift, copy the nearest working example from this repo, especially `examples/with-nextjs` or `examples/with-script-in-browser`.
93
+
94
+ ## Migrating to `@excalidraw/excalidraw@0.18.x`
95
+
96
+ Version `0.18.x` removes the old `types/`-prefixed deep import paths. If you were importing types from `@excalidraw/excalidraw/types/...`, switch to the new type-only subpaths below.
97
+
98
+ | Old path | New path |
99
+ | --- | --- |
100
+ | `@excalidraw/excalidraw/types/data/transform.js` | `@excalidraw/excalidraw/element/transform` |
101
+ | `@excalidraw/excalidraw/types/data/types.js` | `@excalidraw/excalidraw/data/types` |
102
+ | `@excalidraw/excalidraw/types/element/types.js` | `@excalidraw/excalidraw/element/types` |
103
+ | `@excalidraw/excalidraw/types/utility-types.js` | `@excalidraw/excalidraw/common/utility-types` |
104
+ | `@excalidraw/excalidraw/types/types.js` | `@excalidraw/excalidraw/types` |
105
+
106
+ Drop the `.js` extension. The new package `exports` map resolves these paths without it.
107
+
108
+ These deep subpaths are for `import type` only. Runtime imports should come from the package root, plus `@excalidraw/excalidraw/index.css` for styles.
109
+
110
+ For example:
111
+
112
+ ```ts
113
+ import { exportToSvg } from "@excalidraw/excalidraw";
114
+ ```
115
+
116
+ ## Self-hosting fonts
117
+
118
+ By default, Excalidraw downloads the fonts it needs from the [CDN](https://esm.run/@excalidraw/excalidraw/dist/prod).
119
+
120
+ For self-hosting, copy the contents of `node_modules/@excalidraw/excalidraw/dist/prod/fonts` into the path where your app serves static assets, for example `public/`. Then set `window.EXCALIDRAW_ASSET_PATH` to that same path:
121
+
122
+ ```html
123
+ <script>
124
+ window.EXCALIDRAW_ASSET_PATH = "/";
125
+ </script>
126
+ ```
30
127
 
31
128
  ## Demo
32
129
 
33
- Go to [CodeSandbox](https://codesandbox.io/p/sandbox/github/excalidraw/excalidraw/tree/master/examples/with-script-in-browser) example.
130
+ Try the [CodeSandbox example](https://codesandbox.io/p/sandbox/github/excalidraw/excalidraw/tree/master/examples/with-script-in-browser).
34
131
 
35
132
  ## Integration
36
133
 
37
- Head over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/integration).
134
+ Read the [integration docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/integration).
38
135
 
39
136
  ## API
40
137
 
41
- Head over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api).
138
+ Read the [API docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api).
42
139
 
43
140
  ## Contributing
44
141
 
45
- Head over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/contributing).
142
+ Read the [contributing docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/contributing).
@@ -4129,4 +4129,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4129
4129
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4130
4130
  SOFTWARE.
4131
4131
  */
4132
- //# sourceMappingURL=chunk-FB2NA5UG.js.map
4132
+ //# sourceMappingURL=chunk-6JJSWC4C.js.map