a7b64f02b3
fix: remove image preview on image insertion ( #9626 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-06-10 21:31:11 +02:00
David Luzar and GitHub
51dbd4831b
refactor: make element type conversion more generic ( #9504 )
...
* feat: add `reduceToCommonValue()` & improve opacity slider
* feat: generalize and simplify type conversion cache
* refactor: change cache from atoms to Map
* feat: always attempt to reuse original fontSize when converting generic types
2025-05-10 20:06:16 +02:00
Marcel Mraz and GitHub
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 and GitHub
1913599594
refactor: remove dependency on the (static) Scene ( #9389 )
2025-04-23 13:45:08 +02:00
David Luzar and GitHub
8fb2f70414
fix: scrollbar rendering and improve dragging ( #9417 )
...
* fix: scrollbar rendering and improve dragging
* tweak offsets
2025-04-20 12:28:41 +02:00
5fc13e4309
feat: add props.renderScrollbars ( #9399 )
...
* Expose renderScrollbars to AppState
* fix: scrollbar rendering should use al renderable elements
* remove `appState.renderScrollbars`
* clean unused
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2025-04-19 21:50:44 +00:00
Marcel Mraz and GitHub
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
2025-03-26 15:24:59 +01:00
e1bb59fb8f
chore: Use isDevEnv() and isTestEnv() ( #9264 )
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu >
Co-authored-by: Mark Tolmacs <mark@lazycat.hu >
2025-03-24 19:44:00 +01:00
Marcel Mraz and GitHub
21ffaf4d76
refactor: auto ordered imports ( #9163 )
2025-03-12 15:23:31 +01:00
Márk Tolmács and GitHub
a9e2d2348b
chore: Logging and fixing extremely large scenes ( #9225 )
2025-03-05 23:06:01 +01:00
Marcel Mraz and GitHub
ecef5d12f4
chore: release @excalidraw/excalidraw@18.0.0 🎉 ( #9127 )
2025-02-28 16:49:09 +01:00
Márk Tolmács and GitHub
9e49c9254b
fix: IFrame and elbow arrow interaction fix ( #9101 )
2025-02-06 14:45:49 +01:00
Márk Tolmács and GitHub
302664e500
fix: Elbow arrow z-index binding ( #9067 )
2025-02-01 19:21:03 +01:00
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
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
d33e42e3a1
feat: add crowfoot to arrowheads ( #8942 )
...
* crowfoot many
* crowfoot one
* one or many
* add icons for crowfoot
* add crowfoot icons
* adjust arrowhead selection popover
* make options collapsible
* swap triangle and bar
* switch to radix popover
* put triangle outline in the first row
* align shadow with new design spec
* remove unused flag
* swap order
* tweak labels
* handle shift+tab
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
Co-authored-by: Jakub Królak <108676707+j-krolak@users.noreply.github.com >
2025-01-05 21:50:24 +01:00
David Luzar and GitHub
36274f1f3e
feat: cleanup svg export and move payload to <metadata> ( #8975 )
2025-01-05 16:53:05 +01:00
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
Marcel Mraz and GitHub
03028eaa8c
fix: load font faces in Safari manually ( #8693 )
2024-10-30 12:40:24 +01:00
David Luzar and GitHub
79b181bcdc
fix: restore svg image DataURL dimensions ( #8730 )
2024-10-29 22:40:24 +01:00
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
Marcel Mraz and GitHub
61623bbeba
fix: Comic Shanns issues, new fonts structure ( #8641 )
2024-10-21 00:11:53 +02:00
Marcel Mraz and GitHub
b479f3bd65
feat: add first-class support for CJK ( #8530 )
2024-10-17 20:14:17 +02:00
David Luzar and GitHub
47ee8a0094
refactor: point() -> pointFrom() to fix compiler issue ( #8578 )
2024-10-01 21:27:17 +02:00
David Luzar and GitHub
44a1c8d857
fix: svg and png frame clipping cases ( #8515 )
2024-09-18 00:20:22 +02:00
David Luzar and GitHub
fd39712ba6
fix: improve canvas search scroll behavior further ( #8491 )
2024-09-11 18:01:18 +02:00
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
ee30225062
feat: subset font glyphs for SVG export ( #8384 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-30 22:26:06 +02:00
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
David Luzar and GitHub
3cfcc7b489
feat: split gridSize from enabled state & support custom gridStep ( #8364 )
2024-08-14 14:59:14 +02:00
54491d13d4
feat: create flowcharts from a generic element using elbow arrows ( #8329 )
...
Co-authored-by: Mark Tolmacs <mark@lazycat.hu >
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-08 21:43:15 +02:00
Marcel Mraz and GitHub
84d89b9a8a
fix: throttle fractional indices validation ( #8306 )
2024-08-02 11:55:15 +02:00
15e019706d
feat: Orthogonal (elbow) arrows for diagramming ( #8299 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-08-01 18:39:03 +02:00
David Luzar and GitHub
e844580b14
feat: remove automatic frame naming ( #8302 )
2024-07-31 13:56:11 +02:00
Marcel Mraz and GitHub
5a0771ad9c
fix: load fonts for exportToCanvas ( #8298 )
2024-07-30 17:23:35 +02:00
Marcel Mraz and GitHub
230d0edc44
feat: multiple fonts fallbacks ( #8286 )
2024-07-30 10:34:40 +02:00
Marcel Mraz and GitHub
d0a380758e
feat: ability to debug the state of fractional indices ( #8235 )
2024-07-30 10:03:27 +02:00
62228e0bbb
feat: introduce font picker ( #8012 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-07-25 18:55:55 +02:00
David Luzar and GitHub
1d5b41dabb
fix: stop updating text versions on init ( #8191 )
2024-07-01 14:04:58 +02:00
David Luzar and GitHub
744b3e5d09
fix: stats state leaking & race conds ( #8177 )
2024-06-26 23:31:08 +02:00
d2f67e619f
feat: editable element stats ( #6382 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-06-12 19:49:46 +02:00
860308eb27
feat: create new text with width ( #8038 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-05-28 15:53:52 +02:00
Guillaume Grossetie and GitHub
79257a1923
fix: correctly resolve the package version ( #8016 )
...
The property name is `VITE_PKG_VERSION` (not `PKG_VERSION`)
Resolves #7984
2024-05-14 13:31:02 +05:30
David Luzar and GitHub
273ba803d9
fix: font not rendered correctly on init ( #8002 )
2024-05-10 16:37:46 +02:00
Aakansha Doshi and GitHub
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
88812e0386
feat: resize elements from the sides ( #7855 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-04-30 18:05:00 +02:00
Marcel Mraz and GitHub
530617be90
feat: multiplayer undo / redo ( #7348 )
2024-04-17 14:01:24 +02:00
cd50aa719f
feat: add system mode to the theme selector ( #7853 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-04-08 16:46:24 +02:00
32df5502ae
feat: fractional indexing ( #7359 )
...
* Introducing fractional indices as part of `element.index`
* Ensuring invalid fractional indices are always synchronized with the array order
* Simplifying reconciliation based on the fractional indices
* Moving reconciliation inside the `@excalidraw/excalidraw` package
---------
Co-authored-by: Marcel Mraz <marcel@excalidraw.com >
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com >
2024-04-04 13:51:11 +01:00
David Luzar and GitHub
068895db0e
feat: expose more collaborator status icons ( #7777 )
2024-03-18 10:20:07 +01:00