fix(adapter): resolve all WHYNOT-WP-0002 drift — designbook-refresh green
Triage the three surfaced divergences the governance-correct way (no stack->React back-edit, no ir/ hand-edit); make adapt-lit/parity-lit/designbook-refresh now exit 0: - PipelineStrip: documented TAG_OVERRIDES in scripts/ir-extract.mjs maps the React 'PipelineStrip' to the established tag wn-pipeline (the web-component tag is an IR-projection detail, not React-dictated; the component name stays faithful). Tag now matches the element; parity tests it (no longer skipped). - PageHeader.actions: the drift detector now collects each element's named slots and treats an IR prop honoured by a same-named slot (<slot name="actions">) as satisfied (prop-via-slot, informational) rather than prop-missing. - Sidebar.current: recorded as an auditable accepted divergence in adapters/lit/drift.accepted.json (React monolithic 'current' key vs Lit per-item 'active' on composable <wn-sidebar-item>) — listed, downgraded to info, not gated. Rendered surfaces (src/, examples/) untouched — verified zero diff; parity renders all 10 components green. Adapt/parity outputs idempotent (stable re-run). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!-- GENERATED by scripts/ir-extract.mjs (make ir) — do not hand-edit. -->
|
||||
# whynot-design IR catalog
|
||||
|
||||
**designVersion** `0.4.0` · **components** 10 · **generated** 2026-06-28T22:41:24.992Z
|
||||
**designVersion** `0.4.0` · **components** 10 · **generated** 2026-06-30T07:46:35.138Z
|
||||
|
||||
Machine-readable companion: [`manifest.json`](./manifest.json) (per-component + token hashes).
|
||||
|
||||
@@ -96,7 +96,7 @@ PageHeader — extracted from designbook ui_kits/whynot-control/Chrome.jsx.
|
||||
|
||||
**Contract:** [`components/PageHeader.json`](./components/PageHeader.json) · **hash** `sha256:93e12068e2f58f10` · **exemplar:** [`exemplars/PageHeader.html`](./exemplars/PageHeader.html)
|
||||
|
||||
### PipelineStrip `<wn-pipeline-strip>`
|
||||
### PipelineStrip `<wn-pipeline>`
|
||||
|
||||
PipelineStrip — extracted from designbook ui_kits/whynot-control/Chrome.jsx.
|
||||
|
||||
@@ -104,7 +104,7 @@ PipelineStrip — extracted from designbook ui_kits/whynot-control/Chrome.jsx.
|
||||
| --- | --- | --- | --- |
|
||||
| `activeIdx` | `active-idx` | number | `3` |
|
||||
|
||||
**Contract:** [`components/PipelineStrip.json`](./components/PipelineStrip.json) · **hash** `sha256:89c40afe4742d64e` · **exemplar:** [`exemplars/PipelineStrip.html`](./exemplars/PipelineStrip.html)
|
||||
**Contract:** [`components/PipelineStrip.json`](./components/PipelineStrip.json) · **hash** `sha256:167717c21cceff79` · **exemplar:** [`exemplars/PipelineStrip.html`](./exemplars/PipelineStrip.html)
|
||||
|
||||
### Sidebar `<wn-sidebar>`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user