1927f88041
Based on #1549, but with a lot of code-structure related changes backed out. Shape schemas are still defined in tlschemas with this diff. Couple differences between this and #1549: - This tightens up the relationship between store schemas and editor schemas a bit - Reduces the number of places we need to remember to include core shapes - Only `<TLdrawEditor />` sets default shapes by default. If you're doing something funky with lower-level APIs, you need to specify `defaultShapes` manually - Replaces `validator` with `props` for shapes ### Change Type - [x] `major` — Breaking Change ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [x] Unit Tests - [ ] Webdriver tests ### Release Notes [dev-facing, notes to come] |
||
---|---|---|
.. | ||
1-basic | ||
2-api | ||
3-custom-config | ||
4-custom-ui | ||
5-exploded | ||
6-scroll | ||
7-multiple | ||
8-error-boundary | ||
9-hide-ui | ||
10-custom-components | ||
11-user-presence | ||
12-ui-events | ||
13-store-events | ||
14-persistence | ||
15-custom-zones | ||
end-to-end | ||
icons | ||
yjs | ||
index.html | ||
index.tsx | ||
styles.css |