Aakansha Doshi
dfd3d4551f
Add coverage script
2023-05-30 12:34:23 +05:30
Aakansha Doshi
d4b34a380b
remove
2023-05-30 11:51:57 +05:30
Arnost Pleskot
a91e401554
feat: clearing library cache ( #6621 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-29 16:01:44 +02:00
Aakansha Doshi
2c52107f6f
remove ts ignore
2023-05-29 18:30:30 +05:30
Aakansha Doshi
03131750be
remove more ts ignore
2023-05-29 14:48:22 +05:30
Aakansha Doshi
f57e72443d
fix
2023-05-29 14:09:30 +05:30
Aakansha Doshi
016662a7f6
fix types
2023-05-29 13:53:19 +05:30
Are
08563e7d7b
feat: update design of ImageExportDialog ( #6614 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-26 16:16:55 +02:00
Aakansha Doshi
5841e6a48d
use same stroke color as parent for text containers and height 0 for linear element by default
2023-05-26 13:59:10 +05:30
Aakansha Doshi
5b458288e7
fix creation of regular text
2023-05-26 13:00:22 +05:30
Aakansha Doshi
afc98c2d47
support binding arrow to text element
2023-05-25 22:56:50 +05:30
Alex Kim
6459ccda6a
feat: add flipping for multiple elements ( #5578 )
...
* feat: add flipping when resizing multiple elements
* fix: image elements not flipping its content
* test: fix accidental resizing in grouping test
* fix: angles not flipping vertically when resizing
* feat: add flipping multiple elements with a command
* revert: image elements not flipping its content
This reverts commit cb989a6c66e62a02a8c04ce41f12507806c8d0a0.
* fix: add special cases for flipping text & images
* fix: a few corner cases for flipping
* fix: remove angle flip
* fix: bound text scaling when resizing
* fix: linear elements drifting away after multiple flips
* revert: fix linear elements drifting away after multiple flips
This reverts commit bffc33dd3f
.
* fix: linear elements unstable bounds
* revert: linear elements unstable bounds
This reverts commit 22ae9b02c4
.
* fix: hand-drawn lines shift after flipping
* test: fix flipping tests
* test: fix the number of context menu items
* fix: incorrect scaling due to ignoring bound text when finding selection bounds
* fix: bound text coordinates not being updated
* fix: lines bound text rotation
* fix: incorrect placement of bound lines on flip
* remove redundant predicates in actionFlip
* update test
* refactor resizeElement with some renaming and comments
* fix grouped bounded text elements not being flipped correctly
* combine mutation for bounded text element
* remove incorrect return
* fix: linear elements bindings after flipping
* revert: remove incorrect return
This reverts commit e6b205ca90
.
* fix: minimum size for all elements in selection
---------
Co-authored-by: Ryan Di <ryan.weihao.di@gmail.com>
2023-05-25 16:27:41 +02:00
Aakansha Doshi
7560b59900
fix
2023-05-25 14:35:58 +05:30
Aakansha Doshi
b72515a83b
fix lint
2023-05-25 14:20:14 +05:30
Aakansha Doshi
1c291f8b3d
fix single text element, unique id and tests
2023-05-25 14:12:01 +05:30
David Luzar
75bea48b54
fix: export dialog shortcut toggles console on firefox ( #6620 )
2023-05-24 22:52:21 +02:00
Aakansha Doshi
6c41e507db
fix singular elements
2023-05-24 22:35:51 +05:30
David Luzar
13780f390a
fix: add react v17 useTransition
polyfill ( #6618 )
2023-05-24 15:24:54 +00:00
Excalidraw Bot
fecbde3f5c
chore: Update translations from Crowdin ( #6598 )
...
* New translations en.json (Greek)
* New translations en.json (Slovenian)
* New translations en.json (Portuguese, Brazilian)
* Auto commit: Calculate translation coverage
* New translations en.json (German)
* Auto commit: Calculate translation coverage
* New translations en.json (Korean)
* New translations en.json (Chinese Traditional)
* Auto commit: Calculate translation coverage
* New translations en.json (Norwegian Bokmal)
* Auto commit: Calculate translation coverage
* New translations en.json (Indonesian)
* New translations en.json (Indonesian)
* Auto commit: Calculate translation coverage
* New translations en.json (Indonesian)
* Auto commit: Calculate translation coverage
* New translations en.json (Indonesian)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Simplified)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Russian)
* Auto commit: Calculate translation coverage
* New translations en.json (Slovak)
* Auto commit: Calculate translation coverage
* New translations en.json (Italian)
* Auto commit: Calculate translation coverage
* New translations en.json (Italian)
* Auto commit: Calculate translation coverage
* New translations en.json (Kurdish)
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Portuguese)
* Auto commit: Calculate translation coverage
* New translations en.json (Portuguese)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
* New translations en.json (Khmer)
* Auto commit: Calculate translation coverage
2023-05-24 16:50:11 +02:00
Arnost Pleskot
7340c70a06
perf: improve rendering performance for Library ( #6587 )
...
* perf: improve rendering performance for Library
* fix: return onDrag and onToggle functionality to Library Items
* perf: cache exportToSvg output
* fix: lint warning
* fix: add onClick handler into LibraryUnit
* feat: better spinner
* fix: useCallback for getInsertedElements to fix linter error
* feat: different batch size when svgs are cached
* fix: library items alignment in row
* feat: skeleton instead of spinner
* fix: remove unused variables
* feat: use css vars instead of hadcoded colors
* feat: reverting skeleton, removing spinner
* cleanup and unrelated refactor
* change ROWS_RENDERED_PER_BATCH to 6
---------
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-24 14:40:20 +00:00
Aakansha Doshi
596edaea62
allow multiple arrows to bind to single element
2023-05-24 18:42:35 +05:30
Aakansha Doshi
985318e960
support ids, clean up code and move the api related stuff to transform.ts
2023-05-24 17:12:26 +05:30
Rounik Prashar
a4f05339aa
fix: Library dropdown visibility issue for mobile ( #6613 )
...
Fix: Library dropdown visibility issue for mobile
Co-authored-by: Rounik Prashar <rounik.prashar@increff.com>
2023-05-23 22:37:19 +02:00
Aakansha Doshi
da8e97ad14
preserve bindings for labelled arrows
2023-05-23 16:55:41 +05:30
Aakansha Doshi
f113a393e6
preserve bindings if present and fix testcases
2023-05-23 16:47:52 +05:30
Aakansha Doshi
75cfe54b15
support id as well for elements
2023-05-23 13:21:22 +05:30
Aakansha Doshi
b783b822d6
fix coords
2023-05-23 13:19:33 +05:30
Aakansha Doshi
596e64ca5a
fix lint
2023-05-22 21:29:42 +05:30
Aakansha Doshi
d8c901e0c1
support arrow bindings via start and end in api
2023-05-22 21:22:36 +05:30
Aakansha Doshi
0449cccc39
ignore
2023-05-22 14:01:32 +05:30
Aakansha Doshi
5bfe4dff5f
fix lint
2023-05-22 13:57:05 +05:30
Aakansha Doshi
dcf9e27e51
Merge remote-tracking branch 'origin/master' into aakansha-create-text-containers-programmatically
2023-05-22 13:51:36 +05:30
Aakansha Doshi
e3fa2905f2
fix tests
2023-05-22 13:40:35 +05:30
David Luzar
a8f0a14610
fix: withInternalFallback
leaking state in multi-instance scenarios ( #6602 )
2023-05-19 15:47:01 +02:00
Excalidraw Bot
a89952e32f
chore: Update translations from Crowdin ( #6589 )
2023-05-18 16:23:09 +02:00
Barnabás Molnár
5b7596582f
feat: color picker redesign ( #6216 )
...
Co-authored-by: Maielo <maielo.mv@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-05-18 16:06:27 +02:00
Aakansha Doshi
e68edb9f73
keep element as is unless we support prog api
2023-05-18 15:20:26 +05:30
Aakansha Doshi
453aa722eb
fix
2023-05-17 18:22:59 +05:30
Aakansha Doshi
4348646705
better types
2023-05-17 17:58:18 +05:30
Aakansha Doshi
81bee8acb8
fix alignment
2023-05-17 14:09:25 +05:30
Aakansha Doshi
9e3032059d
add in package example
2023-05-16 17:52:40 +05:30
Aakansha Doshi
a443d65512
support labelled arrows
2023-05-16 17:49:24 +05:30
Aakansha Doshi
fbf2d533c0
support creating arrows and line
2023-05-16 16:50:58 +05:30
Aakansha Doshi
d83860c747
update test case in package example
2023-05-15 16:57:01 +05:30
Aakansha Doshi
32aaa8b95d
fix api and support individual shapes and text element
2023-05-15 16:34:12 +05:30
Mohammad Amin
6977c32631
style: Removes extra spaces ( #6558 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-13 21:09:16 +00:00
David Luzar
f6f9ed0396
refactor: simplify ImageExportDialog
( #6578 )
2023-05-13 22:58:35 +02:00
David Luzar
b1b325b9a7
feat: add "unlock all elements" to canvas contextMenu ( #5894 )
2023-05-13 22:52:03 +02:00
David Luzar
5bf27a463c
fix: language list containing duplicate en
lang ( #6583 )
2023-05-13 22:50:14 +02:00
maruric
306e133651
fix: garbled text displayed on avatars ( #6575 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-13 19:49:09 +02:00