@limrun/ui 0.4.0-rc.4 → 0.4.0-rc.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limrun/ui",
3
- "version": "0.4.0-rc.4",
3
+ "version": "0.4.0-rc.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,13 +32,13 @@
32
32
  }
33
33
 
34
34
  .rc-video-ios {
35
- top: 1.6%;
35
+ top: 1.61%;
36
36
  left: 3.9%;
37
37
  height: 96.76%;
38
38
  }
39
39
 
40
40
  .rc-video-android {
41
- top: 2.3%;
41
+ top: 2.25%;
42
42
  left: 4.5%;
43
43
  height: 95.9%;
44
44
  }
@@ -89,13 +89,13 @@ const deviceConfig = {
89
89
  ios: {
90
90
  frameImage: iphoneFrameImage,
91
91
  frameWidthMultiplier: 1.0841,
92
- videoBorderRadiusMultiplier: 0.157,
92
+ videoBorderRadiusMultiplier: 0.15,
93
93
  loadingLogo: appleLogoSvg,
94
94
  },
95
95
  android: {
96
96
  frameImage: pixelFrameImage,
97
97
  frameWidthMultiplier: 1.107,
98
- videoBorderRadiusMultiplier: 0.137,
98
+ videoBorderRadiusMultiplier: 0.13,
99
99
  loadingLogo: undefined,
100
100
  },
101
101
  };
@@ -958,7 +958,7 @@ export const RemoteControl = forwardRef<RemoteControlHandle, RemoteControlProps>
958
958
  onKeyDown={handleKeyboard}
959
959
  onKeyUp={handleKeyboard}
960
960
  onClick={handleVideoClick}
961
- onPlaying={() => setVideoLoaded(true)}
961
+ onLoadedMetadata={() => setVideoLoaded(true)}
962
962
  onFocus={() => {
963
963
  if (videoRef.current) {
964
964
  videoRef.current.style.outline = 'none';