@trackunit/react-core-hooks 0.2.197 → 0.2.199

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
@@ -84,7 +84,7 @@ const AssetSortingProvider = AssetSortingContext.Provider;
84
84
  * headerInitialSort={initialSort}
85
85
  * />
86
86
  * );
87
- * @see {@link IAssetSortingContext}
87
+ * @see {@link AssetSortingContextValue}
88
88
  */
89
89
  const useAssetSorting = () => {
90
90
  const context = React.useContext(AssetSortingContext);
package/index.esm.js CHANGED
@@ -61,7 +61,7 @@ const AssetSortingProvider = AssetSortingContext.Provider;
61
61
  * headerInitialSort={initialSort}
62
62
  * />
63
63
  * );
64
- * @see {@link IAssetSortingContext}
64
+ * @see {@link AssetSortingContextValue}
65
65
  */
66
66
  const useAssetSorting = () => {
67
67
  const context = useContext(AssetSortingContext);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-hooks",
3
- "version": "0.2.197",
3
+ "version": "0.2.199",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { IAssetSortingContext } from "@trackunit/react-core-contexts-api";
2
+ import { AssetSortingContextValue } from "@trackunit/react-core-contexts-api";
3
3
  /**
4
4
  * This is a provider for the AssetSortingContext.
5
5
  */
6
- export declare const AssetSortingProvider: import("react").Provider<IAssetSortingContext | null>;
6
+ export declare const AssetSortingProvider: import("react").Provider<AssetSortingContextValue | null>;
7
7
  /**
8
8
  * This is a hook to use the AssetSortingContext.
9
9
  *
@@ -30,6 +30,6 @@ export declare const AssetSortingProvider: import("react").Provider<IAssetSortin
30
30
  * headerInitialSort={initialSort}
31
31
  * />
32
32
  * );
33
- * @see {@link IAssetSortingContext}
33
+ * @see {@link AssetSortingContextValue}
34
34
  */
35
- export declare const useAssetSorting: () => IAssetSortingContext;
35
+ export declare const useAssetSorting: () => AssetSortingContextValue;