@excalidraw/excalidraw 0.12.0-e4aff04 → 0.12.0-f8b4bb6

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 (195) hide show
  1. package/dist/excalidraw-assets/locales/de-DE-json-b972f335652b31abc478.js +1 -0
  2. package/dist/excalidraw-assets/locales/fr-FR-json-d53486b6942cd134938f.js +1 -0
  3. package/dist/excalidraw-assets/locales/gl-ES-json-24b9a50f57184ae44f99.js +1 -0
  4. package/dist/excalidraw-assets/locales/hi-IN-json-9af974be0987a846db82.js +1 -0
  5. package/dist/excalidraw-assets/locales/id-ID-json-acdf1f60176cd026af64.js +1 -0
  6. package/dist/excalidraw-assets/locales/mr-IN-json-3295641c432b154ab60f.js +1 -0
  7. package/dist/excalidraw-assets/locales/ro-RO-json-79dbe0225dfe06a010a6.js +1 -0
  8. package/dist/excalidraw-assets/locales/sk-SK-json-bd7dbe4c1e42c016fcb5.js +1 -0
  9. package/dist/excalidraw-assets/locales/tr-TR-json-75f46a2579a01cf32ba7.js +1 -0
  10. package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +2 -0
  11. package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt +12 -0
  12. package/dist/excalidraw-assets-dev/locales/{ar-SA-json-c230e7084374b2a41a5b.js → ar-SA-json-684b5e25f971902bd933.js} +0 -0
  13. package/dist/excalidraw-assets-dev/locales/{bg-BG-json-c614a9570a5645a02248.js → bg-BG-json-d78c84e8962f5d754019.js} +0 -0
  14. package/dist/excalidraw-assets-dev/locales/{bn-BD-json-8ceebdfe33ab020afaa0.js → bn-BD-json-79007d6cd3d09b6c1e82.js} +0 -0
  15. package/dist/excalidraw-assets-dev/locales/{ca-ES-json-1445dbb39c48a3e6a371.js → ca-ES-json-84b33ecd3096b99533c1.js} +0 -0
  16. package/dist/excalidraw-assets-dev/locales/{cs-CZ-json-f47d18ecc1f65315b35a.js → cs-CZ-json-1d48380fd54bd715a21c.js} +0 -0
  17. package/dist/excalidraw-assets-dev/locales/{da-DK-json-860cc67d853e3b8d65fb.js → da-DK-json-9dc062ac2b2aee3ad4ec.js} +0 -0
  18. package/dist/excalidraw-assets-dev/locales/de-DE-json-2d48c0ec0901cee81272.js +22 -0
  19. package/dist/excalidraw-assets-dev/locales/{el-GR-json-5043ba824b7d40e33579.js → el-GR-json-8ec22bd0cbf376e3ba5d.js} +0 -0
  20. package/dist/excalidraw-assets-dev/locales/{es-ES-json-0259da0aba04e914d3ae.js → es-ES-json-5dd577ba17baf0f4382c.js} +0 -0
  21. package/dist/excalidraw-assets-dev/locales/{eu-ES-json-5e5f045db763d09dac8c.js → eu-ES-json-9ba2e12372db6b5be813.js} +0 -0
  22. package/dist/excalidraw-assets-dev/locales/{fa-IR-json-76469efd2a2855b83656.js → fa-IR-json-9866fde07b07d55f2cb9.js} +0 -0
  23. package/dist/excalidraw-assets-dev/locales/{fi-FI-json-7bfb6fb5ff49d25e6692.js → fi-FI-json-2dcf087c4ff34b8a8ad7.js} +0 -0
  24. package/dist/excalidraw-assets-dev/locales/fr-FR-json-e4bbc872fed09a689b27.js +22 -0
  25. package/dist/excalidraw-assets-dev/locales/gl-ES-json-4ab7103bd7905741cf7e.js +22 -0
  26. package/dist/excalidraw-assets-dev/locales/{he-IL-json-145e68d77fae81830f53.js → he-IL-json-abac6b158c54984aecba.js} +0 -0
  27. package/dist/excalidraw-assets-dev/locales/hi-IN-json-3aba9d37f6dae9ca2445.js +22 -0
  28. package/dist/excalidraw-assets-dev/locales/{hu-HU-json-cd76402ea4ecf45ea692.js → hu-HU-json-8d604fcc349f93bc4440.js} +0 -0
  29. package/dist/excalidraw-assets-dev/locales/id-ID-json-6d9b771568900ad6f055.js +22 -0
  30. package/dist/excalidraw-assets-dev/locales/{it-IT-json-eb7fdff37b7733ae8cd7.js → it-IT-json-7086cd6c6f1f61016ba1.js} +0 -0
  31. package/dist/excalidraw-assets-dev/locales/{ja-JP-json-0113c0db4a8f5b5f9a7b.js → ja-JP-json-d864fb849b2a3874b290.js} +0 -0
  32. package/dist/excalidraw-assets-dev/locales/{kab-KAB-json-dfcf62fb52965e9aa2c7.js → kab-KAB-json-c69f8a1079a411de837c.js} +0 -0
  33. package/dist/excalidraw-assets-dev/locales/{kk-KZ-json-7a4892d59641d2ef3093.js → kk-KZ-json-8c7f34edcdac22c11c72.js} +0 -0
  34. package/dist/excalidraw-assets-dev/locales/{ko-KR-json-07979d139ac9282d46ac.js → ko-KR-json-c80065dfa01e02f28695.js} +0 -0
  35. package/dist/excalidraw-assets-dev/locales/{lt-LT-json-bbc547741668f4c7bfa8.js → lt-LT-json-edaae0abc84fb205ee70.js} +0 -0
  36. package/dist/excalidraw-assets-dev/locales/{lv-LV-json-bf6a2c9c2c9e3fd2e5ae.js → lv-LV-json-21cc252dcf4524c98e55.js} +0 -0
  37. package/dist/excalidraw-assets-dev/locales/mr-IN-json-d28b9664c21ee08d79eb.js +22 -0
  38. package/dist/excalidraw-assets-dev/locales/{my-MM-json-5a741cf753187bf88c6e.js → my-MM-json-56d51a30e815283e7260.js} +0 -0
  39. package/dist/excalidraw-assets-dev/locales/{nb-NO-json-ed181c3bde7d5506165b.js → nb-NO-json-827603cac737fb4bb00f.js} +0 -0
  40. package/dist/excalidraw-assets-dev/locales/{nl-NL-json-3cec6a3df67de4e36492.js → nl-NL-json-9c5c4b7bfbfe3328e561.js} +0 -0
  41. package/dist/excalidraw-assets-dev/locales/{nn-NO-json-978d2360c9917fe5ace4.js → nn-NO-json-cb21e50c1afeb6a8f01d.js} +0 -0
  42. package/dist/excalidraw-assets-dev/locales/{oc-FR-json-dba541cce24594311efe.js → oc-FR-json-bec2ee705e7d3980fd61.js} +0 -0
  43. package/dist/excalidraw-assets-dev/locales/{pa-IN-json-53d2ca9ffab894ae06e9.js → pa-IN-json-189c7e5cad9e781f0ce5.js} +0 -0
  44. package/dist/excalidraw-assets-dev/locales/{pl-PL-json-6ffcc5a7948b93810d64.js → pl-PL-json-9cc770276a511a05e638.js} +0 -0
  45. package/dist/excalidraw-assets-dev/locales/{pt-BR-json-130cbd2a33eefa100464.js → pt-BR-json-788b2c323ae4afd36853.js} +0 -0
  46. package/dist/excalidraw-assets-dev/locales/{pt-PT-json-d07c4ddb6743a274353a.js → pt-PT-json-4f16b87e256eb838c91a.js} +0 -0
  47. package/dist/excalidraw-assets-dev/locales/ro-RO-json-9ac079b4af3b20377160.js +22 -0
  48. package/dist/excalidraw-assets-dev/locales/{ru-RU-json-ee0313c97368bdcbcc6c.js → ru-RU-json-eda247a0b10c11a51eec.js} +0 -0
  49. package/dist/excalidraw-assets-dev/locales/{si-LK-json-08eaf06707815d54bd83.js → si-LK-json-ee3083905b0cf879022d.js} +0 -0
  50. package/dist/excalidraw-assets-dev/locales/sk-SK-json-03a80aeb3e09f77b1be6.js +22 -0
  51. package/dist/excalidraw-assets-dev/locales/{sl-SI-json-b2109a51c6d289b9a2f3.js → sl-SI-json-55f372eebf814a422031.js} +0 -0
  52. package/dist/excalidraw-assets-dev/locales/{sv-SE-json-9061dbee004bf0cd4442.js → sv-SE-json-ca85dde4f9c34d5ee346.js} +0 -0
  53. package/dist/excalidraw-assets-dev/locales/{ta-IN-json-4929b09611bb9ba59e33.js → ta-IN-json-f9d1822384bc4ce086b6.js} +0 -0
  54. package/dist/excalidraw-assets-dev/locales/tr-TR-json-30a4d84bda3152292dbe.js +22 -0
  55. package/dist/excalidraw-assets-dev/locales/{uk-UA-json-e0fc6a2ca2ab976d7a77.js → uk-UA-json-b271ae2bf2e210aa582b.js} +0 -0
  56. package/dist/excalidraw-assets-dev/locales/{vi-VN-json-d932f036c6fd3aa33693.js → vi-VN-json-9a1f8e4ce0b77e05baa7.js} +0 -0
  57. package/dist/excalidraw-assets-dev/locales/{zh-CN-json-10b698060bcb2b869f8f.js → zh-CN-json-29856d6541bf2cbd6aea.js} +0 -0
  58. package/dist/excalidraw-assets-dev/locales/{zh-HK-json-773b06196888e2afa093.js → zh-HK-json-8bb0f0928ccbce98f995.js} +0 -0
  59. package/dist/excalidraw-assets-dev/locales/{zh-TW-json-4924be6bf8478fda873c.js → zh-TW-json-517b39d1a3184844b4d7.js} +0 -0
  60. package/dist/excalidraw.development.js +30 -36
  61. package/dist/excalidraw.production.min.js +1 -1
  62. package/dist/excalidraw.production.min.js.LICENSE.txt +2 -9
  63. package/package.json +19 -19
  64. package/types/actions/actionAlign.d.ts +6 -6
  65. package/types/actions/actionCanvas.d.ts +7 -7
  66. package/types/actions/actionDeleteSelected.d.ts +1 -1
  67. package/types/actions/actionDistribute.d.ts +2 -2
  68. package/types/actions/actionDuplicateSelection.d.ts +1 -1
  69. package/types/actions/actionExport.d.ts +8 -8
  70. package/types/actions/actionFinalize.d.ts +1 -1
  71. package/types/actions/actionGroup.d.ts +2 -2
  72. package/types/actions/actionMenu.d.ts +3 -3
  73. package/types/actions/actionNavigate.d.ts +1 -2
  74. package/types/actions/actionProperties.d.ts +13 -13
  75. package/types/actions/actionZindex.d.ts +4 -4
  76. package/types/analytics.d.ts +1 -1
  77. package/types/clients.d.ts +1 -1
  78. package/types/components/ActiveFile.d.ts +0 -1
  79. package/types/components/ButtonIconSelect.d.ts +0 -1
  80. package/types/components/Card.d.ts +1 -0
  81. package/types/components/CheckboxItem.d.ts +1 -0
  82. package/types/components/ClearCanvas.d.ts +0 -1
  83. package/types/components/CollabButton.d.ts +0 -1
  84. package/types/components/ColorPicker.d.ts +0 -1
  85. package/types/components/ConfirmDialog.d.ts +0 -1
  86. package/types/components/DarkModeToggle.d.ts +0 -1
  87. package/types/components/ErrorDialog.d.ts +0 -1
  88. package/types/components/HelpDialog.d.ts +0 -1
  89. package/types/components/HelpIcon.d.ts +0 -1
  90. package/types/components/HintViewer.d.ts +0 -1
  91. package/types/components/IconPicker.d.ts +0 -1
  92. package/types/components/ImageExportDialog.d.ts +0 -1
  93. package/types/components/JSONExportDialog.d.ts +0 -1
  94. package/types/components/LibraryMenu.d.ts +0 -1
  95. package/types/components/LibraryUnit.d.ts +0 -1
  96. package/types/components/LockButton.d.ts +0 -1
  97. package/types/components/Modal.d.ts +2 -2
  98. package/types/components/PenModeButton.d.ts +0 -1
  99. package/types/components/ProjectName.d.ts +0 -1
  100. package/types/components/PublishLibrary.d.ts +0 -1
  101. package/types/components/Section.d.ts +4 -5
  102. package/types/components/SidebarLockButton.d.ts +0 -1
  103. package/types/components/SingleLibraryItem.d.ts +0 -1
  104. package/types/components/Spinner.d.ts +0 -1
  105. package/types/components/Toast.d.ts +0 -1
  106. package/types/data/blob.d.ts +4 -4
  107. package/types/data/json.d.ts +1 -1
  108. package/types/element/Hyperlink.d.ts +1 -1
  109. package/types/element/binding.d.ts +3 -3
  110. package/types/element/dragElements.d.ts +1 -1
  111. package/types/element/mutateElement.d.ts +1 -1
  112. package/types/element/textElement.d.ts +1 -1
  113. package/types/element/typeChecks.d.ts +3 -3
  114. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-a232bf6caee520d87426.d.ts → de-DE-json-b972f335652b31abc478.d.ts} +0 -0
  115. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-f94e85e6a2e45edfb7a1.d.ts → fr-FR-json-d53486b6942cd134938f.d.ts} +0 -0
  116. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-98ec55ba982debdf67db.d.ts → gl-ES-json-24b9a50f57184ae44f99.d.ts} +0 -0
  117. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-38796bea6fd45f65b2de.d.ts → hi-IN-json-9af974be0987a846db82.d.ts} +0 -0
  118. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-f27fe10e9bc5e2ddeeb7.d.ts → id-ID-json-acdf1f60176cd026af64.d.ts} +0 -0
  119. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-0f52b0737f169f012c25.d.ts → mr-IN-json-3295641c432b154ab60f.d.ts} +0 -0
  120. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-4007d43722cf2d6b184e.d.ts → ro-RO-json-79dbe0225dfe06a010a6.d.ts} +0 -0
  121. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-8d552d584694cc87dcf6.d.ts → sk-SK-json-bd7dbe4c1e42c016fcb5.d.ts} +0 -0
  122. package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-4aa6e3ed1ccebaaa06b5.d.ts → tr-TR-json-75f46a2579a01cf32ba7.d.ts} +0 -0
  123. package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-a9598c709179a54ea2cd.d.ts → vendor-52b1f3361986b6c6a4fe.d.ts} +0 -0
  124. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-c230e7084374b2a41a5b.d.ts → ar-SA-json-684b5e25f971902bd933.d.ts} +0 -0
  125. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-c614a9570a5645a02248.d.ts → bg-BG-json-d78c84e8962f5d754019.d.ts} +0 -0
  126. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-8ceebdfe33ab020afaa0.d.ts → bn-BD-json-79007d6cd3d09b6c1e82.d.ts} +0 -0
  127. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-1445dbb39c48a3e6a371.d.ts → ca-ES-json-84b33ecd3096b99533c1.d.ts} +0 -0
  128. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-f47d18ecc1f65315b35a.d.ts → cs-CZ-json-1d48380fd54bd715a21c.d.ts} +0 -0
  129. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-860cc67d853e3b8d65fb.d.ts → da-DK-json-9dc062ac2b2aee3ad4ec.d.ts} +0 -0
  130. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-38c6281e5996a25e0532.d.ts → de-DE-json-2d48c0ec0901cee81272.d.ts} +0 -0
  131. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-5043ba824b7d40e33579.d.ts → el-GR-json-8ec22bd0cbf376e3ba5d.d.ts} +0 -0
  132. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-0259da0aba04e914d3ae.d.ts → es-ES-json-5dd577ba17baf0f4382c.d.ts} +0 -0
  133. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-5e5f045db763d09dac8c.d.ts → eu-ES-json-9ba2e12372db6b5be813.d.ts} +0 -0
  134. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-76469efd2a2855b83656.d.ts → fa-IR-json-9866fde07b07d55f2cb9.d.ts} +0 -0
  135. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-7bfb6fb5ff49d25e6692.d.ts → fi-FI-json-2dcf087c4ff34b8a8ad7.d.ts} +0 -0
  136. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-755f3217b0c1ba6edf90.d.ts → fr-FR-json-e4bbc872fed09a689b27.d.ts} +0 -0
  137. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-51493bc81f745b4a743d.d.ts → gl-ES-json-4ab7103bd7905741cf7e.d.ts} +0 -0
  138. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-145e68d77fae81830f53.d.ts → he-IL-json-abac6b158c54984aecba.d.ts} +0 -0
  139. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-d9809d98b7e8e1b23f05.d.ts → hi-IN-json-3aba9d37f6dae9ca2445.d.ts} +0 -0
  140. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-cd76402ea4ecf45ea692.d.ts → hu-HU-json-8d604fcc349f93bc4440.d.ts} +0 -0
  141. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-d550c42896ff472b0c4f.d.ts → id-ID-json-6d9b771568900ad6f055.d.ts} +0 -0
  142. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-eb7fdff37b7733ae8cd7.d.ts → it-IT-json-7086cd6c6f1f61016ba1.d.ts} +0 -0
  143. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-0113c0db4a8f5b5f9a7b.d.ts → ja-JP-json-d864fb849b2a3874b290.d.ts} +0 -0
  144. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-dfcf62fb52965e9aa2c7.d.ts → kab-KAB-json-c69f8a1079a411de837c.d.ts} +0 -0
  145. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-7a4892d59641d2ef3093.d.ts → kk-KZ-json-8c7f34edcdac22c11c72.d.ts} +0 -0
  146. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-07979d139ac9282d46ac.d.ts → ko-KR-json-c80065dfa01e02f28695.d.ts} +0 -0
  147. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-bbc547741668f4c7bfa8.d.ts → lt-LT-json-edaae0abc84fb205ee70.d.ts} +0 -0
  148. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-bf6a2c9c2c9e3fd2e5ae.d.ts → lv-LV-json-21cc252dcf4524c98e55.d.ts} +0 -0
  149. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-835b75c48fb9b293fd3b.d.ts → mr-IN-json-d28b9664c21ee08d79eb.d.ts} +0 -0
  150. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-5a741cf753187bf88c6e.d.ts → my-MM-json-56d51a30e815283e7260.d.ts} +0 -0
  151. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-ed181c3bde7d5506165b.d.ts → nb-NO-json-827603cac737fb4bb00f.d.ts} +0 -0
  152. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-3cec6a3df67de4e36492.d.ts → nl-NL-json-9c5c4b7bfbfe3328e561.d.ts} +0 -0
  153. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-978d2360c9917fe5ace4.d.ts → nn-NO-json-cb21e50c1afeb6a8f01d.d.ts} +0 -0
  154. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-dba541cce24594311efe.d.ts → oc-FR-json-bec2ee705e7d3980fd61.d.ts} +0 -0
  155. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-53d2ca9ffab894ae06e9.d.ts → pa-IN-json-189c7e5cad9e781f0ce5.d.ts} +0 -0
  156. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-6ffcc5a7948b93810d64.d.ts → pl-PL-json-9cc770276a511a05e638.d.ts} +0 -0
  157. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-130cbd2a33eefa100464.d.ts → pt-BR-json-788b2c323ae4afd36853.d.ts} +0 -0
  158. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-d07c4ddb6743a274353a.d.ts → pt-PT-json-4f16b87e256eb838c91a.d.ts} +0 -0
  159. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-830062069119ae401881.d.ts → ro-RO-json-9ac079b4af3b20377160.d.ts} +0 -0
  160. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-ee0313c97368bdcbcc6c.d.ts → ru-RU-json-eda247a0b10c11a51eec.d.ts} +0 -0
  161. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-08eaf06707815d54bd83.d.ts → si-LK-json-ee3083905b0cf879022d.d.ts} +0 -0
  162. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-31330b8a93883aface3f.d.ts → sk-SK-json-03a80aeb3e09f77b1be6.d.ts} +0 -0
  163. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-b2109a51c6d289b9a2f3.d.ts → sl-SI-json-55f372eebf814a422031.d.ts} +0 -0
  164. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-9061dbee004bf0cd4442.d.ts → sv-SE-json-ca85dde4f9c34d5ee346.d.ts} +0 -0
  165. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-4929b09611bb9ba59e33.d.ts → ta-IN-json-f9d1822384bc4ce086b6.d.ts} +0 -0
  166. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-5bd3f01bdb04c4fb7d15.d.ts → tr-TR-json-30a4d84bda3152292dbe.d.ts} +0 -0
  167. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-e0fc6a2ca2ab976d7a77.d.ts → uk-UA-json-b271ae2bf2e210aa582b.d.ts} +0 -0
  168. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-d932f036c6fd3aa33693.d.ts → vi-VN-json-9a1f8e4ce0b77e05baa7.d.ts} +0 -0
  169. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-10b698060bcb2b869f8f.d.ts → zh-CN-json-29856d6541bf2cbd6aea.d.ts} +0 -0
  170. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-773b06196888e2afa093.d.ts → zh-HK-json-8bb0f0928ccbce98f995.d.ts} +0 -0
  171. package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-4924be6bf8478fda873c.d.ts → zh-TW-json-517b39d1a3184844b4d7.d.ts} +0 -0
  172. package/types/packages/excalidraw/example/App.d.ts +0 -1
  173. package/types/renderer/renderElement.d.ts +1 -1
  174. package/types/shapes.d.ts +0 -1
  175. package/types/utils.d.ts +6 -6
  176. package/dist/excalidraw-assets/locales/de-DE-json-a232bf6caee520d87426.js +0 -1
  177. package/dist/excalidraw-assets/locales/fr-FR-json-f94e85e6a2e45edfb7a1.js +0 -1
  178. package/dist/excalidraw-assets/locales/gl-ES-json-98ec55ba982debdf67db.js +0 -1
  179. package/dist/excalidraw-assets/locales/hi-IN-json-38796bea6fd45f65b2de.js +0 -1
  180. package/dist/excalidraw-assets/locales/id-ID-json-f27fe10e9bc5e2ddeeb7.js +0 -1
  181. package/dist/excalidraw-assets/locales/mr-IN-json-0f52b0737f169f012c25.js +0 -1
  182. package/dist/excalidraw-assets/locales/ro-RO-json-4007d43722cf2d6b184e.js +0 -1
  183. package/dist/excalidraw-assets/locales/sk-SK-json-8d552d584694cc87dcf6.js +0 -1
  184. package/dist/excalidraw-assets/locales/tr-TR-json-4aa6e3ed1ccebaaa06b5.js +0 -1
  185. package/dist/excalidraw-assets/vendor-a9598c709179a54ea2cd.js +0 -2
  186. package/dist/excalidraw-assets/vendor-a9598c709179a54ea2cd.js.LICENSE.txt +0 -14
  187. package/dist/excalidraw-assets-dev/locales/de-DE-json-38c6281e5996a25e0532.js +0 -22
  188. package/dist/excalidraw-assets-dev/locales/fr-FR-json-755f3217b0c1ba6edf90.js +0 -22
  189. package/dist/excalidraw-assets-dev/locales/gl-ES-json-51493bc81f745b4a743d.js +0 -22
  190. package/dist/excalidraw-assets-dev/locales/hi-IN-json-d9809d98b7e8e1b23f05.js +0 -22
  191. package/dist/excalidraw-assets-dev/locales/id-ID-json-d550c42896ff472b0c4f.js +0 -22
  192. package/dist/excalidraw-assets-dev/locales/mr-IN-json-835b75c48fb9b293fd3b.js +0 -22
  193. package/dist/excalidraw-assets-dev/locales/ro-RO-json-830062069119ae401881.js +0 -22
  194. package/dist/excalidraw-assets-dev/locales/sk-SK-json-31330b8a93883aface3f.js +0 -22
  195. package/dist/excalidraw-assets-dev/locales/tr-TR-json-5bd3f01bdb04c4fb7d15.js +0 -22
@@ -1,11 +1,3 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
8
-
9
1
  /**
10
2
  * @license
11
3
  * Lodash <https://lodash.com/>
@@ -15,7 +7,8 @@ object-assign
15
7
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
16
8
  */
17
9
 
18
- /** @license React v17.0.2
10
+ /**
11
+ * @license React
19
12
  * react-jsx-runtime.production.min.js
20
13
  *
21
14
  * Copyright (c) Facebook, Inc. and its affiliates.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@excalidraw/excalidraw",
3
- "version": "0.12.0-e4aff04",
3
+ "version": "0.12.0-f8b4bb6",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -40,33 +40,33 @@
40
40
  ]
41
41
  },
42
42
  "peerDependencies": {
43
- "react": "^17.0.2",
44
- "react-dom": "^17.0.2"
43
+ "react": "^17.0.2 || ^18.2.0",
44
+ "react-dom": "^17.0.2 || ^18.2.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@babel/core": "7.18.9",
48
- "@babel/plugin-transform-arrow-functions": "7.16.7",
49
- "@babel/plugin-transform-async-to-generator": "7.16.0",
50
- "@babel/plugin-transform-runtime": "7.17.10",
51
- "@babel/plugin-transform-typescript": "7.16.1",
48
+ "@babel/plugin-transform-arrow-functions": "7.18.6",
49
+ "@babel/plugin-transform-async-to-generator": "7.18.6",
50
+ "@babel/plugin-transform-runtime": "7.18.9",
51
+ "@babel/plugin-transform-typescript": "7.18.8",
52
52
  "@babel/preset-env": "7.18.6",
53
- "@babel/preset-react": "7.16.7",
54
- "@babel/preset-typescript": "7.16.7",
53
+ "@babel/preset-react": "7.18.6",
54
+ "@babel/preset-typescript": "7.18.6",
55
55
  "autoprefixer": "10.4.7",
56
56
  "babel-loader": "8.2.5",
57
57
  "babel-plugin-transform-class-properties": "6.24.1",
58
58
  "cross-env": "7.0.3",
59
59
  "css-loader": "6.7.1",
60
- "dotenv": "10.0.0",
61
- "mini-css-extract-plugin": "2.6.0",
62
- "postcss-loader": "6.2.1",
63
- "sass-loader": "12.4.0",
64
- "terser-webpack-plugin": "5.3.1",
65
- "ts-loader": "9.3.0",
66
- "typescript": "4.6.4",
67
- "webpack": "5.72.0",
60
+ "dotenv": "16.0.1",
61
+ "mini-css-extract-plugin": "2.6.1",
62
+ "postcss-loader": "7.0.1",
63
+ "sass-loader": "13.0.2",
64
+ "terser-webpack-plugin": "5.3.3",
65
+ "ts-loader": "9.3.1",
66
+ "typescript": "4.7.4",
67
+ "webpack": "5.73.0",
68
68
  "webpack-bundle-analyzer": "4.5.0",
69
- "webpack-cli": "4.9.2",
69
+ "webpack-cli": "4.10.0",
70
70
  "webpack-dev-server": "4.9.3",
71
71
  "webpack-merge": "5.8.0"
72
72
  },
@@ -79,6 +79,6 @@
79
79
  "pack": "yarn build:umd && yarn pack",
80
80
  "start": "webpack serve --config webpack.dev-server.config.js",
81
81
  "install:deps": "yarn install --frozen-lockfile && yarn --cwd ../../../",
82
- "build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js"
82
+ "build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js && yarn gen:types"
83
83
  }
84
84
  }
@@ -12,7 +12,7 @@ export declare const actionAlignTop: {
12
12
  commitToHistory: true;
13
13
  };
14
14
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
15
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
15
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
16
16
  } & {
17
17
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
18
18
  };
@@ -27,7 +27,7 @@ export declare const actionAlignBottom: {
27
27
  commitToHistory: true;
28
28
  };
29
29
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
30
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
30
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
31
31
  } & {
32
32
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
33
33
  };
@@ -42,7 +42,7 @@ export declare const actionAlignLeft: {
42
42
  commitToHistory: true;
43
43
  };
44
44
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
45
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
45
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
46
46
  } & {
47
47
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
48
48
  };
@@ -57,7 +57,7 @@ export declare const actionAlignRight: {
57
57
  commitToHistory: true;
58
58
  };
59
59
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
60
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
60
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
61
61
  } & {
62
62
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
63
63
  };
@@ -71,7 +71,7 @@ export declare const actionAlignVerticallyCentered: {
71
71
  elements: ExcalidrawElement[];
72
72
  commitToHistory: true;
73
73
  };
74
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
74
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
75
75
  } & {
76
76
  keyTest?: undefined;
77
77
  };
@@ -85,7 +85,7 @@ export declare const actionAlignHorizontallyCentered: {
85
85
  elements: ExcalidrawElement[];
86
86
  commitToHistory: true;
87
87
  };
88
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
88
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
89
89
  } & {
90
90
  keyTest?: undefined;
91
91
  };
@@ -8,7 +8,7 @@ export declare const actionChangeViewBackgroundColor: {
8
8
  appState: any;
9
9
  commitToHistory: boolean;
10
10
  };
11
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
11
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
12
12
  } & {
13
13
  keyTest?: undefined;
14
14
  };
@@ -116,7 +116,7 @@ export declare const actionClearCanvas: {
116
116
  };
117
117
  commitToHistory: true;
118
118
  };
119
- PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
119
+ PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
120
120
  } & {
121
121
  keyTest?: undefined;
122
122
  };
@@ -226,7 +226,7 @@ export declare const actionZoomIn: {
226
226
  };
227
227
  commitToHistory: false;
228
228
  };
229
- PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
229
+ PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
230
230
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
231
231
  } & {
232
232
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -337,7 +337,7 @@ export declare const actionZoomOut: {
337
337
  };
338
338
  commitToHistory: false;
339
339
  };
340
- PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
340
+ PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
341
341
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
342
342
  } & {
343
343
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -448,7 +448,7 @@ export declare const actionResetZoom: {
448
448
  };
449
449
  commitToHistory: false;
450
450
  };
451
- PanelComponent: ({ updateData, appState }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
451
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
452
452
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
453
453
  } & {
454
454
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -779,7 +779,7 @@ export declare const actionToggleTheme: {
779
779
  };
780
780
  commitToHistory: false;
781
781
  };
782
- PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
782
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
783
783
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
784
784
  } & {
785
785
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -887,7 +887,7 @@ export declare const actionErase: {
887
887
  commitToHistory: true;
888
888
  };
889
889
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
890
- PanelComponent: ({ elements, appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
890
+ PanelComponent: ({ elements, appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
891
891
  } & {
892
892
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
893
893
  };
@@ -329,7 +329,7 @@ export declare const actionDeleteSelected: {
329
329
  };
330
330
  contextItemLabel: string;
331
331
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
332
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
332
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
333
333
  } & {
334
334
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
335
335
  };
@@ -12,7 +12,7 @@ export declare const distributeHorizontally: {
12
12
  commitToHistory: true;
13
13
  };
14
14
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
15
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
15
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
16
16
  } & {
17
17
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
18
18
  };
@@ -27,7 +27,7 @@ export declare const distributeVertically: {
27
27
  commitToHistory: true;
28
28
  };
29
29
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
30
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
30
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
31
31
  } & {
32
32
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
33
33
  };
@@ -16,7 +16,7 @@ export declare const actionDuplicateSelection: {
16
16
  };
17
17
  contextItemLabel: string;
18
18
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
19
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
19
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
20
20
  } & {
21
21
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
22
22
  };
@@ -104,7 +104,7 @@ export declare const actionChangeProjectName: {
104
104
  };
105
105
  commitToHistory: false;
106
106
  };
107
- PanelComponent: ({ appState, updateData, appProps }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
107
+ PanelComponent: ({ appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
108
108
  } & {
109
109
  keyTest?: undefined;
110
110
  };
@@ -215,7 +215,7 @@ export declare const actionChangeExportScale: {
215
215
  };
216
216
  commitToHistory: false;
217
217
  };
218
- PanelComponent: ({ elements: allElements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
218
+ PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
219
219
  } & {
220
220
  keyTest?: undefined;
221
221
  };
@@ -326,7 +326,7 @@ export declare const actionChangeExportBackground: {
326
326
  };
327
327
  commitToHistory: false;
328
328
  };
329
- PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
329
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
330
330
  } & {
331
331
  keyTest?: undefined;
332
332
  };
@@ -437,7 +437,7 @@ export declare const actionChangeExportEmbedScene: {
437
437
  };
438
438
  commitToHistory: false;
439
439
  };
440
- PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
440
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
441
441
  } & {
442
442
  keyTest?: undefined;
443
443
  };
@@ -549,7 +549,7 @@ export declare const actionSaveToActiveFile: {
549
549
  appState?: undefined;
550
550
  }>;
551
551
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
552
- PanelComponent: ({ updateData, appState }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
552
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
553
553
  } & {
554
554
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
555
555
  };
@@ -663,7 +663,7 @@ export declare const actionSaveFileToDisk: {
663
663
  appState?: undefined;
664
664
  }>;
665
665
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
666
- PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
666
+ PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
667
667
  } & {
668
668
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
669
669
  };
@@ -874,7 +874,7 @@ export declare const actionLoadScene: {
874
874
  commitToHistory: false;
875
875
  }>;
876
876
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
877
- PanelComponent: ({ updateData, appState }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
877
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
878
878
  } & {
879
879
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
880
880
  };
@@ -985,7 +985,7 @@ export declare const actionExportWithDarkMode: {
985
985
  };
986
986
  commitToHistory: false;
987
987
  };
988
- PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
988
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
989
989
  } & {
990
990
  keyTest?: undefined;
991
991
  };
@@ -208,7 +208,7 @@ export declare const actionFinalize: {
208
208
  commitToHistory: boolean;
209
209
  };
210
210
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
211
- PanelComponent: ({ appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
211
+ PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
212
212
  } & {
213
213
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean) | undefined;
214
214
  };
@@ -18,7 +18,7 @@ export declare const actionGroup: {
18
18
  contextItemLabel: string;
19
19
  contextItemPredicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
20
20
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
21
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
21
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
22
22
  } & {
23
23
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
24
24
  };
@@ -39,7 +39,7 @@ export declare const actionUngroup: {
39
39
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
40
40
  contextItemLabel: string;
41
41
  contextItemPredicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
42
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
42
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
43
43
  } & {
44
44
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
45
45
  };
@@ -105,7 +105,7 @@ export declare const actionToggleCanvasMenu: {
105
105
  };
106
106
  commitToHistory: false;
107
107
  };
108
- PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
108
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
109
109
  } & {
110
110
  keyTest?: undefined;
111
111
  };
@@ -215,7 +215,7 @@ export declare const actionToggleEditMenu: {
215
215
  };
216
216
  commitToHistory: false;
217
217
  };
218
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
218
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
219
219
  } & {
220
220
  keyTest?: undefined;
221
221
  };
@@ -339,7 +339,7 @@ export declare const actionShortcuts: {
339
339
  };
340
340
  commitToHistory: false;
341
341
  };
342
- PanelComponent: ({ updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
342
+ PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
343
343
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
344
344
  } & {
345
345
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const actionGoToCollaborator: {
3
2
  name: "goToCollaborator";
4
3
  trackEvent: {
@@ -8,7 +7,7 @@ export declare const actionGoToCollaborator: {
8
7
  appState: Readonly<import("../types").AppState>;
9
8
  commitToHistory: false;
10
9
  };
11
- PanelComponent: ({ appState, updateData, data }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
10
+ PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
12
11
  } & {
13
12
  keyTest?: undefined;
14
13
  };
@@ -5,7 +5,7 @@ export declare const actionChangeStrokeColor: {
5
5
  name: "changeStrokeColor";
6
6
  trackEvent: false;
7
7
  perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
8
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
8
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
9
9
  } & {
10
10
  keyTest?: undefined;
11
11
  };
@@ -13,7 +13,7 @@ export declare const actionChangeBackgroundColor: {
13
13
  name: "changeBackgroundColor";
14
14
  trackEvent: false;
15
15
  perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
16
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
16
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
17
17
  } & {
18
18
  keyTest?: undefined;
19
19
  };
@@ -122,7 +122,7 @@ export declare const actionChangeFillStyle: {
122
122
  };
123
123
  commitToHistory: true;
124
124
  };
125
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
125
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
126
126
  } & {
127
127
  keyTest?: undefined;
128
128
  };
@@ -231,7 +231,7 @@ export declare const actionChangeStrokeWidth: {
231
231
  };
232
232
  commitToHistory: true;
233
233
  };
234
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
234
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
235
235
  } & {
236
236
  keyTest?: undefined;
237
237
  };
@@ -340,7 +340,7 @@ export declare const actionChangeSloppiness: {
340
340
  };
341
341
  commitToHistory: true;
342
342
  };
343
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
343
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
344
344
  } & {
345
345
  keyTest?: undefined;
346
346
  };
@@ -449,7 +449,7 @@ export declare const actionChangeStrokeStyle: {
449
449
  };
450
450
  commitToHistory: true;
451
451
  };
452
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
452
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
453
453
  } & {
454
454
  keyTest?: undefined;
455
455
  };
@@ -558,7 +558,7 @@ export declare const actionChangeOpacity: {
558
558
  };
559
559
  commitToHistory: true;
560
560
  };
561
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
561
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
562
562
  } & {
563
563
  keyTest?: undefined;
564
564
  };
@@ -667,7 +667,7 @@ export declare const actionChangeFontSize: {
667
667
  };
668
668
  commitToHistory: boolean;
669
669
  };
670
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
670
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
671
671
  } & {
672
672
  keyTest?: undefined;
673
673
  };
@@ -994,7 +994,7 @@ export declare const actionChangeFontFamily: {
994
994
  };
995
995
  commitToHistory: true;
996
996
  };
997
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
997
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
998
998
  } & {
999
999
  keyTest?: undefined;
1000
1000
  };
@@ -1103,7 +1103,7 @@ export declare const actionChangeTextAlign: {
1103
1103
  };
1104
1104
  commitToHistory: true;
1105
1105
  };
1106
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
1106
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1107
1107
  } & {
1108
1108
  keyTest?: undefined;
1109
1109
  };
@@ -1214,7 +1214,7 @@ export declare const actionChangeVerticalAlign: {
1214
1214
  };
1215
1215
  commitToHistory: true;
1216
1216
  };
1217
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
1217
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1218
1218
  } & {
1219
1219
  keyTest?: undefined;
1220
1220
  };
@@ -1323,7 +1323,7 @@ export declare const actionChangeSharpness: {
1323
1323
  };
1324
1324
  commitToHistory: true;
1325
1325
  };
1326
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
1326
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1327
1327
  } & {
1328
1328
  keyTest?: undefined;
1329
1329
  };
@@ -1435,7 +1435,7 @@ export declare const actionChangeArrowhead: {
1435
1435
  };
1436
1436
  commitToHistory: true;
1437
1437
  };
1438
- PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
1438
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1439
1439
  } & {
1440
1440
  keyTest?: undefined;
1441
1441
  };
@@ -12,7 +12,7 @@ export declare const actionSendBackward: {
12
12
  contextItemLabel: string;
13
13
  keyPriority: number;
14
14
  keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
15
- PanelComponent: ({ updateData, appState }: React.PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
15
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
16
16
  } & {
17
17
  keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
18
18
  };
@@ -29,7 +29,7 @@ export declare const actionBringForward: {
29
29
  contextItemLabel: string;
30
30
  keyPriority: number;
31
31
  keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
32
- PanelComponent: ({ updateData, appState }: React.PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
32
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
33
33
  } & {
34
34
  keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
35
35
  };
@@ -45,7 +45,7 @@ export declare const actionSendToBack: {
45
45
  };
46
46
  contextItemLabel: string;
47
47
  keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
48
- PanelComponent: ({ updateData, appState }: React.PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
48
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
49
49
  } & {
50
50
  keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
51
51
  };
@@ -61,7 +61,7 @@ export declare const actionBringToFront: {
61
61
  };
62
62
  contextItemLabel: string;
63
63
  keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
64
- PanelComponent: ({ updateData, appState }: React.PropsWithChildren<import("./types").PanelComponentProps>) => JSX.Element;
64
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
65
65
  } & {
66
66
  keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
67
67
  };
@@ -1 +1 @@
1
- export declare const trackEvent: (category: string, action: string, label?: string | undefined, value?: number | undefined) => void;
1
+ export declare const trackEvent: (category: string, action: string, label?: string, value?: number) => void;
@@ -3,4 +3,4 @@ export declare const getClientColors: (clientId: string, appState: AppState) =>
3
3
  background: string;
4
4
  stroke: string;
5
5
  };
6
- export declare const getClientInitials: (username?: string | null | undefined) => string;
6
+ export declare const getClientInitials: (username?: string | null) => string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./ActiveFile.scss";
3
2
  declare type ActiveFileProps = {
4
3
  fileName?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const ButtonIconSelect: <T extends Object>({ options, value, onChange, group, }: {
3
2
  options: {
4
3
  value: T;
@@ -3,4 +3,5 @@ import OpenColor from "open-color";
3
3
  import "./Card.scss";
4
4
  export declare const Card: React.FC<{
5
5
  color: keyof OpenColor | "primary";
6
+ children?: React.ReactNode;
6
7
  }>;
@@ -4,4 +4,5 @@ export declare const CheckboxItem: React.FC<{
4
4
  checked: boolean;
5
5
  onChange: (checked: boolean, event: React.MouseEvent) => void;
6
6
  className?: string;
7
+ children?: React.ReactNode;
7
8
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ClearCanvas: ({ onConfirm }: {
3
2
  onConfirm: () => void;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./CollabButton.scss";
3
2
  declare const CollabButton: ({ isCollaborating, collaboratorCount, onClick, }: {
4
3
  isCollaborating: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./ColorPicker.scss";
3
2
  import { ExcalidrawElement } from "../element/types";
4
3
  import { AppState } from "../types";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DialogProps } from "./Dialog";
3
2
  import "./ConfirmDialog.scss";
4
3
  interface Props extends Omit<DialogProps, "onCloseRequest"> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./ToolIcon.scss";
3
2
  import { Theme } from "../element/types";
4
3
  export declare const DarkModeToggle: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const ErrorDialog: ({ message, onClose, }: {
3
2
  message: string;
4
3
  onClose?: (() => void) | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./HelpDialog.scss";
3
2
  export declare const HelpDialog: ({ onClose }: {
4
3
  onClose?: (() => void) | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type HelpIconProps = {
3
2
  title?: string;
4
3
  name?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NonDeletedExcalidrawElement } from "../element/types";
3
2
  import "./HintViewer.scss";
4
3
  import { AppState } from "../types";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./IconPicker.scss";
3
2
  export declare function IconPicker<T>({ value, label, options, onChange, group, }: {
4
3
  label: string;