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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/{HLSView-KPCDHIH2.js → HLSView-37B2YVTC.js} +2 -2
  2. package/dist/Prebuilt/components/MoreSettings/FullScreenItem.d.ts +2 -0
  3. package/dist/Prebuilt/components/MoreSettings/MuteAllContent.d.ts +15 -0
  4. package/dist/Prebuilt/components/MoreSettings/MuteAllModal.d.ts +5 -0
  5. package/dist/Prebuilt/components/MoreSettings/constants.d.ts +8 -0
  6. package/dist/Prebuilt/components/hooks/useFullscreen.d.ts +5 -0
  7. package/dist/{chunk-Q6VWGYM4.js → chunk-72B32WVR.js} +663 -636
  8. package/dist/chunk-72B32WVR.js.map +7 -0
  9. package/dist/index.cjs.js +969 -946
  10. package/dist/index.cjs.js.map +4 -4
  11. package/dist/index.js +1 -1
  12. package/dist/meta.cjs.json +105 -61
  13. package/dist/meta.esbuild.json +111 -67
  14. package/package.json +6 -6
  15. package/src/Prebuilt/components/Connection/TileConnection.tsx +30 -27
  16. package/src/Prebuilt/components/Footer/RoleOptions.tsx +81 -38
  17. package/src/Prebuilt/components/MoreSettings/{FullScreenItem.jsx → FullScreenItem.tsx} +1 -1
  18. package/src/Prebuilt/components/MoreSettings/MuteAllContent.tsx +81 -0
  19. package/src/Prebuilt/components/MoreSettings/{MuteAllModal.jsx → MuteAllModal.tsx} +21 -22
  20. package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +0 -2
  21. package/src/Prebuilt/components/MoreSettings/constants.ts +12 -0
  22. package/src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx +4 -2
  23. package/src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx +2 -2
  24. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +1 -1
  25. package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +2 -1
  26. package/src/Prebuilt/components/VideoLayouts/RoleProminence.tsx +5 -1
  27. package/src/Prebuilt/components/hooks/{useFullscreen.js → useFullscreen.ts} +5 -3
  28. package/src/Prebuilt/primitives/DialogContent.jsx +3 -2
  29. package/dist/chunk-Q6VWGYM4.js.map +0 -7
  30. package/src/Prebuilt/components/MoreSettings/MuteAllContent.jsx +0 -61
  31. /package/dist/{HLSView-KPCDHIH2.js.map → HLSView-37B2YVTC.js.map} +0 -0
@@ -23,7 +23,7 @@ import {
23
23
  styled,
24
24
  usePollViewToggle,
25
25
  useTheme
26
- } from "./chunk-Q6VWGYM4.js";
26
+ } from "./chunk-72B32WVR.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-KPCDHIH2.js.map
987
+ //# sourceMappingURL=HLSView-37B2YVTC.js.map
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const FullScreenItem: () => React.JSX.Element | null;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { HMSRoleName, HMSTrackSource, HMSTrackType } from '@100mslive/react-sdk';
3
+ export declare const MuteAllContent: (props: {
4
+ muteAll: () => Promise<void>;
5
+ roles?: string[] | undefined;
6
+ enabled: boolean;
7
+ setEnabled: (value: boolean) => void;
8
+ trackType?: HMSTrackType | undefined;
9
+ setTrackType: (value: HMSTrackType) => void;
10
+ selectedRole?: string | undefined;
11
+ setRole: (value: HMSRoleName) => void;
12
+ selectedSource?: string | undefined;
13
+ setSource: (value: HMSTrackSource) => void;
14
+ isMobile: boolean;
15
+ }) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const MuteAllModal: ({ onOpenChange, isMobile, }: {
3
+ onOpenChange: (value: boolean) => void;
4
+ isMobile?: boolean | undefined;
5
+ }) => React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const trackSourceOptions: {
2
+ label: string;
3
+ value: string;
4
+ }[];
5
+ export declare const trackTypeOptions: {
6
+ label: string;
7
+ value: string;
8
+ }[];
@@ -0,0 +1,5 @@
1
+ export declare const useFullscreen: () => {
2
+ allowed: true;
3
+ isFullscreen: boolean;
4
+ toggleFullscreen: () => Promise<void>;
5
+ };