diff --git a/src/components/transcript/transcript.tsx b/src/components/transcript/transcript.tsx index f100928..986524a 100644 --- a/src/components/transcript/transcript.tsx +++ b/src/components/transcript/transcript.tsx @@ -12,7 +12,7 @@ import {TranscriptMenu} from '../transcript-menu'; import {SmallScreenSlate} from '../small-screen-slate'; import {Button, ButtonType, ButtonSize} from '@playkit-js/common/dist/components/button'; import {OnClickEvent, OnClick} from '@playkit-js/common/dist/hoc/a11y-wrapper'; -import { TranscriptEvents } from "../../events"; +import {TranscriptEvents} from '../../events/events'; const {ENTER, SPACE, TAB} = ui.utils.KeyMap; const {withText, Text} = ui.preacti18n; diff --git a/src/events/index.ts b/src/events/index.ts deleted file mode 100644 index a05d36b..0000000 --- a/src/events/index.ts +++ /dev/null @@ -1 +0,0 @@ -export {TranscriptEvents} from './events'; diff --git a/src/index.ts b/src/index.ts index 87a8317..ff04771 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { pluginName, TranscriptPlugin } from "./transcript-plugin"; +import {pluginName, TranscriptPlugin} from './transcript-plugin'; declare var __VERSION__: string; declare var __NAME__: string; @@ -6,7 +6,7 @@ declare var __NAME__: string; const VERSION = __VERSION__; const NAME = __NAME__; -export { TranscriptEvents} from './events' +export {TranscriptEvents} from './events/events'; export {TranscriptPlugin as Plugin}; export {VERSION, NAME}; diff --git a/src/transcript-plugin.tsx b/src/transcript-plugin.tsx index 112dff3..90ee160 100644 --- a/src/transcript-plugin.tsx +++ b/src/transcript-plugin.tsx @@ -9,7 +9,7 @@ import {PluginButton} from './components/plugin-button/plugin-button'; import {Transcript} from './components/transcript'; import {getConfigValue, isBoolean, makePlainText, prepareCuePoint} from './utils'; import {TranscriptConfig, PluginStates, HighlightedMap, CuePointData, ItemTypes, CuePoint} from './types'; -import { TranscriptEvents } from "./events"; +import {TranscriptEvents} from './events/events'; export const pluginName: string = 'playkit-js-transcript';