Commit Graph

12 Commits (4320a3cf413697363d466bae85388a987ed53a46)

Author SHA1 Message Date
Ryan Di 54491d13d4
feat: create flowcharts from a generic element using elbow arrows ()
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Marcel Mraz 84d89b9a8a
fix: throttle fractional indices validation ()
Marcel Mraz d0a380758e
feat: ability to debug the state of fractional indices ()
Ryan Di d2f67e619f
feat: editable element stats ()
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
David Luzar 273ba803d9
fix: font not rendered correctly on init ()
Aakansha Doshi 1ed53b153c
build: enable consistent type imports eslint rule ()
* 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
Marcel Mraz 530617be90
feat: multiplayer undo / redo ()
Ryan Di 32df5502ae
feat: fractional indexing ()
* 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>
Aakansha Doshi 361a9449bb
fix: remove scene hack from export.ts & remove pass elementsMap to getContainingFrame ()
* 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>
Aakansha Doshi 10bd08ef19
fix: make getBoundTextElement and related helpers pure ()
* 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>
David Luzar 0415c616b1
refactor: decoupling global Scene state part-1 ()
Aakansha Doshi d6cd8b78f1
build: decouple package deps and introduce yarn workspaces ()
* 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