@veeqo/ui 4.2.0 → 4.2.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.
@@ -1,8 +1,2 @@
1
1
  import React from 'react';
2
- type UploadedFileProps = {
3
- label: string;
4
- acceptedTypesCopy: string;
5
- maxSizeCopy: string;
6
- };
7
- export declare const UploadCopy: ({ label, acceptedTypesCopy, maxSizeCopy }: UploadedFileProps) => React.JSX.Element;
8
- export {};
2
+ export declare const UploadCopy: () => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type UploadFileErrorsProps = {
3
+ acceptedTypesCopy?: string;
4
+ maxSizeCopy?: string;
5
+ };
6
+ export declare const UploadFileErrors: ({ acceptedTypesCopy, maxSizeCopy }: UploadFileErrorsProps) => React.JSX.Element | null;
7
+ export {};
@@ -1,10 +1,7 @@
1
1
  import React from 'react';
2
2
  type UploadedFileProps = {
3
- file: File;
4
- label: string;
5
- fileSizeCopy: string;
6
- acceptedTypesCopy?: string;
7
- maxSizeCopy?: string;
3
+ file?: File;
4
+ resetSelection: () => void;
8
5
  };
9
- export declare const UploadedFile: ({ file, label, fileSizeCopy, acceptedTypesCopy, maxSizeCopy, }: UploadedFileProps) => React.JSX.Element;
6
+ export declare const UploadedFile: ({ file, resetSelection }: UploadedFileProps) => React.JSX.Element | null;
10
7
  export {};
@@ -0,0 +1,2 @@
1
+ export declare const SingleLineText: import("styled-components").StyledComponent<"span", any, {} & import("../../../Text/types").TextProps, never>;
2
+ export declare const UploadedFilesListStack: import("styled-components").StyledComponent<"div", any, import("../../../Stack/types").StackProps, never>;
@@ -1 +1 @@
1
- export declare const DropZoneLabel: import("styled-components").StyledComponent<"label", any, {}, never>;
1
+ export declare const DropZoneContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,8 +1,8 @@
1
1
  import { AcceptedFileTypes, FileSizeUnit } from './constants';
2
2
  export interface UploadFileProps {
3
3
  id: string;
4
- name?: string;
5
4
  fileTypes: Array<AcceptedFileTypes>;
5
+ name?: string;
6
6
  label?: string;
7
7
  format?: FileSizeUnit;
8
8
  maxBytes?: number;