Commit Graph

91 Commits

Author SHA1 Message Date
Satyajit Sahoo
2733b2a319 chore: sync latest stack 2020-01-05 14:56:36 +01:00
Satyajit Sahoo
60c8b13fff fix: fix incorrect reference to react-navigation. fixes #334 2020-01-05 13:03:24 +01:00
Satyajit Sahoo
b620900f10 chore: sync latest stack 2020-01-03 18:20:25 +01:00
Satyajit Sahoo
9ac1904862 refactor: migrate to animated 2020-01-01 17:37:34 +01:00
Satyajit Sahoo
c2570f3f55 refactor: remove native example 2020-01-01 17:23:58 +01:00
Satyajit Sahoo
c3133cdb5f refactor: remove cardTransparent in favor of cardStyle 2019-12-16 16:25:22 +01:00
Satyajit Sahoo
8b11e4df0c chore: reuse the stack code from react navigation 5
The code for the stack is almost the same as v5, with the only differences being the types and the navigation object. To avoid making same changes in 2 places which error-prone, I decided to reuse the same code. Due to the differences, it's not possible to just use it as a dependency, so I followed this approach:
- Copy the source files on post install and apply patches to make it work with React Navigation 4
- When we need to make changes, we can make them in v5 repo and update the version here, most of the time it wouldn't need any extra work
- If we need to make v4 specific changes, we can change the code in vendor/ and then re-generate the patch with `yarn patch`
2019-12-10 15:22:12 +01:00
Christian Falch
c63259df37 feat: expose animation related properties in context (#278) 2019-11-06 12:10:15 +01:00
Samuel Chamberland
82c732a638 feat: expose stack transition values via context (#265) 2019-10-24 07:34:15 -04:00
Michał Osadnik
ef0bfe0f25 fix: send events even is stack animation is vain (#270) 2019-10-22 16:46:36 +02:00
satyajit.happy
17f6eefef6 feat: add an option to override safe area insets 2019-10-18 17:10:16 +02:00
satyajit.happy
b540c4d78f chore: add transparent example to per screen transitions 2019-10-07 17:40:14 +02:00
satyajit.happy
81ea376b34 chore: set headerMode: screen in per screen transition example 2019-10-07 15:51:04 +02:00
satyajit.happy
8f83f58913 feat: add a more explicit headerShown option 2019-10-06 15:37:08 +02:00
satyajit.happy
28353f4b79 fix: add safe-area-context to peer deps 2019-10-06 15:31:34 +02:00
Brent Vatne
4d0a1a5178 feat: switch to react-native-safe-area-context 2019-08-29 16:38:43 -07:00
satyajit.happy
1eae99dca0 fix: use next screen's animation when not focused 2019-10-06 04:30:34 +02:00
satyajit.happy
ca432e0354 chore: update expo-cli and eslint 2019-10-05 22:56:42 +02:00
satyajit.happy
63e2ad56df chore: migrate example to TS 2019-09-22 02:17:55 +02:00
satyajit.happy
9208f6457e fix: fix interpolation in example 2019-09-22 01:26:23 +02:00
satyajit.happy
25d3e96d0e fix: set proper type for screenProps in ScreenComponent 2019-09-22 00:58:01 +02:00
satyajit.happy
52641ac43a chore: upgrade react-navigation 2019-09-14 16:03:28 +02:00
satyajit.happy
807627a12f feat: export types for ScreenProps amd ScreenComponent 2019-09-12 16:24:19 +02:00
Satyajit Sahoo
a0676569d0 fix: fix typescript definitions (#214) 2019-09-11 17:01:17 +02:00
Tomasz Czajęcki
f4c8078da8 feat: if cardStyle has flexed specified, set the same value on P… (#206)
* feat: if cardStyle has flexed specified, set the same value on PointerEventsView

* Stop producing empty object if no override is needed

* Change produced false to undefined

* Update cardStyle to handle arrays

* Update code to use StyleSheet.flatten

* Use better styling

* Update snapshots
2019-09-10 22:51:58 +02:00
satyajit.happy
4c012ad1ea fix: add peer dep on react-navigation 2019-09-09 21:52:09 +02:00
Brent Vatne
ea4c44af7b chore: get example running in bare react-native on ios 2019-08-29 16:09:53 -07:00
Brent Vatne
3b1eed0415 chore: update example to sdk 34 2019-08-29 15:49:22 -07:00
dependabot[bot]
f0bd7adc68 chore(deps): bump lodash from 4.17.11 to 4.17.15 in /example (#191)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-27 10:43:38 +01:00
wojciechstaniszswmansion
5dc8a289ef feat: add 'vertical-inverted' as gesture direction (#184)
As for now there is no way to dismiss modal by moving up, only swiping down is available.

https://streamable.com/s/ogjyq/gqugbc
2019-08-22 16:11:04 +02:00
satyajit.happy
71285a69ab fix: use MaskedView from @react-native-community/masked-view 2019-08-01 02:59:46 +02:00
satyajit.happy
ef3742e992 refactor: rename gesturesEnabled to gestureEnabled for consistency 2019-07-15 17:35:21 +02:00
satyajit.happy
4db67a17a6 refactor: don't use keyboardAwareNavigator The HOC currently forces us to expose some options in stack config which we don't want to. So we vendor this functionality for now to avoid this. 2019-07-14 21:55:19 +02:00
satyajit.happy
77eb819edd refactor: rename WipeFromBottomAndroid to RevealFromBottomAndroid 2019-07-10 16:04:48 +02:00
satyajit.happy
e8b7937f9e fix: don't enable screens for modal stacks 2019-07-08 02:56:58 +02:00
satyajit.happy
919a274b4c fix: fix back button not working in header 2019-07-07 14:39:28 +02:00
satyajit.happy
da7284999b fix: disable react-native-screens on iOS 2019-07-06 15:24:42 +02:00
satyajit.happy
8dcf5ee4be chore: upgrade deps 2019-07-06 13:08:18 +02:00
Tomasz Czajęcki
8795e7b660 feat: allow specifying style interpolators in navigationOptions (#155) 2019-07-06 12:41:34 +02:00
satyajit.happy
c6ba6e8c1c feat: add iOS modal presentation style 2019-06-07 15:05:52 +02:00
satyajit.happy
4b2e6a95ca feat: add headerTransparent option 2019-06-21 12:54:19 +02:00
satyajit.happy
cb49d431f4 feat: add cardX options in navigationOptions 2019-06-15 00:06:24 +02:00
Brent Vatne
c0f279ed8a Fix warnings from expo package in example 2019-06-14 10:17:38 -07:00
satyajit.happy
982c2f1378 chore: disable react-native-screens in the example for now 2019-06-14 19:09:42 +02:00
satyajit.happy
7f99f6f7ca fix: handle RTL properly 2019-06-14 13:56:36 +02:00
satyajit.happy
6b2079735b refactor: keep transition states locally and implement animated replace 2019-06-08 01:18:48 +02:00
satyajit.happy
6a9f6af3ad chore: fix tests and lint 2019-06-06 17:17:42 +02:00
satyajit.happy
b6f9e33c8d refactor: switch to fade animation for header by default 2019-06-06 17:08:09 +02:00
Brent Vatne
d2ef462a9f chore: fix updating to SDK33 2019-06-06 16:46:49 +02:00
Brent Vatne
62db132427 chore: make it run with just yarn 2019-06-06 16:23:57 +02:00