Commit Graph

125 Commits

Author SHA1 Message Date
86eadf379d Update Prettier scripts and supported files (#402) 2020-01-16 23:50:02 +02:00
42968ef44d enable curveFitting & bump roughjs (#373) 2020-01-15 20:01:50 +01:00
d2a3ed7931 Bump roughjs version to fix ellipse fills (#367) 2020-01-13 21:39:42 -08:00
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
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
068dca604f prevent commit on eslint warnings & fix lint (#268) 2020-01-08 20:08:43 +01:00
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
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
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
79959cab34 Removed lodash (#135) 2020-01-04 12:53:45 -08:00
3172109050 Inline font-awesome icons (#134) 2020-01-04 12:47:12 -08:00
a1bcfb401c move css to scss 2020-01-04 19:14:12 +01:00
b1a90c0020 Side panel (#95)
* Side panel

* Update arrow icon
2020-01-03 19:58:20 -08:00
585967ff8e Remove gh-pages 2020-01-03 22:43:41 +01:00
7bcce8bb1b Fixes package-lock 2020-01-03 22:13:41 +01:00
d920b34af1 Fix package.json 2020-01-03 22:11:01 +01:00
f5c923ab01 Merge branch 'master' into issue-68 2020-01-03 22:02:23 +01:00
493f06e6ba Add --passWithNoTests to test script
This is mandatory to pass the step currently, because we don't have tests.
2020-01-03 21:59:36 +01:00
a7516f6cb8 Remove lint
We have to investigate on this, because after the Typescript integration is not working anymore, so I have to deepen how we can configure the usage with TypesScript.
2020-01-03 21:56:03 +01:00
b36110ef03 Build and deploy via yarn deploy 2020-01-04 01:52:52 +05:00
7d9cc2ac56 Deploy static to gh-pages 2020-01-04 01:52:09 +05:00
499035c267 Add lint script 2020-01-03 21:51:24 +01:00
36b36e8dc3 Add github workflow 2020-01-03 21:32:29 +01:00
1383758aa7 TS, Prettier, Eslint (#39)
* TS, Prettier, Eslint

* Used rough ts definitions
2020-01-02 11:03:48 -08:00
6278cd9366 Initial commit 2020-01-01 17:04:47 -08:00