@mindly/ui-components 3.5.7 → 3.6.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/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/lib/SwitchDeviceCard/ListItem/ListItem.d.ts +8 -0
- package/dist/cjs/types/lib/SwitchDeviceCard/SwitchDeviceCard.d.ts +33 -0
- package/dist/cjs/types/lib/SwitchDeviceCard/index.d.ts +1 -0
- package/dist/esm/index.js +20 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/esm/types/lib/SwitchDeviceCard/ListItem/ListItem.d.ts +8 -0
- package/dist/esm/types/lib/SwitchDeviceCard/SwitchDeviceCard.d.ts +33 -0
- package/dist/esm/types/lib/SwitchDeviceCard/index.d.ts +1 -0
- package/dist/index.d.ts +33 -1
- package/package.json +1 -1
|
@@ -67,3 +67,5 @@ export { default as LouseConnect } from './lib/Chat/LouseConnect';
|
|
|
67
67
|
export * from './lib/Chat/LouseConnect';
|
|
68
68
|
export { default as UpdatesCard } from './lib/UpdatesCard';
|
|
69
69
|
export * from './lib/UpdatesCard';
|
|
70
|
+
export { default as SwitchDeviceCard } from './lib/SwitchDeviceCard';
|
|
71
|
+
export * from './lib/SwitchDeviceCard';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type VideoCallSwitchDevice = {
|
|
3
|
+
/**
|
|
4
|
+
* Modal heading
|
|
5
|
+
*/
|
|
6
|
+
heading?: string;
|
|
7
|
+
/**
|
|
8
|
+
* List of available devices(to get call AgoraRTC.getDevices()
|
|
9
|
+
*/
|
|
10
|
+
deviceList?: MediaDeviceInfo[];
|
|
11
|
+
/**
|
|
12
|
+
* Device which active for this moment
|
|
13
|
+
*/
|
|
14
|
+
activeDeviceID?: string;
|
|
15
|
+
/**
|
|
16
|
+
* On click handler that triggers when user click to any button in list
|
|
17
|
+
*/
|
|
18
|
+
onClickDeviceHandler?: (deviceID: string) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Type of device for switching
|
|
21
|
+
*/
|
|
22
|
+
deviceType: 'audio' | 'video';
|
|
23
|
+
/**
|
|
24
|
+
* Handler that trigger disables audio or video tracks, if not specify last button in modal won`t showing
|
|
25
|
+
*/
|
|
26
|
+
disableDeviceHandler?: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* If device enabled: true, if muted: false
|
|
29
|
+
*/
|
|
30
|
+
isActive?: boolean;
|
|
31
|
+
};
|
|
32
|
+
declare const SwitchDeviceCard: React.FC<VideoCallSwitchDevice>;
|
|
33
|
+
export default SwitchDeviceCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SwitchDeviceCard';
|
package/dist/index.d.ts
CHANGED
|
@@ -502,4 +502,36 @@ declare type UpdatesPopupPropsType = {
|
|
|
502
502
|
};
|
|
503
503
|
declare const UpdatesCard: React.FC<UpdatesPopupPropsType>;
|
|
504
504
|
|
|
505
|
-
|
|
505
|
+
declare type VideoCallSwitchDevice = {
|
|
506
|
+
/**
|
|
507
|
+
* Modal heading
|
|
508
|
+
*/
|
|
509
|
+
heading?: string;
|
|
510
|
+
/**
|
|
511
|
+
* List of available devices(to get call AgoraRTC.getDevices()
|
|
512
|
+
*/
|
|
513
|
+
deviceList?: MediaDeviceInfo[];
|
|
514
|
+
/**
|
|
515
|
+
* Device which active for this moment
|
|
516
|
+
*/
|
|
517
|
+
activeDeviceID?: string;
|
|
518
|
+
/**
|
|
519
|
+
* On click handler that triggers when user click to any button in list
|
|
520
|
+
*/
|
|
521
|
+
onClickDeviceHandler?: (deviceID: string) => void;
|
|
522
|
+
/**
|
|
523
|
+
* Type of device for switching
|
|
524
|
+
*/
|
|
525
|
+
deviceType: 'audio' | 'video';
|
|
526
|
+
/**
|
|
527
|
+
* Handler that trigger disables audio or video tracks, if not specify last button in modal won`t showing
|
|
528
|
+
*/
|
|
529
|
+
disableDeviceHandler?: () => void;
|
|
530
|
+
/**
|
|
531
|
+
* If device enabled: true, if muted: false
|
|
532
|
+
*/
|
|
533
|
+
isActive?: boolean;
|
|
534
|
+
};
|
|
535
|
+
declare const SwitchDeviceCard: React.FC<VideoCallSwitchDevice>;
|
|
536
|
+
|
|
537
|
+
export { AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, ChatListItem, ChatListSkeleton, ChatMessage, ChatMessageSkeleton, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EmptyChatList, EmptyChatMessages, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$2 as LetterAvatar, ListButton, ListSelect, LouseConnect, AgoraMediaPlayer as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesEditor, _default$1 as PersonDateTimeCard, Range, RoundButton, RowSelect, ScrollTabs, Segment, SegmentType, _default as SelectImpressionEmoji, StatusTag, SwitchDeviceCard, TabBar, Textarea, TherapistCard, TherapistInformationComponent, Toggle, UpdatesCard, UsersPsychologistScrollList, YourLocalTimeBlock, toast };
|