@taprootio/espalier 6.8.0 → 6.9.1
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/custom-elements.json +5276 -5031
- package/dist/button/esp-button.d.ts +6 -0
- package/dist/button/esp-button.js +11 -10
- package/dist/menu/esp-menu-group.d.ts +12 -1
- package/dist/menu/esp-menu-group.js +47 -34
- package/dist/menu/esp-menu-item.d.ts +10 -0
- package/dist/menu/esp-menu-item.js +8 -6
- package/dist/menu/esp-menu.js +19 -12
- package/dist/shared/new-tab-cue.js +1 -0
- package/espalier.css-data.json +1 -1
- package/espalier.token-manifest.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# 6.9.1
|
|
2
|
+
|
|
3
|
+
Header navigation groups align with neighboring items and expose their disclosure panels to assistive technology.
|
|
4
|
+
|
|
5
|
+
- Group labels use the same default color, font weight and row geometry as neighboring menu items in inline headers and full-screen drawers. Explicit group color overrides remain supported.
|
|
6
|
+
- Disclosure indicators scale with the label size and stay centered. Each disclosure button names its panel with `aria-controls`; Escape closes the group and restores focus before dismissing a containing drawer.
|
|
7
|
+
- Optional linked group labels retain their separate link and disclosure controls, including target and relationship attributes.
|
|
8
|
+
|
|
9
|
+
# 6.9.0
|
|
10
|
+
|
|
11
|
+
Menu links can open in another tab, and buttons and menu links announce that destination to screen-reader users.
|
|
12
|
+
|
|
13
|
+
- `esp-menu-item` and `esp-menu-group` accept `target` and `rel`, passed through to their links without classifying the URL. Empty values omit the attributes.
|
|
14
|
+
- Every `target="_blank"` link rendered by `esp-button`, `esp-menu-item` or `esp-menu-group` now appends “(opens in a new tab)” to its accessible name, including icon-only buttons. This applies to all consumers; tests matching exact link names need updating. There is no visible change. Replace the phrase with `newTabLabel` (`new-tab-label`) for non-English sites; empty text falls back to English. Current-page menu labels and controls without links have no cue.
|
|
15
|
+
- Drawer copies preserve link targets, relationships and translated cues. Activating a new-tab link closes the drawer and restores focus to its trigger; cancelling navigation leaves it open.
|
|
16
|
+
|
|
1
17
|
# 6.8.0
|
|
2
18
|
|
|
3
19
|
Album previews can offer one action of your own on each image, and their remove button can now be reached from the keyboard and can no longer be tapped unseen.
|