@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
|
@@ -64,6 +64,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
64
64
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
65
65
|
bindingPreference: "enabled" | "disabled";
|
|
66
66
|
isMidpointSnappingEnabled: boolean;
|
|
67
|
+
inputDevice: import("../types").InputDevice;
|
|
67
68
|
suggestedBinding: {
|
|
68
69
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
69
70
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -98,6 +99,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
98
99
|
exportWithDarkMode: boolean;
|
|
99
100
|
exportScale: number;
|
|
100
101
|
currentItemStrokeColor: string;
|
|
102
|
+
currentItemStickynoteStrokeColor: string;
|
|
103
|
+
currentItemStickynoteBackgroundColor: string;
|
|
101
104
|
currentItemBackgroundColor: string;
|
|
102
105
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
103
106
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -191,8 +194,6 @@ export declare const actionToggleLinearEditor: {
|
|
|
191
194
|
y: number;
|
|
192
195
|
} | null;
|
|
193
196
|
objectsSnapModeEnabled: boolean;
|
|
194
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
195
|
-
followedBy: Set<import("../types").SocketId>;
|
|
196
197
|
isCropping: boolean;
|
|
197
198
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
198
199
|
searchMatches: Readonly<{
|
|
@@ -204,6 +205,13 @@ export declare const actionToggleLinearEditor: {
|
|
|
204
205
|
[groupId: string]: true;
|
|
205
206
|
};
|
|
206
207
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
208
|
+
colorTopPicks: {
|
|
209
|
+
elementStroke: readonly string[] | null;
|
|
210
|
+
elementBackground: readonly string[] | null;
|
|
211
|
+
bucketFill: readonly string[] | null;
|
|
212
|
+
stickyNoteStroke: readonly string[] | null;
|
|
213
|
+
stickyNoteBackground: readonly string[] | null;
|
|
214
|
+
};
|
|
207
215
|
};
|
|
208
216
|
captureUpdate: "IMMEDIATELY";
|
|
209
217
|
};
|
|
@@ -249,6 +257,7 @@ export declare const actionTogglePolygon: {
|
|
|
249
257
|
frameId: string | null;
|
|
250
258
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
251
259
|
updated: number;
|
|
260
|
+
created: number | null;
|
|
252
261
|
link: string | null;
|
|
253
262
|
locked: boolean;
|
|
254
263
|
customData?: Record<string, any>;
|
|
@@ -288,6 +297,7 @@ export declare const actionTogglePolygon: {
|
|
|
288
297
|
frameId: string | null;
|
|
289
298
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
290
299
|
updated: number;
|
|
300
|
+
created: number | null;
|
|
291
301
|
link: string | null;
|
|
292
302
|
locked: boolean;
|
|
293
303
|
customData?: Record<string, any>;
|
|
@@ -322,6 +332,7 @@ export declare const actionTogglePolygon: {
|
|
|
322
332
|
frameId: string | null;
|
|
323
333
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
324
334
|
updated: number;
|
|
335
|
+
created: number | null;
|
|
325
336
|
link: string | null;
|
|
326
337
|
locked: boolean;
|
|
327
338
|
customData?: Record<string, any>;
|
|
@@ -356,6 +367,43 @@ export declare const actionTogglePolygon: {
|
|
|
356
367
|
frameId: string | null;
|
|
357
368
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
358
369
|
updated: number;
|
|
370
|
+
created: number | null;
|
|
371
|
+
link: string | null;
|
|
372
|
+
locked: boolean;
|
|
373
|
+
customData?: Record<string, any>;
|
|
374
|
+
}> & Readonly<{
|
|
375
|
+
type: "stickynote";
|
|
376
|
+
baseHeight: number;
|
|
377
|
+
}> & {
|
|
378
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
379
|
+
}) | (Readonly<{
|
|
380
|
+
id: string;
|
|
381
|
+
x: number;
|
|
382
|
+
y: number;
|
|
383
|
+
strokeColor: string;
|
|
384
|
+
backgroundColor: string;
|
|
385
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
386
|
+
strokeWidth: number;
|
|
387
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
388
|
+
roundness: null | {
|
|
389
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
390
|
+
value?: number;
|
|
391
|
+
};
|
|
392
|
+
roughness: number;
|
|
393
|
+
opacity: number;
|
|
394
|
+
width: number;
|
|
395
|
+
height: number;
|
|
396
|
+
angle: import("@excalidraw/math").Radians;
|
|
397
|
+
seed: number;
|
|
398
|
+
version: number;
|
|
399
|
+
versionNonce: number;
|
|
400
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
401
|
+
isDeleted: boolean;
|
|
402
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
403
|
+
frameId: string | null;
|
|
404
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
405
|
+
updated: number;
|
|
406
|
+
created: number | null;
|
|
359
407
|
link: string | null;
|
|
360
408
|
locked: boolean;
|
|
361
409
|
customData?: Record<string, any>;
|
|
@@ -390,6 +438,7 @@ export declare const actionTogglePolygon: {
|
|
|
390
438
|
frameId: string | null;
|
|
391
439
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
392
440
|
updated: number;
|
|
441
|
+
created: number | null;
|
|
393
442
|
link: string | null;
|
|
394
443
|
locked: boolean;
|
|
395
444
|
customData?: Record<string, any>;
|
|
@@ -424,6 +473,7 @@ export declare const actionTogglePolygon: {
|
|
|
424
473
|
frameId: string | null;
|
|
425
474
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
426
475
|
updated: number;
|
|
476
|
+
created: number | null;
|
|
427
477
|
link: string | null;
|
|
428
478
|
locked: boolean;
|
|
429
479
|
customData?: Record<string, any>;
|
|
@@ -458,6 +508,7 @@ export declare const actionTogglePolygon: {
|
|
|
458
508
|
frameId: string | null;
|
|
459
509
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
460
510
|
updated: number;
|
|
511
|
+
created: number | null;
|
|
461
512
|
link: string | null;
|
|
462
513
|
locked: boolean;
|
|
463
514
|
customData?: Record<string, any>;
|
|
@@ -495,6 +546,7 @@ export declare const actionTogglePolygon: {
|
|
|
495
546
|
frameId: string | null;
|
|
496
547
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
497
548
|
updated: number;
|
|
549
|
+
created: number | null;
|
|
498
550
|
link: string | null;
|
|
499
551
|
locked: boolean;
|
|
500
552
|
customData?: Record<string, any>;
|
|
@@ -533,6 +585,7 @@ export declare const actionTogglePolygon: {
|
|
|
533
585
|
frameId: string | null;
|
|
534
586
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
535
587
|
updated: number;
|
|
588
|
+
created: number | null;
|
|
536
589
|
link: string | null;
|
|
537
590
|
locked: boolean;
|
|
538
591
|
customData?: Record<string, any>;
|
|
@@ -568,6 +621,7 @@ export declare const actionTogglePolygon: {
|
|
|
568
621
|
frameId: string | null;
|
|
569
622
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
570
623
|
updated: number;
|
|
624
|
+
created: number | null;
|
|
571
625
|
link: string | null;
|
|
572
626
|
locked: boolean;
|
|
573
627
|
customData?: Record<string, any>;
|
|
@@ -603,6 +657,7 @@ export declare const actionTogglePolygon: {
|
|
|
603
657
|
frameId: string | null;
|
|
604
658
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
605
659
|
updated: number;
|
|
660
|
+
created: number | null;
|
|
606
661
|
link: string | null;
|
|
607
662
|
locked: boolean;
|
|
608
663
|
customData?: Record<string, any>;
|
|
@@ -610,15 +665,17 @@ export declare const actionTogglePolygon: {
|
|
|
610
665
|
type: "text";
|
|
611
666
|
fontSize: number;
|
|
612
667
|
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
668
|
+
baseFontSize: number | null;
|
|
613
669
|
text: string;
|
|
614
670
|
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
615
671
|
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
616
|
-
containerId: import("@excalidraw/element/types").
|
|
672
|
+
containerId: import("@excalidraw/element/types").ExcalidrawTextContainer["id"] | null;
|
|
617
673
|
originalText: string;
|
|
618
674
|
autoResize: boolean;
|
|
619
675
|
lineHeight: number & {
|
|
620
676
|
_brand: "unitlessLineHeight";
|
|
621
677
|
};
|
|
678
|
+
labelPosition?: number | null;
|
|
622
679
|
}> & {
|
|
623
680
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
624
681
|
}) | (Readonly<{
|
|
@@ -648,6 +705,7 @@ export declare const actionTogglePolygon: {
|
|
|
648
705
|
frameId: string | null;
|
|
649
706
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
650
707
|
updated: number;
|
|
708
|
+
created: number | null;
|
|
651
709
|
link: string | null;
|
|
652
710
|
locked: boolean;
|
|
653
711
|
customData?: Record<string, any>;
|
|
@@ -27,6 +27,7 @@ export declare const actionLink: {
|
|
|
27
27
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
28
28
|
bindingPreference: "enabled" | "disabled";
|
|
29
29
|
isMidpointSnappingEnabled: boolean;
|
|
30
|
+
inputDevice: import("../types").InputDevice;
|
|
30
31
|
suggestedBinding: {
|
|
31
32
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
32
33
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -61,6 +62,8 @@ export declare const actionLink: {
|
|
|
61
62
|
exportWithDarkMode: boolean;
|
|
62
63
|
exportScale: number;
|
|
63
64
|
currentItemStrokeColor: string;
|
|
65
|
+
currentItemStickynoteStrokeColor: string;
|
|
66
|
+
currentItemStickynoteBackgroundColor: string;
|
|
64
67
|
currentItemBackgroundColor: string;
|
|
65
68
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
66
69
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -153,8 +156,6 @@ export declare const actionLink: {
|
|
|
153
156
|
y: number;
|
|
154
157
|
} | null;
|
|
155
158
|
objectsSnapModeEnabled: boolean;
|
|
156
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
157
|
-
followedBy: Set<import("../types").SocketId>;
|
|
158
159
|
isCropping: boolean;
|
|
159
160
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
160
161
|
searchMatches: Readonly<{
|
|
@@ -166,6 +167,13 @@ export declare const actionLink: {
|
|
|
166
167
|
[groupId: string]: true;
|
|
167
168
|
};
|
|
168
169
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
170
|
+
colorTopPicks: {
|
|
171
|
+
elementStroke: readonly string[] | null;
|
|
172
|
+
elementBackground: readonly string[] | null;
|
|
173
|
+
bucketFill: readonly string[] | null;
|
|
174
|
+
stickyNoteStroke: readonly string[] | null;
|
|
175
|
+
stickyNoteBackground: readonly string[] | null;
|
|
176
|
+
};
|
|
169
177
|
};
|
|
170
178
|
captureUpdate: "IMMEDIATELY";
|
|
171
179
|
};
|
|
@@ -34,6 +34,7 @@ export declare const actionShortcuts: {
|
|
|
34
34
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
35
35
|
bindingPreference: "enabled" | "disabled";
|
|
36
36
|
isMidpointSnappingEnabled: boolean;
|
|
37
|
+
inputDevice: import("../types").InputDevice;
|
|
37
38
|
suggestedBinding: {
|
|
38
39
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
39
40
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -68,6 +69,8 @@ export declare const actionShortcuts: {
|
|
|
68
69
|
exportWithDarkMode: boolean;
|
|
69
70
|
exportScale: number;
|
|
70
71
|
currentItemStrokeColor: string;
|
|
72
|
+
currentItemStickynoteStrokeColor: string;
|
|
73
|
+
currentItemStickynoteBackgroundColor: string;
|
|
71
74
|
currentItemBackgroundColor: string;
|
|
72
75
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
73
76
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -143,8 +146,6 @@ export declare const actionShortcuts: {
|
|
|
143
146
|
y: number;
|
|
144
147
|
} | null;
|
|
145
148
|
objectsSnapModeEnabled: boolean;
|
|
146
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
147
|
-
followedBy: Set<import("../types").SocketId>;
|
|
148
149
|
isCropping: boolean;
|
|
149
150
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
150
151
|
searchMatches: Readonly<{
|
|
@@ -156,6 +157,13 @@ export declare const actionShortcuts: {
|
|
|
156
157
|
[groupId: string]: true;
|
|
157
158
|
};
|
|
158
159
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
160
|
+
colorTopPicks: {
|
|
161
|
+
elementStroke: readonly string[] | null;
|
|
162
|
+
elementBackground: readonly string[] | null;
|
|
163
|
+
bucketFill: readonly string[] | null;
|
|
164
|
+
stickyNoteStroke: readonly string[] | null;
|
|
165
|
+
stickyNoteBackground: readonly string[] | null;
|
|
166
|
+
};
|
|
159
167
|
};
|
|
160
168
|
captureUpdate: "EVENTUALLY";
|
|
161
169
|
};
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { type StrokeWidthKey } from "@excalidraw/common";
|
|
2
2
|
import { LinearElementEditor } from "@excalidraw/element";
|
|
3
|
-
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, StrokeVariability, NonDeleted, NonDeletedExcalidrawElement, TextAlign } from "@excalidraw/element/types";
|
|
3
|
+
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawFreeDrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, StrokeVariability, NonDeleted, NonDeletedExcalidrawElement, TextAlign } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppClassProperties, AppState, Primitive } from "../types";
|
|
5
|
-
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: NonDeletedExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) =>
|
|
5
|
+
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: NonDeletedExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => (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 | ExcalidrawTextElement | ExcalidrawFreeDrawElement)[];
|
|
6
6
|
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties,
|
|
7
7
|
/**
|
|
8
8
|
* input value (usually the element attribute value,
|
|
9
9
|
* but depends on what the action's PanelComponent input expects)
|
|
10
10
|
*/
|
|
11
11
|
getValue: (element: ExcalidrawElement) => T, elementPredicate: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
12
|
-
export declare const actionChangeStrokeColor: import("./types").Action<
|
|
12
|
+
export declare const actionChangeStrokeColor: import("./types").Action<Partial<AppState> & {
|
|
13
|
+
color?: string;
|
|
14
|
+
}> & {
|
|
13
15
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
14
16
|
};
|
|
15
|
-
export declare const actionChangeBackgroundColor: import("./types").Action<
|
|
17
|
+
export declare const actionChangeBackgroundColor: import("./types").Action<Partial<AppState> & {
|
|
18
|
+
color?: string;
|
|
19
|
+
}> & {
|
|
16
20
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
17
21
|
};
|
|
18
22
|
export declare const actionChangeBucketFillBackgroundColor: import("./types").Action<Pick<AppState, "currentItemBackgroundColor">> & {
|
|
@@ -45,7 +49,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
45
49
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
46
50
|
trackEvent: false;
|
|
47
51
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
48
|
-
elements:
|
|
52
|
+
elements: (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 | ExcalidrawTextElement | ExcalidrawFreeDrawElement)[];
|
|
49
53
|
appState: {
|
|
50
54
|
currentItemFontSize: number;
|
|
51
55
|
contextMenu: {
|
|
@@ -68,6 +72,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
68
72
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
69
73
|
bindingPreference: "enabled" | "disabled";
|
|
70
74
|
isMidpointSnappingEnabled: boolean;
|
|
75
|
+
inputDevice: import("../types").InputDevice;
|
|
71
76
|
suggestedBinding: {
|
|
72
77
|
element: NonDeleted<ExcalidrawBindableElement>;
|
|
73
78
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -102,6 +107,8 @@ export declare const actionDecreaseFontSize: {
|
|
|
102
107
|
exportWithDarkMode: boolean;
|
|
103
108
|
exportScale: number;
|
|
104
109
|
currentItemStrokeColor: string;
|
|
110
|
+
currentItemStickynoteStrokeColor: string;
|
|
111
|
+
currentItemStickynoteBackgroundColor: string;
|
|
105
112
|
currentItemBackgroundColor: string;
|
|
106
113
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
107
114
|
currentItemStrokeWidthKey: StrokeWidthKey;
|
|
@@ -195,8 +202,6 @@ export declare const actionDecreaseFontSize: {
|
|
|
195
202
|
y: number;
|
|
196
203
|
} | null;
|
|
197
204
|
objectsSnapModeEnabled: boolean;
|
|
198
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
199
|
-
followedBy: Set<import("../types").SocketId>;
|
|
200
205
|
isCropping: boolean;
|
|
201
206
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
202
207
|
searchMatches: Readonly<{
|
|
@@ -208,6 +213,13 @@ export declare const actionDecreaseFontSize: {
|
|
|
208
213
|
[groupId: string]: true;
|
|
209
214
|
};
|
|
210
215
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
216
|
+
colorTopPicks: {
|
|
217
|
+
elementStroke: readonly string[] | null;
|
|
218
|
+
elementBackground: readonly string[] | null;
|
|
219
|
+
bucketFill: readonly string[] | null;
|
|
220
|
+
stickyNoteStroke: readonly string[] | null;
|
|
221
|
+
stickyNoteBackground: readonly string[] | null;
|
|
222
|
+
};
|
|
211
223
|
};
|
|
212
224
|
captureUpdate: "IMMEDIATELY";
|
|
213
225
|
};
|
|
@@ -221,7 +233,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
221
233
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
222
234
|
trackEvent: false;
|
|
223
235
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
|
|
224
|
-
elements:
|
|
236
|
+
elements: (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 | ExcalidrawTextElement | ExcalidrawFreeDrawElement)[];
|
|
225
237
|
appState: {
|
|
226
238
|
currentItemFontSize: number;
|
|
227
239
|
contextMenu: {
|
|
@@ -244,6 +256,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
244
256
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
245
257
|
bindingPreference: "enabled" | "disabled";
|
|
246
258
|
isMidpointSnappingEnabled: boolean;
|
|
259
|
+
inputDevice: import("../types").InputDevice;
|
|
247
260
|
suggestedBinding: {
|
|
248
261
|
element: NonDeleted<ExcalidrawBindableElement>;
|
|
249
262
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -278,6 +291,8 @@ export declare const actionIncreaseFontSize: {
|
|
|
278
291
|
exportWithDarkMode: boolean;
|
|
279
292
|
exportScale: number;
|
|
280
293
|
currentItemStrokeColor: string;
|
|
294
|
+
currentItemStickynoteStrokeColor: string;
|
|
295
|
+
currentItemStickynoteBackgroundColor: string;
|
|
281
296
|
currentItemBackgroundColor: string;
|
|
282
297
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
283
298
|
currentItemStrokeWidthKey: StrokeWidthKey;
|
|
@@ -371,8 +386,6 @@ export declare const actionIncreaseFontSize: {
|
|
|
371
386
|
y: number;
|
|
372
387
|
} | null;
|
|
373
388
|
objectsSnapModeEnabled: boolean;
|
|
374
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
375
|
-
followedBy: Set<import("../types").SocketId>;
|
|
376
389
|
isCropping: boolean;
|
|
377
390
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
378
391
|
searchMatches: Readonly<{
|
|
@@ -384,6 +397,13 @@ export declare const actionIncreaseFontSize: {
|
|
|
384
397
|
[groupId: string]: true;
|
|
385
398
|
};
|
|
386
399
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
400
|
+
colorTopPicks: {
|
|
401
|
+
elementStroke: readonly string[] | null;
|
|
402
|
+
elementBackground: readonly string[] | null;
|
|
403
|
+
bucketFill: readonly string[] | null;
|
|
404
|
+
stickyNoteStroke: readonly string[] | null;
|
|
405
|
+
stickyNoteBackground: readonly string[] | null;
|
|
406
|
+
};
|
|
387
407
|
};
|
|
388
408
|
captureUpdate: "IMMEDIATELY";
|
|
389
409
|
};
|
|
@@ -34,6 +34,7 @@ export declare const actionSelectAll: {
|
|
|
34
34
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
35
35
|
bindingPreference: "enabled" | "disabled";
|
|
36
36
|
isMidpointSnappingEnabled: boolean;
|
|
37
|
+
inputDevice: import("../types").InputDevice;
|
|
37
38
|
suggestedBinding: {
|
|
38
39
|
element: NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
39
40
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -68,6 +69,8 @@ export declare const actionSelectAll: {
|
|
|
68
69
|
exportWithDarkMode: boolean;
|
|
69
70
|
exportScale: number;
|
|
70
71
|
currentItemStrokeColor: string;
|
|
72
|
+
currentItemStickynoteStrokeColor: string;
|
|
73
|
+
currentItemStickynoteBackgroundColor: string;
|
|
71
74
|
currentItemBackgroundColor: string;
|
|
72
75
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
73
76
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -154,8 +157,6 @@ export declare const actionSelectAll: {
|
|
|
154
157
|
y: number;
|
|
155
158
|
} | null;
|
|
156
159
|
objectsSnapModeEnabled: boolean;
|
|
157
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
158
|
-
followedBy: Set<import("../types").SocketId>;
|
|
159
160
|
isCropping: boolean;
|
|
160
161
|
croppingElementId: ExcalidrawElement["id"] | null;
|
|
161
162
|
searchMatches: Readonly<{
|
|
@@ -167,6 +168,13 @@ export declare const actionSelectAll: {
|
|
|
167
168
|
[groupId: string]: true;
|
|
168
169
|
};
|
|
169
170
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
171
|
+
colorTopPicks: {
|
|
172
|
+
elementStroke: readonly string[] | null;
|
|
173
|
+
elementBackground: readonly string[] | null;
|
|
174
|
+
bucketFill: readonly string[] | null;
|
|
175
|
+
stickyNoteStroke: readonly string[] | null;
|
|
176
|
+
stickyNoteBackground: readonly string[] | null;
|
|
177
|
+
};
|
|
170
178
|
};
|
|
171
179
|
captureUpdate: "IMMEDIATELY";
|
|
172
180
|
};
|
|
@@ -32,6 +32,7 @@ export declare const actionCopyStyles: {
|
|
|
32
32
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
33
33
|
bindingPreference: "enabled" | "disabled";
|
|
34
34
|
isMidpointSnappingEnabled: boolean;
|
|
35
|
+
inputDevice: import("../types").InputDevice;
|
|
35
36
|
suggestedBinding: {
|
|
36
37
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
37
38
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -66,6 +67,8 @@ export declare const actionCopyStyles: {
|
|
|
66
67
|
exportWithDarkMode: boolean;
|
|
67
68
|
exportScale: number;
|
|
68
69
|
currentItemStrokeColor: string;
|
|
70
|
+
currentItemStickynoteStrokeColor: string;
|
|
71
|
+
currentItemStickynoteBackgroundColor: string;
|
|
69
72
|
currentItemBackgroundColor: string;
|
|
70
73
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
71
74
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -155,8 +158,6 @@ export declare const actionCopyStyles: {
|
|
|
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: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
162
163
|
searchMatches: Readonly<{
|
|
@@ -168,6 +169,13 @@ export declare const actionCopyStyles: {
|
|
|
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: "EVENTUALLY";
|
|
173
181
|
};
|
|
@@ -186,7 +194,7 @@ export declare const actionPasteStyles: {
|
|
|
186
194
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
187
195
|
captureUpdate: "EVENTUALLY";
|
|
188
196
|
} | {
|
|
189
|
-
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
197
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
190
198
|
captureUpdate: "IMMEDIATELY";
|
|
191
199
|
};
|
|
192
200
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -28,6 +28,7 @@ export declare const actionToggleArrowBinding: {
|
|
|
28
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
30
30
|
isMidpointSnappingEnabled: boolean;
|
|
31
|
+
inputDevice: import("../types").InputDevice;
|
|
31
32
|
suggestedBinding: {
|
|
32
33
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
33
34
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -62,6 +63,8 @@ export declare const actionToggleArrowBinding: {
|
|
|
62
63
|
exportWithDarkMode: boolean;
|
|
63
64
|
exportScale: number;
|
|
64
65
|
currentItemStrokeColor: string;
|
|
66
|
+
currentItemStickynoteStrokeColor: string;
|
|
67
|
+
currentItemStickynoteBackgroundColor: string;
|
|
65
68
|
currentItemBackgroundColor: string;
|
|
66
69
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
67
70
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -156,8 +159,6 @@ export declare const actionToggleArrowBinding: {
|
|
|
156
159
|
y: number;
|
|
157
160
|
} | null;
|
|
158
161
|
objectsSnapModeEnabled: boolean;
|
|
159
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
160
|
-
followedBy: Set<import("../types").SocketId>;
|
|
161
162
|
isCropping: boolean;
|
|
162
163
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
163
164
|
searchMatches: Readonly<{
|
|
@@ -169,6 +170,13 @@ export declare const actionToggleArrowBinding: {
|
|
|
169
170
|
[groupId: string]: true;
|
|
170
171
|
};
|
|
171
172
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
173
|
+
colorTopPicks: {
|
|
174
|
+
elementStroke: readonly string[] | null;
|
|
175
|
+
elementBackground: readonly string[] | null;
|
|
176
|
+
bucketFill: readonly string[] | null;
|
|
177
|
+
stickyNoteStroke: readonly string[] | null;
|
|
178
|
+
stickyNoteBackground: readonly string[] | null;
|
|
179
|
+
};
|
|
172
180
|
};
|
|
173
181
|
captureUpdate: "NEVER";
|
|
174
182
|
};
|
|
@@ -32,6 +32,7 @@ export declare const actionToggleGridMode: {
|
|
|
32
32
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
33
33
|
bindingPreference: "enabled" | "disabled";
|
|
34
34
|
isMidpointSnappingEnabled: boolean;
|
|
35
|
+
inputDevice: import("../types").InputDevice;
|
|
35
36
|
suggestedBinding: {
|
|
36
37
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
37
38
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -66,6 +67,8 @@ export declare const actionToggleGridMode: {
|
|
|
66
67
|
exportWithDarkMode: boolean;
|
|
67
68
|
exportScale: number;
|
|
68
69
|
currentItemStrokeColor: string;
|
|
70
|
+
currentItemStickynoteStrokeColor: string;
|
|
71
|
+
currentItemStickynoteBackgroundColor: string;
|
|
69
72
|
currentItemBackgroundColor: string;
|
|
70
73
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
71
74
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -158,8 +161,6 @@ export declare const actionToggleGridMode: {
|
|
|
158
161
|
x: number;
|
|
159
162
|
y: number;
|
|
160
163
|
} | null;
|
|
161
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
162
|
-
followedBy: Set<import("../types").SocketId>;
|
|
163
164
|
isCropping: boolean;
|
|
164
165
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
165
166
|
searchMatches: Readonly<{
|
|
@@ -171,6 +172,13 @@ export declare const actionToggleGridMode: {
|
|
|
171
172
|
[groupId: string]: true;
|
|
172
173
|
};
|
|
173
174
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
175
|
+
colorTopPicks: {
|
|
176
|
+
elementStroke: readonly string[] | null;
|
|
177
|
+
elementBackground: readonly string[] | null;
|
|
178
|
+
bucketFill: readonly string[] | null;
|
|
179
|
+
stickyNoteStroke: readonly string[] | null;
|
|
180
|
+
stickyNoteBackground: readonly string[] | null;
|
|
181
|
+
};
|
|
174
182
|
};
|
|
175
183
|
captureUpdate: "EVENTUALLY";
|
|
176
184
|
};
|
|
@@ -28,6 +28,7 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
28
28
|
isBindingEnabled: boolean;
|
|
29
29
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
30
30
|
bindingPreference: "enabled" | "disabled";
|
|
31
|
+
inputDevice: import("../types").InputDevice;
|
|
31
32
|
suggestedBinding: {
|
|
32
33
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
33
34
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -62,6 +63,8 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
62
63
|
exportWithDarkMode: boolean;
|
|
63
64
|
exportScale: number;
|
|
64
65
|
currentItemStrokeColor: string;
|
|
66
|
+
currentItemStickynoteStrokeColor: string;
|
|
67
|
+
currentItemStickynoteBackgroundColor: string;
|
|
65
68
|
currentItemBackgroundColor: string;
|
|
66
69
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
67
70
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -156,8 +159,6 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
156
159
|
y: number;
|
|
157
160
|
} | null;
|
|
158
161
|
objectsSnapModeEnabled: boolean;
|
|
159
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
160
|
-
followedBy: Set<import("../types").SocketId>;
|
|
161
162
|
isCropping: boolean;
|
|
162
163
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
163
164
|
searchMatches: Readonly<{
|
|
@@ -169,6 +170,13 @@ export declare const actionToggleMidpointSnapping: {
|
|
|
169
170
|
[groupId: string]: true;
|
|
170
171
|
};
|
|
171
172
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
173
|
+
colorTopPicks: {
|
|
174
|
+
elementStroke: readonly string[] | null;
|
|
175
|
+
elementBackground: readonly string[] | null;
|
|
176
|
+
bucketFill: readonly string[] | null;
|
|
177
|
+
stickyNoteStroke: readonly string[] | null;
|
|
178
|
+
stickyNoteBackground: readonly string[] | null;
|
|
179
|
+
};
|
|
172
180
|
};
|
|
173
181
|
captureUpdate: "NEVER";
|
|
174
182
|
};
|
|
@@ -31,6 +31,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
31
31
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
32
32
|
bindingPreference: "enabled" | "disabled";
|
|
33
33
|
isMidpointSnappingEnabled: boolean;
|
|
34
|
+
inputDevice: import("../types").InputDevice;
|
|
34
35
|
suggestedBinding: {
|
|
35
36
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
37
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -65,6 +66,8 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
65
66
|
exportWithDarkMode: boolean;
|
|
66
67
|
exportScale: number;
|
|
67
68
|
currentItemStrokeColor: string;
|
|
69
|
+
currentItemStickynoteStrokeColor: string;
|
|
70
|
+
currentItemStickynoteBackgroundColor: string;
|
|
68
71
|
currentItemBackgroundColor: string;
|
|
69
72
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
70
73
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -157,8 +160,6 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
157
160
|
x: number;
|
|
158
161
|
y: number;
|
|
159
162
|
} | null;
|
|
160
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
161
|
-
followedBy: Set<import("../types").SocketId>;
|
|
162
163
|
isCropping: boolean;
|
|
163
164
|
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
164
165
|
searchMatches: Readonly<{
|
|
@@ -170,6 +171,13 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
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
|
captureUpdate: "EVENTUALLY";
|
|
175
183
|
};
|