Commit graph

91 commits

Author SHA1 Message Date
Yevhen Hraivoronskyi
8a01b5574c V2 small code improvements (#240)
* slightly improved import

* better type defs

* merged append and insert as they pretty same

* Run prettier
2020-01-12 15:08:34 -08:00
kusti8
ac661ca3ba Add more wx components 2020-01-10 14:01:09 -05:00
kusti8
b599c18ae0 Add wx backend option 2020-01-08 20:50:30 -05:00
Gustav Hansen
d7d4e70a6e Convert everything to typescript 2020-01-03 16:05:14 -05:00
Gustav Hansen
173dd2c28a Add hot reloading to examples, fix reloading bugs 2020-01-01 12:28:16 -05:00
Gustav Hansen
c291396f39 Add hot reloading support 2020-01-01 04:34:25 -05:00
kusti8
6ac09c76ba Add calculator example; try to get devtools working 2019-12-22 21:35:19 -05:00
Gustav Hansen
5806065925 Abstract QT bindings 2019-12-20 13:36:48 -05:00
Gustav Hansen
c2a17b32f9 Fix App appendChild with comments 2019-12-15 16:56:11 -05:00
Gustav Hansen
b251835434 Start docs 2019-12-15 15:43:09 -05:00
Gustav Hansen
03b1ea8323 Fix percent issue and start more documentation 2019-12-06 09:50:01 -05:00
kusti8
bae7800b57 Many bug fixes, get cat example to work 2019-11-14 17:24:07 -05:00
kusti8
610460995e Copy docs, start examples 2019-10-17 17:32:40 -04:00
kusti8
bb6b9990b3 Fix quit deleting still in use pointers 2019-10-13 10:46:54 -04:00
kusti8
2f3ba4fcf6 Fix require not working with jest 2019-09-21 14:14:59 -04:00
kusti8
9c982e24e9 Quit loop when all windows closed 2019-09-21 11:56:58 -04:00
kusti8
29d6d7b852 Fix button view 2019-09-18 17:18:57 -04:00
kusti8
87a6f60750 Add image resizing and TextInput 2019-09-15 11:57:40 -04:00
Gustav Hansen
56a1dbded7 Start on image 2019-07-27 11:56:19 -04:00
Gustav Hansen
39adcac9ee Add support for image require 2019-06-29 20:05:20 -04:00
kusti8
c0893d6ca1 Add touchablehighlight. Start button 2019-06-21 20:58:46 -04:00
kusti8
25e4349d7c Fix build errors, unsupport trusty 2019-06-20 20:27:39 -04:00
Gustav Hansen
7b756baf21 Add opacity. Need to investigate seg fault 2019-06-20 14:23:06 -04:00
Gustav Hansen
5e60326d0c Add touchablewithoutfeedback 2019-06-04 14:48:20 -04:00
Gustav Hansen
87df58e374 Various changes, start adding tests 2019-05-14 18:31:00 -04:00
Gustav Hansen
ada109c4d3 Add stylesheet 2019-05-12 18:17:01 -04:00
Gustav Hansen
14421c6642 Font size must be in px, so convert if it isn't 2019-05-12 13:57:24 -04:00
Gustav Hansen
03c8552faf Fix text measurement and qt hogging layout styles 2019-05-12 13:44:05 -04:00
Gustav Hansen
ccf03d179f Add nested text support 2019-05-11 13:27:04 -04:00
Gustav Hansen
3f0200209a Add styling and better props management 2019-05-09 18:34:14 -04:00
Gustav Hansen
a310fcbb7f Add flexbox support, still need to test more 2019-05-08 20:19:35 -04:00
Gustav Hansen
4375fde875 Add View support 2019-05-07 21:54:39 -04:00
Gustav Hansen
48682e461a Start on rewriting registerComponent 2019-05-05 18:40:23 -04:00
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
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
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
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
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
kusti8
995314ff22 Add insertBefore and fix RadioButton.Item handling Fixes #152 and #148 2018-06-01 18:37:23 -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
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
devin.zhang
686e77e52e Message bug fixed for Dialog component (#121) 2018-05-11 18:18:14 -04:00
Niklas Mischkulnig
b43fb50bec Devtools (#112)
* Fix devtools

* Refactor

* Quit properly with devtools
2018-05-07 17:57:46 -04:00
Vincenzo Ciaccio
d56eca7207 - propTypes fixes (#110)
- adding .idea/ to gitignore
2018-05-06 13:17:34 -04:00