Commit graph

205 commits

Author SHA1 Message Date
Gustav Hansen
ab482b1205
Update README.md 2021-01-19 22:20:26 -05:00
kusti8
6fe8691e67 Fix yoga check for window element 2020-03-16 18:14:46 -04:00
kusti8
6078e19ed7 Fix TS errors 2020-03-16 17:51:16 -04:00
kusti8
27c13a6d5f Bump version and node-qt-napi version 2020-03-16 17:43:55 -04:00
kusti8
e445893f11 Add onMove, fix #246 2020-03-16 17:39:23 -04:00
kusti8
3912d25d9c Warn on lack of App/Window and passing children to Button 2020-03-16 16:35:01 -04:00
kusti8
ec9228c941 Fix TS build with mouse events 2020-03-16 16:05:32 -04:00
Roman Liutikov
d0bdc84386
Add View component docs page (#261)
* Add View coponent docs page

* typo

* add missing types
2020-03-16 15:54:49 -04:00
Roman Liutikov
a135cd6361
Add mouseMoveEvent, enterEvent and leaveEvent (#248)
* impl mouseMoveEvent, enterEvent and leaveEvent

* update example

* mention new mouse events in the docs
2020-03-16 15:54:32 -04:00
Connor H
0f248629bf
Fix types for intrinsic elements (#255)
Intrinsic elements are now properly typed
2020-01-30 12:50:47 -05:00
Alex Rosario
0722b3c2c8
Existence guard containerProps.children (#257)
Prevents a `Cannot read property 'children' of undefined` error if using an element not yet defined, therefore allows the `Element is not defined` error to actually throw.
2020-01-30 12:36:36 -05:00
Alex Rosario
125869ce79
TS 3.7.3 existence guard on children.map (#251)
Solves #250 , uses super-newly accepted ?. syntax; feel free to use older basic `children && children.map && ...` instead if needed.
2020-01-30 12:33:52 -05:00
kusti8
4bdddff246 Update calculator image 2020-01-20 18:40:48 -05:00
Hammed Oyedele
67e6c6a885 fix: add the missing digit '5' (#245)
Currently, there is no number `5` in the app instead `2` is been used at its place.
2020-01-20 15:38:37 -08:00
kusti8
5754a12862 Update sidebar order 2020-01-19 10:00:35 -05:00
kusti8
fce7d867a0 Bump to 2.0.4! 2020-01-19 10:00:11 -05:00
Gustav Hansen
b5ca0f7f86
V2 (#230)
* Add initial test structure and some tests for Window

* Start on rewriting registerComponent

* Add View support

* Add flexbox support, still need to test more

* Add styling and better props management

* Add nested text support

* Fix text measurement and qt hogging layout styles

* Font size must be in px, so convert if it isn't

* Add stylesheet

* Various changes, start adding tests

* Try out travis CI

* Remove xwd package

* Install qt5

* Install correct moc

* Add g++ 5

* Add xwd and imagemagick

* Yoga layout doesn't support v12 right now

* Add touchablewithoutfeedback

* Add opacity. Need to investigate seg fault

* Fix build errors, unsupport trusty

* Force xenial version

* Add touchablehighlight. Start button

* Add support for image require

* Start on image

* Add image resizing and TextInput

* Fix button view

* Quit loop when all windows closed

* Fix require not working with jest

* Fix quit deleting still in use pointers

* Disable caching

* Depend on stable node-qt-napi

* Copy docs, start examples

* Many bug fixes, get cat example to work

* Fix percent issue and start more documentation

* Start docs

* Finish docs

* Fix App appendChild with comments

* Abstract QT bindings

* Add calculator example; try to get devtools working

* Update react-devtools

* Add hot reloading support

* Add hot reloading to examples, fix reloading bugs

* Update documentation on v2

* Add more examples to v2 changes

* Change readme for v2

* Remove packaging until it works

* Add prepack instead

* Use node-qt-napi up

* 2.0.1

* Convert everything to typescript

* Add note on TS

* Update readme with new images

* Add comparison to others in docs

* Add packaging instructions

* Fix windows packaging

* Create FUNDING.yml

* Update v2_changes.md

* Create LICENSE

* Add wx backend option

* Add more wx components

* Add wx backend notes

* Add note on mac wxwidgets libuv bug

* Add note on Macs with libuv bug

* Use npx by default

* Bump version for wx backend

* V2 small code improvements (#240)

* slightly improved import

* better type defs

* merged append and insert as they pretty same

* Run prettier

* Add issue templates (#241)

* About page typo (#216)

* Update quickstart.md (#223)

* Update README.md (#229)

* Create FUNDING.yml

* Add issue templates

* Update README.md

Co-authored-by: Yevhen Hraivoronskyi <evhenious@gmail.com>
2020-01-19 06:55:30 -08:00
Gustav Hansen
8a49786413
Create FUNDING.yml 2020-01-07 10:24:22 -05:00
pungggi
1c8e2eda6e Update README.md (#229) 2019-09-21 09:14:21 -07:00
Zaoqi
6682da3831 Update quickstart.md (#223) 2019-08-28 15:16:27 -04:00
zpalmtree
3f1fd5fe07 About page typo (#216) 2019-06-29 17:51:49 -04: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