Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/viewer-reading-controls.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/img/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @transloadit/viewer

## 0.5.0

### Minor Changes

- bf87593: Control PDF fit or zoom across readers with `zoom` and `onZoomChange`, and opt into tap-to-expand on compact pages with `expandOnPageTap`. More actions stays open through repeated zoom steps.

Manual zoom now keeps its absolute text size when the reader resizes or enters fullscreen. Fit modes follow the available space. Fullscreen zoom and fit choices last until exit, which restores the saved inline setting. In controlled readers, echo `onZoomChange` into `zoom` for the current view. A different host-supplied `zoom` overrides both views and becomes the inline setting restored on exit. Desktop page clicks request native fullscreen immediately, while touch waits for a single tap.

The PDF toolbar shows the page total as `/ {count}`. Customize the page border with `--tl-viewer-page-edge`. The reader paints its focus ring above the page for keyboard `:focus-visible` and programmatic focus, including `autoFocus` in WebKit.

RTF previews display recognized monospace fonts using `ui-monospace, monospace`.

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/img/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@transloadit/viewer",
"version": "0.4.0",
"version": "0.5.0",
"description": "Alpha: native responsive images from Transloadit Storage and Smart CDN Templates",
"type": "module",
"license": "MIT",
Expand Down