@excalidraw/excalidraw 0.12.0-5598-d731a64 → 0.12.0-5695-dcaaf21
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/CHANGELOG.md +5 -850
- package/README.md +13 -9
- package/dist/excalidraw-assets/locales/bn-BD-json-906099d3f665de611389.js +1 -0
- package/dist/excalidraw-assets/locales/lt-LT-json-4147c3543dce75362050.js +1 -0
- package/dist/excalidraw-assets/locales/vi-VN-json-929afcbc15b2c06a64f2.js +1 -0
- package/dist/excalidraw-assets/vendor-c9192fb8837b50bd2d52.js +2 -0
- package/dist/excalidraw-assets/{vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt → vendor-c9192fb8837b50bd2d52.js.LICENSE.txt} +0 -0
- package/dist/excalidraw-assets-dev/locales/{ar-SA-json-c8fa653de4977a22dad1.js → ar-SA-json-4bad5b5ff43b48c1e9a5.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{bg-BG-json-d7e517c7462119871c76.js → bg-BG-json-cbcbc92839539ec1816e.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-23dc7c5cf87e10c0fa38.js +14 -0
- package/dist/excalidraw-assets-dev/locales/{ca-ES-json-465e286330127bad8841.js → ca-ES-json-8cc8fbe5df66d604ffc3.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{cs-CZ-json-a9cc158d187424de71d7.js → cs-CZ-json-dba21e0272554995c7d1.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{da-DK-json-81b641c9b272e91762b8.js → da-DK-json-bfbe643a377800d3d122.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{de-DE-json-e9f68b4434bb76d28151.js → de-DE-json-fe631cebdb2da354de25.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{el-GR-json-33bcaca5c1eb85d3d81a.js → el-GR-json-71dd4a99c18b08517ea4.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{es-ES-json-41e67e045d8f77e56a7a.js → es-ES-json-78ffeeedb2103c8e9e15.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{eu-ES-json-05199638b0e1e11061f3.js → eu-ES-json-cb70f440de0a76f6d69b.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{fa-IR-json-2a69e87cf2308b8e78f5.js → fa-IR-json-19fa55327f56b34b74d3.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{fi-FI-json-6f0f0bcd3593bcc8930a.js → fi-FI-json-50208311f1e4fc7cde1d.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{fr-FR-json-f53c7082a6f8691b7258.js → fr-FR-json-aa188d6228335106e7a0.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{gl-ES-json-5295fdf24f032f998f75.js → gl-ES-json-72548540dc6a9c01b240.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{he-IL-json-19fae6e424c8b418735d.js → he-IL-json-a62ed6086276dffb71fd.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{hi-IN-json-f04242b20685f34378a5.js → hi-IN-json-a929ddf2945cc4079a77.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{hu-HU-json-c8014a1b2a44d4885691.js → hu-HU-json-aaa54da52ca5ee068466.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{id-ID-json-bcd3ce43f1dbefe3f4d0.js → id-ID-json-fbee4b09ecbf4791e1e0.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{it-IT-json-946dc662ecab93b77e69.js → it-IT-json-b0eae328c3a49c21699f.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{ja-JP-json-77b3461742458e757b59.js → ja-JP-json-512054894cd1fae408e3.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{kab-KAB-json-5e733b113476a350e900.js → kab-KAB-json-dd04a087066d4715e744.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{kk-KZ-json-5ec5044574589896438e.js → kk-KZ-json-e7ce817c4e68640b3099.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{ko-KR-json-b6b0f0c8dc22ac7a3377.js → ko-KR-json-8b9fc794d8a77b6dffc4.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-98d26affa1005499ac60.js +14 -0
- package/dist/excalidraw-assets-dev/locales/{lv-LV-json-2d1a7d044c33d030ecca.js → lv-LV-json-4c20b8e2ee74634c57ae.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{mr-IN-json-ed8cde2f50a5f3c08e85.js → mr-IN-json-165ab79d55f507272fd4.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{my-MM-json-600fc533d1a1c8d3e2f9.js → my-MM-json-098977a1778f20f3a53c.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{nb-NO-json-c7c63cfd529a92ac3510.js → nb-NO-json-3b7796c103baa51271a9.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{nl-NL-json-7e7200dded88b465781e.js → nl-NL-json-f2b834e213d9831504ac.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{nn-NO-json-d654941277fcbace33bf.js → nn-NO-json-82be69040c1ec437138f.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{oc-FR-json-2d347b7f54a867a5478f.js → oc-FR-json-e98b96eea154dfcded8b.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{pa-IN-json-63518bb328bf8b92790c.js → pa-IN-json-bb695a155f66b1c9385b.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{pl-PL-json-92de366ba93223fa3d6a.js → pl-PL-json-c802b8e3353ee92b1297.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{pt-BR-json-5abf09146a4f4387393d.js → pt-BR-json-395becbd0a0762796d55.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{pt-PT-json-c72abd8cf29d14347cf5.js → pt-PT-json-28b0243edfd2d1188d78.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{ro-RO-json-6903d070f824f8b91709.js → ro-RO-json-0b6a9ed696ac7c243e8d.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{ru-RU-json-110d8aec7823819bf4e3.js → ru-RU-json-a6c6479bfe4febbbc162.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{si-LK-json-ad2dff740d16a23684ff.js → si-LK-json-de30e8b93b04c9aa5708.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{sk-SK-json-209333495d21be527f89.js → sk-SK-json-1c1cc59d67308156afce.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{sl-SI-json-76bdeb34579c5b1f944f.js → sl-SI-json-eaf07f8494e7b5091add.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{sv-SE-json-6e768d07fff4e3ed6560.js → sv-SE-json-79dcebebf235b23c717e.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{ta-IN-json-059a459deba6d6230393.js → ta-IN-json-5212782b6c72fafb8ec2.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{tr-TR-json-7cc28f1f798ef2dd9864.js → tr-TR-json-f38f946cfbce79e9e21b.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{uk-UA-json-80b2990c3144c6bb1270.js → uk-UA-json-45d77feb9074985d4877.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{bn-BD-json-02993b6dba9e7f115b53.js → vi-VN-json-78f290fcef5e04912f86.js} +4 -12
- package/dist/excalidraw-assets-dev/locales/{zh-CN-json-26caa1a6379860230513.js → zh-CN-json-043751132a42a13d3de4.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{zh-HK-json-179f6dc61b14b96215fa.js → zh-HK-json-64105c4a0af0047b4d46.js} +0 -8
- package/dist/excalidraw-assets-dev/locales/{zh-TW-json-2aeeb73d79793ee69bfc.js → zh-TW-json-68624f1171bf9f71bf25.js} +0 -8
- package/dist/excalidraw-assets-dev/vendor-9cf40f11018f8c6ff4c6.js +90 -0
- package/dist/excalidraw.development.js +58 -300
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -9
- package/package.json +2 -2
- package/types/actions/actionExport.d.ts +1 -1
- package/types/components/Actions.d.ts +13 -2
- package/types/components/App.d.ts +2 -1
- package/types/components/Footer.d.ts +9 -0
- package/types/components/LayerUI.d.ts +1 -1
- package/types/components/LibraryMenu.d.ts +1 -2
- package/types/components/MobileMenu.d.ts +3 -3
- package/types/components/Stats.d.ts +1 -1
- package/types/data/blob.d.ts +1 -1
- package/types/element/Hyperlink.d.ts +1 -2
- package/types/packages/common.webpack.dev.config.d.ts +71 -0
- package/types/packages/common.webpack.prod.config.d.ts +82 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-aa99c5a33f005fb00c6b.d.ts → bn-BD-json-906099d3f665de611389.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-7277ad8dae6d3e6607b3.d.ts → lt-LT-json-4147c3543dce75362050.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-5c276b534d762658589c.d.ts → vi-VN-json-929afcbc15b2c06a64f2.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-52b1f3361986b6c6a4fe.d.ts → vendor-c9192fb8837b50bd2d52.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-c8fa653de4977a22dad1.d.ts → ar-SA-json-4bad5b5ff43b48c1e9a5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-d7e517c7462119871c76.d.ts → bg-BG-json-cbcbc92839539ec1816e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-02993b6dba9e7f115b53.d.ts → bn-BD-json-23dc7c5cf87e10c0fa38.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-465e286330127bad8841.d.ts → ca-ES-json-8cc8fbe5df66d604ffc3.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-a9cc158d187424de71d7.d.ts → cs-CZ-json-dba21e0272554995c7d1.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-81b641c9b272e91762b8.d.ts → da-DK-json-bfbe643a377800d3d122.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-e9f68b4434bb76d28151.d.ts → de-DE-json-fe631cebdb2da354de25.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-33bcaca5c1eb85d3d81a.d.ts → el-GR-json-71dd4a99c18b08517ea4.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-41e67e045d8f77e56a7a.d.ts → es-ES-json-78ffeeedb2103c8e9e15.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-05199638b0e1e11061f3.d.ts → eu-ES-json-cb70f440de0a76f6d69b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-2a69e87cf2308b8e78f5.d.ts → fa-IR-json-19fa55327f56b34b74d3.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-6f0f0bcd3593bcc8930a.d.ts → fi-FI-json-50208311f1e4fc7cde1d.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-f53c7082a6f8691b7258.d.ts → fr-FR-json-aa188d6228335106e7a0.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-5295fdf24f032f998f75.d.ts → gl-ES-json-72548540dc6a9c01b240.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-19fae6e424c8b418735d.d.ts → he-IL-json-a62ed6086276dffb71fd.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-f04242b20685f34378a5.d.ts → hi-IN-json-a929ddf2945cc4079a77.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-c8014a1b2a44d4885691.d.ts → hu-HU-json-aaa54da52ca5ee068466.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-bcd3ce43f1dbefe3f4d0.d.ts → id-ID-json-fbee4b09ecbf4791e1e0.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-946dc662ecab93b77e69.d.ts → it-IT-json-b0eae328c3a49c21699f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-77b3461742458e757b59.d.ts → ja-JP-json-512054894cd1fae408e3.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-5e733b113476a350e900.d.ts → kab-KAB-json-dd04a087066d4715e744.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-5ec5044574589896438e.d.ts → kk-KZ-json-e7ce817c4e68640b3099.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-b6b0f0c8dc22ac7a3377.d.ts → ko-KR-json-8b9fc794d8a77b6dffc4.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-a17971ff33b8929e96d3.d.ts → lt-LT-json-98d26affa1005499ac60.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-2d1a7d044c33d030ecca.d.ts → lv-LV-json-4c20b8e2ee74634c57ae.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-ed8cde2f50a5f3c08e85.d.ts → mr-IN-json-165ab79d55f507272fd4.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-600fc533d1a1c8d3e2f9.d.ts → my-MM-json-098977a1778f20f3a53c.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-c7c63cfd529a92ac3510.d.ts → nb-NO-json-3b7796c103baa51271a9.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-7e7200dded88b465781e.d.ts → nl-NL-json-f2b834e213d9831504ac.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-d654941277fcbace33bf.d.ts → nn-NO-json-82be69040c1ec437138f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-2d347b7f54a867a5478f.d.ts → oc-FR-json-e98b96eea154dfcded8b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-63518bb328bf8b92790c.d.ts → pa-IN-json-bb695a155f66b1c9385b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-92de366ba93223fa3d6a.d.ts → pl-PL-json-c802b8e3353ee92b1297.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-5abf09146a4f4387393d.d.ts → pt-BR-json-395becbd0a0762796d55.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-c72abd8cf29d14347cf5.d.ts → pt-PT-json-28b0243edfd2d1188d78.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-6903d070f824f8b91709.d.ts → ro-RO-json-0b6a9ed696ac7c243e8d.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-110d8aec7823819bf4e3.d.ts → ru-RU-json-a6c6479bfe4febbbc162.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-ad2dff740d16a23684ff.d.ts → si-LK-json-de30e8b93b04c9aa5708.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-209333495d21be527f89.d.ts → sk-SK-json-1c1cc59d67308156afce.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-76bdeb34579c5b1f944f.d.ts → sl-SI-json-eaf07f8494e7b5091add.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-6e768d07fff4e3ed6560.d.ts → sv-SE-json-79dcebebf235b23c717e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-059a459deba6d6230393.d.ts → ta-IN-json-5212782b6c72fafb8ec2.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-7cc28f1f798ef2dd9864.d.ts → tr-TR-json-f38f946cfbce79e9e21b.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-80b2990c3144c6bb1270.d.ts → uk-UA-json-45d77feb9074985d4877.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-670ecb0ad40c0453bdfd.d.ts → vi-VN-json-78f290fcef5e04912f86.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-26caa1a6379860230513.d.ts → zh-CN-json-043751132a42a13d3de4.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-179f6dc61b14b96215fa.d.ts → zh-HK-json-64105c4a0af0047b4d46.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-2aeeb73d79793ee69bfc.d.ts → zh-TW-json-68624f1171bf9f71bf25.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-c0592035c3911af79359.d.ts → vendor-9cf40f11018f8c6ff4c6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw.development.d.ts +4 -2
- package/types/packages/excalidraw/webpack.dev.config.d.ts +61 -72
- package/types/packages/excalidraw/webpack.prod.config.d.ts +69 -85
- package/types/packages/utils.d.ts +4 -1
- package/dist/excalidraw-assets/locales/bn-BD-json-aa99c5a33f005fb00c6b.js +0 -1
- package/dist/excalidraw-assets/locales/lt-LT-json-7277ad8dae6d3e6607b3.js +0 -1
- package/dist/excalidraw-assets/locales/vi-VN-json-5c276b534d762658589c.js +0 -1
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +0 -2
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-a17971ff33b8929e96d3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-670ecb0ad40c0453bdfd.js +0 -22
- package/dist/excalidraw-assets-dev/vendor-c0592035c3911af79359.js +0 -98
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Lodash <https://lodash.com/>
|
|
4
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
-
* Released under MIT license <https://lodash.com/license>
|
|
6
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
1
|
/**
|
|
11
2
|
* @license React
|
|
12
3
|
* react-jsx-runtime.production.min.js
|
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-5695-dcaaf21",
|
|
4
4
|
"main": "main.js",
|
|
5
5
|
"types": "types/packages/excalidraw/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -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 && yarn gen:types"
|
|
82
|
+
"build:example": "cross-env EXAMPLE=true webpack --config webpack.dev-server.config.js && yarn gen:types"
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -882,7 +882,7 @@ export declare const actionLoadScene: {
|
|
|
882
882
|
commitToHistory: false;
|
|
883
883
|
}>;
|
|
884
884
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
885
|
-
PanelComponent: ({ updateData
|
|
885
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
886
886
|
} & {
|
|
887
887
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
888
888
|
};
|
|
@@ -2,11 +2,10 @@ import React from "react";
|
|
|
2
2
|
import { ActionManager } from "../actions/manager";
|
|
3
3
|
import { ExcalidrawElement, PointerType } from "../element/types";
|
|
4
4
|
import { AppState, Zoom } from "../types";
|
|
5
|
-
export declare const SelectedShapeActions: ({ appState, elements, renderAction,
|
|
5
|
+
export declare const SelectedShapeActions: ({ appState, elements, renderAction, }: {
|
|
6
6
|
appState: AppState;
|
|
7
7
|
elements: readonly ExcalidrawElement[];
|
|
8
8
|
renderAction: ActionManager["renderAction"];
|
|
9
|
-
activeTool: AppState["activeTool"]["type"];
|
|
10
9
|
}) => JSX.Element;
|
|
11
10
|
export declare const ShapesSwitcher: ({ canvas, activeTool, setAppState, onImageAction, appState, }: {
|
|
12
11
|
canvas: HTMLCanvasElement | null;
|
|
@@ -21,3 +20,15 @@ export declare const ZoomActions: ({ renderAction, zoom, }: {
|
|
|
21
20
|
renderAction: ActionManager["renderAction"];
|
|
22
21
|
zoom: Zoom;
|
|
23
22
|
}) => JSX.Element;
|
|
23
|
+
export declare const UndoRedoActions: ({ renderAction, className, }: {
|
|
24
|
+
renderAction: ActionManager["renderAction"];
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
}) => JSX.Element;
|
|
27
|
+
export declare const ExitZenModeAction: ({ actionManager, showExitZenModeBtn, }: {
|
|
28
|
+
actionManager: ActionManager;
|
|
29
|
+
showExitZenModeBtn: boolean;
|
|
30
|
+
}) => JSX.Element;
|
|
31
|
+
export declare const FinalizeAction: ({ renderAction, className, }: {
|
|
32
|
+
renderAction: ActionManager["renderAction"];
|
|
33
|
+
className?: string | undefined;
|
|
34
|
+
}) => JSX.Element;
|
|
@@ -17,6 +17,8 @@ export declare const useExcalidrawContainer: () => {
|
|
|
17
17
|
container: HTMLDivElement | null;
|
|
18
18
|
id: string | null;
|
|
19
19
|
};
|
|
20
|
+
export declare const useExcalidrawElements: () => readonly NonDeletedExcalidrawElement[];
|
|
21
|
+
export declare const useExcalidrawAppState: () => AppState;
|
|
20
22
|
declare class App extends React.Component<AppProps, AppState> {
|
|
21
23
|
canvas: AppClassProperties["canvas"];
|
|
22
24
|
rc: RoughCanvas | null;
|
|
@@ -46,7 +48,6 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
46
48
|
} | null;
|
|
47
49
|
constructor(props: AppProps);
|
|
48
50
|
private renderCanvas;
|
|
49
|
-
private __renderUI;
|
|
50
51
|
render(): JSX.Element;
|
|
51
52
|
focusContainer: AppClassProperties["focusContainer"];
|
|
52
53
|
getSceneElementsIncludingDeleted: () => readonly ExcalidrawElement[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionManager } from "../actions/manager";
|
|
2
|
+
import { AppState, ExcalidrawProps } from "../types";
|
|
3
|
+
declare const Footer: ({ appState, actionManager, renderCustomFooter, showExitZenModeBtn, }: {
|
|
4
|
+
appState: AppState;
|
|
5
|
+
actionManager: ActionManager;
|
|
6
|
+
renderCustomFooter?: ExcalidrawProps["renderFooter"];
|
|
7
|
+
showExitZenModeBtn: boolean;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default Footer;
|
|
@@ -33,5 +33,5 @@ interface LayerUIProps {
|
|
|
33
33
|
insertOnCanvasDirectly: boolean;
|
|
34
34
|
}) => void;
|
|
35
35
|
}
|
|
36
|
-
declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState,
|
|
36
|
+
declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onCollabButtonClick, onLockToggle, onPenModeToggle, onInsertElements, showExitZenModeBtn, showThemeBtn, isCollaborating, renderTopRightUI, renderCustomFooter, renderCustomStats, libraryReturnUrl, UIOptions, focusContainer, library, id, onImageAction, }: LayerUIProps) => JSX.Element>;
|
|
37
37
|
export default _default;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import Library from "../data/library";
|
|
2
2
|
import { LibraryItems, LibraryItem, AppState, BinaryFiles, ExcalidrawProps } from "../types";
|
|
3
3
|
import "./LibraryMenu.scss";
|
|
4
|
-
export declare const LibraryMenu: ({ onClose, onInsertLibraryItems, pendingElements, onAddToLibrary,
|
|
4
|
+
export declare const LibraryMenu: ({ onClose, onInsertLibraryItems, pendingElements, onAddToLibrary, setAppState, files, libraryReturnUrl, focusContainer, library, id, appState, }: {
|
|
5
5
|
pendingElements: LibraryItem["elements"];
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
onInsertLibraryItems: (libraryItems: LibraryItems) => void;
|
|
8
8
|
onAddToLibrary: () => void;
|
|
9
|
-
theme: AppState["theme"];
|
|
10
9
|
files: BinaryFiles;
|
|
11
10
|
setAppState: React.Component<any, AppState>["setState"];
|
|
12
11
|
libraryReturnUrl: ExcalidrawProps["libraryReturnUrl"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { AppState } from "../types";
|
|
2
|
+
import { AppState, ExcalidrawProps } from "../types";
|
|
3
3
|
import { ActionManager } from "../actions/manager";
|
|
4
4
|
import { NonDeletedExcalidrawElement } from "../element/types";
|
|
5
5
|
declare type MobileMenuProps = {
|
|
@@ -21,7 +21,7 @@ declare type MobileMenuProps = {
|
|
|
21
21
|
insertOnCanvasDirectly: boolean;
|
|
22
22
|
}) => void;
|
|
23
23
|
renderTopRightUI?: (isMobile: boolean, appState: AppState) => JSX.Element | null;
|
|
24
|
-
|
|
24
|
+
renderCustomStats?: ExcalidrawProps["renderCustomStats"];
|
|
25
25
|
};
|
|
26
|
-
export declare const MobileMenu: ({ appState, elements, libraryMenu, actionManager, renderJSONExportDialog, renderImageExportDialog, setAppState, onCollabButtonClick, onLockToggle, onPenModeToggle, canvas, isCollaborating, renderCustomFooter, showThemeBtn, onImageAction, renderTopRightUI,
|
|
26
|
+
export declare const MobileMenu: ({ appState, elements, libraryMenu, actionManager, renderJSONExportDialog, renderImageExportDialog, setAppState, onCollabButtonClick, onLockToggle, onPenModeToggle, canvas, isCollaborating, renderCustomFooter, showThemeBtn, onImageAction, renderTopRightUI, renderCustomStats, }: MobileMenuProps) => JSX.Element;
|
|
27
27
|
export {};
|
package/types/data/blob.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const getFileFromEvent: (event: React.DragEvent<HTMLDivElement>)
|
|
|
40
40
|
}>;
|
|
41
41
|
export declare const getFileHandle: (event: React.DragEvent<HTMLDivElement>) => Promise<FileSystemHandle | null>;
|
|
42
42
|
export declare const createFile: (blob: File | Blob | ArrayBuffer, mimeType: ValueOf<typeof MIME_TYPES>, name: string | undefined) => File;
|
|
43
|
-
/**
|
|
43
|
+
/** attempts to detect correct mimeType if none is set, or if an image
|
|
44
44
|
* has an incorrect extension.
|
|
45
45
|
* Note: doesn't handle missing .excalidraw/.excalidrawlib extension */
|
|
46
46
|
export declare const normalizeFile: (file: File) => Promise<File>;
|
|
@@ -4,9 +4,8 @@ import { NonDeletedExcalidrawElement } from "./types";
|
|
|
4
4
|
import { Bounds } from "./bounds";
|
|
5
5
|
import "./Hyperlink.scss";
|
|
6
6
|
export declare const EXTERNAL_LINK_IMG: HTMLImageElement;
|
|
7
|
-
export declare const Hyperlink: ({ element,
|
|
7
|
+
export declare const Hyperlink: ({ element, setAppState, onLinkOpen, }: {
|
|
8
8
|
element: NonDeletedExcalidrawElement;
|
|
9
|
-
appState: AppState;
|
|
10
9
|
setAppState: React.Component<any, AppState>["setState"];
|
|
11
10
|
onLinkOpen: ExcalidrawProps["onLinkOpen"];
|
|
12
11
|
}) => JSX.Element | null;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import webpack = require("webpack");
|
|
2
|
+
export const mode: string;
|
|
3
|
+
export const devtool: boolean;
|
|
4
|
+
export namespace output {
|
|
5
|
+
const libraryTarget: string;
|
|
6
|
+
const filename: string;
|
|
7
|
+
const publicPath: string;
|
|
8
|
+
}
|
|
9
|
+
export namespace resolve {
|
|
10
|
+
const extensions: string[];
|
|
11
|
+
}
|
|
12
|
+
export namespace module {
|
|
13
|
+
const rules: ({
|
|
14
|
+
test: RegExp;
|
|
15
|
+
exclude: RegExp;
|
|
16
|
+
use: (string | {
|
|
17
|
+
loader: string;
|
|
18
|
+
options?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
loader: string;
|
|
21
|
+
options: {
|
|
22
|
+
postcssOptions: {
|
|
23
|
+
plugins: any[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
})[];
|
|
27
|
+
type?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
test: RegExp;
|
|
30
|
+
exclude: RegExp;
|
|
31
|
+
use: {
|
|
32
|
+
loader: string;
|
|
33
|
+
options: {
|
|
34
|
+
transpileOnly: boolean;
|
|
35
|
+
configFile: string;
|
|
36
|
+
};
|
|
37
|
+
}[];
|
|
38
|
+
type?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
test: RegExp;
|
|
41
|
+
type: string;
|
|
42
|
+
exclude?: undefined;
|
|
43
|
+
use?: undefined;
|
|
44
|
+
})[];
|
|
45
|
+
}
|
|
46
|
+
export namespace optimization {
|
|
47
|
+
namespace splitChunks {
|
|
48
|
+
const chunks: string;
|
|
49
|
+
namespace cacheGroups {
|
|
50
|
+
namespace vendors {
|
|
51
|
+
const test: RegExp;
|
|
52
|
+
const name: string;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export const plugins: webpack.EvalSourceMapDevToolPlugin[];
|
|
58
|
+
export const externals: {
|
|
59
|
+
react: {
|
|
60
|
+
root: string;
|
|
61
|
+
commonjs2: string;
|
|
62
|
+
commonjs: string;
|
|
63
|
+
amd: string;
|
|
64
|
+
};
|
|
65
|
+
"react-dom": {
|
|
66
|
+
root: string;
|
|
67
|
+
commonjs2: string;
|
|
68
|
+
commonjs: string;
|
|
69
|
+
amd: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export const mode: string;
|
|
2
|
+
export namespace output {
|
|
3
|
+
const libraryTarget: string;
|
|
4
|
+
const filename: string;
|
|
5
|
+
const publicPath: string;
|
|
6
|
+
}
|
|
7
|
+
export namespace resolve {
|
|
8
|
+
const extensions: string[];
|
|
9
|
+
}
|
|
10
|
+
export namespace module {
|
|
11
|
+
const rules: ({
|
|
12
|
+
test: RegExp;
|
|
13
|
+
exclude: RegExp;
|
|
14
|
+
use: (string | {
|
|
15
|
+
loader: string;
|
|
16
|
+
options?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
loader: string;
|
|
19
|
+
options: {
|
|
20
|
+
postcssOptions: {
|
|
21
|
+
plugins: any[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
})[];
|
|
25
|
+
type?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
test: RegExp;
|
|
28
|
+
exclude: RegExp;
|
|
29
|
+
use: ({
|
|
30
|
+
loader: string;
|
|
31
|
+
options: {
|
|
32
|
+
transpileOnly: boolean;
|
|
33
|
+
configFile: string;
|
|
34
|
+
presets?: undefined;
|
|
35
|
+
plugins?: undefined;
|
|
36
|
+
};
|
|
37
|
+
} | {
|
|
38
|
+
loader: string;
|
|
39
|
+
options: {
|
|
40
|
+
presets: (string | (string | {
|
|
41
|
+
runtime: string;
|
|
42
|
+
})[])[];
|
|
43
|
+
plugins: string[];
|
|
44
|
+
transpileOnly?: undefined;
|
|
45
|
+
configFile?: undefined;
|
|
46
|
+
};
|
|
47
|
+
})[];
|
|
48
|
+
type?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
test: RegExp;
|
|
51
|
+
type: string;
|
|
52
|
+
exclude?: undefined;
|
|
53
|
+
use?: undefined;
|
|
54
|
+
})[];
|
|
55
|
+
}
|
|
56
|
+
export namespace optimization {
|
|
57
|
+
const minimize: boolean;
|
|
58
|
+
const minimizer: any[];
|
|
59
|
+
namespace splitChunks {
|
|
60
|
+
const chunks: string;
|
|
61
|
+
namespace cacheGroups {
|
|
62
|
+
namespace vendors {
|
|
63
|
+
const test: RegExp;
|
|
64
|
+
const name: string;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
export const externals: {
|
|
70
|
+
react: {
|
|
71
|
+
root: string;
|
|
72
|
+
commonjs2: string;
|
|
73
|
+
commonjs: string;
|
|
74
|
+
amd: string;
|
|
75
|
+
};
|
|
76
|
+
"react-dom": {
|
|
77
|
+
root: string;
|
|
78
|
+
commonjs2: string;
|
|
79
|
+
commonjs: string;
|
|
80
|
+
amd: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,79 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
options?: undefined;
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
mode: string;
|
|
3
|
+
devtool: boolean;
|
|
4
|
+
output: {
|
|
5
|
+
libraryTarget: string;
|
|
6
|
+
filename: string;
|
|
7
|
+
publicPath: string;
|
|
8
|
+
};
|
|
9
|
+
resolve: {
|
|
10
|
+
extensions: string[];
|
|
11
|
+
};
|
|
12
|
+
module: {
|
|
13
|
+
rules: ({
|
|
14
|
+
test: RegExp;
|
|
15
|
+
exclude: RegExp;
|
|
16
|
+
use: (string | {
|
|
17
|
+
loader: string;
|
|
18
|
+
} | {
|
|
19
|
+
loader: string;
|
|
20
|
+
options: {
|
|
21
|
+
postcssOptions: {
|
|
22
|
+
plugins: any[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
})[];
|
|
27
26
|
} | {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
test: RegExp;
|
|
28
|
+
exclude: RegExp;
|
|
29
|
+
use: {
|
|
30
|
+
loader: string;
|
|
31
|
+
options: {
|
|
32
|
+
transpileOnly: boolean;
|
|
33
|
+
configFile: string;
|
|
32
34
|
};
|
|
33
|
-
};
|
|
35
|
+
}[];
|
|
36
|
+
} | {
|
|
37
|
+
test: RegExp;
|
|
38
|
+
type: string;
|
|
34
39
|
})[];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
};
|
|
41
|
+
optimization: {
|
|
42
|
+
splitChunks: {
|
|
43
|
+
chunks: string;
|
|
44
|
+
cacheGroups: {
|
|
45
|
+
vendors: {
|
|
46
|
+
test: RegExp;
|
|
47
|
+
name: string;
|
|
48
|
+
};
|
|
44
49
|
};
|
|
45
|
-
}
|
|
46
|
-
type?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
test: RegExp;
|
|
49
|
-
type: string;
|
|
50
|
-
exclude?: undefined;
|
|
51
|
-
use?: undefined;
|
|
52
|
-
})[];
|
|
53
|
-
}
|
|
54
|
-
export namespace optimization {
|
|
55
|
-
namespace splitChunks {
|
|
56
|
-
const chunks: string;
|
|
57
|
-
namespace cacheGroups {
|
|
58
|
-
namespace vendors {
|
|
59
|
-
const test: RegExp;
|
|
60
|
-
const name: string;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export const plugins: (webpack.EvalSourceMapDevToolPlugin | webpack.DefinePlugin)[];
|
|
66
|
-
export const externals: {
|
|
67
|
-
react: {
|
|
68
|
-
root: string;
|
|
69
|
-
commonjs2: string;
|
|
70
|
-
commonjs: string;
|
|
71
|
-
amd: string;
|
|
50
|
+
};
|
|
72
51
|
};
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
52
|
+
plugins: import("webpack").EvalSourceMapDevToolPlugin[];
|
|
53
|
+
externals: {
|
|
54
|
+
react: {
|
|
55
|
+
root: string;
|
|
56
|
+
commonjs2: string;
|
|
57
|
+
commonjs: string;
|
|
58
|
+
amd: string;
|
|
59
|
+
};
|
|
60
|
+
"react-dom": {
|
|
61
|
+
root: string;
|
|
62
|
+
commonjs2: string;
|
|
63
|
+
commonjs: string;
|
|
64
|
+
amd: string;
|
|
65
|
+
};
|
|
78
66
|
};
|
|
79
67
|
};
|
|
68
|
+
export = _exports;
|