670 Commits

Author SHA1 Message Date
Luke San Antonio Bialecki
423aa85354 Fix low header when scene doesn't take up entire screen (#446)
Adds a nested View around the content in CardStack so that the content expands
and puts the header bar at the top of the screen.
2017-02-23 06:47:51 +01:00
Mike Grabowski
f54578c0f9 Fix a header on Android (#437) 2017-02-22 12:28:53 +01:00
Mike Grabowski
4d1e531c6b Fix header positions 2017-02-22 14:25:26 +05:30
Matt Hamil
fb856ba06d Move Navigation Containers and containerOptions into Navigators API docs (#409)
* Removed Navigation Containers and containerOptions

Cut out text to move to navigators docs page

* Moved nav containers section to Navigators API docs
2017-02-21 20:45:19 -08:00
Mike Grabowski
62025cc8be Update StackNavScreen docs (#411)
Remove confusing mention of `color`
2017-02-21 20:15:42 -08:00
Angelo
8e1b6e9042 Updated the reducer (#431)
When the drawer opens / close, the result of AppNavigator.router.getStateForAction(action, state); is null. So the nav state in the store is null which causes errors. This solves that.
2017-02-21 20:15:30 -08:00
David Cameron
3a1766cb78 Update 2017-01-Introducing-React-Navigation.md (#410) 2017-02-22 07:19:59 +05:30
William Schurman
7229708d22 Fix null style warning in Header component (#422) 2017-02-21 19:23:19 +01:00
James Isaac
15caee76f3 Merge action params into navigator's child screens (#306) 2017-02-21 03:29:46 +05:30
Ashoat
2d0a7fa4ed Make it possible for a screen to set gesturesEnabled (#385)
Closes #292
2017-02-21 02:52:15 +05:30
hysan
257ce3eff9 Updated Hello Mobile Navigation for clarity (#265)
Per request [#228](https://github.com/react-community/react-navigation/issues/228), I've updated the the Hello Mobile Navigation guide to try and make it more approachable to newcomers like myself. I changed the order of some of the explanations and broke out passing params into its own section. This should make the guide easier to follow as only one new concept is introduced per section; a common principle in teaching methodology.

I'm open to suggestions as I am also a newcomer to both React Native and React Navigation. So it's very possible that there are concepts that I've misunderstood or am not explaining well.
2017-02-20 10:02:34 -08:00
Mike Grabowski
2bb81d8c63 Fix backgrounds (#399) 2017-02-20 09:10:10 -08:00
Kyle Kamperschroer
b4d6507c84 Add a simple motiviation section to the README (#35) 2017-02-20 05:18:35 +05:30
Mike Grabowski
79f21277cb Add back button label to header (#257) 2017-02-20 05:09:56 +05:30
Corentin de Boisset
4b2f94544a Pass navigation prop to TabBarComponent (#396) 2017-02-20 05:02:12 +05:30
Satyajit Sahoo
6aff0ac366 More gestures cleanup (#353)
* More gestures cleanup

* Fix flow
2017-02-17 10:56:37 -08:00
lintonye
2273ef1c14 CardStack: Don't overwrite custom transitionConfig with default (#99)
* Don't overwrite transitionConfg with default

* Call this.props.transitionConfig as a function

* Update flow definition of transitionConfig
2017-02-17 08:42:20 -08:00
Satyajit Sahoo
d6b5b28811 Update react-native-tab-view (#366)
Fixes #209
2017-02-17 08:28:10 -08:00
rmevans9
e30ac63f79 Make future proof (and also fix it for the current beta) (#322) 2017-02-16 19:54:16 +05:30
juhasuni
02a388073c Remove 'appBar' child component to fully support header styling (#341) 2017-02-16 19:30:33 +05:30
Adam Miskiewicz
330cc054f6
1.0.0-beta.5
Fix broken `yarn publish`
v1.0.0-beta.5
2017-02-15 19:11:46 -08:00
Adam Miskiewicz
5c478ec244
1.0.0-beta.4 2017-02-15 18:57:31 -08:00
Adam Miskiewicz
7967fb81d2
Update yarn.lock to include react 15.4.2 2017-02-15 18:56:55 -08:00
Jakub Stasiak
2f1105dd08 Exported withNavigation to web (#330) 2017-02-16 01:41:44 +05:30
Mike Grabowski
a41e8b58a0 Overwrite 1x.ios as well 2017-02-16 00:30:08 +05:30
Satyajit Sahoo
24e7db361f Fix gesture recognition in card stack (#324) 2017-02-13 13:50:15 -08:00
Satyajit Sahoo
a7b1243053 Fix flow (#305)
* Fix Flow and Android build

* Enable flow on CI

* Fix and suppress flow errors
2017-02-13 08:26:30 -08:00
João Luís Lima
67d64807da adds button to photo screen (#301) 2017-02-12 22:05:12 -08:00
Jeremy Lu
546fc657d5 Add showIcon to tabBarOptions so that icons can be hidden on iOS (#291) 2017-02-11 04:27:31 +05:30
Matt Revell
a7002f2151 [FLOW] Fix missing "type" in flow import.
Fixes: Named import from module `../TypeDefinition` `ContextWithNavigation` is a type, but not a value. In order to import it, please use `import type`.
2017-02-10 22:07:47 +05:30
Mike Grabowski
4f1bd4c888 Fix style prop for header 2017-02-10 22:06:59 +05:30
Jonathan Lalande
296e83abed Remove uncompleted sentence in Contributors guide. (#280) 2017-02-10 17:24:48 +01:00
Evan Turner
24044e15d2 Add missing characters to navigators api doc (#264) 2017-02-09 23:11:46 +05:30
juhasuni
ac8260874a Set numberOfLines to 1 for HeaderTitle (#260) 2017-02-09 20:11:18 +05:30
Li Lin
163d5e4c07 Add code sample for google analytics integration (#107) 2017-02-09 19:40:16 +05:30
Satyajit Sahoo
b82b8c4b3c Bump version number v1.0.0-beta.3 2017-02-09 19:33:44 +05:30
Satyajit Sahoo
1f80d98112 Show screen props warning only once. Fixes #258 2017-02-09 19:32:59 +05:30
Hilke Heremans
73426e8015 Add clarification for Redux <-> Nested Navigators (#26)
* Add clarification for Redux <-> Nested Navigators

See also https://github.com/react-community/react-navigation/issues/16

* Update per comments

* Update per comments in PR #26
2017-02-09 10:28:19 +01:00
kameyin
fe968c2003 React Native Buttons use title, not label. 2017-02-09 13:10:54 +05:30
James Long
a01e88f7c4 Update Transitioner.md
This API must have changed; after pulling from master I needed to update my code.
v1.0.0-beta.2
2017-02-09 02:32:17 +05:30
Satyajit Sahoo
1247806f9b Make compatible with webpack (#244) 2017-02-08 13:00:58 -08:00
Satyajit Sahoo
752d876994 Bump version number 2017-02-09 01:39:38 +05:30
Satyajit Sahoo
f72f5d3a9c Fix tintColor in example 2017-02-09 01:37:54 +05:30
Satyajit Sahoo
42ead04d9a Remove with navigation example 2017-02-09 01:36:27 +05:30
Satyajit Sahoo
1eabc0636b Updated react-native-tab-view
This fixes a bug where React Native Tab View was trying to keep state in sync, but state was updating at a slower speed.
2017-02-09 01:31:22 +05:30
William Schurman
b9bc386a4b Pass through screenProps to nested navigators
This changes the behaviour of screenProps so that the props no longer get splatted.
Components will receive this as `this.props.screenProps`.
2017-02-09 01:27:56 +05:30
Satyajit Sahoo
797833a69a Make tabBar visible when no config is gived. Fixes #239 2017-02-09 01:22:54 +05:30
Mike Grabowski
8e8c4fb9a1 Fixes several back button issues (#237)
* Disable header back button label as the feature is still wip

* Fix icon size
2017-02-08 23:38:06 +05:30
kylpo
acc893d8e8 Add showLabel prop to tabBarBottom (#234) 2017-02-08 22:24:02 +05:30
juhasuni
307632b575 Expose onTransitionStart/End props to StackNavigator (#230)
* Add onTransitionStart/End options to StackNavigator 'stackConfig'

* Add documentation for onTransitionStart/End options

* Define onTransitionStart/End props optional
2017-02-08 08:53:41 -08:00