@applicaster/zapp-react-native-ui-components 13.0.0-alpha.2330880002 → 13.0.0-alpha.3592223128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -128,7 +128,7 @@ export function Screen(_props: Props) {
|
|
|
128
128
|
<View style={style}>
|
|
129
129
|
{navBarProps && <NavBar {...navBarProps} hasMenu={hasMenu} />}
|
|
130
130
|
|
|
131
|
-
<OfflineFallbackScreen>
|
|
131
|
+
<OfflineFallbackScreen screenData={targetScreenData}>
|
|
132
132
|
{/* @TODO RouteManager doesn't use props, can they be removed ? */}
|
|
133
133
|
<RouteManager pathname={pathname} screenData={screenData} />
|
|
134
134
|
</OfflineFallbackScreen>
|
|
@@ -121,11 +121,7 @@ const getTabletWidth = (
|
|
|
121
121
|
return Number(width) - sidebarWidth;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
-
const getStyles = (baseStyle, isMobile, isPortrait
|
|
125
|
-
if (pip) {
|
|
126
|
-
return baseStyle;
|
|
127
|
-
}
|
|
128
|
-
|
|
124
|
+
const getStyles = (baseStyle, isMobile, isPortrait) => {
|
|
129
125
|
if (isMobile && isPortrait) {
|
|
130
126
|
return { width: SCREEN_WIDTH, height: SCREEN_HEIGHT };
|
|
131
127
|
}
|
|
@@ -140,13 +136,8 @@ const getStyles = (baseStyle, isMobile, isPortrait, pip) => {
|
|
|
140
136
|
const showDetails = (
|
|
141
137
|
isMobile: boolean,
|
|
142
138
|
docked: boolean,
|
|
143
|
-
isInlineModal
|
|
144
|
-
pip
|
|
139
|
+
isInlineModal
|
|
145
140
|
): boolean => {
|
|
146
|
-
if (pip) {
|
|
147
|
-
return false;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
141
|
if (!isInlineModal) {
|
|
151
142
|
return false;
|
|
152
143
|
}
|
|
@@ -183,7 +174,7 @@ const PlayerWrapperComponent = (props: Props) => {
|
|
|
183
174
|
|
|
184
175
|
const isInlineModal = inline && isModal;
|
|
185
176
|
|
|
186
|
-
const style = getStyles(baseStyle, !isTablet, isInlineModal
|
|
177
|
+
const style = getStyles(baseStyle, !isTablet, isInlineModal);
|
|
187
178
|
|
|
188
179
|
const isTabletLandscape = !isTV() && isTablet && !isTabletPortrait;
|
|
189
180
|
|
|
@@ -262,7 +253,7 @@ const PlayerWrapperComponent = (props: Props) => {
|
|
|
262
253
|
</View>
|
|
263
254
|
|
|
264
255
|
<AnimatedScrollModal>
|
|
265
|
-
{showDetails(!isTablet, docked, isInlineModal
|
|
256
|
+
{showDetails(!isTablet, docked, isInlineModal) && (
|
|
266
257
|
<AnimationComponent
|
|
267
258
|
animationType={ComponentAnimationType.componentFade}
|
|
268
259
|
style={defaultStyles.flex}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "13.0.0-alpha.
|
|
3
|
+
"version": "13.0.0-alpha.3592223128",
|
|
4
4
|
"description": "Applicaster Zapp React Native ui components for the Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"redux-mock-store": "^1.5.3"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@applicaster/applicaster-types": "13.0.0-alpha.
|
|
38
|
-
"@applicaster/zapp-react-native-bridge": "13.0.0-alpha.
|
|
39
|
-
"@applicaster/zapp-react-native-redux": "13.0.0-alpha.
|
|
40
|
-
"@applicaster/zapp-react-native-utils": "13.0.0-alpha.
|
|
37
|
+
"@applicaster/applicaster-types": "13.0.0-alpha.3592223128",
|
|
38
|
+
"@applicaster/zapp-react-native-bridge": "13.0.0-alpha.3592223128",
|
|
39
|
+
"@applicaster/zapp-react-native-redux": "13.0.0-alpha.3592223128",
|
|
40
|
+
"@applicaster/zapp-react-native-utils": "13.0.0-alpha.3592223128",
|
|
41
41
|
"promise": "^8.3.0",
|
|
42
42
|
"react-router-native": "^5.1.2",
|
|
43
43
|
"url": "^0.11.0",
|