-
Notifications
You must be signed in to change notification settings - Fork 26
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
refactor(secnav): update secondary navigation component specs #810
Conversation
Deploy preview for helix-ui ready! Built with commit 577c7ad |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the dropdown section headings, we want to remove all caps. They should be title case, no more all caps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see changes below and squash commits.
@@ -18,7 +18,7 @@ | |||
{% endblock %} | |||
|
|||
{% block content %} | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the extra space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, please review.
@@ -28,14 +28,14 @@ <h3> | |||
</h3> | |||
<br /> | |||
</header> | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the extra space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, please review.
docs/components/secnav/index.html
Outdated
@@ -53,17 +53,17 @@ <h3> | |||
<hx-icon type="bell"></hx-icon> | |||
<p>Notifications</p> | |||
</a> | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the extra space.
docs/components/secnav/index.html
Outdated
<a href="#" class="selected"> | ||
<hx-icon type="ticketing"></hx-icon> | ||
<p>Tickets</p> | ||
</a> | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the extra space.
docs/components/secnav/index.html
Outdated
<a href="#"> | ||
<hx-icon type="support"></hx-icon> | ||
<p>Support</p> | ||
</a> | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the extra space.
padding: 0.5rem 1.25rem; | ||
|
||
&:hover { | ||
background-color: $gray-800; | ||
color: $gray-0 !important; | ||
color: #970c8d !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update to:
color: $purple-500 !important;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, please review.
border-color: $gray-800; | ||
height: 1px; | ||
border-color: $gray-300; | ||
height: 0.063rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this change:
height: 1px;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, please review.
@@ -56,36 +53,35 @@ | |||
@include hxSecNavControl(disabled); | |||
} | |||
|
|||
&[aria-expanded="true"] { | |||
color: #98008d; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change to:
color: $purple-500;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, please review.
docs/components/secnav/test.html
Outdated
<hx-disclosure aria-controls="demo-user-menu"> | ||
<span>Jane User</span> | ||
<div class="hxTopNavMenu hxTopNavOptionMenu"> | ||
<hx-disclosure aria-controls="topnav-menu-options" aria-expanded="true"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the aria-expanded
attribute, since this is the demo for Secondary Navigation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, please review.
@danielmdesigns i have removed all caps for dropdown section headings . Please review the change. Thanks ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for first phase release!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dev LGTM
Description
<hx-secnav>
: implementing color palette 2.0 stylesWhat are the relevant story cards/tickets? Any additional PRs or other references?
Jira: SURF2143
Before you request a review for this PR:
yarn test
to ensure all tests passed?