@applicaster/quick-brick-core 15.0.0-rc.4 → 15.0.0-rc.41
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.
|
@@ -90,8 +90,13 @@ export function ActionsProvider(props: Props) {
|
|
|
90
90
|
[]
|
|
91
91
|
);
|
|
92
92
|
|
|
93
|
+
const contextValue = React.useMemo(
|
|
94
|
+
() => ({ actions: actionPlugins }),
|
|
95
|
+
[actionPlugins]
|
|
96
|
+
);
|
|
97
|
+
|
|
93
98
|
return (
|
|
94
|
-
<ActionsContext.Provider value={
|
|
99
|
+
<ActionsContext.Provider value={contextValue}>
|
|
95
100
|
<Context>{children}</Context>
|
|
96
101
|
</ActionsContext.Provider>
|
|
97
102
|
);
|
|
@@ -42,12 +42,17 @@ const defaultBottomOffset = platformSelect({
|
|
|
42
42
|
android: 0,
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
+
const SAFE_AREA_BREAKING_API_VERSION = 35;
|
|
46
|
+
|
|
45
47
|
const getSheetHeight = ({ height, bottomOffset, maxHeight }) => {
|
|
46
48
|
return platformSelect({
|
|
47
49
|
ios: height - bottomOffset,
|
|
48
50
|
default:
|
|
49
51
|
(height || maxHeight) -
|
|
50
|
-
(isAndroidPlatform() &&
|
|
52
|
+
(isAndroidPlatform() &&
|
|
53
|
+
!isAndroidVersionAtLeast(SAFE_AREA_BREAKING_API_VERSION)
|
|
54
|
+
? bottomOffset
|
|
55
|
+
: 0),
|
|
51
56
|
});
|
|
52
57
|
};
|
|
53
58
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment } from "react";
|
|
2
2
|
|
|
3
|
-
export const ZappAppWrapper =
|
|
3
|
+
export const ZappAppWrapper = Fragment;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/quick-brick-core",
|
|
3
|
-
"version": "15.0.0-rc.
|
|
3
|
+
"version": "15.0.0-rc.41",
|
|
4
4
|
"description": "Core package for Applicaster's Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@applicaster/applicaster-types": "15.0.0-rc.
|
|
32
|
-
"@applicaster/quick-brick-core-plugins": "15.0.0-rc.
|
|
33
|
-
"@applicaster/zapp-pipes-v2-client": "15.0.0-rc.
|
|
34
|
-
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.
|
|
35
|
-
"@applicaster/zapp-react-native-redux": "15.0.0-rc.
|
|
36
|
-
"@applicaster/zapp-react-native-ui-components": "15.0.0-rc.
|
|
37
|
-
"@applicaster/zapp-react-native-utils": "15.0.0-rc.
|
|
31
|
+
"@applicaster/applicaster-types": "15.0.0-rc.41",
|
|
32
|
+
"@applicaster/quick-brick-core-plugins": "15.0.0-rc.41",
|
|
33
|
+
"@applicaster/zapp-pipes-v2-client": "15.0.0-rc.41",
|
|
34
|
+
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.41",
|
|
35
|
+
"@applicaster/zapp-react-native-redux": "15.0.0-rc.41",
|
|
36
|
+
"@applicaster/zapp-react-native-ui-components": "15.0.0-rc.41",
|
|
37
|
+
"@applicaster/zapp-react-native-utils": "15.0.0-rc.41",
|
|
38
38
|
"atob": "^2.1.2",
|
|
39
39
|
"axios": "^0.28.0",
|
|
40
40
|
"btoa": "^1.2.1",
|