Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit d09d876

Browse files
committed
🔧 (react-nonav) rename gondola to nonav
1 parent 6b0269f commit d09d876

17 files changed

Lines changed: 112 additions & 112 deletions

CHANGELOG.md

Lines changed: 71 additions & 71 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<p align="center">React Native declarative and reactive navigation.</p>
44

55
<p align="center">
6-
<a href="https://travis-ci.com/tpucci/react-gondola"><img src="https://travis-ci.com/tpucci/react-gondola.svg?branch=master" alt="Build Status"/></a>
7-
<a href="https://coveralls.io/github/tpucci/react-gondola?branch=master"><img src="https://coveralls.io/repos/github/tpucci/react-gondola/badge.svg?branch=master" alt="Coverage Status"/></a>
8-
<a href="https://www.npmjs.com/package/react-gondola"><img src="https://img.shields.io/npm/dw/react-gondola.svg" alt="NPM Downloads"/></a>
6+
<a href="https://travis-ci.com/tpucci/react-nonav"><img src="https://travis-ci.com/tpucci/react-nonav.svg?branch=master" alt="Build Status"/></a>
7+
<a href="https://coveralls.io/github/tpucci/react-nonav?branch=master"><img src="https://coveralls.io/repos/github/tpucci/react-nonav/badge.svg?branch=master" alt="Coverage Status"/></a>
8+
<a href="https://www.npmjs.com/package/react-nonav"><img src="https://img.shields.io/npm/dw/react-nonav.svg" alt="NPM Downloads"/></a>
99
<a href="http://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg" alt="Commitizen friendly"/></a>
1010
<a href="https://github.com/semantic-release/semantic-release"><img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-release"/></a>
1111
</p>
@@ -14,9 +14,9 @@
1414

1515
## Philosophy
1616

17-
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-gondola`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
17+
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-nonav`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
1818

19-
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-gondola` takes care of the rest.
19+
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-nonav` takes care of the rest.
2020

2121
## 👍 TLDR; Use this package if:
2222

@@ -27,11 +27,11 @@ This repo focuses on grouping screens by business conversion tunnels called **ca
2727
## 👎 Do not use this repo if:
2828

2929
- you want to navigate imperatively.
30-
- you need to use Native navigation (react-gondola's navigation is powered by JS code only).
30+
- you need to use Native navigation (react-nonav's navigation is powered by JS code only).
3131

3232
## Docs
3333

34-
The docs are here: https://react-gondola.netlify.com/
34+
The docs are here: https://react-nonav.netlify.com/
3535
Powered by the incredible [docz](https://www.docz.site/).
3636

3737
## Contribute

docs/GettingStarted.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ route: /getting-started
77

88
## Installation
99

10-
React-gondola needs the following dependencies; if you do not have those installed, you need to install them with the correspondig command:
10+
React-nonav needs the following dependencies; if you do not have those installed, you need to install them with the correspondig command:
1111

1212
| Dependencie name | Yarn Installation command | NPM Installation command |
1313
| :-----------------------: | :--------------------------------: | :-----------------------------: |
@@ -16,13 +16,13 @@ React-gondola needs the following dependencies; if you do not have those install
1616

1717
Then, follow any post-installation instruction of `react-native-reanimated`. See [`react-native-reanimated` Installation Instructions](https://github.com/kmagiera/react-native-reanimated#installation).
1818

19-
Then, install React-Gondola with:
19+
Then, install React-Nonav with:
2020

21-
`yarn add react-gondola`
21+
`yarn add react-nonav`
2222

2323
or
2424

25-
`npm i react-gondola`
25+
`npm i react-nonav`
2626

2727
## Basic Usage
2828

@@ -32,7 +32,7 @@ In order to create a canal, use the `Canal` and `Screen` components. Your screen
3232

3333
```ts
3434
import React from 'react';
35-
import { Canal, Screen } from 'react-gondola';
35+
import { Canal, Screen } from 'react-nonav';
3636
import { FirstName } from './FirstName';
3737
import { LastName } from './LastName';
3838

@@ -52,7 +52,7 @@ If you want to add full screen page, pass the `isFullScreen` flag prop to your `
5252

5353
```ts
5454
import React from 'react';
55-
import { Canal, Screen } from 'react-gondola';
55+
import { Canal, Screen } from 'react-nonav';
5656
import { FirstName } from './FirstName';
5757
import { LastName } from './LastName';
5858

@@ -69,7 +69,7 @@ In order to render the full screen page, add the `FullScreenPortal` at the top l
6969
```ts
7070
import React, { Component } from 'react';
7171
import { MyCanal } from './canals/MyCanal';
72-
import { FullScreenPortal } from 'react-gondola';
72+
import { FullScreenPortal } from 'react-nonav';
7373

7474
export default class App extends Component {
7575
render() {
@@ -88,7 +88,7 @@ Back events are also managed in a declarative way. Use the `onBack` callback pro
8888

8989
```ts
9090
import React from 'react';
91-
import { Canal, Screen } from 'react-gondola';
91+
import { Canal, Screen } from 'react-nonav';
9292
import { FirstName } from './FirstName';
9393
import { LastName } from './LastName';
9494

@@ -123,4 +123,4 @@ import { Warning } from 'components/Warning';
123123
- Deepest visible screen.
124124
</Info>
125125

126-
You are ready to use React-Gondola 🎸.
126+
You are ready to use React-Nonav 🎸.

docs/Roadmap.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ route: /roadmap
55

66
# Roadmap
77

8-
If there is a real interest on `react-gondola` and its phylosophy, I might add support for the following features:
8+
If there is a real interest on `react-nonav` and its phylosophy, I might add support for the following features:
99

1010
import { StrikeThrough } from "./components/StrikeThrough";
1111

@@ -18,11 +18,11 @@ Tweet me some encouragements 😁 and star the repo !
1818
import GitHubButton from "react-github-btn";
1919

2020
<GitHubButton
21-
href="https://github.com/tpucci/react-gondola"
21+
href="https://github.com/tpucci/react-nonav"
2222
data-icon="octicon-star"
2323
data-size="large"
2424
data-show-count="true"
25-
aria-label="Star tpucci/react-gondola on GitHub"
25+
aria-label="Star tpucci/react-nonav on GitHub"
2626
>
2727
Star
2828
</GitHubButton>

docs/Welcome.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ React Native declarative and reactive navigation.
99

1010
## Philosophy
1111

12-
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-gondola`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
12+
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-nonav`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
1313

14-
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-gondola` takes care of the rest.
14+
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-nonav` takes care of the rest.
1515

1616
## When to use this package
1717

@@ -24,7 +24,7 @@ This repo focuses on grouping screens by business conversion tunnels called **ca
2424
### 👎 Do not use this repo if:
2525

2626
- you want to navigate imperatively.
27-
- you need to use Native navigation (react-gondola's navigation is powered by JS code only).
27+
- you need to use Native navigation (react-nonav's navigation is powered by JS code only).
2828

2929
## Compare
3030

docs/guides/Back.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ route: /guides/back
1111
In order to go back, you need to code two steps.
1212

1313
1. Add a `onBack` callback on the `Screen` you are going back from. Make sure this callback affects the visibility (prop `visible`) of the screen you are going back from.
14-
2. Call `Navigation.instance.back()` (`import { Navigation } from 'react-gondola'`).
14+
2. Call `Navigation.instance.back()` (`import { Navigation } from 'react-nonav'`).
1515

1616
You're set 🎸.
1717

docs/guides/ReactNavigationInteroperability.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Yes it can.
1111
## Good use of both of us 👍
1212

1313
1. The user is free to navigate on some top level pages (use `react-navigation`).
14-
2. The user is forced to move forward/backward when he completes come steps in low level tunnels (use `react-gondola`).
14+
2. The user is forced to move forward/backward when he completes come steps in low level tunnels (use `react-nonav`).
1515

1616
This means that at a certain point in your navigation, you need to control the visibility of your page. That great power comes with great responsability.
1717
✅ Test your state machine !
1818

1919
## How well it works ?
2020

21-
**Disclaimer:** interoperability has not been entirely tested. If you encounter any issue, feel free to open an issue on the `react-gondola` repo.
21+
**Disclaimer:** interoperability has not been entirely tested. If you encounter any issue, feel free to open an issue on the `react-nonav` repo.
2222

2323
## Steps
2424

docs/guides/Transitions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In order to use transitions between two screens, simply add the `Transitioner` k
1212

1313
```ts
1414
import React from 'react';
15-
import { Canal, Screen, transitions } from 'react-gondola';
15+
import { Canal, Screen, transitions } from 'react-nonav';
1616
import { FirstName } from './FirstName';
1717
import { LastName } from './LastName';
1818

@@ -41,7 +41,7 @@ You can create your own transitioner if the one availables does not fit your nee
4141

4242
1. Your transitioner need to extend `TransitionComponent`.
4343
2. Your transitioner will receive a `directionForward` prop. If true, your transitioner need to play the transition forward. Else, it need to play the transition backward.
44-
3. (Optionnal but recommended) If you use jest, you can test your component using `describeTransitioner` from `react-gondola/transitions/describeTransitioner`
44+
3. (Optionnal but recommended) If you use jest, you can test your component using `describeTransitioner` from `react-nonav/transitions/describeTransitioner`
4545

4646
⚠️ If you use jest and want to test you Transitioner wihch uses `react-native-reanimated`, make sure you correctly mocked `react-native-reanimated`.
4747

doczrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
config.resolve.alias = Object.assign({}, config.resolve.alias, {
1818
components: path.resolve(__dirname, 'docs/components/'),
1919
'react-native$': 'react-native-web',
20-
'react-gondola$': path.resolve(__dirname, 'src/index.ts'), // eslint-disable-line
20+
'react-nonav$': path.resolve(__dirname, 'src/index.ts'), // eslint-disable-line
2121
'react-native-reanimated$': path.resolve(__dirname, 'docs/mocks/react-native-reanimated'), // eslint-disable-line
2222
});
2323
return config;

example/jest.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ module.exports = {
66
rootDir: '..',
77
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/src/'],
88
moduleNameMapper: {
9-
'^react-gondola$': '<rootDir>/src/',
10-
'^react-gondola/transitions$': '<rootDir>/src/transitions',
9+
'^react-nonav$': '<rootDir>/src/',
10+
'^react-nonav/transitions$': '<rootDir>/src/transitions',
1111
},
1212
setupFilesAfterEnv: ['<rootDir>/jest/setup.js'],
1313
};

0 commit comments

Comments
 (0)