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