@trackunit/react-core-contexts 0.0.1 → 0.0.5
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/TrackunitProviders.d.ts +0 -2
- package/index.js +2 -11
- package/package.json +3 -4
package/TrackunitProviders.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -5,8 +5,6 @@ import { onError } from '@apollo/client/link/error';
|
|
|
5
5
|
import * as Sentry from '@sentry/browser';
|
|
6
6
|
import { useEnvironment, useToken, EnvironmentContextProvider, TokenProvider, CurrentUserProvider, UserSubscriptionProvider as UserSubscriptionProvider$1 } from '@trackunit/react-core-hooks';
|
|
7
7
|
import { createUploadLink } from 'apollo-upload-client';
|
|
8
|
-
import { tokens } from '@trackunit/ui-design-tokens';
|
|
9
|
-
import { ThemeProvider } from '@trackunit/ui-theme';
|
|
10
8
|
import { EnvironmentRuntime, TokenRuntime, CurrentUserRuntime, UserSubscriptionRuntime } from '@trackunit/iris-app-runtime-core';
|
|
11
9
|
import * as React from 'react';
|
|
12
10
|
|
|
@@ -2427,9 +2425,6 @@ const UserSubscriptionProvider = ({
|
|
|
2427
2425
|
}));
|
|
2428
2426
|
};
|
|
2429
2427
|
|
|
2430
|
-
const tuTheme = Object.assign({
|
|
2431
|
-
branding: null
|
|
2432
|
-
}, tokens);
|
|
2433
2428
|
const TrackunitProviders = ({
|
|
2434
2429
|
children
|
|
2435
2430
|
}) => {
|
|
@@ -2438,11 +2433,7 @@ const TrackunitProviders = ({
|
|
|
2438
2433
|
children: jsx(TileCurrentUserProvider, {
|
|
2439
2434
|
children: jsx(UserSubscriptionProvider, {
|
|
2440
2435
|
children: jsx(ManagerApolloProvider, {
|
|
2441
|
-
children:
|
|
2442
|
-
theme: tuTheme
|
|
2443
|
-
}, {
|
|
2444
|
-
children: children
|
|
2445
|
-
}))
|
|
2436
|
+
children: children
|
|
2446
2437
|
})
|
|
2447
2438
|
})
|
|
2448
2439
|
})
|
|
@@ -2450,4 +2441,4 @@ const TrackunitProviders = ({
|
|
|
2450
2441
|
});
|
|
2451
2442
|
};
|
|
2452
2443
|
|
|
2453
|
-
export { ManagerApolloProvider, TrackunitProviders
|
|
2444
|
+
export { ManagerApolloProvider, TrackunitProviders };
|
package/package.json
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"graphql": "^15.8.0",
|
|
8
8
|
"@trackunit/iris-app-runtime-core": "0.0.36",
|
|
9
9
|
"@trackunit/react-core-contexts-api": "0.0.36",
|
|
10
|
+
"@trackunit/react-core-contexts-test": "0.0.5",
|
|
10
11
|
"@trackunit/react-core-hooks": "0.0.37",
|
|
11
12
|
"react": "17.0.1",
|
|
12
13
|
"@apollo/client": "3.6.9",
|
|
13
14
|
"@sentry/browser": "^6.19.4",
|
|
14
|
-
"apollo-upload-client": "^
|
|
15
|
-
"@trackunit/ui-design-tokens": "0.0.34",
|
|
16
|
-
"@trackunit/ui-theme": "0.0.34"
|
|
15
|
+
"apollo-upload-client": "^14.1.3"
|
|
17
16
|
},
|
|
18
17
|
"module": "./index.js",
|
|
19
18
|
"main": "./index.js",
|