@asaleh37/ui-base 25.8.1-1 → 25.8.1-10
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/.github/workflows/publish-npm.yml +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +0 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid.tsx +1 -1
- package/src/components/templates/index.ts +2 -0
- package/src/hooks/index.ts +9 -0
- package/src/index.ts +0 -1
package/package.json
CHANGED
package/src/components/index.ts
CHANGED
|
@@ -140,7 +140,7 @@ const TemplateGrid: React.FC<TemplateGridProps> = (props) => {
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
const themeDirection = useSelector(
|
|
143
|
-
(state: any) =>
|
|
143
|
+
(state: any) => state.AppLayout.appDirection
|
|
144
144
|
);
|
|
145
145
|
|
|
146
146
|
const clearGridState = () => {
|
|
@@ -29,5 +29,7 @@ export { default as TemplatePieChart } from "./visuals/charts/TemplatePieChart";
|
|
|
29
29
|
export { default as DashboardRouteView } from "./visuals/DashboardRouteView";
|
|
30
30
|
export { default as DashboardViewer } from "./visuals/DashboardViewer";
|
|
31
31
|
|
|
32
|
+
export { default as FormElement } from "./DataEntryTemplates/TemplateDataForm/FormElementField";
|
|
33
|
+
|
|
32
34
|
export type * from "./DataEntryTemplates/DataEntryTypes";
|
|
33
35
|
export type { TransferListProps } from "./TransferList";
|
package/src/hooks/index.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { useForm } from "react-hook-form";
|
|
2
|
+
import { useParams } from "react-router-dom";
|
|
3
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
1
6
|
export { default as useAxios } from "./useAxios";
|
|
2
7
|
export { useConfirmationWindow } from "./UseConfirmationWindow";
|
|
3
8
|
export { default as useLoadingMask } from "./useLoadingMask";
|
|
@@ -5,3 +10,7 @@ export { useIsMobile } from "./UseMobile";
|
|
|
5
10
|
export { default as useSession } from "./UseSession";
|
|
6
11
|
export { useWindow } from "./UseWindow";
|
|
7
12
|
export { default as useApiActions } from "./useApiActions";
|
|
13
|
+
export { useDispatch };
|
|
14
|
+
export { useSelector };
|
|
15
|
+
export { useParams };
|
|
16
|
+
export { useForm, zodResolver, z };
|
package/src/index.ts
CHANGED