@pptx-studio/writer 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @pptx-studio/writer
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e8ba475: A table is parsed, and its grid is the one PowerPoint draws.
8
+
9
+ `Shape.table` carries the `a:tbl` of a `p:graphicFrame`: the `a:tblPr` flags and style source, every
10
+ `a:gridCol`, every `a:tr` with its cells, and each cell's spans, body and `a:tcPr` as written.
11
+ `tableGrid` resolves the merges by the rule C7 measured (`tables.json`, 76 of 76 tables PowerPoint
12
+ opened as written and 21 it authored itself): each `a:tc` takes the next column, the spans on the
13
+ anchor are the whole story, a covered position is covered whatever its own attributes say, a span
14
+ stops at the edge or at the first claimed position, and `hMerge`/`vMerge` change nothing. `a:tr/@h`
15
+ is a minimum, a column is never narrower than its cells' side margins plus 2 pt, and the frame's
16
+ `a:ext` says nothing about the drawn size. A table attribute of the wrong type throws
17
+ `MODEL_TABLE_ATTR`.
18
+
19
+ `@pptx-studio/validate` gains `V030`, a warning on a table whose rows, spans and flags disagree —
20
+ PowerPoint opens it silently and rewrites it on the next save — and `V031`, fatal on the missing or
21
+ mistyped table attributes PowerPoint repairs. The downstream packages carry the new rules and the
22
+ new field; nothing they draw changes.
23
+
24
+ - Updated dependencies [e8ba475]
25
+ - @pptx-studio/validate@0.2.0
26
+
27
+ ## 0.1.1
28
+
29
+ ### Patch Changes
30
+
31
+ - 76b505c: Published with a provenance attestation. The first release went out over a token rather than OIDC, and npm attests automatically only on the OIDC path, so the registry recorded no attestation and `npm audit signatures` could not verify these packages. Nothing else about them has changed.
32
+ - Updated dependencies [76b505c]
33
+ - @pptx-studio/opc@0.1.1
34
+ - @pptx-studio/validate@0.1.1
35
+ - @pptx-studio/xml@0.1.1
36
+
3
37
  ## 0.1.0
4
38
 
5
39
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pptx-studio/writer",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Export a .pptx: dirty-part-only serialization, media GC, prepare hooks, the repair firewall",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -40,9 +40,9 @@
40
40
  "./package.json": "./package.json"
41
41
  },
42
42
  "dependencies": {
43
- "@pptx-studio/xml": "^0.1.0",
44
- "@pptx-studio/opc": "^0.1.0",
45
- "@pptx-studio/validate": "^0.1.0"
43
+ "@pptx-studio/opc": "^0.1.1",
44
+ "@pptx-studio/validate": "^0.2.0",
45
+ "@pptx-studio/xml": "^0.1.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@arethetypeswrong/cli": "0.18.5",