@trackunit/react-core-contexts-test 1.7.80 → 1.7.83
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/HookRenderer.cjs.js +9 -7
- package/HookRenderer.esm.js +6 -4
- package/index.cjs.js +38 -1375
- package/index.cjs2.js +14585 -0
- package/index.esm.js +17 -1358
- package/index.esm2.js +14544 -0
- package/package.json +5 -7
- package/src/TrackunitProvidersMockBuilder.d.ts +1 -1
- package/src/mocks/mockAnalyticsContext.d.ts +1 -1
- package/src/mocks/mockAssetSortingContext.d.ts +1 -1
- package/src/mocks/mockConfirmationDialogContext.d.ts +1 -1
- package/src/mocks/mockCurrentUserContext.d.ts +1 -1
- package/src/mocks/mockCurrentUserPreferenceContext.d.ts +1 -1
- package/src/mocks/mockEnvironmentContext.d.ts +1 -1
- package/src/mocks/mockErrorHandlerContext.d.ts +1 -1
- package/src/mocks/mockFilterBarContext.d.ts +1 -1
- package/src/mocks/mockModalDialogContext.d.ts +1 -1
- package/src/mocks/mockNavigationContext.d.ts +1 -1
- package/src/mocks/mockOemBrandingContext.d.ts +1 -1
- package/src/mocks/mockTimeRangeContext.d.ts +1 -1
- package/src/mocks/mockToastContext.d.ts +1 -1
- package/src/mocks/mockUserSubscriptionContext.d.ts +1 -1
- package/src/mocks/mockWidgetConfigContext.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts-test",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.83",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,16 +8,14 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@apollo/client": "3.13.8",
|
|
11
|
-
"@testing-library/react": "16.2.0",
|
|
12
11
|
"react": "19.0.0",
|
|
13
12
|
"graphql": "^16.10.0",
|
|
14
|
-
"@trackunit/react-core-
|
|
15
|
-
"@trackunit/
|
|
16
|
-
"@trackunit/shared-utils": "1.9.70",
|
|
17
|
-
"@trackunit/react-test-setup": "1.4.70",
|
|
13
|
+
"@trackunit/react-core-hooks": "1.7.83",
|
|
14
|
+
"@trackunit/shared-utils": "1.9.73",
|
|
18
15
|
"@tanstack/react-router": "1.114.29",
|
|
19
16
|
"@tanstack/router-core": "1.114.29",
|
|
20
|
-
"es-toolkit": "^1.39.10"
|
|
17
|
+
"es-toolkit": "^1.39.10",
|
|
18
|
+
"@trackunit/iris-app-runtime-core-api": "1.7.79"
|
|
21
19
|
},
|
|
22
20
|
"module": "./index.esm.js",
|
|
23
21
|
"main": "./index.cjs.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MockedResponse } from "@apollo/client/testing";
|
|
2
2
|
import { AnyRoute } from "@tanstack/react-router";
|
|
3
3
|
import { RenderResult } from "@testing-library/react";
|
|
4
|
-
import { AssetSortingContextValue, ConfirmationDialogContextValue, CurrentUserContextInterface, ErrorHandlingContextValue, FilterBarContext, IAnalyticsContext, IEnvironmentContext, INavigationContext, IToastContext, ITokenContext, IUserPreferencesContext, IUserSubscriptionContext, ModalDialogContextValue, OemBrandingContext, TimeRangeContext, WidgetConfigContext } from "@trackunit/
|
|
4
|
+
import { AssetSortingContextValue, ConfirmationDialogContextValue, CurrentUserContextInterface, ErrorHandlingContextValue, FilterBarContext, IAnalyticsContext, IEnvironmentContext, INavigationContext, IToastContext, ITokenContext, IUserPreferencesContext, IUserSubscriptionContext, ModalDialogContextValue, OemBrandingContext, TimeRangeContext, WidgetConfigContext } from "@trackunit/iris-app-runtime-core-api";
|
|
5
5
|
import { ExportDataContextState } from "@trackunit/react-core-hooks";
|
|
6
6
|
import { ReactElement, ReactNode } from "react";
|
|
7
7
|
import { MemoryRouterProps } from "./utils/routingUtils";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IAnalyticsContext } from "@trackunit/
|
|
1
|
+
import { IAnalyticsContext } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockAnalyticsContext: IAnalyticsContext<Record<string, never>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AssetSortingContextValue } from "@trackunit/
|
|
1
|
+
import { AssetSortingContextValue } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockAssetSortingContext: AssetSortingContextValue;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ConfirmationDialogContextValue } from "@trackunit/
|
|
1
|
+
import { ConfirmationDialogContextValue } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockConfirmationDialogContext: ConfirmationDialogContextValue;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEnvironmentContext } from "@trackunit/
|
|
1
|
+
import { IEnvironmentContext } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockEnvironmentContext: IEnvironmentContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ModalDialogContextValue } from "@trackunit/
|
|
1
|
+
import { ModalDialogContextValue } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockModalDialogContext: ModalDialogContextValue;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { INavigationContext } from "@trackunit/
|
|
1
|
+
import { INavigationContext } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockNavigationContext: INavigationContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { OemBrandingContext } from "@trackunit/
|
|
1
|
+
import { OemBrandingContext } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockOemBrandingContext: OemBrandingContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TimeRangeContext } from "@trackunit/
|
|
1
|
+
import { TimeRangeContext } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockTimeRangeContext: TimeRangeContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IToastContext } from "@trackunit/
|
|
1
|
+
import { IToastContext } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockToastContext: IToastContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { WidgetConfigContext } from "@trackunit/
|
|
1
|
+
import { WidgetConfigContext } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export declare const mockWidgetConfigContext: WidgetConfigContext;
|