* fix: Undeclared dependencies
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Rationalize package versions
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Remove old react app remnants
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: Conversion to pnpm
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Circular deps #0
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: common package circular dependencies
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Move history and undo/redo to excalidraw/excalidraw
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: AppState broken up across package boundaries
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: renderElement and binding type racionalization
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Refactor linearElementEditor to not use types outside the package
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* chore: Do not import self barrel file
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: All circular dependencies except core
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: Bump pnpm to 11
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: SASS deprecation warnings
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Polynomial regular expression used on uncontrolled data
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Vercel deploy
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* feat: excalidraw/history package
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: Polynomial regex in SVG payload decoding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* fix: emit the internal packages' types from the editor again
The editor advertises ./common/*, ./element/*, ./history/*, ./math/* and
./utils/* type subpaths, but without the path aliases tsc treats those
packages as external libraries and no longer emits them. Include their
sources in the editor's type build, and drop the relative cross-package
import that made element/ come out half-emitted.
* feat: export the history classes of the editor's API from the entry
onIncrement hands out StoreIncrement subclasses and applyDeltas takes
StoreDelta, so export them next to CaptureUpdateAction. Hosts then need no
dependency of their own on @excalidraw/history.
* chore: refuse to publish packages with npm or yarn
Only pnpm publish rewrites workspace:* dependencies and applies
publishConfig.exports, so a package published with another client can't be
installed.
---------
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
* lasso without 'real' shape detection
* select a single linear el
* improve ux
* feed segments to worker
* simplify path threshold adaptive to zoom
* add a tiny threshold for checks
* refactor code
* lasso tests
* fix: ts
* do not capture lasso tool
* try worker-loader in next config
* update config
* refactor
* lint
* feat: show active tool when using "more tools"
* keep lasso if selected from toolbar
* fix incorrect checks for resetting to selection
* shift for additive selection
* bound text related fixes
* lint
* keep alt toggled lasso selection if shift pressed
* fix regression
* fix 'dead' lassos
* lint
* use workerpool and polyfill
* fix worker bundled with window related code
* refactor
* add file extension for worker constructor error
* another attempt at constructor error
* attempt at build issue
* attempt with dynamic import
* test not importing from math
* narrow down imports
* Reusing existing workers infrastructure (fallback to the main thread, type-safety)
* Points on curve inside the shared chunk
* Give up on experimental code splitting
* Remove potentially unnecessary optimisation
* Removing workers as the complexit is much worse, while perf. does not seem to be much better
* fix selecting text containers and containing frames together
* render fill directly from animated trail
* do not re-render static when setting selected element ids in lasso
* remove unnecessary property
* tweak trail animation
* slice points to remove notch
* always start alt-lasso from initial point
* revert build & worker changes (unused)
* remove `lasso` from `hasStrokeColor`
* label change
* remove unused props
* remove unsafe optimization
* snaps
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Co-authored-by: Marcel Mraz <marcel@excalidraw.com>