@excalidraw/excalidraw 0.18.0-c141960 → 0.18.0-c158187

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 (394) hide show
  1. package/dist/dev/{chunk-SJTAY27F.js → chunk-5A4X24JB.js} +135 -107
  2. package/dist/dev/chunk-5A4X24JB.js.map +7 -0
  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-PMQWN2AA.js → chunk-DJHLEOOZ.js} +13 -13
  6. package/dist/dev/{chunk-PMQWN2AA.js.map → chunk-DJHLEOOZ.js.map} +1 -1
  7. package/dist/dev/{chunk-AWYOLLYX.js → chunk-OCFTI2BU.js} +2 -2
  8. package/dist/dev/{chunk-AWYOLLYX.js.map → chunk-OCFTI2BU.js.map} +1 -1
  9. package/dist/dev/data/{image-S2GFZH7W.js → image-Q6JHR7OE.js} +2 -2
  10. package/dist/dev/index.css +1 -3
  11. package/dist/dev/index.css.map +2 -2
  12. package/dist/dev/index.js +796 -1307
  13. package/dist/dev/index.js.map +4 -4
  14. package/dist/dev/locales/{ar-SA-USQAA427.js → ar-SA-JK5MQ7TT.js} +2 -1
  15. package/dist/dev/locales/{ar-SA-USQAA427.js.map → ar-SA-JK5MQ7TT.js.map} +2 -2
  16. package/dist/dev/locales/{az-AZ-CVQRXULV.js → az-AZ-2PAD62G4.js} +2 -1
  17. package/dist/dev/locales/{az-AZ-CVQRXULV.js.map → az-AZ-2PAD62G4.js.map} +2 -2
  18. package/dist/dev/locales/{bg-BG-E4I2JVOQ.js → bg-BG-HUKVYCRK.js} +2 -1
  19. package/dist/dev/locales/{bg-BG-E4I2JVOQ.js.map → bg-BG-HUKVYCRK.js.map} +2 -2
  20. package/dist/dev/locales/{bn-BD-O55ROP2R.js → bn-BD-V2CQI46P.js} +2 -1
  21. package/dist/dev/locales/{bn-BD-O55ROP2R.js.map → bn-BD-V2CQI46P.js.map} +2 -2
  22. package/dist/dev/locales/{bn-IN-OL7OUKTP.js → bn-IN-MBEO4C3J.js} +2 -1
  23. package/dist/dev/locales/{bn-IN-OL7OUKTP.js.map → bn-IN-MBEO4C3J.js.map} +2 -2
  24. package/dist/dev/locales/{ca-ES-73KY52DM.js → ca-ES-KWEKW4C3.js} +2 -1
  25. package/dist/dev/locales/{ca-ES-73KY52DM.js.map → ca-ES-KWEKW4C3.js.map} +2 -2
  26. package/dist/dev/locales/{cs-CZ-2YGHPQ24.js → cs-CZ-W5AHZB5H.js} +2 -1
  27. package/dist/dev/locales/{cs-CZ-2YGHPQ24.js.map → cs-CZ-W5AHZB5H.js.map} +2 -2
  28. package/dist/dev/locales/{da-DK-OEIZIPJU.js → da-DK-ITTM6YM4.js} +2 -1
  29. package/dist/dev/locales/{da-DK-OEIZIPJU.js.map → da-DK-ITTM6YM4.js.map} +2 -2
  30. package/dist/dev/locales/{de-CH-4GJTW23D.js → de-CH-OAWPDQFJ.js} +2 -1
  31. package/dist/dev/locales/{de-CH-4GJTW23D.js.map → de-CH-OAWPDQFJ.js.map} +2 -2
  32. package/dist/dev/locales/{de-DE-YRH6WMM5.js → de-DE-ZRDYEPMS.js} +8 -7
  33. package/dist/dev/locales/de-DE-ZRDYEPMS.js.map +7 -0
  34. package/dist/dev/locales/{el-GR-W7S64QNM.js → el-GR-QXASZLPE.js} +2 -1
  35. package/dist/dev/locales/el-GR-QXASZLPE.js.map +7 -0
  36. package/dist/dev/locales/{en-ZO6QSABV.js → en-MLZIHOCR.js} +2 -2
  37. package/dist/dev/locales/{es-ES-7JEN5PTZ.js → es-ES-VLQBB7FJ.js} +4 -3
  38. package/dist/dev/locales/es-ES-VLQBB7FJ.js.map +7 -0
  39. package/dist/dev/locales/{eu-ES-HQNHU6VR.js → eu-ES-TF2DGTZU.js} +2 -1
  40. package/dist/dev/locales/{eu-ES-HQNHU6VR.js.map → eu-ES-TF2DGTZU.js.map} +2 -2
  41. package/dist/dev/locales/{fa-IR-IN6XOPA6.js → fa-IR-ITKFQ7QV.js} +2 -1
  42. package/dist/dev/locales/{fa-IR-IN6XOPA6.js.map → fa-IR-ITKFQ7QV.js.map} +2 -2
  43. package/dist/dev/locales/{fi-FI-5BAAYJDZ.js → fi-FI-UWZRVXFI.js} +2 -1
  44. package/dist/dev/locales/{fi-FI-5BAAYJDZ.js.map → fi-FI-UWZRVXFI.js.map} +2 -2
  45. package/dist/dev/locales/{fr-FR-KCXBY2R4.js → fr-FR-A72LKGCO.js} +2 -1
  46. package/dist/dev/locales/{fr-FR-KCXBY2R4.js.map → fr-FR-A72LKGCO.js.map} +2 -2
  47. package/dist/dev/locales/{gl-ES-5OPGWS6N.js → gl-ES-2QCVIBFP.js} +2 -1
  48. package/dist/dev/locales/{gl-ES-5OPGWS6N.js.map → gl-ES-2QCVIBFP.js.map} +2 -2
  49. package/dist/dev/locales/{he-IL-3A6ZWK6L.js → he-IL-WJNUHU26.js} +2 -1
  50. package/dist/dev/locales/{he-IL-3A6ZWK6L.js.map → he-IL-WJNUHU26.js.map} +2 -2
  51. package/dist/dev/locales/{hi-IN-HZTBH6EG.js → hi-IN-XGMO235V.js} +2 -1
  52. package/dist/dev/locales/{hi-IN-HZTBH6EG.js.map → hi-IN-XGMO235V.js.map} +2 -2
  53. package/dist/dev/locales/{hu-HU-52IRZEAZ.js → hu-HU-37FDQFIS.js} +2 -1
  54. package/dist/dev/locales/{hu-HU-52IRZEAZ.js.map → hu-HU-37FDQFIS.js.map} +2 -2
  55. package/dist/dev/locales/{id-ID-W6HBGXTS.js → id-ID-EJIDCO4E.js} +2 -1
  56. package/dist/dev/locales/{id-ID-W6HBGXTS.js.map → id-ID-EJIDCO4E.js.map} +2 -2
  57. package/dist/dev/locales/{it-IT-AV75ICYT.js → it-IT-X34PIOJ2.js} +49 -48
  58. package/dist/dev/locales/it-IT-X34PIOJ2.js.map +7 -0
  59. package/dist/dev/locales/{ja-JP-SS4G3ZXF.js → ja-JP-37FC23PR.js} +28 -27
  60. package/dist/dev/locales/ja-JP-37FC23PR.js.map +7 -0
  61. package/dist/dev/locales/{kaa-Y5BBB3IW.js → kaa-7ZYDFVKA.js} +2 -1
  62. package/dist/dev/locales/{kaa-Y5BBB3IW.js.map → kaa-7ZYDFVKA.js.map} +2 -2
  63. package/dist/dev/locales/{kab-KAB-KDVZQXBT.js → kab-KAB-MILWXBA6.js} +2 -1
  64. package/dist/dev/locales/{kab-KAB-KDVZQXBT.js.map → kab-KAB-MILWXBA6.js.map} +2 -2
  65. package/dist/dev/locales/{kk-KZ-762YODLJ.js → kk-KZ-7BWTPIAV.js} +2 -1
  66. package/dist/dev/locales/kk-KZ-7BWTPIAV.js.map +7 -0
  67. package/dist/dev/locales/{km-KH-K2TE5MIK.js → km-KH-BV4P2KSZ.js} +2 -1
  68. package/dist/dev/locales/{km-KH-K2TE5MIK.js.map → km-KH-BV4P2KSZ.js.map} +2 -2
  69. package/dist/dev/locales/{ko-KR-75RUMBCO.js → ko-KR-TSXE5P7B.js} +2 -1
  70. package/dist/dev/locales/{ko-KR-75RUMBCO.js.map → ko-KR-TSXE5P7B.js.map} +2 -2
  71. package/dist/dev/locales/{ku-TR-E6DJ6LYM.js → ku-TR-ASSXNN3U.js} +2 -1
  72. package/dist/dev/locales/{ku-TR-E6DJ6LYM.js.map → ku-TR-ASSXNN3U.js.map} +2 -2
  73. package/dist/dev/locales/{lt-LT-BYS5DA45.js → lt-LT-G7RZYQQU.js} +2 -1
  74. package/dist/dev/locales/{lt-LT-BYS5DA45.js.map → lt-LT-G7RZYQQU.js.map} +2 -2
  75. package/dist/dev/locales/{lv-LV-SPQ2VWX3.js → lv-LV-DXNPBJZU.js} +2 -1
  76. package/dist/dev/locales/{lv-LV-SPQ2VWX3.js.map → lv-LV-DXNPBJZU.js.map} +2 -2
  77. package/dist/dev/locales/{mr-IN-2HLK6LUA.js → mr-IN-7F2ZCTCF.js} +2 -1
  78. package/dist/dev/locales/{mr-IN-2HLK6LUA.js.map → mr-IN-7F2ZCTCF.js.map} +2 -2
  79. package/dist/dev/locales/{my-MM-P2LR44WR.js → my-MM-NBI3KQGW.js} +2 -1
  80. package/dist/dev/locales/{my-MM-P2LR44WR.js.map → my-MM-NBI3KQGW.js.map} +2 -2
  81. package/dist/dev/locales/{nb-NO-7YZHFFVS.js → nb-NO-4DCTQT6L.js} +2 -1
  82. package/dist/dev/locales/{nb-NO-7YZHFFVS.js.map → nb-NO-4DCTQT6L.js.map} +2 -2
  83. package/dist/dev/locales/{nl-NL-TF2OVIKN.js → nl-NL-XGZJ7V2V.js} +226 -225
  84. package/dist/dev/locales/nl-NL-XGZJ7V2V.js.map +7 -0
  85. package/dist/dev/locales/{nn-NO-2BWEL2IS.js → nn-NO-FR534JV5.js} +2 -1
  86. package/dist/dev/locales/{nn-NO-2BWEL2IS.js.map → nn-NO-FR534JV5.js.map} +2 -2
  87. package/dist/dev/locales/{oc-FR-5JYIFGLE.js → oc-FR-YQCIKZIK.js} +56 -55
  88. package/dist/dev/locales/oc-FR-YQCIKZIK.js.map +7 -0
  89. package/dist/dev/locales/{pa-IN-KBBGER76.js → pa-IN-UM43JGD2.js} +2 -1
  90. package/dist/dev/locales/{pa-IN-KBBGER76.js.map → pa-IN-UM43JGD2.js.map} +2 -2
  91. package/dist/dev/locales/{percentages-2RAYDWNS.js → percentages-OGWD7R2K.js} +2 -2
  92. package/dist/dev/locales/{pl-PL-BWZ2X734.js → pl-PL-2UGKA6HK.js} +2 -1
  93. package/dist/dev/locales/{pl-PL-BWZ2X734.js.map → pl-PL-2UGKA6HK.js.map} +2 -2
  94. package/dist/dev/locales/{pt-BR-ERVIQI63.js → pt-BR-H23QFYE3.js} +3 -2
  95. package/dist/dev/locales/pt-BR-H23QFYE3.js.map +7 -0
  96. package/dist/dev/locales/{pt-PT-ZNJ5NB5S.js → pt-PT-RHKJH5I5.js} +2 -1
  97. package/dist/dev/locales/{pt-PT-ZNJ5NB5S.js.map → pt-PT-RHKJH5I5.js.map} +2 -2
  98. package/dist/dev/locales/{ro-RO-UYNXGUB7.js → ro-RO-IIFONL3T.js} +2 -1
  99. package/dist/dev/locales/{ro-RO-UYNXGUB7.js.map → ro-RO-IIFONL3T.js.map} +2 -2
  100. package/dist/dev/locales/{ru-RU-F7LPIMGQ.js → ru-RU-QEP6D7GK.js} +49 -48
  101. package/dist/dev/locales/ru-RU-QEP6D7GK.js.map +7 -0
  102. package/dist/dev/locales/{si-LK-5GF2DJUH.js → si-LK-LZYJQLHF.js} +2 -1
  103. package/dist/dev/locales/{si-LK-5GF2DJUH.js.map → si-LK-LZYJQLHF.js.map} +2 -2
  104. package/dist/dev/locales/{sk-SK-H6WE7IJX.js → sk-SK-RWC6UWGY.js} +49 -48
  105. package/dist/dev/locales/sk-SK-RWC6UWGY.js.map +7 -0
  106. package/dist/dev/locales/{sl-SI-4PJ6LBI7.js → sl-SI-QJT2CAUO.js} +2 -1
  107. package/dist/dev/locales/{sl-SI-4PJ6LBI7.js.map → sl-SI-QJT2CAUO.js.map} +2 -2
  108. package/dist/dev/locales/{sv-SE-E5VQLCRE.js → sv-SE-3MAT3NDX.js} +5 -4
  109. package/dist/dev/locales/sv-SE-3MAT3NDX.js.map +7 -0
  110. package/dist/dev/locales/{ta-IN-2YWIVLKF.js → ta-IN-J7XOYF2T.js} +2 -1
  111. package/dist/dev/locales/{ta-IN-2YWIVLKF.js.map → ta-IN-J7XOYF2T.js.map} +2 -2
  112. package/dist/dev/locales/{th-TH-IV7RUTDK.js → th-TH-2OI52EOQ.js} +2 -1
  113. package/dist/dev/locales/{th-TH-IV7RUTDK.js.map → th-TH-2OI52EOQ.js.map} +2 -2
  114. package/dist/dev/locales/{tr-TR-LEQWIQH7.js → tr-TR-G7TAUHUI.js} +2 -1
  115. package/dist/dev/locales/{tr-TR-LEQWIQH7.js.map → tr-TR-G7TAUHUI.js.map} +2 -2
  116. package/dist/dev/locales/{uk-UA-DWVOQPTB.js → uk-UA-IVSVBJIG.js} +2 -1
  117. package/dist/dev/locales/{uk-UA-DWVOQPTB.js.map → uk-UA-IVSVBJIG.js.map} +2 -2
  118. package/dist/dev/locales/{uz-UZ-CKXQ3QKG.js → uz-UZ-KCVDUVDE.js} +2 -1
  119. package/dist/dev/locales/{uz-UZ-CKXQ3QKG.js.map → uz-UZ-KCVDUVDE.js.map} +2 -2
  120. package/dist/dev/locales/{vi-VN-3P6DZOGS.js → vi-VN-KBZAVWP5.js} +4 -3
  121. package/dist/dev/locales/{vi-VN-3P6DZOGS.js.map → vi-VN-KBZAVWP5.js.map} +2 -2
  122. package/dist/dev/locales/{zh-CN-XXVG53TQ.js → zh-CN-IS26RG2D.js} +2 -1
  123. package/dist/dev/locales/{zh-CN-XXVG53TQ.js.map → zh-CN-IS26RG2D.js.map} +2 -2
  124. package/dist/dev/locales/{zh-HK-JCHGKEUE.js → zh-HK-KBWQ6SJC.js} +2 -1
  125. package/dist/dev/locales/{zh-HK-JCHGKEUE.js.map → zh-HK-KBWQ6SJC.js.map} +2 -2
  126. package/dist/dev/locales/{zh-TW-ARVT7RZU.js → zh-TW-JKJWJQ4J.js} +2 -1
  127. package/dist/dev/locales/{zh-TW-ARVT7RZU.js.map → zh-TW-JKJWJQ4J.js.map} +2 -2
  128. package/dist/dev/subset-shared.chunk.js +1 -1
  129. package/dist/dev/subset-worker.chunk.js +1 -1
  130. package/dist/prod/chunk-AJI3LATG.js +1 -0
  131. package/dist/prod/{chunk-N7QNUCIG.js → chunk-QNG5NH6R.js} +1 -1
  132. package/dist/prod/chunk-TIFXQFVB.js +4 -0
  133. package/dist/prod/{chunk-LS7FJGPW.js → chunk-Z5NKEFVG.js} +8 -8
  134. package/dist/prod/data/{image-SMWA6JLH.js → image-OPZV5J37.js} +1 -1
  135. package/dist/prod/index.css +1 -1
  136. package/dist/prod/index.js +24 -24
  137. package/dist/prod/locales/{ar-SA-F62BVQMB.js → ar-SA-IYHKZRSE.js} +2 -2
  138. package/dist/prod/locales/{az-AZ-7PGSKYOB.js → az-AZ-WL5GYRHK.js} +1 -1
  139. package/dist/prod/locales/{bg-BG-AAEXMUQ4.js → bg-BG-FXZYTRPD.js} +1 -1
  140. package/dist/prod/locales/{bn-IN-YT3I2M3F.js → bn-BD-KO6YL5G2.js} +1 -1
  141. package/dist/prod/locales/{bn-BD-ONOFQYIQ.js → bn-IN-PC6JHKYB.js} +1 -1
  142. package/dist/prod/locales/{ca-ES-GG4YH2FN.js → ca-ES-AREX5NEO.js} +1 -1
  143. package/dist/prod/locales/{cs-CZ-IS5VTBOP.js → cs-CZ-HXAZMFYH.js} +2 -2
  144. package/dist/prod/locales/{da-DK-VPQ2KWAY.js → da-DK-5X7ZLFU3.js} +2 -2
  145. package/dist/prod/locales/{de-DE-RAT2LIDI.js → de-CH-76ZNVSOF.js} +1 -1
  146. package/dist/prod/locales/{de-CH-G4Y2G6IS.js → de-DE-G3JVZ4MQ.js} +3 -3
  147. package/dist/prod/locales/{el-GR-DNJB2AZO.js → el-GR-4AZTZGY6.js} +2 -2
  148. package/dist/prod/locales/{en-FOCNVEEU.js → en-BARVNJLJ.js} +1 -1
  149. package/dist/prod/locales/es-ES-ART7BI3G.js +7 -0
  150. package/dist/prod/locales/{eu-ES-XLOS36YS.js → eu-ES-BIF4XBMT.js} +2 -2
  151. package/dist/prod/locales/{fa-IR-J6Z2YOGX.js → fa-IR-D4HHKAAI.js} +1 -1
  152. package/dist/prod/locales/{fi-FI-B2IQ7SBP.js → fi-FI-O35ZY7UI.js} +1 -1
  153. package/dist/prod/locales/{fr-FR-N5BRDCMI.js → fr-FR-XEFNCM4I.js} +3 -3
  154. package/dist/prod/locales/{gl-ES-BOYALFRN.js → gl-ES-U4NYM3X5.js} +2 -2
  155. package/dist/prod/locales/{he-IL-H7M7HGY5.js → he-IL-656ABAVQ.js} +1 -1
  156. package/dist/prod/locales/{hi-IN-7AB5CA2Q.js → hi-IN-Z55GAFFR.js} +2 -2
  157. package/dist/prod/locales/{hu-HU-ZZM7UJLP.js → hu-HU-UJ62DVIW.js} +1 -1
  158. package/dist/prod/locales/{id-ID-RZ7JNCXA.js → id-ID-FLZFU3OO.js} +1 -1
  159. package/dist/prod/locales/it-IT-GIGIGIBJ.js +12 -0
  160. package/dist/prod/locales/ja-JP-43VXGDWI.js +7 -0
  161. package/dist/prod/locales/{kaa-QWYSGEM7.js → kaa-L3IMSDYL.js} +1 -1
  162. package/dist/prod/locales/{kab-KAB-Q3HBKQ5I.js → kab-KAB-XKPWJLNL.js} +2 -2
  163. package/dist/prod/locales/kk-KZ-SXPDDY2H.js +1 -0
  164. package/dist/prod/locales/{km-KH-CN6HHF5U.js → km-KH-DOS4CPGC.js} +3 -3
  165. package/dist/prod/locales/{ko-KR-SJQMUXM7.js → ko-KR-BGC6VCY4.js} +1 -1
  166. package/dist/prod/locales/{ku-TR-VM4BHTPC.js → ku-TR-J7IUITIA.js} +1 -1
  167. package/dist/prod/locales/{lt-LT-QIWZQ7AG.js → lt-LT-AC3LV5KG.js} +1 -1
  168. package/dist/prod/locales/{lv-LV-YQFCB4WZ.js → lv-LV-I6AY7QG2.js} +1 -1
  169. package/dist/prod/locales/{mr-IN-GR2ZJPSQ.js → mr-IN-5SP4HV5B.js} +2 -2
  170. package/dist/prod/locales/{my-MM-M5XJDJQ2.js → my-MM-S7ECRBYZ.js} +1 -1
  171. package/dist/prod/locales/{nb-NO-2RU2YF7H.js → nb-NO-6PNHTF4R.js} +1 -1
  172. package/dist/prod/locales/nl-NL-R4C4SUIG.js +13 -0
  173. package/dist/prod/locales/{nn-NO-72RCA552.js → nn-NO-3TFXTM7Y.js} +1 -1
  174. package/dist/prod/locales/oc-FR-IK6GIE7H.js +4 -0
  175. package/dist/prod/locales/{pa-IN-WESENMFH.js → pa-IN-YAKHYJET.js} +1 -1
  176. package/dist/prod/locales/percentages-OL6W367U.js +1 -0
  177. package/dist/prod/locales/{pl-PL-7C4NGVUA.js → pl-PL-BIY22ZWU.js} +2 -2
  178. package/dist/prod/locales/{pt-BR-QH23C2IX.js → pt-BR-Q23NUPD6.js} +2 -2
  179. package/dist/prod/locales/{pt-PT-O5XBATXI.js → pt-PT-LOPEJLPJ.js} +2 -2
  180. package/dist/prod/locales/{ro-RO-QHCHEGM5.js → ro-RO-W3D2ZATV.js} +2 -2
  181. package/dist/prod/locales/ru-RU-DCTW7QSH.js +10 -0
  182. package/dist/prod/locales/{si-LK-JYUINGNN.js → si-LK-FYRRHO3C.js} +1 -1
  183. package/dist/prod/locales/sk-SK-MC7UOHQO.js +7 -0
  184. package/dist/prod/locales/{sl-SI-5KPVX4FS.js → sl-SI-L6B6HFY5.js} +2 -2
  185. package/dist/prod/locales/{sv-SE-MVMXV6O4.js → sv-SE-KMY6L2BA.js} +3 -3
  186. package/dist/prod/locales/{ta-IN-A32FQB4D.js → ta-IN-ZQCYE2JK.js} +2 -2
  187. package/dist/prod/locales/{th-TH-CXMWNVBY.js → th-TH-WS7ECBAV.js} +1 -1
  188. package/dist/prod/locales/{tr-TR-YHFI3W2D.js → tr-TR-S5FI7JRW.js} +2 -2
  189. package/dist/prod/locales/{uk-UA-UTJIIKT5.js → uk-UA-4EZUWUSQ.js} +3 -3
  190. package/dist/prod/locales/{uz-UZ-H4EGTR7D.js → uz-UZ-OKHL6AFA.js} +1 -1
  191. package/dist/prod/locales/{vi-VN-XBV2ESZM.js → vi-VN-K34TWHF7.js} +2 -2
  192. package/dist/prod/locales/{zh-CN-CKCJ4HAO.js → zh-CN-JE4UZWNO.js} +2 -2
  193. package/dist/prod/locales/{zh-HK-ISASRRMF.js → zh-HK-RM35YDXX.js} +1 -1
  194. package/dist/prod/locales/{zh-TW-KYRW5V3R.js → zh-TW-ONGLV6Y5.js} +3 -3
  195. package/dist/prod/subset-shared.chunk.js +1 -1
  196. package/dist/prod/subset-worker.chunk.js +1 -1
  197. package/dist/types/common/src/bounds.d.ts +10 -0
  198. package/dist/types/common/src/colors.d.ts +5 -2
  199. package/dist/types/common/src/constants.d.ts +13 -11
  200. package/dist/types/common/src/font-metadata.d.ts +1 -3
  201. package/dist/types/common/src/index.d.ts +1 -0
  202. package/dist/types/common/src/keys.d.ts +1 -1
  203. package/dist/types/common/src/utility-types.d.ts +0 -1
  204. package/dist/types/common/src/utils.d.ts +43 -33
  205. package/dist/types/common/src/visualdebug.d.ts +1 -1
  206. package/dist/types/element/src/Scene.d.ts +3 -3
  207. package/dist/types/element/src/binding.d.ts +6 -4
  208. package/dist/types/element/src/bounds.d.ts +2 -10
  209. package/dist/types/element/src/collision.d.ts +2 -2
  210. package/dist/types/element/src/comparisons.d.ts +7 -7
  211. package/dist/types/element/src/dragElements.d.ts +3 -3
  212. package/dist/types/element/src/duplicate.d.ts +3 -3
  213. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  214. package/dist/types/element/src/frame.d.ts +5 -1
  215. package/dist/types/element/src/heading.d.ts +2 -1
  216. package/dist/types/element/src/image.d.ts +1 -11
  217. package/dist/types/element/src/index.d.ts +1 -0
  218. package/dist/types/element/src/linearElementEditor.d.ts +1 -2
  219. package/dist/types/element/src/mutateElement.d.ts +3 -1
  220. package/dist/types/element/src/newElement.d.ts +6 -6
  221. package/dist/types/element/src/renderElement.d.ts +0 -6
  222. package/dist/types/element/src/resizeElements.d.ts +10 -10
  223. package/dist/types/element/src/resizeTest.d.ts +1 -1
  224. package/dist/types/element/src/selection.d.ts +3 -7
  225. package/dist/types/element/src/shape.d.ts +8 -7
  226. package/dist/types/element/src/textMeasurements.d.ts +1 -3
  227. package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
  228. package/dist/types/element/src/transformHandles.d.ts +3 -23
  229. package/dist/types/element/src/typeChecks.d.ts +2 -4
  230. package/dist/types/element/src/utils.d.ts +3 -1
  231. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +62 -126
  232. package/dist/types/excalidraw/actions/actionAlign.d.ts +0 -1
  233. package/dist/types/excalidraw/actions/actionBoundText.d.ts +44 -87
  234. package/dist/types/excalidraw/actions/actionCanvas.d.ts +263 -510
  235. package/dist/types/excalidraw/actions/actionClipboard.d.ts +44 -87
  236. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +21 -43
  237. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +68 -136
  238. package/dist/types/excalidraw/actions/actionDistribute.d.ts +0 -1
  239. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +0 -1
  240. package/dist/types/excalidraw/actions/actionElementLink.d.ts +18 -40
  241. package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -88
  242. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +22 -44
  243. package/dist/types/excalidraw/actions/actionExport.d.ts +85 -170
  244. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -2
  245. package/dist/types/excalidraw/actions/actionFlip.d.ts +0 -1
  246. package/dist/types/excalidraw/actions/actionFrame.d.ts +167 -288
  247. package/dist/types/excalidraw/actions/actionGroup.d.ts +48 -99
  248. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +102 -160
  249. package/dist/types/excalidraw/actions/actionLink.d.ts +22 -44
  250. package/dist/types/excalidraw/actions/actionMenu.d.ts +17 -39
  251. package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -17
  252. package/dist/types/excalidraw/actions/actionProperties.d.ts +59 -102
  253. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +24 -50
  254. package/dist/types/excalidraw/actions/actionStyles.d.ts +20 -42
  255. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +22 -44
  256. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +22 -44
  257. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -38
  258. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +22 -44
  259. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +22 -44
  260. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +22 -44
  261. package/dist/types/excalidraw/actions/actionZindex.d.ts +0 -1
  262. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  263. package/dist/types/excalidraw/actions/register.d.ts +2 -2
  264. package/dist/types/excalidraw/appState.d.ts +3 -3
  265. package/dist/types/excalidraw/clipboard.d.ts +7 -31
  266. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  267. package/dist/types/excalidraw/components/App.d.ts +33 -41
  268. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +1 -1
  269. package/dist/types/excalidraw/components/Card.d.ts +0 -1
  270. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +7 -4
  271. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
  272. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
  273. package/dist/types/excalidraw/components/CommandPalette/types.d.ts +0 -1
  274. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  275. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  276. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
  277. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  278. package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
  279. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  280. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -1
  281. package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
  282. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
  283. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
  284. package/dist/types/excalidraw/components/InlineIcon.d.ts +2 -2
  285. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
  286. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
  287. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
  288. package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
  289. package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -1
  290. package/dist/types/excalidraw/components/Modal.d.ts +0 -1
  291. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
  292. package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
  293. package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
  294. package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
  295. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
  296. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
  297. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
  298. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
  299. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
  300. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
  301. package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
  302. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
  303. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
  304. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
  305. package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
  306. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -2
  307. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +0 -1
  308. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
  309. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
  310. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
  311. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
  312. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +2 -3
  313. package/dist/types/excalidraw/components/Toast.d.ts +3 -3
  314. package/dist/types/excalidraw/components/Trans.d.ts +2 -2
  315. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +28 -32
  316. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +5 -5
  317. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
  318. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +10 -18
  319. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
  320. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -1
  321. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
  322. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
  323. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
  324. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  325. package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
  326. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
  327. package/dist/types/excalidraw/components/icons.d.ts +11 -11
  328. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +2 -13
  329. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
  330. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +26 -28
  331. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
  332. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
  333. package/dist/types/excalidraw/data/blob.d.ts +321 -3
  334. package/dist/types/excalidraw/data/encode.d.ts +4 -4
  335. package/dist/types/excalidraw/data/encryption.d.ts +5 -5
  336. package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
  337. package/dist/types/excalidraw/data/index.d.ts +3 -3
  338. package/dist/types/excalidraw/data/json.d.ts +159 -2
  339. package/dist/types/excalidraw/data/library.d.ts +24 -9
  340. package/dist/types/excalidraw/data/restore.d.ts +25 -10
  341. package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
  342. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -2
  343. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
  344. package/dist/types/excalidraw/i18n.d.ts +2 -2
  345. package/dist/types/excalidraw/index.d.ts +2 -4
  346. package/dist/types/excalidraw/renderer/helpers.d.ts +6 -4
  347. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -6
  348. package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
  349. package/dist/types/excalidraw/scene/export.d.ts +2 -2
  350. package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
  351. package/dist/types/excalidraw/scene/types.d.ts +7 -2
  352. package/dist/types/excalidraw/snapping.d.ts +5 -5
  353. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
  354. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
  355. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
  356. package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
  357. package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
  358. package/dist/types/excalidraw/types.d.ts +1 -1
  359. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -2
  360. package/dist/types/math/src/polygon.d.ts +2 -2
  361. package/dist/types/math/src/range.d.ts +1 -3
  362. package/dist/types/math/src/segment.d.ts +3 -3
  363. package/dist/types/utils/src/bbox.d.ts +1 -1
  364. package/dist/types/utils/src/export.d.ts +5 -5
  365. package/dist/types/utils/src/shape.d.ts +6 -6
  366. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  367. package/package.json +5 -5
  368. package/dist/dev/chunk-SJTAY27F.js.map +0 -7
  369. package/dist/dev/locales/de-DE-YRH6WMM5.js.map +0 -7
  370. package/dist/dev/locales/el-GR-W7S64QNM.js.map +0 -7
  371. package/dist/dev/locales/es-ES-7JEN5PTZ.js.map +0 -7
  372. package/dist/dev/locales/it-IT-AV75ICYT.js.map +0 -7
  373. package/dist/dev/locales/ja-JP-SS4G3ZXF.js.map +0 -7
  374. package/dist/dev/locales/kk-KZ-762YODLJ.js.map +0 -7
  375. package/dist/dev/locales/nl-NL-TF2OVIKN.js.map +0 -7
  376. package/dist/dev/locales/oc-FR-5JYIFGLE.js.map +0 -7
  377. package/dist/dev/locales/pt-BR-ERVIQI63.js.map +0 -7
  378. package/dist/dev/locales/ru-RU-F7LPIMGQ.js.map +0 -7
  379. package/dist/dev/locales/sk-SK-H6WE7IJX.js.map +0 -7
  380. package/dist/dev/locales/sv-SE-E5VQLCRE.js.map +0 -7
  381. package/dist/prod/chunk-KRJFZ5JQ.js +0 -1
  382. package/dist/prod/chunk-XJNFOLHK.js +0 -4
  383. package/dist/prod/locales/es-ES-IMTENLBU.js +0 -7
  384. package/dist/prod/locales/it-IT-ZX7HN56D.js +0 -8
  385. package/dist/prod/locales/ja-JP-NBNBUHIR.js +0 -7
  386. package/dist/prod/locales/kk-KZ-HF2NTCRX.js +0 -1
  387. package/dist/prod/locales/nl-NL-MUHXDQFK.js +0 -7
  388. package/dist/prod/locales/oc-FR-65ITQYQ2.js +0 -4
  389. package/dist/prod/locales/percentages-OEPNEGCM.js +0 -1
  390. package/dist/prod/locales/ru-RU-FUMQ2LLB.js +0 -6
  391. package/dist/prod/locales/sk-SK-R25O52BS.js +0 -7
  392. /package/dist/dev/data/{image-S2GFZH7W.js.map → image-Q6JHR7OE.js.map} +0 -0
  393. /package/dist/dev/locales/{en-ZO6QSABV.js.map → en-MLZIHOCR.js.map} +0 -0
  394. /package/dist/dev/locales/{percentages-2RAYDWNS.js.map → percentages-OGWD7R2K.js.map} +0 -0
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const actionLink: {
3
2
  name: "hyperlink";
4
3
  label: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.create";
@@ -15,10 +14,10 @@ export declare const actionLink: {
15
14
  } | null;
16
15
  showWelcomeScreen: boolean;
17
16
  isLoading: boolean;
18
- errorMessage: import("react").ReactNode;
17
+ errorMessage: React.ReactNode;
19
18
  activeEmbeddable: {
20
19
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
- state: "active" | "hover";
20
+ state: "hover" | "active";
22
21
  } | null;
23
22
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
23
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -54,19 +53,19 @@ export declare const actionLink: {
54
53
  exportScale: number;
55
54
  currentItemStrokeColor: string;
56
55
  currentItemBackgroundColor: string;
57
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
56
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
58
57
  currentItemStrokeWidth: number;
59
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
58
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
60
59
  currentItemRoughness: number;
61
60
  currentItemOpacity: number;
62
- currentItemFontFamily: number;
61
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
63
62
  currentItemFontSize: number;
64
- currentItemTextAlign: string;
63
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
65
64
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
66
65
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
67
- currentHoveredFontFamily: number | null;
66
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
68
67
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
69
- currentItemArrowType: "round" | "sharp" | "elbow";
68
+ currentItemArrowType: "sharp" | "round" | "elbow";
70
69
  viewBackgroundColor: string;
71
70
  scrollX: number;
72
71
  scrollY: number;
@@ -75,27 +74,25 @@ export declare const actionLink: {
75
74
  name: string | null;
76
75
  isResizing: boolean;
77
76
  isRotating: boolean;
78
- zoom: Readonly<{
79
- value: import("../types").NormalizedZoomValue;
80
- }>;
81
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
77
+ zoom: import("../types").Zoom;
78
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
82
79
  openSidebar: {
83
- name: string;
84
- tab?: string | undefined;
80
+ name: import("../types").SidebarName;
81
+ tab?: import("../types").SidebarTabName;
85
82
  } | null;
86
- openDialog: {
83
+ openDialog: null | {
87
84
  name: "imageExport" | "help" | "jsonExport";
88
85
  } | {
89
86
  name: "ttd";
90
- tab: "mermaid" | "text-to-diagram";
87
+ tab: "text-to-diagram" | "mermaid";
91
88
  } | {
92
89
  name: "commandPalette";
93
90
  } | {
94
91
  name: "settings";
95
92
  } | {
96
93
  name: "elementLinkSelector";
97
- sourceElementId: string;
98
- } | null;
94
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
95
+ };
99
96
  defaultSidebarDockedPreference: boolean;
100
97
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
101
98
  selectedElementIds: Readonly<{
@@ -111,8 +108,8 @@ export declare const actionLink: {
111
108
  shouldCacheIgnoreZoom: boolean;
112
109
  toast: {
113
110
  message: string;
114
- closable?: boolean | undefined;
115
- duration?: number | undefined;
111
+ closable?: boolean;
112
+ duration?: number;
116
113
  } | null;
117
114
  zenModeEnabled: boolean;
118
115
  theme: import("@excalidraw/element/types").Theme;
@@ -123,32 +120,13 @@ export declare const actionLink: {
123
120
  selectedGroupIds: {
124
121
  [groupId: string]: boolean;
125
122
  };
126
- editingGroupId: string | null;
123
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
127
124
  width: number;
128
125
  height: number;
129
126
  offsetTop: number;
130
127
  offsetLeft: number;
131
128
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
132
- collaborators: Map<import("../types").SocketId, Readonly<{
133
- pointer?: import("../types").CollaboratorPointer | undefined;
134
- button?: "up" | "down" | undefined;
135
- selectedElementIds?: Readonly<{
136
- [id: string]: true;
137
- }> | undefined;
138
- username?: string | null | undefined;
139
- userState?: import("@excalidraw/common").UserIdleState | undefined;
140
- color?: {
141
- background: string;
142
- stroke: string;
143
- } | undefined;
144
- avatarUrl?: string | undefined;
145
- id?: string | undefined;
146
- socketId?: import("../types").SocketId | undefined;
147
- isCurrentUser?: boolean | undefined;
148
- isInCall?: boolean | undefined;
149
- isSpeaking?: boolean | undefined;
150
- isMuted?: boolean | undefined;
151
- }>>;
129
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
152
130
  stats: {
153
131
  open: boolean;
154
132
  panels: number;
@@ -171,9 +149,9 @@ export declare const actionLink: {
171
149
  userToFollow: import("../types").UserToFollow | null;
172
150
  followedBy: Set<import("../types").SocketId>;
173
151
  isCropping: boolean;
174
- croppingElementId: string | null;
152
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
175
153
  searchMatches: Readonly<{
176
- focusedId: string | null;
154
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
177
155
  matches: readonly import("../types").SearchMatch[];
178
156
  }> | null;
179
157
  activeLockedId: string | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const actionShortcuts: {
3
2
  name: "toggleShortcuts";
4
3
  label: string;
@@ -22,10 +21,10 @@ export declare const actionShortcuts: {
22
21
  } | null;
23
22
  showWelcomeScreen: boolean;
24
23
  isLoading: boolean;
25
- errorMessage: import("react").ReactNode;
24
+ errorMessage: React.ReactNode;
26
25
  activeEmbeddable: {
27
26
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
28
- state: "active" | "hover";
27
+ state: "hover" | "active";
29
28
  } | null;
30
29
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
31
30
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -61,19 +60,19 @@ export declare const actionShortcuts: {
61
60
  exportScale: number;
62
61
  currentItemStrokeColor: string;
63
62
  currentItemBackgroundColor: string;
64
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
63
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
65
64
  currentItemStrokeWidth: number;
66
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
65
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
67
66
  currentItemRoughness: number;
68
67
  currentItemOpacity: number;
69
- currentItemFontFamily: number;
68
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
70
69
  currentItemFontSize: number;
71
- currentItemTextAlign: string;
70
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
72
71
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
73
72
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
74
- currentHoveredFontFamily: number | null;
73
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
75
74
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
76
- currentItemArrowType: "round" | "sharp" | "elbow";
75
+ currentItemArrowType: "sharp" | "round" | "elbow";
77
76
  viewBackgroundColor: string;
78
77
  scrollX: number;
79
78
  scrollY: number;
@@ -82,12 +81,10 @@ export declare const actionShortcuts: {
82
81
  name: string | null;
83
82
  isResizing: boolean;
84
83
  isRotating: boolean;
85
- zoom: Readonly<{
86
- value: import("../types").NormalizedZoomValue;
87
- }>;
84
+ zoom: import("../types").Zoom;
88
85
  openSidebar: {
89
- name: string;
90
- tab?: string | undefined;
86
+ name: import("../types").SidebarName;
87
+ tab?: import("../types").SidebarTabName;
91
88
  } | null;
92
89
  defaultSidebarDockedPreference: boolean;
93
90
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -104,8 +101,8 @@ export declare const actionShortcuts: {
104
101
  shouldCacheIgnoreZoom: boolean;
105
102
  toast: {
106
103
  message: string;
107
- closable?: boolean | undefined;
108
- duration?: number | undefined;
104
+ closable?: boolean;
105
+ duration?: number;
109
106
  } | null;
110
107
  zenModeEnabled: boolean;
111
108
  theme: import("@excalidraw/element/types").Theme;
@@ -116,32 +113,13 @@ export declare const actionShortcuts: {
116
113
  selectedGroupIds: {
117
114
  [groupId: string]: boolean;
118
115
  };
119
- editingGroupId: string | null;
116
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
120
117
  width: number;
121
118
  height: number;
122
119
  offsetTop: number;
123
120
  offsetLeft: number;
124
121
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
125
- collaborators: Map<import("../types").SocketId, Readonly<{
126
- pointer?: import("../types").CollaboratorPointer | undefined;
127
- button?: "up" | "down" | undefined;
128
- selectedElementIds?: Readonly<{
129
- [id: string]: true;
130
- }> | undefined;
131
- username?: string | null | undefined;
132
- userState?: import("@excalidraw/common").UserIdleState | undefined;
133
- color?: {
134
- background: string;
135
- stroke: string;
136
- } | undefined;
137
- avatarUrl?: string | undefined;
138
- id?: string | undefined;
139
- socketId?: import("../types").SocketId | undefined;
140
- isCurrentUser?: boolean | undefined;
141
- isInCall?: boolean | undefined;
142
- isSpeaking?: boolean | undefined;
143
- isMuted?: boolean | undefined;
144
- }>>;
122
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
145
123
  stats: {
146
124
  open: boolean;
147
125
  panels: number;
@@ -165,9 +143,9 @@ export declare const actionShortcuts: {
165
143
  userToFollow: import("../types").UserToFollow | null;
166
144
  followedBy: Set<import("../types").SocketId>;
167
145
  isCropping: boolean;
168
- croppingElementId: string | null;
146
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
169
147
  searchMatches: Readonly<{
170
- focusedId: string | null;
148
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
171
149
  matches: readonly import("../types").SearchMatch[];
172
150
  }> | null;
173
151
  activeLockedId: string | null;
@@ -1,23 +1,20 @@
1
- /// <reference types="react" />
2
1
  export declare const actionGoToCollaborator: import("./types").Action<Readonly<{
3
- pointer?: import("../types").CollaboratorPointer | undefined;
4
- button?: "up" | "down" | undefined;
5
- selectedElementIds?: Readonly<{
6
- [id: string]: true;
7
- }> | undefined;
8
- username?: string | null | undefined;
9
- userState?: import("@excalidraw/common").UserIdleState | undefined;
2
+ pointer?: import("../types").CollaboratorPointer;
3
+ button?: "up" | "down";
4
+ selectedElementIds?: import("../types").AppState["selectedElementIds"];
5
+ username?: string | null;
6
+ userState?: import("@excalidraw/common").UserIdleState;
10
7
  color?: {
11
8
  background: string;
12
9
  stroke: string;
13
- } | undefined;
14
- avatarUrl?: string | undefined;
15
- id?: string | undefined;
16
- socketId?: import("../types").SocketId | undefined;
17
- isCurrentUser?: boolean | undefined;
18
- isInCall?: boolean | undefined;
19
- isSpeaking?: boolean | undefined;
20
- isMuted?: boolean | undefined;
10
+ };
11
+ avatarUrl?: string;
12
+ id?: string;
13
+ socketId?: import("../types").SocketId;
14
+ isCurrentUser?: boolean;
15
+ isInCall?: boolean;
16
+ isSpeaking?: boolean;
17
+ isMuted?: boolean;
21
18
  }>> & {
22
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
19
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
23
20
  };
@@ -1,32 +1,31 @@
1
- /// <reference types="react" />
2
1
  import { LinearElementEditor } from "@excalidraw/element";
3
- import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
2
+ import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, FontFamilyValues, TextAlign } from "@excalidraw/element/types";
4
3
  import type { AppClassProperties, AppState, Primitive } from "../types";
5
4
  export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
6
5
  export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
7
6
  export declare const actionChangeStrokeColor: import("./types").Action<Pick<AppState, "currentItemStrokeColor">> & {
8
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
7
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
9
8
  };
10
9
  export declare const actionChangeBackgroundColor: import("./types").Action<Pick<AppState, "viewBackgroundColor" | "currentItemBackgroundColor">> & {
11
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
10
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
12
11
  };
13
12
  export declare const actionChangeFillStyle: import("./types").Action<import("@excalidraw/element/types").FillStyle> & {
14
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
13
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
15
14
  };
16
15
  export declare const actionChangeStrokeWidth: import("./types").Action<number> & {
17
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
16
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
18
17
  };
19
18
  export declare const actionChangeSloppiness: import("./types").Action<number> & {
20
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
19
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
21
20
  };
22
21
  export declare const actionChangeStrokeStyle: import("./types").Action<import("@excalidraw/element/types").StrokeStyle> & {
23
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
22
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
24
23
  };
25
24
  export declare const actionChangeOpacity: import("./types").Action<number> & {
26
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
25
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
27
26
  };
28
27
  export declare const actionChangeFontSize: import("./types").Action<number> & {
29
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
28
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
30
29
  };
31
30
  export declare const actionDecreaseFontSize: {
32
31
  name: "decreaseFontSize";
@@ -44,10 +43,10 @@ export declare const actionDecreaseFontSize: {
44
43
  } | null;
45
44
  showWelcomeScreen: boolean;
46
45
  isLoading: boolean;
47
- errorMessage: import("react").ReactNode;
46
+ errorMessage: React.ReactNode;
48
47
  activeEmbeddable: {
49
48
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
50
- state: "active" | "hover";
49
+ state: "hover" | "active";
51
50
  } | null;
52
51
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
53
52
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -83,18 +82,18 @@ export declare const actionDecreaseFontSize: {
83
82
  exportScale: number;
84
83
  currentItemStrokeColor: string;
85
84
  currentItemBackgroundColor: string;
86
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
85
+ currentItemFillStyle: ExcalidrawElement["fillStyle"];
87
86
  currentItemStrokeWidth: number;
88
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
87
+ currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
89
88
  currentItemRoughness: number;
90
89
  currentItemOpacity: number;
91
- currentItemFontFamily: number;
92
- currentItemTextAlign: string;
90
+ currentItemFontFamily: FontFamilyValues;
91
+ currentItemTextAlign: TextAlign;
93
92
  currentItemStartArrowhead: Arrowhead | null;
94
93
  currentItemEndArrowhead: Arrowhead | null;
95
- currentHoveredFontFamily: number | null;
94
+ currentHoveredFontFamily: FontFamilyValues | null;
96
95
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
97
- currentItemArrowType: "round" | "sharp" | "elbow";
96
+ currentItemArrowType: "sharp" | "round" | "elbow";
98
97
  viewBackgroundColor: string;
99
98
  scrollX: number;
100
99
  scrollY: number;
@@ -103,28 +102,26 @@ export declare const actionDecreaseFontSize: {
103
102
  name: string | null;
104
103
  isResizing: boolean;
105
104
  isRotating: boolean;
106
- zoom: Readonly<{
107
- value: import("../types").NormalizedZoomValue;
108
- }>;
105
+ zoom: import("../types").Zoom;
109
106
  openMenu: "canvas" | null;
110
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
107
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
111
108
  openSidebar: {
112
- name: string;
113
- tab?: string | undefined;
109
+ name: import("../types").SidebarName;
110
+ tab?: import("../types").SidebarTabName;
114
111
  } | null;
115
- openDialog: {
112
+ openDialog: null | {
116
113
  name: "imageExport" | "help" | "jsonExport";
117
114
  } | {
118
115
  name: "ttd";
119
- tab: "mermaid" | "text-to-diagram";
116
+ tab: "text-to-diagram" | "mermaid";
120
117
  } | {
121
118
  name: "commandPalette";
122
119
  } | {
123
120
  name: "settings";
124
121
  } | {
125
122
  name: "elementLinkSelector";
126
- sourceElementId: string;
127
- } | null;
123
+ sourceElementId: ExcalidrawElement["id"];
124
+ };
128
125
  defaultSidebarDockedPreference: boolean;
129
126
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
130
127
  selectedElementIds: Readonly<{
@@ -140,8 +137,8 @@ export declare const actionDecreaseFontSize: {
140
137
  shouldCacheIgnoreZoom: boolean;
141
138
  toast: {
142
139
  message: string;
143
- closable?: boolean | undefined;
144
- duration?: number | undefined;
140
+ closable?: boolean;
141
+ duration?: number;
145
142
  } | null;
146
143
  zenModeEnabled: boolean;
147
144
  theme: import("@excalidraw/element/types").Theme;
@@ -152,32 +149,13 @@ export declare const actionDecreaseFontSize: {
152
149
  selectedGroupIds: {
153
150
  [groupId: string]: boolean;
154
151
  };
155
- editingGroupId: string | null;
152
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
156
153
  width: number;
157
154
  height: number;
158
155
  offsetTop: number;
159
156
  offsetLeft: number;
160
157
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
161
- collaborators: Map<import("../types").SocketId, Readonly<{
162
- pointer?: import("../types").CollaboratorPointer | undefined;
163
- button?: "up" | "down" | undefined;
164
- selectedElementIds?: Readonly<{
165
- [id: string]: true;
166
- }> | undefined;
167
- username?: string | null | undefined;
168
- userState?: import("@excalidraw/common").UserIdleState | undefined;
169
- color?: {
170
- background: string;
171
- stroke: string;
172
- } | undefined;
173
- avatarUrl?: string | undefined;
174
- id?: string | undefined;
175
- socketId?: import("../types").SocketId | undefined;
176
- isCurrentUser?: boolean | undefined;
177
- isInCall?: boolean | undefined;
178
- isSpeaking?: boolean | undefined;
179
- isMuted?: boolean | undefined;
180
- }>>;
158
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
181
159
  stats: {
182
160
  open: boolean;
183
161
  panels: number;
@@ -201,9 +179,9 @@ export declare const actionDecreaseFontSize: {
201
179
  userToFollow: import("../types").UserToFollow | null;
202
180
  followedBy: Set<import("../types").SocketId>;
203
181
  isCropping: boolean;
204
- croppingElementId: string | null;
182
+ croppingElementId: ExcalidrawElement["id"] | null;
205
183
  searchMatches: Readonly<{
206
- focusedId: string | null;
184
+ focusedId: ExcalidrawElement["id"] | null;
207
185
  matches: readonly import("../types").SearchMatch[];
208
186
  }> | null;
209
187
  activeLockedId: string | null;
@@ -234,10 +212,10 @@ export declare const actionIncreaseFontSize: {
234
212
  } | null;
235
213
  showWelcomeScreen: boolean;
236
214
  isLoading: boolean;
237
- errorMessage: import("react").ReactNode;
215
+ errorMessage: React.ReactNode;
238
216
  activeEmbeddable: {
239
217
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
240
- state: "active" | "hover";
218
+ state: "hover" | "active";
241
219
  } | null;
242
220
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
243
221
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -273,18 +251,18 @@ export declare const actionIncreaseFontSize: {
273
251
  exportScale: number;
274
252
  currentItemStrokeColor: string;
275
253
  currentItemBackgroundColor: string;
276
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
254
+ currentItemFillStyle: ExcalidrawElement["fillStyle"];
277
255
  currentItemStrokeWidth: number;
278
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
256
+ currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
279
257
  currentItemRoughness: number;
280
258
  currentItemOpacity: number;
281
- currentItemFontFamily: number;
282
- currentItemTextAlign: string;
259
+ currentItemFontFamily: FontFamilyValues;
260
+ currentItemTextAlign: TextAlign;
283
261
  currentItemStartArrowhead: Arrowhead | null;
284
262
  currentItemEndArrowhead: Arrowhead | null;
285
- currentHoveredFontFamily: number | null;
263
+ currentHoveredFontFamily: FontFamilyValues | null;
286
264
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
287
- currentItemArrowType: "round" | "sharp" | "elbow";
265
+ currentItemArrowType: "sharp" | "round" | "elbow";
288
266
  viewBackgroundColor: string;
289
267
  scrollX: number;
290
268
  scrollY: number;
@@ -293,28 +271,26 @@ export declare const actionIncreaseFontSize: {
293
271
  name: string | null;
294
272
  isResizing: boolean;
295
273
  isRotating: boolean;
296
- zoom: Readonly<{
297
- value: import("../types").NormalizedZoomValue;
298
- }>;
274
+ zoom: import("../types").Zoom;
299
275
  openMenu: "canvas" | null;
300
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
276
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
301
277
  openSidebar: {
302
- name: string;
303
- tab?: string | undefined;
278
+ name: import("../types").SidebarName;
279
+ tab?: import("../types").SidebarTabName;
304
280
  } | null;
305
- openDialog: {
281
+ openDialog: null | {
306
282
  name: "imageExport" | "help" | "jsonExport";
307
283
  } | {
308
284
  name: "ttd";
309
- tab: "mermaid" | "text-to-diagram";
285
+ tab: "text-to-diagram" | "mermaid";
310
286
  } | {
311
287
  name: "commandPalette";
312
288
  } | {
313
289
  name: "settings";
314
290
  } | {
315
291
  name: "elementLinkSelector";
316
- sourceElementId: string;
317
- } | null;
292
+ sourceElementId: ExcalidrawElement["id"];
293
+ };
318
294
  defaultSidebarDockedPreference: boolean;
319
295
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
320
296
  selectedElementIds: Readonly<{
@@ -330,8 +306,8 @@ export declare const actionIncreaseFontSize: {
330
306
  shouldCacheIgnoreZoom: boolean;
331
307
  toast: {
332
308
  message: string;
333
- closable?: boolean | undefined;
334
- duration?: number | undefined;
309
+ closable?: boolean;
310
+ duration?: number;
335
311
  } | null;
336
312
  zenModeEnabled: boolean;
337
313
  theme: import("@excalidraw/element/types").Theme;
@@ -342,32 +318,13 @@ export declare const actionIncreaseFontSize: {
342
318
  selectedGroupIds: {
343
319
  [groupId: string]: boolean;
344
320
  };
345
- editingGroupId: string | null;
321
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
346
322
  width: number;
347
323
  height: number;
348
324
  offsetTop: number;
349
325
  offsetLeft: number;
350
326
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
351
- collaborators: Map<import("../types").SocketId, Readonly<{
352
- pointer?: import("../types").CollaboratorPointer | undefined;
353
- button?: "up" | "down" | undefined;
354
- selectedElementIds?: Readonly<{
355
- [id: string]: true;
356
- }> | undefined;
357
- username?: string | null | undefined;
358
- userState?: import("@excalidraw/common").UserIdleState | undefined;
359
- color?: {
360
- background: string;
361
- stroke: string;
362
- } | undefined;
363
- avatarUrl?: string | undefined;
364
- id?: string | undefined;
365
- socketId?: import("../types").SocketId | undefined;
366
- isCurrentUser?: boolean | undefined;
367
- isInCall?: boolean | undefined;
368
- isSpeaking?: boolean | undefined;
369
- isMuted?: boolean | undefined;
370
- }>>;
327
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
371
328
  stats: {
372
329
  open: boolean;
373
330
  panels: number;
@@ -391,9 +348,9 @@ export declare const actionIncreaseFontSize: {
391
348
  userToFollow: import("../types").UserToFollow | null;
392
349
  followedBy: Set<import("../types").SocketId>;
393
350
  isCropping: boolean;
394
- croppingElementId: string | null;
351
+ croppingElementId: ExcalidrawElement["id"] | null;
395
352
  searchMatches: Readonly<{
396
- focusedId: string | null;
353
+ focusedId: ExcalidrawElement["id"] | null;
397
354
  matches: readonly import("../types").SearchMatch[];
398
355
  }> | null;
399
356
  activeLockedId: string | null;
@@ -412,22 +369,22 @@ export declare const actionChangeFontFamily: import("./types").Action<{
412
369
  currentItemFontFamily: any;
413
370
  currentHoveredFontFamily: any;
414
371
  }> & {
415
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
372
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
416
373
  };
417
374
  export declare const actionChangeTextAlign: import("./types").Action<string> & {
418
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
375
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
419
376
  };
420
377
  export declare const actionChangeVerticalAlign: import("./types").Action<string> & {
421
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
378
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
422
379
  };
423
380
  export declare const actionChangeRoundness: import("./types").Action<"round" | "sharp"> & {
424
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
381
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
425
382
  };
426
383
  export declare const actionChangeArrowhead: import("./types").Action<{
427
384
  position: "start" | "end";
428
385
  type: Arrowhead;
429
386
  }> & {
430
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
387
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
431
388
  };
432
389
  export declare const actionChangeArrowProperties: {
433
390
  name: "changeArrowProperties";
@@ -439,5 +396,5 @@ export declare const actionChangeArrowProperties: {
439
396
  keyTest?: undefined;
440
397
  };
441
398
  export declare const actionChangeArrowType: import("./types").Action<"round" | "sharp" | "elbow"> & {
442
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
399
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
443
400
  };