3266 Commits

Author SHA1 Message Date
Arnošt Pleskot
7e7d3e0514
Revert "feat: rewrite preview to use React.Suspense"
This reverts commit cd021716f1b0a6fbf2b87427dd91e1644ab308ed.
2023-09-25 12:50:03 +02:00
Arnošt Pleskot
cd021716f1
feat: rewrite preview to use React.Suspense 2023-09-22 18:45:03 +02:00
Arnošt Pleskot
22fde9d808
feat: prevent flickering before when switching type of background 2023-09-21 21:19:40 +02:00
Arnošt Pleskot
13ea98e2e5
fix: returned initial appState, added missing constant 2023-09-21 10:18:05 +02:00
Arnošt Pleskot
8b9dd3c422
docs: couple of comments 2023-09-21 10:18:04 +02:00
Arnošt Pleskot
9f17998427
feat: content background type by constant 2023-09-21 10:18:02 +02:00
Arnošt Pleskot
f6cb510f6a
fix: take padding for logo from constant 2023-09-21 10:18:01 +02:00
Arnošt Pleskot
04295d7096
feat: move aspect ratio into constant 2023-09-21 10:17:51 +02:00
Arnošt Pleskot
5afa3fe31d
Merge branch 'master' of github.com:excalidraw/excalidraw into arnost/export-image-background 2023-09-20 10:11:45 +02:00
Arnošt Pleskot
6957398364
feat: replace multiple useState with useReduce in export dialog 2023-09-19 17:52:13 +02:00
Arnošt Pleskot
fff2b6ea19
fix: making linter happy 2023-09-19 17:51:32 +02:00
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
Arnošt Pleskot
bb847e391c
feat: reuse dropdown instead of radix select 2023-09-18 23:14:33 +02:00
Arnošt Pleskot
c578e4b640
fix: scale selector 2023-09-18 17:24:57 +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
Arnošt Pleskot
22b58e68ec
fix: disable frame clip on export with fancy bcg 2023-09-18 14:32:05 +02:00
Arnošt Pleskot
c8180308c2
fix: respect clip frame during exports 2023-09-18 14:10:09 +02:00
Arnošt Pleskot
0c4d6fbe95
fix: proper canvas size on frame export 2023-09-18 12:01:44 +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
Arnošt Pleskot
2e1da5537d
feat: use new logo 2023-09-14 23:36:54 +02:00
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
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
Arnošt Pleskot
4331be0f5b
feat: add missing param to actionExport 2023-09-11 09:23:09 +02:00
DanielJGeiger
4a9adc703a
feat: export changeProperty() and getFormValue(). (#6957) 2023-09-09 08:13:15 -05:00
Arnošt Pleskot
d80d81cc61
Merge branch 'arnost/export-image-background' of github.com:excalidraw/excalidraw into arnost/export-image-background 2023-09-08 00:20:47 +02:00
Arnošt Pleskot
47de794c44
fix: frame export with fancy background 2023-09-08 00:13:57 +02:00
Arnošt Pleskot
75cd5c20b6
fix: ImageExportDialog on mobile 2023-09-07 18:32:24 +02: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
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
134df7bfbb
fix: update size-limit so react is not installed as dependency (#6964) 2023-09-06 10:39:04 +05:30
dwelle
17de9725d0 add radius to fancy background 2023-09-05 22:58:49 +02:00
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
Arnošt Pleskot
33e031c9fa
feat: set logo via constant 2023-09-05 15:29:02 +02:00
David Luzar
27fd150a20
fix: canvas flickering due to resetting canvas on skipped frames (#6960) 2023-09-05 12:06:48 +02:00
Arnošt Pleskot
0189120f79
feat: logo in svg 2023-08-31 23:10:51 +02:00
Arnošt Pleskot
bcd239b91a
fix: export into svg without logo 2023-08-31 16:53:14 +02:00
Arnošt Pleskot
db622871f0
feat: use tmp logo 2023-08-30 15:33:28 +02:00
Arnošt Pleskot
4b5ce5283b
fix: position of background and content on y axis 2023-08-30 14:49:25 +02:00
Arnošt Pleskot
97ff1222d9
chore: unite usage of normalizedCanvasDimensions and canvasDimensions 2023-08-30 10:05:34 +02:00
Arnošt Pleskot
95baf540f2
fix: proper scaling (none) for fancyBackground in svg export 2023-08-30 09:57:23 +02:00
Arnošt Pleskot
8ac95a713b
fix: logo in dark svg 2023-08-29 23:12:32 +02:00
Arnošt Pleskot
ab9c85cd2b
feat: clean console.logs 2023-08-29 15:25:58 +02:00