Steve Ruiz
0fe3d80fa4
v1.1.11
4 years ago
Steve Ruiz
1c0f711a53
Update changelogs
4 years ago
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 2d93f84a87 .
* 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 >
4 years ago
Steve Ruiz
a8f2522d20
v1.1.5
4 years ago
Christian Petersen
e2814943e9
[feature] Add grids (#344)
* [feature] grids
* Shows relative grids at different zoom levels
* Update colors
* Restores vec and intersect to monorepo, changes vec.round to vec.toFixed, adds vec.snap
* Snapping in translate and transforms, fix shortcut
* fix bugs in build
* use grid size for nudge too
* update scripts
* Update grid.tsx
* Update grid.tsx
* Fixed!
* Update grid.tsx
* Fix package imports
* Update Editor.tsx
* Improve tsconfigs, imports
* Fix tiny arrow bugs, snap starting points to grid
* Update tsconfig.base.json
* Update shape-styles.ts
* Fix example tsconfig
* Fix translate type error
* Fix types, paths
Co-authored-by: Steve Ruiz <steveruizok@gmail.com >
4 years ago
Proful Sadangi
1f7f779506
feature middle mouse wheel pan (#364)
4 years ago
Steve Ruiz
b4d3d929ab
v1.1.3
4 years ago
Steve Ruiz
a2fff9dca7
[improvement] Add basic support for copying text (#354)
* Add getSvgElement
* Update TextUtil.tsx
* Add sticky svg
* Fix bounds bug, improve text export
* Include fonts
4 years ago
Yao Wang
f8dc5b3248
[docs] fix type (tldraw/core) (#353)
- `Indicator` -> `Component`
Closes #352
4 years ago
Steve Ruiz
588a023e0e
v1.1.2
4 years ago
Steve Ruiz
bbbb9bcabb
Fix kbd spacing (#325)
4 years ago
Steve Ruiz
119b1e3d0f
v1.1.0
4 years ago
Steve Ruiz
7faa716784
v1.0.5
4 years ago
Steve Ruiz
62803443ef
fix stuck pointer during text editing / palm hits (#316)
4 years ago
Steve Ruiz
af0764d3f9
v1.0.4
4 years ago
Steve Ruiz
e542f1fde5
Update READMEs (#290)
* Update readmes
* tweak links
* Update README.md
4 years ago
Steve Ruiz
9158666a09
Update README.md
4 years ago
Steve Ruiz
6af6cfb617
update readmes
4 years ago
Steve Ruiz
e6a3e5c3ea
[big chore] restore core to monorepo (#287)
* move core into repo, apps into apps folder, update tests
* Update scripts for build:core
* improve scripts
* remove noise from www
* Update .gitignore
* Fix focus bug
* add ci test script
* Update main.yml
4 years ago
Steve Ruiz
599e6032a9
Removes core (off to its own repo)
4 years ago
Steve Ruiz
0e9e45734a
v0.0.130
4 years ago
Steve Ruiz
02a6488f46
Fix types for real
4 years ago
Steve Ruiz
c04e4134d2
Fix rendering bug, tweak API
4 years ago
Steve Ruiz
a906a3bd95
v0.0.129
4 years ago
Steve Ruiz
2e6c33342d
[refactor] ShapeUtils (#206)
* Starts refactor
* tests passing, got it
* Fix next
4 years ago
Steve Ruiz
8d6fe119a5
minor utils tweaks
4 years ago
Steve Ruiz
ac4849a360
release
4 years ago
Steve Ruiz
083b36e167
v0.0.128
4 years ago
Steve Ruiz
0f2887a039
updates package
4 years ago
Steve Ruiz
5fa09a7e4a
v0.0.127
4 years ago
Steve Ruiz
b94c97aafe
moves svg utils into its own package
4 years ago
Steve Ruiz
f8ede2eab2
v0.0.126
4 years ago
Steve Ruiz
0806d386ff
v0.0.125
4 years ago
Steve Ruiz
757feb009b
[fix] group behavior (#197)
* Fixes nudging on groups
* Fix alignment of grouped shapes
* fix distribute of grouped shapes
* Fixes stretching groups
* Fix rotate command
* Improve idsToMutate code
* remove boundsRotation
4 years ago
Steve Ruiz
3ba4d435bc
[fix] Hides handles that are too close to a previous handle (#193)
* Hides handles that are too close to a previous handle
* Hide handles if only one handle is visible
4 years ago
Steve Ruiz
ff50aa6ad5
[fix] bound shape size undo (#191)
* fix text centering, double click grouped text to select rather than edit
* Fix selecting grouped text
* Writes tests for select tool, fixes undo behavior while in session
* reduces binding distance, adds constants for binding distance and cloning distances
* adjust text sizes
* Update arrow.session.spec.ts
4 years ago
Steve Ruiz
0dffdd2d29
[improvement] snaps (#190)
* Simplify snaps
* Update readmes
* Improves snapping
* filter snappable shapes, give viewport information to sessions
4 years ago
Steve Ruiz
8fd9cf8389
[feature] UX preferences (#172)
* Improves snapping util, styles corner buttons, adds preferences
* Update bounds.test.tsx
* Update preferences.tsx
* Update preferences.tsx
* Change copy
4 years ago
Steve Ruiz
dbf3c253ce
v0.0.124
4 years ago
Steve Ruiz
246cac9b5b
v0.0.123
4 years ago
Steve Ruiz
a7e8fafb96
Adds up and downstream links (#171)
4 years ago
Steve Ruiz
235a57d302
Adds indicator for text, linked translate
4 years ago
Steve Ruiz
4b24219fc1
v0.0.122
4 years ago
Steve Ruiz
6661ab0586
[feature] transform snaps (#170)
* transform single
* transform
4 years ago
Steve Ruiz
c56bf3b0eb
v0.0.121
4 years ago
Steve Ruiz
0cfc68b004
[feature] snapping (#168)
* defer cloning
* basic snapping
* Improves algorithm for snap points, rendering
* Improves snapping, snaplines
* Enables a clone to snap to its parent
* Adds overlay
* Fix overlay, zoom scaling for distance and speed
4 years ago
Steve Ruiz
b1b9f901d3
v0.0.120
4 years ago
Steve Ruiz
01c824bbbe
Improve rectangle rendering (#163)
4 years ago
Steve Ruiz
db62005251
Fix dark theme UI (#161)
* Fix theming
* Cleanup
* Update tldraw.tsx
4 years ago
Steve Ruiz
9b072fec95
v0.0.119
4 years ago