demio-ui 2.1.86 → 2.1.88

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.
@@ -8,6 +8,7 @@ export interface Props {
8
8
  errorMessage?: string;
9
9
  errorMessageClass?: string;
10
10
  isClearable?: boolean;
11
+ isClosableOnChange?: boolean;
11
12
  isDisabled?: boolean;
12
13
  isMulti?: boolean;
13
14
  isSearchable?: boolean;
@@ -0,0 +1,23 @@
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;
@@ -0,0 +1 @@
1
+ export { default } from './Upload';
@@ -27,6 +27,7 @@ import ExclamationIcon from './exclamation.svg';
27
27
  import ExternalLinkIcon from './external_link.svg';
28
28
  import FileIcon from './file.svg';
29
29
  import FilterListIcon from './filter_list.svg';
30
+ import HelpSolidIcon from './help-solid.svg';
30
31
  import InfoIcon from './info.svg';
31
32
  import InfoSolidIcon from './info-1.svg';
32
33
  import InfoCircleIcon from './info-circle.svg';
@@ -70,4 +71,4 @@ import VolumeUpSolidIcon from './volume_up.svg';
70
71
  import VolumeUpIcon from './volume_up-1.svg';
71
72
  import WarningSolidIcon from './warning.svg';
72
73
  import WarningIcon from './warning-1.svg';
73
- export { AddIcon, ArrowDownIcon, ArrowLeftDoubleIcon, ArrowLeftIcon, ArrowLeftSingleIcon, BarChartIcon, BlockIcon, BlurOnIcon, CachedIcon, CalendarIcon, CalendarStarIcon, ChatIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CheckCircleSolidIcon, ClockIcon, CloseIcon, CopyIcon, CustomizeIcon, DeleteIcon, DotsIcon, EditIcon, ElectricBoltIcon, EventDetailsIcon, EventRepeatIcon, ExclamationIcon, ExternalLinkIcon, FileIcon, FilterListIcon, InfoCircleIcon, InfoCircleSolidIcon, InfoIcon, InfoSolidIcon, ItemsIcon, ListIcon, ListThIcon, LocationIcon, LockIcon, MagicIcon, MailIcon, MaterialsIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, PasswordEyeCrossedIcon, PasswordEyeIcon, Person, PlayIcon, PollIcon, ProgressIcon, ReplayDisabledIcon, RocketIcon, SearchIcon, SmileIcon, StackedEmailIcon, SyncIcon, TimesCircleIcon, TodayIcon, TrendingDownIcon, TrendingUpIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };
74
+ export { AddIcon, ArrowDownIcon, ArrowLeftDoubleIcon, ArrowLeftIcon, ArrowLeftSingleIcon, BarChartIcon, BlockIcon, BlurOnIcon, CachedIcon, CalendarIcon, CalendarStarIcon, ChatIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CheckCircleSolidIcon, ClockIcon, CloseIcon, CopyIcon, CustomizeIcon, DeleteIcon, DotsIcon, EditIcon, ElectricBoltIcon, EventDetailsIcon, EventRepeatIcon, ExclamationIcon, ExternalLinkIcon, FileIcon, FilterListIcon, HelpSolidIcon, InfoCircleIcon, InfoCircleSolidIcon, InfoIcon, InfoSolidIcon, ItemsIcon, ListIcon, ListThIcon, LocationIcon, LockIcon, MagicIcon, MailIcon, MaterialsIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, PasswordEyeCrossedIcon, PasswordEyeIcon, Person, PlayIcon, PollIcon, ProgressIcon, ReplayDisabledIcon, RocketIcon, SearchIcon, SmileIcon, StackedEmailIcon, SyncIcon, TimesCircleIcon, TodayIcon, TrendingDownIcon, TrendingUpIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };