design-system-silkhaus 2.18.0-beta.app-components.7 → 2.18.0-beta.app-components.9

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/index.d.ts CHANGED
@@ -430,7 +430,9 @@ export declare interface FileInputProps {
430
430
  */
431
431
  uploadStatuses?: {
432
432
  isComplete: boolean;
433
+ isDeleting?: boolean;
433
434
  message: string;
435
+ fileId?: string | number;
434
436
  }[];
435
437
  className?: string;
436
438
  error?: boolean;
@@ -446,6 +448,14 @@ export declare interface FileInputProps {
446
448
  * Optional tooltip props without trigger
447
449
  */
448
450
  tooltipProps?: Omit<TooltipProps, 'trigger'>;
451
+ /**
452
+ * Allow deletion of file
453
+ */
454
+ allowDelete?: boolean;
455
+ /**
456
+ * Callback function to handle file deletion
457
+ */
458
+ onDeleteBtnClick?: (id: string | number) => void;
449
459
  }
450
460
 
451
461
  export declare const FilterIcon: FC<{