@taprootio/espalier 3.4.0 → 3.6.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 +46 -0
- package/custom-elements.json +10517 -8942
- package/dist/form-item/esp-form-item.js +4 -2
- package/dist/root/esp-root.d.ts +64 -0
- package/dist/root/esp-root.js +8 -3
- package/dist/root/helpers/compute-semantic-properties.js +1 -1
- package/dist/shared/esp-element-base.d.ts +1 -1
- 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 +1 -1
- package/dist/shared/theme-fit-report.js +1 -1
- package/dist/shared/theme.d.ts +3 -3
- package/dist/shared/theme.js +1 -1
- package/espalier.token-manifest.json +105 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
# 3.6.0
|
|
2
|
+
|
|
3
|
+
Named type roles without a generic text wrapper.
|
|
4
|
+
|
|
5
|
+
- Overline, label, lead, and caption each have a complete
|
|
6
|
+
`--esp-type-<role>-*` recipe for size, weight, tracking, color, and — for
|
|
7
|
+
overline — uppercase transform. Apply the recipes to native paragraphs,
|
|
8
|
+
labels, captions, and inline elements so their semantics stay intact.
|
|
9
|
+
- Each role has its own semantic ink. Overline and caption clear APCA Lc 90;
|
|
10
|
+
label and lead clear Lc 75. Theme `ink.color` or an existing raw `text`
|
|
11
|
+
mapping supplies unbound and unpinned roles without weakening a distinct
|
|
12
|
+
role family, and a context re-emits only the color aliases against its
|
|
13
|
+
locally enforced colors so inherited recipe overrides survive.
|
|
14
|
+
- `esp-form-item` consumes the label recipe while retaining its component-level
|
|
15
|
+
label-color override.
|
|
16
|
+
- Theme QA now recommends retuning the one-consumer `linkHoverBg` wash before
|
|
17
|
+
changing the widely shared `linkHover` ink.
|
|
18
|
+
- Identical type-role APCA inputs share one background-aware enforcement
|
|
19
|
+
derivation per surface while retaining every token's fit-report record.
|
|
20
|
+
|
|
21
|
+
### Migration note
|
|
22
|
+
|
|
23
|
+
`esp-form-item` labels now take their size and weight from the label role instead
|
|
24
|
+
of inheriting `--esp-form-item-font-size` and using literal `bold`. Themes with
|
|
25
|
+
normal-weight headings therefore render normal-weight form labels; compact
|
|
26
|
+
regions can override `--esp-type-label-font-size` or
|
|
27
|
+
`--esp-type-label-font-weight` on their wrapper.
|
|
28
|
+
|
|
29
|
+
# 3.5.0
|
|
30
|
+
|
|
31
|
+
No unthemed flash when the theme mounts from script.
|
|
32
|
+
|
|
33
|
+
- `<esp-root theme-pending>` holds the subtree's paint until the theme
|
|
34
|
+
for the active scheme applies — no frame on the default palette, no
|
|
35
|
+
layout shift on reveal. The hold ends on its own (and warns) if no
|
|
36
|
+
theme arrives, so a broken mount shows the wrong colors, never a
|
|
37
|
+
blank page, and the deadline survives a reattach.
|
|
38
|
+
- The hold runs from upgrade onward. To close the window before your
|
|
39
|
+
scripts run, add the documented one-liner to your page:
|
|
40
|
+
`esp-root[theme-pending]:not([data-theme-ready]) { visibility: hidden }`.
|
|
41
|
+
- Readiness is public: `themeSettled`, `whenThemeSettled()`, and a
|
|
42
|
+
`data-theme-ready` attribute page CSS can gate on.
|
|
43
|
+
- The "context is not defined" warning now judges the settled theme, so
|
|
44
|
+
a zone whose context the theme goes on to define stays quiet while a
|
|
45
|
+
genuinely missing one still warns.
|
|
46
|
+
|
|
1
47
|
# 3.4.0
|
|
2
48
|
|
|
3
49
|
An offline story for icons: a fully self-contained page renders
|