@100mslive/roomkit-react 0.3.25-alpha.0 → 0.3.25-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.
@@ -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 MotionRoot;
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: MotionRoot,
138
+ Root,
152
139
  Container,
153
140
  Overlay,
154
141
  Info,