@etsoo/toolpad 1.0.17 → 1.0.18

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: { m: 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
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: { m: 2 }, spacing: 2, ...rest, children: [_jsxs(Stack, { children: [_jsx(Breadcrumbs, { "aria-label": "breadcrumb", children: resolvedBreadcrumbs
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.17",
3
+ "version": "1.0.18",
4
4
  "author": "ETSOO",
5
5
  "description": "Dashboard framework extention based on Toolpad Core",
6
6
  "main": "build/cjs/index.js",
@@ -154,7 +154,7 @@ function PageContainer(props: PageContainerProps) {
154
154
  });
155
155
 
156
156
  return (
157
- <Stack sx={{ m: 2 }} spacing={2} {...rest}>
157
+ <Stack sx={{ mx: 3, my: 2 }} spacing={2} {...rest}>
158
158
  <Stack>
159
159
  <Breadcrumbs aria-label="breadcrumb">
160
160
  {resolvedBreadcrumbs