react-crud-mui 0.2.96 → 0.2.98

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.
@@ -4,7 +4,7 @@ import { DetailPageProps } from './DetailPage';
4
4
  export interface DetailPagePopoverProps<TModel extends FieldValues = FieldValues> extends DetailPageProps<TModel> {
5
5
  popoverOptions?: Partial<PopoverProps>;
6
6
  onClose: () => void;
7
- anchorEl: HTMLElement | null;
7
+ anchorEl?: HTMLElement | null;
8
8
  }
9
9
  declare function DetailPagePopover<TModel extends FieldValues>({ popoverOptions, children, onClose, anchorEl, ...dpProps }: DetailPagePopoverProps<TModel>): import("react/jsx-runtime").JSX.Element;
10
10
  export default DetailPagePopover;
@@ -10,6 +10,7 @@ interface PhoneLabelProps extends BoxProps {
10
10
  * Message to show when date is undefined
11
11
  */
12
12
  unDefinedMessage?: string;
13
+ enablePhoneLink?: boolean;
13
14
  }
14
- declare function PhoneFormat({ value: phoneNumber, showIcon, showUndefinedMessage, unDefinedMessage, ...rest }: PhoneLabelProps): string | import("react/jsx-runtime").JSX.Element | null;
15
+ declare function PhoneFormat({ value: phoneNumber, showIcon, showUndefinedMessage, unDefinedMessage, enablePhoneLink, ...rest }: PhoneLabelProps): string | import("react/jsx-runtime").JSX.Element | null;
15
16
  export default PhoneFormat;
@@ -7,6 +7,7 @@ export type MoreButtonItem = {
7
7
  key: Key;
8
8
  danger?: boolean;
9
9
  divider?: boolean;
10
+ disabled?: boolean;
10
11
  onClick?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>) => void;
11
12
  };
12
13
  export interface MoreButtonProps extends IconButtonProps {
@@ -1,3 +1,4 @@
1
+ import { Theme } from '@mui/material/styles';
1
2
  import { Components } from '@mui/material/styles/components';
2
- declare const Autocomplete: () => Components["MuiAutocomplete"];
3
+ declare const Autocomplete: (theme: Theme) => Components["MuiAutocomplete"];
3
4
  export default Autocomplete;
@@ -1,4 +1,4 @@
1
- import { Theme } from '@mui/material/styles/createTheme';
2
1
  import { Components } from '@mui/material/styles/components';
2
+ import { Theme } from '@mui/material/styles/createTheme';
3
3
  declare const Breadcrumbs: (theme: Theme) => Components["MuiBreadcrumbs"];
4
4
  export default Breadcrumbs;
@@ -1,5 +1,5 @@
1
- import { Theme } from '@mui/material/styles/createTheme';
2
1
  import { Components } from '@mui/material/styles/components';
2
+ import { Theme } from '@mui/material/styles/createTheme';
3
3
  export declare const TablePagination: (theme: Theme) => Components["MuiTablePagination"];
4
- export declare const Pagination: () => Components["MuiPagination"];
4
+ export declare const Pagination: (theme: Theme) => Components["MuiPagination"];
5
5
  export declare const PaginationItem: (theme: Theme) => Components["MuiPaginationItem"];
@@ -4,5 +4,6 @@ export type ThemeSettings = {
4
4
  direction: 'ltr' | 'rtl';
5
5
  responsiveFontSizes?: boolean;
6
6
  themeOptions?: ThemeOptions;
7
+ lang?: 'en' | 'tr';
7
8
  };
8
9
  export declare const createCustomTheme: (settings: ThemeSettings) => import('@mui/material').Theme;
@@ -1,4 +1,4 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { ThemeSettings } from '..';
3
- declare function ThemeProvider({ theme, themeOptions, direction, responsiveFontSizes, children, }: PropsWithChildren<ThemeSettings>): import("react/jsx-runtime").JSX.Element;
3
+ declare function ThemeProvider({ theme, themeOptions, direction, responsiveFontSizes, children, lang, }: PropsWithChildren<ThemeSettings>): import("react/jsx-runtime").JSX.Element;
4
4
  export default ThemeProvider;