Commit Graph

51 Commits

Author SHA1 Message Date
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
1eae99dca0 fix: use next screen's animation when not focused 2019-10-06 04:30:34 +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
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
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
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
919a274b4c fix: fix back button not working in header 2019-07-07 14:39:28 +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
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
b6f9e33c8d refactor: switch to fade animation for header by default 2019-06-06 17:08:09 +02:00
satyajit.happy
3be00f5c2a chore: fix snapshots 2019-06-06 12:42:52 +02:00
satyajit.happy
06b3867e17 refactor: rewrite based on reanimated 2019-05-25 00:58:11 +02:00
satyajit.happy
3b907d39ee refactor: migrate codebase to typescript 2019-04-26 10:20:51 +02:00
Brent Vatne
533475684a Fix lint error 2019-02-04 18:03:22 -08:00
Brent Vatne
de3f806595 Update example to SDK32 2019-01-16 21:37:06 -08:00
Brent Vatne
7ea8f84400 Fix lint error 2018-11-30 12:48:38 -08:00
Brent Vatne
6c5aa3a4b8 Fix issue with navigation immediately on mount https://github.com/react-navigation/react-navigation/issues/5247 2018-11-30 12:03:17 -08:00
Brent Vatne
c064952a0a Add a title in modal example 2018-11-26 09:27:14 -08:00
Brent Vatne
beb2f75884 Don't fade the back image on Android, use transparent background color 2018-11-03 14:13:32 -07:00
Brent Vatne
ab20beddea Fix linting and typo 2018-10-31 19:23:44 -07:00
Brent Vatne
5e66f422db Add header preset example 2018-10-31 15:39:59 -07:00
Brent Vatne
ab30e0c0e1 Add headerBackgroundTransitionPreset with 'toggle' 'translate' and 'fade' options 2018-10-31 13:38:21 -07:00
Brent Vatne
cbd227c6df Default to hide hidden header backgrounds 2018-10-31 13:22:03 -07:00
Brent Vatne
73a5b8ba1d Improve example and state warning 2018-10-30 13:20:00 -07:00
Brent Vatne
a8d6962d0f Clean up transitioner a bit, fix issue where state is invalid and warn 2018-10-30 13:08:06 -07:00
Brent Vatne
15da5d89e1 Merge pull request #49 from react-navigation/@brent/queued-transitions
Rethink queued transitions
2018-10-30 10:35:03 -07:00
Brent Vatne
f1c3770f2d Fix programmatic back when gesture is in progress 2018-10-22 13:49:00 -07:00
Brent Vatne
5b505664b8 Fix bug where transitioner freezes when nested state change occurs in the middle of transition 2018-10-17 15:26:13 -07:00
Brent Vatne
910df8e428 Fix lint errors 2018-10-17 13:19:31 -07:00
Brent Vatne
1d7e48e554 Support inverted gesture in modal 2018-10-17 13:11:38 -07:00
Brent Vatne
ecad309497 Support gestureResponseDistance 2018-10-17 12:41:42 -07:00
Brent Vatne
e1b8f53574 Move to core/native peerDependencies and update example to use stack at root 2018-10-16 19:58:21 -07:00
Brent Vatne
dc1f1260dd Tweak Android transitions 2018-10-15 17:16:17 -07:00
Eric Vicenti
298e04228a Clean up refs in examples 2018-10-15 11:53:43 -07:00
Brent Vatne
395e53af73 Fix modular header back button to default to showing Back and respect visibility prop 2018-10-12 12:39:44 -07:00
Brent Vatne
8c952abc2c Fix lint errors 2018-10-12 11:34:03 -07:00
Brent Vatne
81f1915075 Depend on core and native 2018-10-12 11:23:17 -07:00
Brent Vatne
8b509dd525 Add options to opt-in/out of card overlay and shadow 2018-10-11 17:04:23 -07:00
Brent Vatne
f3c83c985d Use react-native-gesture-handler's PanGestureHandler instead of PanResponder 2018-10-10 13:52:38 -07:00
Brent Vatne
00b83bb18d Merge pull request #28 from janicduplessis/transparent-card
Add transparentCard option to fix cards with a transparent bg when using screens
2018-09-24 13:32:16 -07:00