@applicaster/quick-brick-core 16.0.0-rc.9 → 16.0.0-rc.91

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.
Files changed (34) hide show
  1. package/App/ActionsProvider/ActionsProvider.tsx +31 -9
  2. package/App/ActionsProvider/LegacyActionsRegistryAdapter.tsx +107 -0
  3. package/App/DeepLinking/URLSchemeHandler/SchemeHandlerHooks/__tests__/useOpenSchemeHandler.test.tsx +25 -15
  4. package/App/ModalProvider/ModalBottomSheet/DraggableBottomSheet/__tests__/index.test.tsx +88 -0
  5. package/App/ModalProvider/ModalBottomSheet/DraggableBottomSheet/index.tsx +30 -56
  6. package/App/ModalProvider/ModalBottomSheet/ModalBottomSheetFrame.tsx +9 -2
  7. package/App/ModalProvider/ModalBottomSheet/hooks/__tests__/useKeyboardHeight.android.test.ts +105 -0
  8. package/App/ModalProvider/ModalBottomSheet/hooks/__tests__/useKeyboardHeight.test.ts +102 -0
  9. package/App/ModalProvider/ModalBottomSheet/hooks/index.ts +1 -0
  10. package/App/ModalProvider/ModalBottomSheet/hooks/useKeyboardHeight.ts +30 -0
  11. package/App/ModalProvider/ModalBottomSheet/index.tsx +5 -2
  12. package/App/ModalProvider/ModalContent.tsx +17 -1
  13. package/App/ModalProvider/__tests__/ModalContent.test.tsx +44 -0
  14. package/App/ModalProvider/__tests__/index.test.tsx +75 -0
  15. package/App/ModalProvider/index.tsx +32 -14
  16. package/App/NavigationProvider/NavigationProvider.tsx +51 -1
  17. package/App/NavigationProvider/__tests__/utils.test.ts +31 -1
  18. package/App/NavigationProvider/utils.ts +14 -0
  19. package/App/NotificationToastRenderer/NotificationToastManager.ts +214 -0
  20. package/App/NotificationToastRenderer/NotificationToastRenderer.tsx +134 -0
  21. package/App/NotificationToastRenderer/NotificationToastRenderer.tv.tsx +10 -0
  22. package/App/NotificationToastRenderer/NotificationToastRenderer.web.tsx +61 -0
  23. package/App/NotificationToastRenderer/__tests__/NotificationToastManager.test.ts +237 -0
  24. package/App/NotificationToastRenderer/__tests__/NotificationToastRenderer.test.tsx +233 -0
  25. package/App/NotificationToastRenderer/__tests__/NotificationToastRenderer.web.test.tsx +90 -0
  26. package/App/NotificationToastRenderer/__tests__/resolveConfirmationToastStyle.test.ts +118 -0
  27. package/App/NotificationToastRenderer/__tests__/useNotificationHeight.test.tsx +58 -0
  28. package/App/NotificationToastRenderer/__tests__/useNotificationToastState.test.ts +112 -0
  29. package/App/NotificationToastRenderer/index.tsx +9 -0
  30. package/App/NotificationToastRenderer/resolveConfirmationToastStyle.ts +33 -0
  31. package/App/NotificationToastRenderer/useNotificationHeight.tsx +14 -0
  32. package/App/NotificationToastRenderer/useNotificationToastState.tsx +12 -0
  33. package/App/index.tsx +8 -5
  34. package/package.json +8 -8
package/App/index.tsx CHANGED
@@ -31,6 +31,7 @@ import { withActionExecutor } from "@applicaster/zapp-react-native-utils/actions
31
31
  import { withScreenDataContextProvider } from "@applicaster/zapp-react-native-ui-components/Contexts/ScreenDataContext";
32
32
  import { LogicAggregatorContainer } from "./LogicAggregatorContainer";
33
33
  import { LoadingOverlay } from "./LoadingOverlay";
34
+ import { NotificationToastRenderer } from "./NotificationToastRenderer";
34
35
  import { ZappAppWrapper } from "./components/ZappAppWrapper";
35
36
 
36
37
  interface AppOptions {
@@ -67,11 +68,13 @@ const App = ({
67
68
  <ErrorBoundary>
68
69
  <URLSchemeListener>
69
70
  <SplashLoader>
70
- <OfflineHandler>
71
- <Layout>
72
- <RouteManager />
73
- </Layout>
74
- </OfflineHandler>
71
+ <NotificationToastRenderer>
72
+ <OfflineHandler>
73
+ <Layout>
74
+ <RouteManager />
75
+ </Layout>
76
+ </OfflineHandler>
77
+ </NotificationToastRenderer>
75
78
  </SplashLoader>
76
79
  <ModalProvider />
77
80
  </URLSchemeListener>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "16.0.0-rc.9",
3
+ "version": "16.0.0-rc.91",
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": "16.0.0-rc.9",
32
- "@applicaster/quick-brick-core-plugins": "16.0.0-rc.9",
33
- "@applicaster/zapp-pipes-v2-client": "16.0.0-rc.9",
34
- "@applicaster/zapp-react-native-bridge": "16.0.0-rc.9",
35
- "@applicaster/zapp-react-native-redux": "16.0.0-rc.9",
36
- "@applicaster/zapp-react-native-ui-components": "16.0.0-rc.9",
37
- "@applicaster/zapp-react-native-utils": "16.0.0-rc.9",
31
+ "@applicaster/applicaster-types": "16.0.0-rc.91",
32
+ "@applicaster/quick-brick-core-plugins": "16.0.0-rc.91",
33
+ "@applicaster/zapp-pipes-v2-client": "16.0.0-rc.91",
34
+ "@applicaster/zapp-react-native-bridge": "16.0.0-rc.91",
35
+ "@applicaster/zapp-react-native-redux": "16.0.0-rc.91",
36
+ "@applicaster/zapp-react-native-ui-components": "16.0.0-rc.91",
37
+ "@applicaster/zapp-react-native-utils": "16.0.0-rc.91",
38
38
  "atob": "^2.1.2",
39
39
  "axios": "^0.28.0",
40
40
  "btoa": "^1.2.1",