Commit Graph

2249 Commits

Author SHA1 Message Date
Adam Miskiewicz
897e36f07f v1.0.0-beta.8 2017-04-19 20:32:49 -07:00
Mike Grabowski
cf88560b4c Breaking: Replace containerOptions with just props (#1100) 2017-04-19 10:40:50 +02:00
Mike Grabowski
5a5905f592 Fix hashbang behaviour (#1095) 2017-04-18 15:25:12 +02:00
Joe McKie
c3b9501104 Bump dependency versions to reflect current RN 2017-04-09 12:08:20 +02:00
Mike Grabowski
6ebaadeba1 Upgrade React Native (#1093)
* Upgrade RN

* Clean up
2017-04-18 14:28:47 +02:00
Daniel Friesen
0a59f869e5 Swap Platform preference for title alignment (#997)
Centered titles are generally specific to iOS, left alignment of the title appears more common in platforms outside Android and iOS.

This also fits better with the rest of the conditionals that test for iOS instead of Android.
2017-04-18 04:38:35 -07:00
Joe McKie
aaca3ffade Update flow-react-proptypes to ^1.2.0 (#1084) 2017-04-18 10:27:34 +01:00
Ville Immonen
8ad28b4d03 Fix screenProps not being passed through to CardStack (#1051)
`screenProps` were not being passed to `CardStack` and consequently not
available for the navigationOptions function in components using
`StackNavigator`.
2017-04-17 17:16:41 +03:00
Edwin Tsatsu
025864997e removed reptiton of headerBackTitle text (#1076) 2017-04-17 14:15:06 +00:00
Mike Grabowski
bc1f6170fb Upgrade babel-plugin-flow-prop-types (#1045)
* Fix build

* Latest version fixes Header

* Fix propTypes from react-native leaking to web context

* Update todo notice
2017-04-14 14:08:52 +02:00
Mike Grabowski
4b7767de14 Move prop-types to dependencies (#1042)
* Move `prop-types` to dependencies

* Update package.json

* Update CardStackTransitioner.js
2017-04-14 08:11:39 +02:00
Mike Grabowski
e044254257 Automatically generate prop-types from Flow (#1033)
* Automatically generate prop-types from Flow

* Remove propTypes usage

* Fix flow

* Modify some eslint settings

* Fix flowtype

* Lint tweaks

* use prop-types pkg
2017-04-14 00:19:30 +02:00
Mike Grabowski
9bbbc6063c Fix regressions in Header (#1027)
* Fix warnings and errors with Header

* bring back deleted docs

* headerLeft can be null
2017-04-13 22:56:42 +02:00
Mike Grabowski
329173a845 pass cardstack style (#1029) 2017-04-13 18:32:09 +02:00
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