@taprootio/espalier 6.13.2 → 6.15.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 +19 -0
- package/custom-elements.json +2205 -2009
- package/dist/footer/esp-footer-link-group.js +1 -1
- package/dist/footer/esp-footer.d.ts +2 -1
- package/dist/footer/esp-footer.js +5 -4
- package/dist/header/esp-header.d.ts +18 -8
- package/dist/header/esp-header.js +59 -35
- package/dist/header/header-geometry-controller.js +1 -1
- package/dist/root/esp-root.js +34 -1
- package/dist/shared/blockquote-styles.d.ts +26 -0
- package/dist/shared/blockquote-styles.js +88 -0
- package/espalier.css-data.json +5 -1
- package/espalier.token-manifest.json +7 -1
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# 6.15.0
|
|
2
|
+
|
|
3
|
+
Footer colors now reach every paragraph and link inside `esp-footer`.
|
|
4
|
+
|
|
5
|
+
- Footer paragraphs, list items, headings and links follow `--esp-footer-color`, `--esp-footer-heading-color` and `--esp-footer-link-color` wherever they sit, including slotted link-group columns, aside text and the bottom row. Previously the page's text and link colors won, so a dark custom footer could show dark text and low-contrast links.
|
|
6
|
+
- Hovered footer links, including the brand link, use `--esp-footer-link-hover-color` and the new `--esp-footer-link-hover-bg`, which defaults to `var(--esp-color-link-hover-bg)`. Set it to `transparent` when the page's hover tint does not suit a custom footer background.
|
|
7
|
+
- The footer focus outline now defaults to `2px solid var(--esp-footer-link-color, var(--esp-color-link))`, so it follows a custom footer link color.
|
|
8
|
+
- Every footer link now shows the footer's focus ring at a 3px offset, not only link-group columns. Unclassed links also take the theme corner radius; a classed link keeps its own shape, and a classed link with its own focus rule keeps that rule.
|
|
9
|
+
- The footer color rules sit one element above the page's text and link rules. A consumer stylesheet that colors unclassed footer links with a selector below `(0,1,3)` now loses to them; use the `--esp-footer-*` variables instead. A classed link keeps any color rule on its own class, because the scope reaches classed links only at `(0,0,3)`.
|
|
10
|
+
|
|
11
|
+
# 6.14.0
|
|
12
|
+
|
|
13
|
+
Tall headers shrink with scrolling, and native quotations share one themed recipe.
|
|
14
|
+
|
|
15
|
+
- Tall fixed headers with compact behavior now shrink by the measured scroll distance, preserving stable page flow through partial and full compaction.
|
|
16
|
+
- Set `min-height-multiplier` with `compact-size="standard"` to choose a taller minimum row and logo while controls retain baseline sizes. The effective minimum is capped at the expanded scale; legacy compact sizing is unchanged.
|
|
17
|
+
- Compact logos appear at the first actual shrink. Tall header chrome stays expanded through partial shrink and at a minimum above the baseline; equal or larger minima keep expanded branding and geometry.
|
|
18
|
+
- Import `blockquoteStyles` from `@taprootio/espalier/shared/blockquote-styles` to give selected native quotations a themed panel, local lead typography and one decorative opening mark in document CSS or Lit editors. Pass an optional figure selector for native captions and work titles; unrelated quotes keep their styles. The SVG mark needs CSP `img-src data:` and disappears when blocked or in forced colors.
|
|
19
|
+
|
|
1
20
|
# 6.13.2
|
|
2
21
|
|
|
3
22
|
`esp-button` now passes its `aria-label` to the inner button or link.
|