@applicaster/quick-brick-core 14.0.0-alpha.5222319560 → 14.0.0-alpha.5234792518

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.
@@ -52,9 +52,9 @@ export class DraggableBottomSheet extends Component<Props, ComponentState> {
52
52
  _lastScrollYValue: number;
53
53
  _lastScrollY: Animated.Value;
54
54
  _dragY: Animated.Value;
55
- _reverseLastScrollY: Animated.AnimatedMultiplication;
55
+ _reverseLastScrollY: Animated.AnimatedInterpolation<number>;
56
56
  _translateYOffset: Animated.Value;
57
- _translateY: Animated.AnimatedAddition;
57
+ _translateY: Animated.AnimatedInterpolation<number>;
58
58
  _snapPoints: SnapPoints;
59
59
  _prevContentHeight = 0;
60
60
 
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { Modal, ModalProps } from "react-native";
3
+ import { GestureHandlerRootView } from "react-native-gesture-handler";
3
4
 
4
5
  type Props = ModalProps & {
5
6
  children: React.ReactChild;
@@ -13,7 +14,7 @@ export function ModalPresenter(props: Props) {
13
14
 
14
15
  return (
15
16
  <Presenter visible={visible} {...presenterOptions}>
16
- {children}
17
+ <GestureHandlerRootView>{children}</GestureHandlerRootView>
17
18
  </Presenter>
18
19
  );
19
20
  }
@@ -80,6 +80,8 @@ import { URLSchemeContext } from "../DeepLinking/URLSchemeListener/URLSchemeCont
80
80
 
81
81
  import { loadingOverlayManager } from "../LoadingOverlay";
82
82
 
83
+
84
+
83
85
  const logger = coreAppLogger.addSubsystem("Navigator");
84
86
 
85
87
  type Props = {
@@ -0,0 +1,3 @@
1
+ import { GestureHandlerRootView } from "react-native-gesture-handler";
2
+
3
+ export const ZappAppWrapper = GestureHandlerRootView;
@@ -0,0 +1,3 @@
1
+ import { View } from "react-native";
2
+
3
+ export const ZappAppWrapper = View;
package/App/index.tsx CHANGED
@@ -1,8 +1,6 @@
1
1
  import * as React from "react";
2
2
  import * as R from "ramda";
3
3
 
4
- import { GestureHandlerRootView } from "react-native-gesture-handler";
5
-
6
4
  import {
7
5
  initialWindowMetrics,
8
6
  SafeAreaProvider,
@@ -33,6 +31,7 @@ import { withActionExecutor } from "@applicaster/zapp-react-native-utils/actions
33
31
  import { withScreenDataContextProvider } from "@applicaster/zapp-react-native-ui-components/Contexts/ScreenDataContext";
34
32
  import { LogicAggregatorContainer } from "./LogicAggregatorContainer";
35
33
  import { LoadingOverlay } from "./LoadingOverlay";
34
+ import { ZappAppWrapper } from "./components/ZappAppWrapper";
36
35
 
37
36
  interface AppOptions {
38
37
  Layout: React.ComponentType;
@@ -61,7 +60,7 @@ const App = ({
61
60
  } = props;
62
61
 
63
62
  return (
64
- <GestureHandlerRootView>
63
+ <ZappAppWrapper>
65
64
  <ThemeManager plugins={plugins}>
66
65
  <SafeAreaProvider initialMetrics={initialWindowMetrics}>
67
66
  <AppContainer styles={styles}>
@@ -87,7 +86,7 @@ const App = ({
87
86
  </AppContainer>
88
87
  </SafeAreaProvider>
89
88
  </ThemeManager>
90
- </GestureHandlerRootView>
89
+ </ZappAppWrapper>
91
90
  );
92
91
  });
93
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "14.0.0-alpha.5222319560",
3
+ "version": "14.0.0-alpha.5234792518",
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": "14.0.0-alpha.5222319560",
32
- "@applicaster/quick-brick-core-plugins": "14.0.0-alpha.5222319560",
33
- "@applicaster/zapp-pipes-v2-client": "14.0.0-alpha.5222319560",
34
- "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.5222319560",
35
- "@applicaster/zapp-react-native-redux": "14.0.0-alpha.5222319560",
36
- "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.5222319560",
37
- "@applicaster/zapp-react-native-utils": "14.0.0-alpha.5222319560",
31
+ "@applicaster/applicaster-types": "14.0.0-alpha.5234792518",
32
+ "@applicaster/quick-brick-core-plugins": "14.0.0-alpha.5234792518",
33
+ "@applicaster/zapp-pipes-v2-client": "14.0.0-alpha.5234792518",
34
+ "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.5234792518",
35
+ "@applicaster/zapp-react-native-redux": "14.0.0-alpha.5234792518",
36
+ "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.5234792518",
37
+ "@applicaster/zapp-react-native-utils": "14.0.0-alpha.5234792518",
38
38
  "atob": "^2.1.2",
39
39
  "axios": "^0.28.0",
40
40
  "btoa": "^1.2.1",