Commit graph

1061 commits

Author SHA1 Message Date
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
Steve Ruiz
e738018448
Merge pull request #71 from tldraw/chore/small-test-adjustments
test: use jest's .todo method for TODO tests
2021-09-02 09:07: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
60379adea4 Update main.yml 2021-08-31 22:30:43 +01:00
Steve Ruiz
065d33867a Update main.yml 2021-08-31 22:28:03 +01:00
Steve Ruiz
db7b6fb3a2 Update main.yml 2021-08-31 22:27:29 +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
2771ae986f Adds peer deps 2021-08-31 14:28:51 +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