@trackunit/react-core-hooks 1.11.6 → 1.11.8
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 +2 -2
- package/index.esm.js +2 -2
- package/package.json +4 -4
- package/src/toast/useToast.d.ts +2 -2
- package/src/token/useToken.d.ts +2 -2
package/index.cjs.js
CHANGED
|
@@ -236,7 +236,7 @@ const useFilterBarContext = () => {
|
|
|
236
236
|
* @example
|
|
237
237
|
* import { useToken } from "@trackunit/react-core-hooks";
|
|
238
238
|
* const { token } = useToken();
|
|
239
|
-
* @see {
|
|
239
|
+
* @see {TokenContext}
|
|
240
240
|
*/
|
|
241
241
|
const useToken = () => {
|
|
242
242
|
const context = react.useContext(reactCoreContextsApi.TokenContext);
|
|
@@ -761,7 +761,7 @@ const useTimeRange = () => {
|
|
|
761
761
|
* description: error?.message,
|
|
762
762
|
* duration: 3000,
|
|
763
763
|
* });
|
|
764
|
-
* @see {
|
|
764
|
+
* @see { ToastContextValue }
|
|
765
765
|
*/
|
|
766
766
|
const useToast = () => {
|
|
767
767
|
const toastContext = react.useContext(reactCoreContextsApi.ToastContext);
|
package/index.esm.js
CHANGED
|
@@ -234,7 +234,7 @@ const useFilterBarContext = () => {
|
|
|
234
234
|
* @example
|
|
235
235
|
* import { useToken } from "@trackunit/react-core-hooks";
|
|
236
236
|
* const { token } = useToken();
|
|
237
|
-
* @see {
|
|
237
|
+
* @see {TokenContext}
|
|
238
238
|
*/
|
|
239
239
|
const useToken = () => {
|
|
240
240
|
const context = useContext(TokenContext);
|
|
@@ -759,7 +759,7 @@ const useTimeRange = () => {
|
|
|
759
759
|
* description: error?.message,
|
|
760
760
|
* duration: 3000,
|
|
761
761
|
* });
|
|
762
|
-
* @see {
|
|
762
|
+
* @see { ToastContextValue }
|
|
763
763
|
*/
|
|
764
764
|
const useToast = () => {
|
|
765
765
|
const toastContext = useContext(ToastContext);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-hooks",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.8",
|
|
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
|
"react": "19.0.0",
|
|
11
|
-
"@trackunit/iris-app-runtime-core": "1.12.
|
|
12
|
-
"@trackunit/iris-app-runtime-core-api": "1.11.
|
|
13
|
-
"@trackunit/react-core-contexts-api": "1.12.
|
|
11
|
+
"@trackunit/iris-app-runtime-core": "1.12.8",
|
|
12
|
+
"@trackunit/iris-app-runtime-core-api": "1.11.8",
|
|
13
|
+
"@trackunit/react-core-contexts-api": "1.12.8"
|
|
14
14
|
},
|
|
15
15
|
"module": "./index.esm.js",
|
|
16
16
|
"main": "./index.cjs.js",
|
package/src/toast/useToast.d.ts
CHANGED
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
* description: error?.message,
|
|
14
14
|
* duration: 3000,
|
|
15
15
|
* });
|
|
16
|
-
* @see {
|
|
16
|
+
* @see { ToastContextValue }
|
|
17
17
|
*/
|
|
18
|
-
export declare const useToast: () => import("@trackunit/react-core-contexts-api").
|
|
18
|
+
export declare const useToast: () => import("@trackunit/react-core-contexts-api").ToastContextValue;
|
package/src/token/useToken.d.ts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* @example
|
|
6
6
|
* import { useToken } from "@trackunit/react-core-hooks";
|
|
7
7
|
* const { token } = useToken();
|
|
8
|
-
* @see {
|
|
8
|
+
* @see {TokenContext}
|
|
9
9
|
*/
|
|
10
|
-
export declare const useToken: () => import("@trackunit/iris-app-runtime-core-api").
|
|
10
|
+
export declare const useToken: () => import("@trackunit/iris-app-runtime-core-api").TokenContext;
|