@taprootio/espalier 6.12.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.
- package/CHANGELOG.md +16 -0
- package/css/esp-reset.css +17 -0
- package/custom-elements.json +3013 -856
- package/dist/button/esp-button.d.ts +10 -1
- package/dist/button/esp-button.js +55 -28
- package/dist/columns/esp-columns.d.ts +52 -0
- package/dist/columns/esp-columns.js +45 -0
- package/dist/header/esp-header.d.ts +35 -0
- package/dist/header/esp-header.js +175 -46
- package/dist/header/header-geometry-controller.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/menu/esp-menu-item.d.ts +16 -1
- package/dist/menu/esp-menu-item.js +74 -15
- package/dist/menu/esp-menu.js +1 -1
- package/dist/menu/menu-presentation.d.ts +1 -0
- package/dist/menu/menu-presentation.js +15 -14
- package/dist/menu/swipe-reveal-controller.js +1 -1
- package/dist/page/bi-directional-sticky-controller.js +1 -1
- package/dist/page/esp-page.d.ts +10 -2
- package/dist/page/esp-page.js +37 -35
- package/dist/page/esp-page.styles.js +36 -0
- package/dist/row/esp-row.js +3 -26
- package/dist/shared/configured-brand.d.ts +3 -1
- package/dist/shared/configured-brand.js +5 -5
- package/dist/shared/layout-gap.js +5 -0
- package/dist/stack/esp-stack.js +3 -26
- package/espalier.css-data.json +17 -1
- package/espalier.token-manifest.json +25 -1
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
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
|
+
|
|
1
17
|
# 6.12.0
|
|
2
18
|
|
|
3
19
|
Selected header links can sit beside the header controls while keeping one navigation tree.
|
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
|
+
}
|