@movable/ui 4.0.3 → 4.0.4-alpha.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.
@@ -2,9 +2,9 @@ import { TextFieldProps } from '@mui/material/TextField';
2
2
  export type InkTextFieldProps = TextFieldProps & {
3
3
  name: string;
4
4
  };
5
- declare const InkTextField: import("react").ForwardRefExoticComponent<(Omit<import("@mui/material").OutlinedTextFieldProps & {
5
+ declare const InkTextField: import("react").ForwardRefExoticComponent<(Omit<import("@mui/material").FilledTextFieldProps & {
6
6
  name: string;
7
- }, "ref"> | Omit<import("@mui/material").FilledTextFieldProps & {
7
+ }, "ref"> | Omit<import("@mui/material").OutlinedTextFieldProps & {
8
8
  name: string;
9
9
  }, "ref"> | Omit<import("@mui/material").StandardTextFieldProps & {
10
10
  name: string;
package/lib/index.d.ts CHANGED
@@ -29,10 +29,9 @@ import { FormControlLabelProps } from '@mui/material/FormControlLabel';
29
29
  import { FormGroupProps } from '@mui/material/FormGroup';
30
30
  import { FormLabelProps } from '@mui/material/FormLabel';
31
31
  import { ForwardRefExoticComponent } from 'react';
32
- import { Grid2Props } from '@mui/material/Grid2';
33
- import { Grid2Props as Grid2Props_2 } from '@mui/material';
34
32
  import { GridColDef } from '@mui/x-data-grid-premium';
35
33
  import { GridColumnVisibilityModel } from '@mui/x-data-grid-premium';
34
+ import { GridProps } from '@mui/material/Grid';
36
35
  import { GridRenderCellParams } from '@mui/x-data-grid-premium';
37
36
  import { JSX as JSX_2 } from 'react/jsx-runtime';
38
37
  import { LinkProps } from '@mui/material';
@@ -93,11 +92,11 @@ declare type ActionType = {
93
92
  };
94
93
 
95
94
  declare type BaseContentLayoutProps = {
96
- containerProps?: Grid2Props_2;
95
+ containerProps?: GridProps;
97
96
  leftContent: React.ReactNode;
98
97
  rightContent: React.ReactNode;
99
- leftProps?: Grid2Props_2;
100
- rightProps?: Grid2Props_2;
98
+ leftProps?: GridProps;
99
+ rightProps?: GridProps;
101
100
  };
102
101
 
103
102
  declare type BaseProps = {
@@ -214,8 +213,8 @@ export declare function EightColumnFullContentLayout({ children, itemProps, cont
214
213
 
215
214
  declare type EightColumnFullContentLayoutProps = {
216
215
  children: React.ReactNode;
217
- containerProps?: Grid2Props;
218
- itemProps?: Grid2Props;
216
+ containerProps?: GridProps;
217
+ itemProps?: GridProps;
219
218
  };
220
219
 
221
220
  export declare function FiveThreeSplitContentLayout({ leftContent, rightContent, containerProps, leftProps, rightProps, }: FiveThreeSplitContentLayoutProps): JSX_2.Element;
@@ -223,9 +222,9 @@ export declare function FiveThreeSplitContentLayout({ leftContent, rightContent,
223
222
  declare type FiveThreeSplitContentLayoutProps = {
224
223
  leftContent: React.ReactNode;
225
224
  rightContent: React.ReactNode;
226
- containerProps?: Grid2Props;
227
- leftProps?: Grid2Props;
228
- rightProps?: Grid2Props;
225
+ containerProps?: GridProps;
226
+ leftProps?: GridProps;
227
+ rightProps?: GridProps;
229
228
  };
230
229
 
231
230
  export declare const FormSkeletonGrid: ({ skeletonRows, skeletonColumns, }: SkeletonGridType) => JSX_2.Element;
@@ -235,9 +234,9 @@ export declare function FourEightSplitContentLayout({ leftContent, rightContent,
235
234
  declare type FourEightSplitContentLayoutProps = {
236
235
  leftContent: React.ReactNode;
237
236
  rightContent: React.ReactNode;
238
- containerProps?: Grid2Props_2;
239
- leftProps?: Grid2Props_2;
240
- rightProps?: Grid2Props_2;
237
+ containerProps?: GridProps;
238
+ leftProps?: GridProps;
239
+ rightProps?: GridProps;
241
240
  };
242
241
 
243
242
  export declare function FullContentLayout({ children, itemProps, containerProps, }: FullContentLayoutProps): JSX_2.Element;
@@ -252,8 +251,8 @@ declare class FullContentLayoutPageObject_2 {
252
251
 
253
252
  declare type FullContentLayoutProps = {
254
253
  children: React.ReactNode;
255
- containerProps?: Grid2Props_2;
256
- itemProps?: Grid2Props_2;
254
+ containerProps?: GridProps;
255
+ itemProps?: GridProps;
257
256
  };
258
257
 
259
258
  declare type HeaderLink = {
@@ -323,7 +322,7 @@ declare interface IInkGridToolBarProps {
323
322
 
324
323
  export declare function IndexLayout({ Header, children, sx, ...containerProps }: IndexLayoutProps): JSX_2.Element;
325
324
 
326
- declare type IndexLayoutProps = Grid2Props & {
325
+ declare type IndexLayoutProps = GridProps & {
327
326
  Header: JSX.Element;
328
327
  children: React.ReactNode;
329
328
  };
@@ -917,9 +916,9 @@ export declare type InkSwitchProps = {
917
916
  formControlLabelProps?: FormControlLabelProps;
918
917
  } & SwitchProps;
919
918
 
920
- export declare const InkTextField: ForwardRefExoticComponent<(Omit<OutlinedTextFieldProps & {
919
+ export declare const InkTextField: ForwardRefExoticComponent<(Omit<FilledTextFieldProps & {
921
920
  name: string;
922
- }, "ref"> | Omit<FilledTextFieldProps & {
921
+ }, "ref"> | Omit<OutlinedTextFieldProps & {
923
922
  name: string;
924
923
  }, "ref"> | Omit<StandardTextFieldProps & {
925
924
  name: string;
@@ -1053,10 +1052,10 @@ declare type IPageWrapperProps = {
1053
1052
  description?: string;
1054
1053
  };
1055
1054
 
1056
- declare type LayoutDetailsProps = Grid2Props & {
1055
+ declare type LayoutDetailsProps = GridProps & {
1057
1056
  Header: JSX.Element;
1058
1057
  children: React.ReactNode;
1059
- itemProps?: Grid2Props;
1058
+ itemProps?: GridProps;
1060
1059
  };
1061
1060
 
1062
1061
  export declare function LinkBreadcrumbs({ breadcrumbs }: BreadcrumbProps): JSX_2.Element;
@@ -1165,8 +1164,8 @@ declare type PanelWithPaperContentLayoutProps = React.PropsWithChildren<{
1165
1164
  children: React.ReactNode;
1166
1165
  wrapperProps?: BoxProps;
1167
1166
  panelProps?: BoxProps;
1168
- containerProps?: Grid2Props;
1169
- itemProps?: Grid2Props;
1167
+ containerProps?: GridProps;
1168
+ itemProps?: GridProps;
1170
1169
  }>;
1171
1170
 
1172
1171
  declare type PrimaryButtonType = ButtonProps & {
@@ -1199,9 +1198,9 @@ export declare function SevenThreeSplitContentLayout({ leftContent, rightContent
1199
1198
  declare type SevenThreeSplitContentLayoutProps = {
1200
1199
  leftContent: React.ReactNode;
1201
1200
  rightContent: React.ReactNode;
1202
- containerProps?: Grid2Props;
1203
- leftProps?: Grid2Props;
1204
- rightProps?: Grid2Props;
1201
+ containerProps?: GridProps;
1202
+ leftProps?: GridProps;
1203
+ rightProps?: GridProps;
1205
1204
  };
1206
1205
 
1207
1206
  declare type SimpleCardProps = BaseProps & {
@@ -1233,16 +1232,16 @@ export declare function TenColumnFullContentLayout({ children, itemProps, contai
1233
1232
 
1234
1233
  declare type TenColumnFullContentLayoutProps = {
1235
1234
  children: React.ReactNode;
1236
- containerProps?: Grid2Props;
1237
- itemProps?: Grid2Props;
1235
+ containerProps?: GridProps;
1236
+ itemProps?: GridProps;
1238
1237
  };
1239
1238
 
1240
1239
  export declare function TwelveColumnFullContentLayout({ children, containerProps, itemProps, }: TwelveColumnFullContentLayoutProps): JSX_2.Element;
1241
1240
 
1242
1241
  declare type TwelveColumnFullContentLayoutProps = {
1243
1242
  children: React.ReactNode;
1244
- containerProps?: Grid2Props_2;
1245
- itemProps?: Grid2Props_2;
1243
+ containerProps?: GridProps;
1244
+ itemProps?: GridProps;
1246
1245
  };
1247
1246
 
1248
1247
  export declare function useCopyToClipboard(): [CopiedValue, CopyFn];
@@ -1251,10 +1250,10 @@ declare type VariantType = 'page' | 'paper' | 'search' | 'data';
1251
1250
 
1252
1251
  export declare function WorkflowLayout({ Header, children, sx, itemProps, ...rest }: WorkflowLayoutProps): JSX_2.Element;
1253
1252
 
1254
- declare type WorkflowLayoutProps = Grid2Props & {
1253
+ declare type WorkflowLayoutProps = GridProps & {
1255
1254
  Header: JSX.Element;
1256
1255
  children: React.ReactNode;
1257
- itemProps?: Grid2Props;
1256
+ itemProps?: GridProps;
1258
1257
  };
1259
1258
 
1260
1259
  export { }