@mcurros2/microm 1.1.331-0 → 1.1.333-0
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 +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +53 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1717,6 +1717,7 @@ export interface UseFileUploadProps {
|
|
|
1717
1717
|
onValidateFile?: (file: File) => Promise<ValidateFileReturnType>;
|
|
1718
1718
|
thumbnailMaxSize?: number;
|
|
1719
1719
|
thumbnailQuality?: number;
|
|
1720
|
+
loadFilesOnMount?: boolean;
|
|
1720
1721
|
}
|
|
1721
1722
|
export const UseFileUploadDefaultProps: Partial<UseFileUploadProps>;
|
|
1722
1723
|
export interface UploadProgressReport {
|
|
@@ -3080,6 +3081,7 @@ export type AvatarUploaderLabels = {
|
|
|
3080
3081
|
export const AvatarUploaderDefaultProps: Partial<useAvatarUploaderProps>;
|
|
3081
3082
|
export interface AvatarUploaderAPI {
|
|
3082
3083
|
imageURL?: string;
|
|
3084
|
+
thumbnailURL?: string;
|
|
3083
3085
|
fileID?: string;
|
|
3084
3086
|
fileProcessID?: string;
|
|
3085
3087
|
fileGUID?: string;
|
|
@@ -3091,6 +3093,7 @@ export function useAvatarUploader(props: useAvatarUploaderProps): AvatarUploader
|
|
|
3091
3093
|
export interface AvatarUploaderProps extends Omit<AvatarProps, 'src'> {
|
|
3092
3094
|
API: AvatarUploaderAPI;
|
|
3093
3095
|
PlaceHolderIcon?: React.ReactNode;
|
|
3096
|
+
showFullImage?: boolean;
|
|
3094
3097
|
readOnlyMode?: boolean;
|
|
3095
3098
|
}
|
|
3096
3099
|
export function AvatarUploader(props: AvatarUploaderProps): JSX.Element;
|