@trackunit/react-core-contexts 0.0.57 → 0.0.60
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 +10 -3
- package/package.json +6 -5
package/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import { ToastRuntime, EnvironmentRuntime, TokenRuntime, CurrentUserRuntime, Use
|
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { useMemo } from 'react';
|
|
11
11
|
import { registerTranslations, initializeTranslationsForApp } from '@trackunit/i18n-library-translation';
|
|
12
|
+
import { Spinner } from '@trackunit/react-components';
|
|
12
13
|
import { BrowserRouter } from 'react-router-dom';
|
|
13
14
|
|
|
14
15
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -2592,9 +2593,15 @@ const TrackunitProviders = ({
|
|
|
2592
2593
|
|
|
2593
2594
|
return jsx(TrackunitDataProviders, {
|
|
2594
2595
|
children: jsx(ToastProviderApp, {
|
|
2595
|
-
children: jsx(
|
|
2596
|
-
|
|
2597
|
-
|
|
2596
|
+
children: jsx(React.Suspense, Object.assign({
|
|
2597
|
+
fallback: jsx(Spinner, {
|
|
2598
|
+
centered: true
|
|
2599
|
+
})
|
|
2600
|
+
}, {
|
|
2601
|
+
children: jsx(TrackunitRouter, {
|
|
2602
|
+
children: children
|
|
2603
|
+
})
|
|
2604
|
+
}))
|
|
2598
2605
|
})
|
|
2599
2606
|
});
|
|
2600
2607
|
};
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"graphql": "^15.8.0",
|
|
8
|
-
"@trackunit/iris-app-runtime-core": "0.0.
|
|
9
|
-
"@trackunit/react-core-contexts-api": "0.0.
|
|
10
|
-
"@trackunit/react-core-hooks": "0.0.
|
|
8
|
+
"@trackunit/iris-app-runtime-core": "0.0.79",
|
|
9
|
+
"@trackunit/react-core-contexts-api": "0.0.69",
|
|
10
|
+
"@trackunit/react-core-hooks": "0.0.78",
|
|
11
11
|
"react": "17.0.2",
|
|
12
|
-
"@trackunit/react-core-contexts-test": "0.0.
|
|
12
|
+
"@trackunit/react-core-contexts-test": "0.0.50",
|
|
13
13
|
"@apollo/client": "3.6.9",
|
|
14
14
|
"@sentry/browser": "^7.15.0",
|
|
15
15
|
"apollo-upload-client": "^14.1.3",
|
|
16
16
|
"@trackunit/i18n-library-translation": "0.0.2",
|
|
17
|
+
"@trackunit/react-components": "0.0.184",
|
|
17
18
|
"react-router-dom": "6.4.1"
|
|
18
19
|
},
|
|
19
20
|
"module": "./index.js",
|