David Luzar
f87c2cde09
feat: allow installing libs from excal github ( #9041 )
2025-01-23 16:50:47 +01:00
Ryan Di
0bf234fcc9
fix: adding partial group to frame ( #9014 )
...
* prevent new frame from including partial groups
* separate wrapped partial group
2025-01-23 07:26:12 +08:00
Ryan Di
dd1b45a25a
perf: reduce unnecessary frame clippings ( #8980 )
...
* reduce unnecessary frame clippings
* further optim
2025-01-23 07:25:46 +08: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
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
YongJoon Kim
c92f3bebf5
fix: change cursor by tool change immediately ( #8212 )
2025-01-09 14:26:12 +01:00
Marcel Mraz
2ac55067cd
fix: package build fails on worker chunks ( #8990 )
2025-01-07 11:22:36 +00:00
David Luzar
78ab12c7e6
fix: z-index clash in mobile UI ( #8985 )
2025-01-06 21:21:11 +01:00
David Luzar
f2f8219917
feat: reintroduce .excalidraw.png
default when embedding scene ( #8979 )
2025-01-05 22:21:39 +01:00
한별
12c39d1034
feat: add mimeTypes on file save ( #8946 )
2025-01-05 21:12:07 +00: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
zsviczian
3b9ffd9586
fix: elbow arrows do not work within frames (issue: #8964 ) ( #8969 )
...
check for !isFrameLikeElement
2025-01-05 21:47:20 +01: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
c84babf574
feat: validate library install urls ( #8976 )
2025-01-05 17:10:55 +01:00
David Luzar
36274f1f3e
feat: cleanup svg export and move payload to <metadata>
( #8975 )
2025-01-05 16:53:05 +01:00
Aakansha Doshi
798c795405
docs: add demo link for browser integration ( #8956 )
2024-12-27 14:39:08 +09: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
zsviczian
56fca30bd0
fix: normalizeSVG width and height from viewbox when size includes decimal points ( #8939 )
...
Update image.ts
2024-12-22 23:10:11 +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
Shreyansh Jain
2af3221974
fix: right-click paste for images in clipboard (Issue #8826 ) ( #8845 )
...
* Fix right-click paste command for images (Issue #8826 )
* Fix clipboard logic for multiple paste types
* fix: remove unused code
* refactor & robustness
* fix: creating paste event with image files
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-12-10 20:10:34 +00:00
Antonio Della Fortuna
9b401f6ea3
fix: fixed image transparency by adding alpha option to preserve image alpha channel ( #8895 )
...
added alpha option to preserve image alpha channel
2024-12-10 13:41:10 +01: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
David Luzar
a758aaf8f6
fix: update old blog links & add canonical url ( #8846 )
2024-11-26 17:42:25 +01:00
Márk Tolmács
b2a6a87b10
chore: Remove @tldraw/vec ( #8762 )
...
Not needed.
2024-11-21 15:19:20 +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
David Luzar
840f1428c4
chore: bump @excalidraw/mermaid-to-excalidraw@1.1.2
( #8830 )
2024-11-20 13:10:07 +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
0927431d0d
chore: bump @excalidraw/mermaid-to-excalidraw
( #8829 )
2024-11-19 20:46:55 +01:00
dependabot[bot]
98c0a67333
build(deps): bump cross-spawn from 7.0.3 to 7.0.6 ( #8824 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 20:34:35 +01:00
Aakansha Doshi
57cf577376
fix: cleanup scripts and support upto node 22 ( #8794 )
2024-11-11 23:56:00 +05:30
Hamir Mahal
6e0ee89ee4
fix: usage of node12 which is deprecated
( #8791 )
2024-11-11 12:05:55 +01:00
David Luzar
35f778a734
build: set PWA flag in dev to false ( #8788 )
2024-11-09 21:04:50 +01:00
Aakansha Doshi
ee091d0dbd
build: add a flag VITE_APP_ENABLE_PWA for enabling pwa in dev environment ( #8784 )
...
* build: add a flag VITE_APP_ENABLE_PWA for enabling pwa in dev environment
* fix
* set VITE_ENABLE_PWA to false in .env.development
2024-11-09 21:45:37 +05:30
Aakansha Doshi
ef9ea14a75
fix: remove manifest.json ( #8783 )
...
* fix: remove manifest.json
* disable pwa in dev
2024-11-09 13:42:11 +05:30
Aakansha Doshi
df168a6883
fix: load env vars correctly and set debug and linter flags to false explicitly in prod mode ( #8770 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-11-07 21:14:49 +00:00
David Luzar
798f5f4dfb
feat: update blog url ( #8767 )
2024-11-06 16:41:41 +00:00
Barnabás Molnár
d9ad7c039b
feat: export scene to e+ on workspace creation/redemption ( #8514 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-11-04 22:35:45 +00:00