demio-ui 2.1.89 → 2.1.91

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "2.1.89",
3
+ "version": "2.1.91",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- type Props = {
3
- message?: string;
4
- };
5
- declare function Toast({ message, }: Props): React.JSX.Element;
6
- export default Toast;
@@ -1 +0,0 @@
1
- export { default } from './Toast';
@@ -1,23 +0,0 @@
1
- import { FC, HTMLInputTypeAttribute, ReactNode } from 'react';
2
- import { RcFile, UploadProgressEvent } from 'rc-upload/es/interface';
3
- export interface UploadProps {
4
- accept?: string;
5
- children?: ReactNode;
6
- className?: string;
7
- customIcon?: ReactNode;
8
- customHeader?: ReactNode;
9
- customText?: ReactNode;
10
- errorMessage?: string;
11
- isDirectoryAllowed?: boolean;
12
- isMulti?: boolean;
13
- onBeforeUpload?: (file: RcFile, fileList: RcFile[]) => void;
14
- onError?: (err: Error, ret: Record<string, unknown>, file: RcFile) => void;
15
- onProgress?: (event: UploadProgressEvent, file: RcFile) => void;
16
- onStart?: (file: RcFile) => void;
17
- onSuccess?: (ret: Record<string, unknown>) => void;
18
- type?: HTMLInputTypeAttribute;
19
- url?: string;
20
- view?: 'square' | 'circle';
21
- }
22
- declare const Upload: FC;
23
- export default Upload;
@@ -1 +0,0 @@
1
- export { default } from './Upload';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- type Props = {
3
- message?: string;
4
- };
5
- declare function Toast({ message, }: Props): React.JSX.Element;
6
- export default Toast;
@@ -1 +0,0 @@
1
- export { default } from './Toast';
@@ -1,23 +0,0 @@
1
- import { FC, HTMLInputTypeAttribute, ReactNode } from 'react';
2
- import { RcFile, UploadProgressEvent } from 'rc-upload/es/interface';
3
- export interface UploadProps {
4
- accept?: string;
5
- children?: ReactNode;
6
- className?: string;
7
- customIcon?: ReactNode;
8
- customHeader?: ReactNode;
9
- customText?: ReactNode;
10
- errorMessage?: string;
11
- isDirectoryAllowed?: boolean;
12
- isMulti?: boolean;
13
- onBeforeUpload?: (file: RcFile, fileList: RcFile[]) => void;
14
- onError?: (err: Error, ret: Record<string, unknown>, file: RcFile) => void;
15
- onProgress?: (event: UploadProgressEvent, file: RcFile) => void;
16
- onStart?: (file: RcFile) => void;
17
- onSuccess?: (ret: Record<string, unknown>) => void;
18
- type?: HTMLInputTypeAttribute;
19
- url?: string;
20
- view?: 'square' | 'circle';
21
- }
22
- declare const Upload: FC;
23
- export default Upload;
@@ -1 +0,0 @@
1
- export { default } from './Upload';