Skip to content

Commit 9142445

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

5 files changed

Lines changed: 36 additions & 28 deletions

File tree

.changeset/applyedits-lossless-surgical-edits.md

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

packages/slidewise/CHANGELOG.md

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

3+
## 1.20.0
4+
5+
### Minor Changes
6+
7+
- e56ddd2: feat(pptx): `applyEdits` — lossless surgical-edit API
8+
9+
Add `applyEdits(source, plan, options?)`: a patch on the original `.pptx` bytes
10+
rather than a full re-serialize. The create flow can now emit an `EditPlan`
11+
(subset/reorder/repeat of template slides, each with edits) and get back a valid
12+
package where everything not named by an edit is byte-identical to the source —
13+
masters, layouts, theme, embedded fonts, `ppt/tags/*`, notes, embeddings, and
14+
any untouched element. This removes the lossy round-trip that produced the
15+
`custGeom`/SVG-fallback/dangling-rel fidelity bugs and lets hosts drop their
16+
defensive cleanup. `serializeDeck` stays for the live editor / from-scratch decks.
17+
18+
Edits address elements by the same stable ids `parsePptx` returns; slides by
19+
1-based template index. Supported ops: `setText`/`clearText` (preserve the
20+
template box + run styling, or rebuild from supplied runs), `setChartData`
21+
(repopulate a native chart in place — type/colours kept, caches **and** the
22+
embedded `xlsx` workbook updated so Edit-Data still works), `setTableData`,
23+
`setImage`, `removeElement`, `addChart`, `addDiagram`, plus per-slide
24+
`background` and deck `title`. Removed slides and any parts that become
25+
exclusive to them are reclaimed by a package-wide reachability sweep, then
26+
dangling relationships and content-types are reconciled. Unresolved element ids
27+
and unsupported layout-instantiation are surfaced via `onWarning` instead of
28+
throwing.
29+
330
## 1.19.1
431

532
### 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.19.1",
3+
"version": "1.20.0",
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.34
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e56ddd2]
8+
- @textcortex/slidewise@1.20.0
9+
310
## 0.0.33
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.33",
3+
"version": "0.0.34",
44
"private": true,
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)