pptx-kit 0.9.0 → 0.10.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 +26 -0
- package/dist/{api-Irqm9KrN.js → api-grq54JcQ.js} +429 -157
- package/dist/api-grq54JcQ.js.map +1 -0
- package/dist/{index-vTW90gao.d.ts → index-CXoXNgJm.d.ts} +88 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/package.json +1 -1
- package/dist/api-Irqm9KrN.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# pptx-kit
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6060afc: `setShapeRunFormat` / `getShapeRunFormat` / `getShapeRunFormatEffective` now
|
|
8
|
+
support `fontEastAsian`, a per-run East Asian typeface override (`<a:ea>`),
|
|
9
|
+
alongside the existing `font` (`<a:latin>`). Previously a run's CJK glyphs
|
|
10
|
+
always fell back to whichever East Asian font the theme's major/minor font
|
|
11
|
+
scheme happened to carry, with no way to set a distinct typeface (e.g. a
|
|
12
|
+
serif headline vs. a sans-serif body) on an individual run. `fontEastAsian`
|
|
13
|
+
resolves theme `+mj-ea`/`+mn-ea` tokens and falls back to the theme's major/
|
|
14
|
+
minor East Asian font the same way `font` already does for Latin text.
|
|
15
|
+
- fa5e53f: Added two authoring capabilities aimed at complex, dense slide layouts
|
|
16
|
+
(process diagrams, KPI cards, branded decks):
|
|
17
|
+
|
|
18
|
+
- `groupShapes` / `ungroupShapes` compose a selection of top-level shapes
|
|
19
|
+
into a single `<p:grpSp>` (and reverse it). The group's bounds are the
|
|
20
|
+
union of its members; moving or resizing the group afterwards rescales
|
|
21
|
+
every member on ungroup, so a "KPI card" or diagram node built from a
|
|
22
|
+
rectangle + label can be treated — and repositioned — as one unit.
|
|
23
|
+
- `setPresentationTheme` / `setPresentationFonts` patch a deck's color
|
|
24
|
+
scheme and font scheme in place, so a from-scratch deck can be branded
|
|
25
|
+
with a custom palette and typography without hand-authoring a template.
|
|
26
|
+
Only the slots passed in are overwritten; every other slot keeps its
|
|
27
|
+
existing value.
|
|
28
|
+
|
|
3
29
|
## 0.9.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|