@excalidraw/excalidraw 0.15.2-2a4799d → 0.15.2-3d57112
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 +16 -0
- package/README.md +4 -0
- package/dist/excalidraw-assets/locales/ar-SA-json-b9c75e6743e089f51f9b.js +1 -0
- package/dist/excalidraw-assets/locales/az-AZ-json-32268e2c7ad89fce5d2c.js +1 -0
- package/dist/excalidraw-assets/locales/bg-BG-json-ff5ef83d3c2706367417.js +1 -0
- package/dist/excalidraw-assets/locales/bn-BD-json-f9b1344b2f5c0ab53ce8.js +1 -0
- package/dist/excalidraw-assets/locales/ca-ES-json-d4a1f01f8c174c315974.js +1 -0
- package/dist/excalidraw-assets/locales/cs-CZ-json-ff1b9bbfe92356698245.js +1 -0
- package/dist/excalidraw-assets/locales/da-DK-json-ac982a0c1e02b45f9500.js +1 -0
- package/dist/excalidraw-assets/locales/de-DE-json-a3222d8a9ed4864ccedf.js +1 -0
- package/dist/excalidraw-assets/locales/el-GR-json-8cc1609bd088ec4f197a.js +1 -0
- package/dist/excalidraw-assets/locales/es-ES-json-f2467c6a875a9e288756.js +1 -0
- package/dist/excalidraw-assets/locales/eu-ES-json-f9efd2bf2555bceb526a.js +1 -0
- package/dist/excalidraw-assets/locales/fa-IR-json-abcad5d329ac9558750e.js +1 -0
- package/dist/excalidraw-assets/locales/fi-FI-json-7250174bb3682c3ee602.js +1 -0
- package/dist/excalidraw-assets/locales/fr-FR-json-f82759a1bc767e0889bd.js +1 -0
- package/dist/excalidraw-assets/locales/gl-ES-json-8408403b5df17158e269.js +1 -0
- package/dist/excalidraw-assets/locales/he-IL-json-2e5cea590dd00f76b42f.js +1 -0
- package/dist/excalidraw-assets/locales/hi-IN-json-e22f4ad73126c2971850.js +1 -0
- package/dist/excalidraw-assets/locales/hu-HU-json-1b5028b3a2676b3e7bde.js +1 -0
- package/dist/excalidraw-assets/locales/id-ID-json-0e69caf5d919807ed234.js +1 -0
- package/dist/excalidraw-assets/locales/it-IT-json-a1526e95ebe4c2156ffb.js +1 -0
- package/dist/excalidraw-assets/locales/ja-JP-json-b7b0079dca8ece2551c7.js +1 -0
- package/dist/excalidraw-assets/locales/kaa-json-b2f03ae2f239b9fae304.js +1 -0
- package/dist/excalidraw-assets/locales/kab-KAB-json-e8618205ea49417e5fb4.js +1 -0
- package/dist/excalidraw-assets/locales/kk-KZ-json-106d2a41c68f69765668.js +1 -0
- package/dist/excalidraw-assets/locales/km-KH-json-920cbd8cb9ea3c2ce631.js +1 -0
- package/dist/excalidraw-assets/locales/ko-KR-json-e5f26d9854a5d68ada0a.js +1 -0
- package/dist/excalidraw-assets/locales/ku-TR-json-374bbbb0b003a490681d.js +1 -0
- package/dist/excalidraw-assets/locales/lt-LT-json-9caac0d3530651221c75.js +1 -0
- package/dist/excalidraw-assets/locales/lv-LV-json-c811870330575e53285c.js +1 -0
- package/dist/excalidraw-assets/locales/mr-IN-json-05294735c64b63223d8e.js +1 -0
- package/dist/excalidraw-assets/locales/my-MM-json-c3cff6d30b1e629f546f.js +1 -0
- package/dist/excalidraw-assets/locales/nb-NO-json-75cfab63ad7c2ff45f19.js +1 -0
- package/dist/excalidraw-assets/locales/nl-NL-json-90ef39ed303967aeb9c2.js +1 -0
- package/dist/excalidraw-assets/locales/nn-NO-json-1a8db0d8c3717d895cc5.js +1 -0
- package/dist/excalidraw-assets/locales/oc-FR-json-925326d13bc187dcd377.js +1 -0
- package/dist/excalidraw-assets/locales/pa-IN-json-0fd029451b07248c5194.js +1 -0
- package/dist/excalidraw-assets/locales/pl-PL-json-9a1b0b7262cd86ab734f.js +1 -0
- package/dist/excalidraw-assets/locales/pt-BR-json-62a1095dd13343b61194.js +1 -0
- package/dist/excalidraw-assets/locales/pt-PT-json-cc517eed349ce432b054.js +1 -0
- package/dist/excalidraw-assets/locales/ro-RO-json-162b57c475da796d5a5b.js +1 -0
- package/dist/excalidraw-assets/locales/ru-RU-json-cfc347872e181d1335a7.js +1 -0
- package/dist/excalidraw-assets/locales/si-LK-json-674ece30d49390e45733.js +1 -0
- package/dist/excalidraw-assets/locales/sk-SK-json-8edebc008b63305c87e1.js +1 -0
- package/dist/excalidraw-assets/locales/sl-SI-json-826580e1006547dbbd3b.js +1 -0
- package/dist/excalidraw-assets/locales/sv-SE-json-84a855efd030e37f51ab.js +1 -0
- package/dist/excalidraw-assets/locales/ta-IN-json-f59f50c4b8f2b2fee8ca.js +1 -0
- package/dist/excalidraw-assets/locales/th-TH-json-4cbe42d56e0a6f261769.js +1 -0
- package/dist/excalidraw-assets/locales/tr-TR-json-eb07e9699c26fef02345.js +1 -0
- package/dist/excalidraw-assets/locales/uk-UA-json-a48bb2e866a11d396a35.js +1 -0
- package/dist/excalidraw-assets/locales/vi-VN-json-cbbaff972778abc0e34b.js +1 -0
- package/dist/excalidraw-assets/locales/zh-CN-json-62d636303447fe79db54.js +1 -0
- package/dist/excalidraw-assets/locales/zh-HK-json-19e6814bddb06e0dd6e3.js +1 -0
- package/dist/excalidraw-assets/locales/zh-TW-json-3fcc3dcef74999ea3757.js +1 -0
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-a69e95810fd104088c5c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/az-AZ-json-589b1b62c7020f14c833.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-79742eced03e74339dfa.js +22 -0
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-737c1b739f303a032d89.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-5f515dea6151baaa2eaa.js +22 -0
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-124bc5ab8060f0c7e965.js +22 -0
- package/dist/excalidraw-assets-dev/locales/da-DK-json-d099915b14b07f999456.js +22 -0
- package/dist/excalidraw-assets-dev/locales/de-DE-json-d8d9ee97794526088903.js +22 -0
- package/dist/excalidraw-assets-dev/locales/el-GR-json-8562deea2ef40d73cf8a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/es-ES-json-da3d630806693d7dac08.js +22 -0
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-ea32646b47bf29438fb9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-e8d73ea1c5bdccca7b27.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-1d2a667fad3ea0ced0ef.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-ef3b02eac347cee42eac.js +22 -0
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-3c8bbe9429fc52e410b2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/he-IL-json-4a05a09da3b8c37144d5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-0300ce94e80ea89134af.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-331ac1b31c82505ea6cc.js +22 -0
- package/dist/excalidraw-assets-dev/locales/id-ID-json-f8ba56a28586e4e77070.js +22 -0
- package/dist/excalidraw-assets-dev/locales/it-IT-json-0d8f11dec1a87e9359c8.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-ceaa3287f265ae241112.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kaa-json-4efd2d14964af8a534cb.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-3e7e196cc06505d82d71.js +22 -0
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-96ab3e149666871ce872.js +22 -0
- package/dist/excalidraw-assets-dev/locales/km-KH-json-5e3f43be16a6ec0eb24f.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-1f078c7aad070d3bd0e9.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-fcef5d1f6a04981f2a5e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-09bf8afbe684fc98c92a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-95d0faca7a20097e219f.js +22 -0
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-3ffe983e37fedc73cd65.js +22 -0
- package/dist/excalidraw-assets-dev/locales/my-MM-json-c88241ade5d8f9bafe5d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-b80dd1befb2641b9364c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-4f65f25ec5e87503413e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-2134d8b06b7e30965748.js +22 -0
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-3e134022a025ff54b6f2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-97ad2e2064b71f244820.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-1ed88814e0018339868e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-49f03e588be4c6bbe08c.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-2929d15eba5953ef7715.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-785455320326c2640311.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-8836a70e1fe715aa70c7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/si-LK-json-244722aa29ba7ca8bd7a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-97afb0ec22d1503e2af4.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-e59c2bd944228503e705.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-8ee6702d94e84e48faa8.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-3c99dc4ff8af7e2523f3.js +22 -0
- package/dist/excalidraw-assets-dev/locales/th-TH-json-a4b323409d22013c30e2.js +22 -0
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-399c6f39c50e30399d18.js +22 -0
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-8657d9ac1c78af847957.js +22 -0
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-e81217b667a314e4b841.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-8a2394a4129f40872d71.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-2f278ce98daca1c37501.js +22 -0
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-e4eb1416e4564d3a1fd9.js +22 -0
- package/dist/excalidraw.development.js +1303 -247
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +2 -2
- package/types/actions/actionAddToLibrary.d.ts +36 -12
- package/types/actions/actionAlign.d.ts +6 -0
- package/types/actions/actionBoundText.d.ts +24 -8
- package/types/actions/actionCanvas.d.ts +121 -41
- package/types/actions/actionClipboard.d.ts +60 -20
- package/types/actions/actionDeleteSelected.d.ts +36 -12
- package/types/actions/actionElementLock.d.ts +254 -0
- package/types/actions/actionExport.d.ts +109 -37
- package/types/actions/actionFinalize.d.ts +24 -8
- package/types/actions/actionFlip.d.ts +2 -4
- package/types/actions/actionFrame.d.ts +397 -0
- package/types/actions/actionGroup.d.ts +2 -2
- package/types/actions/actionHistory.d.ts +1 -1
- package/types/actions/actionLinearEditor.d.ts +12 -4
- package/types/actions/actionMenu.d.ts +37 -14
- package/types/actions/actionNavigate.d.ts +1 -1
- package/types/actions/actionProperties.d.ts +158 -54
- package/types/actions/actionStyles.d.ts +12 -4
- package/types/actions/actionToggleGridMode.d.ts +12 -4
- package/types/actions/actionToggleStats.d.ts +12 -4
- package/types/actions/actionToggleViewMode.d.ts +12 -4
- package/types/actions/actionToggleZenMode.d.ts +12 -4
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/actions/index.d.ts +1 -1
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +7 -7
- package/types/appState.d.ts +6 -3
- package/types/charts.d.ts +2 -2
- package/types/clients.d.ts +5 -6
- package/types/clipboard.d.ts +2 -2
- package/types/colors.d.ts +60 -5
- package/types/components/Actions.d.ts +5 -5
- package/types/components/ActiveConfirmDialog.d.ts +1 -21
- package/types/components/App.d.ts +23 -6
- package/types/components/Avatar.d.ts +1 -2
- package/types/components/Button.d.ts +3 -1
- package/types/components/ColorPicker/ColorInput.d.ts +7 -0
- package/types/components/ColorPicker/ColorPicker.d.ts +19 -0
- package/types/components/ColorPicker/CustomColorList.d.ts +8 -0
- package/types/components/ColorPicker/HotkeyLabel.d.ts +8 -0
- package/types/components/ColorPicker/Picker.d.ts +18 -0
- package/types/components/ColorPicker/PickerColorList.d.ts +10 -0
- package/types/components/ColorPicker/PickerHeading.d.ts +5 -0
- package/types/components/ColorPicker/ShadeList.d.ts +8 -0
- package/types/components/ColorPicker/TopPicks.d.ts +9 -0
- package/types/components/ColorPicker/colorPickerUtils.d.ts +21 -0
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +21 -0
- package/types/components/ContextMenu.d.ts +3 -3
- package/types/components/DefaultSidebar.d.ts +30 -0
- package/types/components/Dialog.d.ts +3 -4
- package/types/components/EyeDropper.d.ts +18 -0
- package/types/components/FilledButton.d.ts +17 -0
- package/types/components/FixedSideContainer.d.ts +1 -1
- package/types/components/HandButton.d.ts +1 -1
- package/types/components/HelpButton.d.ts +1 -1
- package/types/components/HintViewer.d.ts +2 -2
- package/types/components/ImageExportDialog.d.ts +8 -13
- package/types/components/Island.d.ts +1 -1
- package/types/components/JSONExportDialog.d.ts +4 -4
- package/types/components/LayerUI.d.ts +4 -10
- package/types/components/LibraryMenu.d.ts +13 -14
- package/types/components/LibraryMenuBrowseButton.d.ts +2 -2
- package/types/components/LibraryMenuControlButtons.d.ts +9 -0
- package/types/components/LibraryMenuHeaderContent.d.ts +11 -28
- package/types/components/LibraryMenuItems.d.ts +6 -7
- package/types/components/LibraryMenuSection.d.ts +22 -0
- package/types/components/LibraryUnit.d.ts +7 -3
- package/types/components/LockButton.d.ts +1 -1
- package/types/components/MobileMenu.d.ts +4 -4
- package/types/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -0
- package/types/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -0
- package/types/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -0
- package/types/components/PasteChartDialog.d.ts +4 -5
- package/types/components/PenModeButton.d.ts +1 -1
- package/types/components/Popover.d.ts +1 -1
- package/types/components/ProjectName.d.ts +2 -1
- package/types/components/PublishLibrary.d.ts +2 -2
- package/types/components/RadioGroup.d.ts +12 -0
- package/types/components/Sidebar/Sidebar.d.ts +66 -63
- package/types/components/Sidebar/SidebarHeader.d.ts +6 -19
- package/types/components/Sidebar/SidebarTab.d.ts +9 -0
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +10 -0
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +7 -0
- package/types/components/Sidebar/SidebarTabs.d.ts +7 -0
- package/types/components/Sidebar/SidebarTrigger.d.ts +6 -0
- package/types/components/Sidebar/common.d.ts +24 -7
- package/types/components/Spinner.d.ts +2 -1
- package/types/components/Stack.d.ts +4 -3
- package/types/components/Stats.d.ts +3 -3
- package/types/components/Switch.d.ts +9 -0
- package/types/components/ToolButton.d.ts +5 -4
- package/types/components/Tooltip.d.ts +1 -1
- package/types/components/Trans.d.ts +8 -0
- package/types/components/dropdownMenu/DropdownMenu.d.ts +3 -2
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +4 -2
- package/types/components/footer/Footer.d.ts +2 -2
- package/types/components/icons.d.ts +11 -1
- package/types/components/main-menu/MainMenu.d.ts +3 -2
- package/types/constants.d.ts +42 -6
- package/types/context/tunnels.d.ts +19 -0
- package/types/context/ui-appState.d.ts +4 -0
- package/types/data/blob.d.ts +2 -2
- package/types/data/encode.d.ts +1 -1
- package/types/data/filesystem.d.ts +2 -1
- package/types/data/library.d.ts +3 -45
- package/types/data/restore.d.ts +2 -2
- package/types/data/types.d.ts +3 -5
- package/types/element/Hyperlink.d.ts +14 -6
- package/types/element/binding.d.ts +3 -3
- 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/image.d.ts +11 -1
- package/types/element/index.d.ts +3 -2
- package/types/element/linearElementEditor.d.ts +13 -5
- package/types/element/mutateElement.d.ts +1 -1
- package/types/element/newElement.d.ts +10 -3
- package/types/element/resizeElements.d.ts +1 -0
- package/types/element/showSelectedShapeActions.d.ts +2 -2
- package/types/element/textElement.d.ts +2 -2
- package/types/element/transformHandles.d.ts +12 -5
- package/types/element/typeChecks.d.ts +2 -1
- package/types/element/types.d.ts +40 -35
- package/types/errors.d.ts +1 -1
- package/types/frame.d.ts +40 -0
- package/types/ga.d.ts +5 -5
- package/types/groups.d.ts +4 -0
- package/types/hooks/useCreatePortalContainer.d.ts +4 -0
- package/types/hooks/useLibraryItemSvg.d.ts +11 -0
- package/types/hooks/useOutsideClick.d.ts +19 -1
- package/types/hooks/useScrollPosition.d.ts +2 -0
- package/types/hooks/useTransition.d.ts +2 -0
- package/types/i18n.d.ts +2 -2
- package/types/jotai.d.ts +16 -104
- package/types/keys.d.ts +2 -1
- package/types/math.d.ts +1 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-CN-json-62d636303447fe79db54.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-HK-json-19e6814bddb06e0dd6e3.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/zh-TW-json-3fcc3dcef74999ea3757.d.ts +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-CN-json-8a2394a4129f40872d71.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-HK-json-2f278ce98daca1c37501.d.ts +2 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/zh-TW-json-e4eb1416e4564d3a1fd9.d.ts +2 -0
- package/types/packages/excalidraw/example/initialData.d.ts +6 -0
- package/types/packages/excalidraw/index.d.ts +2 -1
- package/types/packages/utils.d.ts +1 -1
- package/types/renderer/renderElement.d.ts +4 -3
- package/types/renderer/renderScene.d.ts +12 -3
- package/types/renderer/roundRect.d.ts +1 -1
- package/types/scene/Scene.d.ts +12 -5
- package/types/scene/export.d.ts +1 -0
- package/types/scene/selection.d.ts +15 -5
- package/types/scene/types.d.ts +4 -4
- package/types/types.d.ts +88 -49
- package/types/utility-types.d.ts +13 -13
- package/types/utils.d.ts +10 -7
- package/types/zindex.d.ts +4 -4
- package/dist/excalidraw-assets/locales/ar-SA-json-06d4bd2f3a164162f2b8.js +0 -1
- package/dist/excalidraw-assets/locales/bg-BG-json-72ac7b7548d7fefdcd2a.js +0 -1
- package/dist/excalidraw-assets/locales/bn-BD-json-759924ef13bd9e602cb3.js +0 -1
- package/dist/excalidraw-assets/locales/ca-ES-json-6108f4ae0be3d1e369a6.js +0 -1
- package/dist/excalidraw-assets/locales/cs-CZ-json-1ae99f296c9febb99f72.js +0 -1
- package/dist/excalidraw-assets/locales/da-DK-json-ed85a6f48e1df51b1b46.js +0 -1
- package/dist/excalidraw-assets/locales/de-DE-json-f70dfb7201a16dc3f9fc.js +0 -1
- package/dist/excalidraw-assets/locales/el-GR-json-79f7d66730b39df84f8e.js +0 -1
- package/dist/excalidraw-assets/locales/es-ES-json-682b92427b8b27bb0aa8.js +0 -1
- package/dist/excalidraw-assets/locales/eu-ES-json-1cc77079b354b962615f.js +0 -1
- package/dist/excalidraw-assets/locales/fa-IR-json-586a1324f942d89620b6.js +0 -1
- package/dist/excalidraw-assets/locales/fi-FI-json-d43636fb51002f55e2a4.js +0 -1
- package/dist/excalidraw-assets/locales/fr-FR-json-b5ea877625968f748b7f.js +0 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-2117445509ba7c479ee0.js +0 -1
- package/dist/excalidraw-assets/locales/he-IL-json-3280be0edae615c7685f.js +0 -1
- package/dist/excalidraw-assets/locales/hi-IN-json-dad8ce15f9b7a435a926.js +0 -1
- package/dist/excalidraw-assets/locales/hu-HU-json-6ccf0d8a164ecec52187.js +0 -1
- package/dist/excalidraw-assets/locales/id-ID-json-6031eb8be253b20c28e9.js +0 -1
- package/dist/excalidraw-assets/locales/it-IT-json-446b14f993000d0f572f.js +0 -1
- package/dist/excalidraw-assets/locales/ja-JP-json-ef6ec5abb0c3c53c7a51.js +0 -1
- package/dist/excalidraw-assets/locales/kab-KAB-json-69853849c71eff277ba0.js +0 -1
- package/dist/excalidraw-assets/locales/kk-KZ-json-1f9df2b51e34996bad30.js +0 -1
- package/dist/excalidraw-assets/locales/ko-KR-json-cf33ecf52ab95055544b.js +0 -1
- package/dist/excalidraw-assets/locales/ku-TR-json-d10a4bb9ede3c08a08e1.js +0 -1
- package/dist/excalidraw-assets/locales/lt-LT-json-08c7fc343ef2f533ec5f.js +0 -1
- package/dist/excalidraw-assets/locales/lv-LV-json-1e3a5e87e39d2d90274c.js +0 -1
- package/dist/excalidraw-assets/locales/mr-IN-json-c922a007bb00d3e4f3b1.js +0 -1
- package/dist/excalidraw-assets/locales/my-MM-json-1a05d5c242c822079dca.js +0 -1
- package/dist/excalidraw-assets/locales/nb-NO-json-7ea7ab2356e76889af8d.js +0 -1
- package/dist/excalidraw-assets/locales/nl-NL-json-5805f36f33a3f8e53adc.js +0 -1
- package/dist/excalidraw-assets/locales/nn-NO-json-8209f0f674435b52293d.js +0 -1
- package/dist/excalidraw-assets/locales/oc-FR-json-e90ca79174b6e1eccb72.js +0 -1
- package/dist/excalidraw-assets/locales/pa-IN-json-1854ecccf3c6f8ea9c46.js +0 -1
- package/dist/excalidraw-assets/locales/pl-PL-json-b4be83b26070e4cf70ca.js +0 -1
- package/dist/excalidraw-assets/locales/pt-BR-json-2e7a1690edc8d46e8842.js +0 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-aba1622a80e32e465a3d.js +0 -1
- package/dist/excalidraw-assets/locales/ro-RO-json-3397acad1a98b5093c8b.js +0 -1
- package/dist/excalidraw-assets/locales/ru-RU-json-8ab49e8d0473e92a8ab9.js +0 -1
- package/dist/excalidraw-assets/locales/si-LK-json-db1222db995d9425e281.js +0 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-50dcb09552f93c2de3a4.js +0 -1
- package/dist/excalidraw-assets/locales/sl-SI-json-68eba9ac00ae57bae3f4.js +0 -1
- package/dist/excalidraw-assets/locales/sv-SE-json-36b97455521e61312a47.js +0 -1
- package/dist/excalidraw-assets/locales/ta-IN-json-4063d11b19f24794564a.js +0 -1
- package/dist/excalidraw-assets/locales/th-TH-json-3a152569bbebfec7c6c0.js +0 -1
- package/dist/excalidraw-assets/locales/tr-TR-json-9002b1505b0931924d42.js +0 -1
- package/dist/excalidraw-assets/locales/uk-UA-json-4e345c790342b7672248.js +0 -1
- package/dist/excalidraw-assets/locales/vi-VN-json-2f5b95c0011820e16f4b.js +0 -1
- package/dist/excalidraw-assets/locales/zh-CN-json-2cb13b38b6615ada3097.js +0 -1
- package/dist/excalidraw-assets/locales/zh-HK-json-4bcbf71743fda1544a84.js +0 -1
- package/dist/excalidraw-assets/locales/zh-TW-json-c39caba2da3f001066a8.js +0 -1
- package/dist/excalidraw-assets-dev/locales/ar-SA-json-8df64942a3f6232064a4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bg-BG-json-f0939048738ceeacefae.js +0 -22
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-4b92eb02a90d83c47173.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-e85ce0d6447d42432c66.js +0 -22
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-2a885b79b3be836df283.js +0 -22
- package/dist/excalidraw-assets-dev/locales/da-DK-json-dfdaec93be64dc2704d9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/de-DE-json-72757b9d842748bf832e.js +0 -22
- package/dist/excalidraw-assets-dev/locales/el-GR-json-c18382659d1c0307b73b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/es-ES-json-aacc6f2fd98f0f967c32.js +0 -22
- package/dist/excalidraw-assets-dev/locales/eu-ES-json-63e15be6c04e80959411.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fa-IR-json-7b9d274d5accc82982e9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fi-FI-json-b466031cdd8ef6f8c32b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-0d4f6fdfa9be76a941d7.js +0 -22
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-46863175bb629a5bb37e.js +0 -22
- package/dist/excalidraw-assets-dev/locales/he-IL-json-e0bd304682986695208c.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-0e1dae2ff14e81ba2dd4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hu-HU-json-230434a2a2eb764d410c.js +0 -22
- package/dist/excalidraw-assets-dev/locales/id-ID-json-c163c21859b707d96c6d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/it-IT-json-f3776c336b416375460b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-452835b81621e5ae6cb6.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kab-KAB-json-61a7d382c88b96fe1f38.js +0 -22
- package/dist/excalidraw-assets-dev/locales/kk-KZ-json-0f99b0b0e9aeb250f10d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-3de3dc5cb1dac5b79f94.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ku-TR-json-22a3fdac3947f747cd75.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-535e00475a2d73aa8927.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lv-LV-json-6e981883d91c29060dd4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-6ad409707531c84de376.js +0 -22
- package/dist/excalidraw-assets-dev/locales/my-MM-json-cb25da0149000113fd3f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nb-NO-json-bd11ba266e4e2c0fa619.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nl-NL-json-8e66a88c43a7eeed44f8.js +0 -22
- package/dist/excalidraw-assets-dev/locales/nn-NO-json-608fd6a88621d6d18035.js +0 -22
- package/dist/excalidraw-assets-dev/locales/oc-FR-json-dc16297d69033e71846a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pa-IN-json-03bbe592bfa55fe214a9.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pl-PL-json-3e483c75de431520dfa3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-a9f4548703a436582ea1.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-722910761860dbd3fb87.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-fe65a70419c866a6ce94.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ru-RU-json-2c39ffbb623db8024be0.js +0 -22
- package/dist/excalidraw-assets-dev/locales/si-LK-json-a867646cf3fa3a22cafb.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-bb5ffb40cd779a63565f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sl-SI-json-d1036f8f3d1f6b1a70f4.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sv-SE-json-53791d0a923a4de6a2e2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ta-IN-json-30fffc9f1cedf1d559d8.js +0 -22
- package/dist/excalidraw-assets-dev/locales/th-TH-json-523e92f9f3b6924c3f66.js +0 -22
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-e43e35aa81edeb9058ee.js +0 -22
- package/dist/excalidraw-assets-dev/locales/uk-UA-json-2cd06c30d512defd8a0b.js +0 -22
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-fe2d25d75865c608e798.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-CN-json-e5e59a1cd383192a1792.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-HK-json-2e545ed460deb9818584.js +0 -22
- package/dist/excalidraw-assets-dev/locales/zh-TW-json-5c0415fa2e3076904544.js +0 -22
- package/types/actions/actionToggleLock.d.ts +0 -119
- package/types/components/ColorPicker.d.ts +0 -14
- package/types/components/LibraryButton.d.ts +0 -8
- package/types/components/context/tunnels.d.ts +0 -16
- package/types/components/hoc/withUpstreamOverride.d.ts +0 -10
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-TW-json-c39caba2da3f001066a8.d.ts → ar-SA-json-b9c75e6743e089f51f9b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-HK-json-4bcbf71743fda1544a84.d.ts → az-AZ-json-32268e2c7ad89fce5d2c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{zh-CN-json-2cb13b38b6615ada3097.d.ts → bg-BG-json-ff5ef83d3c2706367417.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-2f5b95c0011820e16f4b.d.ts → bn-BD-json-f9b1344b2f5c0ab53ce8.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{uk-UA-json-4e345c790342b7672248.d.ts → ca-ES-json-d4a1f01f8c174c315974.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-9002b1505b0931924d42.d.ts → cs-CZ-json-ff1b9bbfe92356698245.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{th-TH-json-3a152569bbebfec7c6c0.d.ts → da-DK-json-ac982a0c1e02b45f9500.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ta-IN-json-4063d11b19f24794564a.d.ts → de-DE-json-a3222d8a9ed4864ccedf.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sv-SE-json-36b97455521e61312a47.d.ts → el-GR-json-8cc1609bd088ec4f197a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sl-SI-json-68eba9ac00ae57bae3f4.d.ts → es-ES-json-f2467c6a875a9e288756.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-50dcb09552f93c2de3a4.d.ts → eu-ES-json-f9efd2bf2555bceb526a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{si-LK-json-db1222db995d9425e281.d.ts → fa-IR-json-abcad5d329ac9558750e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ru-RU-json-8ab49e8d0473e92a8ab9.d.ts → fi-FI-json-7250174bb3682c3ee602.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-3397acad1a98b5093c8b.d.ts → fr-FR-json-f82759a1bc767e0889bd.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-PT-json-aba1622a80e32e465a3d.d.ts → gl-ES-json-8408403b5df17158e269.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-BR-json-2e7a1690edc8d46e8842.d.ts → he-IL-json-2e5cea590dd00f76b42f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pl-PL-json-b4be83b26070e4cf70ca.d.ts → hi-IN-json-e22f4ad73126c2971850.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-1854ecccf3c6f8ea9c46.d.ts → hu-HU-json-1b5028b3a2676b3e7bde.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{oc-FR-json-e90ca79174b6e1eccb72.d.ts → id-ID-json-0e69caf5d919807ed234.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nn-NO-json-8209f0f674435b52293d.d.ts → it-IT-json-a1526e95ebe4c2156ffb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nl-NL-json-5805f36f33a3f8e53adc.d.ts → ja-JP-json-b7b0079dca8ece2551c7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{nb-NO-json-7ea7ab2356e76889af8d.d.ts → kaa-json-b2f03ae2f239b9fae304.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{my-MM-json-1a05d5c242c822079dca.d.ts → kab-KAB-json-e8618205ea49417e5fb4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-c922a007bb00d3e4f3b1.d.ts → kk-KZ-json-106d2a41c68f69765668.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lv-LV-json-1e3a5e87e39d2d90274c.d.ts → km-KH-json-920cbd8cb9ea3c2ce631.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-08c7fc343ef2f533ec5f.d.ts → ko-KR-json-e5f26d9854a5d68ada0a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ku-TR-json-d10a4bb9ede3c08a08e1.d.ts → ku-TR-json-374bbbb0b003a490681d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ko-KR-json-cf33ecf52ab95055544b.d.ts → lt-LT-json-9caac0d3530651221c75.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-1f9df2b51e34996bad30.d.ts → lv-LV-json-c811870330575e53285c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kab-KAB-json-69853849c71eff277ba0.d.ts → mr-IN-json-05294735c64b63223d8e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ja-JP-json-ef6ec5abb0c3c53c7a51.d.ts → my-MM-json-c3cff6d30b1e629f546f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{it-IT-json-446b14f993000d0f572f.d.ts → nb-NO-json-75cfab63ad7c2ff45f19.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-6031eb8be253b20c28e9.d.ts → nl-NL-json-90ef39ed303967aeb9c2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hu-HU-json-6ccf0d8a164ecec52187.d.ts → nn-NO-json-1a8db0d8c3717d895cc5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-dad8ce15f9b7a435a926.d.ts → oc-FR-json-925326d13bc187dcd377.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{he-IL-json-3280be0edae615c7685f.d.ts → pa-IN-json-0fd029451b07248c5194.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-2117445509ba7c479ee0.d.ts → pl-PL-json-9a1b0b7262cd86ab734f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-b5ea877625968f748b7f.d.ts → pt-BR-json-62a1095dd13343b61194.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fi-FI-json-d43636fb51002f55e2a4.d.ts → pt-PT-json-cc517eed349ce432b054.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fa-IR-json-586a1324f942d89620b6.d.ts → ro-RO-json-162b57c475da796d5a5b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{eu-ES-json-1cc77079b354b962615f.d.ts → ru-RU-json-cfc347872e181d1335a7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-682b92427b8b27bb0aa8.d.ts → si-LK-json-674ece30d49390e45733.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{el-GR-json-79f7d66730b39df84f8e.d.ts → sk-SK-json-8edebc008b63305c87e1.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-f70dfb7201a16dc3f9fc.d.ts → sl-SI-json-826580e1006547dbbd3b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{da-DK-json-ed85a6f48e1df51b1b46.d.ts → sv-SE-json-84a855efd030e37f51ab.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{cs-CZ-json-1ae99f296c9febb99f72.d.ts → ta-IN-json-f59f50c4b8f2b2fee8ca.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ca-ES-json-6108f4ae0be3d1e369a6.d.ts → th-TH-json-4cbe42d56e0a6f261769.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-759924ef13bd9e602cb3.d.ts → tr-TR-json-eb07e9699c26fef02345.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bg-BG-json-72ac7b7548d7fefdcd2a.d.ts → uk-UA-json-a48bb2e866a11d396a35.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ar-SA-json-06d4bd2f3a164162f2b8.d.ts → vi-VN-json-cbbaff972778abc0e34b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-TW-json-5c0415fa2e3076904544.d.ts → ar-SA-json-a69e95810fd104088c5c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-HK-json-2e545ed460deb9818584.d.ts → az-AZ-json-589b1b62c7020f14c833.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{zh-CN-json-e5e59a1cd383192a1792.d.ts → bg-BG-json-79742eced03e74339dfa.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-fe2d25d75865c608e798.d.ts → bn-BD-json-737c1b739f303a032d89.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{uk-UA-json-2cd06c30d512defd8a0b.d.ts → ca-ES-json-5f515dea6151baaa2eaa.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-e43e35aa81edeb9058ee.d.ts → cs-CZ-json-124bc5ab8060f0c7e965.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{th-TH-json-523e92f9f3b6924c3f66.d.ts → da-DK-json-d099915b14b07f999456.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ta-IN-json-30fffc9f1cedf1d559d8.d.ts → de-DE-json-d8d9ee97794526088903.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sv-SE-json-53791d0a923a4de6a2e2.d.ts → el-GR-json-8562deea2ef40d73cf8a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sl-SI-json-d1036f8f3d1f6b1a70f4.d.ts → es-ES-json-da3d630806693d7dac08.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-bb5ffb40cd779a63565f.d.ts → eu-ES-json-ea32646b47bf29438fb9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{si-LK-json-a867646cf3fa3a22cafb.d.ts → fa-IR-json-e8d73ea1c5bdccca7b27.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ru-RU-json-2c39ffbb623db8024be0.d.ts → fi-FI-json-1d2a667fad3ea0ced0ef.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-fe65a70419c866a6ce94.d.ts → fr-FR-json-ef3b02eac347cee42eac.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-722910761860dbd3fb87.d.ts → gl-ES-json-3c8bbe9429fc52e410b2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-a9f4548703a436582ea1.d.ts → he-IL-json-4a05a09da3b8c37144d5.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pl-PL-json-3e483c75de431520dfa3.d.ts → hi-IN-json-0300ce94e80ea89134af.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pa-IN-json-03bbe592bfa55fe214a9.d.ts → hu-HU-json-331ac1b31c82505ea6cc.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{oc-FR-json-dc16297d69033e71846a.d.ts → id-ID-json-f8ba56a28586e4e77070.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nn-NO-json-608fd6a88621d6d18035.d.ts → it-IT-json-0d8f11dec1a87e9359c8.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nl-NL-json-8e66a88c43a7eeed44f8.d.ts → ja-JP-json-ceaa3287f265ae241112.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{nb-NO-json-bd11ba266e4e2c0fa619.d.ts → kaa-json-4efd2d14964af8a534cb.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{my-MM-json-cb25da0149000113fd3f.d.ts → kab-KAB-json-3e7e196cc06505d82d71.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-6ad409707531c84de376.d.ts → kk-KZ-json-96ab3e149666871ce872.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lv-LV-json-6e981883d91c29060dd4.d.ts → km-KH-json-5e3f43be16a6ec0eb24f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-535e00475a2d73aa8927.d.ts → ko-KR-json-1f078c7aad070d3bd0e9.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ku-TR-json-22a3fdac3947f747cd75.d.ts → ku-TR-json-fcef5d1f6a04981f2a5e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-3de3dc5cb1dac5b79f94.d.ts → lt-LT-json-09bf8afbe684fc98c92a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kk-KZ-json-0f99b0b0e9aeb250f10d.d.ts → lv-LV-json-95d0faca7a20097e219f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{kab-KAB-json-61a7d382c88b96fe1f38.d.ts → mr-IN-json-3ffe983e37fedc73cd65.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-452835b81621e5ae6cb6.d.ts → my-MM-json-c88241ade5d8f9bafe5d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{it-IT-json-f3776c336b416375460b.d.ts → nb-NO-json-b80dd1befb2641b9364c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-c163c21859b707d96c6d.d.ts → nl-NL-json-4f65f25ec5e87503413e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hu-HU-json-230434a2a2eb764d410c.d.ts → nn-NO-json-2134d8b06b7e30965748.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-0e1dae2ff14e81ba2dd4.d.ts → oc-FR-json-3e134022a025ff54b6f2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{he-IL-json-e0bd304682986695208c.d.ts → pa-IN-json-97ad2e2064b71f244820.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-46863175bb629a5bb37e.d.ts → pl-PL-json-1ed88814e0018339868e.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-0d4f6fdfa9be76a941d7.d.ts → pt-BR-json-49f03e588be4c6bbe08c.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fi-FI-json-b466031cdd8ef6f8c32b.d.ts → pt-PT-json-2929d15eba5953ef7715.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fa-IR-json-7b9d274d5accc82982e9.d.ts → ro-RO-json-785455320326c2640311.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{eu-ES-json-63e15be6c04e80959411.d.ts → ru-RU-json-8836a70e1fe715aa70c7.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-aacc6f2fd98f0f967c32.d.ts → si-LK-json-244722aa29ba7ca8bd7a.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-c18382659d1c0307b73b.d.ts → sk-SK-json-97afb0ec22d1503e2af4.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-72757b9d842748bf832e.d.ts → sl-SI-json-e59c2bd944228503e705.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{da-DK-json-dfdaec93be64dc2704d9.d.ts → sv-SE-json-8ee6702d94e84e48faa8.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-2a885b79b3be836df283.d.ts → ta-IN-json-3c99dc4ff8af7e2523f3.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-e85ce0d6447d42432c66.d.ts → th-TH-json-a4b323409d22013c30e2.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-4b92eb02a90d83c47173.d.ts → tr-TR-json-399c6f39c50e30399d18.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bg-BG-json-f0939048738ceeacefae.d.ts → uk-UA-json-8657d9ac1c78af847957.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ar-SA-json-8df64942a3f6232064a4.d.ts → vi-VN-json-e81217b667a314e4b841.d.ts} +0 -0
|
@@ -25,13 +25,17 @@ export declare const actionToggleGridMode: {
|
|
|
25
25
|
isBindingEnabled: boolean;
|
|
26
26
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
27
27
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
28
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
29
|
+
shouldRenderFrames: boolean;
|
|
30
|
+
editingFrame: string | null;
|
|
31
|
+
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
28
32
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
29
33
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
30
34
|
activeTool: {
|
|
31
35
|
lastActiveTool: import("../types").LastActiveTool;
|
|
32
36
|
locked: boolean;
|
|
33
37
|
} & ({
|
|
34
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
38
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
35
39
|
customType: null;
|
|
36
40
|
} | {
|
|
37
41
|
type: "custom";
|
|
@@ -68,10 +72,13 @@ export declare const actionToggleGridMode: {
|
|
|
68
72
|
value: import("../types").NormalizedZoomValue;
|
|
69
73
|
}>;
|
|
70
74
|
openMenu: "canvas" | "shape" | null;
|
|
71
|
-
openPopup: "
|
|
72
|
-
openSidebar:
|
|
75
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
76
|
+
openSidebar: {
|
|
77
|
+
name: string;
|
|
78
|
+
tab?: string | undefined;
|
|
79
|
+
} | null;
|
|
73
80
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
74
|
-
|
|
81
|
+
defaultSidebarDockedPreference: boolean;
|
|
75
82
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
76
83
|
selectedElementIds: {
|
|
77
84
|
[id: string]: boolean;
|
|
@@ -79,6 +86,7 @@ export declare const actionToggleGridMode: {
|
|
|
79
86
|
previousSelectedElementIds: {
|
|
80
87
|
[id: string]: boolean;
|
|
81
88
|
};
|
|
89
|
+
selectedElementsAreBeingDragged: boolean;
|
|
82
90
|
shouldCacheIgnoreZoom: boolean;
|
|
83
91
|
toast: {
|
|
84
92
|
message: string;
|
|
@@ -23,13 +23,17 @@ export declare const actionToggleStats: {
|
|
|
23
23
|
isBindingEnabled: boolean;
|
|
24
24
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
25
25
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
26
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
27
|
+
shouldRenderFrames: boolean;
|
|
28
|
+
editingFrame: string | null;
|
|
29
|
+
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
26
30
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
27
31
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
28
32
|
activeTool: {
|
|
29
33
|
lastActiveTool: import("../types").LastActiveTool;
|
|
30
34
|
locked: boolean;
|
|
31
35
|
} & ({
|
|
32
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
36
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
33
37
|
customType: null;
|
|
34
38
|
} | {
|
|
35
39
|
type: "custom";
|
|
@@ -66,10 +70,13 @@ export declare const actionToggleStats: {
|
|
|
66
70
|
value: import("../types").NormalizedZoomValue;
|
|
67
71
|
}>;
|
|
68
72
|
openMenu: "canvas" | "shape" | null;
|
|
69
|
-
openPopup: "
|
|
70
|
-
openSidebar:
|
|
73
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
74
|
+
openSidebar: {
|
|
75
|
+
name: string;
|
|
76
|
+
tab?: string | undefined;
|
|
77
|
+
} | null;
|
|
71
78
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
72
|
-
|
|
79
|
+
defaultSidebarDockedPreference: boolean;
|
|
73
80
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
74
81
|
selectedElementIds: {
|
|
75
82
|
[id: string]: boolean;
|
|
@@ -77,6 +84,7 @@ export declare const actionToggleStats: {
|
|
|
77
84
|
previousSelectedElementIds: {
|
|
78
85
|
[id: string]: boolean;
|
|
79
86
|
};
|
|
87
|
+
selectedElementsAreBeingDragged: boolean;
|
|
80
88
|
shouldCacheIgnoreZoom: boolean;
|
|
81
89
|
toast: {
|
|
82
90
|
message: string;
|
|
@@ -24,13 +24,17 @@ export declare const actionToggleViewMode: {
|
|
|
24
24
|
isBindingEnabled: boolean;
|
|
25
25
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
26
26
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
27
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
28
|
+
shouldRenderFrames: boolean;
|
|
29
|
+
editingFrame: string | null;
|
|
30
|
+
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
27
31
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
28
32
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
29
33
|
activeTool: {
|
|
30
34
|
lastActiveTool: import("../types").LastActiveTool;
|
|
31
35
|
locked: boolean;
|
|
32
36
|
} & ({
|
|
33
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
37
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
34
38
|
customType: null;
|
|
35
39
|
} | {
|
|
36
40
|
type: "custom";
|
|
@@ -67,10 +71,13 @@ export declare const actionToggleViewMode: {
|
|
|
67
71
|
value: import("../types").NormalizedZoomValue;
|
|
68
72
|
}>;
|
|
69
73
|
openMenu: "canvas" | "shape" | null;
|
|
70
|
-
openPopup: "
|
|
71
|
-
openSidebar:
|
|
74
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
75
|
+
openSidebar: {
|
|
76
|
+
name: string;
|
|
77
|
+
tab?: string | undefined;
|
|
78
|
+
} | null;
|
|
72
79
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
73
|
-
|
|
80
|
+
defaultSidebarDockedPreference: boolean;
|
|
74
81
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
75
82
|
selectedElementIds: {
|
|
76
83
|
[id: string]: boolean;
|
|
@@ -78,6 +85,7 @@ export declare const actionToggleViewMode: {
|
|
|
78
85
|
previousSelectedElementIds: {
|
|
79
86
|
[id: string]: boolean;
|
|
80
87
|
};
|
|
88
|
+
selectedElementsAreBeingDragged: boolean;
|
|
81
89
|
shouldCacheIgnoreZoom: boolean;
|
|
82
90
|
toast: {
|
|
83
91
|
message: string;
|
|
@@ -24,13 +24,17 @@ export declare const actionToggleZenMode: {
|
|
|
24
24
|
isBindingEnabled: boolean;
|
|
25
25
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
26
26
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
27
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
28
|
+
shouldRenderFrames: boolean;
|
|
29
|
+
editingFrame: string | null;
|
|
30
|
+
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
27
31
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
28
32
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
29
33
|
activeTool: {
|
|
30
34
|
lastActiveTool: import("../types").LastActiveTool;
|
|
31
35
|
locked: boolean;
|
|
32
36
|
} & ({
|
|
33
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
37
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
34
38
|
customType: null;
|
|
35
39
|
} | {
|
|
36
40
|
type: "custom";
|
|
@@ -67,10 +71,13 @@ export declare const actionToggleZenMode: {
|
|
|
67
71
|
value: import("../types").NormalizedZoomValue;
|
|
68
72
|
}>;
|
|
69
73
|
openMenu: "canvas" | "shape" | null;
|
|
70
|
-
openPopup: "
|
|
71
|
-
openSidebar:
|
|
74
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
75
|
+
openSidebar: {
|
|
76
|
+
name: string;
|
|
77
|
+
tab?: string | undefined;
|
|
78
|
+
} | null;
|
|
72
79
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
73
|
-
|
|
80
|
+
defaultSidebarDockedPreference: boolean;
|
|
74
81
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
75
82
|
selectedElementIds: {
|
|
76
83
|
[id: string]: boolean;
|
|
@@ -78,6 +85,7 @@ export declare const actionToggleZenMode: {
|
|
|
78
85
|
previousSelectedElementIds: {
|
|
79
86
|
[id: string]: boolean;
|
|
80
87
|
};
|
|
88
|
+
selectedElementsAreBeingDragged: boolean;
|
|
81
89
|
shouldCacheIgnoreZoom: boolean;
|
|
82
90
|
toast: {
|
|
83
91
|
message: string;
|
|
@@ -5,7 +5,7 @@ export declare const actionSendBackward: {
|
|
|
5
5
|
category: "element";
|
|
6
6
|
};
|
|
7
7
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
|
|
8
|
-
elements:
|
|
8
|
+
elements: import("../element/types").ExcalidrawElement[];
|
|
9
9
|
appState: Readonly<import("../types").AppState>;
|
|
10
10
|
commitToHistory: true;
|
|
11
11
|
};
|
|
@@ -22,7 +22,7 @@ export declare const actionBringForward: {
|
|
|
22
22
|
category: "element";
|
|
23
23
|
};
|
|
24
24
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
|
|
25
|
-
elements:
|
|
25
|
+
elements: import("../element/types").ExcalidrawElement[];
|
|
26
26
|
appState: Readonly<import("../types").AppState>;
|
|
27
27
|
commitToHistory: true;
|
|
28
28
|
};
|
|
@@ -39,7 +39,7 @@ export declare const actionSendToBack: {
|
|
|
39
39
|
category: "element";
|
|
40
40
|
};
|
|
41
41
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
|
|
42
|
-
elements:
|
|
42
|
+
elements: import("../element/types").ExcalidrawElement[];
|
|
43
43
|
appState: Readonly<import("../types").AppState>;
|
|
44
44
|
commitToHistory: true;
|
|
45
45
|
};
|
|
@@ -55,7 +55,7 @@ export declare const actionBringToFront: {
|
|
|
55
55
|
category: "element";
|
|
56
56
|
};
|
|
57
57
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
|
|
58
|
-
elements:
|
|
58
|
+
elements: import("../element/types").ExcalidrawElement[];
|
|
59
59
|
appState: Readonly<import("../types").AppState>;
|
|
60
60
|
commitToHistory: true;
|
|
61
61
|
};
|
package/types/actions/index.d.ts
CHANGED
|
@@ -20,5 +20,5 @@ export { actionToggleZenMode } from "./actionToggleZenMode";
|
|
|
20
20
|
export { actionToggleStats } from "./actionToggleStats";
|
|
21
21
|
export { actionUnbindText, actionBindText } from "./actionBoundText";
|
|
22
22
|
export { actionLink } from "../element/Hyperlink";
|
|
23
|
-
export {
|
|
23
|
+
export { actionToggleElementLock } from "./actionElementLock";
|
|
24
24
|
export { actionToggleLinearEditor } from "./actionLinearEditor";
|
|
@@ -12,7 +12,7 @@ export declare class ActionManager {
|
|
|
12
12
|
registerAction(action: Action): void;
|
|
13
13
|
registerAll(actions: readonly Action[]): void;
|
|
14
14
|
handleKeyDown(event: React.KeyboardEvent | KeyboardEvent): boolean;
|
|
15
|
-
executeAction(action: Action, source?: ActionSource): void;
|
|
15
|
+
executeAction(action: Action, source?: ActionSource, value?: any): void;
|
|
16
16
|
/**
|
|
17
17
|
* @param data additional data sent to the PanelComponent
|
|
18
18
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SubtypeOf } from "../utility-types";
|
|
2
2
|
import { ActionName } from "./types";
|
|
3
|
-
export
|
|
3
|
+
export type ShortcutName = SubtypeOf<ActionName, "toggleTheme" | "loadScene" | "clearCanvas" | "cut" | "copy" | "paste" | "copyStyles" | "pasteStyles" | "selectAll" | "deleteSelectedElements" | "duplicateSelection" | "sendBackward" | "bringForward" | "sendToBack" | "bringToFront" | "copyAsPng" | "copyAsSvg" | "group" | "ungroup" | "gridMode" | "zenMode" | "stats" | "addToLibrary" | "viewMode" | "flipHorizontal" | "flipVertical" | "hyperlink" | "toggleElementLock"> | "saveScene" | "imageExport";
|
|
4
4
|
export declare const getShortcutFromShortcutName: (name: ShortcutName) => string;
|
package/types/actions/types.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
|
2
2
|
import { ExcalidrawElement } from "../element/types";
|
|
3
3
|
import { AppClassProperties, AppState, ExcalidrawProps, BinaryFiles } from "../types";
|
|
4
4
|
import { MarkOptional } from "../utility-types";
|
|
5
|
-
export
|
|
5
|
+
export type ActionSource = "ui" | "keyboard" | "contextMenu" | "api";
|
|
6
6
|
/** if false, the action should be prevented */
|
|
7
|
-
export
|
|
7
|
+
export type ActionResult = {
|
|
8
8
|
elements?: readonly ExcalidrawElement[] | null;
|
|
9
9
|
appState?: MarkOptional<AppState, "offsetTop" | "offsetLeft" | "width" | "height"> | null;
|
|
10
10
|
files?: BinaryFiles | null;
|
|
@@ -12,11 +12,11 @@ export declare type ActionResult = {
|
|
|
12
12
|
syncHistory?: boolean;
|
|
13
13
|
replaceFiles?: boolean;
|
|
14
14
|
} | false;
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
15
|
+
type ActionFn = (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, formData: any, app: AppClassProperties) => ActionResult | Promise<ActionResult>;
|
|
16
|
+
export type UpdaterFn = (res: ActionResult) => void;
|
|
17
|
+
export type ActionFilterFn = (action: Action) => void;
|
|
18
|
+
export type ActionName = "copy" | "cut" | "paste" | "copyAsPng" | "copyAsSvg" | "copyText" | "sendBackward" | "bringForward" | "sendToBack" | "bringToFront" | "copyStyles" | "selectAll" | "pasteStyles" | "gridMode" | "zenMode" | "stats" | "changeStrokeColor" | "changeBackgroundColor" | "changeFillStyle" | "changeStrokeWidth" | "changeStrokeShape" | "changeSloppiness" | "changeStrokeStyle" | "changeArrowhead" | "changeOpacity" | "changeFontSize" | "toggleCanvasMenu" | "toggleEditMenu" | "undo" | "redo" | "finalize" | "changeProjectName" | "changeExportBackground" | "changeExportEmbedScene" | "changeExportScale" | "saveToActiveFile" | "saveFileToDisk" | "loadScene" | "duplicateSelection" | "deleteSelectedElements" | "changeViewBackgroundColor" | "clearCanvas" | "zoomIn" | "zoomOut" | "resetZoom" | "zoomToFit" | "zoomToSelection" | "changeFontFamily" | "changeTextAlign" | "changeVerticalAlign" | "toggleFullScreen" | "toggleShortcuts" | "group" | "ungroup" | "goToCollaborator" | "addToLibrary" | "changeRoundness" | "alignTop" | "alignBottom" | "alignLeft" | "alignRight" | "alignVerticallyCentered" | "alignHorizontallyCentered" | "distributeHorizontally" | "distributeVertically" | "flipHorizontal" | "flipVertical" | "viewMode" | "exportWithDarkMode" | "toggleTheme" | "increaseFontSize" | "decreaseFontSize" | "unbindText" | "hyperlink" | "bindText" | "unlockAllElements" | "toggleElementLock" | "toggleLinearEditor" | "toggleEraserTool" | "toggleHandTool" | "selectAllElementsInFrame" | "removeAllElementsFromFrame" | "toggleFrameRendering" | "setFrameAsActiveTool" | "createContainerFromText" | "wrapTextInContainer";
|
|
19
|
+
export type PanelComponentProps = {
|
|
20
20
|
elements: readonly ExcalidrawElement[];
|
|
21
21
|
appState: AppState;
|
|
22
22
|
updateData: (formData?: any) => void;
|
package/types/appState.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
|
|
|
7
7
|
lastActiveTool: import("./types").LastActiveTool;
|
|
8
8
|
locked: boolean;
|
|
9
9
|
} & ({
|
|
10
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
10
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
11
11
|
customType: null;
|
|
12
12
|
} | {
|
|
13
13
|
type: "custom";
|
|
@@ -42,8 +42,11 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
|
|
|
42
42
|
value: NormalizedZoomValue;
|
|
43
43
|
}> | undefined;
|
|
44
44
|
openMenu?: "canvas" | "shape" | null | undefined;
|
|
45
|
-
openSidebar?:
|
|
46
|
-
|
|
45
|
+
openSidebar?: {
|
|
46
|
+
name: string;
|
|
47
|
+
tab?: string | undefined;
|
|
48
|
+
} | null | undefined;
|
|
49
|
+
defaultSidebarDockedPreference?: boolean | undefined;
|
|
47
50
|
lastPointerDownWith?: import("./element/types").PointerType | undefined;
|
|
48
51
|
selectedElementIds?: {
|
|
49
52
|
[id: string]: boolean;
|
package/types/charts.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NonDeletedExcalidrawElement } from "./element/types";
|
|
2
|
-
export
|
|
2
|
+
export type ChartElements = readonly NonDeletedExcalidrawElement[];
|
|
3
3
|
export interface Spreadsheet {
|
|
4
4
|
title: string | null;
|
|
5
5
|
labels: string[] | null;
|
|
@@ -7,7 +7,7 @@ export interface Spreadsheet {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const NOT_SPREADSHEET = "NOT_SPREADSHEET";
|
|
9
9
|
export declare const VALID_SPREADSHEET = "VALID_SPREADSHEET";
|
|
10
|
-
|
|
10
|
+
type ParseSpreadsheetResult = {
|
|
11
11
|
type: typeof NOT_SPREADSHEET;
|
|
12
12
|
reason: string;
|
|
13
13
|
} | {
|
package/types/clients.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const getClientInitials: (userName?: string | null) => string;
|
|
1
|
+
export declare const getClientColor: (id: string) => string;
|
|
2
|
+
/**
|
|
3
|
+
* returns first char, capitalized
|
|
4
|
+
*/
|
|
5
|
+
export declare const getNameInitial: (name?: string | null) => string;
|
package/types/clipboard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExcalidrawElement, NonDeletedExcalidrawElement } from "./element/types";
|
|
2
|
-
import {
|
|
2
|
+
import { BinaryFiles } from "./types";
|
|
3
3
|
import { Spreadsheet } from "./charts";
|
|
4
4
|
export interface ClipboardData {
|
|
5
5
|
spreadsheet?: Spreadsheet;
|
|
@@ -11,7 +11,7 @@ export interface ClipboardData {
|
|
|
11
11
|
export declare const probablySupportsClipboardReadText: boolean;
|
|
12
12
|
export declare const probablySupportsClipboardWriteText: boolean;
|
|
13
13
|
export declare const probablySupportsClipboardBlob: boolean;
|
|
14
|
-
export declare const copyToClipboard: (elements: readonly NonDeletedExcalidrawElement[],
|
|
14
|
+
export declare const copyToClipboard: (elements: readonly NonDeletedExcalidrawElement[], files: BinaryFiles | null) => Promise<string | undefined>;
|
|
15
15
|
/**
|
|
16
16
|
* Retrieves content from system clipboard (either from ClipboardEvent or
|
|
17
17
|
* via async clipboard API if supported)
|
package/types/colors.d.ts
CHANGED
|
@@ -1,6 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import oc from "open-color";
|
|
2
|
+
import { Merge } from "./utility-types";
|
|
3
|
+
export type ColorPickerColor = Exclude<keyof oc, "indigo" | "lime"> | "transparent" | "bronze";
|
|
4
|
+
export type ColorTuple = readonly [string, string, string, string, string];
|
|
5
|
+
export type ColorPalette = Merge<Record<ColorPickerColor, ColorTuple>, {
|
|
6
|
+
black: string;
|
|
7
|
+
white: string;
|
|
8
|
+
transparent: string;
|
|
9
|
+
}>;
|
|
10
|
+
export type ColorPaletteCustom = {
|
|
11
|
+
[key: string]: ColorTuple | string;
|
|
5
12
|
};
|
|
6
|
-
export
|
|
13
|
+
export type ColorShadesIndexes = [number, number, number, number, number];
|
|
14
|
+
export declare const MAX_CUSTOM_COLORS_USED_IN_CANVAS = 5;
|
|
15
|
+
export declare const COLORS_PER_ROW = 5;
|
|
16
|
+
export declare const DEFAULT_CHART_COLOR_INDEX = 4;
|
|
17
|
+
export declare const DEFAULT_ELEMENT_STROKE_COLOR_INDEX = 4;
|
|
18
|
+
export declare const DEFAULT_ELEMENT_BACKGROUND_COLOR_INDEX = 1;
|
|
19
|
+
export declare const ELEMENTS_PALETTE_SHADE_INDEXES: readonly [0, 2, 4, 6, 8];
|
|
20
|
+
export declare const CANVAS_PALETTE_SHADE_INDEXES: readonly [0, 1, 2, 3, 4];
|
|
21
|
+
export declare const getSpecificColorShades: (color: Exclude<ColorPickerColor, "transparent" | "white" | "black" | "bronze">, indexArr: readonly [number, number, number, number, number]) => ColorTuple;
|
|
22
|
+
export declare const COLOR_PALETTE: ColorPalette;
|
|
23
|
+
export declare const DEFAULT_ELEMENT_STROKE_PICKS: ColorTuple;
|
|
24
|
+
export declare const DEFAULT_ELEMENT_BACKGROUND_PICKS: ColorTuple;
|
|
25
|
+
export declare const DEFAULT_CANVAS_BACKGROUND_PICKS: ColorTuple;
|
|
26
|
+
export declare const DEFAULT_ELEMENT_STROKE_COLOR_PALETTE: {
|
|
27
|
+
readonly red: ColorTuple;
|
|
28
|
+
readonly pink: ColorTuple;
|
|
29
|
+
readonly grape: ColorTuple;
|
|
30
|
+
readonly violet: ColorTuple;
|
|
31
|
+
readonly blue: ColorTuple;
|
|
32
|
+
readonly cyan: ColorTuple;
|
|
33
|
+
readonly teal: ColorTuple;
|
|
34
|
+
readonly green: ColorTuple;
|
|
35
|
+
readonly yellow: ColorTuple;
|
|
36
|
+
readonly orange: ColorTuple;
|
|
37
|
+
readonly transparent: string;
|
|
38
|
+
readonly white: string;
|
|
39
|
+
readonly gray: ColorTuple;
|
|
40
|
+
readonly black: string;
|
|
41
|
+
readonly bronze: ColorTuple;
|
|
42
|
+
};
|
|
43
|
+
export declare const DEFAULT_ELEMENT_BACKGROUND_COLOR_PALETTE: {
|
|
44
|
+
readonly red: ColorTuple;
|
|
45
|
+
readonly pink: ColorTuple;
|
|
46
|
+
readonly grape: ColorTuple;
|
|
47
|
+
readonly violet: ColorTuple;
|
|
48
|
+
readonly blue: ColorTuple;
|
|
49
|
+
readonly cyan: ColorTuple;
|
|
50
|
+
readonly teal: ColorTuple;
|
|
51
|
+
readonly green: ColorTuple;
|
|
52
|
+
readonly yellow: ColorTuple;
|
|
53
|
+
readonly orange: ColorTuple;
|
|
54
|
+
readonly transparent: string;
|
|
55
|
+
readonly white: string;
|
|
56
|
+
readonly gray: ColorTuple;
|
|
57
|
+
readonly black: string;
|
|
58
|
+
readonly bronze: ColorTuple;
|
|
59
|
+
};
|
|
60
|
+
export declare const getAllColorsSpecificShade: (index: 0 | 1 | 2 | 3 | 4) => readonly [string, string, string, string, string, string, string, string, string, string];
|
|
61
|
+
export declare const rgbToHex: (r: number, g: number, b: number) => string;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ActionManager } from "../actions/manager";
|
|
3
3
|
import { ExcalidrawElement, PointerType } from "../element/types";
|
|
4
|
-
import {
|
|
4
|
+
import { UIAppState, Zoom } from "../types";
|
|
5
5
|
import "./Actions.scss";
|
|
6
6
|
export declare const SelectedShapeActions: ({ appState, elements, renderAction, }: {
|
|
7
|
-
appState:
|
|
7
|
+
appState: UIAppState;
|
|
8
8
|
elements: readonly ExcalidrawElement[];
|
|
9
9
|
renderAction: ActionManager["renderAction"];
|
|
10
10
|
}) => JSX.Element;
|
|
11
11
|
export declare const ShapesSwitcher: ({ canvas, activeTool, setAppState, onImageAction, appState, }: {
|
|
12
12
|
canvas: HTMLCanvasElement | null;
|
|
13
|
-
activeTool:
|
|
14
|
-
setAppState: React.Component<any,
|
|
13
|
+
activeTool: UIAppState["activeTool"];
|
|
14
|
+
setAppState: React.Component<any, UIAppState>["setState"];
|
|
15
15
|
onImageAction: (data: {
|
|
16
16
|
pointerType: PointerType | null;
|
|
17
17
|
}) => void;
|
|
18
|
-
appState:
|
|
18
|
+
appState: UIAppState;
|
|
19
19
|
}) => JSX.Element;
|
|
20
20
|
export declare const ZoomActions: ({ renderAction, zoom, }: {
|
|
21
21
|
renderAction: ActionManager["renderAction"];
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
export declare const activeConfirmDialogAtom: import("jotai").
|
|
2
|
-
write: (get: {
|
|
3
|
-
<Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
|
4
|
-
<Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
|
5
|
-
<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;
|
|
6
|
-
} & {
|
|
7
|
-
<Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
|
8
|
-
unstable_promise: true;
|
|
9
|
-
}): Value_3 | Promise<Value_3>;
|
|
10
|
-
<Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
|
11
|
-
unstable_promise: true;
|
|
12
|
-
}): Value_4 | Promise<Value_4>;
|
|
13
|
-
<Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
|
14
|
-
unstable_promise: true;
|
|
15
|
-
}): (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>;
|
|
16
|
-
}, set: {
|
|
17
|
-
<Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
|
18
|
-
<Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
|
19
|
-
}, update: "clearCanvas" | ((prev: "clearCanvas" | null) => "clearCanvas" | null) | null) => void;
|
|
20
|
-
onMount?: (<S extends (update: "clearCanvas" | ((prev: "clearCanvas" | null) => "clearCanvas" | null) | null) => void>(setAtom: S) => void | (() => void)) | undefined;
|
|
21
|
-
} & {
|
|
1
|
+
export declare const activeConfirmDialogAtom: import("jotai").PrimitiveAtom<"clearCanvas" | null> & {
|
|
22
2
|
init: "clearCanvas" | null;
|
|
23
3
|
};
|
|
24
4
|
export declare const ActiveConfirmDialog: () => JSX.Element | null;
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { RoughCanvas } from "roughjs/bin/canvas";
|
|
3
3
|
import { ActionManager } from "../actions/manager";
|
|
4
|
+
import { EXPORT_IMAGE_TYPES } from "../constants";
|
|
4
5
|
import { LinearElementEditor } from "../element/linearElementEditor";
|
|
5
6
|
import { ExcalidrawElement, NonDeletedExcalidrawElement } from "../element/types";
|
|
6
7
|
import History from "../history";
|
|
7
8
|
import Scene from "../scene/Scene";
|
|
8
|
-
import { AppClassProperties, AppProps, AppState, ExcalidrawImperativeAPI, BinaryFiles, LibraryItems, SceneData, Device } from "../types";
|
|
9
|
+
import { AppClassProperties, AppProps, AppState, ExcalidrawImperativeAPI, BinaryFiles, LibraryItems, SceneData, Device, FrameNameBoundsCache, SidebarName, SidebarTabName } from "../types";
|
|
9
10
|
import { FileSystemHandle } from "../data/filesystem";
|
|
10
11
|
export declare const ExcalidrawContainerContext: React.Context<{
|
|
11
12
|
container: HTMLDivElement | null;
|
|
12
13
|
id: string | null;
|
|
13
14
|
}>;
|
|
15
|
+
export declare const useApp: () => AppClassProperties;
|
|
16
|
+
export declare const useAppProps: () => AppProps;
|
|
14
17
|
export declare const useDevice: () => Readonly<{
|
|
15
18
|
isSmScreen: boolean;
|
|
16
19
|
isMobile: boolean;
|
|
17
20
|
isTouchScreen: boolean;
|
|
18
21
|
canDeviceFitSidebar: boolean;
|
|
22
|
+
isLandscape: boolean;
|
|
19
23
|
}>;
|
|
20
24
|
export declare const useExcalidrawContainer: () => {
|
|
21
25
|
container: HTMLDivElement | null;
|
|
@@ -40,24 +44,30 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
40
44
|
private nearestScrollableContainer;
|
|
41
45
|
library: AppClassProperties["library"];
|
|
42
46
|
libraryItemsFromStorage: LibraryItems | undefined;
|
|
43
|
-
|
|
47
|
+
id: string;
|
|
44
48
|
private history;
|
|
45
49
|
private excalidrawContainerValue;
|
|
46
50
|
files: BinaryFiles;
|
|
47
51
|
imageCache: AppClassProperties["imageCache"];
|
|
48
52
|
hitLinkElement?: NonDeletedExcalidrawElement;
|
|
49
|
-
lastPointerDown: React.PointerEvent<
|
|
53
|
+
lastPointerDown: React.PointerEvent<HTMLElement> | null;
|
|
50
54
|
lastPointerUp: React.PointerEvent<HTMLElement> | PointerEvent | null;
|
|
51
|
-
|
|
55
|
+
lastViewportPosition: {
|
|
52
56
|
x: number;
|
|
53
57
|
y: number;
|
|
54
|
-
}
|
|
58
|
+
};
|
|
55
59
|
constructor(props: AppProps);
|
|
56
60
|
private renderCanvas;
|
|
61
|
+
private getFrameNameDOMId;
|
|
62
|
+
frameNameBoundsCache: FrameNameBoundsCache;
|
|
63
|
+
private renderFrameNames;
|
|
57
64
|
render(): JSX.Element;
|
|
58
65
|
focusContainer: AppClassProperties["focusContainer"];
|
|
59
66
|
getSceneElementsIncludingDeleted: () => readonly ExcalidrawElement[];
|
|
60
67
|
getSceneElements: () => readonly NonDeletedExcalidrawElement[];
|
|
68
|
+
onInsertElements: (elements: readonly ExcalidrawElement[]) => void;
|
|
69
|
+
onExportImage: (type: keyof typeof EXPORT_IMAGE_TYPES, elements: readonly NonDeletedExcalidrawElement[]) => Promise<void>;
|
|
70
|
+
private openEyeDropper;
|
|
61
71
|
private syncActionResult;
|
|
62
72
|
private onBlur;
|
|
63
73
|
private onUnload;
|
|
@@ -91,6 +101,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
91
101
|
setAppState: React.Component<any, AppState>["setState"];
|
|
92
102
|
removePointer: (event: React.PointerEvent<HTMLElement> | PointerEvent) => void;
|
|
93
103
|
toggleLock: (source?: "keyboard" | "ui") => void;
|
|
104
|
+
toggleFrameRendering: () => void;
|
|
94
105
|
togglePenMode: () => void;
|
|
95
106
|
onHandToolToggle: () => void;
|
|
96
107
|
/**
|
|
@@ -123,7 +134,11 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
123
134
|
/**
|
|
124
135
|
* @returns whether the menu was toggled on or off
|
|
125
136
|
*/
|
|
126
|
-
|
|
137
|
+
toggleSidebar: ({ name, tab, force, }: {
|
|
138
|
+
name: SidebarName;
|
|
139
|
+
tab?: string | undefined;
|
|
140
|
+
force?: boolean | undefined;
|
|
141
|
+
}) => boolean;
|
|
127
142
|
private updateCurrentCursorPosition;
|
|
128
143
|
private onKeyDown;
|
|
129
144
|
private onWheel;
|
|
@@ -150,6 +165,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
150
165
|
private handleCanvasDoubleClick;
|
|
151
166
|
private getElementLinkAtPosition;
|
|
152
167
|
private redirectToLink;
|
|
168
|
+
private getTopLayerFrameAtSceneCoords;
|
|
153
169
|
private handleCanvasPointerMove;
|
|
154
170
|
private handleEraser;
|
|
155
171
|
private handleTouchMove;
|
|
@@ -175,6 +191,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
175
191
|
private createImageElement;
|
|
176
192
|
private handleLinearElementOnPointerDown;
|
|
177
193
|
private createGenericElementOnPointerDown;
|
|
194
|
+
private createFrameElementOnPointerDown;
|
|
178
195
|
private onKeyDownFromPointerDownHandler;
|
|
179
196
|
private onKeyUpFromPointerDownHandler;
|
|
180
197
|
private onPointerMoveFromPointerDownHandler;
|
|
@@ -3,6 +3,8 @@ import "./Button.scss";
|
|
|
3
3
|
interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
type?: "button" | "submit" | "reset";
|
|
5
5
|
onSelect: () => any;
|
|
6
|
+
/** whether button is in active state */
|
|
7
|
+
selected?: boolean;
|
|
6
8
|
children: React.ReactNode;
|
|
7
9
|
className?: string;
|
|
8
10
|
}
|
|
@@ -11,5 +13,5 @@ interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
11
13
|
* Style can be customised using `className` or `style` prop.
|
|
12
14
|
* Accepts all props that a regular `button` element accepts.
|
|
13
15
|
*/
|
|
14
|
-
export declare const Button: ({ type, onSelect, children, className, ...rest }: ButtonProps) => JSX.Element;
|
|
16
|
+
export declare const Button: ({ type, onSelect, selected, children, className, ...rest }: ButtonProps) => JSX.Element;
|
|
15
17
|
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ExcalidrawElement } from "../../element/types";
|
|
2
|
+
import { AppState } from "../../types";
|
|
3
|
+
import { ColorPickerType } from "./colorPickerUtils";
|
|
4
|
+
import { ColorTuple, ColorPaletteCustom } from "../../colors";
|
|
5
|
+
import "./ColorPicker.scss";
|
|
6
|
+
export declare const getColor: (color: string) => string | null;
|
|
7
|
+
interface ColorPickerProps {
|
|
8
|
+
type: ColorPickerType;
|
|
9
|
+
color: string;
|
|
10
|
+
onChange: (color: string) => void;
|
|
11
|
+
label: string;
|
|
12
|
+
elements: readonly ExcalidrawElement[];
|
|
13
|
+
appState: AppState;
|
|
14
|
+
palette?: ColorPaletteCustom | null;
|
|
15
|
+
topPicks?: ColorTuple;
|
|
16
|
+
updateData: (formData?: any) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const ColorPicker: ({ type, color, onChange, label, elements, palette, topPicks, updateData, appState, }: ColorPickerProps) => JSX.Element;
|
|
19
|
+
export {};
|