@taprootio/espalier 4.6.0 → 4.8.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/css/fonts/font-fallback-profiles.json +1 -1
- package/custom-elements.json +2789 -2190
- package/dist/header/esp-header.d.ts +4 -1
- package/dist/header/esp-header.js +56 -11
- package/dist/menu/esp-menu-group.d.ts +7 -0
- package/dist/menu/esp-menu-group.js +46 -11
- package/dist/menu/esp-menu-item.d.ts +7 -0
- package/dist/menu/esp-menu-item.js +49 -9
- package/dist/menu/esp-menu.d.ts +74 -0
- package/dist/menu/esp-menu.js +179 -18
- package/dist/menu/swipe-reveal-controller.js +1 -1
- package/dist/root/esp-root.d.ts +2 -0
- package/dist/root/esp-root.js +2 -2
- package/dist/root/helpers/compute-theme-properties.js +1 -1
- package/dist/shared/configured-brand.d.ts +33 -0
- package/dist/shared/events.d.ts +2 -0
- package/dist/shared/events.js +1 -1
- package/dist/shared/font-helpers.js +1 -1
- package/dist/shared/font-plan.d.ts +13 -3
- package/dist/shared/font-plan.js +5 -5
- package/dist/shared/overlay-controller.js +1 -1
- package/dist/shared/theme-properties.d.ts +42 -0
- package/dist/shared/theme-properties.js +1 -0
- package/dist/shared/theme.d.ts +18 -0
- package/dist/shared/theme.js +1 -1
- package/espalier.css-data.json +52 -0
- package/espalier.token-manifest.json +76 -0
- package/package.json +9 -1
|
@@ -750,6 +750,11 @@
|
|
|
750
750
|
"category": "root-theme",
|
|
751
751
|
"description": "Consumer-authored heading family. Emitted only when configured; heading recipes otherwise fall back to `--esp-font-body`."
|
|
752
752
|
},
|
|
753
|
+
{
|
|
754
|
+
"name": "--esp-font-menu",
|
|
755
|
+
"category": "root-theme",
|
|
756
|
+
"description": "Consumer-authored navigation family. Emitted only when configured; menu items otherwise fall back to `--esp-font-body`, never to headings."
|
|
757
|
+
},
|
|
753
758
|
{
|
|
754
759
|
"name": "--esp-font-monospace",
|
|
755
760
|
"category": "root-theme",
|
|
@@ -771,6 +776,11 @@
|
|
|
771
776
|
"category": "root-theme",
|
|
772
777
|
"description": ""
|
|
773
778
|
},
|
|
779
|
+
{
|
|
780
|
+
"name": "--esp-font-weight-menu",
|
|
781
|
+
"category": "root-theme",
|
|
782
|
+
"description": "Font weight for horizontal navigation menu items. Defaults to `bold`."
|
|
783
|
+
},
|
|
774
784
|
{
|
|
775
785
|
"name": "--esp-font-weight-monospace",
|
|
776
786
|
"category": "root-theme",
|
|
@@ -1615,12 +1625,36 @@
|
|
|
1615
1625
|
"component": "esp-menu",
|
|
1616
1626
|
"description": "Border color of menu rails and drawers."
|
|
1617
1627
|
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "--esp-menu-drawer-brand-color",
|
|
1630
|
+
"category": "component",
|
|
1631
|
+
"component": "esp-menu",
|
|
1632
|
+
"description": "Text and logo color of the full-screen drawer's brand. Defaults to the mirrored brand color, then `var(--esp-color-headings)`."
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"name": "--esp-menu-drawer-brand-logo-size",
|
|
1636
|
+
"category": "component",
|
|
1637
|
+
"component": "esp-menu",
|
|
1638
|
+
"description": "Logo height of the brand centered in the full-screen drawer. Defaults to `calc(3 * var(--esp-size-medium))`."
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "--esp-menu-drawer-item-font-size",
|
|
1642
|
+
"category": "component",
|
|
1643
|
+
"component": "esp-menu",
|
|
1644
|
+
"description": "Item label size in the full-screen drawer. Defaults to `var(--esp-type-large)`."
|
|
1645
|
+
},
|
|
1618
1646
|
{
|
|
1619
1647
|
"name": "--esp-menu-drawer-shadow",
|
|
1620
1648
|
"category": "component",
|
|
1621
1649
|
"component": "esp-menu",
|
|
1622
1650
|
"description": "Box shadow for the drawer overlay."
|
|
1623
1651
|
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "--esp-menu-drawer-transition-duration",
|
|
1654
|
+
"category": "component",
|
|
1655
|
+
"component": "esp-menu",
|
|
1656
|
+
"description": "Duration of the full-screen drawer's transition. Defaults to `0.3s`; reduced motion disables it."
|
|
1657
|
+
},
|
|
1624
1658
|
{
|
|
1625
1659
|
"name": "--esp-menu-drawer-width",
|
|
1626
1660
|
"category": "component",
|
|
@@ -1717,6 +1751,12 @@
|
|
|
1717
1751
|
"component": "esp-menu-item",
|
|
1718
1752
|
"description": "Font weight of the active item. Defaults to `var(--esp-font-weight-headings)`."
|
|
1719
1753
|
},
|
|
1754
|
+
{
|
|
1755
|
+
"name": "--esp-menu-item-active-indicator-color",
|
|
1756
|
+
"category": "component",
|
|
1757
|
+
"component": "esp-menu-item",
|
|
1758
|
+
"description": "Color of the bar drawn under the active horizontal item. Defaults to `--esp-menu-item-active-color`, then `var(--esp-color-link)`."
|
|
1759
|
+
},
|
|
1720
1760
|
{
|
|
1721
1761
|
"name": "--esp-menu-item-background",
|
|
1722
1762
|
"category": "component",
|
|
@@ -1735,6 +1775,24 @@
|
|
|
1735
1775
|
"component": "esp-menu-item",
|
|
1736
1776
|
"description": "Text color."
|
|
1737
1777
|
},
|
|
1778
|
+
{
|
|
1779
|
+
"name": "--esp-menu-item-font-family",
|
|
1780
|
+
"category": "component",
|
|
1781
|
+
"component": "esp-menu-group",
|
|
1782
|
+
"description": "Font family of item labels. Defaults to the theme's `--esp-font-menu`, then `--esp-font-body`."
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "--esp-menu-item-font-size",
|
|
1786
|
+
"category": "component",
|
|
1787
|
+
"component": "esp-menu-item",
|
|
1788
|
+
"description": "Font size of item labels. Defaults to `inherit`."
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "--esp-menu-item-font-weight",
|
|
1792
|
+
"category": "component",
|
|
1793
|
+
"component": "esp-menu-item",
|
|
1794
|
+
"description": "Font weight of horizontal item labels. Defaults to `--esp-font-weight-menu`, then `700`."
|
|
1795
|
+
},
|
|
1738
1796
|
{
|
|
1739
1797
|
"name": "--esp-menu-item-hover-background",
|
|
1740
1798
|
"category": "component",
|
|
@@ -1747,6 +1805,18 @@
|
|
|
1747
1805
|
"component": "esp-menu-item",
|
|
1748
1806
|
"description": "Hover text color."
|
|
1749
1807
|
},
|
|
1808
|
+
{
|
|
1809
|
+
"name": "--esp-menu-item-hover-decoration",
|
|
1810
|
+
"category": "component",
|
|
1811
|
+
"component": "esp-menu-item",
|
|
1812
|
+
"description": "Text decoration of a hovered link item. Defaults to `none`; set `underline` to restore the former underline."
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "--esp-menu-item-hover-indicator-color",
|
|
1816
|
+
"category": "component",
|
|
1817
|
+
"component": "esp-menu-item",
|
|
1818
|
+
"description": "Color of the bar drawn under a hovered horizontal item. Defaults to `--esp-menu-item-hover-color`, then `var(--esp-color-headings-hover)`."
|
|
1819
|
+
},
|
|
1750
1820
|
{
|
|
1751
1821
|
"name": "--esp-menu-item-icon-background",
|
|
1752
1822
|
"category": "component",
|
|
@@ -1777,6 +1847,12 @@
|
|
|
1777
1847
|
"component": "esp-menu-item",
|
|
1778
1848
|
"description": "Padding around the item label."
|
|
1779
1849
|
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "--esp-menu-item-transition-duration",
|
|
1852
|
+
"category": "component",
|
|
1853
|
+
"component": "esp-menu-item",
|
|
1854
|
+
"description": "Duration for color, background, and indicator changes. Defaults to `0.2s`; reduced motion disables the transition."
|
|
1855
|
+
},
|
|
1780
1856
|
{
|
|
1781
1857
|
"name": "--esp-menu-scrim-color",
|
|
1782
1858
|
"category": "component",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taprootio/espalier",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"packageManager": "bun@1.3.12",
|
|
5
5
|
"description": "Espalier — a themeable, accessible, framework-agnostic, enterprise-grade design system built on web standards and love.",
|
|
6
6
|
"customElements": "custom-elements.json",
|
|
@@ -305,6 +305,10 @@
|
|
|
305
305
|
"types": "./dist/shared/theme.d.ts",
|
|
306
306
|
"import": "./dist/shared/theme.js"
|
|
307
307
|
},
|
|
308
|
+
"./shared/theme-properties": {
|
|
309
|
+
"types": "./dist/shared/theme-properties.d.ts",
|
|
310
|
+
"import": "./dist/shared/theme-properties.js"
|
|
311
|
+
},
|
|
308
312
|
"./shared/data-colors": {
|
|
309
313
|
"types": "./dist/shared/data-colors.d.ts",
|
|
310
314
|
"import": "./dist/shared/data-colors.js"
|
|
@@ -333,6 +337,10 @@
|
|
|
333
337
|
"types": "./dist/shared/justified-layout.d.ts",
|
|
334
338
|
"import": "./dist/shared/justified-layout.js"
|
|
335
339
|
},
|
|
340
|
+
"./shared/image-texture-registry": {
|
|
341
|
+
"types": "./dist/shared/image-texture-registry.d.ts",
|
|
342
|
+
"import": "./dist/shared/image-texture-registry.js"
|
|
343
|
+
},
|
|
336
344
|
"./shared/esp-bus": {
|
|
337
345
|
"types": "./dist/shared/esp-bus.d.ts",
|
|
338
346
|
"import": "./dist/shared/esp-bus.js"
|