Commit graph

260 commits

Author SHA1 Message Date
Aakansha Doshi
7577ed5387 lint 2023-08-02 15:32:37 +05:30
Aakansha Doshi
e463d2f51b use Object.assign instead of mutateElement 2023-08-02 15:29:44 +05:30
Aakansha Doshi
06dd6de0af fix 2023-08-01 20:40:52 +05:30
Aakansha Doshi
77ef356076 update snaps 2023-08-01 20:21:24 +05:30
dwelle
6419835677 small tweaks 2023-08-01 13:46:39 +02:00
dwelle
50fce7e5f2 Merge branch 'master' into aakansha-create-text-containers-programmatically
# Conflicts:
#	src/components/App.tsx
2023-07-31 11:44:17 +02:00
David Luzar
c1247742ea
fix: prevent binding focus NaN value (#6803)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-07-26 23:28:11 +02:00
zsviczian
b57b3b573d
feat: introducing Web-Embeds (alias iframe element) (#6691)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-07-24 16:51:53 +02:00
Aakansha Doshi
756b924518 make fileId mandatory for image and export convertToExcalidrawElements 2023-07-18 13:03:59 +05:30
Aakansha Doshi
a6b389ca62 more types 2023-07-17 18:18:14 +05:30
Aakansha Doshi
21ca391e8c support image via programmatic API 2023-07-17 17:54:50 +05:30
Aakansha Doshi
bf3afc34ed make image attributes optional and better ts check 2023-07-17 17:33:23 +05:30
Aakansha Doshi
2359a7a818 rename tweak 2023-07-17 13:10:57 +05:30
Aakansha Doshi
d994f72c40 cleanup 2023-07-14 20:37:53 +05:30
Aakansha Doshi
7a94ee3191 Add new type excalidraw-api/clipboard for programmatic api 2023-07-14 20:10:02 +05:30
Aakansha Doshi
bb778892dc update snaps 2023-07-14 17:20:27 +05:30
Aakansha Doshi
d3361f910b remove convertToExcalidrawElements call from restore 2023-07-14 17:13:24 +05:30
Aakansha Doshi
2ff0528a4f Merge remote-tracking branch 'origin/master' into aakansha-create-text-containers-programmatically 2023-07-14 17:10:09 +05:30
Aakansha Doshi
25e2f80709 let host call convertToExcalidrawElements when using programmatic API 2023-07-14 14:50:27 +05:30
Christopher Chedeau
b33fa6d6f6
fix: stronger enforcement of normalizeLink (#6728)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-06-29 12:14:42 +02:00
Ryan Di
b7350f9707
fix: elements in non-existing frame getting removed (#6708)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-06-22 22:10:08 +00:00
Ryan Di
81ebf82979
feat: introduce frames (#6123)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-06-14 18:42:01 +02:00
Aakansha Doshi
c1a61b06df tweak 2023-06-12 14:29:45 +05:30
Aakansha Doshi
9e6751c5fb Add more tests 2023-06-12 13:00:31 +05:30
Aakansha Doshi
1784f5b31e remove type when id provided in tests 2023-06-12 11:59:21 +05:30
Aakansha Doshi
d76bc7890d make type optional when id present 2023-06-12 11:53:10 +05:30
Aakansha Doshi
d9e6910df0 Merge remote-tracking branch 'origin/master' into aakansha-create-text-containers-programmatically 2023-06-05 11:46:26 +05:30
Aakansha Doshi
236a12d968 fix tests 2023-05-30 20:11:19 +05:30
Aakansha Doshi
a9154b36d5 Add tests 2023-05-30 13:24:47 +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
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
Aakansha Doshi
1c291f8b3d fix single text element, unique id and tests 2023-05-25 14:12:01 +05:30
Aakansha Doshi
6c41e507db fix singular elements 2023-05-24 22:35:51 +05:30
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
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
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
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
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
4348646705 better types 2023-05-17 17:58:18 +05:30