From b5471cb85e2e1de778cf222b6cacd1b53053531a Mon Sep 17 00:00:00 2001 From: keilaloia Date: Thu, 20 Aug 2020 18:41:54 -0700 Subject: [PATCH] extended canvas, dualscreeninfo, auto replace --- twopane-navigation/example/package-lock.json | 6 +- twopane-navigation/example/package.json | 3 +- twopane-navigation/example/src/App.tsx | 1 - .../example/src/locationInformation.tsx | 4 +- .../example/src/shoppingCart.tsx | 2 +- twopane-navigation/package.json | 2 +- .../components/paneRenderer/PaneRenderer.tsx | 81 +++++++++++-------- .../twoPaneApp/tests/TwoPaneApp.test.tsx | 3 +- .../__snapshots__/TwoPaneApp.test.tsx.snap | 36 +++++---- .../src/components/twoPaneHub/TwoPaneHub.tsx | 40 ++++----- .../onePane/onePaneStore/onePane.methods.ts | 41 ++++++---- .../tests/onePane.methods.test.tsx | 12 +-- .../screenStore/headerStore/header.reducer.ts | 5 +- .../paneElementStore/paneElement.reducer.ts | 5 +- .../tests/twoPane.methods.test.tsx | 12 +-- .../twoPane/twoPaneStore/twoPane.methods.ts | 44 +++++++--- .../src/utilities/interfaces.ts | 1 - 17 files changed, 173 insertions(+), 125 deletions(-) diff --git a/twopane-navigation/example/package-lock.json b/twopane-navigation/example/package-lock.json index 499d0ef..c94b450 100644 --- a/twopane-navigation/example/package-lock.json +++ b/twopane-navigation/example/package-lock.json @@ -11222,9 +11222,9 @@ "dev": true }, "twopane-navigation": { - "version": "1.0.9", - "resolved": "http://localhost:4873/twopane-navigation/-/twopane-navigation-1.0.9.tgz", - "integrity": "sha512-puGKCxn2MYTL8UVKdHnV0ln7ENh4nWtrpqOq+yV7xl05ewkRNfm31d+/tAfQvdb9tlnLY5TRrwifa7nJtLlMfg==", + "version": "1.0.13", + "resolved": "http://localhost:4873/twopane-navigation/-/twopane-navigation-1.0.13.tgz", + "integrity": "sha512-4h0uYvcY22sROEkuzYQOulW5FOEc9XCYNYxiiIcJdlMf5iQ9tCYlnDmuhAj0NPW/+vSAthWKg0t2qf9lajsbDw==", "requires": { "lodash": "*", "react-native-dualscreeninfo": "^0.1.3", diff --git a/twopane-navigation/example/package.json b/twopane-navigation/example/package.json index 905f3f7..29596f6 100644 --- a/twopane-navigation/example/package.json +++ b/twopane-navigation/example/package.json @@ -14,8 +14,9 @@ "dependencies": { "react": "16.13.1", "react-native": "0.63.2", + "react-native-dualscreeninfo": "^0.1.3", "react-native-vector-icons": "^7.0.0", - "twopane-navigation": "^1.0.8" + "twopane-navigation": "^1.0.13" }, "devDependencies": { "@babel/core": "^7.8.4", diff --git a/twopane-navigation/example/src/App.tsx b/twopane-navigation/example/src/App.tsx index 8c9297a..2e6fd98 100644 --- a/twopane-navigation/example/src/App.tsx +++ b/twopane-navigation/example/src/App.tsx @@ -74,7 +74,6 @@ const RestaurantDetails: IRestaurantDetails[] = } ] - const App = () => { return ( {