feat: add Dropdown Menu component - #30
Merged
Merged
Conversation
Adds the Dropdown Menu (Reka UI DropdownMenu + COSS styling), wiring up the previously-placeholder 'Dropdown and Popover' nav entry. - ui/DropdownMenu/*: DropdownMenu, Trigger, Content (portal + COSS surface with inset highlight), Item, Label, Separator, Group, Shortcut - 2 demos: labelled menu with shortcuts, and an icon menu with grouped items - Showcase view + route; Home nav 'Dropdown and Popover' (#) -> 'Dropdown Menu' Verified: type-check, lint, build, and visual check (menu opens, items + shortcuts render on the COSS surface).
Deploying originui-vue with
|
| Latest commit: |
6072f20
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0541ba3f.originui-vue.pages.dev |
| Branch Preview URL: | https://feat-coss-dropdown-menu.originui-vue.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Dropdown Menu (Reka UI
DropdownMenu+ COSS styling) and wires the previously-placeholder "Dropdown and Popover" nav entry to a real page.What's included
ui/DropdownMenu/*— DropdownMenu (root), Trigger, Content (portal + COSS surface with thebefore:inset highlight), Item, Label, Separator, Group, ShortcutDropdown and Popover(#placeholder) →Dropdown Menu(/dropdowns)Notes
DropdownMenuContentreuses the COSS surface treatment (rounded-md, shadow, inset highlight) consistent with Popover/Select/Tooltip.reactiveOmitresults are type-annotated to avoid TS2742 (same fix as the Tabs primitives).Verification