Commit Graph

2263 Commits

Author SHA1 Message Date
Adam Miskiewicz
d28c92d1b1 Deploy website using NOW_TOKEN 2017-09-06 14:59:22 -07:00
Spencer Carli
6b0ce55aba Fix Website Build (#2526)
* Update .eslintrc to allow compile.

* Resolve .web.js extension

* Look for __DEV__ on global

Fixes ReferenceError when not in the React Native environment.

* Replace __DEV__ at compile time via babel

* Don't try to lint a website build
2017-09-06 16:08:08 -05:00
Spencer Carli
d8fc3ea93d Revert changes to yarn.lock (#2545)
* Rollback changes to yarn.lock

* Update react-native-tab-view in yarn.lock
2017-09-06 13:22:08 -05:00
Manu Bamba
f49f84d912 Fixed issue with tab navigation (#2527) 2017-09-06 22:12:48 +05:30
Kevin Cooper
fa2214c3cb Fix the NavigationPlayground example! (#2170)
* [Playground] Commit auto-changes to package.json, yarn.lock

* [Playground] Rerun create-react-native-app

Preserving rn-cli.js and transformer.js

Still not quite working.

* [Playground] Fix the Expo loading issue by removing projectRoots

Now it looks in the right place to find its resources, including 'entryPoint'.

* [Playground] Add postinstall script to clean up files Yarn copies in

Yarn copies them when installing locally, causing lots of @providesModule collisions.

* Update the Contributors guide to explain how to use the example app

And recommend Yarn by default

* [Playground] Remove now-obsolete rn-cli.config.js

* [Playground] Upgrade expo and other dependencies

* [Playground] Don't delete .git just in case
2017-09-06 11:36:21 -04:00
Hawken Rives
67f034fea4 pin react-native-tab-view with ~ instead of ^ (#2348)
Because react-native-tab-view insists on sticking at 0.0.*,
the caret version pinning won't install "minor" updates.

Semver rules are weird with 0. major versions.

Is this something you'd be interested in?
2017-08-31 09:58:47 -05:00
Andréas Hanss
a3c3799cba Add documentation to help handling Hardware Back Button in Android (#2486) 2017-08-30 23:34:46 +02:00
Brooks Lyrette
8f3083800c Corrected broken links. (#2374)
Updated links for Card.js, CardStack.js and Header.js
2017-08-30 17:30:23 -04:00
Gant Laborde
78b80e7040 Feature/toggle (#2492)
* add toggle functionality

* add documentation
2017-08-29 21:55:33 -05:00
Jan Peer Stöcklmair
38d75ef1fa Fix ActiveScreen in custom navigation (#2354) 2017-08-29 04:35:48 +02:00
Farzad Qasim
50d31fe73d Fix broken links (#2366) 2017-08-29 03:33:28 +01:00
Keegan Stothert
9c4e31fdba Update TabNavigator.md (#2482)
tabNavigatorConfig doc improvements
2017-08-28 20:25:56 -06:00
Bruno
f24061c26b Fix style variable in docs. (#2451) 2017-08-24 03:07:12 +02:00
Spencer Carli
2d713dced1 Add additional guidance information to the GitHub issue template. (#2428)
* Add additional guidance information to the GitHub issue template.

- Provides links to best places to ask usage questions.
- Uncomments guiding information in issue template that wasn't visible when creating issue.
- Based on questions asked here: https://new-issue.vuejs.org/#modal

* Remove  ' instead of the expected behavior'
2017-08-20 15:08:56 -05:00
James Ide
cfb43defe6 [assets] Optimize back-icon PNGs (#2341)
Ran the images through `optipng -o7 -strip all`. In some cases got the images down from > 1 TCP packet to below 1.
2017-08-08 23:26:18 -07:00
Fidan Hakaj
36dc78a73a Updates Routers.md - adds missing parenthesis (#2230)
Adds missing parenthesis to *Handling Custom URIs* code example
2017-08-02 08:29:55 +03:00
Adam Miskiewicz
12f74aa11b Change parallelism on Circle to 2 2017-07-19 14:11:11 -07:00
Adam Miskiewicz
cd9258f574 Remove ReduxExample from Circle 2017-07-19 14:10:43 -07:00
Adam Miskiewicz
876364845d Fix tests in NavigationPlayground 2017-07-19 14:03:58 -07:00
Adam Miskiewicz
2d7de60dc9 1.0.0-beta.12 2017-07-19 13:01:58 -07:00
Adam Miskiewicz
4df4957ea8 Remove generating prop-types from Flow 2017-07-19 13:11:47 -07:00
Adam Miskiewicz
f59eba2af9 Update dependencies 2017-07-19 13:03:46 -07:00
Adam Miskiewicz
7b3e134913 Add flow definition to eslintignore 2017-07-19 13:01:23 -07:00
Adam Miskiewicz
55f9cddbe2 Clean up some flow types code-base wide, reorganize cardstack views 2017-07-05 14:19:23 -07:00
Adam Miskiewicz
b6ff6cc27b Stricter flow typing on CardStackStyleInterpolator 2017-07-03 21:43:06 -07:00
Adam Miskiewicz
30c2696008 Update depenencies, update Prettier 2017-07-03 21:36:47 -07:00
Adam Miskiewicz
1390cb8e6d Update NavigationPlayground to 0.45.1, add stub react-nav flow definition 2017-07-03 17:02:46 -07:00
Adam Miskiewicz
fa8e616c02 Update to RN 0.45, fix/improve flow coverage 2017-07-03 15:06:08 -07:00
Adam Miskiewicz
9f4211fede Update flow-typed defs 2017-07-03 14:59:21 -07:00
Adam Miskiewicz
2791eafe08 Add react-native flow-typed definition 2017-06-28 13:15:03 -07:00
Adam Miskiewicz
29749465b6 BackAndroid -> BackHandler 2017-06-28 12:31:05 -07:00
Adam Miskiewicz
7cd48dc352 Disable noisy logging unless process.env.REACT_NAV_LOGGING is set 2017-06-28 12:30:49 -07:00
Adam Miskiewicz
2046f38606 Improved header + tab bar styles on iOS 2017-06-28 12:30:27 -07:00
Scott Brady
be54f65100 Adding reset key documentation (#1297) 2017-07-10 21:46:29 -04:00
Yohan Spychala
db8e70866a Fix flow type for NavigationParams (#1574) 2017-07-04 08:30:04 +02:00
Nicolas Beck
feeb77778f fixed bug with wrong label&icon in Drawer (#1914)
* fixed bug with wrong label&icon in Drawer

* itemPress in Drawer now always navigates to first screen of a nested StackRouter

* used eslint formatting

* added comments
2017-07-04 08:26:16 +02:00
Hugo Dozois
20c035ded7 Removed duplicate navigation flow annotation in CardStack (#1993)
- Also defined in the NavigationTransitionProps
2017-07-03 23:25:37 -07:00
Gabriel Bull
4a0f878d0c Added with navitation to website’s docs (#1974) 2017-07-04 02:24:49 -04:00
Tiziano Munegato
9aaac30a64 fix header metrics based on Material design guidelines (#2001) 2017-07-04 08:24:29 +02:00
Franco Sarachu
2509e5e786 Update StackRouter.md (#2047)
Add missing ":"
2017-07-04 03:23:20 -03:00
Michael
a0b9e0b1cd Fixed spelling mistake in validateRouteConfigMap (#2049) 2017-07-04 16:23:02 +10:00
Adam Miskiewicz
a690326c10 Fix CircleCI configuration 2017-07-03 23:15:07 -07:00
Adam Miskiewicz
3943acdd77 Revert "[BUGFIX] Use a proper source of headerBackTitle (#2007)" (#2018)
This reverts commit 075902147d.
2017-06-28 12:04:56 -07:00
Alexey
7c95d7dff9 [BUGFIX] Use a proper source of headerBackTitle (#2007) 2017-06-28 19:51:43 +02:00
Jan Peer Stöcklmair
d13526e747 Docs: typo (#1783)
* Docs: typo
2017-06-28 00:27:54 +02:00
Gabriel Bull
b2545dad6c Fixed website dev bug (#1973) 2017-06-26 13:02:59 -04:00
Fidan Hakaj
3fa404a6a7 Use animatable text component for the header title (#1922)
* Uses animatable text component for the header title

* fix: prettier issue
2017-06-24 02:19:49 +02:00
Koen Punt
d16e7e5297 ignore files starting with a dot (#1971)
macOS creates metadata files named `.DS_Store`. The script incorrect tries to read it with a `.md` extension.  By excluding all files that start with a dot we can prevent this.
2017-06-24 02:19:13 +02:00
Nimrod Argov
6ac778fa01 Add doc note for nesting wrapped navigator (#1947)
After having to look for a solution for nesting a navigator embedded in a component, found this issue that dealt with the same problem: https://github.com/react-community/react-navigation/issues/90.
Added the solution to the guide as a side note.
2017-06-24 03:18:13 +03:00
Nicholas Thompson
c445a5ecf9 Clarify headerBackTitle usage (#1649)
* Clarify headerBackTitle usage

* Updating text to that suggested by @pvinis

See https://github.com/react-community/react-navigation/pull/1649#discussion_r118195443
2017-06-23 04:47:16 +01:00