From 214a91c2b31a6ad156905fd155e4aa6f349240e1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2026 20:29:00 +0000 Subject: [PATCH] chore(release): version packages --- .changeset/preview-resolve-family.md | 7 ------- packages/dev/CHANGELOG.md | 8 ++++++++ packages/dev/package.json | 2 +- packages/editor/CHANGELOG.md | 7 +++++++ packages/editor/package.json | 2 +- packages/preview/CHANGELOG.md | 8 ++++++++ packages/preview/package.json | 2 +- 7 files changed, 26 insertions(+), 10 deletions(-) delete mode 100644 .changeset/preview-resolve-family.md diff --git a/.changeset/preview-resolve-family.md b/.changeset/preview-resolve-family.md deleted file mode 100644 index 8351c166a..000000000 --- a/.changeset/preview-resolve-family.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@office-kit/pptx-preview': minor ---- - -Added `resolveFamily` to `RenderSlideOptions` (#461). With `textLayout: 'svg'`, each run's font is written to the SVG as one of the bundled substitutes (Calibri / Aptos and unknown fonts as `Carlito`, Cambria as `Caladea`, Arial / Helvetica as `Liberation Sans`, Times as `Liberation Serif`, Courier / Consolas as `Liberation Mono`), so a host that embeds its own `@font-face` rules — for a deck that uses Lora or Inter, say — could not get its font applied. `resolveFamily` maps each authored font name (or `null` when none applies) to the family written to `` and passed to `measureText`; the shrink-to-fit search measures with it too, and names that are not plain CSS identifiers (such as `M PLUS 1p`) are quoted. It defaults to `substituteFamily`, so output is unchanged unless you pass it. The `foreignObject` text path already keeps the authored name and ignores the option. - -Fixed: `auditTextLayout` sized a bare `` body's shrink with the substitute font while laying it out with the authored one, so with a `measureText` that registers that font the audit could report overflow (or miss it) for text the shrink was sized for. diff --git a/packages/dev/CHANGELOG.md b/packages/dev/CHANGELOG.md index df5a69193..a3964162a 100644 --- a/packages/dev/CHANGELOG.md +++ b/packages/dev/CHANGELOG.md @@ -1,5 +1,13 @@ # @office-kit/pptx-dev +## 0.13.1 + +### Patch Changes + +- Updated dependencies [f403320] + - @office-kit/pptx-preview@0.16.0 + - @office-kit/pptx-editor@0.1.1 + ## 0.13.0 ### Minor Changes diff --git a/packages/dev/package.json b/packages/dev/package.json index fdd7feb1d..35f8d1932 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -1,6 +1,6 @@ { "name": "@office-kit/pptx-dev", - "version": "0.13.0", + "version": "0.13.1", "description": "Build and preview TSX presentations locally", "license": "MIT", "repository": { diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 817a54650..6a3f86611 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,5 +1,12 @@ # @office-kit/pptx-editor +## 0.1.1 + +### Patch Changes + +- Updated dependencies [f403320] + - @office-kit/pptx-preview@0.16.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/editor/package.json b/packages/editor/package.json index 94a019ab5..d3c27e9de 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@office-kit/pptx-editor", - "version": "0.1.0", + "version": "0.1.1", "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 15c54b14a..6056ced05 100644 --- a/packages/preview/CHANGELOG.md +++ b/packages/preview/CHANGELOG.md @@ -1,5 +1,13 @@ # pptx-kit-preview +## 0.16.0 + +### Minor Changes + +- f403320: Added `resolveFamily` to `RenderSlideOptions` (#461). With `textLayout: 'svg'`, each run's font is written to the SVG as one of the bundled substitutes (Calibri / Aptos and unknown fonts as `Carlito`, Cambria as `Caladea`, Arial / Helvetica as `Liberation Sans`, Times as `Liberation Serif`, Courier / Consolas as `Liberation Mono`), so a host that embeds its own `@font-face` rules — for a deck that uses Lora or Inter, say — could not get its font applied. `resolveFamily` maps each authored font name (or `null` when none applies) to the family written to `` and passed to `measureText`; the shrink-to-fit search measures with it too, and names that are not plain CSS identifiers (such as `M PLUS 1p`) are quoted. It defaults to `substituteFamily`, so output is unchanged unless you pass it. The `foreignObject` text path already keeps the authored name and ignores the option. + + Fixed: `auditTextLayout` sized a bare `` body's shrink with the substitute font while laying it out with the authored one, so with a `measureText` that registers that font the audit could report overflow (or miss it) for text the shrink was sized for. + ## 0.15.0 ### Minor Changes diff --git a/packages/preview/package.json b/packages/preview/package.json index dfa8f1364..bc150ccd2 100644 --- a/packages/preview/package.json +++ b/packages/preview/package.json @@ -1,6 +1,6 @@ { "name": "@office-kit/pptx-preview", - "version": "0.15.0", + "version": "0.16.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",