diff --git a/.changeset/pptx-toolbar-segmented-control.md b/.changeset/pptx-toolbar-segmented-control.md deleted file mode 100644 index ae73508..0000000 --- a/.changeset/pptx-toolbar-segmented-control.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@lamberl-lee/file-preview": minor ---- - -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 diff --git a/packages/file-preview/CHANGELOG.md b/packages/file-preview/CHANGELOG.md index 934f6d3..577da13 100644 --- a/packages/file-preview/CHANGELOG.md +++ b/packages/file-preview/CHANGELOG.md @@ -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 diff --git a/packages/file-preview/package.json b/packages/file-preview/package.json index 67644b2..e5d8ebb 100644 --- a/packages/file-preview/package.json +++ b/packages/file-preview/package.json @@ -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",