@solcre-org/core-ui 2.11.40 → 2.11.41

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/index.d.ts CHANGED
@@ -341,7 +341,12 @@ interface FileFieldConfig<T extends DataBaseModelInterface> extends ModalFieldCo
341
341
  showPreview?: boolean;
342
342
  acceptString: string;
343
343
  previewUrls?: PreviewFileUrl[] | ((row: T) => PreviewFileUrl[]);
344
- onFileRemoved?: (file: any, index: number, fileType: 'existing' | 'selected' | 'preview') => void;
344
+ onFileRemoved?: (data: {
345
+ file: any;
346
+ index: number;
347
+ fileType: 'existing' | 'selected' | 'preview';
348
+ previewFile?: PreviewFileUrl;
349
+ }) => void;
345
350
  onFilesAdded?: (data: {
346
351
  previewUrls: PreviewFileUrl[];
347
352
  newFiles: File[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solcre-org/core-ui",
3
- "version": "2.11.40",
3
+ "version": "2.11.41",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"