Aakansha Doshi
052b73d95b
refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively ( #3261 )
...
* refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively
* fix
* update changelog/readme
* fix
2021-03-16 23:02:17 +05:30
Aakansha Doshi
edc62c550a
feat: Export API's to export the drawing to canvas, svg and blob ( #3258 )
...
* feat: Export utilities from package/utils
* update
* fix
* collapsible
* Update README.md
* update change
* update
* fix
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com >
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com >
* update
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-03-16 22:21:56 +05:30
Jeremy Press
84a1863233
feat: Add theme prop ( #3228 )
...
* support appearance when updating scene data
* works!
* whoops, missed a prop
* hide appearance button when prop is not set
* cleanup
* fix export + rename prop to theme
* rename to showThemeBtn, hide via react instead of css
* adapt to new state name
* add tests and css selector to target the dark mode toggle
* updated changelog and readme
* fix markdown rendering in readme
* pr feedback
2021-03-16 00:03:46 +05:30
David Luzar
91c8b6ecbf
feat: support libraryReturnUrl when installing libraries ( #3227 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
2021-03-13 12:35:35 +01:00
Aakansha Doshi
612e71e38b
docs: Remove unreleased link as its already available ( #3212 )
2021-03-09 21:44:56 +05:30
Aakansha Doshi
ef792ad906
docs: update readme with codesandbox example when excalidraw embeded via script tag ( #3171 )
...
* docs(README.md): update codesandbox example when excalidraw embeded via script tag
* up
2021-03-05 18:02:21 +05:30
Aakansha Doshi
0d2f72f87e
docs(README.md): fix typo excalidrawRef -> ref ( #3170 )
2021-03-04 20:20:01 +05:30
Aakansha Doshi
464c2cc05e
docs: minor readme/changelog changes ( #3098 )
...
* docs: minor readme/changelog changes
* Update src/packages/excalidraw/README.md
* Update src/packages/excalidraw/README.md
* fix
* Update src/packages/excalidraw/README.md
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-02-23 01:55:26 +05:30
Aakansha Doshi
3bc18f6aed
feat: expose variable window.EXCALIDRAW_ASSET_PATH to allow host define the path for excalidraw assets ( #3068 )
...
* feat: expose variable window.EXCALIDRAW_ASSET_PATH to allow host define the path for excalidraw assets
No more __webpack_public_path__ needed explicitly in host and it will default to unpkg cdn if window.EXCALIDRAW_ASSET_PATH is not defined
* fix
* add public path
* add public path
* assign only when env not test
* read from package.json
* Append content hash to excalidraw-assets so cache bursting happens when version update
* update changelog and readme
* update
2021-02-21 21:08:30 +05:30
Aakansha Doshi
7c5481b877
feat: Add support for scrollToCenter in initialData so host can control whether to scroll to center on mount ( #3070 )
...
* feat: Add support for scrollToCenter in initialData so host can control whether to scroll to center on mount
* fix
* update changelog and readme
* fix
* Scroll to center only for collab and shareable links in excalidraw app
* fix test
* update readme
* Update src/packages/excalidraw/README.md
2021-02-21 19:01:34 +05:30
Aakansha Doshi
6cafb6bb90
feat: export restore API's from Excalidraw package ( #3049 )
2021-02-15 14:22:04 +01:00
Aakansha Doshi
830fb64a25
fix: Support Excalidraw inside scrollable container ( #3018 )
...
* refactor: remove position fixed from excalidraw container, modal and stats
* remove unused css
* remove position fixed from toast and scroll to content
* Make excal interactable by fixing offsets and set popover as fixed since position needs to be calculate from viewport top
* Assign 200px less than height of Excalidraw to the selected shapes actions o UI doesn't overflow
* update changelog, readme and package.json
2021-02-14 18:18:34 +05:30
Aakansha Doshi
ecbd5ba55d
docs: update readme, changelog and release 0.3.0 🎉 ( #3003 )
2021-02-11 19:55:38 +05:30
Aakansha Doshi
0b2e4dd60b
build(webpack): remove publicPath so __webpack_public_path__ can be used to host assets ( #2835 )
...
* build(webpack): remove publicPath so __webpack_public_path__ can be use to host assets
* update readme and changelog
* fix
* revert version so its released in v3
2021-02-10 21:49:16 +05:30
Aakansha Doshi
e63a0ec5be
feat: allow host to pass color for collaborators ( #2943 )
...
* feat: allow host to pass color for collaborators
* remove user prop as its not used anywhere
* update changelog and readme
* add pr link
2021-02-06 23:33:52 +05:30
Aakansha Doshi
066560311b
feat: add props zenModeEnabled and gridModeEnabled so host can control completely ( #2901 )
...
* feat: add props zenModeEnabled and gridModeEnabled so host can control completely
* dnt show exit zenmode button when prop present
* fix
* update when props change
* Add tests
* Add tests
* update changelog and readme
* update
* Update src/tests/excalidrawPackage.test.tsx
* Update src/packages/excalidraw/README.md
Co-authored-by: Lipis <lipiridis@gmail.com >
* Update src/packages/excalidraw/README.md
Co-authored-by: David Luzar <luzar.david@gmail.com >
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com >
* fix specs
Co-authored-by: Lipis <lipiridis@gmail.com >
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-02-06 21:22:28 +05:30
Aakansha Doshi
675da16ca4
feat: add view mode in Excalidraw ( #2840 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2021-02-01 21:56:42 +01:00
David Luzar
0a0be839b9
refactor: rewrite collabWrapper to remove TDZs and simplify ( #2834 )
2021-01-25 10:47:35 +01:00
Aakansha Doshi
3922ee8c11
docs: update changelog and readme and release 0.2.1 ( #2821 )
2021-01-19 17:38:04 +01:00
Aakansha Doshi
ee703206b0
docs: update changelog and release 0.2.0 ( #2725 )
...
* docs(changelog): update changelog and release 0.2.0
* fix
* Add missing API's
* update
* fix
* fix
* Apply suggestions from code review
* remove
* fix
* fix
2021-01-16 22:20:46 +05:30
Carl Sverre
a13c4f72f5
docs: adding PR guidelines for contributors ( #2736 )
2021-01-06 22:53:12 +02:00
Aakansha Doshi
cdffed285d
fix(readme): fix typo for initialData and point all links to master ( #2707 )
...
* fix(readme): fix typo for initialData
* Update src/packages/excalidraw/README.md
* fix lint
* Update src/packages/excalidraw/README.md
* point all links to master
Co-authored-by: Lipis <lipiridis@gmail.com >
2021-01-06 00:00:18 +05:30
Aakansha Doshi
ade2565f49
feat: add langCode and renderFooter props ( #2644 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com >
Co-authored-by: dwelle <luzar.david@gmail.com >
2021-01-03 21:51:52 +01:00
David Luzar
34dcf998bd
docs: excalidraw package usage example tweaks ( #2608 )
...
Co-authored-by: Aakansha Doshi <monstershome@gmail.com >
2020-12-20 16:04:12 +01:00
Aakansha Doshi
325d1bec91
feat: Add onExportToBackend prop so host can handle it ( #2612 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-12-20 15:14:04 +01:00
David Luzar
98c26642d0
fix: hide collab button when onCollabButtonClick not supplied ( #2598 )
2020-12-15 16:21:14 +01:00
Aakansha Doshi
48e27f327f
Final steps before the release of @excalidraw/excalidraw ( #2464 )
...
* docs(packages/excalidraw): add read me
* Add changelog and update version
2020-12-10 22:09:45 +05:30