@files-preview-app/preview-file 1.3.6 → 1.3.8
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.
- package/README.md +1 -1
- package/dist/angular.cjs +845 -166
- package/dist/angular.cjs.map +1 -1
- package/dist/angular.d.cts +1 -1
- package/dist/angular.d.ts +1 -1
- package/dist/angular.js +845 -166
- package/dist/angular.js.map +1 -1
- package/dist/index.cjs +845 -166
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-DPqVo4OT.d.cts → index.d-D_oca_Sr.d.cts} +2 -1
- package/dist/{index.d-DPqVo4OT.d.ts → index.d-D_oca_Sr.d.ts} +2 -1
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +845 -166
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +845 -166
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +845 -166
- package/dist/react.js.map +1 -1
- package/dist/styles.css +2 -1
- package/dist/vue.cjs +845 -166
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.d.cts +3 -3
- package/dist/vue.d.ts +3 -3
- package/dist/vue.js +845 -166
- package/dist/vue.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -683,7 +683,7 @@ Passed to `options` prop in React/Angular/Vue or third argument to `viewer.previ
|
|
|
683
683
|
| `toolbarPosition` | `'top' \| 'bottom'` | `'top'` | Positions toolbar at the top or bottom of the viewer container. |
|
|
684
684
|
| `showFileName` | `boolean` | `true` | When `true`, displays file name and format badge in title bar above toolbar. |
|
|
685
685
|
| `fileName` | `string` | `undefined` | Custom file title override displayed in title bar. |
|
|
686
|
-
| `fitMode` | `'
|
|
686
|
+
| `fitMode` | `'width' \| 'page'` | `'width'` | Preferred fit calculation strategy ('width' fits container width preserving aspect ratio). |
|
|
687
687
|
| `showThumbnails` | `boolean` | `false` | Opens page thumbnails sidebar panel automatically on load. |
|
|
688
688
|
| `className` | `string` | `''` | Custom CSS class attached to the root viewer container element. |
|
|
689
689
|
| `zoom` | `number` | `1.0` | Initial zoom multiplier (`1.0` = 100%, `1.5` = 150%). |
|