@trackunit/react-core-hooks 1.3.68 → 1.3.70
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 -1
- package/index.esm.js +1 -1
- package/package.json +4 -4
- package/src/filter-bar/FilterBarProvider.d.ts +4 -4
package/index.cjs.js
CHANGED
|
@@ -192,7 +192,7 @@ const FilterBarContext = react.createContext(null);
|
|
|
192
192
|
*
|
|
193
193
|
* ...
|
|
194
194
|
* };
|
|
195
|
-
* @see {@link
|
|
195
|
+
* @see {@link FilterBarContext}
|
|
196
196
|
*/
|
|
197
197
|
const useFilterBarContext = () => {
|
|
198
198
|
const context = react.useContext(FilterBarContext);
|
package/index.esm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-hooks",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.70",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"react": "19.0.0",
|
|
11
11
|
"jest-fetch-mock": "^3.0.3",
|
|
12
12
|
"zod": "3.22.4",
|
|
13
|
-
"@trackunit/react-core-contexts-api": "1.4.
|
|
14
|
-
"@trackunit/iris-app-runtime-core": "1.4.
|
|
15
|
-
"@trackunit/shared-utils": "1.5.
|
|
13
|
+
"@trackunit/react-core-contexts-api": "1.4.68",
|
|
14
|
+
"@trackunit/iris-app-runtime-core": "1.4.69",
|
|
15
|
+
"@trackunit/shared-utils": "1.5.67"
|
|
16
16
|
},
|
|
17
17
|
"module": "./index.esm.js",
|
|
18
18
|
"main": "./index.cjs.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FilterBarContext as FilterBarContextType } from "@trackunit/react-core-contexts-api";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
/**
|
|
4
4
|
* This is a hook to use the FilterBarProvider.
|
|
@@ -12,11 +12,11 @@ import { ReactNode } from "react";
|
|
|
12
12
|
*
|
|
13
13
|
* ...
|
|
14
14
|
* };
|
|
15
|
-
* @see {@link
|
|
15
|
+
* @see {@link FilterBarContext}
|
|
16
16
|
*/
|
|
17
|
-
export declare const useFilterBarContext: () =>
|
|
17
|
+
export declare const useFilterBarContext: () => FilterBarContextType;
|
|
18
18
|
interface FilterBarContextProps {
|
|
19
|
-
value:
|
|
19
|
+
value: FilterBarContextType;
|
|
20
20
|
children?: ReactNode;
|
|
21
21
|
}
|
|
22
22
|
/**
|