David Luzar and GitHub
8f8dd1105f
docs: changelog fixes ( #5593 )
2022-08-18 14:16:06 +02:00
b914ad41fc
feat: support ExcalidrawElement.customData ( #5592 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
2022-08-18 17:32:46 +05:30
David Luzar and GitHub
ad0c4c4c78
fix: points not being normalized on single-elem resize ( #5581 )
2022-08-16 21:51:43 +02:00
David Luzar and GitHub
2d800feeeb
fix: shareable links being merged with current scene data ( #5547 )
2022-08-08 17:51:19 +02:00
David Luzar and GitHub
93cccd596a
fix: Scene lookup failing when looking up by id ( #5542 )
2022-08-08 17:01:17 +02:00
45b592227d
fix: remove rounding to fix jitter when shift-editing ( #5543 )
...
Co-authored-by: Ryan Di <ryan.weihao.di@gmail.com >
2022-08-05 20:22:46 +05:30
David Luzar and GitHub
4359e2935d
fix: line deselected when shift-dragging point outside editor ( #5540 )
2022-08-05 00:01:56 +05:30
David Luzar and GitHub
501397cb61
fix: disable locking aspect ratio for box-selection ( #5525 )
2022-08-02 19:10:17 +05:30
David Luzar and GitHub
e7d34677c6
fix: resolve paths in prebuild.js script ( #5498 )
2022-07-30 21:56:46 +02:00
David Luzar and GitHub
ac66665b64
fix: incorrectly rendering freedraw elements ( #5481 )
2022-07-22 16:18:41 +02:00
David Luzar and GitHub
a7937681e9
fix: account for safe area for floating buttons on mobile ( #5420 )
2022-07-19 15:44:14 +02:00
David Luzar and GitHub
792f238d16
refactor: improve typing & check ( #5415 )
2022-07-19 15:44:04 +02:00
David Luzar and GitHub
5bc40402a6
fix: disable render throttling by default & during resize ( #5451 )
2022-07-16 11:36:55 +02:00
David Luzar and GitHub
b6bb74d08d
feat: throttle scene rendering to animation framerate ( #5422 )
2022-07-07 11:47:37 +02:00
David Luzar and GitHub
dac8dda4d4
feat: collab component state handling rewrite & fixes ( #5046 )
2022-07-05 16:03:40 +02:00
David Luzar and GitHub
0ef202f2df
feat: support debugging PWA in dev ( #4853 )
...
* feat: support enabling pwa in dev
* enable workbox debug
* add prebuild script
* fix lint
2022-07-02 17:59:03 +02:00
David Luzar and GitHub
bbfd2b3cd3
fix: file handle not persisted when importing excalidraw files ( #5372 )
2022-06-28 14:44:59 +02:00
David Luzar and GitHub
120c8f373c
fix: library not scrollable when no published items installed ( #5352 )
...
* fix: library not scrollable when no published items installed
* show empty lib message in one case & fix i18n
2022-06-25 20:10:53 +02:00
David Luzar and GitHub
9135ebf2e2
feat: redirect vscode.excalidraw.com to vscode marketplace ( #5285 )
2022-06-23 17:42:50 +02:00
David Luzar and GitHub
af31e9dcc2
fix: focus traps inside popovers ( #5317 )
2022-06-23 17:33:50 +02:00
David Luzar and GitHub
50bc7e099a
fix: unable to use cmd/ctrl-delete/backspace in inputs ( #5348 )
2022-06-23 17:27:15 +02:00
David Luzar and GitHub
4712393b62
fix: stale appState.pendingImageElement ( #5322 )
...
* fix: stale `appState.pendingImageElement`
* unrelated fix for devTools race conditions
* snap fix
2022-06-19 14:13:43 +02:00
David Luzar and GitHub
fd48c2cf79
fix: non-letter shortcuts being swallowed by color picker ( #5316 )
2022-06-17 12:37:11 +02:00
David Luzar and GitHub
5feacd9a3b
feat: deduplicate collab avatars based on id ( #5309 )
2022-06-15 15:35:57 +02:00
David Luzar and GitHub
4a9fac2d1e
fix: unsafely accessing draggingElement ( #5216 )
2022-05-20 17:48:26 +02:00
David Luzar and GitHub
92f30f7ed6
test: add tests for loading library from file picker ( #5206 )
2022-05-19 00:37:36 +02:00
David Luzar and GitHub
b27ac257e7
feat: support resubmitting published library items ( #5174 )
2022-05-11 15:56:11 +02:00
David Luzar and GitHub
d2cc76e52e
feat: support adding multiple library items on canvas ( #5116 )
2022-05-11 15:51:02 +02:00
cad6097d60
feat: factor out url library init & switch to updateLibrary API ( #5115 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
2022-05-11 15:08:54 +02:00
David Luzar and GitHub
2537b225ac
fix: hide sidebar when custom tool active ( #5179 )
2022-05-11 12:42:52 +00:00
David Luzar and GitHub
d2e687ed0a
feat: make file handling more robust ( #5057 )
2022-05-09 15:53:04 +02:00
David Luzar and GitHub
a524eeb66e
fix: eraser removed deleted elements ( #5155 )
...
* fix: eraser removed deleted elements
* rename `getElements` API
* fix one more case of not including deleted elements
2022-05-07 21:01:37 +02:00
David Luzar and GitHub
65c32b3319
fix: library multiselect not accounting for published state ( #5132 )
2022-05-07 19:13:10 +02:00
David Luzar and GitHub
d53ac2a61e
fix: library init/import race conditions ( #5101 )
2022-04-29 16:45:02 +02:00
David Luzar and GitHub
e6a9ff1b96
fix: toolIcon height not using rem ( #5092 )
2022-04-24 19:21:41 +02:00
David Luzar and GitHub
832b88249c
feat: stop event propagation when key handled ( #5091 )
...
* feat: stop event propagation when key handled
* don't handle s/g shortcuts if cmd/ctrl/alt pressed
2022-04-24 18:29:38 +02:00
David Luzar and GitHub
9423ac3263
fix: Excalidraw named export type ( #5078 )
2022-04-22 15:49:36 +02:00
David Luzar and GitHub
cd942c3e3b
feat: rewrite library state management & related refactor ( #5067 )
...
* support libraryItems promise for `updateScene()` and use `importLibrary`
* fix typing for `getLibraryItemsFromStorage()`
* remove `libraryItemsFromStorage` hack
if there was a point to it then I'm missing it, but this part will be rewritten anyway
* rewrite state handling
(temporarily removed loading states)
* add async support
* refactor and deduplicate library importing logic
* hide hints when library open
* fix snaps
* support promise in `initialData.libraryItems`
* add default to params instead
2022-04-20 14:40:03 +02:00
David Luzar and GitHub
55ccd5b79b
feat: delay initial loading message & tweak design ( #5049 )
2022-04-19 19:08:13 +02:00
David Luzar and GitHub
a3fbe40b26
fix: eraser cursor showing on theme change when not using eraser ( #4990 )
2022-04-17 22:47:36 +02:00
David Luzar and GitHub
7431ca81d1
fix: update storage.rules ( #5020 )
2022-04-17 22:47:00 +02:00
David Luzar and GitHub
4d13dbf625
feat: reconcile when saving to firebase ( #4991 )
...
* naming tweaks
* do not mark local element as duplicate when there's no remote counterpart
* merge instead of overwrite elements when saving to firebase & reconcile local state
* decouple syncing from persistence
* fix ts
* clarify doc
* fix reconciliation not removing duplicates
2022-04-17 22:40:39 +02:00
David Luzar and GitHub
f3e17c90d3
fix: ensure svg image dimensions are always set ( #5044 )
2022-04-15 12:05:10 +02:00
David Luzar and GitHub
70b3a9de49
feat: library restoring changes ( #4995 )
...
* restore library items in all cases & refactor
* export `restoreLibraryItems` from package
* feat: rerender library menu when updating via API
* update readme & changelog
* fix changelog
2022-04-14 16:20:35 +02:00
David Luzar and GitHub
5359e4fec9
feat: refactor local persistence & fix race condition on SW reload ( #5032 )
2022-04-11 22:15:49 +02:00
David Luzar and GitHub
58fe639b8d
fix: select whole group on righclick & few lock-related fixes ( #5022 )
2022-04-07 17:53:55 +02:00
David Luzar and GitHub
cb6b7559b4
fix: support copying PNG to clipboard on Safari ( #3746 )
2022-04-06 14:05:09 +02:00
David Luzar and GitHub
77d789ed8e
fix: more copyText fixes ( #5016 )
2022-04-05 23:11:00 +02:00
David Luzar and GitHub
9ba7ca3845
feat: hide penMode button on reload if not enabled ( #4992 )
2022-03-30 10:53:22 +02:00
David Luzar and GitHub
f2d2f97546
fix: using stale state when switching tools ( #4989 )
2022-03-29 17:00:19 +02:00
David Luzar and GitHub
f242721f3b
chore: add ga for most actions ( #4829 )
2022-03-28 14:46:40 +02:00
David Luzar and GitHub
b682d88167
fix: incorrectly erasing on mobile ( #4899 )
...
* fix: incorrectly erasing on mobile
* reintroduce fix for erasing on single-point click
* fix snaps
2022-03-11 15:45:59 +01:00
20de06ef50
fix: paste styles shortcut ( #4886 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
2022-03-09 10:59:44 +01:00
David Luzar and GitHub
9392ec276d
fix: collab room initialization ( #4882 )
2022-03-06 15:59:56 +01:00
David Luzar and GitHub
45f3410da8
build: release @excalidraw/utils 0.1.1 ( #4862 )
2022-03-03 14:59:08 +01:00
David Luzar and GitHub
94b387ef7b
fix: ensure verticalAlign properties not shown when no element selected ( #4860 )
...
* fix: ensure verticalAlign properties not shown when no element selected
* show verticalAlign prop if selection contains at least one applicable element
* simplify
2022-03-02 23:56:20 +01:00
David Luzar and GitHub
6d0716eb6b
fix: binding text to non-bindable containers and not always preferring selection ( #4655 )
2022-03-02 17:04:09 +01:00
David Luzar and GitHub
618a846451
chore: remove firebase-tools ( #4792 )
2022-02-28 10:54:20 +01:00
David Luzar and GitHub
b6f9a8005e
docs: list who's integrating excalidraw ( #4832 )
...
* docs: list who's integrating excalidraw
* Update README.md
2022-02-23 23:28:17 +01:00
David Luzar and GitHub
5c61613a2e
fix: don't bump element version when adding files data ( #4794 )
...
* fix: don't bump element version when adding files data
* fix lint
2022-02-16 18:26:36 +05:30
David Luzar and GitHub
9653d676fe
fix: contextMenu timer & pointers not correctly reset on iOS ( #4765 )
2022-02-09 20:42:02 +01:00
a066317d3c
feat: add onLinkOpen component prop ( #4694 )
...
Co-authored-by: ad1992 <aakansha1216@gmail.com >
2022-02-08 11:25:35 +01:00
David Luzar and GitHub
050bc1ce2b
feat: keep selected tool on canvas reset ( #4728 )
2022-02-07 22:30:06 +01:00
David Luzar and GitHub
5007df6522
fix: disable contextmenu on non-secondary pen events or touch ( #4675 )
2022-02-07 20:01:36 +01:00
David Luzar and GitHub
5f1cd4591a
fix: do not open links twice ( #4738 )
2022-02-07 12:20:19 +00:00
David Luzar and GitHub
c3f6d6d344
test: revert node v16 requirement for tests ( #4737 )
2022-02-07 12:27:31 +01:00
David Luzar and GitHub
339636caab
feat: allow any precision when zooming ( #4730 )
2022-02-06 21:58:59 +01:00
David Luzar and GitHub
08115ef311
fix: Apple Pen missing strokes ( #4705 )
2022-02-06 20:07:37 +01:00
David Luzar and GitHub
8aff076782
feat: throttle pointermove events per framerate ( #4727 )
2022-02-06 17:45:37 +01:00
David Luzar and GitHub
de6371aac4
fix: link popup position not accounting for offsets ( #4695 )
2022-02-03 17:00:00 +01:00
David Luzar and GitHub
631a228ca1
fix: typing _+ in wysiwyg not working ( #4681 )
2022-01-31 14:29:42 +01:00
David Luzar and GitHub
4b5270ab12
fix: keyboard-zooming in wysiwyg should zoom canvas ( #4676 )
2022-01-31 10:43:03 +01:00
dwelle
dcee594b66
remove forgotten debug statements
2022-01-29 22:07:09 +01:00
David Luzar and GitHub
79d323fab1
refactor: simplify zoom by removing zoom.translation ( #4477 )
2022-01-29 21:12:44 +01:00
1fd2fe56ee
fix: cmd/ctrl native browser behavior blocked in inputs ( #4589 )
...
* fix: cmd/ctrl native browser behavior blocked in inputs
* add basic test for fontSize increase/decrease via keyboard
* add tests for fontSize resizing via keyboard outside wysiwyg
* Update src/element/textWysiwyg.test.tsx
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
* Update src/tests/resize.test.tsx
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
* Update src/tests/resize.test.tsx
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
2022-01-13 19:53:22 +01:00
David Luzar and GitHub
1ef287027b
fix: support collaboration in bounded text ( #4580 )
2022-01-12 23:21:45 +01:00
a51ed9ced6
feat: support decreasing/increasing fontSize via keyboard ( #4553 )
...
Co-authored-by: david <dw@dw.local >
2022-01-12 15:21:36 +01:00
David Luzar and GitHub
d5a6014076
fix: prefer spreadsheet data over image ( #4533 )
2022-01-07 23:18:04 +01:00
David Luzar and GitHub
28546fbb55
fix: bound text doesn't inherit container ( #4521 )
2021-12-31 14:55:02 +01:00
David Luzar and GitHub
b621d065de
feat: hints and shortcuts help around deep selection ( #4502 )
2021-12-31 11:00:20 +01:00
David Luzar and GitHub
bae0e985b2
fix: prevent browser from scrolling when panning ( #4489 )
2021-12-27 14:18:11 +01:00
David Luzar and GitHub
c1c37a6ee7
fix: align library item previews to center ( #4447 )
2021-12-21 19:59:36 +01:00
David Luzar and GitHub
7db63bd397
feat: redesign toolbar & tweaks ( #4387 )
2021-12-15 15:31:44 +01:00
David Luzar and GitHub
390da3fd0f
feat: change boundElementIds → boundElements ( #4404 )
2021-12-14 16:07:01 +01:00
David Luzar and GitHub
104664cb9e
feat: support selecting multiple points when editing line ( #4373 )
2021-12-13 13:35:07 +01:00
David Luzar and GitHub
ed8fb40b63
fix: make firebase config parsing not fail on undefined env ( #4381 )
2021-12-09 12:24:41 +00:00
David Luzar and GitHub
dfbfbc3f11
feat: set package build target to es2017 ( #4341 )
2021-12-07 16:38:46 +01:00
dwelle
9b8ee3cacf
feat: horizontally center toolbar menu
2021-12-05 17:47:19 +01:00
David Luzar and GitHub
618f204ddd
feat: allow zooming up to 3000% ( #4358 )
2021-12-04 13:51:28 +00:00
David Luzar and GitHub
720588130c
feat: stop discarding precision when rendering ( #4357 )
2021-12-04 13:49:57 +00:00
David Luzar and GitHub
afa7932c9b
feat: set appState.exportBackground to true when exporting to jpg ( #4342 )
2021-11-30 22:08:55 +01:00
David Luzar and GitHub
06db702b5d
feat: support selecting multiple library items via shift ( #4306 )
2021-11-26 12:46:23 +01:00
b53d1f6f3e
feat: improve library preview image generation on publish ( #4321 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
2021-11-26 11:46:13 +01:00
David Luzar and GitHub
8ff159e76e
fix: export scale quality regression ( #4316 )
2021-11-25 14:05:22 +01:00
David Luzar and GitHub
f9d2d537a2
feat: add element.updated ( #4070 )
2021-11-24 18:38:33 +01:00
David Luzar and GitHub
6dd0e6a4c5
fix: remove 100% height from tooltip container to fix layout issues ( #3980 )
2021-11-24 17:16:18 +01:00
David Luzar and GitHub
96b31ecbce
fix: inline ENV variables when building excalidraw package ( #4311 )
2021-11-24 16:25:19 +01:00
David Luzar and GitHub
896c476716
feat: compress shareLink data when uploading to json server ( #4225 )
2021-11-24 14:45:13 +01:00
David Luzar and GitHub
cc4b0c2932
feat: supply version param when installing libraries ( #4305 )
2021-11-23 17:59:26 +01:00
David Luzar and GitHub
620b662085
chore: bump typescript@4.5.2 ( #4283 )
...
* chore: bump typescript@4.5.2
* bump typescript and fix tsconfig for npm package
2021-11-19 19:51:28 +01:00