Commit graph

20 commits

Author SHA1 Message Date
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
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
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
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
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
Niklas Mischkulnig
f428111471 Add new charts example (#137)
* Add example

* Fix charts

* Fix for Linux
2018-05-19 13:11:54 -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
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
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
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
Francisco Sales
cdcb5564a4 fix notepad example (#32) 2018-02-25 22:24:11 -05:00
Kasey Hinton
dd4720c4f8 Fixes rendering and cursor placement issue in notepad example. (#17)
* Adds shouldComponentUpdate to fix rendering issue/ cursor placement with setState. Fixes formatting.

* Checks to see if nextState is coming from fs or input and updates accordingly.
2018-02-21 10:36:46 -05:00
soorajvnair
a26f2f8e66 add standalone example app 2018-02-18 02:20:59 +05:30
kusti8
e7966e6fcb Add notes example. Fixes #1 2018-02-15 21:45:02 -05:00