3211 Commits

Author SHA1 Message Date
Arnošt Pleskot
9caa05825d
feat: centered content bcg on svg export 2023-08-24 15:48:22 +02:00
Arnošt Pleskot
a76aa5f7a1
fix: preview size when maxWidthOrHeight is hit 2023-08-23 16:03:09 +02:00
Arnošt Pleskot
ae8d62f5c9
fix: proper background centering on scaled image 2023-08-23 14:05:03 +02:00
Arnošt Pleskot
7795d1aaef
feat: solid background position in roundRect fallback 2023-08-23 00:50:40 +02:00
Arnošt Pleskot
38fd4fb165
feat: center and scale solid background on top of fancyBackground 2023-08-23 00:42:31 +02:00
Arnošt Pleskot
e00764a937
feat: center content in canvas expanded to aspect ratio 2023-08-22 21:33:04 +02:00
Arnošt Pleskot
c49bf04801
feat: resize canvas to aspect ratio when exporting with fancy bcg 2023-08-22 17:59:25 +02:00
Arnošt Pleskot
4eabb8d021
test: fix selector in tests 2023-08-21 10:40:50 +02:00
Arnošt Pleskot
4c2831bb8f
test: update snapshots 2023-08-21 09:59:27 +02:00
Arnošt Pleskot
26cd98efb1
feat: correct path in SVG exports for production 2023-08-21 09:52:48 +02:00
Arnošt Pleskot
06ae04c0be
fix: correct border radius in SVG 2023-08-18 19:10:39 +02:00
Arnošt Pleskot
5ff4e0d640
fix: cleanup after rebase 2023-08-18 19:00:38 +02:00
Arnošt Pleskot
c2870a6df5
fix: upscaling behavior after change of background 2023-08-18 17:44:48 +02:00
Arnošt Pleskot
8b86ef4c60
fix: padding in preview 2023-08-18 17:44:47 +02:00
Arnošt Pleskot
f096841add
feat: show original labels in the scale radio group 2023-08-18 17:44:46 +02:00
Arnošt Pleskot
dc0744a140
feat: scale fancyBackground radius and shadow 2023-08-18 17:44:45 +02:00
Arnošt Pleskot
1f62bd8c67
fix: add missing hook dependency 2023-08-18 17:44:44 +02:00
Arnošt Pleskot
4c8cf9c91c
feat: scale up small exports with fancy background 2023-08-18 17:44:41 +02:00
Arnošt Pleskot
d27856a967
chore: use width/height instead of w/h in Dimensions type 2023-08-18 17:43:38 +02:00
Arnošt Pleskot
a216e7cce4
fix: remove unused import 2023-08-18 17:43:37 +02:00
Arnošt Pleskot
9aa83da376
feat: recover background image from appState in ImageExportDialog 2023-08-18 17:43:36 +02:00
Arnošt Pleskot
787f5d68cf
feat: dark theme export background 2023-08-18 17:43:33 +02:00
Arnošt Pleskot
baa133cbb7
feat: add dark export image backgrounds 2023-08-18 17:41:06 +02:00
Arnošt Pleskot
e8cc787edc
feat: fancyBackgrounds in svg 2023-08-18 17:41:03 +02:00
Arnošt Pleskot
94f20566d1
feat: scale padding 2023-08-18 17:38:56 +02:00
Arnošt Pleskot
d4d9ecf6c6
feat: simplify the rendering 2023-08-18 17:38:52 +02:00
Arnošt Pleskot
77e88c09b8
fix: don't open export image dialog on load 2023-08-18 17:36:22 +02:00
Arnošt Pleskot
6edcb99c89
feat: center content 2023-08-18 17:36:21 +02:00
Arnošt Pleskot
b77b7ccce1
feat: use elements dimensions for scaling 2023-08-18 17:36:20 +02:00
Arnošt Pleskot
c731bd13b6
feat: update renderConfig to move and scale content 2023-08-18 17:36:15 +02:00
Arnošt Pleskot
70c7185f32
feat: export background => fancy background 2023-08-18 17:32:31 +02:00
Arnošt Pleskot
d6515e26b9
feat: separate fancyBackground from renderScene 2023-08-18 17:32:11 +02:00
Arnošt Pleskot
3c56efb9fe
feat: hide background image select when background is not checked 2023-08-18 17:24:48 +02:00
Arnošt Pleskot
a289e36397
feat: async renderScene 2023-08-18 17:24:39 +02:00
Arnošt Pleskot
5d9d2afcb7
fix: initial state 2023-08-18 13:51:21 +02:00
Arnošt Pleskot
6e7c302974
feat: export with solid color only 2023-08-18 13:50:57 +02:00
Arnošt Pleskot
67573ba079
feat: render backgrounds with rounded corners 2023-08-18 13:48:05 +02:00
Arnošt Pleskot
f57cd7e2d5
feat: select the export bcg image and bcg color from appState 2023-08-18 13:47:11 +02:00
Arnošt Pleskot
f15417f864
feat: render svg background on export 2023-08-18 13:43:36 +02:00
Arnošt Pleskot
53b4885b0a
feat: update export dialog 2023-08-18 12:20:13 +02:00
David Luzar
8101a351db
fix: resetting deleted elements on duplication (#6906) 2023-08-18 00:28:26 +02:00
dependabot[bot]
49e9a2ab33
build(deps): bump @excalidraw/excalidraw from 0.15.2 to 0.15.3 in /dev-docs (#6896)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 13:47:32 +02:00
David Luzar
d140d1b8b3
fix: make canvas compos memoize appState on props they declare (#6897) 2023-08-17 13:39:15 +02:00
zsviczian
1bd416002c
fix: scope --color-selection retrieval to given instance (#6886)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-08-16 21:59:37 +00:00
dependabot[bot]
991f5570ce
build(deps): bump word-wrap from 1.2.3 to 1.2.5 (#6892)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:11:43 +05:30
dependabot[bot]
3cf8259e71
build(deps): bump semver from 6.3.0 to 6.3.1 in /src/packages/utils (#6755)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:38:36 +02:00
dependabot[bot]
9b727025fd
build(deps): bump semver from 6.3.0 to 6.3.1 in /src/packages/excalidraw (#6754)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:38:16 +02:00
dependabot[bot]
59b53eb9cb
build(deps): bump protobufjs from 6.11.3 to 6.11.4 (#6890)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:25:31 +02:00
David Luzar
9e0bfd178e
refactor: factor out shape generation from renderElement.ts pt 2 (#6878) 2023-08-14 13:52:25 +02:00
Rahul
c29f19a88b
perf: Limiting the suggested binding to fix performance issue (#6877) 2023-08-14 13:11:08 +02:00