Commit graph

527 commits

Author SHA1 Message Date
Steve Ruiz
eb20f1c816
[fix] current style and selected style (#298)
* Fix selectedStyles from being new on each update

* Fix again

* Update TldrawApp.ts

* Fix log around current style and selected style

* Add stub test, move style menu into folder

* Cleanup repo

* cleanup context menu
2021-11-19 10:19:06 +00:00
Steve Ruiz
e0b607e512 Undo fixes 2021-11-18 19:54:20 +00:00
Steve Ruiz
e7f61eac34
Fix selectedStyles from being new on each update (#293) 2021-11-18 18:18:30 +00:00
Steve Ruiz
2f8d973b07 Fix error when starting a session while already in a session. 2021-11-18 16:38:49 +00:00
Steve Ruiz
2f1816404b
Fix bug in ellipse (#292) 2021-11-18 16:33:12 +00:00
Steve Ruiz
e542f1fde5
Update READMEs (#290)
* Update readmes

* tweak links

* Update README.md
2021-11-18 15:07:55 +00:00
Steve Ruiz
9158666a09 Update README.md 2021-11-18 14:06:05 +00:00
Steve Ruiz
6af6cfb617 update readmes 2021-11-18 14:05:44 +00:00
Steve Ruiz
e6a3e5c3ea
[big chore] restore core to monorepo (#287)
* move core into repo, apps into apps folder, update tests

* Update scripts for build:core

* improve scripts

* remove noise from www

* Update .gitignore

* Fix focus bug

* add ci test script

* Update main.yml
2021-11-18 13:09:18 +00:00
Steve Ruiz
878ca710b7 bumps rko 2021-11-18 12:13:38 +00:00
Steve Ruiz
2398ba80ec Update TldrawApp.ts 2021-11-18 11:39:20 +00:00
Steve Ruiz
c965c12532 Fix default behavior for copy svg / copy json 2021-11-18 11:39:00 +00:00
Steve Ruiz
3228ff6352 Add prompt to confirm new project 2021-11-18 11:23:19 +00:00
Steve Ruiz
d1b37b7997 Fix text breaks 2021-11-18 08:25:47 +00:00
Steve Ruiz
5590362b0a update scripts 2021-11-17 11:54:59 +00:00
Steve Ruiz
325008ff82 v1.0.3 2021-11-17 11:50:57 +00:00
Steve Ruiz
1fb5c633c5 fix issue with create-react-app 2021-11-17 11:50:30 +00:00
Steve Ruiz
409f3513a1 v1.0.2 2021-11-17 11:24:45 +00:00
Steve Ruiz
f9a4d81135 bump rko 2021-11-17 11:24:12 +00:00
Steve Ruiz
3cb4d1c679 v1.0.1 2021-11-17 11:09:32 +00:00
Steve Ruiz
d867e439e1 Update CHANGELOG.md 2021-11-17 11:09:12 +00:00
Steve Ruiz
2c1cba0a49 Improves action button / delete button appearance 2021-11-17 11:06:56 +00:00
Steve Ruiz
1ef5f85e59
[feature] resize from center (#279)
* adds alt key to transform from center

* adds tests
2021-11-17 11:05:33 +00:00
Steve Ruiz
c1e053fb11 Fix toggle prop 2021-11-16 21:21:02 +00:00
Steve Ruiz
280b831c51 reduce dimming on disabled buttons 2021-11-16 21:05:35 +00:00
Steve Ruiz
b1002b70e9 Round points when a draw shape is completed 2021-11-16 21:04:00 +00:00
Steve Ruiz
6d3251f195 Fix multiplayer room 2021-11-16 19:41:16 +00:00
Steve Ruiz
d0a673931f action button / delete button disabled when selection is empty 2021-11-16 17:05:17 +00:00
Steve Ruiz
b9fdb89995 v1.0.0 2021-11-16 16:03:54 +00:00
Steve Ruiz
0c5f8dda48
1.0.0 (#267)
* remove sponsorwall for main route

* Adds sponsorship link

* Remove all sponsorwall

* Fix sponsorship link appearance on dark mode

* Add heart icon

* Fix text bug

* Fix toolbar, hide resize handles on sticky

* Add eraser

* Update Kbd.tsx

* cleanup

* base zoom delta on event deltaMode

* Fix image in example

* Fix eraser icon

* eraser tool resets to previous tool

* Update EraseTool.spec.ts

* Improves support for locked shapes

* Update _document.tsx

* Update CHANGELOG.md

* Adds multiplayer menu, fix develop route in example

* Tighten up top panel padding

* Update top bar, bump packages

* refactor TLDrawState -> TLDrawApp, mutables, new tests

* Fix scaling bug, delete groups bug

* fix snapping

* add pressure to points

* Remove mutables, rename to tldraw (or Tldraw)

* Clean up types, add darkmode prop

* more renaming

* rename getShapeUtils to getShapeUtil

* Fix file names

* Fix last bugs related to renaming

* Update state to app in tests

* rename types to TD

* remove unused styles / rename styles

* slight update to panel

* Fix rogue radix perf issue

* Update ZoomMenu.tsx

* Consolidate style panel

* Fix text wrapping in text shape, improve action menu

* Fix props

* add indicators for tool lock

* fix calloits

* Add click to erase shapes

* Slightly improve loading screen

* Update PrimaryTools.tsx

* remove force consistent filenames from tsconfig

* Update useTldrawApp.tsx

* fix capitalization

* Update main.yml
2021-11-16 16:01:29 +00:00
Steve Ruiz
8fd8e534f4 Update CHANGELOG.md 2021-11-12 22:30:35 +00:00
Steve Ruiz
f0a766b653 v0.1.17 2021-11-12 22:30:04 +00:00
Steve Ruiz
738fa2f8d6 v0.1.16 2021-11-12 22:28:30 +00:00
Steve Ruiz
f0e89b591b v0.1.15 2021-11-12 22:27:38 +00:00
Steve Ruiz
e215b3a25e Update TLDrawState.ts 2021-11-12 22:26:45 +00:00
Steve Ruiz
569948a7d8 v0.1.14 2021-11-12 22:25:32 +00:00
Steve Ruiz
d13e25b5b0 Remove copy-files 2021-11-12 22:22:39 +00:00
Steve Ruiz
ec9a40b800
Update DrawSession.ts (#272) 2021-11-12 22:19:50 +00:00
Steve Ruiz
b3d0e7cceb
Adds double click to tool lock, replaces tool lock button with delete button (#266) 2021-11-11 13:03:13 +00:00
Steve Ruiz
e4076acc5f v0.1.13 2021-11-11 12:16:10 +00:00
Steve Ruiz
9c8d064aaa v0.1.12 2021-11-11 12:13:04 +00:00
Steve Ruiz
84a91ccc70 updates docs / readmes / adds contributor guide 2021-11-11 12:11:21 +00:00
Steve Ruiz
5be36d9bd8 changelog 2021-11-11 11:41:04 +00:00
Steve Ruiz
fa38c0ef0d
[improvement] examples (#264)
* Example project, fix bugs in readonly mode

* Adds ui options
2021-11-11 11:37:57 +00:00
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