@100mslive/roomkit-react 0.1.15 → 0.1.16
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/{HLSView-MXBOUQBG.js → HLSView-EMUOLCTM.js} +2 -2
- package/dist/Prebuilt/common/PeersSorter.d.ts +1 -0
- package/dist/Prebuilt/common/constants.d.ts +7 -4
- package/dist/Prebuilt/common/hooks.d.ts +1 -0
- package/dist/Prebuilt/components/Footer/ParticipantList.d.ts +17 -0
- package/dist/Prebuilt/components/Footer/RoleAccordion.d.ts +3 -2
- package/dist/Prebuilt/components/Footer/WhiteboardToggle.d.ts +2 -0
- package/dist/Prebuilt/components/Notifications/HandRaisedNotifications.d.ts +1 -0
- package/dist/Prebuilt/components/PreviousRoleInMetadata.d.ts +1 -0
- package/dist/Prebuilt/components/RemoveParticipant.d.ts +5 -0
- package/dist/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.d.ts +4 -0
- package/dist/Prebuilt/layouts/WhiteboardView.d.ts +2 -0
- package/dist/{chunk-HEOH5H43.js → chunk-ZYR4B4KQ.js} +1886 -7116
- package/dist/chunk-ZYR4B4KQ.js.map +7 -0
- package/dist/index.cjs.js +2477 -7662
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +438 -161
- package/dist/meta.esbuild.json +443 -166
- package/package.json +7 -7
- package/src/Prebuilt/AppStateContext.tsx +1 -1
- package/src/Prebuilt/common/PeersSorter.ts +12 -5
- package/src/Prebuilt/common/constants.ts +5 -6
- package/src/Prebuilt/common/hooks.ts +16 -0
- package/src/Prebuilt/common/utils.js +5 -6
- package/src/Prebuilt/components/AppData/AppData.tsx +1 -16
- package/src/Prebuilt/components/Chat/Chat.jsx +7 -30
- package/src/Prebuilt/components/Chat/ChatBody.jsx +107 -66
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +21 -12
- package/src/Prebuilt/components/Chat/ChatSelector.tsx +25 -25
- package/src/Prebuilt/components/Chat/ChatSelectorContainer.tsx +15 -16
- package/src/Prebuilt/components/Chat/PinnedMessage.tsx +7 -2
- package/src/Prebuilt/components/ConferenceScreen.tsx +2 -0
- package/src/Prebuilt/components/Footer/ChatToggle.tsx +30 -7
- package/src/Prebuilt/components/Footer/Footer.tsx +2 -1
- package/src/Prebuilt/components/Footer/PaginatedParticipants.tsx +0 -1
- package/src/Prebuilt/components/Footer/{ParticipantList.jsx → ParticipantList.tsx} +169 -127
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +23 -13
- package/src/Prebuilt/components/Footer/WhiteboardToggle.tsx +34 -0
- package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +35 -0
- package/src/Prebuilt/components/Notifications/Notifications.tsx +14 -12
- package/src/Prebuilt/components/Notifications/PeerNotifications.tsx +7 -2
- package/src/Prebuilt/components/Polls/Voting/QuestionCard.jsx +10 -2
- package/src/Prebuilt/components/PreviousRoleInMetadata.tsx +21 -0
- package/src/Prebuilt/components/RemoveParticipant.tsx +35 -0
- package/src/Prebuilt/components/RoleChangeModal.jsx +1 -1
- package/src/Prebuilt/components/SidePaneTabs.tsx +0 -1
- package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +1 -1
- package/src/Prebuilt/components/Toast/ToastConfig.jsx +15 -3
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +5 -2
- package/src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx +24 -0
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +20 -3
- package/src/Prebuilt/layouts/WhiteboardView.tsx +66 -0
- package/dist/chunk-HEOH5H43.js.map +0 -7
- package/src/Prebuilt/components/AppData/useAppLayout.js +0 -6
- package/src/Prebuilt/components/init/initUtils.js +0 -67
- /package/dist/{HLSView-MXBOUQBG.js.map → HLSView-EMUOLCTM.js.map} +0 -0
@@ -23,7 +23,7 @@ import {
|
|
23
23
|
styled,
|
24
24
|
usePollViewToggle,
|
25
25
|
useTheme
|
26
|
-
} from "./chunk-
|
26
|
+
} from "./chunk-ZYR4B4KQ.js";
|
27
27
|
|
28
28
|
// src/Prebuilt/layouts/HLSView.jsx
|
29
29
|
init_define_process_env();
|
@@ -969,4 +969,4 @@ var HLSView_default = HLSView;
|
|
969
969
|
export {
|
970
970
|
HLSView_default as default
|
971
971
|
};
|
972
|
-
//# sourceMappingURL=HLSView-
|
972
|
+
//# sourceMappingURL=HLSView-EMUOLCTM.js.map
|
@@ -14,7 +14,7 @@ export declare const RTMP_RECORD_DEFAULT_RESOLUTION: {
|
|
14
14
|
};
|
15
15
|
export declare const EMOJI_REACTION_TYPE = "EMOJI_REACTION";
|
16
16
|
export declare const CHAT_SELECTOR: {
|
17
|
-
|
17
|
+
PEER: string;
|
18
18
|
ROLE: string;
|
19
19
|
EVERYONE: string;
|
20
20
|
};
|
@@ -29,7 +29,6 @@ export declare const APP_DATA: {
|
|
29
29
|
waitingViewerRole: string;
|
30
30
|
subscribedNotifications: string;
|
31
31
|
logo: string;
|
32
|
-
appLayout: string;
|
33
32
|
hlsStarted: string;
|
34
33
|
rtmpStarted: string;
|
35
34
|
recordingStarted: string;
|
@@ -102,11 +101,15 @@ export declare enum INTERACTION_TYPE {
|
|
102
101
|
}
|
103
102
|
export declare enum QUESTION_TYPE_TITLE {
|
104
103
|
'single-choice' = "Single Choice",
|
105
|
-
'multiple-choice' = "Multiple Choice"
|
104
|
+
'multiple-choice' = "Multiple Choice",
|
105
|
+
'short-answer' = "Short Answer",
|
106
|
+
'long-answer' = "Long Answer"
|
106
107
|
}
|
107
108
|
export declare enum QUESTION_TYPE {
|
108
109
|
SINGLE_CHOICE = "single-choice",
|
109
|
-
MULTIPLE_CHOICE = "multiple-choice"
|
110
|
+
MULTIPLE_CHOICE = "multiple-choice",
|
111
|
+
SHORT_ANSWER = "short-answer",
|
112
|
+
LONG_ANSWER = "long-answer"
|
110
113
|
}
|
111
114
|
export declare const ROLE_CHANGE_DECLINED = "role_change_declined";
|
112
115
|
export declare const DEFAULT_PORTAL_CONTAINER = "#prebuilt-container";
|
@@ -9,6 +9,7 @@ export declare const useWhenAloneInRoom: (thresholdMs?: number) => {
|
|
9
9
|
aloneForLong: boolean;
|
10
10
|
};
|
11
11
|
export declare const useFilteredRoles: () => string[];
|
12
|
+
export declare const useDefaultChatSelection: () => string;
|
12
13
|
export declare const useShowStreamingUI: () => boolean;
|
13
14
|
export declare const useParticipants: (params?: {
|
14
15
|
metadata?: {
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { HMSPeer, HMSRoleName } from '@100mslive/react-sdk';
|
3
|
+
export declare const ParticipantList: ({ offStageRoles, onActive, }: {
|
4
|
+
offStageRoles: HMSRoleName[];
|
5
|
+
onActive: (role: string) => void;
|
6
|
+
}) => React.JSX.Element | null;
|
7
|
+
export declare const ParticipantCount: () => React.JSX.Element | null;
|
8
|
+
export declare const Participant: ({ peer, isConnected, style, }: {
|
9
|
+
peer: HMSPeer;
|
10
|
+
isConnected: boolean;
|
11
|
+
style: React.CSSProperties;
|
12
|
+
}) => React.JSX.Element;
|
13
|
+
export declare const ParticipantSearch: ({ onSearch, placeholder, inSidePane, }: {
|
14
|
+
inSidePane?: boolean | undefined;
|
15
|
+
placeholder?: string | undefined;
|
16
|
+
onSearch: (val: string) => void;
|
17
|
+
}) => React.JSX.Element;
|
@@ -6,15 +6,16 @@ export interface ItemData {
|
|
6
6
|
isConnected: boolean;
|
7
7
|
}
|
8
8
|
export declare function itemKey(index: number, data: ItemData): string;
|
9
|
-
export declare const VirtualizedParticipantItem: React.MemoExoticComponent<({ index, data }: {
|
9
|
+
export declare const VirtualizedParticipantItem: React.MemoExoticComponent<({ index, data, style }: {
|
10
10
|
index: number;
|
11
11
|
data: ItemData;
|
12
|
+
style: React.CSSProperties;
|
12
13
|
}) => React.JSX.Element>;
|
13
14
|
export declare const RoleAccordion: ({ peerList, roleName, isConnected, filter, isHandRaisedAccordion, offStageRoles, onActive, }: ItemData & {
|
14
15
|
roleName: string;
|
15
16
|
isHandRaisedAccordion?: boolean | undefined;
|
16
17
|
filter?: {
|
17
|
-
search
|
18
|
+
search?: string | undefined;
|
18
19
|
} | undefined;
|
19
20
|
offStageRoles: string[];
|
20
21
|
onActive?: ((role: string) => void) | undefined;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const HandRaisedNotifications: () => null;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const PreviousRoleInMetadata: () => null;
|