@taprootio/espalier 6.11.0 → 6.13.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/css/esp-reset.css +17 -0
  3. package/custom-elements.json +36316 -33823
  4. package/dist/button/esp-button.d.ts +10 -1
  5. package/dist/button/esp-button.js +55 -28
  6. package/dist/columns/esp-columns.d.ts +52 -0
  7. package/dist/columns/esp-columns.js +45 -0
  8. package/dist/header/esp-header.d.ts +64 -2
  9. package/dist/header/esp-header.js +285 -44
  10. package/dist/header/header-geometry-controller.js +1 -0
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.js +1 -1
  13. package/dist/menu/esp-menu-group.d.ts +1 -0
  14. package/dist/menu/esp-menu-group.js +34 -20
  15. package/dist/menu/esp-menu-item.d.ts +31 -1
  16. package/dist/menu/esp-menu-item.js +82 -15
  17. package/dist/menu/esp-menu.d.ts +3 -2
  18. package/dist/menu/esp-menu.js +64 -51
  19. package/dist/menu/menu-presentation.d.ts +1 -0
  20. package/dist/menu/menu-presentation.js +37 -0
  21. package/dist/menu/swipe-reveal-controller.js +1 -1
  22. package/dist/page/bi-directional-sticky-controller.js +1 -1
  23. package/dist/page/esp-page.d.ts +10 -2
  24. package/dist/page/esp-page.js +37 -35
  25. package/dist/page/esp-page.styles.js +36 -0
  26. package/dist/radio-button/esp-radio-button-group.d.ts +4 -1
  27. package/dist/radio-button/esp-radio-button-group.js +5 -5
  28. package/dist/radio-button/esp-radio-button.d.ts +3 -1
  29. package/dist/radio-button/esp-radio-button.js +6 -6
  30. package/dist/row/esp-row.js +3 -26
  31. package/dist/shared/configured-brand.d.ts +3 -1
  32. package/dist/shared/configured-brand.js +5 -5
  33. package/dist/shared/layout-gap.js +5 -0
  34. package/dist/shared/popover-controller.js +1 -1
  35. package/dist/stack/esp-stack.js +3 -26
  36. package/espalier.css-data.json +17 -1
  37. package/espalier.token-manifest.json +25 -1
  38. package/package.json +5 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ # 6.13.0
2
+
3
+ Headers support button links, scalable height and compact logos, while sections gain responsive columns.
4
+
5
+ - Set menu-item appearance to button for a call to action; it keeps its link or action semantics in inline menus, header-end links and drawers.
6
+ - Button current state renders a noninteractive current-page label. Public wrapper, control and label parts support composed typography.
7
+ - Set `height-multiplier` from 1.0 to 5.0 in tenths. In a fixed `esp-page`, combine `scroll-behavior="compact"` with `compact-size="standard"` to compact to the standard height. Optional `compact-brand-logo`, `light-compact-brand-logo` and `dark-compact-brand-logo` sources have scheme-aware fallback; controls and extra rows retain their baseline sizes.
8
+ - Wait for initial header geometry with `esp-page.whenHeaderGeometryReady()` and read the `--esp-page-header-expanded-size` export for stable reservations and anchored content. Use `--esp-page-visible-header-offset` to override visible clearance through compaction.
9
+ - `esp-columns` lays out two or three independent regions with equal, 40/60 or 60/40 two-region ratios (three regions are equal only), stacking every region together when its container is too narrow for readable content. Its themed gap and original content order stay intact through layout changes.
10
+
11
+ # 6.12.1
12
+
13
+ Nested navigation disclosures keep their own expansion state.
14
+
15
+ - Collapsing or reopening a nested drawer group leaves its parent and the navigation drawer open, including keyboard activation.
16
+
17
+ # 6.12.0
18
+
19
+ Selected header links can sit beside the header controls while keeping one navigation tree.
20
+
21
+ - Set `header-end` (`headerEnd`) on a top-level linked `esp-menu-item` in a header's primary horizontal menu. Inline headers show these links before the action buttons; auto and forced drawers keep the full source order in one menu. Standalone, nested and button items retain their ordinary presentation.
22
+ - Auto fit accounts for both navigation regions at their natural widths. Explicit Inline keeps the menu and end links reachable within constrained columns, and also takes precedence over the minimal layout. Header actions retain their natural targets.
23
+ - Horizontal scrolling menus show dropdown panels in the top layer so they remain visible outside the scrolling rail. Existing disclosure keyboard, focus and outside-click behavior stays with the group.
24
+ - Radio groups preserve each option's own disabled setting when the group toggles, and release inherited disabled state safely when options move or disconnect.
25
+ - Link destinations, current-page state, icons and new-tab cues follow each presentation, with one active view through drawer changes and source updates.
26
+
1
27
  # 6.11.0
2
28
 
3
29
  Drawer navigation controls fit their labels, and trees can limit where children are added.
package/css/esp-reset.css CHANGED
@@ -61,3 +61,20 @@ sup {
61
61
  vertical-align: baseline;
62
62
  top: -0.7em;
63
63
  }
64
+
65
+ /* Regions remain readable before the optional columns module loads. */
66
+ esp-columns:not(:defined) {
67
+ display: block;
68
+ min-inline-size: 0;
69
+ max-inline-size: 100%;
70
+ overflow-wrap: anywhere;
71
+ }
72
+
73
+ esp-columns:not(:defined) > * {
74
+ min-inline-size: 0;
75
+ max-inline-size: 100%;
76
+ }
77
+
78
+ :where(esp-columns:not(:defined) > :not([hidden]):not(script):not(style):not(template):not(dialog:not([open])):not(datalist):not(link):not(meta):not(noembed):not(base):not(head):not(title):not(param):not(source):not(track):not(area):not(noscript):not(input[type="hidden"])) {
79
+ display: block;
80
+ }