@asaleh37/ui-base 25.8.30 → 25.8.31-1
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/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGridTopBar.tsx +3 -1
- package/src/layout/MainContent.tsx +0 -5
- package/src/navigationItems/index.tsx +1 -8
- package/src/routes/index.ts +2 -6
package/package.json
CHANGED
|
@@ -112,7 +112,9 @@ const TemplateGridTopBar: React.FC<TemplateGridTopBarProps> = (
|
|
|
112
112
|
) : (
|
|
113
113
|
<></>
|
|
114
114
|
)}
|
|
115
|
-
<Box sx={{ flex: 1, mx: 0.5 }}>
|
|
115
|
+
<Box sx={{ flex: 1, mx: 0.5, my: 0.5, padding: 1 }}>
|
|
116
|
+
{props?.templateProps?.tBar}
|
|
117
|
+
</Box>
|
|
116
118
|
|
|
117
119
|
<Tooltip title="Columns">
|
|
118
120
|
<ColumnsPanelTrigger render={<ToolbarButton />}>
|
|
@@ -31,12 +31,5 @@ export const findNavigationItemById = (
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export const NavigationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
34
|
-
...AdministrationItems
|
|
35
|
-
{
|
|
36
|
-
icon: "user",
|
|
37
|
-
label: "Example Grid",
|
|
38
|
-
id: "example",
|
|
39
|
-
action: "NAVIGATION",
|
|
40
|
-
actionPayload: { path: "example" },
|
|
41
|
-
},
|
|
34
|
+
...AdministrationItems
|
|
42
35
|
];
|
package/src/routes/index.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import ExampleGrid from "../examples/ExampleGrid";
|
|
1
|
+
|
|
3
2
|
import { ADMINISTRATION_ROUTES } from "./administration";
|
|
4
3
|
import { SystemRoute } from "./types";
|
|
5
4
|
|
|
6
|
-
export const SYSTEM_ROUTES: Array<SystemRoute> = [
|
|
7
|
-
...ADMINISTRATION_ROUTES,
|
|
8
|
-
{ path: "example", component: ExampleGrid },
|
|
9
|
-
];
|
|
5
|
+
export const SYSTEM_ROUTES: Array<SystemRoute> = [...ADMINISTRATION_ROUTES];
|