Skip to content

Commit 33c8e0c

Browse files
chore(release): version packages (#67)
Co-authored-by: karthikmudunuri <102793643+karthikmudunuri@users.noreply.github.com>
1 parent 03b71b7 commit 33c8e0c

5 files changed

Lines changed: 21 additions & 13 deletions

File tree

.changeset/custgeom-path-space.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/slidewise/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @textcortex/slidewise
22

3+
## 1.15.4
4+
5+
### Patch Changes
6+
7+
- 03b71b7: fix(pptx): custGeom export — map path coords to the shape's EMU extent and drop the bogus `fill="darken"`
8+
9+
Two correctness issues in `svgPathToOoxml` (custGeom emission):
10+
11+
- **Wrong `fill="darken"` on even-odd paths.** OOXML's `<a:path fill="…">` is a _shading_ hint (none / norm / lighten / darken), **not** a winding rule — custGeom has no even-odd flag at all. Emitting `fill="darken"` for `fillRule: "evenodd"` silently darkened the shape and tripped some renderers (LibreOffice) without ever producing the hole. We now leave the default `norm` shading; holes are carried by the subpath directions already encoded in `d`.
12+
13+
- **Path coordinate space didn't match the shape box.** `<a:path w/h>` was emitted at the source viewBox dimensions while the points stayed in that space. PowerPoint itself emits custGeom with `w/h` equal to the shape's EMU extent, and LibreOffice only maps the path onto the shape correctly when the two line up. `svgPathToOoxml` now takes the target EMU extent and rescales the points so `<a:path w/h>` matches the shape — improving cross-renderer fidelity for vectors whose viewBox differs from their box.
14+
315
## 1.15.3
416

517
### Patch Changes

packages/slidewise/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@textcortex/slidewise",
3-
"version": "1.15.3",
3+
"version": "1.15.4",
44
"description": "Embeddable React PPTX editor.",
55
"license": "MIT",
66
"type": "module",

website/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# website
22

3+
## 0.0.22
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [03b71b7]
8+
- @textcortex/slidewise@1.15.4
9+
310
## 0.0.21
411

512
### Patch Changes

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "website",
3-
"version": "0.0.21",
3+
"version": "0.0.22",
44
"private": true,
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)