zsviczian
836120c14b
feat: added exportPadding to PNG (blob) export in @excalidraw/utils ( #5626 )
...
* added exportPadding
* Update README.md
* Update CHANGELOG.md
2022-08-30 12:48:24 +05:30
Aakansha Doshi
de1d221d1c
docs: add PR link ( #5613 )
...
docs:add PR link
2022-08-23 11:51:45 +05:30
Aakansha Doshi
9a68dbffe2
docs: update docs for param defaultStatus in loadLibraryFromBlob ( #5612 )
2022-08-23 11:32:53 +05:30
David Luzar
8f8dd1105f
docs: changelog fixes ( #5593 )
2022-08-18 14:16:06 +02:00
David Luzar
b914ad41fc
feat: support ExcalidrawElement.customData
( #5592 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2022-08-18 17:32:46 +05:30
Aakansha Doshi
a7153d9d1d
feat: update toast api to account for duration and closable ( #5427 )
...
* feat: update toast api to account for duration and closable
* fix
* update snaps
* update docs
* male toast nullable
* fix snaps
* remove clearToast from App.tsx and replace clearToast prop in Toast comp with onClose
2022-07-11 18:11:13 +05:30
Aakansha Doshi
e3908e6fe3
fix: typo in changelog ( #5425 )
2022-07-07 18:45:17 +05:30
Aakansha Doshi
fe3d0b5e8b
docs: release @excalidraw/excalidraw@0.12.0 🎉 ( #5421 )
2022-07-07 18:26:19 +05:30
Ishtiaq Bhatti
cdf352d4c3
feat: add sidebar for libraries panel ( #5274 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2022-06-21 17:03:23 +02:00
David Luzar
5feacd9a3b
feat: deduplicate collab avatars based on id
( #5309 )
2022-06-15 15:35:57 +02:00
Aakansha Doshi
f1bc90e08a
fix: Allow null in renderFooter prop ( #5282 )
...
* fix: Allow null in render props
* update docs
2022-06-06 20:45:06 +05:30
jasonphillips
d08179c215
fix: transpile browser-fs-access in package build ( #5041 )
2022-05-24 15:07:05 +02:00
Aakansha Doshi
07ebd7c68c
feat: support setting/resetting cursor from host ( #5215 )
...
* Support setting/resetting cursor type from host
* add docs
* minor
2022-05-20 18:43:38 +05:30
Aakansha Doshi
ab1a30073c
feat: expose utilitis to convert scene coords to viewport coords and vice versa ( #5187 )
...
* feat: expose utilitis to convert scene coords to viewport coords and vice versa
* add return value
2022-05-12 17:14:30 +05:30
David Luzar
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
Aakansha Doshi
4ee48d2729
fix: rename src to avatarUrl in collaborator ( #5177 )
...
* fix: rename to in collaborator
* update pr link
* fallback to intials on image error
2022-05-11 15:54:10 +05:30
Aakansha Doshi
68f23d652f
feat: support custom elements in @excalidraw/excalidraw ( #5164 )
...
* feat: support custom elements in @excalidraw/excalidraw
* revert
* fix css
* fix offsets
* fix overflow of custom elements in example
* fix overflow in comments input
* make sure comment input never overflows the viewport
* remove offsetschange
* expose setActiveTool
* rename to onPointerDown
* update docs
* fix
2022-05-11 13:30:15 +05:30
David Luzar
d2e687ed0a
feat: make file handling more robust ( #5057 )
2022-05-09 15:53:04 +02:00
Aakansha Doshi
aae8e2fa5d
feat: export MIME_TYPES supported by excalidraw ( #5135 )
...
* feat: export MIME_TYPES supported by excalidraw
* Update src/packages/excalidraw/CHANGELOG.md
2022-05-02 15:47:03 +05:30
Aakansha Doshi
9e6d5fdbcb
feat: support src collaborators ( #5114 )
...
* feat: support avatarURLfor collaborators
* fix
* better avatars :)
* use position fixed for tooltips so it renders correctly when offsets updated
* update docs
* Update src/excalidraw-app/collab/CollabWrapper.tsx
* rename avatarUrl to src
2022-05-02 15:15:24 +05:30
David Luzar
d53ac2a61e
fix: library init/import race conditions ( #5101 )
2022-04-29 16:45:02 +02:00
Aakansha Doshi
6a0f800716
feat: export exportToClipboard util from package ( #5103 )
...
* feat: export copyToClipboard from package
* use promise constructor for better browser supprt
* add type to exportToClipboard
* update docs
* use json instead of text and use selected element in actionCopy
* pass `files` in example `exportToClipboard`
* fix bad access
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-04-29 18:58:44 +05:30
Aakansha Doshi
da94eb1284
fix: use excalidraw asset path in fonts when exporting to svg ( #5065 )
...
* fix: use excalidraw asset path in fonts when exporting
* fix
* fix
* introduce env variables and determine asset path correctly
* fix snaps
* use env vars to determine pkg name and version
* update docs
* quotes
2022-04-28 20:19:41 +05:30
Achille Lacoin
af93cedc08
EXCALIDRAW_EXPORT_SOURCE_PATH -> EXCALIDRAW_EXPORT_SOURCE ( #5102 )
2022-04-27 10:49:02 +02:00
Achille Lacoin
b6a6f2d465
feat: Expose window.EXCALIDRAW_EXPORT_SOURCE
which host can use to overwrite the source field in exports ( #5095 )
...
* Expose `window.EXCALIDRAW_EXPORT_SOURCE` which host can use to overwrite the source field in exports
* Update src/packages/excalidraw/CHANGELOG.md
Co-authored-by: David Luzar <luzar.david@gmail.com>
* address review comments
* Update src/packages/excalidraw/README_NEXT.md
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
* Update src/packages/excalidraw/README_NEXT.md
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
* EXCALIDRAW_EXPORT_SOURCE -> EXCALIDRAW_EXPORT_SOURCE_PATH
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2022-04-26 13:28:39 +02:00
Achille Lacoin
3840e2f4e6
feat: embed scene support for png export in npm package ( #5047 )
...
* feat: embed scene support for png export in npm package
* move logic to the callback function
* add exportEmbedScene checkbox in package example
* update readme and changelog
* add PR link in changelog
* reverse sort changelog items
2022-04-16 16:30:11 +02:00
Aakansha Doshi
96c87f920a
build: export only named exports from the package ( #5045 )
...
* build: export only named exports from the package
* update docs
* Update src/packages/excalidraw/CHANGELOG.md
* fix lint
2022-04-15 18:12:57 +05:30
David Luzar
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
Achille Lacoin
873afdacd3
feat: create and expose serializeLibraryAsJSON ( #5009 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
2022-04-05 14:35:38 +02:00
Aakansha Doshi
2fa69ddc32
refactor: move elementLocked to activeTool.locked ( #4983 )
...
* refactor: move elementLocked to activeTool.locked
* fix
* fix snap
* update docs
* Update src/packages/excalidraw/CHANGELOG.md
* revert
* make lastActiveToolBeforeEraser required and nullable
* fix snap
2022-03-29 17:10:19 +05:30
Aakansha Doshi
127af9db23
refactor: rename elementType to activeTool and make it an object ( #4968 )
...
* refactor: rename elementType to activeTool
* update docs
* fix snap
* update activeToll to be an object and review fixes
* fix tests
* fix
2022-03-25 20:46:01 +05:30
luzpaz
c5a7723185
chore: fix various typos ( #4857 )
...
Found via `codespell -q 3 -S ./src/locales,./yarn.lock,./src/packages/excalidraw/yarn.lock -L afterall,doubleclick,originaly,reenable,whats,sur`
2022-03-02 11:37:12 +05:30
Aakansha Doshi
0896892f8a
docs: release @excalidraw/excalidraw@0.11.0 🎉 ( #4799 )
...
* docs: release @excalidraw/excalidraw@0.11.0 🎉
* Add commit link for bad commits
2022-02-17 18:52:44 +05:30
Aakansha Doshi
987526d1e5
docs: tweak documentation for release and add examples ( #4786 )
...
* docs: tweak documentation for release
* Add image in initial data
* Add image
* remove watermark and make export work
* update readme
2022-02-15 19:13:46 +05:30
Aakansha Doshi
a60860867c
build: release preview package when triggered via comment ( #4750 )
...
* build: autorelease preview on every commit during pull request
* add github workflow
* update readme
* update docs
* log changed files
* remove depth
* fetch pr head
* remove console.log
* log pr number
* pull pr number
* use pull request number in release version
* dummy
* dummy
* dummy
* fix
* dummy
* fix
* Add comment and set output as version
* dummy
* fix
* fix
* set output through js toolkit
* install
* dummy
* update
* fix
* fix
* typo
* update
* condition
* typo
* testing
* wrap conditions
* echo
* hope it works
* test
* test
* yay test again
* test updated
* remove reaction
* run if comment triggered
* fix
* fix
* Update script after testing in fork
* remove
* update changelog
* update readme
* update
* remove
* append pr number then commit hash
2022-02-14 13:54:24 +05:30
Aakansha Doshi
e4ffc9812e
docs: changelog tweaks ( #4749 )
2022-02-08 18:58:37 +05:30
David Luzar
a066317d3c
feat: add onLinkOpen
component prop ( #4694 )
...
Co-authored-by: ad1992 <aakansha1216@gmail.com>
2022-02-08 11:25:35 +01:00
rulikrulit
719ae7b72f
fix: reset unmounted state for the component ( #4682 )
...
* Reset unmounted state for the component
* update changelog
Co-authored-by: ad1992 <aakansha1216@gmail.com>
2022-02-01 16:32:22 +05:30
Aakansha Doshi
b475412199
feat: support updating library in updateScene API ( #4546 )
...
* feat: support updating library in updateScene API
* fix
* update docs
* Update src/packages/excalidraw/CHANGELOG.md
2022-01-06 21:37:33 +05:30
David Luzar
bae0e985b2
fix: prevent browser from scrolling when panning ( #4489 )
2021-12-27 14:18:11 +01:00
Aakansha Doshi
04f852a40a
build: Added example folder for testing @excalidraw/excalidraw in local ( #4488 )
...
* build: Added example folder for testing @excalidraw/excalidraw in local
* remove unnecessary files
* use scss
* update docs
* newline
* remove index
* remove yarn
* use the bundled excalidraw.development.js for better testing and font will also be available
* remove src folder from example
2021-12-27 18:01:33 +05:30
zsviczian
c76784b774
fix: Scope drag and drop events to Excalidraw container to prevent overriding the host drag and drop events ( #4445 )
...
* cross-env
* reverting lib
https://github.com/excalidraw/excalidraw/issues/4282
* Revert "reverting lib"
This reverts commit 840726806a55ac53704024619a498abf767c60cb.
* Update package.json
* Update App.tsx
* Update App.tsx
* lint
* updated changelog
* Update src/packages/excalidraw/CHANGELOG.md
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
* Update src/packages/excalidraw/CHANGELOG.md
* Move fixes above build header
* Update src/packages/excalidraw/CHANGELOG.md
* lint
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-12-22 18:55:34 +05:30
David Luzar
7db63bd397
feat: redesign toolbar & tweaks ( #4387 )
2021-12-15 15:31:44 +01:00
Aakansha Doshi
6e391728fe
build: remove file loader and migrate to asset modules webpack for font assets ( #4380 )
...
* build: use type:javascript/auto so font file assets aren't duplicated
* update changelog
* remove file loader and use asset modules
* fix
2021-12-08 15:56:25 +05:30
David Luzar
dfbfbc3f11
feat: set package build target to es2017
( #4341 )
2021-12-07 16:38:46 +01:00
David Luzar
afa7932c9b
feat: set appState.exportBackground
to true
when exporting to jpg
( #4342 )
2021-11-30 22:08:55 +01:00
David Luzar
06db702b5d
feat: support selecting multiple library items via shift
( #4306 )
2021-11-26 12:46:23 +01:00
David Luzar
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
163ad1f4c4
feat: image support ( #4011 )
...
Co-authored-by: Emil Atanasov <heitara@gmail.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-10-21 22:05:48 +02:00
Aakansha Doshi
6eecadce60
feat: export isLinearElement and getNonDeletedElements ( #4072 )
...
* feat: export isLinearElement and getNonDeletedElements
* fix
2021-10-19 14:40:48 +05:30