You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Action menu component (now with custom styles!)
9
+
10
+
Introduces `@spectrum-css/actionmenu`, a composition of `ActionButton`, `Popover`, and `Menu` to present action lists from a trigger. Now with custom styles!
11
+
12
+
- Adds wrapper classes: `spectrum-ActionMenu`, `spectrum-ActionMenu-trigger`, `spectrum-ActionMenu-popover`, and `spectrum-ActionMenu-menu`.
13
+
- Supports long press triggers and four placements (start/end, top/bottom) via the underlying popover API.
- If you previously composed an action menu manually (action button + popover + menu), you can adopt the new wrapper classes without changing the underlying markup semantics. Ensure the trigger has `aria-haspopup="menu"` and manages `aria-expanded` according to your application logic.
19
+
- For spacing customizations previously done with ad‑hoc margins, switch to the new `--spectrum-actionmenu-button-to-menu-gap` custom property.
- CJK line-height tokens applied for labels, descriptions, and section headers.
49
+
- External link and drill‑in icon sizing variables exposed; thumbnail sizing and alignment refined.
50
+
- Forced-colors improvements and readability adjustments.
51
+
- Non-breaking; no class or DOM changes required.
52
+
53
+
### Action button refinements
54
+
55
+
- Selection styling now applies when components use ARIA pressed/expanded semantics, not just `.is-selected`.
56
+
- Implemented with `:where()` to keep selector specificity low and prevent downstream specificity battles.
57
+
- Non-breaking; no class changes required.
58
+
59
+
### Action group refinements
60
+
61
+
Aligns selection behavior of grouped items with action button updates.
62
+
63
+
- Adds `:where([aria-pressed="true"], [aria-expanded="true"])` alongside `.is-selected` on items to cover more accessibility use-cases while keeping specificity low.
0 commit comments