tldraw/packages
Steve Ruiz 649125cdad
[refactor] Remove TLShapeDef, getShapeUtilByType. (#1432)
This PR removes `TLShapeDef` and associated helpers / references.

It purposely loosens the configuration and typings to better support
customization.

### Change Type

- [x] `major` — Breaking Change

### Test Plan

1. Use the app!

### Release Notes

- [tlschema] Update props of `createTLSchema`
- [editor] Update props of `TldrawEditorConfig`
- [editor] Remove `App.getShapeUtilByType`
- [editor] Update `App.getShapeUtil` to take a type rather than a shape

---------

Co-authored-by: alex <alex@dytry.ch>
2023-05-23 12:32:42 +00:00
..
assets [feature] add laser pointer (#1412) 2023-05-19 11:09:13 +00:00
editor [refactor] Remove TLShapeDef, getShapeUtilByType. (#1432) 2023-05-23 12:32:42 +00:00
file-format avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
indices Create @tldraw/indices package (#1426) 2023-05-22 08:18:01 +00:00
polyfills avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
primitives Measure individual words instead of just line breaks for text exports (#1397) 2023-05-22 15:10:03 +00:00
tldraw avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlschema [refactor] Remove TLShapeDef, getShapeUtilByType. (#1432) 2023-05-23 12:32:42 +00:00
tlstore [refactor] Remove TLShapeDef, getShapeUtilByType. (#1432) 2023-05-23 12:32:42 +00:00
tlsync-client avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlvalidate avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
ui [refactor] Remove TLShapeDef, getShapeUtilByType. (#1432) 2023-05-23 12:32:42 +00:00
utils Create @tldraw/indices package (#1426) 2023-05-22 08:18:01 +00:00