Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/report-blocks-by-theme.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.4.0

### Minor Changes

- 0e890d4: How a `Report` frames its blocks is now a theme decision, not a fixed look. A new `card` token group (`radius`, `border`, `borderWidth`, `shadow`, `padding`) is the default behind every `appearance` prop, with two ready-made sets: `framedCard` — what every preset ships with, a hairline border, gently rounded, not lifted — and `flatCard` — no border, rounding, shadow or padding, blocks separated by whitespace alone, which is the IBCS SIMPLIFY ideal and what a printed page wants. It composes with any palette: `<Report config={c} tokens={{ card: flatCard }} />`. `cardSurface` reads the same tokens, so `KpiCard` follows the theme too and its own `appearance` still wins per instance. Inside a `Report`, a KPI block is now framed once — the block is the frame and the card inside draws none — where before the two borders stacked. The block chrome unifies on the card values (radius 8, no shadow) in place of the wrapper's own 10px/faint-shadow look.

The single-column collapse is a screen rule now: `@media screen and (max-width: …)`, so a PDF or print rendering keeps the authored spans whatever the paper width — an A4 page area is narrower than the old 760px breakpoint and used to stack every block full-width. New `collapseBelow` prop (default 760, `false` to never collapse), scoped per grid so two reports on one page can differ. The parts carry stable selectors for CSS a theme cannot express: `.ibcs-report` on the root (before your `className`), `.ibcs-report-grid`, and `.ibcs-report-block` with `data-block-type` / `data-block-id` on every block.

## 1.3.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ibcs-react",
"version": "1.3.0",
"version": "1.4.0",
"description": "IBCS / ISO 24896:2026 business reporting components for React: statement tables, variance and waterfall charts, KPI cards and a conformance linter. One data model, many views.",
"keywords": [
"actual-vs-budget",
Expand Down
Loading