react-crud-mui 0.0.1-beta.52 → 0.0.1-beta.53
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 -0
- package/dist/components/hooks/useSpinDelay.d.ts +1 -1
- package/dist/components/page/Page.d.ts +3 -1
- package/dist/components/progress/Progress.d.ts +5 -2
- package/dist/components/theme/components/accordion.d.ts +2 -6
- package/dist/coreui.js +1861 -1850
- package/package.json +1 -1
|
@@ -426,6 +426,7 @@ declare function useDetailPageModal<TModel extends FieldValues>({ models, unique
|
|
|
426
426
|
readonly showHeader?: boolean;
|
|
427
427
|
readonly showCommands?: boolean;
|
|
428
428
|
readonly morePanelProps?: import('../../more-panel/MorePanel').MorePanelProps;
|
|
429
|
+
readonly loadingOptions?: import('../../hooks/useSpinDelay').SpinDelayOptions;
|
|
429
430
|
readonly disableShortCuts?: boolean;
|
|
430
431
|
readonly tabsPosition?: import('../../page/Page').TabsPosition;
|
|
431
432
|
readonly selectedTabIndex?: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { HeaderProps } from '../header/Header';
|
|
3
|
+
import { SpinDelayOptions } from '../hooks/useSpinDelay';
|
|
3
4
|
import { MorePanelProps } from '../more-panel/MorePanel';
|
|
4
5
|
import { default as DefaultLayout, PageLayoutProps } from './components/DefaultLayout';
|
|
5
6
|
import { PanelPane } from './components/DefaultPanels';
|
|
@@ -27,6 +28,7 @@ export interface PageProps extends HeaderProps {
|
|
|
27
28
|
size?: PaddingSize;
|
|
28
29
|
disabled?: boolean;
|
|
29
30
|
loading?: boolean;
|
|
31
|
+
loadingOptions?: SpinDelayOptions;
|
|
30
32
|
disableShortCuts?: boolean;
|
|
31
33
|
tabs?: TabPane[];
|
|
32
34
|
tabsPosition?: TabsPosition;
|
|
@@ -37,7 +39,7 @@ export interface PageProps extends HeaderProps {
|
|
|
37
39
|
panels?: PanelPane[];
|
|
38
40
|
}
|
|
39
41
|
export declare const PagePadding: Record<PaddingSize, number>;
|
|
40
|
-
declare function Page({ alertsContent, bordered, children, commandsContent, commandsPosition,
|
|
42
|
+
declare function Page({ alertsContent, bordered, centerContent, children, commandsContent, commandsPosition, disabled, footerContent, loading, loadingOptions, moreContent, morePanelProps, onHeader, onLayout, onTabChanged, onTabs, panels, rightContent, selectedTabIndex, showCommands, showHeader, size, style, sx, tabs, tabsPosition, ...headerProps }: PageProps): import("react/jsx-runtime").JSX.Element;
|
|
41
43
|
declare namespace Page {
|
|
42
44
|
var Content: typeof PageContent;
|
|
43
45
|
var Divider: typeof PageDivider;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { LinearProgressProps } from '@mui/material';
|
|
2
|
-
|
|
2
|
+
import { SpinDelayOptions } from '../hooks/useSpinDelay';
|
|
3
|
+
export type ProgressProps = SpinDelayOptions & LinearProgressProps & {
|
|
3
4
|
loading?: boolean;
|
|
4
5
|
visible?: boolean;
|
|
5
|
-
|
|
6
|
+
showTooLongNotification?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function Progress({ loading, visible, delay, minDuration, maxDuration, ssr, showTooLongNotification, ...rest }: ProgressProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
9
|
export default Progress;
|
|
@@ -5,10 +5,8 @@ export declare const AccordionDetails: (theme: Theme) => {
|
|
|
5
5
|
styleOverrides: {
|
|
6
6
|
root: {
|
|
7
7
|
fontSize: number;
|
|
8
|
-
paddingTop: number;
|
|
9
8
|
fontWeight: number;
|
|
10
|
-
|
|
11
|
-
paddingBottom: number;
|
|
9
|
+
padding: number;
|
|
12
10
|
color: string;
|
|
13
11
|
};
|
|
14
12
|
};
|
|
@@ -25,9 +23,7 @@ export declare const AccordionSummery: (theme: Theme) => {
|
|
|
25
23
|
color: string;
|
|
26
24
|
};
|
|
27
25
|
};
|
|
28
|
-
content: {
|
|
29
|
-
alignItems: string;
|
|
30
|
-
};
|
|
26
|
+
content: {};
|
|
31
27
|
expandIconWrapper: {
|
|
32
28
|
color: string;
|
|
33
29
|
};
|