demio-ui 2.5.109 → 2.5.111
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/cjs/index.js +4 -4
- package/dist/cjs/types/src/components/Crop/Crop.utils.d.ts +11 -0
- package/dist/cjs/types/src/components/DnDArea/DnDArea.utils.d.ts +3 -0
- package/dist/cjs/types/src/components/Pagination/Pagination.utils.d.ts +7 -0
- package/dist/cjs/types/src/hooks/useCroppedImage.d.ts +4 -0
- package/dist/cjs/types/src/icons/index.d.ts +8 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/types/src/components/Crop/Crop.utils.d.ts +11 -0
- package/dist/esm/types/src/components/DnDArea/DnDArea.utils.d.ts +3 -0
- package/dist/esm/types/src/components/Pagination/Pagination.utils.d.ts +7 -0
- package/dist/esm/types/src/hooks/useCroppedImage.d.ts +4 -0
- package/dist/esm/types/src/icons/index.d.ts +8 -1
- package/dist/types.d.ts +436 -351
- package/package.json +1 -1
- package/dist/cjs/types/src/components/UploadPreview/UploadPreview.d.ts +0 -12
- package/dist/cjs/types/src/components/UploadPreview/index.d.ts +0 -1
- package/dist/esm/types/src/components/UploadPreview/UploadPreview.d.ts +0 -12
- package/dist/esm/types/src/components/UploadPreview/index.d.ts +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Area } from 'react-easy-crop';
|
|
2
|
+
export declare const createImage: (url: string) => Promise<HTMLImageElement>;
|
|
3
|
+
export declare const getRadianAngle: (degreeValue?: number) => number;
|
|
4
|
+
export declare const rotateSize: (width: number, height: number, rotation: number) => {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const getCroppedImageURL: (imageSrc: string, pixelCrop: Area, rotation?: number, flip?: {
|
|
9
|
+
horizontal: boolean;
|
|
10
|
+
vertical: boolean;
|
|
11
|
+
}) => Promise<string | null>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const isValidFileType: (file?: File | null, acceptableTypePattern?: string) => boolean;
|
|
2
|
+
export declare const isValidFileSize: (file?: File | null, fileSizeMbLimit?: number) => boolean;
|
|
3
|
+
export declare const isValidFileDimension: (file?: File | null, minWidth?: number, minHeight?: number) => Promise<boolean>;
|
|
@@ -11,6 +11,8 @@ import CachedIcon from './cached.svg';
|
|
|
11
11
|
import CalendarIcon from './calendar.svg';
|
|
12
12
|
import CalendarStarIcon from './calendar_star.svg';
|
|
13
13
|
import CameraIcon from './camera.svg';
|
|
14
|
+
import CameraOutlinedIcon from './camera_outlined.svg';
|
|
15
|
+
import CameraOutlinedOffIcon from './camera_outlined_off.svg';
|
|
14
16
|
import ChatIcon from './chat_icon.svg';
|
|
15
17
|
import ChatDisabledIcon from './chat-disabled.svg';
|
|
16
18
|
import CheckIcon from './check.svg';
|
|
@@ -56,6 +58,8 @@ import MaterialsIcon from './materials.svg';
|
|
|
56
58
|
import MicOnfIcon from './mic.svg';
|
|
57
59
|
import MicOffSolidIcon from './mic_off.svg';
|
|
58
60
|
import MicOffIcon from './mic_off-1.svg';
|
|
61
|
+
import MicOutlinedIcon from './mic_outlined.svg';
|
|
62
|
+
import MicOutlinedOffIcon from './mic_outlined_off.svg';
|
|
59
63
|
import MicOnSolidIcon from './mic-1.svg';
|
|
60
64
|
import MicBoldIcon from './mic-bold.svg';
|
|
61
65
|
import MobileDeviceIcon from './mobile-device.svg';
|
|
@@ -65,6 +69,7 @@ import PasswordEyeCrossedIcon from './password_eye_crossed.svg';
|
|
|
65
69
|
import PeopleIcon from './people.svg';
|
|
66
70
|
import PeopleCommunityIcon from './people-community.svg';
|
|
67
71
|
import Person from './person.svg';
|
|
72
|
+
import PersonDeleteIcon from './person_delete.svg';
|
|
68
73
|
import PlayIcon from './play.svg';
|
|
69
74
|
import PlusIcon from './plus.svg';
|
|
70
75
|
import PollIcon from './poll.svg';
|
|
@@ -81,12 +86,14 @@ import SideBarIcon from './sidebar.svg';
|
|
|
81
86
|
import SmileIcon from './smile.svg';
|
|
82
87
|
import SpotlightIcon from './spotlight.svg';
|
|
83
88
|
import StackedEmailIcon from './stacked_email.svg';
|
|
89
|
+
import StageIcon from './stage.svg';
|
|
84
90
|
import SyncIcon from './sync.svg';
|
|
85
91
|
import TimesCircleIcon from './times-circle.svg';
|
|
86
92
|
import TodayIcon from './today.svg';
|
|
87
93
|
import TrashIcon from './trash.svg';
|
|
88
94
|
import TrendingDownIcon from './trending_down.svg';
|
|
89
95
|
import TrendingUpIcon from './trending_up.svg';
|
|
96
|
+
import UndoIcon from './undo.svg';
|
|
90
97
|
import VideoCamOnIcon from './videocam.svg';
|
|
91
98
|
import VideoCamOffIcon from './videocam_off.svg';
|
|
92
99
|
import VideoCamOffSolidIcon from './videocam_off-1.svg';
|
|
@@ -97,4 +104,4 @@ import VolumeUpSolidIcon from './volume_up.svg';
|
|
|
97
104
|
import VolumeUpIcon from './volume_up-1.svg';
|
|
98
105
|
import WarningSolidIcon from './warning.svg';
|
|
99
106
|
import WarningIcon from './warning-1.svg';
|
|
100
|
-
export { AddIcon, ArrowDownIcon, ArrowFromLeftIcon, ArrowLeftDoubleIcon, ArrowLeftIcon, ArrowLeftSingleIcon, AtIcon, BarChartIcon, BlockIcon, BlurOnIcon, CachedIcon, CalendarIcon, CalendarStarIcon, CameraIcon, ChatDisabledIcon, ChatIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CheckCircleSolidIcon, CheckIcon, ClockIcon, CloseIcon, CompressIcon, CopyIcon, CustomizeIcon, DeleteIcon, DotsIcon, DownloadIcon, EditIcon, ElectricBoltIcon, EventDetailsIcon, EventRepeatIcon, ExclamationIcon, ExpandIcon, ExternalLinkIcon, FeatureActionIcon, FileIcon, FilterListIcon, FlipCameraIcon, GearIcon, HelpIcon, HelpSolidIcon, InfoCircleIcon, InfoCircleSolidIcon, InfoIcon, InfoSolidIcon, ItemsIcon, ListIcon, ListThIcon, LocationIcon, LockIcon, MagicIcon, MailIcon, MaterialsIcon, MicBoldIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, MobileDeviceIcon, OutStageIcon, PasswordEyeCrossedIcon, PasswordEyeIcon, PeopleCommunityIcon, PeopleIcon, Person, Person as PersonIcon, PlayIcon, PlusIcon, PollIcon, PresentationIcon, ProgressIcon, ReplayDisabledIcon, RestartIcon, RocketIcon, ScreenPersonIcon, ScreenShareIcon, ScreenShareWindowIcon, SearchIcon, SideBarIcon, SmileIcon, SpotlightIcon, StackedEmailIcon, SyncIcon, TimesCircleIcon, TodayIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };
|
|
107
|
+
export { AddIcon, ArrowDownIcon, ArrowFromLeftIcon, ArrowLeftDoubleIcon, ArrowLeftIcon, ArrowLeftSingleIcon, AtIcon, BarChartIcon, BlockIcon, BlurOnIcon, CachedIcon, CalendarIcon, CalendarStarIcon, CameraIcon, CameraOutlinedIcon, CameraOutlinedOffIcon, ChatDisabledIcon, ChatIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CheckCircleSolidIcon, CheckIcon, ClockIcon, CloseIcon, CompressIcon, CopyIcon, CustomizeIcon, DeleteIcon, DotsIcon, DownloadIcon, EditIcon, ElectricBoltIcon, EventDetailsIcon, EventRepeatIcon, ExclamationIcon, ExpandIcon, ExternalLinkIcon, FeatureActionIcon, FileIcon, FilterListIcon, FlipCameraIcon, GearIcon, HelpIcon, HelpSolidIcon, InfoCircleIcon, InfoCircleSolidIcon, InfoIcon, InfoSolidIcon, ItemsIcon, ListIcon, ListThIcon, LocationIcon, LockIcon, MagicIcon, MailIcon, MaterialsIcon, MicBoldIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, MicOutlinedIcon, MicOutlinedOffIcon, MobileDeviceIcon, OutStageIcon, PasswordEyeCrossedIcon, PasswordEyeIcon, PeopleCommunityIcon, PeopleIcon, Person, PersonDeleteIcon, Person as PersonIcon, PlayIcon, PlusIcon, PollIcon, PresentationIcon, ProgressIcon, ReplayDisabledIcon, RestartIcon, RocketIcon, ScreenPersonIcon, ScreenShareIcon, ScreenShareWindowIcon, SearchIcon, SideBarIcon, SmileIcon, SpotlightIcon, StackedEmailIcon, StageIcon, SyncIcon, TimesCircleIcon, TodayIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UndoIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };
|