Commit Graph

809 Commits (ec7fa95672bba7d0653c6861f636827d6de6b8fc)

Author SHA1 Message Date
Excalidraw Bot 2618178a93 New translations en.json (Portuguese, Brazilian) 12 months ago
Excalidraw Bot c57d36ba38 New translations en.json (Galician) 12 months ago
Excalidraw Bot 6fa91ecb5c New translations en.json (Vietnamese) 12 months ago
Excalidraw Bot 44d61bcb62 New translations en.json (Chinese Traditional) 12 months ago
Excalidraw Bot dfeddba61b New translations en.json (Ukrainian) 12 months ago
Excalidraw Bot d691aa87ce New translations en.json (Turkish) 12 months ago
Excalidraw Bot 5a56bbb01d New translations en.json (Slovenian) 12 months ago
Excalidraw Bot 675adb6f0d New translations en.json (Russian) 12 months ago
Excalidraw Bot 4969de2250 New translations en.json (Portuguese) 12 months ago
Excalidraw Bot 8f6d5b3871 New translations en.json (Polish) 12 months ago
Excalidraw Bot 7732cd1d87 New translations en.json (Punjabi) 12 months ago
Excalidraw Bot a166aa0ac5 New translations en.json (Dutch) 12 months ago
Excalidraw Bot 51fe6a8203 New translations en.json (Lithuanian) 12 months ago
Excalidraw Bot 287c3fce76 New translations en.json (Kurdish) 12 months ago
Excalidraw Bot b78404bd85 New translations en.json (Korean) 12 months ago
Excalidraw Bot 1e2cc0b6f1 New translations en.json (Japanese) 12 months ago
Excalidraw Bot be303375c4 New translations en.json (Hungarian) 12 months ago
Excalidraw Bot 8ba188e429 New translations en.json (Hebrew) 12 months ago
Excalidraw Bot 10842ae839 New translations en.json (Finnish) 12 months ago
Excalidraw Bot 592b9862e1 New translations en.json (Basque) 12 months ago
Excalidraw Bot 01b44663e3 New translations en.json (Greek) 12 months ago
Excalidraw Bot ce59dd6d07 New translations en.json (German) 12 months ago
Excalidraw Bot 199d0eec81 New translations en.json (Danish) 12 months ago
Excalidraw Bot 176558d6d6 New translations en.json (Czech) 12 months ago
Excalidraw Bot 94da21229b New translations en.json (Catalan) 12 months ago
Excalidraw Bot 58298a9758 New translations en.json (Bulgarian) 12 months ago
Excalidraw Bot bc53ef2017 New translations en.json (Arabic) 12 months ago
Excalidraw Bot 2892c5d77d New translations en.json (Spanish) 12 months ago
Excalidraw Bot 833e83d57d New translations en.json (French) 12 months ago
Excalidraw Bot 47369822d8 New translations en.json (Romanian) 12 months ago
Excalidraw Bot 2da836df9d New translations en.json (Hindi) 12 months ago
Excalidraw Bot c42d3700f0 New translations en.json (Chinese Simplified) 12 months ago
Excalidraw Bot 146c599e43 New translations en.json (Swedish) 12 months ago
Excalidraw Bot 950651ce0a New translations en.json (Slovak) 12 months ago
Excalidraw Bot 50ef5d664c New translations en.json (Italian) 12 months ago
David Luzar 2382fad4f6
feat: store library to IndexedDB & support storage adapters (#7655) 12 months ago
Excalidraw Bot 1d1c6f35fa New translations en.json (Hindi) 12 months ago
Marcel Mraz 480572f893
fix: correcting Assistant metrics (#7758)
* Changed Assistant metrics to the corrrect ones from OS/2 table

* Adding more information about font metrics

* Adding branded types to avoid future mistakes
12 months ago
David Luzar 68b1fdb20e
fix: add missing font metrics for Assistant (#7752) 12 months ago
David Luzar a38e82f999
feat: close dropdown on escape (#7750) 12 months ago
David Luzar a07f6e9e3a
feat: show ai badge for discovery (#7749) 12 months ago
Marcel Mraz 7e471b55eb
feat: text measurements based on font metrics (#7693)
* Introduced vertical offset based on harcoded font metrics 

* Unified usage of alphabetic baseline for both canvas & svg export

* Removed baseline property

* Removed font-size rounding on Safari

* Removed artificial width offset
12 months ago
Excalidraw Bot fd43439dab New translations en.json (Swedish) 12 months ago
Ryan Di 160440b860
feat: improve collab error notification (#7741)
* identify cause

* toast after dialog for error messages in collab

* remove comment

* shake tooltip instead for repeating collab errors

* clear collab error

* empty commit

* simplify & fix reset race condition

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
12 months ago
Excalidraw Bot 84ae576ad0 Auto commit: Calculate translation coverage 12 months ago
Excalidraw Bot bc32a00d6a New translations en.json (Slovak) 12 months ago
Aakansha Doshi f207bd0a1c
build: export types for @excalidraw/utils (#7736)
* build: export types for @excalidraw/utils

* fix

* add types
12 months ago
Aakansha Doshi 99601baffc
build: create ESM build for utils package 🥳 (#7500)
* build: create ESM build for utils package

* add deps, exports and import.meta
12 months ago
Aakansha Doshi af1a3d5b76
fix: export utils from excalidraw package in excalidraw library (#7731)
* fix: export utils from excalidraw package in excalidraw library

* don't export utils utilities

* fix import path

* fix export

* don't export export utilites

* fix export paths

* reexport utils from excalidraw package

* add exports from withinBounds

* fix path
12 months ago
Excalidraw Bot 441b2ff2fd Auto commit: Calculate translation coverage 12 months ago
Excalidraw Bot 941e350245 New translations en.json (Chinese Simplified) 12 months ago
Aakansha Doshi b09b5cb5f4
fix: split renderScene so that locales aren't imported unnecessarily (#7718)
* fix: split renderScene so that locales aren't imported unnecessarily

* lint

* split export code

* rename renderScene to helpers.ts

* add helpers

* fix typo

* fixes

* move renderElementToSvg to export

* lint

* rename export to staticSvgScene

* fix
1 year ago
Excalidraw Bot e32290e9e1 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 231a806257 New translations en.json (Italian) 1 year ago
Excalidraw Bot 782daddfcc Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 51ea204cb7 New translations en.json (Italian) 1 year ago
Excalidraw Bot 606979a539 New translations en.json (Hindi) 1 year ago
Aakansha Doshi f639d44a95
fix: remove dependency of t in blob.ts (#7717)
* remove dependency of t in blob.ts

* fix
1 year ago
Excalidraw Bot f1a51e5512 New translations en.json (Hindi) 1 year ago
Excalidraw Bot 2275532d10 New translations en.json (Marathi) 1 year ago
Excalidraw Bot 2d03d9b667 New translations en.json (Swedish) 1 year ago
Excalidraw Bot 917d5c81e3 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot d67ffe20ea New translations en.json (Romanian) 1 year ago
Excalidraw Bot 5252cc6f11 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot f006df974d New translations en.json (Chinese Traditional) 1 year ago
Excalidraw Bot 7bd061d996 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 2a3aa69f35 New translations en.json (German) 1 year ago
Excalidraw Bot 5908d8c07e Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot e0fce912d5 New translations en.json (Slovenian) 1 year ago
Excalidraw Bot 8a77638f67 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot d3c43fb648 New translations en.json (Karakalpak) 1 year ago
Excalidraw Bot 1974b49b52 New translations en.json (Kabyle) 1 year ago
Excalidraw Bot e729048c98 New translations en.json (Occitan) 1 year ago
Excalidraw Bot 6164bd47f9 New translations en.json (Norwegian Bokmal) 1 year ago
Excalidraw Bot 791fbfa2e8 New translations en.json (Sinhala) 1 year ago
Excalidraw Bot fbdbcedf33 New translations en.json (Chinese Traditional, Hong Kong) 1 year ago
Excalidraw Bot ca7c470793 New translations en.json (Burmese) 1 year ago
Excalidraw Bot cf787e8b72 New translations en.json (Hindi) 1 year ago
Excalidraw Bot 998789dbe8 New translations en.json (Azerbaijani) 1 year ago
Excalidraw Bot 1b7098b775 New translations en.json (Latvian) 1 year ago
Excalidraw Bot 152dcae5bc New translations en.json (Kazakh) 1 year ago
Excalidraw Bot 42f2e1c5c3 New translations en.json (Norwegian Nynorsk) 1 year ago
Excalidraw Bot a986a4f0bf New translations en.json (Thai) 1 year ago
Excalidraw Bot f2fc6ee067 New translations en.json (Marathi) 1 year ago
Excalidraw Bot 043503a739 New translations en.json (Bengali) 1 year ago
Excalidraw Bot 83cd933987 New translations en.json (Tamil) 1 year ago
Excalidraw Bot 9efa749059 New translations en.json (Khmer) 1 year ago
Excalidraw Bot c8fb8f0b2e New translations en.json (Persian) 1 year ago
Excalidraw Bot ec719c131f New translations en.json (Indonesian) 1 year ago
Excalidraw Bot 90375a2f12 New translations en.json (Portuguese, Brazilian) 1 year ago
Excalidraw Bot 6051275d0a New translations en.json (Chinese Traditional) 1 year ago
Excalidraw Bot 06f0c2388d New translations en.json (Chinese Simplified) 1 year ago
Excalidraw Bot 7051bac7d8 New translations en.json (Ukrainian) 1 year ago
Excalidraw Bot 44aa5856cd New translations en.json (Swedish) 1 year ago
Excalidraw Bot 374dc52601 New translations en.json (Slovenian) 1 year ago
Excalidraw Bot 46345e9956 New translations en.json (Slovak) 1 year ago
Excalidraw Bot f3c02d4298 New translations en.json (Russian) 1 year ago
Excalidraw Bot b4cedca7da New translations en.json (Portuguese) 1 year ago
Excalidraw Bot deaf828e84 New translations en.json (Polish) 1 year ago
Excalidraw Bot 38a5698bc7 New translations en.json (Punjabi) 1 year ago
Excalidraw Bot 70af8a3fa5 New translations en.json (Dutch) 1 year ago
Excalidraw Bot 37b172c8ca New translations en.json (Lithuanian) 1 year ago
Excalidraw Bot 1eef380425 New translations en.json (Kurdish) 1 year ago
Excalidraw Bot 1dcf411626 New translations en.json (Korean) 1 year ago
Excalidraw Bot 378a97553c New translations en.json (Italian) 1 year ago
Excalidraw Bot 3246b04911 New translations en.json (Hungarian) 1 year ago
Excalidraw Bot dda48a7d6a New translations en.json (Hebrew) 1 year ago
Excalidraw Bot 29153f0d8d New translations en.json (Finnish) 1 year ago
Excalidraw Bot 70c513f568 New translations en.json (Basque) 1 year ago
Excalidraw Bot 56f75b259c New translations en.json (Greek) 1 year ago
Excalidraw Bot f94a3a7711 New translations en.json (German) 1 year ago
Excalidraw Bot 5a166ee235 New translations en.json (Danish) 1 year ago
Excalidraw Bot 0c199e42c8 New translations en.json (Czech) 1 year ago
Excalidraw Bot a377f55d7f New translations en.json (Bulgarian) 1 year ago
Excalidraw Bot c4759c8ca8 New translations en.json (Arabic) 1 year ago
Excalidraw Bot 9d19230033 New translations en.json (Spanish) 1 year ago
Excalidraw Bot 5aa2ec962b New translations en.json (French) 1 year ago
Excalidraw Bot b21e7f0a70 New translations en.json (Romanian) 1 year ago
Excalidraw Bot 0056d274d5 New translations en.json (Uzbek) 1 year ago
Excalidraw Bot cf5d7f3928 New translations en.json (Catalan) 1 year ago
Excalidraw Bot 058eed953e New translations en.json (Vietnamese) 1 year ago
Excalidraw Bot 5feb41624d New translations en.json (Turkish) 1 year ago
Excalidraw Bot 10a74bf607 New translations en.json (Galician) 1 year ago
Excalidraw Bot 0d1bb00270 New translations en.json (Japanese) 1 year ago
Aakansha Doshi f5ab3e4e12
fix: remove dependency of t from clipboard and image (#7712)
* fix: remove dependency of t from clipboard and image

* pass errorMessage to copyTextToSystemClipboard where needed

* wrap copyTextToSystemClipboard and rethrow translated error in caller

* review fix

* typo
1 year ago
Aakansha Doshi 361a9449bb
fix: remove scene hack from export.ts & remove pass elementsMap to getContainingFrame (#7713)
* fix: remove scene hack from export.ts as its not needed anymore

* remove

* pass elementsMap to getContainingFrame

* remove unused `mapElementIds` param

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Aakansha Doshi 2e719ff671
fix: decouple pure functions from hyperlink to prevent mermaid bundling (#7710)
* move hyperlink code into its folder

* move pure js functions to hyperlink/helpers and move actionLink to actions

* fix tests

* fix
1 year ago
Excalidraw Bot 506756f332 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 67239c874e New translations en.json (Uzbek) 1 year ago
Aakansha Doshi 79d9dc2f8f
fix: make bounds independent of scene (#7679)
* fix: make bounds independent of scene

* pass only elements to getCommonBounds

* lint

* pass elementsMap to getVisibleAndNonSelectedElements
1 year ago
Excalidraw Bot d6cf042764 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 8e5f3ca841 New translations en.json (Catalan) 1 year ago
Aakansha Doshi 9013c84524
fix: make LinearElementEditor independent of scene (#7670)
* fix: make LinearElementEditor independent of scene

* more fixes

* pass elements and elementsMap to maybeBindBindableElement,getHoveredElementForBinding,bindingBorderTest,getElligibleElementsForBindableElementAndWhere,isLinearElementEligibleForNewBindingByBindable

* replace `ElementsMap` with `NonDeletedSceneElementsMap` & remove unused params

* fix lint

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Aakansha Doshi 47f87f4ecb
fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663)
* fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap

* lint

* fix

* use non deleted elements where possible

* use non deleted elements map in actions

* pass elementsMap instead of array to elementOverlapsWithFrame

* lint

* fix

* pass elementsMap to getElementsCorners

* pass elementsMap to getEligibleElementsForBinding

* pass elementsMap in bindOrUnbindSelectedElements and unbindLinearElements

* pass elementsMap in elementsAreInFrameBounds,elementOverlapsWithFrame,isCursorInFrame,getElementsInResizingFrame

* pass elementsMap in getElementsWithinSelection, getElementsCompletelyInFrame, isElementContainingFrame, getElementsInNewFrame

* pass elementsMap to getElementWithTransformHandleType

* pass elementsMap to getVisibleGaps, getMaximumGroups,getReferenceSnapPoints,snapDraggedElements

* lint

* pass elementsMap to bindTextToShapeAfterDuplication,bindLinearElementToElement,getTextBindableContainerAtPosition

* revert changes for bindTextToShapeAfterDuplication
1 year ago
Excalidraw Bot 41d325fdd8 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 6b6761f654 New translations en.json (Vietnamese) 1 year ago
Aakansha Doshi 73bf50e8a8
fix: remove t from getDefaultAppState and allow name to be nullable (#7666)
* fix: remove t and allow name to be nullable

* pass name as required prop

* remove Unnamed

* pass name to excalidrawPlus as well for better type safe

* render once we have excalidrawAPI to avoid defaulting

* rename `getAppName` -> `getName` (temporary)

* stop preventing editing filenames when `props.name` supplied

* keep `name` as optional param for export functions

* keep `appState.name` on `props.name` state separate

* fix lint

* assertive first

* fix lint

* Add TODO

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Excalidraw Bot fc3ae973be Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 0c3c4d4f22 New translations en.json (Galician) 1 year ago
Excalidraw Bot 4df91b980a Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 3729104547 New translations en.json (Japanese) 1 year ago
Aakansha Doshi 48c3465b19
docs: release patch v0.17.3 (#7673)
* docs: release patch v0.17.3

* update cl
1 year ago
David Luzar adc4c9f484
fix: prevent panning to trigger history on macos chrome (#7671) 1 year ago
YuBin, Hsu def1df2c68
fix: keep customData when converting to ExcalidrawElement (#7656)
* feat: keep customData when converting to ExcalidrawElement (#7654)

* docs: add changelog for keeping customData when converting to ExcalidrawElement
1 year ago
Excalidraw Bot 9fd896c1d1 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot e6f4e1f027 New translations en.json (Portuguese) 1 year ago
Excalidraw Bot 35424f62ed New translations en.json (Swedish) 1 year ago
Excalidraw Bot 70943ae461 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot a976aa7123 New translations en.json (French) 1 year ago
Excalidraw Bot e58111d93d New translations en.json (Russian) 1 year ago
Excalidraw Bot 311ebaa5a4 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot b058b2dff1 New translations en.json (Dutch) 1 year ago
Excalidraw Bot 6c77e76c4c Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 691225f51a New translations en.json (Romanian) 1 year ago
Excalidraw Bot d46c669f64 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 7f46da315f New translations en.json (Chinese Simplified) 1 year ago
Excalidraw Bot b7e0d18fae Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot f9095caa42 New translations en.json (German) 1 year ago
Excalidraw Bot de5c825d01 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 5fd26d2a45 New translations en.json (Karakalpak) 1 year ago
Excalidraw Bot 06052b1f3e New translations en.json (Kabyle) 1 year ago
Excalidraw Bot 98b3fbbc18 New translations en.json (Norwegian Bokmal) 1 year ago
Excalidraw Bot fd29c8dd44 New translations en.json (Sinhala) 1 year ago
Excalidraw Bot f4e90f1888 New translations en.json (Chinese Traditional, Hong Kong) 1 year ago
Excalidraw Bot d9d8a39d6a New translations en.json (Burmese) 1 year ago
Excalidraw Bot aa1a99dcf2 New translations en.json (Azerbaijani) 1 year ago
Excalidraw Bot 01f863f268 New translations en.json (Latvian) 1 year ago
Excalidraw Bot 8779e7f36f New translations en.json (Kazakh) 1 year ago
Excalidraw Bot 703cfc02e9 New translations en.json (Norwegian Nynorsk) 1 year ago
Excalidraw Bot d11c92ffc3 New translations en.json (Thai) 1 year ago
Excalidraw Bot 7f381a0d02 New translations en.json (Marathi) 1 year ago
Excalidraw Bot b8b1b9d57f New translations en.json (Bengali) 1 year ago
Excalidraw Bot 103c0e5997 New translations en.json (Tamil) 1 year ago
Excalidraw Bot 696e3d6836 New translations en.json (Khmer) 1 year ago
Excalidraw Bot 07a6b9942e New translations en.json (Persian) 1 year ago
Excalidraw Bot e3d2b854d7 New translations en.json (Indonesian) 1 year ago
Excalidraw Bot 5ee88f6c6b New translations en.json (Portuguese, Brazilian) 1 year ago
Excalidraw Bot 1681598c7d New translations en.json (Vietnamese) 1 year ago
Excalidraw Bot 8f6d92c45c New translations en.json (Chinese Traditional) 1 year ago
Excalidraw Bot 3445c340a1 New translations en.json (Chinese Simplified) 1 year ago
Excalidraw Bot a82d3c15ff New translations en.json (Turkish) 1 year ago
Excalidraw Bot 8b44b2f2ed New translations en.json (Swedish) 1 year ago
Excalidraw Bot 3f4f9e914b New translations en.json (Slovenian) 1 year ago
Excalidraw Bot 721565f3c3 New translations en.json (Slovak) 1 year ago
Excalidraw Bot 4b8060b093 New translations en.json (Russian) 1 year ago
Excalidraw Bot b61bbfea4e New translations en.json (Portuguese) 1 year ago
Excalidraw Bot 6c88eb12d7 New translations en.json (Polish) 1 year ago
Excalidraw Bot 5cb46022fb New translations en.json (Punjabi) 1 year ago
Excalidraw Bot afa0f83349 New translations en.json (Dutch) 1 year ago
Excalidraw Bot a3ddac93a6 New translations en.json (Lithuanian) 1 year ago
Excalidraw Bot 6dd1406716 New translations en.json (Kurdish) 1 year ago
Excalidraw Bot 59f11650f2 New translations en.json (Korean) 1 year ago
Excalidraw Bot fb6e93fe8e New translations en.json (Italian) 1 year ago
Excalidraw Bot b7ddf1ef3a New translations en.json (Hungarian) 1 year ago
Excalidraw Bot 5ffc582f76 New translations en.json (Hebrew) 1 year ago
Excalidraw Bot d025f728cc New translations en.json (Finnish) 1 year ago
Excalidraw Bot 7172c833cb New translations en.json (Basque) 1 year ago
Excalidraw Bot e22350f745 New translations en.json (Greek) 1 year ago
Excalidraw Bot da9319411b New translations en.json (German) 1 year ago
Excalidraw Bot a3bd43f3b2 New translations en.json (Danish) 1 year ago
Excalidraw Bot 4d0fd858be New translations en.json (Czech) 1 year ago
Excalidraw Bot f89325507c New translations en.json (Bulgarian) 1 year ago
Excalidraw Bot 3cafe68e2b New translations en.json (Arabic) 1 year ago
Excalidraw Bot e9ea414849 New translations en.json (Romanian) 1 year ago
Excalidraw Bot fef5b41bd9 New translations en.json (Galician) 1 year ago
Excalidraw Bot 7a478bd508 New translations en.json (Japanese) 1 year ago
Excalidraw Bot bba0033900 New translations en.json (Occitan) 1 year ago
Excalidraw Bot 2e773439ce New translations en.json (Hindi) 1 year ago
Excalidraw Bot 3ff668d7ed New translations en.json (French) 1 year ago
Excalidraw Bot 1801d9efcb New translations en.json (Catalan) 1 year ago
Excalidraw Bot ecd9d7444f New translations en.json (Spanish) 1 year ago
Excalidraw Bot 2dc2b31e36 New translations en.json (Ukrainian) 1 year ago
David Luzar 0513b647ec
feat: change collab trigger & add share dialog (#7647) 1 year ago
David Luzar a289c42830
feat: add loading state to FilledButton (#7650) 1 year ago
David Luzar d67eaa8710
fix: file save timing out with big file sizes (#7649) 1 year ago
Excalidraw Bot 50a5886455 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 8d4dde8411 New translations en.json (Galician) 1 year ago
Excalidraw Bot b6c9bd6bfc Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot a5977368b1 New translations en.json (Occitan) 1 year ago
Aakansha Doshi 0c3dffb082
fix: make getEmbedLink independent of t function (#7643)
* fix: make getEmbedLink independent of t function

* rename warning to error and make it type safe
1 year ago
Milos Vetesnik 0e0f34edd8
fix: follow mode border for hosts apps (#7642) 1 year ago
Aakansha Doshi 1c39bd5781
fix: don't bundle react and jotai when importing from scene (#7640)
* don't bundle react and jotai when importing from scene

* fix
1 year ago
Aakansha Doshi 90ad885446
feat: support onPointerUp prop (#7638)
* feat: support onPointerUp prop

* update changelog

* Update packages/excalidraw/CHANGELOG.md

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>

---------

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
1 year ago
Excalidraw Bot 401281d0eb New translations en.json (Japanese) 1 year ago
Aakansha Doshi 1741c234a6
fix: decouple container cache logic to containerCache. (#7637) 1 year ago
Aakansha Doshi 63b50b3586
fix: don't bundle react-dom when importing from transformHandles (#7634)
* fix: don't bundle react when importing from transfromHandles

* rename to DEFAULT_TRANSFORM_HANDLE_SPACING
1 year ago
Aakansha Doshi e0fefa8025
fix: don't bundle react-dom when importing from element (#7635) 1 year ago
Excalidraw Bot f7df761f7c Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot e690653a3a New translations en.json (Occitan) 1 year ago
Excalidraw Bot 012094d32f New translations en.json (Hindi) 1 year ago
Excalidraw Bot 085099b770 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot c066a5d65a New translations en.json (French) 1 year ago
Aashir Israr 2409c091ff
feat: support roundness for images (#7558)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Andran1k 626fe252ab
fix: frame name field (#7457)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Excalidraw Bot 0bb4aa58a0 New translations en.json (Ukrainian) 1 year ago
Excalidraw Bot 3baf081831 New translations en.json (Ukrainian) 1 year ago
Excalidraw Bot cd07cae68c Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot f8862ff2b3 New translations en.json (Catalan) 1 year ago
Excalidraw Bot 79dd246722 New translations en.json (Ukrainian) 1 year ago
Excalidraw Bot 6ba4dd5d86 New translations en.json (Ukrainian) 1 year ago
Aakansha Doshi 10bd08ef19
fix: make getBoundTextElement and related helpers pure (#7601)
* fix: make getBoundTextElement pure

* updating args

* fix

* pass boundTextElement to getBoundTextMaxWidth

* fix labelled arrows

* lint

* pass elementsMap to removeElementsFromFrame

* pass elementsMap to getMaximumGroups, alignElements and distributeElements

* lint

* pass allElementsMap to renderElement

* lint

* feat: make more typesafe

* fix: remove unnecessary assertion

* fix: remove unused params

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Excalidraw Bot da4896077b Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 0321ea248a New translations en.json (Spanish) 1 year ago
Aakansha Doshi 4f0a2a9593
docs: add next js with app router example (#7552)
* move the existing example to with-script-in-browser

* Add example with next js app router

* disable ssr for excalidraw client comp

* typo

* update output dir

* don't include nextjs example in tsconfig

* remove meta.json

* lint

* remove example.ts

* port

* move the examples outside packages and use the deps as workspaces in examples

* update gitignore

* fix example

* update path of build dir

* fix

* fix scripts

* try local path

* fix

* update commands

* fix

* fix

* fix script

* skip ts

* disable ts

* add vercel.json

* install

* update tsconfig

* fix lint

* remove console.log

* lets see if this works

* revert

* remove ts nocheck

* add types and some utils in nextjs example

* fix types

* updatw example and remove nextjs dynamic syntax so we don't import excal twice

* move both examples to workspaces and create generic example to be used by browser and next js both

* copy the static assets to nextjs

* fix ts config

* render custom menu items

* fix custom footer

* fix types in browser example

* use regular imports for importing excal and import it using dynamic next js in app router instead

* Add example for pages router

* fix css discrepancies

* fix css

* configure output dir

* fix

* fix css

* rename to with-nextjs

* move components to examples/excalidraw/components
1 year ago
David Luzar 89bd6181f2
fix: revert `mapElementIds` flag removal (#7594) 1 year ago
David Luzar 0415c616b1
refactor: decoupling global Scene state part-1 (#7577) 1 year ago
David Luzar 740a165452
fix: filter out elements not overlapping frame on paste (#7591) 1 year ago
Ryan Di 4997624a3a
fix: frame name editing inconvenience (#7437) 1 year ago
Barnabás Molnár b66daae1f3
fix: Truncate collaborator name in dropdown. (#7576) 1 year ago
David Luzar 1e7df58b5b
feat: add pasted elements to frame under cursor (#7590) 1 year ago
David Luzar 46da032626
fix: exporting frame-overlapping elements belonging to other frames (#7584) 1 year ago
みけCAT 3b0593baa7
fix: Prevent the library label from being collapsed (#7579) 1 year ago
Excalidraw Bot 07415a37c9 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 356eb47ca3 New translations en.json (Japanese) 1 year ago
Aakansha Doshi a4e5e46dd1
fix: move default to last so its compatible with nextjs (#7561) 1 year ago
Excalidraw Bot 9383e1a983 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 43ad9a7da9 New translations en.json (Ukrainian) 1 year ago
Excalidraw Bot b661158a85 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 4d5f89fb2a New translations en.json (Norwegian Nynorsk) 1 year ago
David Luzar 0fa5f5de4c
fix: translating frames containing grouped text containers (#7557) 1 year ago
David Luzar 5245276409
feat: erase groups atomically (#7545) 1 year ago
David Luzar 0c24a7042f
feat: remove `ExcalidrawEmbeddableElement.validated` flag (#7539) 1 year ago
Are 86cfeb714c
feat: add eraser tool trail (#7511)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
David Luzar 872973f145
fix: do not modify elements while erasing (#7531) 1 year ago
Aakansha Doshi 3ecf72a507
docs: add changelog for ESM build (#7542)
* docs: add changelog for ESM build

* move to breaking change
1 year ago
Aakansha Doshi 65047cc2cb
fix: decouple react and react-dom imports from utils and make it treeshakeable (#7527)
fix: decouple react and react-dom imports from utils and make it tree-shakeable
1 year ago
Excalidraw Bot c8d1cd6cc3 New translations en.json (Italian) 1 year ago
Excalidraw Bot 558e9382ae Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 1ec0b25c3d New translations en.json (Romanian) 1 year ago
Excalidraw Bot 4d08a6568b Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 2ef35fd2f8 New translations en.json (Hindi) 1 year ago
Excalidraw Bot cc44844029 New translations en.json (Marathi) 1 year ago
Excalidraw Bot 970903992a Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot ac160b6a18 New translations en.json (Slovak) 1 year ago
Excalidraw Bot 535a99a12f Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 6415432eb5 New translations en.json (Chinese Simplified) 1 year ago
Excalidraw Bot 30e9692158 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 148bce498e New translations en.json (Portuguese) 1 year ago
Excalidraw Bot 9455b0942b Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot a279bbb5fd New translations en.json (Portuguese, Brazilian) 1 year ago
Excalidraw Bot 3843e24ba0 New translations en.json (Portuguese) 1 year ago
Excalidraw Bot 91ada50547 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot c969c730a5 New translations en.json (Chinese Traditional) 1 year ago
Excalidraw Bot 560cd5ec32 New translations en.json (Russian) 1 year ago
Excalidraw Bot 186c3755e9 New translations en.json (Portuguese) 1 year ago
Excalidraw Bot a8113203d4 New translations en.json (German) 1 year ago
David Luzar 8b993d409e
feat: render embeds lazily (#7519) 1 year ago
Excalidraw Bot 2e1da33411 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 053dce7b8b New translations en.json (Swedish) 1 year ago
Excalidraw Bot 4941ffdcae New translations en.json (Slovenian) 1 year ago
Excalidraw Bot 845d519fc9 New translations en.json (Portuguese) 1 year ago
Excalidraw Bot cb59638222 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 1cf00f8f28 New translations en.json (Karakalpak) 1 year ago
Excalidraw Bot 3138e75dfe New translations en.json (Kabyle) 1 year ago
Excalidraw Bot c0fd470198 New translations en.json (Occitan) 1 year ago
Excalidraw Bot 44dd859a11 New translations en.json (Norwegian Bokmal) 1 year ago
Excalidraw Bot fb207ad1d4 New translations en.json (Sinhala) 1 year ago
Excalidraw Bot 238324505f New translations en.json (Chinese Traditional, Hong Kong) 1 year ago
Excalidraw Bot 9685ac01a1 New translations en.json (Burmese) 1 year ago
Excalidraw Bot ebf18e369b New translations en.json (Hindi) 1 year ago
Excalidraw Bot d1663324be New translations en.json (Azerbaijani) 1 year ago
Excalidraw Bot 37e8eb1211 New translations en.json (Latvian) 1 year ago
Excalidraw Bot d27063eea4 New translations en.json (Kazakh) 1 year ago
Excalidraw Bot 77a89d12f2 New translations en.json (Norwegian Nynorsk) 1 year ago
Excalidraw Bot e66d7717ab New translations en.json (Thai) 1 year ago
Excalidraw Bot 828772e4f2 New translations en.json (Marathi) 1 year ago
Excalidraw Bot 087cfdfb9f New translations en.json (Bengali) 1 year ago
Excalidraw Bot 77a7cca80c New translations en.json (Tamil) 1 year ago
Excalidraw Bot d24c875aeb New translations en.json (Khmer) 1 year ago
Excalidraw Bot 6c974d033b New translations en.json (Indonesian) 1 year ago
Excalidraw Bot 5ee8fd7448 New translations en.json (Portuguese, Brazilian) 1 year ago
Excalidraw Bot 23352dd668 New translations en.json (Galician) 1 year ago
Excalidraw Bot 60524a49be New translations en.json (Vietnamese) 1 year ago
Excalidraw Bot 76665cc7a1 New translations en.json (Chinese Traditional) 1 year ago
Excalidraw Bot 6cd8bbf5e2 New translations en.json (Ukrainian) 1 year ago
Excalidraw Bot 8602bb66ab New translations en.json (Turkish) 1 year ago
Excalidraw Bot 20d40522da New translations en.json (Swedish) 1 year ago
Excalidraw Bot 44d4e069e4 New translations en.json (Slovenian) 1 year ago
Excalidraw Bot 309790a707 New translations en.json (Russian) 1 year ago
Excalidraw Bot 8a17d6287c New translations en.json (Portuguese) 1 year ago
Excalidraw Bot bea2193b82 New translations en.json (Polish) 1 year ago
Excalidraw Bot 3819b41865 New translations en.json (Punjabi) 1 year ago
Excalidraw Bot 52e7bab8e6 New translations en.json (Dutch) 1 year ago
Excalidraw Bot 7916134430 New translations en.json (Lithuanian) 1 year ago
Excalidraw Bot e1944b4d45 New translations en.json (Kurdish) 1 year ago
Excalidraw Bot 7fe05e26d6 New translations en.json (Korean) 1 year ago
Excalidraw Bot a654815139 New translations en.json (Japanese) 1 year ago
Excalidraw Bot d7c69316f7 New translations en.json (Hungarian) 1 year ago
Excalidraw Bot a22d237f2a New translations en.json (Hebrew) 1 year ago
Excalidraw Bot f92acf6481 New translations en.json (Finnish) 1 year ago
Excalidraw Bot c7adb02973 New translations en.json (Basque) 1 year ago
Excalidraw Bot ce0ed0bdd3 New translations en.json (Greek) 1 year ago
Excalidraw Bot 3b51f9711c New translations en.json (German) 1 year ago
Excalidraw Bot ca0f7f417b New translations en.json (Danish) 1 year ago
Excalidraw Bot 9f59e2080d New translations en.json (Czech) 1 year ago
Excalidraw Bot 1e6778ec11 New translations en.json (Catalan) 1 year ago
Excalidraw Bot a1cdec0995 New translations en.json (Bulgarian) 1 year ago
Excalidraw Bot 6593913c7e New translations en.json (Arabic) 1 year ago
Excalidraw Bot 9fb3f7d223 New translations en.json (Spanish) 1 year ago
Excalidraw Bot 8a43bc35d7 New translations en.json (Romanian) 1 year ago
Excalidraw Bot 2e65fb9441 New translations en.json (French) 1 year ago
Excalidraw Bot f0326c4a82 New translations en.json (Italian) 1 year ago
Excalidraw Bot 1deb577b6e New translations en.json (Persian) 1 year ago
Excalidraw Bot 60c59a9575 New translations en.json (Slovak) 1 year ago
Excalidraw Bot fddc299b60 New translations en.json (Chinese Simplified) 1 year ago
David Luzar 1cb350b2aa
feat: update X brand logo & tweak labels (#7518) 1 year ago
David Luzar 43ccc875fb
feat: support multi-embed pasting & x.com domain (#7516) 1 year ago
Aakansha Doshi 49f15c736b
chore: remove unused files (#7509)
chore remove unused files
1 year ago
Aakansha Doshi a8064ba3ee
build: Welcome ESM and Bye Bye UMD (#7441)
* build: Welcome ESM and Bye Bye UMD

* remove package

* create unbundled esm build

* update script for example

* fix typo

* dummy commit

* update autorelease script to build esm

* revert dummy commit

* move react, react-dom and testing library to dev dependencies

* remove entry.js, publicPath and yarn install:deps script

* fix

* upgrade esbuild to fix glob import error for locales

* remove webpack chunk names as thats not needed anymore

* marking the code sideeffects free

* make the library tree-shakeable and move fonts to fonts directory

* allow side effects for css, scss files

* remove tree-shaking

* comment code for tree shaking

* move to vite for example

* bye bye webpack

* ignore ts

* separate build and output dir

* use esbuild for creating bundle for example

* update output dir

* lint

* create browser dev build with source maps and prod with minification

* add dev and prod builds for bundler

* lint

* update script

* remove await

* load prod build

* create minified build in dist

* prod and dev builds using export field

* remove import.meta

* dummy

* define import.meta prod and dev

* fix

* export types

* add types field

* typo

* lint

* Update scripts/buildPackage.js

* move types inside export

* newline
1 year ago
David Luzar e6c3c06c2e
feat: support pen erasing (#7496) 1 year ago