@applicaster/zapp-react-native-app 12.0.0-rc.112 → 12.0.0-rc.113
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.
- package/App/Layout/index.tsx +6 -8
- package/package.json +6 -6
package/App/Layout/index.tsx
CHANGED
|
@@ -113,19 +113,17 @@ const LayoutWithMenu = () => {
|
|
|
113
113
|
|
|
114
114
|
const isBottomTabsPlugin = plugin?.identifier === "quick-brick-bottom-tabs";
|
|
115
115
|
|
|
116
|
-
const
|
|
116
|
+
const paddingBottom = React.useMemo(() => {
|
|
117
|
+
return showMenu && isBottomTabsPlugin ? bottomTabBarHeight : 0; // if activeRiver?.navigations has quick-brick-bottom-tabs - append bottomTabBarHeight as padding
|
|
118
|
+
}, [showMenu, isBottomTabsPlugin, bottomTabBarHeight]);
|
|
117
119
|
|
|
118
120
|
const contentStyle = React.useMemo(
|
|
119
121
|
() => ({
|
|
120
|
-
...(shouldApplyStyleForBottomTabs
|
|
121
|
-
? {
|
|
122
|
-
paddingBottom: bottomTabBarHeight,
|
|
123
|
-
}
|
|
124
|
-
: {}),
|
|
125
122
|
...containerStyle,
|
|
123
|
+
paddingBottom,
|
|
126
124
|
opacity: videoModalState.visible && !isVideoModalDocked ? 0 : 1,
|
|
127
125
|
}),
|
|
128
|
-
[
|
|
126
|
+
[videoModalState.visible, isVideoModalDocked, paddingBottom]
|
|
129
127
|
);
|
|
130
128
|
|
|
131
129
|
const menuProps = React.useMemo(() => {
|
|
@@ -172,7 +170,7 @@ const LayoutWithMenu = () => {
|
|
|
172
170
|
<View style={contentStyle}>
|
|
173
171
|
<Transitioner
|
|
174
172
|
transitionConfig={transitionConfig}
|
|
175
|
-
contentStyle={
|
|
173
|
+
contentStyle={contentStyle}
|
|
176
174
|
isRTL={isRTL}
|
|
177
175
|
>
|
|
178
176
|
<Screen
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-app",
|
|
3
|
-
"version": "12.0.0-rc.
|
|
3
|
+
"version": "12.0.0-rc.113",
|
|
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-rc.
|
|
33
|
-
"@applicaster/zapp-react-native-bridge": "12.0.0-rc.
|
|
34
|
-
"@applicaster/zapp-react-native-redux": "12.0.0-rc.
|
|
35
|
-
"@applicaster/zapp-react-native-ui-components": "12.0.0-rc.
|
|
36
|
-
"@applicaster/zapp-react-native-utils": "12.0.0-rc.
|
|
32
|
+
"@applicaster/quick-brick-core": "12.0.0-rc.113",
|
|
33
|
+
"@applicaster/zapp-react-native-bridge": "12.0.0-rc.113",
|
|
34
|
+
"@applicaster/zapp-react-native-redux": "12.0.0-rc.113",
|
|
35
|
+
"@applicaster/zapp-react-native-ui-components": "12.0.0-rc.113",
|
|
36
|
+
"@applicaster/zapp-react-native-utils": "12.0.0-rc.113",
|
|
37
37
|
"axios": "^0.28.0",
|
|
38
38
|
"camelize": "^1.0.0",
|
|
39
39
|
"query-string": "7.1.3",
|