@movable/ui 3.1.2 → 3.2.0

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.
@@ -1,4 +1,4 @@
1
- import { GridProps } from '@mui/material/Grid';
1
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
2
  type LayoutDetailsProps = GridProps & {
3
3
  Header: JSX.Element;
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { GridProps } from '@mui/material/Grid';
1
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
2
  type IndexLayoutProps = GridProps & {
3
3
  Header: JSX.Element;
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { GridProps } from '@mui/material/Grid';
1
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
2
  type WorkflowLayoutProps = GridProps & {
3
3
  Header: JSX.Element;
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { type GridProps } from '@mui/material';
1
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
2
  type EightColumnFullContentLayoutProps = {
3
3
  children: React.ReactNode;
4
4
  containerProps?: GridProps;
@@ -1,4 +1,4 @@
1
- import { GridProps } from '@mui/material';
1
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
2
  type FiveThreeSplitContentLayoutProps = {
3
3
  leftContent: React.ReactNode;
4
4
  rightContent: React.ReactNode;
@@ -1,4 +1,5 @@
1
- import { GridProps, BoxProps } from '@mui/material';
1
+ import { BoxProps } from '@mui/material';
2
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
3
  type PanelWithPaperContentLayoutProps = React.PropsWithChildren<{
3
4
  panelContent: React.ReactNode;
4
5
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { GridProps } from '@mui/material';
1
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
2
  type SevenThreeSplitContentLayoutProps = {
3
3
  leftContent: React.ReactNode;
4
4
  rightContent: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { type GridProps } from '@mui/material';
1
+ import { Grid2Props as GridProps } from '@mui/material/Grid2';
2
2
  type TenColumnFullContentLayoutProps = {
3
3
  children: React.ReactNode;
4
4
  containerProps?: GridProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/ui",
3
- "version": "3.1.2",
3
+ "version": "3.2.0",
4
4
  "description": "Movable Ink's shared MUI components and MUI theme for our vite applications",
5
5
  "module": "lib/index.mjs",
6
6
  "types": "lib/index.d.ts",