@trackunit/react-core-hooks 0.2.99 → 0.2.101
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.cjs.js
CHANGED
|
@@ -226,7 +226,7 @@ const useURLSynchronization = () => {
|
|
|
226
226
|
* @returns {UseNavigationRuntime} navigationRuntime
|
|
227
227
|
* @example
|
|
228
228
|
* import { useNavigationRuntime } from "@trackunit/react-core-hooks";
|
|
229
|
-
* const {
|
|
229
|
+
* const { gotoAssetHome } = useNavigationRuntime();
|
|
230
230
|
* // ...
|
|
231
231
|
* <Link onClick={() => gotoAssetHome(asset.id)} to="">
|
|
232
232
|
* {asset.name}
|
package/index.esm.js
CHANGED
|
@@ -200,7 +200,7 @@ const useURLSynchronization = () => {
|
|
|
200
200
|
* @returns {UseNavigationRuntime} navigationRuntime
|
|
201
201
|
* @example
|
|
202
202
|
* import { useNavigationRuntime } from "@trackunit/react-core-hooks";
|
|
203
|
-
* const {
|
|
203
|
+
* const { gotoAssetHome } = useNavigationRuntime();
|
|
204
204
|
* // ...
|
|
205
205
|
* <Link onClick={() => gotoAssetHome(asset.id)} to="">
|
|
206
206
|
* {asset.name}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-hooks",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.101",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"module": "./index.esm.js",
|
|
10
10
|
"main": "./index.cjs.js",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@trackunit/iris-app-runtime-core": "0.3.
|
|
13
|
-
"@trackunit/iris-app-runtime-core-api": "0.3.
|
|
14
|
-
"@trackunit/react-core-contexts-api": "0.2.
|
|
15
|
-
"@trackunit/shared-utils": "0.0.
|
|
12
|
+
"@trackunit/iris-app-runtime-core": "0.3.82",
|
|
13
|
+
"@trackunit/iris-app-runtime-core-api": "0.3.74",
|
|
14
|
+
"@trackunit/react-core-contexts-api": "0.2.61",
|
|
15
|
+
"@trackunit/shared-utils": "0.0.10",
|
|
16
16
|
"react": "18.2.0",
|
|
17
17
|
"react-router-dom": "6.11.2"
|
|
18
18
|
},
|
|
@@ -8,7 +8,7 @@ export interface UseNavigationRuntime extends INavigationRuntime {
|
|
|
8
8
|
* @returns {UseNavigationRuntime} navigationRuntime
|
|
9
9
|
* @example
|
|
10
10
|
* import { useNavigationRuntime } from "@trackunit/react-core-hooks";
|
|
11
|
-
* const {
|
|
11
|
+
* const { gotoAssetHome } = useNavigationRuntime();
|
|
12
12
|
* // ...
|
|
13
13
|
* <Link onClick={() => gotoAssetHome(asset.id)} to="">
|
|
14
14
|
* {asset.name}
|