@applicaster/zapp-react-native-app 12.0.0-alpha.5606245605 → 12.0.0-alpha.5722041245

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.
@@ -0,0 +1,7 @@
1
+ describe("Layout", () => {
2
+ it.todo("should match snapshot when appReady is true");
3
+ it.todo("should not render transitioner with screen when appReady is false");
4
+ it.todo("should render menu when showMenu is true");
5
+ it.todo("should render VideoModal when visible & VideoModal is true");
6
+ it.todo("should render ZappHooksModal");
7
+ });
@@ -76,7 +76,9 @@ const LayoutWithMenu = (props: Props) => {
76
76
  "menu",
77
77
  activeRiver,
78
78
  plugins
79
- ) as React.ComponentType<MobileNavBarPluginProps>,
79
+ ) as React.ComponentType<
80
+ MobileNavBarPluginProps & { navigator: ZappNavigation }
81
+ >,
80
82
  []
81
83
  );
82
84
 
@@ -148,7 +150,7 @@ const LayoutWithMenu = (props: Props) => {
148
150
  </Transitioner>
149
151
  </View>
150
152
  ) : null}
151
- {showMenu && <Menu {...menuProps} />}
153
+ {showMenu && <Menu {...{ ...menuProps, id: navigator.currentRoute }} />}
152
154
  {/* depends on active river. @TODO move below screen context */}
153
155
  {VideoModal && videoModalState.visible && <VideoModal />}
154
156
  <ZappHooksModal />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-app",
3
- "version": "12.0.0-alpha.5606245605",
3
+ "version": "12.0.0-alpha.5722041245",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "homepage": "https://github.com/applicaster/quickbrick#readme",
31
31
  "dependencies": {
32
- "@applicaster/quick-brick-core": "12.0.0-alpha.5606245605",
33
- "@applicaster/zapp-react-native-bridge": "12.0.0-alpha.5606245605",
34
- "@applicaster/zapp-react-native-redux": "12.0.0-alpha.5606245605",
35
- "@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.5606245605",
36
- "@applicaster/zapp-react-native-utils": "12.0.0-alpha.5606245605",
32
+ "@applicaster/quick-brick-core": "12.0.0-alpha.5722041245",
33
+ "@applicaster/zapp-react-native-bridge": "12.0.0-alpha.5722041245",
34
+ "@applicaster/zapp-react-native-redux": "12.0.0-alpha.5722041245",
35
+ "@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.5722041245",
36
+ "@applicaster/zapp-react-native-utils": "12.0.0-alpha.5722041245",
37
37
  "axios": "^0.28.0",
38
38
  "camelize": "^1.0.0",
39
39
  "query-string": "7.1.3",