Commit Graph

2235 Commits

Author SHA1 Message Date
Mike Grabowski
8418177aee Navigate to nested router within stack (#1025) 2017-04-13 18:28:47 +02:00
Joe McKie
6e3111673d Fix typo in StackRouter.md (#975) 2017-04-13 02:01:40 +02:00
Mike Grabowski
af88ad2658 Introducing flat options (#984)
* Initial commit

* Remove HybridExample (#985)

* Remove HybridExample

* Remove last mention of HelloHybrid

* Remove console log

* Fix flow and example

* Fix routers api docs

* Keep options in single place

* chore

* Fix styling

* Organise miscs

* Better flow type for screen options

* Flow test website and add more types to options

* navigationOptions instead of prevOptions makes more sense

* Fixes

* Fix up docs

* Fix

* Update route decl

* Provide error when removed API is used

* Remove lock

* Add validators

* Make StacksOverTabs config valid again

* Do not return

* Fix redbox
2017-04-13 00:49:08 +02:00
Mike Grabowski
4ca4514e94 Remove HybridExample (#985)
* Remove HybridExample

* Remove last mention of HelloHybrid
2017-04-10 21:40:14 +02:00
Mauro Gabriel Titimoli
1ae840e01e Add support to navigation to other tabs passing params (#969) 2017-04-09 17:54:30 +02:00
Navid Taha
d6d1bbc349 Add iconStyle prop to tabBarOptions for TabBarTop (#965) 2017-04-08 20:02:52 +02:00
Kevin Cooper
65a0fc8fd8 Fix the ReduxExample app (2) (#945)
* [Example] Fix the ReduxExample app

Just a bit of cleanup so it can run.

* [Example] Remove AsyncStorage persistence from ReduxExample

It's a cool feature, but isn't necessary to demonstrate how to use
react-navigation and may cause more confusion than it's worth.
2017-04-07 12:06:44 -04:00
Jamie Parkinson
4de88fd5cc Add pressColor to StackNavigator header options (#926)
* Add pressColor to StackNavigator header options

* Rename pressColor -> pressColorAndroid for StackNavigator
2017-04-07 17:02:43 +01:00
Aaron Cannon
385d2b32e5 Added the Header accessibility trait to the header title (#948)
Without this trait, VoiceOver on IOS does not identify the title as a header, which it is.
2017-04-07 01:39:26 -05:00
Sami Jaber
7bf951d877 refactored Redux Example (#819) 2017-04-06 19:20:04 -04:00
Kevin Cooper
2fc09bf728 [Playground] Add TabsInDrawer example (#930) 2017-04-06 12:25:38 -04:00
Kevin Cooper
554fa5fe28 [Playgrond] Add StacksOverTabs example (#928)
* [Playground] Duplicate StacksInTabs to StacksOverTabs

* [Playground] Move nested routes into root stack so they appear on top

* [Playground] Go to SettingsTab instead of pushing a new Settings screen
2017-04-06 12:24:35 -04:00
taiki-t
00fdf7a5ae Fix setParams with nested routers (#929)
This fixes the setParams problem with:
https://github.com/react-community/react-navigation/pull/789
2017-04-07 01:22:06 +09:00
Norman Rzepka
356cb0a19f Query string parsing capabilities for deep linking (#510)
* adds query string parsing capabilities to URI handling

* improves query params test case

* adds test with empty query value
2017-04-05 07:03:52 +02:00
Kevin Cooper
ddf2f089b9 Fix the ReduxExample app (#900)
* [Redux example] Use HTTPS-enabled endpoint to get npm modules

To fix 'yarn install'

* [Redux example] Add ReduxExample to rn-cli.config.js

This prevents those annoying @providesModule naming collisions

* [Examples] Add a basic README linking to the usage instructions
2017-04-05 00:21:06 -04:00
Koen Punt
40ca44629f add command to open URI in the iOS simulator (#909) 2017-04-05 06:01:30 +02:00
Mauricio Pasquier Juan
0390dcfa50 Fix wrong param name in the guides (#911)
The text used `name` as param but the examples used `user` instead.
2017-04-05 01:00:37 -03:00
Scott Brady
df4843ebab Reset specific StackRouter with key (#789)
* First test

* Allow a key to be passed for which scene should handle the action

* Adding key to NavigationResetAction

* Added test

* Add reset test with key

* Only apply this change if it is a RESET action

* Fix logic error, only check if the action is null if it is a RESET
2017-04-04 20:26:37 -04:00
Michel Maubert
ad56d62d8d add jest config for react-navigation in docs (#256) (#331)
* add jest config for react-navigation in docs (#256)

* Docs: Update redux-integration guide #246
2017-04-04 19:02:21 +02:00
Sabbir Ahmed
09baf8c621 Docs: Added clarification for header configuration (#891) 2017-04-03 07:37:47 +06:00
Bruno Lemos
7fd28a7c70 Fix gesturesEnabled regression (#886)
Closes #818
Regression caused by 11cab8eab6
2017-04-01 23:45:49 -03:00
Daniel Schmidt
6d566ca85f bump react-native-drawer-layout-polyfill (#882)
includes access to the accessabilityView options and
a fix for #871 (adjusted zIndex)
2017-04-01 17:10:41 +02:00
Juwan Wheatley
ade473aab2 Fix rebase commands (#870) 2017-03-30 13:58:09 -04:00
Grzegorz Mandziak
f7811e4b84 Possibility to overwrite label's style if defined as string. (#731)
* Added option to overwrite label style for only if label is as string defined in navigationOptions in DrawerNavigation.

* update doc for labelStyle prop

* change title to label
2017-03-30 05:50:56 +02:00
Bernhard
ee19956ecb add example for DrawerNavigatorConfig (#552)
* add example for DrawerNavigatorConfig

* add explanation for the example
2017-03-30 05:46:29 +02:00
Stoicescu Cristi
fd9259c3ad Workaround for screenProps in TabViewAnimated (#862) 2017-03-30 06:37:06 +03:00
PhpGuyZim
353e224dfc Update Guide-Nested.md (#813)
* Update Guide-Nested.md

Docs do not indicate that you must import the necessary module.

* Update Guide-Nested.md
2017-03-29 09:36:21 +02:00
Neo
eec424171c remove ReactComponentWithPureRenderMixin (#809)
`ReactComponentWithPureRenderMixin` is useless in this file, and it has been removed from the core of latest `react`

build fails on master branch of `react-native` for this error
2017-03-29 15:34:10 +08:00
Javier Olaechea
8ba1208a12 Docs: Update md links from coodoo's fork to react-community (#750) 2017-03-22 15:51:16 -05:00
Elliott Ro
fa7a8b7706 Navigation Actions Doc (#338)
* Initial saving

* Updated docs

* Adding navigation actions into website App.js

* Updated navigation prop structure

* Added in missing link
2017-03-22 12:10:34 -07:00
Cai Leao
314a77e843 Update documentation regarding DrawerNavigator customisation (#646)
* Update documentation regarding `DrawerNavigator` customisation

* Updated docs as requested in the PR.
2017-03-22 19:09:10 +00:00
Alejandro Garcia
460ed9976e Fix flow in Navigation Playground (#735) 2017-03-22 20:08:08 +01:00
Juwan Wheatley
ead7667f1a Adds documentation about forking and syncing repo (#765) 2017-03-21 20:12:18 -04:00
Karan Thakkar
50a46401c8 fix(docs): Fix incorrect style in TabNavigator sample (#734)
The example provides styling for the tab icon via the `icon` property in the styles object. However in the example, it is used as `tabIcon` which does not exist.
2017-03-19 17:43:15 +05:30
mbaroukh
14990e4796 correction of a few documentation typo (#563) 2017-03-16 23:35:53 +01:00
Yann Pringault
74398c1c9b Fix typo in docs for getComponentForRouteName (#714) 2017-03-16 23:30:02 +01:00
Javier Olaechea
4bb94bf866 Drawer sidebar description (#617)
* Fix typo in DrawerScreen.js

* Fix the description of the DrawerSidebar Component
2017-03-16 13:57:40 -05:00
Christoph Jerolimov
95476f8e78 Remove 2nd return statement (#661) 2017-03-16 19:56:50 +01:00
Adam Miskiewicz
3e3112b59d Resolve gesture issues in CardStack 2017-03-15 16:03:09 -07:00
Adam Miskiewicz
e975b21f3e Update dependencies 2017-03-15 16:02:49 -07:00
Satyajit Sahoo
7b2aae180e Bump version number (#650) 2017-03-11 22:49:31 +05:30
Satyajit Sahoo
1cb5cfc009 Update react-native-tab-view. Fixes #476 (#641) 2017-03-10 23:04:43 +05:30
Satyajit Sahoo
38c21ad5b7 Remove top margin from drawer view (#642) 2017-03-10 23:04:22 +05:30
YinYin Chiu
93d464d9de Pass transitionProps, prevTransitionProps and isModal to custom TransitionConfig (#565) 2017-03-10 20:55:07 +08:00
juhasuni
dc7ce6f9bc Fix issue where initialRouteParams were not set (#150) 2017-03-10 14:46:30 +02:00
Daniel Schmidt
f207607d44 move from react-native-drawer-layout to react-native-drawer-layout-polyfill
This enables us to use the native DrawerLayoutAndroid on android devices
2017-03-07 14:27:39 +01:00
Jordan Hayashi
91bb04b45b Make TabNavigator code example formatting consistent (#462)
* Make TabNavigator code example formatting consistent

* Fix typo in StackRouter docs
2017-03-07 01:50:12 -05:00
Gant
aa73c3c6f6 screen props warning removed 2017-03-05 10:38:12 -06:00
Felipe Matos
f1f98d513b Fix typo (#554) 2017-03-03 12:32:59 -03:00
Mike Grabowski
9a1b0cb404 Change <Header /> layout back to absolute (#562) 2017-03-03 13:13:30 +01:00