gov-ui-core 1.0.5 → 1.0.6
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/build/components/EmptyBox/index.d.ts +3 -1
- package/build/components/Table/TableLoading.d.ts +2 -2
- package/build/components/Table/components/Pagination.d.ts +1 -0
- package/build/components/Table/index.d.ts +4 -1
- package/build/components/Table/styled.d.ts +2 -0
- package/build/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IEmptyItemsProps {
|
|
3
3
|
search?: boolean;
|
|
4
|
-
|
|
4
|
+
emptyMessage?: React.ReactNode;
|
|
5
5
|
emptyLogo?: React.ReactNode;
|
|
6
|
+
emptyActions?: React.ReactNode;
|
|
7
|
+
customIcons?: string | React.ReactNode;
|
|
6
8
|
}
|
|
7
9
|
declare const EmptyBox: React.FC<IEmptyItemsProps>;
|
|
8
10
|
export default EmptyBox;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface ITableLoadingProps {
|
|
3
3
|
isNormal?: boolean;
|
|
4
|
-
|
|
5
|
-
description?: string;
|
|
4
|
+
loadingMessage?: string | React.ReactNode;
|
|
6
5
|
isScroll?: boolean;
|
|
6
|
+
size?: string;
|
|
7
7
|
}
|
|
8
8
|
declare const TableLoading: React.FC<ITableLoadingProps>;
|
|
9
9
|
export default TableLoading;
|
|
@@ -22,7 +22,10 @@ export interface ITableProps<RecordType extends object = any> extends Omit<Table
|
|
|
22
22
|
useInfinite?: boolean;
|
|
23
23
|
onInfiniteCallback?: () => void;
|
|
24
24
|
border?: boolean;
|
|
25
|
-
loadingMessage?: string;
|
|
25
|
+
loadingMessage?: string | React.ReactNode;
|
|
26
|
+
emptyActions?: React.ReactNode;
|
|
27
|
+
customIcons?: string | React.ReactNode;
|
|
28
|
+
paginationDisabled?: boolean;
|
|
26
29
|
}
|
|
27
30
|
export interface TableRef {
|
|
28
31
|
reloadTable: () => void;
|
|
@@ -2,10 +2,12 @@ declare const TableBox: import("styled-components").StyledComponent<"div", impor
|
|
|
2
2
|
columnSpace?: number | undefined;
|
|
3
3
|
size?: string | undefined;
|
|
4
4
|
columns?: any;
|
|
5
|
+
totalSize?: number | undefined;
|
|
5
6
|
}, never>;
|
|
6
7
|
declare const TableLoadingBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7
8
|
isNormal?: boolean | undefined;
|
|
8
9
|
isScroll?: boolean | undefined;
|
|
10
|
+
$size?: string | undefined;
|
|
9
11
|
}, never>;
|
|
10
12
|
declare const CustomPagination: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11
13
|
border?: boolean | undefined;
|