Marcel Mraz
d438cdf83a
Merge branch 'master' into mrazator/scene-static-methods-removal
2025-04-23 13:32:36 +02:00
David Luzar
a5d6939826
fix: keep orig elem in place on alt-duplication ( #9403 )
...
* fix: keep orig elem in place on alt-duplication
* clarify comment
* fix: incorrect selection on duplicating labeled containers
* fix: duplicating within group outside frame should remove from group
2025-04-17 16:08:07 +02:00
Marcel Mraz
94c773a990
Deprecate mutateElement, use scene.mutateElement or mutateElementWIth instead
2025-04-14 17:25:12 +02:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
Auto release excalidraw next / Auto-release-excalidraw-next (push) Failing after 2m36s
Build Docker image / build-docker (push) Failing after 6s
Cancel previous runs / cancel (push) Failing after 1s
Publish Docker / publish-docker (push) Failing after 31s
New Sentry production release / sentry (push) Failing after 2m3s
2025-03-26 15:24:59 +01:00
Márk Tolmács
77aca48c84
fix: Refactor and merge duplication and binding ( #9246 )
Tests / test (push) Successful in 4m52s
2025-03-23 18:39:33 +01:00
David Luzar
99d8bff175
fix: elements offset incorrectly when action-duplicated during drag ( #9275 )
...
Tests / test (push) Successful in 4m47s
* fix: elements offset incorrectly when action-duplicated during drag
* prevent duplicate action during drag altogether
2025-03-15 20:05:42 +01:00
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports ( #9163 )
Tests / test (push) Successful in 4m38s
2025-03-12 15:23:31 +01:00
Marcel Mraz
ecef5d12f4
chore: release @excalidraw/excalidraw@18.0.0 🎉 ( #9127 )
2025-02-28 16:49:09 +01:00
David Luzar
c8f4a4cb41
feat: add props.onDuplicate
( #9117 )
...
* feat: add `props.onDuplicate`
* docs
* clarify docs
* fix docs
2025-02-10 14:20:18 +00:00
David Luzar
424e94a403
fix: duplicating/removing frame while children selected ( #9079 )
2025-02-04 19:23:47 +01:00
Márk Tolmács
f4dd23fc31
chore: Unify math types, utils and functions ( #8389 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-09-02 22:23:38 +00:00
David Luzar
3cfcc7b489
feat: split gridSize
from enabled state & support custom gridStep
( #8364 )
2024-08-14 14:59:14 +02:00
Márk Tolmács
dd1370381d
chore: Refactor and remove scene from elbow arrow generation ( #8342 )
...
* Refactor and remove scene from elbow arrow generation
2024-08-08 14:06:26 +02:00
Márk Tolmács
15e019706d
feat: Orthogonal (elbow) arrows for diagramming ( #8299 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-08-01 18:39:03 +02:00
Aakansha Doshi
1ed53b153c
build: enable consistent type imports eslint rule ( #7992 )
...
* build: enable consistent type imports eslint rule
* change to warn
* fix the warning in example and excalidraw-app
* fix packages
* enable type annotations and throw error for the rule
2024-05-08 14:21:50 +05:30
Marcel Mraz
530617be90
feat: multiplayer undo / redo ( #7348 )
2024-04-17 14:01:24 +02:00
Ryan Di
32df5502ae
feat: fractional indexing ( #7359 )
...
* Introducing fractional indices as part of `element.index`
* Ensuring invalid fractional indices are always synchronized with the array order
* Simplifying reconciliation based on the fractional indices
* Moving reconciliation inside the `@excalidraw/excalidraw` package
---------
Co-authored-by: Marcel Mraz <marcel@excalidraw.com>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-04-04 13:51:11 +01:00
Ryan Di
550a388b2b
feat: command palette ( #7804 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-03-28 16:16:32 +00:00
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>
2024-02-19 11:49:01 +05:30
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>
2024-01-26 11:29:07 +05:30
Aakansha Doshi
d6cd8b78f1
build: decouple package deps and introduce yarn workspaces ( #7415 )
...
* feat: decouple package deps and introduce yarn workspaces
* update root directory
* fix
* fix scripts
* fix lint
* update path in scripts
* remove yarn.lock files from packages
* ignore workspace
* dummy
* dummy
* remove comment check
* revert workflow changes
* ignore ws when installing gh actions
* remove log
* update path
* fix
* fix typo
2023-12-12 11:32:51 +05:30