Commit graph

23 commits

Author SHA1 Message Date
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
0e00f43356 Upgrade react-reconciler to support hooks, run prettier Fixes #200 2019-02-16 13:45:02 -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
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
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
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
60b93e2e4a Remove unnecessary react-dom. Fixes #119 2018-05-11 18:11:46 -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
4d26e0a1b5 Bump version to v1.0.17 and push to npm. 2018-03-30 10:59:19 -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
cf1c9c2d3c Remove JSX from src/ 2018-03-21 09:43:09 -04:00
Niklas Mischkulnig
57896ffed9 Fix crash with Quit menu item on Windows (#56)
* Fix crash with Quit menu item on Windows

* Bump version
2018-03-18 09:59:28 -04:00
Alejandro Ñáñez Ortiz
25a027d26e add pre commit hook (#46) 2018-03-07 08:45:34 -05:00
kusti8
e10f481861 Add Dialog docs. Docs are finished 2018-02-14 16:40:14 -05:00
kusti8
a829e72da1 Add windows example 2018-02-11 17:01:02 -05:00
Gustav Hansen
9f3ecf4dc1 Add new components 2018-02-04 21:11:33 -05:00
kusti8
ba84836cca Run prettier 2018-02-04 13:21:37 -05:00
kusti8
6173687889 Add still testing code 2018-02-03 10:26:15 -05:00