@100mslive/roomkit-react 0.2.3 → 0.2.4-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-2BP4GO3Q.js → HLSView-SPGUNWZM.js} +6 -6
- package/dist/HLSView-SPGUNWZM.js.map +7 -0
- package/dist/Prebuilt/common/constants.d.ts +1 -0
- package/dist/Prebuilt/components/Connection/TileConnection.d.ts +2 -3
- package/dist/Prebuilt/components/InsetTile.d.ts +3 -1
- package/dist/Prebuilt/components/LayoutModeSelector.d.ts +2 -0
- package/dist/Prebuilt/components/MoreSettings/ChangeNameContent.d.ts +10 -0
- package/dist/Prebuilt/components/MoreSettings/ChangeNameModal.d.ts +5 -0
- package/dist/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.d.ts +2 -0
- package/dist/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.d.ts +1 -2
- package/dist/Prebuilt/components/Polls/common/StatusIndicator.d.ts +4 -3
- package/dist/Prebuilt/components/Polls/common/constants.d.ts +5 -0
- package/dist/Prebuilt/components/ScreenshareDisplay.d.ts +2 -0
- package/dist/Prebuilt/components/ScreenshareTile.d.ts +7 -0
- package/dist/Prebuilt/components/SecondaryTiles.d.ts +1 -1
- package/dist/Prebuilt/components/Settings/LayoutSettings.d.ts +11 -0
- package/dist/Prebuilt/components/Settings/NotificationSettings.d.ts +2 -0
- package/dist/Prebuilt/components/Settings/SwitchWithLabel.d.ts +10 -0
- package/dist/Prebuilt/components/Settings/common.d.ts +878 -0
- package/dist/Prebuilt/components/TileMenu/TileMenu.d.ts +14 -0
- package/dist/Prebuilt/components/TileMenu/TileMenuContent.d.ts +7 -7
- package/dist/Prebuilt/components/VideoLayouts/ProminenceLayout.d.ts +4 -2
- package/dist/Prebuilt/components/VideoLayouts/interface.d.ts +1 -0
- package/dist/Prebuilt/components/VideoTile.d.ts +19 -0
- package/dist/Prebuilt/components/hooks/useDropdownList.d.ts +4 -0
- package/dist/{chunk-G25T3EBJ.js → chunk-FSSFZGW6.js} +1337 -1102
- package/dist/chunk-FSSFZGW6.js.map +7 -0
- package/dist/index.cjs.js +1835 -1580
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +462 -297
- package/dist/meta.esbuild.json +474 -309
- package/package.json +6 -6
- package/src/Pagination/StyledPagination.tsx +1 -0
- package/src/Popover/index.tsx +8 -1
- package/src/Prebuilt/common/constants.ts +1 -0
- package/src/Prebuilt/components/AppData/AppData.tsx +2 -0
- package/src/Prebuilt/components/AppData/useUISettings.js +1 -1
- package/src/Prebuilt/components/Connection/ConnectionIndicator.tsx +1 -1
- package/src/Prebuilt/components/Connection/TileConnection.tsx +13 -6
- package/src/Prebuilt/components/Connection/connectionQualityUtils.js +1 -3
- package/src/Prebuilt/components/HlsStatsOverlay.jsx +2 -2
- package/src/Prebuilt/components/InsetTile.tsx +13 -6
- package/src/Prebuilt/components/LayoutModeSelector.tsx +106 -0
- package/src/Prebuilt/components/MoreSettings/{ChangeNameContent.jsx → ChangeNameContent.tsx} +10 -2
- package/src/Prebuilt/components/MoreSettings/{ChangeNameModal.jsx → ChangeNameModal.tsx} +14 -5
- package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +2 -2
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +2 -2
- package/src/Prebuilt/components/Notifications/Notifications.tsx +0 -1
- package/src/Prebuilt/components/Playlist/VideoPlayer.jsx +1 -1
- package/src/Prebuilt/components/Polls/CreatePollQuiz/{PollsQuizMenu.jsx → PollsQuizMenu.tsx} +54 -26
- package/src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx +21 -31
- package/src/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.tsx +3 -17
- package/src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx +1 -1
- package/src/Prebuilt/components/Polls/Voting/QuestionCard.jsx +1 -10
- package/src/Prebuilt/components/Polls/Voting/Voting.tsx +1 -3
- package/src/Prebuilt/components/Polls/common/StatusIndicator.tsx +12 -3
- package/src/Prebuilt/components/Polls/common/constants.ts +5 -0
- package/src/Prebuilt/components/Preview/PreviewForm.tsx +2 -2
- package/src/Prebuilt/components/PreviousRoleInMetadata.tsx +1 -1
- package/src/Prebuilt/components/{ScreenshareTile.jsx → ScreenshareTile.tsx} +39 -6
- package/src/Prebuilt/components/SecondaryTiles.tsx +42 -4
- package/src/Prebuilt/components/Settings/DeviceSettings.jsx +1 -1
- package/src/Prebuilt/components/Settings/{LayoutSettings.jsx → LayoutSettings.tsx} +58 -14
- package/src/Prebuilt/components/Settings/{NotificationSettings.jsx → NotificationSettings.tsx} +14 -3
- package/src/Prebuilt/components/Settings/SettingsModal.jsx +32 -6
- package/src/Prebuilt/components/Settings/{SwitchWithLabel.jsx → SwitchWithLabel.tsx} +15 -1
- package/src/Prebuilt/components/Settings/common.ts +16 -0
- package/src/Prebuilt/components/TileMenu/{TileMenu.jsx → TileMenu.tsx} +12 -4
- package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +12 -10
- package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +30 -15
- package/src/Prebuilt/components/VideoLayouts/RoleProminence.tsx +12 -2
- package/src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx +20 -5
- package/src/Prebuilt/components/VideoLayouts/interface.ts +1 -0
- package/src/Prebuilt/components/{VideoTile.jsx → VideoTile.tsx} +57 -44
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +2 -2
- package/src/Prebuilt/components/hooks/{useDropdownList.jsx → useDropdownList.ts} +2 -1
- package/src/Prebuilt/components/pdfAnnotator/shareScreenOptions.jsx +1 -1
- package/src/Prebuilt/layouts/HLSView.jsx +2 -2
- package/src/Prebuilt/layouts/SidePane.tsx +8 -4
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +1 -1
- package/src/VideoTile/StyledVideoTile.tsx +4 -4
- package/dist/HLSView-2BP4GO3Q.js.map +0 -7
- package/dist/chunk-G25T3EBJ.js.map +0 -7
- package/src/Prebuilt/components/Settings/common.js +0 -41
- /package/src/Prebuilt/components/{ScreenshareDisplay.jsx → ScreenshareDisplay.tsx} +0 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
/**
|
3
|
+
* Taking peerID as peer won't necesarilly have tracks
|
4
|
+
*/
|
5
|
+
declare const TileMenu: ({ audioTrackID, videoTrackID, peerID, isScreenshare, canMinimise, enableSpotlightingPeer, }: {
|
6
|
+
audioTrackID: string;
|
7
|
+
videoTrackID: string;
|
8
|
+
peerID: string;
|
9
|
+
isScreenshare?: boolean | undefined;
|
10
|
+
canMinimise?: boolean | undefined;
|
11
|
+
enableSpotlightingPeer?: boolean | undefined;
|
12
|
+
}) => React.JSX.Element | null;
|
13
|
+
export { isSameTile } from './TileMenuContent';
|
14
|
+
export default TileMenu;
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
2
2
|
import { HMSTrackID } from '@100mslive/react-sdk';
|
3
3
|
export declare const isSameTile: ({ trackId, videoTrackID, audioTrackID, }: {
|
4
4
|
trackId: HMSTrackID;
|
5
|
-
videoTrackID
|
6
|
-
audioTrackID
|
7
|
-
}) => boolean
|
5
|
+
videoTrackID?: string | undefined;
|
6
|
+
audioTrackID?: string | undefined;
|
7
|
+
}) => boolean;
|
8
8
|
export declare const TileMenuContent: ({ videoTrackID, audioTrackID, isLocal, isScreenshare, showSpotlight, showPinAction, peerID, canMinimise, closeSheetOnClick, openNameChangeModal, }: {
|
9
9
|
videoTrackID: string;
|
10
10
|
audioTrackID: string;
|
@@ -13,7 +13,7 @@ export declare const TileMenuContent: ({ videoTrackID, audioTrackID, isLocal, is
|
|
13
13
|
showSpotlight: boolean;
|
14
14
|
showPinAction: boolean;
|
15
15
|
peerID: string;
|
16
|
-
canMinimise
|
17
|
-
closeSheetOnClick
|
18
|
-
openNameChangeModal
|
19
|
-
}) =>
|
16
|
+
canMinimise?: boolean | undefined;
|
17
|
+
closeSheetOnClick?: (() => void) | undefined;
|
18
|
+
openNameChangeModal?: (() => void) | undefined;
|
19
|
+
}) => React.JSX.Element | null;
|
@@ -2,14 +2,16 @@ import React from 'react';
|
|
2
2
|
import { TrackWithPeerAndDimensions } from '@100mslive/react-sdk';
|
3
3
|
import { CSS } from '../../../Theme';
|
4
4
|
export declare const ProminenceLayout: {
|
5
|
-
Root: ({ children, edgeToEdge }: React.PropsWithChildren<{
|
5
|
+
Root: ({ children, edgeToEdge, hasSidebar, }: React.PropsWithChildren<{
|
6
6
|
edgeToEdge?: boolean | undefined;
|
7
|
+
hasSidebar?: boolean | undefined;
|
7
8
|
}>) => React.JSX.Element;
|
8
9
|
ProminentSection: ({ children, css }: React.PropsWithChildren<{
|
9
10
|
css?: CSS | undefined;
|
10
11
|
}>) => React.JSX.Element;
|
11
|
-
SecondarySection: ({ tiles, children, edgeToEdge, }: React.PropsWithChildren<{
|
12
|
+
SecondarySection: ({ tiles, children, edgeToEdge, hasSidebar, }: React.PropsWithChildren<{
|
12
13
|
tiles: TrackWithPeerAndDimensions[];
|
13
14
|
edgeToEdge?: boolean | undefined;
|
15
|
+
hasSidebar?: boolean | undefined;
|
14
16
|
}>) => React.JSX.Element | null;
|
15
17
|
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { CSS } from '../../Theme';
|
3
|
+
declare const VideoTile: React.MemoExoticComponent<({ peerId, trackId, width, height, objectFit, canMinimise, isDragabble, rootCSS, containerCSS, enableSpotlightingPeer, hideParticipantNameOnTile, roundedVideoTile, hideAudioMuteOnTile, hideMetadataOnTile, }: {
|
4
|
+
peerId?: string | undefined;
|
5
|
+
trackId?: string | undefined;
|
6
|
+
width?: string | number | undefined;
|
7
|
+
height?: string | number | undefined;
|
8
|
+
objectFit?: string | undefined;
|
9
|
+
canMinimise?: boolean | undefined;
|
10
|
+
isDragabble?: boolean | undefined;
|
11
|
+
rootCSS?: CSS | undefined;
|
12
|
+
containerCSS?: CSS | undefined;
|
13
|
+
enableSpotlightingPeer?: boolean | undefined;
|
14
|
+
hideParticipantNameOnTile?: boolean | undefined;
|
15
|
+
roundedVideoTile?: boolean | undefined;
|
16
|
+
hideAudioMuteOnTile?: boolean | undefined;
|
17
|
+
hideMetadataOnTile?: boolean | undefined;
|
18
|
+
}) => React.JSX.Element>;
|
19
|
+
export default VideoTile;
|