osdnk
9be904d9c4
fix: increase epsilon in CardContainer.tsx
2020-01-30 22:38:13 +01:00
osdnk
edf96d839f
fix: web with internal interpolation listener
2020-01-28 14:52:41 +01:00
Satyajit Sahoo
141d397bdf
chore: tweak types for stack
2020-01-28 14:35:31 +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
osdnk
a6f58677dc
fix: make UNVERSIONED insufficient expo version
2020-01-27 18:01:35 +01:00
Michał Osadnik
9bfb295620
fix: screens integration on Android ( #294 )
2020-01-27 17:48:22 +01:00
Satyajit Sahoo
5fe140e61b
fix: fix shadow position for inverted animations
2020-01-26 17:02:00 +01:00
Satyajit Sahoo
5e7cfc4ac0
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.39
- @react-navigation/compat@5.0.0-alpha.28
- @react-navigation/core@5.0.0-alpha.37
- @react-navigation/drawer@5.0.0-alpha.41
- @react-navigation/material-bottom-tabs@5.0.0-alpha.36
- @react-navigation/material-top-tabs@5.0.0-alpha.35
- @react-navigation/native-stack@5.0.0-alpha.29
- @react-navigation/native@5.0.0-alpha.29
- @react-navigation/routers@5.0.0-alpha.27
- @react-navigation/stack@5.0.0-alpha.63
2020-01-24 13:01:24 +01:00
Satyajit Sahoo
16c64e7298
fix: pass correct previous scene to header with headerMode: screen
2020-01-23 15:29:40 +01:00
osdnk
42586462fd
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.38
- @react-navigation/compat@5.0.0-alpha.27
- @react-navigation/core@5.0.0-alpha.36
- @react-navigation/drawer@5.0.0-alpha.40
- @react-navigation/material-bottom-tabs@5.0.0-alpha.35
- @react-navigation/material-top-tabs@5.0.0-alpha.34
- @react-navigation/native-stack@5.0.0-alpha.28
- @react-navigation/native@5.0.0-alpha.28
- @react-navigation/routers@5.0.0-alpha.26
- @react-navigation/stack@5.0.0-alpha.62
2020-01-23 10:45:49 +01:00
Satyajit Sahoo
63988e0da8
chore: add sideEffects: false for webpack
2020-01-22 21:47:12 +01:00
Satyajit Sahoo
65e5147910
chore: add some more examples
2020-01-20 15:38:05 +01:00
Satyajit Sahoo
321fa653ad
fix: handle header translation for horizontal-inverted
...
When going from a screen with header to screen with no header, we need to translate the header to right if the animation direction is inverted.
2020-01-20 10:55:10 +01:00
Satyajit Sahoo
0a982ee698
fix: don't use native driver on web
...
The native driver is not supported for animations on web. It just prints a wanrning in the console. So we conditionally disable it on web.
2020-01-20 06:20:06 +01:00
Satyajit Sahoo
f1df4a0808
feat: emit appear and dismiss events for native stack
2020-01-20 05:28:41 +01:00
Satyajit Sahoo
38520a97ff
fix: position inactivscreensws offscreen by default
2020-01-18 23:13:36 +01:00
Satyajit Sahoo
43d2c456be
fix: slide the header up to hide it for vertical animation
2020-01-18 04:13:37 +01:00
Satyajit Sahoo
fe82276b1f
fix: use a fade animation for header in all presets
2020-01-18 03:54:01 +01:00
Satyajit Sahoo
da67e134d2
feat: let the navigator specify if default can be prevented
2020-01-14 16:48:56 +01:00
Satyajit Sahoo
3c5b8c4992
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.37
- @react-navigation/compat@5.0.0-alpha.26
- @react-navigation/core@5.0.0-alpha.35
- @react-navigation/drawer@5.0.0-alpha.39
- @react-navigation/material-bottom-tabs@5.0.0-alpha.34
- @react-navigation/material-top-tabs@5.0.0-alpha.33
- @react-navigation/native-stack@5.0.0-alpha.27
- @react-navigation/native@5.0.0-alpha.27
- @react-navigation/routers@5.0.0-alpha.25
- @react-navigation/stack@5.0.0-alpha.61
2020-01-14 02:24:48 +01:00
Satyajit Sahoo
805e5e8636
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.36
- @react-navigation/compat@5.0.0-alpha.25
- @react-navigation/core@5.0.0-alpha.34
- @react-navigation/drawer@5.0.0-alpha.38
- @react-navigation/material-bottom-tabs@5.0.0-alpha.33
- @react-navigation/material-top-tabs@5.0.0-alpha.32
- @react-navigation/native-stack@5.0.0-alpha.26
- @react-navigation/native@5.0.0-alpha.26
- @react-navigation/routers@5.0.0-alpha.24
- @react-navigation/stack@5.0.0-alpha.60
2020-01-13 18:35:00 +01:00
Satyajit Sahoo
65a5dac2bf
fix: make sure paths aren't aliased when building definitions
...
closes #265
2020-01-13 18:31:41 +01:00
Satyajit Sahoo
536225c2c3
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.35
- @react-navigation/compat@5.0.0-alpha.24
- @react-navigation/core@5.0.0-alpha.33
- @react-navigation/drawer@5.0.0-alpha.37
- @react-navigation/material-bottom-tabs@5.0.0-alpha.32
- @react-navigation/material-top-tabs@5.0.0-alpha.31
- @react-navigation/native-stack@5.0.0-alpha.25
- @react-navigation/native@5.0.0-alpha.25
- @react-navigation/routers@5.0.0-alpha.23
- @react-navigation/stack@5.0.0-alpha.59
2020-01-13 14:37:49 +01:00
Satyajit Sahoo
23f76189a4
refactor: rename forStatic to forSlide for header
2020-01-13 00:54:05 +01:00
Satyajit Sahoo
f1f5b7197c
chore: use project references for typescript
2020-01-12 09:26:50 +01:00
Satyajit Sahoo
bfb28599fb
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.34
- @react-navigation/compat@5.0.0-alpha.23
- @react-navigation/core@5.0.0-alpha.32
- @react-navigation/drawer@5.0.0-alpha.36
- @react-navigation/material-bottom-tabs@5.0.0-alpha.31
- @react-navigation/material-top-tabs@5.0.0-alpha.29
- @react-navigation/native-stack@5.0.0-alpha.24
- @react-navigation/native@5.0.0-alpha.24
- @react-navigation/routers@5.0.0-alpha.22
- @react-navigation/stack@5.0.0-alpha.58
2020-01-09 03:03:45 +01:00
Satyajit Sahoo
37d26ca994
fix: change default screen change animation on web
2020-01-09 02:59:36 +01:00
Satyajit Sahoo
5470aeaca2
fix: don't add header animation if mode is not float
2020-01-09 02:54:01 +01:00
Satyajit Sahoo
011dabf919
chore: upgrade depenendecies
2020-01-09 02:50:48 +01:00
Satyajit Sahoo
d077388b5f
chore: add link to the docs in READMEs
2020-01-09 01:48:32 +01:00
Satyajit Sahoo
3bdbd89515
chore: update repo url for packages
...
npm only shows correct link if we use the link directly instead of repo metadata
2020-01-09 01:39:48 +01:00
Satyajit Sahoo
67798af869
fix: clamp interpolated styles
2020-01-09 01:27:19 +01:00
Satyajit Sahoo
32ffaac647
fix: only render last 3 headers in stack
2020-01-09 01:10:44 +01:00
Satyajit Sahoo
7a3d652e84
fix: change POP behaviour to remove elements from index only
...
Fixes #256
2020-01-09 01:06:55 +01:00
osdnk
da9948bfd8
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.56
2020-01-07 06:57:09 -05:00
Michał Osadnik
d3f5c55dbf
fix: remove clamping in extrapolation of progress of stack animation
2020-01-07 06:46:29 -05:00
Satyajit Sahoo
5614a7cd31
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.55
2020-01-06 19:31:30 +01:00
Satyajit Sahoo
d8b88bd83f
fix: memoize interpolated style to avoid extra work
2020-01-05 17:25:27 +01:00
Satyajit Sahoo
d6d06d07d9
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.54
2020-01-05 15:31:25 +01:00
Satyajit Sahoo
65ce20ecbc
fix: use memo for card container
2020-01-05 15:29:41 +01:00
Satyajit Sahoo
12d90833eb
fix: expose the header height even if not floating
2020-01-05 15:10:05 +01:00
Satyajit Sahoo
edeb2e8ad9
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.53
2020-01-05 14:29:27 +01:00
Satyajit Sahoo
133b59cd17
feat: expose header height in context
2020-01-05 14:26:16 +01:00
Satyajit Sahoo
a9e584c3b7
fix: compare with correct height when floating header height updates
2020-01-05 13:58:24 +01:00
Satyajit Sahoo
418a858f23
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.52
2020-01-05 02:31:09 +01:00
Satyajit Sahoo
b201fd2071
feat: add headerStatusBarHeight option to stack
2020-01-05 02:30:09 +01:00
Satyajit Sahoo
c514542305
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.32
- @react-navigation/compat@5.0.0-alpha.21
- @react-navigation/drawer@5.0.0-alpha.34
- @react-navigation/material-bottom-tabs@5.0.0-alpha.29
- @react-navigation/material-top-tabs@5.0.0-alpha.27
- @react-navigation/native-stack@5.0.0-alpha.22
- @react-navigation/routers@5.0.0-alpha.20
- @react-navigation/stack@5.0.0-alpha.51
2020-01-05 01:40:51 +01:00
Satyajit Sahoo
cbe240eae6
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.50
2020-01-03 21:42:13 +01:00
Satyajit Sahoo
7f963a74bb
fix: keep screens for replace when animation is enabled
2020-01-03 21:39:03 +01:00
Satyajit Sahoo
572beae41b
fix: use gesture direction when using next screen's animation
2020-01-03 21:27:48 +01:00