This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
[terra-navigation-side-menu] selection color change #2155
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5ca4e67
update: selected color
MadanKumarGovindaswamy 1320785
Update CHANGELOG.md
MadanKumarGovindaswamy 0963502
Update NavigationSideMenu.test.jsx.snap
MadanKumarGovindaswamy c6b38e3
update: application layout wdio
MadanKumarGovindaswamy 079426e
update: revert existing styles
MadanKumarGovindaswamy c0ef6a5
update: wdio
MadanKumarGovindaswamy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
-10 Bytes
(100%)
...l-lowlight-theme/en/chrome_large/application-layout-spec/application_layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9 Bytes
(100%)
...e/en/chrome_large/application-layout-spec/application_layout_with_nav_icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7 Bytes
(100%)
...ome_large/application-layout-spec/application_layout_with_no_header_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-11 Bytes
(100%)
...e_large/application-layout-spec/application_layout_with_top_navigation_tabs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9 Bytes
(100%)
...me_large/application-layout-spec/checks_for_closure_on_read-only_item_click.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9 Bytes
(100%)
...e/en/chrome_large/application-layout-spec/presents_utility_menu_from_header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7 Bytes
(100%)
...ome_small/application-layout-spec/application_layout_with_no_header_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
...en/chrome_small/application-layout-spec/renders_primary_nav_menu_when_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...light-theme/en/chrome_small/application-layout-spec/toggles_menu_when_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-71 Bytes
(99%)
...ion-fusion-theme/en/chrome_small/application-layout-spec/application_layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-71 Bytes
(99%)
...e/en/chrome_small/application-layout-spec/application_layout_with_nav_icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(100%)
...ome_small/application-layout-spec/application_layout_with_no_header_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-71 Bytes
(99%)
...e_small/application-layout-spec/application_layout_with_top_navigation_tabs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-219 Bytes
(99%)
...en/chrome_small/application-layout-spec/renders_primary_nav_menu_when_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...ome_small/application-layout-spec/application_layout_with_no_header_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6 Bytes
(100%)
...en/chrome_small/application-layout-spec/renders_primary_nav_menu_when_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -365,7 +365,7 @@ class NavigationSideMenu extends Component { | |
} | ||
|
||
let header; | ||
if (this.onBack || !currentItem.isRootMenu) { | ||
if (this.onBack || (currentItem && !currentItem.isRootMenu)) { | ||
header = ( | ||
<li role="none"> | ||
<div | ||
|
@@ -396,7 +396,7 @@ class NavigationSideMenu extends Component { | |
aria-relevant="additions text" | ||
refCallback={this.setVisuallyHiddenComponent} | ||
/> | ||
<ContentContainer {...customProps} fill className={sideMenuContentContainerClassNames}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why was the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
<ContentContainer {...customProps} className={sideMenuContentContainerClassNames}> | ||
<nav role="navigation" aria-label={this.props.ariaLabel}> | ||
<ul role="menu" ref={(refobj) => this.handleMenuListRef(refobj)} className={cx(['side-menu-list'])}> | ||
{header} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-10 Bytes
(100%)
...ht-theme/en/chrome_medium/navigation-side-menu-spec/first_menu_item_focused.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-137 Bytes
(99%)
...me_medium/navigation-side-menu-spec/first_menu_item_focused_with_left_arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
.../chrome_medium/navigation-side-menu-spec/hover_navigation_side_menu_display.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(100%)
...eme/en/chrome_medium/navigation-side-menu-spec/navigation_side_menu_display.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
..._medium/navigation-side-menu-spec/navigation_side_menu_display_with_toolbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-154 Bytes
(99%)
...t-theme/en/chrome_medium/navigation-side-menu-spec/second_menu_item_focused.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2 Bytes
(100%)
...rome_medium/navigation-side-menu-spec/selected_navigation_side_menu_display.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8 Bytes
(100%)
...me_medium/navigation-side-menu-spec/submenu_header_focused_with_right_arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-197 Bytes
(98%)
...me_medium/navigation-side-menu-spec/first_menu_item_focused_with_left_arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-218 Bytes
(98%)
...n-theme/en/chrome_medium/navigation-side-menu-spec/second_menu_item_focused.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...rome_medium/navigation-side-menu-spec/selected_navigation_side_menu_display.png
Oops, something went wrong.
Binary file modified
BIN
-102 Bytes
(99%)
...me_medium/navigation-side-menu-spec/first_menu_item_focused_with_left_arrow.png
Oops, something went wrong.
Binary file modified
BIN
-111 Bytes
(99%)
...t-theme/en/chrome_medium/navigation-side-menu-spec/second_menu_item_focused.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
...rome_medium/navigation-side-menu-spec/selected_navigation_side_menu_display.png
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does the darken() function has same effects on all the browsers?
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.
This color codes are taken from the other terra components(terra-list). it has been validated before, so it should be working.