@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 +53 -0
- package/custom-elements.json +5656 -2169
- package/dist/box/esp-box.d.ts +10 -0
- package/dist/box/esp-box.js +4 -4
- package/dist/cli/espalier.js +2 -0
- package/dist/cli/theme-check.js +2 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1 -1
- package/dist/page/esp-page.d.ts +23 -7
- package/dist/page/esp-page.js +37 -10
- package/dist/root/esp-root.d.ts +40 -1
- package/dist/root/esp-root.js +3 -3
- package/dist/root/helpers/compute-theme-properties.js +1 -1
- package/dist/root/helpers/data-companion-properties.js +1 -0
- package/dist/row/esp-row.d.ts +64 -0
- package/dist/row/esp-row.js +67 -0
- package/dist/section/esp-section.d.ts +55 -0
- package/dist/section/esp-section.js +22 -0
- package/dist/shared/esp-element-base.js +2 -2
- package/dist/shared/scale-engine.js +1 -1
- package/dist/shared/theme-fit-report.d.ts +94 -4
- package/dist/shared/theme-fit-report.js +1 -1
- package/dist/shared/theme-swatches.d.ts +79 -0
- package/dist/shared/theme-swatches.js +1 -0
- package/dist/shared/theme.d.ts +38 -1
- package/dist/shared/theme.js +1 -1
- package/dist/shared/unsafe-keys.js +1 -0
- package/dist/stack/esp-stack.d.ts +62 -0
- package/dist/stack/esp-stack.js +56 -0
- package/espalier.token-manifest.json +164 -1
- package/package.json +32 -1
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
|