fix: menu selection ARIA, cancelable activation, submenu and long-press
- Selected items use menuitemradio/menuitemcheckbox + aria-checked + data-selected - onClick preventDefault cancels action/selection/close (user handlers first) - Submenu trigger is a single menuitem (asChild); standalone Menu owns Reka root - DropdownRoot trigger=longPress with threshold, keyboard fallback, cleanup - Export *Props types; independent tarball ESM/CSS + NodeNext/bundler contracts - Esc still closes the full submenu stack (recorded gap)
This commit is contained in:
@@ -912,3 +912,20 @@ export {
|
||||
type DropdownVariants,
|
||||
} from "@heroui-vue/styles";
|
||||
export type { MenuKey, MenuSelectionMode } from "./components/menu/context";
|
||||
|
||||
export type {
|
||||
MenuRootProps,
|
||||
MenuItemProps,
|
||||
MenuItemIndicatorProps,
|
||||
MenuItemSubmenuIndicatorProps,
|
||||
MenuSectionProps,
|
||||
DropdownRootProps,
|
||||
DropdownTriggerProps,
|
||||
DropdownPopoverProps,
|
||||
DropdownMenuProps,
|
||||
DropdownSectionProps,
|
||||
DropdownItemProps,
|
||||
DropdownItemIndicatorProps,
|
||||
DropdownSubmenuIndicatorProps,
|
||||
DropdownSubmenuTriggerProps,
|
||||
} from "./types-menu";
|
||||
|
||||
Reference in New Issue
Block a user