@100mslive/roomkit-react 0.3.19-alpha.0 → 0.3.19-alpha.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-6CQOPAJJ.css → HLSView-SQVMLXDB.css} +67 -19
- package/dist/{HLSView-6CQOPAJJ.css.map → HLSView-SQVMLXDB.css.map} +2 -2
- package/dist/{HLSView-LJQ65VXH.js → HLSView-YHWO3IWB.js} +43 -43
- package/dist/{HLSView-LJQ65VXH.js.map → HLSView-YHWO3IWB.js.map} +1 -1
- package/dist/Modal/Dialog.d.ts +3 -1
- package/dist/Prebuilt/components/EndCallFeedback/Feedback.d.ts +2 -0
- package/dist/Prebuilt/components/EndCallFeedback/FeedbackForm.d.ts +28 -0
- package/dist/Prebuilt/components/EndCallFeedback/ThankyouView.d.ts +2 -0
- package/dist/Prebuilt/components/VirtualBackground/VBCollection.d.ts +1 -1
- package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +5 -6
- package/dist/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.d.ts +1 -0
- package/dist/{chunk-O3I4DN7I.js → chunk-2OV5LOYE.js} +1747 -1226
- package/dist/chunk-2OV5LOYE.js.map +7 -0
- package/dist/index.cjs.css +66 -18
- package/dist/index.cjs.css.map +2 -2
- package/dist/index.cjs.js +1773 -1229
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +66 -18
- package/dist/index.css.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +416 -149
- package/dist/meta.esbuild.json +435 -168
- package/package.json +8 -8
- package/src/Modal/Dialog.tsx +13 -2
- package/src/Prebuilt/App.tsx +3 -0
- package/src/Prebuilt/AppStateContext.tsx +1 -2
- package/src/Prebuilt/Prebuilt.stories.tsx +1 -0
- package/src/Prebuilt/common/PeersSorter.ts +2 -1
- package/src/Prebuilt/components/EndCallFeedback/Feedback.tsx +70 -0
- package/src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx +371 -0
- package/src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx +44 -0
- package/src/Prebuilt/components/LeaveScreen.tsx +2 -0
- package/src/Prebuilt/components/PIP/PIPChat.tsx +14 -2
- package/src/Prebuilt/components/VideoLayouts/RoleProminence.tsx +2 -9
- package/src/Prebuilt/components/VirtualBackground/VBCollection.tsx +3 -1
- package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +14 -4
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +46 -31
- package/src/Prebuilt/components/VirtualBackground/VBToggle.tsx +15 -1
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +4 -1
- package/src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts +1 -0
- package/src/Video/Video.tsx +1 -1
- package/dist/chunk-O3I4DN7I.js.map +0 -7
@@ -0,0 +1,28 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Rating } from '@100mslive/types-prebuilt/elements/feedback';
|
3
|
+
export declare const FEEBACK_INDEX: {
|
4
|
+
THANK_YOU: number;
|
5
|
+
INIT: number;
|
6
|
+
};
|
7
|
+
export declare const FeedbackModal: ({ ratings, index, setIndex, }: {
|
8
|
+
ratings: Rating[];
|
9
|
+
index: number;
|
10
|
+
setIndex: (index: number) => void;
|
11
|
+
}) => React.JSX.Element;
|
12
|
+
export declare const FeedbackContent: ({ ratings, indexSelected, setIndex, }: {
|
13
|
+
ratings: Rating[];
|
14
|
+
indexSelected: number;
|
15
|
+
setIndex: (index: number) => void;
|
16
|
+
}) => React.JSX.Element;
|
17
|
+
export declare const FeedbackHeader: ({ onEmojiClicked, ratings, indexSelected, }: {
|
18
|
+
onEmojiClicked: (index: number) => void;
|
19
|
+
ratings: Rating[];
|
20
|
+
indexSelected?: number | undefined;
|
21
|
+
}) => React.JSX.Element;
|
22
|
+
export declare const FeedbackForm: ({ rating, comment, setComment, selectedReasons, handleCheckedChange, }: {
|
23
|
+
rating: Rating;
|
24
|
+
comment: string;
|
25
|
+
setComment: (value: string) => void;
|
26
|
+
selectedReasons: Set<number>;
|
27
|
+
handleCheckedChange: (checked: string | boolean, index: number) => void;
|
28
|
+
}) => React.JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { HMSVirtualBackgroundTypes } from '@100mslive/hms-virtual-background';
|
2
|
+
import { HMSVirtualBackgroundTypes } from '@100mslive/hms-virtual-background/hmsvbplugin';
|
3
3
|
export declare const VBCollection: ({ options, title, activeBackground, }: {
|
4
4
|
options: {
|
5
5
|
title?: string | undefined;
|
@@ -1,16 +1,15 @@
|
|
1
|
-
import { HMSEffectsPlugin, HMSVBPlugin } from '@100mslive/hms-virtual-background';
|
2
1
|
export declare class VBPlugin {
|
3
2
|
private hmsPlugin?;
|
4
3
|
private effectsPlugin?;
|
5
|
-
initialisePlugin: (effectsSDKKey?: string, onInit?: () => void) => void
|
4
|
+
initialisePlugin: (effectsSDKKey?: string, onInit?: () => void) => Promise<void>;
|
6
5
|
getBackground: () => any;
|
7
|
-
getBlurAmount: () =>
|
8
|
-
getVBObject: () =>
|
9
|
-
getName: () =>
|
6
|
+
getBlurAmount: () => any;
|
7
|
+
getVBObject: () => any;
|
8
|
+
getName: () => any;
|
10
9
|
setBlur: (blurPower: number) => Promise<void>;
|
11
10
|
setBackground: (mediaURL: string) => Promise<void>;
|
12
11
|
setPreset: (preset: 'quality' | 'balanced') => Promise<void>;
|
13
|
-
getPreset: () =>
|
12
|
+
getPreset: () => any;
|
14
13
|
removeEffects: () => Promise<void>;
|
15
14
|
reset: () => void;
|
16
15
|
}
|
@@ -15,6 +15,7 @@ export declare function useRoomLayoutConferencingScreen(): {
|
|
15
15
|
};
|
16
16
|
export declare function useRoomLayoutLeaveScreen(): {
|
17
17
|
isLeaveScreenEnabled: boolean;
|
18
|
+
feedback: import("@100mslive/types-prebuilt/elements/feedback").Feedback | undefined;
|
18
19
|
};
|
19
20
|
export declare function useRoomLayoutHeader(): {
|
20
21
|
title: string;
|