e9d5b41fbf
tweaks
...
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-04-11 19:01:38 +05:30
Aakansha Doshi and GitHub
ef5614b697
Update src/packages/excalidraw/CHANGELOG.md
2021-04-11 14:26:50 +05:30
Aakansha Doshi and GitHub
cd5d9111e9
tweak docs
2021-04-11 14:20:24 +05:30
Aakansha Doshi
8467093e83
update
2021-04-11 14:16:00 +05:30
Aakansha Doshi
504ea987b0
update docs
2021-04-11 14:08:50 +05:30
Aakansha Doshi
ac08f433e9
update prop name to detectPosition
2021-04-11 13:49:40 +05:30
Aakansha Doshi
4fb906baad
disable detectPositionChange by default
2021-04-11 01:40:46 +05:30
Aakansha Doshi
bfc8415554
feat: poll to detect if position of excalidraw was updated and allow consumer to disable it
2021-04-10 03:09:56 +05:30
c19c8ecd27
feat: Add scroll listener to the nearest scrollable container and allow consumer to disable it ( #3408 )
...
* fix: Add scroll listener to the nearest scrollable container
* fix
* use loop instead of recursion
* fix
* return document
* calculate nearest scrollable container in settimeout to unblock main thread
* Add prop detectNearestScroll and clear timeout on unmount
* disable scroll listener on excal app
* update prop name to detectScroll
* update docs
* remove settimeout
* tweak docs
Co-authored-by: David Luzar <luzar.david@gmail.com >
* tweak changelog
Co-authored-by: David Luzar <luzar.david@gmail.com >
* lint
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-04-09 20:44:54 +05:30
Aakansha Doshi and GitHub
c2b40dff92
docs: changelog tweaks and add Library updates for 0.6.0 ( #3404 )
...
* docs: changelog tweaks and Library updates for 0.6.0
* update readme_next to be same as readme
2021-04-06 00:38:14 +05:30
90fd4a95df
refactor: rename setCanvasOffsets to refresh and release @excalidraw/excalidraw v0.6.0 🎉 ( #3398 )
...
* docs: Release @excalidraw/excalidraw v0.6.0
* update
* fix
* Update src/packages/excalidraw/README.md
Co-authored-by: David Luzar <luzar.david@gmail.com >
* rename setCanvasOffsets to refresh
* fix
* fix
* typo fix
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-04-04 22:05:02 +05:30
Aakansha Doshi and GitHub
c54a099010
feat: Calculate width/height of canvas based on container dimensions (".excalidraw" selector) & remove props width & height ( #3379 )
...
* Remove width/height from the ".excalidraw" container so it will sized automatically.
* updated all ref calculation to ".excalidraw" instead of parent since now ".excalidraw" will get resized
* Remove props width/height as its not needed anymore.
* Resize handler is also not needed anymore.
* Position absolute canvas due to #3379 (comment)
* move css to style and remove one extra rerendering
* factor out mock logic for test
* set height, width so as to avoid unnecessary updates of regression snap
* better mock
* better type checking and omit width,height from getDefaultAppState and also restore
* revert
* default to window dimensions in constructor
* update docs
* update
* update
* tweaks
2021-04-04 15:05:16 +05:30
edc7f7bf47
feat: calculate offsets when excalidraw container resizes ( #3374 )
...
* feat: calculate offsets when excalidraw container resizes
* fix
* rename
* update docs
* Update src/packages/excalidraw/README_NEXT.md
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-04-01 21:10:11 +05:30
Aakansha Doshi and GitHub
1310256dcc
fix: remove JSON.stringify when calculating storage as its not needed ( #3373 )
2021-04-01 11:19:31 +02:00
Aakansha Doshi and GitHub
a6706cff20
feat: export types for package @excalidraw/excalidraw 🎉 ( #3337 )
...
* feat: export types for package @excalidraw/excalidraw
* update
* remove
* Add lib in tsconfig-types and Add global.d.ts, and errors down to 39 :)
* Add declaration for scss so typescript allows scss imports, errors down to 37 :)
* Add css.d.ts, errors down to 32 yay
* set target to es6, all errors resolved yay
* move types outside dist
* update docs
* fix
2021-03-30 23:51:55 +05:30
Aakansha Doshi and GitHub
0d818f3810
feat: Add renderCustomStats prop and expose setToastMessage API via refs to update toast ( #3360 )
...
* feat: Add renderCustomStats prop to render extra stats & move storage and version to renderCustomStats
* expose Api to update toast message so single instance of toast is used
* rename to setToastMessage
* update docs
2021-03-29 20:06:34 +05:30
Aakansha Doshi and GitHub
0f5b0d1d1d
docs: revert README to last version and add README_NEXT with changes for next version ( #3355 )
2021-03-29 01:12:27 +05:30
Aakansha Doshi and GitHub
25fd275158
fix: Don't share collab types with core ( #3353 )
...
* fix: Don't share collab types with core
* fix
* remove
* fix
2021-03-28 19:26:03 +05:30
Aakansha Doshi and GitHub
3d047d57a7
build: Add separate dev and prod builds and add source-maps to dev build 🎉 ( #3330 )
...
* build: Add separate dev and prod builds and add sourcemaps to dev build
* update
* add
* update changelog
2021-03-28 13:48:26 +05:30
Aakansha Doshi and GitHub
5ffdd3f32d
docs: Readme tweaks :) ( #3319 )
...
* docs: Readme tweaks :)
* update
* fix
* Add info about collab
2021-03-25 21:38:15 +05:30
Aakansha Doshi and GitHub
77b873251a
fix: Add unique key for library header to resolve dev warnings ( #3316 )
2021-03-23 22:25:54 +05:30
Aakansha Doshi and GitHub
86bf2d697d
docs: Release @excalidraw/excalidraw@0.5.0 🎉 ( #3289 )
...
* docs: Release @excalidraw/excalidraw@0.5.0
* update changelog
* update readme
* remove styles since github strips the styles in markdown
2021-03-21 19:19:09 +05:30
7ee8de0a46
feat: set window.name in excalidraw app & also support target for excalidraw libraries ( #3299 )
...
* feat: set window.name in excalidraw app so library installation always opens on same tab & also support target for excalidraw libraries
* update changelog and readme
* Update public/index.html
Co-authored-by: David Luzar <luzar.david@gmail.com >
* use level 4 heading
* Update src/packages/excalidraw/README.md
Co-authored-by: David Luzar <luzar.david@gmail.com >
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-03-21 18:13:52 +05:30
Aakansha Doshi and GitHub
13d9374cde
fix: Don't show export and delete when library is empty ( #3288 )
2021-03-20 21:58:37 +05:30
efb6d0825b
feat: Add label for name field and use input when editable in export dialog ( #3286 )
...
* feat: Add label for name field and use input when editable in export dialog
* fix
* review fix
* dnt allow to edit file name when view mode
* Update src/components/ProjectName.tsx
Co-authored-by: David Luzar <luzar.david@gmail.com >
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-03-20 21:57:58 +05:30
Aakansha Doshi and GitHub
80a61db72f
fix: overflow in textinput in export dialog ( #3284 )
...
* fix: overflow in textinput in export dialog
* use width
2021-03-20 18:21:48 +05:30
Aakansha Doshi and GitHub
de99484a1f
feat: Expose the API to calculate offsets and remove offsetTop and offsetLeft props ( #3265 )
...
* feat: Expose the API to calculate offsets and remove offsetTop and offsetLeft props
* update
* fix tests
* fix
* update readme and changelog
* fix
* better
2021-03-20 13:00:49 +05:30
Aakansha Doshi and GitHub
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
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
Aakansha Doshi and GitHub
f1daff2437
refactor: Rename appearance to theme ( #3237 )
...
* refactor: Rename appearance to theme
* fix
* update changelog
* rename theme_dark to theme--dark
* add about migration
2021-03-13 18:58:06 +05:30
Aakansha Doshi and GitHub
47c26cd4cf
docs: release patch version 0.4.3 ( #3236 )
2021-03-13 01:29:54 +05:30
3780a155f4
fix: Apply correct translation when text editor overflows when zoom not 100% ( #3225 )
...
* fix: Apply correct translation when zoom not 100%
* fix
* fix
* Update src/element/textWysiwyg.tsx
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-03-12 02:38:50 +05:30
Aakansha Doshi and GitHub
6e629383ea
fix: Don't overflow text beyond width of Excalidraw ( #3215 )
...
* fix: Don't overflow text beyond width of Excalidraw
* update changelog
2021-03-10 01:49:32 +05:30
Aakansha Doshi and GitHub
612e71e38b
docs: Remove unreleased link as its already available ( #3212 )
2021-03-09 21:44:56 +05:30
Aakansha Doshi and GitHub
00ac804dd8
fix: Allow copy of excalidraw elements only when inside excalidraw ( #3206 )
...
* fix: Allow copy event only inside canvas
* use pointerdown
* use document.getSelection
* remove poiterdown
* remove keyTest
* update changelog
2021-03-09 11:52:28 +05:30
Aakansha Doshi and GitHub
3a0a638a0d
fix: Position text editor absolute and fix the offsets so it doesn't remain fixed when container is scrolled ( #3200 )
...
* fix: Position text editor absolute and fix the offsets so it doesn't remain fixed when container is scrolled
* update changelog
* Update src/packages/excalidraw/CHANGELOG.md
2021-03-07 21:12:10 +05:30
Aakansha Doshi and GitHub
420703ba50
fix: scope css variables so that host css vars don't clash with excalidraw ( #3199 )
...
* fix: scope css variables so that host css vars don't clash with excalidraw
* update changelog
2021-03-07 16:41:37 +05:30
Aakansha Doshi and GitHub
eb24e8ffe4
fix: Wrap excalidraw in position relative & hide scrollbars in zen mode ( #3174 )
...
* fix: wrap excalidraw in position relative so that host need not add it explicitly to fix positioning when non zero offsets
* patch version
* Hide scrollbars on excalidraw container
* remove overflow hidden from index.html since its handled in excalidraw container
* review fix
* update changelog
2021-03-06 20:11:26 +05:30
07e71a8071
fix: Reduce the scroll debounce timeout to 100ms and update only if offset changes ( #3182 )
...
* fix: Reduce the scroll debounce timeout to 100ms so offsets get updated faster when the container scrolled
fixes https://github.com/excalidraw/excalidraw/issues/3175
* update changelog
* update offsets only when if it changes
* up
* Update src/components/App.tsx
Co-authored-by: David Luzar <luzar.david@gmail.com >
2021-03-06 19:06:42 +05:30
Aakansha Doshi and GitHub
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 and GitHub
0d2f72f87e
docs(README.md): fix typo excalidrawRef -> ref ( #3170 )
2021-03-04 20:20:01 +05:30
Aakansha Doshi and GitHub
3d1cbf444d
fix: Use Array.from when spreading over set so that typescript transpiles correctly in the umd build ( #3165 )
...
* fix: Use Array.from when spreading over set so that typescript transpiles correctly in the umd build
* patch version
* fix
* update changelog
* tweak
2021-03-03 19:27:15 +05:30
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 and GitHub
fcd10a6a43
chore: use yarn for packages ( #3092 )
2021-02-22 08:41:51 +05:30
Aakansha Doshi and GitHub
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 and GitHub
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 and GitHub
9c0f832a41
fix: show user state only when passed from host ( #3050 )
2021-02-16 15:08:27 +05:30
Aakansha Doshi and GitHub
6cafb6bb90
feat: export restore API's from Excalidraw package ( #3049 )
2021-02-15 14:22:04 +01:00
Aakansha Doshi and GitHub
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 and GitHub
b5fc8757a4
fix: allow to toggle between modes when view only mode to make UI consistent ( #3009 )
2021-02-12 10:40:40 +02:00
Aakansha Doshi and GitHub
ecbd5ba55d
docs: update readme, changelog and release 0.3.0 🎉 ( #3003 )
2021-02-11 19:55:38 +05:30
Aakansha Doshi and GitHub
4fdddb518a
docs(readme): link to @excalidraw/excalidraw npm package to give more visibility ( #3002 )
2021-02-10 21:58:29 +05:30
Aakansha Doshi and GitHub
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 and GitHub
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
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 and GitHub
3e2890bd21
fix: track zenmode and grid mode usage ( #2900 )
2021-02-02 20:57:22 +05:30
675da16ca4
feat: add view mode in Excalidraw ( #2840 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2021-02-01 21:56:42 +01:00
4624ec2bd6
fix: apply initialData appState for zenmode and grid stats and refactor check param for actions ( #2871 )
...
* fix: pass default value for grid mode / zen mode so it sets the value from initialData appState
fixes #2870
* change checked from boolean to be a function which recieves appState and returns boolean
* fix
* use clsx
Co-authored-by: dwelle <luzar.david@gmail.com >
2021-01-29 23:38:37 +05:30
Aakansha Doshi and GitHub
6e9df2bae7
fix(app.tsx): show correct state of Nerd stats in context menu when nerd stats dialog closed ( #2874 )
...
fixes #2873
2021-01-29 02:21:10 +05:30
Aakansha Doshi and GitHub
6e767fc949
fix(actionmenu): toggle help dialog when "shift+?" is pressed ( #2828 )
2021-01-21 13:13:47 +02:00
Aakansha Doshi and GitHub
49bd683401
fix(analytics.ts): add safe check for process so Excalidraw can be loaded via script ( #2824 )
...
* fix(analytics.ts): add safe check for process so Excalidraw can be loaded via script
* fix
2021-01-20 21:27:33 +05:30
Aakansha Doshi and GitHub
3922ee8c11
docs: update changelog and readme and release 0.2.1 ( #2821 )
2021-01-19 17:38:04 +01:00
Aakansha Doshi and GitHub
8c2bc94336
build(webpack): bundle css files with js ( #2819 )
2021-01-19 15:29:05 +01:00
Aakansha Doshi and GitHub
68347ba476
docs(changelog): add about extra api's in changelog and separate package and library updates ( #2813 )
2021-01-17 18:48:19 +01:00
Aakansha Doshi and GitHub
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
60557df23a
ci(semantic-pr-title.yml): update version to 3.0.0 so that action doesn't run twice ( #2741 )
...
* ci(semantic-pr-title.yml): don't run this action twice
* Update semantic-pr-title.yml
Co-authored-by: Lipis <lipiridis@gmail.com >
2021-01-08 20:12:48 +05:30
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
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
Aakansha Doshi and GitHub
bfeb3c7dfd
fix(changelog-check.yml): ignore l10n_master and dependabot branches in changelog workflow ( #2594 )
2020-12-15 02:25:45 +05:30
Aakansha Doshi and GitHub
8729ab3c54
chore(package/utils): update deps ( #2593 )
2020-12-15 02:13:19 +05:30
Aakansha Doshi and GitHub
37f53bccbf
Revert the changelog check of excluding the branches ( #2590 )
...
* temp commit
* fix
* fix
* Update actionAlign.tsx
2020-12-14 22:41:00 +02:00
Aakansha Doshi and GitHub
c783763307
chore(package/excalidraw): update deps ( #2589 )
2020-12-14 19:21:22 +01:00
Aakansha Doshi and GitHub
59cff0f219
ci: Add github action to make sure changelog for @excalidraw/excalidraw is updated ( #2518 )
...
Add guidelines for changelog and group the commits
update the changelog with the latest commits since the last release
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-12-13 18:53:14 +05:30
7bfe7a1924
docs(readme.md): Update the homepage URL so it redirects to correct readme ( #2498 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-12-11 02:41:19 +05:30
Aakansha Doshi and GitHub
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
8f8fd023f8
fix(app.tsx): add safe check for readyPromise ( #2489 )
...
* fix(app.tsx): add safe check for readyPromise
* make type-safe
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-12-09 01:35:08 +05:30
Aakansha Doshi and GitHub
88fc961559
add separate entry point for fonts as its messing up the js bundle ( #2485 )
2020-12-08 18:11:44 +01:00
Aakansha Doshi and GitHub
bd8e860d7f
move all chunks inside excalidraw-assets folder when bundling ( #2484 )
2020-12-08 15:52:56 +01:00
Aakansha Doshi and GitHub
4c90ea5667
chore(package.json): set public access for npm packages ( #2463 )
2020-12-06 13:49:35 +01:00
e617ccc252
Factor out collaboration code ( #2313 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-12-05 15:30:53 +01:00
Aakansha Doshi and GitHub
084aff2bf3
fix(app.tsx): use cursorx, cursory in onGestureChange as pointers are empty ( #2424 )
2020-11-30 02:30:13 +02:00
ca60244aa3
hide fill icons when fill color transparent ( #2414 )
...
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com >
2020-11-26 21:43:38 +01:00
Aakansha Doshi and GitHub
dcedd17f57
Add bundle analyzer to webpack behind env variable ( #2330 )
2020-11-04 20:38:16 +01:00
e916d7f6f6
expose resetScene and getSceneElementsIncludingDeleted && move excalidrawApp to excalidraw-app folder ( #2272 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-10-25 15:09:57 +01:00
Aakansha Doshi and GitHub
1845b5e32c
build(webpack): apply optimization to async chunks so module is exported correctly ( #2273 )
2020-10-25 14:26:09 +01:00
499a60309f
factor reconcilation out of updateScene & remove replaceAll ( #2266 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-10-22 23:47:34 +02:00
Aakansha Doshi and GitHub
1034ec91b8
fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export ( #2264 )
2020-10-21 22:50:57 +02:00
Aakansha Doshi and GitHub
6db5647048
move broadcastScene and broadcastMouseLocation to portal ( #2262 )
2020-10-21 15:41:20 +02:00
Aakansha Doshi and GitHub
12b73aaac6
fix(app.scss): Move fonts from public to fonts directory so that it can be included in bundle as well ( #2251 )
2020-10-19 20:36:44 +03:00
Aakansha Doshi and GitHub
4a26845395
enable code splitting and add chunk names to dynamic import and create separate chunk vendor for all node modules ( #2245 )
...
* build: increase Limit chunk to enable code splitting add chunk names to dynamic import
* Remove limitchunkcount and have separate chunk for each node module so we dnt have any unnamed id.js chunks
* fix
* create one chunk for all node modules
* Add caret to peer deps
* extra space
2020-10-18 19:36:25 +02:00
63566ecb92
Expose update scene via refs ( #2217 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-10-11 18:11:26 +02:00
Aakansha Doshi and GitHub
3835fa60e4
pass named function to react.memo so in dev tools it doesn't show as anonymous ( #2216 )
...
This makes debugging easier as well
2020-10-07 23:37:19 +02:00
Aakansha Doshi and GitHub
a61b212220
scope css under name space excalidraw ( #1983 )
2020-09-25 23:18:45 +02:00
4718c31da5
Pass Additional props remove localstorage related code for storing data and username from App.tsx to index.tsx ( #2057 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-08-26 12:45:54 +02:00
20500b7822
remove shared global scene and attach it to every instance ( #1706 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-07-30 11:20:59 +02:00
7eff6893c5
calculate coords based on container viewport position ( #1955 )
...
* feat: calculate coords based on parent left and top so it renders correctly in host App
* fix text
* move offsets to state & fix bugs
* fix text jumping
* account for zoom in textWysiwyg & undo incorrect offsetting
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-07-27 13:48:49 +02:00
Aakansha Doshi and GitHub
953cd5563c
move the excalidraw props to correct file and typo fix ( #1907 )
2020-07-11 15:13:20 +02:00
01e546c230
use width,height from current appstate when initializing scene ( #1882 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-07-07 18:37:53 +02:00
Aakansha Doshi and GitHub
9351b2821c
feat: add width, height as props to App.tsx ( #1871 )
2020-07-07 17:10:39 +02:00
Aakansha Doshi and GitHub
b21f723eee
use absolute positioning instead of fixed ( #1860 )
2020-07-02 15:27:47 +02:00