ggaction 0.0.23 → 0.0.24
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 +18 -0
- package/README.md +2 -2
- package/knowledge/action-cards.json +1 -1
- package/knowledge/intent-taxonomy.json +1 -1
- package/knowledge/mcp-resources.json +1 -1
- package/package.json +1 -1
- package/src/actions/charts/heatmap.js +1 -1
- package/src/actions/data/basicBin2d.js +1 -1
- package/src/actions/data/bin2d.js +2 -2
- package/src/actions/encodings/ranged.js +2 -2
- package/src/actions/facets/actions.js +1 -1
- package/src/actions/guides/axes/components.js +5 -0
- package/src/actions/guides/axes/edit.js +1 -188
- package/src/actions/guides/axes/labels.js +1 -537
- package/src/actions/guides/axes/tickGroups.js +16 -1
- package/src/actions/guides/axes/ticks.js +33 -24
- package/src/actions/guides/axes/titles.js +1 -389
- package/src/actions/titles/resolve.js +11 -1
- package/src/core/compositionState.js +4 -1
- package/src/core/facetGap.js +44 -0
- package/src/grammar/axisTextPlacement.js +1 -1
- package/src/grammar/bin2d.js +34 -4
- package/src/inspectionDescriptors.js +1 -1
- package/src/layout/composition.js +2 -6
- package/src/layout/facetContentFlow.js +15 -7
- package/src/layout/facets.js +1 -1
- package/src/layout/title.js +1 -1
- package/src/materialization/guides/layout.js +1 -1
- package/src/materialization/guides/resources.js +1 -1
- package/src/materialization/planner.js +19 -4
- package/src/persistence/validation.js +19 -1
- package/src/version.js +1 -1
- package/types/basic.d.ts +2 -0
- package/types/index.d.ts +3 -0
- package/types/program.d.ts +19 -7
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ All notable changes to `ggaction` are recorded in this file.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## [0.0.24] - 2026-10-24
|
|
8
|
+
|
|
9
|
+
- Add independent `subtitleLineHeight` to title creation and editing, preserving shared spacing and omitted defaults through layout replay and saved programs.
|
|
10
|
+
|
|
11
|
+
- Infer quantitative typing for numeric constant Rule secondary endpoints when `fieldType` is omitted, matching the existing declaration while retaining field-based endpoint validation.
|
|
12
|
+
|
|
13
|
+
- Fix Canvas replay and complete-axis frame edits comparing new axis labels with a stale numeric sibling title position.
|
|
14
|
+
- Preserve strict nested tick/label validation and numeric-map errors in complete-axis edits before replay planning.
|
|
15
|
+
|
|
16
|
+
- Add Cartesian axis title `offset: { from: "labels", gap }` with same-owner label-aware replay, preserving numeric and omitted defaults.
|
|
17
|
+
|
|
18
|
+
- Add explicit `assignment: "step"` for rectangular 2D bins and binned heatmaps, preserving the default strict edge policy and immutable replay.
|
|
19
|
+
|
|
20
|
+
- Add independent horizontal/vertical facet gaps with closed `{ x, y }` input, immutable replay and unchanged numeric/concat spacing.
|
|
21
|
+
- Preserve a facet parent title when revising its source data without introducing titles in child charts.
|
|
22
|
+
|
|
23
|
+
- Add optional Cartesian label `flushThreshold` to align only mapped ticks near range edges, preserving full-containment defaults and editable replay.
|
|
24
|
+
|
|
7
25
|
## [0.0.23] - 2026-10-23
|
|
8
26
|
|
|
9
27
|
- Add independent full-content facet packing, view-aware headers and per-channel Cartesian axis policies with unclipped shared footer axes.
|
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ automatic undo stack; the application chooses which to retain or render.
|
|
|
103
103
|
|
|
104
104
|
Use `createLinePlot`, `createBarPlot`, `createHistogram`, and `createHeatmap` for
|
|
105
105
|
the other basic Cartesian charts. The `ggaction/basic` entry keeps this common
|
|
106
|
-
creation path at or below the current
|
|
106
|
+
creation path at or below the current 233,000-byte gzip regression ceiling while
|
|
107
107
|
each facade still records its mark, encoding, and guide actions as trace
|
|
108
108
|
children. Import from
|
|
109
109
|
`ggaction` when you need editing, selection, composition, alternative
|
|
@@ -237,7 +237,7 @@ the extra discussion required before public API or architecture changes.
|
|
|
237
237
|
|
|
238
238
|
## Status and development
|
|
239
239
|
|
|
240
|
-
> **Status:** `0.0.
|
|
240
|
+
> **Status:** `0.0.24` is the current experimental public release. APIs may change before `1.0.0`; changes are recorded in the [changelog](./CHANGELOG.md).
|
|
241
241
|
|
|
242
242
|
```bash
|
|
243
243
|
npm install
|