Commit graph

42 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
Maciej Sopyło
cbf7a102be fix: Group example (#197)
The Group example was showing multiple children in the group, contrary to the `Note` below.
2019-02-10 10:17:56 -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
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
kusti8
d7296eff3b Add clarification on selection index. Fixes #158 2018-06-18 20:42:19 -04:00
kusti8
a938308d14 Remove mention of submenus. Fixes #157 2018-06-17 15:09:56 -04:00
Niklas Mischkulnig
178c0903b3 Font fixes (#155)
* Fix AreaText crash

* Add x and y to AreaText doc
2018-06-09 16:35:36 -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
Gustav Hansen
c8b00d9ae4
Add min and max for slider (#133)
* Add min max support for slider

* Reset demo

* Don't destroy children elements for slider

* Prevent slider from resetting when recreated

* Reset value for slider when beyond max or min. Cleanup code

* Add to documentation
2018-05-21 16:35:23 -04:00
kusti8
3305f997f9 Change onClick to onChange in docs. Fixes #140 2018-05-21 16:21:07 -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
kusti8
3b9cad4a75 Add note about grid expand. Fixes #113 2018-05-11 16:07:47 -04:00
Mohammed Salman
cd7eb302b9 Fixed Rectangle error (#114) 2018-05-07 14:26:09 -04:00
Gustav Hansen
b877fc1e5c
Remove onPositionChanged from props list 2018-05-07 10:56:24 -04:00
Vincenzo Ciaccio
e80c86375e - adding some linux screenshot (#111) 2018-05-06 13:02:09 -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
kusti8
052144519c Fix naming in documentation. Fixes #80 2018-04-26 20:26:09 -04:00
kusti8
2e9ffb56b9 Add warning for more than one child in Window and Group. Fixes #66 2018-03-30 10:38:44 -04:00
kusti8
e4d9f6f84a Add Text component documentation. Fixes #65 2018-03-30 10:25:46 -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
Gustav Hansen
d074092cc3 Fix #59 2018-03-21 11:19:06 -04:00
kusti8
9a30aa49af Embed examples into readme and add JSX highlighting 2018-03-02 19:25:58 -05:00
kusti8
14f9472638 Add default values to docs. Fixes #29 2018-03-01 21:24:57 -05:00
kusti8
73917c1e20 Fix missing grid example. Fixes #10 2018-02-22 22:57:43 -05:00
kusti8
291ad2bfcf Move to react naming conventions. Fixes #9 2018-02-22 22:54:39 -05:00
palaniraja
f76359796b
Error missing closing tag on <RadioButtons> 2018-02-18 21:53:21 +05:30
kusti8
0185775c2d Update window height and width settings 2018-02-15 20:29:31 -05:00
Gustav Hansen
76fa1686fb
Merge pull request #4 from RicheyRyan/patch-3
Change progress_bar.md title to be consistent
2018-02-15 06:28:43 -05:00
Gustav Hansen
42742075b2
Merge pull request #3 from RicheyRyan/patch-2
Change title of color_button.md
2018-02-15 06:28:27 -05:00
Richey Ryan
36eacf6beb
Change progress_bar.md title to be consistent
Other files with a two word title format them like `TextInput` or `RadioButtons` whereas this file has `Progress Bar`
2018-02-15 09:39:13 +00:00
Richey Ryan
1af7efb8e3
Change title of color_button.md
Change title from Button to ColorButton
2018-02-15 09:36:27 +00:00
Richey Ryan
62e579df90
Change title of Box.md to be Box instead of Button 2018-02-15 09:33:28 +00:00
kusti8
e10f481861 Add Dialog docs. Docs are finished 2018-02-14 16:40:14 -05:00
kusti8
700addc379 [WIP] add docs and unfinished tab doc 2018-02-13 23:07:58 -05:00
kusti8
407ab4a9b6 Add grid docs 2018-02-11 21:48:26 -05:00
kusti8
eb0d1e8a49 Add form and initial grid docs 2018-02-11 21:32:28 -05:00
kusti8
e77d3aa927 Fix stretchy not working 2018-02-11 20:08:44 -05:00
kusti8
b5d3bd1468 Add checkbox docs 2018-02-11 18:52:24 -05:00
kusti8
a829e72da1 Add windows example 2018-02-11 17:01:02 -05:00
kusti8
5943306d9c Add prelim documentation 2018-02-11 16:31:52 -05:00
kusti8
0365e7f62a Add menu and separator docs 2018-02-10 23:52:54 -05:00
kusti8
f42f4dddd6 Fix children default and add some docs 2018-02-10 23:42:41 -05:00