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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/{HLSView-5GXP76IN.js → HLSView-KRJMDNAF.js} +2 -2
  2. package/dist/Prebuilt/common/constants.d.ts +1 -0
  3. package/dist/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.d.ts +3 -0
  4. package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
  5. package/dist/Prebuilt/components/RoleChangeModal.d.ts +5 -0
  6. package/dist/Prebuilt/components/TileMenu/TileMenuContent.d.ts +2 -1
  7. package/dist/Prebuilt/components/VideoLayouts/WhiteboardLayout.d.ts +0 -1
  8. package/dist/{chunk-WSDBUVSZ.js → chunk-AFSI3LBT.js} +618 -564
  9. package/dist/chunk-AFSI3LBT.js.map +7 -0
  10. package/dist/index.cjs.js +1953 -1896
  11. package/dist/index.cjs.js.map +4 -4
  12. package/dist/index.js +1 -1
  13. package/dist/meta.cjs.json +125 -204
  14. package/dist/meta.esbuild.json +131 -280
  15. package/package.json +7 -9
  16. package/src/Modal/DialogContent.tsx +1 -1
  17. package/src/Prebuilt/common/constants.ts +2 -0
  18. package/src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx +22 -0
  19. package/src/Prebuilt/components/AudioVideoToggle.tsx +1 -1
  20. package/src/Prebuilt/components/Chat/Chat.tsx +3 -4
  21. package/src/Prebuilt/components/Footer/ParticipantList.tsx +56 -37
  22. package/src/Prebuilt/components/RoleChangeModal.tsx +187 -0
  23. package/src/Prebuilt/components/TileMenu/TileMenu.tsx +5 -0
  24. package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +23 -1
  25. package/src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx +13 -7
  26. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +3 -0
  27. package/src/Prebuilt/layouts/SidePane.tsx +9 -9
  28. package/dist/HLSView-FBGVUTA5.css +0 -2767
  29. package/dist/HLSView-FBGVUTA5.css.map +0 -7
  30. package/dist/chunk-WSDBUVSZ.js.map +0 -7
  31. package/dist/index.cjs.css +0 -2767
  32. package/dist/index.cjs.css.map +0 -7
  33. package/dist/index.css +0 -2767
  34. package/dist/index.css.map +0 -7
  35. package/src/Prebuilt/components/RoleChangeModal.jsx +0 -185
  36. /package/dist/{HLSView-5GXP76IN.js.map → HLSView-KRJMDNAF.js.map} +0 -0
@@ -34,7 +34,7 @@ import {
34
34
  useRoomLayoutHeader,
35
35
  useSidepaneToggle,
36
36
  useTheme
37
- } from "./chunk-WSDBUVSZ.js";
37
+ } from "./chunk-AFSI3LBT.js";
38
38
 
39
39
  // src/Prebuilt/layouts/HLSView.jsx
40
40
  init_define_process_env();
@@ -1607,4 +1607,4 @@ var HLSView_default = HLSView;
1607
1607
  export {
1608
1608
  HLSView_default as default
1609
1609
  };
1610
- //# sourceMappingURL=HLSView-5GXP76IN.js.map
1610
+ //# sourceMappingURL=HLSView-KRJMDNAF.js.map
@@ -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;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
2
  import { LayoutProps } from './interface';
3
- import '@100mslive/hms-whiteboard/index.css';
4
3
  export declare const WhiteboardLayout: ({ peers, onPageChange, onPageSize, edgeToEdge }: LayoutProps) => React.JSX.Element;