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
17 changes: 0 additions & 17 deletions .changeset/solid-fill-alpha.md

This file was deleted.

17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# pptx-kit

## 0.13.0

### Minor Changes

- 104f7d2: Read and render the transparency of solid fills and outlines.

`@office-kit/pptx` adds `getShapeFillOpacity`, `getShapeStrokeOpacity`, and
`resolveDrawingColorOpacity`, which resolve `<a:alpha>` / `<a:alphaMod>` /
`<a:alphaOff>` on a color to a 0–1 opacity. `getShapeFillColorResolved` and
`getShapeStrokeColorResolved` keep returning the plain `#RRGGBB`.

`@office-kit/pptx-preview` now emits `fill-opacity` / `stroke-opacity` for
translucent solid fills and outlines, including artwork inherited from slide
layouts and masters. A semi-transparent shape layered over a gradient or the
slide background previously rendered as an opaque block that hid whatever sat
beneath it.

## 0.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@office-kit/pptx",
"version": "0.12.0",
"version": "0.13.0",
"description": "Generate and edit .pptx (OOXML PresentationML) files from TypeScript, in Node and the browser.",
"keywords": [
"drawingml",
Expand Down
17 changes: 17 additions & 0 deletions packages/preview/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# pptx-kit-preview

## 0.9.3

### Patch Changes

- 104f7d2: Read and render the transparency of solid fills and outlines.

`@office-kit/pptx` adds `getShapeFillOpacity`, `getShapeStrokeOpacity`, and
`resolveDrawingColorOpacity`, which resolve `<a:alpha>` / `<a:alphaMod>` /
`<a:alphaOff>` on a color to a 0–1 opacity. `getShapeFillColorResolved` and
`getShapeStrokeColorResolved` keep returning the plain `#RRGGBB`.

`@office-kit/pptx-preview` now emits `fill-opacity` / `stroke-opacity` for
translucent solid fills and outlines, including artwork inherited from slide
layouts and masters. A semi-transparent shape layered over a gradient or the
slide background previously rendered as an opaque block that hid whatever sat
beneath it.

## 0.9.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/preview/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@office-kit/pptx-preview",
"version": "0.9.2",
"version": "0.9.3",
"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",
Expand Down