forked from carbon-design-system/carbon-for-ibm-dotcom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Megamenu): react megamenu updates for HC & AI (carbon-design-sys…
…tem#5043) ### Related Ticket(s) React stand alone: Change Mega Menu HC + AI updates component carbon-design-system#4653 ### Description **NOTE** please merge in the web components version first: carbon-design-system#5016 as this branch is based off that one! HC & AI updates for the Megamenu You can view the changes in the `Custom Data` story under Masthead <img width="1615" alt="Screen Shot 2021-01-29 at 7 17 16 PM" src="https://user-images.githubusercontent.com/54281166/106340611-61b05900-6268-11eb-9f6c-cd51048b0abf.png"> <img width="341" alt="Screen Shot 2021-01-29 at 7 16 53 PM" src="https://user-images.githubusercontent.com/54281166/106340606-5f4dff00-6268-11eb-9644-2c82f2bc19f2.png"> ### Changelog **New** - added necessary data to the `Custom Navigation` masthead story so we can view the design updates - heading and description copy passed to `Megamenu` **Changed** - calculate how many highlighted menu items there are and set a classname to the last highlighted menu item to set border for mobile nav <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "package: styles": Carbon Expressive --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
- Loading branch information
1 parent
726e1d4
commit e9bed17
Showing
9 changed files
with
8,133 additions
and
543 deletions.
There are no files selected for viewing
8,165 changes: 7,678 additions & 487 deletions
8,165
packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.