@stream-io/video-react-sdk 1.30.1 → 1.31.1
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 +27 -0
- package/dist/css/styles.css +122 -0
- package/dist/css/styles.css.map +1 -1
- package/dist/index.cjs.js +75 -90
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +76 -91
- package/dist/index.es.js.map +1 -1
- package/dist/src/core/components/CallLayout/PipLayout/Grid.d.ts +21 -0
- package/dist/src/core/components/CallLayout/PipLayout/Host.d.ts +4 -0
- package/dist/src/core/components/CallLayout/{PipLayout.d.ts → PipLayout/Pip.d.ts} +5 -11
- package/dist/src/core/components/CallLayout/PipLayout/index.d.ts +14 -0
- package/package.json +4 -4
- package/src/components/Menu/MenuToggle.tsx +3 -7
- package/src/core/components/CallLayout/PipLayout/Grid.tsx +158 -0
- package/src/core/components/CallLayout/PipLayout/Host.tsx +9 -0
- package/src/core/components/CallLayout/{PipLayout.tsx → PipLayout/Pip.tsx} +4 -15
- package/src/core/components/CallLayout/PipLayout/index.ts +5 -0
- package/src/hooks/usePersistedDevicePreferences.ts +28 -96
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.31.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.31.0...@stream-io/video-react-sdk-1.31.1) (2026-01-14)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
- `@stream-io/video-client` updated to version `1.40.1`
|
|
10
|
+
- `@stream-io/video-react-bindings` updated to version `1.12.8`
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- ensure proper set up of server-side preferences for mic and camera ([#2080](https://github.com/GetStream/stream-video-js/issues/2080)) ([3529c8f](https://github.com/GetStream/stream-video-js/commit/3529c8fc0233d3f9f8f21c80cffc4ec27334954f))
|
|
15
|
+
|
|
16
|
+
## [1.31.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.30.1...@stream-io/video-react-sdk-1.31.0) (2026-01-09)
|
|
17
|
+
|
|
18
|
+
### Dependency Updates
|
|
19
|
+
|
|
20
|
+
- `@stream-io/video-styling` updated to version `1.10.0`
|
|
21
|
+
- `@stream-io/video-client` updated to version `1.40.0`
|
|
22
|
+
- `@stream-io/video-react-bindings` updated to version `1.12.7`
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
- **react:** Add Grid View During PIP ([#2076](https://github.com/GetStream/stream-video-js/issues/2076)) ([be82657](https://github.com/GetStream/stream-video-js/commit/be826575eee9f16c971f907383fff49b31b1384b))
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
- **react:** React Compiler strips memoization and causes MenuPortal to re-mount ([#2077](https://github.com/GetStream/stream-video-js/issues/2077)) ([9ea702f](https://github.com/GetStream/stream-video-js/commit/9ea702f3a4280e2782f07c54fcb16077094a187b))
|
|
31
|
+
|
|
5
32
|
## [1.30.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.30.0...@stream-io/video-react-sdk-1.30.1) (2025-12-30)
|
|
6
33
|
|
|
7
34
|
### Dependency Updates
|
package/dist/css/styles.css
CHANGED
|
@@ -893,6 +893,128 @@
|
|
|
893
893
|
height: 1rem;
|
|
894
894
|
}
|
|
895
895
|
|
|
896
|
+
.str-video__pip-layout--grid {
|
|
897
|
+
flex-wrap: nowrap;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.str-video__pip-layout__grid-container {
|
|
901
|
+
position: relative;
|
|
902
|
+
display: flex;
|
|
903
|
+
align-items: center;
|
|
904
|
+
justify-content: center;
|
|
905
|
+
flex: 1 1 auto;
|
|
906
|
+
min-height: 0;
|
|
907
|
+
max-height: 100%;
|
|
908
|
+
overflow: hidden;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.str-video__pip-layout__pagination-button {
|
|
912
|
+
position: absolute;
|
|
913
|
+
top: 50%;
|
|
914
|
+
transform: translateY(-50%);
|
|
915
|
+
z-index: 1;
|
|
916
|
+
padding: var(--str-video__spacing-xxs);
|
|
917
|
+
min-width: auto;
|
|
918
|
+
opacity: 0.8;
|
|
919
|
+
transition: opacity 0.2s ease;
|
|
920
|
+
}
|
|
921
|
+
.str-video__pip-layout__pagination-button:hover:not(:disabled) {
|
|
922
|
+
opacity: 1;
|
|
923
|
+
}
|
|
924
|
+
.str-video__pip-layout__pagination-button .str-video__icon {
|
|
925
|
+
width: 1rem;
|
|
926
|
+
height: 1rem;
|
|
927
|
+
}
|
|
928
|
+
.str-video__pip-layout__pagination-button--left {
|
|
929
|
+
left: 0;
|
|
930
|
+
}
|
|
931
|
+
.str-video__pip-layout__pagination-button--right {
|
|
932
|
+
right: 0;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.str-video__pip-layout__grid {
|
|
936
|
+
display: grid;
|
|
937
|
+
grid-template-columns: repeat(var(--pip-cols), 1fr);
|
|
938
|
+
gap: var(--str-video__spacing-xxs);
|
|
939
|
+
width: 100%;
|
|
940
|
+
max-height: 100%;
|
|
941
|
+
flex: 1 1 auto;
|
|
942
|
+
}
|
|
943
|
+
.str-video__pip-layout__grid .str-video__participant-view {
|
|
944
|
+
width: 100%;
|
|
945
|
+
height: 100%;
|
|
946
|
+
min-width: 0;
|
|
947
|
+
min-height: 0;
|
|
948
|
+
overflow: hidden;
|
|
949
|
+
}
|
|
950
|
+
.str-video__pip-layout__grid .str-video__participant-view--speaking {
|
|
951
|
+
outline: none;
|
|
952
|
+
}
|
|
953
|
+
.str-video__pip-layout__grid .str-video__participant-view--speaking::before {
|
|
954
|
+
content: "";
|
|
955
|
+
position: absolute;
|
|
956
|
+
inset: 0;
|
|
957
|
+
border: 2px solid var(--str-video__primary-color);
|
|
958
|
+
border-radius: var(--str-video__border-radius-sm);
|
|
959
|
+
pointer-events: none;
|
|
960
|
+
z-index: 1;
|
|
961
|
+
}
|
|
962
|
+
.str-video__pip-layout__grid .str-video__participant-view .str-video__notification {
|
|
963
|
+
display: none;
|
|
964
|
+
}
|
|
965
|
+
.str-video__pip-layout__grid .str-video__video-placeholder__avatar,
|
|
966
|
+
.str-video__pip-layout__grid .str-video__video-placeholder__initials-fallback {
|
|
967
|
+
width: 32px;
|
|
968
|
+
height: 32px;
|
|
969
|
+
font-size: var(--str-video__font-size-sm);
|
|
970
|
+
}
|
|
971
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--single {
|
|
972
|
+
--pip-cols: 1;
|
|
973
|
+
}
|
|
974
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--single .str-video__video-placeholder__avatar,
|
|
975
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--single .str-video__video-placeholder__initials-fallback {
|
|
976
|
+
width: 80px;
|
|
977
|
+
height: 80px;
|
|
978
|
+
font-size: var(--str-video__font-size-xxl);
|
|
979
|
+
}
|
|
980
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--small {
|
|
981
|
+
--pip-cols: 2;
|
|
982
|
+
}
|
|
983
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--small .str-video__video-placeholder__avatar,
|
|
984
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--small .str-video__video-placeholder__initials-fallback {
|
|
985
|
+
width: 60px;
|
|
986
|
+
height: 60px;
|
|
987
|
+
font-size: var(--str-video__font-size-xl);
|
|
988
|
+
}
|
|
989
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--medium {
|
|
990
|
+
--pip-cols: 3;
|
|
991
|
+
}
|
|
992
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--medium .str-video__video-placeholder__avatar,
|
|
993
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--medium .str-video__video-placeholder__initials-fallback {
|
|
994
|
+
width: 45px;
|
|
995
|
+
height: 45px;
|
|
996
|
+
font-size: var(--str-video__font-size-md);
|
|
997
|
+
}
|
|
998
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--large {
|
|
999
|
+
--pip-cols: 4;
|
|
1000
|
+
}
|
|
1001
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--large .str-video__video-placeholder__avatar,
|
|
1002
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--large .str-video__video-placeholder__initials-fallback {
|
|
1003
|
+
width: 35px;
|
|
1004
|
+
height: 35px;
|
|
1005
|
+
font-size: var(--str-video__font-size-sm);
|
|
1006
|
+
}
|
|
1007
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--overflow {
|
|
1008
|
+
--pip-cols: 5;
|
|
1009
|
+
overflow-y: auto;
|
|
1010
|
+
}
|
|
1011
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--overflow .str-video__video-placeholder__avatar,
|
|
1012
|
+
.str-video__pip-layout__grid.str-video__pip-layout__grid--overflow .str-video__video-placeholder__initials-fallback {
|
|
1013
|
+
width: 25px;
|
|
1014
|
+
height: 25px;
|
|
1015
|
+
font-size: var(--str-video__font-size-xs);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
896
1018
|
.str-video__pip-screen-share-local {
|
|
897
1019
|
background: var(--str-video__background-color5);
|
|
898
1020
|
}
|