Review of the restored button-group demos found the merged pull-request
group's seam broken: DropdownRoot renders a .hv-dropdown wrapper (a recorded
Vue adaptation) so the trigger button stopped being a positional child of
.button-group and matched :first-child:last-child, taking a full 24px radius
against the merge button's 24/0 end cap. The internal __button_group_child
marker also leaked onto the DOM.
Upstream Dropdown has no DOM root (RAC MenuTrigger renders a bare
SlotProvider and drops root props), so the trigger naturally occupies the
group's :last-child slot and the shared seam rules apply unchanged.
- DropdownRoot absorbs the ButtonGroup direct-child marker and skips the
wrapper when marked, restoring positional seam radii and outline seam
borders without touching the styles package (kept line-parity with the
pinned source)
- wrapper contract (data-slot=dropdown-root, data-trigger, root class host)
unchanged outside ButtonGroup; documented in dropdown.md
- regression tests: positional trigger + no marker leak in groups, wrapper
still hosts root class standalone
- Menu forwards the raw close policy and the item resolves item > menu
(boolean or function) > per-mode default, so action items close by default and
an explicit single/multiple policy is no longer pre-empted.
- Root popover chains caller handlers with the internal ones for keydown,
escape, interact-outside, auto focus and animation end; callers run first and
a prevented event stops the internal logic.
- Submenu panels receive the nested popover's data/style/id/extra events, honour
isKeyboardDismissDisabled without closing the parent level or a modal, and
forward shouldCloseOnInteractOutside.
- A standalone Menu provides its own content-attribute channel so the
accessible name/description land on the real role=menu node.
- Root and submenu surfaces render through the dropdown portal with the overlay
z-index, so clipping/isolation ancestors no longer cut the menu; panel height
is capped by the floating available height and the animation origin maps the
real transform origin.
- Standalone Menu is a static in-flow list: no scroll lock, no outside pointer
blocking, no floating placement and no focus stealing.
- Selection ownership is isolated per level: section disabled keys add to the
menu list, and a nested Menu resets the section owner.
- closeOnSelect resolves item > menu policy > per-mode default for selection
items; actions and radio items close, checkboxes stay open.
- Business keys no longer become DOM ids (instance ids + data-key), and submenu
surfaces label themselves from the real trigger.
- Long-press keydown runs the caller's handlers first and only opens when not
cancelled; submenu panels merge caller keydown with the internal Escape.
- Link items render a real anchor, aria labels land on the role=menu node,
submenu panels forward placement/offset/collision props and caller attrs, and
the popover provides the default Surface variant.
- Wrapper parts declare real props/emits, plus the missing official capability
props (disallowEmptySelection, escapeKeyBehavior, shouldFocusWrap, autoFocus,
shouldCloseOnSelect, close, empty slot, isKeyboardDismissDisabled,
shouldCloseOnInteractOutside, placement/offset family, scoped slots).
- Ship an independent consumer fixture for browser-level verification.
- menu-item.css keys disabled styling off the presence attribute Reka emits.
- Dropdown surfaces drive the ported enter/exit animations and use data-side
for placement-specific motion.
- One role=menu per popup; items render their key as DOM id; submenu surfaces
point aria-labelledby at the real trigger; MenuSection names its group from a
nested Header.
- Custom (asChild) triggers stay keyboard focusable; library Button/Avatar keep
their own layout instead of the custom-trigger rules.
- Items emit data-focused/data-hovered/data-pressed, expose the upstream render
props to slots, and merge caller classes through tailwind-variants.
- Submenu triggers declare hasSubmenu explicitly and forward class/ARIA; the
default submenu indicator uses the baseline chevron artwork.
- Demos restore Kbd slot="keyboard" (27x), IconSquarePlus, and remove the added
comment, stray space and duplicated indicator SVGs.
- Document the page after the official structure and API tables, including
renamed props, Vue extensions and remaining gaps.
Port HeroUI menu family and Dropdown from ce90ea3: Reka DropdownMenu base,
MenuKey[] selection with section owners, 17 official demos, dropdown docs
and B01 tests. Long-press stays demo-level; submenu close is level-scoped.