@taprootio/espalier 6.8.0 → 6.9.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 +8 -0
- package/custom-elements.json +2603 -2362
- 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 +10 -0
- package/dist/menu/esp-menu-group.js +20 -25
- 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/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# 6.9.0
|
|
2
|
+
|
|
3
|
+
Menu links can open in another tab, and buttons and menu links announce that destination to screen-reader users.
|
|
4
|
+
|
|
5
|
+
- `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.
|
|
6
|
+
- 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.
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
1
9
|
# 6.8.0
|
|
2
10
|
|
|
3
11
|
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.
|