163 Commits

Author SHA1 Message Date
David Luzar
42968ef44d enable curveFitting & bump roughjs (#373) 2020-01-15 20:01:50 +01:00
Preet
d2a3ed7931 Bump roughjs version to fix ellipse fills (#367) 2020-01-13 21:39:42 -08:00
Preet
8dbd1b80df Update to rough.js 4.0.1 (#363)
* upgrade to latest rough.js

* remove random.ts because roughjs now supports seeding.
2020-01-13 11:04:28 -08:00
Christopher Chedeau
8785bef523
Support transparent background + inline picker (#325)
Unfortunately, react-color has a bug where transparent color doesn't trigger onChange. I've been annoyed by the huge dependency anyway so decided to take the generated html (which is awesome) and reimplement a specific component for it.

I also made sure that we don't actually render anything when the background is transparent on rough (I looked at the generated path and made sure it didn't have the commands for the background)
2020-01-11 19:10:41 -08:00
Gasim Gasimzada
4b7eb2f04a
Add IDs to elements (#236)
* Add IDs to elements

- Move round rect function within the renderer

* Generate IDs using nanoid

* If element ID does not exist, add the ID during restoration
2020-01-07 23:49:39 +04:00
Gasim Gasimzada
85365e5bcb
Extract Sidebar panels into separate components (#230)
* Extract Sidebar panels into separate components

* Add Jest TS types
2020-01-07 15:06:22 +04:00
Jared Palmer
b5c67260d7 Improved color picker (#174)
* Add react-color

* Prettier

* Better styles

* Use enum for color pickers instead of strings

* Run prettier on .scss file
2020-01-05 13:05:55 -08:00
Timur Khazamov
79959cab34 Removed lodash (#135) 2020-01-04 12:53:45 -08:00
dwelle
a1bcfb401c move css to scss 2020-01-04 19:14:12 +01:00
Paulo Menezes
b1a90c0020 Side panel (#95)
* Side panel

* Update arrow icon
2020-01-03 19:58:20 -08:00
Giovanni Giordano
585967ff8e Remove gh-pages 2020-01-03 22:43:41 +01:00
Giovanni Giordano
7bcce8bb1b Fixes package-lock 2020-01-03 22:13:41 +01:00
Giovanni Giordano
3aeed022b5 Add node worklow 2020-01-03 21:43:02 +01:00