@d-i-t-a/reader 2.1.0-beta.4 → 2.1.0-beta.5

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.
@@ -37,11 +37,6 @@ export interface NavigatorAPI {
37
37
  updateCurrentLocation: any;
38
38
  onError?: (e: Error) => void;
39
39
  }
40
- export interface UpLinkConfig {
41
- url?: URL;
42
- label?: string;
43
- ariaLabel?: string;
44
- }
45
40
  export interface IFrameAttributes {
46
41
  margin: number;
47
42
  navHeight?: number;
@@ -56,7 +51,6 @@ export interface IFrameNavigatorConfig {
56
51
  publication: Publication;
57
52
  settings: UserSettings;
58
53
  annotator?: Annotator;
59
- upLink?: UpLinkConfig;
60
54
  initialLastReadingPosition?: ReadingPosition;
61
55
  rights: Partial<ReaderRights>;
62
56
  api?: Partial<NavigatorAPI>;
@@ -113,7 +107,6 @@ export interface ReaderConfig {
113
107
  userSettings?: any;
114
108
  initialAnnotations?: any;
115
109
  lastReadingPosition?: any;
116
- upLinkUrl?: any;
117
110
  rights?: Partial<ReaderRights>;
118
111
  api?: Partial<NavigatorAPI>;
119
112
  tts?: Partial<TTSModuleConfig>;
@@ -171,8 +164,6 @@ export declare class IFrameNavigator extends EventEmitter implements Navigator {
171
164
  private readonly touchEventHandler;
172
165
  private readonly keyboardEventHandler;
173
166
  private readonly sampleReadEventHandler;
174
- private readonly upLinkConfig;
175
- private upLink;
176
167
  private nextChapterBottomAnchorElement;
177
168
  private previousChapterTopAnchorElement;
178
169
  private nextChapterAnchorElement;
@@ -213,7 +204,7 @@ export declare class IFrameNavigator extends EventEmitter implements Navigator {
213
204
  requestConfig?: RequestConfig;
214
205
  private didInitKeyboardEventHandler;
215
206
  static create(config: IFrameNavigatorConfig): Promise<IFrameNavigator>;
216
- protected constructor(settings: UserSettings, annotator: Annotator | undefined, upLinkConfig: UpLinkConfig | undefined, initialLastReadingPosition: ReadingPosition | undefined, publication: Publication, api?: Partial<NavigatorAPI>, rights?: Partial<ReaderRights>, tts?: Partial<TTSModuleConfig>, injectables?: Array<Injectable>, attributes?: IFrameAttributes, services?: PublicationServices, sample?: SampleRead, requestConfig?: RequestConfig);
207
+ protected constructor(settings: UserSettings, annotator: Annotator | undefined, initialLastReadingPosition: ReadingPosition | undefined, publication: Publication, api?: Partial<NavigatorAPI>, rights?: Partial<ReaderRights>, tts?: Partial<TTSModuleConfig>, injectables?: Array<Injectable>, attributes?: IFrameAttributes, services?: PublicationServices, sample?: SampleRead, requestConfig?: RequestConfig);
217
208
  stop(): void;
218
209
  spreads: HTMLDivElement;
219
210
  firstSpread: HTMLDivElement;
@@ -1,4 +1,2 @@
1
- export declare const simpleUpLinkTemplate: (href: string, _label: string, ariaLabel: string) => string;
2
- export declare const defaultUpLinkTemplate: (href: string, label: string, ariaLabel: string) => string;
3
1
  export declare const readerLoading: string;
4
2
  export declare const readerError: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-i-t-a/reader",
3
- "version": "2.1.0-beta.4",
3
+ "version": "2.1.0-beta.5",
4
4
  "description": "A viewer application for EPUB files.",
5
5
  "repository": "https://github.com/d-i-t-a/R2D2BC",
6
6
  "license": "Apache-2.0",