@stream-io/video-react-sdk 1.34.2 → 1.35.0
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 +13 -0
- package/dist/css/embedded.css +54 -0
- package/dist/css/embedded.css.map +1 -1
- package/dist/css/styles.css +54 -0
- package/dist/css/styles.css.map +1 -1
- package/dist/embedded.cjs.js +90 -3
- package/dist/embedded.cjs.js.map +1 -1
- package/dist/embedded.es.js +90 -3
- package/dist/embedded.es.js.map +1 -1
- package/dist/index.cjs.js +91 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +91 -4
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/DeviceSettings/DeviceAudioPreviewItem.d.ts +6 -0
- package/dist/src/components/DeviceSettings/DeviceSelector.d.ts +11 -2
- package/dist/src/components/DeviceSettings/DeviceSelectorAudio.d.ts +1 -1
- package/dist/src/components/DeviceSettings/DeviceSelectorVideo.d.ts +1 -1
- package/dist/src/components/DeviceSettings/DeviceVideoPreviewItem.d.ts +6 -0
- package/package.json +5 -5
- package/src/components/DeviceSettings/DeviceAudioPreviewItem.tsx +83 -0
- package/src/components/DeviceSettings/DeviceSelector.tsx +70 -5
- package/src/components/DeviceSettings/DeviceSelectorAudio.tsx +3 -1
- package/src/components/DeviceSettings/DeviceSelectorVideo.tsx +5 -2
- package/src/components/DeviceSettings/DeviceVideoPreviewItem.tsx +73 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.35.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.34.2...@stream-io/video-react-sdk-1.35.0) (2026-04-09)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
- `@stream-io/video-styling` updated to version `1.13.0`
|
|
10
|
+
- `@stream-io/video-client` updated to version `1.46.0`
|
|
11
|
+
- `@stream-io/video-filters-web` updated to version `0.7.4`
|
|
12
|
+
- `@stream-io/video-react-bindings` updated to version `1.14.0`
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **react-sdk:** Device preview and level indicators to device settings ([#2186](https://github.com/GetStream/stream-video-js/issues/2186)) ([65787d2](https://github.com/GetStream/stream-video-js/commit/65787d222d01f784766e0a7eb757cb3169e08435))
|
|
17
|
+
|
|
5
18
|
## [1.34.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.34.1...@stream-io/video-react-sdk-1.34.2) (2026-04-02)
|
|
6
19
|
|
|
7
20
|
### Dependency Updates
|
package/dist/css/embedded.css
CHANGED
|
@@ -1562,6 +1562,60 @@
|
|
|
1562
1562
|
transform-origin: left center;
|
|
1563
1563
|
}
|
|
1564
1564
|
|
|
1565
|
+
.str-video__device-level-indicator {
|
|
1566
|
+
display: flex;
|
|
1567
|
+
align-items: center;
|
|
1568
|
+
gap: 0.125rem;
|
|
1569
|
+
flex-shrink: 0;
|
|
1570
|
+
margin-left: auto;
|
|
1571
|
+
}
|
|
1572
|
+
.str-video__device-level-indicator .str-video__device-level-indicator__bar {
|
|
1573
|
+
width: 0.1875rem;
|
|
1574
|
+
height: 0.75rem;
|
|
1575
|
+
border-radius: var(--str-video__border-radius-xs);
|
|
1576
|
+
background-color: var(--str-video__base-color3);
|
|
1577
|
+
transition: background-color 0.1s;
|
|
1578
|
+
}
|
|
1579
|
+
.str-video__device-level-indicator .str-video__device-level-indicator__bar--active {
|
|
1580
|
+
background-color: var(--str-video__primary-color);
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
.str-video__device-preview {
|
|
1584
|
+
appearance: none;
|
|
1585
|
+
padding: 0;
|
|
1586
|
+
border: 0;
|
|
1587
|
+
background: transparent;
|
|
1588
|
+
color: inherit;
|
|
1589
|
+
font: inherit;
|
|
1590
|
+
text-align: inherit;
|
|
1591
|
+
display: flex;
|
|
1592
|
+
flex-direction: column;
|
|
1593
|
+
align-items: stretch;
|
|
1594
|
+
max-width: 12rem;
|
|
1595
|
+
cursor: pointer;
|
|
1596
|
+
}
|
|
1597
|
+
.str-video__device-preview .str-video__device-preview__label {
|
|
1598
|
+
padding: var(--str-video__spacing-xs) 0;
|
|
1599
|
+
font-size: var(--str-video__font-size-xs);
|
|
1600
|
+
text-align: center;
|
|
1601
|
+
overflow: hidden;
|
|
1602
|
+
text-overflow: ellipsis;
|
|
1603
|
+
white-space: nowrap;
|
|
1604
|
+
}
|
|
1605
|
+
.str-video__device-preview .str-video__device-video-preview__video {
|
|
1606
|
+
display: block;
|
|
1607
|
+
width: 100%;
|
|
1608
|
+
aspect-ratio: 16/9;
|
|
1609
|
+
object-fit: cover;
|
|
1610
|
+
border-radius: var(--str-video__border-radius-sm);
|
|
1611
|
+
border: 2px solid var(--str-video__base-color3);
|
|
1612
|
+
background-color: var(--str-video__base-color5);
|
|
1613
|
+
transform: scaleX(-1);
|
|
1614
|
+
}
|
|
1615
|
+
.str-video__device-preview--selected .str-video__device-video-preview__video {
|
|
1616
|
+
border-color: var(--str-video__primary-color);
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1565
1619
|
.str-video__speaker-test {
|
|
1566
1620
|
padding: var(--str-video__spacing-sm) 0;
|
|
1567
1621
|
}
|