@trackunit/react-core-contexts 2.6.5 → 2.6.6
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
|
@@ -727,7 +727,7 @@ const NavigationProviderIrisApp = ({ children }) => {
|
|
|
727
727
|
/**
|
|
728
728
|
* This is a provider for the OemBrandingContext.
|
|
729
729
|
*/
|
|
730
|
-
const
|
|
730
|
+
const OemBrandingProviderIrisApp = ({ children }) => {
|
|
731
731
|
return jsxRuntime.jsx(reactCoreContextsApi.OemBrandingContextProvider, { value: irisAppRuntimeCore.OemBrandingRuntime, children: children });
|
|
732
732
|
};
|
|
733
733
|
|
|
@@ -973,7 +973,7 @@ const TrackunitProviders = ({ translations, children, errorHandler }) => {
|
|
|
973
973
|
i18nLibraryTranslation.registerTranslations(translations); // Register the apps translations if passed.
|
|
974
974
|
}
|
|
975
975
|
i18nLibraryTranslation.initializeTranslationsForApp(); // Initialize all registered translations
|
|
976
|
-
return (jsxRuntime.jsx(EnvironmentProviderIrisApp, { children: jsxRuntime.jsx(ErrorHandlingProviderIrisApp, { errorHandler: errorHandler, children: jsxRuntime.jsx(ThemeCssProviderIrisApp, { children: jsxRuntime.jsx(TokenProviderIrisApp, { children: jsxRuntime.jsx(CurrentUserPreferenceProviderIrisApp, { children: jsxRuntime.jsx(CurrentUserProviderIrisApp, { children: jsxRuntime.jsx(UserSubscriptionProviderIrisApp, { children: jsxRuntime.jsx(AnalyticsProviderIrisApp, { children: jsxRuntime.jsx(
|
|
976
|
+
return (jsxRuntime.jsx(EnvironmentProviderIrisApp, { children: jsxRuntime.jsx(ErrorHandlingProviderIrisApp, { errorHandler: errorHandler, children: jsxRuntime.jsx(ThemeCssProviderIrisApp, { children: jsxRuntime.jsx(TokenProviderIrisApp, { children: jsxRuntime.jsx(CurrentUserPreferenceProviderIrisApp, { children: jsxRuntime.jsx(CurrentUserProviderIrisApp, { children: jsxRuntime.jsx(UserSubscriptionProviderIrisApp, { children: jsxRuntime.jsx(AnalyticsProviderIrisApp, { children: jsxRuntime.jsx(OemBrandingProviderIrisApp, { children: jsxRuntime.jsx(AssetSortingProviderIrisApp, { children: jsxRuntime.jsx(ManagerApolloProvider, { children: jsxRuntime.jsx(NavigationProviderIrisApp, { children: jsxRuntime.jsx(ToastProviderIrisApp, { children: jsxRuntime.jsx(ModalDialogContextProviderIrisApp, { children: jsxRuntime.jsx(ConfirmationDialogProviderIrisApp, { children: jsxRuntime.jsx(FilterBarProviderIrisApp, { children: jsxRuntime.jsx(ExportDataProviderIrisApp, { children: jsxRuntime.jsx(TimeRangeProviderIrisApp, { children: jsxRuntime.jsx(WidgetConfigProviderIrisApp, { children: jsxRuntime.jsx(GeolocationProviderIrisApp, { children: jsxRuntime.jsx(react.Suspense, { fallback: jsxRuntime.jsx(reactComponents.Spinner, { centering: "centered", "data-testid": "trackunit-providers" }), children: jsxRuntime.jsx(FeatureFlagProviderIrisApp, { children: children }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }));
|
|
977
977
|
};
|
|
978
978
|
|
|
979
979
|
exports.FeatureFlagProviderIrisApp = FeatureFlagProviderIrisApp;
|
package/index.esm.js
CHANGED
|
@@ -725,7 +725,7 @@ const NavigationProviderIrisApp = ({ children }) => {
|
|
|
725
725
|
/**
|
|
726
726
|
* This is a provider for the OemBrandingContext.
|
|
727
727
|
*/
|
|
728
|
-
const
|
|
728
|
+
const OemBrandingProviderIrisApp = ({ children }) => {
|
|
729
729
|
return jsx(OemBrandingContextProvider, { value: OemBrandingRuntime, children: children });
|
|
730
730
|
};
|
|
731
731
|
|
|
@@ -971,7 +971,7 @@ const TrackunitProviders = ({ translations, children, errorHandler }) => {
|
|
|
971
971
|
registerTranslations(translations); // Register the apps translations if passed.
|
|
972
972
|
}
|
|
973
973
|
initializeTranslationsForApp(); // Initialize all registered translations
|
|
974
|
-
return (jsx(EnvironmentProviderIrisApp, { children: jsx(ErrorHandlingProviderIrisApp, { errorHandler: errorHandler, children: jsx(ThemeCssProviderIrisApp, { children: jsx(TokenProviderIrisApp, { children: jsx(CurrentUserPreferenceProviderIrisApp, { children: jsx(CurrentUserProviderIrisApp, { children: jsx(UserSubscriptionProviderIrisApp, { children: jsx(AnalyticsProviderIrisApp, { children: jsx(
|
|
974
|
+
return (jsx(EnvironmentProviderIrisApp, { children: jsx(ErrorHandlingProviderIrisApp, { errorHandler: errorHandler, children: jsx(ThemeCssProviderIrisApp, { children: jsx(TokenProviderIrisApp, { children: jsx(CurrentUserPreferenceProviderIrisApp, { children: jsx(CurrentUserProviderIrisApp, { children: jsx(UserSubscriptionProviderIrisApp, { children: jsx(AnalyticsProviderIrisApp, { children: jsx(OemBrandingProviderIrisApp, { children: jsx(AssetSortingProviderIrisApp, { children: jsx(ManagerApolloProvider, { children: jsx(NavigationProviderIrisApp, { children: jsx(ToastProviderIrisApp, { children: jsx(ModalDialogContextProviderIrisApp, { children: jsx(ConfirmationDialogProviderIrisApp, { children: jsx(FilterBarProviderIrisApp, { children: jsx(ExportDataProviderIrisApp, { children: jsx(TimeRangeProviderIrisApp, { children: jsx(WidgetConfigProviderIrisApp, { children: jsx(GeolocationProviderIrisApp, { children: jsx(Suspense, { fallback: jsx(Spinner, { centering: "centered", "data-testid": "trackunit-providers" }), children: jsx(FeatureFlagProviderIrisApp, { children: children }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }));
|
|
975
975
|
};
|
|
976
976
|
|
|
977
977
|
export { FeatureFlagProviderIrisApp, ManagerApolloProvider, ToastProviderIrisApp, TrackunitProviders };
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.6",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/iris-app-api": "2.4.
|
|
11
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
12
|
-
"@trackunit/react-core-hooks": "1.21.
|
|
13
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
14
|
-
"@trackunit/react-components": "2.10.
|
|
15
|
-
"@trackunit/iris-app-runtime-core": "1.18.
|
|
10
|
+
"@trackunit/iris-app-api": "2.4.7",
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.18",
|
|
12
|
+
"@trackunit/react-core-hooks": "1.21.11",
|
|
13
|
+
"@trackunit/i18n-library-translation": "2.4.11",
|
|
14
|
+
"@trackunit/react-components": "2.10.1",
|
|
15
|
+
"@trackunit/iris-app-runtime-core": "1.18.18",
|
|
16
16
|
"graphql-sse": "^2.5.4",
|
|
17
|
-
"@trackunit/react-core-contexts-api": "1.18.
|
|
17
|
+
"@trackunit/react-core-contexts-api": "1.18.18"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@apollo/client": "^3.13.8",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
interface
|
|
2
|
+
interface OemBrandingProviderIrisAppProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* This is a provider for the OemBrandingContext.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const OemBrandingProviderIrisApp: ({ children }: OemBrandingProviderIrisAppProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
package/migrations/entry.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/react/core-contexts/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
|