@100mslive/roomkit-react 0.2.6 → 0.2.7-alpha.0

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-A5DVXKEU.js → HLSView-E65JZSU4.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-KUVM2TEZ.js → chunk-DWLYDCFC.js} +1414 -1227
  13. package/dist/chunk-DWLYDCFC.js.map +7 -0
  14. package/dist/index.cjs.js +2729 -2475
  15. package/dist/index.cjs.js.map +4 -4
  16. package/dist/index.js +1 -1
  17. package/dist/meta.cjs.json +478 -45
  18. package/dist/meta.esbuild.json +486 -53
  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/Header/Header.tsx +2 -0
  25. package/src/Prebuilt/components/Header/RoomDetailsHeader.tsx +51 -0
  26. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +18 -2
  27. package/src/Prebuilt/components/Polls/common/utils.ts +15 -9
  28. package/src/Prebuilt/components/RoomDetails/Duration.tsx +26 -0
  29. package/src/Prebuilt/components/RoomDetails/RoomDetailsPane.tsx +36 -0
  30. package/src/Prebuilt/components/RoomDetails/RoomDetailsRow.tsx +23 -0
  31. package/src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx +45 -0
  32. package/src/Prebuilt/layouts/Sheet.tsx +14 -0
  33. package/src/Prebuilt/layouts/SidePane.tsx +4 -0
  34. package/src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts +40 -0
  35. package/dist/chunk-KUVM2TEZ.js.map +0 -7
  36. /package/dist/{HLSView-A5DVXKEU.js.map → HLSView-E65JZSU4.js.map} +0 -0
@@ -23,7 +23,7 @@ import {
23
23
  styled,
24
24
  usePollViewToggle,
25
25
  useTheme
26
- } from "./chunk-KUVM2TEZ.js";
26
+ } from "./chunk-DWLYDCFC.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-A5DVXKEU.js.map
987
+ //# sourceMappingURL=HLSView-E65JZSU4.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
+ };