@100mslive/roomkit-react 0.1.19-alpha.1 → 0.1.19-alpha.2
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.
- package/dist/{HLSView-UBVLOPNY.js → HLSView-7X5BVAZE.js} +2 -2
- package/dist/Prebuilt/App.d.ts +1 -0
- package/dist/Prebuilt/common/constants.d.ts +1 -1
- package/dist/Prebuilt/components/Chat/EmptyChat.d.ts +2 -0
- package/dist/Prebuilt/components/Polls/Voting/{Leaderboard.d.ts → LeaderboardSummary.d.ts} +1 -1
- package/dist/Prebuilt/components/Polls/Voting/StatisticBox.d.ts +5 -0
- package/dist/Prebuilt/components/VirtualBackground/VBCollection.d.ts +3 -4
- package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +13 -0
- package/dist/Prebuilt/components/VirtualBackground/VBPicker.d.ts +1 -1
- package/dist/Prebuilt/components/VirtualBackground/constants.d.ts +0 -2
- package/dist/{chunk-VU2CQFCB.js → chunk-H3B4ARYV.js} +1396 -1294
- package/dist/chunk-H3B4ARYV.js.map +7 -0
- package/dist/index.cjs.js +1741 -1610
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +227 -90
- package/dist/meta.esbuild.json +234 -97
- package/package.json +6 -6
- package/src/Prebuilt/App.tsx +2 -1
- package/src/Prebuilt/common/constants.ts +1 -1
- package/src/Prebuilt/components/Chat/ChatActions.tsx +3 -3
- package/src/Prebuilt/components/Chat/ChatBody.tsx +28 -46
- package/src/Prebuilt/components/Chat/EmptyChat.tsx +51 -0
- package/src/Prebuilt/components/Footer/PollsToggle.tsx +7 -1
- package/src/Prebuilt/components/Notifications/Notifications.tsx +0 -29
- package/src/Prebuilt/components/Polls/Polls.tsx +2 -2
- package/src/Prebuilt/components/Polls/Voting/LeaderboardEntry.tsx +2 -2
- package/src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx +162 -0
- package/src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx +2 -9
- package/src/Prebuilt/components/Polls/Voting/StatisticBox.tsx +15 -0
- package/src/Prebuilt/components/Polls/Voting/Voting.jsx +1 -17
- package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +1 -1
- package/src/Prebuilt/components/VirtualBackground/VBCollection.tsx +5 -11
- package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +72 -0
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +44 -81
- package/src/Prebuilt/components/VirtualBackground/constants.ts +0 -4
- package/src/Prebuilt/layouts/SidePane.tsx +6 -1
- package/src/Theme/stitches.config.ts +2 -10
- package/dist/chunk-VU2CQFCB.js.map +0 -7
- package/src/Prebuilt/components/Polls/Voting/Leaderboard.tsx +0 -123
- package/src/Prebuilt/components/Polls/Voting/PollResultSummary.jsx +0 -125
- /package/dist/{HLSView-UBVLOPNY.js.map → HLSView-7X5BVAZE.js.map} +0 -0
@@ -23,7 +23,7 @@ import {
|
|
23
23
|
styled,
|
24
24
|
usePollViewToggle,
|
25
25
|
useTheme
|
26
|
-
} from "./chunk-
|
26
|
+
} from "./chunk-H3B4ARYV.js";
|
27
27
|
|
28
28
|
// src/Prebuilt/layouts/HLSView.jsx
|
29
29
|
init_define_process_env();
|
@@ -969,4 +969,4 @@ var HLSView_default = HLSView;
|
|
969
969
|
export {
|
970
970
|
HLSView_default as default
|
971
971
|
};
|
972
|
-
//# sourceMappingURL=HLSView-
|
972
|
+
//# sourceMappingURL=HLSView-7X5BVAZE.js.map
|
package/dist/Prebuilt/App.d.ts
CHANGED
@@ -108,4 +108,4 @@ export declare enum QUESTION_TYPE {
|
|
108
108
|
MULTIPLE_CHOICE = "multiple-choice"
|
109
109
|
}
|
110
110
|
export declare const ROLE_CHANGE_DECLINED = "role_change_declined";
|
111
|
-
export declare const DEFAULT_PORTAL_CONTAINER = "
|
111
|
+
export declare const DEFAULT_PORTAL_CONTAINER = ".prebuilt-container";
|
@@ -1,14 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { HMSVirtualBackgroundTypes } from '@100mslive/hms-virtual-background';
|
3
|
-
export declare const VBCollection: ({ options, title,
|
3
|
+
export declare const VBCollection: ({ options, title, activeBackground, }: {
|
4
4
|
options: {
|
5
5
|
title?: string | undefined;
|
6
6
|
icon?: React.JSX.Element | undefined;
|
7
7
|
onClick?: (() => Promise<void>) | undefined;
|
8
8
|
mediaURL?: string | undefined;
|
9
|
-
|
9
|
+
value: string | HMSVirtualBackgroundTypes;
|
10
10
|
}[];
|
11
11
|
title: string;
|
12
|
-
activeBackground:
|
13
|
-
activeBackgroundType: HMSVirtualBackgroundTypes;
|
12
|
+
activeBackground: string;
|
14
13
|
}) => React.JSX.Element | null;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { HMSEffectsPlugin, HMSVBPlugin } from '@100mslive/hms-virtual-background';
|
2
|
+
export declare class VBPlugin {
|
3
|
+
private hmsPlugin?;
|
4
|
+
private effectsPlugin?;
|
5
|
+
initialisePlugin: (effectsSDKKey?: string) => void;
|
6
|
+
getBackground: () => any;
|
7
|
+
getVBObject: () => HMSVBPlugin | HMSEffectsPlugin | undefined;
|
8
|
+
getName: () => string | undefined;
|
9
|
+
setBlur: (blurPower: number) => Promise<void>;
|
10
|
+
setBackground: (mediaURL: string) => Promise<void>;
|
11
|
+
removeEffects: () => Promise<void>;
|
12
|
+
}
|
13
|
+
export declare const VBHandler: VBPlugin;
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
2
2
|
import { VirtualBackgroundMedia } from '@100mslive/types-prebuilt/elements/virtual_background';
|
3
3
|
export declare const VBPicker: ({ backgroundMedia }: {
|
4
4
|
backgroundMedia: VirtualBackgroundMedia[];
|
5
|
-
}) => React.JSX.Element
|
5
|
+
}) => React.JSX.Element;
|