@stream-io/video-react-sdk 1.0.6 → 1.0.8

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/css/styles.css +3 -3
  3. package/dist/index.cjs.js +173 -123
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.es.js +174 -124
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/src/components/Button/CompositeButton.d.ts +1 -0
  8. package/dist/src/components/CallControls/CancelCallButton.d.ts +2 -1
  9. package/dist/src/components/CallControls/ScreenShareButton.d.ts +3 -2
  10. package/dist/src/components/CallControls/ToggleAudioButton.d.ts +3 -2
  11. package/dist/src/components/CallControls/ToggleVideoButton.d.ts +3 -2
  12. package/dist/src/components/Menu/MenuToggle.d.ts +2 -1
  13. package/dist/src/components/Tooltip/WithTooltip.d.ts +4 -2
  14. package/dist/src/utilities/callControlHandler.d.ts +16 -0
  15. package/package.json +4 -4
  16. package/src/components/Button/CompositeButton.tsx +3 -0
  17. package/src/components/CallControls/CallControls.tsx +3 -3
  18. package/src/components/CallControls/CancelCallButton.tsx +12 -8
  19. package/src/components/CallControls/ReactionsButton.tsx +14 -9
  20. package/src/components/CallControls/RecordCallButton.tsx +21 -15
  21. package/src/components/CallControls/ScreenShareButton.tsx +34 -26
  22. package/src/components/CallControls/ToggleAudioButton.tsx +84 -56
  23. package/src/components/CallControls/ToggleVideoButton.tsx +87 -59
  24. package/src/components/CallParticipantsList/CallParticipantListingItem.tsx +10 -9
  25. package/src/components/DeviceSettings/DeviceSelector.tsx +4 -0
  26. package/src/components/Menu/MenuToggle.tsx +9 -0
  27. package/src/components/Tooltip/WithTooltip.tsx +7 -2
  28. package/src/core/components/Audio/ParticipantsAudio.tsx +10 -13
  29. package/src/core/components/CallLayout/LivestreamLayout.tsx +5 -7
  30. package/src/core/components/CallLayout/SpeakerLayout.tsx +3 -5
  31. package/src/core/components/ParticipantView/DefaultParticipantViewUI.tsx +12 -12
  32. package/src/core/components/ParticipantView/ParticipantActionsContextMenu.tsx +16 -14
  33. package/src/core/components/ParticipantView/ParticipantView.tsx +12 -17
  34. package/src/core/components/Video/Video.tsx +4 -4
  35. package/src/utilities/callControlHandler.ts +43 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [1.0.8](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.0.7...@stream-io/video-react-sdk-1.0.8) (2024-05-17)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@stream-io/video-styling` updated to version `1.0.3`
10
+
11
+ ### Bug Fixes
12
+
13
+ * popup-related UI updates ([#1356](https://github.com/GetStream/stream-video-js/issues/1356)) ([a1a3238](https://github.com/GetStream/stream-video-js/commit/a1a3238370b1ed5b7877f744bebea9f51a843256))
14
+
15
+ ### [1.0.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.0.6...@stream-io/video-react-sdk-1.0.7) (2024-05-16)
16
+
17
+ ### Dependency Updates
18
+
19
+ * `@stream-io/video-client` updated to version `1.0.6`
20
+ * `@stream-io/video-react-bindings` updated to version `0.4.32`
21
+
22
+ ### Bug Fixes
23
+
24
+ * **state:** aligns the participant state with other SDKs ([#1357](https://github.com/GetStream/stream-video-js/issues/1357)) ([146e6ac](https://github.com/GetStream/stream-video-js/commit/146e6acd7296488bc18f4bf5c76e9f2c9bfd97af))
25
+
5
26
  ### [1.0.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.0.5...@stream-io/video-react-sdk-1.0.6) (2024-05-16)
6
27
 
7
28
  ### Dependency Updates
@@ -2388,7 +2388,7 @@
2388
2388
  display: flex;
2389
2389
  justify-content: center;
2390
2390
  padding: 0.5rem 1rem;
2391
- z-index: 1;
2391
+ z-index: 4;
2392
2392
  max-width: 250px;
2393
2393
  width: max-content;
2394
2394
  white-space: initial;
@@ -2397,7 +2397,7 @@
2397
2397
 
2398
2398
  .str-video {
2399
2399
  /* The border radius used for the borders of the component */
2400
- --str-video__tooltip--border-radius: var(--str-video__border-radius-xxxs);
2400
+ --str-video__tooltip--border-radius: var(--str-video__border-radius-xs);
2401
2401
  /* The text/icon color of the component */
2402
2402
  --str-video__tooltip--color: var(--str-video__text-color3);
2403
2403
  /* The background color of the component */
@@ -2411,7 +2411,7 @@
2411
2411
  /* Right (left in RTL layout) border of the component */
2412
2412
  --str-video__tooltip--border-inline-end: none;
2413
2413
  /* Box shadow applied to the component */
2414
- --str-video__tooltip--box-shadow: 0 0 20px var(--str-video__background-color2);
2414
+ --str-video__tooltip--box-shadow: none;
2415
2415
  }
2416
2416
 
2417
2417
  .str-video__tooltip {