Skip to content

feat: add MdMenu component#480

Merged
inmetajacoblarsen merged 20 commits intomainfrom
menu
Feb 24, 2026
Merged

feat: add MdMenu component#480
inmetajacoblarsen merged 20 commits intomainfrom
menu

Conversation

@inmetajacoblarsen
Copy link
Copy Markdown
Contributor

@inmetajacoblarsen inmetajacoblarsen commented Feb 19, 2026

Describe your changes

Replace this text with a detailed description of your changes

Checklist before requesting a review

  • I have performed a self-review and test of my code
  • I have added label to the PR (major, minor or patch)
  • If applicable: Is story created/updated in stories-folder?
  • If applicable: Is README-file for CSS documentation created/updated?
  • If applicable: Are unit tests created/updated for the component?
  • If new component: Is tsx-file import added to packages/react/index.tsx?
  • If new component: Is CSS-file added to packages/css/index.css?

2026-02-19 14 46 34
2026-02-19 14 47 25

@inmetajacoblarsen inmetajacoblarsen changed the title Menu feat: add MdMenu component Feb 19, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new MdMenu dropdown component to the design system, including React implementation, CSS styling, Storybook documentation, and unit tests.

Changes:

  • Introduces MdMenu (Ariakit-based) with grouped items, optional icons, size variants, dividers, and placement.
  • Adds menu.css + CSS README and wires the stylesheet into packages/css/src/index.css.
  • Adds Storybook story + Vitest test suite and exports the component/types from packages/react/src/index.tsx.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
stories/Menu.stories.tsx Storybook docs + usage examples for the new Menu component
packages/react/src/menu/MdMenu.tsx New Ariakit-based MdMenu React component + public types
packages/react/src/menu/tests/MdMenu.test.tsx Unit tests covering rendering, groups/headings, dividers, sizes, icons, interactions
packages/react/src/index.tsx Exports MdMenu and related types from the package entrypoint
packages/css/src/menu/menu.css New CSS styles for menu popup, items, headings, separators, and size variants
packages/css/src/menu/README.md Standalone CSS documentation for Menu structure/modifiers
packages/css/src/index.css Includes the new menu stylesheet in the CSS bundle

inmetajacoblarsen and others added 4 commits February 19, 2026 14:49
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@inmetajacoblarsen inmetajacoblarsen marked this pull request as ready for review February 19, 2026 14:08
@inmetajacoblarsen inmetajacoblarsen requested a review from a team as a code owner February 19, 2026 14:08
@aurorascharff
Copy link
Copy Markdown
Contributor

image Du kan linke opp issuen du løser her! @inmetajacoblarsen

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@inmetajacoblarsen inmetajacoblarsen linked an issue Feb 23, 2026 that may be closed by this pull request
inmetajacoblarsen and others added 2 commits February 23, 2026 15:25
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@hj-inmeta hj-inmeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

God jobba 👍

@inmetajacoblarsen inmetajacoblarsen merged commit 7f4a39f into main Feb 24, 2026
5 checks passed
@inmetajacoblarsen inmetajacoblarsen deleted the menu branch February 24, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(Edited) New component - menu

4 participants