Evan Bacon
b14094619f
chore: ignore __tests__ in prod builds ( #8307 )
...
The tests are being bundled and shipped in prod, this adds a bit of unneeded weight to npm installs. Now they won't be included.
```
@react-navigation/core
- before: 274 files - pkg: 211.0 kB - unpkg: 1 MB
- after: 238 files - pkg: 192.1 kB - unpkg: 827.3 kB
```
2020-05-21 11:15:12 +02:00
Satyajit Sahoo
175c07a28c
chore: publish
...
- @react-navigation/example@5.1.0
- @react-navigation/bottom-tabs@5.4.7
- @react-navigation/compat@5.1.23
- @react-navigation/core@5.8.1
- @react-navigation/drawer@5.7.7
- @react-navigation/material-bottom-tabs@5.2.7
- @react-navigation/material-top-tabs@5.2.7
- @react-navigation/native@5.4.2
- @react-navigation/routers@5.4.6
- @react-navigation/stack@5.3.9
2020-05-20 13:27:29 +02:00
osdnk
2980627cbf
chore: publish
...
- @react-navigation/bottom-tabs@5.4.6
- @react-navigation/compat@5.1.22
- @react-navigation/core@5.8.0
- @react-navigation/drawer@5.7.6
- @react-navigation/material-bottom-tabs@5.2.6
- @react-navigation/material-top-tabs@5.2.6
- @react-navigation/native@5.4.1
- @react-navigation/routers@5.4.5
- @react-navigation/stack@5.3.8
2020-05-20 10:29:05 +02:00
Satyajit Sahoo
0194de1061
chore: upgrade bob
2020-05-19 14:25:20 +02:00
Satyajit Sahoo
9304a8a16c
chore: publish
...
- @react-navigation/bottom-tabs@5.4.5
- @react-navigation/compat@5.1.21
- @react-navigation/core@5.7.0
- @react-navigation/drawer@5.7.5
- @react-navigation/material-bottom-tabs@5.2.5
- @react-navigation/material-top-tabs@5.2.5
- @react-navigation/native@5.4.0
- @react-navigation/stack@5.3.7
2020-05-17 01:20:24 +02:00
Satyajit Sahoo
60cb3c9ba7
feat: add a PathConfig type
2020-05-15 18:57:28 +02:00
Satyajit Sahoo
d14f38b80a
fix: fix types for linking options
2020-05-15 18:37:58 +02:00
Satyajit Sahoo
1dddaff45c
chore: publish
...
- @react-navigation/bottom-tabs@5.4.4
- @react-navigation/compat@5.1.20
- @react-navigation/core@5.6.1
- @react-navigation/drawer@5.7.4
- @react-navigation/material-bottom-tabs@5.2.4
- @react-navigation/material-top-tabs@5.2.4
- @react-navigation/native@5.3.2
- @react-navigation/stack@5.3.5
2020-05-14 13:22:54 +02:00
Satyajit Sahoo
2ff0531695
chore: publish
...
- @react-navigation/bottom-tabs@5.4.3
- @react-navigation/compat@5.1.19
- @react-navigation/core@5.6.0
- @react-navigation/drawer@5.7.3
- @react-navigation/material-bottom-tabs@5.2.3
- @react-navigation/material-top-tabs@5.2.3
- @react-navigation/native@5.3.1
- @react-navigation/stack@5.3.4
2020-05-14 12:45:50 +02:00
Satyajit Sahoo
740c6b6706
chore: publish
...
- @react-navigation/bottom-tabs@5.4.2
- @react-navigation/compat@5.1.18
- @react-navigation/drawer@5.7.2
- @react-navigation/material-bottom-tabs@5.2.2
- @react-navigation/material-top-tabs@5.2.2
- @react-navigation/native@5.3.0
- @react-navigation/stack@5.3.2
2020-05-10 08:34:40 +02:00
Satyajit Sahoo
039017bc2a
feat: initialState should take priority over deep link
2020-05-10 08:28:48 +02:00
Satyajit Sahoo
b85a1c3055
chore: publish
...
- @react-navigation/bottom-tabs@5.4.1
- @react-navigation/compat@5.1.17
- @react-navigation/core@5.5.2
- @react-navigation/drawer@5.7.1
- @react-navigation/material-bottom-tabs@5.2.1
- @react-navigation/material-top-tabs@5.2.1
- @react-navigation/native@5.2.6
- @react-navigation/routers@5.4.4
- @react-navigation/stack@5.3.1
2020-05-08 19:16:47 +02:00
Satyajit Sahoo
18f8188dc8
chore: add source key to package.json
2020-05-08 19:14:29 +02:00
Satyajit Sahoo
47a1229837
fix: fix building typescript definitions. closes #8216
2020-05-08 19:09:13 +02:00
Satyajit Sahoo
00b11e303e
chore: publish
...
- @react-navigation/bottom-tabs@5.4.0
- @react-navigation/compat@5.1.16
- @react-navigation/core@5.5.1
- @react-navigation/drawer@5.7.0
- @react-navigation/material-bottom-tabs@5.2.0
- @react-navigation/material-top-tabs@5.2.0
- @react-navigation/native@5.2.5
- @react-navigation/routers@5.4.3
- @react-navigation/stack@5.3.0
2020-05-08 16:34:03 +02:00
Satyajit Sahoo
d1a6f3e30e
chore: upgrade depenendecies
2020-05-08 16:06:28 +02:00
Satyajit Sahoo
eb24fea8b9
chore: upgrade depenendecies
2020-05-07 21:08:55 +02:00
Linus Unnebäck
85ae378d8c
fix: return a promise-like from getInitialState ( #8210 )
2020-05-07 20:56:55 +02:00
Satyajit Sahoo
3381d680d7
chore: publish
...
- @react-navigation/bottom-tabs@5.3.4
- @react-navigation/compat@5.1.15
- @react-navigation/core@5.5.0
- @react-navigation/drawer@5.6.4
- @react-navigation/material-bottom-tabs@5.1.15
- @react-navigation/material-top-tabs@5.1.15
- @react-navigation/native@5.2.4
- @react-navigation/stack@5.2.19
2020-05-05 20:07:13 +02:00
Satyajit Sahoo
9fd2635756
fix: return undefined for buildLink if linking is not enabled
2020-05-04 06:35:22 +02:00
Satyajit Sahoo
6bec620a3f
chore: publish
...
- @react-navigation/bottom-tabs@5.3.3
- @react-navigation/compat@5.1.14
- @react-navigation/drawer@5.6.3
- @react-navigation/material-bottom-tabs@5.1.14
- @react-navigation/material-top-tabs@5.1.14
- @react-navigation/native@5.2.3
- @react-navigation/stack@5.2.18
2020-05-01 17:31:59 +02:00
Satyajit Sahoo
c7b8e2e966
fix: default linking enabled to true
2020-05-01 17:28:41 +02:00
Satyajit Sahoo
719e1a7b46
chore: publish
...
- @react-navigation/bottom-tabs@5.3.2
- @react-navigation/compat@5.1.13
- @react-navigation/drawer@5.6.2
- @react-navigation/material-bottom-tabs@5.1.13
- @react-navigation/material-top-tabs@5.1.13
- @react-navigation/native@5.2.2
- @react-navigation/stack@5.2.17
2020-05-01 16:51:12 +02:00
Satyajit Sahoo
10eca8b92e
fix: don't throw when using 'useLinking'. fixes #8171
2020-05-01 16:49:06 +02:00
Satyajit Sahoo
b66e3436a7
chore: publish
...
- @react-navigation/bottom-tabs@5.3.1
- @react-navigation/compat@5.1.12
- @react-navigation/drawer@5.6.1
- @react-navigation/material-bottom-tabs@5.1.12
- @react-navigation/material-top-tabs@5.1.12
- @react-navigation/native@5.2.1
- @react-navigation/stack@5.2.16
2020-05-01 00:28:55 +02:00
Satyajit Sahoo
1c075ffb16
fix: render fallback only if linking is enabled. closes #8161
2020-05-01 00:27:42 +02:00
Satyajit Sahoo
1ee3038a4d
chore: publish
...
- @react-navigation/bottom-tabs@5.3.0
- @react-navigation/compat@5.1.11
- @react-navigation/core@5.4.0
- @react-navigation/drawer@5.6.0
- @react-navigation/material-bottom-tabs@5.1.11
- @react-navigation/material-top-tabs@5.1.11
- @react-navigation/native@5.2.0
- @react-navigation/routers@5.4.2
- @react-navigation/stack@5.2.15
2020-04-30 23:01:46 +02:00
Satyajit Sahoo
499c50cd43
refactor: make history type-checked
2020-04-29 19:13:14 +02:00
Satyajit Sahoo
ae5442ebe8
fix: return onPress instead of onClick for useLinkProps
2020-04-28 23:05:16 +02:00
Satyajit Sahoo
6dd52d35cf
refactor: simplify resolving the thenable
2020-04-28 16:14:58 +02:00
Satyajit Sahoo
d6fa279d93
fix: add catch to thenable returned by getInitialState
2020-04-28 15:35:06 +02:00
Satyajit Sahoo
f2291d110f
feat: add a useLinkProps hook
2020-04-27 17:45:20 +02:00
Satyajit Sahoo
942d2be2c7
feat: add action prop to Link
2020-04-27 17:45:20 +02:00
Satyajit Sahoo
b747e527a4
refactor: remove onLink prop for now
2020-04-27 17:45:20 +02:00
Satyajit Sahoo
38020de80b
refactor: simplify API for useLinkBuilder
2020-04-27 17:45:20 +02:00
Satyajit Sahoo
2792f438fe
feat: add useLinkBuilder hook to build links
...
We need to be able to create links from a navigate action to have accessible links in the built-in components such as drawer and tabs.
2020-04-27 17:45:20 +02:00
satyajit.happy
2573b5beaa
feat: add Link component as useLinkTo hook for navigating to links
...
The `Link` component can be used to navigate to URLs. On web, it'll use an `a` tag for proper accessibility. On React Native, it'll use a `Text`.
Example:
```js
<Link to="/feed/hot">Go to 🔥 </Link>
```
Sometimes we might want more complex styling and more control over the behaviour, or navigate to a URL programmatically. The `useLinkTo` hook can be used for that.
Example:
```js
function LinkButton({ to, ...rest }) {
const linkTo = useLinkTo();
return (
<Button
{...rest}
href={to}
onPress={(e) => {
e.preventDefault();
linkTo(to);
}}
/>
);
}
```
2020-04-27 17:45:20 +02:00
Satyajit Sahoo
2697355ab2
chore: publish
...
- @react-navigation/bottom-tabs@5.2.8
- @react-navigation/compat@5.1.10
- @react-navigation/core@5.3.5
- @react-navigation/drawer@5.5.1
- @react-navigation/material-bottom-tabs@5.1.10
- @react-navigation/material-top-tabs@5.1.10
- @react-navigation/native@5.1.7
- @react-navigation/routers@5.4.1
- @react-navigation/stack@5.2.14
2020-04-27 02:57:03 +02:00
Satyajit Sahoo
5e0069a896
chore: publish
...
- @react-navigation/bottom-tabs@5.2.7
- @react-navigation/compat@5.1.9
- @react-navigation/core@5.3.4
- @react-navigation/drawer@5.5.0
- @react-navigation/material-bottom-tabs@5.1.9
- @react-navigation/material-top-tabs@5.1.9
- @react-navigation/native@5.1.6
- @react-navigation/routers@5.4.0
- @react-navigation/stack@5.2.11
2020-04-18 01:28:05 +02:00
Satyajit Sahoo
6bdf6ae4ed
fix: handle in-page go back when there's no history
...
fixes #7852
2020-04-10 17:59:40 +02:00
Satyajit Sahoo
49f658fbc0
chore: publish
...
- @react-navigation/bottom-tabs@5.2.6
- @react-navigation/compat@5.1.8
- @react-navigation/core@5.3.3
- @react-navigation/drawer@5.4.1
- @react-navigation/material-bottom-tabs@5.1.8
- @react-navigation/material-top-tabs@5.1.8
- @react-navigation/native@5.1.5
- @react-navigation/routers@5.3.0
- @react-navigation/stack@5.2.10
2020-04-08 12:17:31 +02:00
Juang, Yi-Lin
c4acdaa703
docs: fix typo ( #7865 )
2020-04-08 11:35:45 +02:00
Satyajit Sahoo
de5d985f3b
chore: upgrade depenendecies
2020-04-07 15:44:58 +02:00
Satyajit Sahoo
9556aa9eff
chore: publish
...
- @react-navigation/bottom-tabs@5.2.5
- @react-navigation/compat@5.1.7
- @react-navigation/core@5.3.2
- @react-navigation/drawer@5.4.0
- @react-navigation/material-bottom-tabs@5.1.7
- @react-navigation/material-top-tabs@5.1.7
- @react-navigation/native@5.1.4
- @react-navigation/routers@5.2.1
- @react-navigation/stack@5.2.9
2020-03-30 22:22:25 +02:00
Satyajit Sahoo
4ac40b5c5d
chore: update typescript and babel
2020-03-30 21:42:58 +02:00
Satyajit Sahoo
856449b200
chore: publish
...
- @react-navigation/bottom-tabs@5.2.4
- @react-navigation/compat@5.1.6
- @react-navigation/core@5.3.1
- @react-navigation/drawer@5.3.4
- @react-navigation/material-bottom-tabs@5.1.6
- @react-navigation/material-top-tabs@5.1.6
- @react-navigation/native@5.1.3
- @react-navigation/stack@5.2.6
2020-03-23 17:07:43 +01:00
Steven Bell
d94e43c3c8
fix: add info about android launchMode in useLinking error
2020-03-23 16:39:18 +01:00
Satyajit Sahoo
853740bfaf
chore: publish
...
- @react-navigation/bottom-tabs@5.2.3
- @react-navigation/compat@5.1.5
- @react-navigation/core@5.3.0
- @react-navigation/drawer@5.3.3
- @react-navigation/material-bottom-tabs@5.1.5
- @react-navigation/material-top-tabs@5.1.5
- @react-navigation/native@5.1.2
- @react-navigation/routers@5.2.0
- @react-navigation/stack@5.2.4
2020-03-23 00:00:55 +01:00
Satyajit Sahoo
179b6312fe
chore: update prettier
2020-03-22 23:58:06 +01:00
Satyajit Sahoo
bc9b044fb3
chore: publish
...
- @react-navigation/bottom-tabs@5.2.2
- @react-navigation/compat@5.1.4
- @react-navigation/core@5.2.3
- @react-navigation/drawer@5.3.2
- @react-navigation/material-bottom-tabs@5.1.4
- @react-navigation/material-top-tabs@5.1.4
- @react-navigation/native@5.1.1
- @react-navigation/stack@5.2.2
2020-03-19 19:48:37 +01:00