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

Feat/mf navigation #17

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

abu-seini-maf
Copy link

No description provided.

<mf-nav-item>Option 1</mf-nav-item>
<mf-nav-item highlight>Highlighted</mf-nav-item>
<mf-nav-item disabled>Disabled</mf-nav-item>
<mf-nav-item loading>Loading</mf-nav-item>

Choose a reason for hiding this comment

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

<slot name="suffix" part="suffix" class="nav-item__suffix"></slot>

<span part="subnav-icon" class="nav-item__chevron">
<sl-icon name=${isRtl ? 'chevron-down' : 'chevron-down'} library="system" aria-hidden="true"></sl-icon>

Choose a reason for hiding this comment

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

maybe we don't need control for rtl

const isSubnavExpanded = this.subnavController.isExpanded();

return html`
<a

Choose a reason for hiding this comment

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

not sure I would use anchor as a root element, just put a note in the code to review later

Copy link

@carlos-verdes carlos-verdes left a comment

Choose a reason for hiding this comment

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

Review the comments and merge, we will cover more in detail later

@abu-seini-maf abu-seini-maf merged commit c0b8e34 into majidalfuttaim:next Nov 11, 2024
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.

2 participants