@applicaster/zapp-react-native-ui-components 15.0.0-rc.70 → 15.0.0-rc.72
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.
|
@@ -37,6 +37,7 @@ type Feeds = Record<string, ZappPipesData>;
|
|
|
37
37
|
type LayoutPresets = PresetsMapping["presets_mappings"];
|
|
38
38
|
|
|
39
39
|
const TABS_SCREEN_TYPE = "tabs_screen";
|
|
40
|
+
const QB_TABS_SCREEN_TYPE = "quick-brick-tabs";
|
|
40
41
|
const SMART_COMPONENT_TYPE = "quick-brick-smart-component";
|
|
41
42
|
const SOURCE_PATH = ["data", "source"];
|
|
42
43
|
const MAPPING_PATH = ["data", "mapping"];
|
|
@@ -139,7 +140,11 @@ export const useCurationAPI = (
|
|
|
139
140
|
const [searchContext] = ZappPipesSearchContext.useZappPipesContext();
|
|
140
141
|
const [screenContext] = ZappPipesScreenContext.useZappPipesContext();
|
|
141
142
|
|
|
142
|
-
const
|
|
143
|
+
const screenContextType = screenContext?.type;
|
|
144
|
+
|
|
145
|
+
const isNestedScreen =
|
|
146
|
+
screenContextType === TABS_SCREEN_TYPE ||
|
|
147
|
+
screenContextType === QB_TABS_SCREEN_TYPE;
|
|
143
148
|
|
|
144
149
|
const [entryContext] = ZappPipesEntryContext.useZappPipesContext(
|
|
145
150
|
pathname,
|
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.72",
|
|
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.72",
|
|
32
|
+
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.72",
|
|
33
|
+
"@applicaster/zapp-react-native-redux": "15.0.0-rc.72",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "15.0.0-rc.72",
|
|
35
35
|
"fast-json-stable-stringify": "^2.1.0",
|
|
36
36
|
"promise": "^8.3.0",
|
|
37
37
|
"url": "^0.11.0",
|