From df22df3d3db4243aab6264f4bb9f24b2b018035a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 25 Oct 2026 08:03:36 +0000 Subject: [PATCH] chore(release): version packages --- .changeset/preview-chart-auto-layout.md | 5 ----- .changeset/preview-raster-resolve-family.md | 5 ----- packages/dev/CHANGELOG.md | 9 +++++++++ packages/dev/package.json | 2 +- packages/editor/CHANGELOG.md | 8 ++++++++ packages/editor/package.json | 2 +- packages/preview/CHANGELOG.md | 10 ++++++++++ packages/preview/package.json | 2 +- 8 files changed, 30 insertions(+), 13 deletions(-) delete mode 100644 .changeset/preview-chart-auto-layout.md delete mode 100644 .changeset/preview-raster-resolve-family.md diff --git a/.changeset/preview-chart-auto-layout.md b/.changeset/preview-chart-auto-layout.md deleted file mode 100644 index 66cc16174..000000000 --- a/.changeset/preview-chart-auto-layout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@office-kit/pptx-preview': patch ---- - -Fixed the preview giving column, line, area and combo charts a taller plot area than presentation apps do, which hid data labels that overlap in the real chart. Line labels above a point also sat on top of the marker, so a bar label and a line label that collide in LibreOffice were drawn apart. The automatic layout of bar, column, line, area and combo charts now keeps 2% of the chart's width and height clear on each side, as LibreOffice does, and leaves a category-label row sized to the label font; a line label above or below its point stays 1 mm clear of the marker. Charts render with a slightly smaller plot area than before; charts with a manual inner plot-area layout are unchanged. diff --git a/.changeset/preview-raster-resolve-family.md b/.changeset/preview-raster-resolve-family.md deleted file mode 100644 index c26a50edc..000000000 --- a/.changeset/preview-raster-resolve-family.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@office-kit/pptx-preview': minor ---- - -Added `resolveFamily` to the options of `renderSlideToImage` / `renderSlideToRgba`, the same mapping `renderSlideToSvg` already takes for `textLayout: 'svg'`. The PNG path mapped every authored font name to a bundled substitute, so a caller that measured a deck's font with its own face (for example a `buildFontkitMeasurer` alias from the deck's font to a face in `fontFiles`) got lines wrapped for that face but painted in the substitute. Return a family loaded through `fontFiles` to draw and measure the run in it. East Asian characters still take the family of the first `fontFiles` face that covers kana; `resolveFamily` decides the rest of the run. Unset, the output is unchanged. diff --git a/packages/dev/CHANGELOG.md b/packages/dev/CHANGELOG.md index b9752470d..a0ba03d25 100644 --- a/packages/dev/CHANGELOG.md +++ b/packages/dev/CHANGELOG.md @@ -1,5 +1,14 @@ # @office-kit/pptx-dev +## 0.14.4 + +### Patch Changes + +- Updated dependencies [baf373a] +- Updated dependencies [bfeebf5] + - @office-kit/pptx-preview@0.21.0 + - @office-kit/pptx-editor@0.2.4 + ## 0.14.3 ### Patch Changes diff --git a/packages/dev/package.json b/packages/dev/package.json index 3d7be81df..42ed9dd47 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -1,6 +1,6 @@ { "name": "@office-kit/pptx-dev", - "version": "0.14.3", + "version": "0.14.4", "description": "Build and preview TSX presentations locally", "license": "MIT", "repository": { diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 0c1a846d5..e1c23b518 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,5 +1,13 @@ # @office-kit/pptx-editor +## 0.2.4 + +### Patch Changes + +- Updated dependencies [baf373a] +- Updated dependencies [bfeebf5] + - @office-kit/pptx-preview@0.21.0 + ## 0.2.3 ### Patch Changes diff --git a/packages/editor/package.json b/packages/editor/package.json index 85b7ace49..3772279c8 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@office-kit/pptx-editor", - "version": "0.2.3", + "version": "0.2.4", "description": "Embeddable browser editor for .pptx presentations, built on @office-kit/pptx", "keywords": [ "editor", diff --git a/packages/preview/CHANGELOG.md b/packages/preview/CHANGELOG.md index d584f86b0..30ccd390c 100644 --- a/packages/preview/CHANGELOG.md +++ b/packages/preview/CHANGELOG.md @@ -1,5 +1,15 @@ # pptx-kit-preview +## 0.21.0 + +### Minor Changes + +- bfeebf5: Added `resolveFamily` to the options of `renderSlideToImage` / `renderSlideToRgba`, the same mapping `renderSlideToSvg` already takes for `textLayout: 'svg'`. The PNG path mapped every authored font name to a bundled substitute, so a caller that measured a deck's font with its own face (for example a `buildFontkitMeasurer` alias from the deck's font to a face in `fontFiles`) got lines wrapped for that face but painted in the substitute. Return a family loaded through `fontFiles` to draw and measure the run in it. East Asian characters still take the family of the first `fontFiles` face that covers kana; `resolveFamily` decides the rest of the run. Unset, the output is unchanged. + +### Patch Changes + +- baf373a: Fixed the preview giving column, line, area and combo charts a taller plot area than presentation apps do, which hid data labels that overlap in the real chart. Line labels above a point also sat on top of the marker, so a bar label and a line label that collide in LibreOffice were drawn apart. The automatic layout of bar, column, line, area and combo charts now keeps 2% of the chart's width and height clear on each side, as LibreOffice does, and leaves a category-label row sized to the label font; a line label above or below its point stays 1 mm clear of the marker. Charts render with a slightly smaller plot area than before; charts with a manual inner plot-area layout are unchanged. + ## 0.20.0 ### Minor Changes diff --git a/packages/preview/package.json b/packages/preview/package.json index 1c1dd56bb..87ff13295 100644 --- a/packages/preview/package.json +++ b/packages/preview/package.json @@ -1,6 +1,6 @@ { "name": "@office-kit/pptx-preview", - "version": "0.20.0", + "version": "0.21.0", "description": "Experimental preview renderer for @office-kit/pptx: render a slide to SVG (browser + Node) or rasterize it to a PNG/RGBA image in Node, with no browser binary.", "keywords": [ "ooxml",