@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.
- package/dist/playkit-js-ui.d.ts +10 -7
- package/dist/playkit-ui.js +1 -1
- package/dist/playkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/src/components/bottom-bar/_bottom-bar.scss +1 -25
- package/src/components/bottom-bar/bottom-bar.tsx +12 -16
- package/src/components/top-bar/_top-bar.scss +1 -16
- package/src/styles/_variables.scss +0 -2
package/dist/playkit-js-ui.d.ts
CHANGED
|
@@ -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
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
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
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
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
|
*
|