@applicaster/zapp-react-native-ui-components 13.0.0-rc.4 → 13.0.0-rc.6
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.
|
@@ -121,22 +121,6 @@ const getTabletWidth = (
|
|
|
121
121
|
return Number(width) - sidebarWidth;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
-
const getStyles = (baseStyle, isMobile, isPortrait, pip) => {
|
|
125
|
-
if (pip) {
|
|
126
|
-
return baseStyle;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
if (isMobile && isPortrait) {
|
|
130
|
-
return { width: SCREEN_WIDTH, height: SCREEN_HEIGHT };
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
if (isMobile && !isPortrait) {
|
|
134
|
-
return { width: SCREEN_HEIGHT, height: SCREEN_WIDTH };
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
return baseStyle;
|
|
138
|
-
};
|
|
139
|
-
|
|
140
124
|
const showDetails = (
|
|
141
125
|
isMobile: boolean,
|
|
142
126
|
docked: boolean,
|
|
@@ -168,7 +152,7 @@ const showDetails = (
|
|
|
168
152
|
const PlayerWrapperComponent = (props: Props) => {
|
|
169
153
|
const {
|
|
170
154
|
entry,
|
|
171
|
-
style
|
|
155
|
+
style,
|
|
172
156
|
containerStyle,
|
|
173
157
|
inline,
|
|
174
158
|
docked,
|
|
@@ -183,7 +167,7 @@ const PlayerWrapperComponent = (props: Props) => {
|
|
|
183
167
|
|
|
184
168
|
const isInlineModal = inline && isModal;
|
|
185
169
|
|
|
186
|
-
const style = getStyles(baseStyle, !isTablet, isInlineModal, pip);
|
|
170
|
+
// const style = getStyles(baseStyle, !isTablet, isInlineModal, pip);
|
|
187
171
|
|
|
188
172
|
const isTabletLandscape = !isTV() && isTablet && !isTabletPortrait;
|
|
189
173
|
|
|
@@ -27,8 +27,8 @@ exports[`PlayerWrapper renders inline 1`] = `
|
|
|
27
27
|
"backgroundColor": "transparent",
|
|
28
28
|
},
|
|
29
29
|
Object {
|
|
30
|
-
"height":
|
|
31
|
-
"width":
|
|
30
|
+
"height": 800,
|
|
31
|
+
"width": 300,
|
|
32
32
|
},
|
|
33
33
|
Object {},
|
|
34
34
|
]
|
|
@@ -133,8 +133,8 @@ exports[`PlayerWrapper renders inline and docked 1`] = `
|
|
|
133
133
|
"backgroundColor": "transparent",
|
|
134
134
|
},
|
|
135
135
|
Object {
|
|
136
|
-
"height":
|
|
137
|
-
"width":
|
|
136
|
+
"height": undefined,
|
|
137
|
+
"width": 300,
|
|
138
138
|
},
|
|
139
139
|
Object {},
|
|
140
140
|
]
|
|
@@ -361,8 +361,8 @@ exports[`PlayerWrapper renders properly 1`] = `
|
|
|
361
361
|
"backgroundColor": "transparent",
|
|
362
362
|
},
|
|
363
363
|
Object {
|
|
364
|
-
"height":
|
|
365
|
-
"width":
|
|
364
|
+
"height": 800,
|
|
365
|
+
"width": 300,
|
|
366
366
|
},
|
|
367
367
|
Object {},
|
|
368
368
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "13.0.0-rc.
|
|
3
|
+
"version": "13.0.0-rc.6",
|
|
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-rc.
|
|
38
|
-
"@applicaster/zapp-react-native-bridge": "13.0.0-rc.
|
|
39
|
-
"@applicaster/zapp-react-native-redux": "13.0.0-rc.
|
|
40
|
-
"@applicaster/zapp-react-native-utils": "13.0.0-rc.
|
|
37
|
+
"@applicaster/applicaster-types": "13.0.0-rc.6",
|
|
38
|
+
"@applicaster/zapp-react-native-bridge": "13.0.0-rc.6",
|
|
39
|
+
"@applicaster/zapp-react-native-redux": "13.0.0-rc.6",
|
|
40
|
+
"@applicaster/zapp-react-native-utils": "13.0.0-rc.6",
|
|
41
41
|
"promise": "^8.3.0",
|
|
42
42
|
"react-router-native": "^5.1.2",
|
|
43
43
|
"url": "^0.11.0",
|