No description
Find a file
Noah Shipley 98cc0d4cac
Feature/mobx - adds mobx support to @tldraw/core (#383)
* Initial commit with mobx

* Convert more to mobx

* Make useCameraCss reactive (autorun)

* Move more items to mobx

* Fix more invalid components and layout hooks that needed to be reactive

* Add autorun to css layout effect

* Remove centric specific yarn.lock changes

* mild cleanup

* update from main

* add tests, example

* cleanup

* minor tweak to advanced example

* Update app.tsx

* Optimizations around events not being memoized

* Support className property on SVGContainer

* Add data-type to shape container to aid with external styling

* Fix classnames

* Fixes bug on text shapes / shapes with refs

* v1.1.9-beta.1

* v1.1.9-beta.2

* Drop mobx as a dependency for core

* v1.1.9-beta.3

* rename

* Revert "Drop mobx as a dependency for core"

This reverts commit 2d93f84a87f0c709e55fb2766519bfde03f8e854.

* remove unused code from utils, move curve to separate package

* v1.1.9-beta.4

* Add pretty-quick

* Update package.json

* Renamings

Co-authored-by: Noah Shipley <nshipley@centricsoftware.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-28 10:05:40 +00:00
.github Delete sponsors.yml 2021-11-19 14:14:45 +00:00
.husky [mega-chore] renaming (#223) 2021-11-06 11:16:30 +00:00
.vscode Add recommended extensions 2021-11-27 17:15:45 +00:00
apps Clearer Single Line VS Code Extension Explanation (#402) 2021-11-27 14:19:55 -05:00
assets Add recommended extensions 2021-11-27 17:15:45 +00:00
examples Feature/mobx - adds mobx support to @tldraw/core (#383) 2021-11-28 10:05:40 +00:00
guides docs(contribute doc): move the guides folder to root folder (#329) 2021-11-21 12:09:52 +00:00
packages Feature/mobx - adds mobx support to @tldraw/core (#383) 2021-11-28 10:05:40 +00:00
.eslintignore Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
.eslintrc Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
.gitignore [chore] repo-map.tldr, vscode extension improvements (#332) 2021-11-21 11:36:03 +00:00
.npmignore Replace 2021-08-10 17:12:55 +01:00
.prettierrc Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
CODE_OF_CONDUCT.md updates docs / readmes / adds contributor guide 2021-11-11 12:11:21 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-11-23 15:09:51 +00:00
lerna.json v1.1.10 2021-11-27 16:22:14 +00:00
LICENSE.md [improvement] UI (#215) 2021-11-03 16:46:33 +00:00
package.json Feature/mobx - adds mobx support to @tldraw/core (#383) 2021-11-28 10:05:40 +00:00
README.md [improvement] VS Code extension README (#379) 2021-11-27 14:31:47 +00:00
repo-map.tldr [improvement] refactor multiplayer (#336) 2021-11-22 14:00:24 +00:00
setupTests.ts Adjusts small example, makes inputs unique to each instance 2021-09-08 17:18:43 +01:00
tsconfig.base.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
tsconfig.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
yarn.lock Feature/mobx - adds mobx support to @tldraw/core (#383) 2021-11-28 10:05:40 +00:00

A screenshot of the tldraw web app

Welcome to the tldraw monorepo.

🙌 Questions? Join the Discord channel or start a discussion.

💕 Love this project? Consider becoming a sponsor.

Thanks to our corporate sponsors:

...and to our individual sponsors!

Contents

This repository is a monorepo containing two packages:

  • packages/tldraw contains the source for the @tldraw/tldraw package. This is an editor as a React component named <Tldraw>. You can use this package to embed the tldraw editor in any React application.
  • packages/core contains the source for the @tldraw/core package. This is a renderer for React components in a canvas-style UI. It is used by @tldraw/tldraw as well as several other projects.

...and three apps:

...and three examples:

Discussion

Want to connect? Visit the Discord channel.

Contribution

Interested in contributing? See the contributing guide.

Support

Need help? Please open an issue for support.

License

This project is licensed under MIT.

If you're using the library in a commercial product, please consider becoming a sponsor.

Author