@taprootio/espalier 7.1.1 → 7.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 +20 -0
- package/custom-elements.json +11675 -20250
- package/dist/badge/esp-badge.d.ts +7 -0
- package/dist/badge/esp-badge.js +11 -5
- package/dist/breadcrumbs/breadcrumb-separators.d.ts +4 -0
- package/dist/breadcrumbs/breadcrumb-separators.js +1 -0
- package/dist/breadcrumbs/esp-breadcrumb.d.ts +13 -14
- package/dist/breadcrumbs/esp-breadcrumb.js +6 -7
- package/dist/breadcrumbs/esp-breadcrumbs.d.ts +16 -9
- package/dist/breadcrumbs/esp-breadcrumbs.js +9 -6
- package/dist/button/paint-registration.js +1 -0
- package/dist/cli/theme-check.js +2 -2
- package/dist/font-picker/esp-font-picker.d.ts +11 -14
- package/dist/font-picker/esp-font-picker.js +5 -5
- package/dist/footer/esp-footer-link-group.js +1 -1
- package/dist/footer/esp-footer.d.ts +5 -0
- package/dist/footer/esp-footer.js +10 -4
- package/dist/footer/paint-registration.js +1 -0
- package/dist/header/esp-header-button.js +5 -1
- package/dist/header/esp-header.js +12 -8
- package/dist/header/header-geometry-controller.js +1 -1
- package/dist/header/is-tall-header-paint.d.ts +7 -0
- package/dist/header/is-tall-header-paint.js +1 -0
- package/dist/header/paint-registration.js +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -1
- package/dist/menu/esp-menu-group.js +8 -8
- package/dist/menu/esp-menu-item.js +8 -8
- package/dist/menu/esp-menu.js +10 -6
- package/dist/menu/navigation-focus-outline.js +8 -0
- package/dist/menu/navigation-paint.js +1 -0
- package/dist/menu/paint-registration.js +1 -0
- package/dist/pickers/esp-picker-item.js +1 -1
- package/dist/root/esp-root.d.ts +8 -1
- package/dist/root/esp-root.js +47 -10
- package/dist/root/helpers/compute-semantic-properties.js +1 -1
- package/dist/root/helpers/compute-theme-properties.js +1 -1
- package/dist/root/helpers/data-companion-properties.js +1 -1
- package/dist/root/helpers/lightness-ramp-properties.js +1 -1
- package/dist/shared/blockquote-styles.d.ts +3 -0
- package/dist/shared/blockquote-styles.js +4 -4
- package/dist/shared/color-engine.js +1 -1
- package/dist/shared/component-property-compiler.js +1 -0
- package/dist/shared/component-property-diagnostics.js +1 -0
- package/dist/shared/component-property-normalizer.js +1 -0
- package/dist/shared/component-property-resets.js +1 -0
- package/dist/shared/composed-dom.js +1 -0
- package/dist/shared/configured-brand-color.js +1 -0
- package/dist/shared/configured-brand.js +5 -5
- package/dist/shared/css-named-colors.js +1 -0
- package/dist/shared/document-sprite.js +1 -1
- package/dist/shared/esp-element-base.d.ts +3 -0
- package/dist/shared/esp-element-base.js +3 -3
- package/dist/shared/font-helpers.d.ts +3 -3
- package/dist/shared/font-helpers.js +1 -1
- package/dist/shared/font-plan.d.ts +1 -1
- package/dist/shared/governing-root.d.ts +24 -0
- package/dist/shared/governing-root.js +1 -0
- package/dist/shared/intent-values.js +1 -1
- package/dist/shared/paint-catalog.d.ts +27 -0
- package/dist/shared/paint-catalog.js +1 -0
- package/dist/shared/paint-color.d.ts +25 -0
- package/dist/shared/paint-color.js +1 -0
- package/dist/shared/paint-fit.js +1 -0
- package/dist/shared/paint-identity.js +1 -0
- package/dist/shared/paint-types.d.ts +88 -0
- package/dist/shared/paint-types.js +0 -0
- package/dist/shared/public-token-catalog.generated.js +1 -0
- package/dist/shared/root-event-subscription.d.ts +11 -0
- package/dist/shared/scoped-style-declarations.js +1 -0
- package/dist/shared/semantic-color-names.d.ts +16 -0
- package/dist/shared/semantic-color-names.js +1 -0
- package/dist/shared/settable-component-properties.js +1 -0
- package/dist/shared/theme-core.d.ts +808 -0
- package/dist/shared/theme-core.js +1 -0
- package/dist/shared/theme-fit-report.d.ts +39 -5
- package/dist/shared/theme-fit-report.js +1 -1
- package/dist/shared/theme-mapping-grammar.d.ts +16 -0
- package/dist/shared/theme-mapping-grammar.js +1 -0
- package/dist/shared/theme-properties.d.ts +3 -1
- package/dist/shared/theme-properties.js +1 -1
- package/dist/shared/theme-validation.d.ts +52 -0
- package/dist/shared/theme-validation.js +1 -0
- package/dist/shared/theme.d.ts +6 -899
- package/dist/shared/theme.js +1 -1
- package/dist/shared/token-pairings.d.ts +25 -0
- package/dist/shared/token-pairings.js +1 -0
- package/dist/shared/wcag-contrast.d.ts +14 -0
- package/dist/shared/wcag-contrast.js +1 -0
- package/dist/testing/index.d.ts +7 -0
- package/dist/testing/index.js +1 -0
- package/dist/testing/observe-paint.d.ts +29 -0
- package/dist/testing/observe-paint.iife.js +3 -0
- package/dist/testing/observe-paint.js +3 -0
- package/dist/testing/paint-bands.js +1 -0
- package/dist/testing/paint-coverage.d.ts +14 -0
- package/dist/testing/paint-coverage.js +1 -0
- package/dist/testing/paint-dom.js +1 -0
- package/dist/testing/svg-paint.js +1 -0
- package/espalier.css-data.json +62 -2
- package/espalier.token-manifest.json +5724 -29
- package/package.json +10 -1
package/espalier.css-data.json
CHANGED
|
@@ -53,10 +53,30 @@
|
|
|
53
53
|
"name": "--esp-avatar-size",
|
|
54
54
|
"description": "Width and height of the avatar. Automatically set by the `size` attribute."
|
|
55
55
|
},
|
|
56
|
+
{
|
|
57
|
+
"name": "--esp-badge-background",
|
|
58
|
+
"description": "Background of a neutral badge. Defaults to `var(--esp-color-layer-2)`."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "--esp-badge-border-color",
|
|
62
|
+
"description": "Border color of a neutral badge. Defaults to `var(--esp-color-border)`."
|
|
63
|
+
},
|
|
56
64
|
{
|
|
57
65
|
"name": "--esp-badge-border-radius",
|
|
58
66
|
"description": "Border radius of the badge shell. Defaults to `999px`."
|
|
59
67
|
},
|
|
68
|
+
{
|
|
69
|
+
"name": "--esp-badge-color",
|
|
70
|
+
"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."
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "--esp-blockquote-bar-color",
|
|
74
|
+
"description": "Color of the quote's inline-start border. Defaults to `var(--esp-color-border)`."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "--esp-blockquote-glyph-color",
|
|
78
|
+
"description": "Ink of the opening quote mark. Defaults to `var(--esp-blockquote-bar-color, var(--esp-color-border))`."
|
|
79
|
+
},
|
|
60
80
|
{
|
|
61
81
|
"name": "--esp-box-background",
|
|
62
82
|
"description": "Adds a layer in the background of the box. Intended for background images or gradients."
|
|
@@ -83,7 +103,7 @@
|
|
|
83
103
|
},
|
|
84
104
|
{
|
|
85
105
|
"name": "--esp-breadcrumb-current-color",
|
|
86
|
-
"description": "The text color of the current-page crumb, which is not a link. Defaults to
|
|
106
|
+
"description": "The text color of the current-page crumb, which is not a link. Defaults to `var(--esp-breadcrumb-color, var(--esp-color-headings))`, keeping the current page distinct from the links beside it."
|
|
87
107
|
},
|
|
88
108
|
{
|
|
89
109
|
"name": "--esp-breadcrumb-hover-background",
|
|
@@ -95,7 +115,11 @@
|
|
|
95
115
|
},
|
|
96
116
|
{
|
|
97
117
|
"name": "--esp-breadcrumb-separator-color",
|
|
98
|
-
"description": "The color of the separator icons. Defaults to `oklch(
|
|
118
|
+
"description": "The color of the separator icons. Defaults to `color-mix(in oklch, var(--esp-breadcrumb-color, var(--esp-color-link)) 70%, transparent)`. Set it on `esp-breadcrumbs` to recolor a whole trail or on one `esp-breadcrumb` to recolor a single icon."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "--esp-breadcrumb-separator-size",
|
|
122
|
+
"description": "Width and height of a separator icon. Defaults to `var(--esp-size-normal-to-medium)`. The settable range is 0.5rem to 2rem."
|
|
99
123
|
},
|
|
100
124
|
{
|
|
101
125
|
"name": "--esp-button-group-divider",
|
|
@@ -713,6 +737,14 @@
|
|
|
713
737
|
"name": "--esp-footer-heading-color",
|
|
714
738
|
"description": "Heading and configured-brand color. Defaults to `var(--esp-color-headings)`."
|
|
715
739
|
},
|
|
740
|
+
{
|
|
741
|
+
"name": "--esp-footer-heading-font-size",
|
|
742
|
+
"description": "Font size derived from the authored heading step. Defaults to `var(--esp-type-normal)`."
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "--esp-footer-heading-size",
|
|
746
|
+
"description": "Size step for link-group headings and slotted `h2` headings: `small`, `normal`, `medium`, `big`, or `large`. Defaults to `normal`."
|
|
747
|
+
},
|
|
716
748
|
{
|
|
717
749
|
"name": "--esp-footer-light-brand-logo-aspect-ratio",
|
|
718
750
|
"description": "Pending or failed natural logo ratio in the light scheme; validated hint, then the generic ratio, then 3 / 1. Loaded intrinsic dimensions win."
|
|
@@ -721,6 +753,10 @@
|
|
|
721
753
|
"name": "--esp-footer-link-color",
|
|
722
754
|
"description": "Link color. Defaults to `var(--esp-color-link)`."
|
|
723
755
|
},
|
|
756
|
+
{
|
|
757
|
+
"name": "--esp-footer-link-decoration",
|
|
758
|
+
"description": "Resting decoration of bare footer links and the configured brand link: `none` or `underline`. Bare links default to `underline` and the brand defaults to `none`. All supported links underline on hover."
|
|
759
|
+
},
|
|
724
760
|
{
|
|
725
761
|
"name": "--esp-footer-link-group-gap",
|
|
726
762
|
"description": "Space between a link-group heading and its links. Defaults to `var(--esp-size-small)`."
|
|
@@ -733,6 +769,14 @@
|
|
|
733
769
|
"name": "--esp-footer-link-hover-color",
|
|
734
770
|
"description": "Hovered link color. Defaults to `var(--esp-color-link-hover)`."
|
|
735
771
|
},
|
|
772
|
+
{
|
|
773
|
+
"name": "--esp-footer-link-underline-offset",
|
|
774
|
+
"description": "Underline offset of supported links, from `0em` to `0.5em`. Defaults to `0.18em` for group links and brand hover, and `auto` elsewhere."
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "--esp-footer-link-underline-thickness",
|
|
778
|
+
"description": "Underline thickness of supported links, from `0em` to `0.2em` or `auto`. Defaults to `auto`."
|
|
779
|
+
},
|
|
736
780
|
{
|
|
737
781
|
"name": "--esp-footer-padding-block",
|
|
738
782
|
"description": "Content block padding. Defaults to `var(--esp-size-padding-page)`."
|
|
@@ -1053,6 +1097,22 @@
|
|
|
1053
1097
|
"name": "--esp-header-z-index",
|
|
1054
1098
|
"description": "The z-index of the header host. Defaults to `20`."
|
|
1055
1099
|
},
|
|
1100
|
+
{
|
|
1101
|
+
"name": "--esp-heading-1-color",
|
|
1102
|
+
"description": "Color of native light-DOM h1 headings. Defaults to `var(--esp-color-headings)`."
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"name": "--esp-heading-2-color",
|
|
1106
|
+
"description": "Color of native light-DOM h2 headings. Defaults to `var(--esp-color-headings)`."
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"name": "--esp-heading-3-color",
|
|
1110
|
+
"description": "Color of native light-DOM h3 headings. Defaults to `var(--esp-color-headings)`."
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "--esp-heading-4-color",
|
|
1114
|
+
"description": "Color of native light-DOM h4 headings. Defaults to `var(--esp-color-headings)`."
|
|
1115
|
+
},
|
|
1056
1116
|
{
|
|
1057
1117
|
"name": "--esp-image-banner-block-size",
|
|
1058
1118
|
"description": "A soft height target for a banner: it replaces the ratio as the banner height (viewport-fill banners), and copy that would not fit grows the banner past it. In the compact band it sizes only the image box. Unlike `block-size`, it never clips copy. Defaults to none."
|