pptx-vanilla-viewer 3.40.2 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +19 -0
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,36 @@ A release listed with no entries carried no Conventional Commit in this package'
|
|
|
7
7
|
scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
|
|
8
8
|
conventional commits.
|
|
9
9
|
|
|
10
|
+
## [3.42.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@3.42.0) - 2026-10-17
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **chart:** Honor native markers throughout shared rendering ([a7aeee1](https://github.com/ChristopherVR/ooxml/commit/a7aeee171248fc565b7bc9d611e054b659954243))
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- **chart:** Apply shared axis scaling to radar charts ([4acbf15](https://github.com/ChristopherVR/ooxml/commit/4acbf1556d8ac89371f736a8b7b5f7a5aedc3609))
|
|
19
|
+
- **pptx:** Bound image caches and dispose chart subscriptions ([0f2c004](https://github.com/ChristopherVR/ooxml/commit/0f2c0041b94c32293f8502bc299a4c18f586b3f3))
|
|
20
|
+
|
|
21
|
+
### Refactor
|
|
22
|
+
|
|
23
|
+
- **chart:** Share axis ranges and native gridline rendering ([8c26687](https://github.com/ChristopherVR/ooxml/commit/8c26687a7b3196955df602198528adc83fce259b))
|
|
24
|
+
- **chart:** Share pptx marker geometry with neutral rendering ([b246d63](https://github.com/ChristopherVR/ooxml/commit/b246d6315c32412298508d9b2a944b0c9bafc26b))
|
|
25
|
+
|
|
26
|
+
## [3.41.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@3.41.0) - 2026-10-17
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
- **chart:** Draw data labels in the shared chart renderer ([32142ef](https://github.com/ChristopherVR/ooxml/commit/32142ef32c392548fdf5f79aa9d7f659356fac70))
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
- **chart:** Preserve data label inheritance and source formats ([e92e5eb](https://github.com/ChristopherVR/ooxml/commit/e92e5eb80b098f6331fa21a5dc284018d56ec686))
|
|
35
|
+
|
|
36
|
+
### Documentation
|
|
37
|
+
|
|
38
|
+
- **chart:** Gap report and harness for the shared chart renderer ([b166877](https://github.com/ChristopherVR/ooxml/commit/b1668770e66e241704dd5ec9a04d2813e522acc4))
|
|
39
|
+
|
|
10
40
|
## [3.40.2](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@3.40.2) - 2026-10-17
|
|
11
41
|
|
|
12
42
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -373,6 +373,25 @@ The other subpaths are `i18n/fr` (`translationsFr`), `i18n/es`
|
|
|
373
373
|
[localization guide](https://christophervr.github.io/ooxml/pptx/guide/localization)
|
|
374
374
|
for registration and runtime switching. Existing English imports are unchanged.
|
|
375
375
|
|
|
376
|
+
## Custom DOM stage cleanup
|
|
377
|
+
|
|
378
|
+
The cleanup helpers belong to the shared DOM renderer:
|
|
379
|
+
|
|
380
|
+
```ts
|
|
381
|
+
import { disposePptxRenderStage, releasePptxRenderCaches } from 'ooxml-ui/pptx/dom';
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
Before a custom host replaces or removes a `renderSlideStage` result, call
|
|
385
|
+
`disposePptxRenderStage(stage)` to release chart subscriptions, then remove the
|
|
386
|
+
node. It also accepts a host containing multiple stages. The built-in viewer
|
|
387
|
+
performs this cleanup for its canvas, thumbnails, reading/presenter previews,
|
|
388
|
+
layout/template galleries and export stages.
|
|
389
|
+
|
|
390
|
+
A host that has closed all viewers sharing the renderer module may call
|
|
391
|
+
`releasePptxRenderCaches()` (from `ooxml-ui/pptx/dom`) to release retained image
|
|
392
|
+
memoisation. This is global, so wait until other live viewers no longer need
|
|
393
|
+
pending picture samples. Stage disposal itself only affects its own subtree.
|
|
394
|
+
|
|
376
395
|
## License
|
|
377
396
|
|
|
378
397
|
Apache-2.0. See `LICENSE` and `NOTICE`.
|