Commit graph

19 commits

Author SHA1 Message Date
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
7a94ee3191 Add new type excalidraw-api/clipboard for programmatic api 2023-07-14 20:10:02 +05:30
Aakansha Doshi
d3361f910b remove convertToExcalidrawElements call from restore 2023-07-14 17:13:24 +05:30
Aakansha Doshi
25e2f80709 let host call convertToExcalidrawElements when using programmatic API 2023-07-14 14:50:27 +05:30
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
d76bc7890d make type optional when id present 2023-06-12 11:53:10 +05:30
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