@applicaster/zapp-react-native-ui-components 12.0.0-rc.84 → 12.0.0-rc.86

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.
@@ -71,9 +71,9 @@ export class BaseFocusable<
71
71
  }
72
72
 
73
73
  getId(props?: { id: string; groupId: string }) {
74
- const { id, groupId = null } = props || this.props;
74
+ const { id } = props || this.props;
75
75
 
76
- return groupId ? `${groupId}-${id}` : id;
76
+ return id;
77
77
  }
78
78
 
79
79
  getRect() {
@@ -42,6 +42,13 @@ const getPluginType = pathOr("unknown_plugin_type", [
42
42
  "plugin_type",
43
43
  ]);
44
44
 
45
+ export const isPresentFullScreen = pathOr(false, [
46
+ "state",
47
+ "screen",
48
+ "module",
49
+ "presentFullScreen",
50
+ ]);
51
+
45
52
  const isPlayerPlugin = (routeState): boolean =>
46
53
  getPluginType(routeState) === "player";
47
54
 
@@ -150,8 +157,9 @@ export const Screen = ({ route, Components }: Props) => {
150
157
 
151
158
  const isPlayer = isPlayerPlugin(routeState);
152
159
  const isLogin = isLoginPlugin(routeState);
160
+ const isFullScreen = isPresentFullScreen(routeState);
153
161
 
154
- const isNavBarVisible = !isPlayer && !isLogin;
162
+ const isNavBarVisible = !isPlayer && !isLogin && !isFullScreen;
155
163
 
156
164
  const screenData =
157
165
  screenType === "hooks" || isPlayer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "12.0.0-rc.84",
3
+ "version": "12.0.0-rc.86",
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": "12.0.0-rc.84",
38
- "@applicaster/zapp-react-native-bridge": "12.0.0-rc.84",
39
- "@applicaster/zapp-react-native-redux": "12.0.0-rc.84",
40
- "@applicaster/zapp-react-native-utils": "12.0.0-rc.84",
37
+ "@applicaster/applicaster-types": "12.0.0-rc.86",
38
+ "@applicaster/zapp-react-native-bridge": "12.0.0-rc.86",
39
+ "@applicaster/zapp-react-native-redux": "12.0.0-rc.86",
40
+ "@applicaster/zapp-react-native-utils": "12.0.0-rc.86",
41
41
  "promise": "^8.3.0",
42
42
  "react-router-native": "^5.1.2",
43
43
  "url": "^0.11.0",