@ynput/ayon-react-components 0.3.23 → 0.3.25
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/FileCard/FileCard.d.ts +3 -0
- package/dist/FileUpload/FileUpload.d.ts +10 -0
- package/dist/ayon-react-components.es.js +8123 -8033
- package/dist/ayon-react-components.umd.js +207 -157
- package/package.json +1 -1
|
@@ -8,5 +8,8 @@ export interface FileCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
8
8
|
length: number;
|
|
9
9
|
splitDisabled: boolean;
|
|
10
10
|
isFetching?: boolean;
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
message?: string;
|
|
11
14
|
}
|
|
12
15
|
export declare const FileCard: FC<FileCardProps>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { IconType } from '../Icon';
|
|
1
2
|
export interface CustomFile {
|
|
2
3
|
sequenceId: string | null;
|
|
3
4
|
sequenceNumber: number | null;
|
|
5
|
+
message?: string;
|
|
4
6
|
file: File;
|
|
5
7
|
}
|
|
6
8
|
type FormProps = Omit<React.HTMLAttributes<HTMLFormElement>, 'onSubmit'>;
|
|
@@ -12,11 +14,19 @@ export interface FileUploadProps extends FormProps {
|
|
|
12
14
|
validExtensions?: string[];
|
|
13
15
|
confirmLabel?: string;
|
|
14
16
|
saveButton?: React.ReactNode;
|
|
17
|
+
header?: React.ReactNode;
|
|
18
|
+
footer?: React.ReactNode;
|
|
15
19
|
onSubmit?: (files: CustomFile[]) => void;
|
|
16
20
|
isFetching?: boolean;
|
|
17
21
|
isSuccess?: boolean;
|
|
18
22
|
successMessage?: string;
|
|
19
23
|
isError?: boolean;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
title?: string;
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
listStyle?: React.CSSProperties;
|
|
28
|
+
dropIcon?: IconType;
|
|
29
|
+
readOnly?: boolean;
|
|
20
30
|
}
|
|
21
31
|
export declare const FileUpload: import("react").ForwardRefExoticComponent<FileUploadProps & import("react").RefAttributes<HTMLFormElement>>;
|
|
22
32
|
export {};
|