Commit Graph

2264 Commits

Author SHA1 Message Date
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
Neo
8d07b659d3 Update Screen-Tracking.md (#549) 2017-03-03 14:58:58 +08:00
Taylor Hurt
eb5285b76f Update Screen-Tracking.md (#545)
* Update Screen-Tracking.md

updated names in the onNavigationStateChange example function

* Update Screen-Tracking.md
2017-03-02 10:01:50 -05:00
andrey
7011f96aa8 Accept tabBar label to be a function (#524)
* Accept tabBar label to be a function

* label as a function in TabBarBottom

* label as a function in TabBarTop
2017-03-02 11:38:06 +03:00
Bartol Karuza
d19518a46a add import to clarify source of helper (#517)
* add import to clarify source of helper

It took me a while to figure out where 'addNavigationHelpers' comes from, maybe adding the import in the doc here will help the next guy.

* add spaces around imported value

* removed empty line
2017-03-01 13:18:08 +01:00
Mike Grabowski
0c00b12872 [Docs] Link every heading automatically (#459)
* Link every heading automatically

* Factor in nav height

* Make it like in React
2017-02-28 07:38:51 +01:00
Adam Miskiewicz
44bcc934e7 v1.0.0-beta.6 2017-02-27 18:40:16 -08:00
Álvaro Medina Ballester
75f65e9d7d Fix TabBarBottom item layout (#499)
Instead of `flexGrow`, `TabBarBottom` should use `flex` in order to match iOS HIG for UITabBar. Otherwise, if labels with different length are set, the layout of the tab bar isn't consistent with what iOS users expect (tab highlighted with red border):

![screen shot 2017-02-27 at 11 23 27](https://cloud.githubusercontent.com/assets/289640/23364131/07103c5a-fcfe-11e6-8b7a-d7bc28ca3080.png)

After the change, this is how the tab bar looks:

<img width="429" alt="screen shot 2017-02-27 at 15 14 35" src="https://cloud.githubusercontent.com/assets/289640/23364470/7f652e76-fcff-11e6-9e84-8a0efa7d9c5d.png">
2017-02-27 15:22:47 +01:00
Igor Ovsiannikov
64fecc4e7a fix typo (#496) 2017-02-27 11:45:42 -01:00
Igor Ovsiannikov
f33557c331 Add router prop for the DrawerNavigator content component (#487) 2017-02-26 14:19:08 -01:00
Mike Grabowski
f6e5f78a0c Fix glitches in Header when calling replace (#418)
* Change the way we store computed layout

We cannot store layouts under `index` because when calling `replace`, there are two competing layouts
on the same index, which will cause an infinite loop (are almost infinite) of flickering / jumping title.

* Disable transition at all when index didn't change
2017-02-24 07:19:56 +01:00
Mike Grabowski
0d8233def6 Add onNavigationStateChange (#453)
* Support

* Revert consoleg

* Add very bad doc

* Improve docs

* Surpress flow
2017-02-24 07:18:06 +01:00
Mike Grabowski
987471be7d Add React.Element support for TabBar/Drawer and fix docs (#451)
* Initial impl

* Fix up some docs and support more for drawer

* Fix comments

* Support TabBar

* Make flow more correct

* Clarify even more

* Rename all the things lol

* Also rename renderLabel to getLabel
2017-02-23 16:09:11 +01:00
Vlad Zhukov
71a86b17a0 fix (#454) 2017-02-23 17:35:08 +03:00
Javier Cuevas
8907c31b5a Fix redux documentation (#450)
I think the navigation key for the redux store should be `nav` and not `navReducer`.
2017-02-23 10:57:10 +01:00
Satyajit Sahoo
efb6a70660 Remove screen tracking without redux (#449)
This is a hack and we shouldn't put it in official documentation.
2017-02-23 15:10:40 +05:30
Luke San Antonio Bialecki
2e5ce8c2d6 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 00:47:51 -05:00
Mike Grabowski
de8a1d68bf Fix a header on Android (#437) 2017-02-22 12:28:53 +01:00
Mike Grabowski
9c9491b254 Fix header positions 2017-02-22 09:21:31 +01:00
Matt Hamil
dcaaecf08c 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 22:45:19 -06:00
Mike Grabowski
610929bc4c Update StackNavScreen docs (#411)
Remove confusing mention of `color`
2017-02-22 05:15:42 +01:00
Angelo
09b23ee333 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-22 05:15:30 +01:00