@applicaster/zapp-react-native-ui-components 15.0.0-rc.119 → 15.0.0-rc.120
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.
|
@@ -15,12 +15,6 @@ const styles = StyleSheet.create({
|
|
|
15
15
|
flex: 1,
|
|
16
16
|
width: "100%",
|
|
17
17
|
},
|
|
18
|
-
themeStyles: {
|
|
19
|
-
// limits the height of the focusable container of the TopMenuBarTV component
|
|
20
|
-
// to prevent it from being overlapped by the screen content,
|
|
21
|
-
// as it makes TopMenuBarTV unfocusable on tvOS
|
|
22
|
-
maxHeight: 1,
|
|
23
|
-
},
|
|
24
18
|
});
|
|
25
19
|
|
|
26
20
|
export const NavBarContainer = ({ children, isVisible, onReady }: Props) => {
|
|
@@ -31,10 +25,7 @@ export const NavBarContainer = ({ children, isVisible, onReady }: Props) => {
|
|
|
31
25
|
}, [onReady]);
|
|
32
26
|
|
|
33
27
|
return isVisible ? (
|
|
34
|
-
<View
|
|
35
|
-
testID="nav-bar-container"
|
|
36
|
-
style={[styles.container, styles.themeStyles]}
|
|
37
|
-
>
|
|
28
|
+
<View testID="nav-bar-container" style={styles.container}>
|
|
38
29
|
{children}
|
|
39
30
|
</View>
|
|
40
31
|
) : null;
|
|
@@ -3,18 +3,13 @@
|
|
|
3
3
|
exports[`NavBarContainer renders 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"maxHeight": 1,
|
|
16
|
-
},
|
|
17
|
-
]
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
"position": "absolute",
|
|
9
|
+
"top": 0,
|
|
10
|
+
"width": "100%",
|
|
11
|
+
"zIndex": 10,
|
|
12
|
+
}
|
|
18
13
|
}
|
|
19
14
|
testID="nav-bar-container"
|
|
20
15
|
>
|
|
@@ -14,18 +14,13 @@ exports[`ScreenContainer renders 1`] = `
|
|
|
14
14
|
>
|
|
15
15
|
<View
|
|
16
16
|
style={
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"maxHeight": 1,
|
|
27
|
-
},
|
|
28
|
-
]
|
|
17
|
+
{
|
|
18
|
+
"flex": 1,
|
|
19
|
+
"position": "absolute",
|
|
20
|
+
"top": 0,
|
|
21
|
+
"width": "100%",
|
|
22
|
+
"zIndex": 10,
|
|
23
|
+
}
|
|
29
24
|
}
|
|
30
25
|
testID="nav-bar-container"
|
|
31
26
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "15.0.0-rc.
|
|
3
|
+
"version": "15.0.0-rc.120",
|
|
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",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@applicaster/applicaster-types": "15.0.0-rc.
|
|
32
|
-
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.
|
|
33
|
-
"@applicaster/zapp-react-native-redux": "15.0.0-rc.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "15.0.0-rc.
|
|
31
|
+
"@applicaster/applicaster-types": "15.0.0-rc.120",
|
|
32
|
+
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.120",
|
|
33
|
+
"@applicaster/zapp-react-native-redux": "15.0.0-rc.120",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "15.0.0-rc.120",
|
|
35
35
|
"fast-json-stable-stringify": "^2.1.0",
|
|
36
36
|
"promise": "^8.3.0",
|
|
37
37
|
"url": "^0.11.0",
|