@100mslive/roomkit-react 0.1.9 → 0.1.11-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-VGJ2XUDT.js → HLSView-TEG6Y6WL.js} +14 -10
- package/dist/HLSView-TEG6Y6WL.js.map +7 -0
- package/dist/Modal/Dialog.d.ts +878 -9
- package/dist/Modal/DialogContent.d.ts +2 -2
- package/dist/Prebuilt/components/Leave/DesktopLeaveRoom.d.ts +4 -4
- package/dist/Prebuilt/components/Leave/EndSessionContent.d.ts +3 -3
- package/dist/Prebuilt/components/Leave/LeaveSessionContent.d.ts +3 -3
- package/dist/Prebuilt/components/Leave/MwebLeaveRoom.d.ts +4 -4
- package/dist/Prebuilt/components/VirtualBackground/VBCollection.d.ts +13 -0
- package/dist/Prebuilt/components/VirtualBackground/VBOption.d.ts +15 -0
- package/dist/Prebuilt/components/VirtualBackground/constants.d.ts +9 -0
- package/dist/Prebuilt/layouts/SidePane.d.ts +2 -2
- package/dist/{chunk-EDGWHFCM.js → chunk-VSALCLHF.js} +6091 -4897
- package/dist/chunk-VSALCLHF.js.map +7 -0
- package/dist/index.cjs.js +5217 -5060
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +11 -13
- package/dist/meta.cjs.json +1567 -1385
- package/dist/meta.esbuild.json +1657 -1551
- package/package.json +6 -6
- package/src/Modal/Dialog.tsx +3 -11
- package/src/Modal/DialogContent.tsx +4 -4
- package/src/Prebuilt/common/constants.js +3 -0
- package/src/Prebuilt/components/AppData/AppData.jsx +4 -11
- package/src/Prebuilt/components/AppData/useSidepane.js +1 -1
- package/src/Prebuilt/components/Connection/ConnectionIndicator.tsx +2 -2
- package/src/Prebuilt/components/Footer/Footer.tsx +4 -8
- package/src/Prebuilt/components/Footer/ParticipantList.jsx +1 -6
- package/src/Prebuilt/components/Header/Header.tsx +2 -2
- package/src/Prebuilt/components/Header/common.jsx +46 -23
- package/src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx +5 -5
- package/src/Prebuilt/components/Leave/EndSessionContent.tsx +2 -2
- package/src/Prebuilt/components/Leave/LeaveRoom.tsx +6 -5
- package/src/Prebuilt/components/Leave/LeaveSessionContent.tsx +2 -2
- package/src/Prebuilt/components/Leave/MwebLeaveRoom.tsx +3 -3
- package/src/Prebuilt/components/Notifications/HLSFailureModal.tsx +1 -4
- package/src/Prebuilt/components/Preview/PreviewForm.tsx +8 -2
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +62 -57
- package/src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx +2 -3
- package/src/Prebuilt/components/Settings/DeviceSettings.jsx +11 -0
- package/src/Prebuilt/components/VirtualBackground/VBCollection.tsx +50 -0
- package/src/Prebuilt/components/VirtualBackground/VBOption.tsx +50 -0
- package/src/Prebuilt/components/VirtualBackground/VBPicker.jsx +165 -0
- package/src/Prebuilt/components/VirtualBackground/VBToggle.jsx +25 -0
- package/src/Prebuilt/components/VirtualBackground/constants.ts +26 -0
- package/src/Prebuilt/components/hooks/useAutoStartStreaming.tsx +11 -7
- package/src/Prebuilt/layouts/HLSView.jsx +7 -1
- package/src/Prebuilt/layouts/SidePane.tsx +21 -5
- package/dist/HLSView-VGJ2XUDT.js.map +0 -7
- package/dist/VirtualBackground-2VZVBRIC.js +0 -175
- package/dist/VirtualBackground-2VZVBRIC.js.map +0 -7
- package/dist/chunk-EDGWHFCM.js.map +0 -7
- package/dist/chunk-SONHO3VM.js +0 -962
- package/dist/chunk-SONHO3VM.js.map +0 -7
@@ -879,7 +879,7 @@ export declare const StyledDialogTrigger: import("@stitches/react/types/styled-c
|
|
879
879
|
};
|
880
880
|
};
|
881
881
|
}>>;
|
882
|
-
export declare const
|
882
|
+
export declare const CustomDialogOverlay: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>>, {}, {
|
883
883
|
allowMotion: string;
|
884
884
|
sm: string;
|
885
885
|
md: string;
|
@@ -1757,7 +1757,7 @@ export declare const StyledDialogPortal: import("@stitches/react/types/styled-co
|
|
1757
1757
|
};
|
1758
1758
|
};
|
1759
1759
|
}>>;
|
1760
|
-
export declare const
|
1760
|
+
export declare const CustomDialogContent: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>>, {}, {
|
1761
1761
|
allowMotion: string;
|
1762
1762
|
sm: string;
|
1763
1763
|
md: string;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ConferencingScreen } from '@100mslive/types-prebuilt';
|
3
3
|
export declare const DesktopLeaveRoom: ({ leaveRoom, screenType, endRoom, }: {
|
4
|
-
leaveRoom: (
|
5
|
-
|
6
|
-
}) => void
|
4
|
+
leaveRoom: (options?: {
|
5
|
+
endStream?: boolean;
|
6
|
+
}) => Promise<void>;
|
7
7
|
screenType: keyof ConferencingScreen;
|
8
|
-
endRoom: () => void
|
8
|
+
endRoom: () => Promise<void>;
|
9
9
|
}) => React.JSX.Element | null;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
export declare const EndSessionContent: ({ setShowEndStreamAlert, leaveRoom, isModal, isStreamingOn, }: {
|
3
3
|
setShowEndStreamAlert: (value: boolean) => void;
|
4
|
-
leaveRoom: (
|
5
|
-
|
6
|
-
}) => void
|
4
|
+
leaveRoom: (options?: {
|
5
|
+
endStream?: boolean;
|
6
|
+
}) => Promise<void>;
|
7
7
|
isModal?: boolean | undefined;
|
8
8
|
isStreamingOn: boolean;
|
9
9
|
}) => React.JSX.Element;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
export declare const LeaveSessionContent: ({ setShowLeaveRoomAlert, leaveRoom, isModal, }: {
|
3
3
|
setShowLeaveRoomAlert: (value: boolean) => void;
|
4
|
-
leaveRoom: (
|
5
|
-
|
6
|
-
}) => void
|
4
|
+
leaveRoom: (options?: {
|
5
|
+
endStream?: boolean;
|
6
|
+
}) => Promise<void>;
|
7
7
|
isModal?: boolean | undefined;
|
8
8
|
}) => React.JSX.Element;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ConferencingScreen } from '@100mslive/types-prebuilt';
|
3
3
|
export declare const MwebLeaveRoom: ({ leaveRoom, screenType, endRoom, }: {
|
4
|
-
leaveRoom: (
|
5
|
-
|
6
|
-
}) => void
|
4
|
+
leaveRoom: (options?: {
|
5
|
+
endStream?: boolean;
|
6
|
+
}) => Promise<void>;
|
7
7
|
screenType: keyof ConferencingScreen;
|
8
|
-
endRoom: () => void
|
8
|
+
endRoom: () => Promise<void>;
|
9
9
|
}) => React.JSX.Element | null;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare const VBCollection: ({ options, title, activeBackgroundType, activeBackground, }: {
|
3
|
+
options: {
|
4
|
+
title?: string | undefined;
|
5
|
+
icon?: React.JSX.Element | undefined;
|
6
|
+
onClick?: (() => Promise<void>) | undefined;
|
7
|
+
mediaURL?: string | undefined;
|
8
|
+
type: string;
|
9
|
+
}[];
|
10
|
+
title: string;
|
11
|
+
activeBackground: HTMLImageElement | string;
|
12
|
+
activeBackgroundType: string;
|
13
|
+
}) => React.JSX.Element | null;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare const VBOption: {
|
3
|
+
Root: ({ onClick, mediaURL, isActive, children, }: {
|
4
|
+
onClick?: (() => Promise<void>) | undefined;
|
5
|
+
mediaURL?: string | undefined;
|
6
|
+
isActive: boolean;
|
7
|
+
children?: React.JSX.Element[] | undefined;
|
8
|
+
}) => React.JSX.Element;
|
9
|
+
Title: ({ children }: {
|
10
|
+
children?: string | undefined;
|
11
|
+
}) => React.JSX.Element | null;
|
12
|
+
Icon: ({ children }: {
|
13
|
+
children?: React.JSX.Element | undefined;
|
14
|
+
}) => React.JSX.Element | null;
|
15
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { HMSVBPlugin } from '@100mslive/hms-virtual-background';
|
2
|
+
export declare const VB_EFFECT: {
|
3
|
+
BLUR: string;
|
4
|
+
BEAUTIFY: string;
|
5
|
+
NONE: string;
|
6
|
+
MEDIA: string;
|
7
|
+
};
|
8
|
+
export declare const defaultMedia: string[];
|
9
|
+
export declare const vbPlugin: HMSVBPlugin;
|
@@ -3,7 +3,7 @@ import { ConferencingScreen } from '@100mslive/types-prebuilt';
|
|
3
3
|
import { TileCustomisationProps } from '../components/VideoLayouts/GridLayout';
|
4
4
|
declare const SidePane: ({ screenType, tileProps, hideControls, }: {
|
5
5
|
screenType: keyof ConferencingScreen;
|
6
|
-
tileProps
|
7
|
-
hideControls
|
6
|
+
tileProps?: TileCustomisationProps | undefined;
|
7
|
+
hideControls?: boolean | undefined;
|
8
8
|
}) => React.JSX.Element | null;
|
9
9
|
export default SidePane;
|