tldraw/packages
Steve Ruiz 1367e4c500
[feature] Things on the canvas (#2150)
This PR adds two new component overrides to the editor's `components`
slot. They are:

- `<OnTheCanvas/>`, which renders inside of the html layer that scales
and translates with the camera
- `<InFrontOfTheCanvas/>`, which renders in front of the canvas but
behind any UI elements, and which does not scale / pan with the camera.

![Kapture 2023-11-06 at 12 19
15](https://github.com/tldraw/tldraw/assets/23072548/51c0421d-8b39-48b5-9b8a-c717253c3423)

### Change Type

- [x] `minor` — New feature

### Test Plan

1. See the "on the canvas" example.

### Release Notes

- [editor] Adds two new components, `OnTheCanvas` and
`InFrontOfTheCanvas`.
2023-11-07 09:27:20 +00:00
..
assets bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
editor [feature] Things on the canvas (#2150) 2023-11-07 09:27:20 +00:00
state bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
store bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
tldraw [feature] Things on the canvas (#2150) 2023-11-07 09:27:20 +00:00
tlschema bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
utils bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00
validate bump prerelease from alpha to beta (#2148) 2023-11-06 11:57:12 +00:00