@taprootio/espalier 7.3.0 → 7.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 +27 -0
- package/custom-elements.json +323 -15
- package/dist/badge/esp-badge.d.ts +39 -0
- package/dist/badge/esp-badge.js +35 -6
- package/dist/box/esp-box.d.ts +4 -2
- package/dist/box/esp-box.js +6 -6
- package/dist/breadcrumbs/esp-breadcrumb.d.ts +1 -0
- package/dist/breadcrumbs/esp-breadcrumb.js +11 -3
- package/dist/breadcrumbs/esp-breadcrumbs.js +6 -6
- package/dist/button/esp-button-group.js +8 -3
- package/dist/button/esp-button.d.ts +3 -0
- package/dist/button/esp-button.js +47 -13
- package/dist/cli/theme-check.js +2 -2
- package/dist/footer/esp-footer-link-group.js +11 -8
- package/dist/footer/esp-footer.d.ts +5 -3
- package/dist/footer/esp-footer.js +25 -10
- package/dist/footer/paint-registration.js +1 -1
- package/dist/menu/paint-registration.js +1 -1
- package/dist/root/esp-root.d.ts +13 -0
- package/dist/root/esp-root.js +69 -10
- package/dist/root/helpers/compute-semantic-properties.js +1 -1
- package/dist/root/helpers/compute-theme-properties.js +1 -1
- package/dist/section/esp-section.d.ts +5 -4
- package/dist/section/esp-section.js +1 -1
- package/dist/shared/blockquote-styles.d.ts +5 -1
- package/dist/shared/blockquote-styles.js +8 -4
- package/dist/shared/color-engine.js +1 -1
- package/dist/shared/component-property-compiler.js +1 -1
- package/dist/shared/component-property-diagnostics.js +1 -1
- package/dist/shared/component-property-normalizer.js +1 -1
- package/dist/shared/esp-element-base.js +2 -2
- package/dist/shared/footer-ink-styles.js +18 -0
- package/dist/shared/footer-ink.js +1 -0
- package/dist/shared/paint-catalog.js +1 -1
- package/dist/shared/paint-fit.js +1 -1
- package/dist/shared/paint-types.d.ts +9 -0
- package/dist/shared/public-token-catalog.generated.js +1 -1
- package/dist/shared/scale-engine.js +1 -1
- package/dist/shared/semantic-color-names.js +1 -1
- package/dist/shared/settable-component-properties.js +1 -1
- package/dist/shared/theme-fit-report.d.ts +6 -4
- package/dist/shared/theme-fit-report.js +1 -1
- package/dist/testing/observe-paint.iife.js +2 -2
- package/dist/testing/observe-paint.js +3 -3
- package/espalier.css-data.json +139 -7
- package/espalier.token-manifest.json +1038 -62
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
# 7.6.0
|
|
2
|
+
|
|
3
|
+
Tune shadows, buttons, quotes, lists, code, navigation and footers through settable properties, and fix several paint and reach details.
|
|
4
|
+
|
|
5
|
+
- Set `--esp-shadow-1-geometry` to `--esp-shadow-3-geometry` in `componentProperties`, at the root or in a context, to change the offsets and blur of each elevation step. Defaults match the previous shadows.
|
|
6
|
+
- Set `--esp-box-shadow` and the new `--esp-button-shadow` to `none` or an elevation step `1`, `2` or `3`. The button draws its shadow as a drop shadow and has none by default.
|
|
7
|
+
- Set `--esp-button-border-width` and `--esp-button-press-offset` to change a button's border and how far it moves while pressed. The move is skipped under reduced motion.
|
|
8
|
+
- Set `--esp-menu-item-hover-indicator-color` and `--esp-menu-item-active-indicator-color` to color the bars under horizontal navigation items. Theme fit measures them against the background.
|
|
9
|
+
- Theme fit no longer measures the navigation focus ring against the hover bar; the ring is measured against the item background.
|
|
10
|
+
- Boxes paint the theme's `boxBackgroundImage` and its opacity unless `--esp-box-background` is set, so the "lines" preset now shows on boxes.
|
|
11
|
+
- Set `--esp-ordered-list-marker-style` and `--esp-list-marker-color` for ordered-list numbering and list markers in native prose.
|
|
12
|
+
- Set `--esp-blockquote-bar-width`, `--esp-blockquote-shadow` and `--esp-blockquote-font-family` to shape quotes; the family is left alone unless set.
|
|
13
|
+
- Set `--esp-heading-1-mark-color` through `--esp-heading-4-mark-color` and `--esp-heading-mark-height` to paint an underline or highlighter mark beneath native headings. Headings are unchanged until a mark color is set.
|
|
14
|
+
- Set `--esp-code-border-style`, `--esp-code-border-color` and `--esp-code-background` to restyle inline code, and the border of `pre` blocks.
|
|
15
|
+
- Set `--esp-footer-brand-hover-background` and `--esp-footer-brand-hover-transform` for the footer brand link alone, and `--esp-footer-link-hover-bg` through `componentProperties`.
|
|
16
|
+
- Set `--esp-section-decoration-repeat` to tile a section decoration mask. It does not repeat by default.
|
|
17
|
+
- In the token manifest, the footer and header surfaces list only layer 2 in `paints`, and each status color (danger, warning, success, info) now lists where it is painted.
|
|
18
|
+
|
|
19
|
+
# 7.5.0
|
|
20
|
+
|
|
21
|
+
Refine footer contrast, personalize breadcrumb separators, and style linked badges.
|
|
22
|
+
|
|
23
|
+
- Footer headings and links use branded colors fitted to the default raised footer surface in each scheme and context. Theme fit reports expose the requested and emitted colors for that surface.
|
|
24
|
+
- Set `--esp-breadcrumb-separator-stroke-width` to adjust built-in line marks. Directional marks mirror in right-to-left trails, including custom marks carrying `data-mirror-rtl`.
|
|
25
|
+
- Set `linked` on a badge inside an anchor for a decorative link mark and separate fill, border, and ink in the resting, hover, and keyboard focus states. Theme fitting measures the ink against the fill for each state.
|
|
26
|
+
- For an anchor in the light DOM under `esp-root` whose only content is a badge, add `data-esp-badge-link` to keep interaction paint on the rounded badge. Set `--esp-badge-link-focus-ring-color` independently of focus ink. The outside ring defaults to the link color.
|
|
27
|
+
|
|
1
28
|
# 7.3.0
|
|
2
29
|
|
|
3
30
|
Theme individual component details by color scheme and context, and see where semantic colors are painted.
|
package/custom-elements.json
CHANGED
|
@@ -5921,7 +5921,7 @@
|
|
|
5921
5921
|
"declarations": [
|
|
5922
5922
|
{
|
|
5923
5923
|
"kind": "class",
|
|
5924
|
-
"description": "A compact status chip for counts, labels, and semantic state.\n\nBadges truncate long labels with an ellipsis when their container\nconstrains them. Leave enough inline space for critical status text\nthat must remain fully visible.\n\n```html\n<div style=\"display: flex; flex-wrap: wrap; gap: var(--esp-size-tiny);\">\n <esp-badge>Draft</esp-badge>\n <esp-badge intent=\"success\" icon=\"circle-dot\">Published</esp-badge>\n <esp-badge intent=\"warning\">Pending review</esp-badge>\n <esp-badge intent=\"danger\" icon=\"circle-x\">Banned</esp-badge>\n <esp-badge intent=\"info\" size=\"medium\" icon=\"info-i\">12 updates</esp-badge>\n</div>\n```",
|
|
5924
|
+
"description": "A compact status chip for counts, labels, and semantic state.\n\nBadges truncate long labels with an ellipsis when their container\nconstrains them. Leave enough inline space for critical status text\nthat must remain fully visible.\n\nPut a badge inside an anchor and set `linked` for link styling. A\nsmall chain mark identifies the link without relying on color. In the\nlight DOM under `esp-root`, add `data-esp-badge-link` to an anchor that\ncontains only the badge to put the interaction paint and focus ring on it.\nThe anchor owns navigation and keyboard focus.\n\n```html\n<a href=\"#badge\" data-esp-badge-link><esp-badge linked>Soups</esp-badge></a>\n```\n\n```html\n<div style=\"display: flex; flex-wrap: wrap; gap: var(--esp-size-tiny);\">\n <esp-badge>Draft</esp-badge>\n <esp-badge intent=\"success\" icon=\"circle-dot\">Published</esp-badge>\n <esp-badge intent=\"warning\">Pending review</esp-badge>\n <esp-badge intent=\"danger\" icon=\"circle-x\">Banned</esp-badge>\n <esp-badge intent=\"info\" size=\"medium\" icon=\"info-i\">12 updates</esp-badge>\n</div>\n```",
|
|
5925
5925
|
"name": "EspalierBadge",
|
|
5926
5926
|
"cssProperties": [
|
|
5927
5927
|
{
|
|
@@ -5932,6 +5932,46 @@
|
|
|
5932
5932
|
"description": "Text color of a neutral badge. Defaults to `var(--esp-color-text)`. The theme fits it against the neutral badge background at APCA Lc 75 when either property is set in the theme.",
|
|
5933
5933
|
"name": "--esp-badge-color"
|
|
5934
5934
|
},
|
|
5935
|
+
{
|
|
5936
|
+
"description": "Resting fill of a linked badge. Defaults to `var(--esp-color-background)`.",
|
|
5937
|
+
"name": "--esp-badge-link-background"
|
|
5938
|
+
},
|
|
5939
|
+
{
|
|
5940
|
+
"description": "Resting border of a linked badge. Defaults to `var(--esp-color-link)`.",
|
|
5941
|
+
"name": "--esp-badge-link-border-color"
|
|
5942
|
+
},
|
|
5943
|
+
{
|
|
5944
|
+
"description": "Resting ink of a linked badge. Defaults to `var(--esp-color-link)`. The theme fits this ink against the resting fill at APCA Lc 75 when either property is set.",
|
|
5945
|
+
"name": "--esp-badge-link-color"
|
|
5946
|
+
},
|
|
5947
|
+
{
|
|
5948
|
+
"description": "Hover fill of a linked badge. Defaults to `var(--esp-color-link-hover-bg)`.",
|
|
5949
|
+
"name": "--esp-badge-link-hover-background"
|
|
5950
|
+
},
|
|
5951
|
+
{
|
|
5952
|
+
"description": "Hover border of a linked badge. Defaults to `var(--esp-color-link-hover)`.",
|
|
5953
|
+
"name": "--esp-badge-link-hover-border-color"
|
|
5954
|
+
},
|
|
5955
|
+
{
|
|
5956
|
+
"description": "Hover ink of a linked badge. Defaults to `var(--esp-color-link-hover)`. The theme fits this ink against the hover fill at APCA Lc 75 when either property is set.",
|
|
5957
|
+
"name": "--esp-badge-link-hover-color"
|
|
5958
|
+
},
|
|
5959
|
+
{
|
|
5960
|
+
"description": "Focus fill of a linked badge. Defaults to `var(--esp-color-link-hover-bg)`.",
|
|
5961
|
+
"name": "--esp-badge-link-focus-background"
|
|
5962
|
+
},
|
|
5963
|
+
{
|
|
5964
|
+
"description": "Focus border of a linked badge. Defaults to `var(--esp-color-link-hover)`.",
|
|
5965
|
+
"name": "--esp-badge-link-focus-border-color"
|
|
5966
|
+
},
|
|
5967
|
+
{
|
|
5968
|
+
"description": "Keyboard focus ink of a linked badge inside the light DOM of `esp-root`. Defaults to `var(--esp-color-link-hover)`. The theme fits this ink against the focus fill at APCA Lc 75 when either property is set.",
|
|
5969
|
+
"name": "--esp-badge-link-focus-color"
|
|
5970
|
+
},
|
|
5971
|
+
{
|
|
5972
|
+
"description": "Color of the outer keyboard focus ring on a badge inside a light-DOM anchor marked `data-esp-badge-link`. Defaults to `var(--esp-color-link)`. Choose a color with at least 3:1 contrast against the surface surrounding the badge.",
|
|
5973
|
+
"name": "--esp-badge-link-focus-ring-color"
|
|
5974
|
+
},
|
|
5935
5975
|
{
|
|
5936
5976
|
"description": "Border color of a neutral badge. Defaults to `var(--esp-color-border)`.",
|
|
5937
5977
|
"name": "--esp-badge-border-color"
|
|
@@ -6059,6 +6099,18 @@
|
|
|
6059
6099
|
"attribute": "size",
|
|
6060
6100
|
"reflects": true
|
|
6061
6101
|
},
|
|
6102
|
+
{
|
|
6103
|
+
"kind": "field",
|
|
6104
|
+
"name": "linked",
|
|
6105
|
+
"type": {
|
|
6106
|
+
"text": "boolean"
|
|
6107
|
+
},
|
|
6108
|
+
"privacy": "public",
|
|
6109
|
+
"default": "false",
|
|
6110
|
+
"description": "Use the linked color set in place of the neutral and intent colors inside a native anchor.",
|
|
6111
|
+
"attribute": "linked",
|
|
6112
|
+
"reflects": true
|
|
6113
|
+
},
|
|
6062
6114
|
{
|
|
6063
6115
|
"kind": "field",
|
|
6064
6116
|
"name": "seedColorBacker",
|
|
@@ -6574,6 +6626,15 @@
|
|
|
6574
6626
|
"description": "Badge size.",
|
|
6575
6627
|
"fieldName": "size"
|
|
6576
6628
|
},
|
|
6629
|
+
{
|
|
6630
|
+
"name": "linked",
|
|
6631
|
+
"type": {
|
|
6632
|
+
"text": "boolean"
|
|
6633
|
+
},
|
|
6634
|
+
"default": "false",
|
|
6635
|
+
"description": "Use the linked color set in place of the neutral and intent colors inside a native anchor.",
|
|
6636
|
+
"fieldName": "linked"
|
|
6637
|
+
},
|
|
6577
6638
|
{
|
|
6578
6639
|
"type": {
|
|
6579
6640
|
"text": "\"1\"|\"2\"|\"3\"|\"4\""
|
|
@@ -6689,15 +6750,23 @@
|
|
|
6689
6750
|
"name": "--esp-box-background"
|
|
6690
6751
|
},
|
|
6691
6752
|
{
|
|
6692
|
-
"description": "The opacity of the background layer.",
|
|
6753
|
+
"description": "The opacity of the background layer. Defaults to `--esp-box-background-image-opacity`, then `1`.",
|
|
6693
6754
|
"name": "--esp-box-background-opacity"
|
|
6694
6755
|
},
|
|
6756
|
+
{
|
|
6757
|
+
"description": "The theme's box background image, painted when `--esp-box-background` is unset. Defaults to `none`.",
|
|
6758
|
+
"name": "--esp-box-background-image"
|
|
6759
|
+
},
|
|
6760
|
+
{
|
|
6761
|
+
"description": "The theme's opacity for that image. Defaults to `1`.",
|
|
6762
|
+
"name": "--esp-box-background-image-opacity"
|
|
6763
|
+
},
|
|
6695
6764
|
{
|
|
6696
6765
|
"description": "The padding inside the box.",
|
|
6697
6766
|
"name": "--esp-size-box-padding"
|
|
6698
6767
|
},
|
|
6699
6768
|
{
|
|
6700
|
-
"description": "The box's drop shadow
|
|
6769
|
+
"description": "The box's drop shadow: `none`, `1`, `2` or `3` as a theme elevation step. Defaults to `1`. ```html <style> esp-root[scheme=\"light\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-paper-texture.png) repeat; --esp-box-background-opacity: .5; } } esp-root[scheme=\"dark\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-geometric-texture.png) repeat; --esp-box-background-opacity: .5; } } </style> <esp-box class=\"box-with-bg\"> <h2>Box with background image</h2> <p>I have a different generated background texture in dark mode than light mode.</p> </esp-box> ```",
|
|
6701
6770
|
"name": "--esp-box-shadow"
|
|
6702
6771
|
},
|
|
6703
6772
|
{
|
|
@@ -7467,6 +7536,10 @@
|
|
|
7467
7536
|
{
|
|
7468
7537
|
"description": "Width and height of a separator icon. Defaults to `var(--esp-size-normal-to-medium)`. The settable range is 0.5rem to 2rem.",
|
|
7469
7538
|
"name": "--esp-breadcrumb-separator-size"
|
|
7539
|
+
},
|
|
7540
|
+
{
|
|
7541
|
+
"description": "Built-in line mark weight, from 0.5 to 6 in SVG units. Defaults to `2`.",
|
|
7542
|
+
"name": "--esp-breadcrumb-separator-stroke-width"
|
|
7470
7543
|
}
|
|
7471
7544
|
],
|
|
7472
7545
|
"slots": [
|
|
@@ -8649,6 +8722,13 @@
|
|
|
8649
8722
|
],
|
|
8650
8723
|
"description": "A button is usable as a tab stop only when it is neither disabled nor\nloading. `esp-button` disables its inner control while loading, so a\nloading button must be skipped just like a disabled one."
|
|
8651
8724
|
},
|
|
8725
|
+
{
|
|
8726
|
+
"kind": "field",
|
|
8727
|
+
"name": "groupedButtons",
|
|
8728
|
+
"privacy": "private",
|
|
8729
|
+
"default": "new Set<HTMLElement>()",
|
|
8730
|
+
"description": "Buttons given the private zero border, so ones that leave can be cleared."
|
|
8731
|
+
},
|
|
8652
8732
|
{
|
|
8653
8733
|
"kind": "method",
|
|
8654
8734
|
"name": "handleSlotChange",
|
|
@@ -8849,6 +8929,18 @@
|
|
|
8849
8929
|
"description": "The padding for the incognito button style.",
|
|
8850
8930
|
"name": "--esp-button-incognito-padding"
|
|
8851
8931
|
},
|
|
8932
|
+
{
|
|
8933
|
+
"description": "The button's border width, from `0` to `0.5rem`. Defaults to `--esp-field-border-width`, then `1px`.",
|
|
8934
|
+
"name": "--esp-button-border-width"
|
|
8935
|
+
},
|
|
8936
|
+
{
|
|
8937
|
+
"description": "The button's resting shadow, drawn as a drop shadow. Set `none`, `1`, `2` or `3` in `componentProperties`, or raw CSS: `none` or `<x> <y> <blur> <color>` with no spread. Defaults to `none`.",
|
|
8938
|
+
"name": "--esp-button-shadow"
|
|
8939
|
+
},
|
|
8940
|
+
{
|
|
8941
|
+
"description": "How far the button moves down and right while pressed, from `0` to `0.5rem`, with its shadow dropped. Reduced motion skips the move. Defaults to `0`.",
|
|
8942
|
+
"name": "--esp-button-press-offset"
|
|
8943
|
+
},
|
|
8852
8944
|
{
|
|
8853
8945
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
8854
8946
|
"name": "--esp-field-background",
|
|
@@ -24718,7 +24810,7 @@
|
|
|
24718
24810
|
"name": "--esp-footer-color"
|
|
24719
24811
|
},
|
|
24720
24812
|
{
|
|
24721
|
-
"description": "Heading and configured-brand color.
|
|
24813
|
+
"description": "Heading and configured-brand color. The theme fits its headings color to the default footer surface.",
|
|
24722
24814
|
"name": "--esp-footer-heading-color"
|
|
24723
24815
|
},
|
|
24724
24816
|
{
|
|
@@ -24730,7 +24822,7 @@
|
|
|
24730
24822
|
"name": "--esp-footer-heading-font-size"
|
|
24731
24823
|
},
|
|
24732
24824
|
{
|
|
24733
|
-
"description": "Link color.
|
|
24825
|
+
"description": "Link color. The theme fits its link color to the default footer surface.",
|
|
24734
24826
|
"name": "--esp-footer-link-color"
|
|
24735
24827
|
},
|
|
24736
24828
|
{
|
|
@@ -24754,7 +24846,15 @@
|
|
|
24754
24846
|
"name": "--esp-footer-link-hover-bg"
|
|
24755
24847
|
},
|
|
24756
24848
|
{
|
|
24757
|
-
"description": "
|
|
24849
|
+
"description": "Hovered configured-brand background. Defaults to `--esp-footer-link-hover-bg`, so other footer links are unaffected.",
|
|
24850
|
+
"name": "--esp-footer-brand-hover-background"
|
|
24851
|
+
},
|
|
24852
|
+
{
|
|
24853
|
+
"description": "Hovered configured-brand transform, animated like the header brand and dropped under reduced motion. Defaults to `none`. A hook, not a settable property: Taproot drives it from its footer `brandHoverGrow` setting, like the header hook.",
|
|
24854
|
+
"name": "--esp-footer-brand-hover-transform"
|
|
24855
|
+
},
|
|
24856
|
+
{
|
|
24857
|
+
"description": "Focus-visible outline for footer links. Defaults to a 2px solid outline in the footer link color.",
|
|
24758
24858
|
"name": "--esp-footer-focus-outline"
|
|
24759
24859
|
},
|
|
24760
24860
|
{
|
|
@@ -26672,7 +26772,7 @@
|
|
|
26672
26772
|
"type": {
|
|
26673
26773
|
"text": "PaintRegistration"
|
|
26674
26774
|
},
|
|
26675
|
-
"default": "{
|
|
26775
|
+
"default": "{ derivations: { [linkHoverBackground]: ({ readProperty, readColor }) => parsePaintColor( readProperty(\"--esp-footer-link-hover-bg\") ?? readColor(TOKEN_PAIRINGS.linkHover.bg) ?? \"\", ), [brandHoverBackground]: ({ readProperty, readColor }) => parsePaintColor( readProperty(\"--esp-footer-brand-hover-background\") ?? readProperty(\"--esp-footer-link-hover-bg\") ?? readColor(TOKEN_PAIRINGS.linkHover.bg) ?? \"\", ), [FOOTER_HEADING_INK]: ({ readProperty, readColor }) => parsePaintColor( readProperty(\"--esp-footer-heading-color\") ?? (readProperty(FOOTER_INK_MODE) === \"semantic\" ? undefined : readProperty(FOOTER_INK_PROPERTIES.headings)) ?? readColor(\"headings\") ?? \"\", ), [FOOTER_LINK_INK]: ({ readProperty, readColor }) => parsePaintColor( readProperty(\"--esp-footer-link-color\") ?? (readProperty(FOOTER_INK_MODE) === \"semantic\" ? undefined : readProperty(FOOTER_INK_PROPERTIES.link)) ?? readColor(\"link\") ?? \"\", ), }, entriesByRole: { footer: [ { element: \"footer-heading\", foreground: FOOTER_HEADING_INK, background: \"layer2\", state: \"rest\", kind: \"text\", flags: [\"footerHeadings\"], }, { element: \"footer-body\", foreground: \"text\", background: \"layer2\", state: \"rest\", kind: \"text\", flags: [\"footerBody\"], }, ...PAINT_INTERACTIONS.flatMap((state): PaintEntry[] => { const hover = isPaintHover(state); const focus = isPaintFocus(state); const linkText = { foreground: hover ? \"linkHover\" : FOOTER_LINK_INK, background: hover ? linkHoverBackground : \"layer2\", state, kind: \"text\" as const, }; const pairs: PaintEntry[] = [ { ...linkText, element: \"footer-link\", flags: [\"footerLinks\"] }, { ...linkText, element: \"brand-text\", foreground: hover ? \"linkHover\" : \"brand-color\", background: hover ? brandHoverBackground : \"layer2\", flags: state === \"rest\" ? [\"brandText\"] : [\"brandText\", \"brandLink\"], }, ]; if (focus) { for (const [element, flag] of [[\"footer-link\", \"footerLinks\"], [\"brand-link\", \"brandLink\"]]) { pairs.push({ element, foreground: FOOTER_LINK_INK, background: \"layer2\", state, kind: \"ring\", flags: [flag], }); } } return pairs; }), ], }, targets: { footer: [footerBrand, footerContent] }, }"
|
|
26676
26776
|
}
|
|
26677
26777
|
],
|
|
26678
26778
|
"exports": [
|
|
@@ -49735,7 +49835,7 @@
|
|
|
49735
49835
|
"type": {
|
|
49736
49836
|
"text": "PaintRegistration"
|
|
49737
49837
|
},
|
|
49738
|
-
"default": "{ entriesByRole: { header: [ ...navigationPlacements.flatMap((placement) => [...itemEntries(placement), ...groupEntries(placement)]), ...PAINT_INTERACTIONS.flatMap((interaction): PaintEntry[] => { const state = navigationPaintState(\"full-screen\", interaction); const flags = navigationPaintFlags(\"full-screen\"); const focus = isPaintFocus(interaction); const hover = isPaintHover(interaction); const brandText: PaintEntry = { // The drawer's brand rule retains its configured ink, and the // inherited anchor hover rule supplies the link wash. element: \"drawer-brand-text\", foreground: \"brand-color\", background: hover ? linkHoverGround : \"layer1\", state, kind: \"text\", flags: [...flags, \"brandText\", ...(hover || focus ? [\"brandLink\"] : [])], }; return focus ? [brandText, { element: \"drawer-brand-link\", foreground: \"link\", background: \"layer1\", state, kind: \"ring\", flags: [...flags, \"brandLink\"], }] : [brandText]; }), ], }, targets: { header: [plainNavigationItem, navigationGroup, drawerBrand] }, }"
|
|
49838
|
+
"default": "{ derivations: { [hoverIndicatorInk]: ({ readProperty, readColor }) => parsePaintColor( readProperty(\"--esp-menu-item-hover-indicator-color\") ?? readProperty(\"--esp-menu-item-hover-color\") ?? readColor(\"headingsHover\") ?? \"\", ), [activeIndicatorInk]: ({ readProperty, readColor }) => parsePaintColor( readProperty(\"--esp-menu-item-active-indicator-color\") ?? readProperty(\"--esp-menu-item-active-color\") ?? readColor(\"link\") ?? \"\", ), }, entriesByRole: { header: [ ...navigationPlacements.flatMap((placement) => [...itemEntries(placement), ...groupEntries(placement)]), ...PAINT_INTERACTIONS.flatMap((interaction): PaintEntry[] => { const state = navigationPaintState(\"full-screen\", interaction); const flags = navigationPaintFlags(\"full-screen\"); const focus = isPaintFocus(interaction); const hover = isPaintHover(interaction); const brandText: PaintEntry = { // The drawer's brand rule retains its configured ink, and the // inherited anchor hover rule supplies the link wash. element: \"drawer-brand-text\", foreground: \"brand-color\", background: hover ? linkHoverGround : \"layer1\", state, kind: \"text\", flags: [...flags, \"brandText\", ...(hover || focus ? [\"brandLink\"] : [])], }; return focus ? [brandText, { element: \"drawer-brand-link\", foreground: \"link\", background: \"layer1\", state, kind: \"ring\", flags: [...flags, \"brandLink\"], }] : [brandText]; }), ], }, targets: { header: [plainNavigationItem, navigationGroup, drawerBrand] }, }"
|
|
49739
49839
|
}
|
|
49740
49840
|
],
|
|
49741
49841
|
"exports": [
|
|
@@ -66200,6 +66300,58 @@
|
|
|
66200
66300
|
"description": "Color of native light-DOM h4 headings. Defaults to `var(--esp-color-headings)`.",
|
|
66201
66301
|
"name": "--esp-heading-4-color"
|
|
66202
66302
|
},
|
|
66303
|
+
{
|
|
66304
|
+
"description": "Color of a text-decoration mark beneath native light-DOM h1 headings. Unset by default, which paints no mark. Takes effect only through a theme's `componentProperties`, which sets the enable toggle; a raw CSS declaration alone paints nothing.",
|
|
66305
|
+
"name": "--esp-heading-1-mark-color"
|
|
66306
|
+
},
|
|
66307
|
+
{
|
|
66308
|
+
"description": "Color of a text-decoration mark beneath native light-DOM h2 headings. Unset by default. Theme `componentProperties` only; a raw CSS declaration paints nothing.",
|
|
66309
|
+
"name": "--esp-heading-2-mark-color"
|
|
66310
|
+
},
|
|
66311
|
+
{
|
|
66312
|
+
"description": "Color of a text-decoration mark beneath native light-DOM h3 headings. Unset by default. Theme `componentProperties` only; a raw CSS declaration paints nothing.",
|
|
66313
|
+
"name": "--esp-heading-3-mark-color"
|
|
66314
|
+
},
|
|
66315
|
+
{
|
|
66316
|
+
"description": "Color of a text-decoration mark beneath native light-DOM h4 headings. Unset by default. Theme `componentProperties` only; a raw CSS declaration paints nothing.",
|
|
66317
|
+
"name": "--esp-heading-4-mark-color"
|
|
66318
|
+
},
|
|
66319
|
+
{
|
|
66320
|
+
"description": "Thickness of the heading mark, from `0` (no visible mark) through thin underlines to `0.6em` (a highlighter). Defaults to `0.35em`.",
|
|
66321
|
+
"name": "--esp-heading-mark-height"
|
|
66322
|
+
},
|
|
66323
|
+
{
|
|
66324
|
+
"description": "Numbering style of native light-DOM ordered lists: `decimal`, `decimal-leading-zero`, `lower-alpha`, `upper-alpha`, `lower-roman` or `upper-roman`. Defaults to `decimal`.",
|
|
66325
|
+
"name": "--esp-ordered-list-marker-style"
|
|
66326
|
+
},
|
|
66327
|
+
{
|
|
66328
|
+
"description": "Color of list bullets and numbers. Defaults to the list item's text color.",
|
|
66329
|
+
"name": "--esp-list-marker-color"
|
|
66330
|
+
},
|
|
66331
|
+
{
|
|
66332
|
+
"description": "Border style of inline code and `pre` blocks: `dotted`, `dashed`, `solid` or `none`. Defaults to `dotted`.",
|
|
66333
|
+
"name": "--esp-code-border-style"
|
|
66334
|
+
},
|
|
66335
|
+
{
|
|
66336
|
+
"description": "Border color of inline code and `pre` blocks. Defaults to `var(--esp-color-border)`.",
|
|
66337
|
+
"name": "--esp-code-border-color"
|
|
66338
|
+
},
|
|
66339
|
+
{
|
|
66340
|
+
"description": "Background of inline code. Defaults to `var(--esp-color-layer-1)`.",
|
|
66341
|
+
"name": "--esp-code-background"
|
|
66342
|
+
},
|
|
66343
|
+
{
|
|
66344
|
+
"description": "Offsets and optional blur of the first elevation step, as `<inline> <block> [<blur>]` in `px`, `rem` or `em`. Defaults to `1px 1px 4px`.",
|
|
66345
|
+
"name": "--esp-shadow-1-geometry"
|
|
66346
|
+
},
|
|
66347
|
+
{
|
|
66348
|
+
"description": "Offsets and optional blur of the second elevation step. Defaults to `0 2px 8px`.",
|
|
66349
|
+
"name": "--esp-shadow-2-geometry"
|
|
66350
|
+
},
|
|
66351
|
+
{
|
|
66352
|
+
"description": "Offsets and optional blur of the third elevation step. Defaults to `0 6px 20px`.",
|
|
66353
|
+
"name": "--esp-shadow-3-geometry"
|
|
66354
|
+
},
|
|
66203
66355
|
{
|
|
66204
66356
|
"description": "Consumer-authored brand family. Emitted only when configured; brand recipes otherwise fall back through headings to `--esp-font-body`.",
|
|
66205
66357
|
"name": "--esp-font-brand"
|
|
@@ -67094,7 +67246,7 @@
|
|
|
67094
67246
|
"kind": "field",
|
|
67095
67247
|
"name": "lightDomStyles",
|
|
67096
67248
|
"static": true,
|
|
67097
|
-
"default": "` ${surfaceLayerAttributes(\"esp-root [surface-layer]\").cssText} /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var( --_esp-font-headings-effective, var( --esp-font-headings, var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)) ) ); font-weight: var(--esp-font-weight-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; color: var(--esp-color-headings); } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; color: var(--esp-heading-4-color, var(--esp-color-headings)); } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; color: var(--esp-heading-3-color, var(--esp-color-headings)); } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; color: var(--esp-heading-2-color, var(--esp-color-headings)); } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; color: var(--esp-heading-1-color, var(--esp-color-headings)); } /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--_esp-font-monospace-effective, var(--esp-font-monospace, monospace)); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px dotted var(--esp-color-border); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px dotted var(--esp-color-border); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } /* ── Footer scope ─────────────────────────────────────── */ /* esp-footer documents --esp-footer-color and --esp-footer-link-color as its text and link colors, but the base rules above set paragraph and link colors directly and outrank the footer's own rules (a page-level rule even beats ::slotted). These restate them one element higher so the footer variables win (ESP0261). The :not([class]) rule is needed to outrank the bold-link rule above. Hover and focus come last because they tie with it at (0,1,3). */ esp-root esp-footer :is(p, ul, ol, li) { color: var(--esp-footer-color, var(--esp-color-text)); } esp-root esp-footer :is(h1, h2, h3, h4, h5, h6) { color: var(--esp-footer-heading-color, var(--esp-color-headings)); } esp-root esp-footer h2 { font-size: var(--esp-footer-heading-font-size, var(--esp-type-normal)); } esp-root esp-footer a, esp-root esp-footer a:not([class]) { color: var(--esp-footer-link-color, var(--esp-color-link)); } esp-root esp-footer a:not([class]) { text-decoration-line: var(--esp-footer-link-decoration, underline); text-underline-offset: var(--esp-footer-link-underline-offset, auto); text-decoration-thickness: var(--esp-footer-link-underline-thickness, auto); } esp-root esp-footer esp-footer-link-group a:not([class]) { text-underline-offset: var(--esp-footer-link-underline-offset, 0.18em); } esp-root esp-footer a:hover { color: var(--esp-footer-link-hover-color, var(--esp-color-link-hover)); background-color: var(--esp-footer-link-hover-bg, var(--esp-color-link-hover-bg)); } esp-root esp-footer a:not([class]):hover { text-decoration-line: underline; } esp-root esp-footer a:focus-visible { outline: var( --esp-footer-focus-outline, 2px solid var(--esp-footer-link-color, var(--esp-color-link)) ); outline-offset: 3px; } /* Only bare links take the ring's corner radius; a classed link keeps its own shape, such as a pill or button, while focused. */ esp-root esp-footer a:not([class]):focus-visible { border-radius: var(--esp-size-border-radius); } `",
|
|
67249
|
+
"default": "` ${surfaceLayerAttributes(\"esp-root [surface-layer]\").cssText} /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* Zero specificity so a consumer's own li::marker color wins (ESP0273). */ :where(esp-root :is(ul, ol) li)::marker { color: var(--esp-list-marker-color, currentcolor); } /* The user agent already numbers an ol with decimal, so the fallback changes nothing. :where() and :not([type]) keep a class rule or a type attribute authoritative over the hook (ESP0273). Equal-specificity or layered consumer rules can lose to this one: see \"Review decisions\" in ESP0273. */ :where(esp-root ol:not([type], [role=\"list\"])) { list-style-type: var(--esp-ordered-list-marker-style, decimal); } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* The anchor supplies focus feedback until the badge has its own ring. */ esp-root a[data-esp-badge-link]:has(> esp-badge[linked]:defined) { background-color: transparent; text-decoration: none; } esp-root a[data-esp-badge-link]:focus-visible:has(> esp-badge[linked]:defined) { outline: none; } esp-root a:focus-visible > esp-badge[linked]::part(badge) { background: var(--esp-badge-link-focus-background, var(--esp-color-link-hover-bg)); border-color: var(--esp-badge-link-focus-border-color, var(--esp-color-link-hover)); color: var(--esp-badge-link-focus-color, var(--esp-color-link-hover)); } esp-root a[data-esp-badge-link]:focus-visible > esp-badge[linked]:defined::part(badge) { outline: 2px solid var(--esp-badge-link-focus-ring-color, var(--esp-color-link)); outline-offset: 3px; } @media (forced-colors: active) { esp-root a[data-esp-badge-link]:focus-visible > esp-badge[linked]:defined::part(badge) { outline-color: Highlight; } } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var( --_esp-font-headings-effective, var( --esp-font-headings, var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)) ) ); font-weight: var(--esp-font-weight-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; color: var(--esp-color-headings); } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; color: var(--esp-heading-4-color, var(--esp-color-headings)); } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; color: var(--esp-heading-3-color, var(--esp-color-headings)); } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; color: var(--esp-heading-2-color, var(--esp-color-headings)); } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; color: var(--esp-heading-1-color, var(--esp-color-headings)); } /* A heading mark is a text-decoration underline drawn beneath the glyphs, so it follows each wrapped line and changes no layout. Every declaration is gated on --_esp-heading-N-mark-on, which the theme compiler sets only when --esp-heading-N-mark-color is authored. Without it, var() is invalid at computed-value time and each property computes as if no rule existed, so an author's own heading underline is untouched and rendering is 7.5.0's (ESP0273). Once a mark is authored, it owns text-decoration on that heading level: Espalier's consumers (Taproot) set no heading underline, and a consumer that underlines headings must set its own decoration color. The descendant rule keeps inherited offset and skip-ink off underlined links. Equal-specificity or layered consumer rules can lose to these: see \"Review decisions\" in ESP0273. */ ${HEADING_MARKS.map(([tag, on, color]) => ` :where(esp-root ${tag}) { text-decoration-line: var(${on}) underline; text-decoration-color: var(${on}) var(${color}); text-decoration-thickness: var(${on}) var(--esp-heading-mark-height, 0.35em); text-underline-offset: var(${on}) calc(0.1em - var(--esp-heading-mark-height, 0.35em)); text-decoration-skip-ink: var(${on}) none; } :where(esp-root ${tag} *) { text-underline-offset: var(${on}) auto; text-decoration-skip-ink: var(${on}) auto; } @media (forced-colors: active) { :where(esp-root ${tag}) { text-decoration-line: var(${on}) none; } }`).join(\"\")} /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--_esp-font-monospace-effective, var(--esp-font-monospace, monospace)); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-code-background, var(--esp-color-layer-1)); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px var(--esp-code-border-style, dotted) var(--esp-code-border-color, var(--esp-color-border)); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px var(--esp-code-border-style, dotted) var(--esp-code-border-color, var(--esp-color-border)); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } /* ── Footer scope ─────────────────────────────────────── */ /* esp-footer documents --esp-footer-color and --esp-footer-link-color as its text and link colors, but the base rules above set paragraph and link colors directly and outrank the footer's own rules (a page-level rule even beats ::slotted). These restate them one element higher so the footer variables win (ESP0261). The :not([class]) rule is needed to outrank the bold-link rule above. Hover and focus come last because they tie with it at (0,1,3). */ esp-root esp-footer :is(p, ul, ol, li) { color: var(--esp-footer-color, var(--esp-color-text)); } esp-root esp-footer :is(h1, h2, h3, h4, h5, h6) { ${footerHeadingFit.cssText} color: var(--esp-footer-heading-color, var(--_esp-footer-local-fitted-heading-color, var(--esp-color-headings))); } esp-root esp-footer h2 { font-size: var(--esp-footer-heading-font-size, var(--esp-type-normal)); } esp-root esp-footer a, esp-root esp-footer a:not([class]) { ${footerLinkFit.cssText} color: var(--esp-footer-link-color, var(--_esp-footer-local-fitted-link-color, var(--esp-color-link))); } esp-root esp-footer a:not([class]) { text-decoration-line: var(--esp-footer-link-decoration, underline); text-underline-offset: var(--esp-footer-link-underline-offset, auto); text-decoration-thickness: var(--esp-footer-link-underline-thickness, auto); } esp-root esp-footer esp-footer-link-group a:not([class]) { text-underline-offset: var(--esp-footer-link-underline-offset, 0.18em); } esp-root esp-footer a:hover { color: var(--esp-footer-link-hover-color, var(--esp-color-link-hover)); background-color: var(--esp-footer-link-hover-bg, var(--esp-color-link-hover-bg)); } esp-root esp-footer a:not([class]):hover { text-decoration-line: underline; } esp-root esp-footer a:focus-visible { ${footerLinkFit.cssText} outline: var( --esp-footer-focus-outline, 2px solid var(--esp-footer-link-color, var(--_esp-footer-local-fitted-link-color, var(--esp-color-link))) ); outline-offset: 3px; } /* Only bare links take the ring's corner radius; a classed link keeps its own shape, such as a pill or button, while focused. */ esp-root esp-footer a:not([class]):focus-visible { border-radius: var(--esp-size-border-radius); } `",
|
|
67098
67250
|
"description": "Light-DOM styles injected into `document.head` so that\nslotted content (headings, links, code blocks, lists, etc.)\ninherits the design-system tokens defined on `:host`.\nSelectors are scoped to `esp-root` descendants to avoid\nleaking into content outside the root."
|
|
67099
67251
|
}
|
|
67100
67252
|
],
|
|
@@ -69111,7 +69263,7 @@
|
|
|
69111
69263
|
"declarations": [
|
|
69112
69264
|
{
|
|
69113
69265
|
"kind": "class",
|
|
69114
|
-
"description": "A full-bleed page band with a centered content well — the natural host\nfor a theme zone.\n\n`esp-section` paints the local `--esp-color-background` edge to edge\nand centers its content in a capped well. It carries no card identity:\nno raised surface, no border radius, no shadow. Give it a `context`\n(see [theme overview](/espalier-guides/#foundations)) and\nthe band renders the zone's complete token table with nothing to\nneutralize:\n\n```html\n<esp-section context=\"inverted\">\n <h2>The reversed band</h2>\n <p>Everything in here renders on the zone's tokens, and the band\n spans its container edge to edge.</p>\n</esp-section>\n```\n\nInside `esp-page kind=\"site\"` sections stack full-width and their\nwells share the page's `--esp-page-well-max-width`, so section\ncontent, the header, and the footer all align on one column. Outside\na page the well defaults to the same width and the band fills\nwhatever container it is given.\n\nThe vertical rhythm defaults to the theme's fluid `--esp-size-section`\nstep. For edge-to-edge content (a full-bleed hero image) clear both\nthe well cap and the inline breathing room —\n`--esp-section-max-width: none; --esp-section-padding-inline: 0;` —\nand drop `--esp-section-padding-block` too when the media should\nmeet the band's edges; the band's zone behavior is unaffected.\n\nA section may also tint one raster alpha mask behind its content.\nThe component owns clipping,
|
|
69266
|
+
"description": "A full-bleed page band with a centered content well — the natural host\nfor a theme zone.\n\n`esp-section` paints the local `--esp-color-background` edge to edge\nand centers its content in a capped well. It carries no card identity:\nno raised surface, no border radius, no shadow. Give it a `context`\n(see [theme overview](/espalier-guides/#foundations)) and\nthe band renders the zone's complete token table with nothing to\nneutralize:\n\n```html\n<esp-section context=\"inverted\">\n <h2>The reversed band</h2>\n <p>Everything in here renders on the zone's tokens, and the band\n spans its container edge to edge.</p>\n</esp-section>\n```\n\nInside `esp-page kind=\"site\"` sections stack full-width and their\nwells share the page's `--esp-page-well-max-width`, so section\ncontent, the header, and the footer all align on one column. Outside\na page the well defaults to the same width and the band fills\nwhatever container it is given.\n\nThe vertical rhythm defaults to the theme's fluid `--esp-size-section`\nstep. For edge-to-edge content (a full-bleed hero image) clear both\nthe well cap and the inline breathing room —\n`--esp-section-max-width: none; --esp-section-padding-inline: 0;` —\nand drop `--esp-section-padding-block` too when the media should\nmeet the band's edges; the band's zone behavior is unaffected.\n\nA section may also tint one raster alpha mask behind its content.\nThe component owns clipping, stacking, and interaction isolation, and the\nmask does not repeat unless the consumer sets `--esp-section-decoration-repeat`.\nConsumers opt in with the `decoration` attribute and supply only the image,\nsemantic tint, position, size, repeat, and opacity:\n\n```html\n<esp-section\n decoration\n style=\"\n --esp-section-decoration-image: url('/assets/brand-mark.png');\n --esp-section-decoration-position: calc(100% + 2rem) -2rem;\n --esp-section-decoration-size: min(34rem, 62%);\n --esp-section-decoration-opacity: 0.09;\n \"\n>\n <h1>Rooted in warmth</h1>\n</esp-section>\n```\n\nWithout `decoration` the section renders no decorative layer at all, and\nthe `--esp-section-decoration-*` hooks have no effect. The attribute is\nwhat keeps an undecorated band free of painted planes: accessibility\nauditors such as axe-core and Lighthouse do not model `mask-image`, so a\ntinted plane hidden only by a mask is read as the background behind every\nword in the section. Set it together with the image, never on its own. A\ndecorated band is audited as though the tint covered it everywhere, so\ntext that passes an audit also reads where it crosses the mark.\n\nCSS image values are trusted stylesheet input. Products that accept image\nreferences from documents or users must enforce their own asset ownership\nand URL policy before mapping a value to this hook.",
|
|
69115
69267
|
"name": "EspalierSection",
|
|
69116
69268
|
"cssProperties": [
|
|
69117
69269
|
{
|
|
@@ -69142,6 +69294,10 @@
|
|
|
69142
69294
|
"description": "Mask position, including responsive or bleeding values. Defaults to `center`.",
|
|
69143
69295
|
"name": "--esp-section-decoration-position"
|
|
69144
69296
|
},
|
|
69297
|
+
{
|
|
69298
|
+
"description": "Mask repeat: `no-repeat`, `repeat`, `repeat-x` or `repeat-y`. Defaults to `no-repeat`; the others tile a pattern mask across the band.",
|
|
69299
|
+
"name": "--esp-section-decoration-repeat"
|
|
69300
|
+
},
|
|
69145
69301
|
{
|
|
69146
69302
|
"description": "Mask size. Defaults to `contain`.",
|
|
69147
69303
|
"name": "--esp-section-decoration-size"
|
|
@@ -70025,7 +70181,7 @@
|
|
|
70025
70181
|
}
|
|
70026
70182
|
}
|
|
70027
70183
|
],
|
|
70028
|
-
"description": "Style selected native blockquotes as themed panels with lead typography.\nUse the result in Lit's `static styles`, or emit its `.cssText` into a\ndocument stylesheet during server rendering. Importing this subpath needs\nno DOM and does not register any components.\n\nThe selector defaults to `blockquote` and is trimmed. Pass only trusted,\nstatic developer CSS: this helper is not a user-input sanitizer. Comma lists\nuse the browser's forgiving `:where()` parsing; invalid branches do not match.\nExplicitly empty quote or figure selectors throw `RangeError`.\n\nPass `options.figureSelector` to style native figures and their direct\ncaptions. This does not select their blockquotes. Attribution and safe URLs\nremain the consumer's responsibility; cite identifies a work, not a person.\nThe empty decorative opening mark uses a local SVG mask: a document CSP\nmust allow `img-src data:` (or the corresponding default-src fallback).\nA blocked/failed mask is transparent; forced colors hide the decoration.\n\nBase and child rules have zero specificity. A selected light-DOM paragraph\nreceives a color-only bridge over `esp-root`'s native paragraph ink. The\nconsumer keeps ownership of outer block rhythm
|
|
70184
|
+
"description": "Style selected native blockquotes as themed panels with lead typography.\nUse the result in Lit's `static styles`, or emit its `.cssText` into a\ndocument stylesheet during server rendering. Importing this subpath needs\nno DOM and does not register any components.\n\nThe selector defaults to `blockquote` and is trimmed. Pass only trusted,\nstatic developer CSS: this helper is not a user-input sanitizer. Comma lists\nuse the browser's forgiving `:where()` parsing; invalid branches do not match.\nExplicitly empty quote or figure selectors throw `RangeError`.\n\nPass `options.figureSelector` to style native figures and their direct\ncaptions. This does not select their blockquotes. Attribution and safe URLs\nremain the consumer's responsibility; cite identifies a work, not a person.\nThe empty decorative opening mark uses a local SVG mask: a document CSP\nmust allow `img-src data:` (or the corresponding default-src fallback).\nA blocked/failed mask is transparent; forced colors hide the decoration.\n\nBase and child rules have zero specificity. A selected light-DOM paragraph\nreceives a color-only bridge over `esp-root`'s native paragraph ink. The\nconsumer keeps ownership of outer block rhythm and prose measure, and of the\nfont family unless `--esp-blockquote-font-family` is set."
|
|
70029
70185
|
}
|
|
70030
70186
|
],
|
|
70031
70187
|
"exports": [
|
|
@@ -70300,9 +70456,14 @@
|
|
|
70300
70456
|
"text": "number"
|
|
70301
70457
|
},
|
|
70302
70458
|
"description": "The minimum absolute $L_c$ score (default 60)"
|
|
70459
|
+
},
|
|
70460
|
+
{
|
|
70461
|
+
"name": "tryOppositePolarity",
|
|
70462
|
+
"default": "false",
|
|
70463
|
+
"description": "Whether to try the other direction if needed"
|
|
70303
70464
|
}
|
|
70304
70465
|
],
|
|
70305
|
-
"description": "Adjust a text color toward the target absolute APCA Lc score.\n\nIf the current contrast is insufficient, lightness is\nadjusted (made darker on light bg, lighter on dark bg)\nuntil the target is met or the lightness boundary is hit."
|
|
70466
|
+
"description": "Adjust a text color toward the target absolute APCA Lc score.\n\nIf the current contrast is insufficient, lightness is\nadjusted (made darker on light bg, lighter on dark bg)\nuntil the target is met or the lightness boundary is hit. A caller may\nallow a second pass when only the opposite boundary can meet the target."
|
|
70306
70467
|
},
|
|
70307
70468
|
{
|
|
70308
70469
|
"kind": "function",
|
|
@@ -70451,6 +70612,11 @@
|
|
|
70451
70612
|
"text": "(requested: OklchColor) => void"
|
|
70452
70613
|
},
|
|
70453
70614
|
"description": "Optional observer, invoked with the **pre-enforcement**\nderivation — the value the mapping asked for, before `ensureContrast`\nis allowed to move it. It receives the very binding enforcement then\nconsumes, so an observer cannot report a \"requested\" value the engine\ndid not actually start from (ESP0163). Omitted on the production path,\nwhere the optional call costs nothing."
|
|
70615
|
+
},
|
|
70616
|
+
{
|
|
70617
|
+
"name": "tryOppositePolarity",
|
|
70618
|
+
"default": "false",
|
|
70619
|
+
"description": "Whether to try the other direction if needed"
|
|
70454
70620
|
}
|
|
70455
70621
|
],
|
|
70456
70622
|
"description": "Derive a semantic color with automatic APCA contrast\nenforcement against a reference background."
|
|
@@ -73590,6 +73756,126 @@
|
|
|
73590
73756
|
"declarations": [],
|
|
73591
73757
|
"exports": []
|
|
73592
73758
|
},
|
|
73759
|
+
{
|
|
73760
|
+
"kind": "javascript-module",
|
|
73761
|
+
"path": "dist/shared/footer-ink-styles.js",
|
|
73762
|
+
"declarations": [
|
|
73763
|
+
{
|
|
73764
|
+
"kind": "variable",
|
|
73765
|
+
"name": "footerInkLayerStyles",
|
|
73766
|
+
"default": "css` :host { --_esp-footer-fit-prefix: ; --_esp-footer-ink-mode: fitted; } :host([surface-layer=\"1\"]), :host([surface-layer=\"3\"]), :host([surface-layer=\"4\"]) { --_esp-footer-fit-prefix: initial; --_esp-footer-ink-mode: semantic; } `"
|
|
73767
|
+
},
|
|
73768
|
+
{
|
|
73769
|
+
"kind": "variable",
|
|
73770
|
+
"name": "footerHeadingFit",
|
|
73771
|
+
"default": "css` --_esp-footer-local-fitted-heading-color: var(--_esp-footer-fit-prefix) var(--_esp-footer-fitted-heading-color); `"
|
|
73772
|
+
},
|
|
73773
|
+
{
|
|
73774
|
+
"kind": "variable",
|
|
73775
|
+
"name": "footerLinkFit",
|
|
73776
|
+
"default": "css` --_esp-footer-local-fitted-link-color: var(--_esp-footer-fit-prefix) var(--_esp-footer-fitted-link-color); `"
|
|
73777
|
+
}
|
|
73778
|
+
],
|
|
73779
|
+
"exports": [
|
|
73780
|
+
{
|
|
73781
|
+
"kind": "js",
|
|
73782
|
+
"name": "footerInkLayerStyles",
|
|
73783
|
+
"declaration": {
|
|
73784
|
+
"name": "footerInkLayerStyles",
|
|
73785
|
+
"module": "dist/shared/footer-ink-styles.js"
|
|
73786
|
+
}
|
|
73787
|
+
},
|
|
73788
|
+
{
|
|
73789
|
+
"kind": "js",
|
|
73790
|
+
"name": "footerHeadingFit",
|
|
73791
|
+
"declaration": {
|
|
73792
|
+
"name": "footerHeadingFit",
|
|
73793
|
+
"module": "dist/shared/footer-ink-styles.js"
|
|
73794
|
+
}
|
|
73795
|
+
},
|
|
73796
|
+
{
|
|
73797
|
+
"kind": "js",
|
|
73798
|
+
"name": "footerLinkFit",
|
|
73799
|
+
"declaration": {
|
|
73800
|
+
"name": "footerLinkFit",
|
|
73801
|
+
"module": "dist/shared/footer-ink-styles.js"
|
|
73802
|
+
}
|
|
73803
|
+
}
|
|
73804
|
+
]
|
|
73805
|
+
},
|
|
73806
|
+
{
|
|
73807
|
+
"kind": "javascript-module",
|
|
73808
|
+
"path": "dist/shared/footer-ink.js",
|
|
73809
|
+
"declarations": [
|
|
73810
|
+
{
|
|
73811
|
+
"kind": "variable",
|
|
73812
|
+
"name": "FOOTER_INK_PROPERTIES",
|
|
73813
|
+
"type": {
|
|
73814
|
+
"text": "{\n headings: \"--_esp-footer-fitted-heading-color\",\n link: \"--_esp-footer-fitted-link-color\",\n}"
|
|
73815
|
+
},
|
|
73816
|
+
"default": "{ headings: \"--_esp-footer-fitted-heading-color\", link: \"--_esp-footer-fitted-link-color\", }",
|
|
73817
|
+
"description": "The compiler's fitted defaults for the footer's layer-2 ground."
|
|
73818
|
+
},
|
|
73819
|
+
{
|
|
73820
|
+
"kind": "variable",
|
|
73821
|
+
"name": "FOOTER_INK_MODE",
|
|
73822
|
+
"type": {
|
|
73823
|
+
"text": "string"
|
|
73824
|
+
},
|
|
73825
|
+
"default": "\"--_esp-footer-ink-mode\""
|
|
73826
|
+
},
|
|
73827
|
+
{
|
|
73828
|
+
"kind": "variable",
|
|
73829
|
+
"name": "FOOTER_HEADING_INK",
|
|
73830
|
+
"type": {
|
|
73831
|
+
"text": "string"
|
|
73832
|
+
},
|
|
73833
|
+
"default": "\"footer-heading-ink\""
|
|
73834
|
+
},
|
|
73835
|
+
{
|
|
73836
|
+
"kind": "variable",
|
|
73837
|
+
"name": "FOOTER_LINK_INK",
|
|
73838
|
+
"type": {
|
|
73839
|
+
"text": "string"
|
|
73840
|
+
},
|
|
73841
|
+
"default": "\"footer-link-ink\""
|
|
73842
|
+
}
|
|
73843
|
+
],
|
|
73844
|
+
"exports": [
|
|
73845
|
+
{
|
|
73846
|
+
"kind": "js",
|
|
73847
|
+
"name": "FOOTER_INK_PROPERTIES",
|
|
73848
|
+
"declaration": {
|
|
73849
|
+
"name": "FOOTER_INK_PROPERTIES",
|
|
73850
|
+
"module": "dist/shared/footer-ink.js"
|
|
73851
|
+
}
|
|
73852
|
+
},
|
|
73853
|
+
{
|
|
73854
|
+
"kind": "js",
|
|
73855
|
+
"name": "FOOTER_INK_MODE",
|
|
73856
|
+
"declaration": {
|
|
73857
|
+
"name": "FOOTER_INK_MODE",
|
|
73858
|
+
"module": "dist/shared/footer-ink.js"
|
|
73859
|
+
}
|
|
73860
|
+
},
|
|
73861
|
+
{
|
|
73862
|
+
"kind": "js",
|
|
73863
|
+
"name": "FOOTER_HEADING_INK",
|
|
73864
|
+
"declaration": {
|
|
73865
|
+
"name": "FOOTER_HEADING_INK",
|
|
73866
|
+
"module": "dist/shared/footer-ink.js"
|
|
73867
|
+
}
|
|
73868
|
+
},
|
|
73869
|
+
{
|
|
73870
|
+
"kind": "js",
|
|
73871
|
+
"name": "FOOTER_LINK_INK",
|
|
73872
|
+
"declaration": {
|
|
73873
|
+
"name": "FOOTER_LINK_INK",
|
|
73874
|
+
"module": "dist/shared/footer-ink.js"
|
|
73875
|
+
}
|
|
73876
|
+
}
|
|
73877
|
+
]
|
|
73878
|
+
},
|
|
73593
73879
|
{
|
|
73594
73880
|
"kind": "javascript-module",
|
|
73595
73881
|
"path": "dist/shared/footer-logo-geometry.js",
|
|
@@ -76982,8 +77268,8 @@
|
|
|
76982
77268
|
"type": {
|
|
76983
77269
|
"text": "Readonly<Record<string, string>>"
|
|
76984
77270
|
},
|
|
76985
|
-
"default": "{ \"--esp-shadow-1\": \"1px 1px 4px var(--esp-color-shadow)\", \"--esp-shadow-2\": \"0 2px 8px var(--esp-color-shadow)\", \"--esp-shadow-3\": \"0 6px 20px var(--esp-color-shadow)\", }",
|
|
76986
|
-
"description": "The elevation tokens, exported for zone re-emission. A custom\nproperty bakes its inner var() references against the element that\nDECLARES it, so the root's emission resolves --esp-color-shadow at\nthe root; a theme-zone host must re-declare these literals for the\nshadow color to resolve zone-locally — the same reason zones re-emit\nthe --esp-l-* ramp (ESP0174)."
|
|
77271
|
+
"default": "{ \"--esp-shadow-1\": \"var(--esp-shadow-1-geometry, 1px 1px 4px) var(--esp-color-shadow)\", \"--esp-shadow-2\": \"var(--esp-shadow-2-geometry, 0 2px 8px) var(--esp-color-shadow)\", \"--esp-shadow-3\": \"var(--esp-shadow-3-geometry, 0 6px 20px) var(--esp-color-shadow)\", }",
|
|
77272
|
+
"description": "The elevation tokens, exported for zone re-emission. A custom\nproperty bakes its inner var() references against the element that\nDECLARES it, so the root's emission resolves --esp-color-shadow at\nthe root; a theme-zone host must re-declare these literals for the\nshadow color to resolve zone-locally — the same reason zones re-emit\nthe --esp-l-* ramp (ESP0174). The same holds for the settable\n--esp-shadow-N-geometry hooks (ESP0273): a zone's own geometry applies\nonly where these literals are re-declared."
|
|
76987
77273
|
},
|
|
76988
77274
|
{
|
|
76989
77275
|
"kind": "variable",
|
|
@@ -77260,6 +77546,13 @@
|
|
|
77260
77546
|
"kind": "javascript-module",
|
|
77261
77547
|
"path": "dist/shared/settable-component-properties.js",
|
|
77262
77548
|
"declarations": [
|
|
77549
|
+
{
|
|
77550
|
+
"kind": "variable",
|
|
77551
|
+
"name": "ELEVATION_VALUES",
|
|
77552
|
+
"type": {
|
|
77553
|
+
"text": "readonly string[]"
|
|
77554
|
+
}
|
|
77555
|
+
},
|
|
77263
77556
|
{
|
|
77264
77557
|
"kind": "variable",
|
|
77265
77558
|
"name": "SETTABLE_COMPONENT_PROPERTIES",
|
|
@@ -77326,6 +77619,14 @@
|
|
|
77326
77619
|
}
|
|
77327
77620
|
],
|
|
77328
77621
|
"exports": [
|
|
77622
|
+
{
|
|
77623
|
+
"kind": "js",
|
|
77624
|
+
"name": "ELEVATION_VALUES",
|
|
77625
|
+
"declaration": {
|
|
77626
|
+
"name": "ELEVATION_VALUES",
|
|
77627
|
+
"module": "dist/shared/settable-component-properties.js"
|
|
77628
|
+
}
|
|
77629
|
+
},
|
|
77329
77630
|
{
|
|
77330
77631
|
"kind": "js",
|
|
77331
77632
|
"name": "SETTABLE_COMPONENT_PROPERTIES",
|
|
@@ -78582,7 +78883,7 @@
|
|
|
78582
78883
|
}
|
|
78583
78884
|
}
|
|
78584
78885
|
],
|
|
78585
|
-
"description": "Render a report as `console.table` rows.\n\nExposed separately from printThemeFitReport so a host can put\nthe same rows somewhere other than the console."
|
|
78886
|
+
"description": "Render a report as `console.table` rows, with distinct names for footer inks.\n\nExposed separately from printThemeFitReport so a host can put\nthe same rows somewhere other than the console."
|
|
78586
78887
|
},
|
|
78587
78888
|
{
|
|
78588
78889
|
"kind": "function",
|
|
@@ -96436,6 +96737,13 @@
|
|
|
96436
96737
|
"type": {
|
|
96437
96738
|
"text": "ComponentPropertyCompileTarget"
|
|
96438
96739
|
}
|
|
96740
|
+
},
|
|
96741
|
+
{
|
|
96742
|
+
"name": "footerTrace",
|
|
96743
|
+
"optional": true,
|
|
96744
|
+
"type": {
|
|
96745
|
+
"text": "ThemeFitTraceEntry[]"
|
|
96746
|
+
}
|
|
96439
96747
|
}
|
|
96440
96748
|
]
|
|
96441
96749
|
}
|