@applicaster/quick-brick-core 13.0.0-rc.94 → 13.0.0-rc.95

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.
@@ -6,10 +6,10 @@ import { ModalChildrenWrapper } from "./ModalChildrenWrapper";
6
6
  import { PathnameContext } from "@applicaster/zapp-react-native-ui-components/Contexts/PathnameContext";
7
7
  import { ScreenContextProvider } from "@applicaster/zapp-react-native-ui-components/Contexts/ScreenContext";
8
8
  import { ROUTE_TYPES } from "@applicaster/zapp-react-native-utils/navigationUtils/routeTypes";
9
- import { useModalStore } from "@applicaster/zapp-react-native-utils/modalState";
9
+ import { useModalStoreState } from "@applicaster/zapp-react-native-utils/modalState";
10
10
 
11
11
  export function ModalProvider() {
12
- const { modalState } = useModalStore();
12
+ const modalState = useModalStoreState();
13
13
 
14
14
  const [modalVisible, setModalVisible] = React.useState(false);
15
15
  const [modalShown, setModalShown] = React.useState(false);
@@ -69,8 +69,8 @@ import { PlayNextState } from "@applicaster/zapp-react-native-utils/appUtils/pla
69
69
  import { inflateUrl } from "@applicaster/zapp-react-native-ui-components/Components/LinkHandler/LinkHandler";
70
70
  import {
71
71
  dismissModal,
72
+ modalStore,
72
73
  openModal,
73
- useModalStore,
74
74
  } from "@applicaster/zapp-react-native-utils/modalState";
75
75
  import { useSubscriberFor } from "@applicaster/zapp-react-native-utils/reactHooks/useSubscriberFor";
76
76
  import { QBUIComponentEvents } from "@applicaster/zapp-react-native-ui-components/events";
@@ -152,7 +152,7 @@ export function NavigationProvider({ children }: Props) {
152
152
  );
153
153
 
154
154
  const getModalState: () => ModalState = () => {
155
- const { modalState } = useModalStore.getState();
155
+ const { modalState } = modalStore.getState();
156
156
 
157
157
  return modalState;
158
158
  };
package/App/index.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
2
  import * as R from "ramda";
3
+
3
4
  import {
4
5
  initialWindowMetrics,
5
6
  SafeAreaProvider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "13.0.0-rc.94",
3
+ "version": "13.0.0-rc.95",
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": "13.0.0-rc.94",
32
- "@applicaster/quick-brick-core-plugins": "13.0.0-rc.94",
33
- "@applicaster/zapp-pipes-v2-client": "13.0.0-rc.94",
34
- "@applicaster/zapp-react-native-bridge": "13.0.0-rc.94",
35
- "@applicaster/zapp-react-native-redux": "13.0.0-rc.94",
36
- "@applicaster/zapp-react-native-ui-components": "13.0.0-rc.94",
37
- "@applicaster/zapp-react-native-utils": "13.0.0-rc.94",
31
+ "@applicaster/applicaster-types": "13.0.0-rc.95",
32
+ "@applicaster/quick-brick-core-plugins": "13.0.0-rc.95",
33
+ "@applicaster/zapp-pipes-v2-client": "13.0.0-rc.95",
34
+ "@applicaster/zapp-react-native-bridge": "13.0.0-rc.95",
35
+ "@applicaster/zapp-react-native-redux": "13.0.0-rc.95",
36
+ "@applicaster/zapp-react-native-ui-components": "13.0.0-rc.95",
37
+ "@applicaster/zapp-react-native-utils": "13.0.0-rc.95",
38
38
  "atob": "^2.1.2",
39
39
  "axios": "^0.28.0",
40
40
  "btoa": "^1.2.1",
@@ -1 +0,0 @@
1
- export { Fragment as ModalChildrenWrapper } from "react";