Commit Graph

56 Commits

Author SHA1 Message Date
Brent Vatne 43832f9873 Fix modular header back button to default to showing Back and respect visibility prop 2018-10-12 12:39:44 -07:00
Brent Vatne 7eab1628d1 Tweak spring configuration, in particular to make them settle more quickly 2018-10-12 12:38:36 -07:00
Brent Vatne 5f157cbc16 Fix lint errors 2018-10-12 11:34:03 -07:00
Brent Vatne 6b3c2edf58 Depend on core and native 2018-10-12 11:25:12 -07:00
Brent Vatne f3f46d0db4 Add options to opt-in/out of card overlay and shadow 2018-10-11 17:04:23 -07:00
Brent Vatne af7d3986a6 Pass through all stack config to router 2018-10-11 12:03:40 -07:00
Brent Vatne bc166f85ad Tweak opacity of overlay 2018-10-11 12:01:42 -07:00
Brent Vatne bf5a8411f8
Merge pull request #34 from pzatorski/feature/back-button-accessibility
change accessibilityLabel for HeaderBackButton - Fix iOS voiceover
2018-10-10 14:00:04 -07:00
Brent Vatne a8991529de Use react-native-gesture-handler's PanGestureHandler instead of PanResponder 2018-10-10 13:53:02 -07:00
Ashoat Tevosyan 10dc9fe767 Don't call onTransitionStart if unspecified 2018-10-04 21:23:38 -04:00
Patryk Zatorski e976a5a315 changed accessibilityLabel 2018-10-04 20:09:22 +01:00
Brent Vatne a380437f35
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
Brent Vatne 6189822835 Vendor clamp and fix lint errors / jest snapshots 2018-09-24 13:12:08 -07:00
Janic Duplessis 3a4dfadc52 Add transparentCard option to fix cards with a transparent bg when using screens 2018-09-24 15:11:34 -04:00
Brent Vatne dab7f2515e
Merge pull request #21 from backmeupplz/master
Make sure header back button is accessible
2018-09-24 09:46:11 -07:00
Brent Vatne 5313e5d2c1
Merge pull request #23 from michael-palmes/iphonexs-max-and-iphonexr-support
Added window dimensions for iPhone XS Max and iPhone XR
2018-09-24 09:41:56 -07:00
Brent Vatne 8951557608
Merge pull request #27 from react-navigation/@ericvicenti/stack-mount-complete
Stack nav completion on mount
2018-09-24 09:40:09 -07:00
Eric Vicenti b3c2ebb9a9 Stack nav completion on mount
StackView is responsible for calling the navigation completion action when `state.isTransitioning` is set. This fix handles that case when the stack is first mounting.

This had caused the following issue when observing the events.. because isTransitioning was never switched to false, didFocus never gets called: https://github.com/react-navigation/react-navigation/issues/4867
2018-09-23 12:08:18 -07:00
Michael Palmes 93784154c5 Added constants for the two iPhone X/XS/XR dimensions and comments 2018-09-16 10:24:59 -06:00
Michael Palmes 1b2e064ead Added window dimensions for iPhone XS Max and iPhone XR 2018-09-15 23:26:03 -06:00
Eric Newbury 630a0a9b26
add overflow hidden to stack navigator layout 2018-09-14 17:56:30 -04:00
Nikita Kolmogorov 32565c873b
Update HeaderBackButton.js 2018-09-14 14:35:01 -07:00
Nikita Kolmogorov 3532fdf21c
Update HeaderBackButton.js 2018-09-14 14:28:53 -07:00
Brent Vatne 457081a673 Clamp interpolated values 2018-09-14 15:26:37 +02:00
Brent Vatne 4e9a160632 Run prettier 2018-09-14 12:49:15 +02:00
Brent Vatne 2cdbb8c264 Release 0.4.0 2018-09-14 12:34:15 +02:00
Brent Vatne 0d80df96fe
Merge pull request #20 from janicduplessis/no-neg-margin
Use padding instead of negative margin in StackViewLayout
2018-09-14 12:33:57 +02:00
Brent Vatne 6e13e684d3
Update StackViewLayout.js 2018-09-14 12:32:55 +02:00
Brent Vatne 358ddcfb41
Update StackViewCard.js 2018-09-14 12:30:11 +02:00
Janic Duplessis 7da0b8cc41 Use padding instead of negative margin in StackViewLayout 2018-09-13 22:54:53 -04:00
Janic Duplessis 614bcfaee3 Fix black screen during the pop animation when using rn-screens 2018-09-12 16:55:58 -04:00
Brent Vatne 6410c16143
Merge pull request #17 from enagorny/enagorny-fix-warning-text
fix warning text type 'ui-kit' -> 'uikit'
2018-09-11 15:30:01 +01:00
Eugene Nagorny c6bad6ed6a
fix warning text type 'ui-kit' -> 'uikit' 2018-09-11 14:20:26 +03:00
Krzysztof Magiera 1f2b50c083 Use new version of rn-screens that provids compatibility layer to Views when native modules aren't available 2018-09-11 11:35:05 +02:00
Krzysztof Magiera 1406f0f8ef Bump screens version 2018-09-11 11:35:05 +02:00
Krzysztof Magiera 7bae3b2499 Add react-native-screens as dependency 2018-09-11 11:35:05 +02:00
Krzysztof Magiera 45fa2b0e48 Use react-native-screens when native screen components are available 2018-09-11 11:35:05 +02:00
Brent Vatne 82a0de3590 Update snapshots 2018-09-06 14:52:13 -07:00
Brent Vatne 0916498144
Merge pull request #14 from NewtopiaDev/backButton
Remove accessible props from nav buttons children
2018-09-06 14:49:06 -07:00
Chris Burger 1931b5b968 Remove accessible props from nav buttons children 2018-09-06 14:49:14 -04:00
Dennis Plotnik 6b6f2fe406 Remove accessible tag from card 2018-09-05 14:46:35 -04:00
Brent Vatne 6a0c6de329 Filter out active prop on dummy screen component 2018-08-24 10:10:04 -07:00
Brent Vatne ad0696183c Stop using animated value for active prop temporarily due to https://github.com/react-navigation/react-navigation/issues/4886 2018-08-23 16:19:13 -07:00
Brent Vatne ab0fd3d0ee Make position a native animated value on initialization to fix https://github.com/react-navigation/react-navigation/issues/4886 2018-08-23 15:47:11 -07:00
Brent Vatne 2f42270bc5 Default to not animating the header background but keep around the translation background interpolator 2018-08-22 17:08:36 -07:00
Brent Vatne 75a17f854a Fix lint errors and tests 2018-08-22 16:23:40 -07:00
Brent Vatne 4e04428e26 Add accessibility props to card 2018-08-22 16:09:32 -07:00
Brent Vatne 6a76bf6703
Merge pull request #3 from erickreutz/eric-interpolated-background
Animate headerBackground between scene transitions
2018-08-21 12:55:48 -07:00
Brent Vatne d6b1f5c967
Merge pull request #1 from dylancompanjen/master
Updated HeaderTitle fontWeight to match current iOS11&12 style
2018-08-14 08:56:15 -07:00
Krzysztof Magiera 9bfc92baa5 Use ScreenContainer and Screen components in stack - currently they fallback to RN's View 2018-08-14 14:41:11 +02:00