@100mslive/roomkit-react 0.1.8-alpha.0 → 0.1.8

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.
Files changed (46) hide show
  1. package/dist/{HLSView-IQRPLYNH.js → HLSView-DDGPZHA2.js} +3 -3
  2. package/dist/Prebuilt/App.d.ts +1 -0
  3. package/dist/Prebuilt/AppContext.d.ts +1 -0
  4. package/dist/Prebuilt/components/Footer/PaginatedParticipants.d.ts +5 -0
  5. package/dist/Prebuilt/components/Footer/RoleAccordion.d.ts +10 -3
  6. package/dist/Prebuilt/components/Notifications/HeadlessEndRoomListener.d.ts +2 -0
  7. package/dist/Prebuilt/components/PrebuiltTileElements.d.ts +2198 -0
  8. package/dist/{VirtualBackground-GP4ATXD3.js → VirtualBackground-UVZJVOA2.js} +3 -3
  9. package/dist/{chunk-Z3O2WGWV.js → chunk-6SQTFOK6.js} +2 -2
  10. package/dist/{chunk-Z3O2WGWV.js.map → chunk-6SQTFOK6.js.map} +1 -1
  11. package/dist/{chunk-2H5NIZB7.js → chunk-HUMNPIYI.js} +2 -2
  12. package/dist/{chunk-GLYGPYNS.js → chunk-PRM33R4R.js} +286 -251
  13. package/dist/chunk-PRM33R4R.js.map +7 -0
  14. package/dist/{conference-JD35TNH4.js → conference-N7S47TDK.js} +484 -385
  15. package/dist/conference-N7S47TDK.js.map +7 -0
  16. package/dist/index.cjs.js +1895 -1727
  17. package/dist/index.cjs.js.map +4 -4
  18. package/dist/index.js +2 -2
  19. package/dist/meta.cjs.json +234 -42
  20. package/dist/meta.esbuild.json +267 -74
  21. package/package.json +6 -6
  22. package/src/AudioLevel/AudioLevel.tsx +1 -1
  23. package/src/Prebuilt/App.tsx +5 -0
  24. package/src/Prebuilt/AppContext.tsx +2 -0
  25. package/src/Prebuilt/common/constants.js +1 -1
  26. package/src/Prebuilt/components/AppData/AppData.jsx +1 -1
  27. package/src/Prebuilt/components/AppData/useUISettings.js +1 -1
  28. package/src/Prebuilt/components/Chip.tsx +6 -2
  29. package/src/Prebuilt/components/Footer/PaginatedParticipants.tsx +94 -0
  30. package/src/Prebuilt/components/Footer/ParticipantList.jsx +53 -23
  31. package/src/Prebuilt/components/Footer/RoleAccordion.tsx +86 -84
  32. package/src/Prebuilt/components/Footer/RoleOptions.tsx +1 -1
  33. package/src/Prebuilt/components/Notifications/HeadlessEndRoomListener.tsx +23 -0
  34. package/src/Prebuilt/components/Notifications/Notifications.jsx +1 -1
  35. package/src/Prebuilt/components/PrebuiltTileElements.tsx +5 -0
  36. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +9 -6
  37. package/src/Prebuilt/components/SidePaneTabs.tsx +31 -5
  38. package/src/Prebuilt/components/VideoTile.jsx +19 -34
  39. package/src/Prebuilt/components/conference.jsx +4 -3
  40. package/src/Prebuilt/components/hooks/useDropdownSelection.jsx +1 -1
  41. package/src/Prebuilt/layouts/SidePane.tsx +1 -0
  42. package/dist/chunk-GLYGPYNS.js.map +0 -7
  43. package/dist/conference-JD35TNH4.js.map +0 -7
  44. /package/dist/{HLSView-IQRPLYNH.js.map → HLSView-DDGPZHA2.js.map} +0 -0
  45. /package/dist/{VirtualBackground-GP4ATXD3.js.map → VirtualBackground-UVZJVOA2.js.map} +0 -0
  46. /package/dist/{chunk-2H5NIZB7.js.map → chunk-HUMNPIYI.js.map} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  Slider,
10
10
  ToastManager,
11
11
  useTheme
12
- } from "./chunk-GLYGPYNS.js";
12
+ } from "./chunk-PRM33R4R.js";
13
13
  import {
14
14
  Box,
15
15
  Flex,
@@ -23,7 +23,7 @@ import {
23
23
  __spreadValues,
24
24
  config,
25
25
  styled
26
- } from "./chunk-Z3O2WGWV.js";
26
+ } from "./chunk-6SQTFOK6.js";
27
27
 
28
28
  // src/Prebuilt/layouts/HLSView.jsx
29
29
  import React10, { useCallback, useEffect as useEffect3, useRef as useRef2, useState as useState4 } from "react";
@@ -860,4 +860,4 @@ var HLSView_default = HLSView;
860
860
  export {
861
861
  HLSView_default as default
862
862
  };
863
- //# sourceMappingURL=HLSView-IQRPLYNH.js.map
863
+ //# sourceMappingURL=HLSView-DDGPZHA2.js.map
@@ -18,6 +18,7 @@ export declare type HMSPrebuiltProps = {
18
18
  roomId?: string;
19
19
  role?: string;
20
20
  onLeave?: () => void;
21
+ onJoin?: () => void;
21
22
  };
22
23
  export declare type HMSPrebuiltRefType = {
23
24
  hmsActions: HMSActions;
@@ -7,6 +7,7 @@ declare type HMSPrebuiltContextType = {
7
7
  userId?: string;
8
8
  endpoints?: Record<string, string>;
9
9
  onLeave?: () => void;
10
+ onJoin?: () => void;
10
11
  };
11
12
  export declare const HMSPrebuiltContext: React.Context<HMSPrebuiltContextType>;
12
13
  export declare const useHMSPrebuiltContext: () => HMSPrebuiltContextType;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const PaginatedParticipants: ({ roleName, onBack }: {
3
+ roleName: string;
4
+ onBack: () => void;
5
+ }) => React.JSX.Element;
@@ -1,14 +1,21 @@
1
1
  import React from 'react';
2
2
  import { HMSPeer } from '@100mslive/react-sdk';
3
- interface ItemData {
3
+ export declare const ROW_HEIGHT = 50;
4
+ export interface ItemData {
4
5
  peerList: HMSPeer[];
5
6
  isConnected: boolean;
6
7
  }
7
- export declare const RoleAccordion: ({ peerList, roleName, isConnected, filter, isHandRaisedAccordion, }: ItemData & {
8
+ export declare function itemKey(index: number, data: ItemData): string;
9
+ export declare const VirtualizedParticipantItem: React.MemoExoticComponent<({ index, data }: {
10
+ index: number;
11
+ data: ItemData;
12
+ }) => React.JSX.Element>;
13
+ export declare const RoleAccordion: ({ peerList, roleName, isConnected, filter, isHandRaisedAccordion, offStageRoles, onActive, }: ItemData & {
8
14
  roleName: string;
9
15
  isHandRaisedAccordion?: boolean | undefined;
10
16
  filter?: {
11
17
  search: string;
12
18
  } | undefined;
19
+ offStageRoles: string[];
20
+ onActive?: ((role: string) => void) | undefined;
13
21
  }) => React.JSX.Element | null;
14
- export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function HeadlessEndRoomListener(): React.JSX.Element;