@100mslive/roomkit-react 0.3.25-alpha.5 → 0.3.25-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/VideoTile/StyledVideoTile.d.ts +1 -606
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +789 -802
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +799 -812
- package/dist/index.js.map +3 -3
- package/dist/meta.cjs.json +26 -46
- package/dist/meta.esbuild.json +26 -46
- package/package.json +8 -9
- package/src/Diagnostics/ConnectivityTest.tsx +2 -0
- package/src/Prebuilt/components/VideoLayouts/Grid.tsx +29 -32
- package/src/VideoTile/StyledVideoTile.tsx +2 -15
@@ -1,4 +1,3 @@
|
|
1
|
-
import { motion } from 'framer-motion';
|
2
1
|
import { Box } from '../Layout';
|
3
2
|
import { styled } from '../Theme';
|
4
3
|
import { flexCenter } from '../utils';
|
@@ -7,18 +6,6 @@ export const Root = styled('div', {
|
|
7
6
|
padding: '0.75rem',
|
8
7
|
});
|
9
8
|
|
10
|
-
const MotionRoot = motion(Root);
|
11
|
-
MotionRoot.defaultProps = {
|
12
|
-
layout: true,
|
13
|
-
transition: {
|
14
|
-
type: 'spring',
|
15
|
-
stiffness: 300,
|
16
|
-
damping: 30,
|
17
|
-
mass: 1,
|
18
|
-
duration: 0.15,
|
19
|
-
},
|
20
|
-
};
|
21
|
-
|
22
9
|
const Container = styled('div', {
|
23
10
|
width: '100%',
|
24
11
|
height: '100%',
|
@@ -137,7 +124,7 @@ const AvatarContainer = styled(Box, {
|
|
137
124
|
});
|
138
125
|
|
139
126
|
interface VideoTileType {
|
140
|
-
Root: typeof
|
127
|
+
Root: typeof Root;
|
141
128
|
Container: typeof Container;
|
142
129
|
Overlay: typeof Overlay;
|
143
130
|
Info: typeof Info;
|
@@ -148,7 +135,7 @@ interface VideoTileType {
|
|
148
135
|
}
|
149
136
|
|
150
137
|
export const StyledVideoTile: VideoTileType = {
|
151
|
-
Root
|
138
|
+
Root,
|
152
139
|
Container,
|
153
140
|
Overlay,
|
154
141
|
Info,
|