Aakansha Doshi
15d79f8fee
chore: upgrade to React 18 ( #5450 )
...
* chore: upgrade to React 18
* better type
* use React.FC to fix type
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-07-22 11:20:36 +05:30
David Luzar
a7937681e9
fix: account for safe area for floating buttons on mobile ( #5420 )
2022-07-19 15:44:14 +02:00
Aakansha Doshi
df14c69977
refactor: don't pass zenModeEnable, viewModeEnabled and toggleZenMode props to LayerUI ( #5444 )
...
refactor: don't pass zenModeEnabled and viewModeEnabled props to LayerUI
2022-07-14 16:13:10 +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
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
Aakansha Doshi
558227f744
feat: update eraser cursor ( #4922 )
...
* feat: update eraser cursor
* fix dark theme
* check before adding active class
* use custom cursor instead of DOM manipulation
* cache canvas and redraw only when theme changes
* use oc colors
* remove
* cache preview data url
* increase linwidth
* update coords for cursor
* add white 2px outline
* improvements
* use 1px line width 6px radius for outer
* improve
2022-03-15 20:56:39 +05:30
Aakansha Doshi
7daf1a7944
feat: Add Eraser 🎉 ( #4887 )
...
* feat: Add Eraser 🎉
* Eraser working
* remove unused state
* fix
* toggle eraser
* Support deselect with Alt/Option
* rename actionDelete -> actionErase
* Add util isEraserActive
* show eraser in mobile
* render eraser conditionally in mobile
* use selection if eraser in local storage state
* Add sampling to erase accurately
* use pointerDownState
* set eraser to false in AllowedExcalidrawElementTypes
* rename/reword fixes
* don't use updateScene
* handle bound text when erasing
* fix hover state in mobile
* consider all hitElements instead of a single
* code improvements
* revert to select if eraser active and elements selected
* show eraser in zenmode
* erase element when clicked on element while eraser active
* set groupIds to empty when eraser active
* fix test
* remove dragged distance
2022-03-11 19:53:42 +05:30
zsviczian
4486fbc2c6
feat: Added penMode for palm rejection ( #4657 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-02-02 14:31:38 +01:00
David Luzar
7db63bd397
feat: redesign toolbar & tweaks ( #4387 )
2021-12-15 15:31:44 +01:00
David Luzar
3369035f40
feat: add hint around canvas panning ( #4159 )
2021-11-01 13:36:06 +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
c6ffc06541
feat: support renderTopRightUI in mobile ( #4065 )
2021-10-17 21:44:46 +05:30
David Luzar
99623334d1
feat: add undo/redo buttons & tweak footer ( #3832 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-07-15 18:48:03 +02:00
David Luzar
6690215cd1
feat: change library icon to be more clear ( #3583 )
2021-06-11 23:13:05 +02:00
David Luzar
790c9fd02e
feat: exporting redesign ( #3613 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-05-25 21:37:14 +02:00
Aakansha Doshi
6271a031a3
fix: move encrypted icon to excalidraw-app add separate animation for renderFooter
prop ( #3577 )
...
* fix: move encrypted icon to excalidraw-app
* use grid & separate animation for custom footer
* update docs
* fix
2021-05-15 14:49:58 +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
c77c9ce65a
fix: cursor being leaked outside of canvas ( #3161 )
2021-03-03 14:04:02 +01:00
David Luzar
00209ef9c3
fix: hide collaborator list on mobile if empty ( #2938 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
2021-02-05 15:45:44 +01:00
David Luzar
1e17c1967b
fix: toolbar unnecessarily eats too much width ( #2924 )
2021-02-04 16:52:16 +01:00
David Luzar
6c81a32d62
fix: text editor not visible in dark mode ( #2920 )
2021-02-04 16:21:48 +01:00
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
Lipis
3aa01ad272
chore: Remove tracking ( #2722 )
...
* chore: Remove tracking
* process
* rename
* remove
* prod
* Update public/index.html
Co-authored-by: David Luzar <luzar.david@gmail.com>
* Update public/index.html
* eol
* more
* stats
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-01-05 19:06:14 +01:00
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
Lipis
022f349dc6
feat: Add line chart and paste dialog selection ( #2670 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2020-12-27 18:26:30 +02:00
David Luzar
ae15380a9f
hide stats and scrollToContent-button when mobile menus open ( #2509 )
2020-12-11 23:12:36 +02:00
Steve Ruiz
c742225f43
More Arrowheads: dot, bar ( #2486 )
...
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-12-11 18:17:28 +01:00
Aakansha Doshi
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
Lipis
668150a667
More events for layers, align, colors and swap name <=> category ( #2442 )
2020-12-03 15:10:04 +02:00
David Luzar
538f2be097
add export error handling ( #2243 )
2020-10-16 11:53:40 +02:00
David Luzar
47dba05c91
System clipboard ( #2117 )
2020-09-04 14:58:32 +02:00
Michal Srb
c0dd870c6e
Dark mode ( #2006 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-08-13 13:35:31 +02:00
Mohammed Salman
cf36cb394b
Library improvements ( #1925 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-07-19 23:12:56 +02:00
Pete Hunt
6428b59ccb
Library MVP ( #1787 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-07-10 11:20:23 +02:00
Kostas Bariotis
0a3fb70ec7
Dynamicaly import locales ( #1793 )
...
* dynamicly import locales
* fix tests
* reformat languages
2020-06-27 12:02:54 +01:00
Oliver Benns
ca87ca6fe9
Add user list component + snap to user functionality ( #1749 )
2020-06-19 12:36:49 +02:00
Thomas Steiner
5d3867d8ac
Implement Save without re-prompt and Save as ( #1709 )
...
* Implement Save without re-prompt and Save as
Fixes #1668
* Add save-as icon
* Make .excalidraw the default extension
* Only show save as button on supporting browsers
2020-06-12 18:35:04 +02:00
Aakansha Doshi
fa359034c5
scroll the closest element to center ( #1670 )
...
Co-authored-by: Sanghyeon Lee <yongdamsh@gmail.com>
2020-05-30 14:02:32 +02:00
Lipis
c427aa3cce
Prefer arrow functions and callbacks ( #1210 )
2020-05-20 15:21:37 +02:00
Kostas Bariotis
7b3816d0d3
Store username for every room ( #1381 )
...
* store username for every room
* add missing fun
2020-04-11 19:13:10 +03:00
Pete Hunt
df0613d8ac
Add NonDeleted<ExcalidrawElement> ( #1068 )
...
* add NonDeleted
* make test:all script run tests without prompt
* rename helper
* replace with helper
* make element contructors return nonDeleted elements
* cache filtered elements where appliacable for better perf
* rename manager element getter
* remove unnecessary assertion
* fix test
* make element types in resizeElement into nonDeleted
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-04-08 18:49:52 +02:00
Kostas Bariotis
67805bc7a7
Add collaborators names ( #1223 )
...
* add random usernames
* add username state
* add username input
* ability to set names
* fix tests
* set username oon mobile
* remove auto generated names
* remove commented code
* always string
* updaate snapshots
* maintain username when clearing canvas
* Update src/renderer/renderScene.ts
Co-Authored-By: Lipis <lipiridis@gmail.com>
* add border
* fix styles
Co-authored-by: Pete Hunt <petehunt@users.noreply.github.com>
Co-authored-by: Faustino Kialungila <faustino.kialungila@gmail.com>
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-04-07 14:02:42 +01:00
Sanghyeon Lee
634410ad48
Modify action buttons visibility for desktop ( #1156 )
2020-04-02 09:52:24 +02:00
Sanghyeon Lee
86d0da5204
Add duplicate button for mobile view ( #1146 )
...
* Add a icon for dulplication
* Add PanelComponent for duplication
* Add duplicate button for mobile
* Add styles for layout action buttons
* Add a translation for 'Actions'
* Show left action buttons only for desktop
* Add duplicate button at the bottom of mobile
It is provided depending on whether or not it is `multiElement` to maintain space between buttons.
2020-04-01 18:13:53 +03:00
David Luzar
cac2dda5ac
Add loading state ( #1027 )
...
* add loading state
* update snapshots
* add border radius
* fix comment breaking build jsx
2020-03-26 18:28:26 +01:00
Sanghyeon Lee
104e48b6cb
Add the shape lock button for mobile ( #1054 )
2020-03-24 12:51:49 +02:00
dependabot-preview[bot]
722c498abe
Bump prettier from 1.19.1 to 2.0.1 ( #1060 )
...
* Bump prettier from 1.19.1 to 2.0.1
Bumps [prettier](https://github.com/prettier/prettier ) from 1.19.1 to 2.0.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update formatting
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
2020-03-23 13:05:07 +02:00