1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
Commit Graph

3250 Commits

Author SHA1 Message Date
Aakansha Doshi
b1d923db3a use common utils to update and get text editor 2023-09-22 18:59:22 +05:30
Aakansha Doshi
7f6789780d Add tests 2023-09-22 18:55:48 +05:30
Aakansha Doshi
17accffee3 enable test coverage in ui 2023-09-22 18:55:29 +05:30
Aakansha Doshi
e1b0b559f5 better api 2023-09-22 11:22:39 +05:30
Aakansha Doshi
8654958aba use i18n 2023-09-21 18:18:44 +05:30
Aakansha Doshi
7c1889efc0 fix width of shapes toolbar for smaller screen size and also fix regression of mobile menu 2023-09-21 17:45:08 +05:30
Aakansha Doshi
b3e8d6bbf0 upgrade mermaid-to-excalidraw 2023-09-21 12:47:44 +05:30
Aakansha Doshi
26481fbf43 Merge remote-tracking branch 'origin/master' into aakansha-mermaid 2023-09-21 12:34:47 +05:30
David Luzar
f8b3692262
fix: more eye-droper fixes (#7019) v0.16.1 2023-09-21 09:54:03 +05:30
Aakansha Doshi
741d5f1a18
refactor: move excalidraw-app outside src (#6987)
* refactor: move excalidraw-app outside src

* move some tests to excal app and fix some

* fix tests

* fix

* port remaining tests

* fix

* update snap

* move tests inside test folder

* fix

* fix
2023-09-21 09:28:48 +05:30
Aakansha Doshi
0a588a880b
docs: release @excalidraw/excalidraw@0.16.0 🎉 (#6993) v0.16.0 2023-09-19 19:59:53 +05:30
David Luzar
3d617958cc
fix: improperly disabling UI pointer-events on canvas interaction (#7005)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-19 16:01:40 +02:00
Aakansha Doshi
99dbc0acb9
docs: Add docs for Excalidraw Element Skeleton (#6879)
* docs: Add docs for Excalidraw Element Skeleton

* fix

* upgrade package

* tweaks

* fix

* tweak

* Update dev-docs/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton.mdx

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

* fix

---------

Co-authored-by: David Luzar <luzar.david@gmail.com>
2023-09-19 18:28:53 +05:30
David Luzar
4b11f43117
feat: zen-mode/go-to-plus button style tweaks (#7006) 2023-09-19 14:20:59 +02:00
zsviczian
e3f4f567b8
feat: holding down CMD/CTRL will disable snap to grid when grid is active (#6983)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-18 17:10:28 +02:00
Alex Kim
eb020d0410
fix: generic element's labels not flipping with them (#6967) 2023-09-17 13:26:02 +02:00
David Luzar
c1952fd6cc
fix: several eyeDropper fixes (#7002) 2023-09-17 13:24:50 +02:00
Igor Berlenko
1f94f204dd
fix: isBindableElement to affirm frames (#6900)
fix isBindableElement to affirm frames
2023-09-15 16:15:06 -05:00
David Luzar
a34216f9fc
docs: new Sidebar API (#6976)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-15 13:03:23 +00:00
David Luzar
c9efb12e5b
fix: use device.isMobile for sidebar trigger label breakpoint (#6994) 2023-09-15 12:08:51 +00:00
Aakansha Doshi
b7a4dfb6ef use stable version of mermaid-to-excalidraw 2023-09-13 21:09:19 +05:30
Aakansha Doshi
8a153b822a Merge remote-tracking branch 'origin/master' into aakansha-mermaid 2023-09-13 21:08:50 +05:30
Aakansha Doshi
d73cd14dfb
docs: add mermaid docs (#6971)
* docs: add mermaid docs

* fix link

* add development.mdx

* add codebase

* add parseEdge

* add subgraph

* convertors

* tweaks

* structure the codebase

* add docs for new diagram type

* decouple docs for flowchart parser

* fix broken links

* use diagram instead of chart

* revert package.json

* tweaks

* point root folder of mermaid-to-excalidraw to installation

* remove installation from sidebar children

* fix link

* update flowchart parser diagram

* update parser overview diagram

* update more diagrams

* remove note about change in element stroke

* update diagram

* increase size limit for excalidraw production bundle

* tweaks

* add link

* move codebase after introduction

* dummy

---------

Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-13 21:01:34 +05:30
Aakansha Doshi
57da3768b1 upgrade mermaid-to-excalidraw 2023-09-13 20:12:11 +05:30
David Luzar
6abf194281
fix: export to plus url (#6980) 2023-09-11 21:13:16 +00:00
David Luzar
5302490372
feat: update logo (#6979) 2023-09-11 17:47:41 +02:00
DanielJGeiger
4a9adc703a
feat: export changeProperty() and getFormValue(). (#6957) 2023-09-09 08:13:15 -05:00
Rajnikant dash
56c21529db
docs: Adding the json Schema to the documentation (#6817)
Co-authored-by: Rajni2002 <rajnikant.dash@everlytics.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-07 12:43:37 +02:00
Aakansha Doshi
db163ab89c use types from mermaid-to-excalidraw 2023-09-07 13:40:06 +05:30
Aakansha Doshi
3593cf6a14 upgrade mermaid-to-excalidraw to fix firefox issue 2023-09-07 12:02:33 +05:30
Marcel Mraz
a13aed92f2
fix: z-index inconsistencies during addition / deletion in frames (#6914)
Co-authored-by: Marcel Mraz <marcel.mraz@adacta-fintech.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-06 22:41:44 +00:00
Aakansha Doshi
ce6a9986e3 don't pass appState in deps as its not used 2023-09-06 19:43:02 +05:30
Aakansha Doshi
c95369ace8 upgrade mermaid-to-excalidraw 2023-09-06 11:23:07 +05:30
Aakansha Doshi
134df7bfbb
fix: update size-limit so react is not installed as dependency (#6964) 2023-09-06 10:39:04 +05:30
Alex Kim
5191cdbe26
fix: stale labeled arrow bounds cache after editing the label (#6893)
* fix stale labeled arrow bounds cache after editing the label

* add arrow bounds test

* fix test to check the arrow version

* fix

* fix test - remove unused import

* Update src/element/textWysiwyg.test.tsx

---------

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-05 21:20:27 +05:30
David Luzar
27fd150a20
fix: canvas flickering due to resetting canvas on skipped frames (#6960) 2023-09-05 12:06:48 +02:00
Aakansha Doshi
a8283b27c5 width auto 2023-09-05 11:25:46 +05:30
Aakansha Doshi
3ea7c7ffa0 fix mobile css 2023-09-05 11:01:19 +05:30
Aakansha Doshi
beb2ceaa72 fix: show extra tools dropdown in mobile 2023-09-05 10:32:51 +05:30
Aakansha Doshi
0d49eb3e05 make design responsive 2023-09-04 13:59:47 +05:30
Aakansha Doshi
de0f35454a remove only 2023-09-04 13:22:06 +05:30
Aakansha Doshi
d393a1c048 Merge remote-tracking branch 'origin/master' into aakansha-mermaid 2023-09-04 13:15:24 +05:30
Aakansha Doshi
23fa44cf5e fix tests 2023-09-04 13:09:35 +05:30
Aakansha Doshi
9d22e84fc8 tweak text 2023-09-04 10:42:05 +05:30
Aakansha Doshi
aa6b585b96 defer rendering the preview 2023-09-04 09:05:22 +05:30
Aakansha Doshi
06389f96b9 fix: Update start/end points by 0.5 so bindings don't overlap with start/end bound element coordinates. 2023-09-04 08:49:50 +05:30
dwelle
9b1c88eed9 fix elements insert position and viewport centering 2023-09-01 14:49:26 +02:00
Aakansha Doshi
d070760b2f fix arrow bindings in safari and firefox 2023-08-31 21:05:44 +05:30
Aakansha Doshi
acd6db5304 make opts optional and use 100% zoom when inserting to canvas 2023-08-31 13:34:28 +05:30
Aakansha Doshi
d203794f70 add option to transform viewport to scene coords in transform api 2023-08-31 11:08:10 +05:30