Commit graph

918 commits

Author SHA1 Message Date
Steve Ruiz
742f9421d6 Remove core example 2021-10-29 15:01:09 +01:00
Steve Ruiz
b6f2e2940f Remove references to core, fix core example 2021-10-29 15:00:55 +01:00
Steve Ruiz
a8377139ab v0.0.132 2021-10-28 22:56:13 +01:00
Steve Ruiz
559ed0d074 Update CHANGELOG.md 2021-10-28 22:50:22 +01:00
Steve Ruiz
10d0a5f5a1 Adds migration for documents 2021-10-28 22:49:00 +01:00
Steve Ruiz
5901035214 v0.0.131 2021-10-28 22:34:17 +01:00
Steve Ruiz
8249d6d66c update changelog 2021-10-28 22:33:55 +01:00
Steve Ruiz
e3ec44c011 Fix bounds issue 2021-10-28 22:31:29 +01:00
Steve Ruiz
419302e673
Update to core (again) (#211)
* Updates to new core.

* Fix arrow bug
2021-10-28 18:10:36 +01:00
Steve Ruiz
5479d67877
Updates to new core. (#210) 2021-10-28 17:50:58 +01:00
Steve Ruiz
bc080a6634 bumps core 2021-10-27 18:54:07 +01:00
Steve Ruiz
599e6032a9 Removes core (off to its own repo) 2021-10-27 18:52:02 +01:00
Steve Ruiz
0e9e45734a v0.0.130 2021-10-27 17:23:04 +01:00
Steve Ruiz
f625a0f7b4 sw 2021-10-27 17:22:38 +01:00
Steve Ruiz
02a6488f46 Fix types for real 2021-10-27 17:21:49 +01:00
Steve Ruiz
c04e4134d2 Fix rendering bug, tweak API 2021-10-27 17:16:07 +01:00
Steve Ruiz
a906a3bd95 v0.0.129 2021-10-27 16:21:20 +01:00
Steve Ruiz
2e6c33342d
[refactor] ShapeUtils (#206)
* Starts refactor

* tests passing, got it

* Fix next
2021-10-27 16:15:01 +01:00
Steve Ruiz
8d6fe119a5 minor utils tweaks 2021-10-25 09:38:11 +01:00
Steve Ruiz
ac4849a360 release 2021-10-22 20:17:42 +01:00
Steve Ruiz
083b36e167 v0.0.128 2021-10-22 20:14:28 +01:00
Steve Ruiz
0f2887a039 updates package 2021-10-22 20:14:02 +01:00
Steve Ruiz
5fa09a7e4a v0.0.127 2021-10-22 20:04:50 +01:00
Steve Ruiz
b94c97aafe moves svg utils into its own package 2021-10-22 20:03:22 +01:00
Steve Ruiz
f8ede2eab2 v0.0.126 2021-10-22 15:08:07 +01:00
Steve Ruiz
46d59dee88 Update CHANGELOG.md 2021-10-22 15:07:47 +01:00
Steve Ruiz
fa4cc755e3
[fix] modifiers on arrow shape (#200)
* Update arrow.session.ts

* Update arrow.session.spec.ts
2021-10-22 15:06:12 +01:00
Steve Ruiz
0806d386ff v0.0.125 2021-10-22 14:51:56 +01:00
Steve Ruiz
f2960033b0
Fix shape create undos (#199) 2021-10-22 14:49:29 +01:00
Steve Ruiz
9aa9a88838 Fixes shortcuts in menu 2021-10-22 14:29:22 +01:00
Steve Ruiz
32425fb74a
Fix group pasting (#198) 2021-10-22 14:28:12 +01:00
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
2021-10-22 14:09:39 +01:00
Steve Ruiz
dd4f39ae74
Fix bug on group cloning (#196) 2021-10-22 13:23:36 +01:00
Steve Ruiz
ad8bf78dd4
Replace ts-jest with swc-node/jest (#194) 2021-10-22 12:41:24 +01:00
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
2021-10-22 12:28:11 +01:00
Steve Ruiz
918ebef54d
Adds selected ids to commands that lack them (#192) 2021-10-22 12:08:02 +01:00
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
2021-10-22 12:05:23 +01:00
Tom Hicks
efbded7a06
Fix stickes: line wrap mismatch between display/edit (#189)
The 'fake' textarea used to edit text in a sticky had a different
overflow-wrap style than the component that renders the text.

By forcing the display and edit components to use the same wrapping
strategy, the caret from the textarea and the rendered text should
remain in sync.

There is a chance there are more styles which affect the wrapping of
text that could still result in various mismatches, and even moreso
when we consider more browsers (I tested this in Chrome alone).
2021-10-21 23:41:32 +01:00
Steve Ruiz
72d1c06014 Adds todo tests 2021-10-21 23:38:37 +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
dbf3c253ce v0.0.124 2021-10-19 12:30:36 +01:00
Steve Ruiz
c6af4e7cf0 Update CHANGELOG.md 2021-10-19 12:29:56 +01:00
Steve Ruiz
246cac9b5b v0.0.123 2021-10-19 12:28:57 +01:00
Steve Ruiz
1013e62a7b Update CHANGELOG.md 2021-10-19 12:28:33 +01:00
Steve Ruiz
b0ff17ee68 Update translate.session.ts 2021-10-19 12:27:03 +01:00
Steve Ruiz
a7e8fafb96
Adds up and downstream links (#171) 2021-10-19 12:19:56 +01:00
Steve Ruiz
a73cffb139 Disable double-click to create text 2021-10-18 17:44:30 +01:00
Steve Ruiz
700640ad8c Adds test 2021-10-18 17:00:06 +01:00
Steve Ruiz
235a57d302 Adds indicator for text, linked translate 2021-10-18 16:59:12 +01:00