Commit graph

1568 commits

Author SHA1 Message Date
Steve Ruiz
dc74b14c10 v0.0.57 2021-09-03 12:10:35 +01:00
Steve Ruiz
cb58a6c749 brush selection when pressing meta tweak 2021-09-03 12:07:34 +01:00
Steve Ruiz
adda205917 Apply styles to groups 2021-09-03 11:58:20 +01:00
Steve Ruiz
2e96f0f3e2 Fixes text editing, scaling when transformed, hides bounds when in session, fixes translate session for groups 2021-09-03 11:52:40 +01:00
Steve Ruiz
2d59b0e2c9 v0.0.56 2021-09-03 11:25:53 +01:00
Steve Ruiz
e38b9cd600 Fix bad state 2021-09-03 11:24:50 +01:00
Steve Ruiz
9f8f56db7e enables transforms for groups 2021-09-03 11:15:03 +01:00
Steve Ruiz
625c819817 Fixes meta-shift-select for grouped shapes 2021-09-03 11:07:52 +01:00
Steve Ruiz
9461935aca closing in on group selection bugs 2021-09-03 10:45:36 +01:00
Steve Ruiz
0b93e5a041 v0.0.55 2021-09-03 08:36:00 +01:00
Steve Ruiz
b48e2bf03f Fix bug with duplicate children in clones 2021-09-02 21:29:45 +01:00
Steve Ruiz
fe9ff2dc2d Fix text bug on firefox, translate cloning for grouped shapes 2021-09-02 21:13:54 +01:00
Steve Ruiz
a3ddfca0be tweak arrow sessions 2021-09-02 16:23:07 +01:00
Steve Ruiz
7c07ea74c0 Fix bug on arrowheads, thickness of arrows 2021-09-02 15:57:42 +01:00
Steve Ruiz
054a9e4acd Fix bug when nudging shapes with bindings 2021-09-02 15:46:35 +01:00
Steve Ruiz
d09d4087d3 More group behaviour around duplication.
I'm going to probably need to duplicate this duplication logic into translate and delete.
2021-09-02 14:58:59 +01:00
Steve Ruiz
9f9845780f Handles groups when duplicating shapes 2021-09-02 14:25:17 +01:00
Steve Ruiz
a1a213f9b4 Starts on groups, fixes duplicate bugs with bindings 2021-09-02 13:51:39 +01:00
Tais Massaro
6a7c99259a test(core): fix test names 2021-09-01 21:22:13 +02:00
Tais Massaro
44cca2ddd6 test(tldraw): fix test names 2021-09-01 21:22:13 +02:00
Tais Massaro
079d4d05e8 test(tldraw): use jest .todo instead of TODO comments 2021-09-01 21:22:13 +02:00
Steve Ruiz
206a1236a1 Improves copy / paste from menu 2021-09-01 19:49:25 +01:00
Steve Ruiz
4412954be5 Fix bug on cloning / translating bound shapes 2021-09-01 15:39:01 +01:00
Steve Ruiz
dd5836f75b Fix mutate regression 2021-09-01 13:05:14 +01:00
Steve Ruiz
c3ef2b8855 Fix bug with mutating bound shapes 2021-09-01 13:00:51 +01:00
Steve Ruiz
f6934dedb8 Adds copy, fix bug on mutating bound shapes, adds binding indicator, adds binding to text 2021-09-01 12:18:50 +01:00
Steve Ruiz
89dfd22bac Stubs tests 2021-09-01 10:03:41 +01:00
Steve Ruiz
e6535c4dd4 Adds copy to json, copy to svg 2021-09-01 09:57:46 +01:00
Steve Ruiz
16fda2fddf Adds manual create and update, more jsdoc 2021-09-01 09:37:07 +01:00
Steve Ruiz
92b8df4b51 remove time from draw 2021-09-01 03:02:35 +01:00
Steve Ruiz
f342cb9ea1 v0.0.54 2021-08-31 22:47:21 +01:00
Steve Ruiz
bbcf629681 Fix jest issue 2021-08-31 22:43:04 +01:00
Steve Ruiz
1c9bbe3e36 bumps perfect freehand, improves draw and text 2021-08-31 21:46:49 +01:00
Steve Ruiz
33efc32db8 v0.0.53 2021-08-31 19:20:28 +01:00
Steve Ruiz
3e3c6d31e7 Fix scripts 2021-08-31 19:20:07 +01:00
Steve Ruiz
6534ce7027 v0.0.52 2021-08-31 19:13:50 +01:00
Steve Ruiz
38114cde37 bumps canvas 2021-08-31 19:13:24 +01:00
Steve Ruiz
db13880ceb Adds time data to draw points.
Not sure if I'll keep this, but together with the improved trimming it actually reduces the size of these arrays.
2021-08-31 16:20:01 +01:00
Steve Ruiz
f2ed16ff7e Fix build 2021-08-31 13:37:06 +01:00
Steve Ruiz
fbc81620fb Update esbuild.config.mjs 2021-08-30 21:21:46 +01:00
Steve Ruiz
596762cec9 Update pre-dev.js 2021-08-30 21:20:41 +01:00
Steve Ruiz
8fe83ef6c3 Adds text again 2021-08-30 21:17:04 +01:00
Steve Ruiz
c28440b878 Move a few more strings to enums 2021-08-30 19:17:46 +01:00
Steve Ruiz
c619ef0ec1 cleans up package.json, scripts 2021-08-30 19:10:30 +01:00
Steve Ruiz
edc71a4d98 v0.0.51 2021-08-30 14:29:20 +01:00
Steve Ruiz
15bbe6ab92 Fix user select on tooltips 2021-08-30 14:08:11 +01:00
Steve Ruiz
2937016ae0 Adds indicator for dots, rename and delete dialogs for pages, dark mode support for ui 2021-08-30 14:04:12 +01:00
Steve Ruiz
62a3da0498 Fix arrow bend behavior 2021-08-30 13:15:52 +01:00
Steve Ruiz
cefd294c13 Fix delete binding on shape delete bug 2021-08-30 12:42:38 +01:00
Steve Ruiz
ab619385f3 Fix stuck bindings 2021-08-30 12:06:42 +01:00
Steve Ruiz
e98edef97d Fix error where arrows with bindings could not be deleted 2021-08-30 11:59:31 +01:00
Steve Ruiz
b7902f3ce8 Fix types 2021-08-30 11:49:49 +01:00
Steve Ruiz
64d00dc427 Replaces isDarkMode with meta, a more flexible option for custom rendering context 2021-08-30 11:44:42 +01:00
Steve Ruiz
7d18be27cf tweaks packages, bumps a few deps 2021-08-30 08:45:10 +01:00
Steve Ruiz
7fe93199cf v0.0.50 2021-08-29 14:48:12 +01:00
Steve Ruiz
c35f82bdcf Fixes a few last points 2021-08-29 14:46:58 +01:00
Steve Ruiz
9e8e99cb6f Move state to rko 2021-08-29 14:33:43 +01:00
Steve Ruiz
c3e6c55a68 Bumps perfect-freehand 2021-08-27 10:53:01 +01:00
Steve Ruiz
c353fd257f Adds dark mode 2021-08-23 17:13:10 +01:00
Steve Ruiz
840532142e bumps perfect-freehand, improves draw dots 2021-08-23 15:38:14 +01:00
Steve Ruiz
4c39e19543 Adds point in polygon 2021-08-21 22:21:11 +01:00
Steve Ruiz
429a5e6171 Adds right click to select, fixes spacing in context menu, improves draw session 2021-08-18 08:19:13 +01:00
Steve Ruiz
74f600aac2 Fix bug with db 2021-08-18 07:04:01 +01:00
Steve Ruiz
aa20ed8d63 v0.0.49 2021-08-18 01:00:46 +01:00
Steve Ruiz
fc321cc757 Fix duplicate page 2021-08-18 00:59:46 +01:00
Steve Ruiz
a82e077085 v0.0.48 2021-08-18 00:13:53 +01:00
Steve Ruiz
3d90322178 Remove merge-deep 2021-08-18 00:12:14 +01:00
Steve Ruiz
f19d3e6366 Fixes database issues, fixes rendering issue 2021-08-18 00:11:00 +01:00
Steve Ruiz
07dcfb8df5 Implements multiple pages 2021-08-17 22:38:37 +01:00
Steve Ruiz
ad3db2c0ac Mostly fixed bugs 2021-08-16 22:52:03 +01:00
Steve Ruiz
594bc7c2ff Adds multiple pages, pageStates to state object (groan) 2021-08-16 15:01:03 +01:00
Steve Ruiz
9c45e0a5a5 Starts on menu, page panel 2021-08-16 08:49:31 +01:00
Steve Ruiz
72f680ce65 Adds select undo / redo stack 2021-08-15 15:35:23 +01:00
Steve Ruiz
169ed8e742 Restores select on single click 2021-08-15 14:19:05 +01:00
Steve Ruiz
ff9eab63e7 Improves delete on cancel while creating 2021-08-15 10:11:04 +01:00
Steve Ruiz
dd25029a0f Update shapes-functions.tsx 2021-08-15 09:49:54 +01:00
Steve Ruiz
40cbf2d92b Improves status, create session handling 2021-08-15 09:49:38 +01:00
Steve Ruiz
ffc180fa1c improves indicators (roll into arrow shape) 2021-08-14 17:52:18 +01:00
Steve Ruiz
6aa58c7966 Renames tests, simplifies tsconfigs 2021-08-14 17:17:29 +01:00
Steve Ruiz
b8f410b752 Adds react tests, build tsconfigs 2021-08-14 16:46:21 +01:00
Steve Ruiz
652681f077 Cleans up shapes 2021-08-13 15:41:41 +01:00
Steve Ruiz
d66007b142 Cleans up UI components, removes Shared as single file 2021-08-13 15:29:31 +01:00
Steve Ruiz
74f48a55b9 Delete yarn.lock 2021-08-13 14:23:30 +01:00
Steve Ruiz
2c50dd37f6 Update translate.session.spec.ts 2021-08-13 14:15:55 +01:00
Steve Ruiz
cbf21286cb v0.0.47 2021-08-13 14:13:56 +01:00
Steve Ruiz
324ce567e5 Make dev private 2021-08-13 14:13:39 +01:00
Steve Ruiz
b74590c128 Fix versions in packages 2021-08-13 14:12:35 +01:00
Steve Ruiz
ea71fd4227 Fix version in www 2021-08-13 14:10:30 +01:00
Steve Ruiz
adb80d3372 v0.0.46 2021-08-13 14:06:42 +01:00
Steve Ruiz
d2ab8f4eed Fix private for @tldraw/tldraw 2021-08-13 14:06:18 +01:00
Steve Ruiz
0dfda8d3ab Remove useWorkspaces from lerna 2021-08-13 14:05:24 +01:00
Steve Ruiz
a7dac0f83a v0.0.45 2021-08-13 14:01:48 +01:00
Steve Ruiz
9ac8aa428b Adds code to create dist folder if not present 2021-08-13 14:01:22 +01:00
Steve Ruiz
5c7cf8015c Remove dev from lerna? 2021-08-13 13:58:18 +01:00
Steve Ruiz
924553373c v0.0.44 2021-08-13 13:55:58 +01:00
Steve Ruiz
57e1737f49 remove files 2021-08-13 13:55:30 +01:00
Steve Ruiz
bfffea22cb 0.0.43 2021-08-13 13:50:18 +01:00
Steve Ruiz
63f7984a28 v0.0.43 2021-08-13 13:49:40 +01:00
Steve Ruiz
bd938c995b cleans up tsconfigs 2021-08-13 13:48:08 +01:00
Steve Ruiz
4a7439ddf8 v0.0.42 2021-08-13 13:35:56 +01:00
Steve Ruiz
63ef272b57 Tweaks arrow offset code 2021-08-13 13:24:49 +01:00
Steve Ruiz
4eb29349be Fix dev server index.html 2021-08-13 12:13:11 +01:00
Steve Ruiz
ccb8876d8b All tests passing 2021-08-13 11:49:35 +01:00
Steve Ruiz
8c02e0df84 Improves types and imports! 2021-08-13 10:28:09 +01:00
Steve Ruiz
edc29dfbcf Fixes types 2021-08-12 14:45:47 +01:00
Steve Ruiz
2673a97cc8 Improves binding cleanup, deletes bindings on translation 2021-08-12 14:39:41 +01:00
Steve Ruiz
c92eba9c4e Fix build errors 2021-08-11 22:11:23 +01:00
Steve Ruiz
e71bf1d327 Puts www back in packages 2021-08-11 21:03:59 +01:00
Steve Ruiz
cec7048acd Added cloning bindings 2021-08-11 17:03:08 +01:00
Steve Ruiz
ed4cab6fd4 Update ellipse.tsx 2021-08-11 15:55:26 +01:00
Steve Ruiz
b737a42ca9 Adds ellipse binding 2021-08-11 15:51:24 +01:00
Steve Ruiz
94f0273ca4 Fix meta-brush 2021-08-11 14:41:17 +01:00
Steve Ruiz
1a31dd6697 Adds handle toggling 2021-08-11 14:34:17 +01:00
Steve Ruiz
283e678a4d Adds arrows 2021-08-11 13:26:34 +01:00
Steve Ruiz
923dad6dbe Adds typescript to dev builds 2021-08-10 21:36:29 +01:00
Steve Ruiz
38ddf1f640 Clean up editor 2021-08-10 18:33:10 +01:00
Steve Ruiz
4ac1b93f96 Adds dev server 2021-08-10 18:19:30 +01:00
Steve Ruiz
5998879e24 Replace 2021-08-10 17:12:55 +01:00