@applicaster/zapp-react-dom-app 12.0.0-rc.13 → 12.0.0-rc.130

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/index.js CHANGED
@@ -1,23 +1,22 @@
1
1
  /// <reference types="@applicaster/applicaster-types" />
2
2
  import * as R from "ramda";
3
- import { useLocation, useHistory } from "react-router-dom";
3
+ import { useHistory, useLocation } from "react-router-dom";
4
4
 
5
5
  import { createQuickBrickApp } from "@applicaster/quick-brick-core";
6
6
  import * as QuickBrickManager from "@applicaster/zapp-react-native-bridge/QuickBrick";
7
7
  import * as Contexts from "@applicaster/zapp-react-native-ui-components/Contexts";
8
8
  import { OfflineHandler } from "@applicaster/zapp-react-native-ui-components/Components/OfflineHandler";
9
9
  import { getXray } from "@applicaster/zapp-react-native-utils/logger";
10
-
11
- const { withXray } = getXray();
12
-
13
10
  import { ZappDomRouter } from "./App/Router";
14
11
  import { Layout } from "./App/Layout";
15
12
  import { SplashLoader } from "./App/Loader/SplashLoader";
16
13
  import { appLoader } from "./App/Loader";
17
14
 
18
- import { withInteractionManager } from "./App/InteractionManager";
15
+ import { InteractionManager } from "./App/InteractionManager";
19
16
  import "./main.css";
20
17
 
18
+ const { withXray } = getXray();
19
+
21
20
  const contextProviders = R.map(R.prop("withProvider"), R.values(Contexts));
22
21
 
23
22
  // Add DOM specific providers
@@ -33,7 +32,7 @@ export const ZappApp = createQuickBrickApp({
33
32
  QuickBrickManager,
34
33
  Layout,
35
34
  OfflineHandler,
36
- InteractionManager: withInteractionManager,
35
+ InteractionManager,
37
36
  appLoader,
38
37
  SplashLoader,
39
38
  ContextProviders: contextProviders,
package/main.css CHANGED
@@ -10,8 +10,8 @@ body {
10
10
  }
11
11
 
12
12
  div#zapp_app_container {
13
- height: 100%;
14
- width: 100%;
13
+ height: 1080px;
14
+ width: 1920px;
15
15
  display: flex;
16
16
  flex: 1;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "12.0.0-rc.13",
3
+ "version": "12.0.0-rc.130",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
24
24
  "dependencies": {
25
- "@applicaster/zapp-react-dom-ui-components": "12.0.0-rc.13",
26
- "@applicaster/zapp-react-native-bridge": "12.0.0-rc.13",
27
- "@applicaster/zapp-react-native-redux": "12.0.0-rc.13",
28
- "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.13",
29
- "@applicaster/zapp-react-native-utils": "12.0.0-rc.13",
25
+ "@applicaster/zapp-react-dom-ui-components": "12.0.0-rc.130",
26
+ "@applicaster/zapp-react-native-bridge": "12.0.0-rc.130",
27
+ "@applicaster/zapp-react-native-redux": "12.0.0-rc.130",
28
+ "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.130",
29
+ "@applicaster/zapp-react-native-utils": "12.0.0-rc.130",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "history": "^4.7.2",
32
32
  "react-router-dom": "^5.1.2",
@@ -1,35 +0,0 @@
1
- import { getAvailableAppLanguagesImpl as getAvailableAppLanguages } from "..";
2
-
3
- describe("getAvailableAppLanguages", () => {
4
- it("return list of languages", () => {
5
- // setup
6
- const appStore = {
7
- get: () => ({
8
- localizations: {
9
- en: "en_value",
10
- de: "de_value",
11
- fr: "fr_value",
12
- "en-UK": "en-UK_value",
13
- "en-GB": "en-GB_value",
14
- },
15
- }),
16
- };
17
-
18
- // verify
19
- expect(getAvailableAppLanguages(appStore)).toEqual([
20
- "en",
21
- "de",
22
- "fr",
23
- "en-UK",
24
- "en-GB",
25
- ]);
26
- });
27
-
28
- it("return list of languages", () => {
29
- // setup
30
- const appStore = undefined;
31
-
32
- // verify
33
- expect(getAvailableAppLanguages(appStore)).toEqual([]);
34
- });
35
- });