@100mslive/roomkit-react 0.1.7-alpha.0 → 0.1.8-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AudioLevel/AudioLevel.d.ts +5 -8
- package/dist/AudioLevel/index.d.ts +2 -1
- package/dist/AudioLevel/useBorderAudioLevel.d.ts +8 -0
- package/dist/{HLSView-F5BDZVT2.js → HLSView-IQRPLYNH.js} +8 -6
- package/dist/{HLSView-F5BDZVT2.js.map → HLSView-IQRPLYNH.js.map} +2 -2
- package/dist/Prebuilt/components/Chip.d.ts +12 -0
- package/dist/Prebuilt/components/PrebuiltDialogPortal.d.ts +4 -0
- package/dist/Prebuilt/components/RoleChangeRequest/RequestPrompt.d.ts +9 -0
- package/dist/VideoTile/StyledVideoTile.d.ts +445 -3
- package/dist/{VirtualBackground-THDRYDRA.js → VirtualBackground-GP4ATXD3.js} +3 -3
- package/dist/{chunk-JSH7SKEH.js → chunk-2H5NIZB7.js} +2 -2
- package/dist/{chunk-CDYRVICT.js → chunk-GLYGPYNS.js} +574 -1196
- package/dist/chunk-GLYGPYNS.js.map +7 -0
- package/dist/{chunk-U3G743OY.js → chunk-Z3O2WGWV.js} +2 -2
- package/dist/{chunk-U3G743OY.js.map → chunk-Z3O2WGWV.js.map} +1 -1
- package/dist/{conference-6IVZHILI.js → conference-JD35TNH4.js} +1545 -840
- package/dist/conference-JD35TNH4.js.map +7 -0
- package/dist/index.cjs.js +5975 -5849
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +4 -2
- package/dist/meta.cjs.json +1633 -1399
- package/dist/meta.esbuild.json +1689 -1454
- package/package.json +6 -6
- package/src/AudioLevel/AudioLevel.tsx +79 -30
- package/src/AudioLevel/audio-level.png +0 -0
- package/src/AudioLevel/index.ts +2 -1
- package/src/AudioLevel/useBorderAudioLevel.tsx +34 -0
- package/src/Input/Input.tsx +1 -1
- package/src/Prebuilt/App.tsx +1 -0
- package/src/Prebuilt/components/Chat/ChatBody.jsx +125 -106
- package/src/Prebuilt/components/{Chip.jsx → Chip.tsx} +13 -2
- package/src/Prebuilt/components/Footer/ParticipantList.jsx +24 -13
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +43 -3
- package/src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx +41 -46
- package/src/Prebuilt/components/Leave/MwebLeaveRoom.tsx +23 -35
- package/src/Prebuilt/components/MoreSettings/ChangeNameModal.jsx +3 -2
- package/src/Prebuilt/components/MoreSettings/EmbedUrl.jsx +3 -2
- package/src/Prebuilt/components/MwebLandscapePrompt.jsx +58 -0
- package/src/Prebuilt/components/Notifications/HLSFailureModal.jsx +3 -2
- package/src/Prebuilt/components/Notifications/PermissionErrorModal.jsx +3 -2
- package/src/Prebuilt/components/PrebuiltDialogPortal.tsx +6 -0
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +9 -6
- package/src/Prebuilt/components/RaiseHand.jsx +4 -11
- package/src/Prebuilt/components/RoleChangeModal.jsx +3 -2
- package/src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx +67 -0
- package/src/Prebuilt/components/{RoleChangeRequestModal.tsx → RoleChangeRequest/RoleChangeRequestModal.tsx} +18 -50
- package/src/Prebuilt/components/Settings/SettingsModal.jsx +3 -2
- package/src/Prebuilt/components/Settings/StartRecording.jsx +3 -2
- package/src/Prebuilt/components/StatsForNerds.jsx +3 -2
- package/src/Prebuilt/components/VideoTile.jsx +34 -75
- package/src/Prebuilt/components/conference.jsx +1 -1
- package/src/Prebuilt/components/hooks/useMetadata.jsx +2 -1
- package/src/Prebuilt/components/pdfAnnotator/pdfFileOptions.jsx +3 -2
- package/src/Prebuilt/components/pdfAnnotator/shareScreenOptions.jsx +4 -29
- package/src/Prebuilt/components/pdfAnnotator/uploadedFile.jsx +3 -2
- package/src/Prebuilt/layouts/HLSView.jsx +4 -2
- package/src/Prebuilt/layouts/SidePane.tsx +0 -1
- package/src/Prebuilt/primitives/DialogContent.jsx +5 -4
- package/src/VideoTile/StyledVideoTile.tsx +10 -14
- package/dist/chunk-CDYRVICT.js.map +0 -7
- package/dist/conference-6IVZHILI.js.map +0 -7
- /package/dist/Prebuilt/components/{RoleChangeRequestModal.d.ts → RoleChangeRequest/RoleChangeRequestModal.d.ts} +0 -0
- /package/dist/{VirtualBackground-THDRYDRA.js.map → VirtualBackground-GP4ATXD3.js.map} +0 -0
- /package/dist/{chunk-JSH7SKEH.js.map → chunk-2H5NIZB7.js.map} +0 -0
@@ -56,20 +56,9 @@ const Info = styled('div', {
|
|
56
56
|
});
|
57
57
|
|
58
58
|
const AttributeBox = styled('div', {
|
59
|
-
position: 'absolute',
|
60
|
-
color: '$on_primary_high',
|
61
|
-
w: '$12',
|
62
|
-
h: '$12',
|
63
|
-
bg: '$secondary_dim',
|
64
|
-
r: '$round',
|
65
|
-
...flexCenter,
|
66
|
-
});
|
67
|
-
|
68
|
-
const AudioIndicator = styled('div', {
|
69
59
|
position: 'absolute',
|
70
60
|
top: '$4',
|
71
|
-
|
72
|
-
color: '$on_primary_high',
|
61
|
+
color: '$on_secondary_high',
|
73
62
|
bg: '$secondary_dim',
|
74
63
|
borderRadius: '$round',
|
75
64
|
width: '$14',
|
@@ -91,12 +80,19 @@ const AudioIndicator = styled('div', {
|
|
91
80
|
height: '$13',
|
92
81
|
},
|
93
82
|
},
|
83
|
+
position: {
|
84
|
+
left: { left: '$4' },
|
85
|
+
right: { right: '$4' },
|
86
|
+
},
|
94
87
|
},
|
95
88
|
defaultVariants: {
|
96
89
|
size: 'medium',
|
90
|
+
position: 'left',
|
97
91
|
},
|
98
92
|
});
|
99
93
|
|
94
|
+
const AudioIndicator = styled(AttributeBox, { defaultVariants: { position: 'right' } });
|
95
|
+
|
100
96
|
const FullScreenButton = styled('button', {
|
101
97
|
width: '2.25rem',
|
102
98
|
height: '2.25rem',
|
@@ -136,9 +132,9 @@ interface VideoTileType {
|
|
136
132
|
Container: typeof Container;
|
137
133
|
Overlay: typeof Overlay;
|
138
134
|
Info: typeof Info;
|
139
|
-
AudioIndicator: typeof AudioIndicator;
|
140
135
|
AvatarContainer: typeof AvatarContainer;
|
141
136
|
AttributeBox: typeof AttributeBox;
|
137
|
+
AudioIndicator: typeof AudioIndicator;
|
142
138
|
FullScreenButton: typeof FullScreenButton;
|
143
139
|
}
|
144
140
|
|
@@ -147,8 +143,8 @@ export const StyledVideoTile: VideoTileType = {
|
|
147
143
|
Container,
|
148
144
|
Overlay,
|
149
145
|
Info,
|
150
|
-
AudioIndicator,
|
151
146
|
AvatarContainer,
|
152
147
|
AttributeBox,
|
148
|
+
AudioIndicator,
|
153
149
|
FullScreenButton,
|
154
150
|
};
|