@dartech/arsenal-ui 1.3.47 → 1.3.49

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/index.js CHANGED
@@ -6567,15 +6567,15 @@ const Sidebar = ({
6567
6567
  const ContentLayout = ({
6568
6568
  children,
6569
6569
  toolbar,
6570
- contentSx
6570
+ contentSx,
6571
+ sx
6571
6572
  }) => {
6572
6573
  return jsxs(Box, Object.assign({
6573
- component: "main",
6574
- sx: {
6574
+ component: "section",
6575
+ sx: Object.assign({
6575
6576
  flexGrow: 1,
6576
- bgcolor: 'background.default',
6577
- width: `calc(100% - ${drawerWidth}px)`
6578
- }
6577
+ bgcolor: 'background.default'
6578
+ }, sx)
6579
6579
  }, {
6580
6580
  children: [jsx(Toolbar, Object.assign({
6581
6581
  sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.3.47",
3
+ "version": "1.3.49",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -4,6 +4,7 @@ type Props = {
4
4
  children?: ReactNode;
5
5
  toolbar?: ReactNode;
6
6
  contentSx?: SxProps<Theme>;
7
+ sx?: SxProps<Theme>;
7
8
  };
8
- export declare const ContentLayout: ({ children, toolbar, contentSx }: Props) => JSX.Element;
9
+ export declare const ContentLayout: ({ children, toolbar, contentSx, sx }: Props) => JSX.Element;
9
10
  export {};