98cc0d4cac
* 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>
1.5 KiB
1.5 KiB
Changelog
0.1.21
New:
- Adds the
isGhost
prop toTLShape
. InTLComponentProps
, theisGhost
prop will be true if either a shape has itsisGhost
set totrue
OR if a shape is the descendant of a shape withisGhost
set totrue
. A ghost shape will have thetl-ghost
class name, though this is not used in the Renderer. You can set it yourself in your app. - Adds the
isChildOfSelected
prop forTLComponentProps
. If a shape is the child of a selected shape, itsisChildOfSelected
prop will be true.
Improved:
- Fixes a bug that could occur with the order of grouped shapes.
- Adds an Eraser tool to the advanced example.
- Adds a Pencil tool to the advanced example.
0.1.20
- Update docs.
- Adds
hideResizeHandles
prop.
0.1.19
- Remove stray
index.js
files.
0.1.18
- Even more dependency fixes.
0.1.17
- More dependency fixes.
0.1.16
- Fix dependencies, remove
@use-gesture/react
from bundle.
0.1.15
- Fix README.
0.1.14
- Add README to package.
0.1.13
- Remove
type
fromTLBinding
.
0.1.12
- Fix bug with initial bounds.
0.1.12
- Fix bug with initial bounds.
0.1.12
- Fix bug with bounds handle events.
0.1.11
- Fix bug with initial camera state.
0.1.10
- Improve example.
- Improve types for
TLPage
.
0.1.9
- Bug fixes.
0.1.8
- Expands README.
- Removes properties specific to the tldraw app.
0.1.7
- Fixes selection bug with SVGContainer.
- Removes various properties specific to the tldraw app.
0.1.0
- Re-writes API for ShapeUtils.