design-system-silkhaus 2.18.0-beta.app-components.8 → 2.18.0-beta.app-components.10
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 +12 -0
- package/dist/index.js +29 -29
- package/package.json +1 -1
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<{
|
|
@@ -466,6 +476,8 @@ export declare const GearOutlinedIcon: FC<{
|
|
|
466
476
|
className?: string;
|
|
467
477
|
}>;
|
|
468
478
|
|
|
479
|
+
export declare const getScreenSize: (width: number) => ScreenSize;
|
|
480
|
+
|
|
469
481
|
export declare const Grid: React_2.ForwardRefExoticComponent<GridProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
470
482
|
|
|
471
483
|
export declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|