Satyajit Sahoo
d1a6f3e30e
chore: upgrade depenendecies
2020-05-08 16:06:28 +02:00
Satyajit Sahoo
fd6636a8cd
chore: update circleci config
2020-05-08 03:19:47 +02:00
Satyajit Sahoo
eb24fea8b9
chore: upgrade depenendecies
2020-05-07 21:08:55 +02:00
Satyajit Sahoo
1c075ffb16
fix: render fallback only if linking is enabled. closes #8161
2020-05-01 00:27:42 +02:00
Evan Bacon
961b519fb1
chore: create _redirects for netlify deploy ( #8160 )
2020-04-30 23:01:21 +02:00
Evan Bacon
1e73fed6de
chore: fix scrolling in web examples ( #8020 )
2020-04-30 13:17:55 +02:00
Satyajit Sahoo
b4834ce703
chore: replace AsyncStorage with localStorage on web
2020-04-29 02:16:11 +02:00
Satyajit Sahoo
ae5442ebe8
fix: return onPress instead of onClick for useLinkProps
2020-04-28 23:05:16 +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
67404f4999
test: configure playwright for e2e tests
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
c9c825bee6
fix: add config to enable redux devtools integration
2020-04-25 21:46:57 +02:00
Satyajit Sahoo
24febf6ea9
fix: spread parent params to children in compat navigator
...
fixes #6785
2020-04-23 14:10:26 +02:00
Satyajit Sahoo
cb67530dc5
chore: tweak album example
2020-04-18 01:13:34 +02:00
Satyajit Sahoo
36689e24c2
feat: add openByDefault option to drawer
2020-04-18 01:13:34 +02:00
Satyajit Sahoo
de5d985f3b
chore: upgrade depenendecies
2020-04-07 15:44:58 +02:00
Satyajit Sahoo
4ac40b5c5d
chore: update typescript and babel
2020-03-30 21:42:58 +02:00
Satyajit Sahoo
78d7a66b2b
chore: remove detox dep coz we don't use it
2020-03-27 14:54:54 +01:00
Satyajit Sahoo
179b6312fe
chore: update prettier
2020-03-22 23:58:06 +01:00
Satyajit Sahoo
6a5d0a035a
feat: add permanent drawer type ( #7818 )
...
Co-authored-by: NoemiRozpara <nrozpara@gmail.com >
2020-03-17 14:11:00 +01:00
Satyajit Sahoo
6dbda1a0c2
chore: upgrade depenendecies
2020-03-16 14:28:10 +01:00
Satyajit Sahoo
c19da31240
refactor: enable screens only for last screen
...
This will avoid issues such as https://github.com/react-navigation/react-navigation/issues/6909
2020-02-24 11:37:25 +01:00
Satyajit Sahoo
22c85ff6a9
chore: remove native-stack from the repo
...
it's now moved to https://github.com/kmagiera/react-native-screens
2020-02-19 23:18:11 +01:00
Satyajit Sahoo
ac242fd281
refactor: discard all routes but last when getting action from state
2020-02-14 23:04:09 +01:00
Satyajit Sahoo
bd2f008a83
chore: build related changes
2020-02-14 18:32:53 +01:00
Satyajit Sahoo
297eabb90e
chore: fix typo
2020-02-11 00:34:04 +01:00
Satyajit Sahoo
ae680a1e3c
chore: upgrade depenendecies
2020-02-10 16:04:20 +01:00
Satyajit Sahoo
79ab56fe41
chore: release stable version
2020-02-05 14:54:44 +01:00
Satyajit Sahoo
a121844148
chore: prepare for stable release ( #354 )
2020-02-05 14:47:36 +01:00
Michał Osadnik
bec2f754d4
refactor: rename NavigationNativeContainer to NavigationContainer ( #344 )
2020-02-04 10:21:16 +01:00
Satyajit Sahoo
ec35bd5821
chore: add links to the currently published example app
2020-02-03 04:17:03 +01:00
Satyajit Sahoo
d9237e9a0d
chore: fix gesture handler version
2020-02-03 00:27:19 +01:00
Satyajit Sahoo
0644ac03aa
chore: fix gesture handler version ( #339 )
2020-02-03 00:24:48 +01:00
Satyajit Sahoo
41a5e1a385
fix: wrap navigators in gesture handler root
2020-02-03 00:18:32 +01:00
Satyajit Sahoo
3d937d1e65
fix: dispatch pop early when screen is closed with gesture ( #336 )
...
fixes #267
2020-02-02 23:56:05 +01:00
Satyajit Sahoo
5411816188
fix: update screens for native stack
2020-02-02 23:32:12 +01:00
Satyajit Sahoo
94d7b28c0b
fix: disable screens when mode is modal on older expo versions
2020-02-01 17:21:18 +01:00
Satyajit Sahoo
2479da98ed
chore: tweak metro config
2020-02-01 02:43:58 +01:00
Satyajit Sahoo
5197ee2a9c
chore: deploy pull requests to expo
2020-01-31 21:19:18 +01:00
Satyajit Sahoo
d0510d0220
chore: tweak the album art example
2020-01-30 05:03:31 +01:00
Satyajit Sahoo
5a3f8356b0
feat: integrate with history API on web
2020-01-29 23:14:12 +01:00
Wojciech Lewicki
b931ae62df
feat: add screens prop for nested configs ( #308 )
...
Nested configs' names with their configs are now in `screens` property of the route object.
2020-01-29 16:26:17 +01:00
Satyajit Sahoo
68016de385
chore: add example for transparent card
2020-01-28 21:25:27 +01:00
Michał Osadnik
e55e866af2
feat: add deeplinking to native example ( #309 )
2020-01-28 16:47:01 +01:00
osdnk
50b366e734
fix: rtl in native app example
2020-01-28 15:40:08 +01:00
Satyajit Sahoo
6262f7298b
feat: add animationTypeForReplace option ( #297 )
...
Currently, when a screen is replaced the new screen comes into focus with a push animation. However, sometimes you might want to customize how the animation looks like.
For example, when the user logs out, animating out the previous screen like pop feels more natural than doing a push animation with the sign in screen. The PR adds a new `animationTypeForReplace` option to control this. Specifying `animationTypeForReplace: 'pop'` will pop the previous screen, otherwise the new screen will be pushed like before.
Co-authored-by: Michał Osadnik <micosa97@gmail.com >
2020-01-27 18:20:53 +01:00
Michał Osadnik
9bfb295620
fix: screens integration on Android ( #294 )
2020-01-27 17:48:22 +01:00
Satyajit Sahoo
3dede316cc
feat: add preventDefault functionality in material bottom tabs
2020-01-22 21:57:39 +01:00