fone-design-system_v2 1.0.301 → 1.0.303
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/Table2/Table2.d.ts +1 -1
- package/dist/components/Table2/emptyMessage.d.ts +7 -1
- package/dist/components/Table2/rows/Rows.d.ts +3 -0
- package/dist/components/Table2/types/table.types.d.ts +3 -0
- package/dist/components/Upload/FileDropZone.d.ts +2 -2
- package/dist/fone-design-system.es.js +4940 -4920
- package/dist/fone-design-system.umd.js +90 -90
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Table2Props } from './types';
|
|
2
|
-
declare const Table2: <T extends object>({ data, columns, onChange, checkbox, no, radio, selectedCell, focusedCell, onRowClick, onRowDoubleClick, isLoading, rowCountChangeScrollPosition, scrollTo, isEditMode, rowClickTriggerIdx, resetTriggerOnDataChange, noTriggerOnDataChange, reorderMode, onReorder, onCellClick, getRowProps, rowHeight, headerRowHeight, sx, }: Table2Props) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Table2: <T extends object>({ data, columns, onChange, checkbox, no, radio, selectedCell, focusedCell, onRowClick, onRowDoubleClick, isLoading, rowCountChangeScrollPosition, scrollTo, isEditMode, rowClickTriggerIdx, resetTriggerOnDataChange, noTriggerOnDataChange, reorderMode, onReorder, onCellClick, getRowProps, rowHeight, headerRowHeight, sx, emptyText, emptyIcon, emptySlot, }: Table2Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Table2;
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
type EmptyMessageProps = {
|
|
2
|
+
emptyText?: string;
|
|
3
|
+
emptyIcon?: string | React.ReactNode;
|
|
4
|
+
emptySlot?: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export default function EmptyMessage({ emptyText, emptyIcon, emptySlot, }: EmptyMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -41,6 +41,9 @@ interface Props<T extends object = any> {
|
|
|
41
41
|
rowIndex: number;
|
|
42
42
|
colIndex: number;
|
|
43
43
|
} | null>>;
|
|
44
|
+
emptyText?: string;
|
|
45
|
+
emptyIcon?: string | React.ReactNode;
|
|
46
|
+
emptySlot?: React.ReactNode;
|
|
44
47
|
}
|
|
45
48
|
declare const Rows: import('react').ForwardRefExoticComponent<Props<any> & import('react').RefAttributes<HTMLDivElement>>;
|
|
46
49
|
export default Rows;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface FileDropZoneProps {
|
|
3
|
-
onDropFile: (
|
|
3
|
+
onDropFile: (files: File | File[]) => void;
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
|
|
5
|
+
multiple?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare const FileDropZone: React.ForwardRefExoticComponent<FileDropZoneProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
export default FileDropZone;
|