psmyrdek
4c3516a5b9
feat: updates to test
2025-03-16 10:15:43 +01:00
Mark Tolmacs
045dc9cc3e
Extend tests
2025-03-15 20:06:53 +01:00
psmyrdek
f23a26b5b2
fix: regressions
2025-03-15 14:19:33 +01:00
psmyrdek
56e044fcc9
fix: arrow restoration during undo/redo
2025-03-15 12:47:29 +01:00
Márk Tolmács
30983d801a
fix: Arrow conversion regression ( #9241 )
...
Tests / test (push) Successful in 4m43s
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-15 12:31:25 +01:00
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports ( #9163 )
Tests / test (push) Successful in 4m38s
2025-03-12 15:23:31 +01:00
Márk Tolmács
d587b8a3de
fix: Do not rebind undragged elbow arrow endpoint ( #9191 )
2025-03-10 16:25:33 +01:00
Ritobroto Kalita
c5d3bb0b6a
fix : #8475 Arrow updated on both sides ( #8593 )
2025-03-04 17:24:39 +01:00
Marcel Mraz
ecef5d12f4
chore: release @excalidraw/excalidraw@18.0.0 🎉 ( #9127 )
2025-02-28 16:49:09 +01:00
Márk Tolmács
0ffeaeaecf
feat: Remove GA code from binding ( #9042 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-02-25 22:52:06 +01:00
David Luzar
31e8476c78
chore: upgrade to react@19 ( #9182 )
2025-02-25 19:18:42 +01:00
Marcel Mraz
e3060dfb8f
feat: custom text metrics provider ( #9121 )
2025-02-11 14:23:08 +01:00
David Luzar
424e94a403
fix: duplicating/removing frame while children selected ( #9079 )
2025-02-04 19:23:47 +01:00
Saikat Das
bd1590fc74
feat: implement custom Range component for opacity control ( #9009 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-01-29 21:46:40 +00:00
David Luzar
a3e1619635
fix: hyperlinks html entities ( #9063 )
2025-01-29 19:02:54 +01:00
Ryan Di
52eaf64591
feat: box select frame & children to allow resizing at the same time ( #9031 )
...
* box select frame & children
* avoid selecting children twice to avoid double their moving
* do not show ele stats if frame and children selected together
* do not update frame membership if selected together
* do not group frame and its children
* comment and refactor code
* hide align altogether
* include frame children when selecting all
* simplify
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-01-28 22:10:16 +01:00
Márk Tolmács
49f1276ef2
fix: Undo for elbow arrows create incorrect routing ( #9046 )
2025-01-24 20:18:08 +01:00
Márk Tolmács
91ebf8b0ea
feat: Elbow arrow segment fixing & positioning ( #8952 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
2025-01-17 18:07:03 +01:00
David Luzar
ae6bee3403
feat: do not delete frame children on frame delete ( #9011 )
2025-01-14 21:08:25 +01:00
David Luzar
46f42ef8d7
fix: arrow binding behaving unexpectedly on pointerup ( #9010 )
...
* fix: arrow binding behaving unexpectedly on pointerup
* update snaps
2025-01-14 19:36:47 +01:00
Ryan Di
00b5b0a0ca
feat: add action to wrap selected items in a frame ( #9005 )
...
* feat: add action to wrap selected items in a frame
* fix type
* select frame on wrap & refactor
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-01-13 15:03:56 +00:00
David Luzar
b63689c230
feat: make HTML attribute sanitization stricter ( #8977 )
...
* feat: make HTML attribute sanitization stricter
* fix double escape
2025-01-05 21:45:04 +01:00
David Luzar
36274f1f3e
feat: cleanup svg export and move payload to <metadata>
( #8975 )
2025-01-05 16:53:05 +01:00
Ryan Di
107eae3916
refactor: separate resizing logic from pointer ( #8155 )
...
* separate resizing logic for a single element
* replace resize logic in stats
* do not recompute width and height from points when they're already given
* correctly update linear elements' position when resized
* update snapshots
* lint
* simplify linear resizing logic
* fix initial scale for aspect ratio
* update tests for linear elements
* test typo
* separate pointer from resizing for multiple elements
* lint and simplify
* fix tests
* lint
* provide scene in param instead
* type
* refactor code
* fix floating in tests
* remove restrictions/checks on width & height
* update pointer to dimension to prevent regression
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-12-23 11:10:35 +01:00
Ryan Di
1e3399eac8
fix: make arrow binding area adapt to zoom levels ( #8927 )
...
* make binding area adapt to zoom
* revert stroke color
* normalize binding gap
* reduce normalized gap
2024-12-22 22:55:50 +01:00
Ryan Di
d99e4a23ca
feat: use stats panel to crop ( #8848 )
...
* feat: use stats panel to crop
* fix: test flake
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-12-17 13:15:30 +01:00
Ryan Di
c0b80a03bd
feat: in canvas links between shapes ( #8812 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-11-26 18:53:25 +01:00
David Luzar
a758aaf8f6
fix: update old blog links & add canonical url ( #8846 )
2024-11-26 17:42:25 +01:00
Márk Tolmács
2db5bbcb29
fix: Unify binding update options for updateBoundElements()
( #8832 )
...
Fix insonsistent naming for option newSize/oldSize for updateBoundElements()
2024-11-20 11:46:45 +01:00
Marcel Mraz
70e0e8dc29
fix: text pushes UI due to padding ( #8745 )
2024-11-01 23:43:48 +02:00
Marcel Mraz
2734e646ca
chore: simplify line-break regexes, separate text wrapping ( #8715 )
2024-10-30 14:24:12 +01:00
David Luzar
79b181bcdc
fix: restore svg image DataURL dimensions ( #8730 )
2024-10-29 22:40:24 +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
David Luzar
4cedf3d966
feat: do not strip unknown element properties on restore ( #8682 )
2024-10-21 22:56:22 +02: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
Marcel Mraz
61623bbeba
fix: Comic Shanns issues, new fonts structure ( #8641 )
2024-10-21 00:11:53 +02:00
David Luzar
15ca182333
fix: remove export-to-clip-as-svg shortcut for now ( #8660 )
2024-10-17 20:47:05 +02:00
Marcel Mraz
b479f3bd65
feat: add first-class support for CJK ( #8530 )
2024-10-17 20:14:17 +02:00
David Luzar
47ee8a0094
refactor: point()
-> pointFrom()
to fix compiler issue ( #8578 )
2024-10-01 21:27:17 +02:00
Marcel Mraz
a80cb5896a
feat: self-hosting existing google fonts ( #8540 )
2024-09-24 17:30:21 +02:00
David Luzar
8ca4cf3260
feat: flip arrowheads if only arrow(s) selected ( #8525 )
...
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-19 15:46:36 +02:00
Márk Tolmács
f3f0ab7c83
fix: Elbow arrow fixedpoint flipping now properly flips on inverted resize and flip action ( #8324 )
...
* Flipping action now properly mirrors selections with elbow arrows
* Flipping action now re-centers the selection to the original center to avoid "walking" selections on repeated flipping
2024-09-19 08:47:23 +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
David Luzar
813f9b702e
feat: merge search sidebar back to default sidebar ( #8497 )
2024-09-11 19:26:01 +02:00
David Luzar
d107215564
fix: select
instead of focus
search input ( #8483 )
2024-09-09 19:57:22 +02:00
Ryan Di
6959a363f0
feat: canvas search ( #8438 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-09-09 17:12:07 +02:00
Aakansha Doshi
6ff56c36e3
fix: add partial mocking ( #8473 )
...
* fix: add partial mocking
* lint
* Update packages/utils/export.test.ts
2024-09-06 16:41:37 +05:30
Aakansha Doshi
51ea184938
build: upgrade vite to 5.4.x, vitest to 2.x and related vite packages ( #8459 )
...
* build: upgrade vite to 5.x, vitest to 2.x and related vite packages
* upgrade vitest-ui and coverage
* pass empty set to fix type error and update snap
* set ignoreEmptyLines to false
* update threshold
* update coverage threshold
* downgrade vite-plugin-pwa as its better to push separately with testing
* add package resolutions for strip-ansi, string-width and wrap-ansi
* disable pwa
* only add resolution for strip-ansi
2024-09-05 18:35:36 +05:30
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
Ryan Di
5e1ff7cafe
perf: improve new element drawing ( #8340 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-08-23 20:27:57 +02:00