@react-pdf-viewer/core
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -229,2 +229,3 @@ /** | ||
export interface ButtonProps { | ||
children?: React.ReactNode; | ||
testId?: string; | ||
@@ -237,2 +238,3 @@ onClick(): void; | ||
attrs?: React.HTMLAttributes<HTMLDivElement>; | ||
children?: React.ReactNode; | ||
testId?: string; | ||
@@ -242,3 +244,5 @@ } | ||
export class Menu extends React.Component {} | ||
export class Menu extends React.Component<{ | ||
children?: React.ReactNode; | ||
}> {} | ||
@@ -249,2 +253,3 @@ export class MenuDivider extends React.Component {} | ||
checked?: boolean; | ||
children?: React.ReactNode; | ||
icon?: React.ReactElement; | ||
@@ -260,2 +265,3 @@ isDisabled?: boolean; | ||
ariaKeyShortcuts?: string; | ||
children?: React.ReactNode; | ||
isDisabled?: boolean; | ||
@@ -269,2 +275,3 @@ isSelected?: boolean; | ||
export interface PrimaryButtonProps { | ||
children?: React.ReactNode; | ||
testId?: string; | ||
@@ -312,2 +319,3 @@ onClick(): void; | ||
export interface IconProps { | ||
children?: React.ReactNode; | ||
// If this option is `true`, the icon will not be flipped | ||
@@ -369,3 +377,3 @@ ignoreDirection?: boolean; | ||
export interface LocalizationMap { | ||
[key: string]: LocalizationMap; | ||
[key: string]: string | LocalizationMap; | ||
} | ||
@@ -493,2 +501,3 @@ export interface LocalizationContextProps { | ||
export interface WorkerProps { | ||
children?: React.ReactNode; | ||
workerUrl: string; | ||
@@ -657,2 +666,3 @@ } | ||
color?: number[]; | ||
count?: undefined | number; | ||
dest?: OutlineDestinationType; | ||
@@ -659,0 +669,0 @@ italic?: boolean; |
{ | ||
"name": "@react-pdf-viewer/core", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "A React component to view a PDF document", | ||
@@ -37,4 +37,4 @@ "license": "https://react-pdf-viewer.dev/license", | ||
"pdfjs-dist": "^2.6.347", | ||
"react": "^16.8.0 || ^17.0.0", | ||
"react-dom": "^16.8.0 || ^17.0.0" | ||
"react": ">=16.8.0", | ||
"react-dom": ">=16.8.0" | ||
}, | ||
@@ -51,3 +51,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "7a8c5dc0f07735b2e1876a787657ec27040b7086" | ||
"gitHead": "fc1c00e3802d538f2f96b6a241e995493a601f61" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
264868
4138