@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.
- package/dist/excalidraw-assets/locales/de-DE-json-b972f335652b31abc478.js +1 -0
- package/dist/excalidraw-assets/locales/fr-FR-json-d53486b6942cd134938f.js +1 -0
- package/dist/excalidraw-assets/locales/gl-ES-json-24b9a50f57184ae44f99.js +1 -0
- package/dist/excalidraw-assets/locales/hi-IN-json-9af974be0987a846db82.js +1 -0
- package/dist/excalidraw-assets/locales/id-ID-json-acdf1f60176cd026af64.js +1 -0
- package/dist/excalidraw-assets/locales/mr-IN-json-3295641c432b154ab60f.js +1 -0
- package/dist/excalidraw-assets/locales/ro-RO-json-79dbe0225dfe06a010a6.js +1 -0
- package/dist/excalidraw-assets/locales/sk-SK-json-bd7dbe4c1e42c016fcb5.js +1 -0
- package/dist/excalidraw-assets/locales/tr-TR-json-75f46a2579a01cf32ba7.js +1 -0
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +2 -0
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt +12 -0
- package/dist/excalidraw-assets-dev/locales/{ar-SA-json-c230e7084374b2a41a5b.js → ar-SA-json-684b5e25f971902bd933.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{bg-BG-json-c614a9570a5645a02248.js → bg-BG-json-d78c84e8962f5d754019.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{bn-BD-json-8ceebdfe33ab020afaa0.js → bn-BD-json-79007d6cd3d09b6c1e82.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{ca-ES-json-1445dbb39c48a3e6a371.js → ca-ES-json-84b33ecd3096b99533c1.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{cs-CZ-json-f47d18ecc1f65315b35a.js → cs-CZ-json-1d48380fd54bd715a21c.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{da-DK-json-860cc67d853e3b8d65fb.js → da-DK-json-9dc062ac2b2aee3ad4ec.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/de-DE-json-2d48c0ec0901cee81272.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{el-GR-json-5043ba824b7d40e33579.js → el-GR-json-8ec22bd0cbf376e3ba5d.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{es-ES-json-0259da0aba04e914d3ae.js → es-ES-json-5dd577ba17baf0f4382c.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{eu-ES-json-5e5f045db763d09dac8c.js → eu-ES-json-9ba2e12372db6b5be813.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{fa-IR-json-76469efd2a2855b83656.js → fa-IR-json-9866fde07b07d55f2cb9.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{fi-FI-json-7bfb6fb5ff49d25e6692.js → fi-FI-json-2dcf087c4ff34b8a8ad7.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-e4bbc872fed09a689b27.js +22 -0
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-4ab7103bd7905741cf7e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{he-IL-json-145e68d77fae81830f53.js → he-IL-json-abac6b158c54984aecba.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-3aba9d37f6dae9ca2445.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{hu-HU-json-cd76402ea4ecf45ea692.js → hu-HU-json-8d604fcc349f93bc4440.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/id-ID-json-6d9b771568900ad6f055.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{it-IT-json-eb7fdff37b7733ae8cd7.js → it-IT-json-7086cd6c6f1f61016ba1.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{ja-JP-json-0113c0db4a8f5b5f9a7b.js → ja-JP-json-d864fb849b2a3874b290.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{kab-KAB-json-dfcf62fb52965e9aa2c7.js → kab-KAB-json-c69f8a1079a411de837c.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{kk-KZ-json-7a4892d59641d2ef3093.js → kk-KZ-json-8c7f34edcdac22c11c72.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{ko-KR-json-07979d139ac9282d46ac.js → ko-KR-json-c80065dfa01e02f28695.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{lt-LT-json-bbc547741668f4c7bfa8.js → lt-LT-json-edaae0abc84fb205ee70.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{lv-LV-json-bf6a2c9c2c9e3fd2e5ae.js → lv-LV-json-21cc252dcf4524c98e55.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-d28b9664c21ee08d79eb.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{my-MM-json-5a741cf753187bf88c6e.js → my-MM-json-56d51a30e815283e7260.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{nb-NO-json-ed181c3bde7d5506165b.js → nb-NO-json-827603cac737fb4bb00f.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{nl-NL-json-3cec6a3df67de4e36492.js → nl-NL-json-9c5c4b7bfbfe3328e561.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{nn-NO-json-978d2360c9917fe5ace4.js → nn-NO-json-cb21e50c1afeb6a8f01d.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{oc-FR-json-dba541cce24594311efe.js → oc-FR-json-bec2ee705e7d3980fd61.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{pa-IN-json-53d2ca9ffab894ae06e9.js → pa-IN-json-189c7e5cad9e781f0ce5.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{pl-PL-json-6ffcc5a7948b93810d64.js → pl-PL-json-9cc770276a511a05e638.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{pt-BR-json-130cbd2a33eefa100464.js → pt-BR-json-788b2c323ae4afd36853.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{pt-PT-json-d07c4ddb6743a274353a.js → pt-PT-json-4f16b87e256eb838c91a.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-9ac079b4af3b20377160.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{ru-RU-json-ee0313c97368bdcbcc6c.js → ru-RU-json-eda247a0b10c11a51eec.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{si-LK-json-08eaf06707815d54bd83.js → si-LK-json-ee3083905b0cf879022d.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-03a80aeb3e09f77b1be6.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{sl-SI-json-b2109a51c6d289b9a2f3.js → sl-SI-json-55f372eebf814a422031.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{sv-SE-json-9061dbee004bf0cd4442.js → sv-SE-json-ca85dde4f9c34d5ee346.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{ta-IN-json-4929b09611bb9ba59e33.js → ta-IN-json-f9d1822384bc4ce086b6.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-30a4d84bda3152292dbe.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{uk-UA-json-e0fc6a2ca2ab976d7a77.js → uk-UA-json-b271ae2bf2e210aa582b.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{vi-VN-json-d932f036c6fd3aa33693.js → vi-VN-json-9a1f8e4ce0b77e05baa7.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{zh-CN-json-10b698060bcb2b869f8f.js → zh-CN-json-29856d6541bf2cbd6aea.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{zh-HK-json-773b06196888e2afa093.js → zh-HK-json-8bb0f0928ccbce98f995.js} +0 -0
- package/dist/excalidraw-assets-dev/locales/{zh-TW-json-4924be6bf8478fda873c.js → zh-TW-json-517b39d1a3184844b4d7.js} +0 -0
- package/dist/excalidraw.development.js +30 -36
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +2 -9
- package/package.json +19 -19
- package/types/actions/actionAlign.d.ts +6 -6
- package/types/actions/actionCanvas.d.ts +7 -7
- package/types/actions/actionDeleteSelected.d.ts +1 -1
- package/types/actions/actionDistribute.d.ts +2 -2
- package/types/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/actions/actionExport.d.ts +8 -8
- package/types/actions/actionFinalize.d.ts +1 -1
- package/types/actions/actionGroup.d.ts +2 -2
- package/types/actions/actionMenu.d.ts +3 -3
- package/types/actions/actionNavigate.d.ts +1 -2
- package/types/actions/actionProperties.d.ts +13 -13
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/analytics.d.ts +1 -1
- package/types/clients.d.ts +1 -1
- package/types/components/ActiveFile.d.ts +0 -1
- package/types/components/ButtonIconSelect.d.ts +0 -1
- package/types/components/Card.d.ts +1 -0
- package/types/components/CheckboxItem.d.ts +1 -0
- package/types/components/ClearCanvas.d.ts +0 -1
- package/types/components/CollabButton.d.ts +0 -1
- package/types/components/ColorPicker.d.ts +0 -1
- package/types/components/ConfirmDialog.d.ts +0 -1
- package/types/components/DarkModeToggle.d.ts +0 -1
- package/types/components/ErrorDialog.d.ts +0 -1
- package/types/components/HelpDialog.d.ts +0 -1
- package/types/components/HelpIcon.d.ts +0 -1
- package/types/components/HintViewer.d.ts +0 -1
- package/types/components/IconPicker.d.ts +0 -1
- package/types/components/ImageExportDialog.d.ts +0 -1
- package/types/components/JSONExportDialog.d.ts +0 -1
- package/types/components/LibraryMenu.d.ts +0 -1
- package/types/components/LibraryUnit.d.ts +0 -1
- package/types/components/LockButton.d.ts +0 -1
- package/types/components/Modal.d.ts +2 -2
- package/types/components/PenModeButton.d.ts +0 -1
- package/types/components/ProjectName.d.ts +0 -1
- package/types/components/PublishLibrary.d.ts +0 -1
- package/types/components/Section.d.ts +4 -5
- package/types/components/SidebarLockButton.d.ts +0 -1
- package/types/components/SingleLibraryItem.d.ts +0 -1
- package/types/components/Spinner.d.ts +0 -1
- package/types/components/Toast.d.ts +0 -1
- package/types/data/blob.d.ts +4 -4
- package/types/data/json.d.ts +1 -1
- package/types/element/Hyperlink.d.ts +1 -1
- package/types/element/binding.d.ts +3 -3
- package/types/element/dragElements.d.ts +1 -1
- package/types/element/mutateElement.d.ts +1 -1
- package/types/element/textElement.d.ts +1 -1
- package/types/element/typeChecks.d.ts +3 -3
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-a232bf6caee520d87426.d.ts → de-DE-json-b972f335652b31abc478.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-f94e85e6a2e45edfb7a1.d.ts → fr-FR-json-d53486b6942cd134938f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-98ec55ba982debdf67db.d.ts → gl-ES-json-24b9a50f57184ae44f99.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-38796bea6fd45f65b2de.d.ts → hi-IN-json-9af974be0987a846db82.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-f27fe10e9bc5e2ddeeb7.d.ts → id-ID-json-acdf1f60176cd026af64.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-0f52b0737f169f012c25.d.ts → mr-IN-json-3295641c432b154ab60f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-4007d43722cf2d6b184e.d.ts → ro-RO-json-79dbe0225dfe06a010a6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-8d552d584694cc87dcf6.d.ts → sk-SK-json-bd7dbe4c1e42c016fcb5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-4aa6e3ed1ccebaaa06b5.d.ts → tr-TR-json-75f46a2579a01cf32ba7.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-a9598c709179a54ea2cd.d.ts → vendor-52b1f3361986b6c6a4fe.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-c230e7084374b2a41a5b.d.ts → ar-SA-json-684b5e25f971902bd933.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-c614a9570a5645a02248.d.ts → bg-BG-json-d78c84e8962f5d754019.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-8ceebdfe33ab020afaa0.d.ts → bn-BD-json-79007d6cd3d09b6c1e82.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-1445dbb39c48a3e6a371.d.ts → ca-ES-json-84b33ecd3096b99533c1.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-f47d18ecc1f65315b35a.d.ts → cs-CZ-json-1d48380fd54bd715a21c.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-860cc67d853e3b8d65fb.d.ts → da-DK-json-9dc062ac2b2aee3ad4ec.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-38c6281e5996a25e0532.d.ts → de-DE-json-2d48c0ec0901cee81272.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-5043ba824b7d40e33579.d.ts → el-GR-json-8ec22bd0cbf376e3ba5d.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-0259da0aba04e914d3ae.d.ts → es-ES-json-5dd577ba17baf0f4382c.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-5e5f045db763d09dac8c.d.ts → eu-ES-json-9ba2e12372db6b5be813.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-76469efd2a2855b83656.d.ts → fa-IR-json-9866fde07b07d55f2cb9.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-7bfb6fb5ff49d25e6692.d.ts → fi-FI-json-2dcf087c4ff34b8a8ad7.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-755f3217b0c1ba6edf90.d.ts → fr-FR-json-e4bbc872fed09a689b27.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-51493bc81f745b4a743d.d.ts → gl-ES-json-4ab7103bd7905741cf7e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-145e68d77fae81830f53.d.ts → he-IL-json-abac6b158c54984aecba.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-d9809d98b7e8e1b23f05.d.ts → hi-IN-json-3aba9d37f6dae9ca2445.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-cd76402ea4ecf45ea692.d.ts → hu-HU-json-8d604fcc349f93bc4440.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-d550c42896ff472b0c4f.d.ts → id-ID-json-6d9b771568900ad6f055.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-eb7fdff37b7733ae8cd7.d.ts → it-IT-json-7086cd6c6f1f61016ba1.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-0113c0db4a8f5b5f9a7b.d.ts → ja-JP-json-d864fb849b2a3874b290.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-dfcf62fb52965e9aa2c7.d.ts → kab-KAB-json-c69f8a1079a411de837c.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-7a4892d59641d2ef3093.d.ts → kk-KZ-json-8c7f34edcdac22c11c72.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-07979d139ac9282d46ac.d.ts → ko-KR-json-c80065dfa01e02f28695.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-bbc547741668f4c7bfa8.d.ts → lt-LT-json-edaae0abc84fb205ee70.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-bf6a2c9c2c9e3fd2e5ae.d.ts → lv-LV-json-21cc252dcf4524c98e55.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-835b75c48fb9b293fd3b.d.ts → mr-IN-json-d28b9664c21ee08d79eb.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-5a741cf753187bf88c6e.d.ts → my-MM-json-56d51a30e815283e7260.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-ed181c3bde7d5506165b.d.ts → nb-NO-json-827603cac737fb4bb00f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-3cec6a3df67de4e36492.d.ts → nl-NL-json-9c5c4b7bfbfe3328e561.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-978d2360c9917fe5ace4.d.ts → nn-NO-json-cb21e50c1afeb6a8f01d.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-dba541cce24594311efe.d.ts → oc-FR-json-bec2ee705e7d3980fd61.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-53d2ca9ffab894ae06e9.d.ts → pa-IN-json-189c7e5cad9e781f0ce5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-6ffcc5a7948b93810d64.d.ts → pl-PL-json-9cc770276a511a05e638.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-130cbd2a33eefa100464.d.ts → pt-BR-json-788b2c323ae4afd36853.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-d07c4ddb6743a274353a.d.ts → pt-PT-json-4f16b87e256eb838c91a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-830062069119ae401881.d.ts → ro-RO-json-9ac079b4af3b20377160.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-ee0313c97368bdcbcc6c.d.ts → ru-RU-json-eda247a0b10c11a51eec.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-08eaf06707815d54bd83.d.ts → si-LK-json-ee3083905b0cf879022d.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-31330b8a93883aface3f.d.ts → sk-SK-json-03a80aeb3e09f77b1be6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-b2109a51c6d289b9a2f3.d.ts → sl-SI-json-55f372eebf814a422031.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-9061dbee004bf0cd4442.d.ts → sv-SE-json-ca85dde4f9c34d5ee346.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-4929b09611bb9ba59e33.d.ts → ta-IN-json-f9d1822384bc4ce086b6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-5bd3f01bdb04c4fb7d15.d.ts → tr-TR-json-30a4d84bda3152292dbe.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-e0fc6a2ca2ab976d7a77.d.ts → uk-UA-json-b271ae2bf2e210aa582b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-d932f036c6fd3aa33693.d.ts → vi-VN-json-9a1f8e4ce0b77e05baa7.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-10b698060bcb2b869f8f.d.ts → zh-CN-json-29856d6541bf2cbd6aea.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-773b06196888e2afa093.d.ts → zh-HK-json-8bb0f0928ccbce98f995.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-4924be6bf8478fda873c.d.ts → zh-TW-json-517b39d1a3184844b4d7.d.ts} +0 -0
- package/types/packages/excalidraw/example/App.d.ts +0 -1
- package/types/renderer/renderElement.d.ts +1 -1
- package/types/shapes.d.ts +0 -1
- package/types/utils.d.ts +6 -6
- package/dist/excalidraw-assets/locales/de-DE-json-a232bf6caee520d87426.js +0 -1
- package/dist/excalidraw-assets/locales/fr-FR-json-f94e85e6a2e45edfb7a1.js +0 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-98ec55ba982debdf67db.js +0 -1
- package/dist/excalidraw-assets/locales/hi-IN-json-38796bea6fd45f65b2de.js +0 -1
- package/dist/excalidraw-assets/locales/id-ID-json-f27fe10e9bc5e2ddeeb7.js +0 -1
- package/dist/excalidraw-assets/locales/mr-IN-json-0f52b0737f169f012c25.js +0 -1
- package/dist/excalidraw-assets/locales/ro-RO-json-4007d43722cf2d6b184e.js +0 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-8d552d584694cc87dcf6.js +0 -1
- package/dist/excalidraw-assets/locales/tr-TR-json-4aa6e3ed1ccebaaa06b5.js +0 -1
- package/dist/excalidraw-assets/vendor-a9598c709179a54ea2cd.js +0 -2
- package/dist/excalidraw-assets/vendor-a9598c709179a54ea2cd.js.LICENSE.txt +0 -14
- package/dist/excalidraw-assets-dev/locales/de-DE-json-38c6281e5996a25e0532.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-755f3217b0c1ba6edf90.js +0 -22
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-51493bc81f745b4a743d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-d9809d98b7e8e1b23f05.js +0 -22
- package/dist/excalidraw-assets-dev/locales/id-ID-json-d550c42896ff472b0c4f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-835b75c48fb9b293fd3b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-830062069119ae401881.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-31330b8a93883aface3f.js +0 -22
- 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
|
-
/**
|
|
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-
|
|
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.
|
|
49
|
-
"@babel/plugin-transform-async-to-generator": "7.
|
|
50
|
-
"@babel/plugin-transform-runtime": "7.
|
|
51
|
-
"@babel/plugin-transform-typescript": "7.
|
|
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.
|
|
54
|
-
"@babel/preset-typescript": "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": "
|
|
61
|
-
"mini-css-extract-plugin": "2.6.
|
|
62
|
-
"postcss-loader": "
|
|
63
|
-
"sass-loader": "
|
|
64
|
-
"terser-webpack-plugin": "5.3.
|
|
65
|
-
"ts-loader": "9.3.
|
|
66
|
-
"typescript": "4.
|
|
67
|
-
"webpack": "5.
|
|
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.
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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 }:
|
|
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 }:
|
|
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 }:
|
|
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 }:
|
|
64
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
65
65
|
} & {
|
|
66
66
|
keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
|
|
67
67
|
};
|
package/types/analytics.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const trackEvent: (category: string, action: string, label?: string
|
|
1
|
+
export declare const trackEvent: (category: string, action: string, label?: string, value?: number) => void;
|
package/types/clients.d.ts
CHANGED
|
@@ -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
|
|
6
|
+
export declare const getClientInitials: (username?: string | null) => string;
|