@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
package/dist/dev/index.css
CHANGED
|
@@ -280,13 +280,13 @@
|
|
|
280
280
|
}
|
|
281
281
|
.excalidraw .excalidraw-eye-dropper-preview {
|
|
282
282
|
pointer-events: none;
|
|
283
|
-
width:
|
|
284
|
-
height:
|
|
283
|
+
width: 2rem;
|
|
284
|
+
height: 2rem;
|
|
285
285
|
position: absolute;
|
|
286
286
|
z-index: var(--zIndex-eyeDropperPreview);
|
|
287
|
-
border-radius:
|
|
288
|
-
border: 1px solid var(--
|
|
289
|
-
|
|
287
|
+
border-radius: 50%;
|
|
288
|
+
border: 1px solid var(--eye-dropper-preview-border-color, #222);
|
|
289
|
+
box-shadow: 2px 2px 0 0 rgba(73, 73, 73, 0.4862745098);
|
|
290
290
|
}
|
|
291
291
|
.excalidraw .excalidraw-eye-dropper-trigger {
|
|
292
292
|
width: 1.25rem;
|
|
@@ -321,6 +321,12 @@
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
/* components/ColorPicker/ColorPicker.scss */
|
|
324
|
+
.excalidraw {
|
|
325
|
+
--color-outline: var(--color-gray-20);
|
|
326
|
+
}
|
|
327
|
+
.excalidraw.theme--dark {
|
|
328
|
+
--color-outline: var(--color-gray-80);
|
|
329
|
+
}
|
|
324
330
|
.excalidraw .focus-visible-none:focus-visible {
|
|
325
331
|
outline: none !important;
|
|
326
332
|
}
|
|
@@ -334,6 +340,36 @@
|
|
|
334
340
|
font-size: 0.75rem;
|
|
335
341
|
text-align: left;
|
|
336
342
|
}
|
|
343
|
+
.excalidraw .color-picker__context-menu {
|
|
344
|
+
background: var(--popup-bg-color);
|
|
345
|
+
border-radius: var(--border-radius-lg);
|
|
346
|
+
box-shadow: var(--shadow-island);
|
|
347
|
+
padding: 0.25rem;
|
|
348
|
+
}
|
|
349
|
+
.excalidraw .color-picker__context-menu-item {
|
|
350
|
+
font-size: 0.75rem;
|
|
351
|
+
padding: 0.375rem 0.625rem;
|
|
352
|
+
border-radius: var(--border-radius-md);
|
|
353
|
+
color: var(--text-primary-color);
|
|
354
|
+
cursor: pointer;
|
|
355
|
+
outline: none;
|
|
356
|
+
user-select: none;
|
|
357
|
+
}
|
|
358
|
+
.excalidraw .color-picker__context-menu-item[data-highlighted],
|
|
359
|
+
.excalidraw .color-picker__context-menu-item:not([data-disabled]):hover {
|
|
360
|
+
background: var(--button-hover-bg);
|
|
361
|
+
}
|
|
362
|
+
.excalidraw .color-picker__context-menu-item[data-disabled] {
|
|
363
|
+
opacity: 0.5;
|
|
364
|
+
pointer-events: none;
|
|
365
|
+
}
|
|
366
|
+
.excalidraw .color-picker__tip {
|
|
367
|
+
padding: 0 0.5rem;
|
|
368
|
+
font-size: 0.6875rem;
|
|
369
|
+
line-height: 1.4;
|
|
370
|
+
text-align: left;
|
|
371
|
+
color: var(--color-gray-60);
|
|
372
|
+
}
|
|
337
373
|
.excalidraw .color-picker-container {
|
|
338
374
|
display: grid;
|
|
339
375
|
grid-template-columns: 1fr 20px 1.625rem;
|
|
@@ -362,7 +398,6 @@
|
|
|
362
398
|
height: var(--size);
|
|
363
399
|
border: 0;
|
|
364
400
|
border-radius: var(--radius);
|
|
365
|
-
filter: var(--theme-filter);
|
|
366
401
|
background-color: var(--swatch-color);
|
|
367
402
|
background-position: left center;
|
|
368
403
|
position: relative;
|
|
@@ -370,21 +405,19 @@
|
|
|
370
405
|
box-sizing: border-box;
|
|
371
406
|
}
|
|
372
407
|
.excalidraw .color-picker__button.has-outline {
|
|
373
|
-
box-shadow:
|
|
408
|
+
box-shadow: 0 0 0 1px var(--color-outline);
|
|
374
409
|
}
|
|
375
|
-
.excalidraw .color-picker__button:hover:not(.active)
|
|
376
|
-
|
|
410
|
+
.excalidraw .color-picker__button:hover:not(.active).color-picker__button--large {
|
|
411
|
+
box-shadow: inset 0 0 0 1px var(--color-primary);
|
|
377
412
|
}
|
|
378
|
-
.excalidraw .color-picker__button:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
box-shadow: 0 0 0 1px var(--color-
|
|
386
|
-
border-radius: var(--radius);
|
|
387
|
-
filter: var(--theme-filter);
|
|
413
|
+
.excalidraw .color-picker__button:active {
|
|
414
|
+
box-shadow: 0 0 0 1px var(--color-primary) !important;
|
|
415
|
+
}
|
|
416
|
+
.excalidraw .color-picker__button:active.color-picker__button--large {
|
|
417
|
+
box-shadow: none !important;
|
|
418
|
+
}
|
|
419
|
+
.excalidraw .color-picker__button:active.color-picker__button--large.has-outline {
|
|
420
|
+
box-shadow: 0 0 0 1px var(--color-outline) !important;
|
|
388
421
|
}
|
|
389
422
|
.excalidraw .color-picker__button .color-picker__button-outline {
|
|
390
423
|
display: flex;
|
|
@@ -405,7 +438,7 @@
|
|
|
405
438
|
width: 100%;
|
|
406
439
|
height: 100%;
|
|
407
440
|
}
|
|
408
|
-
.excalidraw .color-picker__button.active .color-picker__button-outline {
|
|
441
|
+
.excalidraw .color-picker__button.active:not(:active) .color-picker__button-outline {
|
|
409
442
|
position: absolute;
|
|
410
443
|
--offset: -1px;
|
|
411
444
|
top: var(--offset);
|
|
@@ -415,7 +448,6 @@
|
|
|
415
448
|
box-shadow: 0 0 0 1px var(--color-primary-darkest);
|
|
416
449
|
z-index: 1;
|
|
417
450
|
border-radius: var(--radius);
|
|
418
|
-
filter: var(--theme-filter);
|
|
419
451
|
}
|
|
420
452
|
.excalidraw .color-picker__button:focus-visible {
|
|
421
453
|
outline: none;
|
|
@@ -434,7 +466,7 @@
|
|
|
434
466
|
display: none;
|
|
435
467
|
}
|
|
436
468
|
.excalidraw .color-picker__button--large {
|
|
437
|
-
--radius:
|
|
469
|
+
--radius: 6px;
|
|
438
470
|
width: 1.875rem;
|
|
439
471
|
height: 1.875rem;
|
|
440
472
|
}
|
|
@@ -464,10 +496,10 @@
|
|
|
464
496
|
}
|
|
465
497
|
.excalidraw .color-picker__button__hotkey-label {
|
|
466
498
|
position: absolute;
|
|
467
|
-
right:
|
|
468
|
-
bottom:
|
|
469
|
-
|
|
470
|
-
font-
|
|
499
|
+
right: 4px;
|
|
500
|
+
bottom: 2px;
|
|
501
|
+
font-size: 10px;
|
|
502
|
+
font-family: monospace;
|
|
471
503
|
font-weight: 500;
|
|
472
504
|
}
|
|
473
505
|
.excalidraw .color-picker {
|
|
@@ -557,41 +589,9 @@
|
|
|
557
589
|
.excalidraw .color-picker-content--canvas-colors {
|
|
558
590
|
padding: 0.5rem 0;
|
|
559
591
|
}
|
|
560
|
-
.excalidraw .color-picker-content--canvas-colors .color-picker-swatch {
|
|
561
|
-
margin: 0 0.25rem;
|
|
562
|
-
}
|
|
563
592
|
.excalidraw .color-picker-content .color-input-container {
|
|
564
593
|
grid-column: 1/span 5;
|
|
565
594
|
}
|
|
566
|
-
.excalidraw .color-picker-swatch {
|
|
567
|
-
position: relative;
|
|
568
|
-
height: 1.875rem;
|
|
569
|
-
width: 1.875rem;
|
|
570
|
-
cursor: pointer;
|
|
571
|
-
border-radius: 4px;
|
|
572
|
-
margin: 0;
|
|
573
|
-
box-sizing: border-box;
|
|
574
|
-
border: 1px solid #ddd;
|
|
575
|
-
background-color: currentColor !important;
|
|
576
|
-
filter: var(--theme-filter);
|
|
577
|
-
}
|
|
578
|
-
.excalidraw .color-picker-swatch:focus {
|
|
579
|
-
box-shadow: 0 0 4px 1px currentColor;
|
|
580
|
-
border-color: var(--select-highlight-color);
|
|
581
|
-
}
|
|
582
|
-
.excalidraw .color-picker-transparent {
|
|
583
|
-
border-radius: 4px;
|
|
584
|
-
box-shadow: rgba(0, 0, 0, 0.1) 0 0 0 1px inset;
|
|
585
|
-
position: absolute;
|
|
586
|
-
top: 0;
|
|
587
|
-
right: 0;
|
|
588
|
-
bottom: 0;
|
|
589
|
-
left: 0;
|
|
590
|
-
}
|
|
591
|
-
.excalidraw .color-picker-transparent,
|
|
592
|
-
.excalidraw .color-picker-label-swatch {
|
|
593
|
-
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==) left center;
|
|
594
|
-
}
|
|
595
595
|
.excalidraw .color-picker-hash {
|
|
596
596
|
height: var(--default-button-size);
|
|
597
597
|
flex-shrink: 0;
|
|
@@ -685,106 +685,126 @@
|
|
|
685
685
|
.excalidraw .color-picker-input:focus-visible {
|
|
686
686
|
box-shadow: none;
|
|
687
687
|
}
|
|
688
|
-
.excalidraw .color-
|
|
689
|
-
border: 1px solid var(--default-border-color);
|
|
690
|
-
border-radius: var(--border-radius-lg);
|
|
691
|
-
width: var(--default-button-size);
|
|
692
|
-
height: var(--default-button-size);
|
|
693
|
-
box-sizing: border-box;
|
|
694
|
-
overflow: hidden;
|
|
695
|
-
}
|
|
696
|
-
.excalidraw .color-picker-label-swatch {
|
|
697
|
-
display: flex;
|
|
698
|
-
justify-content: center;
|
|
699
|
-
align-items: center;
|
|
700
|
-
padding: 0.625rem;
|
|
701
|
-
width: var(--button-width, var(--default-button-size));
|
|
702
|
-
height: var(--button-height, var(--default-button-size));
|
|
703
|
-
box-sizing: border-box;
|
|
704
|
-
border-width: 1px;
|
|
705
|
-
border-style: solid;
|
|
706
|
-
border-color: var(--button-border, var(--default-border-color));
|
|
707
|
-
border-radius: var(--border-radius-lg);
|
|
708
|
-
cursor: pointer;
|
|
709
|
-
background-color: var(--button-bg, var(--island-bg-color));
|
|
710
|
-
color: var(--button-color, var(--color-on-surface));
|
|
711
|
-
font-family: var(--ui-font);
|
|
712
|
-
background-color: var(--swatch-color) !important;
|
|
713
|
-
overflow: hidden;
|
|
688
|
+
.excalidraw .color-picker__top-picks {
|
|
714
689
|
position: relative;
|
|
715
|
-
filter: var(--theme-filter);
|
|
716
|
-
border: 0 !important;
|
|
717
690
|
}
|
|
718
|
-
.excalidraw .color-
|
|
719
|
-
|
|
720
|
-
height: var(--button-height, var(--lg-icon-size));
|
|
691
|
+
.excalidraw .color-picker__top-picks .color-picker__button {
|
|
692
|
+
touch-action: none;
|
|
721
693
|
}
|
|
722
|
-
.excalidraw .color-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
694
|
+
.excalidraw .color-picker__top-picks.is-dnd-active .color-picker__button {
|
|
695
|
+
pointer-events: none;
|
|
696
|
+
transition:
|
|
697
|
+
transform 0.14s ease,
|
|
698
|
+
opacity 0.14s ease,
|
|
699
|
+
box-shadow 0.14s ease;
|
|
726
700
|
}
|
|
727
|
-
.excalidraw .color-
|
|
728
|
-
|
|
729
|
-
|
|
701
|
+
.excalidraw .color-picker__top-picks__dnd-outline {
|
|
702
|
+
position: absolute;
|
|
703
|
+
top: -5px;
|
|
704
|
+
left: -5px;
|
|
705
|
+
width: calc(100% + 10px);
|
|
706
|
+
height: calc(100% + 10px);
|
|
707
|
+
pointer-events: none;
|
|
708
|
+
overflow: visible;
|
|
730
709
|
}
|
|
731
|
-
.excalidraw .color-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
710
|
+
.excalidraw .color-picker__top-picks__dnd-outline rect {
|
|
711
|
+
x: 0.5px;
|
|
712
|
+
y: 0.5px;
|
|
713
|
+
rx: 6px;
|
|
714
|
+
width: calc(100% - 1px);
|
|
715
|
+
height: calc(100% - 1px);
|
|
716
|
+
fill: none;
|
|
717
|
+
stroke: var(--color-primary);
|
|
718
|
+
stroke-width: 1;
|
|
719
|
+
stroke-dasharray: 4 4;
|
|
720
|
+
animation: excalidraw-color-dnd-march 0.8s linear infinite;
|
|
735
721
|
}
|
|
736
|
-
|
|
737
|
-
.excalidraw .color-
|
|
738
|
-
|
|
722
|
+
@media (prefers-reduced-motion: reduce) {
|
|
723
|
+
.excalidraw .color-picker__top-picks__dnd-outline rect {
|
|
724
|
+
animation: none;
|
|
725
|
+
}
|
|
739
726
|
}
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
727
|
+
@keyframes excalidraw-color-dnd-march {
|
|
728
|
+
to {
|
|
729
|
+
stroke-dashoffset: -8;
|
|
730
|
+
}
|
|
743
731
|
}
|
|
744
|
-
.excalidraw
|
|
745
|
-
|
|
746
|
-
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
732
|
+
.excalidraw .color-picker__button.is-dnd-source {
|
|
733
|
+
opacity: 0.3;
|
|
747
734
|
}
|
|
748
|
-
.excalidraw .color-
|
|
749
|
-
|
|
750
|
-
|
|
735
|
+
.excalidraw .color-picker__button.is-dnd-target {
|
|
736
|
+
transform: scale(1.2);
|
|
737
|
+
box-shadow: 0 0 0 1px var(--color-primary-darkest);
|
|
738
|
+
}
|
|
739
|
+
.excalidraw .color-picker__button.is-dnd-duplicate {
|
|
740
|
+
animation: excalidraw-color-dnd-duplicate 0.45s ease-in-out infinite alternate;
|
|
741
|
+
}
|
|
742
|
+
@keyframes excalidraw-color-dnd-duplicate {
|
|
743
|
+
from {
|
|
744
|
+
box-shadow: 0 0 0 2px var(--color-danger, #e03131);
|
|
745
|
+
transform: scale(1);
|
|
746
|
+
}
|
|
747
|
+
to {
|
|
748
|
+
box-shadow: 0 0 0 3px var(--color-danger, #e03131);
|
|
749
|
+
transform: scale(1.12);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
.excalidraw-color-dnd-ghost {
|
|
753
|
+
position: fixed;
|
|
751
754
|
top: 0;
|
|
752
755
|
left: 0;
|
|
756
|
+
z-index: 10000;
|
|
757
|
+
pointer-events: none;
|
|
758
|
+
will-change: transform;
|
|
759
|
+
transition: width 0.15s ease, height 0.15s ease;
|
|
760
|
+
}
|
|
761
|
+
.excalidraw-color-dnd-ghost__swatch {
|
|
753
762
|
width: 100%;
|
|
754
763
|
height: 100%;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
764
|
+
border-radius: 4px;
|
|
765
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
766
|
+
transition:
|
|
767
|
+
transform 0.15s ease,
|
|
768
|
+
opacity 0.15s ease,
|
|
769
|
+
box-shadow 0.15s ease;
|
|
761
770
|
}
|
|
762
|
-
|
|
763
|
-
|
|
771
|
+
.excalidraw-color-dnd-ghost__swatch.is-transparent {
|
|
772
|
+
background-color: #fff;
|
|
773
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==);
|
|
774
|
+
background-position: left center;
|
|
764
775
|
}
|
|
765
|
-
|
|
766
|
-
|
|
776
|
+
.excalidraw-color-dnd-ghost--lifted .excalidraw-color-dnd-ghost__swatch {
|
|
777
|
+
transform: scale(1.2);
|
|
778
|
+
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
767
779
|
}
|
|
768
|
-
.excalidraw--
|
|
769
|
-
|
|
780
|
+
.excalidraw-color-dnd-ghost--over .excalidraw-color-dnd-ghost__swatch {
|
|
781
|
+
transform: scale(1.05);
|
|
782
|
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
770
783
|
}
|
|
771
|
-
.excalidraw
|
|
772
|
-
|
|
784
|
+
.excalidraw-color-dnd-ghost--blocked .excalidraw-color-dnd-ghost__swatch {
|
|
785
|
+
opacity: 0.4;
|
|
786
|
+
transform: scale(0.85);
|
|
773
787
|
}
|
|
774
|
-
.excalidraw
|
|
775
|
-
|
|
788
|
+
.excalidraw-color-dnd-ghost--dropping {
|
|
789
|
+
transition:
|
|
790
|
+
transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1),
|
|
791
|
+
width 0.18s ease,
|
|
792
|
+
height 0.18s ease;
|
|
776
793
|
}
|
|
777
|
-
.excalidraw
|
|
778
|
-
|
|
794
|
+
.excalidraw-color-dnd-ghost--dropping .excalidraw-color-dnd-ghost__swatch {
|
|
795
|
+
transform: scale(1);
|
|
796
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
779
797
|
}
|
|
780
|
-
.excalidraw
|
|
781
|
-
|
|
798
|
+
.excalidraw-color-dnd-ghost--fade .excalidraw-color-dnd-ghost__swatch {
|
|
799
|
+
opacity: 0;
|
|
782
800
|
}
|
|
783
|
-
.excalidraw
|
|
784
|
-
|
|
801
|
+
body.excalidraw-color-dnd-active {
|
|
802
|
+
user-select: none !important;
|
|
803
|
+
-webkit-user-select: none !important;
|
|
785
804
|
}
|
|
786
|
-
.excalidraw
|
|
787
|
-
|
|
805
|
+
body.excalidraw-color-dnd-active,
|
|
806
|
+
body.excalidraw-color-dnd-active * {
|
|
807
|
+
cursor: grabbing !important;
|
|
788
808
|
}
|
|
789
809
|
|
|
790
810
|
/* components/QuickSearch.scss */
|
|
@@ -2324,7 +2344,7 @@
|
|
|
2324
2344
|
--scrollbar-thumb: #343a40;
|
|
2325
2345
|
--scrollbar-thumb-hover: #495057;
|
|
2326
2346
|
--color-slider-track: hsl(244, 23%, 39%);
|
|
2327
|
-
--color-selection: #
|
|
2347
|
+
--color-selection: #b4b0ff;
|
|
2328
2348
|
--color-icon-white: var(--color-gray-90);
|
|
2329
2349
|
--color-primary: #a8a5ff;
|
|
2330
2350
|
--color-primary-darker: #b2aeff;
|
|
@@ -3209,53 +3229,82 @@
|
|
|
3209
3229
|
border-top: 1px solid #adb5bd;
|
|
3210
3230
|
}
|
|
3211
3231
|
|
|
3212
|
-
/* components/
|
|
3213
|
-
.excalidraw .
|
|
3232
|
+
/* components/ViewportStatusFrame/ViewportStatusFrame.scss */
|
|
3233
|
+
.excalidraw .viewport-status-frame__border {
|
|
3214
3234
|
position: absolute;
|
|
3235
|
+
inset: 0;
|
|
3215
3236
|
box-sizing: border-box;
|
|
3216
3237
|
pointer-events: none;
|
|
3217
|
-
border:
|
|
3218
|
-
z-index:
|
|
3219
|
-
display: flex;
|
|
3220
|
-
align-items: flex-end;
|
|
3221
|
-
justify-content: center;
|
|
3238
|
+
border: 4px solid;
|
|
3239
|
+
z-index: var(--zIndex-viewportStatusFrame);
|
|
3222
3240
|
}
|
|
3223
|
-
.excalidraw .
|
|
3224
|
-
|
|
3241
|
+
.excalidraw .viewport-status-frame__badge {
|
|
3242
|
+
position: relative;
|
|
3243
|
+
z-index: var(--zIndex-viewportStatusFrame);
|
|
3244
|
+
pointer-events: all;
|
|
3245
|
+
background-color: var(--viewport-status-frame-badge-background);
|
|
3225
3246
|
color: var(--color-primary-light);
|
|
3226
|
-
padding: 0.25rem 0.5rem;
|
|
3227
|
-
margin-bottom: 0.5rem;
|
|
3228
3247
|
border-radius: 0.5rem;
|
|
3229
|
-
pointer-events: all;
|
|
3230
3248
|
font-size: 0.75rem;
|
|
3231
3249
|
display: flex;
|
|
3232
|
-
gap: 0.5rem;
|
|
3233
3250
|
align-items: center;
|
|
3251
|
+
overflow: hidden;
|
|
3252
|
+
}
|
|
3253
|
+
.excalidraw--mobile.excalidraw .viewport-status-frame__badge {
|
|
3254
|
+
background: linear-gradient(var(--viewport-status-frame-badge-background), var(--viewport-status-frame-badge-background)), var(--island-bg-color);
|
|
3255
|
+
}
|
|
3256
|
+
.excalidraw .viewport-status-frame__badge--clickable {
|
|
3257
|
+
cursor: pointer;
|
|
3258
|
+
}
|
|
3259
|
+
.excalidraw .viewport-status-frame__badge--clickable:active {
|
|
3260
|
+
transform: scale(0.96);
|
|
3261
|
+
}
|
|
3262
|
+
.excalidraw .viewport-status-frame__badge-action {
|
|
3263
|
+
position: absolute;
|
|
3264
|
+
inset: 0;
|
|
3265
|
+
margin: 0;
|
|
3266
|
+
border: 0;
|
|
3267
|
+
padding: 0;
|
|
3268
|
+
background: transparent;
|
|
3269
|
+
cursor: inherit;
|
|
3234
3270
|
}
|
|
3235
|
-
.excalidraw .
|
|
3271
|
+
.excalidraw .viewport-status-frame__badge-action:focus-visible {
|
|
3272
|
+
outline: 2px solid currentColor;
|
|
3273
|
+
outline-offset: -2px;
|
|
3274
|
+
border-radius: 0.5rem;
|
|
3275
|
+
}
|
|
3276
|
+
.excalidraw .viewport-status-frame__badge-label {
|
|
3277
|
+
position: relative;
|
|
3236
3278
|
display: flex;
|
|
3279
|
+
align-items: center;
|
|
3280
|
+
gap: 0.25rem;
|
|
3281
|
+
padding: 0.25rem 0.5rem;
|
|
3237
3282
|
white-space: pre-wrap;
|
|
3238
3283
|
line-height: 1;
|
|
3284
|
+
pointer-events: none;
|
|
3239
3285
|
}
|
|
3240
|
-
.excalidraw .
|
|
3241
|
-
display:
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3286
|
+
.excalidraw .viewport-status-frame__badge-icon {
|
|
3287
|
+
display: flex;
|
|
3288
|
+
align-items: center;
|
|
3289
|
+
}
|
|
3290
|
+
.excalidraw .viewport-status-frame__badge-icon svg {
|
|
3291
|
+
width: 1rem;
|
|
3292
|
+
height: 1rem;
|
|
3246
3293
|
}
|
|
3247
|
-
.excalidraw .
|
|
3294
|
+
.excalidraw .viewport-status-frame__badge-close {
|
|
3248
3295
|
all: unset;
|
|
3249
3296
|
cursor: pointer;
|
|
3250
3297
|
border-radius: 0.25rem;
|
|
3298
|
+
margin-right: 0.5rem;
|
|
3299
|
+
position: relative;
|
|
3251
3300
|
}
|
|
3252
|
-
.excalidraw .
|
|
3301
|
+
.excalidraw .viewport-status-frame__badge-close:hover {
|
|
3253
3302
|
background-color: var(--color-primary-darker);
|
|
3254
3303
|
}
|
|
3255
|
-
.excalidraw .
|
|
3304
|
+
.excalidraw .viewport-status-frame__badge-close:active {
|
|
3256
3305
|
background-color: var(--color-primary-darkest);
|
|
3257
3306
|
}
|
|
3258
|
-
.excalidraw .
|
|
3307
|
+
.excalidraw .viewport-status-frame__badge-close svg {
|
|
3259
3308
|
display: block;
|
|
3260
3309
|
width: 1rem;
|
|
3261
3310
|
height: 1rem;
|
|
@@ -3463,7 +3512,7 @@
|
|
|
3463
3512
|
pointer-events: none;
|
|
3464
3513
|
padding: var(--userList-padding);
|
|
3465
3514
|
display: flex;
|
|
3466
|
-
flex-wrap:
|
|
3515
|
+
flex-wrap: nowrap;
|
|
3467
3516
|
justify-content: flex-end;
|
|
3468
3517
|
align-items: center;
|
|
3469
3518
|
gap: var(--avatarList-gap);
|
|
@@ -3476,66 +3525,52 @@
|
|
|
3476
3525
|
pointer-events: var(--ui-pointerEvents);
|
|
3477
3526
|
}
|
|
3478
3527
|
.excalidraw .UserList_mobile {
|
|
3528
|
+
flex-direction: column;
|
|
3529
|
+
align-items: stretch;
|
|
3479
3530
|
padding: 0;
|
|
3480
3531
|
justify-content: normal;
|
|
3481
3532
|
margin: 0.5rem 0;
|
|
3482
3533
|
max-width: none;
|
|
3483
3534
|
max-height: none;
|
|
3484
3535
|
}
|
|
3485
|
-
.excalidraw .
|
|
3486
|
-
width: var(--avatar-size, 1.5rem);
|
|
3487
|
-
height: var(--avatar-size, 1.5rem);
|
|
3488
|
-
position: relative;
|
|
3489
|
-
border-radius: 100%;
|
|
3490
|
-
outline-offset: 2px;
|
|
3536
|
+
.excalidraw .UserList_mobile__avatars {
|
|
3491
3537
|
display: flex;
|
|
3492
|
-
|
|
3538
|
+
flex-wrap: wrap;
|
|
3493
3539
|
align-items: center;
|
|
3494
|
-
|
|
3495
|
-
font-size: 0.75rem;
|
|
3496
|
-
font-weight: 700;
|
|
3497
|
-
line-height: 1;
|
|
3498
|
-
color: var(--color-gray-90);
|
|
3499
|
-
flex: 0 0 auto;
|
|
3500
|
-
}
|
|
3501
|
-
.excalidraw .UserList__more:active {
|
|
3502
|
-
transform: scale(0.94);
|
|
3503
|
-
}
|
|
3504
|
-
.excalidraw .UserList__more-img {
|
|
3505
|
-
width: 100%;
|
|
3506
|
-
height: 100%;
|
|
3507
|
-
border-radius: 100%;
|
|
3508
|
-
}
|
|
3509
|
-
.excalidraw .UserList__more::before {
|
|
3510
|
-
content: "";
|
|
3511
|
-
position: absolute;
|
|
3512
|
-
top: -3px;
|
|
3513
|
-
right: -3px;
|
|
3514
|
-
bottom: -3px;
|
|
3515
|
-
left: -3px;
|
|
3516
|
-
border-radius: 100%;
|
|
3517
|
-
}
|
|
3518
|
-
.excalidraw .UserList__more.is-followed::before {
|
|
3519
|
-
border-color: var(--color-primary-hover);
|
|
3520
|
-
box-shadow: 0 0 0 1px var(--color-primary-hover);
|
|
3540
|
+
gap: var(--avatarList-gap);
|
|
3521
3541
|
}
|
|
3522
|
-
.excalidraw .
|
|
3523
|
-
|
|
3524
|
-
}
|
|
3525
|
-
.excalidraw .UserList__more {
|
|
3526
|
-
background-color: var(--color-gray-20);
|
|
3527
|
-
border: 0 !important;
|
|
3528
|
-
font-size: 0.625rem;
|
|
3529
|
-
font-weight: 400;
|
|
3530
|
-
flex-shrink: 0;
|
|
3531
|
-
color: var(--color-gray-100);
|
|
3532
|
-
font-weight: bold;
|
|
3542
|
+
.excalidraw .UserList_mobile__avatars > .is-current-user {
|
|
3543
|
+
order: -1;
|
|
3533
3544
|
}
|
|
3534
3545
|
.excalidraw .UserList__collaborator-name {
|
|
3535
3546
|
text-overflow: ellipsis;
|
|
3536
3547
|
overflow: hidden;
|
|
3537
3548
|
white-space: nowrap;
|
|
3538
3549
|
}
|
|
3550
|
+
.excalidraw .UserList__pill {
|
|
3551
|
+
display: flex;
|
|
3552
|
+
align-items: center;
|
|
3553
|
+
padding: 0 0.25rem 0 0;
|
|
3554
|
+
border-radius: 1.25rem;
|
|
3555
|
+
background-color: var(--color-surface-low);
|
|
3556
|
+
border: 1px solid var(--color-gray-20);
|
|
3557
|
+
cursor: pointer;
|
|
3558
|
+
pointer-events: var(--ui-pointerEvents);
|
|
3559
|
+
}
|
|
3560
|
+
.excalidraw .UserList__pill:hover {
|
|
3561
|
+
background-color: var(--color-surface-high);
|
|
3562
|
+
}
|
|
3563
|
+
.excalidraw .UserList__pill-chevron {
|
|
3564
|
+
display: flex;
|
|
3565
|
+
align-items: center;
|
|
3566
|
+
color: var(--color-gray-50);
|
|
3567
|
+
width: 15px;
|
|
3568
|
+
height: 15px;
|
|
3569
|
+
}
|
|
3570
|
+
.excalidraw .UserList__pill-chevron svg {
|
|
3571
|
+
width: 100%;
|
|
3572
|
+
height: 100%;
|
|
3573
|
+
}
|
|
3539
3574
|
.excalidraw .UserList__collaborator--avatar-only {
|
|
3540
3575
|
position: relative;
|
|
3541
3576
|
display: flex;
|
|
@@ -3564,6 +3599,9 @@
|
|
|
3564
3599
|
justify-content: flex-end;
|
|
3565
3600
|
display: flex;
|
|
3566
3601
|
}
|
|
3602
|
+
.excalidraw .UserList__collaborator.is-current-user {
|
|
3603
|
+
pointer-events: none;
|
|
3604
|
+
}
|
|
3567
3605
|
.excalidraw .UserList__collaborator.is-muted .UserList__collaborator-status-icon-microphone-muted {
|
|
3568
3606
|
color: var(--color-danger);
|
|
3569
3607
|
filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0.5));
|
|
@@ -3600,8 +3638,23 @@
|
|
|
3600
3638
|
}
|
|
3601
3639
|
}
|
|
3602
3640
|
.excalidraw .UserList__collaborators {
|
|
3641
|
+
display: flex;
|
|
3642
|
+
flex-direction: column;
|
|
3603
3643
|
top: auto;
|
|
3604
3644
|
max-height: 50vh;
|
|
3645
|
+
padding: 2px;
|
|
3646
|
+
box-sizing: border-box;
|
|
3647
|
+
}
|
|
3648
|
+
.excalidraw .UserList__collaborators > .hint {
|
|
3649
|
+
order: -2;
|
|
3650
|
+
}
|
|
3651
|
+
.excalidraw .UserList__collaborators > .is-current-user {
|
|
3652
|
+
order: -1;
|
|
3653
|
+
}
|
|
3654
|
+
.excalidraw .UserList__menu-divider {
|
|
3655
|
+
height: 1px;
|
|
3656
|
+
background-color: var(--userlist-collaborators-border-color);
|
|
3657
|
+
margin: 0.25rem 0;
|
|
3605
3658
|
}
|
|
3606
3659
|
|
|
3607
3660
|
/* components/Sidebar/SidebarTrigger.scss */
|
|
@@ -6237,7 +6290,8 @@
|
|
|
6237
6290
|
margin-bottom: auto;
|
|
6238
6291
|
}
|
|
6239
6292
|
.excalidraw .App-menu_top__left > .ToolIcon__penMode {
|
|
6240
|
-
justify-self:
|
|
6293
|
+
justify-self: start;
|
|
6294
|
+
margin-left: calc((48px - var(--lg-button-size)) / 2);
|
|
6241
6295
|
}
|
|
6242
6296
|
.excalidraw .App-menu_top__left > .ToolIcon__penMode .ToolIcon__icon {
|
|
6243
6297
|
width: var(--lg-button-size);
|
|
@@ -6981,7 +7035,7 @@
|
|
|
6981
7035
|
--scrollbar-thumb: #343a40;
|
|
6982
7036
|
--scrollbar-thumb-hover: #495057;
|
|
6983
7037
|
--color-slider-track: hsl(244, 23%, 39%);
|
|
6984
|
-
--color-selection: #
|
|
7038
|
+
--color-selection: #b4b0ff;
|
|
6985
7039
|
--color-icon-white: var(--color-gray-90);
|
|
6986
7040
|
--color-primary: #a8a5ff;
|
|
6987
7041
|
--color-primary-darker: #b2aeff;
|
|
@@ -7030,6 +7084,7 @@
|
|
|
7030
7084
|
--zIndex-wysiwyg: 3;
|
|
7031
7085
|
--zIndex-canvasButtons: 3;
|
|
7032
7086
|
--zIndex-layerUI: 4;
|
|
7087
|
+
--zIndex-viewportStatusFrame: 5;
|
|
7033
7088
|
--zIndex-eyeDropperBackdrop: 5;
|
|
7034
7089
|
--zIndex-eyeDropperPreview: 6;
|
|
7035
7090
|
--zIndex-hyperlinkContainer: 7;
|
|
@@ -7066,6 +7121,7 @@ body.excalidraw-cursor-resize * {
|
|
|
7066
7121
|
Helvetica,
|
|
7067
7122
|
Arial,
|
|
7068
7123
|
sans-serif;
|
|
7124
|
+
--viewport-status-frame-border-width: 0px;
|
|
7069
7125
|
font-family: var(--ui-font);
|
|
7070
7126
|
position: relative;
|
|
7071
7127
|
overflow: hidden;
|
|
@@ -7079,6 +7135,10 @@ body.excalidraw-cursor-resize * {
|
|
|
7079
7135
|
width: 100%;
|
|
7080
7136
|
user-select: none;
|
|
7081
7137
|
}
|
|
7138
|
+
.exc-style.excalidraw--viewport-status-border,
|
|
7139
|
+
.excalidraw.excalidraw--viewport-status-border {
|
|
7140
|
+
--viewport-status-frame-border-width: 4px;
|
|
7141
|
+
}
|
|
7082
7142
|
.exc-style button,
|
|
7083
7143
|
.excalidraw button {
|
|
7084
7144
|
font-size: 0.8333rem;
|
|
@@ -7142,7 +7202,6 @@ body.excalidraw-cursor-resize * {
|
|
|
7142
7202
|
}
|
|
7143
7203
|
.excalidraw canvas.interactive {
|
|
7144
7204
|
z-index: var(--zIndex-interactiveCanvas);
|
|
7145
|
-
filter: var(--theme-filter);
|
|
7146
7205
|
}
|
|
7147
7206
|
.excalidraw__canvas-wrapper,
|
|
7148
7207
|
.excalidraw__canvas.static {
|
|
@@ -7390,6 +7449,14 @@ body.excalidraw-cursor-resize * {
|
|
|
7390
7449
|
display: flex;
|
|
7391
7450
|
flex-direction: column;
|
|
7392
7451
|
}
|
|
7452
|
+
.excalidraw .viewport-status-frame__badge-row {
|
|
7453
|
+
position: absolute;
|
|
7454
|
+
top: calc(var(--viewport-status-frame-border-width) + 0.5rem);
|
|
7455
|
+
left: 50%;
|
|
7456
|
+
transform: translateX(-50%);
|
|
7457
|
+
z-index: var(--zIndex-viewportStatusFrame);
|
|
7458
|
+
pointer-events: none;
|
|
7459
|
+
}
|
|
7393
7460
|
.excalidraw .App-welcome-screen {
|
|
7394
7461
|
z-index: var(--zIndex-layerUI);
|
|
7395
7462
|
}
|
|
@@ -7481,6 +7548,17 @@ body.excalidraw-cursor-resize * {
|
|
|
7481
7548
|
.excalidraw .App-menu_top > .App-menu_top__left {
|
|
7482
7549
|
grid-column: 1;
|
|
7483
7550
|
justify-self: start;
|
|
7551
|
+
pointer-events: none;
|
|
7552
|
+
}
|
|
7553
|
+
.excalidraw .App-menu_top > .App-menu_top__left .selected-shape-actions-container,
|
|
7554
|
+
.excalidraw .App-menu_top > .App-menu_top__left .ToolIcon__penMode {
|
|
7555
|
+
pointer-events: var(--ui-pointerEvents);
|
|
7556
|
+
}
|
|
7557
|
+
.excalidraw .App-menu_top > .App-menu_top__left .excalidraw-ui-top-left {
|
|
7558
|
+
pointer-events: none;
|
|
7559
|
+
}
|
|
7560
|
+
.excalidraw .App-menu_top > .App-menu_top__left .excalidraw-ui-top-left > * {
|
|
7561
|
+
pointer-events: var(--ui-pointerEvents);
|
|
7484
7562
|
}
|
|
7485
7563
|
.excalidraw .App-menu_top > .shapes-section {
|
|
7486
7564
|
grid-column: 2;
|
|
@@ -7582,6 +7660,8 @@ body.excalidraw-cursor-resize * {
|
|
|
7582
7660
|
left: 50%;
|
|
7583
7661
|
bottom: 30px;
|
|
7584
7662
|
transform: translateX(-50%);
|
|
7663
|
+
box-sizing: border-box;
|
|
7664
|
+
max-width: calc(100% - var(--viewport-status-frame-border-width) - var(--viewport-status-frame-border-width));
|
|
7585
7665
|
pointer-events: var(--ui-pointerEvents);
|
|
7586
7666
|
font-family: inherit;
|
|
7587
7667
|
}
|
|
@@ -7593,9 +7673,9 @@ body.excalidraw-cursor-resize * {
|
|
|
7593
7673
|
}
|
|
7594
7674
|
.excalidraw .floating-status-stack {
|
|
7595
7675
|
position: absolute;
|
|
7596
|
-
left:
|
|
7597
|
-
|
|
7598
|
-
|
|
7676
|
+
left: var(--viewport-status-frame-border-width);
|
|
7677
|
+
right: var(--viewport-status-frame-border-width);
|
|
7678
|
+
bottom: calc(0.5rem + var(--viewport-status-frame-border-width));
|
|
7599
7679
|
display: flex;
|
|
7600
7680
|
flex-direction: column;
|
|
7601
7681
|
align-items: center;
|
|
@@ -7607,8 +7687,16 @@ body.excalidraw-cursor-resize * {
|
|
|
7607
7687
|
left: auto;
|
|
7608
7688
|
bottom: auto;
|
|
7609
7689
|
transform: none;
|
|
7690
|
+
max-width: 100%;
|
|
7610
7691
|
pointer-events: var(--ui-pointerEvents);
|
|
7611
7692
|
}
|
|
7693
|
+
.excalidraw .App-bottom-bar > .floating-status-stack {
|
|
7694
|
+
position: static;
|
|
7695
|
+
left: auto;
|
|
7696
|
+
right: auto;
|
|
7697
|
+
bottom: auto;
|
|
7698
|
+
margin-bottom: 0.5rem;
|
|
7699
|
+
}
|
|
7612
7700
|
.excalidraw .help-icon {
|
|
7613
7701
|
display: flex;
|
|
7614
7702
|
justify-content: center;
|
|
@@ -7698,14 +7786,6 @@ body.excalidraw-cursor-resize * {
|
|
|
7698
7786
|
bottom: calc(30px + var(--sab, 0));
|
|
7699
7787
|
z-index: var(--zIndex-ui-bottom);
|
|
7700
7788
|
}
|
|
7701
|
-
.excalidraw--mobile.excalidraw .scroll-back-to-content {
|
|
7702
|
-
bottom: calc(100px + var(--sab, 0));
|
|
7703
|
-
z-index: -1;
|
|
7704
|
-
}
|
|
7705
|
-
.excalidraw--mobile.excalidraw .floating-status-stack .scroll-back-to-content {
|
|
7706
|
-
bottom: auto;
|
|
7707
|
-
z-index: auto;
|
|
7708
|
-
}
|
|
7709
7789
|
:root[dir=rtl] .excalidraw .rtl-mirror {
|
|
7710
7790
|
transform: scaleX(-1);
|
|
7711
7791
|
}
|
|
@@ -7939,12 +8019,35 @@ body.excalidraw-cursor-resize * {
|
|
|
7939
8019
|
font-size: 0.8em;
|
|
7940
8020
|
}
|
|
7941
8021
|
.excalidraw__embeddable-container .excalidraw__embeddable-container__inner {
|
|
8022
|
+
position: relative;
|
|
7942
8023
|
overflow: hidden;
|
|
7943
8024
|
display: flex;
|
|
7944
8025
|
align-items: center;
|
|
7945
8026
|
justify-content: center;
|
|
7946
8027
|
border-radius: var(--embeddable-radius);
|
|
7947
8028
|
}
|
|
8029
|
+
.excalidraw__embeddable-container .excalidraw__embeddable__generating {
|
|
8030
|
+
position: absolute;
|
|
8031
|
+
z-index: 1;
|
|
8032
|
+
bottom: 1rem;
|
|
8033
|
+
right: 1rem;
|
|
8034
|
+
display: flex;
|
|
8035
|
+
align-items: center;
|
|
8036
|
+
gap: 0.5rem;
|
|
8037
|
+
padding: 0.375rem 0.75rem;
|
|
8038
|
+
border-radius: 12px;
|
|
8039
|
+
background: rgba(0, 0, 0, 0.5);
|
|
8040
|
+
color: #fff;
|
|
8041
|
+
font-size: 0.875rem;
|
|
8042
|
+
font-family: "Assistant";
|
|
8043
|
+
pointer-events: none;
|
|
8044
|
+
}
|
|
8045
|
+
.excalidraw__embeddable-container .excalidraw__embeddable__generating .Spinner {
|
|
8046
|
+
--spinner-color: #fff;
|
|
8047
|
+
flex: 0 0 auto;
|
|
8048
|
+
height: auto;
|
|
8049
|
+
margin: 0;
|
|
8050
|
+
}
|
|
7948
8051
|
.excalidraw__embeddable-container .excalidraw__embeddable__outer {
|
|
7949
8052
|
width: 100%;
|
|
7950
8053
|
height: 100%;
|