@playkit-js/transcript 3.3.0 → 3.3.1-canary.2-ccbf877
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/CHANGELOG.md +7 -0
- package/dist/playkit-transcript.js +1 -1
- package/dist/playkit-transcript.js.map +1 -1
- package/package.json +2 -2
- package/src/components/autoscroll-button/autoscroll-button.tsx +1 -1
- package/src/components/caption/caption.tsx +1 -1
- package/src/components/close-button/index.tsx +1 -1
- package/src/components/plugin-button/plugin-button.tsx +1 -1
- package/src/components/search/search.tsx +2 -2
- package/src/components/transcript/transcript.tsx +1 -1
- package/src/transcript-plugin.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playkit-js/transcript",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1-canary.2-ccbf877",
|
|
4
4
|
"main": "dist/playkit-transcript.js",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"private": false,
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"html5 player"
|
|
68
68
|
],
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@playkit-js/common": "^1.1.
|
|
70
|
+
"@playkit-js/common": "^1.1.2",
|
|
71
71
|
"@playkit-js/playkit-js-ui": "^0.73.0",
|
|
72
72
|
"@playkit-js/ui-managers": "^1.3.2",
|
|
73
73
|
"cypress": "^12.3.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {h} from 'preact';
|
|
2
2
|
import * as styles from './autoscroll-button.scss';
|
|
3
|
-
import {A11yWrapper, OnClick} from '@playkit-js/common';
|
|
3
|
+
import {A11yWrapper, OnClick} from '@playkit-js/common/dist/hoc/a11y-wrapper';
|
|
4
4
|
|
|
5
5
|
const {withText, Text} = KalturaPlayer.ui.preacti18n;
|
|
6
6
|
const {Tooltip} = KalturaPlayer.ui.components;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {Component, h} from 'preact';
|
|
2
|
-
import {A11yWrapper, OnClickEvent} from '@playkit-js/common';
|
|
2
|
+
import {A11yWrapper, OnClickEvent} from '@playkit-js/common/dist/hoc/a11y-wrapper';
|
|
3
3
|
import {secontsToTime} from '../../utils';
|
|
4
4
|
import {CuePointData} from '../../types';
|
|
5
5
|
import * as styles from './caption.scss';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {h} from 'preact';
|
|
2
2
|
import * as styles from './close-button.scss';
|
|
3
|
-
import {A11yWrapper} from '@playkit-js/common';
|
|
3
|
+
import {A11yWrapper} from '@playkit-js/common/dist/hoc/a11y-wrapper';
|
|
4
4
|
import {icons} from '../icons';
|
|
5
5
|
const {Icon} = KalturaPlayer.ui.components;
|
|
6
6
|
const {withText, Text} = KalturaPlayer.ui.preacti18n;
|
|
@@ -2,7 +2,7 @@ import {h} from 'preact';
|
|
|
2
2
|
import * as styles from './plugin-button.scss';
|
|
3
3
|
import {ui} from 'kaltura-player-js';
|
|
4
4
|
import {icons} from '../icons';
|
|
5
|
-
import {A11yWrapper, OnClick} from '@playkit-js/common';
|
|
5
|
+
import {A11yWrapper, OnClick} from '@playkit-js/common/dist/hoc/a11y-wrapper';
|
|
6
6
|
|
|
7
7
|
const {Tooltip, Icon} = KalturaPlayer.ui.components;
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {h, Component} from 'preact';
|
|
2
|
-
import {InputField} from '@playkit-js/common';
|
|
2
|
+
import {InputField} from '@playkit-js/common/dist/components/input-field';
|
|
3
3
|
|
|
4
4
|
const {withText, Text} = KalturaPlayer.ui.preacti18n;
|
|
5
5
|
const translates = ({activeSearchIndex, totalSearchResults}: SearchProps) => ({
|
|
@@ -54,7 +54,7 @@ class SearchComponent extends Component<SearchProps> {
|
|
|
54
54
|
componentDidUpdate(previousProps: Readonly<SearchProps>): void {
|
|
55
55
|
const {kitchenSinkActive, toggledWithEnter} = this.props;
|
|
56
56
|
if (!previousProps.kitchenSinkActive && kitchenSinkActive && toggledWithEnter) {
|
|
57
|
-
this._inputField?.setFocus();
|
|
57
|
+
this._inputField?.setFocus({preventScroll: true});
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {h, Component} from 'preact';
|
|
2
|
-
import {OnClickEvent, OnClick} from '@playkit-js/common';
|
|
2
|
+
import {OnClickEvent, OnClick} from '@playkit-js/common/dist/hoc/a11y-wrapper';
|
|
3
3
|
import {debounce} from '../../utils';
|
|
4
4
|
import * as styles from './transcript.scss';
|
|
5
5
|
import {Spinner} from '../spinner';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {h} from 'preact';
|
|
2
|
-
import {OnClickEvent} from '@playkit-js/common';
|
|
2
|
+
import {OnClickEvent} from '@playkit-js/common/dist/hoc/a11y-wrapper';
|
|
3
3
|
import {ui} from 'kaltura-player-js';
|
|
4
4
|
import {UpperBarManager, SidePanelsManager} from '@playkit-js/ui-managers';
|
|
5
5
|
import {ObjectUtils, downloadContent, printContent} from './utils';
|