Skip to content

Commit

Permalink
fix(SUP-0): fix import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTGold committed Mar 21, 2024
1 parent e623c91 commit 33663fb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/transcript/transcript.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/events/index.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { pluginName, TranscriptPlugin } from "./transcript-plugin";
import {pluginName, TranscriptPlugin} from './transcript-plugin';

declare var __VERSION__: string;
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};

Expand Down
2 changes: 1 addition & 1 deletion src/transcript-plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 33663fb

Please sign in to comment.