Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Menu button in new header variant #3478

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

SriHV
Copy link
Contributor

@SriHV SriHV commented Jan 22, 2025

What is the context of this PR?

ONSDESYS-159
Added Menu button in the new header variant "basic". The Menu will have Top section and new Lower section
Topic section will have up to 3 columns. Each column have a header and under it can contain hyperlinks
Lower section will have also have 3 columns and subsequent child items.
The spacing for now is similar to the items in footer component.

Introduced new button variant for the menu button and also followed tech notes left in the ticket

The example is taken from here

Code is similar to the one available here

How to review this PR

Check that example-header-basic has the new menu button and has the design as specified in figma and the prototype

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit fc8dfc9
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/679265bb0eede80008dbe743
😎 Deploy Preview https://deploy-preview-3478--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SriHV SriHV changed the title Enhancement/159/add menu button in new header variant Add Menu button in new header variant Jan 22, 2025
@SriHV SriHV self-assigned this Jan 22, 2025
@SriHV SriHV added the Enhancement Change of existing feature label Jan 22, 2025
@SriHV SriHV requested a review from a team January 23, 2025 15:52
@SriHV SriHV marked this pull request as ready for review January 23, 2025 15:52
@rmccar
Copy link
Contributor

rmccar commented Jan 24, 2025

Screenshot 2025-01-24 at 11 43 29

Im not sure if the focus state should look like this, usually our focus states have black underlines. This will need to be checked with a designer

@rmccar
Copy link
Contributor

rmccar commented Jan 24, 2025

Screenshot 2025-01-24 at 11 43 52

The links in the menu look like this when focused

@rmccar
Copy link
Contributor

rmccar commented Jan 24, 2025

Screenshot 2025-01-24 at 11 52 41

When open and focused on, the menu button looks like this, I know its like this in the prototype but I think this may need to be reviewed by a designer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Change of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants