@etsoo/toolpad 1.0.17 → 1.0.19
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.
|
@@ -124,7 +124,7 @@ function PageContainer(props) {
|
|
|
124
124
|
externalSlotProps: props?.slotProps?.toolbar,
|
|
125
125
|
additionalProps: {}
|
|
126
126
|
});
|
|
127
|
-
return ((0, jsx_runtime_1.jsxs)(Stack_1.default, { sx: {
|
|
127
|
+
return ((0, jsx_runtime_1.jsxs)(Stack_1.default, { sx: { mx: 3, my: 2 }, spacing: 2, ...rest, children: [(0, jsx_runtime_1.jsxs)(Stack_1.default, { children: [(0, jsx_runtime_1.jsx)(Breadcrumbs_1.default, { "aria-label": "breadcrumb", children: resolvedBreadcrumbs
|
|
128
128
|
? resolvedBreadcrumbs.map((item, index) => {
|
|
129
129
|
return index < resolvedBreadcrumbs.length - 1 ? ((0, jsx_runtime_1.jsx)(Link_1.default, { component: Link_2.Link, underline: "hover", color: "inherit", href: item.path, children: (0, navigation_1.getItemTitle)(item) }, item.path)) : ((0, jsx_runtime_1.jsx)(Typography_1.default, { color: "text.primary", children: (0, navigation_1.getItemTitle)(item) }, item.path));
|
|
130
130
|
})
|
|
@@ -83,7 +83,7 @@ function PageContainer(props) {
|
|
|
83
83
|
externalSlotProps: props?.slotProps?.toolbar,
|
|
84
84
|
additionalProps: {}
|
|
85
85
|
});
|
|
86
|
-
return (_jsxs(Stack, { sx: {
|
|
86
|
+
return (_jsxs(Stack, { sx: { mx: 3, my: 2 }, spacing: 2, ...rest, children: [_jsxs(Stack, { children: [_jsx(Breadcrumbs, { "aria-label": "breadcrumb", children: resolvedBreadcrumbs
|
|
87
87
|
? resolvedBreadcrumbs.map((item, index) => {
|
|
88
88
|
return index < resolvedBreadcrumbs.length - 1 ? (_jsx(Link, { component: ToolpadLink, underline: "hover", color: "inherit", href: item.path, children: getItemTitle(item) }, item.path)) : (_jsx(Typography, { color: "text.primary", children: getItemTitle(item) }, item.path));
|
|
89
89
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/toolpad",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"author": "ETSOO",
|
|
5
5
|
"description": "Dashboard framework extention based on Toolpad Core",
|
|
6
6
|
"main": "build/cjs/index.js",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@emotion/react": "^11.14.0",
|
|
49
49
|
"@emotion/styled": "^11.14.0",
|
|
50
|
-
"@mui/icons-material": "6.4.
|
|
51
|
-
"@mui/material": "6.4.
|
|
52
|
-
"@mui/utils": "6.4.
|
|
50
|
+
"@mui/icons-material": "6.4.6",
|
|
51
|
+
"@mui/material": "6.4.6",
|
|
52
|
+
"@mui/utils": "6.4.6",
|
|
53
53
|
"invariant": "2.2.4",
|
|
54
54
|
"path-to-regexp": "6.3.0",
|
|
55
55
|
"react": "^19.0.0"
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"@types/react": "19.0.10",
|
|
67
67
|
"@types/react-dom": "19.0.4",
|
|
68
68
|
"@vitejs/plugin-react": "4.3.4",
|
|
69
|
-
"@vitest/browser": "3.0.
|
|
69
|
+
"@vitest/browser": "3.0.7",
|
|
70
70
|
"jsdom": "^26.0.0",
|
|
71
|
-
"next": "^15.
|
|
71
|
+
"next": "^15.2.0",
|
|
72
72
|
"next-router-mock": "^0.9.13",
|
|
73
73
|
"playwright": "^1.50.1",
|
|
74
74
|
"react-router-dom": "7.2.0",
|
|
75
|
-
"vitest": "3.0.
|
|
75
|
+
"vitest": "3.0.7"
|
|
76
76
|
},
|
|
77
77
|
"peerDependenciesMeta": {
|
|
78
78
|
"next": {
|
|
@@ -154,7 +154,7 @@ function PageContainer(props: PageContainerProps) {
|
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
return (
|
|
157
|
-
<Stack sx={{
|
|
157
|
+
<Stack sx={{ mx: 3, my: 2 }} spacing={2} {...rest}>
|
|
158
158
|
<Stack>
|
|
159
159
|
<Breadcrumbs aria-label="breadcrumb">
|
|
160
160
|
{resolvedBreadcrumbs
|