@100mslive/roomkit-react 0.3.16-alpha.0 → 0.3.16-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 (46) hide show
  1. package/dist/{HLSView-KOCGTP23.css → HLSView-D62ZFGUE.css} +3 -3
  2. package/dist/{HLSView-KOCGTP23.css.map → HLSView-D62ZFGUE.css.map} +1 -1
  3. package/dist/{HLSView-P7GF2RAU.js → HLSView-QYHOAJX7.js} +2 -2
  4. package/dist/Prebuilt/components/Chat/ChatBody.d.ts +887 -0
  5. package/dist/Prebuilt/components/Chat/ChatFooter.d.ts +1 -1
  6. package/dist/Prebuilt/components/Chat/utils.d.ts +2 -0
  7. package/dist/Prebuilt/components/PIP/PIPChat.d.ts +2 -0
  8. package/dist/Prebuilt/components/PIP/PIPChatOption.d.ts +5 -0
  9. package/dist/Prebuilt/components/PIP/PIPProvider.d.ts +6 -0
  10. package/dist/Prebuilt/components/PIP/PIPWindow.d.ts +7 -0
  11. package/dist/Prebuilt/components/PIP/context.d.ts +8 -0
  12. package/dist/Prebuilt/components/PIP/usePIPChat.d.ts +5 -0
  13. package/dist/Prebuilt/components/PIP/usePIPWindow.d.ts +2 -0
  14. package/dist/{chunk-DDB4BLHX.js → chunk-NYBDQX5B.js} +10131 -9675
  15. package/dist/chunk-NYBDQX5B.js.map +7 -0
  16. package/dist/index.cjs.css +2 -2
  17. package/dist/index.cjs.css.map +1 -1
  18. package/dist/index.cjs.js +4021 -3510
  19. package/dist/index.cjs.js.map +4 -4
  20. package/dist/index.css +2 -2
  21. package/dist/index.css.map +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/meta.cjs.json +2292 -1910
  24. package/dist/meta.esbuild.json +2326 -1944
  25. package/package.json +8 -7
  26. package/src/Prebuilt/App.tsx +21 -18
  27. package/src/Prebuilt/components/AudioVideoToggle.tsx +16 -9
  28. package/src/Prebuilt/components/Chat/ChatBody.tsx +4 -12
  29. package/src/Prebuilt/components/Chat/ChatFooter.tsx +2 -3
  30. package/src/Prebuilt/components/Chat/utils.ts +11 -0
  31. package/src/Prebuilt/components/ConferenceScreen.tsx +13 -1
  32. package/src/Prebuilt/components/Footer/ParticipantList.tsx +1 -4
  33. package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +24 -6
  34. package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +33 -0
  35. package/src/Prebuilt/components/Notifications/Notifications.tsx +3 -1
  36. package/src/Prebuilt/components/PIP/PIPChat.tsx +273 -0
  37. package/src/Prebuilt/components/PIP/PIPChatOption.tsx +18 -0
  38. package/src/Prebuilt/components/PIP/PIPProvider.tsx +56 -0
  39. package/src/Prebuilt/components/PIP/PIPWindow.tsx +13 -0
  40. package/src/Prebuilt/components/PIP/context.ts +10 -0
  41. package/src/Prebuilt/components/PIP/usePIPChat.tsx +105 -0
  42. package/src/Prebuilt/components/PIP/usePIPWindow.tsx +12 -0
  43. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +3 -1
  44. package/src/Prebuilt/components/Toast/ToastConfig.jsx +2 -2
  45. package/dist/chunk-DDB4BLHX.js.map +0 -7
  46. /package/dist/{HLSView-P7GF2RAU.js.map → HLSView-QYHOAJX7.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  export declare const ChatFooter: ({ onSend, children }: {
3
3
  onSend: (count: number) => void;
4
- children: ReactNode;
4
+ children?: ReactNode;
5
5
  }) => React.JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ export declare const formatTime: (date: Date) => string;
2
+ export declare const CHAT_MESSAGE_LIMIT = 2000;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const PIPChat: () => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const PIPChatOption: ({ openChat, showPIPChat }: {
3
+ openChat: () => void;
4
+ showPIPChat: boolean;
5
+ }) => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare type PIPProviderProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const PIPProvider: ({ children }: PIPProviderProps) => React.JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare type PIPWindowProps = {
3
+ pipWindow: Window;
4
+ children: React.ReactNode;
5
+ };
6
+ export declare const PIPWindow: ({ pipWindow, children }: PIPWindowProps) => React.ReactPortal;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare type PIPContextType = {
3
+ isSupported: boolean;
4
+ pipWindow: Window | null;
5
+ requestPipWindow: (width: number, height: number) => Promise<void>;
6
+ closePipWindow: () => void;
7
+ };
8
+ export declare const PIPContext: import("react").Context<PIPContextType | undefined>;
@@ -0,0 +1,5 @@
1
+ export declare const usePIPChat: () => {
2
+ isSupported: boolean;
3
+ requestPipWindow: (width: number, height: number) => Promise<void>;
4
+ pipWindow: Window | null;
5
+ };
@@ -0,0 +1,2 @@
1
+ import { PIPContextType } from './context';
2
+ export declare const usePIPWindow: () => PIPContextType;