@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.
@@ -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
  }