Skip to content

Commit bd8ffb8

Browse files
os-zhuangclaude
andcommitted
fix(skills): regenerate the react-blocks contract for the combo chart type
Fifth generated artefact tracking the spec surface: the react-blocks contract and its reference table inline the ChartType union. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent c723b2a commit bd8ffb8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

skills/objectstack-ui/contracts/react-blocks.contract.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
},
323323
{
324324
"name": "type",
325-
"type": "'bar' | 'horizontal-bar' | 'column' | 'line' | 'area' | 'pie' | 'donut' | 'funnel' | 'scatter' | 'treemap' | 'sankey' | 'gauge' | 'solid-gauge' | 'metric' | 'kpi' | 'bullet' | 'radar' | 'table' | 'pivot'",
325+
"type": "'bar' | 'horizontal-bar' | 'column' | 'line' | 'area' | 'pie' | 'donut' | 'funnel' | 'scatter' | 'treemap' | 'sankey' | 'combo' | 'gauge' | 'solid-gauge' | 'metric' | 'kpi' | 'bullet' | 'radar' | 'table' | 'pivot'",
326326
"kind": "data",
327327
"required": true,
328328
"description": ""

skills/objectstack-ui/references/react-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Chart over an object’s aggregated data. Bind objectName + aggregate; the axes
7373
| `aggregate` | `{ field?: string; function: 'count' \| 'sum' \| 'avg' \| 'min' \| 'max'; groupBy: string \| { field: string; dateGranularity?: 'day' \| 'week' \| 'month' \| 'quarter' \| 'year' } }` | binding | | Aggregation run against objectName. Result rows are keyed by the RAW FIELD NAMES: one column named after groupBy (the category) and one named after field (the value; the literal "count" for a fieldless count). Bind xAxis.field / yAxis[].field / series[].name to those names. |
7474
| `data` | `any[]` | binding | | Static/precomputed data to chart directly instead of binding via objectName + aggregate. |
7575
| `filter` | `FilterArray` | controlled | | ObjectQL filter scoping the data; drive from React state. |
76-
| `type` | `'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| 'funnel' \| 'scatter' \| 'treemap' \| 'sankey' \| 'gauge' \| 'solid-gauge' \| 'metric' \| 'kpi' \| 'bullet' \| 'radar' \| 'table' \| 'pivot'` | data || |
76+
| `type` | `'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| 'funnel' \| 'scatter' \| 'treemap' \| 'sankey' \| 'combo' \| 'gauge' \| 'solid-gauge' \| 'metric' \| 'kpi' \| 'bullet' \| 'radar' \| 'table' \| 'pivot'` | data || |
7777
| `title` | `string` | data | | Chart title |
7878
| `subtitle` | `string` | data | | Chart subtitle |
7979
| `description` | `string` | data | | Accessibility description — announced to screen readers as the chart’s label |

0 commit comments

Comments
 (0)