From 0dd45c4dfb15550d7e18f39030c00ce351d3dabc Mon Sep 17 00:00:00 2001 From: Ravi theja Date: Mon, 11 Mar 2024 16:03:42 +0530 Subject: [PATCH 1/2] fix: video tile size when res changes in sidebar --- .../src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/roomkit-react/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx b/packages/roomkit-react/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx index 9ed895d2d8..428ea1b49e 100644 --- a/packages/roomkit-react/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx @@ -70,8 +70,8 @@ const SecondarySection = ({ rootCSS={{ padding: 0, maxWidth: 240, - h: hasSidebar ? undefined : '100%', aspectRatio: 16 / 9, + ...(hasSidebar ? { w: '100%' } : { h: '100%' }), '@md': { aspectRatio: 1 }, }} objectFit="contain" From b68534ac88d1fb0b06f0d1b6b29def77b01ba01e Mon Sep 17 00:00:00 2001 From: Ravi theja Date: Tue, 12 Mar 2024 10:46:47 +0530 Subject: [PATCH 2/2] revert: type 'module' as it causing some build issues --- packages/hls-player/package.json | 1 - packages/hls-stats/package.json | 1 - packages/hms-video-store/jest.config.js | 2 +- packages/hms-video-store/package.json | 1 - packages/hms-virtual-background/package.json | 1 - packages/react-icons/package.json | 1 - packages/react-sdk/package.json | 1 - packages/roomkit-react/package.json | 1 - packages/roomkit-web/package.json | 1 - 9 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/hls-player/package.json b/packages/hls-player/package.json index 47db5083c0..22051e3eb0 100644 --- a/packages/hls-player/package.json +++ b/packages/hls-player/package.json @@ -5,7 +5,6 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "type": "module", "repository": { "type": "git", "url": "https://github.com/100mslive/web-sdks.git", diff --git a/packages/hls-stats/package.json b/packages/hls-stats/package.json index 9607bdfa84..5da917ca71 100644 --- a/packages/hls-stats/package.json +++ b/packages/hls-stats/package.json @@ -5,7 +5,6 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "type": "module", "repository": { "type": "git", "url": "https://github.com/100mslive/web-sdks.git", diff --git a/packages/hms-video-store/jest.config.js b/packages/hms-video-store/jest.config.js index b78c73e9ad..5c19a40542 100644 --- a/packages/hms-video-store/jest.config.js +++ b/packages/hms-video-store/jest.config.js @@ -10,4 +10,4 @@ const config = { testEnvironment: 'jsdom', }; -export default config; +module.exports = config; diff --git a/packages/hms-video-store/package.json b/packages/hms-video-store/package.json index 1e71e69d55..5c07956221 100644 --- a/packages/hms-video-store/package.json +++ b/packages/hms-video-store/package.json @@ -9,7 +9,6 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "type": "module", "files": [ "dist", "src" diff --git a/packages/hms-virtual-background/package.json b/packages/hms-virtual-background/package.json index f510bdba38..4f105d174b 100755 --- a/packages/hms-virtual-background/package.json +++ b/packages/hms-virtual-background/package.json @@ -6,7 +6,6 @@ "module": "dist/index.js", "main": "dist/index.cjs.js", "typings": "dist/index.d.ts", - "type": "module", "repository": { "type": "git", "url": "https://github.com/100mslive/web-sdks.git", diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 4ecb487707..5b3b3ed759 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -4,7 +4,6 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "type": "module", "version": "0.10.1", "author": "100ms", "license": "MIT", diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json index f42ecf9431..2bb16efd01 100644 --- a/packages/react-sdk/package.json +++ b/packages/react-sdk/package.json @@ -4,7 +4,6 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "type": "module", "version": "0.10.1", "author": "100ms", "license": "MIT", diff --git a/packages/roomkit-react/package.json b/packages/roomkit-react/package.json index 0ede82f759..05ac1996c9 100644 --- a/packages/roomkit-react/package.json +++ b/packages/roomkit-react/package.json @@ -4,7 +4,6 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "type": "module", "keywords": [ "100mslive", "react", diff --git a/packages/roomkit-web/package.json b/packages/roomkit-web/package.json index 4f4837b032..ca0e5f035e 100644 --- a/packages/roomkit-web/package.json +++ b/packages/roomkit-web/package.json @@ -11,7 +11,6 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "type": "module", "author": "100ms", "license": "MIT", "repository": {