cecomponent 1.0.90 → 1.0.92
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/ce-component-lib.css +1 -1
- package/dist/ce-component-lib.js +63 -63
- package/dist/ce-component-lib.mjs +3510 -3464
- package/dist/components/Common/CEFileUpload/CEFileUploadDocument.d.ts +7 -1
- package/dist/components/Common/DataGrid/CEDataGridDynamicsTable.d.ts +1 -0
- package/dist/components/Common/InputDropDown/InputDropDown.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/shared/utils.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,11 +4,17 @@ export interface UploadedFile {
|
|
|
4
4
|
type: string;
|
|
5
5
|
uploadDate: string;
|
|
6
6
|
file: File;
|
|
7
|
+
url?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
path?: string;
|
|
7
10
|
}
|
|
8
11
|
interface CEFileUploadProps {
|
|
9
12
|
onUpload?: (files: UploadedFile[]) => void;
|
|
10
|
-
/** List of extensions (with leading dot). Example: ['.csv', '.xlsx'] */
|
|
11
13
|
accept?: string[];
|
|
14
|
+
initialFiles?: UploadedFile[];
|
|
15
|
+
showPathColumn?: boolean;
|
|
16
|
+
onDelete?: (file: UploadedFile) => void;
|
|
17
|
+
onDownload?: (file: UploadedFile) => void;
|
|
12
18
|
}
|
|
13
19
|
declare const CEFileUploadDocument: React.FC<CEFileUploadProps>;
|
|
14
20
|
export default CEFileUploadDocument;
|
|
@@ -57,6 +57,7 @@ interface CEDataGridDynamicTableProps {
|
|
|
57
57
|
isOverrideCSS?: any;
|
|
58
58
|
showPagination?: boolean;
|
|
59
59
|
shouldResetSearchOnDataChange?: boolean;
|
|
60
|
+
pageSizeOptions?: Array<number>;
|
|
60
61
|
}
|
|
61
62
|
declare const CEDataGridDynamicTable: React.FC<CEDataGridDynamicTableProps>;
|
|
62
63
|
export default CEDataGridDynamicTable;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { default as CEDynamicSelectField } from './components/Common/CEFieldComp
|
|
|
8
8
|
export { default as CEDynamicTextField } from './components/Common/CEFieldComponet/DynamicTextField/DynamicTextField';
|
|
9
9
|
export { default as CEUploadModalWrapper } from './components/Common/CEFileUpload/CEUploadPopUp';
|
|
10
10
|
export { default as CEFileUpload } from './components/Common/Fileupload/CEFileUploadBasic';
|
|
11
|
+
export { default as CEFileUploadDocument } from './components/Common/CEFileUpload/CEFileUploadDocument';
|
|
11
12
|
export { default as CESnackBar } from './components/Common/CESnackBar/CESnackBar';
|
|
12
13
|
export { default as CEStepper } from './components/Common/CEStepper/CEStepper';
|
|
13
14
|
export { default as CECheckbox } from './components/Common/CheckBox/CECheckBox';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cecomponent",
|
|
3
3
|
"description": "A React component library for building modern UIs for Cleanearth",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.92",
|
|
5
5
|
"main": "dist/ce-component-lib.js",
|
|
6
6
|
"module": "dist/ce-component-lib.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|