David Luzar
83fac6d0db
feat: tweak stats panel input styles ( #9321 )
2025-03-30 19:00:31 +02:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
Auto release excalidraw next / Auto-release-excalidraw-next (push) Failing after 2m36s
Build Docker image / build-docker (push) Failing after 6s
Cancel previous runs / cancel (push) Failing after 1s
Publish Docker / publish-docker (push) Failing after 31s
New Sentry production release / sentry (push) Failing after 2m3s
2025-03-26 15:24:59 +01:00
Mursaleen Nisar
e1bb59fb8f
chore: Use isDevEnv() and isTestEnv() ( #9264 )
...
Tests / test (push) Successful in 4m50s
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-24 19:44:00 +01:00
Márk Tolmács
77aca48c84
fix: Refactor and merge duplication and binding ( #9246 )
Tests / test (push) Successful in 4m52s
2025-03-23 18:39:33 +01:00
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports ( #9163 )
Tests / test (push) Successful in 4m38s
2025-03-12 15:23:31 +01:00
Marcel Mraz
69bc5bdaab
chore: post publish docs & examples changes ( #9217 )
2025-03-11 13:02:59 +01:00
Márk Tolmács
a9e2d2348b
chore: Logging and fixing extremely large scenes ( #9225 )
2025-03-05 23:06:01 +01:00
David Luzar
d1112bbf4f
fix: docked sidebar width ( #9213 )
2025-03-02 18:24:20 +01:00
Márk Tolmács
2523624f15
fix: React 18 element.ref was accessed error ( #9208 )
...
Bump @radix-ui/react-popover to fix element.ref React 19 error
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-02 14:24:50 +01:00
Marcel Mraz
ecef5d12f4
chore: release @excalidraw/excalidraw@18.0.0 🎉 ( #9127 )
2025-02-28 16:49:09 +01:00
David Luzar
31e8476c78
chore: upgrade to react@19 ( #9182 )
2025-02-25 19:18:42 +01:00
Abhinav Pant
9ee0b8ffcb
Enhancement: grouped together Undo and Redo buttons on mobile ( #9109 )
...
* bugfix: put the redo and undo button under the same div so that they look grouped together
* fixed the position of the redo and undo buttons to the right
2025-02-13 13:07:44 +00:00
Marcel Mraz
e3060dfb8f
feat: custom text metrics provider ( #9121 )
2025-02-11 14:23:08 +01:00
David Luzar
c8f4a4cb41
feat: add props.onDuplicate
( #9117 )
...
* feat: add `props.onDuplicate`
* docs
* clarify docs
* fix docs
2025-02-10 14:20:18 +00:00
David Luzar
b0c8c5f7a7
feat: change empty arrowhead icon ( #9100 )
2025-02-06 10:52:03 +01:00
tothatt81
4f64372506
perf: Improved pointer events related performance when the sidebar is docked with a large library open ( #9086 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-02-04 22:05:56 +01:00
Márk Tolmács
302664e500
fix: Elbow arrow z-index binding ( #9067 )
2025-02-01 19:21:03 +01:00
David Luzar
86c67bd37f
fix: library item checkbox style regression ( #9080 )
2025-02-01 12:27:41 +01:00
David Luzar
511433988c
feat: tweak slider colors to be more muted ( #9076 )
2025-01-31 16:52:50 +01:00
Shalini
84bab403ff
Fix: issue #8818 Xiaolai font has been set as a fallback for Excalifont ( #9055 )
...
Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
2025-01-30 13:41:41 +00:00
Are
61e0bb83d0
feat: improve library sidebar performance ( #9060 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-01-30 14:41:08 +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
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
David Luzar
7028daa44a
fix: remove flushSync to fix flickering ( #9057 )
2025-01-28 19:23:35 +01:00
David Luzar
ec06fbc1fc
fix: do not refocus element link input on unrelated updates ( #9037 )
2025-01-22 21:30:15 +01:00
David Luzar
fa05ae1230
refactor: remove defaultProps
( #9035 )
2025-01-22 12:43:02 +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
Arnost Pleskot
8551823da9
feat: update jotai ( #9015 )
...
* feat: update jotai in excalidraw package
* feat: update jotai in excalidraw-app
* fix: exports from excalidraw/jotai
* fix: use isolated react hooks
* test: use jotai provider in <Trans /> test
* remove unused package
* refactor & make safer
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-01-16 16:59:11 +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
YongJoon Kim
c92f3bebf5
fix: change cursor by tool change immediately ( #8212 )
2025-01-09 14:26:12 +01:00
David Luzar
78ab12c7e6
fix: z-index clash in mobile UI ( #8985 )
2025-01-06 21:21:11 +01:00
Ryan Di
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
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
David Luzar
873698a1a2
fix: robust state.editingFrame
teardown ( #8941 )
2024-12-22 22:47:39 +01:00
Ryan Di
606ac6c743
fix: regression on dragging a selected frame by its name ( #8924 )
...
fix hit element check for a selected frame's name
2024-12-22 22:47:21 +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
551bae07a7
feat: snap when cropping as well ( #8831 )
...
* crop with snap
* make crop snap work with cmd as well
* turn off grid with cmd as well in crop
2024-12-16 18:31:33 +08:00
Marcel Mraz
8a1152ce36
fix: Flush pending DOM updates before .focus() ( #8901 )
2024-12-09 21:57:37 +01:00
Ryan Di
b5652b8e36
fix: normalize svg using only absolute sizing ( #8854 )
2024-11-27 13:09:44 +01:00
David Luzar
31e2a0cb4a
fix: element link selector dialog z-index & positioning ( #8853 )
2024-11-26 23:18:20 +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
Márk Tolmács
ab8b3537b3
fix: Optimize frameToHighlight state change and snapLines state change ( #8763 )
...
Fix case when frame interactions recursively call setState() without any change.
2024-11-21 15:19:00 +01:00
Márk Tolmács
d21e0008dd
fix: Make some events expllicitly active to avoid console warnings ( #8757 )
...
Avoid chrome/edge reporting of by-default blocking event handlers
2024-11-21 15:18:18 +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
David Luzar
798f5f4dfb
feat: update blog url ( #8767 )
2024-11-06 16:41:41 +00:00
Marcel Mraz
2734e646ca
chore: simplify line-break regexes, separate text wrapping ( #8715 )
2024-10-30 14:24:12 +01:00
Marcel Mraz
03028eaa8c
fix: load font faces in Safari manually ( #8693 )
2024-10-30 12:40:24 +01:00
David Luzar
79b181bcdc
fix: restore svg image DataURL dimensions ( #8730 )
2024-10-29 22:40:24 +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