@playkit-js/playkit-js-ui 0.82.11 → 0.82.12-canary.0-06e358e
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 +23 -0
- package/dist/playkit-ui.js +1 -1
- package/dist/playkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +2 -1
- package/src/components/text-with-tooltip/index.ts +1 -0
- package/src/components/text-with-tooltip/text-with-tooltip.scss +36 -0
- package/src/components/text-with-tooltip/text-with-tooltip.tsx +93 -0
- package/src/components/title/index.ts +1 -0
- package/src/components/title/title.scss +9 -0
- package/src/components/title/title.tsx +55 -0
- package/src/reducers/config.ts +1 -0
- package/src/types/ui-options.ts +1 -0
- package/src/ui-presets/img.tsx +2 -1
- package/src/ui-presets/playback.tsx +2 -1
package/dist/playkit-js-ui.d.ts
CHANGED
|
@@ -2073,7 +2073,9 @@ declare namespace Components {
|
|
|
2073
2073
|
ClosedCaptions,
|
|
2074
2074
|
ClosedCaptions as ClosedCaptionsControl,
|
|
2075
2075
|
CaptionsControl,
|
|
2076
|
+
Title,
|
|
2076
2077
|
Audio_2 as Audio,
|
|
2078
|
+
TextWithTooltip,
|
|
2077
2079
|
EventDispatcherProvider,
|
|
2078
2080
|
WithEventDispatcherProps,
|
|
2079
2081
|
withEventDispatcher,
|
|
@@ -3476,6 +3478,7 @@ declare const initialState: {
|
|
|
3476
3478
|
allowPlayPause: boolean;
|
|
3477
3479
|
allowLivePlayPause: boolean;
|
|
3478
3480
|
showCCButton: boolean;
|
|
3481
|
+
showTitleOnUpperBar: boolean;
|
|
3479
3482
|
showAudioButton: boolean;
|
|
3480
3483
|
showAudioDescriptionButton: boolean;
|
|
3481
3484
|
openMenuFromCCButton: boolean;
|
|
@@ -7263,6 +7266,23 @@ declare type TextProps = {
|
|
|
7263
7266
|
fullscreenExitText: string;
|
|
7264
7267
|
};
|
|
7265
7268
|
|
|
7269
|
+
/**
|
|
7270
|
+
* TextWithTooltip component
|
|
7271
|
+
* A component that shows a tooltip when text is truncated (e.g., with ellipsis)
|
|
7272
|
+
*
|
|
7273
|
+
* @param {TextWithTooltipProps} props
|
|
7274
|
+
* @returns {VNode | null}
|
|
7275
|
+
*/
|
|
7276
|
+
declare const TextWithTooltip: {
|
|
7277
|
+
(props: TextWithTooltipProps): VNode;
|
|
7278
|
+
displayName: string;
|
|
7279
|
+
};
|
|
7280
|
+
|
|
7281
|
+
declare interface TextWithTooltipProps {
|
|
7282
|
+
text: string;
|
|
7283
|
+
numberOfLines?: number;
|
|
7284
|
+
}
|
|
7285
|
+
|
|
7266
7286
|
declare class ThemesManager {
|
|
7267
7287
|
private player;
|
|
7268
7288
|
private readonly config?;
|
|
@@ -7390,6 +7410,8 @@ declare class TimeDisplayPlaybackContainer extends Component<any, any> {
|
|
|
7390
7410
|
render(props: any): VNode<any>;
|
|
7391
7411
|
}
|
|
7392
7412
|
|
|
7413
|
+
declare const Title: any;
|
|
7414
|
+
|
|
7393
7415
|
/**
|
|
7394
7416
|
* Toggle Switch component
|
|
7395
7417
|
*
|
|
@@ -7903,6 +7925,7 @@ export declare interface UIOptionsObject {
|
|
|
7903
7925
|
allowPlayPause?: boolean;
|
|
7904
7926
|
allowLivePlayPause?: boolean;
|
|
7905
7927
|
showCCButton?: boolean;
|
|
7928
|
+
showTitleOnUpperBar?: boolean;
|
|
7906
7929
|
showAudioDescriptionButton?: boolean;
|
|
7907
7930
|
showMediaInfo?: MediaInfoConfig;
|
|
7908
7931
|
openMenuFromCCButton?: boolean;
|