@dwelle/excalidraw 0.5.0-e6263588 → 0.5.0-e9944c4
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/dist/dev/{chunk-MYBMQLFV.js → chunk-6FPW7UII.js} +2 -2
- package/dist/dev/{chunk-MYBMQLFV.js.map → chunk-6FPW7UII.js.map} +1 -1
- package/dist/dev/{chunk-MUNVYEGW.js → chunk-A4LHQJCQ.js} +16 -3
- package/dist/dev/chunk-A4LHQJCQ.js.map +7 -0
- package/dist/dev/{chunk-GK2P2Z4N.js → chunk-MUXNIGJA.js} +5140 -3664
- package/dist/dev/chunk-MUXNIGJA.js.map +7 -0
- package/dist/dev/chunk-Q67DF2PJ.js +69 -0
- package/dist/dev/chunk-Q67DF2PJ.js.map +7 -0
- package/dist/dev/components/TTDDialog/{CodeMirrorEditor-FCA7YAIL.js → CodeMirrorEditor-XFPXQDTD.js} +2 -2
- package/dist/dev/data/{image-5N65CA7G.js → image-DBJ5VI3T.js} +3 -3
- package/dist/dev/index.css +324 -221
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3846 -1991
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-YEOLME2Y.js → ar-SA-EW44IW4V.js} +14 -2
- package/dist/dev/locales/ar-SA-EW44IW4V.js.map +7 -0
- package/dist/dev/locales/{az-AZ-DQL36U4O.js → az-AZ-AI7WAYA2.js} +14 -2
- package/dist/dev/locales/az-AZ-AI7WAYA2.js.map +7 -0
- package/dist/dev/locales/{bg-BG-LG6R5FEQ.js → bg-BG-43ZNGDXF.js} +14 -2
- package/dist/dev/locales/bg-BG-43ZNGDXF.js.map +7 -0
- package/dist/dev/locales/{bn-BD-W63P7JT5.js → bn-BD-PU4CN7NP.js} +14 -2
- package/dist/dev/locales/bn-BD-PU4CN7NP.js.map +7 -0
- package/dist/dev/locales/{bn-IN-SCHACAA6.js → bn-IN-54CF43JL.js} +14 -2
- package/dist/dev/locales/bn-IN-54CF43JL.js.map +7 -0
- package/dist/dev/locales/{ca-ES-XP3CQTWV.js → ca-ES-RHJO3QDO.js} +14 -2
- package/dist/dev/locales/ca-ES-RHJO3QDO.js.map +7 -0
- package/dist/dev/locales/{cs-CZ-EXLEOJMD.js → cs-CZ-ZRSAO3BA.js} +14 -2
- package/dist/dev/locales/cs-CZ-ZRSAO3BA.js.map +7 -0
- package/dist/dev/locales/{da-DK-46ONLZRX.js → da-DK-OAB6DEJX.js} +14 -2
- package/dist/dev/locales/da-DK-OAB6DEJX.js.map +7 -0
- package/dist/dev/locales/{de-CH-A5QH3YGW.js → de-CH-QF7JLXTF.js} +14 -2
- package/dist/dev/locales/de-CH-QF7JLXTF.js.map +7 -0
- package/dist/dev/locales/{de-DE-FVCCKR5N.js → de-DE-5ZO4KOPT.js} +14 -2
- package/dist/dev/locales/de-DE-5ZO4KOPT.js.map +7 -0
- package/dist/dev/locales/{el-GR-SB4MX5JS.js → el-GR-F74ZSUEO.js} +14 -2
- package/dist/dev/locales/el-GR-F74ZSUEO.js.map +7 -0
- package/dist/dev/locales/{en-AZHTDC2Z.js → en-INQU5YPU.js} +2 -2
- package/dist/dev/locales/{es-ES-VRTYQG6S.js → es-ES-3B3IENPS.js} +14 -2
- package/dist/dev/locales/es-ES-3B3IENPS.js.map +7 -0
- package/dist/dev/locales/{eu-ES-3OHEU2YV.js → eu-ES-NH447TVU.js} +14 -2
- package/dist/dev/locales/eu-ES-NH447TVU.js.map +7 -0
- package/dist/dev/locales/{fa-IR-74WR2KXF.js → fa-IR-V44PNTTK.js} +46 -34
- package/dist/dev/locales/fa-IR-V44PNTTK.js.map +7 -0
- package/dist/dev/locales/{fi-FI-XZQC4II2.js → fi-FI-ZXSYWCC4.js} +14 -2
- package/dist/dev/locales/fi-FI-ZXSYWCC4.js.map +7 -0
- package/dist/dev/locales/{fr-FR-RABBDBKM.js → fr-FR-RJSOSEYS.js} +25 -13
- package/dist/dev/locales/fr-FR-RJSOSEYS.js.map +7 -0
- package/dist/dev/locales/{gl-ES-OU3Q6XUE.js → gl-ES-NAUVMVFY.js} +14 -2
- package/dist/dev/locales/gl-ES-NAUVMVFY.js.map +7 -0
- package/dist/dev/locales/{he-IL-6NCD5D54.js → he-IL-JBKWWR75.js} +67 -55
- package/dist/dev/locales/he-IL-JBKWWR75.js.map +7 -0
- package/dist/dev/locales/{hi-IN-M54WKOJI.js → hi-IN-SD773MVZ.js} +14 -2
- package/dist/dev/locales/hi-IN-SD773MVZ.js.map +7 -0
- package/dist/dev/locales/{hu-HU-HAW63BCI.js → hu-HU-OTA7GOAV.js} +14 -2
- package/dist/dev/locales/hu-HU-OTA7GOAV.js.map +7 -0
- package/dist/dev/locales/{id-ID-TFSPHGWX.js → id-ID-KGCGQFTT.js} +100 -88
- package/dist/dev/locales/id-ID-KGCGQFTT.js.map +7 -0
- package/dist/dev/locales/{it-IT-MH3BAO5W.js → it-IT-EWGEXMVK.js} +25 -13
- package/dist/dev/locales/it-IT-EWGEXMVK.js.map +7 -0
- package/dist/dev/locales/{ja-JP-UGJBHLX6.js → ja-JP-YMGRGBPS.js} +17 -5
- package/dist/dev/locales/ja-JP-YMGRGBPS.js.map +7 -0
- package/dist/dev/locales/{kaa-5ZUEYWIM.js → kaa-RRE7XUCW.js} +14 -2
- package/dist/dev/locales/kaa-RRE7XUCW.js.map +7 -0
- package/dist/dev/locales/{kab-KAB-RLAZQZSM.js → kab-KAB-ZCYVOJU4.js} +14 -2
- package/dist/dev/locales/kab-KAB-ZCYVOJU4.js.map +7 -0
- package/dist/dev/locales/{kk-KZ-CIP7GOIF.js → kk-KZ-TO6XEFJC.js} +14 -2
- package/dist/dev/locales/kk-KZ-TO6XEFJC.js.map +7 -0
- package/dist/dev/locales/{km-KH-YMR4247H.js → km-KH-3HTDL5HB.js} +14 -2
- package/dist/dev/locales/km-KH-3HTDL5HB.js.map +7 -0
- package/dist/dev/locales/{ko-KR-WGKQKR2R.js → ko-KR-O4L4O7L6.js} +14 -2
- package/dist/dev/locales/ko-KR-O4L4O7L6.js.map +7 -0
- package/dist/dev/locales/{ku-TR-ZSJN6TN6.js → ku-TR-AFJWDY67.js} +14 -2
- package/dist/dev/locales/ku-TR-AFJWDY67.js.map +7 -0
- package/dist/dev/locales/{lt-LT-FT6ZGIZP.js → lt-LT-7QOT2VDQ.js} +14 -2
- package/dist/dev/locales/lt-LT-7QOT2VDQ.js.map +7 -0
- package/dist/dev/locales/{lv-LV-U74YKDPR.js → lv-LV-WV6C4NYF.js} +14 -2
- package/dist/dev/locales/lv-LV-WV6C4NYF.js.map +7 -0
- package/dist/dev/locales/{mr-IN-KN72LOIA.js → mr-IN-3TLYWOEI.js} +14 -2
- package/dist/dev/locales/mr-IN-3TLYWOEI.js.map +7 -0
- package/dist/dev/locales/{my-MM-E57NLQ7W.js → my-MM-NNL2QJT3.js} +14 -2
- package/dist/dev/locales/my-MM-NNL2QJT3.js.map +7 -0
- package/dist/dev/locales/{nb-NO-FYQDWD7X.js → nb-NO-PG3XLMEV.js} +14 -2
- package/dist/dev/locales/nb-NO-PG3XLMEV.js.map +7 -0
- package/dist/dev/locales/{nl-NL-D5MZQRAC.js → nl-NL-MMOYEKKQ.js} +14 -2
- package/dist/dev/locales/nl-NL-MMOYEKKQ.js.map +7 -0
- package/dist/dev/locales/{nn-NO-5ZEUZJV4.js → nn-NO-AAC2I2YX.js} +14 -2
- package/dist/dev/locales/nn-NO-AAC2I2YX.js.map +7 -0
- package/dist/dev/locales/{oc-FR-MVW6LDAP.js → oc-FR-SR6MFB4N.js} +14 -2
- package/dist/dev/locales/oc-FR-SR6MFB4N.js.map +7 -0
- package/dist/dev/locales/{pa-IN-2NH3SVNI.js → pa-IN-ADGMQLQI.js} +14 -2
- package/dist/dev/locales/pa-IN-ADGMQLQI.js.map +7 -0
- package/dist/dev/locales/{percentages-QBBLQLIV.js → percentages-X2QIQ6XJ.js} +2 -2
- package/dist/dev/locales/{pl-PL-M6LYWLHY.js → pl-PL-FNIPTMVP.js} +14 -2
- package/dist/dev/locales/pl-PL-FNIPTMVP.js.map +7 -0
- package/dist/dev/locales/{pt-BR-27M3CCS7.js → pt-BR-67FMCDNE.js} +14 -2
- package/dist/dev/locales/pt-BR-67FMCDNE.js.map +7 -0
- package/dist/dev/locales/{pt-PT-V3C226NP.js → pt-PT-4G3GI4SF.js} +14 -2
- package/dist/dev/locales/pt-PT-4G3GI4SF.js.map +7 -0
- package/dist/dev/locales/{ro-RO-S4GNBAJI.js → ro-RO-CUZFN555.js} +25 -13
- package/dist/dev/locales/ro-RO-CUZFN555.js.map +7 -0
- package/dist/dev/locales/{ru-RU-CRRT5JUZ.js → ru-RU-4GHINTII.js} +14 -2
- package/dist/dev/locales/ru-RU-4GHINTII.js.map +7 -0
- package/dist/dev/locales/{si-LK-APMICZ7H.js → si-LK-SSNT7T4A.js} +14 -2
- package/dist/dev/locales/si-LK-SSNT7T4A.js.map +7 -0
- package/dist/dev/locales/{sk-SK-7ZFDZG6Y.js → sk-SK-J7TKZQEH.js} +14 -2
- package/dist/dev/locales/sk-SK-J7TKZQEH.js.map +7 -0
- package/dist/dev/locales/{sl-SI-BBENCX7D.js → sl-SI-SIBMLDYY.js} +130 -118
- package/dist/dev/locales/sl-SI-SIBMLDYY.js.map +7 -0
- package/dist/dev/locales/{sv-SE-35QJIOEW.js → sv-SE-6GYGFZNL.js} +25 -13
- package/dist/dev/locales/sv-SE-6GYGFZNL.js.map +7 -0
- package/dist/dev/locales/{ta-IN-4N5CFIWZ.js → ta-IN-7AW6CTGA.js} +14 -2
- package/dist/dev/locales/ta-IN-7AW6CTGA.js.map +7 -0
- package/dist/dev/locales/{th-TH-2F4V4IDB.js → th-TH-FP7ULYYM.js} +23 -11
- package/dist/dev/locales/th-TH-FP7ULYYM.js.map +7 -0
- package/dist/dev/locales/{tr-TR-NDFP3F7P.js → tr-TR-UDQGNXAG.js} +14 -2
- package/dist/dev/locales/tr-TR-UDQGNXAG.js.map +7 -0
- package/dist/dev/locales/{uk-UA-4I6VBQZ5.js → uk-UA-25HL2NCU.js} +51 -39
- package/dist/dev/locales/uk-UA-25HL2NCU.js.map +7 -0
- package/dist/dev/locales/{uz-UZ-UVKC7UNZ.js → uz-UZ-OPSBAY4H.js} +14 -2
- package/dist/dev/locales/uz-UZ-OPSBAY4H.js.map +7 -0
- package/dist/dev/locales/{vi-VN-UQCETDRL.js → vi-VN-DK367UGA.js} +14 -2
- package/dist/dev/locales/vi-VN-DK367UGA.js.map +7 -0
- package/dist/dev/locales/{zh-CN-RSRHKN75.js → zh-CN-QCVKNWUH.js} +14 -2
- package/dist/dev/locales/zh-CN-QCVKNWUH.js.map +7 -0
- package/dist/dev/locales/{zh-HK-XSFQ32U4.js → zh-HK-WFGYHWPG.js} +14 -2
- package/dist/dev/locales/zh-HK-WFGYHWPG.js.map +7 -0
- package/dist/dev/locales/{zh-TW-KFVYWRFJ.js → zh-TW-WHQS4ZSD.js} +33 -21
- package/dist/dev/locales/zh-TW-WHQS4ZSD.js.map +7 -0
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-25DVBZY5.js +34 -0
- package/dist/prod/chunk-52O7NOSZ.js +12 -0
- package/dist/prod/chunk-DYU5D34O.js +1 -0
- package/dist/prod/{chunk-KVZVLATH.js → chunk-RNVAYDMN.js} +1 -1
- package/dist/prod/components/TTDDialog/{CodeMirrorEditor-IYDFKSMV.js → CodeMirrorEditor-WLFHUPRX.js} +1 -1
- package/dist/prod/data/image-USJGQDOA.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +63 -94
- package/dist/prod/locales/{ar-SA-PQUY64WN.js → ar-SA-5WIASEJP.js} +5 -5
- package/dist/prod/locales/az-AZ-V5EUQD6C.js +1 -0
- package/dist/prod/locales/bg-BG-EXASCMTR.js +5 -0
- package/dist/prod/locales/bn-BD-U4SYNFCO.js +3 -0
- package/dist/prod/locales/bn-IN-HKDJIITE.js +3 -0
- package/dist/prod/locales/ca-ES-2KGUU5XB.js +8 -0
- package/dist/prod/locales/cs-CZ-VUCGPRML.js +7 -0
- package/dist/prod/locales/da-DK-NNDP2IVP.js +2 -0
- package/dist/prod/locales/de-CH-I7RAVIZN.js +11 -0
- package/dist/prod/locales/de-DE-WBQ3DQLR.js +11 -0
- package/dist/prod/locales/el-GR-TYQHVGXW.js +7 -0
- package/dist/prod/locales/{en-VMWWLRQY.js → en-MYE3M2F3.js} +1 -1
- package/dist/prod/locales/es-ES-JEUOREKJ.js +12 -0
- package/dist/prod/locales/eu-ES-SO5DEEAN.js +8 -0
- package/dist/prod/locales/fa-IR-I4JNTJHK.js +9 -0
- package/dist/prod/locales/fi-FI-REAEF6HQ.js +6 -0
- package/dist/prod/locales/fr-FR-SUCL7J6B.js +12 -0
- package/dist/prod/locales/gl-ES-KHCSOGVH.js +6 -0
- package/dist/prod/locales/he-IL-JYXVXV2Q.js +9 -0
- package/dist/prod/locales/hi-IN-BU52H3BO.js +3 -0
- package/dist/prod/locales/hu-HU-OWADXDQ3.js +3 -0
- package/dist/prod/locales/id-ID-2WY7E4VX.js +8 -0
- package/dist/prod/locales/it-IT-INVHSAJF.js +12 -0
- package/dist/prod/locales/ja-JP-JBNTKYP4.js +12 -0
- package/dist/prod/locales/kaa-TC3VIB7V.js +1 -0
- package/dist/prod/locales/kab-KAB-UOUDSQKM.js +4 -0
- package/dist/prod/locales/kk-KZ-P5H2X7YS.js +1 -0
- package/dist/prod/locales/{km-KH-PCWDKPHP.js → km-KH-IHMV2US7.js} +4 -4
- package/dist/prod/locales/ko-KR-ZTMANIDF.js +5 -0
- package/dist/prod/locales/ku-TR-GPJTRB5G.js +6 -0
- package/dist/prod/locales/lt-LT-V3XDOK3P.js +3 -0
- package/dist/prod/locales/lv-LV-DVQ3FADO.js +4 -0
- package/dist/prod/locales/mr-IN-VZ6HH5FE.js +9 -0
- package/dist/prod/locales/my-MM-XYKWHRK6.js +1 -0
- package/dist/prod/locales/nb-NO-UNO2GGZJ.js +8 -0
- package/dist/prod/locales/nl-NL-76EFHT4P.js +13 -0
- package/dist/prod/locales/nn-NO-CFKD7ABE.js +4 -0
- package/dist/prod/locales/oc-FR-YBJTCJ3J.js +4 -0
- package/dist/prod/locales/pa-IN-SNOXSMRV.js +4 -0
- package/dist/prod/locales/percentages-LWOC67ZH.js +1 -0
- package/dist/prod/locales/pl-PL-BSY6YFZ3.js +12 -0
- package/dist/prod/locales/pt-BR-CZDV62R3.js +10 -0
- package/dist/prod/locales/pt-PT-JO57XJJW.js +12 -0
- package/dist/prod/locales/ro-RO-UZ5ICYYN.js +12 -0
- package/dist/prod/locales/ru-RU-AN7JPREC.js +10 -0
- package/dist/prod/locales/si-LK-7CBLD6QQ.js +1 -0
- package/dist/prod/locales/sk-SK-SWR6DKBI.js +7 -0
- package/dist/prod/locales/sl-SI-QY5KCFGA.js +8 -0
- package/dist/prod/locales/sv-SE-O3OFCY3J.js +12 -0
- package/dist/prod/locales/ta-IN-V6NHHU6Z.js +6 -0
- package/dist/prod/locales/th-TH-WLSZUSBX.js +1 -0
- package/dist/prod/locales/tr-TR-GUFYG22B.js +4 -0
- package/dist/prod/locales/uk-UA-K6SV5NFQ.js +6 -0
- package/dist/prod/locales/uz-UZ-TVKTZO2G.js +1 -0
- package/dist/prod/locales/vi-VN-7FKFXJNO.js +7 -0
- package/dist/prod/locales/zh-CN-AOKVLNNK.js +11 -0
- package/dist/prod/locales/zh-HK-CDKPF5DC.js +1 -0
- package/dist/prod/locales/zh-TW-ZVGYESGW.js +13 -0
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/colors.d.ts +13 -7
- package/dist/types/common/src/constants.d.ts +44 -0
- package/dist/types/common/src/keys.d.ts +2 -0
- package/dist/types/common/src/random.d.ts +7 -0
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/comparisons.d.ts +5 -3
- package/dist/types/element/src/delta.d.ts +23 -1
- package/dist/types/element/src/flowchart.d.ts +5 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +10 -0
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +24 -2
- package/dist/types/element/src/sizeHelpers.d.ts +6 -0
- package/dist/types/element/src/sortElements.d.ts +10 -0
- package/dist/types/element/src/stickyNote.d.ts +183 -0
- package/dist/types/element/src/textElement.d.ts +2 -1
- package/dist/types/element/src/transform.d.ts +25 -6
- package/dist/types/element/src/typeChecks.d.ts +3 -2
- package/dist/types/element/src/types.d.ts +35 -6
- package/dist/types/element/src/utils.d.ts +7 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -6
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +70 -14
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +31 -7
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionExport.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionFrame.d.ts +81 -7
- package/dist/types/excalidraw/actions/actionGroup.d.ts +21 -5
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +61 -3
- package/dist/types/excalidraw/actions/actionLink.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +30 -10
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +11 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -2
- package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
- package/dist/types/excalidraw/appState.d.ts +21 -1
- package/dist/types/excalidraw/components/App.arrowText.d.ts +40 -8
- package/dist/types/excalidraw/components/App.bucketFill.d.ts +14 -0
- package/dist/types/excalidraw/components/App.cursor.d.ts +10 -3
- package/dist/types/excalidraw/components/App.d.ts +111 -14
- package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
- package/dist/types/excalidraw/components/App.wheel.d.ts +33 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +6 -2
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +4 -2
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
- package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +31 -0
- package/dist/types/excalidraw/components/IconButton.d.ts +2 -0
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +1 -0
- package/dist/types/excalidraw/components/Tools.d.ts +7 -2
- package/dist/types/excalidraw/components/UserList.d.ts +3 -2
- package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -0
- package/dist/types/excalidraw/components/icons.d.ts +4 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -0
- package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +2 -2
- package/dist/types/excalidraw/data/blob.d.ts +20 -4
- package/dist/types/excalidraw/data/json.d.ts +10 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -2
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +5 -5
- package/dist/types/excalidraw/index.d.ts +3 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +25 -0
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +50 -1
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +88 -6
- package/dist/types/excalidraw/viewport.d.ts +10 -2
- package/dist/types/math/src/curve.d.ts +19 -12
- package/dist/types/math/src/segment.d.ts +6 -0
- package/dist/types/utils/src/shape.d.ts +2 -2
- package/package.json +2 -2
- package/dist/dev/chunk-GK2P2Z4N.js.map +0 -7
- package/dist/dev/chunk-HY55C7T4.js +0 -69
- package/dist/dev/chunk-HY55C7T4.js.map +0 -7
- package/dist/dev/chunk-MUNVYEGW.js.map +0 -7
- package/dist/dev/locales/ar-SA-YEOLME2Y.js.map +0 -7
- package/dist/dev/locales/az-AZ-DQL36U4O.js.map +0 -7
- package/dist/dev/locales/bg-BG-LG6R5FEQ.js.map +0 -7
- package/dist/dev/locales/bn-BD-W63P7JT5.js.map +0 -7
- package/dist/dev/locales/bn-IN-SCHACAA6.js.map +0 -7
- package/dist/dev/locales/ca-ES-XP3CQTWV.js.map +0 -7
- package/dist/dev/locales/cs-CZ-EXLEOJMD.js.map +0 -7
- package/dist/dev/locales/da-DK-46ONLZRX.js.map +0 -7
- package/dist/dev/locales/de-CH-A5QH3YGW.js.map +0 -7
- package/dist/dev/locales/de-DE-FVCCKR5N.js.map +0 -7
- package/dist/dev/locales/el-GR-SB4MX5JS.js.map +0 -7
- package/dist/dev/locales/es-ES-VRTYQG6S.js.map +0 -7
- package/dist/dev/locales/eu-ES-3OHEU2YV.js.map +0 -7
- package/dist/dev/locales/fa-IR-74WR2KXF.js.map +0 -7
- package/dist/dev/locales/fi-FI-XZQC4II2.js.map +0 -7
- package/dist/dev/locales/fr-FR-RABBDBKM.js.map +0 -7
- package/dist/dev/locales/gl-ES-OU3Q6XUE.js.map +0 -7
- package/dist/dev/locales/he-IL-6NCD5D54.js.map +0 -7
- package/dist/dev/locales/hi-IN-M54WKOJI.js.map +0 -7
- package/dist/dev/locales/hu-HU-HAW63BCI.js.map +0 -7
- package/dist/dev/locales/id-ID-TFSPHGWX.js.map +0 -7
- package/dist/dev/locales/it-IT-MH3BAO5W.js.map +0 -7
- package/dist/dev/locales/ja-JP-UGJBHLX6.js.map +0 -7
- package/dist/dev/locales/kaa-5ZUEYWIM.js.map +0 -7
- package/dist/dev/locales/kab-KAB-RLAZQZSM.js.map +0 -7
- package/dist/dev/locales/kk-KZ-CIP7GOIF.js.map +0 -7
- package/dist/dev/locales/km-KH-YMR4247H.js.map +0 -7
- package/dist/dev/locales/ko-KR-WGKQKR2R.js.map +0 -7
- package/dist/dev/locales/ku-TR-ZSJN6TN6.js.map +0 -7
- package/dist/dev/locales/lt-LT-FT6ZGIZP.js.map +0 -7
- package/dist/dev/locales/lv-LV-U74YKDPR.js.map +0 -7
- package/dist/dev/locales/mr-IN-KN72LOIA.js.map +0 -7
- package/dist/dev/locales/my-MM-E57NLQ7W.js.map +0 -7
- package/dist/dev/locales/nb-NO-FYQDWD7X.js.map +0 -7
- package/dist/dev/locales/nl-NL-D5MZQRAC.js.map +0 -7
- package/dist/dev/locales/nn-NO-5ZEUZJV4.js.map +0 -7
- package/dist/dev/locales/oc-FR-MVW6LDAP.js.map +0 -7
- package/dist/dev/locales/pa-IN-2NH3SVNI.js.map +0 -7
- package/dist/dev/locales/pl-PL-M6LYWLHY.js.map +0 -7
- package/dist/dev/locales/pt-BR-27M3CCS7.js.map +0 -7
- package/dist/dev/locales/pt-PT-V3C226NP.js.map +0 -7
- package/dist/dev/locales/ro-RO-S4GNBAJI.js.map +0 -7
- package/dist/dev/locales/ru-RU-CRRT5JUZ.js.map +0 -7
- package/dist/dev/locales/si-LK-APMICZ7H.js.map +0 -7
- package/dist/dev/locales/sk-SK-7ZFDZG6Y.js.map +0 -7
- package/dist/dev/locales/sl-SI-BBENCX7D.js.map +0 -7
- package/dist/dev/locales/sv-SE-35QJIOEW.js.map +0 -7
- package/dist/dev/locales/ta-IN-4N5CFIWZ.js.map +0 -7
- package/dist/dev/locales/th-TH-2F4V4IDB.js.map +0 -7
- package/dist/dev/locales/tr-TR-NDFP3F7P.js.map +0 -7
- package/dist/dev/locales/uk-UA-4I6VBQZ5.js.map +0 -7
- package/dist/dev/locales/uz-UZ-UVKC7UNZ.js.map +0 -7
- package/dist/dev/locales/vi-VN-UQCETDRL.js.map +0 -7
- package/dist/dev/locales/zh-CN-RSRHKN75.js.map +0 -7
- package/dist/dev/locales/zh-HK-XSFQ32U4.js.map +0 -7
- package/dist/dev/locales/zh-TW-KFVYWRFJ.js.map +0 -7
- package/dist/prod/chunk-7XWMRXBY.js +0 -1
- package/dist/prod/chunk-JTZGFME4.js +0 -34
- package/dist/prod/chunk-ZKUAT4MX.js +0 -12
- package/dist/prod/data/image-GN2OCBLE.js +0 -1
- package/dist/prod/locales/az-AZ-OXJXL76K.js +0 -1
- package/dist/prod/locales/bg-BG-W2GKIJDF.js +0 -5
- package/dist/prod/locales/bn-BD-TGL7M4PJ.js +0 -3
- package/dist/prod/locales/bn-IN-BKETKYEH.js +0 -3
- package/dist/prod/locales/ca-ES-LD5SCRVV.js +0 -8
- package/dist/prod/locales/cs-CZ-OFPU5DBV.js +0 -7
- package/dist/prod/locales/da-DK-FRDJFYWF.js +0 -2
- package/dist/prod/locales/de-CH-ZG7H3QK3.js +0 -11
- package/dist/prod/locales/de-DE-SIJYH4IH.js +0 -11
- package/dist/prod/locales/el-GR-IEE2CGI2.js +0 -7
- package/dist/prod/locales/es-ES-TVVPWKV5.js +0 -12
- package/dist/prod/locales/eu-ES-CGBMFQDT.js +0 -8
- package/dist/prod/locales/fa-IR-IE6XAPR4.js +0 -9
- package/dist/prod/locales/fi-FI-P7TKNHRM.js +0 -6
- package/dist/prod/locales/fr-FR-QI2XZNT7.js +0 -12
- package/dist/prod/locales/gl-ES-TLYCNOZZ.js +0 -6
- package/dist/prod/locales/he-IL-ZX43XLGP.js +0 -9
- package/dist/prod/locales/hi-IN-UTYRMTUF.js +0 -3
- package/dist/prod/locales/hu-HU-AJOSEBW6.js +0 -3
- package/dist/prod/locales/id-ID-ETLTVG6C.js +0 -8
- package/dist/prod/locales/it-IT-B4B6TP6L.js +0 -12
- package/dist/prod/locales/ja-JP-IYKVURR5.js +0 -12
- package/dist/prod/locales/kaa-SE2BUIKX.js +0 -1
- package/dist/prod/locales/kab-KAB-Y3GLKXLR.js +0 -4
- package/dist/prod/locales/kk-KZ-ABWUFVOH.js +0 -1
- package/dist/prod/locales/ko-KR-7JQDXKGM.js +0 -5
- package/dist/prod/locales/ku-TR-NAH2Q5B7.js +0 -6
- package/dist/prod/locales/lt-LT-VQFYRSNQ.js +0 -3
- package/dist/prod/locales/lv-LV-T62VSYUM.js +0 -4
- package/dist/prod/locales/mr-IN-V4FHLCJE.js +0 -9
- package/dist/prod/locales/my-MM-E3SQ6E54.js +0 -1
- package/dist/prod/locales/nb-NO-MLNOFN5H.js +0 -8
- package/dist/prod/locales/nl-NL-D5L3ZV4M.js +0 -13
- package/dist/prod/locales/nn-NO-NNHDGPKB.js +0 -4
- package/dist/prod/locales/oc-FR-DWCRF55G.js +0 -4
- package/dist/prod/locales/pa-IN-3JSAY44M.js +0 -4
- package/dist/prod/locales/percentages-ETZPVQEE.js +0 -1
- package/dist/prod/locales/pl-PL-ACURYKP3.js +0 -12
- package/dist/prod/locales/pt-BR-LOX7MLGD.js +0 -10
- package/dist/prod/locales/pt-PT-CZ2U2RFQ.js +0 -12
- package/dist/prod/locales/ro-RO-2HECL2X6.js +0 -12
- package/dist/prod/locales/ru-RU-HAYNXO46.js +0 -10
- package/dist/prod/locales/si-LK-W5KNS4H6.js +0 -1
- package/dist/prod/locales/sk-SK-7K2CFGDV.js +0 -7
- package/dist/prod/locales/sl-SI-OXV2QZWW.js +0 -6
- package/dist/prod/locales/sv-SE-JTOBZRGL.js +0 -12
- package/dist/prod/locales/ta-IN-KFAVKXGT.js +0 -6
- package/dist/prod/locales/th-TH-VDMSCPDL.js +0 -1
- package/dist/prod/locales/tr-TR-CEZ6GX45.js +0 -4
- package/dist/prod/locales/uk-UA-Q3H3OXQC.js +0 -6
- package/dist/prod/locales/uz-UZ-NGCSWWPX.js +0 -1
- package/dist/prod/locales/vi-VN-P3NDEVPS.js +0 -7
- package/dist/prod/locales/zh-CN-SS3O57GA.js +0 -11
- package/dist/prod/locales/zh-HK-LWJT3VCF.js +0 -1
- package/dist/prod/locales/zh-TW-VJXC72RT.js +0 -13
- package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
- /package/dist/dev/components/TTDDialog/{CodeMirrorEditor-FCA7YAIL.js.map → CodeMirrorEditor-XFPXQDTD.js.map} +0 -0
- /package/dist/dev/data/{image-5N65CA7G.js.map → image-DBJ5VI3T.js.map} +0 -0
- /package/dist/dev/locales/{en-AZHTDC2Z.js.map → en-INQU5YPU.js.map} +0 -0
- /package/dist/dev/locales/{percentages-QBBLQLIV.js.map → percentages-X2QIQ6XJ.js.map} +0 -0
|
@@ -7,7 +7,7 @@ export declare const distributeHorizontally: {
|
|
|
7
7
|
};
|
|
8
8
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
9
9
|
appState: Readonly<AppState>;
|
|
10
|
-
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
10
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
11
11
|
captureUpdate: "IMMEDIATELY";
|
|
12
12
|
};
|
|
13
13
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -23,7 +23,7 @@ export declare const distributeVertically: {
|
|
|
23
23
|
};
|
|
24
24
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
25
25
|
appState: Readonly<AppState>;
|
|
26
|
-
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
26
|
+
elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
|
|
27
27
|
captureUpdate: "IMMEDIATELY";
|
|
28
28
|
};
|
|
29
29
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -60,6 +60,7 @@ export declare const actionLinkToElement: {
|
|
|
60
60
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
61
61
|
bindingPreference: "enabled" | "disabled";
|
|
62
62
|
isMidpointSnappingEnabled: boolean;
|
|
63
|
+
inputDevice: import("../types").InputDevice;
|
|
63
64
|
suggestedBinding: {
|
|
64
65
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
65
66
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -94,6 +95,8 @@ export declare const actionLinkToElement: {
|
|
|
94
95
|
exportWithDarkMode: boolean;
|
|
95
96
|
exportScale: number;
|
|
96
97
|
currentItemStrokeColor: string;
|
|
98
|
+
currentItemStickynoteStrokeColor: string;
|
|
99
|
+
currentItemStickynoteBackgroundColor: string;
|
|
97
100
|
currentItemBackgroundColor: string;
|
|
98
101
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
99
102
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -171,8 +174,6 @@ export declare const actionLinkToElement: {
|
|
|
171
174
|
y: number;
|
|
172
175
|
} | null;
|
|
173
176
|
objectsSnapModeEnabled: boolean;
|
|
174
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
175
|
-
followedBy: Set<import("../types").SocketId>;
|
|
176
177
|
isCropping: boolean;
|
|
177
178
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
178
179
|
searchMatches: Readonly<{
|
|
@@ -184,6 +185,13 @@ export declare const actionLinkToElement: {
|
|
|
184
185
|
[groupId: string]: true;
|
|
185
186
|
};
|
|
186
187
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
188
|
+
colorTopPicks: {
|
|
189
|
+
elementStroke: readonly string[] | null;
|
|
190
|
+
elementBackground: readonly string[] | null;
|
|
191
|
+
bucketFill: readonly string[] | null;
|
|
192
|
+
stickyNoteStroke: readonly string[] | null;
|
|
193
|
+
stickyNoteBackground: readonly string[] | null;
|
|
194
|
+
};
|
|
187
195
|
};
|
|
188
196
|
captureUpdate: "IMMEDIATELY";
|
|
189
197
|
elements?: undefined;
|
|
@@ -42,6 +42,7 @@ export declare const actionToggleElementLock: {
|
|
|
42
42
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
43
43
|
bindingPreference: "enabled" | "disabled";
|
|
44
44
|
isMidpointSnappingEnabled: boolean;
|
|
45
|
+
inputDevice: import("../types").InputDevice;
|
|
45
46
|
suggestedBinding: {
|
|
46
47
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
47
48
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -76,6 +77,8 @@ export declare const actionToggleElementLock: {
|
|
|
76
77
|
exportWithDarkMode: boolean;
|
|
77
78
|
exportScale: number;
|
|
78
79
|
currentItemStrokeColor: string;
|
|
80
|
+
currentItemStickynoteStrokeColor: string;
|
|
81
|
+
currentItemStickynoteBackgroundColor: string;
|
|
79
82
|
currentItemBackgroundColor: string;
|
|
80
83
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
81
84
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -163,8 +166,6 @@ export declare const actionToggleElementLock: {
|
|
|
163
166
|
y: number;
|
|
164
167
|
} | null;
|
|
165
168
|
objectsSnapModeEnabled: boolean;
|
|
166
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
167
|
-
followedBy: Set<import("../types").SocketId>;
|
|
168
169
|
isCropping: boolean;
|
|
169
170
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
170
171
|
searchMatches: Readonly<{
|
|
@@ -172,6 +173,13 @@ export declare const actionToggleElementLock: {
|
|
|
172
173
|
matches: readonly import("../types").SearchMatch[];
|
|
173
174
|
}> | null;
|
|
174
175
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
176
|
+
colorTopPicks: {
|
|
177
|
+
elementStroke: readonly string[] | null;
|
|
178
|
+
elementBackground: readonly string[] | null;
|
|
179
|
+
bucketFill: readonly string[] | null;
|
|
180
|
+
stickyNoteStroke: readonly string[] | null;
|
|
181
|
+
stickyNoteBackground: readonly string[] | null;
|
|
182
|
+
};
|
|
175
183
|
};
|
|
176
184
|
captureUpdate: "IMMEDIATELY";
|
|
177
185
|
};
|
|
@@ -218,6 +226,7 @@ export declare const actionUnlockAllElements: {
|
|
|
218
226
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
219
227
|
bindingPreference: "enabled" | "disabled";
|
|
220
228
|
isMidpointSnappingEnabled: boolean;
|
|
229
|
+
inputDevice: import("../types").InputDevice;
|
|
221
230
|
suggestedBinding: {
|
|
222
231
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
223
232
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -252,6 +261,8 @@ export declare const actionUnlockAllElements: {
|
|
|
252
261
|
exportWithDarkMode: boolean;
|
|
253
262
|
exportScale: number;
|
|
254
263
|
currentItemStrokeColor: string;
|
|
264
|
+
currentItemStickynoteStrokeColor: string;
|
|
265
|
+
currentItemStickynoteBackgroundColor: string;
|
|
255
266
|
currentItemBackgroundColor: string;
|
|
256
267
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
257
268
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -340,8 +351,6 @@ export declare const actionUnlockAllElements: {
|
|
|
340
351
|
y: number;
|
|
341
352
|
} | null;
|
|
342
353
|
objectsSnapModeEnabled: boolean;
|
|
343
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
344
|
-
followedBy: Set<import("../types").SocketId>;
|
|
345
354
|
isCropping: boolean;
|
|
346
355
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
347
356
|
searchMatches: Readonly<{
|
|
@@ -349,6 +358,13 @@ export declare const actionUnlockAllElements: {
|
|
|
349
358
|
matches: readonly import("../types").SearchMatch[];
|
|
350
359
|
}> | null;
|
|
351
360
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
361
|
+
colorTopPicks: {
|
|
362
|
+
elementStroke: readonly string[] | null;
|
|
363
|
+
elementBackground: readonly string[] | null;
|
|
364
|
+
bucketFill: readonly string[] | null;
|
|
365
|
+
stickyNoteStroke: readonly string[] | null;
|
|
366
|
+
stickyNoteBackground: readonly string[] | null;
|
|
367
|
+
};
|
|
352
368
|
};
|
|
353
369
|
captureUpdate: "IMMEDIATELY";
|
|
354
370
|
};
|
|
@@ -176,6 +176,7 @@ export declare const actionLoadScene: {
|
|
|
176
176
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
177
177
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
178
178
|
bindingPreference: "enabled" | "disabled";
|
|
179
|
+
inputDevice: import("../types").InputDevice;
|
|
179
180
|
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
180
181
|
preferredSelectionTool: {
|
|
181
182
|
type: "selection" | "lasso";
|
|
@@ -187,6 +188,8 @@ export declare const actionLoadScene: {
|
|
|
187
188
|
exportEmbedScene: boolean;
|
|
188
189
|
exportWithDarkMode: boolean;
|
|
189
190
|
currentItemStrokeColor: string;
|
|
191
|
+
currentItemStickynoteStrokeColor: string;
|
|
192
|
+
currentItemStickynoteBackgroundColor: string;
|
|
190
193
|
currentItemBackgroundColor: string;
|
|
191
194
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
192
195
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -234,11 +237,16 @@ export declare const actionLoadScene: {
|
|
|
234
237
|
y: number;
|
|
235
238
|
} | null;
|
|
236
239
|
objectsSnapModeEnabled: boolean;
|
|
237
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
238
|
-
followedBy: Set<import("../types").SocketId>;
|
|
239
240
|
lockedMultiSelections: {
|
|
240
241
|
[groupId: string]: true;
|
|
241
242
|
};
|
|
243
|
+
colorTopPicks: {
|
|
244
|
+
elementStroke: readonly string[] | null;
|
|
245
|
+
elementBackground: readonly string[] | null;
|
|
246
|
+
bucketFill: readonly string[] | null;
|
|
247
|
+
stickyNoteStroke: readonly string[] | null;
|
|
248
|
+
stickyNoteBackground: readonly string[] | null;
|
|
249
|
+
};
|
|
242
250
|
};
|
|
243
251
|
files: BinaryFiles;
|
|
244
252
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -265,6 +273,7 @@ export declare const actionLoadScene: {
|
|
|
265
273
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
266
274
|
bindingPreference: "enabled" | "disabled";
|
|
267
275
|
isMidpointSnappingEnabled: boolean;
|
|
276
|
+
inputDevice: import("../types").InputDevice;
|
|
268
277
|
suggestedBinding: {
|
|
269
278
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
270
279
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -299,6 +308,8 @@ export declare const actionLoadScene: {
|
|
|
299
308
|
exportWithDarkMode: boolean;
|
|
300
309
|
exportScale: number;
|
|
301
310
|
currentItemStrokeColor: string;
|
|
311
|
+
currentItemStickynoteStrokeColor: string;
|
|
312
|
+
currentItemStickynoteBackgroundColor: string;
|
|
302
313
|
currentItemBackgroundColor: string;
|
|
303
314
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
304
315
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -393,8 +404,6 @@ export declare const actionLoadScene: {
|
|
|
393
404
|
y: number;
|
|
394
405
|
} | null;
|
|
395
406
|
objectsSnapModeEnabled: boolean;
|
|
396
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
397
|
-
followedBy: Set<import("../types").SocketId>;
|
|
398
407
|
isCropping: boolean;
|
|
399
408
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
400
409
|
searchMatches: Readonly<{
|
|
@@ -406,6 +415,13 @@ export declare const actionLoadScene: {
|
|
|
406
415
|
[groupId: string]: true;
|
|
407
416
|
};
|
|
408
417
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
418
|
+
colorTopPicks: {
|
|
419
|
+
elementStroke: readonly string[] | null;
|
|
420
|
+
elementBackground: readonly string[] | null;
|
|
421
|
+
bucketFill: readonly string[] | null;
|
|
422
|
+
stickyNoteStroke: readonly string[] | null;
|
|
423
|
+
stickyNoteBackground: readonly string[] | null;
|
|
424
|
+
};
|
|
409
425
|
};
|
|
410
426
|
files: BinaryFiles;
|
|
411
427
|
captureUpdate: "EVENTUALLY";
|
|
@@ -6,6 +6,7 @@ type FormData = {
|
|
|
6
6
|
x: number;
|
|
7
7
|
y: number;
|
|
8
8
|
};
|
|
9
|
+
hitBoundText?: boolean;
|
|
9
10
|
};
|
|
10
11
|
export declare const actionFinalize: import("./types").Action<FormData> & {
|
|
11
12
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
@@ -30,6 +30,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
30
30
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
31
|
bindingPreference: "enabled" | "disabled";
|
|
32
32
|
isMidpointSnappingEnabled: boolean;
|
|
33
|
+
inputDevice: import("../types").InputDevice;
|
|
33
34
|
suggestedBinding: {
|
|
34
35
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
36
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -64,6 +65,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
64
65
|
exportWithDarkMode: boolean;
|
|
65
66
|
exportScale: number;
|
|
66
67
|
currentItemStrokeColor: string;
|
|
68
|
+
currentItemStickynoteStrokeColor: string;
|
|
69
|
+
currentItemStickynoteBackgroundColor: string;
|
|
67
70
|
currentItemBackgroundColor: string;
|
|
68
71
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
69
72
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -155,8 +158,6 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
155
158
|
y: number;
|
|
156
159
|
} | null;
|
|
157
160
|
objectsSnapModeEnabled: boolean;
|
|
158
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
159
|
-
followedBy: Set<import("../types").SocketId>;
|
|
160
161
|
isCropping: boolean;
|
|
161
162
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
162
163
|
searchMatches: Readonly<{
|
|
@@ -168,6 +169,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
168
169
|
[groupId: string]: true;
|
|
169
170
|
};
|
|
170
171
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
172
|
+
colorTopPicks: {
|
|
173
|
+
elementStroke: readonly string[] | null;
|
|
174
|
+
elementBackground: readonly string[] | null;
|
|
175
|
+
bucketFill: readonly string[] | null;
|
|
176
|
+
stickyNoteStroke: readonly string[] | null;
|
|
177
|
+
stickyNoteBackground: readonly string[] | null;
|
|
178
|
+
};
|
|
171
179
|
};
|
|
172
180
|
captureUpdate: "IMMEDIATELY";
|
|
173
181
|
} | {
|
|
@@ -211,6 +219,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
211
219
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
212
220
|
bindingPreference: "enabled" | "disabled";
|
|
213
221
|
isMidpointSnappingEnabled: boolean;
|
|
222
|
+
inputDevice: import("../types").InputDevice;
|
|
214
223
|
suggestedBinding: {
|
|
215
224
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
216
225
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -245,6 +254,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
245
254
|
exportWithDarkMode: boolean;
|
|
246
255
|
exportScale: number;
|
|
247
256
|
currentItemStrokeColor: string;
|
|
257
|
+
currentItemStickynoteStrokeColor: string;
|
|
258
|
+
currentItemStickynoteBackgroundColor: string;
|
|
248
259
|
currentItemBackgroundColor: string;
|
|
249
260
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
250
261
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -336,8 +347,6 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
336
347
|
y: number;
|
|
337
348
|
} | null;
|
|
338
349
|
objectsSnapModeEnabled: boolean;
|
|
339
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
340
|
-
followedBy: Set<import("../types").SocketId>;
|
|
341
350
|
isCropping: boolean;
|
|
342
351
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
343
352
|
searchMatches: Readonly<{
|
|
@@ -349,6 +358,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
349
358
|
[groupId: string]: true;
|
|
350
359
|
};
|
|
351
360
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
361
|
+
colorTopPicks: {
|
|
362
|
+
elementStroke: readonly string[] | null;
|
|
363
|
+
elementBackground: readonly string[] | null;
|
|
364
|
+
bucketFill: readonly string[] | null;
|
|
365
|
+
stickyNoteStroke: readonly string[] | null;
|
|
366
|
+
stickyNoteBackground: readonly string[] | null;
|
|
367
|
+
};
|
|
352
368
|
};
|
|
353
369
|
captureUpdate: "IMMEDIATELY";
|
|
354
370
|
} | {
|
|
@@ -396,6 +412,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
396
412
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
397
413
|
bindingPreference: "enabled" | "disabled";
|
|
398
414
|
isMidpointSnappingEnabled: boolean;
|
|
415
|
+
inputDevice: import("../types").InputDevice;
|
|
399
416
|
suggestedBinding: {
|
|
400
417
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
401
418
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -424,6 +441,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
424
441
|
exportWithDarkMode: boolean;
|
|
425
442
|
exportScale: number;
|
|
426
443
|
currentItemStrokeColor: string;
|
|
444
|
+
currentItemStickynoteStrokeColor: string;
|
|
445
|
+
currentItemStickynoteBackgroundColor: string;
|
|
427
446
|
currentItemBackgroundColor: string;
|
|
428
447
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
429
448
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -518,8 +537,6 @@ export declare const actionupdateFrameRendering: {
|
|
|
518
537
|
y: number;
|
|
519
538
|
} | null;
|
|
520
539
|
objectsSnapModeEnabled: boolean;
|
|
521
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
522
|
-
followedBy: Set<import("../types").SocketId>;
|
|
523
540
|
isCropping: boolean;
|
|
524
541
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
525
542
|
searchMatches: Readonly<{
|
|
@@ -531,6 +548,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
531
548
|
[groupId: string]: true;
|
|
532
549
|
};
|
|
533
550
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
551
|
+
colorTopPicks: {
|
|
552
|
+
elementStroke: readonly string[] | null;
|
|
553
|
+
elementBackground: readonly string[] | null;
|
|
554
|
+
bucketFill: readonly string[] | null;
|
|
555
|
+
stickyNoteStroke: readonly string[] | null;
|
|
556
|
+
stickyNoteBackground: readonly string[] | null;
|
|
557
|
+
};
|
|
534
558
|
};
|
|
535
559
|
captureUpdate: "EVENTUALLY";
|
|
536
560
|
};
|
|
@@ -573,6 +597,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
573
597
|
frameId: string | null;
|
|
574
598
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
575
599
|
updated: number;
|
|
600
|
+
created: number | null;
|
|
576
601
|
link: string | null;
|
|
577
602
|
locked: boolean;
|
|
578
603
|
customData?: Record<string, any>;
|
|
@@ -612,6 +637,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
612
637
|
frameId: string | null;
|
|
613
638
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
614
639
|
updated: number;
|
|
640
|
+
created: number | null;
|
|
615
641
|
link: string | null;
|
|
616
642
|
locked: boolean;
|
|
617
643
|
customData?: Record<string, any>;
|
|
@@ -646,6 +672,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
646
672
|
frameId: string | null;
|
|
647
673
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
648
674
|
updated: number;
|
|
675
|
+
created: number | null;
|
|
649
676
|
link: string | null;
|
|
650
677
|
locked: boolean;
|
|
651
678
|
customData?: Record<string, any>;
|
|
@@ -680,6 +707,43 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
680
707
|
frameId: string | null;
|
|
681
708
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
682
709
|
updated: number;
|
|
710
|
+
created: number | null;
|
|
711
|
+
link: string | null;
|
|
712
|
+
locked: boolean;
|
|
713
|
+
customData?: Record<string, any>;
|
|
714
|
+
}> & Readonly<{
|
|
715
|
+
type: "stickynote";
|
|
716
|
+
baseHeight: number;
|
|
717
|
+
}> & {
|
|
718
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
719
|
+
}) | (Readonly<{
|
|
720
|
+
id: string;
|
|
721
|
+
x: number;
|
|
722
|
+
y: number;
|
|
723
|
+
strokeColor: string;
|
|
724
|
+
backgroundColor: string;
|
|
725
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
726
|
+
strokeWidth: number;
|
|
727
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
728
|
+
roundness: null | {
|
|
729
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
730
|
+
value?: number;
|
|
731
|
+
};
|
|
732
|
+
roughness: number;
|
|
733
|
+
opacity: number;
|
|
734
|
+
width: number;
|
|
735
|
+
height: number;
|
|
736
|
+
angle: import("@excalidraw/math").Radians;
|
|
737
|
+
seed: number;
|
|
738
|
+
version: number;
|
|
739
|
+
versionNonce: number;
|
|
740
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
741
|
+
isDeleted: boolean;
|
|
742
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
743
|
+
frameId: string | null;
|
|
744
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
745
|
+
updated: number;
|
|
746
|
+
created: number | null;
|
|
683
747
|
link: string | null;
|
|
684
748
|
locked: boolean;
|
|
685
749
|
customData?: Record<string, any>;
|
|
@@ -714,6 +778,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
714
778
|
frameId: string | null;
|
|
715
779
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
716
780
|
updated: number;
|
|
781
|
+
created: number | null;
|
|
717
782
|
link: string | null;
|
|
718
783
|
locked: boolean;
|
|
719
784
|
customData?: Record<string, any>;
|
|
@@ -748,6 +813,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
748
813
|
frameId: string | null;
|
|
749
814
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
750
815
|
updated: number;
|
|
816
|
+
created: number | null;
|
|
751
817
|
link: string | null;
|
|
752
818
|
locked: boolean;
|
|
753
819
|
customData?: Record<string, any>;
|
|
@@ -782,6 +848,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
782
848
|
frameId: string | null;
|
|
783
849
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
784
850
|
updated: number;
|
|
851
|
+
created: number | null;
|
|
785
852
|
link: string | null;
|
|
786
853
|
locked: boolean;
|
|
787
854
|
customData?: Record<string, any>;
|
|
@@ -819,6 +886,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
819
886
|
frameId: string | null;
|
|
820
887
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
821
888
|
updated: number;
|
|
889
|
+
created: number | null;
|
|
822
890
|
link: string | null;
|
|
823
891
|
locked: boolean;
|
|
824
892
|
customData?: Record<string, any>;
|
|
@@ -857,6 +925,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
857
925
|
frameId: string | null;
|
|
858
926
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
859
927
|
updated: number;
|
|
928
|
+
created: number | null;
|
|
860
929
|
link: string | null;
|
|
861
930
|
locked: boolean;
|
|
862
931
|
customData?: Record<string, any>;
|
|
@@ -892,6 +961,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
892
961
|
frameId: string | null;
|
|
893
962
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
894
963
|
updated: number;
|
|
964
|
+
created: number | null;
|
|
895
965
|
link: string | null;
|
|
896
966
|
locked: boolean;
|
|
897
967
|
customData?: Record<string, any>;
|
|
@@ -927,6 +997,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
927
997
|
frameId: string | null;
|
|
928
998
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
929
999
|
updated: number;
|
|
1000
|
+
created: number | null;
|
|
930
1001
|
link: string | null;
|
|
931
1002
|
locked: boolean;
|
|
932
1003
|
customData?: Record<string, any>;
|
|
@@ -934,15 +1005,17 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
934
1005
|
type: "text";
|
|
935
1006
|
fontSize: number;
|
|
936
1007
|
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1008
|
+
baseFontSize: number | null;
|
|
937
1009
|
text: string;
|
|
938
1010
|
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
939
1011
|
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
940
|
-
containerId: import("@excalidraw/element/types").
|
|
1012
|
+
containerId: import("@excalidraw/element/types").ExcalidrawTextContainer["id"] | null;
|
|
941
1013
|
originalText: string;
|
|
942
1014
|
autoResize: boolean;
|
|
943
1015
|
lineHeight: number & {
|
|
944
1016
|
_brand: "unitlessLineHeight";
|
|
945
1017
|
};
|
|
1018
|
+
labelPosition?: number | null;
|
|
946
1019
|
}> & {
|
|
947
1020
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
948
1021
|
}) | (Readonly<{
|
|
@@ -972,6 +1045,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
972
1045
|
frameId: string | null;
|
|
973
1046
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
974
1047
|
updated: number;
|
|
1048
|
+
created: number | null;
|
|
975
1049
|
link: string | null;
|
|
976
1050
|
locked: boolean;
|
|
977
1051
|
customData?: Record<string, any>;
|
|
@@ -7,7 +7,7 @@ export declare const actionGroup: {
|
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
|
-
perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
|
|
10
|
+
perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => false | {
|
|
11
11
|
appState: Readonly<import("../types").AppState>;
|
|
12
12
|
elements: readonly OrderedExcalidrawElement[];
|
|
13
13
|
captureUpdate: "EVENTUALLY";
|
|
@@ -36,6 +36,7 @@ export declare const actionGroup: {
|
|
|
36
36
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
37
37
|
bindingPreference: "enabled" | "disabled";
|
|
38
38
|
isMidpointSnappingEnabled: boolean;
|
|
39
|
+
inputDevice: import("../types").InputDevice;
|
|
39
40
|
suggestedBinding: {
|
|
40
41
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
41
42
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -70,6 +71,8 @@ export declare const actionGroup: {
|
|
|
70
71
|
exportWithDarkMode: boolean;
|
|
71
72
|
exportScale: number;
|
|
72
73
|
currentItemStrokeColor: string;
|
|
74
|
+
currentItemStickynoteStrokeColor: string;
|
|
75
|
+
currentItemStickynoteBackgroundColor: string;
|
|
73
76
|
currentItemBackgroundColor: string;
|
|
74
77
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
75
78
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -157,8 +160,6 @@ export declare const actionGroup: {
|
|
|
157
160
|
y: number;
|
|
158
161
|
} | null;
|
|
159
162
|
objectsSnapModeEnabled: boolean;
|
|
160
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
161
|
-
followedBy: Set<import("../types").SocketId>;
|
|
162
163
|
isCropping: boolean;
|
|
163
164
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
164
165
|
searchMatches: Readonly<{
|
|
@@ -170,6 +171,13 @@ export declare const actionGroup: {
|
|
|
170
171
|
[groupId: string]: true;
|
|
171
172
|
};
|
|
172
173
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
174
|
+
colorTopPicks: {
|
|
175
|
+
elementStroke: readonly string[] | null;
|
|
176
|
+
elementBackground: readonly string[] | null;
|
|
177
|
+
bucketFill: readonly string[] | null;
|
|
178
|
+
stickyNoteStroke: readonly string[] | null;
|
|
179
|
+
stickyNoteBackground: readonly string[] | null;
|
|
180
|
+
};
|
|
173
181
|
};
|
|
174
182
|
elements: OrderedExcalidrawElement[];
|
|
175
183
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -216,6 +224,7 @@ export declare const actionUngroup: {
|
|
|
216
224
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
217
225
|
bindingPreference: "enabled" | "disabled";
|
|
218
226
|
isMidpointSnappingEnabled: boolean;
|
|
227
|
+
inputDevice: import("../types").InputDevice;
|
|
219
228
|
suggestedBinding: {
|
|
220
229
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
221
230
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -250,6 +259,8 @@ export declare const actionUngroup: {
|
|
|
250
259
|
exportWithDarkMode: boolean;
|
|
251
260
|
exportScale: number;
|
|
252
261
|
currentItemStrokeColor: string;
|
|
262
|
+
currentItemStickynoteStrokeColor: string;
|
|
263
|
+
currentItemStickynoteBackgroundColor: string;
|
|
253
264
|
currentItemBackgroundColor: string;
|
|
254
265
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
255
266
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -337,8 +348,6 @@ export declare const actionUngroup: {
|
|
|
337
348
|
y: number;
|
|
338
349
|
} | null;
|
|
339
350
|
objectsSnapModeEnabled: boolean;
|
|
340
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
341
|
-
followedBy: Set<import("../types").SocketId>;
|
|
342
351
|
isCropping: boolean;
|
|
343
352
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
344
353
|
searchMatches: Readonly<{
|
|
@@ -350,6 +359,13 @@ export declare const actionUngroup: {
|
|
|
350
359
|
[groupId: string]: true;
|
|
351
360
|
};
|
|
352
361
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
362
|
+
colorTopPicks: {
|
|
363
|
+
elementStroke: readonly string[] | null;
|
|
364
|
+
elementBackground: readonly string[] | null;
|
|
365
|
+
bucketFill: readonly string[] | null;
|
|
366
|
+
stickyNoteStroke: readonly string[] | null;
|
|
367
|
+
stickyNoteBackground: readonly string[] | null;
|
|
368
|
+
};
|
|
353
369
|
};
|
|
354
370
|
elements: OrderedExcalidrawElement[];
|
|
355
371
|
captureUpdate: "IMMEDIATELY";
|