tldraw/packages/ui
Steve Ruiz bb96852b9d
[feature] check-box geo shape (#1330)
This PR adds a `check-box` geo shape. 

![Kapture 2023-05-08 at 15 31
49](https://user-images.githubusercontent.com/23072548/236853749-99ba786f-73a4-4b65-86ca-f2cdac61a903.gif)

It also improves some logic around the `onClick` shape util handler and
some surprisingly related fixes to point hit testing.

### Test Plan

1. Create a geo shape
2. Set it as a checkbox style
3. *easter egg* double click while holding alt to toggle between
check-box and rectangle

- [x] Unit Tests

### Release Note

- Adds checkbox geo shape.
2023-05-09 13:32:04 +00:00
..
src [feature] check-box geo shape (#1330) 2023-05-09 13:32:04 +00:00
api-extractor.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
api-report.md [feature] check-box geo shape (#1330) 2023-05-09 13:32:04 +00:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
package.json update @radix-ui/react-popover to 1.0.6-rc.5 (#1206) 2023-05-03 08:28:55 +00:00
README.md readmes 2023-05-04 13:47:56 +01:00
setupTests.js derived presence state (#1204) 2023-04-27 18:03:19 +00:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
ui.css remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00

@tldraw/ui

License

The source code in this repository (as well as our 2.0+ distributions and releases) are currently licensed under Apache-2.0. These licenses are subject to change in our upcoming 2.0 release. If you are planning to use tldraw in a commercial product, please reach out at hello@tldraw.com.