demio-ui 2.5.27 → 2.5.28

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.
@@ -12,7 +12,6 @@ export interface DnDAreaProps {
12
12
  isValidationEnabled?: boolean;
13
13
  isDimensionValidationEnabled?: boolean;
14
14
  isSizeValidationEnabled?: boolean;
15
- isTypeValidationEnabled?: boolean;
16
15
  minHeightLimit?: number;
17
16
  minWidthLimit?: number;
18
17
  onDragLeave?: (event: DragEvent<HTMLDivElement>) => void;
@@ -18,7 +18,6 @@ export interface UploadProps {
18
18
  isCropAllowed?: boolean;
19
19
  isDimensionValidationEnabled?: boolean;
20
20
  isSizeValidationEnabled?: boolean;
21
- isTypeValidationEnabled?: boolean;
22
21
  isValidationEnabled?: boolean;
23
22
  menu?: UploadMenuItem[];
24
23
  minHeightLimit?: number;
@@ -20,7 +20,7 @@ export declare const initialFileValidation: {
20
20
  isFileTypeValid: boolean;
21
21
  isFileValid: boolean;
22
22
  };
23
- export declare const useFileValidation: ({ acceptableFileTypes, fileSizeMbLimit, isValidationEnabled, isDimensionValidationEnabled, isSizeValidationEnabled, isTypeValidationEnabled, minHeightLimit, minWidthLimit, }: useFileValidationInterface) => {
23
+ export declare const useFileValidation: ({ acceptableFileTypes, fileSizeMbLimit, isValidationEnabled, isDimensionValidationEnabled, isSizeValidationEnabled, minHeightLimit, minWidthLimit, }: useFileValidationInterface) => {
24
24
  validate: (file?: unknown) => Promise<{
25
25
  isFileDimensionValid: boolean;
26
26
  isFileSizeValid: boolean;