Block library proposal: record the owner's decisions D1–D10

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 13:44:57 +01:00
co-authored by Claude Opus 5.5
parent 0eeb7cd280
commit 48c2a3a5a8
+8 -4
View File
@@ -1,6 +1,8 @@
# Block library — proposal
> **Status:** proposal, not built. Waiting for the owner's decisions (§12).
> **Status:** approved design, not built. The owner accepted every recommendation, D1–D10, on 2026-10-29 (§12).
> Building starts when the coordinator confirms that all five designs (tokens, blocks, reference site,
> doctor, starter) are in and consistent.
> **Scope:** a shared set of page blocks and page templates in `@intecion/ipal-kit`, so agents
> assemble pages from standard parts instead of rebuilding them on each site.
> **Related tracks:** design tokens standard (token names, §6), project starter and reference
@@ -258,7 +260,7 @@ The plugin's tests check these for each block, and the block docs list them:
The library styles **only through the token names of the design-tokens track**
(`docs/dev/design-tokens-proposal.md` on `claude/design-tokens-95806d`; names agreed with that session
on 2026-10-29, still pending the owner's approval). The canonical variables are the `--ipal-*` names the
on 2026-10-29; the owner may still rename the utilities, see below). The canonical variables are the `--ipal-*` names the
plugin already ships; utilities come from the plugin preset `@intecion/ipal-kit/tailwind.css`.
Colours switch under `html[data-theme=dark]`, so blocks never use `dark:` for colours.
@@ -465,9 +467,11 @@ change in a new ipal-kit version never touches existing pages.
Ships as **1.15.0** (new feature, no breaking change).
## 12. Decisions for the owner
## 12. Decisions
| # | Decision | Recommendation |
The owner accepted every recommendation below on 2026-10-29 ("Accept all three", relayed by the coordinator).
| # | Decision | Accepted |
|---|---|---|
| D1 | Ship the library inside `@intecion/ipal-kit` (new entries) or as a separate package `@intecion/ipal-blocks` | **inside**, new entries `/blocks`, `/blocks/rsc`, `/templates` — one version, one guide |
| D2 | Styling: Tailwind token utilities from the plugin preset + `classNames`/`data-ipal-*`, or a plain CSS file on variables | **Tailwind token utilities** (all sites are on Tailwind v4; agreed with the design-tokens session) |