Tldraw/packages/core/src/components
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>
2021-11-26 15:14:10 +00:00
..
binding [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
bounds [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
brush update readmes 2021-11-18 14:05:44 +00:00
canvas [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
container update readmes 2021-11-18 14:05:44 +00:00
error-boundary [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
error-fallback [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
grid [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
handles fix stuck pointer during text editing / palm hits (#316) 2021-11-20 00:05:48 +00:00
html-container [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
overlay [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
page fix stuck pointer during text editing / palm hits (#316) 2021-11-20 00:05:48 +00:00
renderer [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
shape fix stuck pointer during text editing / palm hits (#316) 2021-11-20 00:05:48 +00:00
shape-indicator fix stuck pointer during text editing / palm hits (#316) 2021-11-20 00:05:48 +00:00
snap-lines [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
svg-container [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
user [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
users [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
users-indicators [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
index.tsx [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00