@veeqo/ui 4.5.0 → 4.5.1

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.
@@ -0,0 +1,2 @@
1
+ export declare const mockImageFile: File;
2
+ export declare const mockCsvFile: File;
@@ -0,0 +1,9 @@
1
+ type MockHelperProps = {
2
+ file: File;
3
+ label?: string;
4
+ };
5
+ export declare const mockDrop: ({ file, label }: MockHelperProps) => void;
6
+ export declare const mockDragOver: ({ file, label }: MockHelperProps) => void;
7
+ export declare const getDefaultInput: () => HTMLElement;
8
+ export declare const getUploadGraphic: () => HTMLElement;
9
+ export {};
@@ -1,8 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import { AcceptedFileTypes, FileSizeUnit } from './constants';
2
- export interface UploadFileProps {
3
+ export interface UploadFileProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
4
  id: string;
4
5
  fileTypes: Array<AcceptedFileTypes>;
5
- name?: string;
6
6
  label?: string;
7
7
  format?: FileSizeUnit;
8
8
  maxBytes?: number;