@stream-io/video-react-sdk 1.34.1 → 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 +24 -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 +91 -6
- package/dist/embedded.cjs.js.map +1 -1
- package/dist/embedded.es.js +91 -6
- package/dist/embedded.es.js.map +1 -1
- package/dist/index.cjs.js +92 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +92 -7
- 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/src/core/components/ParticipantView/DefaultParticipantViewUI.tsx +3 -4
package/dist/css/styles.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
|
}
|