Commit graph

185 commits

Author SHA1 Message Date
Gustav Hansen
f3ff3d4e22 Add initial test structure and some tests for Window 2019-02-17 11:39:10 -05:00
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
Gustav Hansen
57b5309128 Update docs on Windows packaging 2018-12-22 18:36:17 -05:00
Gustav Hansen
fbccd9e4cd Bump react-devtools for electron fix 2018-12-22 18:29:16 -05:00
Gustav Hansen
748d19e0fb Bump version to 1.1.10 2018-11-08 21:06:38 -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
Gustav Hansen
00d0eddba4 Move docsify back to 4.7.1 to fix docs background 2018-11-08 20:44:53 -05:00
Niklas Mischkulnig
2cce542067 Remove old code in Window (#176)
There is no UiWindow.center() function in libui-node anymore and the centered prop wasn't documented in proton-native.
2018-09-17 17:53:07 -04: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
kusti8
f01f335341 Bump version to 1.1.9 2018-08-05 08:51:34 -04:00
Gustav Hansen
b30c828b95
Make hotloading and forceUpdate work (#164) 2018-07-27 19:09:10 -04:00
kusti8
77da61bb19 Render child after reparent. Fixes #161 2018-07-07 09:54:58 -04:00
kusti8
62e4b00d77 Add note on typescript 2018-06-18 20:45:49 -04: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
kusti8
20d1c6fd06 Bump version to 1.1.8 2018-06-09 16:36:08 -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
kusti8
9fbc83ec36 Bump version to 1.1.7 2018-06-09 14:06:04 -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
kusti8
6879944389 Add initial external functionality docs. Fixes #101 2018-06-05 19:21:25 -04:00
kusti8
cb60e63d9a Bump to v1.1.6 2018-06-02 08:35:04 -04:00
kusti8
995314ff22 Add insertBefore and fix RadioButton.Item handling Fixes #152 and #148 2018-06-01 18:37:23 -04:00
Niklas Mischkulnig
8f9f925ef7 Bump dependencies (#146) 2018-05-26 21:43:44 -04:00
kusti8
89f4c84df8 Update gif 2018-05-21 17:19:38 -04:00
kusti8
3ce7aa2216 Add cat api gif 2018-05-21 17:16:31 -04:00
kusti8
73c3e0408a Bump version to 1.1.5 for min max slider 2018-05-21 16:36:55 -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
b1cdf446e7 Add devtools documentation. Fixes #139 2018-05-21 16:25:02 -04:00
kusti8
3305f997f9 Change onClick to onChange in docs. Fixes #140 2018-05-21 16:21:07 -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
kusti8
dd10bbb19b Bug fixes, bump to v1.1.4 2018-05-18 18:57:08 -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
Niklas Mischkulnig
52b2ebe8fb Fix ColorButton color format (#136)
* Fix ColorButton onChange (closes #135)

* Make RGB integers
2018-05-18 18:47:24 -04:00
kusti8
d8530c7f76 If statement allowed color to keep on being set. Fixes #132 2018-05-16 18:19:11 -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
Andrea Parodi
d31fec26f6 Bump version of libui-node to 0.2.0 (#125) 2018-05-13 15:19:45 -04:00
Andrea Parodi
f6f362856d typo (#124) 2018-05-13 12:32:52 -04:00
devin.zhang
686e77e52e Message bug fixed for Dialog component (#121) 2018-05-11 18:18:14 -04:00
kusti8
60b93e2e4a Remove unnecessary react-dom. Fixes #119 2018-05-11 18:11:46 -04:00
kusti8
24bf86edf3 Add initial contributing. Fixes #118 2018-05-11 16:28:35 -04:00
kusti8
bf67a15aa5 Add alias for sidebar. Fixes #120 2018-05-11 16:13:09 -04:00
kusti8
3b9cad4a75 Add note about grid expand. Fixes #113 2018-05-11 16:07:47 -04:00
Niklas Mischkulnig
b43fb50bec Devtools (#112)
* Fix devtools

* Refactor

* Quit properly with devtools
2018-05-07 17:57:46 -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