@mxmweb/fviewer 1.4.5 → 1.4.7

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.
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { AppTheme, Annotation, MDAnnotation, TableAnnotation, ToolsConfig } from '../core/types';
3
3
  export interface StaticFileReaderProps {
4
- fileUrl: string;
4
+ fileUrl?: string;
5
5
  fileType?: string;
6
6
  fileName?: string;
7
7
  token?: string;
package/core/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { default as Fviewer, FviewerProps } from './Fviewer';
2
2
  import { default as PdfRender, PdfRenderProps } from './PdfRender';
3
- import { AppTheme, Annotation, ToolsConfig } from './types';
3
+ import { Annotation, ToolsConfig } from './types';
4
4
  export { Fviewer, PdfRender };
5
- export type { FviewerProps, PdfRenderProps, AppTheme, Annotation, ToolsConfig };
5
+ export type { FviewerProps, PdfRenderProps, Annotation, ToolsConfig };
6
6
  export default Fviewer;
package/core/types.d.ts CHANGED
@@ -1,31 +1,4 @@
1
- export interface AppTheme {
2
- colors: {
3
- primary: string;
4
- secondary: string;
5
- success: string;
6
- warning: string;
7
- error: string;
8
- info: string;
9
- background: string;
10
- text: string;
11
- border: string;
12
- disabled: string;
13
- disabledBackground: string;
14
- disabledText: string;
15
- [key: string]: any;
16
- };
17
- space: {
18
- sidebar: string;
19
- size: string;
20
- radius: string;
21
- padding: string;
22
- margin: string;
23
- shadow: string;
24
- lineHeight: string;
25
- [key: string]: any;
26
- };
27
- [key: string]: any;
28
- }
1
+ export type { Styles as AppTheme } from '@mxmweb/zui';
29
2
  export interface Annotation {
30
3
  id: string;
31
4
  pageNumber: number;
@@ -0,0 +1 @@
1
+ export default function CoreReaderDemo(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function StaticFileReaderDemo(): import("react/jsx-runtime").JSX.Element;