Commit graph

53 commits

Author SHA1 Message Date
kusti8
27c13a6d5f Bump version and node-qt-napi version 2020-03-16 17:43:55 -04: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
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
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
kusti8
20d1c6fd06 Bump version to 1.1.8 2018-06-09 16:36:08 -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
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
73c3e0408a Bump version to 1.1.5 for min max slider 2018-05-21 16:36:55 -04:00
kusti8
dd10bbb19b Bug fixes, bump to v1.1.4 2018-05-18 18:57:08 -04:00
Andrea Parodi
d31fec26f6 Bump version of libui-node to 0.2.0 (#125) 2018-05-13 15:19:45 -04:00
kusti8
60b93e2e4a Remove unnecessary react-dom. Fixes #119 2018-05-11 18:11:46 -04:00
kusti8
53b08bea3c 1.1.3 2018-05-06 13:21:08 -04:00
kusti8
48e1ce247e Bump version for ColorButton fixes. 1.1.2 2018-05-06 13:20:14 -04:00
kusti8
a8c93390d0 Push update with small bug fixes. 2018-05-02 19:59:18 -04:00
kusti8
3f7ebd64c7 Publish area changes 2018-05-02 19:10:42 -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
Reza Akhavan
01d4dbb412 Resolves #89 (#93) 2018-05-02 19:03:20 -04:00
kusti8
13d46d3f6f Published from wrong branch. v1.0.18 2018-04-04 14:28:32 -04:00
kusti8
4d26e0a1b5 Bump version to v1.0.17 and push to npm. 2018-03-30 10:59:19 -04:00
kusti8
d4d9760d97 Bump version and publish 2018-03-22 10:06:58 -04:00
Niklas Mischkulnig
7d985e4d3e Fix package.json files (#63)
- put build tools into devDependencies (closes #62)
- Silence `warning package.json: License should be a valid SPDX license expression`
- `./node_modules/.bin/` isn't needed in npm scripts
- make Demo.js look better
2018-03-22 09:50:17 -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
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
c6bea3916c Update version 2018-03-02 19:06:11 -05:00
kusti8
4d4224d08f Update readme 2018-03-02 18:58:45 -05:00
kusti8
291ad2bfcf Move to react naming conventions. Fixes #9 2018-02-22 22:54:39 -05:00
kusti8
e7966e6fcb Add notes example. Fixes #1 2018-02-15 21:45:02 -05:00
kusti8
1b3de3278c Add own custom event_loop. Fixes #5 2018-02-15 20:55:26 -05:00
kusti8
0f84d902b5 Update version 2018-02-14 18:36:55 -05:00
kusti8
593b04889d Forgot to build 2018-02-14 18:36:00 -05:00
kusti8
e10f481861 Add Dialog docs. Docs are finished 2018-02-14 16:40:14 -05:00
kusti8
b75290e42b Update npm package 2018-02-12 16:17:14 -05:00
Gustav Hansen
cf6891f133
Remove bin from prettier 2018-02-12 14:31:53 -05:00
kusti8
e77d3aa927 Fix stretchy not working 2018-02-11 20:08:44 -05:00
kusti8
f42f4dddd6 Fix children default and add some docs 2018-02-10 23:42:41 -05:00
kusti8
584e22daa7 Remove print statements 2018-02-10 22:30:39 -05:00
kusti8
86fdbf4853 Add menu 2018-02-10 12:17:10 -05:00
kusti8
415cabc7a7 Add bin and docs 2018-02-10 09:47:50 -05:00
kusti8
a35ed645ae Add initial documentation, add form, and prep for tab (pass full parent, not just element) 2018-02-05 19:43:25 -05:00
kusti8
6266d3c336 Fix small color bugs, and clean up code 2018-02-05 16:11:53 -05:00
Gustav Hansen
9f3ecf4dc1 Add new components 2018-02-04 21:11:33 -05:00