@100mslive/roomkit-react 0.2.7-alpha.1 → 0.2.7-alpha.3

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 (42) hide show
  1. package/dist/{HLSView-4B5MUDFR.js → HLSView-NDCESLVD.js} +2 -2
  2. package/dist/Prebuilt/common/constants.d.ts +5 -0
  3. package/dist/Prebuilt/components/AppData/useSheet.d.ts +4 -0
  4. package/dist/Prebuilt/components/Header/RoomDetailsHeader.d.ts +2 -0
  5. package/dist/Prebuilt/components/Polls/common/utils.d.ts +1 -1
  6. package/dist/Prebuilt/components/RoomDetails/Duration.d.ts +4 -0
  7. package/dist/Prebuilt/components/RoomDetails/RoomDetailsPane.d.ts +2 -0
  8. package/dist/Prebuilt/components/RoomDetails/RoomDetailsRow.d.ts +4 -0
  9. package/dist/Prebuilt/components/RoomDetails/RoomDetailsSheet.d.ts +2 -0
  10. package/dist/Prebuilt/layouts/Sheet.d.ts +2 -0
  11. package/dist/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.d.ts +5 -0
  12. package/dist/{chunk-KST24BRA.js → chunk-AGREPSFA.js} +1514 -1311
  13. package/dist/chunk-AGREPSFA.js.map +7 -0
  14. package/dist/index.cjs.js +2849 -2581
  15. package/dist/index.cjs.js.map +4 -4
  16. package/dist/index.js +1 -1
  17. package/dist/meta.cjs.json +502 -59
  18. package/dist/meta.esbuild.json +511 -68
  19. package/package.json +7 -7
  20. package/src/Prebuilt/App.tsx +2 -0
  21. package/src/Prebuilt/common/constants.ts +6 -0
  22. package/src/Prebuilt/components/AppData/AppData.tsx +1 -0
  23. package/src/Prebuilt/components/AppData/useSheet.ts +33 -0
  24. package/src/Prebuilt/components/AppData/useUISettings.js +1 -1
  25. package/src/Prebuilt/components/AudioVideoToggle.tsx +31 -27
  26. package/src/Prebuilt/components/Chat/ChatFooter.tsx +0 -1
  27. package/src/Prebuilt/components/Header/Header.tsx +2 -0
  28. package/src/Prebuilt/components/Header/RoomDetailsHeader.tsx +51 -0
  29. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +18 -2
  30. package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +4 -8
  31. package/src/Prebuilt/components/Notifications/Notifications.tsx +15 -2
  32. package/src/Prebuilt/components/Polls/common/utils.ts +15 -9
  33. package/src/Prebuilt/components/RoomDetails/Duration.tsx +26 -0
  34. package/src/Prebuilt/components/RoomDetails/RoomDetailsPane.tsx +36 -0
  35. package/src/Prebuilt/components/RoomDetails/RoomDetailsRow.tsx +23 -0
  36. package/src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx +45 -0
  37. package/src/Prebuilt/components/ScreenShareToggle.jsx +5 -3
  38. package/src/Prebuilt/layouts/Sheet.tsx +14 -0
  39. package/src/Prebuilt/layouts/SidePane.tsx +4 -0
  40. package/src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts +40 -0
  41. package/dist/chunk-KST24BRA.js.map +0 -7
  42. /package/dist/{HLSView-4B5MUDFR.js.map → HLSView-NDCESLVD.js.map} +0 -0
@@ -23,7 +23,7 @@ import {
23
23
  styled,
24
24
  usePollViewToggle,
25
25
  useTheme
26
- } from "./chunk-KST24BRA.js";
26
+ } from "./chunk-AGREPSFA.js";
27
27
 
28
28
  // src/Prebuilt/layouts/HLSView.jsx
29
29
  init_define_process_env();
@@ -984,4 +984,4 @@ var HLSView_default = HLSView;
984
984
  export {
985
985
  HLSView_default as default
986
986
  };
987
- //# sourceMappingURL=HLSView-4B5MUDFR.js.map
987
+ //# sourceMappingURL=HLSView-NDCESLVD.js.map
@@ -42,6 +42,7 @@ export declare const APP_DATA: {
42
42
  disableNotifications: string;
43
43
  pollState: string;
44
44
  background: string;
45
+ sheet: string;
45
46
  };
46
47
  export declare const UI_SETTINGS: {
47
48
  isAudioOnly: string;
@@ -58,6 +59,10 @@ export declare const SIDE_PANE_OPTIONS: {
58
59
  STREAMING: string;
59
60
  POLLS: string;
60
61
  VB: string;
62
+ ROOM_DETAILS: string;
63
+ };
64
+ export declare const SHEET_OPTIONS: {
65
+ ROOM_DETAILS: string;
61
66
  };
62
67
  export declare const POLL_STATE: {
63
68
  pollInView: string;
@@ -0,0 +1,4 @@
1
+ export declare const useIsSheetTypeOpen: (sheetType: string) => boolean;
2
+ export declare const useSheetState: () => any;
3
+ export declare const useSheetToggle: (sheetType: string) => () => void;
4
+ export declare const useSheetReset: () => () => void;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const RoomDetailsHeader: () => React.JSX.Element | null;
@@ -1 +1 @@
1
- export declare const getFormattedTime: (milliseconds: number | undefined) => string;
1
+ export declare const getFormattedTime: (milliseconds: number | undefined, precise?: boolean) => string;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const Duration: ({ timestamp }: {
3
+ timestamp: Date;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const RoomDetailsPane: () => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const RoomDetailsRow: ({ details }: {
3
+ details: (string | Date)[];
4
+ }) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const RoomDetailsSheet: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Sheet: () => React.JSX.Element;
@@ -16,3 +16,8 @@ export declare function useRoomLayoutConferencingScreen(): {
16
16
  export declare function useRoomLayoutLeaveScreen(): {
17
17
  isLeaveScreenEnabled: boolean;
18
18
  };
19
+ export declare function useRoomLayoutHeader(): {
20
+ title: string;
21
+ description: string;
22
+ details: (string | Date)[];
23
+ };