180 Commits

Author SHA1 Message Date
Eric Vicenti
dbb16aae1a
Merge pull request #35 from Ashoat/master
Don't call onTransitionStart if unspecified
2018-10-09 11:54:18 -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
wakeless
660bef6b05 Allow headerLeft components to control their own rendering
Within the _renderLeftComponent there is logic around wether or not the component should be rendered.
This allows the headerLeft Component to make these decisions within it's own rendering
2018-10-02 22:28:32 +10:00
Brent Vatne
106f1e74db
Merge pull request #24 from react-navigation/@ericvicenti/allfiles
Export all files from npm package
2018-10-01 13:30:45 -07:00
Eric Vicenti
e1b59077e9
Update package.json 2018-09-26 15:21:28 -07:00
Eric Vicenti
436f2bb95a
Update package.json 2018-09-26 15:21:08 -07: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
7d979c8ada Fix typo 2018-09-24 15:34:52 -04:00
Janic Duplessis
6861dc8870 Cleanup 2018-09-24 15:13:30 -04: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
dc4d91bddf
Merge pull request #25 from flybayer/missing-dep
Add missing clamp dependency
2018-09-24 09:41:21 -07:00
Brent Vatne
79e0a47095
Merge branch 'master' into missing-dep 2018-09-24 09:41:07 -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
Brent Vatne
6fc630d931
Merge pull request #22 from enewbury/master
Add overflow hidden to stack navigator layout
2018-09-24 09:38:58 -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
Brent Vatne
e367f4cbba Move react-native-screens to peerDependency 2018-09-19 16:36:26 -07:00
Brandon Bayer
4617e7d1ed add missing clamp dependency 2018-09-17 16:33:58 -04:00
Michael Palmes
93784154c5 Added constants for the two iPhone X/XS/XR dimensions and comments 2018-09-16 10:24:59 -06:00
Eric Vicenti
8be65b0ff4
Add explicit main file for react-native
Metro will compile all source files, so we should avoid using dist to support source maps in people's apps. This key provides an explicit reference for metro to follow for react native, while keeping the main entry point for potential web consumption.
2018-09-16 09:17:10 -07:00
Eric Vicenti
a8f492cdcd
Update package.json 2018-09-16 09:14:41 -07: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
3f4d038b50 Release 0.5.1 2018-09-14 15:27:58 +02:00
Brent Vatne
457081a673 Clamp interpolated values 2018-09-14 15:26:37 +02:00
Brent Vatne
2171f128a9 Release 0.5.0 2018-09-14 12:52:28 +02:00
Brent Vatne
51a0637aec Update react-native-screens to alpha.10 2018-09-14 12:51:59 +02:00
Brent Vatne
4e9a160632 Run prettier 2018-09-14 12:49:15 +02:00
Brent Vatne
2a686f3bc7 Use react-native-screens in example 2018-09-14 12:48:59 +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
071b48de56
Merge pull request #18 from janicduplessis/fix-rn-screens-back
Fix black screen during the pop animation when using rn-screens
2018-09-14 12:30:24 +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
Brent Vatne
36ccf5ba6b
Merge pull request #6 from react-navigation/useRNScreens
Use react-native-screens when native screen components are available
2018-09-11 15:14:11 +01:00
Krzysztof Magiera
b3e95f3006 Update screens versions 2018-09-11 14:44:59 +02:00
Eugene Nagorny
c6bad6ed6a
fix warning text type 'ui-kit' -> 'uikit' 2018-09-11 14:20:26 +03:00
Krzysztof Magiera
71adcb712d Bump screens version to the one with feature flagging 2018-09-11 11:37:46 +02: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