@trackunit/react-core-hooks 1.17.17 → 1.17.19-alpha-ecf53e535f3.0
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 +1 -2
- package/index.esm.js +1 -2
- package/package.json +4 -4
- package/src/user/useCurrentUserPreference.d.ts +0 -1
package/index.cjs.js
CHANGED
|
@@ -1038,9 +1038,8 @@ const useCurrentUserTimeZonePreference = () => {
|
|
|
1038
1038
|
return {
|
|
1039
1039
|
timeZonePreference: context.timeZonePreference,
|
|
1040
1040
|
setTimeZonePreference: context.setTimeZonePreference,
|
|
1041
|
-
customTimezone: context.customTimezone,
|
|
1042
1041
|
};
|
|
1043
|
-
}, [context.
|
|
1042
|
+
}, [context.setTimeZonePreference, context.timeZonePreference]);
|
|
1044
1043
|
};
|
|
1045
1044
|
/**
|
|
1046
1045
|
* This is a hook providing the Current User language.
|
package/index.esm.js
CHANGED
|
@@ -1036,9 +1036,8 @@ const useCurrentUserTimeZonePreference = () => {
|
|
|
1036
1036
|
return {
|
|
1037
1037
|
timeZonePreference: context.timeZonePreference,
|
|
1038
1038
|
setTimeZonePreference: context.setTimeZonePreference,
|
|
1039
|
-
customTimezone: context.customTimezone,
|
|
1040
1039
|
};
|
|
1041
|
-
}, [context.
|
|
1040
|
+
}, [context.setTimeZonePreference, context.timeZonePreference]);
|
|
1042
1041
|
};
|
|
1043
1042
|
/**
|
|
1044
1043
|
* This is a hook providing the Current User language.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-hooks",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.19-alpha-ecf53e535f3.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"es-toolkit": "^1.39.10",
|
|
11
|
-
"@trackunit/iris-app-runtime-core": "1.17.
|
|
12
|
-
"@trackunit/iris-app-runtime-core-api": "1.16.
|
|
13
|
-
"@trackunit/react-core-contexts-api": "1.17.
|
|
11
|
+
"@trackunit/iris-app-runtime-core": "1.17.15-alpha-ecf53e535f3.0",
|
|
12
|
+
"@trackunit/iris-app-runtime-core-api": "1.16.15-alpha-ecf53e535f3.0",
|
|
13
|
+
"@trackunit/react-core-contexts-api": "1.17.15-alpha-ecf53e535f3.0",
|
|
14
14
|
"zod": "^3.25.76"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
@@ -27,7 +27,6 @@ export declare const useCurrentUserLanguage: () => {
|
|
|
27
27
|
export declare const useCurrentUserTimeZonePreference: () => {
|
|
28
28
|
timeZonePreference: import("@trackunit/iris-app-runtime-core-api").TimeZonePreferenceType | undefined;
|
|
29
29
|
setTimeZonePreference: ((timeZonePreference: import("@trackunit/iris-app-runtime-core-api").TimeZonePreferenceType) => void) | undefined;
|
|
30
|
-
customTimezone: string | null | undefined;
|
|
31
30
|
};
|
|
32
31
|
/**
|
|
33
32
|
* This is a hook providing the Current User language.
|