@100mslive/roomkit-react 0.3.10-alpha.0 → 0.3.10-alpha.10

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 (34) hide show
  1. package/dist/{HLSView-5GXP76IN.js → HLSView-73GDHCD4.js} +2 -2
  2. package/dist/{HLSView-FBGVUTA5.css → HLSView-NUX3NEDM.css} +16 -3
  3. package/dist/{HLSView-FBGVUTA5.css.map → HLSView-NUX3NEDM.css.map} +3 -3
  4. package/dist/Prebuilt/common/constants.d.ts +1 -0
  5. package/dist/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.d.ts +3 -0
  6. package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
  7. package/dist/Prebuilt/components/RoleChangeModal.d.ts +5 -0
  8. package/dist/Prebuilt/components/TileMenu/TileMenuContent.d.ts +2 -1
  9. package/dist/{chunk-WSDBUVSZ.js → chunk-K7LIJG5P.js} +610 -563
  10. package/dist/chunk-K7LIJG5P.js.map +7 -0
  11. package/dist/index.cjs.css +15 -2
  12. package/dist/index.cjs.css.map +3 -3
  13. package/dist/index.cjs.js +1949 -1894
  14. package/dist/index.cjs.js.map +4 -4
  15. package/dist/index.css +15 -2
  16. package/dist/index.css.map +3 -3
  17. package/dist/index.js +1 -1
  18. package/dist/meta.cjs.json +136 -62
  19. package/dist/meta.esbuild.json +150 -76
  20. package/package.json +7 -7
  21. package/src/Modal/DialogContent.tsx +1 -1
  22. package/src/Prebuilt/common/constants.ts +2 -0
  23. package/src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx +22 -0
  24. package/src/Prebuilt/components/AudioVideoToggle.tsx +1 -1
  25. package/src/Prebuilt/components/Chat/Chat.tsx +3 -4
  26. package/src/Prebuilt/components/Footer/ParticipantList.tsx +58 -37
  27. package/src/Prebuilt/components/RoleChangeModal.tsx +188 -0
  28. package/src/Prebuilt/components/TileMenu/TileMenu.tsx +5 -0
  29. package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +25 -1
  30. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +3 -0
  31. package/src/Prebuilt/layouts/SidePane.tsx +9 -9
  32. package/dist/chunk-WSDBUVSZ.js.map +0 -7
  33. package/src/Prebuilt/components/RoleChangeModal.jsx +0 -185
  34. /package/dist/{HLSView-5GXP76IN.js.map → HLSView-73GDHCD4.js.map} +0 -0
@@ -63,6 +63,7 @@ export declare const SIDE_PANE_OPTIONS: {
63
63
  VB: string;
64
64
  ROOM_DETAILS: string;
65
65
  };
66
+ export declare type SidePaneOption = (typeof SIDE_PANE_OPTIONS)[keyof typeof SIDE_PANE_OPTIONS];
66
67
  export declare const SHEET_OPTIONS: {
67
68
  ROOM_DETAILS: string;
68
69
  };
@@ -0,0 +1,3 @@
1
+ import { DefaultConferencingScreen_Elements } from '@100mslive/types-prebuilt';
2
+ import { SidePaneOption } from '../../common/constants';
3
+ export declare const useSidepaneResetOnLayoutUpdate: (layoutKey: keyof DefaultConferencingScreen_Elements, sidepaneOption: SidePaneOption) => void;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const Chat: () => React.JSX.Element | null;
2
+ export declare const Chat: () => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const RoleChangeModal: ({ peerId, onOpenChange, }: {
3
+ peerId: string;
4
+ onOpenChange: (open: boolean) => void;
5
+ }) => React.JSX.Element | null;
@@ -5,7 +5,7 @@ export declare const isSameTile: ({ trackId, videoTrackID, audioTrackID, }: {
5
5
  videoTrackID?: string | undefined;
6
6
  audioTrackID?: string | undefined;
7
7
  }) => boolean;
8
- export declare const TileMenuContent: ({ videoTrackID, audioTrackID, isLocal, isScreenshare, showSpotlight, showPinAction, peerID, canMinimise, closeSheetOnClick, openNameChangeModal, }: {
8
+ export declare const TileMenuContent: ({ videoTrackID, audioTrackID, isLocal, isScreenshare, showSpotlight, showPinAction, peerID, canMinimise, closeSheetOnClick, openNameChangeModal, openRoleChangeModal, }: {
9
9
  videoTrackID: string;
10
10
  audioTrackID: string;
11
11
  isLocal: boolean;
@@ -16,4 +16,5 @@ export declare const TileMenuContent: ({ videoTrackID, audioTrackID, isLocal, is
16
16
  canMinimise?: boolean | undefined;
17
17
  closeSheetOnClick?: (() => void) | undefined;
18
18
  openNameChangeModal?: (() => void) | undefined;
19
+ openRoleChangeModal?: (() => void) | undefined;
19
20
  }) => React.JSX.Element | null;