Skip to content

Commit cf2ff19

Browse files
chore(release): version packages (#70)
Co-authored-by: karthikmudunuri <102793643+karthikmudunuri@users.noreply.github.com>
1 parent 65eeac2 commit cf2ff19

5 files changed

Lines changed: 19 additions & 11 deletions

File tree

.changeset/custgeom-verbatim-roundtrip.md

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

packages/slidewise/CHANGELOG.md

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

3+
## 1.16.1
4+
5+
### Patch Changes
6+
7+
- 65eeac2: fix(pptx): carry verbatim custGeom OOXML in the deck JSON so vector shapes survive cross-process serialize
8+
9+
The high-fidelity replay of imported elements relies on two **module-global** registries (`sourceBufferCache`, `elementSourceRegistry`) populated only by `parsePptx` and never written to the deck JSON. In a pipeline that parses in one process and serializes in another (parse client-side → store deck JSON → serialize server-side), those registries are empty, so every element is re-synthesised from its deck fields. Synthesis can't represent OOXML even-odd / winding, so complex `custGeom` vectors (e.g. a bicycle diagram) render blank even though simpler ones (the brand logo) happen to survive.
10+
11+
The importer now stamps the verbatim `<p:sp>` of **self-contained** custGeom shapes (no `r:embed` / `r:id` / `a:schemeClr` references) onto the element as `pristineOoxml = { xml, snapshot }`, which rides along in the deck JSON. On serialize, an unedited such shape (snapshot still matches) is replayed verbatim — exact source geometry and winding — instead of being re-synthesised; its `cNvPr/@id` is rewritten to avoid spTree collisions. Edited shapes fall back to synthesis. This is the same persist-in-JSON pattern already used for embedded fonts (`deck.fonts`), scoped to vector shapes to keep JSON bloat negligible (~a few KB per deck).
12+
313
## 1.16.0
414

515
### Minor 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.16.0",
3+
"version": "1.16.1",
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.24
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [65eeac2]
8+
- @textcortex/slidewise@1.16.1
9+
310
## 0.0.23
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.23",
3+
"version": "0.0.24",
44
"private": true,
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)