excalidraw/src/packages
Aakansha Doshi 37d513ad59
feat: Make library local to given excalidraw instance and allow consumer to control it (#3451)
* feat: dnt share library & attach to the excalidraw instance

* fix

* Add addToLibrary, resetLibrary and libraryItems in initialData

* remove comment

* handle errors & improve types

* remove resetLibrary and addToLibrary and add onLibraryChange prop

* set library cache to empty arrary on reset

* Add i18n for remove/add library

* Update src/locales/en.json

Co-authored-by: David Luzar <luzar.david@gmail.com>

* update docs

* Assign unique ID to
 each excalidraw component and remove csrfToken from library as its not needed

* tweaks

Co-authored-by: David Luzar <luzar.david@gmail.com>

* update

* tweak

Co-authored-by: dwelle <luzar.david@gmail.com>
2021-04-21 23:38:24 +05:30
..
excalidraw feat: Make library local to given excalidraw instance and allow consumer to control it (#3451) 2021-04-21 23:38:24 +05:30
utils chore(deps-dev): bump @babel/plugin-transform-runtime (#3434) 2021-04-20 15:55:13 +05:30
tsconfig.dev.json build: Add separate dev and prod builds and add source-maps to dev build 🎉 (#3330) 2021-03-28 13:48:26 +05:30
tsconfig.prod.json Excalidraw export (#2246) 2020-11-02 20:14:20 +01:00
utils.ts feat: Calculate width/height of canvas based on container dimensions (".excalidraw" selector) & remove props width & height (#3379) 2021-04-04 15:05:16 +05:30