Commit Graph

3460 Commits

Author SHA1 Message Date
Aakansha Doshi d5b406b055 path fixes 2024-05-09 13:38:37 +05:30
Aakansha Doshi 7522285869 watch utils folder and build it when updated 2024-05-09 13:31:07 +05:30
Aakansha Doshi 58567dd2b6 move the files to src and tests folders under utils 2024-05-09 13:30:44 +05:30
Aakansha Doshi a76999e9a2 lint 2024-05-08 19:19:14 +05:30
Aakansha Doshi 5af532d229 Merge remote-tracking branch 'origin/master' into aakansha/esm 2024-05-08 19:15:37 +05:30
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
Aakansha Doshi c1926f33bb fix: remove unused param from drawImagePlaceholder (#7991) 2024-05-07 20:22:51 +05:30
Andreas Gebhardt 6539029d2a fix: docker build of Excalidraw app (#7430)
* fix: docker build of Excalidraw app

Fixes #7403.

* deps: update (container) Nginx to 1.24

---------

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2024-05-07 18:00:58 +05:30
David Luzar d1f37cc64f feat: tweak a few icons & add line editor button to side panel (#7990) 2024-05-07 13:18:39 +02:00
Márk Tolmács f0d25e34c3 chore: Add lcov coverage output to vitest (#7987)
chore: Add lcov coverage output to vitest so VSCode coverage gutters extension works

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-05-06 17:35:23 +02:00
Aakansha Doshi 96fc3ac5bb lint 2024-05-06 19:09:09 +05:30
Aakansha Doshi 906652bac2 lint 2024-05-06 19:05:36 +05:30
Aakansha Doshi 53a0428705 update remaining paths to use utils workspace 2024-05-06 18:56:54 +05:30
Aakansha Doshi 927e36c7b4 fix tests 2024-05-06 18:42:07 +05:30
Aakansha Doshi e187faee77 update test script 2024-05-06 17:35:33 +05:30
Aakansha Doshi d12d97bfcb add cleanup workspaces script and test-utils 2024-05-06 17:28:58 +05:30
Aakansha Doshi 5acb5c9d91 update test script 2024-05-06 17:11:02 +05:30
Aakansha Doshi 23ee054025 fix lint 2024-05-06 17:05:19 +05:30
Aakansha Doshi d91b234db1 fix typo 2024-05-06 16:24:35 +05:30
Aakansha Doshi b2b03af1ec fix script 2024-05-06 16:22:18 +05:30
Aakansha Doshi f0876e3c03 tweaks 2024-05-06 16:18:05 +05:30
Aakansha Doshi 6d0ee330b7 update build scripts 2024-05-06 15:35:34 +05:30
Aakansha Doshi e48eed6b21 add utils to external 2024-05-06 15:25:44 +05:30
Aakansha Doshi 549786a504 add utils to external 2024-05-06 15:15:48 +05:30
Aakansha Doshi 73c53a3c7c extend ts config 2024-05-06 13:55:02 +05:30
Aakansha Doshi 72a98da527 ignore types in tests 2024-05-03 17:18:42 +05:30
Aakansha Doshi 45ff9d1053 add @excalidraw/utils to external and fixes 2024-05-03 17:08:07 +05:30
Aakansha Doshi 6a1477a55c feat: use @excalidraw/utils as a workspace in the codebase 2024-05-03 15:54:06 +05:30
Márk Tolmács d9bbf1eda6 feat: Allow binding only via linear element ends (#7946)
Arrows now only bind to new shapes if their start or end point is dragged close to them. Arrows previously bound to shapes remain bound on move and drag if at the end of the drag/move the points remain in the original shapes' binding area.

---------

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Co-authored-by: Sammy Lee <sammy.joe.lee@gmail.com>
2024-05-02 08:32:12 +02:00
Márk Tolmács f79fb9aae2 chore: Bump vitest to 1.5.3 to support VSCode vitest Extension (#7968)
Bump vitest to 1.5.3 to support VSCode vitest Extension

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-05-01 20:47:52 +02:00
Mritunjay Goutam 275f6fbe24 fix: typo in doc api (#7466) 2024-04-30 16:52:42 +00:00
Ryan Di 88812e0386 feat: resize elements from the sides (#7855)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-04-30 18:05:00 +02:00
Marcel Mraz 6e5aeb112d feat: record freedraw tool selection to history (#7949) 2024-04-25 17:24:05 +00:00
Marcel Mraz 4d83d1c91e fix: use Reflect API instead of Object.hasOwn (#7958) 2024-04-25 15:36:26 +02:00
Márk Tolmács a04676d423 fix: CTRL/CMD & arrow point drag unbinds both sides (#6459) (#7877) 2024-04-23 00:01:05 +02:00
Milos Vetesnik c851aaaf7b fix: z-index for laser pointer to be able to draw on embeds and such (#7918) 2024-04-22 23:53:55 +02:00
Marcel Mraz 1bd2b1fe55 feat: export reconciliation (#7917) 2024-04-22 17:27:57 +02:00
Marcel Mraz 015b46ab23 feat: expose StoreAction in relation to multiplayer history (#7898)
Improved Store API and improved handling of actions to eliminate potential concurrency issues
2024-04-22 09:22:25 +00:00
Marcel Mraz 530617be90 feat: multiplayer undo / redo (#7348) 2024-04-17 14:01:24 +02:00
David Luzar 5211b003b8 fix: double text rendering on edit (#7904) 2024-04-17 13:48:04 +02:00
Ryan Di bbcca06b94 fix: collision regressions from vector geometry rewrite (#7902) 2024-04-17 13:31:12 +02:00
johnd99 f92f04c13c fix: Correct unit from 'eg' to 'deg' (#7891) 2024-04-15 11:11:27 +02:00
David Luzar 890ed9f31f feat: add "toggle grid" to command palette (#7887) 2024-04-13 19:12:29 +02:00
David Luzar da2e507298 fix: allow same origin for all necessary domains (#7889) 2024-04-13 18:51:30 +02:00
David Luzar f59b4f6af4 fix: always make sure we render bound text above containers (#7880) 2024-04-12 21:50:02 +02:00
David Luzar afcde542f9 fix: parse embeddable srcdoc urls strictly (#7884) 2024-04-12 20:51:17 +02:00
Ryan Di 4689a6b300 fix: hit test for closed sharp curves (#7881) 2024-04-12 12:58:51 +02:00
David Luzar 0ae9b383d6 fix: Gist embed allowing unsafe html (#7883) 2024-04-12 12:57:43 +02:00
David Luzar f597bd3e01 fix: command palette tweaks and fixes (#7876) 2024-04-11 11:39:19 +02:00
Ryan Di 4987cc53d0 fix: include borders when testing insides of a shape (#7865) 2024-04-09 16:07:36 +02:00