Skip to content

feat: add animated context menu - #126

Merged
starc007 merged 3 commits into
mainfrom
agent/context-menu
Jul 27, 2026
Merged

feat: add animated context menu#126
starc007 merged 3 commits into
mainfrom
agent/context-menu

Conversation

@starc007

Copy link
Copy Markdown
Owner

What changed

  • add a composable animated context menu with item, checkbox, radio, label, separator, and shortcut primitives
  • support right-click, long-press, keyboard invocation, typeahead, collision-aware portal positioning, and reduced motion
  • use a pointer-origin clip morph with matching 300ms open and close motion
  • add a focused folder preview and register the component at @beui/context-menu
  • add repeated-open and accessibility regression coverage
  • update the sidebar lifetime offer copy to $199

Why

The library needed a production-ready context menu that feels native, remains reliable across repeated invocations, and ships through the existing registry contract. The stable inert portal avoids the earlier mount/exit race that could prevent later right-clicks from opening the menu.

Validation

  • bun run check
  • bun test — 57 tests passing
  • registry validation — 54 components

@starc007
starc007 marked this pull request as ready for review July 27, 2026 17:59
@starc007
starc007 merged commit d2e86f9 into main Jul 27, 2026
2 checks passed
@starc007
starc007 deleted the agent/context-menu branch July 27, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant