Commit graph

833 commits

Author SHA1 Message Date
Steve Ruiz
58fc99cc08 v0.1.12 2021-11-11 09:57:33 +00:00
Steve Ruiz
cf16cea87d Update CHANGELOG.md 2021-11-11 09:56:56 +00:00
Steve Ruiz
63137b04e9 bump 2021-11-11 09:56:21 +00:00
Proful Sadangi
4dd1aea572
Fix tooltip label & color contrast (#262)
* Fix tooltip label & color contrast

* adds fix for context menu

* Fix focus within

* Add inline docs

* Fix color for kbd

* Fix for submenu

* tighten up code

* Added onBlur mock function

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-11 09:54:58 +00:00
Francois Laberge
a95b581e07
Prepare for Publishing VS Code Extension (#227)
* Changed Wardlt use back to Tldraw. Added some VS Code marketplace categories

* Missed removing one Wardlt mention

* Initial support for esbuild based vscode extension workflow.

* Hacky start of vs code extension build script

* Fixed categories of extension

* Added script for generating VS Code extension installer

* Temp fix for file format change affecting VS Code extension

* Temp fix for file format change issue

* Cleanup, prevent changes from saving pagestates

* Remove logic around saving pageState

* standardize capitalization

* v0.1.8

* Edit readme, scripts

* Update .eslintignore

* v0.1.9

* v0.1.10

* cleans up build scripts, adds publishing notes

* Added VS Code extension implementation references links. start:vscode now auto opens the extension folder in VS Code

* Removed step from VS Code README to manually open the extensions folder

* Removed file

* v0.1.11

* v0.1.12

* Fix empty file

* v0.1.13

* README cleanup

* v0.1.14

* Update TLDrawEditorProvider.ts

* v0.1.15

* Fix types for file extension (sort of) build script for extension

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-10 15:35:51 +00:00
Steve Ruiz
c1288363cd v0.1.11 2021-11-10 12:11:49 +00:00
Steve Ruiz
699bf6a368 bumps 2021-11-10 12:11:24 +00:00
Steve Ruiz
725f3105d6 v0.1.10 2021-11-10 12:09:29 +00:00
Steve Ruiz
83c6a978ad v0.1.9 2021-11-10 12:09:02 +00:00
Steve Ruiz
14cadbe5b5 v0.1.8 2021-11-10 12:08:32 +00:00
Steve Ruiz
09a357ca9d Update CHANGELOG.md 2021-11-10 12:07:59 +00:00
Steve Ruiz
2fe646c2c7
Fix sticky and text (#234) 2021-11-10 12:07:01 +00:00
Steve Ruiz
8b3c963a08 v0.1.7 2021-11-09 14:38:09 +00:00
Steve Ruiz
1b05a15347 Update CHANGELOG.md 2021-11-09 14:37:52 +00:00
Steve Ruiz
6592608a09
[fix] Text on Safari (#232)
* Fix editing bug on safari text

* Fix text behavior when blurring

* Update SelectTool.ts
2021-11-09 14:26:41 +00:00
Steve Ruiz
0b5a516b57
[fix] missing file menu (#231)
* Fix missing file menu

* Update TLDraw.tsx
2021-11-09 10:55:01 +00:00
Steve Ruiz
be2c6d6d1f
[refactor] events (#230)
* bumps rko, adds events

* rename tlstate to state, fix env for multiplayer test

* Fix multiplayer

* rename data tldrawstate to tldrawsnapshot

* Update multiplayer-editor.tsx

* Fix shhhmp

* Update 2.tldr

* Add API to the README
2021-11-08 14:21:37 +00:00
Steve Ruiz
f037118928 Update ArrowUtil.tsx 2021-11-07 20:07:57 +00:00
Steve Ruiz
be1f6c3c3c Update CHANGELOG.md 2021-11-07 14:45:57 +00:00
Steve Ruiz
4f3fae41b5 v0.1.6 2021-11-07 14:45:42 +00:00
Steve Ruiz
b726796d88 v0.1.5 2021-11-07 14:44:20 +00:00
Steve Ruiz
c479987dd8 Update CHANGELOG.md 2021-11-07 14:43:57 +00:00
Steve Ruiz
5627c34763 Update CHANGELOG.md 2021-11-07 14:43:29 +00:00
Steve Ruiz
6951fb370c
fix events on top panel (#226) 2021-11-07 14:42:27 +00:00
Steve Ruiz
f30eb26003
Change listening port from 5000 to 5420 (#225) 2021-11-07 14:29:24 +00:00
Steve Ruiz
7c980ebb19
Electron App (#224)
* add electron wrapper

* add to workspaces

* fixes electron setup

* Fix package for dev

* build out electron app communication

* Update README.md
2021-11-07 13:45:48 +00:00
Francois Laberge
0b15992464
Create VS Code Extension (#4)
* Start of vscode extension. Current code is copy/paste from custom editor samples from Microsoft. We need to evaluate if using their text based customer editor or full on new custom editor is the way to go

* Not sure how I missed these files. Adding them

* Have a custom editor triggering off of .tldr files. Added gitignores for generated folder. Have iframed tldraw loading and security policies set to do so

* Can now load a .tldr file. No saving support yet. Load times are slow, mostly from editor loading up I think

* Have temporary solution for saving working now too.

* Missed af ile

* Backing up progress in syncing tldraw editor history changes

* Removed console

* ...

* ...

* Cleanup

* Have save working well now.

* Moved extension into 'integrations' folder

* Trying out WebviewPanelOptions.retainContextWhenHidden=true and it's looking promising

* Some cleanup

* Trying out new  @tldraw/editor module

* Have prototype loading using new embedded editor

* ...

* Shaved off 1 second from editor loadtime

* Got save working again. Had to manually fixuppreviously created .tldr files as the format changed a bit

* More tuning

* Starting work to get new tldraw/tldraw working.

* Added example tldr files to vscode package

* Removed old editor package

* Have onChange working with latest fix. Back to iframed for a few mom

* Fixed up .tldr files

* Have iframe free extension working, but requiring hand crafted building

* ...

* Better handling of empty .tldr files. Still an issue with freshly created files trying to save as .js or .json

* Thoroughly added comments for the extension code. Need to add diagrams though and now will document/comment/diagram the editor src code

* Added comments to all of the editor side of the VS Code Extension. Also cleaned up the code

* More cleanup of VS Code Extension code and have script automating generating the initial webview's html content from the cra editor static build

* Tweaks to watch logic

* Improved scripts for publishing to VS Code Marketplace

* Improved name

* Made the smiley angry

* Reverted

* Turned smiley mad

* Turned smiley mad

* Made smiley sad

* Have a lot of plumbing working for Github codespaces and github.dev support

* Imported new tldraw vs code extension code. Added instructions for workflows

* Quick fix

* Fix for corrupted arrows files

* Updated editor build step to new location

* Merge branch 'main' into vscode-extension-v1, add local file updating

* Update App.tsx

* Cleanup, bumped to 0.0.124 @tldraw/tdlraw and published a 0.10.0 version of hte extension

* Added Trello/Kanban style file

* Finished video

* brings up to date

* Fix scripts

* Update README.md

* Update .babelrc

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-06 16:49:53 +00:00
Steve Ruiz
a70cb145be don't minify 2021-11-06 16:09:38 +00:00
Steve Ruiz
3c1de1f169 name memoized components 2021-11-06 11:19:15 +00:00
Steve Ruiz
e11f05028f
[mega-chore] renaming (#223)
* Rename shape utils

* renames files

* Add husky

* Delete .babelrc

* Update TLDR.ts

* renames commands

* Update package.json

* more pre-commit work
2021-11-06 11:16:30 +00:00
Steve Ruiz
b3ea398ba1 v0.1.4 2021-11-06 08:09:15 +00:00
Steve Ruiz
7f3f347d39 Update CHANGELOG.md 2021-11-06 08:08:59 +00:00
Steve Ruiz
492281ac18 Fix shortcut in menu 2021-11-06 08:07:43 +00:00
Proful Sadangi
bbb2bfbeb0
Fix for extra divider in the context menu (#222)
* Fix for extra divider in the context menu

* Moves divider to above group section, if present

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-06 08:04:44 +00:00
Steve Ruiz
0508857535 Update TrashIcon.tsx 2021-11-05 23:58:12 +00:00
Steve Ruiz
0aaa722f5a v0.1.3 2021-11-05 21:14:35 +00:00
Steve Ruiz
8a436aa9c3 pwa updates 2021-11-05 21:14:12 +00:00
Steve Ruiz
ec3dae085c
[improvement] repo, scripts (#220)
* Fix menu, cleanup package.json

* update changelog
2021-11-05 20:31:20 +00:00
Steve Ruiz
fb77323ef2
[feature] filesystem + readonly (#218)
* Fix escape key for menu

* Adds filesystem support, readonly mode

* Move file system events to external hook

* Adds onSignIn callback, prevent event by default
2021-11-05 14:13:14 +00:00
Steve Ruiz
61ac6427fb Migrations done! 2021-11-05 07:08:25 +00:00
Steve Ruiz
39f56d564a More debugging 2021-11-05 07:03:44 +00:00
Steve Ruiz
e3775c4c12 force migrate 2021-11-05 06:57:41 +00:00
Steve Ruiz
25cd388ff3 fixes migration bug? 2021-11-05 06:52:28 +00:00
Steve Ruiz
795936f8f1 v0.1.2 2021-11-04 15:52:57 +00:00
Steve Ruiz
fe2e3c81fe
[improvement] Migrations (#217)
* Add better migrations

* Improves migrations

* rename dev to example

* renames migrate

* Removes workers from git

* Remove rogue dependency

* Fix dropdown navigation by keyboard
2021-11-04 15:48:39 +00:00
Steve Ruiz
cb777c85d1 v0.1.1 2021-11-04 13:17:11 +00:00
Steve Ruiz
92e076fb3f update tracked, scripts 2021-11-04 13:16:26 +00:00
Steve Ruiz
d69d24eb8f moves react back to peer dependencies 2021-11-04 13:09:51 +00:00
Steve Ruiz
6ea220d6b4 v0.1.0 2021-11-04 13:01:33 +00:00
Steve Ruiz
0e477676c7 Update dependencies, mark external 2021-11-04 13:00:51 +00:00
Steve Ruiz
161d69939f
[fix] Safari icons (#216)
* Fix icons on Safari, improve padding for UI

* fix types

* Update SizeMenu.tsx

* bumps size of primary buttons

* Minor UI tweaks
2021-11-04 12:26:41 +00:00
Steve Ruiz
72b6fafcc1 Fix ActionButton bug 2021-11-03 16:51:29 +00:00
Steve Ruiz
e2369003c6
[improvement] UI (#215)
* move folders out of packages

* Remove custom yarn stuff, remove duplicate readme

* Remove stitches config

* Add README script.

* bump deps

* Fix script

* Update package.json

* rehauls UI

* further rehauls UI

* UI polish

* Update ToolButton.tsx

* Update ToolButton.tsx

* Bump license

* move tldraw to root

* Remove SW
2021-11-03 16:46:33 +00:00
Steve Ruiz
b68a4681e1
[improvement] repo shuffle (#214)
* move folders out of packages

* Remove custom yarn stuff, remove duplicate readme

* Remove stitches config

* Add README script.

* bump deps

* Fix script

* Update package.json
2021-11-02 11:46:25 +00:00
Steve Ruiz
3ff8f25dbc v0.0.133 2021-11-01 15:30:10 +00:00
Steve Ruiz
0d564c1501 Remove libraries 2021-11-01 15:26:44 +00:00
Steve Ruiz
12e425ddc4
[fix] rotate center (#213)
* fixes rotate center after translating / transforming

* Adds test, fixes issue on undo/redo

* Update tsconfig.base.json
2021-10-30 10:04:33 +01:00
Steve Ruiz
cb96740dbc Update app.tsx 2021-10-29 15:01:32 +01:00
Steve Ruiz
742f9421d6 Remove core example 2021-10-29 15:01:09 +01:00
Steve Ruiz
b6f2e2940f Remove references to core, fix core example 2021-10-29 15:00:55 +01:00
Steve Ruiz
a8377139ab v0.0.132 2021-10-28 22:56:13 +01:00
Steve Ruiz
10d0a5f5a1 Adds migration for documents 2021-10-28 22:49:00 +01:00
Steve Ruiz
5901035214 v0.0.131 2021-10-28 22:34:17 +01:00
Steve Ruiz
8249d6d66c update changelog 2021-10-28 22:33:55 +01:00
Steve Ruiz
e3ec44c011 Fix bounds issue 2021-10-28 22:31:29 +01:00
Steve Ruiz
419302e673
Update to core (again) (#211)
* Updates to new core.

* Fix arrow bug
2021-10-28 18:10:36 +01:00
Steve Ruiz
5479d67877
Updates to new core. (#210) 2021-10-28 17:50:58 +01:00
Steve Ruiz
bc080a6634 bumps core 2021-10-27 18:54:07 +01:00
Steve Ruiz
599e6032a9 Removes core (off to its own repo) 2021-10-27 18:52:02 +01:00
Steve Ruiz
0e9e45734a v0.0.130 2021-10-27 17:23:04 +01:00
Steve Ruiz
f625a0f7b4 sw 2021-10-27 17:22:38 +01:00
Steve Ruiz
02a6488f46 Fix types for real 2021-10-27 17:21:49 +01:00
Steve Ruiz
c04e4134d2 Fix rendering bug, tweak API 2021-10-27 17:16:07 +01:00
Steve Ruiz
a906a3bd95 v0.0.129 2021-10-27 16:21:20 +01:00
Steve Ruiz
2e6c33342d
[refactor] ShapeUtils (#206)
* Starts refactor

* tests passing, got it

* Fix next
2021-10-27 16:15:01 +01:00
Steve Ruiz
8d6fe119a5 minor utils tweaks 2021-10-25 09:38:11 +01:00
Steve Ruiz
ac4849a360 release 2021-10-22 20:17:42 +01:00
Steve Ruiz
083b36e167 v0.0.128 2021-10-22 20:14:28 +01:00
Steve Ruiz
0f2887a039 updates package 2021-10-22 20:14:02 +01:00
Steve Ruiz
5fa09a7e4a v0.0.127 2021-10-22 20:04:50 +01:00
Steve Ruiz
b94c97aafe moves svg utils into its own package 2021-10-22 20:03:22 +01:00
Steve Ruiz
f8ede2eab2 v0.0.126 2021-10-22 15:08:07 +01:00
Steve Ruiz
fa4cc755e3
[fix] modifiers on arrow shape (#200)
* Update arrow.session.ts

* Update arrow.session.spec.ts
2021-10-22 15:06:12 +01:00
Steve Ruiz
0806d386ff v0.0.125 2021-10-22 14:51:56 +01:00
Steve Ruiz
f2960033b0
Fix shape create undos (#199) 2021-10-22 14:49:29 +01:00
Steve Ruiz
9aa9a88838 Fixes shortcuts in menu 2021-10-22 14:29:22 +01:00
Steve Ruiz
32425fb74a
Fix group pasting (#198) 2021-10-22 14:28:12 +01:00
Steve Ruiz
757feb009b
[fix] group behavior (#197)
* Fixes nudging on groups

* Fix alignment of grouped shapes

* fix distribute of grouped shapes

* Fixes stretching groups

* Fix rotate command

* Improve idsToMutate code

* remove boundsRotation
2021-10-22 14:09:39 +01:00
Steve Ruiz
dd4f39ae74
Fix bug on group cloning (#196) 2021-10-22 13:23:36 +01:00
Steve Ruiz
ad8bf78dd4
Replace ts-jest with swc-node/jest (#194) 2021-10-22 12:41:24 +01:00
Steve Ruiz
3ba4d435bc
[fix] Hides handles that are too close to a previous handle (#193)
* Hides handles that are too close to a previous handle

* Hide handles if only one handle is visible
2021-10-22 12:28:11 +01:00
Steve Ruiz
918ebef54d
Adds selected ids to commands that lack them (#192) 2021-10-22 12:08:02 +01:00
Steve Ruiz
ff50aa6ad5
[fix] bound shape size undo (#191)
* fix text centering, double click grouped text to select rather than edit

* Fix selecting grouped text

* Writes tests for select tool, fixes undo behavior while in session

* reduces binding distance, adds constants for binding distance and cloning distances

* adjust text sizes

* Update arrow.session.spec.ts
2021-10-22 12:05:23 +01:00
Tom Hicks
efbded7a06
Fix stickes: line wrap mismatch between display/edit (#189)
The 'fake' textarea used to edit text in a sticky had a different
overflow-wrap style than the component that renders the text.

By forcing the display and edit components to use the same wrapping
strategy, the caret from the textarea and the rendered text should
remain in sync.

There is a chance there are more styles which affect the wrapping of
text that could still result in various mismatches, and even moreso
when we consider more browsers (I tested this in Chrome alone).
2021-10-21 23:41:32 +01:00
Steve Ruiz
72d1c06014 Adds todo tests 2021-10-21 23:38:37 +01:00
Steve Ruiz
0dffdd2d29
[improvement] snaps (#190)
* Simplify snaps

* Update readmes

* Improves snapping

* filter snappable shapes, give viewport information to sessions
2021-10-21 19:54:54 +01:00
Steve Ruiz
8fd9cf8389
[feature] UX preferences (#172)
* Improves snapping util, styles corner buttons, adds preferences

* Update bounds.test.tsx

* Update preferences.tsx

* Update preferences.tsx

* Change copy
2021-10-19 14:29:55 +01:00
Steve Ruiz
dbf3c253ce v0.0.124 2021-10-19 12:30:36 +01:00
Steve Ruiz
246cac9b5b v0.0.123 2021-10-19 12:28:57 +01:00
Steve Ruiz
b0ff17ee68 Update translate.session.ts 2021-10-19 12:27:03 +01:00
Steve Ruiz
a7e8fafb96
Adds up and downstream links (#171) 2021-10-19 12:19:56 +01:00
Steve Ruiz
a73cffb139 Disable double-click to create text 2021-10-18 17:44:30 +01:00
Steve Ruiz
700640ad8c Adds test 2021-10-18 17:00:06 +01:00
Steve Ruiz
235a57d302 Adds indicator for text, linked translate 2021-10-18 16:59:12 +01:00
Steve Ruiz
4b24219fc1 v0.0.122 2021-10-18 15:35:02 +01:00
Steve Ruiz
6661ab0586
[feature] transform snaps (#170)
* transform single

* transform
2021-10-18 15:26:34 +01:00
Steve Ruiz
c56bf3b0eb v0.0.121 2021-10-18 14:33:07 +01:00
Steve Ruiz
0cfc68b004
[feature] snapping (#168)
* defer cloning

* basic snapping

* Improves algorithm for snap points, rendering

* Improves snapping, snaplines

* Enables a clone to snap to its parent

* Adds overlay

* Fix overlay, zoom scaling for distance and speed
2021-10-18 14:30:42 +01:00
Steve Ruiz
b1b9f901d3 v0.0.120 2021-10-17 09:57:26 +01:00
Steve Ruiz
6db09d4da5 Remove consoel log 2021-10-17 09:48:22 +01:00
Steve Ruiz
62343dab9f
[fix] zoom to selection (#164)
* fix camera on zoom to selection

* Update tlstate.ts

* Update tlstate.ts
2021-10-17 09:47:41 +01:00
Steve Ruiz
01c824bbbe
Improve rectangle rendering (#163) 2021-10-17 09:09:01 +01:00
Steve Ruiz
db62005251
Fix dark theme UI (#161)
* Fix theming

* Cleanup

* Update tldraw.tsx
2021-10-17 06:59:10 +01:00
Steve Ruiz
9b072fec95 v0.0.119 2021-10-16 23:22:36 +01:00
Steve Ruiz
58ffba3047 v0.0.118 2021-10-16 23:21:35 +01:00
Steve Ruiz
ac555cd6c6 Fix bug on arrow 2021-10-16 23:17:41 +01:00
Steve Ruiz
3f5f613e09 Update multiplayer on www 2021-10-16 21:44:58 +01:00
Steve Ruiz
abcdcd8dae
improves multiplayer presence (#160) 2021-10-16 21:24:31 +01:00
Steve Ruiz
3e7d2c3ad9 Update translate.session.ts 2021-10-16 21:06:41 +01:00
Steve Ruiz
61f7fa11ab Fix bug on sticky 2021-10-16 21:06:29 +01:00
Steve Ruiz
19aa5dc789 Fix bug on text tool 2021-10-16 20:57:26 +01:00
Steve Ruiz
273a57209f
[fix] Migrations (#159)
* Make room optional

* Improves code for migrations, adds tests

* Update tlstate.spec.ts
2021-10-16 20:34:34 +01:00
Steve Ruiz
d87263a3d8
Make room optional (#158) 2021-10-16 19:55:18 +01:00
Steve Ruiz
d5fcdfbb5a
Fix start arrow binding (#157) 2021-10-16 19:40:59 +01:00
Steve Ruiz
a4bcf32881
Adds start arrow binding (#156) 2021-10-16 15:32:55 +01:00
Steve Ruiz
7d9fcc763d Add docs for tools, sessions, cleans up tools. 2021-10-16 08:33:25 +01:00
Steve Ruiz
c9abaca8d9
[fix] copy painting (#155)
* Add click to start copy painting, fix clash with clone dragging

* Grid math
2021-10-15 20:53:27 +01:00
Steve Ruiz
794ac5e4d9
Escape or Command+Enter to complete text shape (#153)
* Escape or Command+Enter to complete text shape

* Removes isStateful flag from stickys

* Restores context menu
2021-10-15 19:40:06 +01:00
Steve Ruiz
32b2ae88ee
[feature] grid cloning (#152)
* Adds more clone buttons

* Adds grid session, fix bug on text, adds keyboard handlers for sessions

* Adds copy paint, point argument to duplicate

* Adds tests for duplicate at point

* Adds status for shape cloning

* Adds 32px padding when clone brushing
2021-10-15 17:14:36 +01:00
Steve Ruiz
0d8d45d873 v0.0.117 2021-10-15 14:13:17 +01:00
Steve Ruiz
1ec0434a3c
[improvement] improve performance (#151)
* Remove context menu

* Update stitches elements

* Update yarn.lock

* Fix bug on bounds bg

* Adds timer for will-change

* remove zindex

* jesus christ, just an extra div

* Remove will change timer
2021-10-15 13:49:48 +01:00
Steve Ruiz
2395224314 Removes context menu 2021-10-15 13:24:34 +01:00
Steve Ruiz
826ed9a185
Fixes cleanup for new shapes on undo (#150)
* Fixes cleanup for new shapes on undo

* Fix streamline
2021-10-15 10:33:48 +01:00
Steve Ruiz
f3f4ace645 v0.0.116 2021-10-14 17:32:35 +01:00
Steve Ruiz
f8516a2c4a Fix pinching on tools other than select 2021-10-14 17:25:10 +01:00
Steve Ruiz
4476cc6190 v0.0.115 2021-10-14 16:43:47 +01:00
Steve Ruiz
46c9ac508d
[feature] Side cloning (#149)
* Adds side clone behavior

* Adds tab to clone, fixes wheel

* Fix bug in draw shape

* Passing tests
2021-10-14 16:37:52 +01:00
Steve Ruiz
0183a4d5a2 Restore context menu 2021-10-14 14:28:37 +01:00
Steve Ruiz
d95a2e83a0 Fix handles when drawing 2021-10-14 14:14:47 +01:00
Steve Ruiz
1c65c51b60 Fix zoom and paste for embedded shapes 2021-10-14 13:51:21 +01:00
Steve Ruiz
f8cb7f03b6 Adds space panning, tweak css for performance 2021-10-14 13:33:39 +01:00
Steve Ruiz
5a99f5e49c Update status in tests 2021-10-14 13:33:06 +01:00
Steve Ruiz
70cd3262f5 Update status in data 2021-10-14 13:32:48 +01:00
Steve Ruiz
2319a42ecc Move set status to base tool 2021-10-14 13:32:32 +01:00
Steve Ruiz
a633dbcdbc Fix draw tool 2021-10-13 19:58:12 +01:00
Steve Ruiz
e1c307fd71
[feature] sticky notes (#148)
* Refactor toolbar

* Adds containerRef prop

* Fix arrows for groups

* Adds auto focus

* Notes on blurring

* Upgrades to match main

* Loose ends around sticky notes

* Fixes user select

* Passing tests

* Update sticky.tsx
2021-10-13 17:03:33 +01:00
Steve Ruiz
1408ac2cbe
Refactor tools (#147)
* Refactor Tools

* Update text.tsx

* Passing tests

* Error fixes

* Fix re-selecting tool

* Fix arrow
2021-10-13 14:55:31 +01:00
Steve Ruiz
be271f3ca2 Update tlstate.ts 2021-10-13 06:53:58 +01:00
Steve Ruiz
bd6197ea16 Fix types 2021-10-12 23:02:44 +01:00
Steve Ruiz
59fa1e375e Update multiplayer.tsx 2021-10-12 23:00:43 +01:00
Steve Ruiz
93827e45dd Adds indicators for selected shapes from other users 2021-10-12 15:59:04 +01:00
Steve Ruiz
7eae5c87e0 v0.0.114 2021-10-10 17:37:15 +01:00
Steve Ruiz
dca4cfca14 Update changelog 2021-10-10 17:36:42 +01:00
Steve Ruiz
2722d81dbd
Add shape fills for ellipse, rectangle (#145) 2021-10-10 16:05:13 +01:00
Steve Ruiz
aae43884ca v0.0.113 2021-10-10 14:14:04 +01:00
Steve Ruiz
74a8a40af8
[fix] Ungrouping (#144)
* Adds auto ungroup if grouping only a grouped shape

* Adds test for multiple shape ungrouping
2021-10-10 14:08:41 +01:00
Steve Ruiz
d15c1493e2 v0.0.112 2021-10-10 13:25:41 +01:00
Steve Ruiz
9b2de95ec9
Fix move to page (#143)
* Remove references to window

* Improve drawn strokes for other dash styles
2021-10-10 13:11:37 +01:00
Steve Ruiz
519c18f300 v0.0.111 2021-10-10 11:59:33 +01:00
Steve Ruiz
e695cbb07f Fix dashes on arrows 2021-10-10 11:55:52 +01:00
Steve Ruiz
a9db0dbe23 tweaks to dashes 2021-10-10 10:52:28 +01:00
Steve Ruiz
c49b2e684a
[improvement] stroke appearance (#142)
* make default style small, adjust font sizes and stroke widths

* Reduce size of handle click area

* Make save command+shift+s (just persists)

* Update stroke width for arrow

* Update stroke width for draw

* Update stroke width for ellipse

* Update stroke width for rectangle

* Tweak dash algorithm

* Updates snapshot
2021-10-10 10:41:45 +01:00
Steve Ruiz
601ff19cc9 v0.0.110 2021-10-09 15:02:48 +01:00
Steve Ruiz
d6b38ed79e
[feature] Live cursors MVP (#137)
* Adds very basic live cursors

* Adds ability to hide pages / menu
2021-10-09 14:57:44 +01:00
Steve Ruiz
99730b4fe2
[feature] MVP multiplayer support (#135)
* Adds multiplayer support

* Update liveblocks.tsx

* Update liveblocks.tsx

* Create chaos.tsx

* Fix undo redo, add merge state

* Update multiplayer-editor.tsx

* Adds secret room

* Update chaos.tsx

* Moves shhh to shhhmp

* Fix accidentally deleting the editing shape

* Fix bug where a selected shape is deleted by another user.

* Remove relative path

* Tweak editor

* Remove chaos endpoint

* Adds error state for maximum connections, fixes selectedIds bug on new rooms
2021-10-09 00:05:24 +01:00
Steve Ruiz
51dbede313 v0.0.109 2021-10-08 12:36:45 +01:00
Steve Ruiz
d2fb13e18c bumps perfect-freehand, fixes dot issue 2021-10-08 12:34:11 +01:00
Steve Ruiz
b44b59c21f Update no-size-embedded.tsx 2021-10-07 16:20:04 +01:00
Steve Ruiz
b9d7e82a7e v0.0.108 2021-10-07 16:07:44 +01:00
Steve Ruiz
a144360adf
fixes cursors, bounding box when hidden (#133) 2021-10-07 16:06:11 +01:00
Steve Ruiz
798bae28ca Set zoom scale bounds based on camera zoom 2021-10-06 13:03:45 +01:00
Steve Ruiz
5c9e148ad8 Rough fix for zoom events 2021-10-06 12:55:09 +01:00
Steve Ruiz
804bf5db60 Fixes position on page dialog. 2021-10-06 12:39:13 +01:00
Steve Ruiz
3fc86a46ee v0.0.107 2021-10-06 09:55:06 +01:00
Steve Ruiz
9a0582b9f3 Rebuilds service workers 2021-10-06 09:54:26 +01:00
Steve Ruiz
6733e27dbc bumps use gesture 2021-10-05 20:28:52 +01:00
Steve Ruiz
cb55ad96ff v0.0.106 2021-09-28 11:16:02 +01:00
Steve Ruiz
22a9668b5c
[feature] Add isStateful flag for shape definitions (#130)
* Add `isStateful` flag for shape definitions

* Update useShapeTree.tsx
2021-09-28 11:12:36 +01:00
Steve Ruiz
7e74522256 Update draw.tsx 2021-09-25 21:54:53 +01:00
Steve Ruiz
51eef7d2d0 v0.0.105 2021-09-24 15:13:03 +01:00
Steve Ruiz
151b3083f7 v0.0.104 2021-09-24 15:12:25 +01:00
Steve Ruiz
7067290eae
Fix undo/redo on deleted handles (#126) 2021-09-24 14:27:22 +01:00
Steve Ruiz
ea66362135
[fix] copy bindings (#124)
* v0.0.103

* Copies bindings together with shapes that are bound

* Remove old shape bindings from copied shape handles
2021-09-24 13:47:11 +01:00
Steve Ruiz
84a283828d Minor fixes 2021-09-24 12:52:17 +01:00
Steve Ruiz
3eb09d1eb1 Fix selection on text element 2021-09-24 12:34:30 +01:00
Steve Ruiz
639f2412d1 Fix outline on non-draw-style rectangles 2021-09-24 12:02:49 +01:00
Steve Ruiz
31638c7c90
[fix] indicator shapes (#121)
* Fix indicator shape for draw shape, rectangle shape

* Fixes perfect-freehand bug

* Tweaks streamline
2021-09-24 10:47:25 +01:00
Steve Ruiz
5d3af9cec0 v0.0.102 2021-09-23 12:47:39 +01:00
Steve Ruiz
1e3e19199c
[fix] Allows boundsDragEvents to fire even when hidden (#115)
* Allows boundsDragEvents to fire even when hidden

* Fix failing test
2021-09-23 12:45:39 +01:00
Steve Ruiz
9ddf7d0dc4 v0.0.101 2021-09-23 12:17:43 +01:00
Steve Ruiz
fc1dde724e
Makes keyboard events work again (#114) 2021-09-23 12:14:22 +01:00
Steve Ruiz
48f784c322
Fix copy group shapes as svg (#112)
* fixes copy group shapes as svg

* Update tlstate.ts

* Fix failing tests
2021-09-23 10:48:08 +01:00
Steve Ruiz
6ba76c0e78 v0.0.100 2021-09-22 18:34:36 +01:00
Steve Ruiz
2fe7923bc4
Support rotated shapes when pasting (#107) 2021-09-22 18:24:16 +01:00
Steve Ruiz
157b2b9208 v0.0.99 2021-09-22 16:01:51 +01:00
Steve Ruiz
b90c57bbc3 improve canvas positioning, fix zaxis reordering 2021-09-22 16:00:20 +01:00
Steve Ruiz
9c0de7ad9c v0.0.98 2021-09-22 14:25:50 +01:00
Steve Ruiz
86aa20fc8a Fixes text 2021-09-22 13:27:49 +01:00
Steve Ruiz
1d988f132a
[feature] Add Sentry tracking, restore installable PWA (#106)
* This PR restores the sentry and pwa features

* Add gtag to editor in events.
2021-09-22 13:17:52 +01:00
Steve Ruiz
7bc01c70f5 Add unfocus button 2021-09-22 12:40:53 +01:00
Steve Ruiz
4a99c13006
[feature] focus mode (#103)
* Adds isFocusMode

* Adds menu option, fixes scale for group dashes, scopes themes to each component based on id

* Add example for a "no size" embed
2021-09-22 12:28:55 +01:00
Steve Ruiz
421989f827 Revert changes to translate3d 2021-09-22 09:54:18 +01:00
Steve Ruiz
68efbf69fa
[fix] Fixes off-center bugs (#101)
* moves center from window center to center of element

* Removes onMount in Renderer, adds onBoundsChange

* Fix centered-g css

* Fix zoom to fit
2021-09-22 09:45:09 +01:00
Steve Ruiz
7d61d24398 v0.0.97 2021-09-21 16:50:17 +01:00
Steve Ruiz
6199b5a0b7 Bumps perfect-freehand 2021-09-21 16:49:52 +01:00
Steve Ruiz
bbee7bc2b2
Feature copy and paste (#99)
* adds copy and paste, scopes keyboard events to focused elements

* Fix tools panel bug, adds copy across documents

* Makes autofocus default
2021-09-21 16:47:04 +01:00
Steve Ruiz
eabaf2f30e v0.0.96 2021-09-19 22:57:54 +01:00
Pedro Duarte
f8b2fe1c85
Refactor to Stitches Core (#89)
* Refactor www/styles to Stitches Core

* Update package.json

* Begin refactor of `tldraw`

* More refactoring

* A bit more

* little bit more

* Update yarn.lock

* Drops React dependencies to 16.8

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-09-19 20:45:50 +01:00
Steve Ruiz
e7c6a9b6de Makes strokes more consistent across sizes / dash weights 2021-09-19 18:20:23 +01:00
Steve Ruiz
2952aab8a8
Improves logic for when to display a group as hovered (#95) 2021-09-19 17:53:32 +01:00
Steve Ruiz
87d271d7aa
[improvement] Improve rotation (#94)
* Fix rotation handle, rotation for arrows and shapes with handles

* Fix bug on draw bounds when cloning
2021-09-19 14:53:52 +01:00
Steve Ruiz
bec693a1d9
Tweaks the draw appearance, fix ellipse rotation (#93) 2021-09-18 18:39:34 +01:00
Steve Ruiz
3c3c23ec4d v0.0.95 2021-09-17 22:43:59 +01:00
Steve Ruiz
8ae625baef
Fix stale inputs reference (#92)
* Add `onMount` to Renderer to share inputs

* Removes brush updater

* Update brush.test.tsx
2021-09-17 22:29:45 +01:00
Steve Ruiz
cdb7c74f8e Updates perfect-freehand, draw renderings 2021-09-17 17:37:40 +01:00
Steve Ruiz
39afd9a3f6 v0.0.94 2021-09-15 16:49:21 +01:00
Steve Ruiz
17a7b15f9a
Changes usePosition to useLayoutEffect (#91) 2021-09-15 16:47:34 +01:00
Steve Ruiz
f5b7190010 v0.0.93 2021-09-14 12:33:28 +01:00
Steve Ruiz
820de45a35 Fix draw shape, menu 2021-09-14 12:17:49 +01:00
Steve Ruiz
abbf8f1f0c v0.0.92 2021-09-14 08:52:14 +01:00
Steve Ruiz
56f327d4f9 Adds tsconfig-replace-paths 2021-09-14 08:51:24 +01:00
Steve Ruiz
95518f6bc1 v0.0.91 2021-09-13 22:50:49 +01:00
Steve Ruiz
a2a68f4463 Fix paths on build 2021-09-13 22:49:53 +01:00
Steve Ruiz
5ce18550e7 v0.0.90 2021-09-13 22:33:24 +01:00
Steve Ruiz
fc9b9fa3e3
expand arrow bounds based on interpolated points (#90) 2021-09-13 22:32:17 +01:00
Steve Ruiz
3603ec3953 fix types 2021-09-13 17:32:31 +01:00
Steve Ruiz
eaeffae333 More type adjustments 2021-09-13 17:13:48 +01:00
Steve Ruiz
22fbca58d3 Allows for additional properties 2021-09-13 16:59:37 +01:00
Steve Ruiz
2f4a1f97a2 big refactor 2021-09-13 16:38:42 +01:00
Steve Ruiz
612269ab38 v0.0.89 2021-09-12 14:11:47 +01:00
Steve Ruiz
7c02d60ee6 bumps 2021-09-12 14:11:29 +01:00
Steve Ruiz
5cb031ddc2 v0.0.88 2021-09-12 14:09:55 +01:00
Steve Ruiz
7808d6b75e Adds package sizes to build scripts 2021-09-12 14:05:13 +01:00
Steve Ruiz
f7971d5c6f Cleans up packages, tsconfigs, fixes for docs 2021-09-12 14:00:31 +01:00
Steve Ruiz
a3da5e1937 v0.0.87 2021-09-12 13:26:57 +01:00
Steve Ruiz
7f0cfd2c5a Splits vectors and intersections into new packages
esbuild isn't currently tree shaking intersections, but that's a file where we could save some room
2021-09-12 13:21:44 +01:00
Steve Ruiz
8bcb2e1154 Fix tests 2021-09-12 00:41:50 +01:00
Steve Ruiz
915a7ba194 fix draw bug 2021-09-12 00:34:15 +01:00
Steve Ruiz
af81a98fa4 Fix jumpy shapes 2021-09-12 00:13:45 +01:00
Steve Ruiz
d79f66da4e Fix null issues (more to do here) 2021-09-11 23:58:22 +01:00
Steve Ruiz
4b7d9c2af9 Fix transforms 2021-09-11 23:24:49 +01:00
Steve Ruiz
0afd7f2806 Fix impossible type 2021-09-11 23:22:07 +01:00
Steve Ruiz
c004ed5e56 Fix text scrolling 2021-09-11 23:17:54 +01:00
Steve Ruiz
c8c3ebce68 Fix bounds edge handles 2021-09-11 20:02:16 +01:00
Steve Ruiz
dea7d5c7d4 Push a few more methods to the base shape utils class 2021-09-11 18:07:53 +01:00
Steve Ruiz
f4e8631482 Increase padding 2021-09-11 17:23:38 +01:00
Steve Ruiz
5359e92771 Move SVG container to shape implementations 2021-09-11 17:21:10 +01:00
Steve Ruiz
4c41d98c8e Fix text shape 2021-09-11 17:06:28 +01:00
Steve Ruiz
9787cafc06 Fix drawing session, avoids expensive iterations if we can 2021-09-11 17:01:59 +01:00
Steve Ruiz
e7987ca451 moves to div renderer 2021-09-11 16:24:03 +01:00
Steve Ruiz
bc96414bf7 Fix component placement 2021-09-09 23:22:22 +01:00
Steve Ruiz
35a18920f4 v0.0.86 2021-09-09 17:18:38 +01:00
Steve Ruiz
d0e33f22e1 Fix bad import, bump esbuild 2021-09-09 17:06:22 +01:00
Steve Ruiz
64e5edbd6f Fix test and accidental files from dev, fix container styles 2021-09-09 15:37:46 +01:00
Steve Ruiz
29883e09e8 Fix embedded page on dev 2021-09-09 15:18:47 +01:00
Steve Ruiz
9194ee7522 Tweak dev server 2021-09-09 14:58:55 +01:00
Steve Ruiz
44e1c7dfdc Adds independent zooms, prevents elements from effecting root or body 2021-09-09 14:06:45 +01:00
Steve Ruiz
b00e0d3a95 Improves pan and zoom gestures 2021-09-09 13:32:08 +01:00
Steve Ruiz
8154ed5a2a Adjusts small example, makes inputs unique to each instance 2021-09-08 17:18:43 +01:00
Steve Ruiz
2653f396bf v0.0.85 2021-09-08 14:48:03 +01:00
Steve Ruiz
73ed0781ea Adds patchShapes, pageId to patch / update shapes 2021-09-08 14:40:04 +01:00
Steve Ruiz
d97cfd494e v0.0.84 2021-09-08 13:04:13 +01:00
Steve Ruiz
9b23bc3719 Merge branch 'main' of https://github.com/tldraw/tldraw into main 2021-09-08 13:03:11 +01:00
Steve Ruiz
784a77fe26 Update tldraw.test.tsx 2021-09-08 13:02:58 +01:00
Steve Ruiz
21c42cbe12 Add test 2021-09-08 12:55:42 +01:00
Steve Ruiz
7489ee8174 Add imperative test, bump rko 2021-09-08 12:53:52 +01:00
Steve Ruiz
91fe0f612a v0.0.83 2021-09-08 12:16:22 +01:00
Steve Ruiz
91683769ed v0.0.82 2021-09-08 12:15:50 +01:00
Steve Ruiz
c630e1f8be Fix change to loadDocument 2021-09-08 12:09:03 +01:00
Steve Ruiz
220d8aebda Minor fixes 2021-09-08 11:58:24 +01:00
Steve Ruiz
fb2c5088a9 Remove id property 2021-09-08 11:46:28 +01:00
Steve Ruiz
2a799ade6e Update [...nextauth].ts 2021-09-08 11:39:22 +01:00
Steve Ruiz
7bba32aba2 Update tlstate.ts 2021-09-08 11:32:11 +01:00
Steve Ruiz
edc87ee317 Update app.tsx 2021-09-08 11:27:56 +01:00
Steve Ruiz
4a0800a5df cleanup 2021-09-08 11:27:05 +01:00
Steve Ruiz
4e13b0e07b Allow for resets when id changes 2021-09-08 11:16:10 +01:00
Steve Ruiz
2aeb513342 Fix control by props, add control test example 2021-09-08 10:01:45 +01:00
Steve Ruiz
ac8b54abe5 Tweak www titles heads 2021-09-06 14:37:48 +01:00
Steve Ruiz
61fb767b5a Add tests, fix bug 2021-09-06 14:30:59 +01:00
Steve Ruiz
c814786789 Remove explicit package from www 2021-09-06 14:12:19 +01:00
Steve Ruiz
c21107f9ac v0.0.81 2021-09-06 14:10:03 +01:00
Steve Ruiz
254919a6e3 Remove deepmerge dependency, use merge and patch from rok 2021-09-06 14:09:15 +01:00
Steve Ruiz
55da8880eb v0.0.80 2021-09-06 14:04:56 +01:00
Steve Ruiz
05149aacc8 Add tlstate to window in editor 2021-09-06 14:04:32 +01:00
Steve Ruiz
16ba3f9b98 Adds setter for history, tests 2021-09-06 13:50:15 +01:00
Steve Ruiz
04b6353e41 Adds setter for history 2021-09-06 13:43:56 +01:00
Steve Ruiz
e6eb277f49 Update command ids, add undo/redo stack 2021-09-06 13:14:43 +01:00
Steve Ruiz
183f9cd798 Write tests, slight tweaks to build / packages 2021-09-06 13:04:12 +01:00
Steve Ruiz
146eb87fb1 Merge branch 'main' into resolve-#75 2021-09-06 12:50:12 +01:00
Steve Ruiz
d69b8a7229 bump rko 2021-09-06 12:49:27 +01:00
Steve Ruiz
7d37cf34c1 Adds references 2021-09-06 12:44:14 +01:00
Steve Ruiz
9f2148eab9 Fixes import issue 2021-09-06 12:33:30 +01:00
Steve Ruiz
ff826712c6 Adds reset bounds 2021-09-06 12:07:15 +01:00
Steve Ruiz
c904200fc7 Merge branch 'main' into test/commands 2021-09-06 09:33:46 +01:00
Steve Ruiz
d390ef7758 v0.0.79 2021-09-05 15:20:06 +01:00
Steve Ruiz
51ef8f394c v0.0.78 2021-09-05 15:19:43 +01:00
Steve Ruiz
af69aef5c0 Tweak builds to omit declaration maps in prod 2021-09-05 15:18:08 +01:00
Steve Ruiz
f8c1b9ff4e manual bumps while I debug lerna 2021-09-05 12:19:08 +01:00
Steve Ruiz
c206b29d08 v0.0.73 2021-09-05 12:01:15 +01:00
Steve Ruiz
e081e7a698 tweaks package 2021-09-05 12:00:52 +01:00
Steve Ruiz
0d2aee0059 v0.0.72 2021-09-05 11:52:31 +01:00
Steve Ruiz
84f57601f5 Adds publishConfig 2021-09-05 11:51:59 +01:00
Steve Ruiz
cb40cfd98d v0.0.71 2021-09-05 11:47:42 +01:00
Steve Ruiz
271e615704 bump head 2021-09-05 11:47:27 +01:00
Steve Ruiz
39b8751b65 v0.0.70 2021-09-05 11:46:50 +01:00
Steve Ruiz
59ec5a3c49 v0.0.69 2021-09-05 11:46:31 +01:00
Steve Ruiz
4d3b631520 bump head 2021-09-05 11:46:25 +01:00
Steve Ruiz
7d5335b74b v0.0.68 2021-09-05 11:43:53 +01:00
Steve Ruiz
1d77ca833e removes incremental from build 2021-09-05 11:40:19 +01:00
Steve Ruiz
8672d6d454 v0.0.67 2021-09-05 11:29:08 +01:00
Steve Ruiz
0dd7354ebc more tweaks? 2021-09-05 11:28:09 +01:00
Steve Ruiz
3bebe0695f v0.0.66 2021-09-05 11:24:17 +01:00
Steve Ruiz
2f1860d35d v0.0.65 2021-09-05 11:23:46 +01:00
Steve Ruiz
d5e62d2169 Update files 2021-09-05 11:23:24 +01:00
Steve Ruiz
17f6b10a79 v0.0.65 2021-09-05 11:20:53 +01:00
Steve Ruiz
9fe4e9bfd3 v0.0.64 2021-09-05 11:15:21 +01:00
Steve Ruiz
cfca63dc8e Update package.json 2021-09-05 11:14:46 +01:00
Steve Ruiz
6af6825c25 v0.0.63 2021-09-05 11:13:44 +01:00
Steve Ruiz
c6764b870e update ignore 2021-09-05 11:13:26 +01:00
Steve Ruiz
9955ca87af remove typedoc options 2021-09-05 11:11:29 +01:00
Steve Ruiz
9e92dc13c3 v0.0.62 2021-09-05 11:08:53 +01:00
Steve Ruiz
b6028360d1 ignore docs from build 2021-09-05 11:08:28 +01:00
Steve Ruiz
89163f3d4b v0.0.61 2021-09-05 11:05:12 +01:00
Steve Ruiz
f9a2058c2e v0.0.60 2021-09-05 11:04:47 +01:00
Steve Ruiz
3f89af61b5 Adds ungroup 2021-09-05 10:51:21 +01:00
Steve Ruiz
737e1dda0d Update tlstate.ts 2021-09-04 22:40:37 +01:00
Steve Ruiz
9e12f96904 Slight changes to tsconfigs to fix bug with yarn docs 2021-09-04 22:32:05 +01:00
Steve Ruiz
13a40d1b9c Fix binding bugs 2021-09-04 22:12:07 +01:00
Tais Massaro
367f2c5cd0 test(commands): add coverage for when commands shouldn't run 2021-09-04 22:05:09 +02:00
Steve Ruiz
e93f6a0750 v0.0.59 2021-09-04 16:41:01 +01:00
Steve Ruiz
376d836154 Adds onChange and onMount to constructor 2021-09-04 16:40:23 +01:00
Steve Ruiz
8450466cbb Publish 0.0.58 2021-09-04 16:21:46 +01:00
Steve Ruiz
838fabdbff v0.0.58 2021-09-04 16:21:02 +01:00
Steve Ruiz
5948fe467d Improve names on creating page 2021-09-04 16:12:29 +01:00
Steve Ruiz
8ecddcbdbc Adds move to page 2021-09-04 16:00:13 +01:00
Steve Ruiz
dbed5f6bf4 Adds room pages, auth api routes 2021-09-04 13:18:44 +01:00
Steve Ruiz
86a3179071 Adds icons and images 2021-09-04 13:05:56 +01:00
Steve Ruiz
334f1b4de8 Update sponsorware.tsx 2021-09-04 13:04:49 +01:00
Steve Ruiz
a081840aa9 Adds auth 2021-09-04 13:02:13 +01:00
Steve Ruiz
8218af529d Restores next-transpile-modules 2021-09-04 12:36:47 +01:00
Steve Ruiz
38cbf5730e Add www to workspace packages 2021-09-04 12:29:43 +01:00
Steve Ruiz
a7520088b0 fresh start on www 2021-09-04 12:26:46 +01:00
Steve Ruiz
b223515b8a Removes references to old font 2021-09-04 11:33:48 +01:00
Steve Ruiz
87ffff5097 Updates deps, pointerMove event handlers 2021-09-04 11:32:33 +01:00
Steve Ruiz
9c64996bd8 Revert "Delete VerveineRegular.woff"
This reverts commit 7c7d1d317d.
2021-09-04 11:21:59 +01:00
Steve Ruiz
71be59ae9f Revert "Bumps stitches"
This reverts commit 303396cf05.
2021-09-04 11:21:57 +01:00
Steve Ruiz
fd31f60bae Revert "bumps and removes deps from www"
This reverts commit 75e08096d8.
2021-09-04 11:21:55 +01:00
Steve Ruiz
ca9e1981e6 Revert "More cleanup on www"
This reverts commit e4ae017082.
2021-09-04 11:21:53 +01:00
Steve Ruiz
e4ae017082 More cleanup on www 2021-09-04 11:15:10 +01:00
Steve Ruiz
75e08096d8 bumps and removes deps from www 2021-09-04 11:13:55 +01:00
Steve Ruiz
303396cf05 Bumps stitches 2021-09-04 11:11:09 +01:00
Steve Ruiz
7c7d1d317d Delete VerveineRegular.woff 2021-09-04 10:17:10 +01:00
Steve Ruiz
a74e168d97 Revert "Adds auth, etc to next.js site"
This reverts commit fbbaf08513.
2021-09-04 10:17:10 +01:00
Steve Ruiz
37985f3842 Revert "Merge branch 'next' of https://github.com/tldraw/tldraw into next"
This reverts commit 221eb7b10e, reversing
changes made to fbbaf08513.
2021-09-04 10:17:10 +01:00
Steve Ruiz
35253348d2 Revert "Migrate to stitches 1.0.0, fix a few bugs"
This reverts commit fea9e727fd.
2021-09-04 10:17:10 +01:00
Steve Ruiz
24e9be73cc Let's try that again
This reverts commit da0f8df4d7.

Revert "Update package.json"

This reverts commit 522f87c833.

Revert "removes custom document"

This reverts commit 00d9146895.

Revert "Remove a dep that may have been causing issues"

This reverts commit 69462632a5.

Revert "Update index.tsx"

This reverts commit d05807bbfb.

Revert "Adds manifest"

This reverts commit 1c30552643.
2021-09-04 10:17:10 +01:00
Steve Ruiz
da0f8df4d7 Update tsconfig.json 2021-09-04 09:51:36 +01:00
Steve Ruiz
00d9146895 removes custom document 2021-09-03 16:15:10 +01:00
Steve Ruiz
69462632a5 Remove a dep that may have been causing issues 2021-09-03 16:09:54 +01:00
Steve Ruiz
d05807bbfb Update index.tsx 2021-09-03 15:41:41 +01:00
Steve Ruiz
1c30552643 Adds manifest 2021-09-03 15:31:34 +01:00
Steve Ruiz
fea9e727fd Migrate to stitches 1.0.0, fix a few bugs 2021-09-03 15:21:28 +01:00
Steve Ruiz
221eb7b10e Merge branch 'next' of https://github.com/tldraw/tldraw into next 2021-09-03 15:12:18 +01:00
Steve Ruiz
fbbaf08513 Adds auth, etc to next.js site 2021-09-03 15:11:50 +01:00
Steve Ruiz
6de0dfee8a bumps stitches to 1.0.0, allows move events to propagate correctly 2021-09-03 13:56:07 +01:00
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