Commit graph

18 commits

Author SHA1 Message Date
Gustav Hansen
0e00f43356 Upgrade react-reconciler to support hooks, run prettier Fixes #200 2019-02-16 13:45:02 -05:00
Niklas Mischkulnig
6d2d32f6fc More Area features (#168)
* Add scrolling area

* Gradients

* Fix typo and add scrolling to area docs

* Implement imperative gradient api

As per discussion in #130

* Fix links in area documentation

* Update example for area gradients

* Add docs for new gradient api

* Format all docs with prettier

* Really fix docs hyperlinks

* Added to docs: ignore ...opacity for gradients
2018-11-08 18:04:32 -08:00
Andreas Böhrnsen
bfb83a16f9 Fix "save" when hitting cancel (#175) 2018-09-17 17:52:23 -04:00
Maciej Sopyło
20819de675 feat: add size getters to the Area component (#174)
* feat: add `onSizeChanged` event to the Area component

* Remove area exposure and fix area example

* Update documentation
2018-09-06 12:50:55 -07:00
Niklas Mischkulnig
ca789cbc00 Fix updating of AreaText/-Group children (#172)
* Fix conditional rendering of children in Area

* Fix updating of Area.Text

Closes #171

* Add Demo.js to prettier script

* Fixup for AreaText
2018-09-01 09:54:43 -04:00
Niklas Mischkulnig
06ee92d1f7 Add styled text (#141)
* Proof of concept fonts

* Inheirit font style

* Use style prop

* More font attributes

* Reset demo

* Fixes

* Font example

* Text transforms, integrate FontButton

* Add docs

* Add StyledText

* Update package lock

* Add StyledText to prop checking

* Update documentation for StyledText

* Add markdown prettier

* Change default font size
2018-06-09 14:04:49 -04:00
Niklas Mischkulnig
f428111471 Add new charts example (#137)
* Add example

* Fix charts

* Fix for Linux
2018-05-19 13:11:54 -04:00
Niklas Mischkulnig
02b9bb3e81 Area fixup (#126)
* Area fixup

* Translate key event paramters

* More fixups

* Add count to mousedown
2018-05-18 18:48:27 -04:00
Andrea Parodi
78bd25484a Set components non-stretchy (#129) 2018-05-16 17:33:31 -04:00
Niklas Mischkulnig
4676db369c Fix catapi example (#128) 2018-05-15 16:23:38 -04:00
kusti8
c9da93a55e Add new example with redux 2018-05-13 15:20:21 -04:00
Niklas Mischkulnig
7bb6fa589f Area (#78)
* Area

* Update, percentages as values, transforms!

* Rename Area elements, Circle, CSS colors

* Transform: matrix, skew

* Add Path

* Add fill & stroke options, fix transforms

* Inheriting props

* Fix area events, start on documentation

* Complete documentation

* Properly apply transforms, complete sidebar

* Use dot for Area components, fix Circle

* Add held buttons for onMouseMove

* Fix transform=scale for now

* Fill mode for Area.Path

* Fixes for windows

* Complete area_props list

* Throw on unimplement path commands

* More sophisticated path example

* Cleanup

* More helpful error message
2018-05-02 19:05:27 -04:00
Niklas Mischkulnig
7d985e4d3e Fix package.json files (#63)
- put build tools into devDependencies (closes #62)
- Silence `warning package.json: License should be a valid SPDX license expression`
- `./node_modules/.bin/` isn't needed in npm scripts
- make Demo.js look better
2018-03-22 09:50:17 -04:00
Niklas Mischkulnig
c3a528945a Update for libui-node 0.1.0 (#57)
* Update for libui-node 0_1_0

- Use native eventloop
- position got removed

* Update libui-node version to 0.1.0

* babel rebuild

* Cleanup

* Fix non-check menu items

* Make quit menu work

* Add onShouldQuit to App and expose to user

* Remove bin
2018-03-22 09:48:12 -04:00
Francisco Sales
cdcb5564a4 fix notepad example (#32) 2018-02-25 22:24:11 -05:00
Kasey Hinton
dd4720c4f8 Fixes rendering and cursor placement issue in notepad example. (#17)
* Adds shouldComponentUpdate to fix rendering issue/ cursor placement with setState. Fixes formatting.

* Checks to see if nextState is coming from fs or input and updates accordingly.
2018-02-21 10:36:46 -05:00
soorajvnair
a26f2f8e66 add standalone example app 2018-02-18 02:20:59 +05:30
kusti8
e7966e6fcb Add notes example. Fixes #1 2018-02-15 21:45:02 -05:00