@excalidraw/excalidraw 0.15.2-7bf4de5 → 0.15.2-81ebf82
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/ar-SA-json-20b8359339093c0d55e4.js +1 -0
- package/dist/excalidraw-assets/locales/az-AZ-json-95ab85135314fce51ccc.js +1 -0
- package/dist/excalidraw-assets/locales/bg-BG-json-0d8dbcb99870971021ee.js +1 -0
- package/dist/excalidraw-assets/locales/bn-BD-json-e2b7f233baf2dcd84360.js +1 -0
- package/dist/excalidraw-assets/locales/ca-ES-json-2526e4d277313d9fa2ba.js +1 -0
- package/dist/excalidraw-assets/locales/cs-CZ-json-9eb9864732272e7dd3e5.js +1 -0
- package/dist/excalidraw-assets/locales/da-DK-json-4f8e7ffffcfe77676372.js +1 -0
- package/dist/excalidraw-assets/locales/de-DE-json-d3be08a6c1c77da3217b.js +1 -0
- package/dist/excalidraw-assets/locales/el-GR-json-dbefbe1435eb60114eb6.js +1 -0
- package/dist/excalidraw-assets/locales/es-ES-json-bce3ffccc2d4f618c802.js +1 -0
- package/dist/excalidraw-assets/locales/eu-ES-json-5533c5bc25f2a8c5f167.js +1 -0
- package/dist/excalidraw-assets/locales/fa-IR-json-5a4de9617f16bd36abf9.js +1 -0
- package/dist/excalidraw-assets/locales/fi-FI-json-8941c5209ec2fe54175f.js +1 -0
- package/dist/excalidraw-assets/locales/fr-FR-json-f350482e7da034549dbf.js +1 -0
- package/dist/excalidraw-assets/locales/gl-ES-json-c54966edc31ab5d6917e.js +1 -0
- package/dist/excalidraw-assets/locales/he-IL-json-0a140148a521e80ef951.js +1 -0
- package/dist/excalidraw-assets/locales/hi-IN-json-fa6d3964054b114046c0.js +1 -0
- package/dist/excalidraw-assets/locales/hu-HU-json-ec488d80d0a50ac94743.js +1 -0
- package/dist/excalidraw-assets/locales/id-ID-json-b724e9ec875dd8ffee62.js +1 -0
- package/dist/excalidraw-assets/locales/it-IT-json-4e385faed32727fe36ce.js +1 -0
- package/dist/excalidraw-assets/locales/ja-JP-json-323f591c38869b307b87.js +1 -0
- package/dist/excalidraw-assets/locales/kaa-json-ac1f4f50b9d889b7b8c6.js +1 -0
- package/dist/excalidraw-assets/locales/kab-KAB-json-8a859cf6ef556b4cb21a.js +1 -0
- package/dist/excalidraw-assets/locales/kk-KZ-json-31eb6ba41a19136eff88.js +1 -0
- package/dist/excalidraw-assets/locales/km-KH-json-7f445f80e19ca90e9998.js +1 -0
- package/dist/excalidraw-assets/locales/ko-KR-json-9a0b6ecc5be0f4e98fee.js +1 -0
- package/dist/excalidraw-assets/locales/ku-TR-json-2608a20f805341b51a6e.js +1 -0
- package/dist/excalidraw-assets/locales/lt-LT-json-a258da44916407cf694a.js +1 -0
- package/dist/excalidraw-assets/locales/lv-LV-json-7dbbb288da81c4987475.js +1 -0
- package/dist/excalidraw-assets/locales/mr-IN-json-d72d88dfcb51c3668e5b.js +1 -0
- package/dist/excalidraw-assets/locales/my-MM-json-e35accf714a96ecbf476.js +1 -0
- package/dist/excalidraw-assets/locales/nb-NO-json-4f1808f3507956e1afe9.js +1 -0
- package/dist/excalidraw-assets/locales/nl-NL-json-e2408c0b590b8987e423.js +1 -0
- package/dist/excalidraw-assets/locales/nn-NO-json-67ff40e2c3eb08ee2368.js +1 -0
- package/dist/excalidraw-assets/locales/oc-FR-json-ff98e2029afacd5a71e7.js +1 -0
- package/dist/excalidraw-assets/locales/pa-IN-json-448f5d174c6ac1f9eae2.js +1 -0
- package/dist/excalidraw-assets/locales/pl-PL-json-8d41ca8cad23ad48c767.js +1 -0
- package/dist/excalidraw-assets/locales/pt-BR-json-80997877c2c88f481632.js +1 -0
- package/dist/excalidraw-assets/locales/pt-PT-json-54e547cc2cd8b0700305.js +1 -0
- package/dist/excalidraw-assets/locales/ro-RO-json-6f6fbe0dacd28213189e.js +1 -0
- package/dist/excalidraw-assets/locales/ru-RU-json-f3368da59c45bb4ea83d.js +1 -0
- package/dist/excalidraw-assets/locales/si-LK-json-0e496395bea7aa09c12e.js +1 -0
- package/dist/excalidraw-assets/locales/sk-SK-json-f6694f00a14601aafbc9.js +1 -0
- package/dist/excalidraw-assets/locales/sl-SI-json-956739803bca409172cb.js +1 -0
- package/dist/excalidraw-assets/locales/sv-SE-json-036a58ce76df0ef486f1.js +1 -0
- package/dist/excalidraw-assets/locales/ta-IN-json-e215bca042782bf1aafb.js +1 -0
- package/dist/excalidraw-assets/locales/th-TH-json-779ad701c23e676f3907.js +1 -0
- package/dist/excalidraw-assets/locales/tr-TR-json-1f83ec99916cff31ea83.js +1 -0
- package/dist/excalidraw-assets/locales/uk-UA-json-b402aaa379cc70152220.js +1 -0
- package/dist/excalidraw-assets/locales/vi-VN-json-bcc95c0e05c13d6f59f3.js +1 -0
- package/dist/excalidraw-assets/locales/zh-CN-json-cba518876516337cde09.js +1 -0
- package/dist/excalidraw-assets/locales/zh-HK-json-9af6e5a3292b417d9698.js +1 -0
- package/dist/excalidraw-assets/locales/zh-TW-json-c578828a49f1eb06685e.js +1 -0
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-f0a936944c7690d6ca20.js +22 -0
- package/dist/excalidraw-assets-dev/locales/az-AZ-json-aa2106a195005649f288.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-244a526ffd7fb0401bf4.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-84daac1a6f87d54ab482.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-f19488481689426f35e7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-4131c5c6a650ff359d88.js +22 -0
- package/dist/excalidraw-assets-dev/locales/da-DK-json-43c89c591886c0bf87c5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/de-DE-json-c1c6f1ccba0c81e36ff3.js +22 -0
- package/dist/excalidraw-assets-dev/locales/el-GR-json-a0d2db555d8eabf2314d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/es-ES-json-d28c0a34dd65557c36d1.js +22 -0
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-a9c30edbcd64040f6d81.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-c94925ee07701ef438a2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-534ff9afaddfa5e98712.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-148222fdde4309b9ffdd.js +22 -0
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-b6d43d24dfabd06e45d5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/he-IL-json-5f74dda2737436b4482a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-5ce4fc9ec6678cfd2f6b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-e6a409606cf22a639a75.js +22 -0
- package/dist/excalidraw-assets-dev/locales/id-ID-json-81ef59d57194b5eaf5cc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/it-IT-json-3ae9ff054a8832e055d3.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-4f64b1c6188e0451fd4b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kaa-json-4017d8481aa0b479424a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-ffe286fa0d0bb4f0c8b0.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-0a85d681d9deb9c440c9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/km-KH-json-38d489a3cd78fb378b39.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-dab1c947d6d2ca3ddac0.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-c342bf0a9985d2953f39.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-5b6406e76cf0d826cc16.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-216a1fe6e16d46a93b33.js +22 -0
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-d2359502fdbadc31b122.js +22 -0
- package/dist/excalidraw-assets-dev/locales/my-MM-json-0ee160095e1784b8d62b.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-2cf7b76c223968714b89.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-04f6aacdcbd509af44a0.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-cd3bec2e4911f6ca612d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-ec9566e0768dfe4b1496.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-64ff3aef4c4f2285e7d4.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-6ce16ec772ca39cb8744.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-7571b67e63f5e151e90a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-a0efd06ca81979f0a547.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-259991b384060c398825.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-1666880345e0ee1d9198.js +22 -0
- package/dist/excalidraw-assets-dev/locales/si-LK-json-e6e6b1caa13f7abcfacc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-f0dcb9f158c1416791e9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-cd56d7fa0376488e5343.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-b16a829e634fedfb3471.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-0f92406d511259672140.js +22 -0
- package/dist/excalidraw-assets-dev/locales/th-TH-json-53f4f07ed0af4f4164f1.js +22 -0
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-efa928fe68850c03bfed.js +22 -0
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-4e9f0d94b39ba92e56f2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-87f5a22fd45850d1ddf7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-09003f959f8d8d9ee650.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-79ea857f9fc00efa982e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-fa855c8136cdf8c637e0.js +22 -0
- package/dist/excalidraw.development.js +197 -106
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +18 -3
- package/types/actions/actionAlign.d.ts +6 -0
- package/types/actions/actionBoundText.d.ts +12 -2
- package/types/actions/actionCanvas.d.ts +60 -10
- package/types/actions/actionClipboard.d.ts +30 -5
- package/types/actions/actionDeleteSelected.d.ts +18 -3
- package/types/actions/actionElementLock.d.ts +13 -2
- package/types/actions/actionExport.d.ts +54 -9
- package/types/actions/actionFinalize.d.ts +12 -2
- package/types/actions/actionFrame.d.ts +397 -0
- package/types/actions/actionGroup.d.ts +2 -2
- package/types/actions/actionLinearEditor.d.ts +6 -1
- package/types/actions/actionMenu.d.ts +19 -5
- package/types/actions/actionNavigate.d.ts +1 -1
- package/types/actions/actionProperties.d.ts +78 -13
- package/types/actions/actionStyles.d.ts +6 -1
- package/types/actions/actionToggleGridMode.d.ts +6 -1
- package/types/actions/actionToggleStats.d.ts +6 -1
- package/types/actions/actionToggleViewMode.d.ts +6 -1
- package/types/actions/actionToggleZenMode.d.ts +6 -1
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +1 -1
- package/types/clients.d.ts +1 -5
- package/types/colors.d.ts +1 -0
- package/types/components/ActiveConfirmDialog.d.ts +1 -21
- package/types/components/App.d.ts +11 -4
- package/types/components/Avatar.d.ts +0 -1
- package/types/components/ColorPicker/ColorInput.d.ts +1 -1
- package/types/components/ColorPicker/ColorPicker.d.ts +3 -2
- package/types/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/types/components/ColorPicker/Picker.d.ts +4 -2
- package/types/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/types/components/ColorPicker/ShadeList.d.ts +1 -1
- package/types/components/ColorPicker/TopPicks.d.ts +1 -1
- package/types/components/ColorPicker/colorPickerUtils.d.ts +4 -24
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +8 -3
- package/types/components/Dialog.d.ts +0 -2
- package/types/components/EyeDropper.d.ts +18 -0
- package/types/components/LibraryMenu.d.ts +1 -21
- package/types/components/Sidebar/Sidebar.d.ts +1 -21
- package/types/components/ToolButton.d.ts +2 -1
- package/types/components/dropdownMenu/DropdownMenu.d.ts +3 -2
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +4 -2
- package/types/components/icons.d.ts +3 -0
- package/types/components/main-menu/MainMenu.d.ts +3 -2
- package/types/constants.d.ts +14 -0
- package/types/data/library.d.ts +1 -45
- package/types/element/Hyperlink.d.ts +6 -1
- package/types/element/binding.d.ts +1 -1
- package/types/element/bounds.d.ts +31 -6
- package/types/element/collision.d.ts +7 -7
- package/types/element/dragElements.d.ts +2 -1
- package/types/element/index.d.ts +3 -2
- package/types/element/linearElementEditor.d.ts +7 -2
- package/types/element/newElement.d.ts +4 -2
- package/types/element/transformHandles.d.ts +7 -0
- package/types/element/typeChecks.d.ts +2 -1
- package/types/element/types.d.ts +7 -2
- package/types/frame.d.ts +40 -0
- package/types/groups.d.ts +4 -0
- package/types/hooks/useCreatePortalContainer.d.ts +4 -0
- package/types/hooks/useLibraryItemSvg.d.ts +1 -21
- package/types/hooks/useOutsideClick.d.ts +19 -1
- package/types/jotai.d.ts +16 -104
- package/types/keys.d.ts +1 -0
- package/types/math.d.ts +1 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-TW-json-c578828a49f1eb06685e.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-TW-json-fa855c8136cdf8c637e0.d.ts +2 -0
- package/types/packages/excalidraw/example/initialData.d.ts +6 -0
- package/types/renderer/renderElement.d.ts +2 -1
- package/types/renderer/renderScene.d.ts +12 -3
- package/types/renderer/roundRect.d.ts +1 -1
- package/types/scene/Scene.d.ts +8 -1
- package/types/scene/export.d.ts +1 -0
- package/types/scene/selection.d.ts +13 -3
- package/types/types.d.ts +29 -3
- package/types/utils.d.ts +5 -2
- package/types/zindex.d.ts +4 -4
- package/dist/excalidraw-assets/locales/ar-SA-json-0a59aece60276ed11321.js +0 -1
- package/dist/excalidraw-assets/locales/bg-BG-json-9194ad23121157147546.js +0 -1
- package/dist/excalidraw-assets/locales/bn-BD-json-ebf1d26fdb12c5bb181e.js +0 -1
- package/dist/excalidraw-assets/locales/ca-ES-json-79f84ac70a367a68e9a0.js +0 -1
- package/dist/excalidraw-assets/locales/cs-CZ-json-26c3db7e8a6c4e8bcf23.js +0 -1
- package/dist/excalidraw-assets/locales/da-DK-json-547418996cfd8bb285be.js +0 -1
- package/dist/excalidraw-assets/locales/de-DE-json-4050a2f4d10ce9ba2556.js +0 -1
- package/dist/excalidraw-assets/locales/el-GR-json-3c7e45960a069039165d.js +0 -1
- package/dist/excalidraw-assets/locales/es-ES-json-265b459985c4898b7781.js +0 -1
- package/dist/excalidraw-assets/locales/eu-ES-json-8714a4293a6a397560c4.js +0 -1
- package/dist/excalidraw-assets/locales/fa-IR-json-d891247fdcbdfc77d42a.js +0 -1
- package/dist/excalidraw-assets/locales/fi-FI-json-1640f182578a4d4a77ba.js +0 -1
- package/dist/excalidraw-assets/locales/fr-FR-json-08f595b2a14a7f1b5c3f.js +0 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-190e4b913c120f078129.js +0 -1
- package/dist/excalidraw-assets/locales/he-IL-json-a3aadae77e5d8f9d9477.js +0 -1
- package/dist/excalidraw-assets/locales/hi-IN-json-f7636cdb60eac7c6d0e9.js +0 -1
- package/dist/excalidraw-assets/locales/hu-HU-json-7137c9d42ad71e4291e1.js +0 -1
- package/dist/excalidraw-assets/locales/id-ID-json-4b165066b85ef8e73f84.js +0 -1
- package/dist/excalidraw-assets/locales/it-IT-json-482ec692b8ab359f7deb.js +0 -1
- package/dist/excalidraw-assets/locales/ja-JP-json-46cf12c4be04cc8b452d.js +0 -1
- package/dist/excalidraw-assets/locales/kaa-json-52971f5d051ddd65887f.js +0 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-3d0babc84b87ba5a6c40.js +0 -1
- package/dist/excalidraw-assets/locales/kk-KZ-json-f7739980a0373cac0448.js +0 -1
- package/dist/excalidraw-assets/locales/km-KH-json-621814e1e27548a5d3d0.js +0 -1
- package/dist/excalidraw-assets/locales/ko-KR-json-12c3f447f773085f9c2d.js +0 -1
- package/dist/excalidraw-assets/locales/ku-TR-json-f207f47386f21115f012.js +0 -1
- package/dist/excalidraw-assets/locales/lt-LT-json-21dccba82996be6c9978.js +0 -1
- package/dist/excalidraw-assets/locales/lv-LV-json-2754b00cb2959287583a.js +0 -1
- package/dist/excalidraw-assets/locales/mr-IN-json-9fbf7ef2fc6a57f19633.js +0 -1
- package/dist/excalidraw-assets/locales/my-MM-json-09e2cd449c159b515bd5.js +0 -1
- package/dist/excalidraw-assets/locales/nb-NO-json-916932aaf93f186f7518.js +0 -1
- package/dist/excalidraw-assets/locales/nl-NL-json-3117b157902ca19b9cc3.js +0 -1
- package/dist/excalidraw-assets/locales/nn-NO-json-e630a5b8e3fd3e0d98d4.js +0 -1
- package/dist/excalidraw-assets/locales/oc-FR-json-8bfe443f96fa0cc7073b.js +0 -1
- package/dist/excalidraw-assets/locales/pa-IN-json-5b1c3903004d63ad7bda.js +0 -1
- package/dist/excalidraw-assets/locales/pl-PL-json-85d9c16b934129641849.js +0 -1
- package/dist/excalidraw-assets/locales/pt-BR-json-8db8024c93d59622ac28.js +0 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-66e01bca60abd8cc18c1.js +0 -1
- package/dist/excalidraw-assets/locales/ro-RO-json-1b5c748776b284870595.js +0 -1
- package/dist/excalidraw-assets/locales/ru-RU-json-ec7bf71dadfbb8504c34.js +0 -1
- package/dist/excalidraw-assets/locales/si-LK-json-def580f91ccb834e3c2a.js +0 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-08d2a7f31812fa1dda56.js +0 -1
- package/dist/excalidraw-assets/locales/sl-SI-json-b3306d9804c23ee589c9.js +0 -1
- package/dist/excalidraw-assets/locales/sv-SE-json-76f73b2f91a335951e59.js +0 -1
- package/dist/excalidraw-assets/locales/ta-IN-json-aa166453a01a662a3e07.js +0 -1
- package/dist/excalidraw-assets/locales/th-TH-json-56e28d7ee80115f5dc07.js +0 -1
- package/dist/excalidraw-assets/locales/tr-TR-json-abd9e64817a5f1bf722a.js +0 -1
- package/dist/excalidraw-assets/locales/uk-UA-json-f41664cf41fa0a75d303.js +0 -1
- package/dist/excalidraw-assets/locales/vi-VN-json-79622fb3b0a457d8c17b.js +0 -1
- package/dist/excalidraw-assets/locales/zh-CN-json-d4314ad82ce9e6ef7492.js +0 -1
- package/dist/excalidraw-assets/locales/zh-HK-json-b5ebaab9e5576589fd75.js +0 -1
- package/dist/excalidraw-assets/locales/zh-TW-json-57ae53d76ba67416c6a1.js +0 -1
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-70a5f1a783a785b7e93c.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-13911f22e77da62aed30.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-46d393116092c755f0f3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-3498504fc6da812b3058.js +0 -22
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-dde6031123de5441f318.js +0 -22
- package/dist/excalidraw-assets-dev/locales/da-DK-json-1ad7d7f19aec114ebe50.js +0 -22
- package/dist/excalidraw-assets-dev/locales/de-DE-json-afda4ef5b8836be8cc9f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/el-GR-json-2274fe4deead6b64552d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/es-ES-json-b8442d54aabef318e2dc.js +0 -22
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-43e4d2f5e87feec87329.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-51cdec085b5f875af21b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-f97e2e7d43641c0e840a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-8979cd243e0bbc81c99b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-36750301d902ad2b2806.js +0 -22
- package/dist/excalidraw-assets-dev/locales/he-IL-json-2093e314b87cdcfdd126.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-cb93e43b65701ce90198.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-4239cb5f99d6fda36fbe.js +0 -22
- package/dist/excalidraw-assets-dev/locales/id-ID-json-e7fc777529b21cb19221.js +0 -22
- package/dist/excalidraw-assets-dev/locales/it-IT-json-693318f639c2fb2dcafe.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-a7e58b0f0528b0d9adee.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kaa-json-8c158b975f7ac7595487.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-16bc09201bc75389e0c2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-9d3bab1e41bdd0593cba.js +0 -22
- package/dist/excalidraw-assets-dev/locales/km-KH-json-d50e4e939ba65c556acc.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-c10db000dc9531037e63.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-0f48476053944dd48c33.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-f6b8a91c2d0af70bb40a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-200fd554e6f50cdb198f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-3fd24dfc0b92db0ecaa3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/my-MM-json-622c3f7b4b996f4d9675.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-44f33d8288084d0c5cd2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-558c43ecce00b4f632ed.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-b1cdc9fe9e3ef6661443.js +0 -22
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-aff7d8ffc8d29dcadf9f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-1676618fa49328bc0ecc.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-52763bf24013775cc692.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-65c3c99a0f2b7b20ac5a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-8c0679d41abb9c045cf9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-a6eb98c09f52a24df011.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-59b86dc559aee03fa6f9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/si-LK-json-988cd28b7f15bfd7b612.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-070630d5b8666cc385f5.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-d9bdaef5881b5ea102e9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-e9171127c102a366d2d4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-97670b76df151af63fbe.js +0 -22
- package/dist/excalidraw-assets-dev/locales/th-TH-json-750c74d47969f873875a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-55711d39e393bde4d8e1.js +0 -22
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-1ad24b86d9998c472afe.js +0 -22
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-67cf288dc185122c6fbd.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-e62fb6fca498ba7798b4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-f5a427054479f0a5781f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-b9dd2a464ad3b323b9e7.js +0 -22
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ar-SA-json-0a59aece60276ed11321.d.ts → ar-SA-json-20b8359339093c0d55e4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bg-BG-json-9194ad23121157147546.d.ts → az-AZ-json-95ab85135314fce51ccc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-ebf1d26fdb12c5bb181e.d.ts → bg-BG-json-0d8dbcb99870971021ee.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ca-ES-json-79f84ac70a367a68e9a0.d.ts → bn-BD-json-e2b7f233baf2dcd84360.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{cs-CZ-json-26c3db7e8a6c4e8bcf23.d.ts → ca-ES-json-2526e4d277313d9fa2ba.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{da-DK-json-547418996cfd8bb285be.d.ts → cs-CZ-json-9eb9864732272e7dd3e5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-4050a2f4d10ce9ba2556.d.ts → da-DK-json-4f8e7ffffcfe77676372.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{el-GR-json-3c7e45960a069039165d.d.ts → de-DE-json-d3be08a6c1c77da3217b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-265b459985c4898b7781.d.ts → el-GR-json-dbefbe1435eb60114eb6.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{eu-ES-json-8714a4293a6a397560c4.d.ts → es-ES-json-bce3ffccc2d4f618c802.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fa-IR-json-d891247fdcbdfc77d42a.d.ts → eu-ES-json-5533c5bc25f2a8c5f167.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fi-FI-json-1640f182578a4d4a77ba.d.ts → fa-IR-json-5a4de9617f16bd36abf9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-08f595b2a14a7f1b5c3f.d.ts → fi-FI-json-8941c5209ec2fe54175f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-190e4b913c120f078129.d.ts → fr-FR-json-f350482e7da034549dbf.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{he-IL-json-a3aadae77e5d8f9d9477.d.ts → gl-ES-json-c54966edc31ab5d6917e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-f7636cdb60eac7c6d0e9.d.ts → he-IL-json-0a140148a521e80ef951.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hu-HU-json-7137c9d42ad71e4291e1.d.ts → hi-IN-json-fa6d3964054b114046c0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-4b165066b85ef8e73f84.d.ts → hu-HU-json-ec488d80d0a50ac94743.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{it-IT-json-482ec692b8ab359f7deb.d.ts → id-ID-json-b724e9ec875dd8ffee62.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ja-JP-json-46cf12c4be04cc8b452d.d.ts → it-IT-json-4e385faed32727fe36ce.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kaa-json-52971f5d051ddd65887f.d.ts → ja-JP-json-323f591c38869b307b87.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kab-KAB-json-3d0babc84b87ba5a6c40.d.ts → kaa-json-ac1f4f50b9d889b7b8c6.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-f7739980a0373cac0448.d.ts → kab-KAB-json-8a859cf6ef556b4cb21a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{km-KH-json-621814e1e27548a5d3d0.d.ts → kk-KZ-json-31eb6ba41a19136eff88.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ko-KR-json-12c3f447f773085f9c2d.d.ts → km-KH-json-7f445f80e19ca90e9998.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ku-TR-json-f207f47386f21115f012.d.ts → ko-KR-json-9a0b6ecc5be0f4e98fee.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-21dccba82996be6c9978.d.ts → ku-TR-json-2608a20f805341b51a6e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lv-LV-json-2754b00cb2959287583a.d.ts → lt-LT-json-a258da44916407cf694a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-9fbf7ef2fc6a57f19633.d.ts → lv-LV-json-7dbbb288da81c4987475.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{my-MM-json-09e2cd449c159b515bd5.d.ts → mr-IN-json-d72d88dfcb51c3668e5b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nb-NO-json-916932aaf93f186f7518.d.ts → my-MM-json-e35accf714a96ecbf476.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nl-NL-json-3117b157902ca19b9cc3.d.ts → nb-NO-json-4f1808f3507956e1afe9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nn-NO-json-e630a5b8e3fd3e0d98d4.d.ts → nl-NL-json-e2408c0b590b8987e423.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{oc-FR-json-8bfe443f96fa0cc7073b.d.ts → nn-NO-json-67ff40e2c3eb08ee2368.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-5b1c3903004d63ad7bda.d.ts → oc-FR-json-ff98e2029afacd5a71e7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pl-PL-json-85d9c16b934129641849.d.ts → pa-IN-json-448f5d174c6ac1f9eae2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-BR-json-8db8024c93d59622ac28.d.ts → pl-PL-json-8d41ca8cad23ad48c767.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-PT-json-66e01bca60abd8cc18c1.d.ts → pt-BR-json-80997877c2c88f481632.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-1b5c748776b284870595.d.ts → pt-PT-json-54e547cc2cd8b0700305.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ru-RU-json-ec7bf71dadfbb8504c34.d.ts → ro-RO-json-6f6fbe0dacd28213189e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{si-LK-json-def580f91ccb834e3c2a.d.ts → ru-RU-json-f3368da59c45bb4ea83d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-08d2a7f31812fa1dda56.d.ts → si-LK-json-0e496395bea7aa09c12e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sl-SI-json-b3306d9804c23ee589c9.d.ts → sk-SK-json-f6694f00a14601aafbc9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sv-SE-json-76f73b2f91a335951e59.d.ts → sl-SI-json-956739803bca409172cb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ta-IN-json-aa166453a01a662a3e07.d.ts → sv-SE-json-036a58ce76df0ef486f1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{th-TH-json-56e28d7ee80115f5dc07.d.ts → ta-IN-json-e215bca042782bf1aafb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-abd9e64817a5f1bf722a.d.ts → th-TH-json-779ad701c23e676f3907.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{uk-UA-json-f41664cf41fa0a75d303.d.ts → tr-TR-json-1f83ec99916cff31ea83.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-79622fb3b0a457d8c17b.d.ts → uk-UA-json-b402aaa379cc70152220.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-CN-json-d4314ad82ce9e6ef7492.d.ts → vi-VN-json-bcc95c0e05c13d6f59f3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-HK-json-b5ebaab9e5576589fd75.d.ts → zh-CN-json-cba518876516337cde09.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-TW-json-57ae53d76ba67416c6a1.d.ts → zh-HK-json-9af6e5a3292b417d9698.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-70a5f1a783a785b7e93c.d.ts → ar-SA-json-f0a936944c7690d6ca20.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-13911f22e77da62aed30.d.ts → az-AZ-json-aa2106a195005649f288.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-46d393116092c755f0f3.d.ts → bg-BG-json-244a526ffd7fb0401bf4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-3498504fc6da812b3058.d.ts → bn-BD-json-84daac1a6f87d54ab482.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-dde6031123de5441f318.d.ts → ca-ES-json-f19488481689426f35e7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-1ad7d7f19aec114ebe50.d.ts → cs-CZ-json-4131c5c6a650ff359d88.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-afda4ef5b8836be8cc9f.d.ts → da-DK-json-43c89c591886c0bf87c5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-2274fe4deead6b64552d.d.ts → de-DE-json-c1c6f1ccba0c81e36ff3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-b8442d54aabef318e2dc.d.ts → el-GR-json-a0d2db555d8eabf2314d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-43e4d2f5e87feec87329.d.ts → es-ES-json-d28c0a34dd65557c36d1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-51cdec085b5f875af21b.d.ts → eu-ES-json-a9c30edbcd64040f6d81.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-f97e2e7d43641c0e840a.d.ts → fa-IR-json-c94925ee07701ef438a2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-8979cd243e0bbc81c99b.d.ts → fi-FI-json-534ff9afaddfa5e98712.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-36750301d902ad2b2806.d.ts → fr-FR-json-148222fdde4309b9ffdd.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-2093e314b87cdcfdd126.d.ts → gl-ES-json-b6d43d24dfabd06e45d5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-cb93e43b65701ce90198.d.ts → he-IL-json-5f74dda2737436b4482a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-4239cb5f99d6fda36fbe.d.ts → hi-IN-json-5ce4fc9ec6678cfd2f6b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-e7fc777529b21cb19221.d.ts → hu-HU-json-e6a409606cf22a639a75.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-693318f639c2fb2dcafe.d.ts → id-ID-json-81ef59d57194b5eaf5cc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-a7e58b0f0528b0d9adee.d.ts → it-IT-json-3ae9ff054a8832e055d3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kaa-json-8c158b975f7ac7595487.d.ts → ja-JP-json-4f64b1c6188e0451fd4b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-16bc09201bc75389e0c2.d.ts → kaa-json-4017d8481aa0b479424a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-9d3bab1e41bdd0593cba.d.ts → kab-KAB-json-ffe286fa0d0bb4f0c8b0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{km-KH-json-d50e4e939ba65c556acc.d.ts → kk-KZ-json-0a85d681d9deb9c440c9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-c10db000dc9531037e63.d.ts → km-KH-json-38d489a3cd78fb378b39.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ku-TR-json-0f48476053944dd48c33.d.ts → ko-KR-json-dab1c947d6d2ca3ddac0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-f6b8a91c2d0af70bb40a.d.ts → ku-TR-json-c342bf0a9985d2953f39.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-200fd554e6f50cdb198f.d.ts → lt-LT-json-5b6406e76cf0d826cc16.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-3fd24dfc0b92db0ecaa3.d.ts → lv-LV-json-216a1fe6e16d46a93b33.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-622c3f7b4b996f4d9675.d.ts → mr-IN-json-d2359502fdbadc31b122.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-44f33d8288084d0c5cd2.d.ts → my-MM-json-0ee160095e1784b8d62b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-558c43ecce00b4f632ed.d.ts → nb-NO-json-2cf7b76c223968714b89.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-b1cdc9fe9e3ef6661443.d.ts → nl-NL-json-04f6aacdcbd509af44a0.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-aff7d8ffc8d29dcadf9f.d.ts → nn-NO-json-cd3bec2e4911f6ca612d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-1676618fa49328bc0ecc.d.ts → oc-FR-json-ec9566e0768dfe4b1496.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-52763bf24013775cc692.d.ts → pa-IN-json-64ff3aef4c4f2285e7d4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-65c3c99a0f2b7b20ac5a.d.ts → pl-PL-json-6ce16ec772ca39cb8744.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-8c0679d41abb9c045cf9.d.ts → pt-BR-json-7571b67e63f5e151e90a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-a6eb98c09f52a24df011.d.ts → pt-PT-json-a0efd06ca81979f0a547.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-59b86dc559aee03fa6f9.d.ts → ro-RO-json-259991b384060c398825.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-988cd28b7f15bfd7b612.d.ts → ru-RU-json-1666880345e0ee1d9198.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-070630d5b8666cc385f5.d.ts → si-LK-json-e6e6b1caa13f7abcfacc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-d9bdaef5881b5ea102e9.d.ts → sk-SK-json-f0dcb9f158c1416791e9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-e9171127c102a366d2d4.d.ts → sl-SI-json-cd56d7fa0376488e5343.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-97670b76df151af63fbe.d.ts → sv-SE-json-b16a829e634fedfb3471.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{th-TH-json-750c74d47969f873875a.d.ts → ta-IN-json-0f92406d511259672140.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-55711d39e393bde4d8e1.d.ts → th-TH-json-53f4f07ed0af4f4164f1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-1ad24b86d9998c472afe.d.ts → tr-TR-json-efa928fe68850c03bfed.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-67cf288dc185122c6fbd.d.ts → uk-UA-json-4e9f0d94b39ba92e56f2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-e62fb6fca498ba7798b4.d.ts → vi-VN-json-87f5a22fd45850d1ddf7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-f5a427054479f0a5781f.d.ts → zh-CN-json-09003f959f8d8d9ee650.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-b9dd2a464ad3b323b9e7.d.ts → zh-HK-json-79ea857f9fc00efa982e.d.ts} +0 -0
|
@@ -6,7 +6,7 @@ import { LinearElementEditor } from "../element/linearElementEditor";
|
|
|
6
6
|
import { ExcalidrawElement, NonDeletedExcalidrawElement } from "../element/types";
|
|
7
7
|
import History from "../history";
|
|
8
8
|
import Scene from "../scene/Scene";
|
|
9
|
-
import { AppClassProperties, AppProps, AppState, ExcalidrawImperativeAPI, BinaryFiles, LibraryItems, SceneData, Device, SidebarName, SidebarTabName } from "../types";
|
|
9
|
+
import { AppClassProperties, AppProps, AppState, ExcalidrawImperativeAPI, BinaryFiles, LibraryItems, SceneData, Device, FrameNameBoundsCache, SidebarName, SidebarTabName } from "../types";
|
|
10
10
|
import { FileSystemHandle } from "../data/filesystem";
|
|
11
11
|
export declare const ExcalidrawContainerContext: React.Context<{
|
|
12
12
|
container: HTMLDivElement | null;
|
|
@@ -50,20 +50,24 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
50
50
|
files: BinaryFiles;
|
|
51
51
|
imageCache: AppClassProperties["imageCache"];
|
|
52
52
|
hitLinkElement?: NonDeletedExcalidrawElement;
|
|
53
|
-
lastPointerDown: React.PointerEvent<
|
|
53
|
+
lastPointerDown: React.PointerEvent<HTMLElement> | null;
|
|
54
54
|
lastPointerUp: React.PointerEvent<HTMLElement> | PointerEvent | null;
|
|
55
|
-
|
|
55
|
+
lastViewportPosition: {
|
|
56
56
|
x: number;
|
|
57
57
|
y: number;
|
|
58
|
-
}
|
|
58
|
+
};
|
|
59
59
|
constructor(props: AppProps);
|
|
60
60
|
private renderCanvas;
|
|
61
|
+
private getFrameNameDOMId;
|
|
62
|
+
frameNameBoundsCache: FrameNameBoundsCache;
|
|
63
|
+
private renderFrameNames;
|
|
61
64
|
render(): JSX.Element;
|
|
62
65
|
focusContainer: AppClassProperties["focusContainer"];
|
|
63
66
|
getSceneElementsIncludingDeleted: () => readonly ExcalidrawElement[];
|
|
64
67
|
getSceneElements: () => readonly NonDeletedExcalidrawElement[];
|
|
65
68
|
onInsertElements: (elements: readonly ExcalidrawElement[]) => void;
|
|
66
69
|
onExportImage: (type: keyof typeof EXPORT_IMAGE_TYPES, elements: readonly NonDeletedExcalidrawElement[]) => Promise<void>;
|
|
70
|
+
private openEyeDropper;
|
|
67
71
|
private syncActionResult;
|
|
68
72
|
private onBlur;
|
|
69
73
|
private onUnload;
|
|
@@ -97,6 +101,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
97
101
|
setAppState: React.Component<any, AppState>["setState"];
|
|
98
102
|
removePointer: (event: React.PointerEvent<HTMLElement> | PointerEvent) => void;
|
|
99
103
|
toggleLock: (source?: "keyboard" | "ui") => void;
|
|
104
|
+
toggleFrameRendering: () => void;
|
|
100
105
|
togglePenMode: () => void;
|
|
101
106
|
onHandToolToggle: () => void;
|
|
102
107
|
/**
|
|
@@ -160,6 +165,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
160
165
|
private handleCanvasDoubleClick;
|
|
161
166
|
private getElementLinkAtPosition;
|
|
162
167
|
private redirectToLink;
|
|
168
|
+
private getTopLayerFrameAtSceneCoords;
|
|
163
169
|
private handleCanvasPointerMove;
|
|
164
170
|
private handleEraser;
|
|
165
171
|
private handleTouchMove;
|
|
@@ -185,6 +191,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
185
191
|
private createImageElement;
|
|
186
192
|
private handleLinearElementOnPointerDown;
|
|
187
193
|
private createGenericElementOnPointerDown;
|
|
194
|
+
private createFrameElementOnPointerDown;
|
|
188
195
|
private onKeyDownFromPointerDownHandler;
|
|
189
196
|
private onKeyUpFromPointerDownHandler;
|
|
190
197
|
private onPointerMoveFromPointerDownHandler;
|
|
@@ -4,9 +4,9 @@ import { ColorPickerType } from "./colorPickerUtils";
|
|
|
4
4
|
import { ColorTuple, ColorPaletteCustom } from "../../colors";
|
|
5
5
|
import "./ColorPicker.scss";
|
|
6
6
|
export declare const getColor: (color: string) => string | null;
|
|
7
|
-
|
|
7
|
+
interface ColorPickerProps {
|
|
8
8
|
type: ColorPickerType;
|
|
9
|
-
color: string
|
|
9
|
+
color: string;
|
|
10
10
|
onChange: (color: string) => void;
|
|
11
11
|
label: string;
|
|
12
12
|
elements: readonly ExcalidrawElement[];
|
|
@@ -16,3 +16,4 @@ export interface ColorPickerProps {
|
|
|
16
16
|
updateData: (formData?: any) => void;
|
|
17
17
|
}
|
|
18
18
|
export declare const ColorPicker: ({ type, color, onChange, label, elements, palette, topPicks, updateData, appState, }: ColorPickerProps) => JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import { ExcalidrawElement } from "../../element/types";
|
|
|
3
3
|
import { ColorPickerType } from "./colorPickerUtils";
|
|
4
4
|
import { ColorPaletteCustom } from "../../colors";
|
|
5
5
|
interface PickerProps {
|
|
6
|
-
color: string
|
|
6
|
+
color: string;
|
|
7
7
|
onChange: (color: string) => void;
|
|
8
8
|
label: string;
|
|
9
9
|
type: ColorPickerType;
|
|
@@ -11,6 +11,8 @@ interface PickerProps {
|
|
|
11
11
|
palette: ColorPaletteCustom;
|
|
12
12
|
updateData: (formData?: any) => void;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
|
+
onEyeDropperToggle: (force?: boolean) => void;
|
|
15
|
+
onEscape: (event: React.KeyboardEvent | KeyboardEvent) => void;
|
|
14
16
|
}
|
|
15
|
-
export declare const Picker: ({ color, onChange, label, type, elements, palette, updateData, children, }: PickerProps) => JSX.Element;
|
|
17
|
+
export declare const Picker: ({ color, onChange, label, type, elements, palette, updateData, children, onEyeDropperToggle, onEscape, }: PickerProps) => JSX.Element;
|
|
16
18
|
export {};
|
|
@@ -2,7 +2,7 @@ import { ColorPickerType } from "./colorPickerUtils";
|
|
|
2
2
|
interface TopPicksProps {
|
|
3
3
|
onChange: (color: string) => void;
|
|
4
4
|
type: ColorPickerType;
|
|
5
|
-
activeColor: string
|
|
5
|
+
activeColor: string;
|
|
6
6
|
topPicks?: readonly string[];
|
|
7
7
|
}
|
|
8
8
|
export declare const TopPicks: ({ onChange, type, activeColor, topPicks, }: TopPicksProps) => JSX.Element | null;
|
|
@@ -1,40 +1,20 @@
|
|
|
1
1
|
import { ExcalidrawElement } from "../../element/types";
|
|
2
2
|
import { ColorPickerColor, ColorPaletteCustom } from "../../colors";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const getColorNameAndShadeFromColor: ({ palette, color, }: {
|
|
4
4
|
palette: ColorPaletteCustom;
|
|
5
|
-
|
|
5
|
+
color: string;
|
|
6
6
|
}) => {
|
|
7
7
|
colorName: ColorPickerColor;
|
|
8
8
|
shade: number | null;
|
|
9
9
|
} | null;
|
|
10
10
|
export declare const colorPickerHotkeyBindings: string[];
|
|
11
11
|
export declare const isCustomColor: ({ color, palette, }: {
|
|
12
|
-
color: string
|
|
12
|
+
color: string;
|
|
13
13
|
palette: ColorPaletteCustom;
|
|
14
14
|
}) => boolean;
|
|
15
15
|
export declare const getMostUsedCustomColors: (elements: readonly ExcalidrawElement[], type: "elementBackground" | "elementStroke", palette: ColorPaletteCustom) => string[];
|
|
16
16
|
export type ActiveColorPickerSectionAtomType = "custom" | "baseColors" | "shades" | "hex" | null;
|
|
17
|
-
export declare const activeColorPickerSectionAtom: import("jotai").
|
|
18
|
-
write: (get: {
|
|
19
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
20
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
21
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
22
|
-
} & {
|
|
23
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
24
|
-
unstable_promise: true;
|
|
25
|
-
}): Value_3 | Promise<Value_3>;
|
|
26
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
27
|
-
unstable_promise: true;
|
|
28
|
-
}): Value_4 | Promise<Value_4>;
|
|
29
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
30
|
-
unstable_promise: true;
|
|
31
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
32
|
-
}, set: {
|
|
33
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
34
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
35
|
-
}, update: ActiveColorPickerSectionAtomType | ((prev: ActiveColorPickerSectionAtomType) => ActiveColorPickerSectionAtomType)) => void;
|
|
36
|
-
onMount?: (<S extends (update: ActiveColorPickerSectionAtomType | ((prev: ActiveColorPickerSectionAtomType) => ActiveColorPickerSectionAtomType)) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
37
|
-
} & {
|
|
17
|
+
export declare const activeColorPickerSectionAtom: import("jotai").PrimitiveAtom<ActiveColorPickerSectionAtomType> & {
|
|
38
18
|
init: ActiveColorPickerSectionAtomType;
|
|
39
19
|
};
|
|
40
20
|
export declare const getContrastYIQ: (bgHex: string, isCustomColor: boolean) => "white" | "black";
|
|
@@ -2,15 +2,20 @@
|
|
|
2
2
|
import { ColorPaletteCustom } from "../../colors";
|
|
3
3
|
import { ActiveColorPickerSectionAtomType } from "./colorPickerUtils";
|
|
4
4
|
interface ColorPickerKeyNavHandlerProps {
|
|
5
|
-
|
|
5
|
+
event: React.KeyboardEvent;
|
|
6
6
|
activeColorPickerSection: ActiveColorPickerSectionAtomType;
|
|
7
7
|
palette: ColorPaletteCustom;
|
|
8
|
-
|
|
8
|
+
color: string;
|
|
9
9
|
onChange: (color: string) => void;
|
|
10
10
|
customColors: string[];
|
|
11
11
|
setActiveColorPickerSection: (update: React.SetStateAction<ActiveColorPickerSectionAtomType>) => void;
|
|
12
12
|
updateData: (formData?: any) => void;
|
|
13
13
|
activeShade: number;
|
|
14
|
+
onEyeDropperToggle: (force?: boolean) => void;
|
|
15
|
+
onEscape: (event: React.KeyboardEvent | KeyboardEvent) => void;
|
|
14
16
|
}
|
|
15
|
-
|
|
17
|
+
/**
|
|
18
|
+
* @returns true if the event was handled
|
|
19
|
+
*/
|
|
20
|
+
export declare const colorPickerKeyNavHandler: ({ event, activeColorPickerSection, palette, color, onChange, customColors, setActiveColorPickerSection, updateData, activeShade, onEyeDropperToggle, onEscape, }: ColorPickerKeyNavHandlerProps) => boolean;
|
|
16
21
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./Dialog.scss";
|
|
3
|
-
import { AppState } from "../types";
|
|
4
3
|
export interface DialogProps {
|
|
5
4
|
children: React.ReactNode;
|
|
6
5
|
className?: string;
|
|
@@ -8,7 +7,6 @@ export interface DialogProps {
|
|
|
8
7
|
onCloseRequest(): void;
|
|
9
8
|
title: React.ReactNode | false;
|
|
10
9
|
autofocus?: boolean;
|
|
11
|
-
theme?: AppState["theme"];
|
|
12
10
|
closeOnClickOutside?: boolean;
|
|
13
11
|
}
|
|
14
12
|
export declare const Dialog: (props: DialogProps) => JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./EyeDropper.scss";
|
|
3
|
+
type EyeDropperProperties = {
|
|
4
|
+
keepOpenOnAlt: boolean;
|
|
5
|
+
swapPreviewOnAlt?: boolean;
|
|
6
|
+
onSelect?: (color: string, event: PointerEvent) => void;
|
|
7
|
+
previewType?: "strokeColor" | "backgroundColor";
|
|
8
|
+
};
|
|
9
|
+
export declare const activeEyeDropperAtom: import("jotai").PrimitiveAtom<EyeDropperProperties | null> & {
|
|
10
|
+
init: EyeDropperProperties | null;
|
|
11
|
+
};
|
|
12
|
+
export declare const EyeDropper: React.FC<{
|
|
13
|
+
onCancel: () => void;
|
|
14
|
+
onSelect: Required<EyeDropperProperties>["onSelect"];
|
|
15
|
+
swapPreviewOnAlt?: EyeDropperProperties["swapPreviewOnAlt"];
|
|
16
|
+
previewType?: EyeDropperProperties["previewType"];
|
|
17
|
+
}>;
|
|
18
|
+
export {};
|
|
@@ -2,27 +2,7 @@ import React from "react";
|
|
|
2
2
|
import Library from "../data/library";
|
|
3
3
|
import { LibraryItems, LibraryItem, ExcalidrawProps, UIAppState } from "../types";
|
|
4
4
|
import "./LibraryMenu.scss";
|
|
5
|
-
export declare const isLibraryMenuOpenAtom: import("jotai").
|
|
6
|
-
write: (get: {
|
|
7
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
8
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
9
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
10
|
-
} & {
|
|
11
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
12
|
-
unstable_promise: true;
|
|
13
|
-
}): Value_3 | Promise<Value_3>;
|
|
14
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
15
|
-
unstable_promise: true;
|
|
16
|
-
}): Value_4 | Promise<Value_4>;
|
|
17
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
18
|
-
unstable_promise: true;
|
|
19
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
20
|
-
}, set: {
|
|
21
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
22
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
23
|
-
}, update: boolean | ((prev: boolean) => boolean)) => void;
|
|
24
|
-
onMount?: (<S extends (update: boolean | ((prev: boolean) => boolean)) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
25
|
-
} & {
|
|
5
|
+
export declare const isLibraryMenuOpenAtom: import("jotai").PrimitiveAtom<boolean> & {
|
|
26
6
|
init: boolean;
|
|
27
7
|
};
|
|
28
8
|
export declare const LibraryMenuContent: ({ onInsertLibraryItems, pendingElements, onAddToLibrary, setAppState, libraryReturnUrl, library, id, theme, selectedItems, onSelectItems, }: {
|
|
@@ -8,27 +8,7 @@ import "./Sidebar.scss";
|
|
|
8
8
|
*
|
|
9
9
|
* Since we can only render one Sidebar at a time, we can use a simple flag.
|
|
10
10
|
*/
|
|
11
|
-
export declare const isSidebarDockedAtom: import("jotai").
|
|
12
|
-
write: (get: {
|
|
13
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
14
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
15
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
16
|
-
} & {
|
|
17
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
18
|
-
unstable_promise: true;
|
|
19
|
-
}): Value_3 | Promise<Value_3>;
|
|
20
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
21
|
-
unstable_promise: true;
|
|
22
|
-
}): Value_4 | Promise<Value_4>;
|
|
23
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
24
|
-
unstable_promise: true;
|
|
25
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
26
|
-
}, set: {
|
|
27
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
28
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
29
|
-
}, update: boolean | ((prev: boolean) => boolean)) => void;
|
|
30
|
-
onMount?: (<S extends (update: boolean | ((prev: boolean) => boolean)) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
31
|
-
} & {
|
|
11
|
+
export declare const isSidebarDockedAtom: import("jotai").PrimitiveAtom<boolean> & {
|
|
32
12
|
init: boolean;
|
|
33
13
|
};
|
|
34
14
|
export declare const SidebarInner: React.ForwardRefExoticComponent<Pick<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./ToolIcon.scss";
|
|
2
|
-
import React from "react";
|
|
2
|
+
import React, { CSSProperties } from "react";
|
|
3
3
|
import { PointerType } from "../element/types";
|
|
4
4
|
export type ToolButtonSize = "small" | "medium";
|
|
5
5
|
type ToolButtonBaseProps = {
|
|
@@ -18,6 +18,7 @@ type ToolButtonBaseProps = {
|
|
|
18
18
|
visible?: boolean;
|
|
19
19
|
selected?: boolean;
|
|
20
20
|
className?: string;
|
|
21
|
+
style?: CSSProperties;
|
|
21
22
|
isLoading?: boolean;
|
|
22
23
|
};
|
|
23
24
|
type ToolButtonProps = (ToolButtonBaseProps & {
|
|
@@ -6,11 +6,12 @@ declare const DropdownMenu: {
|
|
|
6
6
|
open: boolean;
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
Trigger: {
|
|
9
|
-
({ className, children, onToggle, }: {
|
|
9
|
+
({ className, children, onToggle, title, ...rest }: {
|
|
10
10
|
className?: string | undefined;
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
onToggle: () => void;
|
|
13
|
-
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
14
15
|
displayName: string;
|
|
15
16
|
};
|
|
16
17
|
Content: {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const MenuTrigger: {
|
|
2
|
-
({ className, children, onToggle, }: {
|
|
3
|
+
({ className, children, onToggle, title, ...rest }: {
|
|
3
4
|
className?: string | undefined;
|
|
4
5
|
children: React.ReactNode;
|
|
5
6
|
onToggle: () => void;
|
|
6
|
-
|
|
7
|
+
title?: string | undefined;
|
|
8
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
7
9
|
displayName: string;
|
|
8
10
|
};
|
|
9
11
|
export default MenuTrigger;
|
|
@@ -144,4 +144,7 @@ export declare const helpIcon: JSX.Element;
|
|
|
144
144
|
export declare const playerPlayIcon: JSX.Element;
|
|
145
145
|
export declare const playerStopFilledIcon: JSX.Element;
|
|
146
146
|
export declare const tablerCheckIcon: JSX.Element;
|
|
147
|
+
export declare const eyeDropperIcon: JSX.Element;
|
|
148
|
+
export declare const extraToolsIcon: JSX.Element;
|
|
149
|
+
export declare const frameToolIcon: JSX.Element;
|
|
147
150
|
export {};
|
|
@@ -10,11 +10,12 @@ declare const MainMenu: React.FC<{
|
|
|
10
10
|
__fallback?: boolean | undefined;
|
|
11
11
|
}> & {
|
|
12
12
|
Trigger: {
|
|
13
|
-
({ className, children, onToggle, }: {
|
|
13
|
+
({ className, children, onToggle, title, ...rest }: {
|
|
14
14
|
className?: string | undefined;
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
onToggle: () => void;
|
|
17
|
-
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
18
19
|
displayName: string;
|
|
19
20
|
};
|
|
20
21
|
Item: {
|
package/types/constants.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare enum EVENT {
|
|
|
47
47
|
GESTURE_START = "gesturestart",
|
|
48
48
|
GESTURE_CHANGE = "gesturechange",
|
|
49
49
|
POINTER_MOVE = "pointermove",
|
|
50
|
+
POINTER_DOWN = "pointerdown",
|
|
50
51
|
POINTER_UP = "pointerup",
|
|
51
52
|
STATE_CHANGE = "statechange",
|
|
52
53
|
WHEEL = "wheel",
|
|
@@ -74,6 +75,19 @@ export declare const THEME: {
|
|
|
74
75
|
LIGHT: string;
|
|
75
76
|
DARK: string;
|
|
76
77
|
};
|
|
78
|
+
export declare const FRAME_STYLE: {
|
|
79
|
+
strokeColor: string;
|
|
80
|
+
strokeWidth: number;
|
|
81
|
+
strokeStyle: import("./element/types").StrokeStyle;
|
|
82
|
+
fillStyle: import("./element/types").FillStyle;
|
|
83
|
+
roughness: number;
|
|
84
|
+
roundness: {
|
|
85
|
+
type: import("./element/types").RoundnessType;
|
|
86
|
+
value?: number | undefined;
|
|
87
|
+
} | null;
|
|
88
|
+
backgroundColor: string;
|
|
89
|
+
radius: number;
|
|
90
|
+
};
|
|
77
91
|
export declare const WINDOWS_EMOJI_FALLBACK_FONT = "Segoe UI Emoji";
|
|
78
92
|
export declare const DEFAULT_FONT_SIZE = 20;
|
|
79
93
|
export declare const DEFAULT_FONT_FAMILY: FontFamilyValues;
|
package/types/data/library.d.ts
CHANGED
|
@@ -1,55 +1,11 @@
|
|
|
1
1
|
import { LibraryItems, ExcalidrawImperativeAPI, LibraryItemsSource } from "../types";
|
|
2
2
|
import type App from "../components/App";
|
|
3
3
|
import { ExcalidrawElement } from "../element/types";
|
|
4
|
-
export declare const libraryItemsAtom: import("jotai").
|
|
4
|
+
export declare const libraryItemsAtom: import("jotai").PrimitiveAtom<{
|
|
5
5
|
status: "loading" | "loaded";
|
|
6
6
|
isInitialized: boolean;
|
|
7
7
|
libraryItems: LibraryItems;
|
|
8
8
|
}> & {
|
|
9
|
-
write: (get: {
|
|
10
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
11
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
12
|
-
<Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_2;
|
|
13
|
-
} & {
|
|
14
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
15
|
-
unstable_promise: true;
|
|
16
|
-
}): Value_3 | Promise<Value_3>;
|
|
17
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
18
|
-
unstable_promise: true;
|
|
19
|
-
}): Value_4 | Promise<Value_4>;
|
|
20
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
21
|
-
unstable_promise: true;
|
|
22
|
-
}): (Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? V extends Promise<infer V> ? any : V : V : V : V : V : V : V : V : V : V : Value_5>;
|
|
23
|
-
}, set: {
|
|
24
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
25
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
26
|
-
}, update: {
|
|
27
|
-
status: "loading" | "loaded";
|
|
28
|
-
isInitialized: boolean;
|
|
29
|
-
libraryItems: LibraryItems;
|
|
30
|
-
} | ((prev: {
|
|
31
|
-
status: "loading" | "loaded";
|
|
32
|
-
isInitialized: boolean;
|
|
33
|
-
libraryItems: LibraryItems;
|
|
34
|
-
}) => {
|
|
35
|
-
status: "loading" | "loaded";
|
|
36
|
-
isInitialized: boolean;
|
|
37
|
-
libraryItems: LibraryItems;
|
|
38
|
-
})) => void;
|
|
39
|
-
onMount?: (<S extends (update: {
|
|
40
|
-
status: "loading" | "loaded";
|
|
41
|
-
isInitialized: boolean;
|
|
42
|
-
libraryItems: LibraryItems;
|
|
43
|
-
} | ((prev: {
|
|
44
|
-
status: "loading" | "loaded";
|
|
45
|
-
isInitialized: boolean;
|
|
46
|
-
libraryItems: LibraryItems;
|
|
47
|
-
}) => {
|
|
48
|
-
status: "loading" | "loaded";
|
|
49
|
-
isInitialized: boolean;
|
|
50
|
-
libraryItems: LibraryItems;
|
|
51
|
-
})) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
52
|
-
} & {
|
|
53
9
|
init: {
|
|
54
10
|
status: "loading" | "loaded";
|
|
55
11
|
isInitialized: boolean;
|
|
@@ -33,13 +33,17 @@ export declare const actionLink: {
|
|
|
33
33
|
isBindingEnabled: boolean;
|
|
34
34
|
startBoundElement: import("./types").NonDeleted<import("./types").ExcalidrawBindableElement> | null;
|
|
35
35
|
suggestedBindings: import("./binding").SuggestedBinding[];
|
|
36
|
+
frameToHighlight: import("./types").NonDeleted<import("./types").ExcalidrawFrameElement> | null;
|
|
37
|
+
shouldRenderFrames: boolean;
|
|
38
|
+
editingFrame: string | null;
|
|
39
|
+
elementsToHighlight: import("./types").NonDeleted<import("./types").ExcalidrawElement>[] | null;
|
|
36
40
|
editingElement: NonDeletedExcalidrawElement | null;
|
|
37
41
|
editingLinearElement: import("./linearElementEditor").LinearElementEditor | null;
|
|
38
42
|
activeTool: {
|
|
39
43
|
lastActiveTool: import("../types").LastActiveTool;
|
|
40
44
|
locked: boolean;
|
|
41
45
|
} & ({
|
|
42
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
46
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
43
47
|
customType: null;
|
|
44
48
|
} | {
|
|
45
49
|
type: "custom";
|
|
@@ -89,6 +93,7 @@ export declare const actionLink: {
|
|
|
89
93
|
previousSelectedElementIds: {
|
|
90
94
|
[id: string]: boolean;
|
|
91
95
|
};
|
|
96
|
+
selectedElementsAreBeingDragged: boolean;
|
|
92
97
|
shouldCacheIgnoreZoom: boolean;
|
|
93
98
|
toast: {
|
|
94
99
|
message: string;
|
|
@@ -7,7 +7,7 @@ export type SuggestedPointBinding = [
|
|
|
7
7
|
"start" | "end" | "both",
|
|
8
8
|
NonDeleted<ExcalidrawBindableElement>
|
|
9
9
|
];
|
|
10
|
-
export declare const shouldEnableBindingForPointerEvent: (event: React.PointerEvent<
|
|
10
|
+
export declare const shouldEnableBindingForPointerEvent: (event: React.PointerEvent<HTMLElement>) => boolean;
|
|
11
11
|
export declare const isBindingEnabled: (appState: AppState) => boolean;
|
|
12
12
|
export declare const bindOrUnbindLinearElement: (linearElement: NonDeleted<ExcalidrawLinearElement>, startBindingElement: ExcalidrawBindableElement | null | "keep", endBindingElement: ExcalidrawBindableElement | null | "keep") => void;
|
|
13
13
|
export declare const bindOrUnbindSelectedElements: (elements: NonDeleted<ExcalidrawElement>[]) => void;
|
|
@@ -1,21 +1,46 @@
|
|
|
1
1
|
import { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead, NonDeleted } from "./types";
|
|
2
2
|
import { Drawable, Op } from "roughjs/bin/core";
|
|
3
|
-
|
|
3
|
+
import { Point } from "../types";
|
|
4
|
+
export type RectangleBox = {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
angle: number;
|
|
10
|
+
};
|
|
11
|
+
export type Bounds = readonly [x1: number, y1: number, x2: number, y2: number];
|
|
12
|
+
export declare class ElementBounds {
|
|
13
|
+
private static boundsCache;
|
|
14
|
+
static getBounds(element: ExcalidrawElement): Bounds;
|
|
15
|
+
private static calculateBounds;
|
|
16
|
+
}
|
|
4
17
|
export declare const getElementAbsoluteCoords: (element: ExcalidrawElement, includeBoundText?: boolean) => [number, number, number, number, number, number];
|
|
18
|
+
/**
|
|
19
|
+
* for a given element, `getElementLineSegments` returns line segments
|
|
20
|
+
* that can be used for visual collision detection (useful for frames)
|
|
21
|
+
* as opposed to bounding box collision detection
|
|
22
|
+
*/
|
|
23
|
+
export declare const getElementLineSegments: (element: ExcalidrawElement) => [Point, Point][];
|
|
24
|
+
/**
|
|
25
|
+
* Scene -> Scene coords, but in x1,x2,y1,y2 format.
|
|
26
|
+
*
|
|
27
|
+
* Rectangle here means any rectangular frame, not an excalidraw element.
|
|
28
|
+
*/
|
|
29
|
+
export declare const getRectangleBoxAbsoluteCoords: (boxSceneCoords: RectangleBox) => number[];
|
|
5
30
|
export declare const pointRelativeTo: (element: ExcalidrawElement, absoluteCoords: readonly [number, number]) => readonly [number, number];
|
|
6
31
|
export declare const getDiamondPoints: (element: ExcalidrawElement) => number[];
|
|
7
32
|
export declare const getCurvePathOps: (shape: Drawable) => Op[];
|
|
8
33
|
export declare const getMinMaxXYFromCurvePathOps: (ops: Op[], transformXY?: ((x: number, y: number) => [number, number]) | undefined) => [number, number, number, number];
|
|
9
34
|
export declare const getArrowheadPoints: (element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead) => number[] | null;
|
|
10
|
-
export declare const getElementBounds: (element: ExcalidrawElement) =>
|
|
11
|
-
export declare const getCommonBounds: (elements: readonly ExcalidrawElement[]) =>
|
|
35
|
+
export declare const getElementBounds: (element: ExcalidrawElement) => Bounds;
|
|
36
|
+
export declare const getCommonBounds: (elements: readonly ExcalidrawElement[]) => Bounds;
|
|
12
37
|
export declare const getResizedElementAbsoluteCoords: (element: ExcalidrawElement, nextWidth: number, nextHeight: number, normalizePoints: boolean) => [number, number, number, number];
|
|
13
38
|
export declare const getElementPointsCoords: (element: ExcalidrawLinearElement, points: readonly (readonly [number, number])[]) => [number, number, number, number];
|
|
14
39
|
export declare const getClosestElementBounds: (elements: readonly ExcalidrawElement[], from: {
|
|
15
40
|
x: number;
|
|
16
41
|
y: number;
|
|
17
|
-
}) =>
|
|
18
|
-
export interface
|
|
42
|
+
}) => Bounds;
|
|
43
|
+
export interface BoundingBox {
|
|
19
44
|
minX: number;
|
|
20
45
|
minY: number;
|
|
21
46
|
maxX: number;
|
|
@@ -25,4 +50,4 @@ export interface Box {
|
|
|
25
50
|
width: number;
|
|
26
51
|
height: number;
|
|
27
52
|
}
|
|
28
|
-
export declare const getCommonBoundingBox: (elements: ExcalidrawElement[] | readonly NonDeleted<ExcalidrawElement>[]) =>
|
|
53
|
+
export declare const getCommonBoundingBox: (elements: ExcalidrawElement[] | readonly NonDeleted<ExcalidrawElement>[]) => BoundingBox;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as GA from "../ga";
|
|
2
|
-
import { NonDeletedExcalidrawElement, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawRectangleElement, ExcalidrawDiamondElement, ExcalidrawTextElement, ExcalidrawEllipseElement, NonDeleted, ExcalidrawImageElement } from "./types";
|
|
3
|
-
import { Point } from "../types";
|
|
2
|
+
import { NonDeletedExcalidrawElement, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawRectangleElement, ExcalidrawDiamondElement, ExcalidrawTextElement, ExcalidrawEllipseElement, NonDeleted, ExcalidrawImageElement, ExcalidrawFrameElement } from "./types";
|
|
3
|
+
import { FrameNameBoundsCache, Point } from "../types";
|
|
4
4
|
import { AppState } from "../types";
|
|
5
|
-
export declare const hitTest: (element: NonDeletedExcalidrawElement, appState: AppState, x: number, y: number) => boolean;
|
|
6
|
-
export declare const isHittingElementBoundingBoxWithoutHittingElement: (element: NonDeletedExcalidrawElement, appState: AppState, x: number, y: number) => boolean;
|
|
7
|
-
export declare const isHittingElementNotConsideringBoundingBox: (element: NonDeletedExcalidrawElement, appState: AppState, point: readonly [number, number]) => boolean;
|
|
8
|
-
export declare const isPointHittingElementBoundingBox: (element: NonDeleted<ExcalidrawElement>, [x, y]: readonly [number, number], threshold: number) => boolean;
|
|
5
|
+
export declare const hitTest: (element: NonDeletedExcalidrawElement, appState: AppState, frameNameBoundsCache: FrameNameBoundsCache, x: number, y: number) => boolean;
|
|
6
|
+
export declare const isHittingElementBoundingBoxWithoutHittingElement: (element: NonDeletedExcalidrawElement, appState: AppState, frameNameBoundsCache: FrameNameBoundsCache, x: number, y: number) => boolean;
|
|
7
|
+
export declare const isHittingElementNotConsideringBoundingBox: (element: NonDeletedExcalidrawElement, appState: AppState, frameNameBoundsCache: FrameNameBoundsCache | null, point: readonly [number, number]) => boolean;
|
|
8
|
+
export declare const isPointHittingElementBoundingBox: (element: NonDeleted<ExcalidrawElement>, [x, y]: readonly [number, number], threshold: number, frameNameBoundsCache: FrameNameBoundsCache | null) => boolean;
|
|
9
9
|
export declare const bindingBorderTest: (element: NonDeleted<ExcalidrawBindableElement>, { x, y }: {
|
|
10
10
|
x: number;
|
|
11
11
|
y: number;
|
|
@@ -18,4 +18,4 @@ export declare const determineFocusPoint: (element: ExcalidrawBindableElement, f
|
|
|
18
18
|
export declare const intersectElementWithLine: (element: ExcalidrawBindableElement, a: readonly [number, number], b: readonly [number, number], gap?: number) => Point[];
|
|
19
19
|
export declare const getCircleIntersections: (center: readonly [number, number, number, number, number, number, number, number], radius: number, line: readonly [number, number, number, number, number, number, number, number]) => GA.Point[];
|
|
20
20
|
export declare const findFocusPointForEllipse: (ellipse: ExcalidrawEllipseElement, relativeDistance: number, point: readonly [number, number, number, number, number, number, number, number]) => readonly [number, number, number, number, number, number, number, number];
|
|
21
|
-
export declare const findFocusPointForRectangulars: (element: ExcalidrawRectangleElement | ExcalidrawImageElement | ExcalidrawDiamondElement | ExcalidrawTextElement, relativeDistance: number, point: readonly [number, number, number, number, number, number, number, number]) => readonly [number, number, number, number, number, number, number, number];
|
|
21
|
+
export declare const findFocusPointForRectangulars: (element: ExcalidrawRectangleElement | ExcalidrawImageElement | ExcalidrawDiamondElement | ExcalidrawTextElement | ExcalidrawFrameElement, relativeDistance: number, point: readonly [number, number, number, number, number, number, number, number]) => readonly [number, number, number, number, number, number, number, number];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NonDeletedExcalidrawElement } from "./types";
|
|
2
2
|
import { AppState, PointerDownState } from "../types";
|
|
3
|
-
|
|
3
|
+
import Scene from "../scene/Scene";
|
|
4
|
+
export declare const dragSelectedElements: (pointerDownState: PointerDownState, selectedElements: NonDeletedExcalidrawElement[], pointerX: number, pointerY: number, lockDirection: boolean | undefined, distanceX: number | undefined, distanceY: number | undefined, appState: AppState, scene: Scene) => void;
|
|
4
5
|
export declare const getDragOffsetXY: (selectedElements: NonDeletedExcalidrawElement[], x: number, y: number) => [number, number];
|
|
5
6
|
export declare const dragNewElement: (draggingElement: NonDeletedExcalidrawElement, elementType: AppState["activeTool"]["type"], originX: number, originY: number, x: number, y: number, width: number, height: number, shouldMaintainAspectRatio: boolean, shouldResizeFromCenter: boolean, widthAspectRatio?: number | null) => void;
|