@trackunit/react-core-contexts 0.4.166 → 0.4.168
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 +24 -29
- package/index.js +27 -32
- package/package.json +3 -3
- package/src/{TrackunitRouter.d.ts → TrackunitRouterIrisApp.d.ts} +1 -1
- package/src/analytics/{AnalyticsProvider.d.ts → AnalyticsProviderIrisApp.d.ts} +2 -2
- package/src/assetSorting/{TileAssetSortingProvider.d.ts → AssetSortingProviderIrisApp.d.ts} +2 -2
- package/src/environment/{TileEnvironmentProvider.d.ts → EnvironmentProviderIrisApp.d.ts} +2 -2
- package/src/{global-selection/TileGlobalSelectionProvider.d.ts → globalSelection/GlobalSelectionProviderIrisApp.d.ts} +2 -2
- package/src/index.d.ts +1 -1
- package/src/{irisOemManifest/OemBrandingProvider.d.ts → oemBranding/OemBrandingProviderIrisApp.d.ts} +2 -2
- package/src/toast/{ToastProviderApp.d.ts → ToastProviderIrisApp.d.ts} +1 -1
- package/src/token/{TileTokenProvider.d.ts → TokenProviderIrisApp.d.ts} +2 -2
- package/src/user/{TileCurrentUserProvider.d.ts → CurrentUserProviderIrisApp.d.ts} +2 -2
- package/src/{UserSubscriptionProvider.d.ts → userSubscription/UserSubscriptionProviderIrisApp.d.ts} +2 -2
- package/src/TrackunitDataProviders.d.ts +0 -9
package/index.cjs
CHANGED
|
@@ -216,7 +216,7 @@ const ManagerApolloProvider = ({ children, isIrisApp }) => {
|
|
|
216
216
|
/**
|
|
217
217
|
* This is a provider for the ToastContext.
|
|
218
218
|
*/
|
|
219
|
-
const
|
|
219
|
+
const ToastProviderIrisApp = ({ children }) => {
|
|
220
220
|
const value = React.useMemo(() => ({ addToast: irisAppRuntimeCore.ToastRuntime.addToast }), []);
|
|
221
221
|
return jsxRuntime.jsx(reactCoreHooks.ToastProvider, Object.assign({ value: value }, { children: children }));
|
|
222
222
|
};
|
|
@@ -224,7 +224,7 @@ const ToastProviderApp = ({ children }) => {
|
|
|
224
224
|
/**
|
|
225
225
|
* This is a provider for the AnalyticsProvider.
|
|
226
226
|
*/
|
|
227
|
-
const
|
|
227
|
+
const AnalyticsProviderIrisApp = ({ children }) => {
|
|
228
228
|
const contextValue = React.useMemo(() => ({
|
|
229
229
|
logPageView: details => {
|
|
230
230
|
irisAppRuntimeCore.AnalyticsContextRuntime.logPageView(details);
|
|
@@ -259,7 +259,7 @@ const useSubscribeToHostChanges = (methods) => {
|
|
|
259
259
|
/**
|
|
260
260
|
* This is a provider for the AssetSortingContext.
|
|
261
261
|
*/
|
|
262
|
-
const
|
|
262
|
+
const AssetSortingProviderIrisApp = ({ children }) => {
|
|
263
263
|
const [assetSortingState, setAssetSortingState] = React.useState(null);
|
|
264
264
|
React.useEffect(() => {
|
|
265
265
|
irisAppRuntimeCore.AssetSortingRuntime.getAssetSortingState()
|
|
@@ -283,7 +283,7 @@ const TileAssetSortingProvider = ({ children }) => {
|
|
|
283
283
|
/**
|
|
284
284
|
* This is a provider for the EnvironmentContext.
|
|
285
285
|
*/
|
|
286
|
-
const
|
|
286
|
+
const EnvironmentProviderIrisApp = ({ children }) => {
|
|
287
287
|
const [environment, setEnvironment] = React__namespace.useState(null);
|
|
288
288
|
React__namespace.useEffect(() => {
|
|
289
289
|
const updateEnv = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -307,7 +307,7 @@ const TileEnvironmentProvider = ({ children }) => {
|
|
|
307
307
|
/**
|
|
308
308
|
* This is a provider for the GlobalSelectionContext.
|
|
309
309
|
*/
|
|
310
|
-
const
|
|
310
|
+
const GlobalSelectionProviderIrisApp = ({ children }) => {
|
|
311
311
|
const [GlobalSelectionContext, setGlobalSelectionContext] = React.useState(null);
|
|
312
312
|
React.useEffect(() => {
|
|
313
313
|
irisAppRuntimeCore.GlobalSelectionRuntime.getGlobalSelection()
|
|
@@ -327,7 +327,7 @@ const TileGlobalSelectionProvider = ({ children }) => {
|
|
|
327
327
|
/**
|
|
328
328
|
* This is a provider for the IOemBrandingContext.
|
|
329
329
|
*/
|
|
330
|
-
const
|
|
330
|
+
const OemBrandingContextProviderIrisApp = ({ children }) => {
|
|
331
331
|
const [oemBrandingContext, setOemBrandingContext] = React__namespace.useState(null);
|
|
332
332
|
React__namespace.useEffect(() => {
|
|
333
333
|
const updateContext = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -352,7 +352,7 @@ const OemBrandingContextProvider = ({ children }) => {
|
|
|
352
352
|
/**
|
|
353
353
|
* This is a provider for the TokenContext.
|
|
354
354
|
*/
|
|
355
|
-
const
|
|
355
|
+
const TokenProviderIrisApp = ({ children }) => {
|
|
356
356
|
const [tokenContext, setTokenContext] = React__namespace.useState(null);
|
|
357
357
|
React__namespace.useEffect(() => {
|
|
358
358
|
const updateContext = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -375,10 +375,23 @@ const TileTokenProvider = ({ children }) => {
|
|
|
375
375
|
return jsxRuntime.jsx(reactCoreHooks.TokenProvider, Object.assign({ value: tokenContext }, { children: children }));
|
|
376
376
|
};
|
|
377
377
|
|
|
378
|
+
const HostNavigator = ({ children }) => {
|
|
379
|
+
reactCoreHooks.useURLSynchronization();
|
|
380
|
+
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
381
|
+
return jsxRuntime.jsx(jsxRuntime.Fragment, { children: children });
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* This is a router for the Trackunit app.
|
|
385
|
+
*/
|
|
386
|
+
const TrackunitRouterIrisApp = ({ children }) => {
|
|
387
|
+
var _a;
|
|
388
|
+
return (jsxRuntime.jsx(reactRouterDom.BrowserRouter, Object.assign({ basename: `${((_a = document.getElementById("baseHref")) === null || _a === void 0 ? void 0 : _a.getAttribute("href")) || "<missing baseHref>"}${global.module}` }, { children: jsxRuntime.jsx(HostNavigator, { children: children }) })));
|
|
389
|
+
};
|
|
390
|
+
|
|
378
391
|
/**
|
|
379
392
|
* This is a provider for the CurrentUserContext.
|
|
380
393
|
*/
|
|
381
|
-
const
|
|
394
|
+
const CurrentUserProviderIrisApp = ({ children }) => {
|
|
382
395
|
const [currentuserContext, setCurrentUserContext] = React__namespace.useState(null);
|
|
383
396
|
React__namespace.useEffect(() => {
|
|
384
397
|
irisAppRuntimeCore.CurrentUserRuntime.getCurrentUserContext()
|
|
@@ -394,7 +407,7 @@ const TileCurrentUserProvider = ({ children }) => {
|
|
|
394
407
|
/**
|
|
395
408
|
* This is a provider for the UserSubscriptionContext.
|
|
396
409
|
*/
|
|
397
|
-
const
|
|
410
|
+
const UserSubscriptionProviderIrisApp = ({ children }) => {
|
|
398
411
|
const [subscription, setSubscription] = React__namespace.useState(null);
|
|
399
412
|
React__namespace.useEffect(() => {
|
|
400
413
|
irisAppRuntimeCore.UserSubscriptionRuntime.getUserSubscriptionContext()
|
|
@@ -407,24 +420,6 @@ const UserSubscriptionProvider = ({ children }) => {
|
|
|
407
420
|
return jsxRuntime.jsx(reactCoreHooks.UserSubscriptionProvider, Object.assign({ value: subscription }, { children: children }));
|
|
408
421
|
};
|
|
409
422
|
|
|
410
|
-
/**
|
|
411
|
-
* This is a provider for the TrackunitDataProviders.
|
|
412
|
-
*/
|
|
413
|
-
const TrackunitDataProviders = ({ children }) => (jsxRuntime.jsx(TileEnvironmentProvider, { children: jsxRuntime.jsx(TileTokenProvider, { children: jsxRuntime.jsx(TileCurrentUserProvider, { children: jsxRuntime.jsx(UserSubscriptionProvider, { children: jsxRuntime.jsx(AnalyticsProvider, { children: jsxRuntime.jsx(TileGlobalSelectionProvider, { children: jsxRuntime.jsx(OemBrandingContextProvider, { children: jsxRuntime.jsx(TileAssetSortingProvider, { children: jsxRuntime.jsx(ManagerApolloProvider, Object.assign({ isIrisApp: true }, { children: children })) }) }) }) }) }) }) }) }));
|
|
414
|
-
|
|
415
|
-
const HostNavigator = ({ children }) => {
|
|
416
|
-
reactCoreHooks.useURLSynchronization();
|
|
417
|
-
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
418
|
-
return jsxRuntime.jsx(jsxRuntime.Fragment, { children: children });
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* This is a router for the Trackunit app.
|
|
422
|
-
*/
|
|
423
|
-
const TrackunitRouter = ({ children }) => {
|
|
424
|
-
var _a;
|
|
425
|
-
return (jsxRuntime.jsx(reactRouterDom.BrowserRouter, Object.assign({ basename: `${((_a = document.getElementById("baseHref")) === null || _a === void 0 ? void 0 : _a.getAttribute("href")) || "<missing baseHref>"}${global.module}` }, { children: jsxRuntime.jsx(HostNavigator, { children: children }) })));
|
|
426
|
-
};
|
|
427
|
-
|
|
428
423
|
/**
|
|
429
424
|
* This is a provider for the TrackunitDataProviders.
|
|
430
425
|
*/
|
|
@@ -433,9 +428,9 @@ const TrackunitProviders = ({ translations, children }) => {
|
|
|
433
428
|
i18nLibraryTranslation.registerTranslations(translations); // Register the apps translations if passed.
|
|
434
429
|
}
|
|
435
430
|
i18nLibraryTranslation.initializeTranslationsForApp(); // Initialize all registered translations
|
|
436
|
-
return (jsxRuntime.jsx(
|
|
431
|
+
return (jsxRuntime.jsx(EnvironmentProviderIrisApp, { children: jsxRuntime.jsx(TokenProviderIrisApp, { children: jsxRuntime.jsx(CurrentUserProviderIrisApp, { children: jsxRuntime.jsx(UserSubscriptionProviderIrisApp, { children: jsxRuntime.jsx(AnalyticsProviderIrisApp, { children: jsxRuntime.jsx(GlobalSelectionProviderIrisApp, { children: jsxRuntime.jsx(OemBrandingContextProviderIrisApp, { children: jsxRuntime.jsx(AssetSortingProviderIrisApp, { children: jsxRuntime.jsx(ManagerApolloProvider, Object.assign({ isIrisApp: true }, { children: jsxRuntime.jsx(ToastProviderIrisApp, { children: jsxRuntime.jsx(React__namespace.Suspense, Object.assign({ fallback: jsxRuntime.jsx(reactComponents.Spinner, { centering: "centered" }) }, { children: jsxRuntime.jsx(TrackunitRouterIrisApp, { children: children }) })) }) })) }) }) }) }) }) }) }) }));
|
|
437
432
|
};
|
|
438
433
|
|
|
439
434
|
exports.ManagerApolloProvider = ManagerApolloProvider;
|
|
440
|
-
exports.
|
|
435
|
+
exports.ToastProviderIrisApp = ToastProviderIrisApp;
|
|
441
436
|
exports.TrackunitProviders = TrackunitProviders;
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { ApolloProvider, ApolloClient, InMemoryCache, from, split } from '@apoll
|
|
|
3
3
|
import { setContext } from '@apollo/client/link/context';
|
|
4
4
|
import { onError } from '@apollo/client/link/error';
|
|
5
5
|
import * as Sentry from '@sentry/browser';
|
|
6
|
-
import { useEnvironment, useCurrentUser, useToken, ToastProvider, AnalyticsContextProvider, AssetSortingProvider, EnvironmentContextProvider, GlobalSelectionProvider, OemBrandingContextProvider
|
|
6
|
+
import { useEnvironment, useCurrentUser, useToken, ToastProvider, AnalyticsContextProvider, AssetSortingProvider, EnvironmentContextProvider, GlobalSelectionProvider, OemBrandingContextProvider, TokenProvider, useURLSynchronization, CurrentUserProvider, UserSubscriptionProvider } from '@trackunit/react-core-hooks';
|
|
7
7
|
import amplitude from 'amplitude-js';
|
|
8
8
|
import { createUploadLink } from 'apollo-upload-client';
|
|
9
9
|
import * as React from 'react';
|
|
@@ -189,7 +189,7 @@ const ManagerApolloProvider = ({ children, isIrisApp }) => {
|
|
|
189
189
|
/**
|
|
190
190
|
* This is a provider for the ToastContext.
|
|
191
191
|
*/
|
|
192
|
-
const
|
|
192
|
+
const ToastProviderIrisApp = ({ children }) => {
|
|
193
193
|
const value = useMemo(() => ({ addToast: ToastRuntime.addToast }), []);
|
|
194
194
|
return jsx(ToastProvider, Object.assign({ value: value }, { children: children }));
|
|
195
195
|
};
|
|
@@ -197,7 +197,7 @@ const ToastProviderApp = ({ children }) => {
|
|
|
197
197
|
/**
|
|
198
198
|
* This is a provider for the AnalyticsProvider.
|
|
199
199
|
*/
|
|
200
|
-
const
|
|
200
|
+
const AnalyticsProviderIrisApp = ({ children }) => {
|
|
201
201
|
const contextValue = useMemo(() => ({
|
|
202
202
|
logPageView: details => {
|
|
203
203
|
AnalyticsContextRuntime.logPageView(details);
|
|
@@ -232,7 +232,7 @@ const useSubscribeToHostChanges = (methods) => {
|
|
|
232
232
|
/**
|
|
233
233
|
* This is a provider for the AssetSortingContext.
|
|
234
234
|
*/
|
|
235
|
-
const
|
|
235
|
+
const AssetSortingProviderIrisApp = ({ children }) => {
|
|
236
236
|
const [assetSortingState, setAssetSortingState] = useState(null);
|
|
237
237
|
useEffect(() => {
|
|
238
238
|
AssetSortingRuntime.getAssetSortingState()
|
|
@@ -256,7 +256,7 @@ const TileAssetSortingProvider = ({ children }) => {
|
|
|
256
256
|
/**
|
|
257
257
|
* This is a provider for the EnvironmentContext.
|
|
258
258
|
*/
|
|
259
|
-
const
|
|
259
|
+
const EnvironmentProviderIrisApp = ({ children }) => {
|
|
260
260
|
const [environment, setEnvironment] = React.useState(null);
|
|
261
261
|
React.useEffect(() => {
|
|
262
262
|
const updateEnv = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -280,7 +280,7 @@ const TileEnvironmentProvider = ({ children }) => {
|
|
|
280
280
|
/**
|
|
281
281
|
* This is a provider for the GlobalSelectionContext.
|
|
282
282
|
*/
|
|
283
|
-
const
|
|
283
|
+
const GlobalSelectionProviderIrisApp = ({ children }) => {
|
|
284
284
|
const [GlobalSelectionContext, setGlobalSelectionContext] = useState(null);
|
|
285
285
|
useEffect(() => {
|
|
286
286
|
GlobalSelectionRuntime.getGlobalSelection()
|
|
@@ -300,7 +300,7 @@ const TileGlobalSelectionProvider = ({ children }) => {
|
|
|
300
300
|
/**
|
|
301
301
|
* This is a provider for the IOemBrandingContext.
|
|
302
302
|
*/
|
|
303
|
-
const
|
|
303
|
+
const OemBrandingContextProviderIrisApp = ({ children }) => {
|
|
304
304
|
const [oemBrandingContext, setOemBrandingContext] = React.useState(null);
|
|
305
305
|
React.useEffect(() => {
|
|
306
306
|
const updateContext = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -319,13 +319,13 @@ const OemBrandingContextProvider = ({ children }) => {
|
|
|
319
319
|
if (!oemBrandingContext) {
|
|
320
320
|
return null;
|
|
321
321
|
}
|
|
322
|
-
return jsx(OemBrandingContextProvider
|
|
322
|
+
return jsx(OemBrandingContextProvider, Object.assign({ value: oemBrandingContext }, { children: children }));
|
|
323
323
|
};
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
326
|
* This is a provider for the TokenContext.
|
|
327
327
|
*/
|
|
328
|
-
const
|
|
328
|
+
const TokenProviderIrisApp = ({ children }) => {
|
|
329
329
|
const [tokenContext, setTokenContext] = React.useState(null);
|
|
330
330
|
React.useEffect(() => {
|
|
331
331
|
const updateContext = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -348,10 +348,23 @@ const TileTokenProvider = ({ children }) => {
|
|
|
348
348
|
return jsx(TokenProvider, Object.assign({ value: tokenContext }, { children: children }));
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
+
const HostNavigator = ({ children }) => {
|
|
352
|
+
useURLSynchronization();
|
|
353
|
+
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
354
|
+
return jsx(Fragment, { children: children });
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* This is a router for the Trackunit app.
|
|
358
|
+
*/
|
|
359
|
+
const TrackunitRouterIrisApp = ({ children }) => {
|
|
360
|
+
var _a;
|
|
361
|
+
return (jsx(BrowserRouter, Object.assign({ basename: `${((_a = document.getElementById("baseHref")) === null || _a === void 0 ? void 0 : _a.getAttribute("href")) || "<missing baseHref>"}${global.module}` }, { children: jsx(HostNavigator, { children: children }) })));
|
|
362
|
+
};
|
|
363
|
+
|
|
351
364
|
/**
|
|
352
365
|
* This is a provider for the CurrentUserContext.
|
|
353
366
|
*/
|
|
354
|
-
const
|
|
367
|
+
const CurrentUserProviderIrisApp = ({ children }) => {
|
|
355
368
|
const [currentuserContext, setCurrentUserContext] = React.useState(null);
|
|
356
369
|
React.useEffect(() => {
|
|
357
370
|
CurrentUserRuntime.getCurrentUserContext()
|
|
@@ -367,7 +380,7 @@ const TileCurrentUserProvider = ({ children }) => {
|
|
|
367
380
|
/**
|
|
368
381
|
* This is a provider for the UserSubscriptionContext.
|
|
369
382
|
*/
|
|
370
|
-
const
|
|
383
|
+
const UserSubscriptionProviderIrisApp = ({ children }) => {
|
|
371
384
|
const [subscription, setSubscription] = React.useState(null);
|
|
372
385
|
React.useEffect(() => {
|
|
373
386
|
UserSubscriptionRuntime.getUserSubscriptionContext()
|
|
@@ -377,25 +390,7 @@ const UserSubscriptionProvider = ({ children }) => {
|
|
|
377
390
|
if (!subscription) {
|
|
378
391
|
return null;
|
|
379
392
|
}
|
|
380
|
-
return jsx(UserSubscriptionProvider
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* This is a provider for the TrackunitDataProviders.
|
|
385
|
-
*/
|
|
386
|
-
const TrackunitDataProviders = ({ children }) => (jsx(TileEnvironmentProvider, { children: jsx(TileTokenProvider, { children: jsx(TileCurrentUserProvider, { children: jsx(UserSubscriptionProvider, { children: jsx(AnalyticsProvider, { children: jsx(TileGlobalSelectionProvider, { children: jsx(OemBrandingContextProvider, { children: jsx(TileAssetSortingProvider, { children: jsx(ManagerApolloProvider, Object.assign({ isIrisApp: true }, { children: children })) }) }) }) }) }) }) }) }));
|
|
387
|
-
|
|
388
|
-
const HostNavigator = ({ children }) => {
|
|
389
|
-
useURLSynchronization();
|
|
390
|
-
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
391
|
-
return jsx(Fragment, { children: children });
|
|
392
|
-
};
|
|
393
|
-
/**
|
|
394
|
-
* This is a router for the Trackunit app.
|
|
395
|
-
*/
|
|
396
|
-
const TrackunitRouter = ({ children }) => {
|
|
397
|
-
var _a;
|
|
398
|
-
return (jsx(BrowserRouter, Object.assign({ basename: `${((_a = document.getElementById("baseHref")) === null || _a === void 0 ? void 0 : _a.getAttribute("href")) || "<missing baseHref>"}${global.module}` }, { children: jsx(HostNavigator, { children: children }) })));
|
|
393
|
+
return jsx(UserSubscriptionProvider, Object.assign({ value: subscription }, { children: children }));
|
|
399
394
|
};
|
|
400
395
|
|
|
401
396
|
/**
|
|
@@ -406,7 +401,7 @@ const TrackunitProviders = ({ translations, children }) => {
|
|
|
406
401
|
registerTranslations(translations); // Register the apps translations if passed.
|
|
407
402
|
}
|
|
408
403
|
initializeTranslationsForApp(); // Initialize all registered translations
|
|
409
|
-
return (jsx(
|
|
404
|
+
return (jsx(EnvironmentProviderIrisApp, { children: jsx(TokenProviderIrisApp, { children: jsx(CurrentUserProviderIrisApp, { children: jsx(UserSubscriptionProviderIrisApp, { children: jsx(AnalyticsProviderIrisApp, { children: jsx(GlobalSelectionProviderIrisApp, { children: jsx(OemBrandingContextProviderIrisApp, { children: jsx(AssetSortingProviderIrisApp, { children: jsx(ManagerApolloProvider, Object.assign({ isIrisApp: true }, { children: jsx(ToastProviderIrisApp, { children: jsx(React.Suspense, Object.assign({ fallback: jsx(Spinner, { centering: "centered" }) }, { children: jsx(TrackunitRouterIrisApp, { children: children }) })) }) })) }) }) }) }) }) }) }) }));
|
|
410
405
|
};
|
|
411
406
|
|
|
412
|
-
export { ManagerApolloProvider,
|
|
407
|
+
export { ManagerApolloProvider, ToastProviderIrisApp, TrackunitProviders };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.168",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"@sentry/browser": "7.50.0",
|
|
11
11
|
"@trackunit/i18n-library-translation": "0.0.53",
|
|
12
12
|
"@trackunit/iris-app-runtime-core": "0.3.46",
|
|
13
|
-
"@trackunit/react-components": "0.1.
|
|
13
|
+
"@trackunit/react-components": "0.1.100",
|
|
14
14
|
"@trackunit/react-core-contexts-api": "0.2.37",
|
|
15
|
-
"@trackunit/react-core-contexts-test": "0.1.
|
|
15
|
+
"@trackunit/react-core-contexts-test": "0.1.70",
|
|
16
16
|
"@trackunit/react-core-hooks": "0.2.60",
|
|
17
17
|
"amplitude-js": "7.4.4",
|
|
18
18
|
"apollo-upload-client": "17.0.0",
|
|
@@ -6,5 +6,5 @@ interface Props {
|
|
|
6
6
|
/**
|
|
7
7
|
* This is a provider for the AnalyticsProvider.
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
10
|
-
export
|
|
9
|
+
export declare const AnalyticsProviderIrisApp: ({ children }: Props) => JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -5,5 +5,5 @@ interface Props {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the AssetSortingContext.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
9
|
-
export
|
|
8
|
+
export declare const AssetSortingProviderIrisApp: ({ children }: Props) => JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -5,5 +5,5 @@ interface IProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the EnvironmentContext.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
9
|
-
export
|
|
8
|
+
export declare const EnvironmentProviderIrisApp: ({ children }: IProps) => JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -5,5 +5,5 @@ interface IProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the GlobalSelectionContext.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
9
|
-
export
|
|
8
|
+
export declare const GlobalSelectionProviderIrisApp: ({ children }: IProps) => JSX.Element | null;
|
|
9
|
+
export {};
|
package/src/index.d.ts
CHANGED
package/src/{irisOemManifest/OemBrandingProvider.d.ts → oemBranding/OemBrandingProviderIrisApp.d.ts}
RENAMED
|
@@ -5,5 +5,5 @@ interface IProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the IOemBrandingContext.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
9
|
-
export
|
|
8
|
+
export declare const OemBrandingContextProviderIrisApp: ({ children }: IProps) => JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -5,5 +5,5 @@ interface IProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the TokenContext.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
9
|
-
export
|
|
8
|
+
export declare const TokenProviderIrisApp: ({ children }: IProps) => JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -5,5 +5,5 @@ interface IProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the CurrentUserContext.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
9
|
-
export
|
|
8
|
+
export declare const CurrentUserProviderIrisApp: ({ children }: IProps) => JSX.Element | null;
|
|
9
|
+
export {};
|
package/src/{UserSubscriptionProvider.d.ts → userSubscription/UserSubscriptionProviderIrisApp.d.ts}
RENAMED
|
@@ -5,5 +5,5 @@ interface IProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the UserSubscriptionContext.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
9
|
-
export
|
|
8
|
+
export declare const UserSubscriptionProviderIrisApp: ({ children }: IProps) => JSX.Element | null;
|
|
9
|
+
export {};
|