Commit Graph

27 Commits

Author SHA1 Message Date
osdnk
074aabc33e Bump version -> 2.0.0-alpha.33 2020-02-02 17:09:15 +01:00
dependabot[bot]
350a80c29b Bump handlebars from 4.2.0 to 4.5.3 in /Example (#256)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-17 22:15:39 +01:00
Krzysztof Magiera
4a9a3a877a Fix header rendering – layout and transparency (#184)
* Let UINavController control subcontroller view's frames.

This PR changes the way we've been handling yoga <> NavController layout interactions. Now we ignore frame updates coming from react for the main Screen view to allow NavController take the controll. In order to keep yoga working we now use `setSize` to pass the dimensions of the view back to yoga such that it can properly calculate layout of the views under Screen component.

* Header resizing fixes for Android.

In this change we use CoordinatorLayout as a stack screen container to handle rendering of toolbar and screen content. Thanks to this approach we can support collapsable bars in the future. Instead of relying on RN to layout screen container when renered under ScreenStack we rely on Android native layout to measure and position screen content and then use UIManager.setNodeSize to communicate that back to react.
2019-10-18 15:08:39 +02:00
Lorenzo Sciandra
c590283359 Enhancement: change to useScreens to enableScreens (#99)
This wants to be a small PR to improve the usability of the library, based on this conversation: https://twitter.com/grifotv/status/1127847192067215360.

Since the release of RNS there has been a new major player in the React game: hooks. And sadly `useScreens` recalls too closely Hooks, and this can lead to misunderstanding.

Changing it to `enableScreens` will make the difference clear, but at the same time it will be a BREAKING CHANGE for everyone using the lib.

So if we prefer to keep it around as useScreens I'm ok with it too, and we can close this.

Also, I did some tweaks to the README + fix some typos.
2019-10-11 21:57:48 +02:00
Krzysztof Magiera
cb710c63f7 Fix iOS Example project after upgrade to RN 61 (#179) 2019-10-10 21:08:36 +02:00
Krzysztof Magiera
2d54b76cb6 Update Example app to RN 0.61 (#177) 2019-10-09 11:05:37 +02:00
dependabot[bot]
bf7db1d348 Bump handlebars from 4.0.12 to 4.2.0 in /Example (#147)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.2.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:35:15 +02:00
dependabot[bot]
8c8b52cd4e Bump js-yaml from 3.12.0 to 3.13.1 in /Example (#107)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:34:02 +02:00
dependabot[bot]
6de1282412 Bump mixin-deep from 1.3.1 to 1.3.2 in /Example (#144)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:33:51 +02:00
dependabot[bot]
db725d4cce Bump lodash from 4.17.11 to 4.17.15 in /Example (#148)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:33:39 +02:00
dependabot[bot]
e42f8da979 Bump merge from 1.2.0 to 1.2.1 in /Example (#141)
Bumps [merge](https://github.com/yeikos/js.merge) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/yeikos/js.merge/releases)
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:33:23 +02:00
Krzysztof Magiera
80a466970e Navigation stack native primitives (#139)
Adds support for stack navigation primitives (UINavigationViewController and Android fragment container with back button support)
2019-09-05 13:55:14 +02:00
Krzysztof Magiera
ed14cd3a87 Add tabs+stack Example 2018-12-20 09:16:56 +01:00
Krzysztof Magiera
5cd96cdd1b Upgrade Example project 2018-12-18 13:14:43 +01:00
Krzysztof Magiera
1cd165e763 Use react-navigation v3 2018-12-13 20:14:01 +01:00
Krzysztof Magiera
88ba15f86d Fix project config to make it possible to run on device 2018-11-05 10:36:24 +01:00
Krzysztof Magiera
5763e7c745 Update example config for Android to make it build after recent screens package renaming 2018-10-11 12:51:06 +02:00
Krzysztof Magiera
214ded0152 Fix example app to make it compile with new RN 2018-10-11 12:46:16 +02:00
Krzysztof Magiera
5c78c68b60 Upgrade RN version in example app 2018-09-14 12:29:07 +02:00
Krzysztof Magiera
60511a7e90 Make it possible to enable/disable screens support with useScreen function 2018-09-11 11:29:47 +02:00
Krzysztof Magiera
8e13c58b6e Get rid of stackcontainer (for now) 2018-09-07 18:04:08 +02:00
Krzysztof Magiera
ccde895bdb Add lifecycle aware view managers to Example app 2018-09-05 09:01:57 +02:00
Krzysztof Magiera
70c022c628 Fix mounting nested fragments in the same transaction 2018-08-21 11:02:39 +02:00
Krzysztof Magiera
d6ae2caea8 Use int as a type for 'active' prop to make it animatable on Android 2018-08-13 19:35:21 +02:00
Krzysztof Magiera
948ed14743 Use RN fork with code screens related code changes 2018-08-03 19:48:37 +02:00
Krzysztof Magiera
45730efb29 Add some examples 2018-08-03 16:20:25 +02:00
Krzysztof Magiera
31281d6b68 Initial commit. 2018-08-03 13:54:11 +02:00