react-native-navigators
Advanced tools
Comparing version 0.0.1-beta.93 to 0.0.1-beta.94
@@ -49,3 +49,5 @@ import React, { PureComponent } from 'react'; | ||
const { navigation, screenProps } = props; | ||
if (navigation.state.routes === state.propRoutes && screenProps === state.screenProps && state.routes.length) { | ||
if (navigation.state.routes === state.propRoutes && | ||
screenProps === state.screenProps && | ||
state.routes.length) { | ||
return null; | ||
@@ -52,0 +54,0 @@ } |
@@ -48,4 +48,4 @@ import React, { PureComponent } from 'react'; | ||
const SceneComponent = descriptor.getComponent(); | ||
return (<NativeStackScene key={key} transition={((_b = (_a = navigation.dangerouslyGetParent()) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.isTransitioning) ? | ||
(options.transition || NativeNavigatorTransitions.Default) : NativeNavigatorTransitions.None} closing={closingRouteKey === route.key} gestureEnabled={options.gestureEnabled !== false} translucent={options.translucent === true} transparent={options.transparent === true} popover={options.popover} onDidFocus={this.handleDidFocus} onDidBlur={this.handleDidBlur} route={route} style={options.cardStyle} statusBarStyle={options.statusBarStyle} statusBarHidden={options.statusBarHidden}> | ||
return (<NativeStackScene key={key} transition={((_b = (_a = navigation.dangerouslyGetParent()) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.isTransitioning) ? options.transition || NativeNavigatorTransitions.Default | ||
: NativeNavigatorTransitions.None} closing={closingRouteKey === route.key} gestureEnabled={options.gestureEnabled !== false} translucent={options.translucent === true} transparent={options.transparent === true} popover={options.popover} onDidFocus={this.handleDidFocus} onDidBlur={this.handleDidBlur} route={route} style={options.cardStyle} statusBarStyle={options.statusBarStyle} statusBarHidden={options.statusBarHidden}> | ||
<NativeStackSceneContainer> | ||
@@ -52,0 +52,0 @@ <NativeSceneView screenProps={screenProps} navigation={navigation} component={SceneComponent}/> |
@@ -36,4 +36,4 @@ import { ReactNode } from 'react'; | ||
Default = "default", | ||
DarkContent = "darkContent", | ||
LightContent = "lightContent" | ||
DarkContent = "dark-content", | ||
LightContent = "light-content" | ||
} | ||
@@ -40,0 +40,0 @@ export declare enum NativeNavigatorTransitions { |
export var NativeNavigationStatusBarStyle; | ||
(function (NativeNavigationStatusBarStyle) { | ||
NativeNavigationStatusBarStyle["Default"] = "default"; | ||
NativeNavigationStatusBarStyle["DarkContent"] = "darkContent"; | ||
NativeNavigationStatusBarStyle["LightContent"] = "lightContent"; | ||
NativeNavigationStatusBarStyle["DarkContent"] = "dark-content"; | ||
NativeNavigationStatusBarStyle["LightContent"] = "light-content"; | ||
})(NativeNavigationStatusBarStyle || (NativeNavigationStatusBarStyle = {})); | ||
@@ -7,0 +7,0 @@ export var NativeNavigatorTransitions; |
{ | ||
"version": "0.0.1-beta.93", | ||
"version": "0.0.1-beta.94", | ||
"name": "react-native-navigators", | ||
@@ -4,0 +4,0 @@ "repository": { |
@@ -48,4 +48,4 @@ import { ReactNode } from 'react'; | ||
Default = 'default', | ||
DarkContent = 'darkContent', | ||
LightContent = 'lightContent' | ||
DarkContent = 'dark-content', | ||
LightContent = 'light-content' | ||
} | ||
@@ -52,0 +52,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
320377
172
3069