Christian Petersen
e2814943e9
[feature] Add grids (#344)
* [feature] grids
* Shows relative grids at different zoom levels
* Update colors
* Restores vec and intersect to monorepo, changes vec.round to vec.toFixed, adds vec.snap
* Snapping in translate and transforms, fix shortcut
* fix bugs in build
* use grid size for nudge too
* update scripts
* Update grid.tsx
* Update grid.tsx
* Fixed!
* Update grid.tsx
* Fix package imports
* Update Editor.tsx
* Improve tsconfigs, imports
* Fix tiny arrow bugs, snap starting points to grid
* Update tsconfig.base.json
* Update shape-styles.ts
* Fix example tsconfig
* Fix translate type error
* Fix types, paths
Co-authored-by: Steve Ruiz <steveruizok@gmail.com >
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Steve Ruiz
0d564c1501
Remove libraries
4 years ago
Steve Ruiz
5479d67877
Updates to new core. (#210)
4 years ago
Steve Ruiz
2e6c33342d
[refactor] ShapeUtils (#206)
* Starts refactor
* tests passing, got it
* Fix next
4 years ago
Steve Ruiz
2f4a1f97a2
big refactor
4 years ago
Steve Ruiz
7d37cf34c1
Adds references
4 years ago
Steve Ruiz
a081840aa9
Adds auth
4 years ago
Steve Ruiz
a7520088b0
fresh start on www
4 years ago
Steve Ruiz
fd31f60bae
Revert "bumps and removes deps from www"
This reverts commit 75e08096d8 .
4 years ago
Steve Ruiz
75e08096d8
bumps and removes deps from www
4 years ago
Steve Ruiz
a74e168d97
Revert "Adds auth, etc to next.js site"
This reverts commit fbbaf08513 .
4 years ago
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 .
4 years ago
Steve Ruiz
da0f8df4d7
Update tsconfig.json
4 years ago
Steve Ruiz
fbbaf08513
Adds auth, etc to next.js site
4 years ago
Steve Ruiz
c619ef0ec1
cleans up package.json, scripts
4 years ago
Steve Ruiz
bd938c995b
cleans up tsconfigs
4 years ago
Steve Ruiz
8c02e0df84
Improves types and imports!
4 years ago
Steve Ruiz
c92eba9c4e
Fix build errors
4 years ago
Steve Ruiz
5998879e24
Replace
4 years ago
Steve Ruiz
a24b7f7931
Adds tests, fixes bug on pre-complete sessions
4 years ago
Steve Ruiz
864ded959a
big cleanup
4 years ago
Steve Ruiz
aabc7e8e0f
Adds text
4 years ago
Steve Ruiz
055caef3a5
a good starter template
4 years ago