@xipkg/calls-compactview 0.1.54 → 0.1.56

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/dist/index.d.ts CHANGED
@@ -6,9 +6,20 @@ type CompactViewPropsT = {
6
6
  };
7
7
  declare const CompactView: ({ children }: CompactViewPropsT) => react.JSX.Element;
8
8
 
9
- declare const CompactCall: ({ saveUserChoices, withOutShadows }: {
10
- saveUserChoices?: boolean | undefined;
11
- withOutShadows?: boolean | undefined;
9
+ declare const CompactCall: ({ saveUserChoices, withOutShadows, freeDrag, stageFrame, }: {
10
+ saveUserChoices?: boolean;
11
+ withOutShadows?: boolean;
12
+ /** Панель тащится целиком в любую точку, в том числе на телефоне */
13
+ freeDrag?: boolean;
14
+ /**
15
+ * Поверх демонстрации. lockCompactModes — только портрет:
16
+ * в альбоме оставляем 16:9 и переключение на «только звук».
17
+ */
18
+ stageFrame?: {
19
+ width: number;
20
+ tileHeight: number;
21
+ lockCompactModes?: boolean;
22
+ } | null;
12
23
  }) => react.JSX.Element;
13
24
 
14
25
  interface CompactNavigationControlsProps {
@@ -18,12 +29,14 @@ interface CompactNavigationControlsProps {
18
29
  onNext: () => void;
19
30
  currentIndex: number;
20
31
  totalParticipants: number;
32
+ /** На тач-экране шире 640px hover нет — стрелки остаются видимыми */
33
+ persistent?: boolean;
21
34
  }
22
35
  /**
23
36
  * Элементы управления навигацией для компактного вида
24
37
  * Показывает кнопки навигации и индикаторы участников только при наведении
25
38
  */
26
- declare function CompactNavigationControls({ canPrev, canNext, onPrev, onNext, currentIndex, totalParticipants, }: CompactNavigationControlsProps): react.JSX.Element | null;
39
+ declare function CompactNavigationControls({ canPrev, canNext, onPrev, onNext, currentIndex, totalParticipants, persistent, }: CompactNavigationControlsProps): react.JSX.Element | null;
27
40
 
28
41
  type PiPCompactCallPropsT = {
29
42
  pipWindow: Window;