react-reader
Advanced tools
Comparing version
@@ -1,7 +0,7 @@ | ||
import React, { Component } from 'react'; | ||
import { Book } from 'epubjs'; | ||
import type { NavItem, Contents, Rendition, Location } from 'epubjs'; | ||
import { type IEpubViewStyle } from './style'; | ||
import type { RenditionOptions } from 'epubjs/types/rendition'; | ||
import type { BookOptions } from 'epubjs/types/book'; | ||
import { BookOptions } from 'epubjs/types/book'; | ||
import { RenditionOptions } from 'epubjs/types/rendition'; | ||
import { IEpubViewStyle } from './style'; | ||
import { Book, NavItem, Contents, Rendition, Location } from 'epubjs'; | ||
import { default as React, Component } from 'react'; | ||
export type RenditionOptionsFix = RenditionOptions & { | ||
@@ -8,0 +8,0 @@ allowPopups: boolean; |
@@ -1,2 +0,3 @@ | ||
import type { CSSProperties } from 'react'; | ||
import { CSSProperties } from 'react'; | ||
export interface IEpubViewStyle { | ||
@@ -3,0 +4,0 @@ viewHolder: CSSProperties; |
@@ -1,5 +0,6 @@ | ||
import React, { PureComponent } from 'react'; | ||
import { EpubView, type IEpubViewStyle, type IEpubViewProps } from '..'; | ||
import { type IReactReaderStyle } from './style'; | ||
import { type NavItem } from 'epubjs'; | ||
import { NavItem } from 'epubjs'; | ||
import { IReactReaderStyle } from './style'; | ||
import { EpubView, IEpubViewStyle, IEpubViewProps } from '..'; | ||
import { default as React, PureComponent } from 'react'; | ||
export type IReactReaderProps = IEpubViewProps & { | ||
@@ -6,0 +7,0 @@ title?: string; |
@@ -1,2 +0,3 @@ | ||
import type { CSSProperties } from 'react'; | ||
import { CSSProperties } from 'react'; | ||
export interface IReactReaderStyle { | ||
@@ -3,0 +4,0 @@ container: CSSProperties; |
{ | ||
"name": "react-reader", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "A epub-reader for React powered by ePubJS", | ||
@@ -55,25 +55,25 @@ "type": "module", | ||
"devDependencies": { | ||
"@testing-library/jest-dom": "^6.1.4", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/jest": "^29.5.6", | ||
"@types/node": "^20.8.9", | ||
"@types/react": "^18.2.33", | ||
"@types/react-dom": "^18.2.14", | ||
"@vitejs/plugin-react": "^4.1.0", | ||
"autoprefixer": "^10.4.16", | ||
"classnames": "^2.3.2", | ||
"@testing-library/jest-dom": "^6.4.2", | ||
"@testing-library/react": "^15.0.6", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.12.8", | ||
"@types/react": "^18.3.1", | ||
"@types/react-dom": "^18.3.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"autoprefixer": "^10.4.19", | ||
"classnames": "^2.5.1", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"postcss": "^8.4.31", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.17.0", | ||
"postcss": "^8.4.38", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-router-dom": "^6.23.0", | ||
"rimraf": "^5.0.5", | ||
"tailwindcss": "^3.3.5", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^5.2.2", | ||
"use-local-storage-state": "^19.1.0", | ||
"vite": "^4.5.0", | ||
"vite-plugin-dts": "^3.6.1" | ||
"tailwindcss": "^3.4.3", | ||
"ts-jest": "^29.1.2", | ||
"typescript": "^5.4.5", | ||
"use-local-storage-state": "^19.2.0", | ||
"vite": "^5.2.11", | ||
"vite-plugin-dts": "^3.9.0" | ||
} | ||
} |
100050
-0.05%1076
-0.09%