react-crud-mui 0.2.13 → 0.2.15
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/dist/components/detail-page/hooks/useDetailPageModal.d.ts +1 -1
- package/dist/components/more-panel/MorePanel.d.ts +4 -2
- package/dist/components/phone-input/PhoneInput.d.ts +1 -1
- package/dist/components/side-panel/SidePanel.d.ts +1 -0
- package/dist/coreui.js +810 -810
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -409,7 +409,7 @@ declare function useDetailPageModal<TModel extends FieldValues>({ models, unique
|
|
|
409
409
|
readonly headerProps?: import('@mui/material').BoxProps;
|
|
410
410
|
readonly moreOptions?: import('../../..').MoreButtonProps["options"];
|
|
411
411
|
readonly useHeaderIconWrapper?: boolean;
|
|
412
|
-
readonly tabs?: import('
|
|
412
|
+
readonly tabs?: import('../../..').TabPane[];
|
|
413
413
|
readonly error?: import('../../utils').ServerError;
|
|
414
414
|
readonly footerContent?: import('react').ReactNode;
|
|
415
415
|
readonly moreContent?: import('react').ReactNode;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { default as React, PropsWithChildren } from 'react';
|
|
1
|
+
import { default as React, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { StackProps } from '@mui/material/Stack';
|
|
3
3
|
export interface MorePanelProps extends StackProps {
|
|
4
4
|
initialVisibility?: boolean;
|
|
5
5
|
extraContent?: React.ReactNode;
|
|
6
|
+
moreText?: ReactNode;
|
|
7
|
+
lessText?: ReactNode;
|
|
6
8
|
}
|
|
7
|
-
declare function MorePanel({ children, initialVisibility, extraContent, ...boxProps }: PropsWithChildren<MorePanelProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function MorePanel({ children, initialVisibility, extraContent, moreText, lessText, ...boxProps }: PropsWithChildren<MorePanelProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
export default MorePanel;
|
|
@@ -3,7 +3,7 @@ import { UsePhoneInputConfig } from 'react-international-phone';
|
|
|
3
3
|
import { BaseTextFieldProps } from '@mui/material/TextField';
|
|
4
4
|
export interface PhoneInputProps extends BaseTextFieldProps {
|
|
5
5
|
value?: string;
|
|
6
|
-
onChange?:
|
|
6
|
+
onChange?: UsePhoneInputConfig['onChange'];
|
|
7
7
|
phoneInputconfig?: UsePhoneInputConfig;
|
|
8
8
|
getRef?: React.MutableRefObject<typeof PhoneInput>;
|
|
9
9
|
}
|