From 38c407aad4b4774713966e5aeea433c5827101df Mon Sep 17 00:00:00 2001 From: Adam Miskiewicz Date: Thu, 26 Jan 2017 13:16:26 -0800 Subject: [PATCH] reactjs/react-navigation -> react-community/react-navigation --- .../docs/api/navigators/StackNavigator.md | 2 +- .../docs/api/views/Transitioner.md | 18 +++++++++--------- .../react-navigation/docs/api/views/Views.md | 10 +++++----- .../docs/guides/Common-Navigation-Spec.md | 2 +- .../docs/guides/Contributors.md | 4 ++-- .../docs/guides/Web-Integration.md | 6 +++--- packages/react-navigation/package.json | 2 +- .../react-navigation/website/src/AppFrame.js | 2 +- .../react-navigation/website/src/Footer.js | 4 ++-- .../website/src/PageWithSidebar.js | 2 +- 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/packages/react-navigation/docs/api/navigators/StackNavigator.md b/packages/react-navigation/docs/api/navigators/StackNavigator.md index c040a546..4d9adf3f 100644 --- a/packages/react-navigation/docs/api/navigators/StackNavigator.md +++ b/packages/react-navigation/docs/api/navigators/StackNavigator.md @@ -120,7 +120,7 @@ All `navigationOptions` for the `StackNavigator`: ### Examples -See the examples [SimpleStack.js](https://github.com/reactjs/react-navigation/tree/master/examples/NavigationPlayground/js/SimpleStack.js) and [ModalStack.js](https://github.com/reactjs/react-navigation/tree/master/examples/NavigationPlayground/js/ModalStack.js) which you can run locally as part of the [NavigationPlayground](https://github.com/reactjs/react-navigation/tree/master/examples/NavigationPlayground) app. +See the examples [SimpleStack.js](https://github.com/react-community/react-navigation/tree/master/examples/NavigationPlayground/js/SimpleStack.js) and [ModalStack.js](https://github.com/react-community/react-navigation/tree/master/examples/NavigationPlayground/js/ModalStack.js) which you can run locally as part of the [NavigationPlayground](https://github.com/react-community/react-navigation/tree/master/examples/NavigationPlayground) app. ### Navigator Props diff --git a/packages/react-navigation/docs/api/views/Transitioner.md b/packages/react-navigation/docs/api/views/Transitioner.md index 171aee80..8433d26a 100644 --- a/packages/react-navigation/docs/api/views/Transitioner.md +++ b/packages/react-navigation/docs/api/views/Transitioner.md @@ -68,11 +68,11 @@ _configureTransition(transitionProps, prevTransitionProps) { ``` #### Parameters -- `transitionProps`: the current [NavigationTransitionProps](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the current navigation state and props -- `prevTransitionProps`: the previous [NavigationTransitionProps](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the previous navigation state and props +- `transitionProps`: the current [NavigationTransitionProps](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the current navigation state and props +- `prevTransitionProps`: the previous [NavigationTransitionProps](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the previous navigation state and props #### Returns -- An object of type [NavigationTransitionSpec](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L316) that will be fed into an Animated timing function as its config +- An object of type [NavigationTransitionSpec](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L316) that will be fed into an Animated timing function as its config ### `navigationState` object @@ -99,7 +99,7 @@ export type NavigationState = { }; ``` -For more information about the `NavigationRoute` type, check out its [flow definition](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L32). +For more information about the `NavigationRoute` type, check out its [flow definition](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L32). ### `render` function Invoked from `Transitioner.render()`. This function performs the actual rendering delegated from `Transitioner`. In this function, we can use the information included in the `transitionProps` and `prevTransitionProps` parameters to render scenes, create animations and handle gestures. @@ -110,7 +110,7 @@ There are a few important properties of the `transitionProps` and `prevTransitio - `position: NavigationAnimatedValue` - the progressive index of the transitioner's navigation state - `progress: NavigationAnimatedValue` - the value that represents the progress of the transition when navigation state changes from one to another. Its numberic value will range from 0 to 1. -For the complete list of properties of `NavigationTransitionProps`, check out its [flow definition](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L273). +For the complete list of properties of `NavigationTransitionProps`, check out its [flow definition](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273). #### Examples @@ -157,8 +157,8 @@ render: (transitionProps: NavigationTransitionProps, prevTransitionProps: ?Navig ``` #### Parameters -- `transitionProps`: the current [NavigationTransitionProps](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the current state and props -- `prevTransitionProps`: the previous [NavigationTransitionProps](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the previous state and props +- `transitionProps`: the current [NavigationTransitionProps](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the current state and props +- `prevTransitionProps`: the previous [NavigationTransitionProps](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the previous state and props #### Returns - A ReactElement, which will be used to render the Transitioner component @@ -171,8 +171,8 @@ Invoked when the transition animation is about to start. onTransitionStart: (transitionProps: NavigationTransitionProps, prevTransitionProps: ?NavigationTransitionProps) => void, ``` #### Parameters -- `transitionProps`: the current [NavigationTransitionProps](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the current state and props -- `prevTransitionProps`: the previous [NavigationTransitionProps](https://github.com/reactjs/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the previous state and props +- `transitionProps`: the current [NavigationTransitionProps](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the current state and props +- `prevTransitionProps`: the previous [NavigationTransitionProps](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273) created from the previous state and props #### Returns - none. diff --git a/packages/react-navigation/docs/api/views/Views.md b/packages/react-navigation/docs/api/views/Views.md index 7c4f8049..262416c9 100644 --- a/packages/react-navigation/docs/api/views/Views.md +++ b/packages/react-navigation/docs/api/views/Views.md @@ -6,11 +6,11 @@ Navigation views are controlled React components that can present the current na ## Built in Views -- [CardStack](https://github.com/reactjs/react-navigation/blob/master/src/views/CardStack.js) - Present a stack that looks suitable on any platform - + [Card](https://github.com/reactjs/react-navigation/blob/master/src/views/Card.js) - Present one card from the card stack, with gestures - + [Header](https://github.com/reactjs/react-navigation/blob/master/src/views/Header.js) - The header view for the card stack -- [Tabs](https://github.com/reactjs/react-navigation/blob/master/src/views/TabView) - A configurable tab switcher / pager -- [Drawer](https://github.com/reactjs/react-navigation/tree/master/src/views/Drawer) - A view with a drawer that slides from the left +- [CardStack](https://github.com/react-community/react-navigation/blob/master/src/views/CardStack.js) - Present a stack that looks suitable on any platform + + [Card](https://github.com/react-community/react-navigation/blob/master/src/views/Card.js) - Present one card from the card stack, with gestures + + [Header](https://github.com/react-community/react-navigation/blob/master/src/views/Header.js) - The header view for the card stack +- [Tabs](https://github.com/react-community/react-navigation/blob/master/src/views/TabView) - A configurable tab switcher / pager +- [Drawer](https://github.com/react-community/react-navigation/tree/master/src/views/Drawer) - A view with a drawer that slides from the left ## [Transitioner](/docs/views/transitioner) diff --git a/packages/react-navigation/docs/guides/Common-Navigation-Spec.md b/packages/react-navigation/docs/guides/Common-Navigation-Spec.md index 87531e9e..9351ac4c 100644 --- a/packages/react-navigation/docs/guides/Common-Navigation-Spec.md +++ b/packages/react-navigation/docs/guides/Common-Navigation-Spec.md @@ -222,7 +222,7 @@ Based on the state URI we may decide to return an action. If an action is return ## Reference Implementations -A library to that helps easily produce navigation-aware components: https://github.com/reactjs/react-navigation . (Also uses a HOC to provide navigation containers when needed.) +A library to that helps easily produce navigation-aware components: https://github.com/react-community/react-navigation . (Also uses a HOC to provide navigation containers when needed.) A simple navigation container: https://gist.github.com/ericvicenti/77d190e2ec408012255937400e34bdb1 diff --git a/packages/react-navigation/docs/guides/Contributors.md b/packages/react-navigation/docs/guides/Contributors.md index 656a0f82..6d3f2612 100644 --- a/packages/react-navigation/docs/guides/Contributors.md +++ b/packages/react-navigation/docs/guides/Contributors.md @@ -9,7 +9,7 @@ React navigation was initially developed on macOS 10.12, with node 7+, and react ### 0. Basic Install ``` -git clone git@github.com:reactjs/react-navigation.git +git clone git@github.com:react-community/react-navigation.git cd react-navigation npm install ``` @@ -57,7 +57,7 @@ Flow is not yet passing, but your code should be flow checked and we expect that ### 4. Developing Docs -The docs are indexed in [App.js](https://github.com/reactjs/react-navigation/blob/master/website/src/App.js), where all the pages are declared alongside the titles. To test the docs, follow the above instructions for running the website. Changing existing markdown files should not require any testing. +The docs are indexed in [App.js](https://github.com/react-community/react-navigation/blob/master/website/src/App.js), where all the pages are declared alongside the titles. To test the docs, follow the above instructions for running the website. Changing existing markdown files should not require any testing. The markdown from the `docs` folder gets generated and dumped into a json file as a part of the build step. To see updated docs appear in the website, re-run the build step by running `npm run build-docs` from the `react-navigation` root folder. diff --git a/packages/react-navigation/docs/guides/Web-Integration.md b/packages/react-navigation/docs/guides/Web-Integration.md index 1abc0ebe..f15a46fd 100644 --- a/packages/react-navigation/docs/guides/Web-Integration.md +++ b/packages/react-navigation/docs/guides/Web-Integration.md @@ -4,11 +4,11 @@ React navigation routers work on web and allow you to share navigation logic wit ## Example App -[This website](https://github.com/reactjs/react-navigation/blob/master/website/) is built with react navigation, specifically using `createNavigator` and `TabRouter`. +[This website](https://github.com/react-community/react-navigation/blob/master/website/) is built with react navigation, specifically using `createNavigator` and `TabRouter`. -See the source code of the site here: [App.js](https://github.com/reactjs/react-navigation/blob/master/website/src/App.js). +See the source code of the site here: [App.js](https://github.com/react-community/react-navigation/blob/master/website/src/App.js). -To see how the app gets rendered on the server, see [Server.js](https://github.com/reactjs/react-navigation/blob/master/website/src/Server.js). On the browser, the App wakes up and gets rendered with [BrowserAppContainer.js](https://github.com/reactjs/react-navigation/blob/master/website/src/BrowserAppContainer.js). +To see how the app gets rendered on the server, see [Server.js](https://github.com/react-community/react-navigation/blob/master/website/src/Server.js). On the browser, the App wakes up and gets rendered with [BrowserAppContainer.js](https://github.com/react-community/react-navigation/blob/master/website/src/BrowserAppContainer.js). ## More Coming Soon diff --git a/packages/react-navigation/package.json b/packages/react-navigation/package.json index bdf7c8cf..f3a5e3d7 100644 --- a/packages/react-navigation/package.json +++ b/packages/react-navigation/package.json @@ -9,7 +9,7 @@ }, "webpack": "lib/react-navigation.web.js", "repository": { - "url": "git@github.com:reactjs/react-navigation.git", + "url": "git@github.com:react-community/react-navigation.git", "type": "git" }, "author": "Adam Miskiewicz ", diff --git a/packages/react-navigation/website/src/AppFrame.js b/packages/react-navigation/website/src/AppFrame.js index daf5ee07..0bb793d5 100644 --- a/packages/react-navigation/website/src/AppFrame.js +++ b/packages/react-navigation/website/src/AppFrame.js @@ -22,7 +22,7 @@ const NavigationLinks = ({navigation, className, reverse}) => { ); }), - + GitHub , ]; diff --git a/packages/react-navigation/website/src/Footer.js b/packages/react-navigation/website/src/Footer.js index fd1a2be7..3af9dd98 100644 --- a/packages/react-navigation/website/src/Footer.js +++ b/packages/react-navigation/website/src/Footer.js @@ -4,11 +4,11 @@ const Footer = () => (
- + React Navigation ยท - + Distributed under BSD License
diff --git a/packages/react-navigation/website/src/PageWithSidebar.js b/packages/react-navigation/website/src/PageWithSidebar.js index f57885a7..3e39ada6 100644 --- a/packages/react-navigation/website/src/PageWithSidebar.js +++ b/packages/react-navigation/website/src/PageWithSidebar.js @@ -105,7 +105,7 @@ class PageWithSidebar extends Component {

- {state.routeName === 'Docs' && Edit on GitHub} + {state.routeName === 'Docs' && Edit on GitHub} {prevAction && Previous: {prevName}} {nextAction && Next: {nextName}}