@react-pdf/types
Advanced tools
Comparing version 2.0.9 to 2.1.0
# @react-pdf/types | ||
## 2.1.0 | ||
### Minor Changes | ||
- [#1862](https://github.com/diegomura/react-pdf/pull/1862) [`1411d16`](https://github.com/diegomura/react-pdf/commit/1411d162e04ca237bad93729695c363fdf4bdbeb) Thanks [@diegomura](https://github.com/diegomura)! - feat: bookmarks support | ||
* [#1867](https://github.com/diegomura/react-pdf/pull/1867) [`4fadb48`](https://github.com/diegomura/react-pdf/commit/4fadb48983d7269452f89f80c7e341ece859aaee) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page layout support | ||
- [#1868](https://github.com/diegomura/react-pdf/pull/1868) [`ce8762f`](https://github.com/diegomura/react-pdf/commit/ce8762f6de5c796e69ec5a225c7f3ff9c619a960) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page mode support | ||
* [#1869](https://github.com/diegomura/react-pdf/pull/1869) [`5d2c308`](https://github.com/diegomura/react-pdf/commit/5d2c3088cf438a8abf1038b14a21117fecf59d57) Thanks [@diegomura](https://github.com/diegomura)! - feat: variable dpi | ||
## 2.0.9 | ||
@@ -4,0 +16,0 @@ |
@@ -5,2 +5,3 @@ import { Style } from './style'; | ||
import { PageSize, Orientation } from './page'; | ||
import { Bookmark } from './bookmark'; | ||
@@ -12,2 +13,3 @@ interface BaseProps { | ||
debug?: boolean; | ||
bookmark?: Bookmark; | ||
minPresenceAhead?: number; | ||
@@ -38,4 +40,21 @@ } | ||
orientation?: Orientation; | ||
dpi?: number; | ||
} | ||
type PageLayout = | ||
| 'singlePage' | ||
| 'oneColumn' | ||
| 'twoColumnLeft' | ||
| 'twoColumnRight' | ||
| 'twoPageLeft' | ||
| 'twoPageRight'; | ||
type PageMode = | ||
| 'useNone' | ||
| 'useOutlines' | ||
| 'useThumbs' | ||
| 'fullScreen' | ||
| 'useOC' | ||
| 'useAttachments'; | ||
interface DocumentProps { | ||
@@ -48,2 +67,4 @@ title?: string; | ||
producer?: string; | ||
pageLayout?: PageLayout; | ||
pageMode?: PageMode; | ||
} | ||
@@ -50,0 +71,0 @@ |
{ | ||
"name": "@react-pdf/types", | ||
"version": "2.0.9", | ||
"version": "2.1.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "React-pdf TypeScript definitions", |
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
15156
14
468