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
14 changes: 0 additions & 14 deletions .changeset/pptx-toolbar-segmented-control.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/file-preview/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @lamberl-lee/file-preview

## 0.8.0

### Minor Changes

- 942048e: Redesign PPTX toolbar with segmented view-mode control

Replace the icon-only view-mode toggle with a labeled segmented control centered in the toolbar. Slide navigation moves to the left next to the page counter and stays hidden in grid view to reduce visual clutter.

- New `LayoutGridIcon` replaces `Grid3X3Icon` for the grid view button
- Added `previewMode` / `slideViewShort` / `gridViewShort` / `slideViewHint` / `gridViewHint` locale entries; renamed `slideView` / `gridView` labels to "Single Page" / "Thumbnails"
- Added `data-active` / `aria-pressed` attributes for accessible state
- Added responsive short labels at <=760px and icon-only layout at <=420px
- Toolbar styling aligned with `fv-html__fit-btn` / `fv-html__source-group` (Slate palette, dark mode variants)
- Lifecycle test now selects the grid toggle by `data-active='false'` instead of the localized title

## 0.7.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/file-preview/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lamberl-lee/file-preview",
"version": "0.7.10",
"version": "0.8.0",
"description": "React file viewer for 20+ formats—PDF, DOCX, PPTX, XLSX, EPUB, Markdown, code and media—rendered entirely in the browser with no server uploads.",
"keywords": [
"react",
Expand Down