@stream-io/video-react-sdk 0.4.2 → 0.4.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.4.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.4.2...@stream-io/video-react-sdk-0.4.3) (2023-10-30)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add marker classes for the default `VideoPreview` components ([#1172](https://github.com/GetStream/stream-video-js/issues/1172)) ([7948cd8](https://github.com/GetStream/stream-video-js/commit/7948cd81a5ad6271872239a77b2a5ab8a856d231))
11
+
5
12
  ### [0.4.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.4.1...@stream-io/video-react-sdk-0.4.2) (2023-10-30)
6
13
 
7
14
  ### Dependency Updates
package/dist/index.cjs.js CHANGED
@@ -1482,11 +1482,11 @@ const StreamTheme = ({ as: Component = 'div', className, children, ...props }) =
1482
1482
 
1483
1483
  const DefaultDisabledVideoPreview = () => {
1484
1484
  const { t } = videoReactBindings.useI18n();
1485
- return jsxRuntime.jsx("div", { children: t('Video is disabled') });
1485
+ return (jsxRuntime.jsx("div", { className: "str_video__video-preview__disabled-video-preview", children: t('Video is disabled') }));
1486
1486
  };
1487
1487
  const DefaultNoCameraPreview = () => {
1488
1488
  const { t } = videoReactBindings.useI18n();
1489
- return jsxRuntime.jsx("div", { children: t('No camera found') });
1489
+ return (jsxRuntime.jsx("div", { className: "str_video__video-preview__no-camera-preview", children: t('No camera found') }));
1490
1490
  };
1491
1491
  const VideoPreview = ({ className, mirror = true, DisabledVideoPreview = DefaultDisabledVideoPreview, NoCameraPreview = DefaultNoCameraPreview, StartingCameraPreview = LoadingIndicator, }) => {
1492
1492
  const { useCameraState } = videoReactBindings.useCallStateHooks();
@@ -2097,7 +2097,7 @@ const VerticalScrollButtons = ({ scrollWrapper, }) => {
2097
2097
  };
2098
2098
  const hasScreenShare = (p) => !!p?.publishedTracks.includes(videoClient.SfuModels.TrackType.SCREEN_SHARE);
2099
2099
 
2100
- const [major, minor, patch] = ("0.4.2" ).split('.');
2100
+ const [major, minor, patch] = ("0.4.3" ).split('.');
2101
2101
  videoClient.setSdkInfo({
2102
2102
  type: videoClient.SfuModels.SdkType.REACT,
2103
2103
  major,