Marcel Mraz
7e41026812
refactor: export everything from @excalidraw/element, don't import from subpaths ( #9466 )
...
* Don't import from subpaths
* Fix tests, move related tests to element
2025-05-09 23:01:33 +02:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
2025-03-26 15:24:59 +01:00
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports ( #9163 )
2025-03-12 15:23:31 +01:00
Marcel Mraz
e3060dfb8f
feat: custom text metrics provider ( #9121 )
2025-02-11 14:23:08 +01:00
David Luzar
36274f1f3e
feat: cleanup svg export and move payload to <metadata> ( #8975 )
2025-01-05 16:53:05 +01:00
David Luzar
f9815b8b4f
fix: image cropping svg + compat mode ( #8710 )
...
Co-authored-by: Ryan Di <ryan.weihao.di@gmail.com >
2024-10-28 10:08:05 +01:00
Ryan Di
e957c8e9ee
feat: image cropping ( #8613 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-10-21 22:26:52 +02:00
zsviczian
caf2db934c
fix: aspect ratio of distorted images are not preserved in SVG exports ( #8061 )
2024-09-12 14:11:08 +02:00
Márk Tolmács
f4dd23fc31
chore: Unify math types, utils and functions ( #8389 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-09-02 22:23:38 +00:00
Marcel Mraz
62228e0bbb
feat: introduce font picker ( #8012 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-07-25 18:55:55 +02:00
Aakansha Doshi
1ed53b153c
build: enable consistent type imports eslint rule ( #7992 )
...
* build: enable consistent type imports eslint rule
* change to warn
* fix the warning in example and excalidraw-app
* fix packages
* enable type annotations and throw error for the rule
2024-05-08 14:21:50 +05:30
David Luzar
f59b4f6af4
fix: always make sure we render bound text above containers ( #7880 )
2024-04-12 21:50:02 +02:00
Marcel Mraz
7e471b55eb
feat: text measurements based on font metrics ( #7693 )
...
* Introduced vertical offset based on harcoded font metrics
* Unified usage of alphabetic baseline for both canvas & svg export
* Removed baseline property
* Removed font-size rounding on Safari
* Removed artificial width offset
2024-03-05 19:33:27 +00:00
Aakansha Doshi
b09b5cb5f4
fix: split renderScene so that locales aren't imported unnecessarily ( #7718 )
...
* fix: split renderScene so that locales aren't imported unnecessarily
* lint
* split export code
* rename renderScene to helpers.ts
* add helpers
* fix typo
* fixes
* move renderElementToSvg to export
* lint
* rename export to staticSvgScene
* fix
2024-02-27 10:37:44 +05:30