@cccsaurora/howler-ui 2.19.0-cases.861 → 2.19.0-cases.863

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.
@@ -196,7 +196,7 @@ const createRouter = () => createBrowserRouter([
196
196
  },
197
197
  {
198
198
  path: 'cases/:id',
199
- element: _jsx(CaseViewer, {}),
199
+ element: _jsx(ParameterProvider, { children: _jsx(CaseViewer, {}) }),
200
200
  children: [
201
201
  {
202
202
  index: true,
@@ -19,5 +19,5 @@ export declare const RecordContext: import("use-context-selector").Context<Recor
19
19
  * Central repository for storing individual hit data across the application. Allows efficient retrieval of hits across componenents.
20
20
  */
21
21
  declare const RecordProvider: FC<PropsWithChildren>;
22
- export declare const useHitContextSelector: <Selected>(selector: (value: RecordContextType) => Selected) => Selected;
22
+ export declare const useRecordContextSelector: <Selected>(selector: (value: RecordContextType) => Selected) => Selected;
23
23
  export default RecordProvider;
@@ -107,7 +107,7 @@ const RecordProvider = ({ children }) => {
107
107
  loadRecords
108
108
  }, children: children }));
109
109
  };
110
- export const useHitContextSelector = (selector) => {
110
+ export const useRecordContextSelector = (selector) => {
111
111
  return useContextSelector(RecordContext, selector);
112
112
  };
113
113
  export default RecordProvider;
@@ -3,7 +3,7 @@ import { OpenInNew } from '@mui/icons-material';
3
3
  import { Card, CardContent, IconButton, Skeleton, Stack, Typography } from '@mui/material';
4
4
  import api from '@cccsaurora/howler-ui/api';
5
5
  import AppListEmpty from '@cccsaurora/howler-ui/commons/components/display/AppListEmpty';
6
- import { useHitContextSelector as useRecordContextSelector } from '@cccsaurora/howler-ui/components/app/providers/RecordProvider';
6
+ import { useRecordContextSelector } from '@cccsaurora/howler-ui/components/app/providers/RecordProvider';
7
7
  import { ViewContext } from '@cccsaurora/howler-ui/components/app/providers/ViewProvider';
8
8
  import HitBanner from '@cccsaurora/howler-ui/components/elements/hit/HitBanner';
9
9
  import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
package/package.json CHANGED
@@ -96,7 +96,7 @@
96
96
  "internal-slot": "1.0.7"
97
97
  },
98
98
  "type": "module",
99
- "version": "2.19.0-cases.861",
99
+ "version": "2.19.0-cases.863",
100
100
  "exports": {
101
101
  "./i18n": "./i18n.js",
102
102
  "./index.css": "./index.css",