diff --git a/package.json b/package.json index 3341096..c852683 100644 --- a/package.json +++ b/package.json @@ -12,13 +12,14 @@ "url": "git+https://github.com/kaltura/playkit-js-navigation.git" }, "dependencies": { - "@playkit-js/common": "^1.2.10", - "@playkit-js/playkit-js-ui": "^0.77.3", - "@playkit-js/ui-managers": "^1.3.11", - "sanitize-html": "^2.11.0" + "@playkit-js/common": "1.5.8", + "@playkit-js/playkit-js-ui": "0.78.1-canary.0-a561b43", + "@playkit-js/ui-managers": "^1.5.2", + "sanitize-html": "2.11.0" }, "devDependencies": { - "@playkit-js/kaltura-player-js": "3.15.3-canary.0-d05bc55", + "@playkit-js/kaltura-player-js": "3.17.10-canary.0-7871537", + "@types/sanitize-html": "^2.11.0", "conventional-github-releaser": "3.1.3", "cross-env": "^7.0.3", "css-loader": "^6.7.1", @@ -37,7 +38,7 @@ "webpack-dev-server": "^4.9.0" }, "peerDependencies": { - "@playkit-js/kaltura-player-js": "canary" + "@playkit-js/kaltura-player-js": "3.17.10-canary.0-7871537" }, "license": "AGPL-3.0", "files": [ diff --git a/src/components/close-button/index.tsx b/src/components/close-button/index.tsx index 69bef8c..8605775 100644 --- a/src/components/close-button/index.tsx +++ b/src/components/close-button/index.tsx @@ -1,5 +1,5 @@ import {h} from 'preact'; -import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; import * as styles from './close-button.scss'; import {A11yWrapper} from '@playkit-js/common/dist/hoc/a11y-wrapper'; import {icons} from '../icons'; @@ -10,7 +10,7 @@ interface CloseButtonProps { closeButtonLabel?: string; } -const {withText, Text} = ui.preacti18n; +const {withText, Text} = preacti18n; const translates = { closeButtonLabel: Hide Navigation diff --git a/src/components/error/error.tsx b/src/components/error/error.tsx index 130071e..b503ff2 100644 --- a/src/components/error/error.tsx +++ b/src/components/error/error.tsx @@ -1,10 +1,10 @@ import {h} from 'preact'; -import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; import {A11yWrapper} from '@playkit-js/common/dist/hoc/a11y-wrapper'; import * as styles from './error.scss'; import {ErrorIconSVG} from '../icons/error-icon'; -const {withText, Text} = ui.preacti18n; +const {withText, Text} = preacti18n; export interface ErrorProps { onRetryLoad: () => void; diff --git a/src/components/loading/loading.tsx b/src/components/loading/loading.tsx index c0294d4..2b7ba45 100644 --- a/src/components/loading/loading.tsx +++ b/src/components/loading/loading.tsx @@ -1,9 +1,9 @@ import {h} from 'preact'; -import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; import * as styles from './loading.scss'; import {LoaderIconSVG} from '../icons/loader-icon'; -const {withText, Text} = ui.preacti18n; +const {withText, Text} = preacti18n; const translates = { loading: Loading diff --git a/src/components/navigation-filter/navigation-filter.tsx b/src/components/navigation-filter/navigation-filter.tsx index 3e8d950..e5dd187 100644 --- a/src/components/navigation-filter/navigation-filter.tsx +++ b/src/components/navigation-filter/navigation-filter.tsx @@ -1,12 +1,13 @@ import {h, Component, Fragment} from 'preact'; import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; import {A11yWrapper} from '@playkit-js/common/dist/hoc/a11y-wrapper'; import * as styles from './navigation-filter.scss'; import {ItemTypes, ItemTypesTranslates} from '../../types'; import {IconsFactory} from '../navigation/icons/IconsFactory'; -const {Tooltip} = KalturaPlayer.ui.components; -const {withText, Text} = ui.preacti18n; +const {Tooltip} = ui.components; +const {withText, Text} = preacti18n; const translates = (props: FilterProps) => { const {activeTab, totalResults, listDataContainCaptions} = props; @@ -98,7 +99,8 @@ export class NavigationFilter extends Component { componentDidUpdate(previousProps: Readonly, previousState: Readonly<{}>, snapshot: any) { if (previousProps.totalResults !== this.props.totalResults) { const noResultsFound = `${this.props.noResultTitle}. ${this.props.noResultDescription}`; - const searchResultsLabel = this.props.totalResults === null ? '' : (this.props.totalResults > 0 ? this.props.searchResultsLabel! : noResultsFound); + const searchResultsLabel = + this.props.totalResults === null ? '' : this.props.totalResults > 0 ? this.props.searchResultsLabel! : noResultsFound; this.props.setTextToRead(searchResultsLabel); } } diff --git a/src/components/navigation-search/navigation-search.tsx b/src/components/navigation-search/navigation-search.tsx index 0b8db66..646212c 100644 --- a/src/components/navigation-search/navigation-search.tsx +++ b/src/components/navigation-search/navigation-search.tsx @@ -1,9 +1,9 @@ import {h, Component} from 'preact'; -import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; import {InputField} from '@playkit-js/common/dist/components/input-field'; import {debounce} from '@playkit-js/common/dist/utils-common/utils'; -const {withText, Text} = ui.preacti18n; +const {withText, Text} = preacti18n; const translates = { searchPlaceholder: Search in video, diff --git a/src/components/navigation/autoscroll-button/autoscroll-button.tsx b/src/components/navigation/autoscroll-button/autoscroll-button.tsx index df1b2fb..486980c 100644 --- a/src/components/navigation/autoscroll-button/autoscroll-button.tsx +++ b/src/components/navigation/autoscroll-button/autoscroll-button.tsx @@ -1,10 +1,11 @@ import {h} from 'preact'; import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; import * as styles from './autoscroll-button.scss'; import {A11yWrapper, OnClick} from '@playkit-js/common/dist/hoc/a11y-wrapper'; -const {withText, Text} = ui.preacti18n; -const {Tooltip} = KalturaPlayer.ui.components; +const {withText, Text} = preacti18n; +const {Tooltip} = ui.components; interface AutoscrollButtonProps { onClick: OnClick; @@ -26,7 +27,7 @@ export const AutoscrollButton = withText(translates)( tabIndex={isAutoScrollEnabled ? -1 : 1} aria-label={autoScrollLabel} ref={setAutoscrollButtonRef}> - + No Results Found, diff --git a/src/components/navigation/icons/EmptyState.tsx b/src/components/navigation/icons/EmptyState.tsx index c3d9cbe..c6910f7 100644 --- a/src/components/navigation/icons/EmptyState.tsx +++ b/src/components/navigation/icons/EmptyState.tsx @@ -1,35 +1,30 @@ import {h} from 'preact'; import * as styles from './EmptyState.scss'; -import {ARROW_IMG, CURLY_LINE_IMG} from "../../constants/svgs"; -import {ui} from '@playkit-js/kaltura-player-js'; -const {withText, Text} = ui.preacti18n; +import {ARROW_IMG, CURLY_LINE_IMG} from '../../constants/svgs'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; +const {withText, Text} = preacti18n; interface EmptyStateProps { - searchPlaceholder?: string; - searchDescription?: string; + searchPlaceholder?: string; + searchDescription?: string; } const translates = { - searchPlaceholder: Search in video, - searchDescription: You can search the video captions for specific words or phrases. + searchPlaceholder: Search in video, + searchDescription: You can search the video captions for specific words or phrases. }; export const EmptyState = withText(translates)((props: EmptyStateProps) => { return ( -
-
- - - - -
-

- {props.searchPlaceholder} -

-

- {props.searchDescription} - -

+
+
+ + + +
+

{props.searchPlaceholder}

+

{props.searchDescription}

+
); }); diff --git a/src/components/navigation/icons/IconsFactory.tsx b/src/components/navigation/icons/IconsFactory.tsx index 22853c1..d54c74e 100644 --- a/src/components/navigation/icons/IconsFactory.tsx +++ b/src/components/navigation/icons/IconsFactory.tsx @@ -6,7 +6,7 @@ import {ChapterIcon} from './ChapterIcon'; import {SlideIcon} from './SlideIcon'; import {CaptionIcon} from './CaptionIcon'; import * as styles from './IconsFactory.scss'; -import {QuizIcon} from "@playkit-js/common/dist/icon/icons/quiz"; +import {QuizIcon} from '@playkit-js/common/dist/icon/icons/quiz'; export interface Props { iconType: ItemTypes; color?: any; diff --git a/src/components/navigation/index.tsx b/src/components/navigation/index.tsx index 66a1a82..98a907a 100644 --- a/src/components/navigation/index.tsx +++ b/src/components/navigation/index.tsx @@ -1,5 +1,5 @@ import {h, Component} from 'preact'; -import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n, utils} from '@playkit-js/playkit-js-ui'; import * as styles from './navigaton.scss'; import {OnClick} from '@playkit-js/common/dist/hoc/a11y-wrapper'; import {NavigationList, Props} from './navigation-list/NavigationList'; @@ -22,8 +22,8 @@ import {ItemTypes, ItemData, HighlightedMap, ItemTypesTranslates} from '../../ty import {CloseButton} from '../close-button'; import {ScreenReaderContext, ScreenReaderProvider} from '@playkit-js/common/dist/hoc/sr-wrapper'; -const {KeyMap} = ui.utils; -const {withText, Text} = ui.preacti18n; +const {KeyMap} = utils; +const {withText, Text} = preacti18n; export interface SearchFilter { searchQuery: string; @@ -95,10 +95,10 @@ class TranslatedNavigationFilter extends Component {(setTextToRead: (textToRead: string, delay?: number | undefined) => void) => { - return ; + return ; }} - ) + ); } } @@ -106,7 +106,7 @@ class TranslatedNavigationFilter extends Component> { render() { const itemTypesTranslates = getItemTypesTranslates(this.props); - return + return ; } } diff --git a/src/components/navigation/navigation-item/NavigationItem.scss b/src/components/navigation/navigation-item/NavigationItem.scss index a173854..ac8d20b 100644 --- a/src/components/navigation/navigation-item/NavigationItem.scss +++ b/src/components/navigation/navigation-item/NavigationItem.scss @@ -124,3 +124,9 @@ border-radius: 3px; } } + +.expandable-text:not(.expanded) { + display: flex; + justify-content: space-between; + gap: 8px; +} diff --git a/src/components/navigation/navigation-item/NavigationItem.tsx b/src/components/navigation/navigation-item/NavigationItem.tsx index 77d29e5..0aa7332 100644 --- a/src/components/navigation/navigation-item/NavigationItem.tsx +++ b/src/components/navigation/navigation-item/NavigationItem.tsx @@ -1,14 +1,13 @@ import {Component, h, Fragment} from 'preact'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; +import {ui} from '@playkit-js/kaltura-player-js'; import {A11yWrapper} from '@playkit-js/common/dist/hoc/a11y-wrapper'; import * as styles from './NavigationItem.scss'; import {GroupTypes, ItemData} from '../../../types'; import {IconsFactory} from '../icons/IconsFactory'; -import {ui} from '@playkit-js/kaltura-player-js'; - -//@ts-ignore -const {ExpandableText} = ui.Components; -const {Text, Localizer} = KalturaPlayer.ui.preacti18n; +const {ExpandableText} = ui.components; +const {Text, Localizer} = preacti18n; export interface NavigationItemProps { data: ItemData; @@ -149,8 +148,9 @@ export class NavigationItem extends Component @@ -176,7 +176,8 @@ export class NavigationItem extends Component {displayDescription} diff --git a/src/components/navigation/plugin-button/index.tsx b/src/components/navigation/plugin-button/index.tsx index eca68b3..fe27457 100644 --- a/src/components/navigation/plugin-button/index.tsx +++ b/src/components/navigation/plugin-button/index.tsx @@ -1,11 +1,12 @@ import {h} from 'preact'; import {ui} from '@playkit-js/kaltura-player-js'; +import {preacti18n} from '@playkit-js/playkit-js-ui'; import * as styles from './plugin-button.scss'; import {icons} from '../../icons'; -import { pluginName } from "../../../navigation-plugin"; +import {pluginName} from '../../../navigation-plugin'; -const {Tooltip, Icon} = KalturaPlayer.ui.components; -const {withText, Text} = ui.preacti18n; +const {Tooltip, Icon} = ui.components; +const {withText, Text} = preacti18n; const translates = ({isActive}: PluginButtonProps) => { return { @@ -21,23 +22,23 @@ interface PluginButtonProps { export const PluginButton = withText(translates)(({isActive, setRef, ...otherProps}: PluginButtonProps) => { return ( - - + + ); }); diff --git a/src/navigation-plugin.tsx b/src/navigation-plugin.tsx index 3feef36..c3c05f3 100644 --- a/src/navigation-plugin.tsx +++ b/src/navigation-plugin.tsx @@ -1,7 +1,5 @@ -// @ts-ignore import {core, ui} from '@playkit-js/kaltura-player-js'; import {h} from 'preact'; -// @ts-ignore import * as sanitizeHtml from 'sanitize-html'; import {UpperBarManager, SidePanelsManager} from '@playkit-js/ui-managers'; import {OnClickEvent} from '@playkit-js/common/dist/hoc/a11y-wrapper'; @@ -158,7 +156,7 @@ export class NavigationPlugin extends KalturaPlayer.core.BasePlugin { private _sanitizeCaptions = (data: ItemData[]) => { return data.map(itemData => ({ ...itemData, - displayTitle: sanitizeHtml(itemData.displayTitle || '', {allowedTags: []}) + displayTitle: sanitizeHtml(typeof itemData.displayTitle === 'string' ? itemData.displayTitle : '', {allowedTags: []}) })); }; @@ -364,7 +362,7 @@ export class NavigationPlugin extends KalturaPlayer.core.BasePlugin { itemsOrder={this._itemsOrder} ref={node => (this._navigationPluginRef = node)} /> - ); + ) as any; }, presets: [ReservedPresetNames.Playback, ReservedPresetNames.Live, ReservedPresetNames.Ads], position: this.config.position, @@ -372,8 +370,6 @@ export class NavigationPlugin extends KalturaPlayer.core.BasePlugin { onDeactivate: this._deactivatePlugin }) as number; - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore this._navigationIcon = this.upperBarManager!.add({ // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore @@ -383,7 +379,7 @@ export class NavigationPlugin extends KalturaPlayer.core.BasePlugin { svgIcon: {path: icons.PLUGIN_ICON, viewBox: `0 0 ${icons.BigSize} ${icons.BigSize}`}, onClick: this._handleClickOnPluginIcon as () => void, component: () => { - return ; + return () as any; } }) as number; diff --git a/yarn.lock b/yarn.lock index 2cdd8bf..5bb66a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23,14 +23,6 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/polyfill@^7.0.0": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.12.1.tgz#1f2d6371d1261bbd961f3c5d5909150e12d0bd96" - integrity sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g== - dependencies: - core-js "^2.6.5" - regenerator-runtime "^0.13.4" - "@babel/runtime@^7.15.4", "@babel/runtime@^7.9.2": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.6.tgz#6a1ef59f838debd670421f8c7f2cbb8da9751580" @@ -38,6 +30,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.5.5": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.9.tgz#47791a15e4603bb5f905bc0753801cf21d6345f7" + integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw== + dependencies: + regenerator-runtime "^0.14.0" + "@colors/colors@1.5.0": version "1.5.0" resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" @@ -130,6 +129,15 @@ resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== +"@playkit-js/common@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@playkit-js/common/-/common-1.5.8.tgz#b19fe6cbcc23a5927e4724faee786649e52bb841" + integrity sha512-tMTAtNdIDr1Maely/zP6RltaREiewnssxEpeD8Z+3hWeYvUcCHK5ODzR1vutPvou/MOrjT+lFj80f2qRnsfRrg== + dependencies: + "@playkit-js/playkit-js-ui" "0.78.0" + classnames "^2.3.2" + linkify-it "^4.0.1" + "@playkit-js/common@^1.2.10": version "1.2.10" resolved "https://registry.yarnpkg.com/@playkit-js/common/-/common-1.2.10.tgz#c66edc706ae449689b53ccf342dc0eb9f18a9dbe" @@ -139,47 +147,63 @@ classnames "^2.3.2" linkify-it "^4.0.1" -"@playkit-js/kaltura-player-js@3.15.3-canary.0-d05bc55": - version "3.15.3-canary.0-d05bc55" - resolved "https://registry.yarnpkg.com/@playkit-js/kaltura-player-js/-/kaltura-player-js-3.15.3-canary.0-d05bc55.tgz#bce3fa601f4c49963bc1cff04844cbbcc5ad2c48" - integrity sha512-7WqzC8MZloO/jIswLW4vOrhjMrt3i1QPX4S6fUX8adBPXYzJWDdxT1RlqVAU2NjR/oMKLsUoBm/dLZBP2HOV2w== - dependencies: - "@babel/polyfill" "^7.0.0" - "@playkit-js/playkit-js" "0.82.7-canary.0-76e938d" - "@playkit-js/playkit-js-dash" "1.35.0-canary.0-799d1b8" - "@playkit-js/playkit-js-hls" "1.32.8-canary.0-671f986" - "@playkit-js/playkit-js-providers" "2.39.5-canary.0-9ee39ec" - "@playkit-js/playkit-js-ui" "0.77.8-canary.0-e6d27a2" - "@types/preact-i18n" "^2.3.1" - hls.js "1.4.11" - intersection-observer "^0.12.0" - proxy-polyfill "^0.3.0" - shaka-player "4.3.7" - -"@playkit-js/playkit-js-dash@1.35.0-canary.0-799d1b8": - version "1.35.0-canary.0-799d1b8" - resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-dash/-/playkit-js-dash-1.35.0-canary.0-799d1b8.tgz#d88106596cf84ae4a448dcf352b7124d3381524b" - integrity sha512-6CMiyPoI57Tkybs8qkCDFwaPqzRezD7tZC69WWztIjhpiSZEjqMFHp6C0/Ez3LG/MMuR8gxWW37606ioiLtHMw== - -"@playkit-js/playkit-js-hls@1.32.8-canary.0-671f986": - version "1.32.8-canary.0-671f986" - resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-hls/-/playkit-js-hls-1.32.8-canary.0-671f986.tgz#49c89593128c8b6aa6a1cecd694377b5c9a611db" - integrity sha512-dUzOSsXorNxaeeujPEqeJToaFonr57JtgUoQWurI9T5ukaxjw/L4OsjpF75oF/tiNdamopfQnVlqjlTgMg8Fgg== - -"@playkit-js/playkit-js-providers@2.39.5-canary.0-9ee39ec": - version "2.39.5-canary.0-9ee39ec" - resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-providers/-/playkit-js-providers-2.39.5-canary.0-9ee39ec.tgz#58f7f0f0e72eb7b98f3bb9f2af53ea78e0a57771" - integrity sha512-CvMgRnQEiAoL64SGY5lKNwxoox8nQjS6Nt/vvEgK/kaksSXYDvccktH+rOFK32+WgCaE4Q2YEkXKjdJIU6eBEw== - -"@playkit-js/playkit-js-ui@0.77.8-canary.0-e6d27a2": - version "0.77.8-canary.0-e6d27a2" - resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-ui/-/playkit-js-ui-0.77.8-canary.0-e6d27a2.tgz#60418096da68ed0c4ddcdc63f5be515abcbf3e09" - integrity sha512-VVLjtIYxFb0KTivyW799kxrfeAJJcVUe3vFYE+i5c92HS92SY8OWAbf7/4M/K0jsuF0S0ZPr2S2oI7IMCL1bgQ== +"@playkit-js/kaltura-player-js@3.17.10-canary.0-7871537": + version "3.17.10-canary.0-7871537" + resolved "https://registry.yarnpkg.com/@playkit-js/kaltura-player-js/-/kaltura-player-js-3.17.10-canary.0-7871537.tgz#032868c2acabd1b9adb25bbaf87890ffb22d23ce" + integrity sha512-ZvtF1uiIwXVMYwoW9vPBQAafZaN3PZ6E4/7vuH7d8h3uRHiIDGJ61CrtOAcxFy3xsebeFZDVkP6JdPJ17AxxEQ== dependencies: - preact "^10.3.4" - preact-i18n "^2.0.0-preactx.2" - react-redux "^7.2.0" - redux "^4.0.5" + "@playkit-js/playkit-js" "0.84.6-canary.0-0744337" + "@playkit-js/playkit-js-dash" "1.36.2" + "@playkit-js/playkit-js-hls" "1.32.11" + "@playkit-js/playkit-js-providers" "2.40.4-canary.0-b3e5269" + "@playkit-js/playkit-js-ui" "0.78.1-canary.0-e3fa3c6" + hls.js "1.4.11" + shaka-player "4.7.0" + +"@playkit-js/playkit-js-dash@1.36.2": + version "1.36.2" + resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-dash/-/playkit-js-dash-1.36.2.tgz#9321960db414008a4697b3545950445141161958" + integrity sha512-dE3PLnhJ3haM1pyrjDg+VE2qYHrSrop0U1jV1R8c0SJ9vLLtFQehlQlQ4F/h0oGLloqbihqvs+cT4mlWSfbOJA== + +"@playkit-js/playkit-js-hls@1.32.11": + version "1.32.11" + resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-hls/-/playkit-js-hls-1.32.11.tgz#0d4d514750a660e9899d04e97482af6311355707" + integrity sha512-YWhFAYeBpONeENRQbmm6901FtkT4vwzu8O5mzrrty7TUGR3zXpBGszul1bngAZQWS6UZ5vpuvAuLSz+37BFUpg== + +"@playkit-js/playkit-js-providers@2.40.4-canary.0-b3e5269": + version "2.40.4-canary.0-b3e5269" + resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-providers/-/playkit-js-providers-2.40.4-canary.0-b3e5269.tgz#0505713d1ca5dae3178704d1ef23e043f782289a" + integrity sha512-W9fHWtdAZgsXJhfEEqXEPIbqXBLuOQsTjRq/sDZXnuaBfPXZAZYNrIG10DCGUbeXGiNq/s8oomZOEskwSbsL1Q== + +"@playkit-js/playkit-js-ui@0.78.0": + version "0.78.0" + resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-ui/-/playkit-js-ui-0.78.0.tgz#263539e8a448f312c19667608a434eef1e7761f6" + integrity sha512-keBkyzg8FtmmvWa+sA/6vpgYBCFGMcreqZ6AYPueOc4zbhOI26UBfMR2JS84rY4QIujv0E06j5Ict5YRGwvlDw== + dependencies: + preact "10.4.6" + preact-i18n "2.0.0-preactx.2" + react-redux "7.2.1" + redux "4.0.5" + +"@playkit-js/playkit-js-ui@0.78.1-canary.0-a561b43": + version "0.78.1-canary.0-a561b43" + resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-ui/-/playkit-js-ui-0.78.1-canary.0-a561b43.tgz#642d46fc92d71095ebca527983e1affa779d0a1f" + integrity sha512-DSnbc/HRMb2ZK2q7DxtNrzRU+VXYWgZ6JuOC9wB8hoQNApAQeV/cyvpy4lvqldoiXCgkLgL7kz7OaG62PokkLw== + dependencies: + preact "10.4.6" + preact-i18n "2.0.0-preactx.2" + react-redux "7.2.1" + redux "4.0.5" + +"@playkit-js/playkit-js-ui@0.78.1-canary.0-e3fa3c6": + version "0.78.1-canary.0-e3fa3c6" + resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-ui/-/playkit-js-ui-0.78.1-canary.0-e3fa3c6.tgz#4cc9692fbc5084fca63d8345ec68be041c5f2935" + integrity sha512-S290cC7uYSXsfaLyrInh01qS/sa6tETeyX+S6jmIV2HsHi3CCFvE4XNuZ8hT/sxtQhhV8/F1uMcLRW6JvkIXxg== + dependencies: + preact "10.4.6" + preact-i18n "2.0.0-preactx.2" + react-redux "7.2.1" + redux "4.0.5" "@playkit-js/playkit-js-ui@^0.77.1": version "0.77.1" @@ -191,28 +215,18 @@ react-redux "^7.2.0" redux "^4.0.5" -"@playkit-js/playkit-js-ui@^0.77.3": - version "0.77.3" - resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-ui/-/playkit-js-ui-0.77.3.tgz#5e3142e736fca96f459980ab3c954a15c50f3cec" - integrity sha512-5Cl91euY1r5p3FMxtYajv9NMvZ+mC8+FvnHpyTsrYUAK1f8lQxPwtlZsoYz1qqPf+FEdRxJ8kU2M4o2xpNgH0g== - dependencies: - preact "^10.3.4" - preact-i18n "^2.0.0-preactx.2" - react-redux "^7.2.0" - redux "^4.0.5" - -"@playkit-js/playkit-js@0.82.7-canary.0-76e938d": - version "0.82.7-canary.0-76e938d" - resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js/-/playkit-js-0.82.7-canary.0-76e938d.tgz#682d5f579476e207bfb8cb1c241d52138d3cf318" - integrity sha512-CerNLq98qhSqjFlNfVwRZSrwdTUsL3JbiqaXmg7N4umCCKkcviQuSf+M+rBMhEg98pNDeORfeUkL+2cm9Ohk+g== +"@playkit-js/playkit-js@0.84.6-canary.0-0744337": + version "0.84.6-canary.0-0744337" + resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js/-/playkit-js-0.84.6-canary.0-0744337.tgz#4c5804c09f2a79f5932efe5ea51147a1467de8c3" + integrity sha512-jolRpEz10x9lmNMvHriHgj69NdvvDvBwIEjzppAu6BId+GwWYrinEZbYd5Sdvcz1EtAeezCX+mvllkJlKpZS9g== dependencies: js-logger "^1.6.0" - ua-parser-js "1.0.2" + ua-parser-js "^1.0.36" -"@playkit-js/ui-managers@^1.3.11": - version "1.3.11" - resolved "https://registry.yarnpkg.com/@playkit-js/ui-managers/-/ui-managers-1.3.11.tgz#3b3531a699ffa8d2cb1f4702e514ab7686553c98" - integrity sha512-t+NOfm8LDo0IhLX90Wbmod6FP+xavzKk9JSNZ3ByJvAg0NpnVeuvdD1sPPorRsf7LQu9cbMWvz6T+Z+F7BnSNQ== +"@playkit-js/ui-managers@^1.5.2": + version "1.5.2" + resolved "https://registry.yarnpkg.com/@playkit-js/ui-managers/-/ui-managers-1.5.2.tgz#107025b4b9763e33fad72015546743fb78f9398b" + integrity sha512-DmtMmXx7hN/Pyw5wwhwgo/XFvFyliYW6w3OV4cVcCUEnU/RJ5Fy0wW/RZkpgAI5m/Xb6J+UFY76ElekOPC7RSw== dependencies: "@playkit-js/common" "^1.2.10" @@ -341,13 +355,6 @@ resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== -"@types/preact-i18n@^2.3.1": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@types/preact-i18n/-/preact-i18n-2.3.2.tgz#7b5a31e1c84ead424e8c6ed3d57a02487d430fc7" - integrity sha512-j1J/f9yzds7X3RP7oIO5wL+owXJyULv0qRWcX/eVGP/Ojw8SdTjXAi722vv2Iv5GtMgshVCS1QEQFJRT8/qwHQ== - dependencies: - preact "^10.0.0" - "@types/prop-types@*": version "15.7.5" resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" @@ -387,6 +394,13 @@ resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== +"@types/sanitize-html@^2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@types/sanitize-html/-/sanitize-html-2.11.0.tgz#582d8c72215c0228e3af2be136e40e0b531addf2" + integrity sha512-7oxPGNQHXLHE48r/r/qjn7q0hlrs3kL7oZnGj0Wf/h9tj/6ibFyRkNbsDxaBBZ4XUZ0Dx5LGCyDJ04ytSofacQ== + dependencies: + htmlparser2 "^8.0.0" + "@types/scheduler@*": version "0.16.2" resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" @@ -1538,11 +1552,6 @@ copy-concurrently@^1.0.0: rimraf "^2.5.4" run-queue "^1.0.0" -core-js@^2.6.5: - version "2.6.12" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" - integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== - core-util-is@1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -2777,11 +2786,6 @@ interpret@^2.2.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== -intersection-observer@^0.12.0: - version "0.12.2" - resolved "https://registry.yarnpkg.com/intersection-observer/-/intersection-observer-0.12.2.tgz#4a45349cc0cd91916682b1f44c28d7ec737dc375" - integrity sha512-7m1vEcPCxXYI8HqnL8CKI6siDyD+eIWSwgB3DZA+ZTogxk9I4CDnj4wilt9x/+/QbHI4YG5YZNmC6458/e9Ktg== - into-stream@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-3.1.0.tgz#96fb0a936c12babd6ff1752a17d05616abd094c6" @@ -3994,17 +3998,17 @@ postcss@^8.4.7: picocolors "^1.0.0" source-map-js "^1.0.2" -preact-i18n@^2.0.0-preactx.2: +preact-i18n@2.0.0-preactx.2, preact-i18n@^2.0.0-preactx.2: version "2.0.0-preactx.2" resolved "https://registry.yarnpkg.com/preact-i18n/-/preact-i18n-2.0.0-preactx.2.tgz#13736788bf7c677c042e640517dd1d32cef49a06" integrity sha512-UEuiSajR+RHTaPneqqWMgC0dmT9R5IF+n8slNV5Uog533UGsncKaCeK1UyadlWKPKGHLaM5oZohGE9YF70xFnA== dependencies: dlv "^1.1.2" -preact@^10.0.0: - version "10.13.2" - resolved "https://registry.yarnpkg.com/preact/-/preact-10.13.2.tgz#2c40c73d57248b57234c4ae6cd9ab9d8186ebc0a" - integrity sha512-q44QFLhOhty2Bd0Y46fnYW0gD/cbVM9dUVtNTDKPcdXSMA7jfY+Jpd6rk3GB0lcQss0z5s/6CmVP0Z/hV+g6pw== +preact@10.4.6: + version "10.4.6" + resolved "https://registry.yarnpkg.com/preact/-/preact-10.4.6.tgz#86cc43396e4bdd755726a2b4b1f0529e78067cd3" + integrity sha512-80WJfXH53yyINig5Wza/8MD9n4lMg9G6aN00ws0ptsAaY/Fu/M7xW4zICf7OLfocVltxS30wvNQ8oIbUyZS1tw== preact@^10.3.4: version "10.9.0" @@ -4058,11 +4062,6 @@ proxy-from-env@1.0.0: resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.0.0.tgz#33c50398f70ea7eb96d21f7b817630a55791c7ee" integrity sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A== -proxy-polyfill@^0.3.0: - version "0.3.2" - resolved "https://registry.yarnpkg.com/proxy-polyfill/-/proxy-polyfill-0.3.2.tgz#55f190054a3044e105d9de16e23719e1e9be0898" - integrity sha512-ENKSXOMCewnQTOyqrQXxEjIhzT6dy572mtehiItbDoIUF5Sv5UkmRUc8kowg2MFvr232Uo8rwRpNg3V5kgTKbA== - prr@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" @@ -4168,7 +4167,7 @@ raw-body@2.5.1: iconv-lite "0.4.24" unpipe "1.0.0" -react-is@^16.13.1, react-is@^16.7.0: +react-is@^16.13.1, react-is@^16.7.0, react-is@^16.9.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -4178,6 +4177,17 @@ react-is@^17.0.2: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-redux@7.2.1: + version "7.2.1" + resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.2.1.tgz#8dedf784901014db2feca1ab633864dee68ad985" + integrity sha512-T+VfD/bvgGTUA74iW9d2i5THrDQWbweXP0AVNI8tNd1Rk5ch1rnMiJkDD67ejw7YBKM4+REvcvqRuWJb7BLuEg== + dependencies: + "@babel/runtime" "^7.5.5" + hoist-non-react-statics "^3.3.0" + loose-envify "^1.4.0" + prop-types "^15.7.2" + react-is "^16.9.0" + react-redux@^7.2.0: version "7.2.8" resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.2.8.tgz#a894068315e65de5b1b68899f9c6ee0923dd28de" @@ -4303,6 +4313,14 @@ redent@^3.0.0: indent-string "^4.0.0" strip-indent "^3.0.0" +redux@4.0.5: + version "4.0.5" + resolved "https://registry.yarnpkg.com/redux/-/redux-4.0.5.tgz#4db5de5816e17891de8a80c424232d06f051d93f" + integrity sha512-VSz1uMAH24DM6MF72vcojpYPtrTUu3ByVWfPL1nPfVRb5mZVTve5GnNCUV53QM/BZ66xfWrm0CTWoM+Xlz8V1w== + dependencies: + loose-envify "^1.4.0" + symbol-observable "^1.2.0" + redux@^4.0.0, redux@^4.0.5: version "4.2.0" resolved "https://registry.yarnpkg.com/redux/-/redux-4.2.0.tgz#46f10d6e29b6666df758780437651eeb2b969f13" @@ -4315,6 +4333,11 @@ regenerator-runtime@^0.13.4: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + repeating@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" @@ -4433,7 +4456,7 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sanitize-html@^2.11.0: +sanitize-html@2.11.0: version "2.11.0" resolved "https://registry.yarnpkg.com/sanitize-html/-/sanitize-html-2.11.0.tgz#9a6434ee8fcaeddc740d8ae7cd5dd71d3981f8f6" integrity sha512-BG68EDHRaGKqlsNjJ2xUB7gpInPA8gVx/mvjO743hZaeMCZ2DwzW7xvsqZ+KNU4QKwj86HJ3uu2liISf2qBBUA== @@ -4604,10 +4627,10 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -shaka-player@4.3.7: - version "4.3.7" - resolved "https://registry.yarnpkg.com/shaka-player/-/shaka-player-4.3.7.tgz#beebf492afa4cd3036eb10d6d9d2b610c17f6e6e" - integrity sha512-3aeRb/AdVnGJKI1i23pD+b2e4eXljjJflxW+RLeWrSGHNRt/givvV3DyGIzpNQ9icUDatUyOtSkx8AdTXZWYXQ== +shaka-player@4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/shaka-player/-/shaka-player-4.7.0.tgz#5bb0a60c1b7c2a8a3c2d1ff82e632c3c000219c3" + integrity sha512-utR9hKMt8GiGv7EDC8/nh8F1c4KeVGa4Wd8k6h+g2Ylks0m9//kvxvXkQnYAGJRtdql/CJC9Ur8YQ/G+kTwoiQ== dependencies: eme-encryption-scheme-polyfill "^2.1.1" @@ -4946,6 +4969,11 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +symbol-observable@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" + integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== + tapable@^2.1.1, tapable@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" @@ -5127,10 +5155,10 @@ typescript@^4.6.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== -ua-parser-js@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.2.tgz#e2976c34dbfb30b15d2c300b2a53eac87c57a775" - integrity sha512-00y/AXhx0/SsnI51fTc0rLRmafiGOM4/O+ny10Ps7f+j/b8p/ZY11ytMgznXkOVo4GQ+KwQG5UQLkLGirsACRg== +ua-parser-js@^1.0.36: + version "1.0.37" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.37.tgz#b5dc7b163a5c1f0c510b08446aed4da92c46373f" + integrity sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ== uc.micro@^1.0.1: version "1.0.6"