|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 | 4 |
|
5 |
| -## [0.5.0-beta.17](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.16...v0.5.0-beta.17) (2020-04-21) |
6 |
| - |
7 |
| -### Bug Fixes |
8 |
| - |
9 |
| -- **getThumbnail:** fixed empty resolve bug ([21da478](https://github.com/PDFTron/webviewer-react-toolkit/commit/21da478d5ff5560f9c670bc7e552b01d620b05a7)) |
10 |
| - |
11 |
| -## [0.5.0-beta.16](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.15...v0.5.0-beta.16) (2020-04-21) |
| 5 | +## [0.5.0](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.4.1...v0.5.0) (2020-04-29) |
12 | 6 |
|
13 | 7 | ### ⚠ BREAKING CHANGES
|
14 | 8 |
|
15 | 9 | - **useFileSubscribe:** removed options and replaced with optional throttle
|
16 |
| - |
17 |
| -### Bug Fixes |
18 |
| - |
19 |
| -- **useFileSubscribe:** value getter ref to prevent infinite looping ([276a9bf](https://github.com/PDFTron/webviewer-react-toolkit/commit/276a9bfc55e8dff24597072bc6684272e965f6f2)) |
20 |
| - |
21 |
| -## [0.5.0-beta.15](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.14...v0.5.0-beta.15) (2020-04-21) |
| 10 | +- **useManagedFiles:** removed selectWithoutShift option, added preventMultiSelect option, shift no longer multi selects, instead it range selects multiple files, while pressing command or control will allow adding multiple single files to the selection |
22 | 11 |
|
23 | 12 | ### Features
|
24 | 13 |
|
| 14 | +- **Choice:** added props to make choice a switch and move label to left ([1b51df0](https://github.com/PDFTron/webviewer-react-toolkit/commit/1b51df05e4c94bc0291581bf27b0119a2e9bc090)) |
| 15 | +- **file:** can add license key to enable full file functionality ([517f605](https://github.com/PDFTron/webviewer-react-toolkit/commit/517f605ff6b7a74a143c3d546814c26b7dd3996e)) |
| 16 | +- **file:** can provide optional id during instantiation ([50094df](https://github.com/PDFTron/webviewer-react-toolkit/commit/50094dfcb79746c2492bed59f087cb7dc534645e)) |
25 | 17 | - **file:** generate thumbnail exits early if file type is not supported ([6963e18](https://github.com/PDFTron/webviewer-react-toolkit/commit/6963e188d1c39db62a77fc7c119657c4de146852))
|
| 18 | +- **file:** improved methods for setting global or local license ([94d827a](https://github.com/PDFTron/webviewer-react-toolkit/commit/94d827af4ce10a6cadb5ffb0d515a0aa10bc15fb)) |
26 | 19 | - **FilePlaceholder:** added file placeholder component ([fe5e028](https://github.com/PDFTron/webviewer-react-toolkit/commit/fe5e028d4ea4e32fedd9f567234a2290e03d5b26))
|
27 | 20 | - **Image:** added pending prop to manually set loading state to true ([83a1261](https://github.com/PDFTron/webviewer-react-toolkit/commit/83a126167035ccaa515396617d8fc752b70fc17a))
|
28 | 21 | - **Image:** can handle rejected or falsy src with onRenderFallback ([0e3cec5](https://github.com/PDFTron/webviewer-react-toolkit/commit/0e3cec5ddfebe58f1cf17db261f570fda7ee79ea))
|
29 |
| -- **Thumbnail:** consume errors from useFile for image loading ([f093aea](https://github.com/PDFTron/webviewer-react-toolkit/commit/f093aea31df9952071f7dc172bff812d030ee620)) |
30 |
| -- **useFile:** added errors to useFile output ([67a77af](https://github.com/PDFTron/webviewer-react-toolkit/commit/67a77afa25e02b3daf85b032f1ec63d4366d2233)) |
31 |
| - |
32 |
| -### Bug Fixes |
33 |
| - |
34 |
| -- **getThumbnail:** removed unnecessary operations ([bf4c9df](https://github.com/PDFTron/webviewer-react-toolkit/commit/bf4c9dfb4eb8628dace35c92626ca8776324e140)) |
35 |
| -- **Modal:** click on modal no longer closes if background click enabled ([340b871](https://github.com/PDFTron/webviewer-react-toolkit/commit/340b871d216e395f3f0a7c57ce9aafa5e59bbfad)) |
36 |
| - |
37 |
| -## [0.5.0-beta.14](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.13...v0.5.0-beta.14) (2020-04-20) |
38 |
| - |
39 |
| -### Features |
40 |
| - |
41 |
| -- **Thumbnail:** white background color on thumbnail image ([fbb8366](https://github.com/PDFTron/webviewer-react-toolkit/commit/fbb83669c254f30ba0e080a54949d35629965af9)) |
42 |
| - |
43 |
| -## [0.5.0-beta.13](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.12...v0.5.0-beta.13) (2020-04-20) |
44 |
| - |
45 |
| -### Features |
46 |
| - |
47 |
| -- **file:** improved methods for setting global or local license ([94d827a](https://github.com/PDFTron/webviewer-react-toolkit/commit/94d827af4ce10a6cadb5ffb0d515a0aa10bc15fb)) |
48 |
| - |
49 |
| -## [0.5.0-beta.12](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.11...v0.5.0-beta.12) (2020-04-20) |
50 |
| - |
51 |
| -### Features |
52 |
| - |
53 |
| -- **file:** can add license key to enable full file functionality ([517f605](https://github.com/PDFTron/webviewer-react-toolkit/commit/517f605ff6b7a74a143c3d546814c26b7dd3996e)) |
54 |
| - |
55 |
| -## [0.5.0-beta.11](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.10...v0.5.0-beta.11) (2020-04-17) |
56 |
| - |
57 |
| -### Bug Fixes |
58 |
| - |
59 |
| -- **Modal:** if noUnmount is true use visibility instead of display none ([bf4b04c](https://github.com/PDFTron/webviewer-react-toolkit/commit/bf4b04c808763b4d9d015c801f4078610f62306e)) |
60 |
| - |
61 |
| -## [0.5.0-beta.10](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.9...v0.5.0-beta.10) (2020-04-17) |
62 |
| - |
63 |
| -### Bug Fixes |
64 |
| - |
65 |
| -- **Modal:** fixed focus lock logic ([43bfc3a](https://github.com/PDFTron/webviewer-react-toolkit/commit/43bfc3a987924a274fc35d71dc19a5d446ba2f9d)) |
66 |
| - |
67 |
| -## [0.5.0-beta.9](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.8...v0.5.0-beta.9) (2020-04-17) |
68 |
| - |
69 |
| -### Bug Fixes |
70 |
| - |
71 |
| -- **useFocusTrap:** fix infinite loop while server-side rendering ([77681c3](https://github.com/PDFTron/webviewer-react-toolkit/commit/77681c3c4c53c5c24be75a962b0f8d6e8e7efbe1)) |
72 |
| - |
73 |
| -## [0.5.0-beta.8](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.7...v0.5.0-beta.8) (2020-04-17) |
74 |
| - |
75 |
| -### Features |
76 |
| - |
77 | 22 | - **Modal:** added noUnmount prop to disable modal unmount when closed ([313341d](https://github.com/PDFTron/webviewer-react-toolkit/commit/313341d8b5f4195fe15e59ced2e33b378ebcb2c2))
|
78 |
| - |
79 |
| -## [0.5.0-beta.7](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.6...v0.5.0-beta.7) (2020-04-17) |
80 |
| - |
81 |
| -### Features |
82 |
| - |
83 | 23 | - **Modal:** added wrapperClassName prop ([9f1348d](https://github.com/PDFTron/webviewer-react-toolkit/commit/9f1348dc1cf7281e6587d9945792fdd47cb5e6e4))
|
84 |
| - |
85 |
| -## [0.5.0-beta.6](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.5...v0.5.0-beta.6) (2020-04-16) |
86 |
| - |
87 |
| -### Features |
88 |
| - |
89 | 24 | - **Modal:** fullWidth prop removes max width ([82c3ab3](https://github.com/PDFTron/webviewer-react-toolkit/commit/82c3ab3c6d8ec815a1448a9e7c175c5bbeecf158))
|
90 | 25 | - **Modal:** header is now optional ([c48b234](https://github.com/PDFTron/webviewer-react-toolkit/commit/c48b234c69dc7afd57ce47b1a6d67022458ec039))
|
91 |
| - |
92 |
| -## [0.5.0-beta.5](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.4...v0.5.0-beta.5) (2020-04-16) |
93 |
| - |
94 |
| -### Bug Fixes |
95 |
| - |
96 |
| -- **Modal:** removed width auto above mobile ([a673f2c](https://github.com/PDFTron/webviewer-react-toolkit/commit/a673f2c9c7ce869b8959a57953fb2a34c3b8690c)) |
97 |
| - |
98 |
| -## [0.5.0-beta.4](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.3...v0.5.0-beta.4) (2020-04-16) |
99 |
| - |
100 |
| -### Features |
101 |
| - |
| 26 | +- **Thumbnail:** consume errors from useFile for image loading ([f093aea](https://github.com/PDFTron/webviewer-react-toolkit/commit/f093aea31df9952071f7dc172bff812d030ee620)) |
| 27 | +- **Thumbnail:** white background color on thumbnail image ([fbb8366](https://github.com/PDFTron/webviewer-react-toolkit/commit/fbb83669c254f30ba0e080a54949d35629965af9)) |
| 28 | +- **useFile:** added errors to useFile output ([67a77af](https://github.com/PDFTron/webviewer-react-toolkit/commit/67a77afa25e02b3daf85b032f1ec63d4366d2233)) |
102 | 29 | - **useManagedFiles:** easyMultiSelect option ([f272fbe](https://github.com/PDFTron/webviewer-react-toolkit/commit/f272fbe2bbf43bf24afcbe7da5b49a1d4f23a58b))
|
103 |
| - |
104 |
| -## [0.5.0-beta.3](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.2...v0.5.0-beta.3) (2020-04-15) |
105 |
| - |
106 |
| -### Features |
107 |
| - |
108 |
| -- **file:** can provide optional id during instantiation ([50094df](https://github.com/PDFTron/webviewer-react-toolkit/commit/50094dfcb79746c2492bed59f087cb7dc534645e)) |
109 |
| - |
110 |
| -## [0.5.0-beta.2](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.5.0-beta.1...v0.5.0-beta.2) (2020-04-15) |
111 |
| - |
112 |
| -### ⚠ BREAKING CHANGES |
113 |
| - |
114 |
| -- **useManagedFiles:** removed selectWithoutShift option, added preventMultiSelect option, shift no longer multi selects, instead it range selects multiple files, while pressing command or control will allow adding multiple single files to the selection |
115 |
| - |
116 |
| -### Features |
117 |
| - |
118 | 30 | - **useManagedFiles:** shift for range select, meta or ctrl for multi ([b8e7775](https://github.com/PDFTron/webviewer-react-toolkit/commit/b8e7775dd670ba6005076881bc746569ae3a6c1f))
|
119 | 31 |
|
120 | 32 | ### Bug Fixes
|
121 | 33 |
|
| 34 | +- **getThumbnail:** fixed empty resolve bug ([21da478](https://github.com/PDFTron/webviewer-react-toolkit/commit/21da478d5ff5560f9c670bc7e552b01d620b05a7)) |
| 35 | +- **getThumbnail:** removed unnecessary operations ([bf4c9df](https://github.com/PDFTron/webviewer-react-toolkit/commit/bf4c9dfb4eb8628dace35c92626ca8776324e140)) |
| 36 | +- **Modal:** click on modal no longer closes if background click enabled ([340b871](https://github.com/PDFTron/webviewer-react-toolkit/commit/340b871d216e395f3f0a7c57ce9aafa5e59bbfad)) |
| 37 | +- **Modal:** fixed focus lock logic ([43bfc3a](https://github.com/PDFTron/webviewer-react-toolkit/commit/43bfc3a987924a274fc35d71dc19a5d446ba2f9d)) |
| 38 | +- **Modal:** if noUnmount is true use visibility instead of display none ([bf4b04c](https://github.com/PDFTron/webviewer-react-toolkit/commit/bf4b04c808763b4d9d015c801f4078610f62306e)) |
| 39 | +- **Modal:** removed width auto above mobile ([a673f2c](https://github.com/PDFTron/webviewer-react-toolkit/commit/a673f2c9c7ce869b8959a57953fb2a34c3b8690c)) |
122 | 40 | - **Thumbnail:** focus now appears on arrow nav as well as tabbing ([70efd90](https://github.com/PDFTron/webviewer-react-toolkit/commit/70efd9044a2a7fb751182f8dc9dd89f13a35ac06))
|
123 | 41 | - **Thumbnail:** prevent image drag from interfering with file dragging ([53dfa12](https://github.com/PDFTron/webviewer-react-toolkit/commit/53dfa129682279a2d4b213d08ee6b915d369f055))
|
124 |
| - |
125 |
| -## [0.5.0-beta.1](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.4.1...v0.5.0-beta.1) (2020-04-14) |
126 |
| - |
127 |
| -### Features |
128 |
| - |
129 |
| -- **Choice:** added props to make choice a switch and move label to left ([1b51df0](https://github.com/PDFTron/webviewer-react-toolkit/commit/1b51df05e4c94bc0291581bf27b0119a2e9bc090)) |
| 42 | +- **useFileSubscribe:** value getter ref to prevent infinite looping ([276a9bf](https://github.com/PDFTron/webviewer-react-toolkit/commit/276a9bfc55e8dff24597072bc6684272e965f6f2)) |
| 43 | +- **useFocusTrap:** fix infinite loop while server-side rendering ([77681c3](https://github.com/PDFTron/webviewer-react-toolkit/commit/77681c3c4c53c5c24be75a962b0f8d6e8e7efbe1)) |
130 | 44 |
|
131 | 45 | ## [0.4.1](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.3.2...v0.4.1) (2020-04-09)
|
132 | 46 |
|
|
0 commit comments