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>
2021-11-26 15:14:10 +00:00
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
2021-11-18 13:09:18 +00:00
Steve Ruiz
599e6032a9
Removes core (off to its own repo)
2021-10-27 18:52:02 +01:00
Steve Ruiz
8d6fe119a5
minor utils tweaks
2021-10-25 09:38:11 +01:00
Steve Ruiz
0dffdd2d29
[improvement] snaps ( #190 )
...
* Simplify snaps
* Update readmes
* Improves snapping
* filter snappable shapes, give viewport information to sessions
2021-10-21 19:54:54 +01:00
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
2021-10-19 14:29:55 +01:00
Steve Ruiz
6661ab0586
[feature] transform snaps ( #170 )
...
* transform single
* transform
2021-10-18 15:26:34 +01:00
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
2021-10-18 14:30:42 +01:00
Steve Ruiz
01c824bbbe
Improve rectangle rendering ( #163 )
2021-10-17 09:09:01 +01:00
Steve Ruiz
e1c307fd71
[feature] sticky notes ( #148 )
...
* Refactor toolbar
* Adds containerRef prop
* Fix arrows for groups
* Adds auto focus
* Notes on blurring
* Upgrades to match main
* Loose ends around sticky notes
* Fixes user select
* Passing tests
* Update sticky.tsx
2021-10-13 17:03:33 +01:00
Steve Ruiz
31638c7c90
[fix] indicator shapes ( #121 )
...
* Fix indicator shape for draw shape, rectangle shape
* Fixes perfect-freehand bug
* Tweaks streamline
2021-09-24 10:47:25 +01:00
Steve Ruiz
87d271d7aa
[improvement] Improve rotation ( #94 )
...
* Fix rotation handle, rotation for arrows and shapes with handles
* Fix bug on draw bounds when cloning
2021-09-19 14:53:52 +01:00
Steve Ruiz
bec693a1d9
Tweaks the draw appearance, fix ellipse rotation ( #93 )
2021-09-18 18:39:34 +01:00
Steve Ruiz
cdb7c74f8e
Updates perfect-freehand, draw renderings
2021-09-17 17:37:40 +01:00
Steve Ruiz
7f0cfd2c5a
Splits vectors and intersections into new packages
...
esbuild isn't currently tree shaking intersections, but that's a file where we could save some room
2021-09-12 13:21:44 +01:00
Steve Ruiz
b00e0d3a95
Improves pan and zoom gestures
2021-09-09 13:32:08 +01:00
Steve Ruiz
220d8aebda
Minor fixes
2021-09-08 11:58:24 +01:00
Steve Ruiz
254919a6e3
Remove deepmerge dependency, use merge and patch from rok
2021-09-06 14:09:15 +01:00
Steve Ruiz
87ffff5097
Updates deps, pointerMove event handlers
2021-09-04 11:32:33 +01:00
Steve Ruiz
24e9be73cc
Let's try that again
...
This reverts commit da0f8df4d7
.
Revert "Update package.json"
This reverts commit 522f87c833
.
Revert "removes custom document"
This reverts commit 00d9146895
.
Revert "Remove a dep that may have been causing issues"
This reverts commit 69462632a5
.
Revert "Update index.tsx"
This reverts commit d05807bbfb
.
Revert "Adds manifest"
This reverts commit 1c30552643
.
2021-09-04 10:17:10 +01:00
Steve Ruiz
69462632a5
Remove a dep that may have been causing issues
2021-09-03 16:09:54 +01:00
Steve Ruiz
64d00dc427
Replaces isDarkMode with meta, a more flexible option for custom rendering context
2021-08-30 11:44:42 +01:00
Steve Ruiz
c3e6c55a68
Bumps perfect-freehand
2021-08-27 10:53:01 +01:00
Steve Ruiz
4c39e19543
Adds point in polygon
2021-08-21 22:21:11 +01:00
Steve Ruiz
f19d3e6366
Fixes database issues, fixes rendering issue
2021-08-18 00:11:00 +01:00
Steve Ruiz
8c02e0df84
Improves types and imports!
2021-08-13 10:28:09 +01:00
Steve Ruiz
b737a42ca9
Adds ellipse binding
2021-08-11 15:51:24 +01:00
Steve Ruiz
5998879e24
Replace
2021-08-10 17:12:55 +01:00