feat: migrate Menu and Dropdown with selection and submenus
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.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/* Adapted from HeroUI ce90ea3. Copyright 2025 NextUI Inc.
|
||||
* Apache-2.0; see third-party/HEROUI-LICENSE. hv- namespace and Vue adapters. */
|
||||
/* ==========================================================================
|
||||
Base menu styles
|
||||
========================================================================== */
|
||||
|
||||
.hv-menu {
|
||||
@apply relative flex w-full flex-col gap-1 overflow-clip p-1;
|
||||
|
||||
/* This makes the separator take up 94% of the width and be centered */
|
||||
[data-slot="separator"] {
|
||||
@apply ms-[3%] w-[94%];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user