@particle-academy/holy-sheet 2.6.0 → 2.8.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 +33 -0
- package/dist/index.cjs +868 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +100 -8
- package/dist/index.d.ts +100 -8
- package/dist/index.js +868 -68
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [2.8.0] — 2026-10-19
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **`charts`: native Excel charts over cell ranges.** A sheet takes
|
|
18
|
+
`charts: [{type, title?, categories?, series: [{name?, values, color?}],
|
|
19
|
+
position?: {from, to}, dataLabels?, legend?, format?}]`. `type` is `column`,
|
|
20
|
+
`bar` (horizontal, for long labels), `line` or `pie`. Ranges are A1 ranges on
|
|
21
|
+
the chart's own sheet (`"B5:B7"`) or another (`"'Q3 Revenue'!B5:B7"`).
|
|
22
|
+
`position` anchors the chart between two cells and defaults to beside the
|
|
23
|
+
data. `format` is an Excel number format for the axis and labels (`"$#,##0"`).
|
|
24
|
+
Agent-built workbooks reviewed for a board were marked down for having no
|
|
25
|
+
chart where the point was comparison, and there was no way to make one.
|
|
26
|
+
- These are real charts, not pictures: edit a figure and the chart follows. The
|
|
27
|
+
values are cached too, so a viewer that does not recalculate still draws them.
|
|
28
|
+
Styling is quiet on purpose (grey 9pt axis text, light gridlines, no tick
|
|
29
|
+
marks, a bold 12pt title) so a chart reads as part of the sheet.
|
|
30
|
+
- Read back by `describe()` / `read()` in the same shape, validated with a hint
|
|
31
|
+
per field, and published in the schema. Byte-identical across the PHP, Node
|
|
32
|
+
and Python engines.
|
|
33
|
+
- **Nothing to do**: a workbook without `charts` is byte-identical to before. A
|
|
34
|
+
sheet with comments keeps their relationship ids; the drawing takes the next.
|
|
35
|
+
|
|
36
|
+
## [2.7.0] — 2026-10-19
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
|
|
40
|
+
- **`print`** (`orientation`, `fitToWidth`, `footer` with `{page}` / `{pages}`)
|
|
41
|
+
and **`rowHeights`** (pixels by 1-based row number). Read back, validated and
|
|
42
|
+
published in the schema. **Nothing to do**: a workbook without them is
|
|
43
|
+
byte-identical. Same as `particle-academy/holy-sheet` 2.6.0 and
|
|
44
|
+
`fancy-holy-sheet` 0.6.0; parity holds (`printSetup` fixture).
|
|
45
|
+
|
|
13
46
|
## [2.6.0] — 2026-10-11
|
|
14
47
|
|
|
15
48
|
### Fixed
|