@playkit-js/playkit-js-ui 0.79.8 → 0.79.9

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.
@@ -43,6 +43,7 @@ import { ProviderPlaylistInfoObject } from '@playkit-js/playkit-js-providers/typ
43
43
  import { ProviderPlaylistMetadataObject } from '@playkit-js/playkit-js-providers/types';
44
44
  import { ProviderPlaylistObject } from '@playkit-js/playkit-js-providers/types';
45
45
  import * as redux from 'react-redux';
46
+ import { RefObject } from 'preact';
46
47
  import { RenderableProps } from 'preact';
47
48
  import { StateType } from '@playkit-js/playkit-js';
48
49
  import { Store } from 'redux';
@@ -1657,10 +1658,12 @@ declare function bindActions<A, M extends ActionCreatorsMapObject<A>>(actions: M
1657
1658
  * @extends {Component}
1658
1659
  */
1659
1660
  declare class BottomBar extends Component<any, any> {
1660
- private bottomBarContainerRef;
1661
- private presetControls;
1662
- private currentBarWidth;
1663
- private resizeObserver;
1661
+ bottomBarContainerRef: RefObject<HTMLDivElement>;
1662
+ presetControls: {
1663
+ [controlName: string]: boolean;
1664
+ };
1665
+ currentBarWidth: number;
1666
+ resizeObserver: ResizeObserver;
1664
1667
  constructor(props: any);
1665
1668
  /**
1666
1669
  * when component did update
@@ -1670,9 +1673,9 @@ declare class BottomBar extends Component<any, any> {
1670
1673
  */
1671
1674
  componentDidMount(): void;
1672
1675
  componentWillUnmount(): void;
1673
- private onBarWidthChange;
1674
- private onToggleControl;
1675
- private filterControls;
1676
+ onBarWidthChange(entry: ResizeObserverEntry[]): void;
1677
+ onToggleControl: (controlName: string, isActive: boolean) => void;
1678
+ filterControls(currentBarWidth: number, currentMinBreakPointWidth: number, currentControlWidth: number, lowerPriorityControls: string[][]): void;
1676
1679
  /**
1677
1680
  * render component
1678
1681
  *