@taprootio/espalier 3.1.0 → 3.3.0

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 CHANGED
@@ -1,3 +1,56 @@
1
+ # 3.3.0
2
+
3
+ Theme QA: the fit report as a lint over every surface a themed site
4
+ has, a CLI that makes fit tables reviewable, and swatch intake.
5
+
6
+ - `themeFitReportSuite(lightPartial, darkPartial)`: root plus every
7
+ context, both schemes, compiled through the exact zone path a
8
+ `context` attribute uses (`resolveContextTheme`, now exported), with
9
+ cross-token lints — action/canvas separation and link/hover ordering.
10
+ - `npx espalier theme check ./theme.json` — validate a pair, print the
11
+ suite, and gate CI on committed fit tables (`--expect`, non-zero on
12
+ drift; refresh deliberately with `--update-expect`).
13
+ - The action-surface placement steps past stops indistinguishable from
14
+ the local canvas whenever a separated stop can carry the ink.
15
+ - Context declarations accept `semanticMappings` to correct inherited
16
+ root-level pins; the fit report marks pins `declared` / `inherited`.
17
+ - New data companions per surface: `--esp-color-series-N-wash` (the
18
+ documented 75% OKLab fill mix, baked against the local background)
19
+ and `--esp-color-series-N-ink` (text-tier contrast).
20
+ - `themeFromSwatches` / `deriveLightnessRamp`: brand book in,
21
+ reviewable paired theme starter out (names normalized to anchor
22
+ slugs).
23
+ - Fix: `linkHover` is enforced against `linkHoverBg`, the wash hovered
24
+ links actually paint on. Values move only where hover was under tier
25
+ on its rendered wash.
26
+
27
+ # 3.2.0
28
+
29
+ Website-tier layout: the pieces a real marketing page proved were
30
+ missing (measured: a 297-line style block, 48% layout, none of it
31
+ novel).
32
+
33
+ - `esp-page kind="site"`: sections run edge to edge and the header,
34
+ footer, and every section well share one centered column via
35
+ `--esp-page-well-max-width` (default 72rem).
36
+ - `esp-section`: the full-bleed band with a centered well — and the
37
+ natural `context` zone host, with no card identity to neutralize.
38
+ Rhythm defaults to the new fluid `--esp-size-section` step.
39
+ - `esp-stack` and `esp-row`: column and wrapping-row flow with
40
+ space-scale gaps. Stacks stretch like block flow while slotted
41
+ buttons keep their natural width — the pairing a plain flex column
42
+ cannot express.
43
+ - Layout tokens: `--esp-measure` / `--esp-measure-wide`,
44
+ `--esp-size-section`, `--esp-shadow-1..3` (elevation; level 1 is
45
+ exactly the shadow `esp-box` always painted, now overridable via
46
+ `--esp-box-shadow`), and `--esp-card-min` for the auto-fit card-grid
47
+ recipe.
48
+ - `esp-root` accepts theme objects directly: `root.lightTheme = {...}`
49
+ / `root.darkTheme = {...}` encode through the same pipeline as the
50
+ `light-theme` / `dark-theme` attributes.
51
+ - New export subpaths: `./section`, `./stack`, `./row`, and dedicated
52
+ entries for `./flyout`, `./progress`, `./toaster`, `./tooltip`.
53
+
1
54
  # Changelog
2
55
 
3
56
  All notable changes to the public `@taprootio/espalier` package are documented